JPH0778147A - Document processing method - Google Patents

Document processing method

Info

Publication number
JPH0778147A
JPH0778147A JP5223028A JP22302893A JPH0778147A JP H0778147 A JPH0778147 A JP H0778147A JP 5223028 A JP5223028 A JP 5223028A JP 22302893 A JP22302893 A JP 22302893A JP H0778147 A JPH0778147 A JP H0778147A
Authority
JP
Japan
Prior art keywords
document
file
database
index
database file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5223028A
Other languages
Japanese (ja)
Inventor
Takumi Hatanaka
卓己 畑中
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.)
Hitachi Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
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 Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP5223028A priority Critical patent/JPH0778147A/en
Publication of JPH0778147A publication Critical patent/JPH0778147A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently prepare or correct sentences having correlation between document or words by reflecting the changed contents of either one of document file and a database file to the other. CONSTITUTION:A document file 21 and a document file index 22 in a storage device 2 are prepared in one-to-one correspondance and a database file 23 and a database file index 24 are similarly prepared in one-to-one correspondance. Since the position of the file 21 is specified in the case of inputting a document from the file 23, the items of the index 22 are added and relation with the already prepared index 24 is automatically executed. Simultaneously with the opening of the file 23, a table calculation program is started. Thereby tabulation can be automatically recalculated only by changing a part of all of values of the contents of a table.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ワードプロセッサ、パ
ーソナルコンピュータおよびワークステーションなどで
作成される文書処理方法に関し、特に、文章や単語、項
目間に相関関係を設定して処理する文書処理方法に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing method created by a word processor, a personal computer, a workstation or the like, and more particularly to a document processing method for setting a correlation between sentences, words, and items for processing. Is.

【0002】[0002]

【従来の技術】ワードプロセッサ(以下、WPという)
などで作成された文書データは、文字サイズや文字飾り
などの情報を除けば、単なるテキスト情報であり、流
用、再利用する場合は、文書データの複写によって行わ
れる。
2. Description of the Related Art Word processor (hereinafter referred to as WP)
The document data created by, for example, is simply text information except for information such as character size and character decoration, and is reused or reused by copying the document data.

【0003】この場合、文書データを複写または流用し
た後に、元の文書データが修正されたとしても、流用先
文書までは自動的に変更されないため、必要に応じて流
用先で個別に修正を行うことになる。
In this case, even if the original document data is modified after copying or diverting the document data, the diversion destination document is not automatically changed. Therefore, the diversion destination is individually corrected as necessary. It will be.

【0004】また、単なる複写による流用ではなく、数
字データの加工結果を利用した場合に、元の数字データ
が変更された時も同様であり、文書中の数字を変更し、
再計算した上で利用することになる。
The same applies when the original numerical data is changed when the processed result of the numerical data is used instead of mere diversion.
It will be used after recalculating.

【0005】[0005]

【発明が解決しようとする課題】ところで、文書作成中
に章や節の追加・削除があって、項番にずれが生じた場
合、あるいは流用元の単語が変更された場合には、項番
のずれを自動的に補正し、また変更された単語を流用先
まで自動的に変更することにより、文書の作成効率が向
上する。
If a chapter or section is added or deleted during document creation and the item numbers are misaligned, or if the source word is changed, the item numbers will be changed. By automatically correcting the deviation of the word and automatically changing the changed word to the diversion destination, the document creation efficiency is improved.

【0006】しかしながら、従来のWPで作成された文
書データは、入力されたままの情報であり、文章や単語
間に相関関係を持っていない。このため、上記のように
章や節の追加・削除があって項番にずれが生じた場合な
どにあっては、変更箇所以降の項番を振り直さなければ
ならず、文書の作成効率が悪いという問題がある。
However, the document data created by the conventional WP is the information as it is input and has no correlation between sentences and words. Therefore, if there is a gap in the item numbers due to the addition or deletion of chapters or sections as described above, you need to renumber the item numbers after the changed part, and the efficiency of document creation will be improved. There is a problem of being bad.

【0007】本発明の目的は、文章や単語間に相関関係
を持つ文書を効率良く作成したり、修正することができ
る文書データ処理方法を提供することにある。
An object of the present invention is to provide a document data processing method capable of efficiently creating or modifying a document having a correlation between sentences and words.

【0008】[0008]

【課題を解決するための手段】前記課題を解決するため
に、本発明は、文書データの項目単位にデータベース属
性を設定し、文書データは文書ファイルに格納し、デー
タベース属性はデータベースファイルに格納したうえ、
文書ファイルおよびデータベースファイルを、文書ファ
イルインデックスおよびデータベースファイルインデッ
クスによって相互に関連付け、文書ファイルおよびデー
タベースファイルの一方の変更内容を他方に反映するよ
うにしたものである。
In order to solve the above problems, the present invention sets a database attribute for each item of document data, stores the document data in a document file, and stores the database attribute in the database file. above,
The document file and the database file are associated with each other by the document file index and the database file index, and the change contents of one of the document file and the database file are reflected in the other.

【0009】[0009]

【作用】前記手段によれば、文書ファイルおよびデータ
ベースファイルは、文書ファイルインデックスおよびデ
ータベースファイルインデックスによって相互に関連付
けられる。そこで、文書ファイルおよびデータベースフ
ァイルの一方に変更があった場合は、その内容が他方に
自動的に反映される。
According to the above means, the document file and the database file are associated with each other by the document file index and the database file index. Therefore, when there is a change in one of the document file and the database file, the content is automatically reflected in the other.

【0010】従って、文章や単語間に相関関係を持つ文
書を効率良く作成したり、修正することができる。
Therefore, it is possible to efficiently create or modify a document having a correlation between sentences or words.

【0011】[0011]

【実施例】以下、本発明の実施例を図面を用いて詳細に
説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0012】図1は本発明の一実施例の全体を示すブロ
ック構成図であり、文書データを処理する中央処理装置
(以下、CPUという)1、種々のファイルを格納する
記憶装置2、キーボード3とマウス4および表示部5か
ら成る入出力装置7、プリンタ6とで構成されている。
FIG. 1 is a block diagram showing an entire embodiment of the present invention. A central processing unit (hereinafter referred to as CPU) 1 for processing document data, a storage device 2 for storing various files, and a keyboard 3 are provided. And an input / output device 7 including a mouse 4 and a display unit 5, and a printer 6.

【0013】記憶装置2には、文書ファイル21、文書
ファイルインデックス22、データベースファイル23
およびデータベースファイルインデックス24が格納さ
れている。
The storage device 2 has a document file 21, a document file index 22, and a database file 23.
The database file index 24 is stored.

【0014】図2は、文書ファイル21とデータベース
ファイル23の関連付けを示す説明図である。
FIG. 2 is an explanatory diagram showing the association between the document file 21 and the database file 23.

【0015】図2において、25はWP等で作成された
文書であり、26、27は文書内25の文章あるいは項
目である。
In FIG. 2, 25 is a document created by WP or the like, and 26 and 27 are sentences or items in the document 25.

【0016】28は文書ファイルインデックス22内の
内容であり、文書内の関連付けを行う文章あるいは項目
に対する番号としての項番281、関連付け先のデータ
ベースファイル名282、文書内の位置を示す列283
および行284、文書内における項番1の先頭位置を示
す文書ファイル位置285により構成されている。
Reference numeral 28 denotes the contents in the document file index 22, which is an item number 281 as a number for a sentence or item to be associated in the document, a database file name 282 of the association destination, and a column 283 indicating a position in the document.
And a line 284, and a document file position 285 indicating the start position of item number 1 in the document.

【0017】例えば、文書25内の1行目の先頭から1
00バイト目から項番1の文章(この例の場合は「名
前」)が始まっているとすると、この文書ファイルイン
デックス22内の文書ファイル位置285の欄に、先頭
から100バイト目から項番1の項目が始まっていると
いう情報が書き込まれる。
For example, 1 from the beginning of the first line in the document 25
If the sentence of item number 1 (“name” in this example) starts from the 00th byte, the item number 1 from the 100th byte from the beginning in the column of the document file position 285 in this document file index 22. The information that the item is started is written.

【0018】29はデータベースファイル23内の内容
であり、文書25内の項番1と関連付けされるデータベ
ースファイル23内の名称A292、B293、C29
4などから構成されている。
Reference numeral 29 denotes the contents in the database file 23, and the names A292, B293, C29 in the database file 23 associated with the item number 1 in the document 25.
It is composed of 4 etc.

【0019】30はデータベースファイルインデックス
24内の内容である。文書25内の関連付けを行う項目
の列283および行284と、文書ファイル名301、
文書ファイルインデックス項番302から構成されてい
る。
Reference numeral 30 represents the contents in the database file index 24. A column 283 and a row 284 of items to be associated in the document 25, a document file name 301,
It is composed of a document file index item number 302.

【0020】図2において、文書ファイル21と文書フ
ァイルインデックス22は、1対1に作成され、同様
に、データベースファイル23とデータベースファイル
インデックス24も1対1に作成される。ただし、文書
ファイル21とデータベースファイル28は、1対1で
なくてもよく、1対多、多対1あるいは多対多でもよ
い。
In FIG. 2, the document file 21 and the document file index 22 are created one-to-one, and similarly, the database file 23 and the database file index 24 are also created one-to-one. However, the document file 21 and the database file 28 need not be one-to-one, and may be one-to-many, many-to-one, or many-to-many.

【0021】このことは、例えば、図2において、デー
タベース属性として文書25内の項番1の名前を選択し
たとすると、他の文書として住所録あるいは名簿などが
関連文書として関連付けられることを意味している。
This means that, for example, if the name of item number 1 in the document 25 is selected as the database attribute in FIG. 2, an address list or a name list is associated as another document as a related document. ing.

【0022】図3は文書入力後にデータベース属性を変
更する場合の処理の流れを示したものである。
FIG. 3 shows the flow of processing when the database attributes are changed after the document is input.

【0023】図3において、まず、文書入力画面31に
おいて、関連付けを行いたい項目32(図中では、例え
ば電話番号とする)をキーボード3またはマウス4で選
択する(ステップ311)。次に、画面内に表示されて
いるデータベース属性設定部33を選択すると(ステッ
プ312)、データベース属性設定画面34がウィンド
ウとして表れるので、ウィンドウ34内の所定位置に項
目単位に、項目名称、項目の名称、タイプ(テキスト、
数値、日付、項番、図番、表番)、長さ(例えば、文字
の数)および従属情報などのデータベース属性を設定す
る(ステップ313)。
In FIG. 3, first, on the document input screen 31, an item 32 (for example, a telephone number in the figure) to be associated is selected with the keyboard 3 or the mouse 4 (step 311). Next, when the database attribute setting section 33 displayed on the screen is selected (step 312), the database attribute setting screen 34 appears as a window, so that the item name and the item Name, type (text,
Database attributes such as numerical value, date, item number, drawing number, table number), length (for example, number of characters), and subordinate information are set (step 313).

【0024】設定されたデータベース属性は、データベ
ースファイル23に格納される。
The set database attributes are stored in the database file 23.

【0025】このとき、文書ファイルインデックス22
にデータベースファイル名称(データベース属性設定で
従属情報として設定された内容)とデータベースファイ
ル23内の位置情報も同時に設定される。
At this time, the document file index 22
The database file name (contents set as dependent information in the database attribute setting) and the position information in the database file 23 are also set at the same time.

【0026】また、データベースファイルインデックス
24側にも、文書ファイル名301として文書ファイル
21内の内容が設定される。
The contents of the document file 21 are also set as the document file name 301 on the database file index 24 side.

【0027】また、この画面で変更された内容は、引用
元である文書ファイル21内の関連する内容にも自動的
に反映されて更新される。
Further, the contents changed on this screen are automatically reflected and updated in the related contents in the document file 21 which is the citation source.

【0028】図4はデータベースファイル23から文書
データの変更を行う場合の処理の流れを示したものであ
る。
FIG. 4 shows the flow of processing when the document data is changed from the database file 23.

【0029】図4において、41はデータベースファイ
ル23の内容を選択するための選択メニューであるファ
イル(F)、42はデータベースファイル23の内容を
表示した画面である。
In FIG. 4, 41 is a file (F) which is a selection menu for selecting the contents of the database file 23, and 42 is a screen displaying the contents of the database file 23.

【0030】図4において、まず、画面上の選択メニュ
ーであるファイル(F)41を選択すると、データベー
スファイル23の内容42読み出され、画面表示される
(ステップ401)。そこで、変更する項目名称を選択
した後、データを入力する(ステップ402)。
In FIG. 4, first, when the file (F) 41, which is a selection menu on the screen, is selected, the contents 42 of the database file 23 are read out and displayed on the screen (step 401). Therefore, after selecting the item name to be changed, the data is input (step 402).

【0031】すると、対応する文書ファイル21が読み
込まれ、その変更位置が指示される(ステップ403,
404)。
Then, the corresponding document file 21 is read and the changed position is designated (step 403,
404).

【0032】このように、データベースファイル23か
ら文書入力を行う場合は、画面より文書ファイル21の
位置が指示されるので、文書ファイルインデックス22
の項が追加され、既にあるデータベースファイルインデ
ックス24との関連付けが自動的に行われる。
As described above, when a document is input from the database file 23, the position of the document file 21 is designated on the screen, so the document file index 22
Is added, and association with the existing database file index 24 is automatically performed.

【0033】また、ステップ401でデータベースファ
イル23をオープンすると同時に、表計算プログラムが
起動されるので、例えば、作成された文書が集計表など
の数値データであって、しかも表内の数値の一部あるい
は全てを変更して利用する場合、表内の一部あるいは全
ての数値を変更するだけで、集計表の再計算が自動的に
行われる。
Further, since the spreadsheet program is started at the same time when the database file 23 is opened in step 401, for example, the created document is numerical data such as a tabulation table and a part of the numerical values in the table. Alternatively, if all of them are changed and used, just changing some or all of the numerical values in the table automatically recalculates the summary table.

【0034】以上のように、文書入力画面あるいは作成
された文書のデータベースファイル画面双方から、必要
な変更データを入力することができ、画面上の変更内容
により、引用元の文書ファイル内の関連する内容も自動
的に変更されることになる。
As described above, it is possible to input necessary change data from both the document input screen and the database file screen of the created document. The content will also be changed automatically.

【0035】[0035]

【発明の効果】以上説明したように、本発明によれば、
文書データの項目単位にデータベース属性を設定し、文
書データは文書ファイルに格納し、データベース属性は
データベースファイルに格納したうえ、文書ファイルお
よびデータベースファイルを、文書ファイルインデック
スおよびデータベースファイルインデックスによって相
互に関連付け、文書ファイルおよびデータベースファイ
ルの一方の変更内容を他方に反映するようにしたので、
文章や単語間に相関関係を持つ文書を効率良く作成した
り、修正することができる。
As described above, according to the present invention,
Database attributes are set for each item of document data, document data is stored in a document file, database attributes are stored in a database file, and document files and database files are associated with each other by a document file index and a database file index. Since the change contents of one of the document file and the database file are reflected in the other,
It is possible to efficiently create or modify a document having a correlation between sentences and words.

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

【図1】本発明の一実施例を示すブロック構成図であ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】文書データとデータベースファイルを関連付け
するためのファイル構造の説明図である。
FIG. 2 is an explanatory diagram of a file structure for associating document data with a database file.

【図3】データベース属性を設定する場合のフロー図で
ある。
FIG. 3 is a flowchart for setting a database attribute.

【図4】データベースファイル画面で文書データを修正
する場合のフロー図である。
FIG. 4 is a flow chart for correcting document data on a database file screen.

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

1…中央処理装置(CPU)、2…記憶装置、3…キー
ボード、4…マウス、5…表示部、6…プリンタ、21
…文書ファイル、22…文書ファイルインデックス、2
3…データベースファイル、24…データベースファイ
ルインデックス。
DESCRIPTION OF SYMBOLS 1 ... Central processing unit (CPU), 2 ... Storage device, 3 ... Keyboard, 4 ... Mouse, 5 ... Display part, 6 ... Printer, 21
… Document file, 22… Document file index, 2
3 ... database file, 24 ... database file index.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文書データの項目単位にデータベース属
性を設定し、文書データは文書ファイルに格納し、デー
タベース属性はデータベースファイルに格納したうえ、
文書ファイルおよびデータベースファイルを、文書ファ
イルインデックスおよびデータベースファイルインデッ
クスによって相互に関連付け、文書ファイルおよびデー
タベースファイルの一方の変更内容を他方に反映するこ
とを特徴とする文書処理方法。
1. A database attribute is set for each item of document data, the document data is stored in a document file, and the database attribute is stored in a database file.
A document processing method characterized in that a document file and a database file are associated with each other by a document file index and a database file index, and changes in one of the document file and the database file are reflected in the other.
JP5223028A 1993-09-08 1993-09-08 Document processing method Pending JPH0778147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5223028A JPH0778147A (en) 1993-09-08 1993-09-08 Document processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5223028A JPH0778147A (en) 1993-09-08 1993-09-08 Document processing method

Publications (1)

Publication Number Publication Date
JPH0778147A true JPH0778147A (en) 1995-03-20

Family

ID=16791714

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5223028A Pending JPH0778147A (en) 1993-09-08 1993-09-08 Document processing method

Country Status (1)

Country Link
JP (1) JPH0778147A (en)

Similar Documents

Publication Publication Date Title
JPS6017522A (en) Document forming device
JPWO2005098663A1 (en) Information management device
JPH0363771B2 (en)
JPH069045B2 (en) Word processor
JPH08221417A (en) New/old comparing editing device for structured document
JPWO2005098698A1 (en) Document processing device
JPH0778147A (en) Document processing method
JPS62284460A (en) Document formation supporting device
JPH10301933A (en) Document processor, its method and recording medium
JPH0612548B2 (en) Document processor
JP2004013416A (en) Apparatus and method for document processing
JPS62284457A (en) Document formation supporting device
JP2655900B2 (en) Character processor
JPH08166950A (en) Document editing device
JPH03188556A (en) Automatic document preparing system
JP3047400B2 (en) Data processing device
JP2001022624A (en) File managing device and storage medium stored with file managing processing program
JPH0883279A (en) Electronic document preparation device
JP2003308207A (en) Program specifications preparation system
JPH05314174A (en) Document preparing method and device therefor
JPH06214986A (en) Document preparing device
JPH03225464A (en) Document managing system
JPH0916562A (en) Comment sentence setting method and document preparing device
JPH06187341A (en) Document processor
JPH04270464A (en) Interactive dynamic document preparing system