JPH08249319A - Document preparing device - Google Patents

Document preparing device

Info

Publication number
JPH08249319A
JPH08249319A JP7054150A JP5415095A JPH08249319A JP H08249319 A JPH08249319 A JP H08249319A JP 7054150 A JP7054150 A JP 7054150A JP 5415095 A JP5415095 A JP 5415095A JP H08249319 A JPH08249319 A JP H08249319A
Authority
JP
Japan
Prior art keywords
page
header
document
printing
information
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
JP7054150A
Other languages
Japanese (ja)
Inventor
Yoshifusa Togawa
好房 外川
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP7054150A priority Critical patent/JPH08249319A/en
Publication of JPH08249319A publication Critical patent/JPH08249319A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE: To eliminate the need for troublesome editing operation and to facilitate the page-by-page detailed specification of a document format and a printing format by determines attributes regarding display or printing, page by page, on the basis of header information and displaying or printing a specified document. CONSTITUTION: An editing/display control means 13 performs editing and display control over header information 16-1 and text data 16-2. Further, a printing control means 18 reads the object header information 16-1 and text data 16-2 to be processed out of a data storage part 16 and controls a printing process when a key decision means 11 decides that an input key is the specification of the printing process. At the printing time, it is decided which of page header information and 'no-header' information a page to be printed has, and a page having a page header is printed by referring to printing format information of a top header and a page header and a 'no-header' page is printed by referring to only printing format information of the top header.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は,文書の頁ごとに縦・横
等のフォーマットが異なる印刷を簡易に指定することが
できるようにした文書作成装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document creating apparatus capable of easily designating printing with different vertical / horizontal formats for each page of a document.

【0002】[0002]

【従来の技術】図13は従来の文書作成装置の構成例,
図14は従来技術による文書ファイルのデータの構成例
を示す。
2. Description of the Related Art FIG. 13 shows an example of the configuration of a conventional document creating apparatus,
FIG. 14 shows an example of the data structure of a document file according to the prior art.

【0003】図13において,81はキーボード等の入
力装置,82は表示装置,83は印刷装置,90はCP
Uおよびメモリ等からなる処理装置,91は入力装置8
1から入力したキーを判定するキー判定手段,92は入
力したキーに応じた処理を行う入力処理手段,93は文
書の編集および表示制御を行う編集/表示制御手段,9
4は文書ファイルのデータを記憶するデータ記憶部,9
5はテキストデータの作成・更新を行うテキストデータ
処理手段,96は文書の表示処理を行う表示処理手段,
97は文書の印刷制御を行う印刷制御手段,98は文書
データを印刷装置83に出力する印刷処理手段を表す。
In FIG. 13, reference numeral 81 is an input device such as a keyboard, 82 is a display device, 83 is a printing device, and 90 is a CP.
U is a processing device including a memory and the like, and 91 is an input device 8.
1 is a key determination means for determining a key input from 1; 92 is an input processing means for performing processing according to the input key; 93 is an edit / display control means for performing document editing and display control;
4 is a data storage unit for storing the data of the document file, 9
Reference numeral 5 is a text data processing means for creating / updating text data, 96 is a display processing means for displaying a document,
Reference numeral 97 denotes a print control means for controlling the printing of the document, and 98 denotes a print processing means for outputting the document data to the printing device 83.

【0004】図13に示すような従来の文書作成装置に
おいて,データ記憶部94中の文書ファイルは,図14
に示すように,文書形式(文書属性)または印刷形式の
情報を設定した1つのヘッダ情報を持ち,同一文書内で
あれば全頁が,このヘッダ情報で指定された文書形式ま
たは印刷形式で制御されていた。したがって,同一文書
内では,頁ごとに異なる文書形式(文書属性)や印刷形
式を指定して印刷することができなかった。
In the conventional document creating apparatus as shown in FIG. 13, the document file in the data storage unit 94 is as shown in FIG.
As shown in, it has one header information in which document format (document attribute) or print format information is set, and if all pages are in the same document, all pages are controlled by the document format or print format specified by this header information. It had been. Therefore, it is not possible to specify a different document format (document attribute) or print format for each page and print in the same document.

【0005】このため,用紙サイズを変えて印刷する場
合,また,頁ごとに縦方向または横方向の印刷を組み合
わせて印刷する場合等,1文書中のデータを複数の印刷
形式を用いて印刷する場合には,次のように印刷時の操
作が煩雑になるという問題があった。
For this reason, the data in one document is printed using a plurality of printing formats, for example, when printing is performed with different paper sizes, or when printing is performed by combining vertical or horizontal printing for each page. In this case, there is a problem that the operation at the time of printing becomes complicated as follows.

【0006】 1文書として使用する文書であって
も,同一の印刷形式を設定した頁ごとに分割した複数の
ファイルを作成して印刷しなければならない。 1文書ファイルの場合には,印刷形式が異なる頁ご
とに対応する印刷形式の設定を変更して,印刷形式ごと
に操作を分けて何度も印刷しなければならない。
Even for a document used as one document, it is necessary to create and print a plurality of files divided for each page in which the same print format is set. In the case of a single document file, it is necessary to change the setting of the print format corresponding to each page having a different print format, and perform the operation for each print format to print many times.

【0007】特に,複数サイズの用紙のセットや,両面
印刷が可能な印刷装置があるにもかかわらず,例えば名
刺や葉書の両面印刷を1つの印刷処理として行うことが
できず,このような印刷装置の性能を十分に発揮させる
ことができないという問題があった。
[0007] In particular, even though there are plural sizes of sheets to be set and a printing device capable of double-sided printing, double-sided printing of, for example, business cards and postcards cannot be performed as one printing process, and such printing is performed. There is a problem that the performance of the device cannot be fully exhibited.

【0008】また,最終的には1つの文書となるべき文
書を,単に印刷処理のために複数の文書ファイルに分割
する必要が生じ,文書ファイルの管理が煩雑となるとい
う問題もあった。
[0008] Further, there is a problem in that a document that should eventually become one document needs to be divided into a plurality of document files for print processing, and the management of the document files becomes complicated.

【0009】以上のような問題を解決するため,1つの
文書ファイルにより各頁ごとに異なる書式指定のプリン
トが可能なワードプロセッサの書式指定方法が,特開平
5−342207号公報等に示されている。この方法
は,ワードプロセッサに接続されている外部記憶装置内
に総合ヘッダ領域を設け,指定された文書名を含み入力
すべきすべての頁について書式指定と最終頁には最終頁
であることを示す符号を付して記憶させ,さらに作成す
べき各頁に対応した個別ヘッダ領域とこれらに対応する
文書格納領域を設け,個別ヘッダ領域には該当する1頁
分の書式指定と,該当頁と,最終頁かその他の別と,前
後の頁と該当頁の持つポインタ値を記憶させ,また,こ
れら個別ヘッダ領域にそれぞれ対応する文書格納領域内
に文書データを記憶させる。そして,個別ヘッダ領域に
従った書式指定に応じた書式で各頁ごとにプリンタで印
字させる方法である。
In order to solve the above problems, Japanese Patent Laid-Open Publication No. 5-342207 discloses a method of specifying the format of a word processor which enables printing with different format specifications for each page by one document file. . In this method, a total header area is provided in the external storage device connected to the word processor, and all the pages including the specified document name to be input are designated and the final page is a code indicating that it is the final page. A header area corresponding to each page to be created and a document storage area corresponding to these pages are provided, and the format specification for the corresponding page, the corresponding page, and the final page are provided in the individual header area. Whether the page is another or not, the preceding and following pages and the pointer values of the corresponding page are stored, and the document data is stored in the document storage areas respectively corresponding to these individual header areas. Then, the printer prints each page in a format according to the format designation according to the individual header area.

【0010】[0010]

【発明が解決しようとする課題】しかし,文書ファイル
の書式を上記のような総合ヘッダ領域と個別ヘッダ領域
とで管理する方法は,総合ヘッダ領域内に個別ヘッダ領
域に設定すべき各頁の情報を保持しなければならず,頁
が変わるごとにその頁の情報を総合ヘッダ領域から取り
出して,個別ヘッダ領域に当てはめる操作が必要になる
という問題がある。また,この方法は,予め決められた
サイズの中に文書を入れておくといった操作はよいが,
削除や追加の編集によって各頁間のずれが生じた場合,
個別ヘッダ領域の情報を更新するだけではなく,総合ヘ
ッダ領域の情報を更新し,各個別ヘッダ領域と文書格納
領域のポインタを張り替えておく必要があるという問題
がある。
However, the method of managing the format of the document file by the above-mentioned general header area and individual header area is the information of each page to be set in the individual header area in the general header area. Must be held, and there is a problem that every time the page changes, it is necessary to take out the information of the page from the general header area and apply it to the individual header area. Also, this method is good for operations such as putting a document in a predetermined size,
If a page gap occurs due to deletion or additional editing,
There is a problem that not only the information in the individual header area but also the information in the general header area needs to be updated, and the pointers of the individual header areas and the document storage areas need to be switched.

【0011】本発明は上記問題点の解決を図り,ディフ
ォルトのヘッダ情報と各頁のヘッダ情報を差分情報で持
つことにより,文書の追加,削除等が頁間にまたがる場
合にも,煩わしい編集操作を不要とし,かつ頁ごとのき
め細かな文書形式および印刷形式の指定を簡易に行うこ
とができるようにすることを目的とする。
The present invention solves the above-mentioned problems and has the default header information and the header information of each page as difference information, so that even when the addition or deletion of a document spans pages, a troublesome editing operation is performed. It is an object of the present invention to eliminate the need for and to easily specify the detailed document format and print format for each page.

【0012】[0012]

【課題を解決するための手段】本発明は,上記の課題を
解決するために,例えば図1に示すような手段を持つ。
図1において,1はCPUおよびメモリ等からなる処理
装置,2はキーボード等の入力装置,3は表示装置,4
は印刷装置を表す。処理装置1において,11は入力装
置2から入力したキーを判定するキー判定手段,12は
入力したキーに応じた処理を行う入力処理手段,13は
文書の編集および表示制御を行う編集/表示制御手段,
14は各頁ごとのヘッダ情報を操作するヘッダ情報処理
手段,15はテキストデータの作成・更新を行うテキス
トデータ処理手段,16は文書ファイルのデータを記憶
するデータ記憶部であって,その中の16−1はヘッダ
情報,16−2はテキストデータを表す。17は文書の
ヘッダ情報に従った表示処理を行う表示処理手段,18
は文書の頁ごとの印刷形式に従って印刷制御を行う印刷
制御手段,19は印刷制御手段18によって指示された
データを印刷装置4に出力する印刷処理手段を表す。
The present invention has means, for example, as shown in FIG. 1 in order to solve the above problems.
In FIG. 1, 1 is a processing device including a CPU and memory, 2 is an input device such as a keyboard, 3 is a display device, 4
Represents a printing device. In the processing device 1, 11 is a key determination means for determining a key input from the input device 2, 12 is an input processing means for performing a process according to the input key, and 13 is an edit / display control for performing editing and display control of a document. means,
Reference numeral 14 is a header information processing means for operating header information for each page, 15 is a text data processing means for creating / updating text data, and 16 is a data storage section for storing data of a document file. 16-1 represents header information and 16-2 represents text data. Reference numeral 17 is a display processing means for performing display processing according to the header information of the document, and 18
Is a print control means for performing print control according to the print format for each page of the document, and 19 is a print processing means for outputting the data instructed by the print control means 18 to the printer 4.

【0013】入力装置2は,キーボード,マウス等から
なり,テキストデータ,ヘッダの指定,また印刷操作の
指示等を入力する手段である。キー判定手段11は,入
力装置2からの入力キーを判定する。入力処理手段12
は,キー判定手段11により,入力装置2の入力キーが
文字入力や編集処理の指定と判定された場合に,その指
定情報を編集/表示制御手段13,テキストデータ処理
手段15に渡す。
The input device 2 is composed of a keyboard, a mouse, and the like, and is a means for inputting text data, a header designation, a print operation instruction, and the like. The key determination means 11 determines the input key from the input device 2. Input processing means 12
When the key determination means 11 determines that the input key of the input device 2 is the designation of character input or edit processing, the designated information is passed to the edit / display control means 13 and the text data processing means 15.

【0014】編集/表示制御手段13は,ヘッダ情報1
6−1およびテキストデータ16−2の編集および表示
制御を行う手段であり,編集制御手段と表示制御手段と
を別々に設けることも可能である。
The editing / display control means 13 uses the header information 1
6-1 and text data 16-2 are means for editing and display control, and the edit control means and the display control means can be provided separately.

【0015】ヘッダ情報処理手段14は,編集/表示制
御手段13において,ヘッダ情報16−1の編集が行わ
れる場合に,データ記憶部16のヘッダ情報16−1の
読み出しまたは書き込み等の処理を行う。テキストデー
タ処理手段15は,編集/表示制御手段13において,
テキストデータ16−2の編集が行われる場合に,デー
タ記憶部16のテキストデータ16−2の読み出しまた
は書き込み等の処理を行う。
The header information processing means 14 performs processing such as reading or writing of the header information 16-1 of the data storage section 16 when the editing / display control means 13 edits the header information 16-1. . The text data processing means 15 includes the editing / display control means 13,
When the text data 16-2 is edited, the text data 16-2 in the data storage unit 16 is read or written.

【0016】データ記憶部16は,ヘッダ情報16−1
およびテキストデータ16−2からなる文書ファイルを
記憶する。ヘッダ情報16−1は,1文書ファイルの全
体の文書形式/印刷形式情報であるトップヘッダ(ディ
フォルトヘッダ)と,各頁ごとの文書形式/印刷形式情
報である頁ヘッダとからなる。
The data storage unit 16 has header information 16-1.
A document file including the text data 16-2 is stored. The header information 16-1 includes a top header (default header) that is the document format / print format information of the entire one document file and a page header that is the document format / print format information for each page.

【0017】トップヘッダは,文書ファイルに1つ作成
され,印刷文書,印刷部数,印刷開始頁,印刷終了頁,
印刷用紙サイズ,印刷方向(縦/横印刷),印刷面指定
(表面/裏面印刷),圧縮印刷等の印刷形式に関する情
報が記録される。これらの情報は文書ファイルの各頁に
共通の情報である。
One top header is created in the document file, and the print document, the number of copies, the print start page, the print end page,
Information about print formats such as print paper size, print direction (vertical / horizontal print), print side designation (front / back print), and compressed print is recorded. These pieces of information are common to each page of the document file.

【0018】頁ヘッダは,トップヘッダで設定された印
刷形式(表示形式も同様)とは異なる形式で印刷を行う
頁ごとに作成される。頁ヘッダには,トップヘッダと異
なる設定情報のみが記録され,頁ヘッダを持つ頁を印刷
するときには,トップヘッダと対応する頁ヘッダとの両
方を参照し,その設定情報をもとに印刷制御が行われ
る。
The page header is created for each page to be printed in a format different from the printing format (display format is the same) set in the top header. Only the setting information different from the top header is recorded in the page header. When printing a page with a page header, both the top header and the corresponding page header are referenced, and the print control is performed based on that setting information. Done.

【0019】トップヘッダと同一の印刷形式で印刷する
頁には,「ヘッダなし」という情報のみが付与され,頁
ヘッダは作成されない。この場合には,トップヘッダの
設定情報だけをもとに印刷制御が行われる。
A page to be printed in the same printing format as the top header is given only the information "no header", and no page header is created. In this case, print control is performed based only on the setting information of the top header.

【0020】テキストデータ16−2は,文書ファイル
のテキストデータである。表示処理手段17は,編集/
表示制御手段13において,ヘッダ情報16−1および
テキストデータ16−2の表示が必要な場合に,表示装
置3への表示処理を行う。
The text data 16-2 is text data of a document file. The display processing means 17 edits /
In the display control means 13, when it is necessary to display the header information 16-1 and the text data 16-2, display processing on the display device 3 is performed.

【0021】印刷制御手段18は,キー判定手段11に
より,入力キーが印刷処理の指定と判定された場合に,
印刷処理の対象となるヘッダ情報16−1およびテキス
トデータ16−2をデータ記憶部16から読み出し,印
刷処理の制御を行う手段である。印刷処理手段19は,
印刷制御手段18から指示されたデータを印刷装置4に
より印刷する手段である。特に,印刷制御手段18は,
ヘッダ情報16−1中に,表面印刷または裏面印刷のど
ちらを行うかを指定する情報がある場合に,表面印刷ま
たは裏面印刷の指定情報に従って各頁ごとに表面印刷ま
たは裏面印刷の切り替えを制御する。印刷装置4は,シ
リアルプリンタやページプリンタ等からなり,テキスト
データ16−2をヘッダ情報16−1で指定された印刷
形式で印刷する装置である。
The print control means 18 is provided when the key determination means 11 determines that the input key is designated for print processing.
This is a means for controlling the print processing by reading the header information 16-1 and the text data 16-2 that are the target of the print processing from the data storage unit 16. The print processing means 19 is
It is means for printing the data instructed by the print control means 18 by the printing device 4. In particular, the print control means 18 is
When the header information 16-1 includes information designating whether to perform front-side printing or back-side printing, switching between front-side printing or back-side printing is controlled for each page according to the designation information for front-side printing or back-side printing. . The printing device 4 includes a serial printer, a page printer, and the like, and is a device that prints the text data 16-2 in the printing format designated by the header information 16-1.

【0022】[0022]

【作用】本発明では,文書ファイルのデータ記憶部16
中に,共通する文書形式/印刷形式としてトップヘッダ
を持ち,さらにトップヘッダに設定された情報と異なる
印刷形式で印刷する頁に対し,その頁固有の印刷形式情
報であって,トップヘッダの印刷形式情報と異なる印刷
形式情報のみを設定した頁ヘッダを,ヘッダ情報16−
1として持つ。トップヘッダと同一の印刷形式情報によ
る印刷をする頁に対しては「ヘッダなし」を表す情報を
付与する。
In the present invention, the data storage unit 16 for the document file
For a page that has a top header as a common document format / print format and is printed in a print format different from the information set in the top header, the print format information unique to that page, and the top header print The page header in which only the print format information different from the format information is set is the header information 16-
Have as 1. Information indicating "no header" is added to a page to be printed with the same print format information as the top header.

【0023】印刷時には,印刷対象となる頁が,頁ヘッ
ダまたは「ヘッダなし」のどちらの情報を持つかを判定
して,頁ヘッダを持つ頁の場合には,トップヘッダと頁
ヘッダとの印刷形式情報を参照して印刷を行い,「ヘッ
ダなし」の頁の場合には,トップヘッダの印刷形式情報
のみを参照して印刷を行う。
At the time of printing, it is determined whether the page to be printed has information of a page header or "no header". If the page has a page header, the top header and the page header are printed. Printing is performed by referring to the format information, and in the case of a "no header" page, printing is performed by referencing only the print format information of the top header.

【0024】これにより,印刷形式情報を最小限にし,
文書ファイルの全体の文書形式/印刷形式が変更された
場合であっても,トップヘッダだけを変更するだけでよ
い。また,文書の作成または編集途中に,頁の追加,削
除,移動・複写等の処理が行われて,頁の順序等が変更
されても,各頁の頁ヘッダは,テキストデータの頁に連
結して保持され,テキストデータの頁の追加,削除等に
対応して頁ヘッダ自体が追加,削除されるので,頁ごと
の印刷形式と文書内容との整合性を保つことができ,印
刷の効率だけでなく,文書作成・編集の効率も向上す
る。
This minimizes the print format information,
Even if the entire document format / print format of the document file is changed, only the top header needs to be changed. Even if the order of pages is changed by adding, deleting, moving or copying pages while creating or editing a document, the page header of each page is linked to the page of text data. The page header itself is added / deleted in response to the addition / deletion of text data pages, so that the consistency between the print format and the document content for each page can be maintained and the printing efficiency can be improved. Not only that, but the efficiency of document creation and editing is also improved.

【0025】[0025]

【実施例】図2は,本発明の実施例の構成を示す図であ
る。図2において,20はキー判定部,21は一般キー
の解析部,22は特殊キーの解析部,23はコマンドの
解析部,25は入力処理部,30は編集/表示制御部,
31は機能選択部,32はステータステーブル,33は
ヘッダ情報指定部,34は追加処理部,35は削除処理
部,36は複写・移動処理部,37は追加/削除/複写
・移動による頁ヘッダ制御部,40はヘッダ情報処理
部,50はテキストデータ処理部,55は表示処理部,
60は印刷制御部,61はヘッダ情報制御部,62は各
頁印刷制御部,70はプリンタ印刷制御部,71は片面
印刷制御部,72は両面印刷制御部を表す。図1と同符
号のものは図1に示すものに対応する。
FIG. 2 is a diagram showing the configuration of an embodiment of the present invention. In FIG. 2, 20 is a key determination unit, 21 is a general key analysis unit, 22 is a special key analysis unit, 23 is a command analysis unit, 25 is an input processing unit, 30 is an editing / display control unit,
Reference numeral 31 is a function selection unit, 32 is a status table, 33 is a header information designation unit, 34 is an addition processing unit, 35 is a deletion processing unit, 36 is a copy / move processing unit, and 37 is a page header by addition / deletion / copy / move A control unit, 40 is a header information processing unit, 50 is a text data processing unit, 55 is a display processing unit,
Reference numeral 60 is a print control unit, 61 is a header information control unit, 62 is a page print control unit, 70 is a printer print control unit, 71 is a single-sided print control unit, and 72 is a double-sided print control unit. The same reference numerals as those in FIG. 1 correspond to those shown in FIG.

【0026】入力装置2は,キーボード,マウス等から
なり,テキストデータ,ヘッダの指定等を入力する手段
である。キー判定部20は,入力装置2からの入力キー
を判定する。一般キーからの入力は一般キーの解析部2
1で,仮名漢字変換キー等の特殊キーの入力は特殊キー
の解析部22で,ファンクションキー等からの入力やメ
ニュー等によるコマンドの入力はコマンドの解析部23
で判定する。
The input device 2 comprises a keyboard, a mouse, etc., and is means for inputting text data, designation of a header and the like. The key determination unit 20 determines the input key from the input device 2. Input from the general key is the general key analysis unit 2
1, a special key such as a Kana-Kanji conversion key is input by the special key analysis unit 22, and a command input by a function key or a menu is input by the command analysis unit 23.
Determine with.

【0027】入力処理部25は,キー判定部20によ
り,入力装置2の入力キーが入力,編集,表示処理の指
定と判定された場合に,入力情報をテキストデータ処理
部50へ,編集処理の情報を編集/表示制御部30へ,
表示処理の情報を表示処理部55へ渡す。
The input processing section 25 sends the input information to the text data processing section 50 when the key determination section 20 determines that the input key of the input device 2 is designated for input, edit, and display processing. Information to the editing / display control unit 30,
The display processing information is passed to the display processing unit 55.

【0028】編集/表示制御部30は,入力処理部25
からの指示情報を,各処理のステータスを定めたステー
タステーブル32をもとに機能選択部31により判定し
て,ヘッダ情報指定部33,追加処理部34,削除処理
部35,複写・移動処理部36の各処理部を選択してそ
れぞれの処理を行う。
The editing / display control unit 30 includes an input processing unit 25.
From the status table 32 that defines the status of each process, the function selection unit 31 determines the header information specification unit 33, the addition processing unit 34, the deletion processing unit 35, the copy / movement processing unit. Each processing unit of 36 is selected and each processing is performed.

【0029】ヘッダ情報指定部33は,トップヘッダお
よび頁ごとの頁ヘッダの情報または「ヘッダなし」を指
定する手段である。追加処理部34は,文書ファイルに
テキストデータを追加する処理手段である。削除処理部
35は,文書ファイルからテキストデータを削除する処
理手段である。複写・移動処理部36は,文書ファイル
中のテキストデータを複写または移動する処理手段であ
る。
The header information designation section 33 is means for designating information of the top header and page header for each page or "no header". The addition processing unit 34 is a processing unit that adds text data to the document file. The deletion processing unit 35 is a processing unit that deletes text data from a document file. The copy / move processing unit 36 is a processing unit that copies or moves the text data in the document file.

【0030】追加/削除/複写・移動による頁ヘッダ制
御部37は,テキストデータが追加,削除,複写または
移動された場合に,対応する頁ヘッダを追加,削除,複
写または移動する手段である。
The page header control unit 37 for adding / deleting / copying / moving is means for adding, deleting, copying or moving a corresponding page header when text data is added, deleted, copied or moved.

【0031】ヘッダ情報処理部40は,編集/表示制御
部30においてヘッダ情報の編集が行われる場合に,デ
ータ記憶部16のヘッダ情報16−1の読み出し,また
は書き込み等の処理を行う。テキストデータ処理部50
は,編集/表示制御部30においてテキストデータの編
集が行われる場合に,データ記憶部16のテキストデー
タ16−2の読み出し,または書き込み等の処理を行
う。
The header information processing unit 40 performs processing such as reading or writing of the header information 16-1 in the data storage unit 16 when the editing / display control unit 30 edits the header information. Text data processing unit 50
Performs a process such as reading or writing of the text data 16-2 of the data storage unit 16 when the editing / display control unit 30 edits the text data.

【0032】データ記憶部16は,ヘッダ情報16−1
およびテキストデータ16−2からなる文書ファイルを
記憶する手段である。ヘッダ情報16−1は,1文書フ
ァイルの全頁に共通する文書形式/印刷形式の情報であ
るトップヘッダ(ディフォルトヘッダとして用いられ
る)と,各頁ごとの文書形式/印刷形式情報である各頁
ヘッダとからなる。
The data storage unit 16 has header information 16-1.
And a document file consisting of the text data 16-2. The header information 16-1 includes a top header (used as a default header) which is information of a document format / print format common to all pages of one document file, and each page which is document format / print format information for each page. It consists of a header.

【0033】トップヘッダには,例えば文書番号,文書
題名,版数,文書保護の有無,文書頁数,印刷部数,1
頁の行数,頁番号初期値,印刷開始頁,印刷終了頁,印
刷用紙サイズ,印刷方向(縦/横印刷),印刷面指定
(表面/裏面印刷),圧縮印刷等の文書形式または印刷
形式に関する情報が指定されている。
In the top header, for example, the document number, the document title, the version number, the presence / absence of document protection, the number of document pages, the number of print copies, 1
Number of page lines, page number initial value, print start page, print end page, print paper size, print direction (vertical / horizontal print), print side designation (front / back print), compressed print etc. document format or print format Information is specified.

【0034】各頁ヘッダには,トップヘッダとの異なる
印刷情報のみが指定される。例えば,トップヘッダにお
いて印刷方向を「横」と指定したときに,ある頁だけ縦
方向に印刷する場合には,対応する頁ヘッダを作成し,
その中で印刷方向「縦」のみの印刷形式情報を指定す
る。トップヘッダと同一の印刷形式を指定する頁につい
ては,「ヘッダなし」という情報のみを付与する。
In each page header, only print information different from the top header is designated. For example, if you specify "horizontal" as the print direction in the top header, and you want to print only a certain page in the vertical direction, create the corresponding page header,
Among them, the print format information of only the print direction “portrait” is designated. For pages that specify the same print format as the top header, only the information "no header" is added.

【0035】テキストデータ16−2は,文書ファイル
のテキストデータである。表示処理部55は,編集/表
示制御部30においてヘッダ情報16−1およびテキス
トデータ16−2の表示処理が指定された場合に,CR
Tディスプレイまたは液晶ディスプレイ等の表示装置3
への表示処理を行う。
The text data 16-2 is text data of a document file. The display processing unit 55, when the display process of the header information 16-1 and the text data 16-2 is designated by the edit / display control unit 30, performs CR.
Display device 3 such as T display or liquid crystal display
Display processing is performed.

【0036】印刷制御部60は,キー判定部20によ
り,入力キーが印刷処理の指定と判定された場合に,印
刷処理の制御を行う。ヘッダ情報制御部61は,データ
記憶部16から,印刷対象の文書ファイルのヘッダ情報
16−1を読み込み,印刷の対象となる頁ごとにトップ
ヘッダと対象頁の頁ヘッダとを参照して印刷制御を行
う。「ヘッダなし」が付与された頁は,トップヘッダの
みを参照して印刷制御を行う。各頁印刷制御部62は,
テキストデータ処理部16から印刷対象の文書ファイル
のテキストデータ16−2を読み込み,ヘッダ情報制御
部61の指定により印刷の対象となる頁のテキストデー
タを制御する。
The print control unit 60 controls the print processing when the key determination unit 20 determines that the input key is designated for the print processing. The header information control unit 61 reads the header information 16-1 of the document file to be printed from the data storage unit 16, and refers to the top header and the page header of the target page for each page to be printed and performs print control. I do. For pages to which "no header" is added, print control is performed by referring to only the top header. Each page print control unit 62
The text data 16-2 of the document file to be printed is read from the text data processing unit 16, and the text data of the page to be printed is controlled by the designation of the header information control unit 61.

【0037】プリンタ印刷制御部70は,印刷処理の対
象となるヘッダ情報およびテキストデータをデータ記憶
部16から読み出し,プリンタの種類に応じて片面印刷
制御部71により片面印刷用プリンタの制御を,また,
両面印刷制御部72により両面印刷用プリンタの制御を
行う。プリンタ印刷制御部70の制御により,印刷装置
4は,片面印刷用プリンタでも両面印刷用プリンタでも
どちらでも対応可能である。
The printer print control unit 70 reads header information and text data to be printed, from the data storage unit 16, and controls the single-sided printing printer by the single-sided print control unit 71 according to the type of printer. ,
The double-sided printing control unit 72 controls the printer for double-sided printing. Under the control of the printer print control unit 70, the printing device 4 can be either a single-sided printing printer or a double-sided printing printer.

【0038】図3は,本発明の実施例におけるヘッダ情
報およびテキストデータの構成を示す図である。1つの
文書ファイルは,ヘッダ情報とテキストデータからな
る。テキストデータは,従来の文書ファイルと同様に,
指定された頁内行数を超えたときに自動的に新しい頁に
移る。また,改頁キーによって任意な行位置に改頁コー
ドを付与し,改頁することができる。
FIG. 3 is a diagram showing the structure of header information and text data in the embodiment of the present invention. One document file consists of header information and text data. Text data, like a conventional document file,
Automatically move to a new page when the number of lines in the specified page is exceeded. Also, a page break code can be added to an arbitrary line position by the page break key to break the page.

【0039】ヘッダ情報として,トップヘッダ,各頁に
対応する頁ヘッダまたは頁ごとの「ヘッダなし」の情報
を持つ。トップヘッダには,図3に示すように,文書番
号,文書題名,版数,文書保護の有無,文書頁数,印刷
部数,1頁の行数,頁番号初期値,印刷開始頁,印刷終
了頁,印刷用紙サイズ,印刷方向(縦/横印刷),印刷
面指定(表面/裏面印刷),圧縮印刷等の文書形式また
は印刷形式に関する情報が指定される。
The header information has a top header, a page header corresponding to each page, or "no header" information for each page. In the top header, as shown in FIG. 3, the document number, the document title, the version number, the presence or absence of the document protection, the number of document pages, the number of print copies, the number of lines per page, the page number initial value, the print start page, the print end Information regarding the document format or print format such as page, print paper size, print direction (vertical / horizontal print), print side designation (front side / back side print), and compression printing is designated.

【0040】図3の例では,トップヘッダに,文書番
号:「1」,文書題名:「テキスト」,版数:「4
8」,文書保護:「なし」,文書頁数:「5」,印刷部
数:「1」,1頁の行数:「7」,頁番号初期値:
「1」,印刷開始頁:「1」,印刷終了頁:「3」,印
刷用紙サイズ:「B5」,印刷方向:「横」,印刷面:
「表」,圧縮印刷:「なし」と指定されている。
In the example of FIG. 3, the top header has a document number: "1", a document title: "text", and a version number: "4".
8 ”, document protection:“ none ”, document page number:“ 5 ”, number of prints:“ 1 ”, number of lines per page:“ 7 ”, page number initial value:
"1", printing start page: "1", printing end page: "3", printing paper size: "B5", printing direction: "width", printing surface:
"Table", compressed printing: "None" is specified.

【0041】従って,文書ファイル「テキスト」を印刷
する場合には,トップヘッダに指定された情報から,他
の指定情報がなければ,通常,B5の用紙サイズに,第
1頁から第3頁まで,全ての頁に7行ずつ表面にのみ,
横方向で1部ずつ片面印刷される。
Therefore, when the document file "text" is printed, from the information specified in the top header, if there is no other specified information, normally the paper size is B5, the first page to the third page. , 7 lines on every page, only on the front,
One side is printed on each side in the horizontal direction.

【0042】各頁ヘッダには,トップヘッダと異なる印
刷情報のみを設定する。例えば,第1頁を縦方向で印刷
したい場合には,印刷方向:「縦」(図3:第1頁ヘッ
ダの下線部)のみを指定した第1頁に対応する第1頁ヘ
ッダを作成する。印刷時には,トップヘッダと印刷対象
頁の頁ヘッダとの両方の印刷情報を参照した印刷処理が
行われる。
Only print information different from the top header is set in each page header. For example, when it is desired to print the first page in the vertical direction, the first page header corresponding to the first page in which only the print direction: “vertical” (FIG. 3: underlined portion of the first page header) is specified is created. . At the time of printing, print processing is performed with reference to print information of both the top header and the page header of the print target page.

【0043】同様に,第2頁を第1頁の裏面に1頁の行
数を6行で印刷したい場合には,1頁の行数:「6」,
印刷面:「裏」(図3:第2頁ヘッダの下線部)のみを
指定した第2頁に対応する第2頁ヘッダを作成する。ま
た,第3頁をトップヘッダと同一の印刷形式で印刷した
い場合には,第3頁ヘッダを作成するかわりに,「ヘッ
ダなし」を付与する。
Similarly, when it is desired to print the second page on the back side of the first page with the number of lines of one page being six, the number of lines of one page: "6",
Printing side: A second page header corresponding to the second page in which only "back" (FIG. 3: underlined portion of second page header) is designated is created. If the third page is to be printed in the same print format as the top header, “no header” is added instead of creating the third page header.

【0044】各頁ヘッダは,ヘッダ情報16−1内に頁
順に並べる形で格納しても,またポインタで管理する形
で格納してもよく,格納形式は任意である。「ヘッダな
し」の情報についても,フラグまたはnullポインタ
等により,インプリメント上は任意の形での管理が可能
である。
The page headers may be stored in the header information 16-1 in the order of pages or stored by the pointer, and the storage format is arbitrary. Information about "no header" can be managed in an arbitrary form in terms of implementation by a flag or a null pointer.

【0045】図4は,図3に示すようなトップヘッダお
よび頁ヘッダの印刷形式の指定による印刷結果を示す図
である。このように,各頁に頁ヘッダを設けることによ
り,多様な印刷形式での印刷を単一処理として行うこと
ができる。
FIG. 4 is a diagram showing a print result by designating the print formats of the top header and the page header as shown in FIG. In this way, by providing a page header for each page, printing in various printing formats can be performed as a single process.

【0046】図5および図6は,本発明の実施例におけ
る挿入処理の処理フローチャートである。挿入指示の入
力の種類として,本実施例では,単なる「挿入」キーだ
けの入力,「拡張」キーと「挿入」キーの同時打鍵によ
る入力,「拡張」キーと「シフト」キーと「挿入」キー
の同時打鍵による入力,「拡張」キーと「ALT」キー
と「挿入」キーの同時打鍵による入力がある。「挿入」
キーだけの入力の場合,通常の挿入であり,挿入によっ
て頁が増えた場合には挿入箇所の後ろの頁の頁ヘッダが
複写される。「拡張+挿入」キーの入力の場合,1文字
入力であり,カーソルが存在する行に1文字が追加され
る。この入力では新しい頁が増えることはない。「拡張
+シフト+挿入」キーの入力の場合,挿入によって頁が
増えた場合には,その増えた頁には「ヘッダなし」の属
性が与えられ,トップヘッダのディフォルト情報が有効
となる。「拡張+ALT+挿入」キーの入力の場合,挿
入によって頁が増えた場合には前の頁の頁ヘッダが複写
される。
FIGS. 5 and 6 are processing flowcharts of the insertion processing in the embodiment of the present invention. In the present embodiment, as the type of the input of the insertion instruction, only the "insert" key is input, the "expand" key and the "insert" key are simultaneously typed, and the "expand" key, the "shift" key and the "insert" key are input. There are two types of input: simultaneous key input of keys, simultaneous input of "extension" key, "ALT" key, and "insert" key. "Insert"
In the case of inputting only the key, it is a normal insertion, and when the page is increased by the insertion, the page header of the page after the insertion point is copied. In the case of inputting the "expansion + insertion" key, one character is input, and one character is added to the line where the cursor is. This input does not add new pages. In the case of inputting the "expansion + shift + insertion" key, when the page is increased by the insertion, the attribute "no header" is given to the increased page, and the default information of the top header becomes effective. In the case of inputting the "expansion + ALT + insertion" key, when the number of pages is increased by the insertion, the page header of the previous page is copied.

【0047】図5において,挿入キーが入力された場
合,ステップ100の処理で,挿入キーの入力の種類を
判定し,入力されたキーが「挿入」キーだけであればス
テップ101の処理を行い,「拡張」キーと「挿入」キ
ーの同時打鍵であればステップ107の処理を行い,
「拡張」キーと「シフト」キーと「挿入」キーの同時打
鍵であればステップ111の処理(図6)を行い,「拡
張」キーと「ALT」キーと「挿入」キーの同時打鍵で
あればステップ117の処理(図6)を行う。
In FIG. 5, when the insert key is input, the type of input of the insert key is determined in the processing of step 100, and if the input key is only the "insert" key, the processing of step 101 is performed. If the "expand" key and the "insert" key are pressed at the same time, the process of step 107 is performed,
If the "expand" key, the "shift" key, and the "insert" key are pressed at the same time, the process of step 111 (FIG. 6) is performed to determine whether the "expand" key, the "ALT" key, and the "insert" key are pressed simultaneously. For example, the process of step 117 (FIG. 6) is performed.

【0048】ステップ101の処理で,挿入モードにす
る。ステップ102の処理で,挿入する文字を入力す
る。ステップ103の処理で,入力が終了キーであるか
どうかを判定し,終了キーであれば挿入処理を終了し,
終了キーでなければ次のステップ104の処理を行う。
In the processing of step 101, the insertion mode is set. In the process of step 102, the character to be inserted is input. In the process of step 103, it is determined whether or not the input is the end key, and if it is the end key, the insertion process is ended,
If it is not the end key, the processing of the next step 104 is performed.

【0049】ステップ104の処理で,文字の入力処理
を行い,テキストにデータを追加する。ステップ105
の処理で,カーソルが次頁に移動したかどうかを判定す
る。カーソルが次頁に移動していればステップ106の
処理を行い,移動していなければステップ102の処理
に戻る。
In step 104, character input processing is performed and data is added to the text. Step 105
By the processing of, it is determined whether or not the cursor has moved to the next page. If the cursor has moved to the next page, the process of step 106 is performed, and if not, the process returns to step 102.

【0050】ステップ106の処理で,挿入箇所の後ろ
の頁の頁ヘッダを複写して新しい頁の頁ヘッダを作成す
る。その後,ステップ102の処理に戻って,同様に処
理を繰り返す。
In the processing of step 106, the page header of the page after the insertion point is copied to create the page header of the new page. Then, the process returns to step 102 and the same process is repeated.

【0051】挿入指示の入力が「拡張+挿入」キーの場
合,ステップ107の処理で,1文字挿入モードにし
て,挿入部分に1文字分のスペースを空ける。ステップ
108の処理で,挿入する1文字を入力する。
If the input of the insertion instruction is the "expansion + insertion" key, the processing of step 107 is set to the one-character insertion mode to leave a space for one character in the insertion portion. In the process of step 108, one character to be inserted is input.

【0052】ステップ109の処理で,1文字の入力処
理を行い,テキストにデータを挿入する。挿入指示の入
力が「拡張+シフト+挿入」キーの場合,図6のステッ
プ111の処理で,挿入モードにする。
In the processing of step 109, one character is input and data is inserted into the text. When the input of the insertion instruction is the "expansion + shift + insertion" key, the insertion mode is set in the processing of step 111 of FIG.

【0053】ステップ112の処理で,文字を入力す
る。ステップ113の処理で,入力が終了キーであるか
どうかを判定し,終了キーであれば処理を終了し,終了
キーでなければステップ114の処理を行う。
In step 112, characters are input. In the processing of step 113, it is determined whether or not the input is the end key. If the input key is the end key, the processing is ended, and if it is not the end key, the processing of step 114 is performed.

【0054】ステップ114の処理で,文字の入力処理
を行い,テキストに挿入文字を追加する。ステップ11
5の処理で,カーソルが次頁に移動したかどうかを判定
する。カーソルが次頁に移動していればステップ116
の処理を行い,移動していなければステップ112の処
理に戻る。
In the processing of step 114, character input processing is performed, and the inserted character is added to the text. Step 11
In the process of 5, it is determined whether the cursor has moved to the next page. If the cursor moves to the next page, step 116
Processing is performed, and if not moved, the processing returns to step 112.

【0055】ステップ116の処理で,新しい頁に「ヘ
ッダなし」を付与し,その後,ステップ112の処理に
戻る。挿入指示の入力が「拡張+ALT+挿入」キーの
場合,図6のステップ117の処理で,挿入モードにす
る。
In the process of step 116, "no header" is added to the new page, and then the process returns to step 112. When the input of the insertion instruction is the "expansion + ALT + insertion" key, the insertion mode is set in the processing of step 117 in FIG.

【0056】ステップ118の処理で,文字を入力す
る。ステップ119の処理で,入力が終了キーであるか
どうかを判定し,終了キーであれば処理を終了し,終了
キーでなければステップ120の処理を行う。
In step 118, characters are input. In the processing of step 119, it is determined whether or not the input is the end key. If the input key is the end key, the processing is ended, and if it is not the end key, the processing of step 120 is performed.

【0057】ステップ120の処理で,文字の入力処理
を行い,テキストに挿入文字を追加する。ステップ12
1の処理で,カーソルが次頁に移動したかどうかを判定
する。カーソルが次頁に移動していればステップ122
の処理を行い,移動していなければステップ118の処
理に戻る。
In the processing of step 120, character input processing is performed, and an insertion character is added to the text. Step 12
In the processing of 1, it is determined whether or not the cursor has moved to the next page. If the cursor has moved to the next page, step 122
Processing is performed, and if it has not moved, the processing returns to step 118.

【0058】ステップ122の処理で,次の頁に頁ヘッ
ダがないかどうかを判定し,頁ヘッダがなければステッ
プ123の処理を行い,頁ヘッダがあればステップ11
8の処理に戻る。
In step 122, it is determined whether or not there is a page header on the next page. If there is no page header, step 123 is performed. If there is a page header, step 11 is executed.
Return to processing of 8.

【0059】ステップ123の処理で,前頁の頁ヘッダ
を複写して新しい頁の頁ヘッダを作成する。その後,ス
テップ118の処理に戻り,同様に処理を繰り返す。図
7は,本発明の実施例における削除処理の処理フローチ
ャートである。
In step 123, the page header of the previous page is copied to create the page header of the new page. After that, the process returns to the step 118, and the same process is repeated. FIG. 7 is a processing flowchart of the deletion processing in the embodiment of the present invention.

【0060】削除指示に関する入力があると,図7に示
すステップ200の処理で,削除キー入力の種類を判定
し,入力されたキーが「拡張+シフト+削除」であれば
ステップ201の処理を行い,「削除」であればステッ
プ204の処理を行い,「拡張+削除」であればステッ
プ209の処理を行う。
When there is an input related to the deletion instruction, the type of deletion key input is determined in the processing of step 200 shown in FIG. 7. If the input key is "expansion + shift + deletion", the processing of step 201 is executed. If it is “delete”, the process of step 204 is performed, and if it is “expansion + deletion”, the process of step 209 is performed.

【0061】「拡張+シフト+削除」キーの入力の場
合,ステップ201の処理で,削除モードに切り換え
る。ステップ202の処理で,削除範囲の指定を入力す
る。
When the "expansion + shift + deletion" key is pressed, the processing is switched to the deletion mode in step 201. In the process of step 202, the designation of the deletion range is input.

【0062】ステップ203の処理で,削除範囲の文書
テキストを削除するとともに,全頁削除となった頁の頁
ヘッダを削除し,削除処理を終了する。単に「削除」キ
ーだけの入力の場合,ステップ204の処理で,削除モ
ードに切り換える。
In the process of step 203, the document text in the deletion range is deleted, the page header of the page that has been deleted for all pages is deleted, and the deletion process ends. In the case of simply inputting only the "delete" key, the mode is switched to the delete mode in the processing of step 204.

【0063】ステップ205の処理で,削除範囲の指定
を入力する。ステップ206の処理で,削除範囲の文書
テキストを削除するとともに,全頁削除となった頁の頁
ヘッダを削除する。
In step 205, the designation of the deletion range is input. In the process of step 206, the document text in the deletion range is deleted, and the page header of the page where all pages are deleted is deleted.

【0064】次に,ステップ207の処理で,前頁の頁
ヘッダと異なる頁ヘッダを持つ1頁の文書の途中まで削
除したかどうかを判定する。削除している場合はステッ
プ208の処理を行い,削除していない場合は処理を終
了する。
Next, in the processing of step 207, it is determined whether or not a one-page document having a page header different from the page header of the previous page has been deleted halfway. If it has been deleted, the processing of step 208 is performed, and if it has not been deleted, the processing ends.

【0065】ステップ208の処理で,前頁との境に
「改頁」のコードを入れて文書を頁間で区切り,処理を
終了する。「拡張+削除」キーの入力の場合,ステップ
209の処理で,1文字削除する。この削除では,行内
の最終位置に「空白」文字が挿入され,削除が頁間にま
たがることはない。1文字削除した後,削除処理を終了
する。
In the process of step 208, the code of "page break" is inserted at the boundary with the previous page to divide the document into pages, and the process is completed. When the "expansion + deletion" key is input, one character is deleted in the processing of step 209. This delete inserts a "blank" character at the end of the line, so the delete does not span pages. After deleting one character, the deletion process ends.

【0066】図8から図10は,実施例における移動ま
たは複写処理の処理フローチャートである。図8におい
て,ステップ300の処理で,移動キーまたは複写キー
が入力され,入力されたキーが「移動」であればステッ
プ301の処理を行い,入力された「複写」であればス
テップ302の処理を行う。
8 to 10 are process flowcharts of the moving or copying process in the embodiment. In FIG. 8, if the move key or copy key is input in the process of step 300 and the input key is “move”, the process of step 301 is performed, and if the input key is “copy”, the process of step 302 I do.

【0067】「移動」キーの場合,ステップ301の処
理で,移動モードにする。「複写」キーの場合,ステッ
プ302の処理で,複写モードにする。次にステップ3
03の処理で,移動範囲または複写範囲の指定を入力す
る。
In the case of the "move" key, the move mode is set in the processing of step 301. If the "copy" key is selected, the copy mode is set in step 302. Next step 3
In the processing of 03, input the specification of the movement range or copy range.

【0068】ステップ304の処理で,現在のモードが
移動モードであるかどうかを判定する。移動モードであ
ればステップ305の処理を行い,移動モードでなけれ
ば(複写モード),ステップ310の処理(図9)へ進
む。
In step 304, it is determined whether the current mode is the moving mode. If it is the moving mode, the process of step 305 is performed. If it is not the moving mode (copy mode), the process proceeds to step 310 (FIG. 9).

【0069】ステップ305の処理で,移動範囲のデー
タを作業域に退避するとともに,削除範囲の文書テキス
トを削除し,また,全頁削除となった頁があれば,その
頁の頁ヘッダを削除する。
In the process of step 305, the data in the moving range is saved in the work area, the document text in the deleted range is deleted, and if there is a page in which all pages are deleted, the page header of that page is deleted. To do.

【0070】ステップ306の処理で,前頁の頁ヘッダ
と異なる指定内容の頁ヘッダを持つ1頁の文書の途中ま
でを削除したかどうかを判定する。削除した場合にはス
テップ307の処理を行い,削除していない場合にはス
テップ310の処理(図9)へ進む。
In the processing of step 306, it is determined whether or not the middle of the one-page document having the page header of the designated content different from the page header of the previous page has been deleted. If it has been deleted, the process of step 307 is performed, and if it has not been deleted, the process proceeds to step 310 (FIG. 9).

【0071】ステップ307の処理で,「頁区切りあ
り」または「頁区切りなし」のいずれかの指定情報を入
力する。ステップ308の処理で,入力が「頁区切りあ
り」であるかどうかを判定する。入力が「頁区切りあ
り」の場合にはステップ309の処理を行い,入力が
「頁区切りあり」でない場合にはステップ310の処理
(図9)へ進む。
In the process of step 307, the designation information of "with page break" or "without page break" is input. In the process of step 308, it is determined whether the input is “with page break”. If the input is "with page breaks", the process of step 309 is performed, and if the input is not "with page breaks", the process proceeds to step 310 (FIG. 9).

【0072】ステップ309の処理で,前頁との境に
「改頁」のコードを入れて文書を頁間で区切る。図9に
示すステップ310の処理では,移動位置または複写位
置のカーソル位置情報を入力するとともに,取消(取消
キー),1回複写(実行キー),複数回複写(拡張+実
行キー)のいずれかを入力する。
In the process of step 309, the code "page break" is inserted at the boundary with the previous page to divide the document into pages. In the processing of step 310 shown in FIG. 9, the cursor position information of the movement position or the copy position is input, and any one of the cancel (cancel key), the once copy (execution key), and the multiple copies (extension + execute key) is input. Enter.

【0073】ステップ311の処理で,入力が取消キー
かどうかを判定する。入力が取消キーであれば処理を終
了し,入力が取消キーでなければステップ312の処理
を行う。
In the processing of step 311, it is determined whether the input is the cancel key. If the input is the cancel key, the process is terminated, and if the input is not the cancel key, the process of step 312 is performed.

【0074】ステップ312の処理で,頁ヘッダと文書
の複写処理(図10)を行う。ステップ313の処理
で,入力が実行キーのみかどうかを判定する。入力が実
行キーのみであれば処理を終了し,入力が実行キーのみ
でなければ,すなわち拡張+実行キーであれば,ステッ
プ310の処理へ戻る。
In step 312, page header and document copy processing (FIG. 10) is performed. In the process of step 313, it is determined whether the input is only the execution key. If the input is only the execution key, the process is terminated, and if the input is not only the execution key, that is, if it is the expansion + execution key, the process returns to step 310.

【0075】図10は,図9に示すステップ312の頁
ヘッダと文書の複写処理を示すフローチャートである。
ステップ401の処理で,文書複写が終了したかどうか
を判定する。終了であれば,リターンして,図9のステ
ップ313の処理へ戻り,終了でなければ,ステップ4
02の処理を行う。
FIG. 10 is a flowchart showing the page header and document copying process of step 312 shown in FIG.
In the processing of step 401, it is determined whether or not the document copying is completed. If it is finished, the procedure returns and returns to the processing of step 313 in FIG. 9, and if it is not finished, step 4
02 processing is performed.

【0076】ステップ402の処理で,複写位置が次の
頁に入ったかどうかを判定する。次の頁に入った場合に
は,ステップ404の処理を行い,入っていない場合に
はステップ403の処理を行う。
In the process of step 402, it is determined whether the copy position has entered the next page. When the next page is entered, the process of step 404 is performed, and when it is not entered, the process of step 403 is performed.

【0077】ステップ403の処理で,複写範囲の文書
を複写し,ステップ401の処理に戻る。複写位置が次
の頁に入った場合,ステップ404の処理で,次頁に対
して,前頁の頁ヘッダを複写して新しく頁ヘッダを作成
するか,次頁の頁ヘッダをそのまま使用するか,「ヘッ
ダなし」を付与するかのいずれかの指定を入力する。次
頁の頁ヘッダをそのまま使用することが指定された場合
にはステップ406の処理を行い,前頁の頁ヘッダを複
写することが指定された場合にはステップ407の処理
を行い,「ヘッダなし」を付与することが指定された場
合にはステップ405の処理を行う。
In step 403, the document within the copy range is copied, and the process returns to step 401. If the copy position is on the next page, in step 404, whether the page header of the previous page is copied to create a new page header or the page header of the next page is used as it is for the next page. , Input the specification to add "no header". If it is specified to use the page header of the next page as it is, the process of step 406 is executed, and if it is specified to copy the page header of the previous page, the process of step 407 is executed, and "no header" is displayed. If it is designated to add "," the processing of step 405 is performed.

【0078】「ヘッダなし」を付与することが指定され
た場合,ステップ405の処理で,「ヘッダなし」を付
与し,複写範囲の文書を入れるテキスト空間を作成す
る。その後,ステップ406の処理で,複写範囲の文書
を複写し,ステップ401の処理に戻る。
When it is designated to add "no header", in step 405, "no header" is added to create a text space in which a document in the copy range is inserted. Then, in the process of step 406, the document in the copy range is copied, and the process returns to step 401.

【0079】前頁の頁ヘッダを複写することが指定され
た場合,ステップ407の処理で,前頁の頁ヘッダを複
写して新たな頁ヘッダを作成し,複写範囲の文書を入れ
るテキスト空間を作成する。その後,前記ステップ40
6の処理を行う。
When it is designated to copy the page header of the previous page, in step 407, the page header of the previous page is copied to create a new page header, and a text space for inserting the document of the copy range is created. create. Then, the step 40
The process of 6 is performed.

【0080】図11は,実施例における印刷処理の処理
フローチャートである。印刷処理が指示された場合,ス
テップ501の処理で,印刷する文書の指定を入力す
る。
FIG. 11 is a processing flowchart of the printing processing in the embodiment. When the print processing is instructed, the designation of the document to be printed is input in the processing of step 501.

【0081】ステップ502の処理で,印刷する文書の
トップヘッダを取り出す。ステップ503の処理で,印
刷頁の開始頁および終了頁の指定を取り出す。ステップ
504の処理で,印刷頁の開始頁および終了頁の指定情
報により,印刷終了かどうかを判定する。印刷終了であ
れば処理を終了し,印刷終了でなければステップ505
の処理を行う。
In step 502, the top header of the document to be printed is taken out. In step 503, the designation of the start page and the end page of the print page is taken out. In the process of step 504, it is determined whether or not the printing is completed based on the designation information of the start page and the end page of the print page. If the printing is completed, the process is terminated, and if the printing is not completed, step 505.
Process.

【0082】ステップ505の処理で,印刷する頁の頁
ヘッダを取り出し,頁ヘッダで指定されていない印刷情
報は,トップヘッダを参照する。ステップ506の処理
で,出力先の印刷装置が両面印刷が可能な印刷装置であ
るかどうかを判定する。両面印刷が可能であれば,ステ
ップ508の処理へ進み,両面印刷が不可能であればス
テップ507の処理を行う。
In the process of step 505, the page header of the page to be printed is taken out, and the top header is referred to for the print information not specified by the page header. In the process of step 506, it is determined whether the output destination printing device is a printing device capable of double-sided printing. If double-sided printing is possible, the process proceeds to step 508, and if double-sided printing is not possible, step 507 is performed.

【0083】ステップ507の処理で,片面印刷した
後,裏面印刷が必要であれば裏返して裏面を印刷するこ
とを指示する。ステップ508の処理で,印刷を行う。
In the processing of step 507, after printing on one side, if the back side printing is required, it is turned over and the back side is printed. Printing is performed in the processing of step 508.

【0084】ステップ509の処理で,次の頁へ進み,
ステップ504以下の処理を繰り返す。図12は,実施
例におけるその他の処理の処理フローチャートである。
In step 509, the process proceeds to the next page,
The processes in and after step 504 are repeated. FIG. 12 is a processing flowchart of other processing in the embodiment.

【0085】図12(A)は,頁ヘッダ編集処理のフロ
ーチャートである。頁ヘッダの編集では,ステップ60
1の処理で,文書の指定位置の頁ヘッダを表示して,頁
ヘッダを編集する。利用者は,頁ヘッダの編集において
トップヘッダと異なる印刷形式等を採用する部分だけを
入力すればよい。
FIG. 12A is a flow chart of the page header editing process. In editing the page header, step 60
In the process of 1, the page header at the specified position of the document is displayed and the page header is edited. When editing the page header, the user only needs to input the part that adopts a print format different from that of the top header.

【0086】図12(B)は,頁ヘッダ複写処理のフロ
ーチャートである。ステップ701の処理で,複写した
い頁ヘッダから複写先の頁ヘッダを指定して複写する。
このように頁ヘッダの複写機能が備わっているため,特
殊な頁ヘッダがいくつか必要なときに,一つ入力するだ
けで,それを他の頁にも簡単に用いることができる。
FIG. 12B is a flow chart of the page header copy processing. In the processing of step 701, the page header of the copy destination is designated from the page header to be copied and copying is performed.
Since the page header copy function is provided in this way, when several special page headers are required, it is possible to use them for other pages simply by inputting one.

【0087】図12(C)は,頁ヘッダから「ヘッダな
し」への変更処理のフローチャートである。ステップ8
01の処理で,「ヘッダなし」を複写先の頁ヘッダを指
定して複写する。これは実質的には頁ヘッダの削除と同
じである。
FIG. 12C is a flowchart of the process of changing the page header to "no header". Step 8
In the processing of 01, "no header" is copied by designating the page header of the copy destination. This is essentially the same as deleting the page header.

【0088】図12(D)は,印刷結果のレイアウト表
示処理のフローチャートである。ステップ901の処理
で,文書のトップヘッダとレイアウト表示する頁の頁ヘ
ッダとを取り出し,そのヘッダ情報をもとに文書の印刷
結果を画面上に表示する。頁ヘッダがなければ,トップ
ヘッダの情報によるレイアウト表示が行われ,頁ヘッダ
があれば,トップヘッダの情報を頁ヘッダで指定された
部分だけ置き換えた印刷形式で,レイアウトが表示され
る。
FIG. 12D is a flowchart of the layout display process of the print result. In step 901, the top header of the document and the page header of the page to be layout-displayed are taken out, and the print result of the document is displayed on the screen based on the header information. If there is no page header, layout display is performed based on the information of the top header. If there is a page header, the layout is displayed in a print format in which the information specified in the page header is replaced.

【0089】[0089]

【発明の効果】以上説明したように,本発明によれば,
1つの文書ファイル内で,頁単位でその文面内容に則し
て印刷用紙サイズ,印刷方向等の印刷形式を設定するこ
とが可能となり,1文書として使用される文書を,単に
複数種類の印刷形式を設定するためだけに分割して保管
する必要がなくなり,また,印刷形式が異なる頁ごとに
印刷形式を変更して印刷処理を別個に行う必要がなくな
る。さらに,本発明により,両面印刷が可能な印刷装置
の性能を十分に発揮させることが可能となるという効果
を奏する。
As described above, according to the present invention,
In one document file, it is possible to set the print format such as print paper size, print direction, etc. in page units according to the text content, and a document used as one document can be simply a plurality of types of print formats. It is not necessary to divide and store only for setting the print format, and it is not necessary to change the print format for each page having a different print format and perform the print processing separately. Further, according to the present invention, it is possible to sufficiently exert the performance of the printing apparatus capable of double-sided printing.

【0090】また,頁ヘッダがない場合および頁ヘッダ
内で指定されていない部分がある場合には,ディフォル
トのトップヘッダの情報が用いられるので,ヘッダの管
理が容易であり,かつヘッダ情報の入力も少なくて済
む。
If there is no page header or there is an unspecified part in the page header, the default top header information is used, so that header management is easy and header information is input. Less is required.

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

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の実施例の構成を示す図である。FIG. 2 is a diagram showing a configuration of an exemplary embodiment of the present invention.

【図3】実施例におけるデータの構成例を示す図であ
る。
FIG. 3 is a diagram showing a configuration example of data in the embodiment.

【図4】実施例による印刷結果の例を示す図である。FIG. 4 is a diagram illustrating an example of a print result according to an embodiment.

【図5】実施例における挿入処理の処理フローチャート
である。
FIG. 5 is a processing flowchart of insertion processing in the embodiment.

【図6】実施例における挿入処理の処理フローチャート
である。
FIG. 6 is a processing flowchart of insertion processing in the embodiment.

【図7】実施例における削除処理の処理フローチャート
である。
FIG. 7 is a processing flowchart of deletion processing according to the embodiment.

【図8】実施例における移動処理または複写処理の処理
フローチャートである。
FIG. 8 is a processing flowchart of a moving process or a copying process in the embodiment.

【図9】実施例における移動処理または複写処理の処理
フローチャートである。
FIG. 9 is a processing flowchart of a moving process or a copying process in the embodiment.

【図10】実施例における頁ヘッダと文書の複写処理の
処理フローチャートである。
FIG. 10 is a process flowchart of a page header and document copy process in the embodiment.

【図11】実施例における印刷処理の処理フローチャー
トである。
FIG. 11 is a process flowchart of a print process in the embodiment.

【図12】実施例における頁ヘッダ編集等その他の処理
の処理フローチャートである。
FIG. 12 is a processing flowchart of other processing such as page header editing in the embodiment.

【図13】従来装置の構成例を示す図である。FIG. 13 is a diagram showing a configuration example of a conventional device.

【図14】従来技術による文書ファイルのデータの構成
例を示す図である。
FIG. 14 is a diagram showing a configuration example of data of a document file according to a conventional technique.

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

1 処理装置(CPU/メモリ) 2 入力装置 3 表示装置 4 印刷装置 11 キー判定手段 12 入力処理手段 13 編集/表示制御手段 14 ヘッダ情報処理手段 15 テキストデータ処理手段 16 データ記憶部 16−1 ヘッダ情報 16−2 テキストデータ 17 表示処理手段 18 印刷制御手段 19 印刷処理手段 DESCRIPTION OF SYMBOLS 1 processing device (CPU / memory) 2 input device 3 display device 4 printing device 11 key determination means 12 input processing means 13 editing / display control means 14 header information processing means 15 text data processing means 16 data storage section 16-1 header information 16-2 Text data 17 Display processing means 18 Print control means 19 Print processing means

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数の頁からなる文書を作成し,印刷す
る文書作成装置において,文書全体の表示または印刷に
関する属性情報を持つトップヘッダと,前記トップヘッ
ダと異なる場合にのみ作成される文書の各頁に固有の表
示または印刷に関する属性情報を持つ頁ヘッダとからな
るヘッダ情報を記憶する手段と,前記ヘッダ情報に基づ
いて頁ヘッダがない場合にはトップヘッダだけを用い,
頁ヘッダがある場合には頁ヘッダを用いて,各頁ごとの
表示または印刷に関する属性を決定し,指定された文書
の表示または印刷を行う手段とを備えたことを特徴とす
る文書作成装置。
1. A document creation apparatus for creating and printing a document consisting of a plurality of pages, and a top header having attribute information relating to display or printing of the entire document, and a document created only when different from the top header. A means for storing header information including a page header having attribute information relating to display or printing unique to each page, and using only the top header when there is no page header based on the header information,
If there is a page header, the page header is used to determine an attribute relating to display or printing for each page, and means for displaying or printing the designated document is provided.
【請求項2】 請求項1記載の文書作成装置において,
前記表示または印刷に関する属性情報中に,表面印刷ま
たは裏面印刷のいずれを行うかを指定する情報があり,
印刷時に表面印刷または裏面印刷の指定情報に従って各
頁ごとに表面印刷または裏面印刷の切り替えを制御する
手段を備えたことを特徴とする文書作成装置。
2. The document creation device according to claim 1,
In the attribute information regarding display or printing, there is information that specifies whether to perform front side printing or back side printing,
A document creation apparatus comprising means for controlling switching between front-side printing or back-side printing for each page according to designation information for front-side printing or back-side printing during printing.
【請求項3】 請求項1または請求項2記載の文書作成
装置において,文書テキストの編集操作において編集対
象テキストが複数頁にまたがる場合に,前記頁ヘッダの
有無により,該当する頁ヘッダを自動追加または自動削
除する手段を備えたことを特徴とする文書作成装置。
3. The document creation apparatus according to claim 1 or 2, wherein when a text to be edited spans a plurality of pages in a document text editing operation, a corresponding page header is automatically added depending on the presence or absence of the page header. Alternatively, a document creating apparatus having means for automatically deleting.
【請求項4】 請求項1,請求項2または請求項3記載
の文書作成装置において,前記頁ヘッダとして,前記ト
ップヘッダと異なる部分の差分情報のみが与えられ,各
頁ごとの表示または印刷では前記トップヘッダの属性情
報の該当部分を,前記頁ヘッダの属性情報で置き換える
ことにより,各頁ごとの属性が決定されるようにしたこ
とを特徴とする文書作成装置。
4. The document creating apparatus according to claim 1, claim 2 or claim 3, wherein only the difference information of a portion different from the top header is given as the page header, and the page header is displayed or printed. A document creating apparatus, characterized in that the attribute of each page is determined by replacing the corresponding portion of the attribute information of the top header with the attribute information of the page header.
【請求項5】 請求項1,請求項2,請求項3または請
求項4記載の文書作成装置において,文書テキストの編
集中に前記頁ヘッダを表示する手段と,前記頁ヘッダを
更新する手段とを備えたことを特徴とする文書作成装
置。
5. The document creating apparatus according to claim 1, claim 2, claim 3, or claim 4, wherein the page header is displayed while the document text is being edited, and the page header is updated. A document preparation device comprising:
JP7054150A 1995-03-14 1995-03-14 Document preparing device Pending JPH08249319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7054150A JPH08249319A (en) 1995-03-14 1995-03-14 Document preparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7054150A JPH08249319A (en) 1995-03-14 1995-03-14 Document preparing device

Publications (1)

Publication Number Publication Date
JPH08249319A true JPH08249319A (en) 1996-09-27

Family

ID=12962533

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7054150A Pending JPH08249319A (en) 1995-03-14 1995-03-14 Document preparing device

Country Status (1)

Country Link
JP (1) JPH08249319A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7188311B2 (en) 2001-09-14 2007-03-06 Canon Kabushiki Kaisha Document processing method and apparatus, and print control method and apparatus
US7281209B2 (en) 2001-09-14 2007-10-09 Canon Kabushiki Kaisha Method and apparatus for managing numbering of print pages of sections within a document
JP2010267054A (en) * 2009-05-14 2010-11-25 Canon Inc Information processing apparatus and control method thereof
JP2011123828A (en) * 2009-12-14 2011-06-23 Konica Minolta Business Technologies Inc Data structure for electronic file data, electronic file processor, and electronic file processing program
JP2013175199A (en) * 2013-03-11 2013-09-05 Canon Inc Information processing device, method therefor, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7188311B2 (en) 2001-09-14 2007-03-06 Canon Kabushiki Kaisha Document processing method and apparatus, and print control method and apparatus
US7281209B2 (en) 2001-09-14 2007-10-09 Canon Kabushiki Kaisha Method and apparatus for managing numbering of print pages of sections within a document
JP2010267054A (en) * 2009-05-14 2010-11-25 Canon Inc Information processing apparatus and control method thereof
JP2011123828A (en) * 2009-12-14 2011-06-23 Konica Minolta Business Technologies Inc Data structure for electronic file data, electronic file processor, and electronic file processing program
JP2013175199A (en) * 2013-03-11 2013-09-05 Canon Inc Information processing device, method therefor, and program

Similar Documents

Publication Publication Date Title
US7814417B2 (en) Document processing method and system therefor
JP4564693B2 (en) Document processing apparatus and method
US6963672B1 (en) Image processing apparatus, image processing method and storage medium
JP2003091407A (en) Information processing system, its display method, its program and recording medium
JP2006107142A (en) Document processor, and method
JP3456411B2 (en) Print information processing system
JPH08249319A (en) Document preparing device
JPS6368974A (en) Document display system
JP2006202025A (en) Document processing method, print control method, and its system
JPH06251014A (en) Document printing method
JPH06119327A (en) Document processor
JP4437705B2 (en) Postscript writing system, program, and recording medium
JP3161744B2 (en) Information processing device
JPH08185507A (en) Document processor with filing function
JP2718121B2 (en) Data printing device and data printing method
JP2798777B2 (en) Word processor
JPH08137976A (en) Document processor
JPH05342206A (en) Document processor with long sentence editing function
JPH06215096A (en) Menu selecting/displaying method in image processing system
JPH04305761A (en) Word processor
JP3145999B2 (en) Document processing device
JPH0816575A (en) Document processing method
JP2003091525A (en) Information processing device and method
JPH04124765A (en) Document processor
JP2003044465A (en) Device and method for processing document

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20031007