JPH04247561A - Document processing device and method - Google Patents
Document processing device and methodInfo
- Publication number
- JPH04247561A JPH04247561A JP3013458A JP1345891A JPH04247561A JP H04247561 A JPH04247561 A JP H04247561A JP 3013458 A JP3013458 A JP 3013458A JP 1345891 A JP1345891 A JP 1345891A JP H04247561 A JPH04247561 A JP H04247561A
- Authority
- JP
- Japan
- Prior art keywords
- document
- format
- page
- data
- 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.)
- Granted
Links
Landscapes
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【0001】0001
【産業上の利用分野】本発明は文書処理装置、詳しくは
文字(文章)、図形やイメージ等からなる文書の作成及
び編集を行なう文書処理装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing device, and more particularly to a document processing device for creating and editing documents consisting of characters (text), figures, images, and the like.
【0002】0002
【従来の技術】従来のこの種の装置(略してワープロ)
は、1文書として作成できるデータの大きさはそれほど
大きくはなく、大きな文書を作成する時は予め複数の文
書に分けていた。文書には、その文書の出力形態を決定
する書式情報が付随している。書式情報としてはせいぜ
い、用紙サイズ、文字サイズ、1行の文字数、1ページ
の行数、行ピッチ、文字ピッチ、袋とじ印刷の有無等で
あるので、いくつかの文書の書式を揃えると言っても、
それほど大きな手間は必要としない。[Prior Art] Conventional devices of this type (abbreviated as word processors)
The size of data that can be created as one document is not so large, and when creating a large document, it is divided into multiple documents in advance. A document is accompanied by format information that determines the output format of the document. At most, the format information includes paper size, font size, number of characters per line, number of lines per page, line pitch, character pitch, presence or absence of cover-stitch printing, etc., so it is difficult to match the format of several documents. too,
It doesn't require much effort.
【0003】ところで、近年になって、電算写植並の出
力結果が得られるDesk−Top−Publishi
ng (略してDTP)という文書処理装置が現われて
きた。このDTPにおいては、大きな文書が扱え、しか
もその出力形態をほぼ操作者の意図した通りにすること
ができるというメリットがあるが、文書の取り扱いが非
常に不便になるという問題が発生する。例えば大きくな
った文書データをフロッピーディスクに格納しようとし
ても、1つのフロッピーディスクに入り切れない。また
大きな文書は小さな文書に比べ処理データ量が多いため
、その文書ファイルのオープン、更新、終了に時間を要
する。そこで従来のワープロのように、予めいくつかの
文書ファイルに分けて作成することが考えられる。By the way, in recent years, Desk-Top-Publish, which can obtain output results comparable to computer phototypesetting, has been developed.
A document processing device called ng (abbreviated as DTP) has appeared. Although this DTP has the advantage of being able to handle large documents and outputting the document in almost the same way as the operator intended, it has the problem that it becomes extremely inconvenient to handle the document. For example, even if you try to store large document data on a floppy disk, it will not fit on one floppy disk. Furthermore, since a large document requires a larger amount of data to be processed than a small document, it takes time to open, update, and close the document file. Therefore, it is conceivable to divide the document into several document files and create them in advance, like in a conventional word processor.
【0004】0004
【発明が解決しようとしている課題】しかしながら、D
TPにおける書式情報(書式の設定項目数)は従来のワ
ープロのそれと比べて非常に多くなっており、それを各
ファイルにその都度設定するのは非常に手間がかかるも
のである。これらのことを少しでも軽減するために、既
に存在する同じ書式を利用しようとしても、DTPでは
文書の途中で書式を自由に変更できたりするために、同
じ書式を使えないことがかなりある。また、文書の途中
でページ番号やヘッダ/フッタを変更する場合も多く、
分割された文書の頭でそのプリセットを行う必要がある
。さらにプリセットされた文書に影響がある形で、前の
文書が変更された場合(例えば第1ファイルが10ペー
ジで、第2ファイルの頭でページ番号を11ページとプ
リセットし、その状態で第1ファイルが1ページ追加さ
れた場合)、文書全体としてのつじつまが合わなくなっ
てしまうという問題があった。[Problem to be solved by the invention] However, D
The format information (number of format setting items) in TP is much larger than that in conventional word processors, and it is very time-consuming to set it for each file each time. Even if you try to use the same format that already exists in order to alleviate these problems, it is often impossible to use the same format because DTP allows you to freely change the format midway through the document. Additionally, page numbers and headers/footers are often changed midway through a document.
You need to do that preset at the beginning of the divided document. Furthermore, if the previous document is changed in a way that affects the preset document (for example, if the first file has 10 pages and the page number is preset to page 11 at the beginning of the second file, then the first If one page is added to the file), there is a problem that the document as a whole becomes inconsistent.
【0005】また、DTPでは、比較的大きな文書を扱
うことが可能になるが、作成した文書ファイルが取り扱
うには勝手が悪過ぎるぐらい大きくなった場合、どうし
てもその文書ファイルをいくつかの文書単位に分割する
必要がある。その場合、分割された各文書ファイル間で
本来連続している情報(ページ番号、ヘッダ/フッタ、
見出し番号)を整合をとるために、個々の文書ファイル
の先頭にプリセットコマンドを入れることになる。とこ
ろが、分割されたファイルを、ネットワークを介して転
送したりする場合、各ファイル毎に転送のオーバーヘッ
ドがかかってしまい、逆に効率を悪くしてしまうことが
ある。従って、この場合には、分割しておいた文書ファ
イルをまとめたファイルにする必要がある。また、これ
以外であっても、各文書ファイルの整理する過程で、複
数の文書ファイルをまとめることが往々にしてある。こ
のような場合、各文書ファイルの先頭に前述したプリセ
ットが挿入されていると、後でその結合された文書ファ
イルに編集を加えると、そのプリセットコマンドによっ
て文書の連続性が損なわれるという問題がある。[0005]Also, with DTP, it is possible to handle relatively large documents, but if the created document file becomes too large to handle, it may be necessary to divide the document file into several document units. need to be divided. In that case, information that is originally continuous between each divided document file (page number, header/footer,
In order to match the heading numbers), a preset command is inserted at the beginning of each document file. However, when transferring divided files via a network, transfer overhead is incurred for each file, which may actually reduce efficiency. Therefore, in this case, it is necessary to combine the divided document files into a single file. Furthermore, even in cases 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 preset mentioned above is inserted at the beginning of each document file, there is a problem that if the combined document file is edited later, the continuity of the document will be disrupted by the preset command. .
【0006】本発明はかかる従来技術に鑑みなされたも
のであり、個々の文書ファイルに保持されている文書を
連続させる情報が、個々の文書ファイルの編集変更によ
って無意味になった場合であっても、それらファイルを
結合した時点で連続な1つの文書ファイルを構築するこ
とが可能な文書処理装置を提供しようとするものである
。The present invention has been made in view of such prior art, and it is possible to solve the problem when the information that connects documents held in individual document files becomes meaningless due to editing changes in individual document files. The present invention also aims to provide a document processing device capable of constructing one continuous document file when these files are combined.
【0007】[0007]
【課題を解決するための手段】この課題を解決するため
、本発明の文書処理装置は以下に示す構成を備える。
すなわち、文字、図形、イメージ等の主情報と当該主情
報の書式を決定する書式情報からなる文書データを処理
する文書処理装置において、複数の文書ファイルを当該
個々の文書ファイル独自の書式情報と共に記憶する記憶
手段と、該記憶手段に記憶された各文書ファイルを結合
する結合手段と、該結合手段で第1の文書ファイルの後
に第2の文書ファイルを結合するとき、少なくとも前記
第2の文書ファイルの先頭位置における書式情報を無効
とするように制御する制御手段とを備える。Means for Solving the Problems In order to solve this problem, a document processing apparatus of the present invention has the following configuration. That is, in a document processing device that processes document data consisting of main information such as characters, figures, images, etc. and format information that determines the format of the main information, multiple document files are stored together with format information unique to each document file. a storage means for combining each document file stored in the storage means, a combination means for combining each document file stored in the storage means, and when the combination means combines a second document file after the first document file, at least the second document file and control means for controlling the format information at the beginning position of the file to be invalidated.
【0008】[0008]
【作用】かかる本発明の構成において、記憶手段には、
複数の文書ファイルがそれぞれの文書ファイル独自の書
式情報と共に記憶されている。そして、結合手段で2つ
の文書ファイルを結合するとき、制御手段は、少なくと
も前記第2の文書ファイルの先頭位置における書式情報
を無効とするように制御する。[Operation] In the configuration of the present invention, the storage means has the following features:
A plurality of document files are stored together with format information unique to each document file. When the combining means combines the two document files, the control means performs control to invalidate at least the format information at the beginning position of the second document file.
【0009】[0009]
【実施例】以下、添付図面に従って本発明に係る実施例
を詳細に説明する。尚、本実施例でいう文書(データ)
は、文章(文字)、図形、イメージの少なくとも1つか
ら構成されるデータ群を表すものである。また、本装置
は従来、人間が机上の用紙に、文や図形やイメージをペ
ン等で描く動作を、電子的に行おうとする装置である。
また、本実施例でいう文書処理装置は各種機器からなる
システムであっても、1つの単体の機器であっても、さ
らにネツトワークからなるシステムであってもよいこと
は言うまでもない。DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, the document (data) referred to in this example
represents a data group consisting of at least one of sentences (characters), figures, and images. Additionally, this device is a device that allows a person to electronically draw sentences, figures, or images on paper on a desk with a pen or the like. Furthermore, it goes without saying that the document processing apparatus referred to in this embodiment may be a system consisting of various devices, a single device, or a system consisting of a network.
【0010】図1は実施例における文書処理装置のブロ
ック構成図を示している。図中、1−1はCRT表示部
で、ラスタスキャンして文書(文章、図形及びイメージ
)データを表示する。1−2はビデオRAM(VRAM
)で、CRT表示部1−1の1画面のパターン展開情報
を記憶する。1−3は表示制御部で、VRAM1−2へ
のパターン展開制御情報およびCRT表示部1−1への
パターンの読み出しを制御する。1−4は文書編集制御
と(データ制御)を行うマイクロプロセッサ(MPU)
で、各部を総括的に制御する。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 shows a block diagram of a document processing apparatus according to an embodiment. In the figure, 1-1 is a CRT display unit that performs raster scanning and displays document (text, graphics, and images) data. 1-2 is video RAM (VRAM
) stores pattern development information for one screen of the CRT display section 1-1. Reference numeral 1-3 denotes a display control section that controls reading of pattern development control information to the VRAM 1-2 and pattern reading to the CRT display section 1-1. 1-4 is a microprocessor (MPU) that performs document editing control and (data control)
, to control each part comprehensively. A main memory 1-5 stores control programs and document data shown in flowcharts to be described later. 1-6 is an external hard disk device, which stores document files 1-6a and the like. Reference numeral 1-7 denotes a pointing device (PD) which also serves as an indicating means for indicating a position, and specifies any one of the CRTs 1-1. 1-
8 is a keyboard (KBD), and 1-9 are I/O buses, which connect each block to the MPUs 1-4. Furthermore, scanner 1
-10, printer 1-11 may be connected.
【0011】尚、本実施例において、組版とは、元来、
活版印刷の1工程を表す言葉であり、一言で説明すると
、「原稿に基づいて活字を拾い、原稿の指定に基づいて
順序、字詰め、行数、字間、行間、位置等を正しく組み
上げ、バランスのとれた1つの文書を作りあげる」こと
を意味するものであるが、ここではこれらの処理を電子
的に行うことを意味する。[0011] In this embodiment, typesetting originally refers to
It is a word that describes one process of letterpress printing, and to explain it in one word, it is ``picking up type based on the manuscript, assembling it in the correct order, font filling, number of lines, spacing between characters, line spacing, position, etc. based on the specifications of the manuscript, "Creating a single well-balanced document," but here it means performing these processes electronically.
【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 illustrating the functions of MPU 1-4 shown in FIG. 1. A document file 1-6a as shown in FIG. 6 below is stored on the disk 1-6. The document data is passed by the control means 2-1 to the page processing means 2-2, and is allocated page by page. The page information resulting from the allocation is stored in the storage means 2-3 (
The page stored in the main memory 1-5) and instructed by the control means 2-1 is displayed on the display means 2-4 (CRT display section 1-4).
1). Command input and display page instructions are performed using the input means 2-5 (KBD1-8 and PD1-9), which are analyzed by the control means 2-1 and then sent to the page processing means 2-2 and display control means 2-4. Do it by controlling. Document data in the hard disk drive 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-3.
After the data is stored, the operator instructs a "disc save command" using the input means 2-5, and the data is saved. The format of the document data on the storage means 2-3 may be the same as the format of the document data on the hard disk drive 1-6, but it may be changed so that it can be easily processed by the control means 2-1 and the page processing means 2-2. Good too.
【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 this embodiment. 3-1 is a display screen compatible with document paper,
Initially (when creating a new document), black dots 3-4 are displayed to indicate that no document data (character data) has been input. 3-2 is a document editing cursor that indicates the current data input/editing position. A pointing cursor 3-3 operates in conjunction with the PD 1-9 in FIG. 1, and moves the document cursor 3-2, sets a range, and issues commands together with a switch (not shown) of the PD 1-9. The data from KBD1-8 is input from the input editing cursor 3-2 while being converted into kana-kanji. 3-5 is document paper 3- in the edit menu
Select functions that can be performed on 1 and switch data to be input and edited. 3-6 is a command menu which shows sub-functions of each function of the edit menu 3-5.
【0014】<文章編集の説明>文章編集では、用紙ま
たは枠内の文字の入力および編集を行うことができる。
文字の入力はローマ字仮名変換または仮名漢字変換等の
機能を用いて行われる。各用紙には書式が割り当てられ
ていて、用紙サイズ、用紙中の文書の入力編集する領域
である版面の位置、段組の数、段中の行数、本文の文字
サイズ、書体(明朝、ゴシック等)、ノンブル(ページ
番号)、柱(欄外の見出し)等が定義されている。文字
はこの書式に従つて組まれて表示または印刷される。ま
た編集機能により部分的な文字サイズ、書体の変更、大
見出し、中見出し、小見出しなどの見出しの設定、アン
ダーライン、圏点、ルビ、上付き、下付き文字等の文字
修飾、センタリング、右寄せ、左寄せ、均等割付等の行
そろえも行う。更に、文字列を検索して他の文字列に置
換する検索置換の機能も持つ。また、カーソル3−2は
文字の移動、入力、削除に伴い、文字に追従して動く。<Explanation of text editing> Text editing allows inputting and editing of characters on paper or within a frame. Character input is performed using functions such as romaji-kana conversion or kana-kanji conversion. A format is assigned to each sheet of paper, including the paper size, the position of the hanmen (the area for inputting and editing the document on the sheet), the number of columns, the number of lines in a column, the font size of the main text, and the font (Mincho, Gothic, etc.), folio (page number), column (heading outside the margin), etc. are defined. Characters are organized and displayed or printed according to this format. In addition, the editing functions allow you to partially change the font size and font, set headings such as large headings, medium headings, and subheadings, modify characters such as underlining, point marks, ruby, superscripts, subscripts, centering, right alignment, etc. Also perform line alignment such as left alignment and equal allocation. It also has a search and replace function that searches for a string and replaces it with another string. Further, the cursor 3-2 moves to follow the characters as they are moved, input, or deleted.
【0015】書式に関するもののうちで、ノンブル、柱
見出し番号等は文書の途中で変更することができる。こ
れらのものは通常、書式ではその書体や印字位置等を決
めるだけであり、文書データの最初のページから順に、
ページ処理手段2−2で決められる内容が印字される。
例えばノンブルの場合は、文書データの最初のページを
1、次ぎのページを2、その次を3、…という具合に決
められる。ところが目次をつける等のためページ番号を
途中で振り直したい場合がある。その場合、特定ページ
番号から振り直しを指定するノンブルコマンドを文書デ
ータの途中に差し込むことでこれを達成することができ
る。尚、このコマンドによればページ番号の印刷を抑制
することも可能である。[0015] Among format-related items, page numbers, column heading numbers, etc. can be changed during the document. Normally, these formats only determine the font, printing position, etc.
The content determined by the page processing means 2-2 is printed. For example, in the case of a folio, the first page of the document data can be determined as 1, the next page as 2, the next page as 3, etc. However, there may be times when you want to renumber the pages midway through, for example to add a table of contents. In this case, this can be achieved by inserting a folio command in the middle of the document data that specifies redistribution starting from a specific page number. Note that this command also makes it possible to suppress printing of page numbers.
【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. Figure 4(a) shows page number 4, which indicates page 5, on the third page of text data consisting of four pages.
When -1 is input, pages with page numbers 3 and 4 are changed to 5 and 6, respectively, as shown in FIG. 4(b). Furthermore, it is also possible to change the entire format or a part of the format from the middle of the document data by inserting another format.
【0017】<図形編集の説明>次に図形編集であるが
、これには、直線、円、矩形、だ円等の図形の入力、及
び面種、線種の変更、図形の移動、複写、消去、変形、
回転、拡大、縮小等の編集機能を持っている。また、複
数のレイアの層から構成されていて、各レイア単独の表
示、編集ができ、複数のレイアを重ねて表示することが
できる多重レイア構造等の機能を持つ。<Description of figure editing> Next is figure editing, which includes inputting figures such as straight lines, circles, rectangles, and ellipses, changing surface types and line types, moving figures, copying, erasure, transformation,
It has editing functions such as rotation, enlargement, and reduction. It is also composed of multiple layers, and has functions such as a multi-layer structure that allows each layer to be displayed and edited individually, and multiple layers to be displayed in an overlapping manner.
【0018】<イメージ編集の説明>イメージ編集は、
イメージスキャナ1−11から得られた画像の入力、イ
メージデータの回転、反転、移動、複写、消去、並びに
1ドット単位で編集を行うドット単位編集、そしてイメ
ージデータの所望の部分を切り出すトリミング等の機能
を有する。<Explanation of image editing> Image editing is
Inputting the image obtained from the image scanner 1-11, rotating, reversing, moving, copying, and erasing the image data, dot-by-dot editing to edit in units of dots, and trimming to cut out desired parts of the image data. Has a function.
【0019】<枠編集の説明>枠編集は文書編集によっ
て位置が変動する浮動枠(浮動ブロック)と、文書編集
によってその位置が固定である固定枠(固定ブロック)
の新規定義、修正変更そして削除等を行うものである。
<表組処理>表組処理は、小組(文書データ)でない枠
に対して編集を行うことができる。機能は罫線を引いた
り、その移動や削除を行う罫線編集と、文字を入力した
りアンダーライン、ルビなどの修飾を行う文字編集とに
大きく2つに分けられる。罫線編集は罫線を引いて表を
作り、セルと呼ばれる罫線で囲まれた矩形の領域を作成
することが目的である。文字はこのセルの中に入力する
ことができる。文字編集は、罫線編集で作られたセルの
中に文字を入力することが目的である。これら2つの編
集機能を用いることにより、良質かつ複雑な表を迅速、
しかも簡単に作ることができる。<Description of frame editing> Frame editing consists of floating frames (floating blocks) whose positions change depending on document editing, and fixed frames (fixed blocks) whose positions are fixed due to document editing.
This includes new definitions, modifications, deletions, etc. <Table layout process> Table layout processing allows editing of frames that are not small sets (document data). Functions can be broadly divided into two: line editing, which draws, moves, or deletes ruled lines, and character editing, which inputs characters and modifies them such as underlining and ruby. The purpose of ruled line editing is to create a table by drawing ruled lines, and to create a rectangular area surrounded by ruled lines called a cell. Text can be entered into 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 create high-quality and complex tables.
And it's easy to make.
【0020】<文書ファイル分割処理>図5は文章編集
画面で不図示の文書分割キーを押下した時に表示される
メニューを示す図である。この文書分割キーが押下され
ると、その時点で開いているページを含みそれ以降の文
書(後半部の文書)が、それ編集中の文書から分割され
る。このメニューでは分割された文書の後半部の文書に
対して、書式とノンブルや柱等の本来連続しているべき
情報のプリセット情報をどのようにするかを指示する。
書式に対して「標準書式」5−1を指示すると、本実施
例の文書処理装置が持つ、不図示の書式ライブラリの中
の標準書式が用いられる。また、「文書の先頭書式」5
−2を指示すると分割された文書の元々の書式が用いら
れる。この場合、CPU1−4としては、分割した後半
部の文書ファイルに対する書式データに、分割された文
書した書式データをコピーすることで達成できる。また
、「分割時の書式」5−3を指示するとそのページ(後
半部の文書)の先頭で確定している書式が用いられる。
従つて、文書ファイルの中で書式が途中で変更されてい
た場合でも、分割された後半の文書の書式として正確に
用いられる。ノンブル、柱、見出し番号に対しては5−
4,5−6,5−8の「書式に従う」を指示すると、そ
れらの本来連続しているべき情報のプリセット情報は、
分割された文書ファイルの後半部の文書ファイルには差
し込まれない。従つて、それらの情報は文書ファイルの
書式情報に従つて機能することになる。5−5「分割時
のページ」、5−7「分割時の柱」、5−9「分割時の
番号」を指示すると、前記のプリセット情報が分割され
た文書ファイルの後半部の文書ファイルには差し込まれ
る。従つて、後半部の文書ファイルはプリセットされた
情報から始まることになる。<Document File Dividing Process> FIG. 5 is a diagram showing a menu displayed when a document dividing key (not shown) is pressed on the text editing screen. When this document division key is pressed, the subsequent document (the second half of the document) including the currently open page is divided from the document being edited. This menu instructs how to set the format and preset information of information such as page numbers and columns that should originally be continuous for the latter half of the divided document. When "standard format" 5-1 is designated as a format, a standard format in a format library (not shown) possessed by the document processing apparatus of this embodiment is used. Also, "Document beginning format" 5
If -2 is specified, the original format of the divided document will be used. In this case, the CPU 1-4 can achieve this by copying the format data of the divided document into the format data for the document file in the latter half of the division. Furthermore, when "format when dividing" 5-3 is specified, the format determined at the beginning of the page (second half of the document) is used. Therefore, even if the format is changed in the middle of the document file, it will be used correctly as the format for the latter half of the divided document. 5- for folio, column, and heading numbers
If you specify "Follow format" in 4, 5-6, 5-8, the preset information of the information that should be continuous will be
It is not inserted into the second half of the divided document file. Therefore, these pieces of information function according to the format information of the document file. If you specify 5-5 "Page when dividing", 5-7 "Pillar when dividing", and 5-9 "Number when dividing", the above preset information will be added to the second half of the divided document file. is inserted. Therefore, the document file in the second half starts from 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. This document processing device can display multiple screens (called windows) separately or overlapping them using a method called multi-window. 6-1 displays the name of the window, changes the overlap between the window and other windows, instructs to print the document file in the window, and displays the part that cannot be displayed as a window. Used to indicate something to do. 6-2 is the file management menu for document management processing, which allows you to change the name of the document file displayed in this window, create a binder for grouping, copy it, or change the display in this window. such as changing the form,
This window is used to instruct management operations for document files within this window. 6-3 is a menu for instructing "document alignment", 6-5-1, 6-5-2,..., 6-5-15
When the document files indicated by are made into continuous documents, check the consistency of the format and preset information at the boundaries,
If alignment is not achieved, instructions are given as to whether or not alignment can be achieved. Reference numeral 6-4 is a menu for instructing "document combination", which allows document files shown as 6-5-1, 6-5-2, . . . , 6-5-15 to be combined. for example,
When printing each document file 6-5-1 to 6-5-15, a folio is specified for each document file,
If the page numbers are duplicated or discontinuous if printed as is, then whether or not to align them to make a continuous number of pages corresponds to this.
【0022】図7は図6の2つの文書ファイルに対し「
文書整合」6−3を指示した時に、その境界で不整合が
発生した時に表示される画面(指示メニュー)である。
書式で不整合が発生した場合は、7−1で整合を取るこ
とを指定し、整合を取る必要があえてなければ7−2を
指示する。また、プリセット情報で不整合が発生した場
合は7−3で整合を取ることを指示し、整合を合えて取
る必要がなければ7−4を指示する。いずれにせよ、整
合に係る設定が終了したときには、「実行」を指示する
ことで、設定内容に従って処理される。FIG. 7 shows the two document files shown in FIG.
This is a screen (instruction menu) that is displayed when an inconsistency occurs at the boundary when "Document Alignment" 6-3 is specified. If an inconsistency occurs in the format, specify 7-1 to make the match, and if there is no need to make the match, specify 7-2. Further, if a mismatch occurs in the preset information, an instruction to make the match is made in step 7-3, and if there is no need to make the match, a step in 7-4 is given. In any case, when the settings related to matching are completed, by instructing "Execute", processing is performed according to the settings.
【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 the two document files in FIG.
To explain in more detail, when "Document Merge" 6-4 is specified, "Chapter 2" is created after "Chapter 1" document file 6-5-1.
This is a processing menu that appears on the display screen when an instruction is given to combine the document files 6-5-2. In principle, the name of the combined document is the name of the previous document file (in the above case, "Chapter 1"). Combined document (Chapter 2)
Since the document file 6-5-2) exists in the previous document file, it may be deleted, but in some cases it may be desirable to leave it as is. Therefore, the instruction as to whether or not to delete the document to be combined (document file 6-5-2) is achieved by selecting either one of the columns 8-1 and 8-2. Columns 8-3 and 8-4 specify whether to insert the format of the documents to be combined as separate format data into the middle of the document when two documents are combined. Columns 8-5, 8-6, and 8-7 specify how to handle preset information when combined. "Match" in column 8-5 instructs to modify the preset information so that it matches at that time. "Delete" in column 8-6 instructs to delete preset information. Saving in column "8-7" instructs to make the preset information valid as is. In this example, it is decided whether to insert the format or not, but the consistency of the format is checked, and if the format is not consistent, it is inserted, and if it is consistent, it is not inserted. You can also use it as
【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 flags of a hardware environment in which the document file can operate, pointers to each data 9-2 to 9-6 in the document file, and the like. "Main document format" 9-2 stores the format data of the document data of the entire main document file. The "fixed frame control unit" 9-3 stores the size of the fixed frame, the attributes of the frame, a pointer to the fixed frame data, and the like. "Fixed frame data" 9-4 stores actual data of sentences, tables, figures, and images input into the fixed frame. In the "page data" 9-5, data allocated to each page is stored separated into page units. The data in units of pages includes sentences, figures, and images, and the illustration shows that there is information for a total of n pages. "Page data table" 9-6 stores pointers to data in each page of 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 illustrating main document format 9-2 in FIG. 9 in more detail. The "header" 10-1 stores the length, name, version, etc. of this main document format. "Paper format" 10-2 stores information such as the size of the paper, whether it is placed vertically or horizontally, and the type of form. "Hanmen/Main Text" 10-3 includes settings for top, bottom, left and right margins, columns, number of columns, line pitch, character pitch, number of lines, number of characters, etc.
Main text font, text font size, etc. are stored, and "emphasis settings"
10-4 stores information such as the font, character size, etc. for the emphasis command. Also, "Heading Settings" 10
-5 includes the font and font size for the heading command, the line of the main text of the heading specification character, the front and back spacing of the heading,
Information such as heading border information, heading number format, etc. is stored. "Enclosing rule" 10-6 stores the vertical and horizontal distances from the character string when drawing an enclosing rule. "Register mark" 10-7 stores information such as the position of the register mark on the paper. "Kugiri Rule" 10-8
Stores information such as the size of the front and back spaces of the border lines, and the type of ruled line. "Folio" 10-9 includes the font of the folio, the font size, the position on which the folio is placed on the paper,
Information such as the format of the folio is stored. "Pillar" 10
-10 stores information such as the font and font size of the pillars, the position of the pillars on the paper, and the use of headings as the pillars. The "indent tab" 10-11 stores information such as the starting end of the group, the end of the group, and the tab set position.
【0026】これらの本文書式9−2は、書式コマンド
設定に係る指示を与えることによつてその設定内容を変
更することが可能であるが、設定の変更は文書全体に影
響する。また書式の一部または全体を、文書の途中から
変更させたい場合は、別書式差し込みコマンド設定に係
る指示を表示画面に表示されたメニュー或いはキーボー
ドから与えることにより達成できる。この別書式差し込
みコマンドによって設定された内容のデータは、文書中
にコマンドデータとして差し込まれることになる。文書
中にある文字コード等は2バイトのJISコードとして
いるので、最上位ビットを“1”にすることで文字コー
ドではなく、コマンドデータであることがわかるように
なっている。The settings of these main document formats 9-2 can be changed by giving instructions related to format command settings, but changing settings affects the entire document. Furthermore, if it is desired to change part or all of the format from the middle of the document, this can be accomplished by giving an instruction for setting a separate format insertion command from a menu displayed on the display screen or from the keyboard. The data set by this separate format insertion command will be inserted into the document as command data. Since the character code etc. in the document is a 2-byte JIS code, by setting the most significant bit to "1", it can be determined that it 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 the separate format insertion command inserted into document data. In this embodiment, the document data is JI
It consists of the character code S, etc., but the attributes defined in the format are as shown in command figures 11(a) and (b).
It is possible to call. For example, in the format shown in Fig. 11(a), the start of the command is "heading start",
If you use a heading string as a parameter and ``end heading'' as the end of the command, the heading has been set. The actual operation as a heading is performed by the page processing means 2-2 in FIG. If a command takes multiple parameters, it is specified by inserting a code indicating a "delimiter" at the boundary between the parameters of each command in the format shown in FIG. 11(b). The formats of these commands are used for the preset commands such as the folio and pillar mentioned above.
【0028】<処理手順のフローチャート>次に、図1
2のフローチャートを参照しながら、本実施例の文書処
理、組版処理作業の手順を説明する。尚、ここで言う文
書とは、既に説明した如く、文章のみではなく画像デー
タ等を含めた言葉である。更に、説明を簡単にするため
にキーコントローラ等の説明は省略し、すべてMPU1
−4が管理しているものとする。また処理手順はプログ
ラム化されているが、それはハードディスク1−6の中
にあつてもよいし、ROM化されていてもよい。但し、
当然のことながら、ハードディスク1−6に記憶されて
いる場合には、そのプログラムは主メモリ1−5にロー
ドされる。<Flowchart of processing procedure> Next, FIG.
The document processing and typesetting processing procedures of this embodiment will be explained with reference to the flowchart No. 2. Note that the term "document" as used herein includes not only text but also image data and the like, as already explained. Furthermore, in order to simplify the explanation, the explanation of the key controller etc. is omitted, and all MPU1
-4 is managed. Further, although the processing procedure is programmed, it may be stored in the hard disk 1-6 or may be stored in a ROM. however,
Naturally, if the program is stored on the hard disk 1-6, it will be 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でK
BD1−8またはPD1−7からのキー入力を待機し、
キー入力があると、以下の各分岐ステップでそのキー入
力による指示を判断して対応した処理を行う。[0029] In step S1, the MPU1-4 selects the KBD1-
8 or PD1-7, etc., and when the input is made, it is determined in step S2 whether it is a document call command. If it is not a call command, the control shifts to another control (description will be omitted as it is not directly related to the present invention). If it is a call command, it is determined in step S3 whether the image memory or page memory (not shown) has no document data and is in a blank state, that is, in an initial state. If it is not in the initial state, the process proceeds to step S5 and onwards, and if it is in the initial state, in step S4, the external hard disk device 1-6 is
Recall document data into memory from etc. Next, in steps S5 and S6, the document data developed on the VRAM 1-2 and the editing menu are displayed on the CRT display section 1-1, for example, as shown in FIG. 3. K in step S7
Waits for key input from BD1-8 or PD1-7,
When there is a key input, the instruction by the key input is determined and the corresponding processing is performed in each of the following branch steps.
【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 to specify a "range specification" key on a keyboard (not shown), the process advances from step S10 to step S11, and the cursor 3-2 is set as a range specification cursor. If the key input is, for example, an editing command such as line alignment, the process proceeds from step S12 to step S13, in which the corresponding editing command is executed, and then, in step S14, it is determined whether or not to perform partial correction. If it is a partial correction, the corrected portion is redisplayed on the CRT display section 1-1 in step S15. If the correction is not a partial correction, a full correction command is waited for in step S16, and when the command is input, the full correction is performed, and a full correction screen is displayed on the CRT display section 1-1 in step S17. If the key input is a format command, the process advances from step S18 to step S19, and after executing the input format command, the above correction is performed in step S14.
【0031】キー入力が枠編集コマンドであるならば、
ステップS21で枠編集コマンドを実行する。キー入力
がプリントコマンドであるならば、ステップS23でプ
リント処理を実行する。また、キー入力が表組指令であ
るならば、ステップS25で表組処理を実行する。そし
て、キー入力が他のアプリケーシヨン選択指令ならば、
ステップS27で他のアプリケーシヨン処理、例えば文
書更新を行う。If the key input is a frame editing command,
A frame editing command is executed in step S21. If the key input is a print command, print processing is executed in step S23. Furthermore, if the key input is a table layout command, table layout processing is executed in step S25. And if the key input is another application selection command,
In step S27, other application processing, such as document updating, 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 shown in the flowchart of FIG. 13, and is processed as one application when another application is selected in the previous step S26. First, in step S31, the page P on which division is to be started is checked. If the page to be divided is the first page, the division is meaningless, so step S32
Displays an error and returns as is. In addition, in step S31, if the page to be divided is the second page or later, the process advances to step S33, waits for input of an instruction as to the format of the latter half of the document file after division, and follows the instructions in step S34 below. -36. If the "standard format" is to be used, in step S34, a standard format predetermined by the present document processing apparatus is secured from the format library as the format after division. In addition, if it is the "starting format of the document" in step S33, the main document 9 of the document file to be divided is determined in step S35.
-2 is reserved as the format after division. In step S3, "
If the format is "format at the time of division", the 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 on the first page as the main document format, and if the format is changed midway through, this table is updated without changing the original main document format. This format table is also referred to when the page processing means 2-2 allocates pages.
【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 format F of the latter half of the document after division. Step S
In step S38, the handling of the leaflet after division is checked, and if the page is to be used as the page at the time of division, the value of the leaflet of page P is determined in step S39, and a leaflet command N that becomes part of the document data is created. Furthermore, when an instruction to follow the format is given, no folio command is created and the main document format of the divided document is followed. Next, in step S40, the handling of the column after division is checked, and if it is to be used as a column at the time of division, the column character string of page P is obtained in step S41, and a column command H that becomes part of the document data is created. In step S42, the handling of the divided heading numbers is examined. If it is to be used as a column for division, the heading number of the page P is determined in step S43, and a heading number command H that becomes 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に書き込み、メインルーチンに復帰する。ここ
では、元の文書については述べなかつたが、元の文書は
、分割後削除するようにしてもよいし、保存するように
しておいてもよい。[0034] When the above processing is completed, in step S44, the first page to page (P-1) are stored in the hard disk 1-6 as the first half of the document. Furthermore, in step S45, all pages after page P are created as one document D, and if there is a folio command N, a column command H, and a heading number command M, they are inserted into the first page of the document D. Finally, in step S46, the main document format of the document is set to F, other document file information is arranged, and the information is written to the hard disk 1-6, and the process returns to the main routine. Although the original document has not been described here, the original document may be deleted after being divided, or may be saved.
【0035】<文書整合処理>図14は文書整合処理の
フローチャートである。説明を簡単にするためにエラー
表示をせず、整合が取れていなければ修正を行うように
してある。文書整合処理は文書ファイル管理処理の中で
呼び出される。先ず、ステップS51で、まず整合をチ
ェックする2つのファイルのうちの第1の文書を1ペー
ジ目から順にページ処理手段2−2を使って割りつける
。文書を割りつけた結果としてステップS52で第1の
文書の終りのページの書式F1と書式プリセット情報P
1を確定する。次に、ステップ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. To simplify the explanation, no errors are displayed, and corrections are made if consistency is not achieved. The document matching process is called during the document file management process. First, in step S51, the first document of the two files to be checked for consistency is allocated sequentially from the first page using the page processing means 2-2. As a result of allocating the document, the format F1 and format preset information P of the last page of the first document are determined in step S52.
Confirm 1. Next, in step S53, the main document format F2 of the second document is secured. Further, in step S54, format preset information P2 on the first page of the second document is secured. If there is no format preset information, the format preset information P2 is assumed to be insubstantial. Here, in step S55, the format F1 and the format F2 are compared, and if the contents substantially match, the process moves to step S57. If they do not match, the main document format of the second document is changed to the content of F1 in step S56.
【0036】ステップS57では、書式プリセット情報
P1とP2を比較する。内容が一致しなければステップ
S58に進み、第2の文書の書式プリセット情報が存在
するか否かを判断し、存在する場合にはステップS59
で第2の文書の書式プリセット情報をP1に修正する。
ステップS58で書式プリセット情報P2の実体がない
と判断した場合は、ステップS60で第2の文書の書式
プリセット情報として書式プリセット情報P1を作成し
、ステップS61で書式プリセット情報P1を第2の文
書ファイルの1ページ目の最初に差し込む。次に、ステ
ップS62で書式か書式プリセット情報のいずれかが不
一致か否かを調べ、不一致なものがあればステップS6
3で整合を取つた文書をハードディスク1−6に書き込
む。In step S57, format preset information P1 and P2 are compared. If the contents do not match, the process advances to step S58, where it is determined whether format preset information for the second document exists, and if it exists, the process advances to step S59.
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, the format preset information P1 is created as format preset information of the second document in step S60, and the format preset information P1 is transferred to the second document file in step S61. Insert it at the beginning of the first page. Next, in step S62, it is checked whether there is a mismatch in either the format or the format preset information, and if there is a mismatch, step S6
The document aligned in step 3 is written to the hard disk 1-6.
【0037】<文書結合処理>図15は文書結合処理の
フローチャートである。この文書結合処理は文書ファイ
ル管理処理の中で呼び出される。尚、説明が前後するが
、この文書結合処理は、図6に示す文書ファイル一覧を
表示した状態で、PD1−9に連動するグラフィックカ
ーソルにより「文書結合」6−4を指示した後、やはり
PD1−9を操作して、結合するファイル(後になる文
書)のアイコンを移動して、結合されるファイル(前に
なる文書)のアイコンに重ねたときに開始される。これ
は先に説明した文書整合処理にもいえることである。<Document Merging Process> FIG. 15 is a flowchart of the document combining process. This document combining process is called during the document file management process. Although the explanation may be complicated, this document combining process is performed after instructing "Document combining" 6-4 with the graphic cursor linked to PD1-9 while displaying the document file list shown in FIG. -9 to move the icon of the file to be combined (later document) so that it overlaps the icon of the file to be combined (previous document). This also applies to the document matching process described above.
【0038】ステップS71で、まず結合する2つのフ
ァイルのうちの第1の文書(結合される文書)を1ペー
ジ目から順にページ処理手段2−2を使つて割りつける
。文書を割りつけた結果としてステップS72で第1の
文書の終りのページの書式F1と書式プリセット情報P
1を確定する。次にステップ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 sequentially allocated from the first page using the page processing means 2-2. As a result of allocating the document, the format F1 and format preset information P of the last page of the first document are determined in step S72.
Confirm 1. Next, in step S73, the main document format F2 of the second document (document to be combined) is secured. Here, the format preset information instruction is checked in step S74, and if it is saved or matched, the format preset information P2 on the first page of the second document is secured in step S75. Further, in step S76, the format preset information is checked, and if matching is specified, the format preset information P1 and P2 are compared in step S77, and if the contents do not match, the format preset information of the second document is changed 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 deleted in step S79. Now, step S80
When the process progresses to , it is checked whether formatting should be merged when merging. When inserting, the second
Insert format F2 at the beginning of the document data as separate format command data. Next, in step S82, document D is created by combining the document data parts of the first document and the second document. Furthermore, the document D is allocated using the main document format F1, and a page data table PT is created. Next, in step S84, a document is created based on the main document format F1, document data D, and page data table PT, and written on the hard disk 1-6. Next, in step S85, the handling of the second document is checked, and if it is to be deleted, the second document is deleted in step S86.
【0040】ここでは書式の整合の説明は行わなかつた
が、第1文書ファイルの最後のページの書式を取り出し
て、第2文書ファイルの本文書式と比較して整合が取れ
るように本実施例を変更することは容易に行えるのは言
うまでもない。以上説明したように本実施例の分割処理
によれば、分割後の文書の書式は、その分割した時点に
おける文書の書式が採用されることにより、文書の書式
の連続性が保たれるようになる。また、ノンブル(ペー
ジ番号)、柱(ヘッダ/フッタ)及び見出し番号等とい
った本来連続している情報も、各分割された文書のプリ
セット情報として設定されるので、その点においても文
書の連続性が保たれるようになる。[0040] Although format matching has not been explained here, this embodiment is adapted to extract the format of the last page of the first document file and compare it with the main document format of the second document file to ensure consistency. Needless to say, changes can be easily made. As explained above, according to the division process of this embodiment, the format of the document after division is the same as that at the time of division, so that the continuity of the document format is maintained. Become. In addition, information that is originally continuous, such as page numbers, columns (headers/footers), and heading numbers, is also set as preset information for each divided document, so the continuity of the document is maintained in this respect as well. It will be preserved.
【0041】尚、実施例では、ページ単位に分割する例
を説明したが、任意の行で分割するようにしても良い。
この場合には、分割後の文書の書式は、その分割した時
点における行の書式が採用されるようにすれば良い。ま
た、本実施例の整合処理によれば、各分割した文書に対
して連続性のなくなるような処理を施したとしても、容
易に連続性を有する文書に整合させることが可能になる
。[0041] In the embodiment, an example in which the page is divided into pages has been described, but the division may be made into arbitrary lines. In this case, the format of the document after division may be the line format at the time of division. Further, according to the matching process of this embodiment, even if processing is performed on each divided document to cause the document to become discontinuous, it is possible to easily match the documents into a continuous document.
【0042】更には、本実施例の結合処理によれば、各
分割した文書に対して連続性のなくなるような処理を施
したとしても、容易に連続性を有する結合文書とするこ
とが可能になる。Furthermore, according to the merging process of this embodiment, even if processing is performed on each divided document to cause the continuity to be lost, it is possible to easily create a merging document with continuity. Become.
【0043】[0043]
【発明の効果】以上説明したように本発明によれば、個
々の文書ファイルに保持されている文書を連続させる情
報が、個々の文書ファイルの編集変更によって無意味に
なった場合であっても、それらファイルを結合した時点
で連続な1つの文書ファイルを構築することが可能とな
る。[Effects of the Invention] As explained above, according to the present invention, even if the information that connects documents held in individual document files becomes meaningless due to editing changes in individual document files, , it becomes possible to construct one continuous document file when these files are combined.
【図1】実施例における文書処理装置の概略構成を示す
ブロック図である。FIG. 1 is a block diagram showing a schematic configuration of a document processing device in an embodiment.
【図2】実施例の主要部分の機能ブロック図である。FIG. 2 is a functional block diagram of main parts of the embodiment.
【図3】実施例における入力編集画面を示す図である。FIG. 3 is a diagram showing an input editing screen in the embodiment.
【図4】ノンブルによる変更を説明する図である。FIG. 4 is a diagram illustrating changes made by a folio.
【図5】文書分割を指示した時に表示されるメニューを
示す図である。FIG. 5 is a diagram showing a menu displayed when 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 document matching is instructed.
【図8】文書結合を指示した時に表示されるメニューを
示す図である。FIG. 8 is a diagram showing a menu displayed when instructing to combine documents.
【図9】ハードディスク装置内に記憶された1つ文書情
報のデータフォーマットを示す図である。FIG. 9 is a diagram showing a data format of one document information stored in a hard disk drive.
【図10】文書データフォーマットの一部をなす本文書
式の内容を示す図である。FIG. 10 is a diagram showing the contents of a main document format that is part of the document data format.
【図11】実施例における別書式差し込みコマンドのデ
ータフォーマットを示す図である。FIG. 11 is a diagram showing a data format of a separate format insertion command in the embodiment.
【図12】実施例におけるの文書処理装置及び組版処理
作業手順を示すフローチャートである。FIG. 12 is a flowchart showing a document processing device and a typesetting process procedure in the embodiment.
【図13】実施例における文書分割処理を示すフローチ
ャートである。FIG. 13 is a flowchart showing document division processing in the embodiment.
【図14】実施例における文書整合処理を示すフローチ
ャートである。FIG. 14 is a flowchart showing document matching processing in the embodiment.
【図15】実施例における文書結合処理を示すフローチ
ャートである。FIG. 15 is a flowchart showing document combining processing in the embodiment.
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 device 1-6a Book 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 Memory means 2-4 Display means 2-5 Input means
Claims (2)
と当該主情報の書式を決定する書式情報からなる文書デ
ータを処理する文書処理装置において、複数の文書ファ
イルを当該個々の文書ファイル独自の書式情報と共に記
憶する記憶手段と、該記憶手段に記憶された各文書ファ
イルを結合する結合手段と、該結合手段で第1の文書フ
ァイルの後に第2の文書ファイルを結合するとき、少な
くとも前記第2の文書ファイルの先頭位置における書式
情報を無効とするように制御する制御手段とを備えるこ
とを特徴とする文書処理装置。[Claim 1] In a document processing device that processes document data consisting of main information such as characters, figures, images, etc. and format information that determines the format of the main information, multiple document files are processed in a format unique to each document file. a storage means for storing information together; a combination means for combining each document file stored in the storage means; and when the combination means combines a second document file after the first document file, at least the second 1. A document processing apparatus, comprising: control means for controlling format information at a head position of a document file to be invalidated.
ヘッダ/フッタ及び見出し番号が含まれることを特徴と
する請求項第1項に記載の文書処理装置。[Claim 2] The format information includes a page number,
2. The document processing device according to claim 1, further comprising a header/footer and a heading number.
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 true JPH04247561A (en) | 1992-09-03 |
| JP3062259B2 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) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002091944A (en) * | 2000-09-12 | 2002-03-29 | Minolta Co Ltd | 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 device |
| US7619782B2 (en) | 2005-12-22 | 2009-11-17 | Canon Kabushiki Kaisha | Image processing apparatus and method for combining different images and highest security level image |
| US7738143B2 (en) | 2005-12-15 | 2010-06-15 | Canon Kabushiki Kaisha | Copy-forgery-inhibited pattern or stamp image combined with image data based on user actions |
-
1991
- 1991-02-04 JP JP3013458A patent/JP3062259B2/en not_active Expired - Fee Related
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002091944A (en) * | 2000-09-12 | 2002-03-29 | Minolta Co Ltd | 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 device |
| US7738143B2 (en) | 2005-12-15 | 2010-06-15 | Canon Kabushiki Kaisha | Copy-forgery-inhibited pattern or stamp image combined with image data based on user actions |
| US7619782B2 (en) | 2005-12-22 | 2009-11-17 | Canon Kabushiki Kaisha | Image processing apparatus and method for combining different images and highest security level image |
| US7961358B2 (en) | 2005-12-22 | 2011-06-14 | Canon Kabushiki Kaisha | Image processing apparatus and method for combining image files and applying selected security processing |
| US8040572B2 (en) | 2005-12-22 | 2011-10-18 | Canon Kabushiki Kaisha | Image processing apparatus and method for applying selected security processing to user selected first and second image |
| US8159724B2 (en) | 2005-12-22 | 2012-04-17 | Canon Kabushiki Kaisha | Image processing apparatus, method, and program for applying security processing relating to a selected image |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3062259B2 (en) | 2000-07-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3062259B2 (en) | Document processing apparatus and method | |
| JP3026617B2 (en) | Document processing apparatus and method | |
| JP3062258B2 (en) | Document processing apparatus and method | |
| JP3076348B2 (en) | Document shaping apparatus and document shaping method | |
| JPH05334301A (en) | Document processor | |
| JP2608300B2 (en) | Document processing method | |
| JP2851846B2 (en) | Document processing method and apparatus | |
| JP2823162B2 (en) | Document processing device | |
| JPH05314108A (en) | Document editing device | |
| JPS6359658A (en) | Document processor | |
| JPS62179064A (en) | Picture processing system | |
| JP2833701B2 (en) | Document processing method | |
| JPH04369073A (en) | Menu display method and information processing device | |
| JPH0547860B2 (en) | ||
| JPS62175873A (en) | image processing system | |
| JPH04305761A (en) | Word processor | |
| JPH01130274A (en) | Document processor | |
| JPH0547861B2 (en) | ||
| JPS61241865A (en) | document editing device | |
| JPS62179063A (en) | document processing device | |
| JPH03161861A (en) | Document processing device with table creation function | |
| JPH0535452B2 (en) | ||
| JPH03137764A (en) | Document creation method and document processing device | |
| JPS59201129A (en) | Document producer | |
| JPH01130254A (en) | document processing device |
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 |