JP2978199B2 - Document processing device - Google Patents

Document processing device

Info

Publication number
JP2978199B2
JP2978199B2 JP2087549A JP8754990A JP2978199B2 JP 2978199 B2 JP2978199 B2 JP 2978199B2 JP 2087549 A JP2087549 A JP 2087549A JP 8754990 A JP8754990 A JP 8754990A JP 2978199 B2 JP2978199 B2 JP 2978199B2
Authority
JP
Japan
Prior art keywords
modification
document
information
display
character
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.)
Expired - Fee Related
Application number
JP2087549A
Other languages
Japanese (ja)
Other versions
JPH03286361A (en
Inventor
元 佐藤
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 JP2087549A priority Critical patent/JP2978199B2/en
Publication of JPH03286361A publication Critical patent/JPH03286361A/en
Application granted granted Critical
Publication of JP2978199B2 publication Critical patent/JP2978199B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION 【産業上の利用分野】[Industrial applications]

本発明は文書を修飾する文書処理装置に関するもので
ある。
The present invention relates to a document processing device for modifying a document.

【従来の技術】[Prior art]

従来の文書処理装置においては、操作者が所望する文
書の修飾を行うために、修飾方法情報を記憶する修飾方
法情報記憶手段を設け、該手段に記憶の修飾方法情報に
基づいて文書を修飾する修飾方法等を採用していた。 しかし、この種の文書処理装置では、修飾方法の選択
時に、操作者が所望する修飾方法を選択可能とするた
め、例えば文書編集処理実行中に表示装置に第12図に示
す様な修飾方法入力画面13を表示し、各種の修飾方法情
報を表示し、所望の修飾方法を入力させる方法を採用し
ていた。
In a conventional document processing apparatus, in order to perform modification of a document desired by an operator, a modification method information storage unit that stores modification method information is provided, and the document is modified based on the modification method information stored in the unit. Modification methods were adopted. However, in this type of document processing apparatus, when the decoration method is selected, the operator can select the desired decoration method. For example, during the execution of the document editing process, a decoration method input as shown in FIG. The screen 13 is displayed, various types of decoration method information are displayed, and a method of inputting a desired decoration method is employed.

【発明が解決しようとしている課題】[Problems to be solved by the invention]

しかしながら、上記従来例においては、操作者が修飾
方法情報を変更する時に、文書修飾の種類が少ない場合
にまだ良いが、多数存在する場合には、修飾方法入力画
面13を見ても文書内でどの修飾方法が使用されているの
か判別できないといつた欠点があつた。
However, in the above-mentioned conventional example, when the operator changes the decoration method information, it is still good if the type of document decoration is small, but if there are many types, the decoration method input screen 13 can be used in the document. The disadvantage was that it was not possible to determine which modification method was used.

【課題を解決するための手段】[Means for Solving the Problems]

本発明は上述の課題を解決することを目的として成さ
れたもので、上述の課題を解決する一手段として以下の
構成を備える。 即ち、修飾方法情報を表示する表示手段と、文書を前
記修飾方法情報に基づいて修飾可能な文書編集手段と、
文書編集手段で編集された文書の修飾回数情報を記憶す
る修飾回数情報記憶手段と、該修飾回数情報記憶手段に
記憶の修飾回数情報に基づいて前記修飾方法情報表示手
段の表示を制御する制御手段を備える。 更に、文書編集手段の編集結果によつて修飾回数情報
記憶手段に記憶の修飾回数情報を更新する更新手段を備
える。 あるいは、文書中の任意の修飾部分を検索する検索手
段と、該検索手段の検索結果に従つて修飾回数情報記憶
手段に記憶の修飾回数情報を更新する更新手段を備え
る。
SUMMARY An advantage of some aspects of the invention is to solve the above-described problems, and the invention has the following configuration as a means for solving the above-described problems. That is, a display means for displaying decoration method information, a document editing means capable of modifying a document based on the decoration method information,
Modification number information storage means for storing modification number information of a document edited by a document editing means, and control means for controlling display of the modification method information display means based on modification number information stored in the modification number information storage means Is provided. Further, there is provided an updating means for updating the modification frequency information stored in the modification frequency information storage means according to the editing result of the document editing means. Alternatively, there is provided a search means for searching for an arbitrary modified portion in the document, and an updating means for updating the decoration count information stored in the decoration count information storage means in accordance with the search result of the search means.

【作用】[Action]

以上の構成において、操作者が修飾方法情報を表示す
る時に、当該文書で使用されている修飾方法の種類を容
易に判別可能としたものである。 また、編集手段の結果により前記修飾回数情報を更新
する手段を設けることにより、操作者による文書編集の
結果を当該文書の修飾方法情報表示に反映可能としたも
のである。 あるいは、文書内の任意の修飾部分を検索する検索手
段と、該検索手段の結果により修飾回数情報を更新する
手段を設けることにより、文書の内容から当該文書の修
飾回数情報を生成可能としたものである。
In the above configuration, when the operator displays the decoration method information, the type of the decoration method used in the document can be easily determined. Further, by providing a means for updating the modification count information based on the result of the editing means, the result of the document editing by the operator can be reflected on the display of the modification method information of the document. Alternatively, by providing a search means for searching for an arbitrary modification portion in a document and a means for updating the modification number information based on the result of the search means, the modification number information of the document can be generated from the contents of the document. It is.

【実施例】【Example】

以下、図面を参照して本発明に係る一実施例を詳細に
説明する。 第1図は本発明に係る一実施例の文書処理装置の構成
の一例を示すブロツク図である。 第1図において、1は通常の文書編集画面や修飾情報
入力画面を表示する表示装置(CRT)、2はCRT1の表示
画面に文書表示を行うためのイメージを展開するビデオ
RAM、3は各メモリと各デバイス間のデータ転送をコン
トロールするビツトムーブユニツト、4は本実施例装置
による編集が完了した文書情報を印刷出力するプリン
タ、5はプリンタ4のインタフエースを司るプリンタイ
ンタフエース、6は修飾情報の入力や文書の入力、編集
指示入力等を行うための各種キーを備えているキーボー
ド、7はROM8に記憶されたプログラムに従つて本装置全
体の制御するCPUである。8は上述したCPU7を動作させ
るプログラム等を格納しているROM、9はCPU7の処理で
のワークエリア等として用いられるRAMである。10はハ
ードデイスクドライブ、11はフロツピーデイスクドライ
ブであり、それぞれのデイスクは文書情報や修飾方法情
報の保存用に用いられる。12は上述各ユニツト間のアド
レス信号、データ、制御信号用のI/Oバスである。 次に、以上の構成を備える本実施例の文書編集処理に
おける修飾回数情報の表現について説明する。 第2図は本装置によつて修飾編集された文書の一例を
表わす図である。 第2図では、本文の「いう」に対して圏点15が、「き
くけ」に対してアンダーライン16の修飾がそれぞれされ
ている。 そして、本実施例においては、編集文書において使用
されている各修飾方法と、該修飾方法が行なわれている
文字数を対応付けて修飾回数情報テーブルとして当該編
集文書情報とともに記憶することとしている。例えば、
第2図の文書に対応する修飾回数情報テーブルの形式の
一例を第3図に示す。 本実施例においては、第3図に示す様に、編集中の文
書において、各修飾方法を行つている文字数がそれぞれ
対応付けて記憶されており、例えば、第2図に示す文書
の例では、17に示す修飾方法がアンダーラインである文
字数は、18に示す様に3文字あることが対応付けて記憶
されている。 そして、本実施例においては、係る修飾回数情報テー
ブルを備え、操作者が修飾方法情報をCRT1の表示画面に
表示する時に、当該文書で使用されている修飾方法の種
類を容易に判別可能な表示を行なつている。 この本実施例における修飾方法情報のCRT1への表示制
御を第4図に示す。 以下、第4図のフローチヤートを参照して本実施例に
おける、例えば第3図に示すの様なデータ構造である修
飾回数情報に対する修飾方法情報のCRT1への表示処理に
ついて説明する。 ステツプS1で表示する修飾方法情報のうち1つの修飾
方法を選び、修飾回数情報に対応する修飾回数情報を取
り出す。続くステツプS2で取出した修飾回数を調べる。
取出した修飾回数が1以上であればステツプS3に進み、
選び出した修飾方法情報をCRT1の修飾方法表示ウインド
ウ内に大きく表示してステツプS5に進む。 一方、ステツプS1で取出した修飾回数が1未満であれ
ばステツプS4に進み、選び出した修飾方法情報をCRT1の
修飾方法表示ウインドウ内に小さく表示してステツプS5
に進む。 ステツプS5では、以上のステツプS1からステツプS4の
処理を全ての修飾方法情報について行なつたか否かを調
べ、残りの修飾方法情報があればステツプS1に戻り、次
の修飾方法を選び、同様の表示処理を行なう。 一方、全ての修飾方法情報の表示が終了すれば修飾方
法情報の表示処理を終了する。 以上の表示制御を実行した場合のCRT1への修飾方法情
報の表示例を第5図に示す。 本実施例においては、従来の第12図の如く、CRT1の表
示画面の修飾方法表示ウインドウ13内に全ての修飾方法
を同じ大きさで表示するのではなく、20に示す様に文書
19で使用されている修飾修飾方法情報である「アンダー
ライン」及び「圏点」は21に示す様に大きな文字で表示
され、文書19で使用されてない修飾方法である「オーバ
ライン」、「囲み枠」、「ルビ」、「斜体」等は22の様
に小さな文字で表示される。このため、表示画面を見れ
ば、極めて容易に文書中で用いられている修飾方法を識
別することができる顕著な作用効果が得られる。 次に、本実施例における文書編集操作処理を第6図の
フローチヤートを参照して説明する。 ステツプS6でキーボード6などから編集操作指示を入
力する。CPU7は、キーボード6などより編集操作指示が
入力されると、ステツプS7で入力された操作が編集終了
か否かを調べる。編集終了指示入力であれば編集操作処
理を終了する。 編集終了指示入力でなければステツプS8に進み、入力
された操作が1文字修飾操作か否かを調べる。1文字修
飾操作の場合にはステツプS9に進み、修飾対象となるカ
ーソル上の文字が修飾済みであるか否かを調べる。修飾
対象となるカーソル上の文字が修飾済みの場合にはステ
ツプS21に進み、そのまま文書情報の表示を行ないステ
ツプS6に戻り、次の編集操作入力に備える。 一方、ステツプS9で修飾対象となるカーソル上の文字
が修飾されていない時にはステツプS10に進み、修飾回
数情報テーブルの該当する修飾方法の修飾回数を1つ増
加させ、続くステツプS11で修飾対象となるカーソル上
の文字に対して1文字修飾処理を行なう。そしてステツ
プS21に進み、修飾処理を行なつた文章情報を表示す
る。 以上の修飾処理を行なつた時のCRT1への表示例、及び
修飾回数情報テーブルの更新例を第7図に示す。第7図
において、23,24はそれぞれ編集操作処理前の文書表示
画面と修飾回数情報テーブルの内容を表わし、25,26は
それぞれ編集操作処理後の文書表示画面と修飾回数情報
テーブルの内容を表わす。また、27は編集操作処理の対
象となる文字を指示するカーソルを表わしている。以上
の符号は、後述する各種処理結果を表わす第8図、第9
図でも同様である。 第7図の例は、「い」に圏点修飾処理を行なつた例を
示している。 一方、ステツプS8で1文字修飾操作指示でなかつた時
にはステツプS12に進み、入力された操作が1文字非修
飾操作か否かを調べる。1文字非修飾操作の場合にはス
テツプS13に進み、非修飾対象となるカーソル上の文字
が修飾済みか否かを調べる。非修飾対象となるカーソル
上の文字が修飾済みの場合にはステツプS21に進む。 一方、非修飾対象となるカーソル上の文字が修飾済み
の文字でない場合にはステツプS14に進み、修飾回数情
報テーブルの該当する修飾方法の修飾回数を1つ減少さ
せ、続くステツプS15で前記カーソル上の非修飾対象と
なる文字に対して1文字非修飾処理を行なう。そしてス
テツプS21の文字表示処理を実行する。 以上の1文字非修飾処理を行なつた時のCRT1への表示
例、及び修飾回数情報テーブルの更新例を第8図に示
す。第7図において、23〜27は上述した第7図と同様の
状態を示している。 第8図の例は、圏点修飾処理が行なわれている「い」
に非修飾処理を行なつた例を示している。 更に、ステツプS12で入力された操作が1文字非修飾
操作でない場合にはステツプS16に進み、入力された操
作が1文字削除操作か否かを調べる。入力された操作が
1文字削除操作である時にはステツプS17に進み、削除
対象となるカーソル上の文字が修飾されているか否かを
調べる。削除対象となるカーソル上の文字が修飾されて
いない場合にはステツプS19に進む。 一方、削除対象となるカーソル上の文字が修飾されて
いる時にはステツプS18に進み、該当する修飾方法の修
飾回数を1減少させてステツプS19に進む。 ステツプS19では、前記カーソル上の削除対象文字に
対して1文字削除処理を行なう。そしてステツプS21に
進む。 ステツプS16で入力された操作が1文字削除操作でな
ければ、ステツプS20に進み、前記入力された操作に対
応する処理を行なう。そしてステツプS21の文書表示処
理を実行する。 以上の修飾処理が行なわれている文字への削除処理を
行なつた時のCRT1への表示例、及び修飾回数情報テーブ
ルの更新例を第9図に示す。 第9図において、23〜27は上述した第7図と同様の状
態を示している。 第9図の例は、圏点修飾処理が行なわれている「い」
に対して1文字削除処理を行なつた例を示している。 以上の文書編集処理を実行した場合の文書情報の本実
施例装置への記憶形式を第10図に示す。第10図は、上述
した第2図に示す文書を本装置内に記憶させるデータ形
式の一例を示す図である。 本文14は、文字コード28として記憶され、修飾されて
いる文字コードは、29に示すように「圏点始まり」、
「圏点終り」の様な修飾コードによつて囲まれている。 続いて、本実施例における、例えば第10図に示す様な
データ構造を有している文書情報に対する修飾回数情報
テーブルの生成処理を、第11図のフローチヤートを参照
して説明する。 まず、ステツプS21で修飾回数情報テーブルの全ての
修飾方法に対する修飾回数情報とフラグをクリアする。
そして、ステツプS22で文書情報から1文字分のコード
情報を取り出し、続くステツプS23で取り出したコード
情報が修飾始まりコードか否かを調べる。取り出したコ
ード情報が修飾始まりコードであればステツプS24に進
み、該当する修飾方法のフラグをセツトしてステツプS2
9に進む。ステツプS29では以上の処理が文書情報全部に
ついて行なわれたかを調べ、行なわれていない時は、ス
テツプS22へ戻つて次のコード情報を取り出して処理す
る。 一方、処理が終了している時には修飾回数情報テーブ
ル生成処理を終了する。 ステツプS23で取り出したコード情報が修飾始まりコ
ードでない場合にはステツプS25に進み、取り出したコ
ード情報が修飾終りコードか否かを調べる。取り出した
コード情報が修飾終りコードであればステツプS26に進
み、該当する修飾方法のフラグをリセツトしてステツプ
S29に進む。 ステツプS25で取り出したコード情報が修飾終りコー
ドでなければステツプS27に進み、取り出したコード情
報が本文の文字コードであるか否かを調べる。本文の文
字コードでなければステツプS29に進む。 一方、ステツプS25で取り出したコード情報が本文の
文字コードであればステツプS28に進み、修飾回数情報
テーブルのフラグがセツトされている修飾方法の修飾回
数を1つ増加させてステツプS29に進む。 以上の処理を実行することにより、処理文書情報に対
する修飾回数情報テーブルを生成することができる。 以上説明した様に本実施例によれば、操作者が修飾方
法情報を表示した時に、当該文書で使用されている修飾
方法の種類を極めて容易に判別することができる。 また、編集の結果により修飾方法が施されている修飾
回数情報を更新することにより、操作者による文書編集
の結果を当該文書の修飾方法情報表示に反映することが
できる。 さらに、文書内の任意の修飾部分を検索して、検索の
結果により修飾方法が施されている修飾回数情報を更新
することにより、文書の内容から当該文書の修飾回数情
報を生成可能とする効果がある。
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an example of the configuration of a document processing apparatus according to an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a display device (CRT) for displaying a normal document editing screen or decoration information input screen, and 2 denotes a video for developing an image for displaying a document on the display screen of CRT1.
RAM 3 is a bit unit for controlling data transfer between each memory and each device, 4 is a printer for printing out document information edited by the apparatus of this embodiment, and 5 is a printer interface for controlling the interface of the printer 4. Ace 6 is a keyboard having various keys for inputting decoration information, inputting a document, inputting an editing instruction, and the like, and 7 is a CPU for controlling the entire apparatus according to a program stored in a ROM 8. Reference numeral 8 denotes a ROM storing a program for operating the CPU 7 described above, and reference numeral 9 denotes a RAM used as a work area or the like in the processing of the CPU 7. A hard disk drive 10 and a floppy disk drive 11 are used for storing document information and modification method information. Reference numeral 12 denotes an I / O bus for address signals, data, and control signals between the units. Next, the expression of the number-of-times-of-modification information in the document editing process according to the present embodiment having the above configuration will be described. FIG. 2 is a diagram showing an example of a document modified and edited by the present apparatus. In FIG. 2, emphasis point 15 is modified for "" in the text, and underline 16 is modified for "Kikuke". In the present embodiment, each modification method used in the edited document is associated with the number of characters on which the modification method is performed, and stored together with the edited document information as a modification count information table. For example,
FIG. 3 shows an example of the format of the modification count information table corresponding to the document shown in FIG. In the present embodiment, as shown in FIG. 3, in the document being edited, the number of characters performing each modification method is stored in association with each other. For example, in the example of the document shown in FIG. The number of characters in which the decoration method shown in FIG. 17 is underlined is associated with the fact that there are three characters as shown in FIG. In the present embodiment, the modification frequency information table is provided, and when the operator displays the modification method information on the display screen of the CRT 1, a display that allows the type of the modification method used in the document to be easily determined. Is going on. FIG. 4 shows the display control of the modification method information on the CRT 1 in this embodiment. Hereinafter, the display processing of the modification method information on the modification number information having the data structure as shown in FIG. 3, for example, on the CRT 1 in this embodiment will be described with reference to the flowchart of FIG. One modification method is selected from the modification method information displayed in step S1, and modification number information corresponding to the modification number information is extracted. The number of modifications taken in the following step S2 is checked.
If the number of decorations taken out is 1 or more, proceed to step S3,
The selected decoration method information is greatly displayed in the decoration method display window of CRT1, and the process proceeds to step S5. On the other hand, if the number of decorations extracted in step S1 is less than 1, the process proceeds to step S4, where the selected decoration method information is displayed in a small manner in the decoration method display window of CRT1, and step S5 is performed.
Proceed to. In step S5, it is checked whether or not the above-described processing from step S1 to step S4 has been performed for all the modification method information, and if there is remaining modification method information, the process returns to step S1, and the next modification method is selected, and the same processing is performed. Perform display processing. On the other hand, when the display of all the decoration method information ends, the display processing of the decoration method information ends. FIG. 5 shows a display example of the decoration method information on the CRT 1 when the above display control is executed. In this embodiment, instead of displaying all the modification methods in the same size in the modification method display window 13 of the display screen of the CRT 1 as shown in FIG.
Modification method information "underline" and "circumscription point" used in 19 are displayed in large characters as shown in 21, and the modification methods "overline" and ""Enclosingframe","ruby","italics", etc. are displayed in small characters such as 22. For this reason, a remarkable operation and effect can be obtained by looking at the display screen, in which the decoration method used in the document can be identified very easily. Next, the document editing operation processing in this embodiment will be described with reference to the flowchart of FIG. In step S6, an editing operation instruction is input from the keyboard 6 or the like. When an editing operation instruction is input from the keyboard 6 or the like, the CPU 7 checks whether or not the operation input in step S7 ends the editing. If it is an edit end instruction input, the edit operation process ends. If it is not an edit end instruction input, the flow advances to step S8 to check whether or not the input operation is a one-character modification operation. In the case of a one-character modification operation, the flow advances to step S9 to check whether or not the character on the cursor to be modified has been modified. If the character on the cursor to be modified has been modified, the process proceeds to step S21, the document information is displayed as it is, and the process returns to step S6 to prepare for the next editing operation input. On the other hand, if the character on the cursor to be decorated in step S9 has not been modified, the process proceeds to step S10, in which the number of modifications of the corresponding modification method in the modification frequency information table is increased by one, and the modification is performed in step S11. Performs one-character modification processing on the character on the cursor. Then, the flow advances to step S21 to display the sentence information on which the decoration process has been performed. FIG. 7 shows a display example on the CRT 1 when the above-described decoration processing is performed and an example of updating the decoration count information table. In FIG. 7, 23 and 24 represent the contents of the document display screen and the number-of-modifications information table before the editing operation processing, respectively, and 25 and 26 represent the contents of the document display screen and the modification-times information table after the editing operation processing, respectively. . Reference numeral 27 denotes a cursor for pointing a character to be edited. 8 and 9 represent the results of various processes described below.
The same applies to the figures. The example in FIG. 7 shows an example in which the emphasis point modification process is performed on “i”. On the other hand, if it is determined in step S8 that the one-character modification operation instruction has not been issued, the flow advances to step S12 to check whether the input operation is a one-character non-modification operation. In the case of a one-character non-decoration operation, the process proceeds to step S13 to check whether or not the character on the cursor to be non-decorated has been modified. If the character on the cursor to be undecorated has been modified, the process proceeds to step S21. On the other hand, if the character on the cursor to be unmodified is not a modified character, the process proceeds to step S14, in which the number of decorations of the corresponding decoration method in the decoration frequency information table is reduced by one. Is subjected to one-character non-modification processing for the character to be non-modified. Then, the character display process of step S21 is executed. FIG. 8 shows an example of display on the CRT 1 when the above-described one-character non-modification processing is performed, and an example of updating the number-of-times-of-modification information table. In FIG. 7, reference numerals 23 to 27 indicate the same state as in FIG. In the example of FIG. 8, "I" in which emphasis point modification processing is performed
Shows an example in which an unqualified process is performed. Further, if the operation input in step S12 is not a one-character non-modifying operation, the process proceeds to step S16 to check whether the input operation is a one-character deletion operation. If the input operation is a one-character deletion operation, the flow advances to step S17 to check whether or not the character on the cursor to be deleted is modified. If the character on the cursor to be deleted has not been modified, the process proceeds to step S19. On the other hand, if the character on the cursor to be deleted has been modified, the process proceeds to step S18, the number of times of modification of the corresponding modification method is reduced by 1, and the process proceeds to step S19. In step S19, a one-character deletion process is performed on the character to be deleted on the cursor. Then, the process proceeds to step S21. If the operation input in step S16 is not a one-character deletion operation, the flow advances to step S20 to perform processing corresponding to the input operation. Then, the document display process of step S21 is executed. FIG. 9 shows an example of display on the CRT 1 when a deletion process is performed on a character on which the above-described modification process has been performed, and an example of updating the modification count information table. In FIG. 9, reference numerals 23 to 27 indicate the same state as in FIG. In the example of FIG. 9, “I” in which emphasis point modification processing is performed
1 shows an example in which a one-character deletion process is performed on a. FIG. 10 shows a storage format of the document information in the apparatus of this embodiment when the above-described document editing process is executed. FIG. 10 is a diagram showing an example of a data format for storing the document shown in FIG. 2 in the present apparatus. The body 14 is stored as a character code 28, and the modified character code is "
Surrounded by modifier codes such as "end of emphasis point". Next, a process of generating a modification count information table for document information having a data structure as shown in FIG. 10, for example, in this embodiment will be described with reference to a flowchart of FIG. First, in step S21, the number-of-times-of-modification information and the flags for all the modification methods in the number-of-times-of-modification information table are cleared.
Then, in step S22, code information for one character is extracted from the document information, and in subsequent step S23, it is checked whether or not the extracted code information is a decoration start code. If the extracted code information is the decoration start code, the process proceeds to step S24, where the flag of the corresponding decoration method is set, and the process proceeds to step S2.
Go to 9. In step S29, it is checked whether or not the above processing has been performed on all the document information. If not, the flow returns to step S22 to retrieve the next code information and process it. On the other hand, when the processing has been completed, the modification count information table generation processing ends. If the code information extracted in step S23 is not the decoration start code, the flow advances to step S25 to check whether the extracted code information is a decoration end code. If the extracted code information is the modification end code, the process proceeds to step S26, where the flag of the corresponding modification method is reset and the process proceeds to step S26.
Proceed to S29. If the code information extracted in step S25 is not the modification end code, the flow advances to step S27 to check whether or not the extracted code information is the character code of the text. If it is not the character code of the text, the process proceeds to step S29. On the other hand, if the code information extracted in step S25 is the character code of the text, the process proceeds to step S28, and the number of times of modification of the decoration method in which the flag of the number-of-times-of-modification information table is set is increased by one, and the process proceeds to step S29. By executing the above processing, it is possible to generate a modification count information table for processed document information. As described above, according to this embodiment, when the operator displays the decoration method information, it is possible to extremely easily determine the type of the decoration method used in the document. In addition, by updating the number-of-times-of-modification method in which the decoration method is applied according to the result of editing, the result of the document editing by the operator can be reflected on the display of the decoration method information of the document. Further, by searching for an arbitrary modification portion in the document and updating the modification number information subjected to the modification method based on the search result, the modification number information of the document can be generated from the contents of the document. There is.

【他の実施例】[Other embodiments]

以上説明した前記実施例においては、修飾方法情報の
表示を変化させる方法として、文字表示の大きさを変化
させたる場合を例として説明したが、本発明は以上の例
に限定されるものではなく、文字色を変化させる方法
等、操作者が判別可能となる表示方法であれば前記同様
の効果が得られる。 また、前記実施例においては、修飾回数情報の有無に
よつて修飾方法情報の表示を変化させたが、修飾回数情
報の内容に応じて、前記表示を変化することでも、前記
同様の効果が得られる。 また、前記実施例において、文書内の修飾の存在が判
別可能であれば、いかなる文書情報の構造であつても前
記同様の効果が得られる。 また、前記実施例においては、修飾回数情報を更新す
る編集操作は、1文字単位での修飾、非修飾、削除であ
る場合を例に説明したが、修飾回数情報を更新する編集
操作は以上の例に限定されるものではなく、文書内が変
更される編集操作であれば、前記実施例と同様の効果が
得られる。
In the above-described embodiment, the case where the size of the character display is changed has been described as an example of the method of changing the display of the decoration method information, but the present invention is not limited to the above example. The same effect as described above can be obtained if the display method is such that the operator can distinguish it, such as a method of changing the character color. In the above embodiment, the display of the modification method information is changed depending on the presence or absence of the modification number information. However, the same effect can be obtained by changing the display according to the content of the modification number information. Can be Further, in the above-described embodiment, the same effect as described above can be obtained regardless of the structure of any document information as long as the presence of the modification in the document can be determined. Further, in the above-described embodiment, the editing operation for updating the number-of-times-of-modification information has been described as an example of the case of modifying, non-modifying, and deleting one character at a time. The present invention is not limited to the example, and the same effect as in the above-described embodiment can be obtained as long as the editing operation changes the inside of the document.

【発明の効果】【The invention's effect】

以上説明したように本発明によれば、操作者が修飾方
法情報を表示した時に、当該文書で使用されている修飾
方法の種類を極めて容易に判別することができる。 また、編集の結果により修飾方法が施されている修飾
回数情報を更新することにより、操作者による文書編集
の結果を当該文書の修飾方法情報表示に反映することが
できる。 さらに、文書内容の任意の修飾部分を検索して、検索
の結果により修飾方法が施されている修飾回数情報を更
新することにより、文書の内容から当該文書の修飾回数
情報を生成可能とする効果がある。
As described above, according to the present invention, when the operator displays the decoration method information, it is possible to extremely easily determine the type of the decoration method used in the document. In addition, by updating the number-of-times-of-modification method in which the decoration method is applied according to the result of editing, the result of the document editing by the operator can be reflected on the display of the decoration method information of the document. Further, by searching for an arbitrary modification portion of the document content and updating the modification frequency information applied with the modification method based on the search result, the modification frequency information of the document can be generated from the content of the document. There is.

【図面の簡単な説明】[Brief description of the drawings]

第1図は本発明に係る一実施例の文書処理装置のブロツ
ク図、 第2図は本実施例における文書の修飾方法の例を表わす
図、 第3図は本実施例における第2図の文書に対する修飾回
数情報テーブルの内容例を表わす図、 第4図は本実施例における修飾方法情報の表示処理手順
を表わすフローチヤート、 第5図は本実施例おける修飾方法情報の表示例を表わす
図、 第6図は本実施例における編集操作処理手順を表わすフ
ローチヤート、 第7図は本実施例における1文字修飾操作時の表示と修
飾回数情報テーブルの更新関係を表わす図、 第8図は本実施例における1文字非修飾操作時の表示と
修飾回数情報テーブルの更新関係を表わす図、 第9図は本実施例における修飾処理の施された文字の削
除操作時の表示と修飾回数情報テーブルの更新関係を表
わす図、 第10図は本実施例における第2図に示す文書に対する文
書情報の記憶構造例を表わす図、 第11図は本実施例における第10図の構造を持つ文書に対
する修飾回数情報テーブルの生成処理手順を表わすフロ
ーチヤート、 第12図は従来の文書処理装置における修飾方法情報の表
示例を表わす図である。 図中、1……CRT、2……ビデオRAM、3……ビツトムー
ブユニツト、4……プリンタ、5……プリンタインタフ
エース、6……キーボード、7……CPU、8……ROM、9
……RAM、10……ハードデイスクドライブ、11……フロ
ツピーデイスクドライブ、12……I/Oバスである。
FIG. 1 is a block diagram of a document processing apparatus according to an embodiment of the present invention, FIG. 2 is a diagram showing an example of a method for modifying a document in this embodiment, and FIG. 3 is a document in FIG. 2 in this embodiment. FIG. 4 is a flowchart showing a modification example information display processing procedure in the present embodiment, FIG. 4 is a flowchart showing a modification example information display procedure in the present embodiment, FIG. FIG. 6 is a flowchart showing an editing operation processing procedure in this embodiment, FIG. 7 is a diagram showing a display at the time of a one-character modification operation and an update relationship of a modification count information table in this embodiment, and FIG. FIG. 9 is a diagram showing the relationship between the display at the time of one-character non-modification operation and the update of the number-of-times-of-modification information table in the example. FIG. 10 is a diagram showing an example of a storage structure of document information for the document shown in FIG. 2 in this embodiment. FIG. 11 is modification number information for a document having the structure shown in FIG. 10 in this embodiment. FIG. 12 is a flowchart showing a table generation processing procedure. FIG. 12 is a diagram showing a display example of decoration method information in a conventional document processing apparatus. In the drawing, 1 ... CRT, 2 ... Video RAM, 3 ... Bitmove unit, 4 ... Printer, 5 ... Printer interface, 6 ... Keyboard, 7 ... CPU, 8 ... ROM, 9
… RAM, 10… Hard disk drive, 11… Floppy disk drive, 12… I / O bus.

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】修飾方法情報を表示する表示手段と、文書
を前記修飾方法情報に基づいて修飾可能な文書編集手段
と、前記文書編集手段で編集された文書の修飾回数情報
を記憶する修飾回数情報記憶手段と、該修飾回数情報記
憶手段に記憶の修飾回数情報に基づいて前記修飾方法情
報表示手段の表示を制御する制御手段を有することを特
徴とする文書処理装置。
A display unit for displaying modification method information; a document editing unit capable of modifying a document based on the modification method information; and a modification count storing the modification count information of a document edited by the document editing unit. A document processing apparatus, comprising: an information storage unit; and a control unit that controls display of the decoration method information display unit based on the modification number information stored in the modification number information storage unit.
【請求項2】さらに文書編集手段の編集結果によつて、
修飾回数情報記憶手段に記憶の修飾回数情報を更新する
更新手段を有することを特徴とする請求項第1項記載の
文書処理装置。
Further, according to the editing result of the document editing means,
2. The document processing apparatus according to claim 1, wherein the modification count information storage unit includes an updating unit that updates the stored modification count information.
【請求項3】さらに文書中の任意の修飾部分を検索する
検索手段と、該検索手段の検索結果に従つて修飾回数情
報記憶手段に記憶の修飾回数情報を更新する更新手段を
有することを特徴とする請求項第1項記載の文書処理装
置。
3. The apparatus according to claim 1, further comprising: a search unit for searching for an arbitrary modification portion in the document; and an update unit for updating the modification count information stored in the modification count information storage unit in accordance with the search result of the search unit. 2. The document processing apparatus according to claim 1, wherein:
JP2087549A 1990-04-03 1990-04-03 Document processing device Expired - Fee Related JP2978199B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2087549A JP2978199B2 (en) 1990-04-03 1990-04-03 Document processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2087549A JP2978199B2 (en) 1990-04-03 1990-04-03 Document processing device

Publications (2)

Publication Number Publication Date
JPH03286361A JPH03286361A (en) 1991-12-17
JP2978199B2 true JP2978199B2 (en) 1999-11-15

Family

ID=13918070

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2087549A Expired - Fee Related JP2978199B2 (en) 1990-04-03 1990-04-03 Document processing device

Country Status (1)

Country Link
JP (1) JP2978199B2 (en)

Also Published As

Publication number Publication date
JPH03286361A (en) 1991-12-17

Similar Documents

Publication Publication Date Title
JP2978199B2 (en) Document processing device
JPS5846427A (en) Document editing device
JPH0612543B2 (en) Character string specification method
JP2503457B2 (en) Document processing device
JPS60221866A (en) Document editing processor
JP3886058B2 (en) Character processing apparatus and editing method thereof
JP2786260B2 (en) Kana-Kanji conversion device
JPH0661080B2 (en) Document processor with furigana addition function
JPH0981589A (en) Electronic dictionary
JPH0650504B2 (en) Kana-Kanji converter
JPH09160919A (en) Translation device
JPH0721189A (en) Translation assisting system
JPH0731315Y2 (en) Electronics
JP3311024B2 (en) Document processing method and apparatus
JPH0652217A (en) Machine translating device
JPH0414169A (en) Document processor
JPH0666065B2 (en) Document processor with furigana addition function
JPH033067A (en) Word processor
JPH0798698A (en) Document processor
JPH07141330A (en) Document preparation device having multi-lingual function
JPH0821036B2 (en) Document editing device
JPH01150968A (en) System for inputting character with attribute
JPS605314A (en) Word processor
JPH07168823A (en) Method and device for character processing
JPS59123037A (en) Indent control system of document processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees