JPH02297180A - Document editing system - Google Patents
Document editing systemInfo
- Publication number
- JPH02297180A JPH02297180A JP1051012A JP5101289A JPH02297180A JP H02297180 A JPH02297180 A JP H02297180A JP 1051012 A JP1051012 A JP 1051012A JP 5101289 A JP5101289 A JP 5101289A JP H02297180 A JPH02297180 A JP H02297180A
- Authority
- JP
- Japan
- Prior art keywords
- document
- file
- editing
- paragraphs
- record
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims description 10
- 230000010354 integration Effects 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000010365 information processing Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Document Processing Apparatus (AREA)
Abstract
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は文書編集方式に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a document editing method.
[従来の技術]
従来の文書編集方式では、1つの文書は1つのファイル
に、文書上の文の並びの順に格納していた。[Prior Art] In conventional document editing systems, one document is stored in one file in the order of the sentences on the document.
[発明が解決しようとする課題]
上述した従来の文書編集方式では、文書が大きい場合は
文書ファイル容量が大きくなり、編集処理のオーバーヘ
ッドも大きくなるばかりでなく、内容の大半が等しい文
書を保管する場合でも、それぞれ別ファイルに保存する
ことが必要となり、文書ファイル格納媒体が多数必要と
なると云う欠点があった。[Problems to be solved by the invention] In the conventional document editing method described above, when the document is large, the document file capacity becomes large, and the overhead of editing processing becomes large. Even in this case, it is necessary to save each file in a separate file, and there is a drawback that a large number of document file storage media are required.
[課題を解決するための手段]
本発明による文書編集方式は、1つの文書を、少なくと
も1つの文のまとまりでありがっ文を収容する少なくと
も1つのテキストレコードがら構成されるパラグラフに
分割した上で、該パラグラフを文書上での並び順とは独
立にかつ複数のファイルに格納することを可能とする文
書編集方式であって、テキストレコードを格納するテキ
スト部と、1つのパラグラフの先頭と終端のテキストレ
コードを示す情報を有する索引レコードを格納するパラ
グラフ索引部とを有する拡張文書ファイルと、前記パラ
グラフの並びを管理するための文書構成情報レコードを
格納する文書構成情報ファイルと、オペレータからの文
書編集操作を受付け、拡張文書編集要求及び基本文書編
集要求を出力する拡張編集手段と、前記基本文書編集要
求に応答して、基本文書編集を行ない、テキストレコー
ド入出力要求を出力する基本編集手段と、前記拡張文書
編集要求及び前記テキストレコード入出力要求を受け、
前記文書構成情報ファイルに格納された前記文書構成情
報レコードを参照して、前記拡張文書ファイルを前記基
本編集手段に対して、あたかも1文書が1ファイルに文
の並び順に格納されているようにみせる文書ファイル統
合手段とを有する。[Means for Solving the Problems] The document editing method according to the present invention divides one document into paragraphs each consisting of at least one text record containing at least one group of sentences. This is a document editing method that allows the paragraphs to be stored in multiple files independently of the order in which they are arranged on the document, and includes a text section that stores text records, and the beginning and end of one paragraph. an extended document file having a paragraph index section storing an index record having information indicating a text record of the paragraph; a document structure information file storing a document structure information record for managing the arrangement of the paragraphs; and a document from an operator. extended editing means that receives an editing operation and outputs an extended document editing request and a basic document editing request; and basic editing means that performs basic document editing and outputs a text record input/output request in response to the basic document editing request. , receiving the extended document editing request and the text record input/output request;
Referring to the document structure information record stored in the document structure information file, the extended document file is made to appear to the basic editing means as if one document is stored in one file in the order of sentences. and document file integration means.
[実施例] 次に、本発明について図面を参照して説明する。[Example] Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例による文書編集方式が適用さ
れる情報処理装置の構成を示すブロック図である。第2
図は拡張文書ファイルの構造を示す図である。第3図は
文書構成情報ファイルの構造を示す図である。FIG. 1 is a block diagram showing the configuration of an information processing apparatus to which a document editing method according to an embodiment of the present invention is applied. Second
The figure shows the structure of an extended document file. FIG. 3 is a diagram showing the structure of the document configuration information file.
第1図を参照すると、本実施例の文書編集方式が適用さ
れる情報処理装置は、拡張編集手段1゜文書ファイル統
合手段2.複数の拡張ファイル3゜文書構成情報ファイ
ル41文書バッファ5.及び基本編集手段6を有する。Referring to FIG. 1, the information processing apparatus to which the document editing method of this embodiment is applied includes extended editing means 1, document file integration means 2. Multiple extended files 3. Document configuration information file 41 Document buffer 5. and basic editing means 6.
第2図を参照して、拡張文書ファイル3は、テキスト部
22とパラグラフ索引部21とから構成される。テキス
ト部22は、文を格納する1つまたは複数のテキストレ
コード24から構成される。Referring to FIG. 2, the extended document file 3 is composed of a text section 22 and a paragraph index section 21. The text portion 22 is composed of one or more text records 24 that store sentences.
パラグラフ索引部21は、1つまたは複数のテキストレ
コードから構成されるパラグラフの情報を格納する索引
レコード23から構成される。索引レコード23は、パ
ラグラフ名、パラグラフの先頭のテキストレコード24
及び終端のテキストレコード24の相対レコードを示す
先頭レコード番号と終端レコード番号の3つの情報を持
つ。The paragraph index section 21 is composed of index records 23 that store information on paragraphs composed of one or more text records. The index record 23 includes the paragraph name and the text record 24 at the beginning of the paragraph.
It has three pieces of information: a first record number indicating a relative record of the last text record 24, and a last record number.
第3図を参照して、文書構成情報ファイル4は、文書上
のパラグラフの並び順にパラグラフの格納ファイルの情
報を格納する文書構成情報レコード25から構成される
。文書構成情報レコード25は、パラグラフ名、パラグ
ラフのテキストレコード24を格納する拡張文書ファイ
ル3のファイル名、及び拡張文書ファイル収容媒体のV
SNの3つの情報を持つ。Referring to FIG. 3, the document structure information file 4 is composed of document structure information records 25 that store information on paragraph storage files in the order in which the paragraphs on the document are arranged. The document structure information record 25 includes the paragraph name, the file name of the extended document file 3 that stores the text record 24 of the paragraph, and the V of the extended document file storage medium.
It has three pieces of information: SN.
次に文書編集操作の実現方法について説明する。Next, a method for implementing document editing operations will be explained.
オペレータ7は、まず編集対象となる文書の指示を文書
構成情報ファイル4のファイル名を指定した編集開始の
文書編集操作8を拡張編集手段1に対して行う。拡張編
集手段1は、この操作を文書ファイル統合手段2に拡張
文書編集要求つとして引継ぐ。The operator 7 first instructs the extended editing means 1 to perform a document editing operation 8 to start editing by specifying the file name of the document configuration information file 4, instructing the document to be edited. The extended editing means 1 inherits this operation to the document file integrating means 2 as an extended document editing request.
文書ファイル統合手段2は、すでにマウント中のファイ
ル媒体上で指定ファイル名と同一の文書構成情報ファイ
ル4をオーブンし、文書構成情報レコード25を先頭か
ら格納順に一定数のパラグラフを文書バッファ5に読み
出す。この読み出しは、パラグラフを格納する拡張文書
ファイル3のファイル名とVSNを得て、該当媒体がマ
ウントしていなければマウントをオペレータ7に要求し
、マウントされた該当ファイルをオーブンし、パラグラ
フ索引部21から該当パラグラフの索引レコード23を
読み出して、テキストレコード24の格納位置を得て、
その先頭レコード番号によりパラグラフ先頭のテキスト
レコードを位置付けたのちに終端レコード番号のテキス
トレコード24まで順に文書バッファ5に格納する操作
を、一定数のパラグラフ分だけ繰返すことにより実行す
る。The document file integration means 2 opens a document configuration information file 4 with the same specified file name on the file medium that is already mounted, and reads a certain number of paragraphs from the document configuration information record 25 into the document buffer 5 in the order of storage from the beginning. . This reading is performed by obtaining the file name and VSN of the extended document file 3 that stores the paragraph, requesting the operator 7 to mount the corresponding medium if it has not been mounted, opening the mounted corresponding file, and reads the index record 23 of the corresponding paragraph from , obtains the storage position of the text record 24,
After locating the text record at the beginning of the paragraph using the first record number, the operation of sequentially storing the text record 24 of the last record number in the document buffer 5 is executed by repeating the operation for a fixed number of paragraphs.
以上により、編集開始の文書編集操作を完了する。With the above steps, the document editing operation at the start of editing is completed.
文や語の追加・修正・削除等の通常の文書編集操作は、
オペレータ7が拡張編集手段1に対して行い、その指示
を基本文書編集要求10として基本編集手段6に引継ぐ
ことで実現する。この文書編集操作で文書バッファ5上
に読み出されていないテキストレコード24が操作対象
となった場合、基本編集手段6はカレントレコードポイ
ンタのさすテキストレコード24からの文書上での前後
の方向種別と相対レコード位置をもってテキストレコー
ド入出力要求11を文書ファイル統合手段2に対して行
う。Normal document editing operations such as adding, modifying, and deleting sentences and words are
This is realized by the operator 7 giving an instruction to the extended editing means 1 and passing the instruction to the basic editing means 6 as a basic document editing request 10. When this document editing operation targets a text record 24 that has not been read out onto the document buffer 5, the basic editing means 6 selects the forward/backward direction type on the document from the text record 24 pointed to by the current record pointer. A text record input/output request 11 is made to the document file integration means 2 with the relative record position.
文書ファイル統合手段2は、方向種別が後ならば文書バ
ッファ5上の先頭のパラグラフを、前ならば終端のパラ
グラフを元の拡張文書ファイル3に書き出し、索引レコ
ード23も新たな格納位置に修正した後、文書バッファ
5に次のパラグラフのテキストレコード24を読み出す
。これを、読み出し要求のテキストレコード24を含む
パラグラフを文書バッファ5に格納するまで繰返えすこ
とにより、基本編集手段6からの読出し要求を実現する
。The document file integration means 2 writes the first paragraph on the document buffer 5 if the direction type is later, or the last paragraph if it is earlier, to the original extended document file 3, and also modifies the index record 23 to a new storage position. After that, the text record 24 of the next paragraph is read into the document buffer 5. By repeating this until the paragraph including the text record 24 of the read request is stored in the document buffer 5, the read request from the basic editing means 6 is realized.
〔発明の効果J
以上説明したように本発明は、文書を多数のパラグラフ
に分解し、各パラグラフを文書上の並び順とは独立にそ
れらの1つまたは複数を任意の文書ファイルに分散格納
すること及び文書構成情報ファイルでパラグラフの並び
順を管理することにより、文書内容の大半が等しい複数
の文書は、文書構成情報ファイルを文書ごとに作成すれ
ば共通内容のテキストデータを収容する文書ファイルは
共用化できるめに、ファイル容量の削減となるばかりで
なく、ファイル容量の最大値を越える大きな文書の編集
がその収容文書ファイルを意識することな〈実施できる
。[Effect of the Invention J As explained above, the present invention decomposes a document into a large number of paragraphs, and stores one or more of them in an arbitrary document file independently of the order in which each paragraph is arranged in the document. By managing the order of paragraphs in the document structure information file, you can create multiple documents with the same content for the most part by creating a document structure information file for each document. Since it can be shared, it not only reduces the file capacity, but also allows editing of large documents that exceed the maximum file capacity without being aware of the document file contained therein.
第2図Figure 2
第1図は本発明の一実施例による文書編集方式の適用さ
れる情報処理装置の構成を示すブロック図、第2図は拡
張文書ファイルの構造を示す図、第3図は文書構成情報
ファイルの構造を示す図である。FIG. 1 is a block diagram showing the configuration of an information processing device to which a document editing method according to an embodiment of the present invention is applied, FIG. 2 is a diagram showing the structure of an extended document file, and FIG. 3 is a diagram showing the structure of a document configuration information file. It is a figure showing a structure.
Claims (1)
りかつ文を収容する少なくとも1つのテキストレコード
から構成されるパラグラフに分割した上で、該パラグラ
フを文書上での並び順とは独立にかつ複数のファイルに
格納することを可能とする文書編集方式であって、 テキストレコードを格納するテキスト部と、1つのパラ
グラフの先頭と終端のテキストレコードを示す情報を有
する索引レコードを格納するパラグラフ索引部とを有す
る拡張文書ファイルと、前記パラグラフの並びを管理す
るための文書構成情報レコードを格納する文書構成情報
ファイルと、 オペレータからの文書編集操作を受付け、拡張文書編集
要求及び基本文書編集要求を出力する拡張編集手段と、 前記基本文書編集要求に応答して、基本文書編集を行な
い、テキストレコード入出力要求を出力する基本編集手
段と、 前記拡張文書編集要求及び前記テキストレコード入出力
要求を受け、前記文書構成情報ファイルに格納された前
記文書構成情報レコードを参照して、前記拡張文書ファ
イルを前記基本編集手段に対して、あたかも1文書が1
ファイルに文の並び順に格納されているようにみせる文
書ファイル統合手段と を有する文書編集方式。[Claims] 1. A document is divided into paragraphs each consisting of at least one group of sentences and at least one text record containing sentences, and the paragraphs are arranged in a document. A document editing method that enables storage in multiple files independently of the order, which includes a text section that stores text records, and an index record that has information indicating the beginning and end text records of one paragraph. an extended document file having a paragraph index section for storing the paragraph index; a document structure information file for storing document structure information records for managing the arrangement of the paragraphs; extended editing means for outputting a basic document editing request; basic editing means for performing basic document editing and outputting a text record input/output request in response to the basic document editing request; and the extended document editing request and the text record. Upon receiving an input/output request, the document structure information record stored in the document structure information file is referred to, and the extended document file is sent to the basic editing means as if one document were one document.
A document editing method comprising a document file integration means that makes it appear as if sentences are stored in a file in the order in which they are arranged.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1051012A JPH02297180A (en) | 1989-03-04 | 1989-03-04 | Document editing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1051012A JPH02297180A (en) | 1989-03-04 | 1989-03-04 | Document editing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02297180A true JPH02297180A (en) | 1990-12-07 |
Family
ID=12874875
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1051012A Pending JPH02297180A (en) | 1989-03-04 | 1989-03-04 | Document editing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02297180A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07282040A (en) * | 1994-04-13 | 1995-10-27 | Nec Commun Syst Ltd | Japanese information compression system |
WO2003010683A1 (en) * | 2001-07-26 | 2003-02-06 | Page Factory Co., Ltd. | Online document correction system using the web server technique |
-
1989
- 1989-03-04 JP JP1051012A patent/JPH02297180A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07282040A (en) * | 1994-04-13 | 1995-10-27 | Nec Commun Syst Ltd | Japanese information compression system |
WO2003010683A1 (en) * | 2001-07-26 | 2003-02-06 | Page Factory Co., Ltd. | Online document correction system using the web server technique |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH02297180A (en) | Document editing system | |
EP0633531A1 (en) | Memory management system and method | |
JP2587417B2 (en) | File backup and restoration method | |
JPH03280136A (en) | Record positioning system for sequentially programmed file | |
JP2928169B2 (en) | Data area management method on disk | |
JPH05314483A (en) | Recording method of information | |
JPH05151716A (en) | Data backup method of magnetic tape | |
JPH07104807B2 (en) | Control method for data with multiple names | |
JPH01112425A (en) | Program source filing maintaining system at time of editing by editor | |
JPH0664599B2 (en) | Document file search device | |
JPH04143858A (en) | Document processor | |
JPS62137646A (en) | Back-up file preparing system | |
JPH01306954A (en) | Text management system for picture editor | |
JPS62280922A (en) | Record edition processing system | |
JPH04168569A (en) | Generation managing system for document file | |
JPS6364152A (en) | Message queue control system | |
JPS63100546A (en) | Integrated save and restore processing system | |
JPH02191019A (en) | File storing method, file read method and file editing method | |
JPH04310119A (en) | Report output control system | |
JPH01188960A (en) | Input/output device for forward formation file | |
JPH01286053A (en) | Data control system over plural types of computers | |
JPH04259978A (en) | Directory list display system for optical disk film | |
JPH064381A (en) | Variable length record replacing system | |
JPH06243182A (en) | Drawing editing management device for cad system | |
JPH0397067A (en) | Information filing device |