JPH0460757A - Automatic adjustment document processing device - Google Patents
Automatic adjustment document processing deviceInfo
- Publication number
- JPH0460757A JPH0460757A JP2170238A JP17023890A JPH0460757A JP H0460757 A JPH0460757 A JP H0460757A JP 2170238 A JP2170238 A JP 2170238A JP 17023890 A JP17023890 A JP 17023890A JP H0460757 A JPH0460757 A JP H0460757A
- Authority
- JP
- Japan
- Prior art keywords
- format
- change
- page
- data
- formats
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims description 30
- 230000004075 alteration Effects 0.000 abstract 5
- 238000010586 diagram Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Landscapes
- Document Processing Apparatus (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、編集作業を自動的に行なう機能を備えた自動
調整文書処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an automatic adjustment document processing device having a function of automatically performing editing work.
[発明の概要]
本発明の自動調整文書処理装置は、頁の下方に大きな余
白がある場合、余白を小さくする方向に真書式をを変更
するようにしたものである。[Summary of the Invention] The automatic adjustment document processing device of the present invention changes the true format in the direction of reducing the margin when there is a large margin at the bottom of the page.
[従来技術]
従来、文書処理装置は、文書作成に際し、予め用紙サイ
ズ、1行の桁数、1頁の行数、文字間隔、行間隔等の書
式設定を行なっており、文章データを入力すると、予め
設定した書式に従って文書が作成される。しかして、こ
の文書作成時において、入力した文書を1頁内にバラン
ス良く配置したい場合がある。しかし、内容が少ししか
ない場合、普通に入力したのでは1頁の上の方にしか内
容が配置されず、バランスが悪くなってしまう。[Prior Art] Conventionally, when creating a document, a document processing device performs format settings such as paper size, number of digits per line, number of lines per page, character spacing, line spacing, etc. in advance. , a document is created according to a preset format. Therefore, when creating this document, there are cases where it is desired to arrange the input document in a well-balanced manner within one page. However, if there is only a small amount of content, if you input it normally, the content will only be placed at the top of the page, resulting in poor balance.
このように場合、ユーザーは文章データを入力した後、
書式変更を指定し、行間隔、上余白、文字間隔、文字サ
イズ等を大きくするような作業を試行錯誤で行なって1
頁内にバランス良く配置するようにしている。In this case, after the user enters text data,
After specifying format changes and increasing line spacing, top margin, character spacing, font size, etc. through trial and error,
I try to place them in a well-balanced manner on the page.
[発明が解決しようとする課題]
上記のように従来の文書処理装置では、設定書式の1頁
より少ないを文書を1頁内にバランス良く配置したい場
合には、ユーザー自身が行間隔、上余白、文字間隔、文
字サイズ等の書式内容を変更する操作を行なわなければ
ならず、その操作か非常に面倒であった。[Problems to be Solved by the Invention] As described above, in conventional document processing devices, if the user wants to arrange documents in a well-balanced manner within one page in a set format, the user can adjust the line spacing and top margin. , it was necessary to perform an operation to change the format contents such as character spacing and character size, which was extremely troublesome.
このような原因は、書式設定を全て手動による設定のみ
に限定しているところにあると考えられる。The reason for this is thought to be that all format settings are limited to manual settings.
してみれば、指定された頁に対し、入力データに応じて
行間隔、上余白、文字間隔、文字サイズ等の書式を自動
的に変更することにより、設定書式の1頁をより少ない
文書であっても、1頁内にバランス良く配置し得ること
は明らかである。By automatically changing the line spacing, top margin, character spacing, font size, etc. for a specified page according to the input data, one page of the set format can be written in fewer documents. It is clear that even if there are such numbers, they can be arranged in a well-balanced manner within one page.
本発明の課題は、指定頁の文書が設定書式の1頁より少
ない場合であっても、入力データに応じて行間隔、上余
白、文字間隔等の書式を自動的に変更して1頁内にバラ
ンス良く配置することができるようにすることである。An object of the present invention is to automatically change formats such as line spacing, top margin, and character spacing according to the input data, even if the specified page of the document is less than one page in the set format. The goal is to be able to arrange them in a well-balanced manner.
[課題を解決するための手段] 本発明の手段は次の通りである。[Means to solve the problem] The means of the present invention are as follows.
1頁に対して入力された入力データを予め設定された行
間隔、上余白、文字間隔、文字サイズ等の書式に基づい
て出力する際、
出力されたデータの最終出力行の行位置が予め決められ
た行位置よりも下方か否かでデータ配置のバランスを調
べる手段。When outputting input data for one page based on preset formats such as line spacing, top margin, character spacing, and font size, the line position of the final output line of the output data is determined in advance. A means of checking the balance of data arrangement by checking whether it is below the specified row position.
例えば文章データメモリ16に記憶された文章データを
書式データメモリ15の設定書式に従ってチエツクする
文書整形編集装置17である。For example, it is a document formatting/editing device 17 that checks the text data stored in the text data memory 16 according to the format set in the format data memory 15.
上記最終出力行の行位置が頁上で予め決められた行位置
よりも上方であった場合に、データの最終出力行位置が
上記行位置よりも下方になるよう上記書式を変更する書
式変更手段。Format changing means for changing the format so that when the line position of the final output line is above a predetermined line position on the page, the final output line position of the data is below the line position. .
例えば変更書式種類設定メモリ24、変更タイプメモリ
25、書式側限界値メモリ26の設定内容に従って動作
する自動編集装置21である。For example, the automatic editing device 21 operates according to the settings of the change format type setting memory 24, the change type memory 25, and the format side limit value memory 26.
上記書式変更手段により変更された書式に基づいて入力
データを出力する出力手段。Output means for outputting input data based on the format changed by the format change means.
例えば自動編集装置21により編集された結果に基づい
て出力動作する文書整形編集装置17である。For example, it is a document formatting and editing device 17 that performs an output operation based on the results edited by the automatic editing device 21.
[作 用] 本発明の手段の作用は次の通りである。[Work] The operation of the means of the invention is as follows.
文書作成時において、設定書式の1頁より少ない文章デ
ータを指定頁内にバランス良く配置したい場合、その対
象となる頁を指定すると共に、変更書式の種類として行
間隔、上余白、文字間隔、左右余白、文字サイズ等を任
意に選択して設定する。この変更書式の種類か設定され
ると、書式の値が大きくなる方向で、行間隔、上余白、
文字間隔、左右余白、文字サイズ等の書式内容が順次変
更される。そして、この書式変更により文章データの最
下行が予め決められた行位置よりも下方になると編集処
理を終了し、この変更書式に基づいて指定行の文書デー
タが出力される。When creating a document, if you want to arrange text data that is less than one page in the set format in a well-balanced manner on the specified page, specify the target page and change the format type such as line spacing, top margin, character spacing, left and right. Select and set margins, font size, etc. as desired. When this change formatting type is set, the formatting values increase, line spacing, top margin,
Format contents such as character spacing, left and right margins, and font size are changed sequentially. When this format change causes the bottom line of the text data to be below a predetermined line position, the editing process ends, and the designated line of document data is output based on this changed format.
従って、頁の下方に大きな余白がある場合、その頁に対
する変更書式を指定することにより、その変更書式に従
って指定頁の書式内容が自動的に変更され、文章データ
がバランス良く配置される。Therefore, when there is a large margin at the bottom of a page, by specifying a change format for that page, the format contents of the specified page are automatically changed according to the change format, and text data is arranged in a well-balanced manner.
[実施例コ
以下、一実施例を第1図ないし第5図を参照しながら説
明する。[Example 1] An example will be described below with reference to FIGS. 1 to 5.
第1図は、全体の構成を示すブロック図である。FIG. 1 is a block diagram showing the overall configuration.
同図において、符号11は文章入力装置で、文字入カキ
−1改頁キー、特殊改頁キー、各種書式設定キーを備え
、この書式設定キーにより用紙サイズ、行数、桁数、行
間隔、上余白、上余白、文字間隔、左余白、右余白、文
字サイズ等が設定される。上記特殊改頁キーは、入力デ
ータ量に応じて真書式を自動変更したい場合に使用する
キーである。In the figure, reference numeral 11 denotes a text input device, which is equipped with a character input key, a page break key, a special page break key, and various formatting keys. Top margin, top margin, character spacing, left margin, right margin, font size, etc. are set. The above-mentioned special page break key is a key used when it is desired to automatically change the true format according to the amount of input data.
上記文章入力装置1ユには、表示装置12、書式設定装
置13、文章入力エディタ14が接続される。上記書式
設定装置13は、文章入力装置11からの入力に従って
書式設定を行ない、書式データメモリ15に記憶する。A display device 12, a formatting device 13, and a text input editor 14 are connected to the text input device 1U. The formatting device 13 performs formatting according to input from the text input device 11 and stores it in the format data memory 15.
文章入力エディタ14は、文章入力装置11から入力さ
れる文章データを編集し、文章データメモリ16に記憶
する。The text input editor 14 edits text data input from the text input device 11 and stores it in the text data memory 16.
そして、上記書式データメモリ15に記憶された書式デ
ータ及び文章データメモリ16に記憶された文章データ
は、文書整形編集装置17に送られて編集される。この
文書整形編集装置17により編集された文書データは、
ページメモリ18に記憶され、レイアウト表示装置19
及び印刷装置20に送られる。The format data stored in the format data memory 15 and the text data stored in the text data memory 16 are sent to the document formatting and editing device 17 for editing. The document data edited by this document formatting and editing device 17 is
stored in page memory 18 and layout display device 19
and sent to the printing device 20.
また、上記文書整形編集装置17には、自動編集装置2
1が接続される。更に、この自動編集装置21には、変
更書式入力装置22、書式データメモリ23、変更書式
種類設定メモリ24、変更タイプメモリ25、書式別限
界値メモリ26が接続される。この書式別限界値メモリ
26には、行間隔、上余白、文字間隔、文字サイズ等の
書式別の限界値が予め設定される。The document formatting and editing device 17 also includes an automatic editing device 2.
1 is connected. Furthermore, a modified format input device 22, a format data memory 23, a modified format type setting memory 24, a modified type memory 25, and a format-specific limit value memory 26 are connected to the automatic editing device 21. In this format-specific limit value memory 26, format-specific limit values such as line spacing, top margin, character spacing, character size, etc. are set in advance.
上記変更書式入力装置22は、行間隔、上余白、文字間
隔、左右余白、文字サイズ等の書式を変更書式として任
意に入力し得るもので、この変更書式は自動編集装置2
1を介して変更書式種類設定メモリ24に設定される。The change format input device 22 can arbitrarily input formats such as line spacing, top margin, character spacing, left and right margins, character size, etc. as a change format, and this change format can be input by the automatic editing device 2.
1 in the changed format type setting memory 24.
上記変更書式入力装置22より入力される書式データは
、表示装置27に表示されて確認できるようになってい
る。上記変更書式種類設定メモリ24には、変更書式入
力装置22により設定された変更書式の種類が、その設
定順に記憶される。The format data inputted from the change format input device 22 is displayed on a display device 27 so that it can be confirmed. The change format type setting memory 24 stores the change format types set by the change format input device 22 in the order in which they are set.
また、上記変更書式入力装置22は、上記変更書式と共
に変更タイプを入力指定することができる。この変更書
式入力装置22により指定された変更タイプは、自動編
集装置21を介して変更タイプメモリ25に記憶設定さ
れる。上記変更タイプとしては、全体変更タイプと順次
変更タイプかあり、この変更タイプに基づいて自動編集
装置21が自動編集制御を実行する。順次変更タイプは
、自動編集装置21が変更書式種類設定メモリ24から
読出した変更書式に基づいて限界か来るまでその内容を
変更し、限界になった段階で初めて次の変更書式の読出
しを行なうタイプである。Further, the change form input device 22 can input and specify a change type together with the change form. The change type specified by the change form input device 22 is stored and set in the change type memory 25 via the automatic editing device 21. The change types include a general change type and a sequential change type, and the automatic editing device 21 executes automatic editing control based on this change type. The sequential change type is a type in which the automatic editing device 21 changes the contents based on the change format read from the change format type setting memory 24 until the limit is reached, and only reads the next change format when the limit is reached. It is.
一方、全体変更タイプは、自動編集装置21が変更書式
種類設定メモリ24から読出した変更書式に基づいて1
つ変更する毎に次の変更書式を読出し、全変更書式指定
の後は再度1番目の変更書式に戻って内容を変更するタ
イプである。On the other hand, the overall change type is determined based on the change format read from the change format type setting memory 24 by the automatic editing device 21.
This type reads the next change format every time one change is made, and after specifying all change formats, returns to the first change format to change the contents.
次に上記実施例の動作を説明する。Next, the operation of the above embodiment will be explained.
文書作成に際して、文章入力装置11により各種の書式
、即ち、用紙サイズ、行数、桁数、行間隔、上余白、上
余白、文字間隔、左余白、右余白、文字サイズ等の書式
を指定する。この書式指定入力は、書式設定装置13を
介して書式データメモリ15に記憶設定される。When creating a document, various formats such as paper size, number of lines, number of digits, line spacing, top margin, top margin, character spacing, left margin, right margin, font size, etc. are specified using the text input device 11. . This format designation input is stored and set in the format data memory 15 via the format setting device 13.
上記の書式設定を行なった後、文章入力装置11から文
章入力エディタ14に文章データを入力する。文章入力
エディタ14は、入力される文章データに基づいて、か
な漢字変換等の処理を行なって文章データメモリ16に
記憶し、文書整形編集装置17に出力する。この文書整
形編集装置17は、文章データメモリ16から送られて
くる文章データを、書式データメモリ15に設定されて
いる書式に基づいて編集し、ページメモリ18に出力す
る。このページメモリ18に書き込まれた文書データは
、レイアウト表示装置19に送られて表示される。通常
の文章入力を行なっている状態では、書式データメモリ
15に設定されている書式に基づいて文書の整形、編集
か行なわれる。After performing the above formatting, text data is input from the text input device 11 to the text input editor 14. The text input editor 14 performs processing such as kana-kanji conversion based on the input text data, stores it in the text data memory 16, and outputs it to the document formatting and editing device 17. This document formatting and editing device 17 edits the text data sent from the text data memory 16 based on the format set in the format data memory 15 and outputs it to the page memory 18. The document data written in this page memory 18 is sent to a layout display device 19 and displayed. When normal text input is being performed, the document is formatted or edited based on the format set in the format data memory 15.
しかして、自動編集する頁を指定する場合、即ち、設定
書式の1頁より少ない文書を1頁内にバランス良く配置
したい場合は、その文の入力に先立って改頁キーを操作
し、文の入力後に特殊改頁キー操作する。この特殊改頁
キーの操作により第2図のフローチャートに示す自動編
集処理が実行される。Therefore, if you want to specify a page to be automatically edited, that is, if you want to arrange documents that are less than one page in the set format in a well-balanced manner on one page, operate the page break key before inputting the sentence. Operate the special page break key after inputting. By operating this special page break key, automatic editing processing shown in the flowchart of FIG. 2 is executed.
特殊改頁キーが操作されると、文書整形編集装置17は
、まず、指定頁の文章データ、つまり、改頁キーと特殊
改頁キーとの間の文章データが1頁をオーバーするか否
かをチエツクしくステップAI ) 、オーバーしてい
れば文章を圧縮して配置する処理を実行する(ステップ
A2)。すなわち、行間隔、文字間隔、上下余白、左右
余白、文字すイズ等の書式を順次変更して文章を圧縮し
、入力データが1頁内に収まるように自動編集する。When the special page break key is operated, the document formatting and editing device 17 first determines whether the text data of the designated page, that is, the text data between the page break key and the special page break key, exceeds one page. (Step AI), and if it is over, execute a process of compressing and arranging the text (Step A2). That is, the text is compressed by sequentially changing formats such as line spacing, character spacing, top and bottom margins, left and right margins, character size, etc., and the input data is automatically edited so that it fits within one page.
一方、上記ステップA1で入力された文章データが1頁
をオーバーしていないと判断された場合は、文章データ
を設定書式に従って配列しくステップA3)、データ最
終行のY座標をチエツクする(ステップA4)。そして
、このチエツクの結果、データの最終行がページ中央よ
り下方か否かを判断しくステップA5)、ページ中央よ
り下方の場合はそのまま自動編集処理を終了する。On the other hand, if it is determined that the text data input in step A1 does not exceed one page, the text data is arranged according to the set format (step A3), and the Y coordinate of the last line of data is checked (step A4). ). As a result of this check, it is determined whether the last line of the data is below the center of the page (step A5), and if it is below the center of the page, the automatic editing process is immediately terminated.
しかし、データ最終行がページ中央より上方の場合は、
文書整形編集装置17から自動編集装置21に起動指令
が送られ、自動編集装置21によりステップA6以下に
示す自動編集処理か実行される。However, if the last row of data is above the center of the page,
A startup command is sent from the document formatting and editing device 17 to the automatic editing device 21, and the automatic editing device 21 executes automatic editing processing shown in step A6 and subsequent steps.
自動編集装置21は、まず、文章データ中に改行マーク
が有るか否かをチエツクしくステップA6) 第3図
(a)に示すように改行マーク31か有れば同図(b)
に示すように改行マーク31の次に空白行を挿入する(
ステップA7)。The automatic editing device 21 first checks whether there is a line break mark in the text data (step A6). If there is a line break mark 31 as shown in FIG.
Insert a blank line after the line break mark 31 as shown in (
Step A7).
このステップA7の処理を終了した場合、あるいはステ
ップA6で改行マークが無いと判断された場合は、ステ
ップA8に進んで図形の有無をチエツクし、第4図(a
)に示すように図形32か有れば、同図(b)に示すよ
うに図形32と文章データとの間に空白行を挿入する(
ステップA9)。If the process of step A7 is completed, or if it is determined that there is no line break mark in step A6, the process proceeds to step A8, where the presence or absence of a figure is checked, and the process shown in FIG.
) If there is a figure 32 as shown in (b), a blank line is inserted between the figure 32 and the text data (
Step A9).
このステップA9の処理を終了した場合、あるいはステ
ップA8で図形が無いと判断された場合は、ステップA
IDに進んでデータ最終行のY座標を再度チエツクし、
データ最終行がページ中央より下方か否かを判断する(
ステップA11)。このときデータ最終行がページ中央
より下方にあれば編集処理を終了する。しかし、上記の
処理を行なっても、データ最終行がページ中央より上方
にあれば、ステップA12以下の処理により文章データ
が拡大するように書式を変更する。If the process of this step A9 is finished, or if it is determined that there is no figure in step A8, step A
Proceed to ID and check the Y coordinate of the last line of data again.
Determine whether the last row of data is below the center of the page (
Step A11). At this time, if the last line of data is below the center of the page, the editing process ends. However, even after performing the above processing, if the last line of data is above the center of the page, the format is changed so that the text data is enlarged by the processing from step A12 onwards.
ステップA12においては、変更書式の種類を設定する
ためのガイダンスを表示装置27に表示する。この状態
でユーザーは変更書式の種類を設定する。すなわち、行
間隔、上余白、文字間隔、左右余白、文字サイズについ
て優先順位の高いものから順に設定する(ステップA1
3)。この場合、変更書式の種類は、全種類でなくても
、その中から任意に選択して設定することができる。上
記変更書式入力装置22により指定された変更書式の種
類は、その指定順に変更書式種類設定メモリ24に記憶
設定される。In step A12, guidance for setting the type of change format is displayed on the display device 27. In this state, the user sets the type of change format. That is, line spacing, top margin, character spacing, left and right margins, and character size are set in descending order of priority (step A1
3). In this case, the types of change formats do not have to be all types, but can be arbitrarily selected and set from among them. The types of change formats designated by the change format input device 22 are stored and set in the change format type setting memory 24 in the designated order.
上記変更書式の種類の設定を終了すると、その状態がス
テップA14により検出されてステップA15に進む。When the setting of the change format type is completed, the state is detected in step A14 and the process proceeds to step A15.
このステップA15では、変更タイプについて、全体変
更タイプあるいは順次変更タイプの何れかを指定する。In this step A15, either the global change type or the sequential change type is specified as the change type.
この指定された変更タイプは、変更タイプメモリ25に
記憶設定される。This designated change type is stored and set in the change type memory 25.
その後、書式データメモリ15に設定されている全書式
データを文書整形編集装置17を介して読出し、書式デ
ータメモリ23にセットする(ステップA i8)。次
いで変更書式種類設定メモリ24から第1番目の変更書
式の書式内容を読出しくステップA17)、書式別限界
値メモリ26の設定内容を参照して該当する書式内容が
限界であるか否かを判断する(ステップA 18)。該
当する書式内容が限界でなければ、書式の値か大きくな
る方向で該当書式内容を変更しくステップA19)、こ
の変更した書式についてデータ配置を行ない、その最終
行のY座標がページ中央より下方か否かを判断する(ス
テップA20. A21)。データの最終行がページ中
央より上方であれば、更に変更タイプメモリ25の設定
内容を参照して全体変更タイプか否かを判断しくステッ
プA22)、全体変更タイプでなければ、つまり、順次
変更タイプの場合であればステップA18以下の処理に
戻り、上記したように書式の値が大きくなる方向で該当
書式内容を変更する。そして、上記ステップA18〜A
22の処理によりデータの最終行がデータの最終行がペ
ージ中央より下方になると、その状態がステップA21
において検出され、編集処理を終了する。Thereafter, all format data set in the format data memory 15 is read out via the document formatting/editing device 17 and set in the format data memory 23 (step Ai8). Next, the format content of the first modified format is read from the modified format type setting memory 24 (step A17), and the set content of the format-specific limit value memory 26 is referred to to determine whether the corresponding format content is the limit. (Step A18). If the applicable format content is not at the limit, change the applicable format content in a direction that increases the format value (Step A19), arrange data for this changed format, and check whether the Y coordinate of the last line is below the center of the page. It is determined whether or not (steps A20 and A21). If the last line of the data is above the center of the page, it is determined whether or not it is a global change type by referring to the setting contents of the change type memory 25 (step A22); if it is not a global change type, that is, a sequential change type If so, the process returns to step A18 and subsequent steps, and the contents of the format are changed in the direction of increasing the format value as described above. Then, the above steps A18 to A
When the last line of data is located below the center of the page by the process in step A22, that state is changed to step A21.
is detected, and the editing process ends.
また、ステップA22において全体変更タイプであると
判断された場合は、ステップA23に進んで全変更書式
についての指定を終了したか否かをチエツクし、終了し
ていなければステップA24において変更書式種類設定
メモリ24から次の変更書式の書式内容を読出してステ
ップA18に戻る。以下、同様の処理を繰り返し、全変
更書式についての指定を終了すると、その状態がステッ
プA23で検出されてステップA17に戻り、再度、第
1番目の変更書式を読出し、書式の値が大きくなる方向
で該当書式内容を変更する。If it is determined in step A22 that the change type is the entire change type, the process proceeds to step A23 and checks whether or not the specification of all change formats has been completed.If not, the change format type setting is performed in step A24. The format contents of the next changed format are read from the memory 24 and the process returns to step A18. Thereafter, the same process is repeated, and when all change formats have been specified, that state is detected in step A23 and the process returns to step A17, where the first change format is read out again and the value of the format is increased in the direction Change the contents of the corresponding format.
しかして、上記ステップA17〜A24の処理によっも
、未だ文章データの最終行がページ中央より上方にある
状態で、ある書式内容が限界に達すると、ステップA1
gからステップA25に進み、変更書式種類設定メモリ
24を参照して限界でない他の書式があるか否かをチエ
ツクする。他の書式があれば変更書式種類設定メモリ2
4から次の書式を読出しくステップA2B) その後
、ステップA1gに戻って上記した処理を繰り返し、書
式の値が大きくなる方向で該当書式内容を変更する。However, even after the processing in steps A17 to A24 described above, when a certain format content reaches its limit with the last line of text data still above the center of the page, step A1
The program proceeds to step A25 from g, and refers to the modified format type setting memory 24 to check whether there is another format that is not limited. Change format type setting memory 2 if there is another format
(Step A2B) Then, the process returns to step A1g and the above-described process is repeated to change the content of the format in such a way that the value of the format increases.
上記全ての変更書式に対して書式の値が大きくなる方向
に内容を変更しても、文章データの最終行がページ中央
より上方にある場合は、ステップA25からステップA
27に進み、元の設定書式に基づいて文章データを配置
して処理を終了する。If the last line of text data is above the center of the page even if the content is changed in the direction of increasing the format value for all of the above changed formats, step A25 to step A
The process proceeds to step 27, where the text data is arranged based on the original setting format, and the process ends.
以下、第5図により具体的な自動編集処理について説明
する。The automatic editing process will be explained in detail below with reference to FIG.
第5図(a)に示すように特殊改頁キーにより指定され
た文章データの最下行がページ中央より上方にあり、か
つ、文章中に改行マーク及び図形が無いものとすると、
第2図のステップAI。Assume that the bottom line of the text data specified by the special page break key is above the center of the page as shown in FIG. 5(a), and there are no line break marks or figures in the text.
Step AI in FIG.
A3〜A6 、 A8 、 AIO,Allを経てステ
ップA12に進む。このステップA12からステップA
15の処理により、変更書式の種類として、■文字サイ
ズ、■行間隔、■上余白、の順に設定し、変更タイプと
して、順次変更タイプを指定したものとすると、まず、
ステップA17で変更書式種類設定メモリ24から第1
番目の変更書式として「文字サイズ」が読出され、ステ
ップA19で指定頁内の文字サイズが1段階拡大される
。この際、順次変更タイプが指定されているので、ステ
ップA18〜A22の処理が繰り返され、第5図(b)
に示すように文字サイズが書式別限界値メモリ26に設
定されている限界値まで拡大される。The process proceeds to step A12 via A3 to A6, A8, AIO, and All. From this step A12 to step A
Assuming that the change format type is set in the order of ■Character size, ■Line spacing, and ■Top margin in the process of step 15, and the change type is specified as sequential change type, first,
In step A17, the first
"Character size" is read out as the second change format, and in step A19, the character size in the specified page is enlarged by one level. At this time, since the change types are specified sequentially, the processes of steps A18 to A22 are repeated, and as shown in FIG. 5(b).
As shown in FIG. 3, the character size is enlarged to the limit value set in the format-specific limit value memory 26.
上記の文字サイズ拡大処理によっても文章データの最終
行がページ中央より上方にあるとすると、ステップA1
8からステップA25を経てステップA2Bに進み、変
更書式種類設定メモリ24から次の変更書式である「行
間隔」を読出し、ステップA18を経てステップA19
に戻り、書式内容を変更する。これにより第5図(c)
に示すように行間隔が設定限界値まで拡大される。Assuming that the last line of the text data is above the center of the page even after the above font size enlargement process, step A1
8, proceeds to step A2B via step A25, reads out the next change format "line spacing" from the change format type setting memory 24, and proceeds to step A19 via step A18.
Return to and change the format contents. As a result, Fig. 5(c)
The line spacing is increased to the set limit as shown in .
上記行間隔拡大処理によっても未だ文章データの最終行
がページ中央より上方にあるとすると、ステップA2B
において変更書式種類設定メモリ24から次の変更書式
である「上余白」を読出し、ステップA1gを経てステ
ップA19に戻り、書式内容を変更する。これにより第
5図(d)に示すように上余白が設定限界値まで拡大さ
れる。If the last line of the text data is still above the center of the page even after the above line spacing enlargement process, step A2B
At step A1g, the next change format "top margin" is read out from the change format type setting memory 24, and the process returns to step A19 to change the format contents. As a result, the upper margin is expanded to the set limit value as shown in FIG. 5(d).
以上の編集処理の結果、第5図(d)に示すように上記
指定文章データの最終行がページ中央より下方になれば
、その状態がステップA21において検出され、編集処
理を終了する。As a result of the above editing process, if the last line of the specified text data is below the center of the page as shown in FIG. 5(d), this state is detected in step A21 and the editing process is terminated.
上記の自動編集を終了した後は、文書整形編集装置17
による通常の編集処理に戻る。After finishing the above automatic editing, the document formatting and editing device 17
Return to normal editing processing.
なお、上記実施例では、良書式を変更する順番を任意に
設定できるようにしたが、その順番は予め固定した値に
設定しておいても良い。In the above embodiment, the order in which the good formats are changed can be set arbitrarily, but the order may be set to a fixed value in advance.
また、上記実施例では、一般頁については自動調整せず
、特定頁について行なうようにしたか、区別せずに各員
について自動調整をするようにしても良い。Further, in the above embodiment, automatic adjustment is not performed for general pages, but is performed for specific pages, or automatic adjustment may be performed for each person without distinction.
更に、上記実施例では、文章データの最終行がページ中
央より上方にある場合に自動編集するようにしたが、自
動編集を行なうか否かの基準をページ中央以外のところ
設定しても良いことは勿論である。Furthermore, in the above embodiment, automatic editing is performed when the last line of text data is above the center of the page, but the criteria for whether or not to perform automatic editing may be set at a location other than the center of the page. Of course.
[発明の効果]
本発明によれば、頁の下方に大きな余白がある場合、余
白を小さくする方向に良書式をを変更するようにしたの
で、指定頁の文書が設定書式の1頁より少ない場合であ
っても、入力データに応じて行間隔、上余白、文字間隔
等の書式を自動的に変更して1頁内にバランス良く配置
することができる。[Effects of the Invention] According to the present invention, when there is a large margin at the bottom of the page, the good format is changed in the direction of reducing the margin, so that the specified page of the document is less than one page of the set format. Even if the input data is different, it is possible to automatically change the line spacing, top margin, character spacing, and other formats according to the input data, and arrange them in a well-balanced manner on one page.
第1図は本発明の一実施例による自動調整文書処理装置
の回路構成を示すブロック図、第2図は自動編集の処理
動作を示すフローチャート、第3図ないし第5図はそれ
ぞれ自動編集の具体例を示す図である。
11・・・文章入力装置、12・・・表示装置、13・
・・書式設定装置、14・・・文章入力エディタ、15
・・・書式データメモリ、16・・・文章データメモリ
、17・・・文書整形編集装置、18・・・ページメモ
リ、19・・・レイアウト表示装置、20・・・印刷装
置、21・・・自動編集装置、22・・・変更書式入力
装置、23・・・書式データメモリ、24・・・変更書
式種類設定メモリ、25・・・変更タイプメモリ、26
・・・書式側限界値メモリ、27・・・表示装置。FIG. 1 is a block diagram showing the circuit configuration of an automatic adjustment document processing device according to an embodiment of the present invention, FIG. 2 is a flowchart showing automatic editing processing operations, and FIGS. 3 to 5 are specific examples of automatic editing. It is a figure which shows an example. 11... Text input device, 12... Display device, 13.
...Formatting device, 14...Text input editor, 15
... Format data memory, 16... Text data memory, 17... Document formatting and editing device, 18... Page memory, 19... Layout display device, 20... Printing device, 21... Automatic editing device, 22... Change format input device, 23... Format data memory, 24... Change format type setting memory, 25... Change type memory, 26
. . . Format side limit value memory, 27 . . . Display device.
Claims (1)
間隔、上余白、文字間隔、文字サイズ等の書式に基づい
て出力する際、 出力されたデータの最終出力行の行位置が予め決められ
た行位置よりも下方か否かでデータ配置のバランスを調
べる手段と、 上記最終出力行の行位置が頁上で予め決められた行位置
よりも上方であった場合に、データの最終出力行位置が
上記行位置よりも下方になるよう上記書式を変更する書
式変更手段と、 上記書式変更手段により変更された書式に基づいて入力
データを出力する出力手段と を具備したことを特徴とする自動調整文書処理装置。[Claims] When outputting input data input for one page based on a preset format such as line spacing, top margin, character spacing, character size, etc., the final output line of the output data means to check the balance of data arrangement by checking whether the line position of is below a predetermined line position, and when the line position of the final output line is above the predetermined line position on the page. The method further includes a format changing means for changing the format so that the final output line position of the data is lower than the line position, and an output means for outputting the input data based on the format changed by the format changing means. An automatic adjustment document processing device characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2170238A JPH0460757A (en) | 1990-06-29 | 1990-06-29 | Automatic adjustment document processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2170238A JPH0460757A (en) | 1990-06-29 | 1990-06-29 | Automatic adjustment document processing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0460757A true JPH0460757A (en) | 1992-02-26 |
Family
ID=15901230
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2170238A Pending JPH0460757A (en) | 1990-06-29 | 1990-06-29 | Automatic adjustment document processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0460757A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012141709A (en) * | 2010-12-28 | 2012-07-26 | Canon Inc | Document editing device, sentence editing method, and program |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5779987A (en) * | 1980-11-07 | 1982-05-19 | Fujitsu Ltd | Document processing system |
JPS6359657A (en) * | 1986-08-30 | 1988-03-15 | Canon Inc | Picture processor |
JPH01240968A (en) * | 1988-03-23 | 1989-09-26 | Toshiba Corp | Document editing system |
JPH01269983A (en) * | 1988-04-21 | 1989-10-27 | Toshiba Corp | Text layout device |
JPH0224760A (en) * | 1988-07-14 | 1990-01-26 | Matsushita Electric Ind Co Ltd | Document editing device |
-
1990
- 1990-06-29 JP JP2170238A patent/JPH0460757A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5779987A (en) * | 1980-11-07 | 1982-05-19 | Fujitsu Ltd | Document processing system |
JPS6359657A (en) * | 1986-08-30 | 1988-03-15 | Canon Inc | Picture processor |
JPH01240968A (en) * | 1988-03-23 | 1989-09-26 | Toshiba Corp | Document editing system |
JPH01269983A (en) * | 1988-04-21 | 1989-10-27 | Toshiba Corp | Text layout device |
JPH0224760A (en) * | 1988-07-14 | 1990-01-26 | Matsushita Electric Ind Co Ltd | Document editing device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012141709A (en) * | 2010-12-28 | 2012-07-26 | Canon Inc | Document editing device, sentence editing method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4506343A (en) | Column layout reference area display management | |
US4984162A (en) | Word processor with a margin text edit function | |
JPH01116758A (en) | document creation device | |
JPS60189568A (en) | Information processor | |
JPS6055472A (en) | Document editing device | |
JPH0460757A (en) | Automatic adjustment document processing device | |
JPH0142417B2 (en) | ||
EP0094516B1 (en) | Footnote formatting | |
US5481663A (en) | Word processors for performing an automatic layout process | |
JPH0460755A (en) | Automatic adjustment document processing device | |
JPH0460756A (en) | Automatic adjustment document processor | |
JPH0410660B2 (en) | ||
JPH04322324A (en) | Data processor | |
JP3113066B2 (en) | Document processing device with long sentence editing function | |
JP2922372B2 (en) | Text processing device in the area | |
JP2594043B2 (en) | Ruled line creation device | |
JPH03196253A (en) | Page alignment processing system | |
JPH0196724A (en) | Picture output device | |
JPH01216462A (en) | Document preparing device | |
JPH0696071A (en) | Input system for table format | |
JPS62186355A (en) | Document preparation system | |
JPH02291056A (en) | Document processor | |
JPS63284662A (en) | Document processor | |
JPH02184960A (en) | Simulation list output device | |
JPH03188558A (en) | Document processing device with equal allocation function |