JPH05314127A - External reference system for document data - Google Patents

External reference system for document data

Info

Publication number
JPH05314127A
JPH05314127A JP4120765A JP12076592A JPH05314127A JP H05314127 A JPH05314127 A JP H05314127A JP 4120765 A JP4120765 A JP 4120765A JP 12076592 A JP12076592 A JP 12076592A JP H05314127 A JPH05314127 A JP H05314127A
Authority
JP
Japan
Prior art keywords
external reference
document
data
variable
external
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
JP4120765A
Other languages
Japanese (ja)
Inventor
Taisuke Imamura
泰介 今村
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP4120765A priority Critical patent/JPH05314127A/en
Publication of JPH05314127A publication Critical patent/JPH05314127A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【目的】 文書処理装置において、1文書内あるいは複
数文書に渡って共通データが存在する場合でも、個々の
共通データの検索操作を行なう必要なく、該共通データ
の内容を自動的に更新することを目的とする。 【構成】 文書編集バッファ13に展開される文書デー
タに対し、書込むべきデータのキー情報を記述した外部
参照ブロックを書込むと共に、このキー情報に対応する
実データを記録した外部参照変数リストを同一文書ファ
イル20内で管理すると共に、外部変数データベース2
1に対し上記実データの最新情報を持たせ、文書ファイ
ル20からの文書データ読出しの際には、対応する外部
参照変数リスト内の被参照実データが上記外部変数デー
タベース21に基づき更新され、文書データ中の外部参
照ブロック部分に対応してそのキー情報に対応する実デ
ータが置換されてディスプレイ18やプリンタ19に出
力される構成とする。
(57) [Abstract] [Purpose] Even if common data exists in one document or across a plurality of documents in a document processing device, the contents of the common data can be automatically analyzed without performing a search operation for each common data. The purpose is to update. [Structure] An external reference block describing key information of data to be written is written to the document data expanded in the document edit buffer 13, and an external reference variable list recording actual data corresponding to the key information is written. The external variable database 2 is managed in the same document file 20.
1 has the latest information of the actual data, and when the document data is read from the document file 20, the referenced actual data in the corresponding external reference variable list is updated based on the external variable database 21, The actual data corresponding to the key information corresponding to the external reference block portion in the data is replaced and output to the display 18 or the printer 19.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、パーソナルコンピュー
タ等のデータ処理装置を使用して文書作成,編集処理を
行なう際に、複数文書間の共通項目を外部データを参照
して管理する文書データの外部参照方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document data management system for managing common items between a plurality of documents by referring to external data when a document is created and edited using a data processing device such as a personal computer. Regarding external reference method.

【0002】[0002]

【従来の技術】例えば新年度版の製品カタログを作成す
る場合に、その文書フォーマットを旧年度版と同一にし
て価格部分のみ新価格に変更にするには、価格を示す数
値部分のみを個々に書替えるか、あるいは同一文字列の
検索機能等を利用して、価格表示の変更を行なってい
る。
2. Description of the Related Art For example, when creating a product catalog for a new year version, in order to change the document format to the same price as the old year version and change only the price part to the new price, only the numerical part indicating the price is individually changed. The price display is changed by rewriting or using the search function of the same character string.

【0003】ここで、例えば同一の製品が掲載された複
数のカタログの全てに対し新価格を反映させたい場合、
上記のような人為的価格書替え作業をその全てのカタロ
グ文書に対して行なわなければならない。
Here, for example, when it is desired to reflect the new price in all of a plurality of catalogs in which the same product is posted,
The above artificial price rewriting work must be performed on all the catalog documents.

【0004】[0004]

【発明が解決しようとする課題】すなわち、1文書内あ
るいは複数文書に渡って存在する共通のデータを新たな
共通データに変更したい場合、その個々のデータ位置を
検索して書替えを行なうのは非常に面倒であり、また、
自動検索機能を利用しても、1文書毎に自動検索ための
操作を行なう必要がある。
That is, when it is desired to change common data existing in one document or in a plurality of documents to new common data, it is extremely difficult to search the individual data positions for rewriting. Troublesome, and also
Even if the automatic search function is used, it is necessary to perform an automatic search operation for each document.

【0005】本発明は上記課題に鑑みなされたもので、
1文書内あるいは複数文書に渡って共通データが存在す
る場合でも、個々の共通データの検索操作を行なう必要
なく、該共通データの内容を自動的に更新することが可
能になる文書データの外部参照方式を提供することを目
的とする。
The present invention has been made in view of the above problems,
Even if common data exists in one document or across multiple documents, it is possible to automatically update the contents of the common data without having to perform a search operation for each common data. The purpose is to provide a scheme.

【0006】[0006]

【課題を解決するための手段】すなわち、本発明に係わ
る文書データの外部参照方式は、編集される文書データ
文字列に対し予め書込むべきデータのキー情報を記述し
た外部参照ブロックを書込む外部参照ブロック設定手段
と、この設定手段により設定された外部参照ブロックの
キー情報に対応する実データを記録した外部参照変数リ
ストと、この外部参照変数リストを上記外部参照ブロッ
クの設定された文書データと対応付けて記憶管理する文
書ファイル手段と、上記外部参照変数リストに記録され
る実データの最新情報を有する外部変数データベース
と、上記ファイル手段から文書データを読出した際に、
該読出し文書データに対応する外部参照変数リスト内の
実データを上記外部変数データベースに基づき更新する
外部参照リスト更新手段と、上記ファイル手段から読出
した文書データ中の外部参照ブロック部分に対応して該
ブロック中のキー情報に対応する上記外部参照変数リス
ト内の実データを置換する外部参照置換手段と、この置
換手段によりデータ置換処理された文書データを出力す
る文書出力手段とを備えて構成したものである。
That is, the external reference method of document data according to the present invention is an external reference block for writing key information of data to be written in advance for an edited document data character string. Reference block setting means, an external reference variable list recording the actual data corresponding to the key information of the external reference block set by this setting means, and this external reference variable list with the document data in which the external reference block is set. Document file means for storing and managing in association with each other, external variable database having the latest information of actual data recorded in the external reference variable list, and when reading the document data from the file means,
The external reference list updating means for updating the actual data in the external reference variable list corresponding to the read document data based on the external variable database, and the external reference block portion in the document data read from the file means in correspondence with the external reference block portion. An external reference replacement means for replacing the actual data in the external reference variable list corresponding to the key information in the block, and a document output means for outputting the document data subjected to the data replacement processing by the replacement means. Is.

【0007】[0007]

【作用】つまり、予め文書ファイル手段に保存された文
書データを指定して表示または印刷する際には、その指
定文書データに対応する外部参照変数リストにおける全
ての被参照実データが、外部変数データベースに基づき
最新のデータ内容に更新され、文書文字列中の外部参照
ブロック部分に対応して置換されて表示または印刷出力
されるので、例えば予め保存された旧年版の製品カタロ
グの価格記載部分に最新の価格が自動的に反映されるよ
うになる。
That is, when the document data stored in advance in the document file means is designated and displayed or printed, all the referenced actual data in the external reference variable list corresponding to the designated document data are stored in the external variable database. It is updated to the latest data content based on the above and is replaced or displayed or printed out in correspondence with the external reference block part in the document character string. The price will be automatically reflected.

【0008】[0008]

【実施例】以下図面により本発明の一実施例について説
明する。図1は文書データの外部参照方式を備えた文書
処理装置の構成を示すもので、この文書処理装置にはC
PU(中央処理装置)11が備えられる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows the configuration of a document processing apparatus provided with an external reference system for document data.
A PU (Central Processing Unit) 11 is provided.

【0009】このCPU11は、制御部12及び文書編
集バッファ13、そして、文書編集プログラムエリア1
4、外部変数通知プログラムエリア15を有し、本文書
処理装置の動作制御を行なうもので、制御部12には、
キーボード16、マウス17、ディスプレイ18、プリ
ンタ19の他、文書ファイルメモリ20、及び外部変数
データベースメモリ21が接続される。
The CPU 11 includes a control unit 12, a document edit buffer 13, and a document edit program area 1
4. The external variable notification program area 15 is provided to control the operation of the document processing apparatus.
A keyboard 16, a mouse 17, a display 18, a printer 19, a document file memory 20, and an external variable database memory 21 are connected.

【0010】文書編集バッファ13は、現時点において
作成あるいは校正,編集される文書データを記憶するも
ので、この場合、文書データ中における共通データ部分
には、そのデータ内容の外部参照先を示す所定フォーマ
ットの外部参照ブロックが書込まれる。
The document edit buffer 13 stores document data currently created, proofread, or edited. In this case, the common data portion in the document data has a predetermined format indicating an external reference destination of the data content. The external reference block of is written.

【0011】文書ファイルメモリ20は、上記文書バッ
ファ13における作成あるいは校正,編集後の文書デー
タが記憶保存されると共に、その1文書ファイル内に、
該保存文書中の各外部参照ブロックに参照されるデータ
内容を記録した外部参照リスト、及びそのリスト内容を
凍結するか否かを示す外部参照凍結フラグそれぞれの記
憶エリアが与えられる。
The document file memory 20 stores and saves the document data that has been created, proofread, or edited in the document buffer 13, and the one document file contains
An external reference list in which the data content referred to in each external reference block in the stored document is recorded, and a storage area for each external reference freeze flag indicating whether or not to freeze the list content are provided.

【0012】図2は上記文書処理装置の文書ファイルメ
モリ20における1カタログ文書ファイル内のデータ格
納状態を示すもので、文書文字列31の内部には、その
共通データ(この場合、製品価格)の書込み位置に対応
して外部参照ブロック32が書込まれ、その内容を示す
データは各ブロック内の変数名に対応して外部参照変数
リスト33に記録される。
FIG. 2 shows a data storage state in one catalog document file in the document file memory 20 of the above document processing apparatus. Inside the document character string 31, the common data (product price in this case) is stored. The external reference block 32 is written corresponding to the writing position, and the data indicating the content is recorded in the external reference variable list 33 corresponding to the variable name in each block.

【0013】ここで、外部参照凍結フラグ34に“1”
が書込まれている場合には、上記外部参照変数リスト3
3における外部参照データは固定のものとなり、“0”
が書込まれている場合には、外部変数データベースメモ
リ21に対する各製品価格(変数値)の書替えに応じて
更新される。
Here, the external reference freeze flag 34 is "1".
Is written, the above external reference variable list 3
The external reference data in 3 is fixed and is "0".
Is written, it is updated according to the rewriting of each product price (variable value) in the external variable database memory 21.

【0014】外部変数データベースメモリ21は、本文
書処理装置で編集保存される全ての文書データに含まれ
る外部参照ブロック32の指定変数名に対応する最新変
数値を記憶するもので、この外部変数データベースメモ
リ21にて記憶される各種の最新変数値は、例えば製品
価格の場合、その価格見直しがある度に最新の価格に書
替えられて保存される。
The external variable database memory 21 stores the latest variable value corresponding to the designated variable name of the external reference block 32 included in all the document data edited and saved in this document processing apparatus. The various latest variable values stored in the memory 21 are, for example, in the case of a product price, rewritten to the latest price and saved when the price is reviewed.

【0015】文書変数プログラムエリア14には、文書
編集中において、その文書文字列内に外部参照ブロック
を設定,削除する際に起動される外部参照ブロック処理
プログラムa、ユーザ支持により外部参照凍結フラグ3
4をオン,オフする際に起動される外部参照フラグ処理
プログラムb、文書表示または印刷する際に起動され、
文書データ中に含まれる外部参照ブロック部をその指定
変数名に対応する変数値に置換して表示または印刷出力
する外部参照置換処理プログラムc、外部参照凍結フラ
グ34が“0”の状態で表示または印刷する際、あるい
は外部参照凍結フラグ34が“1”から“0”に変更さ
れた際に起動され、外部参照変数リスト33内の外部参
照変数値を更新する外部参照リスト更新処理プログラム
d、上記外部参照ブロック処理プログラムaあるいは外
部参照リスト更新処理プログラムdの起動に伴い、外部
変数データベースメモリ21に最新の変数値を問合わせ
る際に起動される外部参照ベース問合せ処理プログラム
eがそれぞれ記憶される。
In the document variable program area 14, an external reference block processing program a, which is activated when an external reference block is set or deleted in the document character string during document editing, and an external reference freeze flag 3 supported by the user.
4, the external reference flag processing program b that is activated when turning on and off 4, and that is activated when displaying or printing a document,
An external reference replacement processing program c that replaces the external reference block portion included in the document data with the variable value corresponding to the specified variable name and displays or prints it out, and displays the external reference freeze flag 34 in the state of "0" or The external reference list update processing program d, which is activated at the time of printing or when the external reference freeze flag 34 is changed from “1” to “0” and updates the external reference variable value in the external reference variable list 33, When the external reference block processing program a or the external reference list update processing program d is activated, the external reference database inquiry processing program e that is activated when the latest variable value is inquired is stored in the external variable database memory 21.

【0016】外部変数通知プログラムエリア15には、
上記外部参照ベース問合せ処理プログラムeの起動に伴
い起動され、問合せ変数名に対応する変数値を外部変数
データベースメモリ21から検索して取出す処理プログ
ラムが記憶される。ここで、上記外部変数通知プログラ
ムは、外部変数データベースメモリ21のメモリ形式に
応じたものが導入される。
In the external variable notification program area 15,
A processing program that is started when the external reference-based inquiry processing program e is started and retrieves a variable value corresponding to the inquiry variable name from the external variable database memory 21 is stored. Here, as the external variable notification program, a program corresponding to the memory format of the external variable database memory 21 is introduced.

【0017】図3は上記文書処理装置における文書デー
タの印刷または表示状態を示すもので、外部参照ブロッ
ク32の書込み部分には、その外部参照ブロックの書込
み完了に伴い、その指定変数名に対応する変数値が外部
参照変数リスト33から読出されて置換代入され、被印
刷または被表示データとして出力される。次に、上記構
成による文書処理装置の動作について説明する。
FIG. 3 shows the print or display state of the document data in the above document processing apparatus. The writing portion of the external reference block 32 corresponds to the designated variable name as the writing of the external reference block is completed. The variable value is read from the external reference variable list 33, substituted and substituted, and output as print or display data. Next, the operation of the document processing apparatus having the above configuration will be described.

【0018】図4は上記文書処理装置における外部参照
ブロックの設定・削除処理を示すフローチャートであ
り、編集中の文書データは文書編集バッファ13に展開
されており、制御部12を介してディスプレイ18に表
示されている。
FIG. 4 is a flowchart showing the setting / deletion process of the external reference block in the document processing apparatus. The document data being edited is expanded in the document edit buffer 13 and displayed on the display 18 via the control unit 12. It is displayed.

【0019】ここで、文書文字列中に、例えば製品Aの
価格を外部参照として示すブロック[外部参照−変数
“製品A価格”]をマウス17あるいはキーボード16
を使用して入力設定すると、文書編集プログラムエリア
14に記憶される外部参照ブロック処理プログラムaが
起動され、まず、現在編集中の文書データファイルに共
に記憶される外部参照変数リスト33が文書ファイルメ
モリ20から制御部12に読出され、上記設定ブロック
で指定された変数名“製品A価格”の有無が判断される
(ステップS1〜S4)。
Here, in the document character string, for example, a block [external reference-variable "product A price"] indicating the price of product A as an external reference is mouse 17 or keyboard 16.
When the input is set using, the external reference block processing program a stored in the document editing program area 14 is started, and first, the external reference variable list 33 stored together with the document data file currently being edited is displayed in the document file memory. It is read from 20 to the control unit 12 and it is determined whether or not there is the variable name "Product A price" designated in the setting block (steps S1 to S4).

【0020】このステップS4において「Yes」、つ
まり、指定変数名“製品A価格”に対応する変数名が、
外部参照変数リスト33に既に存在すると判断された場
合には、同一文書中に共通の外部参照ブロックが何箇所
存在するかを示す変数名カウンタが「+1」される(ス
テップS5)。
In step S4, "Yes", that is, the variable name corresponding to the designated variable name "Product A price" is
If it is determined that the external reference variable list 33 already exists, the variable name counter indicating how many common external reference blocks exist in the same document is incremented by "+1" (step S5).

【0021】一方、上記ステップS4において「N
o」、つまり、指定変数名“製品A価格”に対応する変
数名が、外部参照変数リスト33に未だ存在しないと判
断された場合には、文書編集プログラムエリア14に記
憶される外部参照ベース問合せ処理プログラムeが起動
されると共に、外部変数通知プログラム(15)が起動
され、外部変数データベースメモリ21に保存される多
数の最新変数値から、上記指定変数名“製品A価格”に
対応する最新の変数値が検索されて制御部12に読出さ
れ、上記外部参照変数リスト33に新規加入される(ス
テップS6〜S8)。この場合、外部参照変数リスト3
3に新規加入された変数項目のカウンタには「1」がセ
ットされる(ステップS5)。
On the other hand, in step S4, "N
o ”, that is, when it is determined that the variable name corresponding to the designated variable name“ Product A price ”does not yet exist in the external reference variable list 33, the external reference base inquiry stored in the document editing program area 14 is executed. When the processing program e is started up, the external variable notification program (15) is also started up, and the latest variable value stored in the external variable database memory 21 is selected from the latest variable values corresponding to the specified variable name “Product A price”. The variable value is retrieved and read by the control unit 12, and is newly added to the external reference variable list 33 (steps S6 to S8). In this case, external reference variable list 3
"1" is set to the counter of the variable item newly added to 3 (step S5).

【0022】すると、上記文書文字列中の外部参照ブロ
ックの設定部分に対応して、指定変数名“製品A価格”
に対応する変数値「50万円」が入れ代わり表示される
(ステップS9)。
Then, the designated variable name "Product A price" is set in correspondence with the setting portion of the external reference block in the document character string.
The variable value "500,000 yen" corresponding to is replaced and displayed (step S9).

【0023】一方、編集文書中における外部参照ブロッ
ク対応のデータ部分(例えば50万円)を削除操作する
と、文書編集プログラムエリア14に記憶される外部参
照ブロック処理プログラムaが起動され、まず、文書編
集バッファ13に展開される文書文字列中の削除データ
に対応する外部参照ブロック[外部参照−変数“製品A
価格”]が削除されると共に、現在編集中の文書データ
ファイルに共に記憶される外部参照変数リスト33が文
書ファイルメモリ20から制御部12に読出され、上記
削除された変数値「50万円」の変数名「“製品A価
格”」に対応する変数名カウンタが「−1」される(ス
テップS1,S2→S10,S11)。
On the other hand, when the data portion corresponding to the external reference block (for example, 500,000 yen) in the edited document is deleted, the external reference block processing program a stored in the document editing program area 14 is started, and the document editing is performed first. External reference block corresponding to the deleted data in the document character string expanded in the buffer 13 [external reference-variable "Product A
The price "] is deleted, and the external reference variable list 33 stored together with the document data file currently being edited is read from the document file memory 20 to the control unit 12, and the deleted variable value" 500,000 yen ". The variable name counter corresponding to the variable name "Product A price" is decremented by "-1" (steps S1, S2 → S10, S11).

【0024】ここで、上記カウントダウンされた変数名
カウンタ値が“0”になった場合には、該カウンタ値
“0”に対応する変数リスト項目が外部参照変数リスト
33から削除される(ステップS12,S13)。そし
て、ディスプレイ18上に表示される文書文字列中の削
除部分に対応する変数値「50万円」が消去表示される
(ステップS14)。
Here, when the counted down variable name counter value becomes "0", the variable list item corresponding to the counter value "0" is deleted from the external reference variable list 33 (step S12). , S13). Then, the variable value "500,000 yen" corresponding to the deleted portion in the document character string displayed on the display 18 is erased and displayed (step S14).

【0025】図5は上記文書処理装置における保存文書
に対する外部参照変数値の更新・置換処理を示すフロー
チャートであり、マウス17あるいはキーボード16の
操作により任意の文書データの表示または印刷が指定さ
れると、制御部12により文書ファイルメモリ20に保
存された被表示あるいは被印刷指定された文書データフ
ァイルが読出され文書バッファ13に展開されると共
に、同一文書ファイル中に記録された外部参照凍結フラ
グ34が“1”か“0”判断される(ステップA1〜S
5)。
FIG. 5 is a flow chart showing the update / replacement processing of the external reference variable value for the stored document in the above document processing apparatus. When the display or printing of arbitrary document data is designated by the operation of the mouse 17 or the keyboard 16. The control unit 12 reads out the document data file designated to be displayed or to be printed, which is stored in the document file memory 20, is expanded in the document buffer 13, and the external reference freeze flag 34 recorded in the same document file is displayed. "1" or "0" is determined (steps A1 to S)
5).

【0026】このステップA5において「No」、つま
り、被表示指定あるいは被印刷指定された文書データに
対応する外部参照凍結フラグ34が“0”と判断される
と、その外部参照変数リスト33は凍結されてない状態
なので、まず、文書編集プログラムエリア14に記憶さ
れる外部参照リスト更新処理プログラムd及び外部参照
ベース問合せ処理プログラムeが起動されると共に、文
書変数通知プログラム(15)が起動され、外部参照変
数値の更新処理が開始される。
If "No" in this step A5, that is, if the external reference freezing flag 34 corresponding to the document data designated for display or printing is judged to be "0", the external reference variable list 33 is frozen. Since the external reference list update processing program d and the external reference base inquiry processing program e stored in the document editing program area 14 are activated, the document variable notification program (15) is activated and the external The process of updating the reference variable value is started.

【0027】すなわち、被表示指定あるいは被印刷指定
された文書データファイル中の外部参照変数リスト33
が制御部12に読出され、外部変数データベースメモリ
21に保存される多数の最新変数値から、上記変数リス
ト中の各項目に対応する変数名の最新変数値が1項目毎
に検索されて制御部12に読出され、対応する外部参照
変数リスト33中の各変数値が順次最新のものに入替え
られて更新される(ステップA6〜A11)。
That is, the external reference variable list 33 in the document data file designated to be displayed or printed.
Is read by the control unit 12 and the latest variable value of the variable name corresponding to each item in the variable list is retrieved from each of the latest variable values stored in the external variable database memory 21 one by one, and the control unit is searched. 12, the variable values in the corresponding external reference variable list 33 are sequentially replaced with the latest ones and updated (steps A6 to A11).

【0028】この後、上記ステップA10において「Y
es」、つまり、制御部12に読出された外部参照変数
リスト33に記録される全ての変数名に対応する変数値
が、外部変数データベース(21)の最新変数値に基づ
き更新され、被更新リスト項目が最終位置に達すること
でその更新処理が終了したと判断されると、文書編集プ
ログラムエリア14に記憶される外部参照置換処理プロ
グラムcが起動される。
Thereafter, in step A10, "Y
es ”, that is, the variable values corresponding to all the variable names recorded in the external reference variable list 33 read by the control unit 12 are updated based on the latest variable values in the external variable database (21), and the updated list is displayed. When it is determined that the update processing is completed when the item reaches the final position, the external reference replacement processing program c stored in the document editing program area 14 is started.

【0029】すると、上記文書編集バッファ13に展開
された文書文字列中の外部参照ブロックの設定部分に対
応して、その指定変数名に対応する変数値が上記ステッ
プA6〜A11の処理を経て更新された外部参照変数リ
スト33から選択されて置換代入され、ディスプレイ1
8またはプリンタ19に対し表示または印刷出力される
(ステップA12,A13)。
Then, the variable value corresponding to the designated variable name corresponding to the set portion of the external reference block in the document character string expanded in the document edit buffer 13 is updated through the processing of steps A6 to A11. The selected external reference variable list 33 is replaced and substituted, and the display 1 is displayed.
8 or the printer 19 displays or prints out (steps A12 and A13).

【0030】したがって、予め文書ファイルメモリ20
に保存された文書データを指定して表示または印刷する
際には、その指定文書データに対応する外部参照変数リ
スト33における全ての被参照変数値が、外部変数デー
タベース(20)に基づき最新の変数値に更新され、文
書文字列中の外部参照ブロック部分に対応して置換され
て表示または印刷されるので、例えば予め保存された旧
年版の製品カタログの価格記載部分に最新の価格が自動
的に反映されるようになり、新年版カタログ作成の際
に、その価格記載部分を一々検索して書替える作業を省
くことができる。
Therefore, the document file memory 20 is previously stored.
When designating and displaying or printing the document data stored in, the all referenced variable values in the external reference variable list 33 corresponding to the designated document data are the latest variables based on the external variable database (20). It is updated to the value, and it is replaced or displayed or printed according to the external reference block part in the document character string, so that the latest price is automatically displayed in the price description part of the product catalog of the old version that was saved in advance. It will be reflected, and the work of retrieving and rewriting the price description part one by one can be omitted when creating the New Year version catalog.

【0031】一方、上記ステップA5において「Ye
s」、つまり、被表示指定あるいは被印刷指定された文
書データに対応する外部参照凍結フラグ34が“1”と
判断されると、その外部参照変数リスト33は凍結され
た状態なので、前記ステップA6〜A11における外部
参照変数値の更新処理は実行されずに、直ちに、文書編
集プログラムエリア14に記憶される外部参照置換処理
プログラムcが起動され、上記文書編集バッファ13に
展開された文書文字列中の外部参照ブロックの設定部分
に対応して、その指定変数名に対応する変数値が外部参
照変数リスト33から選択されて置換代入され、ディス
プレイ18またはプリンタ19に対し表示または印刷出
力される(ステップA5→A12,A13)。
On the other hand, in step A5, "Ye
s ”, that is, when the external reference freezing flag 34 corresponding to the document data designated to be displayed or to be printed is determined to be“ 1 ”, the external reference variable list 33 is in a frozen state. The external reference substitution processing program c stored in the document edit program area 14 is immediately started without executing the update processing of the external reference variable value in A11 to the document character string expanded in the document edit buffer 13. The variable value corresponding to the designated variable name is selected from the external reference variable list 33, substituted and substituted, and displayed or printed out on the display 18 or the printer 19 corresponding to the set portion of the external reference block of A5 → A12, A13).

【0032】したがって、予め文書ファイルメモリ20
に保存された文書データを指定して表示または印刷する
際に、その外部参照凍結フラグ34が“1”である場合
には、外部参照変数リスト33における被参照変数値は
更新されず、文書文字列中の外部参照ブロック部分に対
応して置換され表示または印刷されるので、例えば予め
保存された旧年版の製品カタログを入手するのに、外部
変数データベース(21)が新価格に対応して書替えら
れていても、前記外部参照変数値の更新処理は実行され
ることなく、旧価格が新価格に書替えられるのを防止す
ることができる。
Therefore, the document file memory 20 is previously stored.
When the external reference freezing flag 34 is "1" when the document data stored in is displayed or printed, the referenced variable value in the external reference variable list 33 is not updated and the document character is not updated. The external variable block (21) is rewritten to correspond to the new price, for example, to obtain a pre-stored old-year product catalog because it is replaced and displayed or printed in correspondence with the external reference block portion in the column. Even if it is, it is possible to prevent the old price from being rewritten to the new price without executing the updating process of the external reference variable value.

【0033】図6は上記文書処理装置の文書ファイル内
に記録される外部参照凍結フラグ34のON/OFF処
理を示すフローチャートであり、任意の文書データの外
部参照変数値を凍結すべく、マウス17あるいはキーボ
ード18を操作してフラグ“ON”を指定すると、その
指定文書ファイルに対応する外部参照凍結フラグ34に
“1”が書込まれる(ステップB1〜B3)。
FIG. 6 is a flow chart showing the ON / OFF processing of the external reference freezing flag 34 recorded in the document file of the above document processing device. The mouse 17 is used to freeze the external reference variable value of arbitrary document data. Alternatively, when the flag "ON" is designated by operating the keyboard 18, "1" is written in the external reference freeze flag 34 corresponding to the designated document file (steps B1 to B3).

【0034】一方、任意の文書データの外部参照変数値
の凍結を解除すべく、フラグ“OFF”を指定すると、
その指定文書ファイルに対応する外部参照凍結フラグ3
4から“1”が消去され“0”がセットされる(ステッ
プB1,B2→B4)。
On the other hand, if the flag "OFF" is specified in order to cancel the freezing of the external reference variable value of arbitrary document data,
External reference freeze flag 3 corresponding to the specified document file
"1" is erased from 4 and "0" is set (steps B1, B2 → B4).

【0035】こうして、外部参照凍結フラグ34がOF
Fされると、このフラグに対応する外部参照変数リスト
33の凍結が解除されたことになるので、文書編集プロ
グラムエリア14に記憶される外部参照リスト更新処理
プログラムd及び外部参照ベース問合せ処理プログラム
eが起動されると共に、文書変数通知プログラム(1
5)が起動され、前記図5におけるステップA6〜A1
1の処理と同様にして、外部参照変数値の更新処理が実
行されると共に、外部参照置換処理プログラムcが起動
され、凍結解除文書データ中に含まれる外部参照ブロッ
ク部の指定変数名に対応する変数値置換出力処理が実行
される。
Thus, the external reference freezing flag 34 is set to OF.
When F is set, the external reference variable list 33 corresponding to this flag is unfrozen, so the external reference list update processing program d and external reference base inquiry processing program e stored in the document editing program area 14 are released. When the document variable notification program (1
5) is started, and steps A6 to A1 in FIG.
In the same manner as the process of 1, the external reference variable value update process is executed, the external reference replacement process program c is started, and the external reference block part corresponding to the specified variable name included in the defreeze document data is executed. Variable value replacement output processing is executed.

【0036】すなわち、各文書ファイルに対応する外部
参照凍結フラグ34を操作することで、個々の文書デー
タ中に含まれる外部参照ブロック部分に、外部変数デー
タベース(21)に記憶される最新情報を反映させるか
否かを選択することができ、旧文書として保存したい文
書データは常にそのまま表示あるいは印刷され、また、
最新情報を反映させたい文書データには、その外部参照
ブロックに対応する変数値が自動的に更新されて出力さ
れるようになる。
That is, by operating the external reference freeze flag 34 corresponding to each document file, the latest information stored in the external variable database (21) is reflected in the external reference block portion included in each document data. You can select whether or not to display it, and the document data you want to save as the old document is always displayed or printed as it is.
For the document data to which the latest information is to be reflected, the variable value corresponding to the external reference block is automatically updated and output.

【0037】したがって、上記構成の文書処理装置によ
れば、制御部12により文書編集バッファ13にて展開
編集される文書データ文字列31に対し、予め書込むべ
きデータのキー情報を記述した外部参照ブロック32を
書込むと共に、この外部参照ブロック32のキー情報に
対応する実データを記録した外部参照変数リスト33を
同一文書ファイル(20)内で記憶管理すると共に、外
部変数データベース(21)に対して上記実データの最
新情報を持たせ、文書ファイル(20)からの文書デー
タ読出しの際には、該読出し文書データに対応する外部
参照変数リスト33内の被参照実データが上記外部変数
データベース(21)に基づき更新され、文書データ中
の外部参照ブロック部分に対応してそのキー情報に対応
する外部参照変数リスト33内の実データが置換されて
ディスプレイ18あるいはプリンタ19に出力される構
成としたので、新たな文書データにおける従来文書と共
通のデータ部分を外部参照ブロック32として設定し、
従来データと共通のデータを新文書に反映させることが
できると共に、上記外部変数データベース(21)のデ
ータ内容に変更が生じた場合には、全ての文書データ中
に設定した外部参照ブロック部分に対応してその最新情
報を自動的に反映させることができる。これにより、例
えば新年度版の製品カタログを作成する場合には、価格
を示す数値部分を個々に検索して書替える等の人為的作
業を行なう必要がなくなる。
Therefore, according to the document processing apparatus having the above configuration, the external reference in which the key information of the data to be written is described in advance for the document data character string 31 developed and edited in the document edit buffer 13 by the control unit 12 The block 32 is written, and the external reference variable list 33 in which the actual data corresponding to the key information of the external reference block 32 is recorded is stored and managed in the same document file (20), and the external variable database (21) is stored. When the document data is read from the document file (20), the referenced actual data in the external reference variable list 33 corresponding to the read document data is stored in the external variable database ( 21) An external reference variable that is updated based on 21) and corresponds to the key information corresponding to the external reference block part in the document data. Since the actual data in the strike 33 is configured to be outputted is replaced on the display 18 or the printer 19 sets the prior document and the common data part in the new document data as an external reference block 32,
Data common to the conventional data can be reflected in the new document, and when the data content of the external variable database (21) is changed, it corresponds to the external reference block part set in all the document data. Then, the latest information can be automatically reflected. As a result, for example, when creating a product catalog for the new year version, it is not necessary to perform an artificial operation such as individually retrieving and rewriting the numerical value portion indicating the price.

【0038】また、上記文書ファイル(20)には、外
部参照凍結フラグ34を設け、このフラグを“1”にセ
ットすることで上記外部変数データベース(21)に基
づく外部参照変数リスト33の更新処理が行なわれない
構成としたので、保存が必要な旧文書に対しては、外部
変数データベース(21)の最新情報が反映されるのを
任意に阻止することができる。
Further, the document file (20) is provided with an external reference freeze flag 34, and by setting this flag to "1", the external reference variable list 33 is updated based on the external variable database (21). Since the configuration is not performed, it is possible to arbitrarily prevent the latest information in the external variable database (21) from being reflected in the old document that needs to be saved.

【0039】[0039]

【発明の効果】以上のように本発明によれば、編集され
る文書データ文字列に対し予め書込むべきデータのキー
情報を記述した外部参照ブロックを書込む外部参照ブロ
ック設定手段と、この設定手段により設定された外部参
照ブロックのキー情報に対応する実データを記録した外
部参照変数リストと、この外部参照変数リストを上記外
部参照ブロックの設定された文書データと対応付けて記
憶管理する文書ファイル手段と、上記外部参照変数リス
トに記録される実データの最新情報を有する外部変数デ
ータベースと、上記ファイル手段から文書データを読出
した際に、該読出し文書データに対応する外部参照変数
リスト内の実データを上記外部変数データベースに基づ
き更新する外部参照リスト更新手段と、上記ファイル手
段から読出した文書データ中の外部参照ブロック部分に
対応して該ブロック中のキー情報に対応する上記外部参
照変数リスト内の実データを置換する外部参照置換手段
と、この置換手段によりデータ置換処理された文書デー
タを出力する文書出力手段とを備えて構成したので、1
文書内あるいは複数文書に渡って共通データが存在する
場合でも、個々の共通データの検索操作を行なう必要な
く、該共通データの内容を自動的に更新することが可能
になる。
As described above, according to the present invention, the external reference block setting means for writing the external reference block describing the key information of the data to be written in advance for the document data character string to be edited, and this setting. An external reference variable list recording actual data corresponding to the key information of the external reference block set by means, and a document file for storing and managing the external reference variable list in association with the document data in which the external reference block is set. Means, an external variable database having the latest information of the actual data recorded in the external reference variable list, and the document in the external reference variable list corresponding to the read document data when the document data is read from the file means. External reference list updating means for updating data based on the external variable database, and a sentence read from the file means External reference replacement means for replacing the actual data in the external reference variable list corresponding to the key information in the block corresponding to the external reference block portion in the data, and the document data subjected to the data replacement processing by the replacement means. Since the document output means for outputting is provided, 1
Even when common data exists in a document or across a plurality of documents, it is possible to automatically update the contents of the common data without the need to search the individual common data.

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

【図1】本発明の一実施例に係わる文書データの外部参
照方式を備えた文書処理装置の構成を示すブロック図。
FIG. 1 is a block diagram showing the configuration of a document processing apparatus having an external reference system for document data according to an embodiment of the present invention.

【図2】上記文書処理装置の文書ファイルメモリにおけ
る1カタログ文書ファイル内のデータ格納状態を示す
図。
FIG. 2 is a diagram showing a data storage state in one catalog document file in a document file memory of the document processing apparatus.

【図3】上記文書処理装置における文書データの印刷ま
たは表示状態を示す図。
FIG. 3 is a diagram showing a print or display state of document data in the document processing apparatus.

【図4】上記文書処理装置における外部参照ブロックの
設定・削除処理を示すフローチャート。
FIG. 4 is a flowchart showing a process of setting / deleting an external reference block in the document processing apparatus.

【図5】上記文書処理装置における保存文書に対する外
部参照変数値の更新・置換処理を示すフローチャート。
FIG. 5 is a flowchart showing an external reference variable value update / replacement process for a stored document in the document processing apparatus.

【図6】上記文書処理装置の文書ファイル内に記録され
る外部参照凍結フラグのON/OFF処理を示すフロー
チャート。
FIG. 6 is a flowchart showing ON / OFF processing of an external reference freeze flag recorded in a document file of the document processing apparatus.

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

11…CPU、12…制御部、13…文書編集バッフ
ァ、14…文書編集プログラムエリア、15…外部変数
通知プログラムエリア、16…キーボード、17…マウ
ス、18…ディスプレイ、19…プリンタ、20…文書
ファイルメモリ、21…外部変数データベースメモリ、
31…文書データ文字列、32…外部参照ブロック、3
3…外部参照変数リスト、34…外部参照凍結フラグ。
11 ... CPU, 12 ... Control unit, 13 ... Document edit buffer, 14 ... Document edit program area, 15 ... External variable notification program area, 16 ... Keyboard, 17 ... Mouse, 18 ... Display, 19 ... Printer, 20 ... Document file Memory, 21 ... External variable database memory,
31 ... Document data character string, 32 ... External reference block, 3
3 ... External reference variable list, 34 ... External reference freeze flag.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 編集される文書データ文字列に対し予め
書込むべきデータのキー情報を記述した外部参照ブロッ
クを書込む外部参照ブロック設定手段と、 この設定手段により設定された外部参照ブロックのキー
情報に対応する実データを記録した外部参照変数リスト
と、 この外部参照変数リストを上記外部参照ブロックの設定
された文書データと対応付けて記憶管理する文書ファイ
ル手段と、 上記外部参照変数リストに記録される実データの最新情
報を有する外部変数データベースと、 上記ファイル手段から文書データを読出した際に、該読
出し文書データに対応する外部参照変数リスト内の実デ
ータを上記外部変数データベースに基づき更新する外部
参照リスト更新手段と、 上記ファイル手段から読出した文書データ中の外部参照
ブロック部分に対応して該ブロック中のキー情報に対応
する上記外部参照変数リスト内の実データを置換する外
部参照置換手段と、 この置換手段によりデータ置換処理された文書データを
出力する文書出力手段と、を具備したことを特徴とする
文書データの外部参照方式。
1. An external reference block setting means for writing an external reference block describing key information of data to be written in advance for a document data character string to be edited, and an external reference block key set by this setting means. An external reference variable list recording actual data corresponding to information, a document file means for storing and managing the external reference variable list in association with the document data in which the external reference block is set, and recording in the external reference variable list And an external variable database having the latest information of actual data, and when the document data is read from the file means, the actual data in the external reference variable list corresponding to the read document data is updated based on the external variable database. The external reference list update means and the external reference block in the document data read from the file means. External reference replacement means for replacing the actual data in the external reference variable list corresponding to the key information in the block corresponding to the part, and document output means for outputting the document data subjected to the data replacement processing by the replacement means An external reference method for document data, characterized by comprising:
JP4120765A 1992-05-13 1992-05-13 External reference system for document data Pending JPH05314127A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4120765A JPH05314127A (en) 1992-05-13 1992-05-13 External reference system for document data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4120765A JPH05314127A (en) 1992-05-13 1992-05-13 External reference system for document data

Publications (1)

Publication Number Publication Date
JPH05314127A true JPH05314127A (en) 1993-11-26

Family

ID=14794449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4120765A Pending JPH05314127A (en) 1992-05-13 1992-05-13 External reference system for document data

Country Status (1)

Country Link
JP (1) JPH05314127A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011197717A (en) * 2010-03-17 2011-10-06 Yahoo Japan Corp Document creation device, method, and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011197717A (en) * 2010-03-17 2011-10-06 Yahoo Japan Corp Document creation device, method, and system

Similar Documents

Publication Publication Date Title
US5355476A (en) File update apparatus for generating a matrix representing a subset of files and the update correspondence between directories and files
JPH06342361A (en) Icon display controller
JP3132613B2 (en) Personnel file processing apparatus and method
JPH05314127A (en) External reference system for document data
JPH0981585A (en) Electronic filing equipment
JP2004133658A (en) Design system, design program, design data management method
JPH1115851A (en) WWW page link control system and recording medium recording control processing program therefor
JP2001030550A (en) Image forming apparatus and control method thereof
JP2002342137A (en) Document management apparatus, document management method, and recording medium
JP2828078B2 (en) Form creation support system
JP3424558B2 (en) Object management method
JP2728056B2 (en) File editing device
JPH07141335A (en) Document display device
JPS63743A (en) Document management system for word processor
JPH01211028A (en) Document retrieving system
JPH07334527A (en) Document management device
JPH0215374A (en) Image information retrieving device
JP2798777B2 (en) Word processor
JPH06214986A (en) Document creation device
JPH09212516A (en) Information managing device
JPH0934619A (en) Record data input device
JPH09190442A (en) Information registration search device and information display method
EP0590892A2 (en) Document processing apparatus
JPH0934764A (en) Information processing method and apparatus
JPH06187345A (en) Word processor document storage method