JPS62171069A - Document preparing device - Google Patents
Document preparing deviceInfo
- Publication number
- JPS62171069A JPS62171069A JP61012820A JP1282086A JPS62171069A JP S62171069 A JPS62171069 A JP S62171069A JP 61012820 A JP61012820 A JP 61012820A JP 1282086 A JP1282086 A JP 1282086A JP S62171069 A JPS62171069 A JP S62171069A
- Authority
- JP
- Japan
- Prior art keywords
- document
- character
- deletion
- character string
- characters
- 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
Landscapes
- Document Processing Apparatus (AREA)
Abstract
Description
【発明の詳細な説明】
技術分野
本発明は文書作成装置に関し、特に文書の修正を行った
場合に、すべての修正内容を記録するようにした文書作
成装置に関する。TECHNICAL FIELD The present invention relates to a document creation device, and more particularly to a document creation device that records all modifications when a document is modified.
従来技術
従来の文書作成装置の多くは、作成した文書を修正(削
除、追加、訂正等)した場合、その修正個所が識別表示
されず、従って、文書を修正した場合には、全文を原稿
と比較するとか、全文を再通読する必要があり、能率の
悪いものであった。PRIOR ART In many conventional document creation devices, when a created document is modified (deletion, addition, correction, etc.), the modified location is not identified and displayed. It was inefficient as it required comparisons and re-reading the entire text.
上述の如き欠点を補うものとして、特開昭59−793
41号公報に開示された修正文書確認方式がある。この
方式は、文書内の各文字に修正の有無を示す1ビツト域
を設けて文書を記憶し、文書に追加、削除等の修正を行
った場合には、修正された文字の上記1ビツト域が”O
N’″になって記憶されることで、識別しようというも
のである。In order to compensate for the above-mentioned drawbacks, Japanese Patent Application Laid-Open No. 59-793
There is a revised document confirmation method disclosed in Publication No. 41. In this method, each character in the document is stored with a 1-bit area indicating whether or not it has been modified, and when corrections such as additions or deletions are made to the document, the 1-bit area of the modified character is stored. is “O”
The purpose is to identify it by storing it as N'''.
しかしながら、この方式には、
(1)文書から削除された文字とその元あった位置が明
示されないこと
(2)修正によって置き換えられた文字の、修正前の上
記1ビツト域の状態が不明であること等の問題点がある
。However, this method has the following problems: (1) The character deleted from the document and its original position are not clearly indicated. (2) The state of the above 1-bit area of the character replaced by the modification before the modification is unknown. There are other problems.
目 的
本発明は上記事情に鑑みてなされたもので、その目的と
するところは、従来の文書作成装置における上述の如き
問題点を解消し、文書の修正を行った場合には、そのす
べての修正内容が記録されるような文書作成装置を提供
することにある。Purpose The present invention was made in view of the above-mentioned circumstances, and its purpose is to solve the above-mentioned problems in conventional document creation devices, and to eliminate all the problems when a document is modified. An object of the present invention is to provide a document creation device in which modification contents are recorded.
構 成
本発明は、上記目的を達成するため、文字の削除および
挿入機能を備えた文字列入力手段と、該入力手段により
入力された文字列を記憶する手段と、該記憶手段に記憶
されている文字列を表示する手段とを有する文書作成装
置において、文字の削除および挿入状況を記録する文字
削除テーブルおよび文字挿入テーブルと2文書の編集に
際して前記2つのテーブルの内容を更新するテーブル更
新部とを設けたことを特徴とするものである。Configuration In order to achieve the above object, the present invention provides a character string input means having character deletion and insertion functions, a means for storing a character string inputted by the input means, and a character string stored in the storage means. A document creation device having means for displaying a character string, comprising a character deletion table and a character insertion table for recording character deletion and insertion status, and a table update unit for updating the contents of the two tables when editing two documents. It is characterized by the fact that it has been provided.
以下、本発明の詳細な説明し、これに続けて本 ゛発
明の構成を実施例に基づいて、より詳細に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below, followed by a more detailed explanation of the structure of the present invention based on examples.
文の修正の操作はすべて削除と挿入の組合せとみなすこ
とができる。例えば、
「私は■に行く」→「私は1Qにに行く」という修正は
、「京都」の上に「東京」を重ね打ちして修正した場合
でも、「京都」を削除して「東京」を挿入したとみなせ
る。別の例では、
rAkBまたはC」→「BまたはΔkc」という修正は
、FAと」を「C」の前に移動した場合であっても、r
BJの前の「Aと」を削除して「C」の鱈に「Aと」を
挿入したとみなせる。All statement modification operations can be considered as a combination of deletion and insertion. For example, to correct "I'm going to ” can be considered to have been inserted. In another example, the modification ``rAkB or C'' → ``B or Δkc'' would be corrected even if FA and'' were moved before ``C''.
It can be considered that "A and" in front of BJ was deleted and "A and" was inserted into the cod of "C".
従って、文書から削除された文字の位置を示す「文字削
除テーブル」と、文書に挿入された文字の位置を示すr
文字挿入テーブル」の2つのテーブルにより、文書の修
正履歴を記録することができることになる。これが本発
明の原理であり、その概要を第3図に示す。Therefore, there is a "character deletion table" that shows the positions of characters deleted from a document, and an r that shows the positions of characters inserted into a document.
The two tables, ``Character Insertion Table'', allow the revision history of the document to be recorded. This is the principle of the present invention, an outline of which is shown in FIG.
第3図において、■は修正前文書、2は修正後文書、3
は文書修正前の文字削除テーブル、4は文書修正後の文
字削除テーブル、5は文書修正前の文字挿入テーブル、
6は文書修正後の文字挿入テーブルを示している。In Figure 3, ■ is the document before correction, 2 is the document after correction, and 3 is the document before correction.
is a character deletion table before document modification, 4 is a character deletion table after document modification, 5 is a character insertion table before document modification,
6 shows the character insertion table after document correction.
なお、ここでは、説明を簡単にするために、修正前文書
はrABCDという4文字から成る1文のみの文書とし
、この文書から文字りを削除し、かつ、2個のrと」を
挿入して修正後文書を作成するものとする。In order to simplify the explanation, here, the document before correction is assumed to be a one-sentence document consisting of four characters rABCD, and the letter is deleted from this document, and two r and '' are inserted. A revised document shall be created.
修正後の文字削除テーブル4は文@I内の4つの文字に
テーブル内の各ビットが対応するようになっており、ビ
ットの値が′1″′である文字は削除されなかったこと
を示し、ビットの値が′″0″である文字は削除された
ことを示す如く構成されている。In the revised character deletion table 4, each bit in the table corresponds to the four characters in the sentence @I, and a character whose bit value is ``1'''' indicates that it was not deleted. , a character whose bit value is ``0'' is configured to indicate that it has been deleted.
修正後の文字挿入テーブル6は文書2内の5つの文字に
テーブル内の各ビットが対応するようになっており、ビ
ットの値がII I 11である文字は修正前から存在
する文字であることを示し、ビットの値が11011で
ある文字は新たに挿入された文字であることを示す如く
構成されている。In the modified character insertion table 6, each bit in the table corresponds to the five characters in the document 2, and the characters whose bit values are II, I, and 11 are characters that existed before the modification. , and a character whose bit value is 11011 is configured to indicate that it is a newly inserted character.
第1図は本発明の一実施例を示すブロック構成図である
。FIG. 1 is a block diagram showing one embodiment of the present invention.
図において、101は操作者が文字の削除や挿入等を指
示する文書更新情報入力部、103は該文書更新情報入
力部101に入力された指示に基づいて後述するテーブ
ル変更を実行するテーブル更新部、105は先に第3図
(3,4)に例示した文字削除テーブル、107は第3
図(5,6)に例示した文字挿入テーブルを示している
。In the figure, 101 is a document update information input section through which the operator instructs deletion or insertion of characters, etc., and 103 is a table update section that executes table changes described later based on instructions input to the document update information input section 101. , 105 is the character deletion table illustrated earlier in FIG. 3 (3, 4), and 107 is the third character deletion table.
The character insertion table illustrated in Figures (5, 6) is shown.
また、109は上記文書更新情報入力部101からの情
報に基づいて、文書111を更新する文書更新部、11
3は文書を外部記憶装置115にファイルしたり、そこ
からメモリ内に読み出す操作を行う文書ファイル読み書
き部である。Further, 109 is a document update unit that updates the document 111 based on the information from the document update information input unit 101;
Reference numeral 3 denotes a document file reading/writing unit that files a document in the external storage device 115 and reads it from there into the memory.
第4図は、上記テーブル更新部103による前記文字削
除テーブルおよび文字挿入テーブルの作成、更新処理の
流れの概要を示すものである。FIG. 4 shows an overview of the flow of creation and update processing of the character deletion table and character insertion table by the table updating section 103.
ステップ12では、ステップ10で読み込んだ文書の文
字数(改行、改頁コードを含む)に等しいビット数を有
する文字削除テーブルおよび前記文字数に挿入文字を収
容できるだけの適当な余裕を持たせた数のビット数を有
する文字挿入テーブルを作成する。このとき、これらの
テーブル中のすべてのビットの値をtt 1 trにセ
ットする。In step 12, a character deletion table is created that has a number of bits equal to the number of characters (including line feed and page break codes) of the document read in step 10, and a number of bits that is set such that the number of characters has an appropriate margin to accommodate insertion characters. Create a character insertion table with numbers. At this time, the values of all bits in these tables are set to tt 1 tr.
次に、ステップ14で、操作者の文書更新操作に応じて
、上記文字削除テーブルおよび文字挿入テーブルを更新
する。Next, in step 14, the character deletion table and character insertion table are updated in accordance with the document update operation by the operator.
・第5図(、)〜(d)は、第4図のステップ14を更
に詳細に示したもので、(a)は文字の挿入/複写の場
合、(b)は文字の重ね打ちの場合で、空白部分に文字
を打つ場合を含む。また、(e)は文字の削除の場合、
(d)は文字の移動の場合をそれぞれ示すものである。・Figures 5 (,) to (d) show step 14 in Figure 4 in more detail; (a) is for inserting/copying characters, and (b) is for overstriking characters. This includes typing characters into blank spaces. In addition, (e) is for character deletion,
(d) shows the case of character movement.
本実施例によれば、文書のどの部分がどのように修正さ
れたかが、明確に記録できるという効果がある。According to this embodiment, it is possible to clearly record which part of the document has been modified and how.
第2図は本発明の他の実施例を示すブロック構成図であ
る。FIG. 2 is a block diagram showing another embodiment of the present invention.
図において、記号101〜111は先に第1図に示した
と同じ構成要素を示しており、117は前記文字削除テ
ーブル105および文字挿入テーブル107を文書と一
緒に外部記憶装置123に書込み、またはこれから読出
すテーブル付き文書ファイル読み書き部、121は上記
外部記憶装置(テーブル付き文書ファイル〕123から
文書削除処理部119が文書を削除する際に、前記文字
削除テーブル105および文字挿入テーブル107に対
して、後述する処理を行う文書削除時テーブル更新部を
示している。In the figure, symbols 101 to 111 indicate the same components as previously shown in FIG. The table-equipped document file reading/writing section 121 reads out the following information for the character deletion table 105 and character insertion table 107 when the document deletion processing section 119 deletes a document from the external storage device (table-equipped document file) 123. It shows a document deletion table update unit that performs processing to be described later.
第6図は上記文字削除テーブル105および文字挿入テ
ーブル107を、文書と一緒に外部記憶装置(テーブル
付き文書ファイル)123に保管する様子を例示するも
のである。FIG. 6 shows an example of how the character deletion table 105 and character insertion table 107 are stored together with a document in an external storage device (document file with table) 123.
第6図において、新規作成文書51の文字挿入テーブル
53の内容は、その文書内のすべての文字に対してビッ
トの値が“0″にセットされ、修正の終了した文書57
の文字削除テーブル61の内容は、その文書内のすべて
の文字に対してビットの値が1″′にセットされる。各
文書は、それぞれ文字挿入テーブル(53,59)およ
び文字削除テーブル(55,61)を付して外部記憶袋
ff123に収容される。In FIG. 6, the contents of the character insertion table 53 of the newly created document 51 are such that the bit value is set to "0" for all characters in the document, and the modified document 57
The contents of the character deletion table 61 are such that the bit value is set to 1'' for all characters in the document. Each document has a character insertion table (53, 59) and a character deletion table (55). , 61) and stored in the external storage bag ff123.
こうしておくことにより、1つの文章に対して変更が何
回も行われた場合でも、各回の変更によって削除された
文字位置および追加された文字位置を知ることができる
。変更によってできた3I!!:代以上のファイルのう
ちの幾つかを消去する場合でも、消去するファイルの前
後のファイルの文字挿入テーブルおよび文字削除テーブ
ルの内容を変えることにより、挿入や削除を受けた文字
位置が分らなくなることを防止できる。By doing this, even if one sentence is changed many times, the positions of characters deleted and characters added by each change can be known. 3I made by change! ! : Even when deleting some of the files of more than one generation, by changing the contents of the character insertion table and character deletion table of the files before and after the file to be deleted, the position of inserted or deleted characters may become unknown. can be prevented.
上述の状況を第7図に示す。文書71が74のように変
更され、更に577のように変更された後、文書74が
消去された場合を考える。この場合、文書71の文字削
除テーブル73および文書77の文字挿入テーブル78
の内容が、図示されている如く変更される。The above situation is shown in FIG. Consider a case where document 71 is changed as shown in 74, further changed as shown in 577, and then document 74 is deleted. In this case, the character deletion table 73 of the document 71 and the character insertion table 78 of the document 77
The contents of are changed as shown.
上述の各テーブルの内容変更手順は第8図に示す通りで
ある。第8図において、(a)は削除する文書ファイル
の1世代前の文書ファイルの文字削除テーブルの更新手
順、(b)は削除する文書ファイルの1世代後の文書フ
ァイルの文字挿入テーブルの更新手順を、それぞれ示す
ものである。The procedure for changing the contents of each of the above-mentioned tables is as shown in FIG. In FIG. 8, (a) is the procedure for updating the character deletion table of the document file one generation before the document file to be deleted, and (b) is the procedure for updating the character insertion table of the document file one generation after the document file to be deleted. , respectively.
本実施例によれば、′文書を2回以上修正した場合でも
、任意の2世代の文書間で、文書のどの部分がどのよう
に変更されているかがわかるという効果がある。According to this embodiment, even if a document is modified twice or more, it is possible to see which part of the document has been modified and how between two arbitrary generations of documents.
効 果
以上述べた如く、本発明によれば、文字削除テーブルと
修正前文書とをつき合わせ、文字挿入テーブルと修正後
文書とをつき合わせることによって、文書のどの部分が
どのように修正されたかが明瞭になるばかりでなく、文
書を2回以上修正した場合でも、任意の2世代の文書間
で文書のどの部分がどのように修正されたかが記録され
るという顕著な効果を奏するものである。Effects As described above, according to the present invention, by comparing the character deletion table with the document before correction and the character insertion table with the document after correction, it is possible to determine which part of the document has been corrected and how. This not only makes it clearer, but also has the remarkable effect that even if a document is modified more than once, it is possible to record which part of the document was modified and how it was modified between any two generations of documents.
第1図、第2図は本発明の具体的実施例を示す文書作成
装置の構成図、第3図は本発明の実施例の概要を示す説
明図、第4図は文字削除テーブルおよび文字挿入テーブ
ルの作成処理のフローチャート、第5図(a)〜(d)
は第4図に示した処理の詳細を示すフローチャート、第
6図は本発明の他の実施例の概要を示す説明図、第7図
は本発明の更に他の実施例の概要を示す説明図、第8図
は第7図に示した実施例の処理の詳細を示すフローチャ
ートである。
101:文書更新情報入力部、103:テーブル更新部
、105:文字削除テーブル、107:文字挿入テーブ
ル、109:文書更新部、111:文書、113:文書
ファイル読み書き部。
第 1 図
第 2 図
第 3 図
第 5 図
(a)
第 6 図
r/+1 α)
n第 8 図
(a)Figures 1 and 2 are block diagrams of a document creation device showing a specific embodiment of the present invention, Figure 3 is an explanatory diagram showing an overview of the embodiment of the present invention, and Figure 4 is a character deletion table and a character insertion table. Flowchart of table creation process, Figures 5(a) to (d)
is a flowchart showing the details of the process shown in FIG. 4, FIG. 6 is an explanatory diagram showing an outline of another embodiment of the present invention, and FIG. 7 is an explanatory diagram showing an outline of still another embodiment of the invention. , FIG. 8 is a flowchart showing details of the processing of the embodiment shown in FIG. 101: Document update information input section, 103: Table update section, 105: Character deletion table, 107: Character insertion table, 109: Document update section, 111: Document, 113: Document file reading/writing section. Figure 1 Figure 2 Figure 3 Figure 5 (a) Figure 6 r/+1 α)
nFigure 8(a)
Claims (2)
段と、該文字列入力手段により入力された文字列を記憶
する手段および該記憶手段に記憶されている文字列を表
示する手段を有する文書作成装置において、文字の削除
および挿入状況を記録する文字削除テーブルおよび文字
挿入テーブルと、文書の編集に際して前記2つのテーブ
ルの内容を更新するテーブル更新部とを設けたことを特
徴とする文書作成装置。(1) It has a character string input means with character deletion and insertion functions, means for storing the character string input by the character string input means, and means for displaying the character string stored in the storage means. A document creation device, characterized in that it is provided with a character deletion table and a character insertion table that record character deletion and insertion status, and a table update section that updates the contents of the two tables when editing a document. Device.
段と、該文字列入力手段により入力された文字列を記憶
する手段および該記憶手段に記憶されている文字列を表
示する手段を有する文書作成装置において、文字の削除
および挿入状況を記録する文字削除テーブルおよび文字
挿入テーブルと、文書の編集に際して前記2つのテーブ
ルの内容を更新するテーブル更新部、および前記文字削
除テーブルおよび文字挿入テーブルを文書と一緒に外部
記憶装置に書込み、または該外部記憶装置から読出すテ
ーブル付き文書ファイル読み書き部を設けたことを特徴
とする文書作成装置。(2) It has a character string input means with character deletion and insertion functions, means for storing the character string input by the character string input means, and means for displaying the character string stored in the storage means. The document creation device includes a character deletion table and a character insertion table that record the status of character deletion and insertion, a table update unit that updates the contents of the two tables when editing a document, and a character deletion table and a character insertion table. A document creation device comprising a document file read/write unit with a table that writes to or reads a document from an external storage device together with the document.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61012820A JPS62171069A (en) | 1986-01-22 | 1986-01-22 | Document preparing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61012820A JPS62171069A (en) | 1986-01-22 | 1986-01-22 | Document preparing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS62171069A true JPS62171069A (en) | 1987-07-28 |
Family
ID=11816020
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61012820A Pending JPS62171069A (en) | 1986-01-22 | 1986-01-22 | Document preparing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS62171069A (en) |
-
1986
- 1986-01-22 JP JP61012820A patent/JPS62171069A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS5913771B2 (en) | Editing display method of display device | |
| JP3199959B2 (en) | Data retrieval apparatus and method | |
| JPS62171069A (en) | Document preparing device | |
| JPS6020284A (en) | Electronic translation device | |
| JPS59104693A (en) | Character reduction layout display method | |
| JPS62171068A (en) | document creation device | |
| JPS60176784A (en) | Table data insertion printing device | |
| JPS5969831A (en) | Device for documentation | |
| JPH05314483A (en) | Recording method of information | |
| JPH04259062A (en) | Word processor | |
| JP4167578B2 (en) | Backup system, backup method and program | |
| JPS61134843A (en) | Program structure processing system | |
| JPH02297156A (en) | Word processor with annotations | |
| JPH02297271A (en) | Document processor | |
| JPH0962553A (en) | Journal output system | |
| JPS62182921A (en) | Document file management system | |
| JP2001005703A (en) | Method and system for generating text file | |
| JPH03225464A (en) | Document managing system | |
| JPS63289640A (en) | Edition output system for assembling list | |
| JPH03250361A (en) | Document editing device | |
| JPH05143602A (en) | Document input device | |
| JPH0877164A (en) | Document processor | |
| JPH08161376A (en) | Drawing file edit method | |
| JPS63289643A (en) | Edition output system for assembling list | |
| JPH05233255A (en) | Editor |