JPH0581243A - Document processor - Google Patents

Document processor

Info

Publication number
JPH0581243A
JPH0581243A JP3268723A JP26872391A JPH0581243A JP H0581243 A JPH0581243 A JP H0581243A JP 3268723 A JP3268723 A JP 3268723A JP 26872391 A JP26872391 A JP 26872391A JP H0581243 A JPH0581243 A JP H0581243A
Authority
JP
Japan
Prior art keywords
value
margin
automatic editing
document
format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3268723A
Other languages
Japanese (ja)
Inventor
Atsurou Tsuho
敦郎 津保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP3268723A priority Critical patent/JPH0581243A/en
Publication of JPH0581243A publication Critical patent/JPH0581243A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To set up or edit a detailed format appropriate for each personal liking or various purposes in the operation of an automatic editing function. CONSTITUTION:In this document processor 10, a program memory 32 in a RAM 13 stores an automatic edition program for executing automatic edition, a margin recommending value and a shift down value, a work memory 33 is provided with an operation memory, a margin value register for changing a margin value when the margin value is inputted by an input device 17 and storing the changed value as a margin recommending value and a shift-down value register for changing a shift-down value when the shift-down value is inputted from the device 17 and storing the changed value. Usually automatic edition is executed based upon the margin set value and the shift-down value, and at the time of inputting data from the device 17, the values of the margin value register and the shift-down register are rewritten based upon the inputted set value and automatic edition is executed based upon the rewritten value.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ワードプロセッサ等に
用いられる文書処理装置に係り、特に、レイアウトを考
慮しないで入力された文書をその構成を判断し、レイア
ウトおよび書式を自動的に決定する自動編集機能を備え
た文書処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus used in a word processor or the like, and more particularly, to an automatic document determination apparatus for automatically determining the layout and format of an input document without considering the layout. The present invention relates to a document processing device having an editing function.

【0002】[0002]

【従来の技術】一般にワードプロセッサ等においては、
文書の書式は一行当りの行数を設定することにより規定
される。そして、この書式に従って文書が作成され、作
成された文書はプリンタで印刷される。この場合、文字
の表現は、表示あるいは印刷において、ハードウェア
(記憶容量、プリンタ、内蔵フォント、画面解像度等)
に依存する部分が多く、各ワードプロセッサの特徴が出
るところであるが、一般的には文字として、全角、半
角、1/4倍角、横倍角、縦倍角、4倍角が使え、文字
単位あるいは行単位にピッチ指定ができ、下線、文字飾
り、罫線機能を備えたものが多い。また、文章を作成す
る場合、レイアウト等を自動的に決定する自動編集機能
を使用する場合がある。自動編集はレイアウトを意識し
ないで入力された文書の構造を解析し、その構造からレ
イアウトを決定し、文書の量などからふさわしい書式を
設定し、文書の体裁を整えるプログラムである。
2. Description of the Related Art Generally, in a word processor or the like,
The document format is specified by setting the number of lines per line. Then, a document is created according to this format, and the created document is printed by the printer. In this case, the character representation is hardware (storage capacity, printer, built-in font, screen resolution, etc.) in display or printing.
There are many parts that depend on, and the characteristics of each word processor come out, but in general, you can use full-width, half-width, 1/4 double-width, double-width double, vertical double-width, and double-width characters as a character It is possible to specify the pitch, and many have underline, character decoration, and ruled line functions. In addition, when creating a sentence, an automatic editing function that automatically determines the layout may be used. Automatic editing is a program that analyzes the structure of an input document without paying attention to the layout, determines the layout from the structure, sets the appropriate format according to the amount of documents, and adjusts the appearance of the document.

【0003】上記自動編集プログラムの処理の流れは図
5で示される。この図に示すように、先ず、ステップS
1でプログラムの初期値を設定し、ステップS2で余白
の値を決定する。すなわち、従来の自動編集プログラム
では、用紙のそれぞれのサイズに対して推奨する余白値
をプログラム内に予め記憶しておき、使用する用紙サイ
ズに対応する推奨値を余白値として決定する。
The flow of processing of the above-mentioned automatic editing program is shown in FIG. As shown in this figure, first, step S
The initial value of the program is set at 1 and the margin value is determined at step S2. That is, in the conventional automatic editing program, the margin value recommended for each size of paper is stored in the program in advance, and the recommended value corresponding to the used paper size is determined as the margin value.

【0004】次いで、ステップS3で文書の構造を解析
する。例えば、文書を構成する各行の行頭に記述されて
いる記号や数字、また行末の句点などから、「タイト
ル」と「本文」を判別したり、「文書の中でレイアウト
する位置が予め決められている文字列」、例えば日付を
示す文字列やその他特定の文字列を選別するようにす
る。そして、これらの「タイトル」や「本文」等から文
書を段落に分け、同一レベルの桁下げを必要とする範囲
を決定し、また適切な位置に行を挿入することによって
文書の形を整える。
Next, in step S3, the structure of the document is analyzed. For example, the "title" and "body" can be distinguished from the symbols and numbers described at the beginning of each line that composes the document, and the punctuation at the end of the line, or "the layout position in the document is predetermined. "Character string", for example, a character string indicating a date or other specific character string is selected. Then, the document is divided into paragraphs based on these "title" and "text", the range requiring a digit indentation at the same level is determined, and the line is inserted at an appropriate position to shape the document.

【0005】次いで、ステップS4で書式を決定する。
この場合、推奨する文字のポイントと行桁ピッチと用紙
サイズと余白、文書の量を考慮した上で、行数桁数を決
定し、書式が決定される。次いで、ステップS5で桁下
げが必要な部分の桁下げを行う。ここで、最大の桁下げ
の幅は、桁下げが1番深く行われる部分の桁下げ量と用
紙の幅を考慮して、演算で決定される。
Then, in step S4, the format is determined.
In this case, the number of lines, the number of digits, and the format are determined in consideration of the recommended character points, line digit pitch, paper size, margins, and document amount. Then, in step S5, the digit reduction is performed on the portion that requires digit reduction. Here, the maximum width of the carry-down is determined by calculation in consideration of the carry-down amount of the portion where the carry-down is deepest and the width of the paper.

【0006】以上説明した自動編集プログラムの動作で
は、自動編集結果は常にプログラムが最も適切と判断し
た形に決められることになる。
In the operation of the automatic editing program described above, the automatic editing result is always determined in a form that the program judges to be most appropriate.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の自動編集機能を備えた文書処理装置にあって
は、桁下げをする際の桁下げの量や用紙の余白の値は、
プログラムによって予め指定された値で一義的に決定さ
れる構成となっていたため、ユーザーの好みや様々な目
的に応じた微調整を行うことができないという欠点があ
った。すなわち、従来の自動編集プログラムの動作で
は、自動編集結果は常にプログラムが最も適切と判断し
た形に決められるので、各個人の好み、または様々な目
的に適したきめ細かな書式の設定や編集を行うことがで
きなかった。してみれば、従来自動編集プログラムの中
で一義的に決定されていた桁下げ量や余白の値を、目的
に応じて入力した値に設定可能にし、その設定値をもと
に自動編集を行うようにすれば、余白や桁下げ値の設定
にユーザーの意志が反映できるようになることは明らか
である。本発明の課題は、桁下げ量や余白の値を目的に
応じて入力した値に設定可能にできるようにすることで
ある。
However, in such a conventional document processing apparatus having an automatic editing function, the amount of digit reduction when performing digit reduction and the value of the margin of paper are as follows.
Since it is configured to be uniquely determined by a value specified in advance by the program, there is a drawback in that it is not possible to perform fine adjustment according to the user's preference and various purposes. In other words, in the operation of the conventional automatic editing program, the automatic editing result is always determined in the form that the program considers to be the most appropriate, so the detailed format setting and editing suitable for each individual's preference or various purposes are made. I couldn't. By doing so, it is possible to set the value of the amount of margin reduction and the margin, which was uniquely determined in the conventional automatic editing program, to the value entered according to the purpose, and perform the automatic editing based on the set value. Obviously, if this is done, the user's will can be reflected in the setting of the margin and the carry value. An object of the present invention is to make it possible to set the carry-down amount and the margin value to the input values according to the purpose.

【0008】[0008]

【課題を解決するための手段】本発明の手段は次の通り
である。自動編集機能1(図1の機能ブロック図を参
照、以下同じ)は、レイアウトを意識しないで入力され
た文書の構造を解析し、その構造から予め設定された設
定値を基にレイアウト及び書式を自動的に決定する文書
編集機能で、例えばCPUが自動編集プログラムを処理
することにより実行される。入力手段2は、自動編集機
能1で使用される設定値(例えば、桁下げをする際の桁
下げ量や用紙の余白の値)を設定するための入力装置等
であり、例えば英数字等を入力するキー、テンキー、実
行キー等の機能キーが配設されたキーボードや表示画面
上に表示されたソフトキーをカーソル移動キー等で選択
して指定する。書式決定手段3は、自動編集機能1によ
り文書のレイアウト及び書式を決定するとともに、入力
手段2により設定値が入力されると該設定値に基づいて
文書の書式を決定するもので、例えばCPUにより実行
される。この場合、書式決定手段4で書式決定の際に使
用された設定値を保存するとともに、自動編集機能1が
起動されると保存された設定値を呼出して自動編集機能
1に供給する設定値保存手段を設けるようにしてもよ
い。
The means of the present invention are as follows. The automatic editing function 1 (see the functional block diagram of FIG. 1, the same applies hereinafter) analyzes the structure of an input document without paying attention to the layout, and based on the structure, the layout and the format are set based on preset values. A document editing function that is automatically determined and is executed by, for example, the CPU processing an automatic editing program. The input unit 2 is an input device or the like for setting a set value used in the automatic editing function 1 (for example, a digit-carrying amount when carrying out digit-carrying or a margin value of paper). A keyboard provided with function keys such as an input key, a numeric keypad, and an execution key, or a soft key displayed on the display screen is selected and designated by a cursor movement key or the like. The format determining means 3 determines the layout and format of the document by the automatic editing function 1 and determines the format of the document based on the setting value when the setting value is input by the input means 2. For example, by the CPU. Executed. In this case, the setting values used in the format determination by the format determining means 4 are saved, and when the automatic editing function 1 is activated, the saved setting values are called and the setting values are supplied to the automatic editing function 1. Means may be provided.

【0009】[0009]

【作用】本発明の手段の作用は次の通りである。通常は
自動編集機能1により入力された文書の構造が解析さ
れ、その構造から予め設定された設定値を基にレイアウ
ト及び書式が自動的に決定される。使用者が入力手段2
により自動編集機能1で使用される設定値を入力すると
入力された設定値に基づいて書式決定手段3が書式を決
定する。従って、余白や桁下げ値の設定に使用者の意志
が反映できるようになり、各個人の好み、または様々な
目的に適したきめ細かな書式の設定や編集を行うことが
できる。
The operation of the means of the present invention is as follows. Usually, the structure of a document input by the automatic editing function 1 is analyzed, and the layout and format are automatically determined based on the structure based on preset values. User input means 2
When the setting value used in the automatic editing function 1 is input, the format determining means 3 determines the format based on the input setting value. Therefore, the intention of the user can be reflected in the setting of the margin and the carry-down value, and it is possible to set or edit the detailed format suitable for each individual's preference or various purposes.

【0010】[0010]

【実施例】以下、図2〜図4を参照して実施例を説明す
る。図2〜図4は文書処理装置10の一実施例を示す図
であり、ワードプロセッサに適用した例である。先ず、
構成を説明する。図2は文書処理装置のブロック図であ
る。この図において、11は装置全体の制御、並びに後
述する宛名データ印刷処理を行うCPUであり、CPU
11は後述するROM12に格納されているマイクロプ
ログラムに従って文書処理装置の各種の動作を制御す
る。CPU11には、所定のプログラム及び文字パター
ン等の固定データを記憶するROM12、演算に使用す
るデータや演算結果などを一時的に記憶するRAM1
3、CRT15(後述)に表示される画像データを記憶
するビデオRAM(V−RAM)14、入力された画像
データを画面表示するCRT15を制御するCRT制御
部16、キーボード等の入力装置17を制御するキーボ
ード制御部18、文書ファイルや自動編集プログラムを
記憶するフロッピディスク(FD)等からなる外部記憶
装置19に対してデータの書き込み/読み出しを制御す
る外部記憶制御部20、文書を印刷出力するプリンタ2
1を制御するプリンタ制御部22がそれぞれ接続されて
いる。
EXAMPLES Examples will be described below with reference to FIGS. 2 to 4 are diagrams showing an embodiment of the document processing apparatus 10, which is an example applied to a word processor. First,
The configuration will be described. FIG. 2 is a block diagram of the document processing apparatus. In the figure, reference numeral 11 denotes a CPU that controls the entire apparatus and performs address data printing processing described later.
Reference numeral 11 controls various operations of the document processing apparatus according to a micro program stored in a ROM 12 described later. The CPU 11 includes a ROM 12 that stores fixed data such as a predetermined program and a character pattern, and a RAM 1 that temporarily stores data used for calculation and calculation results.
3, a video RAM (V-RAM) 14 that stores image data displayed on a CRT 15 (described later), a CRT control unit 16 that controls the CRT 15 that displays the input image data on a screen, and an input device 17 such as a keyboard. Keyboard control unit 18, external storage control unit 20 that controls writing / reading of data to / from an external storage device 19 such as a floppy disk (FD) that stores a document file or an automatic editing program, and a printer that prints out a document Two
1 are connected to the printer control units 22.

【0011】ROM12は、システム立ち上げ時のOS
(OperatingSystem)となるIPLプログラム、CRT
15、キーボード17、フロッピディスク19等の入出
力制御を行うためのIOCS(Input Output Control S
ystem)プログラム、及び、文字フォントデータなどを
記憶する固定メモリである。
The ROM 12 is an OS for starting the system.
(Operating System) IPL program, CRT
15, IOCS (Input Output Control S) for controlling input / output of keyboard 17, floppy disk 19, etc.
ystem) is a fixed memory that stores programs and character font data.

【0012】また、RAM13の記憶領域は所定用途毎
に分割して使用され、具体的には、文書情報を記憶する
文書メモリ31、自動編集プログラム等を記憶するプロ
グラム用メモリ32(図3)、演算処理中のデータを一
時的に格納するワークメモリ33(図3)を備えてい
る。
The storage area of the RAM 13 is divided and used for each predetermined purpose. Specifically, a document memory 31 for storing document information, a program memory 32 for storing an automatic editing program, etc. (FIG. 3), It is provided with a work memory 33 (FIG. 3) for temporarily storing data being processed.

【0013】入力装置17は、英数字、平仮名等を入力
するキーや、カーソル移動キー、実行キー、中止キー等
のファンクションキーが配設されたキーボードである。
また、キーボード制御部18は、入力装置(キーボー
ド)17上のいずれかのキーが操作された場合、そのキ
ーに対応する所定のキーコードに変換し、CPU11に
出力する。また、プリンタ21は予め作成者が設定して
おいた書式情報に従ってRAM13に記憶された文書を
印刷出力するためのものである。
The input device 17 is a keyboard provided with keys for inputting alphanumeric characters, hiragana, etc., and function keys such as a cursor movement key, an execute key, and a stop key.
When any key on the input device (keyboard) 17 is operated, the keyboard control unit 18 converts the key code into a predetermined key code corresponding to the key and outputs the key code to the CPU 11. Further, the printer 21 is for printing out the document stored in the RAM 13 according to the format information preset by the creator.

【0014】図3はRAM13に設けられたプログラム
用メモリ32及びワークメモリ33と入力装置17及び
外部記憶装置19との関係を示す図である。この図にお
いて、プログラム用メモリ32には、自動編集を行うた
めの自動編集プログラム41、その自動編集プログラム
41で使用される余白推奨値42及び桁下げ値43が格
納される。また、ワークメモリ33は、演算用メモリ5
1と、上記余白推奨値42が転送されて記憶されるとと
もに、入力装置17による余白値入力があったときはそ
の余白値43を入力された余白値に変更して記憶する余
白値レジスタ52と、上記桁下げ値44が転送されて記
憶されるとともに、入力装置17による桁下げ値入力が
あったときはその桁下げ値を入力された桁下げ値に変更
して記憶する桁下げ値レジスタ53とが設けられてい
る。ここで、余白は、「推奨値」または「数値設定」の
どちらかを選択できるようにするためにプログラム用メ
モリ32内に余白推奨値42、余白設定値43を設けて
おり、「数値設定」を選択した場合には、上下・左右の
余白の値をミリ単位の数値で指定できるようにする。
FIG. 3 is a diagram showing the relationship between the program memory 32 and work memory 33 provided in the RAM 13, the input device 17, and the external storage device 19. In the figure, the program memory 32 stores an automatic editing program 41 for performing automatic editing, a recommended margin value 42 and a carry-down value 43 used in the automatic editing program 41. Further, the work memory 33 is the calculation memory 5
1 and the recommended margin value 42 are transferred and stored, and when the margin value is input by the input device 17, the margin value 43 is changed to the input margin value and stored. The digit-down value 44 is transferred and stored, and when the digit-down value is input by the input device 17, the digit-down value is changed to the input digit-down value and stored. And are provided. Here, in order to be able to select either the “recommended value” or the “numerical value setting” for the margin, a recommended margin value 42 and a margin set value 43 are provided in the program memory 32, and the “numerical value setting” is set. When is selected, the values of the top, bottom, left and right margins can be specified by the numerical value in millimeters.

【0015】外部記憶装置19から自動編集プログラム
をロードしてプログラム用メモリ32に自動編集プログ
ラム41として記憶する。また、このプログラム用メモ
リ32には余白推奨値42、余白設定値43、桁下げ値
44があらかじめ記憶されている。
The automatic editing program is loaded from the external storage device 19 and stored in the program memory 32 as the automatic editing program 41. In addition, a margin recommended value 42, a margin set value 43, and a carry-down value 44 are stored in advance in the program memory 32.

【0016】そして、通常は(自動編集機能をそのまま
使用する場合は)、プログラム用メモリ32の余白設定
値43をワークメモリ33の余白値レジスタ52に、ま
た、桁下げ値44を桁下げ値レジスタ53に夫々記憶し
て、これらの値に基づいて自動編集を行う。
Normally (when the automatic editing function is used as it is), the margin set value 43 of the program memory 32 is stored in the margin value register 52 of the work memory 33, and the carry-down value 44 is stored as the carry-down value register. The data are stored in 53, respectively, and are automatically edited based on these values.

【0017】一方、ユーザーが余白値や桁下げ値を好み
の値に変更して自動編集したい場合には、入力装置17
からの入力によってワークメモリ33の余白値レジスタ
52の値及び桁下げ値レジスタ53の値を書替え、書替
えた値に基づいて自動編集を行う。
On the other hand, when the user wants to change the margin value or the carry-down value to a desired value and automatically edit it, the input device 17 is used.
The value of the margin value register 52 and the value of the carry-down value register 53 of the work memory 33 are rewritten by the input from, and automatic editing is performed based on the rewritten value.

【0018】次に、本実施例の動作を説明する。図4は
自動編集設定処理のプログラムを示すフローチャートで
あり、同図中、符号Sn(n=11,12,…)はフロ
ーの各ステップを示している。プログラムを起動する
と、ステップS11で自動編集プログラムをFDからな
る外部記憶装置17からロードし、ステップS12で余
白設定値43を余白レジスタ52に記憶する(余白設定
値→余白値レジスタ)とともに、桁下げ値44を桁下げ
値レジスタ53に記憶する(桁下げ値→桁下げ値レジス
タ)。次いで、ステップS13で「設定」機能が実行さ
れたか否かを判別し、「設定」機能が実行されたときは
入力装置17から自動編集の設定値を書替える入力指示
があったときであるからステップS14〜S19で設定
値の変更処理を行い、「設定」機能が実行されていない
ときは自動編集の設定値の書替えはないと判断してその
ままステップS20(自動編集処理)に進む。
Next, the operation of this embodiment will be described. FIG. 4 is a flow chart showing a program of the automatic edit setting processing, and in the figure, reference numeral Sn (n = 11, 12, ...) Shows each step of the flow. When the program is started, the automatic editing program is loaded from the external storage device 17 including the FD in step S11, and the margin setting value 43 is stored in the margin register 52 (margin setting value → margin value register) and the digit is lowered in step S12. The value 44 is stored in the carry-down value register 53 (carry-down value → carry-down value register). Next, in step S13, it is determined whether or not the "set" function is executed, and when the "set" function is executed, it means that there is an input instruction from the input device 17 to rewrite the set value for automatic editing. The setting value changing process is performed in steps S14 to S19, and when the "setting" function is not executed, it is determined that the automatic editing setting value is not rewritten, and the process directly proceeds to step S20 (automatic editing process).

【0019】具体的には、ステップS14で、余白を設
定するか否かを判別し、余白を設定する場合にはステッ
プS15で推奨値を指定するか否かを判別する。推奨値
を指定したときはステップS16で余白推奨値42を余
白値レジスタ52に記憶し(余白推奨値→余白値レジス
タ)、推奨値を指定しないときはステップS17で入力
装置17により余白値をキー入力してキー入力した余白
値を余白値レジスタ52に記憶する。また、余白値を設
定しないときはステップS15〜S17をジャンプして
S18に進む。すなわち、本文書処理装置10は、図3
に示したようにプログラム用メモリ32の自動編集プロ
グラムの中に「余白設定値43」が記憶されていて、プ
ログラムをロードすると、その設定値をワークメモリ3
3の「余白値レジスタ52」の中に記憶するように動作
する。自動編集プログラムで書式を決定する際は余白値
としてこのレジスタの値を参照する。また、この余白値
を変更する「設定」機能を新に設け、キー入力により
「余白値レジスタ52」内の数値を、ユーザーの希望す
る値に変更する機能を持たせるようにしている。しか
し、設定値はユーザーが希望する値に自由に設定できる
ため、再び標準的な値に戻したいときでも同様にキー入
力を行って設定値を再入力しなければならず面倒であ
る。そこで本実施例では用紙に対して一般的にどのよう
な値がよいかを示す推奨値を記憶しておくようにしてい
る。特に、余白の値は上下左右4つの値があり標準的な
値に再度戻すのが面倒なため、本実施例では自動編集プ
ログラム41の中に「余白推奨値47」を予め記憶して
おき、「設定」機能で余白値を「推奨値」に指定した場
合には「余白値レジスタ53」の値を「余白値推奨値4
2」に書替える機能を持たせている。この機能によっ
て、数値設定の指定で変更した余白値を簡単な操作で推
奨値に戻すことが可能になる。
Specifically, in step S14, it is determined whether or not a margin is set, and when the margin is set, it is determined in step S15 whether or not a recommended value is designated. When the recommended value is designated, the recommended margin value 42 is stored in the margin value register 52 in step S16 (recommended margin value → margin value register). When the recommended value is not designated, the margin value is keyed by the input device 17 in step S17. The blank value entered and keyed is stored in the blank value register 52. When the margin value is not set, steps S15 to S17 are skipped and the process proceeds to S18. That is, the document processing apparatus 10 of FIG.
As shown in, the "margin setting value 43" is stored in the automatic editing program of the program memory 32, and when the program is loaded, the setting value is set to the work memory 3
3 in the "margin value register 52". When determining the format with an automatic editing program, the value of this register is referred to as the margin value. In addition, a "setting" function for changing the margin value is newly provided so as to have a function of changing the numerical value in the "margin value register 52" to a value desired by the user by key input. However, since the set value can be freely set to a desired value by the user, even if the user wants to return to the standard value again, he / she has to re-enter the set value by similarly performing the key input, which is troublesome. Therefore, in this embodiment, a recommended value indicating what value is generally good for the paper is stored. In particular, since there are four margin values, that is, upper, lower, left, and right, it is troublesome to restore the standard value again. Therefore, in this embodiment, the "recommended margin value 47" is stored in advance in the automatic editing program 41, When the margin value is specified as the "recommended value" with the "Set" function, the value of the "margin value register 53" is set to "recommended margin value 4".
It has a function of rewriting to "2". With this function, it is possible to return the margin value changed by specifying the numerical setting to the recommended value with a simple operation.

【0020】再び、図4のフローに戻って、ステップS
18で桁下げ値を設定するか否かを判別し、桁下げ値を
設定するときはステップS19で桁下げ値をキー入力し
てキー入力した桁下げ値を桁下げ値レジスタ53に記憶
し、桁下げ値を設定しないときはそのままステップS2
0に進む。ここで、桁下げ値は、上記余白値の場合と同
様に自動編集プログラム41に記憶されている桁下げ値
44を「桁下げ値レジスタ53」に記憶する。「桁下げ
値レジスタ53」の値も「設定」機能で変更する機能を
設ける。桁下げ値は用紙全体の幅に対する下げ幅の割合
で決まるので、自動編集プログラム41で様々な用紙サ
イズを扱うことを考慮すると桁数で指定することは適切
ではない。従って、本実施例では「多め」、「少なめ」
という程度により設定するようにしている。このため余
白値の場合のように推奨値に戻すという面倒な操作の必
要がないので上記余白値の場合のように自動編集プログ
ラム41の中に推奨値を記憶するといった操作は行って
いない。
Returning again to the flow of FIG. 4, step S
In step S19, it is determined whether or not to set the carry-down value. When setting the carry-down value, the carry-down value is key-input in step S19, and the carry-down value key-input is stored in the carry-down value register 53. If the carry-down value is not set, step S2 is directly performed.
Go to 0. Here, as the carry-down value, the carry-down value 44 stored in the automatic editing program 41 is stored in the "carry-down value register 53" as in the case of the margin value. The function of changing the value of the "carry value register 53" by the "setting" function is also provided. Since the carry-down value is determined by the ratio of the width of reduction to the width of the entire sheet, it is not appropriate to specify the number of digits considering that the automatic editing program 41 handles various paper sizes. Therefore, in this embodiment, "more" and "less"
It is set according to the degree. Therefore, unlike the case of the margin value, there is no need for the troublesome operation of returning to the recommended value. Therefore, unlike the case of the margin value, the operation of storing the recommended value in the automatic editing program 41 is not performed.

【0021】ステップS20では、前記図5で示した余
白決定、文書構造解析、書式決定及び文書桁下げ処理等
の自動編集プログラムの処理を行う。この自動編集プロ
グラムの動作では、「設定」機能を実行しないときは自
動編集結果は常にプログラムが最も最適と判断した形に
決められ、また、「設定」機能を実行することによって
各個人の好み、または様々な目的に適したきめ細かな書
式の設定や編集を行うことができるようになり、余白と
桁下げ値の設定にユーザーの意志を反映させることがで
きる。
In step S20, the processing of the automatic editing program such as the margin determination, the document structure analysis, the format determination and the document digit indentation processing shown in FIG. 5 is performed. In the operation of this automatic editing program, when the "setting" function is not executed, the automatic editing result is always determined in the form that the program determines to be the most optimal, and by executing the "setting" function, each individual preference, Or, it becomes possible to set and edit a fine format suitable for various purposes, and it is possible to reflect the user's will in the setting of the margin and the indent value.

【0022】次いで、プログラム用メモリ32の余白設
定値43を余白値レジスタ52の値で書替える(余白値
レジスタ→余白値設定値)とともに、プログラム用メモ
リ32の桁下げ値44を桁下げ値レジスタ53の値で書
替える(桁下げ値レジスタ→桁下げ値)。次いで、ステ
ップS22で自動編集プログラム41を設定値とともに
外部記憶装置(FD)19にセーブして、本フローの処
理を終了する。このように、自動編集プログラム終了時
に、プログラム用メモリ32内の余白設定値43を余白
レジスタ52の値に書替え、自動編集プログラム41や
他の設定値とともに外部記憶装置17に保存するように
すると、次回に自動編集プログラム41を起動したとき
に、前回使用していた余白値レジスタ52の値が再びセ
ットされるので、一度設定した余白値はそれ以降何度で
も使えることになって便利である。また、桁下げ値も余
白値の場合と同じように外部記憶装置19に保存してお
くようにすると、一度設定した値をプログラムを終了
し、再度プログラムを起動したときにも利用できるよう
になり便利である。
Then, the margin setting value 43 of the program memory 32 is rewritten with the value of the margin value register 52 (margin value register → margin value setting value), and the carry-down value 44 of the program memory 32 is carried to the carry-down value register. Rewrite with the value of 53 (carry value register → carry value). Next, in step S22, the automatic editing program 41 is saved in the external storage device (FD) 19 together with the set value, and the process of this flow ends. In this way, when the automatic editing program ends, the margin setting value 43 in the program memory 32 is rewritten to the value of the margin register 52 and is saved in the external storage device 17 together with the automatic editing program 41 and other setting values. When the automatic editing program 41 is started next time, the value of the margin value register 52 used last time is set again, so that the margin value once set can be used any number of times thereafter, which is convenient. In addition, if the carry-down value is also stored in the external storage device 19 as in the case of the margin value, the set value can be used when the program is terminated and the program is started again. It is convenient.

【0023】上記プログラムを実行することにより、今
まで自動編集プログラムが一義的に決定していた余白値
や桁下げ値が、ユーザーの好みや目的に応じ指定できる
ようになるとともに、1回設定した値は、次にプログラ
ムを起動したときにも利用できるようになる。
By executing the above program, it becomes possible to specify the margin value and the digit-increase value, which have been uniquely determined by the automatic editing program until now, according to the user's preference and purpose, and set once. The value will be available the next time you start the program.

【0024】以上説明したように、本実施例の文書処理
装置10は、RAM13のプログラム用メモリ32に
は、自動編集を行うための自動編集プログラム41、余
白推奨値42及び桁下げ値43を格納し、ワークメモリ
33には演算用メモリ51と、上記余白推奨値42が転
送されて記憶されるとともに、その余白推奨値42を入
力装置17による余白値入力があったときは余白値を変
更して記憶する余白値レジスタ52と、上記桁下げ値4
4が転送されて記憶されるとともに、その桁下げ値を入
力装置17による桁下げ値入力があったときは桁下げ値
を変更して記憶する桁下げ値レジスタ53とを設け、通
常は、プログラム用メモリ32の余白設定値43をワー
クメモリ33の余白値レジスタ52に、また、桁下げ値
44を桁下げ値レジスタ53に夫々記憶して、これらの
値に基づいて自動編集を行うとともに、入力装置17か
らの入力があると入力された設定値によってワークメモ
リ33の余白値レジスタ52の値及び桁下げ値レジスタ
53の値を書替え、書替えた値に基づいて自動編集を行
うようにしているので、今までプログラムで一義的に固
定されていた自動編集時の余白値や桁下げ値等の値がユ
ーザーの設定によって自由に変えられるようになるとと
もに、設定した値を外部記憶装置19に保存することに
よって、プログラムを終了した後に再度起動したときに
も設定した値が利用できるようになる。
As described above, in the document processing apparatus 10 of this embodiment, the program memory 32 of the RAM 13 stores the automatic editing program 41 for automatically editing, the recommended margin value 42, and the carry-down value 43. Then, the calculation memory 51 and the recommended margin value 42 are transferred and stored in the work memory 33, and the recommended margin value 42 is changed when the margin value is input by the input device 17. The margin value register 52 for storing the
4 is transferred and stored, and a carry-down value register 53 for changing and storing the carry-down value when the carry-down value is input by the input device 17 is provided. The margin setting value 43 of the working memory 32 is stored in the margin value register 52 of the work memory 33, and the carry-down value 44 is stored in the carry-down value register 53, respectively. When there is an input from the device 17, the value of the margin value register 52 and the value of the carry-down value register 53 of the work memory 33 are rewritten by the input set value, and the automatic editing is performed based on the rewritten value. , The value such as the margin value and the indent value at the time of automatic editing, which was uniquely fixed by the program until now, can be freely changed by the user's setting, and the set value By storing in the external storage device 19, the value set even when re-started after the completion of the program is available.

【0025】なお、本実施例では、書式値の変更が桁下
げ値や余白の値であったが、これに限らず、その他の書
式設定値(例えばセンタリング、字詰等)のセットを行
うようにしてもよい。
In the present embodiment, the change of the format value is the value of the carry-down value or the margin, but it is not limited to this, and other format setting values (for example, centering, padding, etc.) may be set. You can

【0026】また、本実施例では、文書処理装置10を
日本語ワードプロセッサに適用した例であるが、文書デ
ータを出力する機能を持つ装置であれば他の全ての装
置、例えばパーソナルコンピュータにも適用できること
は言うまでもない。
In the present embodiment, the document processing apparatus 10 is applied to a Japanese word processor, but it is also applicable to all other apparatuses having a function of outputting document data, for example, personal computers. It goes without saying that you can do it.

【0027】[0027]

【発明の効果】本発明によれば、自動編集機能により文
書のレイアウト及び書式を決定するとともに、入力手段
により設定値が入力されると該設定値に基づいて文書の
書式を決定するようにしているので、自動編集機能の動
作において各個人の好み、または様々な目的に適したき
め細かな書式の設定や編集を行うことができ、書式設定
に使用者の意志を反映させることができる。
According to the present invention, the layout and format of a document are determined by the automatic editing function, and when the setting value is input by the input means, the format of the document is determined based on the setting value. Therefore, in the operation of the automatic editing function, it is possible to set or edit a fine format suitable for each individual's preference or various purposes, and it is possible to reflect the user's intention in the format setting.

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

【図1】本発明の機能ブロック図である。FIG. 1 is a functional block diagram of the present invention.

【図2】文書処理装置のブロック構成図である。FIG. 2 is a block diagram of a document processing apparatus.

【図3】文書処理装置の書式設定値の変更を説明するた
めの図である。
FIG. 3 is a diagram for explaining a change in a format setting value of the document processing apparatus.

【図4】文書処理装置の自動編集設定処理のプログラム
を示すフローチャートである。
FIG. 4 is a flowchart showing a program for automatic edit setting processing of the document processing apparatus.

【図5】文書処理装置の自動編集処理を示すフローチャ
ートである。
FIG. 5 is a flowchart showing an automatic editing process of the document processing apparatus.

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

10 文書処理装置 11 CPU 12 ROM 13 RAM 14 VRAM 15 CRT 16 CRT制御部 17 入力装置 18 キーボード制御部 19 外部記憶装置 20 外部記憶制御部 21 プリンタ 22 プリンタ制御部 31 文書メモリ 32 プログラム用メモリ 33 ワークメモリ 41 自動編集プログラム 42 余白推奨値 43 余白設定値 44 桁下げ値 51 演算用メモリ 52 余白値レジスタ 53 桁下げ値レジスタ 10 Document Processing Device 11 CPU 12 ROM 13 RAM 14 VRAM 15 CRT 16 CRT Control Unit 17 Input Device 18 Keyboard Control Unit 19 External Storage Device 20 External Storage Control Unit 21 Printer 22 Printer Control Unit 31 Document Memory 32 Program Memory 33 Work Memory 41 Automatic editing program 42 Recommended margin value 43 Margin setting value 44 Digit reduction value 51 Calculation memory 52 Margin value register 53 Digit reduction value register

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 入力された文書の構造を解析し、その構
造から予め設定された設定値を基にレイアウト及び書式
を自動的に決定する自動編集機能と、 前記自動編集機能で使用される設定値を入力する入力手
段と、 前記自動編集機能により文書のレイアウト及び書式を決
定するとともに、前記入力手段により設定値が入力され
ると該設定値に基づいて文書の書式を決定する書式決定
手段と、 を具備したことを特徴とする文書処理装置。
1. An automatic editing function for analyzing a structure of an input document and automatically determining a layout and a format based on a setting value preset from the structure, and a setting used by the automatic editing function. Input means for inputting a value, and a format determining means for determining the layout and format of the document by the automatic editing function and determining the format of the document based on the set value when the set value is input by the input means. A document processing apparatus comprising:
【請求項2】 入力された文書の構造を解析し、その構
造から予め設定された設定値を基にレイアウト及び書式
を自動的に決定する自動編集機能と、 前記自動編集機能で使用される設定値を入力する入力手
段と、 前記自動編集機能により文書のレイアウト及び書式を決
定するとともに、前記入力手段により設定値が入力され
ると該設定値に基づいて文書の書式を決定する書式決定
手段と、 前記書式決定手段により書式決定の際に使用された設定
値を保存するとともに、前記自動編集機能が起動される
と保存された設定値を呼出して前記自動編集機能に供給
する設定値保存手段と、 を具備したことを特徴とする文書処理装置。
2. An automatic editing function for analyzing a structure of an input document and automatically determining a layout and a format based on a preset value based on the structure, and a setting used by the automatic editing function. Input means for inputting a value, and a format determining means for determining the layout and format of the document by the automatic editing function and determining the format of the document based on the set value when the set value is input by the input means. A set value storage means for storing the set value used when the format is determined by the format determining means, and for calling the stored set value when the automatic editing function is activated and supplying the set value to the automatic editing function. A document processing apparatus comprising:
JP3268723A 1991-09-20 1991-09-20 Document processor Pending JPH0581243A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3268723A JPH0581243A (en) 1991-09-20 1991-09-20 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3268723A JPH0581243A (en) 1991-09-20 1991-09-20 Document processor

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP6257799A Division JPH07253967A (en) 1994-10-24 1994-10-24 Document preparation device

Publications (1)

Publication Number Publication Date
JPH0581243A true JPH0581243A (en) 1993-04-02

Family

ID=17462454

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3268723A Pending JPH0581243A (en) 1991-09-20 1991-09-20 Document processor

Country Status (1)

Country Link
JP (1) JPH0581243A (en)

Similar Documents

Publication Publication Date Title
JPS6370370A (en) Document preparing device
JPH0581243A (en) Document processor
JPH07253967A (en) Document preparation device
JPH0581249A (en) Word processor
JPH07114543A (en) Document processor
JPH07200577A (en) Document preparation device and document printing method therefor
JP2837497B2 (en) Output control device and output control method
JPH05210672A (en) Word processor
JPH0764977A (en) Document preparing device and format change method
JPH0831097B2 (en) Document input processor
JPH04282746A (en) Document preparing device
JPH03276253A (en) Display processor
JPS63155356A (en) Document editing device
JPH06259414A (en) Method and device for outputting furikana (japanese pronunciation of chinese character) for word processor
JPH0793303A (en) Document creation device and character modification control method
JPH09128378A (en) Document display controller
JPH0696079A (en) Document processor
JPH01126684A (en) Document processor
JPS63293629A (en) Data processor
JPH06236368A (en) Word processor
JPH01229650A (en) Control method in alphabetic printing
JPH05128106A (en) Document processor
JPH04282755A (en) Word processor
JPH01149165A (en) Document processor
JPH05204917A (en) Document preparing device