JPH0778139A - Method for appending comment and document processor - Google Patents

Method for appending comment and document processor

Info

Publication number
JPH0778139A
JPH0778139A JP5162782A JP16278293A JPH0778139A JP H0778139 A JPH0778139 A JP H0778139A JP 5162782 A JP5162782 A JP 5162782A JP 16278293 A JP16278293 A JP 16278293A JP H0778139 A JPH0778139 A JP H0778139A
Authority
JP
Japan
Prior art keywords
comment
document
information
file
equivalent
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.)
Granted
Application number
JP5162782A
Other languages
Japanese (ja)
Other versions
JP3166996B2 (en
Inventor
Masaaki Nagashima
正明 長島
Takayuki Sasaki
貴幸 佐々木
Yasuhiro Okuno
泰弘 奥野
Tadashi Yamakawa
正 山川
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 JP16278293A priority Critical patent/JP3166996B2/en
Priority to DE69426714T priority patent/DE69426714T2/en
Priority to EP94304736A priority patent/EP0633539B1/en
Publication of JPH0778139A publication Critical patent/JPH0778139A/en
Priority to US08/734,308 priority patent/US6438566B1/en
Application granted granted Critical
Publication of JP3166996B2 publication Critical patent/JP3166996B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To prevent a comment from suddenly disappearing at the time of transferring it by distinguishably storing comment information whose transfer is disabled at the time of automatically transferring the comment between documents. CONSTITUTION:A comment appending position in an old document is extracted based upon comment appending position information included in comment information stored in an old document file 51 and stored in a character string area 43. An equivalent part evaluated as a part having meaning contents equivalent to the comment appending position is retrieved from a new document file 53. When the equivalent part is retrieved from the file 53, comment information is constituted by using the equivalent part as comment appending position information and stored in a new document comment file 54. If the equivalent part is not retrieved from the file 53, the commen information is stored in a drop-out comment file 55.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、文書に対してコメント
を付与するコメント付与方法及び該コメント付与方法を
用いた文書処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a comment adding method for adding a comment to a document and a document processing apparatus using the comment adding method.

【0002】[0002]

【従来の技術】従来より、例えばフロッピーディスク等
により保存された文書(例えばマニュアル)の一部分に
対し、ユーザが何らかのコメントを付与することが考え
られている。図16は、コメントが付与されている文書
(以下、元文書と称する)及びそのコメントを表示した
状態の1例を表す図である。CRT画面160上には、
2つのウインドウが表示される。 text window161は
元文書を表示し、comment window162はコメントを表
示する。従って、元文書とコメントはそれぞれ別々のウ
ィンドウに表示され、コメントが元文書のどこに付与さ
れているのかは、両ウィンドウを結ぶ線163が表して
いる。
2. Description of the Related Art Conventionally, it has been considered that a user gives some kind of comment to a part of a document (for example, a manual) stored in a floppy disk or the like. FIG. 16 is a diagram showing an example of a document to which a comment is added (hereinafter referred to as an original document) and a state in which the comment is displayed. On the CRT screen 160,
Two windows are displayed. The text window 161 displays the original document, and the comment window 162 displays the comment. Therefore, the original document and the comment are displayed in separate windows, and a line 163 connecting the windows indicates where the comment is added to the original document.

【0003】この場合、元文書に対してコメントを付与
する方法として、元文書のデータにリンク情報として特
殊なコードを埋め込むという方法がある。コメントは元
文書に埋め込まれたリンク情報により元文書とリンクさ
れ、このリンク情報をたどることによってコメントを表
示することができる。従ってリンク情報を元文書に埋め
込む方法では、コメントを付けるユーザは、元文書にリ
ンク情報を埋め込むための権限が必要である。また、元
文書ファイルは、どのユーザがオープンしても、おなじ
コメントを見ることになり、他人がコメントを付ければ
それを見ることになる。そして、コメントの内容(文
章)は元文書と同じファイルに格納する場合もあれば、
別にする場合もある。
In this case, as a method of adding a comment to the original document, there is a method of embedding a special code as link information in the data of the original document. The comment is linked to the original document by the link information embedded in the original document, and the comment can be displayed by following this link information. Therefore, in the method of embedding the link information in the original document, the user who makes the comment needs the authority to embed the link information in the original document. Also, the original document file will be viewed by the same comment no matter which user opens it, and it will be viewed by another person if a comment is added. And the content (text) of the comment may be stored in the same file as the original document,
It may be different.

【0004】元文書に変更を加えられないユーザを考え
た場合の方法として、元文書とコメントを別々のファイ
ル(元文書ファイルとコメントファイル)に保存してお
き、表示の際に両ファイルのid(ファイル名など)を
与えてシステムを起動し、これらを結合して表示すると
いう方法もある。この場合、コメントが元文書のどの部
分に対応しているかという情報は、コメントファイル側
が有している。例えば、元文書ファイルの先頭から何文
字目に対応したコメントであるという位置情報により元
文書との対応をとっている。
As a method in the case of considering a user who cannot change the original document, the original document and the comment are stored in separate files (the original document file and the comment file), and the ids of both files are displayed at the time of display. There is also a method of booting the system by giving (file name etc.) and combining and displaying them. In this case, the comment file side has information about which part of the original document the comment corresponds to. For example, the position of the comment corresponding to the character from the beginning of the original document file indicates the correspondence with the original document.

【0005】この方法では、コメントファイルを各ユー
ザが別々に持つことが可能であり、元文書ファイルは全
ユーザで共有する。よって、元文書ファイルを変更する
ための権限は不要である上、他人が付けたコメントを見
ずに、自分が付けたコメントだけを見ながら文書を見る
こともできる。また、他人が付けたコメントのファイル
を読むことができる構成であれば、他人の付けたコメン
トを見ながら文書を読むことも可能であることはいうま
でもない。
In this method, each user can have a comment file separately, and the original document file is shared by all users. Therefore, it is not necessary to have the authority to change the original document file, and it is possible to view the document while seeing only the comment added by oneself without seeing the comment added by another person. Needless to say, it is also possible to read a document while seeing the comment added by another person, as long as the file of the comment added by another person can be read.

【0006】[0006]

【発明が解決しようとする課題】上記従来例では、コメ
ントが元文書のどの場所に付与されたのかという位置情
報として、元文書ファイルの先頭からの文字数を用いた
り、元文書データ中に特殊なコード(マーク)を埋め込
むという方法を用いている。従って、コメントの位置情
報と元文書ファイルの状態とは密接にかかわり合いを持
つものとなる。このため、元文書の1部に対して変更が
なされて新しいバージョンとなりデータ的に全く別の文
書になるような場合に、たとえその内容が類似したもの
であっても、それまで付与してきたコメントが全て無効
になってしまうという問題があった。
In the above-described conventional example, the number of characters from the beginning of the original document file is used as the position information indicating where in the original document the comment is added, or a special character is included in the original document data. The method of embedding a code (mark) is used. Therefore, the position information of the comment and the state of the original document file are closely related. For this reason, when a part of the original document is changed to a new version and becomes a completely different document in terms of data, even if the contents are similar, the comments that have been added until then. There was a problem that all were invalidated.

【0007】例えば、リンク情報を用いてコメントを付
与した場合は、変更された文書(新文書)が新たな文書
ファイルとして提供されたとき、この提供された新文書
ファイルにはリンク情報が埋め込まれていないので、リ
ンク情報として特殊コードの埋め込みをやり直す必要が
ある。また、コメント位置情報として文書先頭からの文
字数を用いている場合は、提供された新文書において文
字数の増減を伴う変更があると、それ以降ではコメント
を付与すべき位置(先頭からの文字数)が異なるので、
変更前の文書(旧文書)用のコメントファイルの位置情
報では新文書の正しい位置にコメントが付与されない。
従って、この場合も、コメントの位置情報を変更する必
要がある。
For example, when a comment is added using the link information, when the changed document (new document) is provided as a new document file, the link information is embedded in the provided new document file. Therefore, it is necessary to re-embed the special code as link information. When the number of characters from the beginning of the document is used as the comment position information, if there is a change in the provided new document that causes an increase or decrease in the number of characters, the position (number of characters from the beginning) to which the comment should be added will be changed after that. Because they are different
In the position information of the comment file for the document before change (old document), the comment is not added to the correct position of the new document.
Therefore, also in this case, it is necessary to change the position information of the comment.

【0008】特に、いくつかの細かい訂正や、文章の追
加によってバージョンアップするマニュアル類の場合、
バージョンアップ後の新文書の内容はバージョンアップ
前の旧文書の内容とは大きくは変わらない。従って、旧
文書に対するコメントは新文書に対しても同様に意味が
あるものとなる。しかしながら、上述した従来技術にお
いては、元文書のデータが書き変わってしまうので、古
いコメントを活用することができないという問題が頻繁
に発生する。そして、旧文書のコメントを新文書のコメ
ントとして利用しようとする場合は、コメントの移し替
え作業が必要となり、非常に煩わしい作業が発生する。
[0008] In particular, in the case of manuals that are upgraded by some small corrections or addition of sentences,
The contents of the new document after the version upgrade are not significantly different from the contents of the old document before the version upgrade. Therefore, the comment for the old document has the same meaning for the new document. However, in the above-mentioned conventional technique, since the data of the original document is rewritten, the problem that old comments cannot be utilized frequently occurs. Then, when the comment of the old document is to be used as the comment of the new document, the work of transferring the comment is required, which causes a very troublesome work.

【0009】上記の問題点を解決するために、第1の文
書のあるコメント付与位置と意味的に同等部分であると
評価される第2の文書の部分にコメントを付与し直すこ
とにより、文書間でのコメントの移し替えを自動的に行
うコメント付与方法及び文書処理装置が提案されてい
る。しかしながら前記提案においては、第1の文書中の
コメントが付与されている部分と同等部分が第2の文書
の中から検出できなかった時、第1の文書に付与されて
いたコメントは、第2の文書には反映されない。従っ
て、文書を変更していった結果、いつのまにかあるコメ
ントが消滅してしまうという問題がある。
In order to solve the above-mentioned problem, the comment is re-added to the part of the second document which is evaluated to be a part which is semantically equivalent to a certain comment-added position of the first document. A comment adding method and a document processing apparatus that automatically transfer comments between documents have been proposed. However, in the above-mentioned proposal, when the same part as the commented part in the first document cannot be detected in the second document, the comment added to the first document is Is not reflected in the document. Therefore, as a result of changing the document, there is a problem that some comments are erased before they know it.

【0010】本発明は上記の問題点に鑑みてなされたも
のであり、文書間でのコメントの移し替えを自動的に行
う際に、移し替えを実行できなかったコメント情報を区
別して保存することにより、コメントの移し替え時に不
意にコメントを消失することを防止するコメント付与方
法及び文書処理装置を提供することを目的とする。
The present invention has been made in view of the above problems, and when the comments are automatically transferred between documents, the comment information for which the transfer could not be executed is distinguished and saved. Thus, it is an object of the present invention to provide a comment giving method and a document processing apparatus that prevent the comments from being unintentionally lost when the comments are transferred.

【0011】[0011]

【課題を解決するための手段】上記の目的を達成するた
めの本発明による文書処理装置は以下の構成を備える。
即ち、文書に対してコメントを付与する機能を有する文
書処理装置において、第1の文書に対するコメント内容
とコメント付与位置情報とを対応させてなる第1のコメ
ント情報を記憶する記憶手段と、前記コメント付与位置
情報に基づく前記第1の文書のコメント付与部分と同等
部分であると評価される部分を第2の文書より検索する
同等部分検索手段と、前記同等部分検索手段により検索
された前記第2の文書の同等部分の位置を前記コメント
内容に対するコメント付与位置情報とする第2のコメン
ト情報を格納する第1の格納手段と、前記第1のコメン
ト情報のうち前記同等部分検索手段により前記第2の文
書中に同等部分が検索されなかったコメント情報を区別
して格納する第2の格納手段と、を備える。
A document processing apparatus according to the present invention for achieving the above object has the following configuration.
That is, in a document processing apparatus having a function of adding a comment to a document, a storage unit that stores first comment information that associates the comment content of the first document with the comment addition position information, and the comment. An equivalent part search means for searching the second document for a part evaluated to be the same part as the comment added part of the first document based on the added position information, and the second part searched by the equivalent part search means. First storing means for storing second comment information in which the position of the equivalent part of the document is the comment addition position information for the comment content, and the second part by the equivalent part searching means of the first comment information. Second storage means for separately storing comment information for which an equivalent portion has not been searched for in the document.

【0012】また、上記の目的を達成する本発明による
コメント付与方法は以下の行程を備える。即ち、情報処
理装置などにおいて文書に対してコメントを付与するた
めのコメント付与方法において、第1の文書に対するコ
メント内容とコメント付与位置情報とを対応させてなる
第1のコメント情報を記憶する記憶行程と、前記コメン
ト付与位置情報に基づく前記第1の文書のコメント付与
部分と同等部分であると評価される部分を第2の文書よ
り検索する同等部分検索行程と、前記同等部分検索行程
により検索された前記第2の文書の同等部分の位置を前
記コメント内容に対するコメント付与位置情報とする第
2のコメント情報を格納する第1の格納行程と、前記第
1のコメント情報のうち前記同等部分検索行程により前
記第2の文書中に同等部分が検索されなかったコメント
情報を区別して格納する第2の格納行程と、を備える。
Further, the comment giving method according to the present invention, which achieves the above object, includes the following steps. That is, in the comment giving method for giving a comment to a document in an information processing device or the like, a storage step of storing first comment information in which the comment content for the first document and the comment giving position information are associated with each other. And an equivalent part search step of searching the second document for a part that is evaluated to be equivalent to the comment added part of the first document based on the comment adding position information, and the equivalent part search step. A first storing step of storing second comment information in which the position of the equivalent portion of the second document is the comment addition position information for the comment content, and the equivalent portion searching step of the first comment information According to the second document, the second storage step of separately storing the comment information in which the equivalent portion is not searched in the second document is stored.

【0013】[0013]

【作用】上記の構成において、第1のコメント情報のコ
メント付与位置情報により第1の文書のコメント付与部
分を抽出し、このコメント付与部分と同等の意味内容を
有すると評価される同等部分を第2の文書より検索す
る。第2の文書において同等部分が検索された場合は、
この同等部分をコメント付与位置情報とする第2のコメ
ント情報を生成し、これを第2の文書用のコメント情報
とする。一方、第2の文書において同等部分が検索され
なかった場合は、そのコメント情報を区別して保存す
る。
In the above structure, the comment-added portion of the first document is extracted from the comment-added position information of the first comment information, and the equivalent portion evaluated to have the same meaning as the comment-added portion Search from the second document. If an equivalent part is found in the second document,
Second comment information in which this equivalent portion is used as comment addition position information is generated, and this is used as comment information for the second document. On the other hand, if the equivalent part is not found in the second document, the comment information is distinguished and saved.

【0014】[0014]

【実施例】以下に添付の図面を参照して本発明の好適な
実施例について説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the accompanying drawings.

【0015】<実施例1>実施例1では、旧文書のコメ
ントを新文書に移し替える際に、旧文書と同等な意味を
持つ部分が新文書から検出できなかった場合に、これに
対応するコメント(複数ある場合もある)をまとめて1
つのファイルに格納する。これにより、どのコメントの
移し替えができなかったかをユーザに知らせるものであ
る。
<Embodiment 1> In Embodiment 1, when a comment of an old document is transferred to a new document, a portion having the same meaning as the old document cannot be detected from the new document, and this is dealt with. 1 for the comment (there may be multiple)
Store in one file. This informs the user which comment could not be transferred.

【0016】実施例1では、旧文書と同等な意味を持つ
箇所を新文書から検出する一つの方法として、全文一致
の方法をとる。すなわち、旧文書のコメントが付けられ
ている部分の文字列とまったく同じ文字列である新文書
中の部分を、同等な意味を持つ部分とするものである。
In the first embodiment, a full-text matching method is used as one method for detecting a portion having the same meaning as the old document from the new document. That is, the part in the new document, which is the same character string as the part of the old document to which the comment is added, has the same meaning.

【0017】図1は実施例1の文書処理装置の概略構成
を表すブロック図である。図中、1はコンソールであ
り、その装置構成の1例を図2に示す。入力装置として
キーボード11,マウス12などを備える。また、出力
装置として、CRT13などの画面表示装置を備えてい
る。2はCPUであり、本文書処理装置の全体の制御を
行う。3はROMであり、CPU1が実行する各種プロ
グラム等が格納されている。4は作業用メモリであり、
CPU1がコメント移し替えの処理を実行する際に使用
する各種エリアを備える。5はファイル用メモリであ
り、各種文書ファイルやコメントファイルを格納するエ
リアを有する。以上の各構成は計算機バス6に接続され
ており、相互にデータの授受を行う。
FIG. 1 is a block diagram showing the schematic arrangement of the document processing apparatus according to the first embodiment. In the figure, reference numeral 1 is a console, and an example of the device configuration is shown in FIG. A keyboard 11 and a mouse 12 are provided as input devices. Further, a screen display device such as a CRT 13 is provided as an output device. Reference numeral 2 denotes a CPU, which controls the entire document processing apparatus. A ROM 3 stores various programs executed by the CPU 1. 4 is a working memory,
The CPU 1 is provided with various areas used when executing a comment transfer process. Reference numeral 5 denotes a file memory, which has an area for storing various document files and comment files. Each of the above components is connected to the computer bus 6 and exchanges data with each other.

【0018】作業用メモリ4における各種エリアについ
て説明する。41は位置情報エリアであり、旧文書用コ
メントファイル52から読み出されるコメントの位置情
報を格納する。42はコメント内容エリアであり、旧文
書用コメントファイル52から読み出されるコメントの
内容(文字列等)を格納する。43は文字列エリアであ
り、旧文書ファイル51において、位置情報エリア42
に格納されている位置情報が示す部分の文字列を格納す
る。44は候補エリアであり、新文書ファイル53から
文字列エリア43に格納されている文字列と同じ文字列
を有する部分の位置情報をコメント付与位置の候補とし
て格納する。45は候補エリア44の中から所定の規則
により選択された位置情報である。
Various areas in the work memory 4 will be described. A position information area 41 stores the position information of the comment read from the old document comment file 52. A comment content area 42 stores the content (character string or the like) of the comment read from the old document comment file 52. 43 is a character string area, and in the old document file 51, the position information area 42
The character string of the portion indicated by the position information stored in is stored. Reference numeral 44 denotes a candidate area, which stores the position information of the portion having the same character string as the character string stored in the character string area 43 from the new document file 53 as a candidate for the comment addition position. 45 is position information selected from the candidate area 44 by a predetermined rule.

【0019】また、ファイル用メモリ5における各種フ
ァイルについて説明する。51は旧文書ファイルであ
り、変更前の旧文書ファイルが格納されている。52は
旧文書用コメントファイルであり、旧文書ファイル51
に付けられたコメント情報を格納するファイルである。
53は新文書ファイルであり、旧文書ファイル51の内
容を変更して得られた新文書ファイルである。54は新
文書用コメントファイルであり、新文書ファイル53に
付けられたコメント情報が格納されている。55はドロ
ップアウトファイルであり、コメントのつけ替えを行な
う際に、つけ替えが失敗したコメント情報を格納する。
Various files in the file memory 5 will be described. An old document file 51 stores the old document file before the change. Reference numeral 52 is an old document comment file, and the old document file 51
This is a file that stores comment information attached to.
A new document file 53 is a new document file obtained by changing the contents of the old document file 51. Reference numeral 54 is a new document comment file, in which comment information attached to the new document file 53 is stored. Reference numeral 55 is a dropout file, which stores comment information for which replacement has failed when replacing comments.

【0020】次に、実施例1の文書処理装置による元文
書に対するコメントの付け方の一例を図3及び図4を用
いて説明する。ここで、1つの文書に対して1つのコメ
ントファイルが対応するものとし、文書は通常のテキス
トファイルである。
Next, an example of how to add a comment to the original document by the document processing apparatus according to the first embodiment will be described with reference to FIGS. 3 and 4. Here, one comment file corresponds to one document, and the document is a normal text file.

【0021】図3は旧文書を格納する旧文書ファイルの
格納状態を表す図である。また、図4はコメントファイ
ルにおけるコメント情報の格納状態を表す図である。
FIG. 3 is a diagram showing a storage state of an old document file for storing old documents. FIG. 4 is a diagram showing a storage state of comment information in the comment file.

【0022】文書ファイルとコメントファイルとの対応
は、コメントファイル名として文書ファイル名に何らか
の拡張子を付けたものとして対応付けることができる。
例えば、docという文書に対するコメントファイル名
はdoc.commentなどとすれば良い。そして、
このコメントファイルの内容は、各コメントについて位
置情報とコメント内容のペアからなるコメント情報を有
し、このコメント情報を複数並べたものである。
The correspondence between the document file and the comment file can be made as a comment file name by adding a certain extension to the document file name.
For example, the comment file name for the document doc is doc. It may be a comment or the like. And
The content of this comment file has comment information consisting of a pair of position information and comment content for each comment, and a plurality of such comment information are arranged.

【0023】コメントは元文書のある範囲を指定して付
与される。この範囲指定は、元文書ファイルの先頭から
の文字数によって指定する。たとえば、図3に示す元文
書において、「かきくけこ」という部分に「まみむめ
も」というコメントを付け、「さしすせそ」に対して
「はひふへほ」というコメントを付けた場合、コメント
ファイルの内容は、図4のようになる。即ち、コメント
情報は1つずつ<comment>と</commen
t>という文字列にはさまれる。このなかに<plac
e>と</place>にはさまれる位置情報(文書フ
ァイルの先頭からの文字数)及び、<content>
と</content>にはさまれるコメント内容(コ
メントそのもの)が挿入されている。
The comment is attached by designating a certain range of the original document. This range is specified by the number of characters from the beginning of the original document file. For example, in the original document shown in FIG. 3, when a comment “Mami Mumemo” is added to the part “Kakikukeko” and a comment “Hahifuheho” is added to “Sashisuseso”, The contents are as shown in FIG. That is, the comment information is one by one for <comment> and </ commen
It is sandwiched between the character strings t>. In this <plac
Position information (the number of characters from the beginning of the document file) sandwiched between e> and </ place>, and <content>
The comment contents (comment itself) sandwiched between and </ content> are inserted.

【0024】図4に示されるコメントファイルの場合、
最初のコメントは、図3に示した文書ファイルの先頭か
ら7文字目乃至11文字目までの文字列(「かきくけ
こ」)に対して「まみむめも」というコメントがつけら
れていることを示している。また、2つ目のコメントと
して文書ファイルの先頭から13文字目乃至17文字目
までの文字列(「さしすせそ」)に対して「はひふへ
ほ」というコメントがつけられていることを示してい
る。
In the case of the comment file shown in FIG. 4,
The first comment indicates that a comment "Mamimumemo" is attached to the character string from the beginning to the 7th to 11th characters ("Kakikukeko") of the document file shown in FIG. ing. Also, as the second comment, indicate that the comment "Hahifuheho" is attached to the character string ("Sashisuseso") from the beginning of the document file to the 13th to 17th characters. There is.

【0025】以上のような図3及び図4に示される文書
ファイルとコメントファイルが存在している場合、この
文書は図5のように表示される。図5はCRT13の表
示画面の表示状態を表す図である。文書用ウインドウ5
11には図3の文書ファイル51に基づく表示がなされ
る。また、コメント用ウインドウ512,513にはコ
メントファイルの内容に基づく表示がなされる。更に、
文書用ウインドウとコメント用ウインドウとを結ぶライ
ン514,515はコメントファイル内の位置情報に基
づいて表示される。
When the document file and the comment file shown in FIGS. 3 and 4 as described above exist, this document is displayed as shown in FIG. FIG. 5 is a diagram showing a display state of the display screen of the CRT 13. Document window 5
At 11, a display based on the document file 51 of FIG. 3 is made. Further, in the comment windows 512 and 513, a display based on the contents of the comment file is made. Furthermore,
Lines 514 and 515 connecting the document window and the comment window are displayed based on the position information in the comment file.

【0026】次に、本実施例1の文書処理装置によるコ
メントの移し替えの処理について図6を参照して説明す
る。図6は、実施例1の文書処理装置によるコメント移
し替えの処理手順を表すフローチャートである。
Next, a comment transfer process performed by the document processing apparatus according to the first embodiment will be described with reference to FIG. FIG. 6 is a flowchart illustrating a comment transfer process procedure performed by the document processing apparatus according to the first embodiment.

【0027】まず初めに、ステップS201で旧文書用
コメントファイル52から、コメントがつけられている
位置情報とそのコメント内容とを読み出し、作業用メモ
リ4の位置情報エリア42及びコメント内容エリア42
に格納する。次に、ステップS202でそのコメントが
付けられている文字列を、旧文書ファイル51より抽出
する。これは単に旧文書用コメントファイル52に示さ
れている位置情報の示す部分を旧文書ファイル51から
抽出すればよい。この抽出された文字列は、作業用メモ
リ4の文字列エリア43に格納される。更に、ステップ
S203で新文書ファイル53について、文字列エリア
43に格納されている文字列と同じ文字列があるかどう
かを検索する。検索の結果、もし同じ文字列があれば、
それが新文書ファイル53の何文字目から何文字目であ
ったのかを算出する。そして、算出された2つの数の組
をコメント付与位置の候補として作業用メモリ4の候補
エリア44に格納する。この検索は新文書ファイル53
の全文について実行され、検索に適合した文字列が新文
書ファイル53中に複数あれば、複数の候補が候補エリ
ア44に格納される。
First, in step S201, the commented position information and the comment contents thereof are read from the old document comment file 52, and the position information area 42 and the comment contents area 42 of the working memory 4 are read out.
To store. Next, in step S202, the character string with the comment is extracted from the old document file 51. This can be achieved by simply extracting from the old document file 51 the portion indicated by the position information shown in the old document comment file 52. The extracted character string is stored in the character string area 43 of the work memory 4. Further, in step S203, the new document file 53 is searched for the same character string as the character string stored in the character string area 43. As a result of the search, if the same character string is found,
The number of characters and the number of characters in the new document file 53 are calculated. Then, the calculated two sets are stored in the candidate area 44 of the working memory 4 as the comment addition position candidates. This search is new document file 53
If there are a plurality of character strings suitable for the search in the new document file 53, a plurality of candidates are stored in the candidate area 44.

【0028】ステップS204では、ステップS203
で候補が1つ以上見つかったかどうかを判定し、見つか
っていればステップS205へ、見つかっていなければ
ステップS208へ進む。
In step S204, step S203
It is determined whether or not one or more candidates have been found in step S205. If found, step S205 follows. If not found, step S208 follows.

【0029】ステップS205では、旧文書ファイル5
1で付けられていたコメントの位置(位置情報エリア4
1に格納されている)に最も近いものを候補の中から選
択し、これを新文書ファイルに対するコメントの位置情
報として作業用メモリ4の新位置情報エリア45に格納
する。上述の近さの基準として、ここでは、位置情報エ
リア41に格納されている旧文書ファイル51に対応す
る位置情報と数値的に近い候補を選択することにする。
例えば、旧文書ファイル51の「35文字目乃至42文
字目」までに付けられていたコメントがあり、候補とし
て、「45文字目乃至52文字目」というものと「10
5文字目乃至112文字目まで」というものがあった場
合は、「45文字目乃至52文字目」という候補を選択
するものとする。即ち、範囲指定の最初の数値を単純に
比較し、より近いほうを選択すれば良い。また、もし同
じ近さなら、数値の小さいほうを選択するものとする。
In step S205, the old document file 5
The position of the comment attached in 1 (position information area 4
(Stored in 1) is selected from the candidates, and this is stored in the new position information area 45 of the working memory 4 as the position information of the comment for the new document file. As a criterion of the above-mentioned proximity, here, a candidate numerically close to the position information corresponding to the old document file 51 stored in the position information area 41 is selected.
For example, there is a comment added up to "35th to 42nd characters" of the old document file 51, and candidates are "45th to 52nd characters" and "10th character".
If there is a "5th to 112th character", the candidate "45th to 52nd character" is selected. That is, it is sufficient to simply compare the first numerical values of the range designation and select the closer one. Also, if they are the same, the one with the smaller numerical value is selected.

【0030】ステップS206では、新位置情報エリア
45に格納されている位置情報とコメント内容42をペ
アとしてコメント情報を生成し、これを新文書用コメン
トファイル54に書き込む。このとき、新文書用コメン
トファイルのデータフォーマットは図4に示すようなコ
メントファイルのフォーマットである。尚、新文書用コ
メントファイル54のファイル名としては、新文書ファ
イル53のファイル名に特定の拡張子をつけたファイル
名を持つものとする。例えば、新文書ファイル名がdo
c2であるなら、新文書用コメントファイルの名前はd
oc2.commentとする等である。このdoc
2.commentのファイルが存在しなければ新たに
ファイルを作成し、すでに存在すれば、そこにつけ加え
て行えば良い。
In step S206, the position information stored in the new position information area 45 and the comment content 42 are paired to generate comment information, which is written in the new document comment file 54. At this time, the data format of the new document comment file is the comment file format as shown in FIG. The file name of the new document comment file 54 has the file name of the new document file 53 with a specific extension. For example, the new document file name is do
If it is c2, the name of the new document comment file is d
oc2. and the like. This doc
2. If the comment file does not exist, a new file is created, and if it already exists, it can be added to it.

【0031】次に、ステップS207では、旧文書用コ
メントファイル52の全コメント情報について移し替え
の処理を実行したかどうかを判定する。未処理のコメン
ト情報が残っていればステップS201に戻り、上述の
処理を繰り返す。全てのコメント情報について処理を完
了していれば本処理を終了する。
Next, in step S207, it is determined whether or not the transfer processing has been executed for all the comment information of the old document comment file 52. If unprocessed comment information remains, the process returns to step S201 to repeat the above process. If the processing has been completed for all comment information, this processing ends.

【0032】一方、ステップS204で候補が1つも見
つからなかった時は、ステップS208は進み、その時
の旧文書に付けられていたコメント情報をドロップアウ
トコメントファイル55に登録する。ドロップアウトコ
メントファイル55のファイル名は、例えば、旧文書フ
ァイル名をdoc1、新文書ファイル名をdoc2とす
ると、doc1−doc2,dropoutというよう
に、旧文書と新文書の名前に特定拡張子を付ける等すれ
ばわかりやすい。
On the other hand, if no candidate is found in step S204, step S208 proceeds and the comment information attached to the old document at that time is registered in the dropout comment file 55. As for the file name of the dropout comment file 55, if the old document file name is doc1 and the new document file name is doc2, a specific extension is added to the names of the old document and the new document, such as doc1-doc2, dropout. It is easy to understand if you do the same.

【0033】ここで、ドロップアウトコメントファイル
55に登録する際に、このドロップアウトファイル55
が存在しない時は上記のような方法で新たにファイル作
成し、これに登録する。また、既に、ドロップアウトフ
ァイル55が存在する時はそのファイルにそのまま追加
する。ドロップアウトコメントファイル55には、例え
ば、図4に示す形式と同じ形式で登録しておく。そし
て、ステップS207へ進む。
When registering in the dropout comment file 55, the dropout file 55
If does not exist, create a new file by the above method and register it. When the dropout file 55 already exists, it is added to the file as it is. The dropout comment file 55 is registered in the same format as that shown in FIG. 4, for example. Then, the process proceeds to step S207.

【0034】図7,8,9に、本処理を行なった結果の
新文書ファイル53、新文書用コメントファイル54、
ドロップアウトコメントファイル55の内容を示す。新
文書ファイル53の内容は、図3に示した旧文書ファイ
ル51の内容である「かきくけこ」を「やゆよ」に変更
したものである。このとき、上述のコメント移し替え処
理により生成される新文書用コメントファイル54に
は、上記のステップS203における同等箇所の検索に
成功したコメント情報が登録されている。その位置情
報、すなわち、文書要素<place>の内容は、新位
置情報(11文字目乃至15文字目)に変更されてい
る。ドロップアウトコメントファイル55には、ステッ
プS203における同等箇所の検索に失敗したコメント
情報が登録されている。これは旧文書用コメントファイ
ルにおけるコメント情報をそのまま登録する。
7, 8 and 9, a new document file 53, a new document comment file 54, which is the result of this processing,
The contents of the dropout comment file 55 are shown. The contents of the new document file 53 are the contents of the old document file 51 shown in FIG. 3 changed from "Kakikukeko" to "Yayuyo". At this time, in the new document comment file 54 generated by the comment transfer processing described above, the comment information that has been successfully searched for in the equivalent portion in step S203 is registered. The position information, that is, the content of the document element <place> is changed to the new position information (11th to 15th characters). In the dropout comment file 55, comment information that fails to search for the equivalent part in step S203 is registered. This directly registers the comment information in the old document comment file.

【0035】以上説明したように本実施例1の文書処理
装置によれば、旧文書から新文書へのコメントの移し替
えを自動的に行った際に、該当するコメント付与位置が
新文書中に発見されない場合、そのコメントを別のファ
イルに保存するので、旧文書におけるコメントの不用意
な消滅を防止できる。
As described above, according to the document processing apparatus of the first embodiment, when the comment is automatically transferred from the old document to the new document, the corresponding commenting position is set in the new document. If the comment is not found, the comment is saved in another file, so that the comment in the old document can be prevented from being accidentally deleted.

【0036】<実施例2>旧文書から新文書へのコメン
トの移し替え処理において、コメント付与位置が検出さ
れたかったコメント(ドロップアウトコメント)の検出
方法として、新・旧文書用の両者のコメントファイルの
違いによりドロップアウトコメントを検出する方法も可
能である。実施例2ではその一実施例について説明す
る。
<Embodiment 2> In the process of transferring a comment from an old document to a new document, as a method of detecting a comment (dropout comment) for which a comment addition position was desired to be detected, both comments for the new and old documents are detected. It is also possible to detect dropout comments depending on the file. In the second embodiment, one example will be described.

【0037】実施例2における文書処理装置の概略構成
は、実施例1の図1と同様であり、ここではその説明は
省略することとする。また、文書ファイル、コメントフ
ァイルの構成も実施例1と同様でありその説明は省略す
る。
The schematic configuration of the document processing apparatus according to the second embodiment is similar to that of FIG. 1 of the first embodiment, and the description thereof will be omitted here. The configurations of the document file and the comment file are also the same as those in the first embodiment, and the description thereof will be omitted.

【0038】次に、実施例2の文書処理装置によるコメ
ントの移し替え処理について図10及び図11を参照し
て説明する。図10は実施例2の文書処理装置によるコ
メント移し替えの処理手順を表すフローチャートであ
る。
Next, the comment transfer processing by the document processing apparatus according to the second embodiment will be described with reference to FIGS. 10 and 11. FIG. 10 is a flowchart showing the procedure of the comment transfer processing by the document processing apparatus according to the second embodiment.

【0039】尚、ステップS1001〜ステップS10
03は、実施例1のステップS201〜ステップS20
3と同様であるので詳細な説明は省略する。また、ステ
ップS1005〜ステップS1007についても、前述
の実施例1のステップS205〜ステップS207と同
様であるので詳細な説明は省略する。
Incidentally, steps S1001 to S10
03 is step S201 to step S20 of the first embodiment.
Since it is the same as that of No. 3, detailed description will be omitted. Further, steps S1005 to S1007 are also the same as steps S205 to S207 of the first embodiment described above, and thus detailed description thereof will be omitted.

【0040】ステップS1004において、ステップS
1003における検索の結果、1つ以上の候補が候補エ
リア44に格納されているかどうかを判定し、1つ以上
の候補が格納されていればステップS1005に進む。
もし、1つも候補が検索されなかった場合は、ステップ
S1007へ進み、次のコメントに対する処理を実行す
る。
In step S1004, step S
As a result of the search in 1003, it is determined whether one or more candidates are stored in the candidate area 44, and if one or more candidates are stored, the process proceeds to step S1005.
If no candidate is found, the process proceeds to step S1007 and the process for the next comment is executed.

【0041】以上説明したように、新文書用コメントフ
ァイル54の生成時においては同等箇所の検索に失敗し
たコメント情報について何の処理も実行されない。
As described above, when the new document comment file 54 is generated, no processing is performed on the comment information for which the search for the equivalent part has failed.

【0042】次に、図10の処理で得られた新文書用コ
メントファイル54と、旧文書用コメントファイル52
の違いから、ドロップアウトコメントファイル55を作
成するための手順を、図11のフローチャートで説明す
る。図11は、実施例2の文書処理装置によるドロップ
アウトコメントファイルの生成手順を表すフローチャー
トである。
Next, the comment file 54 for the new document and the comment file 52 for the old document obtained by the processing of FIG.
From the difference, the procedure for creating the dropout comment file 55 will be described with reference to the flowchart of FIG. FIG. 11 is a flowchart illustrating a procedure for generating a dropout comment file by the document processing apparatus according to the second embodiment.

【0043】まず、ステップS1101で、旧文書用コ
メントファイル52において<content>と</
content>に囲まれた文字列(コメント内容)を
読み出し、文字列エリア43に格納する。本処理では、
図10のフローチャートによる処理で使用したエリアと
同じ格納場所を使用しているが、別なものであってもよ
い。そして、ステップS1102で新文書用コメントフ
ァイル54における<content>と</cont
ent>に囲まれた文字列の中から、文字列エリア43
と同等なものを検索する。ステップS1103では、ス
テップS1102における検索で同じ文字列があったか
どうかを判定し、あったと判定された場合はステップS
1105へ進む。
First, in step S1101, <content> and <// in the comment file 52 for the old document.
The character string (contents of the comment) surrounded by content> is read and stored in the character string area 43. In this process,
Although the same storage location as the area used in the processing according to the flowchart of FIG. 10 is used, it may be another location. Then, in step S1102, <content> and </ cont> in the comment file 54 for the new document
character string area 43 among the character strings surrounded by ent>
Search for the equivalent. In step S1103, it is determined whether or not there is the same character string in the search in step S1102. If it is determined that the same character string exists, step S1103 is performed.
Proceed to 1105.

【0044】一方、ステップS1103で同じ文字列が
無いと判定された場合、ステップS1104へ進み、ド
ロップアウトコメントファイル55に、そのコメントの
情報(旧文書用コメントファイルの中の該当する<co
mment>から</comment>までの文字列)
を書き込む。そして、ステップS1105で、旧文書用
コメントファイルのすべてのコメント情報に対して処理
を終えたかどうかを判定し、未処理のコメント情報が存
在する場合、ステップS1101に戻り上述の処理を繰
り返す。また、全コメントファイルに対する処理が終了
していれば本処理を終了する。
On the other hand, if it is determined in step S1103 that the same character string does not exist, the flow advances to step S1104 to add the comment information (corresponding to <co in the comment file for the old document to the dropout comment file 55).
character string from mmment> to </ comment>)
Write. Then, in step S1105, it is determined whether or not the processing has been completed for all the comment information of the old document comment file. If there is unprocessed comment information, the processing returns to step S1101 and the above-described processing is repeated. If all comment files have been processed, this process ends.

【0045】以上説明したように、本実施例2の文書処
理装置によれば、コメントのつけ替え処理と、ドロップ
アウトコメントの検出処理を、二つに分離できるので、
使い勝手がよい。
As described above, according to the document processing apparatus of the second embodiment, the comment replacement process and the dropout comment detection process can be separated into two.
Easy to use.

【0046】<実施例3>以下、実施例3について述べ
る。
<Third Embodiment> A third embodiment will be described below.

【0047】本実施例3では、旧文書と同等な意味を持
つ箇所が新文書から検出できなかった時に、その時の対
応するコメント(複数ある場合もある)を、つけ替えを
失敗したことを明示する符号とともに、新文書用コメン
トファイルにまとめて格納するものである。
In the third embodiment, when a portion having the same meaning as the old document cannot be detected from the new document, it is clearly indicated that the corresponding comment (there may be a plurality) at that time has failed to be replaced. Together with the code to be stored in the comment file for the new document.

【0048】本実施例3では、旧文書と同等な意味を持
つ箇所を新文書から検出する方法、元文書に対するコメ
ントの付け方は、実施例1と同様とする。また、コメン
トファイルの構成も実施例1と同じとする。
In the third embodiment, the method of detecting a portion having the same meaning as the old document from the new document and the method of adding a comment to the original document are the same as those in the first embodiment. The structure of the comment file is also the same as that in the first embodiment.

【0049】以下、本実施例3の文書処理装置につい
て、図を用いて説明する。
The document processing apparatus of the third embodiment will be described below with reference to the drawings.

【0050】図12は、実施例3の文書処理装置の概略
構成を表すブロック図である。実施例1における図1と
同一の構成には同一の参照番号を付すものとし、その説
明はここでは省略することとする。作業用メモリ4に
は、ドロップアウトコメントエリア46を備える。ドロ
ップアウトコメントエリア46はドロップアウトコメン
トの情報を一時格納する領域である。また、ファイル用
メモリ5にはドロップアウトコメントファイルは存在し
ない。
FIG. 12 is a block diagram showing the schematic arrangement of the document processing apparatus according to the third embodiment. The same configurations as those in FIG. 1 in the first embodiment are designated by the same reference numerals, and the description thereof will be omitted here. The work memory 4 has a dropout comment area 46. The dropout comment area 46 is an area for temporarily storing dropout comment information. Further, no dropout comment file exists in the file memory 5.

【0051】次に、上記構成による実施例3の文書処理
装置によるコメント移し替え処理の動作について説明す
る。図13は、実施例3の文書処理装置によるコメント
移し替え処理の手順を表すフローチャートである。
Next, the operation of the comment transfer processing by the document processing apparatus of the third embodiment having the above configuration will be described. FIG. 13 is a flowchart illustrating the procedure of the comment transfer process performed by the document processing apparatus according to the third embodiment.

【0052】図中、ステップS1301からステップS
1307は、図2におけるステップS201からステッ
プS207と同じであるので、その説明は省略すること
とし、異なるステップについて説明する。
In the figure, steps S1301 to S
Since step 1307 is the same as step S201 to step S207 in FIG. 2, description thereof will be omitted, and different steps will be described.

【0053】ステップS1304で候補がなかったと判
定された場合、ステップS1308へ進み、作業用メモ
リ4のドロップアウトコメントエリア46にそのコメン
ト情報を書きだす。そして、ステップS1307へ進
む。ステップS1307では旧文書用コメントファイル
52に格納されている全てのコメント情報についてコメ
ント移し替え処理を完了したと判定された時は、ステッ
プS1309へ進む。ステップS1309において、ド
ロップアウトコメントの内容を新文書用コメントファイ
ル54の最後に、文字列<dropout>と</dr
opout>に囲んで追加する。
If it is determined in step S1304 that there are no candidates, the flow advances to step S1308 to write the comment information in the dropout comment area 46 of the working memory 4. Then, the process proceeds to step S1307. When it is determined in step S1307 that the comment transfer processing has been completed for all the comment information stored in the old document comment file 52, the process proceeds to step S1309. In step S1309, the contents of the dropout comment are added to the end of the new document comment file 54 with the character strings <dropout> and <// dr.
surrounded by opout> and added.

【0054】図14は実施例3の文書処理装置によりコ
メント移し替え処理を実行した結果の新文書用コメント
ファイル54の内容を表す図である。これは、実施例1
で説明したものと同様に、図3に示される旧文書ファイ
ル51及び旧文書用コメントファイル52に対して、内
容の1部である「かきくけこ」を「やゆよ」に変更した
時の例である。このとき、新文書ファイル53は図7に
示されるようになる。
FIG. 14 is a diagram showing the contents of the new document comment file 54 as a result of executing the comment transfer processing by the document processing apparatus of the third embodiment. This is Example 1
Similar to the one described above, an example of changing "Kakikukeko", which is a part of the contents, to "Yayuyo" for the old document file 51 and the old document comment file 52 shown in FIG. Is. At this time, the new document file 53 becomes as shown in FIG.

【0055】以上の説明では、新文書用コメントファイ
ルの最後にドロップアウトコメントをまとめて配置する
が、新文書用コメントファイルの先頭に配置してもよい
ことはいうまでもない。また、先頭や最後にまとめて配
置せずに、ドロップアウトコメントであることを区別で
きるようにして散在させてもよい。例えば、図13のス
テップS1308において、文字列<dropout>
と</dropout>に囲んで、各ドロップアウトコ
メント情報を、新文書用コメントファイル54に書き込
むようにする。この場合は、ステップS1309の処理
は不要となる。こうすることにより、ドロップアウトコ
メントの情報は、新文書用コメントファイルの中に散在
して、文字列<dropout>と</dropout
>に囲まれて保存されることになる。あるいは、図15
に示すように、新文書用コメントファイルの位置情報の
値に、例えば、「0,0」とか「−1.−1」というよ
うな絶対にあり得ない数値を割当てることにより、ドロ
ップアウトコメントであることを明示してもよい。こう
すれば、文字列<dropout>と</dropou
t>で囲まなくても、散在するドロップアウトコメント
を区別することができる。また、ドロップアウトコメン
ト検出方法として、実施例2の方法を用いてもよい。
In the above description, the dropout comments are collectively placed at the end of the new document comment file, but it goes without saying that they may be placed at the beginning of the new document comment file. Further, instead of collectively arranging them at the beginning or the end, they may be scattered so that they can be distinguished as dropout comments. For example, in step S1308 of FIG. 13, the character string <dropout>
Each dropout comment information is written in the new document comment file 54 by enclosing it with </ dropout>. In this case, the process of step S1309 is unnecessary. By doing this, the information of the dropout comment is scattered in the comment file for the new document, and the character strings <dropout> and </ dropout
It will be saved surrounded by>. Alternatively, FIG.
As shown in, the value of the position information of the comment file for the new document is assigned with an absolutely impossible numerical value such as "0, 0" or "-1. You may specify that there is. This will give you the strings <dropout> and </ dropou
Scattered dropout comments can be distinguished without being surrounded by t>. The method of the second embodiment may be used as the dropout comment detection method.

【0056】本実施例3では、コメントのつけ替えに成
功したものと失敗したものが同一ファイル内に納められ
ているので、どちらか一方だけを紛失してしまうという
状況を避けることができ、ファイルの管理が容易になる
という効果がある。
In the third embodiment, since the comment replacement succeeded and the comment replacement failed are stored in the same file, it is possible to avoid the situation in which only one of them is lost. This has the effect of making it easier to manage.

【0057】尚、上記の各実施例では、旧文書と新文書
の同等部分の検出に文字列の完全一致を用いているがこ
れに限られるものではない。例えば、コメント付与部分
の一致文字数より類似度を求め、この類似度が所定値以
上である場合に同等部分とするという方法を使用しても
よい。
In each of the above embodiments, the exact matching of the character strings is used for detecting the equivalent portion of the old document and the new document, but the invention is not limited to this. For example, a method may be used in which the degree of similarity is calculated from the number of matching characters in the comment-added portion, and when the degree of similarity is equal to or more than a predetermined value, the similarity is determined.

【0058】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器から成る装置に適用
しても良い。また、本発明はシステム或は装置にプログ
ラムを供給することによって達成される場合にも適用で
きることは言うまでもない。
The present invention may be applied to either a system composed of a plurality of devices or an apparatus composed of a single device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus.

【0059】[0059]

【発明の効果】以上説明してきたように、本発明のコメ
ント付与方法及び文書処理装置によれば、文書間でのコ
メントの移し替えを自動的に行う際に、移し替えを実行
できなかったコメント情報を区別して保存することによ
り、コメントの移し替え時に不意にコメントを消失する
ことを防止する効果を有する。
As described above, according to the comment assigning method and the document processing apparatus of the present invention, when a comment is automatically transferred between documents, the comment cannot be transferred. By separately storing the information, it is possible to prevent the comments from being accidentally lost when the comments are transferred.

【0060】[0060]

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

【図1】実施例の文書処理装置の概略構成を表すブロッ
ク図である。
FIG. 1 is a block diagram showing a schematic configuration of a document processing apparatus according to an embodiment.

【図2】実施例のコンソールの外観を表す図である。FIG. 2 is a diagram illustrating an appearance of a console according to an embodiment.

【図3】旧文書を格納する旧文書ファイルの格納状態を
表す図である。
FIG. 3 is a diagram showing a storage state of an old document file that stores an old document.

【図4】コメントファイルにおけるコメント情報の格納
状態を表す図である。
FIG. 4 is a diagram showing a storage state of comment information in a comment file.

【図5】CRTの表示画面の表示状態を表す図である。FIG. 5 is a diagram showing a display state of a display screen of a CRT.

【図6】実施例1の文書処理装置によるコメント移し替
えの処理手順を表すフローチャートである。
FIG. 6 is a flowchart illustrating a comment transfer processing procedure performed by the document processing apparatus according to the first exemplary embodiment.

【図7】新文書ファイルの内容を表す図である。FIG. 7 is a diagram showing the contents of a new document file.

【図8】新文書用コメントファイルの内容を表す図であ
る。
FIG. 8 is a diagram showing the contents of a new document comment file.

【図9】ドロップアウトコメントファイルの内容を表す
図である。
FIG. 9 is a diagram showing the contents of a dropout comment file.

【図10】実施例2の文書処理装置によるコメント移し
替えの処理手順を表すフローチャートである。
FIG. 10 is a flowchart illustrating a comment transfer processing procedure performed by the document processing apparatus according to the second exemplary embodiment.

【図11】実施例2の文書処理装置によるドロップアウ
トコメントファイルの生成手順を表すフローチャートで
ある。
FIG. 11 is a flowchart illustrating a procedure for generating a dropout comment file by the document processing apparatus according to the second exemplary embodiment.

【図12】実施例3の文書処理装置の概略構成を表すブ
ロック図である。
FIG. 12 is a block diagram illustrating a schematic configuration of a document processing apparatus according to a third exemplary embodiment.

【図13】実施例3の文書処理装置によるコメント移し
替え処理の手順を表すフローチャートである。
FIG. 13 is a flowchart illustrating a procedure of comment transfer processing performed by the document processing apparatus according to the third exemplary embodiment.

【図14】実施例3の文書処理装置によりコメント移し
替え処理を実行した結果の新文書用コメントファイルの
内容を表す図である。
FIG. 14 is a diagram showing the contents of a new document comment file as a result of executing a comment transfer process by the document processing apparatus according to the third embodiment.

【図15】位置情報によってコメントを区別した新文書
用コメントファイルを示す図である。
FIG. 15 is a diagram showing a comment file for a new document in which comments are distinguished by position information.

【図16】従来例における画面表示例を表す図である。FIG. 16 is a diagram showing a screen display example in a conventional example.

【符号の説明】[Explanation of symbols]

1 コンソール 2 CPU 3 ROM 4 作業用メモリ 5 ファイル用メモリ 6 計算機バス 41 位置情報エリア 42 コメント内容エリア 43 文字列エリア 44 候補エリア 45 新位置情報エリア 51 旧文書ファイル 52 旧文書用コメントファイル 53 新文書ファイル 54 新文書用コメントファイル 55 ドロップアウトコメントファイル 1 Console 2 CPU 3 ROM 4 Working Memory 5 File Memory 6 Computer Bus 41 Position Information Area 42 Comment Content Area 43 Comment Area 43 Character Area 44 Candidate Area 45 New Position Information Area 51 Old Document File 52 Old Document Comment File 53 New Document File 54 Comment file for new document 55 Dropout comment file

───────────────────────────────────────────────────── フロントページの続き (72)発明者 山川 正 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Tadashi Yamakawa 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 文書に対してコメントを付与する機能を
有する文書処理装置において、 第1の文書に対するコメント内容とコメント付与位置情
報とを対応させてなる第1のコメント情報を記憶する記
憶手段と、 前記コメント付与位置情報に基づく前記第1の文書のコ
メント付与部分と同等部分であると評価される部分を第
2の文書より検索する同等部分検索手段と、 前記同等部分検索手段により検索された前記第2の文書
の同等部分の位置を前記コメント内容に対するコメント
付与位置情報とする第2のコメント情報を格納する第1
の格納手段と、 前記第1のコメント情報のうち前記同等部分検索手段に
より前記第2の文書中に同等部分が検索されなかったコ
メント情報を区別して格納する第2の格納手段と、 を備えることを特徴とする文書処理装置。
1. A document processing apparatus having a function of adding a comment to a document, and a storage unit that stores first comment information in which the comment content of the first document is associated with the comment addition position information. , An equivalent part search means for searching the second document for a part evaluated to be the same part as the comment added part of the first document based on the comment addition position information, and the equivalent part search part First position for storing second comment information in which the position of the equivalent portion of the second document is used as comment addition position information for the comment content
Storage means and second storage means for separately storing the comment information in which the equivalent portion of the first comment information is not retrieved by the equivalent portion retrieval means in the second document. A document processing device characterized by:
【請求項2】 前記第2の格納手段は、前記第1の格納
手段により格納された前記第2のコメント情報と前記記
憶手段に記憶されている前記第1のコメント情報とを比
較し、前記記憶手段のみに存在するコメント情報を抽出
し、抽出されたコメント情報を区別して格納することを
特徴とする請求項1に記載の文書処理装置。
2. The second storage means compares the second comment information stored by the first storage means with the first comment information stored in the storage means, 2. The document processing apparatus according to claim 1, wherein comment information existing only in the storage unit is extracted, and the extracted comment information is stored separately.
【請求項3】 前記第1の格納手段は、前記同等部分検
索手段により検索された前記第2の文書の同等部分の位
置情報を前記コメント内容に対するコメント付与位置情
報として構成された第2のコメント情報を所定のコメン
トファイルに格納し、 前記第2の格納手段は、前記第1のコメント情報のうち
前記同等部分検索手段により前記第2の文書中に同等部
分が検索されなかったコメント情報を前記所定のコメン
トファイルに区別して格納することを特徴とする請求項
1に記載の文書処理装置。
3. The second comment, wherein the first storage unit is configured to use position information of the equivalent part of the second document searched by the equivalent part search unit as comment addition position information for the comment content. Information is stored in a predetermined comment file, and the second storage unit stores the comment information in which the equivalent portion of the first comment information is not retrieved by the equivalent portion retrieval unit in the second document. The document processing apparatus according to claim 1, wherein the document files are separately stored in a predetermined comment file.
【請求項4】 情報処理装置などにおいて文書に対して
コメントを付与するためのコメント付与方法において、 第1の文書に対するコメント内容とコメント付与位置情
報とを対応させてなる第1のコメント情報を記憶する記
憶行程と、 前記コメント付与位置情報に基づく前記第1の文書のコ
メント付与部分と同等部分であると評価される部分を第
2の文書より検索する同等部分検索行程と、 前記同等部分検索行程により検索された前記第2の文書
の同等部分の位置を前記コメント内容に対するコメント
付与位置情報とする第2のコメント情報を格納する第1
の格納行程と、 前記第1のコメント情報のうち前記同等部分検索行程に
より前記第2の文書中に同等部分が検索されなかったコ
メント情報を区別して格納する第2の格納行程と、 を備えることを特徴とするコメント付与方法。
4. A comment giving method for giving a comment to a document in an information processing device or the like, wherein first comment information in which comment contents for the first document and comment giving position information are associated with each other is stored. A storing process, an equivalent part searching process for searching a second document for a part evaluated to be equivalent to the comment adding part of the first document based on the comment adding position information, and the equivalent part searching process. Storing the second comment information in which the position of the equivalent portion of the second document searched by is used as the comment-added position information for the comment content.
And a second storage step of separately storing the comment information in which the equivalent portion of the first comment information is not retrieved in the second document by the equivalent portion retrieval step. A commenting method characterized by.
【請求項5】 前記第2の格納行程は、前記第1の格納
行程により格納された前記第2のコメント情報と前記記
憶行程に記憶されている前記第1のコメント情報とを比
較し、前記記憶行程のみに存在するコメント情報を抽出
し、抽出されたコメント情報を区別して格納することを
特徴とする請求項4に記載のコメント付与方法。
5. The second storage step compares the second comment information stored by the first storage step with the first comment information stored in the storage step, 5. The comment giving method according to claim 4, wherein comment information existing only in the storage process is extracted and the extracted comment information is stored separately.
【請求項6】 前記第1の格納行程は、前記同等部分検
索行程により検索された前記第2の文書の同等部分の位
置情報を前記コメント内容に対するコメント付与位置情
報として構成された第2のコメント情報を所定のコメン
トファイルに格納し、 前記第2の格納行程は、前記第1のコメント情報のうち
前記同等部分検索行程により前記第2の文書中に同等部
分が検出されなかったコメント情報を前記所定のコメン
トファイルに区別して格納することを特徴とする請求項
4に記載のコメント付与方法。
6. The second comment in which the first storing process is configured by using position information of the equivalent part of the second document searched by the equivalent part searching process as comment addition position information for the comment content. Information is stored in a predetermined comment file, and the second storage step includes the comment information in which no equivalent portion is detected in the second document by the equivalent portion search step of the first comment information. The comment giving method according to claim 4, wherein the comment is stored separately in a predetermined comment file.
JP16278293A 1993-06-30 1993-06-30 Comment giving method and document processing device Expired - Fee Related JP3166996B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP16278293A JP3166996B2 (en) 1993-06-30 1993-06-30 Comment giving method and document processing device
DE69426714T DE69426714T2 (en) 1993-06-30 1994-06-29 Document processing method and device
EP94304736A EP0633539B1 (en) 1993-06-30 1994-06-29 Document processing method and apparatus
US08/734,308 US6438566B1 (en) 1993-06-30 1996-10-21 Document processing method and apparatus which can add comment data added to an original document to a revised document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16278293A JP3166996B2 (en) 1993-06-30 1993-06-30 Comment giving method and document processing device

Publications (2)

Publication Number Publication Date
JPH0778139A true JPH0778139A (en) 1995-03-20
JP3166996B2 JP3166996B2 (en) 2001-05-14

Family

ID=15761111

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16278293A Expired - Fee Related JP3166996B2 (en) 1993-06-30 1993-06-30 Comment giving method and document processing device

Country Status (1)

Country Link
JP (1) JP3166996B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100642906B1 (en) * 2004-04-19 2006-11-03 미츠비시덴키 가부시키가이샤 Programming device
JP2010522935A (en) * 2007-03-29 2010-07-08 アマゾン テクノロジーズ インコーポレイテッド Providing annotations about digital works
US9665529B1 (en) 2007-03-29 2017-05-30 Amazon Technologies, Inc. Relative progress and event indicators
US9672533B1 (en) 2006-09-29 2017-06-06 Amazon Technologies, Inc. Acquisition of an item based on a catalog presentation of items
US9888005B1 (en) 2007-05-21 2018-02-06 Amazon Technologies, Inc. Delivery of items for consumption by a user device
CN111325007A (en) * 2020-01-22 2020-06-23 福建天泉教育科技有限公司 Comment analyzing method and terminal for PPTX file

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100642906B1 (en) * 2004-04-19 2006-11-03 미츠비시덴키 가부시키가이샤 Programming device
US10853560B2 (en) 2005-01-19 2020-12-01 Amazon Technologies, Inc. Providing annotations of a digital work
US9672533B1 (en) 2006-09-29 2017-06-06 Amazon Technologies, Inc. Acquisition of an item based on a catalog presentation of items
JP2010522935A (en) * 2007-03-29 2010-07-08 アマゾン テクノロジーズ インコーポレイテッド Providing annotations about digital works
US9665529B1 (en) 2007-03-29 2017-05-30 Amazon Technologies, Inc. Relative progress and event indicators
US9888005B1 (en) 2007-05-21 2018-02-06 Amazon Technologies, Inc. Delivery of items for consumption by a user device
CN111325007A (en) * 2020-01-22 2020-06-23 福建天泉教育科技有限公司 Comment analyzing method and terminal for PPTX file
CN111325007B (en) * 2020-01-22 2022-10-21 福建天泉教育科技有限公司 Comment analysis method and terminal for PPTX file

Also Published As

Publication number Publication date
JP3166996B2 (en) 2001-05-14

Similar Documents

Publication Publication Date Title
US8528103B2 (en) System for managing display and retrieval of image content on a network with image identification and linking to network content
US10228850B2 (en) Preview window including a storage context view of one or more computer resources
US8359550B2 (en) Method for dynamically generating a “table of contents” view of the HTML-based information system
US6546365B1 (en) System for national language support and automated translation table
US20020138476A1 (en) Document managing apparatus
US7424669B2 (en) Automatic bibliographical information within electronic documents
US5982365A (en) System and methods for interactively generating and testing help systems
US11361035B2 (en) Batch generation of links to documents based on document name and page content matching
US9613089B2 (en) Form template refactoring
JP3166996B2 (en) Comment giving method and document processing device
CN106489110B (en) Graphical user interface control method for non-hierarchical file system
JP6416487B2 (en) Document management system and document management method
JPH0778138A (en) Method for appending comment and document processor
JP3737629B2 (en) Document editing system, method, and recording medium
US7613709B2 (en) System and method for editing operations of a text object model
JP3166995B2 (en) Comment giving method and document processing device
US20020169780A1 (en) Method and data processing system for providing disaster recovery file synchronization
JP2005276159A (en) Device for creating circuit drawing display data, its program, and method for creating circuit drawing display data
JP2995718B2 (en) Document history management device
JP3444620B2 (en) Filing system equipment
JP3193249B2 (en) Keyword search method
JP2888458B2 (en) File storage device
JP2864418B2 (en) Document processing device
ATE308078T2 (en) FUNCTION KEY FOR COMPUTER DATA PROCESSING
JP6371090B2 (en) Document file management system and document file management method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010129

LAPS Cancellation because of no payment of annual fees