JPS63269251A - Document processing device - Google Patents

Document processing device

Info

Publication number
JPS63269251A
JPS63269251A JP62103006A JP10300687A JPS63269251A JP S63269251 A JPS63269251 A JP S63269251A JP 62103006 A JP62103006 A JP 62103006A JP 10300687 A JP10300687 A JP 10300687A JP S63269251 A JPS63269251 A JP S63269251A
Authority
JP
Japan
Prior art keywords
document
character string
editing
edited
printed
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
Application number
JP62103006A
Other languages
Japanese (ja)
Inventor
Toshiyuki Arai
俊之 荒井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP62103006A priority Critical patent/JPS63269251A/en
Publication of JPS63269251A publication Critical patent/JPS63269251A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To clarify a character string edited with the editing processing by editing stored characters to compare them with a document before editing and distinctively outputting extracted points of difference. CONSTITUTION:In case of the editing processing where an original document generated and printed beforehand is read from a magnetic disk device 4 to a RAM 5 and a part of this document is corrected, a deletion or insertion start code and a deletion or insertion end code are inserted before and after the edited and corrected character string. These codes are discriminated at the time of reading out document information from the RAM 5 by an MPU 3 and are distributed to picture areas for black, red, and blue in an image memory 6, and the deleted or inserted character string is printed in a color different from that of the original document by a printer 8. Thus, the printed edited document is seen to clarify which part is deleted from or inserted to the original document.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は文書を作成及び編集する文書処理装置に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a document processing device for creating and editing documents.

[従来の技術] 近年、ワードプロセッサ等で代表される文書処理装置の
発展により、簡単に文書の作成及び編集処理ができる様
になった。
[Background Art] In recent years, with the development of document processing devices such as word processors, it has become possible to easily create and edit documents.

ところで、この種の装置で以前作成した文書の一部を修
正した場合には、その修正された文書の印刷は勿論、既
に配布されている文書に対する修正箇所を明示する修正
表(或いは正誤表等)を別個に作成して印刷していた。
By the way, if you modify a part of a document previously created using this type of device, you can not only print the revised document but also print a correction list (or errata, etc.) that clearly shows the revised parts in the document that has already been distributed. ) was created and printed separately.

[発明が解決しようとする問題点コ しかしながら、過去に印刷された文書と修正された文書
を見比べて一々修正表を作成するのけ甚だ面倒であり、
その修正表を作成する手間は無視で籾なかった。
[Problems that the invention aims to solve: However, it is extremely troublesome to compare previously printed documents and revised documents and create a revision table one by one.
The trouble of creating the correction table was ignored.

本発明はかかる従来技術に鑑みなされたものであり、文
書中の修正箇所を明示して出力することを可能にした文
書処理装置を提供しようとするものである。
The present invention has been made in view of the above prior art, and it is an object of the present invention to provide a document processing device that makes it possible to clearly output the modified portions in a document.

[問題点を解決するための手段〕 この問題を解決するために本発明は以下に示す構成から
なる。
[Means for solving the problem] In order to solve this problem, the present invention has the configuration shown below.

すなわち、 文書情報を格納する格納手段と、格納された文書情報を
編集する編集手段と、編集された文書情報と編集以前の
文書情報との相違点を抽出する抽出手段と、該抽出手段
により抽出された相違点を区別して出力する出力手段と
を備える。
That is, a storage means for storing document information, an editing means for editing the stored document information, an extraction means for extracting differences between the edited document information and the document information before editing, and an extraction means for extracting differences between the edited document information and the document information before editing. and output means for distinguishing and outputting the differences.

[作用] かかる本発明の構成において、格納手段により格納され
た文書を編集手段で編集し、その編集処理の結果、編集
以前の文書と比較して相違点を抽出手段により抽出し、
その抽出手段でもって抽出された相違点を区別して出力
するものである。
[Operation] In the configuration of the present invention, the document stored by the storage device is edited by the editing device, and as a result of the editing process, differences are extracted by the extraction device by comparing the document with the document before editing,
The differences extracted by the extraction means are distinguished and output.

[実施例コ 以下、添付図面に従って本発明に係る実施例を詳細に説
明する。
[Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[構成概要の説明(第1図、第2図)]第1図は本実施
例における構成概要を示す図である。
[Explanation of the outline of the structure (FIGS. 1 and 2)] FIG. 1 is a diagram showing the outline of the structure in this embodiment.

図中、1は文書或いは各種メツセージを表示する表示装
置(以下、車にCRTという)であり、VRAM2に展
開されたイメージデータをその表示画面に表示する。3
は本装置全体を制御するマイクロプロセッサ(以下、M
PUという)であり、内部のROM3alI:格納され
たプログラムに従って制御動作するものである。尚、こ
のROM3aには文書編集処理にかかるプログラムと第
5.6.7図に示したフローチャートのプログラムも格
納されている。4は複数の文書ファイルが格納可能な6
n気デイスク装置であり、5は磁気ディスク装置4から
読込まれた文書情報や、作成或いは編集処理される文書
情報を格納するRAMである。尚、このRAM5の一部
をMPU3のワークエリアとして使用する。7は原稿画
像を読取る画像読取装置であり、必要に応じて編集中の
文書にこの画像読取装置7でもって入力した画像を混在
して表示、或いは印刷する。8は黒、赤、青の3色で印
刷が可能なプリンタであって、イメージメモリ6内に展
開されたイメージデータを印刷する。このイメージメモ
リ6の内容を示したのが第2図である。図示の毎く印刷
時の出力色に応じて3つのエリアに分かれている。例え
ば黒色でもって印刷するときには、黒色用画像エリア6
1にイメージを展開すればよいことになる。尚、本実施
例では各エリア61〜63の大きさを印刷用紙1ペ一ジ
分とし、それぞれにイメージを展開した後、合成して1
ページに3色で印刷する。また、9はマウス10と供に
文書の編集処理や各所メニューに使用するキーボードで
ある。
In the figure, 1 is a display device (hereinafter referred to as a CRT in a car) for displaying documents or various messages, and displays image data developed in a VRAM 2 on its display screen. 3
is a microprocessor (hereinafter referred to as M) that controls the entire device.
Internal ROM 3alI: It controls and operates according to the stored program. Incidentally, this ROM 3a also stores a program related to document editing processing and a program of the flowchart shown in FIG. 5.6.7. 4 is 6 which can store multiple document files.
It is an n-air disk device, and 5 is a RAM for storing document information read from the magnetic disk device 4 and document information to be created or edited. Note that a part of this RAM 5 is used as a work area for the MPU 3. Reference numeral 7 denotes an image reading device for reading original images, and displays or prints images inputted by the image reading device 7 mixed with the document being edited as necessary. A printer 8 is capable of printing in three colors, black, red, and blue, and prints the image data developed in the image memory 6. FIG. 2 shows the contents of this image memory 6. As shown in the figure, it is divided into three areas depending on the output color during printing. For example, when printing in black, the black image area 6
All you have to do is expand the image to 1. In this embodiment, the size of each area 61 to 63 is one page of printing paper, and after developing an image in each area, they are combined to form a single page.
Print the page in three colors. A keyboard 9 is used along with the mouse 10 for document editing and various menus.

[処理概要の説明(第3図、第4図)]以下、この構成
における編集処理から印刷処理までの内容を説明する。
[Explanation of processing outline (FIGS. 3 and 4)] The contents from editing processing to printing processing in this configuration will be explained below.

第3図(a)は以前に作成し印刷した文書(以下、原文
書という)を示しており、磁気ディスク装置4に保存さ
れているものである。さて、この原文書を磁気ディスク
装置4からRAM5に読込んで、その第1行目の文字列
「やゆよ」を削除し、2行目の「そ」と「な」の間に文
字列「たちつてと」を挿入する編集処理を考えてみる。
FIG. 3(a) shows a previously created and printed document (hereinafter referred to as an original document), which is stored in the magnetic disk device 4. Now, read this original document from the magnetic disk device 4 into the RAM 5, delete the character string "Yayuyo" in the first line, and insert the character string "Tachi" between "so" and "na" in the second line. Let's consider the editing process that inserts "Tsuteto".

本実施例ではこの編集処理が成された箇所を明確にする
ため、削除或いは挿入された文字列は原文書に対して色
別してプリンタ8に印刷する。例えば第3図(b)に示
す毎く、編集訂正された文書を黒色で印刷するとき、そ
の編集文書中の文字列31等の削除文字列に対しては赤
色、文字列32等の挿入文字列に対しては青色で印刷す
ることになる。従って、この印刷された編集文書を見れ
ば、どの箇所が原文書に対して削除されたか、或いは挿
入されたかが明瞭になる。第1の実施例では原文書を編
集処理するときに、第4図に示す毎く、その編集訂正さ
れた文字列の前後に削除開始コード及び削除終了コード
等を挿入する。尚、この削除開始コード及び削除終了コ
ードは他の文字記号コードと区別できればよいので、同
じコードであっても構わない5.また、挿入処理につい
ても全く同様で、挿入される位置に挿入文字列を挿入す
るとき、その挿入文字列の前後にも挿入開始及び終了コ
ードを付加して挿入することになる。
In this embodiment, in order to clearly identify the location where this editing process has been performed, the deleted or inserted character strings are printed on the printer 8 in different colors with respect to the original document. For example, as shown in FIG. 3(b), when printing an edited document in black, deleted characters such as character string 31 in the edited document are printed in red, and inserted characters such as character string 32 are printed in black. The columns will be printed in blue. Therefore, by looking at this printed edited document, it becomes clear which parts have been deleted or inserted from the original document. In the first embodiment, when an original document is edited, a deletion start code, a deletion end code, etc. are inserted before and after the edited character string, as shown in FIG. Note that the deletion start code and deletion end code may be the same code as long as they can be distinguished from other character symbol codes. Furthermore, the same applies to the insertion process; when inserting an inserted character string at the position to be inserted, insertion start and end codes are added before and after the inserted character string.

従って、編集訂正された文書を印刷するときには、RA
M5からMPU3が文書情報を読出してくるとき、削除
開始/終了コード或いは挿入開始/終了コードで挟まれ
た文字列があるか否かを判別して、イメージメモリ6内
の各エリア61〜63に割り振って、展開することにな
る。こうして、1ペ一ジ分のイメージが展開される毎に
プリンタ8で印刷出力する。
Therefore, when printing a document that has been edited, the RA
When the MPU 3 reads document information from M5, it determines whether there is a character string sandwiched between deletion start/end codes or insertion start/end codes, and writes it to each area 61 to 63 in the image memory 6. It will be allocated and expanded. In this way, each time an image for one page is developed, it is printed out by the printer 8.

[編集処理の説明(第5図)] 以上、説明した編集処理を簡単にまとめると結局第5図
に示すフローチャートになる。以下、このフローチャー
トに従って説明する。
[Description of Editing Process (FIG. 5)] The editing process described above can be briefly summarized as a flowchart shown in FIG. 5. The following will explain according to this flowchart.

先ず、ステップS1で磁気ディスク装置4から原文書を
RAMHに読込む。次にステップS2において、マウス
10やキーボード9でもって、編集処理にかかる情報を
入力することになる。ステップS3では入力された情報
が文字列削除を意味するものであるか否かを判断するが
、この判断で“YES”のときには、ステップS4に移
って、削除文字列の前後に削除開始コードと削除終了コ
ードを挿入する。
First, in step S1, an original document is read from the magnetic disk device 4 into the RAMH. Next, in step S2, information related to editing processing is input using the mouse 10 and keyboard 9. In step S3, it is determined whether the input information means deletion of a character string. If the determination is "YES", the process moves to step S4, and a deletion start code is inserted before and after the deleted character string. Insert deletion exit code.

また、ステップS3の判断が“No”のときには、ステ
ップS5で文字列の挿入であるか否かを判断する。挿入
のときにはステップS6に穆って、原文書の挿入箇所位
置に挿入文字列を挿入すると供に、その挿入文字列の前
後に挿入開始コードと挿入終了コードを挿入する。
Further, when the determination in step S3 is "No", it is determined in step S5 whether or not a character string is to be inserted. At the time of insertion, the process proceeds to step S6, where an insertion character string is inserted at the insertion point in the original document, and an insertion start code and an insertion end code are inserted before and after the insertion character string.

更に、ステップS5において、ステップS2での入力情
報が文字列挿入にかかる情報でないと判断された場合に
は、ステップS7に移り、その入力情報が編集処理終了
を意味するものであるか否かを判断することになる。こ
の入力情報が編集終了を意味する情報と判断された場合
には編集処理を終了することになるが、そうでないとき
には、ステップS8で他の処理、例えば編集画面上のカ
ーソルの穆動等の処理をすることになる。
Further, in step S5, if it is determined that the input information in step S2 is not information related to character string insertion, the process moves to step S7, and it is determined whether the input information means the end of editing processing. You will have to judge. If this input information is determined to be information that means the end of editing, the editing process is ended, but if not, other processing is performed in step S8, such as processing of moving the cursor on the editing screen. will be done.

以上の様な処理でもって、原文書に対する編集箇所の文
字列の前後に、その編集処理に基づく制御コードの挿入
処理がなされることになる。
Through the above-described processing, control codes are inserted before and after the character string of the edited portion of the original document based on the editing processing.

[印刷処理の説明] さて、今度はその編集処理後の文書を印刷することにな
るが、その処理内容を第6図に従って説明する。
[Description of Print Processing] Now, the document after the editing process will be printed, and the details of the process will be explained with reference to FIG.

ステップSllではMPU3はRAM5より、随時文書
情報を読取る。このとき、削除文字列があると判断され
た場合、すなわち、削除開始/終了コードに挟まれた文
字列があると判断した場合には、ステップS12からス
テップS13に移り、その削除文字列のイメージパター
ンを赤色画像エリア62に展開する。
In step Sll, the MPU 3 reads document information from the RAM 5 at any time. At this time, if it is determined that there is a deleted character string, that is, if it is determined that there is a character string sandwiched between the deletion start/end codes, the process moves from step S12 to step S13, and an image of the deleted character string is The pattern is developed in the red image area 62.

また、読取られた中に、挿入文書があると判断された場
合、すなわち、挿入開始/終了コードに挟まれた文字列
があると判断した場合には、ステップ514からステッ
プS15に移り、その挿入文字列のイメージパターンを
青色画像エリア63に展開する。
Further, if it is determined that there is an inserted document in the read document, that is, if it is determined that there is a character string sandwiched between insertion start/end codes, the process moves from step 514 to step S15, and the inserted document is inserted. The image pattern of the character string is developed in the blue image area 63.

更に、ステップS14の判断で、挿入文字列がないと判
断した場合には、RAM5から読取ってきた文字列情報
を黒色画像エリア61に展開する。
Furthermore, if it is determined in step S14 that there is no inserted character string, the character string information read from the RAM 5 is developed in the black image area 61.

この様にして各エリア61〜63のいずれかにイメージ
パターンが展開されるが、ステップS7では、RAM5
内に格納された文書を全て読取ったか否かを判断するこ
とになる。この判断で、“YES”のときには、各エリ
ア61〜63内に展開されたイメージパターンは未だ1
ペ一ジ分になっていなくとも、ステップ320で印刷す
ることになる。
In this way, the image pattern is developed in one of the areas 61 to 63, but in step S7, the image pattern is
It is then determined whether all the documents stored in the file have been read. If this judgment is "YES", the image pattern developed in each area 61 to 63 is still 1
Even if it is not enough for one page, it will be printed in step 320.

また、′NO″のときには、各エリア61〜63に1ペ
一ジ分のイメージパターンが展開されたか否かを判断す
ることになるが、展開されたイメージパターンは1ペー
ジにない満たない場合にはステップSllに戻る。また
イメージパターンが1ペ一ジ分展開されたら、ステップ
S19でもって各エリア61〜63に示される出力色で
もって合成出力することになる。
If 'NO', it is determined whether one page's worth of image patterns has been developed in each area 61 to 63, but if the developed image pattern is less than one page, The process returns to step Sll.Furthermore, once the image pattern has been developed for one page, it will be synthesized and output using the output colors shown in each area 61 to 63 in step S19.

[第2の実施例(第7図)] 以上の説明では文書編集時にその編集処理(削除、挿入
)に基づくコードを挿入し、印刷出力時点において、そ
の編集コードを認識することにより、その編集コードに
挟まれた文字列を色別したが、これに限定されるもので
はない。すなわち、前述した編集コードを挿入しなくと
も、再編集後の文書情報(RAMS内に記憶されている
)と原文書(磁気ディスク装置4内に記憶されている)
とを比較することで、挿入文字列や削除文字列を識別で
きる。
[Second Embodiment (Figure 7)] In the above explanation, when editing a document, a code based on the editing process (deletion, insertion) is inserted, and the editing code is recognized at the time of printout. Although the character strings between the codes are color-coded, the present invention is not limited to this. In other words, the re-edited document information (stored in the RAMS) and the original document (stored in the magnetic disk device 4) can be edited without inserting the aforementioned edit code.
You can identify inserted or deleted strings by comparing them.

以下の説明は、磁気ディスク装置4内の原文書と編集処
理後の文書を比較して印刷出力する例(第7図)である
。尚、原文書と編集後の文書とを比較するために、RA
M5内の所定 位置にポインタP、Qのエリアを設けた
。ポインタPは初期値として原文書の先頭文節位置を示
し、ポインタQは編集後の文書の先頭文節位置を示して
いる。
The following explanation is an example (FIG. 7) in which the original document in the magnetic disk device 4 and the edited document are compared and printed out. In addition, in order to compare the original document and the edited document, RA
Areas for pointers P and Q were provided at predetermined positions within M5. Pointer P indicates the first clause position of the original document as an initial value, and pointer Q indicates the first clause position of the edited document.

さて、ステップSitでは先ず、ポインタQが編集後の
文書の最後を示しているか否かを判断する。ポインタQ
が最後の文節を示しているときには、ステップS24に
移って、今度はポインタPが原文書の最後の文節を示し
ているか否かを判断する。この判断で“YES”の場合
には比較する文節がないことになるから処理を終了する
ことになるが、判断が”No”の場合にはポインタP以
降の原文書の文節群(文字列)は削除されたものと判断
し、その文字列に対し削除文字列処理(赤色画像エリア
62への展開処理)を実行する(ステップ525)。
Now, in step Sit, it is first determined whether the pointer Q indicates the end of the edited document. Pointer Q
When indicates the last clause, the process moves to step S24, and it is determined whether the pointer P indicates the last clause of the original document. If this judgment is ``YES'', it means that there is no phrase to compare, so the process ends; however, if the judgment is ``No'', the phrase group (character string) of the original document after pointer P is It is determined that the character string has been deleted, and deletion character string processing (expansion processing to the red image area 62) is executed for the character string (step 525).

また、ステップSllでポインタQが編集後の文書の途
中の文節を示していると判断した場合には、ステップS
12で今度はポインタPが原文書の最後の文節を示して
いるか否かを判断する。“YES”の場合にはステップ
S26に移り、編集後のポインタQで示される文節以降
の文字列は全て挿入(この場合には追加を意味すること
になるが)文字列であると判断し、その文字列に対して
挿入文字列処理(青色画像エリア63への展開処理)を
実行する。
Further, if it is determined in step Sll that the pointer Q indicates a clause in the middle of the edited document, step Sll
At step 12, it is determined whether the pointer P points to the last clause of the original document. In the case of "YES", the process moves to step S26, and it is determined that all character strings after the clause indicated by the edited pointer Q are inserted (in this case, it means addition) character strings, Insert character string processing (expansion processing to the blue image area 63) is performed on the character string.

さて、ステップS12の判断で、ポインタPが原文書の
途中の文節を示すと判断した場合にはステップ313以
下の処理をすることになる(すなわち、ステップS13
以下の処理はポインタP。
Now, if it is determined in step S12 that the pointer P indicates a clause in the middle of the original document, the processing from step 313 onwards will be performed (that is, in step S13
The following processing is performed using pointer P.

Q両方が夫々の文書に対して途中の文節を示していると
判断した場合の処理である)。
This process is performed when it is determined that both Q and Q indicate intermediate clauses in their respective documents).

ステップS13では先ず、ポインタP、Qで示されてい
る文節を夫々の格納先から読出す。次のステップS14
で互いの文節を比較する。同一の文節である判断した場
合にはポインタQで示される文節に対しては削除等の修
正処理がなされていないことになるから、その文字列を
黒色用画像エリア61に展開処理(通常文字列処理)し
、次のステップS27で夫々のポインタP、Qを次の文
節に移動させ、ステップSitに戻る。
In step S13, first, the clauses indicated by pointers P and Q are read from their respective storage locations. Next step S14
Compare each other's clauses. If it is determined that they are the same clause, it means that no correction processing such as deletion has been performed on the clause indicated by the pointer Q, so the character string is developed in the black image area 61 (normal character string In the next step S27, the pointers P and Q are moved to the next phrase, and the process returns to step Sit.

また、ステップS14の判断で“No” (読み込んだ
文節が不一致)の場合には、ステップS15に移る。ス
テップS15では、ポインタQに示された文節(編集後
の文書)と同一の文節があるか否かを原文書のポインタ
P以降でもってサーチする。同一の文節がサーチされた
ときにはステップS16からステップ318に移り、双
方の文書中の次の文節を夫々読み込む。この読み込まれ
た文節も同じであるときには、今注目中のポインタQの
文節は削除された文字列であると判断して良いから、ス
テップS19からステップS20に移って削除文字列処
理を実行する。次にステップS23に移ってポインタQ
及びポインタPを夫々次の文節に更新し、ステップSl
lに戻る。
If the determination in step S14 is "No" (the read phrases do not match), the process moves to step S15. In step S15, the original document after the pointer P is searched for the same phrase as the phrase indicated by the pointer Q (edited document). When the same phrase is searched, the process moves from step S16 to step 318, and the next phrases in both documents are respectively read. If the read phrase is also the same, it can be determined that the phrase of the pointer Q that is currently being watched is a deleted character string, and the process moves from step S19 to step S20 to execute deleted character string processing. Next, the process moves to step S23 and the pointer Q
and pointer P to the next clause, respectively, and step Sl
Return to l.

また、ステップS16或いはステップS19の判断がN
O″と判断された場合にはステップS17に穆り、ポイ
ンタQで示された文節は挿入文字列であると判断して良
いので、挿入文字列処理を実行し、ステップS22でポ
インタQのみを次の文節に更新する。
Also, the determination in step S16 or step S19 is N.
O'', the process goes to step S17, and since it can be determined that the clause indicated by the pointer Q is an inserted character string, insert character string processing is executed, and only the pointer Q is inserted in step S22. Update to next clause.

以上の説明した処理を編集後の文書の1ペ一ジ分毎に実
行すると、第1の実施例と同様に各色でもって合成印刷
処理をする。従って、この第2の実施例によれば、編集
後の文書と編集以前の原文書とを比較することにより、
編集時に挿入開始/終了コード等を挿入文字列と共に挿
入する必要がなくなる。尚、上述した第2の実施例では
原文書と編集後の文書とを文節単位に比較したが、文字
単位に比較しても全く構わないことは明かである。尚、
その場合には同一文字と判断しても、その文字以降の数
文字を比較することが望ましい。
When the above-described processing is executed for each page of the edited document, composite printing processing is performed for each color as in the first embodiment. Therefore, according to this second embodiment, by comparing the edited document and the original document before editing,
There is no need to insert insertion start/end codes and the like together with the inserted character string during editing. Note that in the second embodiment described above, the original document and the edited document were compared on a clause-by-phrase basis, but it is clear that comparisons may be made on a character-by-character basis. still,
In that case, even if the characters are determined to be the same, it is desirable to compare several characters after that character.

尚、実施例中、編集後の文書及び原文書の格納先をRA
M、磁気ディスクとして説明したが、原文書もRAM上
に読み込んでおいて処理しても全く構わない。むしろ、
この場合には比較処理速度が向上することになる。
In addition, in the example, the storage location of the edited document and the original document is RA.
M. Although the explanation has been made using a magnetic disk, there is no problem even if the original document is also read into the RAM and processed. Rather,
In this case, the comparison processing speed will be improved.

[第3の実施例の説明] 以上の説明でのプリンタは3つのエリアを色合成する機
能を有するものとして説明したが、これに限定されるも
のではない。
[Description of Third Embodiment] Although the printer in the above explanation has been described as having a function of color compositing three areas, the present invention is not limited to this.

例えば黄色(Y)、マゼンダ(M)、シアン(C)と黒
のインクリボンを備えたドツトマトリクスタイプのプリ
ンタ等に応用することも考えられる。通常、この種のプ
リンタに印刷データを送信するときには、印刷データ中
の所望とする文字列コードデータ群或いはイメージデー
タの先頭に色指定コードを付加するのが殆どである。こ
のデータを受けて、プリンタは色指定コードに対応した
リボンを選択し、印刷するものである。尚、以下の説明
では、説明を簡単にするために、プリンタは文字記号コ
ードを受けて印字するものとする。
For example, it may be applied to a dot matrix type printer equipped with yellow (Y), magenta (M), cyan (C) and black ink ribbons. Normally, when print data is sent to this type of printer, a color designation code is added to the beginning of a desired character string code data group or image data in the print data. Upon receiving this data, the printer selects the ribbon corresponding to the color designation code and prints it. In the following explanation, in order to simplify the explanation, it is assumed that the printer receives and prints character symbol codes.

さて、この様なプリンタでもって第3図(b)に示す出
力画像(削除文字列を赤、挿入文字列を青)を得る場合
には、イメージメモリ6は必ずしも必要ではない。なぜ
なら、第1の実施例の場合、RAM5内に格納された編
集処理後の文書データ(第4図)中の削除開始コードを
赤色印字コード、挿入開始コードを青色印字コード、更
には削除/挿入終了コードを黒印字コードに夫々変換し
て、プリンタ側に出力すれば良いからである。
Now, in order to obtain the output image shown in FIG. 3(b) (with the deleted character string in red and the inserted character string in blue) using such a printer, the image memory 6 is not necessarily required. This is because, in the case of the first embodiment, the deletion start code in the edited document data (FIG. 4) stored in the RAM 5 is a red printed code, the insertion start code is a blue printed code, and furthermore, the deletion/insertion This is because it is sufficient to convert each end code into a black print code and output it to the printer side.

そして、第2の実施例の場合においても、削除文字列で
あると判断された文字列等の前に赤色印字コードを挿入
して出力すれば良いからである。
Also in the case of the second embodiment, it is sufficient to insert a red print code in front of a character string determined to be a deleted character string and output it.

[第4の実施例の説明(第8図)] 更にまた、上述した3つの実施例では編集処理された文
字列をその編集処理の種類に基づいて色別して印刷する
ことのみを説明したが、これも本発明を限定するもので
ない。
[Description of Fourth Embodiment (FIG. 8)] Furthermore, in the three embodiments described above, only the printing of edited character strings in different colors based on the type of editing processing was explained. This also does not limit the invention.

例えば、第8図に出力画像の一例を示すが、図示の毎く
、通常、手書きでもって文字列を削除(図中の二重線)
したり、挿入(図中の文字列「たちつてと」とそれに伴
う挿入マーク)したりするのと全く同様に印刷すること
も可能だからである。そして、この場合には、イメージ
メモリ6に文字パターンを展開するとき、削除文字列の
上に二重線のパターンを論理和して展開、更には、挿入
文字列の挿入箇所の上或いは下に挿入文字列及び挿入マ
ークを展開してプリンタに出力すれば簡単に達成される
。従って、この場合には単色印刷でもっても達成される
ことになる。
For example, Fig. 8 shows an example of the output image, and as shown in the figure, character strings are usually deleted by hand (double lines in the figure).
This is because it is also possible to print in exactly the same way as to insert or insert (the character string ``tachitsuteto'' and the accompanying insertion mark in the figure). In this case, when developing the character pattern in the image memory 6, the double line pattern is logically added onto the deleted character string, and furthermore, the double line pattern is developed above or below the insertion point of the inserted character string. This can be easily achieved by expanding the inserted character string and insertion mark and outputting it to a printer. Therefore, in this case, it can be achieved even with monochrome printing.

また、この他にも、網掛けや罫線の種類や或いはそれら
に色を付加し、それらの組合せで、編集処理後の文字列
を識別できる様にしても何ら構わないことは明らかであ
ろう。
In addition, it is obvious that the character string after editing may be identified by the types of hatching and ruled lines, or by adding colors to them, and by a combination of these.

尚、実施例での編集処理においては、削除/挿入処理に
ついてのみ説明したが、例えば訂正処理等にも応用でき
る。この場合、訂正以前の文字列を色付け、或いは括弧
等で明示し、その前後に訂正文字列を挿入することで達
成できるからである。
Note that in the editing process in the embodiment, only the deletion/insertion process has been described, but the present invention can also be applied to, for example, correction process. In this case, this can be achieved by coloring the character string before correction or clearly indicating it with parentheses, etc., and inserting the corrected character string before and after it.

更に、上述した実施例では印刷出力した文書に対しての
み説明したが、CRTl等の表示画面に表示するときに
も全く同様に処理することも勿論可能である。
Furthermore, although the above-described embodiments have been described only for printed documents, it is of course possible to perform the same processing when displaying on a display screen such as a CRTl.

以上説明した様に、本実施例によれば、編集処理によっ
て編集された文字列を明確にすることが可能となる。
As explained above, according to this embodiment, it is possible to clarify the character string edited by the editing process.

[発明の効果] 以上説明したように、本発明によれば、編集処理によっ
て編集された文字列を明確にすることが可能となる。
[Effects of the Invention] As described above, according to the present invention, it is possible to clarify a character string edited by editing processing.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は第1の実施例における文書処理装置の構成概略
図、 第2図はイメージメモリの内部構成を示す図、第3図(
a)は原文書の内容を示す図、第3図(b)は編集の文
書の印刷例を示す図、第4図は編集後の文書情報の格納
状態を示す図、 第5図は実施例における文書m集処理を示すフローチャ
ート、 第6図は実施例における印刷処理を示すフローチャート
、 第7図は他に実施例における原文書と編集後の文書との
比較処理を説明するためのフローチャート、 第8図は他の実施例の印刷例を示す図である。 図中、1・・・表示装置(CRT)、2・・・VRAM
、3・・・MPU、3a・・・ROM、4・・・磁気デ
ィスク装置、5・・・RAM、6・・・イメージメモリ
、7・・・画像読取装置、8・・・プリンタ、9・・・
キーボード、10・・・マウス、61・・・黒色用画像
エリア、62・・・赤色用画像エリア、63・・・青色
用画像エリアである。 第1図
Fig. 1 is a schematic diagram of the configuration of the document processing device in the first embodiment, Fig. 2 is a diagram showing the internal configuration of the image memory, and Fig. 3 (
a) is a diagram showing the content of the original document, FIG. 3(b) is a diagram showing an example of printing an edited document, FIG. 4 is a diagram showing the storage state of document information after editing, and FIG. 5 is an example. FIG. 6 is a flowchart showing the printing process in the embodiment; FIG. 7 is a flowchart illustrating the comparison process between the original document and the edited document in the embodiment; FIG. 8 is a diagram showing a printing example of another embodiment. In the figure, 1...display device (CRT), 2...VRAM
, 3...MPU, 3a...ROM, 4...Magnetic disk device, 5...RAM, 6...Image memory, 7...Image reading device, 8...Printer, 9...・・・
Keyboard, 10...Mouse, 61...Black image area, 62...Red image area, 63...Blue image area. Figure 1

Claims (3)

【特許請求の範囲】[Claims] (1)文書情報を格納する格納手段と、格納された文書
情報を編集する編集手段と、編集された文書情報と編集
以前の文書情報との相違点を抽出する抽出手段と、該抽
出手段により抽出された相違点を区別して出力する出力
手段とを備えることを特徴とする文書処理装置。
(1) A storage means for storing document information, an editing means for editing the stored document information, an extraction means for extracting differences between the edited document information and the document information before editing, and the extraction means A document processing device comprising: output means for distinguishing and outputting extracted differences.
(2)出力手段の出力対象は表示装置であることを特徴
とする特許請求の範囲第1項記載の文書処理装置。
(2) The document processing device according to claim 1, wherein the output target of the output means is a display device.
(3)出力手段の出力対象は印刷装置であることを特徴
とする特許請求の範囲第1項記載の文書処理装置。
(3) The document processing device according to claim 1, wherein the output target of the output means is a printing device.
JP62103006A 1987-04-28 1987-04-28 Document processing device Pending JPS63269251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62103006A JPS63269251A (en) 1987-04-28 1987-04-28 Document processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62103006A JPS63269251A (en) 1987-04-28 1987-04-28 Document processing device

Publications (1)

Publication Number Publication Date
JPS63269251A true JPS63269251A (en) 1988-11-07

Family

ID=14342573

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62103006A Pending JPS63269251A (en) 1987-04-28 1987-04-28 Document processing device

Country Status (1)

Country Link
JP (1) JPS63269251A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04286063A (en) * 1991-03-15 1992-10-12 Canon Inc Device and method for processing document
JP2009282969A (en) * 2008-04-25 2009-12-03 Dainippon Hourei Printing Co Ltd Electronic editing-content change system for document placed in book, electronic editing-content change program of document placed in book and book creation system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04286063A (en) * 1991-03-15 1992-10-12 Canon Inc Device and method for processing document
JP2009282969A (en) * 2008-04-25 2009-12-03 Dainippon Hourei Printing Co Ltd Electronic editing-content change system for document placed in book, electronic editing-content change program of document placed in book and book creation system

Similar Documents

Publication Publication Date Title
EP0123109A2 (en) Computer system and method for page composing
JPH0464314B2 (en)
US5878198A (en) Information processing apparatus and method and memory medium storing information processing program
JPH04128970A (en) Document processing system
JPH0137783B2 (en)
JPS63269251A (en) Document processing device
JP3016973B2 (en) Tape printer
JPS62229463A (en) Document processor
US4835529A (en) Output display apparatus
JP3005021B2 (en) Document processing method and apparatus
JPH0746352B2 (en) Font conversion method
Downes et al. The amsart, amsproc, and amsbook document classes
US5930812A (en) Word processing apparatus which adjusts character output position
US4829474A (en) Method and apparatus for automatically recognizing tab position
JP2633051B2 (en) Image processing device
JPS6231375B2 (en)
JP3470926B2 (en) Document processing apparatus and document processing method
JPH06124280A (en) Document preparing device
JPS59123046A (en) Display system of document processor
JPS6359658A (en) Document processor
JPH03136164A (en) Method and system for document processing
JP2966656B2 (en) Document creation device
JPH0363956B2 (en)
JPH0751374B2 (en) Document processor
JPH09284533A (en) Image forming device