JP3062259B2 - Document processing apparatus and method - Google Patents

Document processing apparatus and method

Info

Publication number
JP3062259B2
JP3062259B2 JP3013458A JP1345891A JP3062259B2 JP 3062259 B2 JP3062259 B2 JP 3062259B2 JP 3013458 A JP3013458 A JP 3013458A JP 1345891 A JP1345891 A JP 1345891A JP 3062259 B2 JP3062259 B2 JP 3062259B2
Authority
JP
Japan
Prior art keywords
document
file
format
document file
page
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.)
Expired - Fee Related
Application number
JP3013458A
Other languages
Japanese (ja)
Other versions
JPH04247561A (en
Inventor
洋 高倉
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 JP3013458A priority Critical patent/JP3062259B2/en
Publication of JPH04247561A publication Critical patent/JPH04247561A/en
Application granted granted Critical
Publication of JP3062259B2 publication Critical patent/JP3062259B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

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 apparatus and method,
More specifically, the present invention relates to a document processing apparatus and method for creating and editing a document composed of characters (sentences), figures, images, and the like.

【0002】[0002]

【従来の技術】従来のこの種の装置(略してワープロ)
は、1文書として作成できるデータの大きさはそれほど
大きくはなく、大きな文書を作成する時は予め複数の文
書に分けていた。文書には、その文書の出力形態を決定
する書式情報が付随している。書式情報としてはせいぜ
い、用紙サイズ、文字サイズ、1行の文字数、1ページ
の行数、行ピッチ、文字ピッチ、袋とじ印刷の有無等で
あるので、いくつかの文書の書式を揃えると言っても、
それほど大きな手間は必要としない。
2. Description of the Related Art Conventional devices of this kind (word processors for short)
However, the size of data that can be created as one document is not so large, and when a large document is created, it is divided into a plurality of documents in advance. The document is accompanied by format information that determines the output form of the document. At most, the format information is paper size, character size, number of characters per line, number of lines per page, line pitch, character pitch, presence or absence of stapled printing, etc. Also,
Does not require much labor.

【0003】ところで、近年になって、電算写植並の出
力結果が得られるDesk-Top-Publishing (略してDT
P)という文書処理装置が現われてきた。このDTPに
おいては、大きな文書が扱え、しかもその出力形態をほ
ぼ操作者の意図した通りにすることができるというメリ
ットがあるが、文書の取り扱いが非常に不便になるとい
う問題が発生する。例えば大きくなった文書データをフ
ロッピーディスクに格納しようとしても、1つのフロッ
ピーディスクに入り切れない。また大きな文書は小さな
文書に比べ処理データ量が多いため、その文書ファイル
のオープン、更新、終了に時間を要する。そこで従来の
ワープロのように、予めいくつかの文書ファイルに分け
て作成することが考えられる。
[0003] In recent years, Desk-Top-Publishing (DT for short), which is capable of obtaining an output result of computer typesetting, has been recently performed.
A document processing device called P) has appeared. This DTP has the merit that large documents can be handled and the output form can be made almost as intended by the operator, but there is a problem that handling of documents becomes very inconvenient. For example, even if an attempt is made to store enlarged document data on a floppy disk, the data cannot be stored on one floppy disk. Since a large document has a larger amount of processing data than a small document, it takes time to open, update, and end the document file. Therefore, it is conceivable that the document file is divided into several document files and created in advance as in a conventional word processor.

【0004】[0004]

【発明が解決しようとしている課題】しかしながら、D
TPにおける書式情報(書式の設定項目数)は従来のワ
ープロのそれと比べて非常に多くなっており、それを各
ファイルにその都度設定するのは非常に手間がかかるも
のである。これらのことを少しでも軽減するために、既
に存在する同じ書式を利用しようとしても、DTPでは
文書の途中で書式を自由に変更できたりするために、同
じ書式を使えないことがかなりある。また、文書の途中
でページ番号やヘッダ/フッタを変更する場合も多く、
分割された文書の頭でそのプリセットを行う必要があ
る。さらにプリセットされた文書に影響がある形で、前
の文書が変更された場合(例えば第1ファイルが10ペ
ージで、第2ファイルの頭でページ番号を11ページと
プリセットし、その状態で第1ファイルが1ページ追加
された場合)、文書全体としてのつじつまが合わなくな
ってしまうという問題があった。
SUMMARY OF THE INVENTION However, D
The format information (the number of setting items of the format) in the TP is much larger than that of the conventional word processor, and setting it in each file each time is very time-consuming. Even if an attempt is made to use the same format that already exists in order to alleviate these problems, the same format cannot be used in DTP because the format can be freely changed in the middle of a document. Also, page numbers and headers / footers are often changed in the middle of a document.
You need to do that preset at the beginning of the split document. Further, when the previous document is changed in a manner that affects the preset document (for example, the first file is set to 10 pages, the page number is preset to 11 pages at the beginning of the second file, and When a file is added by one page), there is a problem that the whole document becomes inconsistent.

【0005】また、DTPでは、比較的大きな文書を扱
うことが可能になるが、作成した文書ファイルが取り扱
うには勝手が悪過ぎるぐらい大きくなった場合、どうし
てもその文書ファイルをいくつかの文書単位に分割する
必要がある。その場合、分割された各文書ファイル間で
本来連続している情報(ページ番号、ヘッダ/フッタ、
見出し番号)を整合をとるために、個々の文書ファイル
の先頭にプリセットコマンドを入れることになる。とこ
ろが、分割されたファイルを、ネットワークを介して転
送したりする場合、各ファイル毎に転送のオーバーヘッ
ドがかかってしまい、逆に効率を悪くしてしまうことが
ある。従って、この場合には、分割しておいた文書ファ
イルをまとめたファイルにする必要がある。また、これ
以外であっても、各文書ファイルの整理する過程で、複
数の文書ファイルをまとめることが往々にしてある。こ
のような場合、各文書ファイルの先頭に前述したプリセ
ットが挿入されていると、後でその結合された文書ファ
イルに編集を加えると、そのプリセットコマンドによっ
て文書の連続性が損なわれるという問題がある。
Although DTP can handle relatively large documents, if the created document file becomes too large to handle, the document file must be divided into several document units. Need to be split. In this case, information (page number, header / footer,
In order to match the (heading number), a preset command is inserted at the beginning of each document file. However, when the divided files are transferred via a network, transfer overhead is required for each file, and the efficiency may be degraded. Therefore, in this case, it is necessary to convert the divided document files into a file. Other than this, a plurality of document files are often combined in the process of organizing each document file. In such a case, if the above-mentioned preset is inserted at the beginning of each document file, if the edited document file is edited later, there is a problem that the continuity of the document is lost by the preset command. .

【0006】本発明はかかる従来技術に鑑みなされたも
のであり、文書ファイル一覧表示中の第1の文書に第2
の文書を結合させる指示を行った際、第2の文書につい
ては自身が有する書式を有効にするのか、或いは第1の
文書の書式に従うのかを視覚的に選択できる文書処理装
置及び方法を提供しようとするものである。
The present invention has been made in view of the above prior art, and a second document is added to a first document displayed in a document file list .
A document processing apparatus and method capable of visually selecting whether to validate the format of the second document or to follow the format of the first document when an instruction to combine the documents is issued . It is assumed that.

【0007】[0007]

【課題を解決するための手段】この課題を解決するた
め、例えば本発明の文書処理装置は以下の構成を備え
る。すなわち、文字、図形、イメージ等の主情報と当該
主情報の書式を決定する書式情報で構成される文書ファ
イルを処理する文書処理装置において、複数の文書ファ
イルを当該個々の文書ファイル独自の書式情報と共に記
憶する記憶手段と、前記記憶手段に記憶された文書ファ
イル一覧を表示する一覧表示手段と、 一覧表示された文
書中の第1の文書ファイルに対して第2の文書ファイル
を結合指示した際、前記第2の文書ファイルの書式を差
し込むか否かを指示するためのメニュー画面を表示する
結合メニュー表示手段と、 該結合メニュー画面で、前記
第1の前記文書ファイルに対して前記第2の文書ファイ
ルの書式情報を差し込むことが指示された場合、前記第
1の文書ファイルに対して前記第2の文書ファイルの書
式情報を差し込み、前記第1の文書ファイルと前記第2
の文書ファイルを結合し、前記第1の文書ファイルに対
して前記第2の文書ファイル書式情報の差し込みが指示
されない場合、前記第2の文書ファイルの書式情報を無
効とし、前記第1の文書ファイルと前記第2の文書ファ
イルを結合するよう制御する制御手段とを備える。
In order to solve this problem, for example, a document processing apparatus of the present invention has the following arrangement. That is, in a document processing apparatus that processes a document file composed of main information such as characters, graphics, and images and format information that determines the format of the main information, a plurality of document files are converted into format information unique to each document file And a document file stored in the storage means.
List display means for displaying a file list, and a list-displayed statement
A second document file for the first document file in the book
When the combining instruction is given, the format of the second document file is changed.
Display a menu screen for instructing whether or not to insert
Combined menu display means, the combined menu screen,
The second document file corresponds to the first document file.
When it is instructed to insert the format information of the first document file, the format information of the second document file is inserted into the first document file, and the first document file and the second document file are inserted.
And combining the first document file with the first document file.
To insert the second document file format information
If not, control means is provided for invalidating the format information of the second document file and controlling to combine the first document file and the second document file.

【0008】[0008]

【作用】かかる本発明の構成において、一覧表示された
文書中の第1、第2の文書ファイルの結合を行うように
すると、前記第2の文書ファイルの書式を差し込むか否
かを指示するためのメニュー画面を表示する。そして、
差し込み指示がなされた場合には、第2の文書ファイル
の書式は有効となって、第1の文書ファイルの差し込ま
れた状態で結合される。また、差し込みが指示されない
場合には第2の文書ファイルの書式情報は無効となった
状態で結合される。
In the configuration of the present invention, a list is displayed.
Combine first and second document files in a document
Then, whether to insert the format of the second document file
Display a menu screen for instructing And
When the insertion instruction is given, the second document file
Is valid and the first document file is inserted
It is combined in the state where it was. Also, insertion is not indicated
In this case, the format information of the second document file is invalid
Combined in state.

【0009】[0009]

【実施例】以下、添付図面に従って本発明に係る実施例
を詳細に説明する。尚、本実施例でいう文書(データ)
は、文章(文字)、図形、イメージの少なくとも1つか
ら構成されるデータ群を表すものである。また、本装置
は従来、人間が机上の用紙に、文や図形やイメージをペ
ン等で描く動作を、電子的に行おうとする装置である。
また、本実施例でいう文書処理装置は各種機器からなる
システムであっても、1つの単体の機器であっても、さ
らにネツトワークからなるシステムであってもよいこと
は言うまでもない。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. The document (data) referred to in this embodiment
Represents a data group composed of at least one of a sentence (character), a graphic, and an image. In addition, the present apparatus is an apparatus that attempts to electronically perform an operation of drawing a sentence, a figure, or an image on a sheet of paper on a desk with a pen or the like.
Further, it goes without saying that the document processing apparatus according to the present embodiment may be a system including various devices, a single unit, or a system including a network.

【0010】図1は実施例における文書処理装置のブロ
ック構成図を示している。図中、1−1はCRT表示部
で、ラスタスキャンして文書(文章、図形及びイメー
ジ)データを表示する。1−2はビデオRAM(VRA
M)で、CRT表示部1−1の1画面のパターン展開情
報を記憶する。1−3は表示制御部で、VRAM1−2
へのパターン展開制御情報およびCRT表示部1−1へ
のパターンの読み出しを制御する。1−4は文書編集制
御と(データ制御)を行うマイクロプロセッサ(MP
U)で、各部を総括的に制御する。1−5は主メモリ
で、後述のフローチャートで示される制御プログラムや
文書データが格納される。1−6は外部ハードディスク
装置で、文書ファイル1−6a等を格納している。1−
7は位置を指示する指示手段を兼ねるポインテイングデ
バイス(PD)で、CRT1−1の任意の一を指定す
る。1−8はキーボード(KBD)、1−9はI/Oバ
スで、各ブロツクとMPU1−4とを接続する。更にス
キャナ1−10、プリンタ1−11が接続されていても
よい。
FIG. 1 is a block diagram of a document processing apparatus according to an embodiment. In the figure, reference numeral 1-1 denotes a CRT display unit, which displays document (text, graphics, and image) data by raster scanning. 1-2 is a video RAM (VRA
In M), the pattern development information of one screen of the CRT display unit 1-1 is stored. 1-3 is a display control unit, which is a VRAM 1-2.
To read pattern development control information to the CRT display unit 1-1. 1-4 is a microprocessor (MP) for performing document editing control and (data control).
In U), each part is controlled comprehensively. Reference numeral 1-5 denotes a main memory which stores control programs and document data shown in a flowchart described later. Reference numeral 1-6 denotes an external hard disk device which stores document files 1-6a and the like. 1-
Reference numeral 7 denotes a pointing device (PD) which also serves as an instruction means for designating a position, and designates any one of the CRTs 1-1. 1-8 is a keyboard (KBD), 1-9 is an I / O bus, and connects each block to the MPU 1-4. Further, a scanner 1-10 and a printer 1-11 may be connected.

【0011】尚、本実施例において、組版とは、元来、
活版印刷の1工程を表す言葉であり、一言で説明する
と、「原稿に基づいて活字を拾い、原稿の指定に基づい
て順序、字詰め、行数、字間、行間、位置等を正しく組
み上げ、バランスのとれた1つの文書を作りあげる」こ
とを意味するものであるが、ここではこれらの処理を電
子的に行うことを意味する。
In this embodiment, typesetting originally means
It is a word that represents one process of letterpress printing. In short, it can be described as follows: "Pick up characters based on the manuscript, and correctly assemble the order, filling, number of lines, character spacing, line spacing, position, etc. based on the specification of the manuscript. This means that these processes are performed electronically, which means that a single balanced document is created. "

【0012】図2は、図1に示したMPU1−4の機能
を説明するブロツク図である。ディスク1−6には以下
の図6で示すような文書ファイル1−6aが格納されて
いる。その文書データは制御手段2−1によりページ処
理手段2−2に手渡され、1ページ毎に割りつけられ
る。割り付けられた結果のページ情報は記憶手段2−3
(主メモリ1−5)に蓄えられ、制御手段2−1によっ
て指示されたページを表示手段2−4(CRT表示部1
−1)に表示する。コマンドの入力や表示ページの指示
は入力手段2−5(KBD1−8及びPD1−9)で行
い、制御手段2−1で解析して、ページ処理手段2−2
や表示制御手段2−4を制御することで行う。ハードデ
ィスク装置1−6の文書データは入力手段2−5から入
力し、ページ処理手段2−2で割りつけ、記憶手段2−
3に記憶した後、操作者が入力手段2−5により「ディ
スク保存コマンド」を指示することより保存される。記
憶手段2−3上の文書データのフォーマットは、ハード
ディスク装置1−6中の文書データのフォーマットと同
じでもよいが、制御手段2−1やページ処理手段2−2
が処理し易いように変えてもよい。
FIG. 2 is a block diagram for explaining the functions of the MPUs 1-4 shown in FIG. The disk 1-6 stores a document file 1-6a as shown in FIG. The document data is handed over to the page processing means 2-2 by the control means 2-1 and allocated to each page. The page information of the allocated result is stored in the storage unit 2-3.
(Main memory 1-5) and displays the page designated by the control means 2-1 on the display means 2-4 (CRT display section 1).
Displayed in -1). The input of a command and the instruction of the display page are performed by the input means 2-5 (KBD1-8 and PD1-9), analyzed by the control means 2-1 and analyzed by the page processing means 2-2.
And by controlling the display control means 2-4. The document data of the hard disk device 1-6 is inputted from the input means 2-5, allocated by the page processing means 2-2, and stored in the storage means 2--5.
After storing the data in the storage unit 3, the data is stored when the operator instructs the "disk storage command" by the input unit 2-5. The format of the document data in the storage means 2-3 may be the same as the format of the document data in the hard disk drive 1-6, but the control means 2-1 and the page processing means 2-2.
May be changed to facilitate processing.

【0013】図3は本実施例の文書処理装置の入力編集
画面である。3−1は文書用紙に対応した表示画面で、
初期的(文書の新規作成時)には文書データ(文字デー
タ)が未入力であることを示す黒点3−4が表示され
る。3−2は文書編集カーソルで現在のデータの入力編
集位置を示す。3−3はポインティングカーソルで図1
のPD1−9と連動した動作をし、文書カーソル3−2
の移動や範囲指定の設定やコマンドの指示をPD1−9
の不図示のスイッチと共に行う。KBD1−8からのデ
ータは、入力編集カーソル3−2から仮名漢字変換され
ながら入力される。3−5は編集メニユーで文書用紙3
−1に対して行える機能の選択や入力編集するデータの
切り替えを行う。3−6はコマンドメニューで編集メニ
ュー3−5の各機能のサブ機能を示すメニューである。
FIG. 3 shows an input editing screen of the document processing apparatus of the present embodiment. 3-1 is a display screen corresponding to the document paper,
Initially (when a new document is created), a black dot 3-4 indicating that the document data (character data) has not been input is displayed. Reference numeral 3-2 denotes a document editing cursor, which indicates a current data input / edit position. 3-3 is a pointing cursor shown in FIG.
Operates in conjunction with PD1-9 of the document cursor 3-2.
PD1-9 to move the mouse, set the range specification, and issue command instructions.
(Not shown). The data from the KBD 1-8 is input from the input editing cursor 3-2 while being converted into kana-kanji characters. 3-5 is an editing menu for document paper 3
-1 and switching of data to be input / edited. Reference numeral 3-6 denotes a command menu which indicates a sub function of each function of the edit menu 3-5.

【0014】<文章編集の説明>文章編集では、用紙ま
たは枠内の文字の入力および編集を行うことができる。
文字の入力はローマ字仮名変換または仮名漢字変換等の
機能を用いて行われる。各用紙には書式が割り当てられ
ていて、用紙サイズ、用紙中の文書の入力編集する領域
である版面の位置、段組の数、段中の行数、本文の文字
サイズ、書体(明朝、ゴシック等)、ノンブル(ページ
番号)、柱(欄外の見出し)等が定義されている。文字
はこの書式に従つて組まれて表示または印刷される。ま
た編集機能により部分的な文字サイズ、書体の変更、大
見出し、中見出し、小見出しなどの見出しの設定、アン
ダーライン、圏点、ルビ、上付き、下付き文字等の文字
修飾、センタリング、右寄せ、左寄せ、均等割付等の行
そろえも行う。更に、文字列を検索して他の文字列に置
換する検索置換の機能も持つ。また、カーソル3−2は
文字の移動、入力、削除に伴い、文字に追従して動く。
<Description of Text Editing> In text editing, characters in a sheet or a frame can be input and edited.
The input of characters is performed using a function such as Roman character kana conversion or kana kanji conversion. A format is assigned to each sheet. The sheet size, the position of the printing plate, which is the area for inputting and editing the document on the sheet, the number of columns, the number of lines in the column, the text size of the body, the font (Mincho, Gothic, etc.), page numbers (page numbers), columns (headlines of margins), etc. are defined. Characters are displayed or printed according to this format. The editing function allows you to change the partial font size, change the typeface, set headings such as headlines, middle headings, and subheadings, modify characters such as underlines, emphasis marks, ruby, superscript, and subscript, centering, right alignment, Alignment such as left alignment and even allocation is also performed. Further, it has a search and replace function of searching for a character string and replacing it with another character string. The cursor 3-2 moves following the character as the character is moved, input, or deleted.

【0015】書式に関するもののうちで、ノンブル、柱
見出し番号等は文書の途中で変更することができる。こ
れらのものは通常、書式ではその書体や印字位置等を決
めるだけであり、文書データの最初のページから順に、
ページ処理手段2−2で決められる内容が印字される。
例えばノンブルの場合は、文書データの最初のページを
1、次ぎのページを2、その次を3、…という具合に決
められる。ところが目次をつける等のためページ番号を
途中で振り直したい場合がある。その場合、特定ページ
番号から振り直しを指定するノンブルコマンドを文書デ
ータの途中に差し込むことでこれを達成することができ
る。尚、このコマンドによればページ番号の印刷を抑制
することも可能である。
[0015] Of the items related to the format, page numbers, column heading numbers, and the like can be changed in the middle of the document. In these formats, usually only the typeface and print position are determined in the format, and in order from the first page of the document data,
The content determined by the page processing means 2-2 is printed.
For example, in the case of a page number, the first page of the document data is determined as 1, the next page as 2, the next page as 3, and so on. However, there may be a case where the user wants to renumber page numbers in the middle to add a table of contents. In this case, this can be achieved by inserting a page number command designating reassignment from a specific page number in the middle of the document data. In addition, according to this command, it is also possible to suppress the printing of the page number.

【0016】図4はノンブルの変更の方法を示す説明図
である。図4(a)に4ページからなる文章データにお
ける3ページ目に、5ページを示すノンブルコマンド4
−1を入力すると図4(b)のようにノンブルが3ペー
ジは5、4ページは6と変更される。また書式全体に関
しても別書式差し込みにより、書式全体あるいはその一
部を文書データの途中から変更することも可能である。
FIG. 4 is an explanatory diagram showing a method of changing the page number. FIG. 4A shows a page number of the fourth page in the text data consisting of four pages.
When -1 is input, the page number is changed to 5 for page 3 and 6 for page 4 as shown in FIG. In addition, the entire format or a part thereof can be changed from the middle of the document data by inserting another format.

【0017】<図形編集の説明>次に図形編集である
が、これには、直線、円、矩形、だ円等の図形の入力、
及び面種、線種の変更、図形の移動、複写、消去、変
形、回転、拡大、縮小等の編集機能を持っている。ま
た、複数のレイアの層から構成されていて、各レイア単
独の表示、編集ができ、複数のレイアを重ねて表示する
ことができる多重レイア構造等の機能を持つ。
<Explanation of figure editing> Next, figure editing is performed. This includes inputting figures such as straight lines, circles, rectangles, ellipses, and the like.
It has editing functions such as change of surface type and line type, moving, copying, erasing, transforming, rotating, enlarging, and reducing a figure. Further, it is composed of a plurality of layer layers, and has a function such as a multiplex layer structure capable of displaying and editing each layer alone and displaying a plurality of layers in an overlapping manner.

【0018】<イメージ編集の説明>イメージ編集は、
イメージスキャナ1−11から得られた画像の入力、イ
メージデータの回転、反転、移動、複写、消去、並びに
1ドット単位で編集を行うドット単位編集、そしてイメ
ージデータの所望の部分を切り出すトリミング等の機能
を有する。
<Explanation of Image Editing>
Input of an image obtained from the image scanner 1-11, rotation, inversion, movement, copying, and erasing of image data, dot-by-dot editing for editing in dot units, and trimming for cutting out a desired portion of image data. Has functions.

【0019】<枠編集の説明>枠編集は文書編集によっ
て位置が変動する浮動枠(浮動ブロック)と、文書編集
によってその位置が固定である固定枠(固定ブロック)
の新規定義、修正変更そして削除等を行うものである。 <表組処理>表組処理は、小組(文書データ)でない枠
に対して編集を行うことができる。機能は罫線を引いた
り、その移動や削除を行う罫線編集と、文字を入力した
りアンダーライン、ルビなどの修飾を行う文字編集とに
大きく2つに分けられる。罫線編集は罫線を引いて表を
作り、セルと呼ばれる罫線で囲まれた矩形の領域を作成
することが目的である。文字はこのセルの中に入力する
ことができる。文字編集は、罫線編集で作られたセルの
中に文字を入力することが目的である。これら2つの編
集機能を用いることにより、良質かつ複雑な表を迅速、
しかも簡単に作ることができる。
<Explanation of Frame Editing> In frame editing, a floating frame (floating block) whose position is changed by document editing, and a fixed frame (fixed block) whose position is fixed by document editing.
To make new definitions, modifications, changes, and deletions. <Table Set Processing> The table set processing can edit a frame that is not a small set (document data). The functions are broadly divided into two types: ruled line editing for drawing, moving or deleting ruled lines, and character editing for inputting characters and modifying underlines and ruby. The purpose of rule line editing is to draw a rule line to create a table and create a rectangular area surrounded by rule lines called cells. Characters can be entered in this cell. The purpose of character editing is to input characters into cells created by ruled line editing. By using these two editing functions, you can quickly and easily create high-quality and complex tables.
And it can be easily made.

【0020】<文書ファイル分割処理>図5は文章編集
画面で不図示の文書分割キーを押下した時に表示される
メニューを示す図である。この文書分割キーが押下され
ると、その時点で開いているページを含みそれ以降の文
書(後半部の文書)が、それ編集中の文書から分割され
る。このメニューでは分割された文書の後半部の文書に
対して、書式とノンブルや柱等の本来連続しているべき
情報のプリセット情報をどのようにするかを指示する。
書式に対して「標準書式」5−1を指示すると、本実施
例の文書処理装置が持つ、不図示の書式ライブラリの中
の標準書式が用いられる。また、「文書の先頭書式」5
−2を指示すると分割された文書の元々の書式が用いら
れる。この場合、CPU1−4としては、分割した後半
部の文書ファイルに対する書式データに、分割された文
書した書式データをコピーすることで達成できる。ま
た、「分割時の書式」5−3を指示するとそのページ
(後半部の文書)の先頭で確定している書式が用いられ
る。従つて、文書ファイルの中で書式が途中で変更され
ていた場合でも、分割された後半の文書の書式として正
確に用いられる。ノンブル、柱、見出し番号に対しては
5−4,5−6,5−8の「書式に従う」を指示する
と、それらの本来連続しているべき情報のプリセット情
報は、分割された文書ファイルの後半部の文書ファイル
には差し込まれない。従つて、それらの情報は文書ファ
イルの書式情報に従つて機能することになる。5−5
「分割時のページ」、5−7「分割時の柱」、5−9
「分割時の番号」を指示すると、前記のプリセット情報
が分割された文書ファイルの後半部の文書ファイルには
差し込まれる。従つて、後半部の文書ファイルはプリセ
ットされた情報から始まることになる。
<Document File Division Processing> FIG. 5 is a view showing a menu displayed when a document division key (not shown) is pressed on the text editing screen. When the document division key is pressed, the subsequent document including the currently opened page (the latter half document) is divided from the document being edited. This menu instructs how to set the format and preset information of information that should be continuous, such as page numbers and columns, for the latter half of the divided document.
When "standard format" 5-1 is designated for the format, a standard format in a format library (not shown) of the document processing apparatus of this embodiment is used. Also, “Document head format” 5
When -2 is designated, the original format of the divided document is used. In this case, the CPU 1-4 can achieve this by copying the divided document format data to the format data for the divided second half document file. When the "format at the time of division" 5-3 is designated, the format determined at the head of the page (the latter half document) is used. Therefore, even if the format is changed in the middle of the document file, the format is correctly used as the format of the latter half of the divided document. If the “follow format” of 5-4, 5-6, 5-8 is instructed for the page number, column, and heading number, the preset information of the information that should be continuous is stored in the divided document file. It is not inserted into the second half of the document file. Therefore, the information functions according to the format information of the document file. 5-5
"Page at the time of division", 5-7 "Pillar at the time of division", 5-9
When the "number at the time of division" is designated, the preset information is inserted into the latter half of the divided document file. Therefore, the latter half of the document file starts with the preset information.

【0021】図6は本実施例の文書処理装置の文書ファ
イル管理処理画面である。本文書処理装置は、マルチウ
インドウと呼ばれる方法で複数の画面(ウインドウと呼
ばれる)を分けて表示したり、重ねて表示したりするこ
とができる。6−1はそのウインドウに対しての名前を
表示たり、そのウインドウと他のウインドウの重なりを
変えたり、ウインドウ内の文書ファイルの印刷を指示し
たり、ウインドウとして表示しきれない部分を表示した
りすることを指示するのに用いられる。6−2は文書管
理処理のファイル管理メニューで、このウインドウ内に
表示されている文書ファイルの名称を変更したり、グル
ーピングのためのバインダを作つたり、複写したりある
いはこのウインドウ内の表示の形態を変えたりなどの、
このウインドウ内の文書ファイルの管理操作を指示する
ためのものである。6−3は「文書整合」を指示するメ
ニューで、6−5−1,6−5−2,…,6−5−15
で示される文書ファイルを連続する文書とした時の、そ
の境界での書式やプリセット情報の整合をチェックし、
整合が取れていない場合は、整合を取つてよいかどうか
の指示を促す。6−4は「文書結合」を指示するメニュ
ーで、6−5−1,6−5−2,…,6−5−15で示
される文書ファイルを結合することができる。例えば、
各文書ファイル6−5−1〜6−5−15を印刷すると
き、各々の文書ファイルにノンブルが指定されていて、
そのまま印刷するとページ番号が重複したり、或いはと
びとびになるような場合には、それらを整合して連続し
たページ数になるようにするか否か等がこれに相当す
る。
FIG. 6 shows a document file management processing screen of the document processing apparatus of this embodiment. The document processing apparatus can display a plurality of screens (called windows) separately by a method called a multi-window, or can display them in a superimposed manner. 6-1 displays the name of the window, changes the overlap between the window and another window, instructs printing of a document file in the window, and displays a portion that cannot be displayed as a window. Used to indicate what to do. Reference numeral 6-2 denotes a file management menu for document management processing, which changes the name of a document file displayed in this window, creates or copies a binder for grouping, or displays the file in this window. Such as changing the form,
This is for instructing the management operation of the document file in this window. 6-3 is a menu for instructing "document alignment", 6-5-1, 6-5-2, ..., 6-5-15.
When the document file indicated by is a continuous document, check the consistency of the format and preset information at the boundary,
If there is no match, an instruction is given as to whether the match can be made. Reference numeral 6-4 denotes a menu for instructing "combine documents", and can combine document files represented by 6-5-1, 6-5-2,..., 6-5-15. For example,
When printing each of the document files 6-5-1 to 6-5-15, the page number is designated in each of the document files, and
In the case where the page numbers are duplicated or jumped when printed as they are, whether or not they are matched to obtain a continuous page number corresponds to this.

【0022】図7は図6の2つの文書ファイルに対し
「文書整合」6−3を指示した時に、その境界で不整合
が発生した時に表示される画面(指示メニュー)であ
る。書式で不整合が発生した場合は、7−1で整合を取
ることを指定し、整合を取る必要があえてなければ7−
2を指示する。また、プリセット情報で不整合が発生し
た場合は7−3で整合を取ることを指示し、整合を合え
て取る必要がなければ7−4を指示する。いずれにせ
よ、整合に係る設定が終了したときには、「実行」を指
示することで、設定内容に従って処理される。
FIG. 7 shows a screen (instruction menu) that is displayed when the "document matching" 6-3 is instructed for the two document files in FIG. If there is an inconsistency in the format, specify to perform consistency in 7-1.
Indicate 2. If a mismatch is found in the preset information, an instruction is given in step 7-3 to perform matching, and if it is not necessary to perform matching, the instruction is given in 7-4. In any case, when the setting related to the matching is completed, the instruction is given to “execute”, so that the processing is performed according to the setting content.

【0023】図8は図6の2つの文書ファイルに対し
「文書結合」6−4を指示した時、より詳しく説明する
と「第1章」の文書ファイル6−5−1の後に「第2
章」の文書ファイル6−5−2を結合指示したときの表
示画面に表れる処理メニューである。結合後の文書の名
称は、原則的に前に位置する文書ファイルの名称(上述
の場合には「第1章」)になる。結合した文書(「第2
章」文書ファイル6−5−2)は前の文書ファイル中に
存在するわけであるから、削除しても良いが、場合によ
ってはそのまま消さずにおきたい場合もある。そのた
め、結合する文書(文書ファイル6−5−2)を削除す
るか否かの指示は、欄8−1,8−2のいずれか1つを
選択することで達成するようにした。欄8−3、8−4
は2つの文書を結合した時に、結合する文書側の書式を
別書式データとして文書の途中に差し込むかどうかを指
定する。欄8−5、8−6、8−7は結合した時のプリ
セット情報の扱いを指定する。欄8−5の「整合」は、
プリセット情報がその時点で整合が取れるように修正す
ることを指示する。欄8−6の「削除」はプリセット情
報を削除することを指示する。欄「8−7」の保存はプ
リセット情報をそのまま有効にすることを指示する。こ
の実施例では書式の差し込みについては、「する」か
「しない」かとしているが、書式の整合を調べて、整合
が取れていない場合は差し込みを行い、整合が取れてい
る場合は差し込みをしないとしてもよい。
FIG. 8 shows, in more detail, when "document combination" 6-4 is instructed for the two document files in FIG.
This is a processing menu appearing on the display screen when the document file 6-5-2 of "Chapter" is instructed to be combined. The name of the combined document is basically the name of the preceding document file ("Chapter 1" in the above case). The merged document ("2nd
Since the chapter "document file 6-5-2) exists in the previous document file, the document file may be deleted. However, in some cases, there is a case where the user does not want to delete the document file. Therefore, the instruction as to whether or not to delete the combined document (document file 6-5-2) is achieved by selecting one of the columns 8-1 and 8-2. Columns 8-3, 8-4
Specifies whether to insert the format of the combined document into the middle of the document as separate format data when the two documents are combined. Columns 8-5, 8-6, and 8-7 specify the handling of preset information when combined. Column 8-5 “Match”
This indicates that the preset information is to be modified so as to be consistent at that time. "Delete" in the column 8-6 indicates that the preset information is deleted. Saving the column "8-7" indicates that the preset information is to be made valid as it is. In this embodiment, whether to insert a format is “do” or “do not”. However, it is checked whether the format is consistent, and if the format is not matched, the format is inserted. If the format is matched, the format is not inserted. It may be.

【0024】<データフォーマット例>図9はハードデ
ィスク1−6中の1個の文書ファイルのフォーマットに
ついての一例を示す図である。「ヘッダ」9−1には本
文書ファイルの動作可能なハード環境のフラグや文書フ
ァイル中の各データ9−2〜9−6へのポインタ等が格
納されている。「本文書式」9−2には、本文書ファイ
ル全体の文書データの書式データが格納されている。
「固定枠制御部」9−3には、固定枠の大きさや枠の属
性、固定枠データへのポインタ等が格納されている。
「固定枠データ」9−4には、固定枠に入力された文
章、表組、図形、イメージの実データが格納されてい
る。「ページデータ」9−5には、各ページごとに割り
つけられたデータが、ページ単位ごとに区切られて格納
されている。ページ単位のデータには文章、図形、イメ
ージが含まれ、図示では、全部でnページ分の情報があ
ることを示している。「ページデータテーブル」9−6
には、ページデータ9−5の各ページ中のデータへのポ
インタが格納されている。
<Example of Data Format> FIG. 9 is a diagram showing an example of the format of one document file in the hard disk 1-6. The “header” 9-1 stores a flag of an operable hardware environment of the document file, a pointer to each data 9-2 to 9-6 in the document file, and the like. The “text format” 9-2 stores format data of the document data of the entire document file.
The “fixed frame control unit” 9-3 stores the size of the fixed frame, attributes of the frame, a pointer to the fixed frame data, and the like.
The “fixed frame data” 9-4 stores actual data of sentences, tables, figures, and images input to the fixed frame. The “page data” 9-5 stores data allocated to each page, separated for each page. The data on a page basis includes a sentence, a graphic, and an image, and the drawing shows that there is information for a total of n pages. "Page Data Table" 9-6
Stores pointers to data in each page of the page data 9-5.

【0025】図10は図9の本文書式9−2を更に詳細
に説明した図である。「ヘッダ」10−1には、この本
文書式の長さや名称及びバージヨン等が格納されてい
る。「用紙形式」10−2には用紙の大きさや、縦置き
横置きの区別、フオームの種類等が格納されている。
「版面/本文」10−3には上下左右のマージンの設定
や段組、段数、行ピッチ、文字ピッチ、行数、文字数、
本文書体、本文文字サイズ等が格納され、「強調設定」
10−4には強調コマンドのための書体や、文字サイズ
等の情報が格納されている。また、「見出し設定」10
−5には見出しコマンドのための書体や文字サイズ、見
出し指定字の本文の行どりや見出しの前あき、後あき、
見出し罫の情報、見出し番号形式等の情報等が格納され
ている。「囲み罫」10−6には、囲み罫を引く場合の
文字列との上下左右の距離が格納されている。「レジス
タマーク」10−7には用紙上にレジスタマークを置く
位置等の情報が格納されている。「区ぎり罫」10−8
は区ぎり罫の前あき、後あきの大きさや、罫線種等の情
報が格納されている。「ノンブル」10−9には、ノン
ブルの書体や文字サイズ用紙上にノンブルを置く位置、
ノンブルの形式等の情報が格納されている。「柱」10
−10には、柱の書体や文字サイズ、用紙上に柱を置く
位置、柱として見出しを使う等の情報が格納されてい
る。そして、「インデントタブ」10−11には、組始
端や組終端、タブセット位置等の情報が格納されてい
る。
FIG. 10 is a diagram for explaining the text format 9-2 in FIG. 9 in more detail. The "header" 10-1 stores the length, name, version, and the like of the text format. The “paper format” 10-2 stores the size of paper, vertical / horizontal orientation, form type, and the like.
The “print / text” 10-3 includes the setting of margins at the top, bottom, left, and right, columns, columns, line pitch, character pitch, lines, characters,
The main text, body text size, etc. are stored, and
10-4 stores information such as a typeface for an emphasis command and a character size. Also, “heading setting” 10
For -5, the font and character size for the heading command, the heading of the body of the heading designation character and the heading before and after,
Information such as heading rule information, heading number format, and the like are stored. The “surrounding rule” 10-6 stores the distance between the character string when the encircling rule is drawn, up, down, left, and right. The "register mark" 10-7 stores information such as the position where the register mark is placed on the sheet. "Bounding rule" 10-8
Stores information such as the size of the front and rear spaces of the delimiting rule and the type of ruled line. The “fingle” 10-9 includes the position where the fingle is placed on the fancy typeface or character size paper,
Information such as the format of the page number is stored. "Pillar" 10
-10 stores information such as the typeface and character size of the pillar, the position of the pillar on the paper, and the use of a heading as the pillar. The “indent tab” 10-11 stores information such as a set start end, a set end, and a tab set position.

【0026】これらの本文書式9−2は、書式コマンド
設定に係る指示を与えることによつてその設定内容を変
更することが可能であるが、設定の変更は文書全体に影
響する。また書式の一部または全体を、文書の途中から
変更させたい場合は、別書式差し込みコマンド設定に係
る指示を表示画面に表示されたメニュー或いはキーボー
ドから与えることにより達成できる。この別書式差し込
みコマンドによって設定された内容のデータは、文書中
にコマンドデータとして差し込まれることになる。文書
中にある文字コード等は2バイトのJISコードとして
いるので、最上位ビットを“1”にすることで文字コー
ドではなく、コマンドデータであることがわかるように
なっている。
The contents of the text format 9-2 can be changed by giving an instruction relating to the format command setting, but the change of the setting affects the entire document. When a part or the whole of the format is to be changed in the middle of the document, it can be achieved by giving an instruction relating to the setting of another format insertion command from a menu or a keyboard displayed on the display screen. The data of the content set by the separate format insertion command is inserted as command data in the document. Since the character code and the like in the document are a 2-byte JIS code, setting the most significant bit to "1" makes it possible to recognize that the data is not a character code but command data.

【0027】図11は文書データ中に差し込まれる別書
式差し込みコマンドのフォーマットを示している。本実
施例において、文書データは先に説明したように、JI
Sの文字コード等から構成されているが、書式で定義さ
れている属性はコマンド図11(a),(b)により、
呼び出すことが可能である。例えば図11(a)のよう
な形式として、コマンドの開始として「見出し開始」、
パラメータとして見出しの文字列、コマンドの終了とし
て「見出し終了」とすると、見出しの設定が行われたこ
とになる。実際の見出しとしての動作は、図2のページ
処理手段2−2が行う。パラメータとして複数取るもの
は、図11(b)に示す形式で、各コマンドのパラメー
タの境界に「区切り」を示すコードを挿入することで指
定する。前述したノンブルや柱等のプリセットコマンド
は、これらのコマンドの形式が使われている。
FIG. 11 shows the format of another format insertion command inserted into the document data. In this embodiment, as described above, the document data
S is composed of the character code of S, etc., but the attribute defined in the format is based on the command diagrams (a) and (b) of FIG.
It is possible to call. For example, as a format as shown in FIG.
If the character string of the heading is set as a parameter and “heading end” is set as the end of the command, the heading is set. The operation as an actual heading is performed by the page processing means 2-2 in FIG. A plurality of parameters are specified by inserting a code indicating “separation” at the boundary between parameters of each command in the format shown in FIG. 11B. The format of these commands is used for the preset commands such as the above-mentioned page numbers and pillars.

【0028】<処理手順のフローチャート>次に、図1
2のフローチャートを参照しながら、本実施例の文書処
理、組版処理作業の手順を説明する。尚、ここで言う文
書とは、既に説明した如く、文章のみではなく画像デー
タ等を含めた言葉である。更に、説明を簡単にするため
にキーコントローラ等の説明は省略し、すべてMPU1
−4が管理しているものとする。また処理手順はプログ
ラム化されているが、それはハードディスク1−6の中
にあつてもよいし、ROM化されていてもよい。但し、
当然のことながら、ハードディスク1−6に記憶されて
いる場合には、そのプログラムは主メモリ1−5にロー
ドされる。
<Flowchart of Processing Procedure> Next, FIG.
The procedure of document processing and typesetting processing of this embodiment will be described with reference to the flowchart of FIG. As described above, the term “document” is a word that includes not only text but also image data and the like. Further, description of the key controller and the like is omitted for simplicity of description, and all of the MPU 1
-4. Although the processing procedure is programmed, it may be stored in the hard disk 1-6 or may be stored in the ROM. However,
Naturally, when stored in the hard disk 1-6, the program is loaded into the main memory 1-5.

【0029】MPU1−4はステップS1でKBD1−
8またはPD1−7等からの入力を待ち、その入力がな
されたら、ステップS2で文書呼び出し指令であるかど
うかを判定する。呼び出し指令でない場合は他の制御に
移行する(本発明に直接関係がないので説明は省略す
る)。呼び出し指令ならば、ステップS3で図示しない
イメージメモリまたはページメモリ上に文書データがな
く白紙の状態、即ち初期状態であるかどうかを判断す
る。初期状態でないならばステップS5以降に進み、初
期状態ならばステップS4で外部ハードディスク装置1
−6等から文書データをメモリ上に呼び出す。次いでス
テップS5、S6でもって、VRAM1−2上に展開さ
れた文書データ及び編集メニューをCRT表示部1−1
上に、例えば図3に示すように表示する。ステップS7
でKBD1−8またはPD1−7からのキー入力を待機
し、キー入力があると、以下の各分岐ステップでそのキ
ー入力による指示を判断して対応した処理を行う。
The MPU 1-4 receives the KBD1-
8 or the input from PD1-7, etc., and when the input is made, it is determined in step S2 whether or not it is a document call command. If it is not a call command, the process shifts to another control (the description is omitted because it is not directly related to the present invention). If it is a call command, it is determined in step S3 whether there is no document data in an image memory or page memory (not shown) and a blank page state, that is, an initial state. If the initial hard disk drive is not in the initial state, the process proceeds to step S5.
The document data is called on the memory from -6 or the like. Next, in steps S5 and S6, the document data and the edit menu developed on the VRAM 1-2 are displayed on the CRT display section 1-1.
For example, it is displayed as shown in FIG. Step S7
Waits for a key input from the KBD 1-8 or PD 1-7, and if there is a key input, an instruction by the key input is determined in each of the following branching steps, and a corresponding process is performed.

【0030】まず、キー入力がカーソル3−2の移動指
示であれば、ステップS9でカーソル3−2を位置カー
ソルとして移動する。キー入力が不図示のキーボード上
の「範囲指定」のキーを指定する指令と判断した場合に
は、ステップS10からステップS11に進み、カーソ
ル3−2を範囲指定カーソルとする。キー入力が、例え
ば行揃え等の編集コマンドである場合、処理はステップ
S12からステップS13に進み、該当する編集コマン
ドを実行し、次いで、ステップS14で部分修正を行う
かどうか判断する。部分修正ならばステップS15で修
正した部分をCRT表示部1−1に再表示する。部分修
正でないならば、ステップS16で全面修正指令を待
ち、入力されたら全面修正を施し、ステップS17で全
面修正画面をCRT表示部1−1に表示する。キー入力
が書式コマンドであるならば、ステップS18からステ
ップS19へ進み、入力された書式コマンドを実行した
後、ステップS14で上記修正を行う。
First, if the key input is an instruction to move the cursor 3-2, the cursor 3-2 is moved as a position cursor in step S9. If it is determined that the key input is a command for designating a key of "range designation" on a keyboard (not shown), the process proceeds from step S10 to step S11, and the cursor 3-2 is set as a range designation cursor. If the key input is, for example, an edit command for line alignment or the like, the process proceeds from step S12 to step S13, executes the corresponding edit command, and then determines in step S14 whether to perform a partial correction. If it is a partial correction, the part corrected in step S15 is displayed again on the CRT display section 1-1. If it is not a partial correction, an entire correction command is waited for in step S16, and if input, the entire correction is performed, and in step S17, a full correction screen is displayed on the CRT display unit 1-1. If the key input is a format command, the process proceeds from step S18 to step S19, where the input format command is executed, and the above correction is performed in step S14.

【0031】キー入力が枠編集コマンドであるならば、
ステップS21で枠編集コマンドを実行する。キー入力
がプリントコマンドであるならば、ステップS23でプ
リント処理を実行する。また、キー入力が表組指令であ
るならば、ステップS25で表組処理を実行する。そし
て、キー入力が他のアプリケーシヨン選択指令ならば、
ステップS27で他のアプリケーシヨン処理、例えば文
書更新を行う。
If the key input is a frame editing command,
In step S21, a frame editing command is executed. If the key input is a print command, a print process is executed in step S23. If the key input is a table composing command, a table composing process is executed in step S25. And if the key input is another application selection command,
In step S27, another application process, for example, document update is performed.

【0032】<文書分割処理>文書分割処理は図13の
フローチャートで、先のステップS26で他のアプリケ
ーシヨンを選択した時の1つのアプリケーシヨンとして
処理される。先ず、ステップS31で分割を開始するペ
ージPを調べる。分割しようとするページが1ページ目
だとすると、その分割が意味がないのでステップS32
でエラーを表示し、そのままリターンする。また、ステ
ップS31で、分割対象ページが2ページ目以降である
場合はステップS33に進み、分割後の後半の文書ファ
イルの書式を何にするかの指示入力を待ち、その指示に
従って以下のステップS34〜36のいずれかに分岐す
る。「標準書式」にする場合にはステップS34で書式
ライブラリから本文書処理装置で予め決められている標
準書式を分割後の書式として確保する。また、ステップ
S33で「文書の先頭書式」であった場合は、ステップ
S35で分割しようとしている文書ファイルの本文書9
−2を分割後の書式として確保する。ステップS3で
「分割時の書式」であった場合は、ステップS36でペ
ージを割り付ける際に用いる現在の書式テーブルから書
式を確保する。現在の書式テーブルは、1ページ目の最
初のデータの書式を本文書式として開始し、途中で書式
を変更すると元の本文書式を変更せずこのテーブルを更
新する。ページ処理手段2−2がページを割りつける際
もこの書式テーブルが参照される。
<Document Division Processing> The document division processing is performed as one application when another application is selected in step S26 in the flowchart of FIG. First, in step S31, a page P at which division is started is checked. If the page to be divided is the first page, since the division is meaningless, step S32 is executed.
Displays an error and returns. If it is determined in step S31 that the page to be divided is the second or subsequent page, the flow advances to step S33 to wait for an input of an instruction to set the format of the latter half of the divided document file. To 36. When the "standard format" is set, in step S34, a standard format predetermined by the document processing apparatus is secured from the format library as a format after division. If it is “document head format” in step S33, the main document 9 of the document file to be divided is divided in step S35.
-2 is secured as a format after division. If it is "format at the time of division" in step S3, a format is secured from the current format table used when allocating pages in step S36. The current format table starts with the format of the first data of the first page as the text format, and if the format is changed in the middle, this table is updated without changing the original text format. This format table is also referred to when the page processing means 2-2 allocates a page.

【0033】ステップS37では、確保された書式を分
割後の後半の文書の書式Fとして確保する。ステップS
38では、分割後のノンブルの扱いを調べ、分割時のペ
ージにする場合は、ステップS39でページPのノンブ
ルの値を求め文書データの一部となるノンブルコマンド
Nを作成する。また、書式に従う旨の指示を与えたとき
には、ノンブルコマンドを作成せず、分割した文書の本
文書式に従うことになる。次にステップS40で、分割
後の柱の扱いを調べ、分割時の柱にする場合は、ステッ
プS41でページPの柱文字列を求め、文書データの一
部となる柱コマンドHを作成する。ステップS42で
は、分割後の見出し番号の扱いを調べる。分割時の柱に
する場合は、ステップS43でページPの見出し番号を
求め、文書データの一部となる見出し番号コマンドHを
作成する。
In step S37, the secured format is secured as the format F of the latter half document after division. Step S
In step 38, the handling of the page number after division is checked, and if the page is to be divided, the page number P page number is obtained in step S39, and a page number command N which is a part of the document data is created. When an instruction to follow the format is given, no fobble command is created, and the body format of the divided document is followed. Next, in step S40, the handling of the pillars after division is checked. If the pillars are to be used at the time of division, the pillar character string of the page P is obtained in step S41, and a pillar command H that is a part of the document data is created. In step S42, the handling of the heading number after division is checked. If the column is to be used for the division, the index number of the page P is determined in step S43, and an index number command H that is a part of the document data is created.

【0034】以上の処理を終えると、ステップS44に
おいて、1ページ目から(P−1)ページまでを前半の
文書としてハードディスク1−6に保存する。更にステ
ップS45で、Pページ以降全部を1つの文書Dとして
作成し、ノンブルコマンドN、柱コマンドH、見出し番
号コマンドMがあればその文書Dの1ページ目に差し込
む。最後にステップS46で文書の本文書式をFにし
て、その他の文書ファイルの情報を整えて、ハードディ
スク1−6に書き込み、メインルーチンに復帰する。こ
こでは、元の文書については述べなかつたが、元の文書
は、分割後削除するようにしてもよいし、保存するよう
にしておいてもよい。
When the above processing is completed, in step S44, the first to (P-1) th pages are stored in the hard disk 1-6 as the first half document. Further, in step S45, all pages after page P are created as one document D, and if there is a page number command N, a pillar command H, and a heading number command M, they are inserted into the first page of the document D. Finally, in step S46, the body format of the document is set to F, the information of other document files is prepared, written to the hard disk 1-6, and the process returns to the main routine. Here, the original document is not described, but the original document may be deleted after division or may be stored.

【0035】<文書整合処理>図14は文書整合処理の
フローチャートである。説明を簡単にするためにエラー
表示をせず、整合が取れていなければ修正を行うように
してある。文書整合処理は文書ファイル管理処理の中で
呼び出される。先ず、ステップS51で、まず整合をチ
ェックする2つのファイルのうちの第1の文書を1ペー
ジ目から順にページ処理手段2−2を使って割りつけ
る。文書を割りつけた結果としてステップS52で第1
の文書の終りのページの書式F1と書式プリセット情報
P1を確定する。次に、ステップS53で第2の文書の
本文書式F2を確保する。更にステップS54で第2の
文書の最初のページにある書式プリセット情報P2を確
保する。書式プリセット情報がない場合は、実体のない
ものとして書式プリセット情報P2を確保する。ここで
ステップS55で書式F1と書式F2を比較し、内容が
実質的に一致すればステップS57に移る。また、一致
しなければ、ステップS56で、第2の文書の本文書式
をF1の内容のものに変える。
<Document Matching Process> FIG. 14 is a flowchart of the document matching process. In order to simplify the explanation, an error is not displayed, and correction is made if they are not consistent. The document matching process is called in the document file management process. First, in step S51, the first document of the two files to be checked for consistency is allocated in order from the first page using the page processing means 2-2. As a result of allocating the document, the first
The format F1 and the format preset information P1 of the last page of the document are determined. Next, in step S53, the body format F2 of the second document is secured. Further, in step S54, format preset information P2 in the first page of the second document is secured. If there is no format preset information, the format preset information P2 is secured as having no entity. Here, the format F1 and the format F2 are compared in step S55, and if the contents substantially match, the process proceeds to step S57. If they do not match, in step S56, the body format of the second document is changed to that of F1.

【0036】ステップS57では、書式プリセット情報
P1とP2を比較する。内容が一致しなければステップ
S58に進み、第2の文書の書式プリセット情報が存在
するか否かを判断し、存在する場合にはステップS59
で第2の文書の書式プリセット情報をP1に修正する。
ステップS58で書式プリセット情報P2の実体がない
と判断した場合は、ステップS60で第2の文書の書式
プリセット情報として書式プリセット情報P1を作成
し、ステップS61で書式プリセット情報P1を第2の
文書ファイルの1ページ目の最初に差し込む。次に、ス
テップS62で書式か書式プリセット情報のいずれかが
不一致か否かを調べ、不一致なものがあればステップS
63で整合を取つた文書をハードディスク1−6に書き
込む。
In step S57, the format preset information P1 and P2 are compared. If the contents do not match, the process proceeds to step S58, in which it is determined whether or not the format preset information of the second document exists.
Then, the format preset information of the second document is corrected to P1.
If it is determined in step S58 that the format preset information P2 does not exist, format preset information P1 is created as format preset information of the second document in step S60, and the format preset information P1 is stored in the second document file in step S61. At the beginning of the first page. Next, in step S62, it is checked whether or not any of the format or the format preset information is inconsistent.
The document matched at 63 is written to the hard disk 1-6.

【0037】<文書結合処理>図15は文書結合処理の
フローチャートである。この文書結合処理は文書ファイ
ル管理処理の中で呼び出される。尚、説明が前後する
が、この文書結合処理は、図6に示す文書ファイル一覧
を表示した状態で、PD1−9に連動するグラフィック
カーソルにより「文書結合」6−4を指示した後、やは
りPD1−9を操作して、結合するファイル(後になる
文書)のアイコンを移動して、結合されるファイル(前
になる文書)のアイコンに重ねたときに開始される。こ
れは先に説明した文書整合処理にもいえることである。
<Document Combining Process> FIG. 15 is a flowchart of the document combining process. This document combining process is called in the document file management process. As will be described later, this document merging process is performed after the "document merging" 6-4 is designated by the graphic cursor linked to PD1-9 while the document file list shown in FIG. 6 is displayed. -9 is started when the icon of the file to be combined (document to be later) is moved to be overlaid on the icon of the file to be combined (document to become earlier) by operating -9. This can be said for the document matching process described above.

【0038】ステップS71で、まず結合する2つのフ
ァイルのうちの第1の文書(結合される文書)を1ペー
ジ目から順にページ処理手段2−2を使つて割りつけ
る。文書を割りつけた結果としてステップS72で第1
の文書の終りのページの書式F1と書式プリセット情報
P1を確定する。次にステップS73で、第2の文書
(結合する文書)の本文書式F2を確保する。ここでス
テップS74で書式プリセット情報の指示を調べ、保存
または整合であればステップS75で第2の文書の最初
のページにある書式プリセット情報P2を確保する。更
にステップS76で書式プリセット情報の指示を調べ整
合が指示されていれば、ステップS77で書式プリセッ
ト情報P1とP2を比較し、内容が不一致の場合はステ
ップS78で第2の文書の書式プリセット情報をP1に
修正する。
In step S71, the first document (document to be combined) of the two files to be combined is allocated in order from the first page using the page processing means 2-2. As a result of allocating the document, the first
The format F1 and the format preset information P1 of the last page of the document are determined. Next, in step S73, the body format F2 of the second document (the document to be combined) is secured. Here, the instruction of the format preset information is checked in step S74, and if it is stored or matched, the format preset information P2 in the first page of the second document is secured in step S75. Further, in step S76, the instruction of the format preset information is checked, and if the matching is instructed, the format preset information P1 and P2 are compared in step S77. If the contents do not match, the format preset information of the second document is compared in step S78. Correct to P1.

【0039】一方、ステップS74で書式プリセット情
報が削除であれば、ステップS79で第2の文書の書式
プリセット情報P2を取り除く。さて、ステップS80
に処理が進むと、結合時に書式の差し込みをするかどう
か調べる。差し込みを行う場合はステップS81で第2
の文書データの頭に書式F2を別書式コマンドデータと
して差し込む。次ぎにステップS82で第1の文書と第
2の文書の文書データ部を合体して文書Dを作る。更に
その文書Dを本文書式F1で割りつけ、ページデータテ
ーブルPTを作成する。次いで、ステップS84におい
て、本文書式F1と文書データDとページデータテーブ
ルPTを元に文書を作成しハードディスク1−6に書き
込む。次ぎにステップS85で第2の文書の扱いを調
べ、削除ならステップS86で第2の文書を削除する。
On the other hand, if the format preset information is deleted in step S74, the format preset information P2 of the second document is removed in step S79. By the way, step S80
When processing proceeds, it is checked whether or not to insert a format at the time of combining. When performing the insertion, the second
The format F2 is inserted as a separate format command data at the beginning of the document data. Next, in step S82, a document D is created by combining the document data portions of the first document and the second document. Further, the document D is allocated in the body format F1, and a page data table PT is created. Next, in step S84, a document is created based on the body format F1, the document data D, and the page data table PT, and written to the hard disk 1-6. Next, the handling of the second document is checked in step S85, and if it is to be deleted, the second document is deleted in step S86.

【0040】ここでは書式の整合の説明は行わなかつた
が、第1文書ファイルの最後のページの書式を取り出し
て、第2文書ファイルの本文書式と比較して整合が取れ
るように本実施例を変更することは容易に行えるのは言
うまでもない。以上説明したように本実施例の分割処理
によれば、分割後の文書の書式は、その分割した時点に
おける文書の書式が採用されることにより、文書の書式
の連続性が保たれるようになる。また、ノンブル(ペー
ジ番号)、柱(ヘッダ/フッタ)及び見出し番号等とい
った本来連続している情報も、各分割された文書のプリ
セット情報として設定されるので、その点においても文
書の連続性が保たれるようになる。
Although the description of the format matching has not been given here, the present embodiment is described in such a manner that the format of the last page of the first document file is extracted and compared with the body format of the second document file so as to obtain consistency. Needless to say, it can be easily changed. As described above, according to the division processing of the present embodiment, the format of the document after division is adopted as the format of the document at the time of division, so that the continuity of the format of the document is maintained. Become. In addition, originally continuous information such as page numbers (page numbers), columns (headers / footers), and heading numbers are also set as preset information of each divided document. Will be kept.

【0041】尚、実施例では、ページ単位に分割する例
を説明したが、任意の行で分割するようにしても良い。
この場合には、分割後の文書の書式は、その分割した時
点における行の書式が採用されるようにすれば良い。ま
た、本実施例の整合処理によれば、各分割した文書に対
して連続性のなくなるような処理を施したとしても、容
易に連続性を有する文書に整合させることが可能にな
る。
In the embodiment, the example in which the page is divided in page units has been described. However, the division may be performed in an arbitrary line.
In this case, the format of the line after the division may be adopted as the format of the divided document. Further, according to the matching processing of the present embodiment, even if processing is performed so that continuity is lost for each divided document, it is possible to easily match a document having continuity.

【0042】更には、本実施例の結合処理によれば、各
分割した文書に対して連続性のなくなるような処理を施
したとしても、容易に連続性を有する結合文書とするこ
とが可能になる。
Further, according to the combining process of the present embodiment, even if the divided document is subjected to a process that makes the document discontinuous, it is possible to easily form a combined document having continuity. Become.

【0043】[0043]

【発明の効果】以上説明したように本発明によれば、
書ファイル一覧表示中の第1の文書に第2の文書を結合
させる指示を行った際、第2の文書については自身が有
する書式を有効にするのか、或いは第1の文書の書式に
従うのかを視覚的に選択できるようになる。
As described above, according to the present invention, the sentence
When the user instructs to combine the second document with the first document displayed in the list of document files , it is determined whether the format of the second document is valid or follows the format of the first document. Be able to select visually .

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

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

【図2】実施例の主要部分の機能ブロック図である。FIG. 2 is a functional block diagram of a main part of the embodiment.

【図3】実施例における入力編集画面を示す図である。FIG. 3 is a diagram showing an input editing screen in the embodiment.

【図4】ノンブルによる変更を説明する図である。FIG. 4 is a diagram illustrating a change by a page number.

【図5】文書分割を指示した時に表示されるメニューを
示す図である。
FIG. 5 is a diagram showing a menu displayed when a document division is instructed.

【図6】文書ファイル管理画面を示す図である。FIG. 6 is a diagram showing a document file management screen.

【図7】文書整合を指示した時に表示されるメニューを
示す図である。
FIG. 7 is a diagram showing a menu displayed when a document matching instruction is given.

【図8】文書結合を指示した時に表示されるメニューを
示す図である。
FIG. 8 is a diagram showing a menu displayed when an instruction to combine documents is given.

【図9】ハードディスク装置内に記憶された1つ文書情
報のデータフォーマットを示す図である。
FIG. 9 is a diagram showing a data format of one piece of document information stored in a hard disk device.

【図10】文書データフォーマットの一部をなす本文書
式の内容を示す図である。
FIG. 10 is a diagram showing the contents of a text format that forms part of the document data format.

【図11】実施例における別書式差し込みコマンドのデ
ータフォーマットを示す図である。
FIG. 11 is a diagram showing a data format of another format insertion command in the embodiment.

【図12】実施例におけるの文書処理装置及び組版処理
作業手順を示すフローチャートである。
FIG. 12 is a flowchart illustrating a document processing apparatus and a typesetting processing operation procedure according to the embodiment.

【図13】実施例における文書分割処理を示すフローチ
ャートである。
FIG. 13 is a flowchart illustrating a document dividing process according to the embodiment.

【図14】実施例における文書整合処理を示すフローチ
ャートである。
FIG. 14 is a flowchart illustrating a document matching process in the embodiment.

【図15】実施例における文書結合処理を示すフローチ
ャートである。
FIG. 15 is a flowchart illustrating a document combining process according to the embodiment.

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

1−1 CRT表示部 1−2 VRAM 1−3 表示制御部 1−4 MPU 1−5 主メモリ 1−6 ハードディスク装置 1−6a 書ファイル 1−7 I/Oバス 1−8 キーボード 1−9 ポインティングデバイス 1−10 プリンタ 1−11 スキャナ 2−1 制御手段 2−2 ページ処理手段 2−3 記憶手段 2−4 表示手段 2−5 入力手段 1-1 CRT display section 1-2 VRAM 1-3 Display control section 1-4 MPU 1-5 Main memory 1-6 Hard disk drive 1-6a Document file 1-7 I / O bus 1-8 Keyboard 1-9 Pointing Device 1-10 Printer 1-11 Scanner 2-1 Control means 2-2 Page processing means 2-3 Storage means 2-4 Display means 2-5 Input means

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 文字、図形、イメージ等の主情報と当該
主情報の書式を決定する書式情報で構成される文書ファ
イルを処理する文書処理装置において、 複数の文書ファイルを当該個々の文書ファイル独自の書
式情報と共に記憶する記憶手段と、前記記憶手段に記憶された文書ファイル一覧を表示する
一覧表示手段と、 一覧表示された文書中の第1の文書ファイルに対して第
2の文書ファイルを結合指示した際、前記第2の文書フ
ァイルの書式を差し込むか否かを指示するためのメニュ
ー画面を表示する結合メニュー表示手段と、 該結合メニュー画面で、前記第1の前記文書ファイルに
対して前記第2の文書ファイルの書式情報を差し込むこ
とが指示された場合、 前記第1の文書ファイルに対して
前記第2の文書ファイルの書式情報を差し込み、前記第
1の文書ファイルと前記第2の文書ファイルを結合し、前記第1の文書ファイルに対して前記第2の文書ファイ
ルの書式情報の差し込みが指示されない場合、前記 第2
の文書ファイルの書式情報を無効とし、前記第1の文書
ファイルと前記第2の文書ファイルを結合するよう制御
する制御手段とを備えることを特徴とする文書処理装
置。
1. A document processing apparatus for processing a document file including main information such as characters, graphics, and images and format information for determining a format of the main information. Storage means for storing together with the format information, and a list of document files stored in the storage means.
List display means, and a first document file in the list of documents
When the user instructs to combine the two document files, the second document file
Menu to indicate whether to insert the file format
Combined menu display means for displaying a screen; and displaying the first menu file on the combined menu screen.
On the other hand, the format information of the second document file is inserted.
Is instructed, the format information of the second document file is inserted into the first document file, the first document file and the second document file are combined, and the first document file is File for the second document file
If the insertion of the format information of the file is not instructed, the second
A document processing apparatus comprising: control means for invalidating the format information of the first document file and controlling to combine the first document file and the second document file.
【請求項2】 前記制御手段によって結合された文書フ
ァイルの名称は、前記第1の文書ファイルのファイル名
とすることを特徴とする請求項第1項に記載の文書処理
装置。
2. The document file combined by the control means.
The file name is the file name of the first document file
2. The document processing according to claim 1, wherein
apparatus.
【請求項3】 前記メニュー画面には、更に、前記第2
の文書ファイルを削除するか否かを選択指示する項目が
含まれることを特徴とする請求項第1項に記載の文書処
理装置。
3. The menu screen further includes the second screen.
Item to select whether to delete the document file
2. The document processor according to claim 1, wherein
Equipment.
【請求項4】 文字、図形、イメージ等の主情報と当該
主情報の書式を決定する書式情報で構成される文書ファ
イルを処理する文書処理方法において、 複数の文書ファイルを当該個々の文書ファイル独自の書
式情報と共に所定の記憶手段に格納する格納工程と、前記記憶手段に記憶された文書ファイル一覧を表示する
一覧表示工程と、 一覧表示された文書中の第1の文書ファイルに対して第
2の文書ファイルを結 合指示した際、前記第2の文書フ
ァイルの書式を差し込むか否かを指示するためのメニュ
ー画面を表示する結合メニュー表示工程と、 該結合メニュー画面で、前記第1の前記文書ファイルに
対して前記第2の文書ファイルの書式情報を差し込むこ
とが指示された場合、 前記第1の文書ファイルに対して
前記第2の文書ファイルの書式情報を差し込み、前記第
1の文書ファイルと前記第2の文書ファイルを結合し、前記第1の文書ファイルに対して前記第2の文書ファイ
ルの書式情報の差し込みが指示されない場合、前記 第2
の文書ファイルの書式情報を無効とし、前記第1の文書
ファイルと前記第2の文書ファイルを結合するよう制御
する制御工程とを備えることを特徴とする文書処理方
法。
4. A document processing method for processing a document file comprising main information such as characters, graphics, images, and the like and format information for determining the format of the main information, comprising: A storage step of storing the document file in a predetermined storage unit together with the format information, and displaying a list of document files stored in the storage unit.
A list display step, and a first document file in the listed document
When the second document file to join instruction, the second document off
Menu to indicate whether to insert the file format
A combined menu display step of displaying a screen; and displaying the combined menu screen with the first document file.
On the other hand, the format information of the second document file is inserted.
Is instructed, the format information of the second document file is inserted into the first document file, the first document file and the second document file are combined, and the first document file is File for the second document file
If the insertion of the format information of the file is not instructed, the second
And a control step of invalidating the format information of the document file and controlling to combine the first document file and the second document file.
【請求項5】 前記制御手段によって結合された文書フ
ァイルの名称は、前記第1の文書ファイルのファイル名
とすることを特徴とする請求項第4項に記載の文書処理
方法。
5. The document file combined by the control means.
The file name is the file name of the first document file
5. The document processing according to claim 4, wherein
Method.
【請求項6】 前記メニュー画面には、更に、前記第2
の文書ファイルを削除するか否かを選択指示する項目が
含まれることを特徴とする請求項第4項に記載の文書処
理方法。
6. The menu screen further includes the second screen.
Item to select whether to delete the document file
5. The document processing apparatus according to claim 4, wherein
Method.
JP3013458A 1991-02-04 1991-02-04 Document processing apparatus and method Expired - Fee Related JP3062259B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3013458A JP3062259B2 (en) 1991-02-04 1991-02-04 Document processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3013458A JP3062259B2 (en) 1991-02-04 1991-02-04 Document processing apparatus and method

Publications (2)

Publication Number Publication Date
JPH04247561A JPH04247561A (en) 1992-09-03
JP3062259B2 true JP3062259B2 (en) 2000-07-10

Family

ID=11833704

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3013458A Expired - Fee Related JP3062259B2 (en) 1991-02-04 1991-02-04 Document processing apparatus and method

Country Status (1)

Country Link
JP (1) JP3062259B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5033277B2 (en) * 2000-09-12 2012-09-26 コニカミノルタビジネステクノロジーズ株式会社 Image processing apparatus, image processing method, and computer-readable recording medium
JP2006191421A (en) * 2005-01-07 2006-07-20 Fuji Xerox Co Ltd Document processing apparatus
JP4827705B2 (en) 2005-12-15 2011-11-30 キヤノン株式会社 Image processing apparatus and image processing method
JP4164510B2 (en) 2005-12-22 2008-10-15 キヤノン株式会社 Image processing apparatus and image processing method

Also Published As

Publication number Publication date
JPH04247561A (en) 1992-09-03

Similar Documents

Publication Publication Date Title
JP3062259B2 (en) Document processing apparatus and method
JP3026617B2 (en) Document processing apparatus and method
JP3471854B2 (en) Character processing apparatus and method
JP3062258B2 (en) Document processing apparatus and method
JPH05334301A (en) Document processor
JPH09223133A (en) Document processor
JP3076348B2 (en) Document shaping apparatus and document shaping method
JP3100614B2 (en) Document processing apparatus and document processing method
JP2608300B2 (en) Document processing method
JPH07144459A (en) Recording control method and recording apparatus
JP2851846B2 (en) Document processing method and apparatus
JP2823162B2 (en) Document processing device
JP2825816B2 (en) Document logical structure editing device
JP2542965B2 (en) Image editing equipment
JP2879940B2 (en) Score editing system
JPH05314108A (en) Document editor
JPH04369073A (en) Method for displaying menu and information processor
JPS62179064A (en) Picture processing system
JP3404770B2 (en) Document processing device
JPS6359658A (en) Document processor
JPH01130267A (en) Document processor
JPH03288262A (en) Word processor
JPH103371A (en) Page layout comparator and page layout display device
JPH01130274A (en) Document processor
JPH09134355A (en) Document preparing device and document arrangement changing method

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000410

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090428

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090428

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100428

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees