JPH0619907A - Document processor - Google Patents

Document processor

Info

Publication number
JPH0619907A
JPH0619907A JP4175559A JP17555992A JPH0619907A JP H0619907 A JPH0619907 A JP H0619907A JP 4175559 A JP4175559 A JP 4175559A JP 17555992 A JP17555992 A JP 17555992A JP H0619907 A JPH0619907 A JP H0619907A
Authority
JP
Japan
Prior art keywords
document
data
command
display
table data
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
JP4175559A
Other languages
Japanese (ja)
Inventor
Shigeo Nara
茂雄 奈良
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 JP4175559A priority Critical patent/JPH0619907A/en
Publication of JPH0619907A publication Critical patent/JPH0619907A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To edit and update document data in another file to be interleaved in a document formed for interleaving printing. CONSTITUTION:A document for interleaving printing read out from a floppy disk device 11 by an MPU 4 is stored in a memory 5 and displayed on a CRT display part 1 and then an interleaving command mark specified from a keyboard 8 and displayed on a display screen is switched to the display of display data corresponding to the command by the MPU 4. On the other hand, table data are inserted (formed) in the memory 5 and the contents of the document data stored in the memory 5 are changed by the MPU 4 in accordance with an edition command inputted from the keyboard 8.

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 device,
In particular, the present invention relates to a document processing device that formats and edits a document.

【0002】[0002]

【従来の技術】従来、高度な文書の組み版・編集を行う
文書処理装置には、差し込み印刷機能(文書中にはデー
タが入る位置だけを指定する差し込みコマンドを記載し
ておき、別ファイルの表データに数値や名前などのデー
タを作成しておき、印刷するときには別ファイルの表か
ら取り出したデータを文書内のコマンドにより指定され
た場所に次々と挿入しながら印刷する)、および差し込
みデータ表示機能(差し込み印刷されるレイアウトその
ままに画面に表示する)を有するものがあった。
2. Description of the Related Art Conventionally, a document processing device for performing high-level typesetting / editing of a document has a merge print function (a merge command for designating only a position where data is included in a document is described, and a separate file is stored). Create data such as numbers and names in the table data, and when printing, insert the data extracted from the table of another file into the location specified by the command in the document one after another) and display the merged data. Some had a function (displayed on the screen as it is in the layout to be merged and printed).

【0003】[0003]

【発明が解決しようとする課題】しかしながら、ある1
つの差し込み印刷用の文書の編集中では、差し込みコマ
ンドの表示マークのみ表示されているので、別ファイル
内の表データを編集/更新することができない。このた
めに、次のような問題点があった。
[Problems to be Solved by the Invention]
While the document for one mail merge is being edited, only the display mark of the mail merge command is displayed, so the table data in another file cannot be edited / updated. For this reason, there are the following problems.

【0004】(1)文書の編集途中で、差し込まれる別
ファイルの表データの間違いを見つけたとき等、正確な
文書のレイアウトが把握できないため、作業用メモリ内
の編集文書をフロッピーディスクに一時記憶し、フロッ
ピーディスク内の別ファイルの表データを作業用メモリ
に呼び出し編集し直した後、フロッピーディスクに再格
納する。次に再度中断していた文書をフロッピーディス
クから作業用メモリに呼び出して、編集を行うという必
要が生じ、ユーザの操作性が悪い。
(1) When an error is found in the table data of another file to be inserted while the document is being edited, the correct document layout cannot be grasped, so the edited document in the working memory is temporarily stored in the floppy disk. Then, after recalling the table data of another file in the floppy disk to the working memory and editing it again, it is stored again in the floppy disk. Next, it is necessary to call the suspended document again from the floppy disk to the working memory and edit the document, resulting in poor operability for the user.

【0005】以上の点に鑑み、本発明の目的は、差し込
み印刷する場合に、印刷対象の文書を表示させた状態で
コマンドにより指定された別ファイルのデータを編集す
ることができる文書処理装置を提供することにある。
In view of the above points, an object of the present invention is to provide a document processing apparatus capable of editing data of another file designated by a command while displaying a document to be printed when performing merge printing. To provide.

【0006】[0006]

【課題を解決するための手段】このような目的を達成す
るために、本発明は、文書中の差し込み位置に記載され
たコマンドにより別ファイルの表データの差し込み印刷
を実行可能な文書処理装置において、編集中の文書の中
の前記コマンドを選択的に指示する指示手段と、当該さ
れたコマンドに対応の表データを前記別ファイルから読
出す読出し手段と、当該読出した表データを前記編集中
の文書内に組み版する組み版手段とを具えたことを特徴
とする。
In order to achieve such an object, the present invention provides a document processing apparatus capable of executing a merge print of table data of another file by a command described at a merge position in a document. An instruction means for selectively instructing the command in the document being edited, a reading means for reading out table data corresponding to the command from the separate file, and a reading means for reading out the table data being read out. It is characterized by comprising a typesetting means for typesetting in the document.

【0007】[0007]

【作用】本発明では、文書中のコマンドを指示すること
によりコマンドに対応の表データを別ファイルから読出
して編集文書中に表データを組み版する。このため、編
集文書の表データに対して編集処理が可能となる。
In the present invention, by instructing a command in the document, the table data corresponding to the command is read from another file and the table data is formatted in the edited document. Therefore, the editing process can be performed on the table data of the edited document.

【0008】[0008]

【実施例】以下、添付図面にしたがって、本発明に係る
好適な実施例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

【0009】図1は本実施例の文書処理装置の構成を示
すブロック図である。
FIG. 1 is a block diagram showing the configuration of the document processing apparatus of this embodiment.

【0010】図において、1はラスタスキャン方式で使
用されるシーアルティ(CRT)表示部、2は一画面分
の表示パターン情報を記憶するビデオ用ランダムアクセ
スメモリ(VRAM)である。3はVRAM2に対する
パターン情報の書き込み、CRT表示部1への読み出し
の制御をする表示制御部である。5は後述する制御プロ
グラムや文書データを格納するエリアを有する主メモ
リ、4はマイクロプロセッサ(MPU)であり、文書装
置全体の主制御を行う。
In the figure, reference numeral 1 is a CRT display unit used in a raster scan system, and 2 is a video random access memory (VRAM) for storing display pattern information for one screen. A display control unit 3 controls writing of pattern information to the VRAM 2 and reading of the pattern information to the CRT display unit 1. Reference numeral 5 is a main memory having an area for storing a control program and document data, which will be described later, and 4 is a microprocessor (MPU) for performing main control of the entire document apparatus.

【0011】MPU4には文字データ等の入力を行うキ
ーボード8、及びCRT表示部1上の位置の指定等を行
い図形データの入力編集等を行うポインティングデバイ
ス(PD)9が接続されている。6はハードディスク装
置であり、この中に文書ファイルや文字フォントが格納
されている。
A keyboard 8 for inputting character data and the like and a pointing device (PD) 9 for inputting and editing graphic data by designating a position on the CRT display unit 1 are connected to the MPU 4. Reference numeral 6 denotes a hard disk device in which document files and character fonts are stored.

【0012】10は作成された文書を出力するためのプ
リンタで、11は文書ファイル等の保存等を行うための
フロッピィディスク装置である。これらの各構成ブロッ
クはI/Oバス7で接続されている。
Reference numeral 10 is a printer for outputting the created document, and 11 is a floppy disk device for storing a document file and the like. These constituent blocks are connected by an I / O bus 7.

【0013】次に、本実施例の文書処理の全体の流れに
ついて説明する。
Next, the overall flow of the document processing of this embodiment will be described.

【0014】まず、作業対象となる文書を開くと、図2
に示すような編集画面がCRT表示部1に表示される。
ここで、別ファイルの表データを差し込みたい位置にポ
インティングデバイス9、またはキーボード8のカーソ
ル移動キーを用いカーソルを移動させ、図2のメニュー
21をポインティングデバイス9により選択すると、図
3のような差し込み番号設定ウインドウが表示される。
First, when the document to be worked is opened, FIG.
An edit screen as shown in is displayed on the CRT display unit 1.
Here, when the cursor is moved to the position where the table data of another file is to be inserted using the pointing device 9 or the cursor movement key of the keyboard 8 and the menu 21 of FIG. 2 is selected by the pointing device 9, the insertion as shown in FIG. The number setting window is displayed.

【0015】ここで、図6に示すような表データAAの
データ位置を示す列番号、及び行番号をキーボード8を
用い入力を実行させる。この結果、カーソル位置に図7
に示すような列/行番号を伴った差し込みコマンドが入
力される。
Here, the keyboard 8 is used to input the column numbers and row numbers indicating the data positions of the table data AA as shown in FIG. As a result, the cursor is moved to the position shown in FIG.
A merge command with column / row numbers as shown in is entered.

【0016】次に、図2のメニュー22をポインティン
グデバイス9により選択すると、図4のような差し込み
ファイル設定ウインドウが表示される。ここで、差し込
みデータ表示の『する』をポインティングデバイス9に
より選択し、差し込みたい表データファイル名をキーボ
ード8を用い入力し実行させると、図5に示す差し込み
制御テーブル(メモリー5に確保されている)内の差し
込みデータ表示フラグがオン(ON−表示)に、かつ差
し込みファイル名に入力された差し込みファイル名がそ
のまま制御テーブルに登録される。
Next, when the menu 22 of FIG. 2 is selected by the pointing device 9, the insertion file setting window as shown in FIG. 4 is displayed. Here, when "YES" of the insertion data display is selected by the pointing device 9 and the table data file name to be inserted is input by the keyboard 8 and executed, the insertion control table shown in FIG. The insertion data display flag in parentheses is turned on (ON-display), and the insertion file name input in the insertion file name is registered as it is in the control table.

【0017】差し込み制御テーブルへの登録が終了する
と、文書の組み版処理が実行される。この組み版処理に
おいて、文書データ内に図7に示すような差し込みコマ
ンドが見つけ出されると、図10に示す差し込みコマン
ドチェック処理ルーチンがMPU4に呼び出され実行さ
れる。
When the registration in the insertion control table is completed, the document typesetting process is executed. In this typesetting process, when the insertion command as shown in FIG. 7 is found in the document data, the insertion command check processing routine shown in FIG. 10 is called by the MPU 4 and executed.

【0018】このルーチン内では、まず、ステップ62
においてデータを再度チェックし、差し込みコマンドで
あった場合、図11に示す差し込みデータのGET処理
ルーチンが呼び出される。
In this routine, first, step 62
The data is checked again in step S11, and if it is the insert command, the insert data GET processing routine shown in FIG. 11 is called.

【0019】この差し込みデータのGET処理ルーチン
では、ステップ66において、メモリー5に確保されて
いる差し込み制御テーブル図5参照内の差し込みデータ
表示フラグをチェックし、オン(ON−表示)であった
場合、ステップ67に進む。ステップ67において、同
制御テーブル内の差し込みファイル名をチェックし、そ
の名前と同じファイルがハードディスク装置6、または
フロッピィディスク装置11に存在するかをチェックす
る。
In this insertion data GET processing routine, in step 66, the insertion data display flag in the insertion control table shown in FIG. 5 secured in the memory 5 is checked, and if it is ON (ON-display), Go to step 67. In step 67, the insertion file name in the control table is checked to see if a file with the same name exists in the hard disk device 6 or the floppy disk device 11.

【0020】差し込みファイル名が存在した場合、その
差し込みデータファイルをメモリ5にロード(記憶)
し、ステップ68に進む。ここでは更に、差し込みコマ
ンド内に設定されてある列番号、行番号(図7参照)を
チェックし、表データ内のその列/行内にデータが存在
するかをチェックする。
When the insertion file name exists, the insertion data file is loaded (stored) in the memory 5.
Then, the process proceeds to step 68. Here, the column number and row number (see FIG. 7) set in the insert command are further checked to see if data exists in that column / row in the table data.

【0021】データが存在した場合、ステップ69に進
む。ここで、ロードした差し込みファイルの指定列/行
内のデータを図12に示すように差し込みコマンド内に
格納(図12では差し込みデータ『山田太郎』を差し込
みコマンド内に格納している)し、差し込みコマンドへ
の差し込みデータ格納処理が終了する。
If data is present, go to step 69. Here, the data in the specified column / row of the loaded merge file is stored in the merge command as shown in FIG. 12 (in FIG. 12, the merge data “Taro Yamada” is stored in the merge command), and the merge command The process of storing the data to be inserted into is completed.

【0022】格納後の詳細を図8,図9に示す。また、
ステップ66において、差し込みデータ表示フラグ(図
5参照)がオフ(OFF)であった場合、またステップ
67において、指定の差し込みデータファイルが存在し
なかった場合、また、ステップ68において、指定列/
行番号内に差し込みデータが存在しなかった場合は、差
し込みデータコマンド内にデータは格納されず、図7に
示すコマンドのまま組み版処理等で処理される。
The details after storage are shown in FIGS. Also,
In step 66, if the insertion data display flag (see FIG. 5) is off (OFF), and in step 67, the specified insertion data file does not exist, and in step 68, the specified column /
If the insertion data does not exist in the line number, no data is stored in the insertion data command and the command shown in FIG.

【0023】メモリ5上の差し込みコマンド内に差し込
みデータが格納されると、組み版処理は差し込みコマン
ド内(図8参照)の長さと差し込みデータ文字列から、
差し込み文字列を通常の文字列と同様に扱い組み版する
ことで、MPU4は図6に示すような差し込みコマンド
の表示マークを表データに置換した文書をCRT表示部
1に表示する。また、差し込みコマンド内に差し込みデ
ータが格納されていないコマンド(図7参照)は、差し
込みコマンドの表示マーク(図6に表示されている、差
し込みデータを挿入する場所を示すマーク)のみ表示さ
れる。
When the insertion data is stored in the insertion command on the memory 5, the typesetting process is performed based on the length in the insertion command (see FIG. 8) and the insertion data character string.
The MPU 4 displays the document in which the display mark of the insertion command as shown in FIG. 6 is replaced with the table data on the CRT display unit 1 by treating and typography the insertion character string in the same manner as a normal character string. Further, for the command (see FIG. 7) in which the merge data is not stored in the merge command, only the display mark of the merge command (the mark displayed in FIG. 6 indicating the place to insert the merge data) is displayed.

【0024】以上の処理内容を要約すると次の通りとな
る。
The above processing contents are summarized as follows.

【0025】ユーザは、従来通りのキーボード8の操作
でフロッピーディスク装置11上の差し込み印刷用に作
成された文書をビデオRAM2に格納し、CRT表示部
1に表示させる。このとき、表示画面と対応する文書が
文字コードの形態でメモリ5上に格納される。
The user operates the keyboard 8 in the conventional manner to store the document created for the merge printing on the floppy disk device 11 in the video RAM 2 and display it on the CRT display unit 1. At this time, the document corresponding to the display screen is stored in the memory 5 in the form of character code.

【0026】次に、ユーザはキーボード8からの指示で
編集したい差し込みデータと対応のコマンドを指定す
る。このときキーボード8が本発明の指示手段として動
作する。
Next, the user designates a command corresponding to the insertion data to be edited by an instruction from the keyboard 8. At this time, the keyboard 8 operates as an instruction means of the present invention.

【0027】MPU4はこの指示に応じて、指定された
コマンドに対応の表データをフロッピーディスク装置1
1から読出し、メモリ5上の差し込みコマンド内に挿入
する。このときMPU4が本発明の読出し手段,組み版
として動作する。
In response to this instruction, the MPU 4 creates table data corresponding to the specified command in the floppy disk device 1
It is read from 1 and inserted into the insert command on the memory 5. At this time, the MPU 4 operates as the reading means and typesetting of the present invention.

【0028】一方、MPU4はビデオRAM2上に、格
納された文書内容の内、文書データを挿入したコマンド
に対応する表示マークを消去し、この文書データをメモ
リ5から読出してビデオRAM2上に書き込む。この結
果、CRT表示部1の表示は図6のように、差し込みコ
マンドマークを有する編集文書から、表データを有する
文書に切り換わる。
On the other hand, the MPU 4 erases the display mark corresponding to the command in which the document data is inserted from the stored document contents on the video RAM 2, reads this document data from the memory 5 and writes it on the video RAM 2. As a result, the display on the CRT display unit 1 is switched from the edited document having the insertion command mark to the document having the table data as shown in FIG.

【0029】以後、ユーザは表示画面を見て、従来同様
のキーボード8編集操作を行うと、MPU4は指示され
た編集内容に応じてビデオRAM上およびビデオRAM
2上の文書内容を修正する。
After that, when the user looks at the display screen and performs the keyboard 8 editing operation similar to the conventional one, the MPU 4 is placed on the video RAM and the video RAM according to the instructed editing contents.
2. Correct the document contents above.

【0030】本実施例で説明した差し込みデータ表示機
能は、文章データ内に差し込みコマンドを挿入する以外
に、表組データ、図形データに対しても同じように適用
可能で、差し込まれる表データの表示が可能である。
The insertion data display function described in the present embodiment can be similarly applied to table group data and graphic data in addition to inserting the insertion command in the text data. Is possible.

【0031】[0031]

【発明の効果】以上説明したように、本発明によれば、
文書の編集中に指定された別ファイル内の表データ等の
文書データを通常の文字列と同様に編集することができ
るので、従来のように編集対象のファイルとして文章フ
ァイルと表データファイルとを交互に切換え操作する必
要はなく、ユーザの操作性が向上する。
As described above, according to the present invention,
Document data such as table data in another file specified while editing a document can be edited in the same way as ordinary character strings. It is not necessary to perform the switching operation alternately, and the operability for the user is improved.

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

【図1】本発明実施例における文書処理装置の回路構成
を示すブロック図である。
FIG. 1 is a block diagram showing a circuit configuration of a document processing apparatus according to an embodiment of the present invention.

【図2】文書編集用画面のCRT表示部1上での表示例
を示す説明図である。
FIG. 2 is an explanatory diagram showing a display example of a document editing screen on a CRT display unit 1.

【図3】差し込む表データの列/行を設定するための表
示画面を示す説明図である。
FIG. 3 is an explanatory diagram showing a display screen for setting columns / rows of table data to be inserted.

【図4】差し込む表データを画面に表示するか否かを設
定するため、かつ差し込む表データファイルのファイル
名を設定するための表示画面を示す説明図である。
FIG. 4 is an explanatory diagram showing a display screen for setting whether or not to display the inserted table data on the screen and for setting the file name of the inserted table data file.

【図5】差し込む表データを画面に表示するためのメモ
リ上に確保された制御テーブルの内容を示す例示図であ
る。
FIG. 5 is an exemplary diagram showing contents of a control table secured on a memory for displaying table data to be inserted on a screen.

【図6】差し込む表データの内容を示す説明図である。FIG. 6 is an explanatory diagram showing the contents of table data to be inserted.

【図7】組み版処理が実行される前の差し込みコマンド
の一例を示す説明図である。
FIG. 7 is an explanatory diagram showing an example of a merge command before a typesetting process is executed.

【図8】組み版処理が実行された後の差し込みコマンド
の一例を示す説明図である。
FIG. 8 is an explanatory diagram showing an example of a merge command after a typesetting process has been executed.

【図9】差し込む表データと差し込みコマンドの関係を
示す説明図である。
FIG. 9 is an explanatory diagram showing a relationship between table data to be inserted and an insert command.

【図10】差し込みコマンドに表データを格納する流れ
を示すフローチャートである。
FIG. 10 is a flowchart showing a flow of storing table data in a merge command.

【図11】差し込みコマンドに表データを格納する流れ
を示すフローチャートである。
FIG. 11 is a flowchart showing a flow of storing table data in a merge command.

【図12】差し込みコマンドに表データを格納する前の
内容と、格納後の内容を対比させた例示図である。
FIG. 12 is an exemplary diagram comparing the contents before storing the table data in the insertion command with the contents after storing.

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

1 CRT表示部 2 ビデオRAM(VRAM) 3 CRT表示制御部 4 マイクロプロセッサ(MPU) 5 メモリ 6 ハードディスク装置 7 I/Oバス 8 キーボード 9 ポインティングデバイス 10 プリンタ 11 フロッピィディスク 1 CRT display unit 2 Video RAM (VRAM) 3 CRT display control unit 4 Microprocessor (MPU) 5 Memory 6 Hard disk device 7 I / O bus 8 Keyboard 9 Pointing device 10 Printer 11 Floppy disk

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文書中の差し込み位置に記載されたコマ
ンドにより別ファイルの表データの差し込み印刷を実行
可能な文書処理装置において、 編集中の文書の中の前記コマンドを選択的に指示する指
示手段と、 当該されたコマンドに対応の表データを前記別ファイル
から読出す読出し手段と、 当該読出した表データを前記編集中の文書内に組み版す
る組み版手段とを具えたことを特徴とする文書処理装
置。
1. A document processing apparatus capable of executing a merge print of table data of another file by a command described at a merge position in a document, and an instruction means for selectively instructing the command in the document being edited. And reading means for reading out the table data corresponding to the issued command from the separate file, and typesetting means for typesetting the read table data in the document being edited. Document processing device.
JP4175559A 1992-07-02 1992-07-02 Document processor Pending JPH0619907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4175559A JPH0619907A (en) 1992-07-02 1992-07-02 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4175559A JPH0619907A (en) 1992-07-02 1992-07-02 Document processor

Publications (1)

Publication Number Publication Date
JPH0619907A true JPH0619907A (en) 1994-01-28

Family

ID=15998202

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4175559A Pending JPH0619907A (en) 1992-07-02 1992-07-02 Document processor

Country Status (1)

Country Link
JP (1) JPH0619907A (en)

Similar Documents

Publication Publication Date Title
JPS59104693A (en) Character reduction layout display method
JPH0619907A (en) Document processor
JPS6320666A (en) document processing device
JPH0619906A (en) Document processor
JPH0522933B2 (en)
JP2606579B2 (en) Character display device
JP2599433Y2 (en) Memory protection device for each memory board in a multiprocessor system
JP2700001B2 (en) Character data output device
JPS644188B2 (en)
JP3404770B2 (en) Document processing device
JP2593457B2 (en) Information display method
JP2995630B2 (en) Document data processing device
JP2672548B2 (en) Document creation device
JP2834882B2 (en) Document creation device
JP2922372B2 (en) Text processing device in the area
JPH0749851A (en) Document shaping device
JPS59201129A (en) Document producer
JPH0567089A (en) Document creation device
JPH1011514A (en) Table preparing method
JPS61241865A (en) document editing device
JPH07152734A (en) Document information processing device
JPH01149165A (en) Document processor
JPH0769898B2 (en) Document processor
JPH0744541A (en) Word processor and display method in the word processor
JPH08171555A (en) Word processor