JP3432665B2 - Document processing device - Google Patents

Document processing device

Info

Publication number
JP3432665B2
JP3432665B2 JP04018296A JP4018296A JP3432665B2 JP 3432665 B2 JP3432665 B2 JP 3432665B2 JP 04018296 A JP04018296 A JP 04018296A JP 4018296 A JP4018296 A JP 4018296A JP 3432665 B2 JP3432665 B2 JP 3432665B2
Authority
JP
Japan
Prior art keywords
frame
entry frame
entry
blank
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP04018296A
Other languages
Japanese (ja)
Other versions
JPH09231215A (en
Inventor
晋由 丸山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP04018296A priority Critical patent/JP3432665B2/en
Publication of JPH09231215A publication Critical patent/JPH09231215A/en
Application granted granted Critical
Publication of JP3432665B2 publication Critical patent/JP3432665B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、入力された文書デ
ータを記録し、文書データの内容を表示および用紙に印
刷する機能を有するワードプロセッサやパーソナルコン
ピュータ等の文書処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus such as a word processor or a personal computer having a function of recording input document data, displaying the content of the document data, and printing the content on paper.

【0002】[0002]

【従来の技術】従来より、ワードプロセッサやパーソナ
ルコンピュータ等の文書処理装置は、例えば図40に示
すように、文書処理等のプログラムを実行する中央処理
装置(CPU)101、文字等を入力するためのキーボ
ード、入力ペン、マウス等の入力装置102、入力され
た文書データの内容を表示するためのCRT(CathodeR
ay Tube)やLCD(Liquid Crystal Display)等の表
示装置103、文書データの内容を用紙に印刷するため
のプリンタ等の印刷装置104を備えている。
2. Description of the Related Art Conventionally, a document processing apparatus such as a word processor or a personal computer, for example, as shown in FIG. 40, has a central processing unit (CPU) 101 for executing a program for document processing and the like, for inputting characters and the like. An input device 102 such as a keyboard, an input pen, and a mouse, and a CRT (CathodeR) for displaying the contents of input document data.
An ay tube), a display device 103 such as an LCD (Liquid Crystal Display), and a printing device 104 such as a printer for printing the content of the document data on paper are provided.

【0003】また、上記文書処理装置は、文書編集に必
要な手段として、文書中に罫線を作成するための罫線作
成手段105、文書の行間隔や文字間隔等の書式を設定
する書式設定手段106、および入力された文書データ
を記録するための文書記憶手段107を有している。
Further, the document processing apparatus has ruled line creating means 105 for creating ruled lines in a document and format setting means 106 for setting formats such as line spacing and character spacing of a document as means necessary for document editing. , And a document storage unit 107 for recording the input document data.

【0004】上記文書処理装置において、印刷後に手書
きで文字等を記入するための記入枠用空欄を文書中に作
成するためには、文書データの内容が表示された表示画
面上で、文書処理機能の一部である罫線・アンダーライ
ン・空白等の機能が用いられる。
In the above document processing apparatus, in order to create a blank space for an entry frame in the document for handwriting characters after printing, the document processing function is displayed on the display screen on which the content of the document data is displayed. Functions such as ruled lines, underlines, and blanks that are a part of are used.

【0005】このように、上記のような罫線・アンダー
ライン・空白等の機能を用いて記入枠用空欄を作成する
場合、文書中の所望する位置に、所望するサイズの記入
枠用空欄を得るには、印刷後の結果を見ながら使用者が
試行錯誤しなければならず、記入枠用空欄設定の操作性
が悪いという問題があった。
As described above, when the blank for the entry frame is created by using the function of the ruled line, the underline, and the blank as described above, the blank for the entry frame having the desired size is obtained at the desired position in the document. However, there is a problem that the user has to make trial and error while looking at the result after printing, and the operability of setting the blank field for the entry frame is poor.

【0006】そこで、例えば特開昭57−81670号
公報には、文書データの内容が表示された表示画面上の
カーソルにより記入枠用空欄のサイズを指定し、文書中
に記入枠用空欄を設定する「文書編集方法」が開示され
ている。この文書編集方法では、表示画面上で指定する
位置のカーソルの行位置と文字位置とを、印刷される行
位置と文字位置とに変換することで、印刷後の文書中の
所望する位置に記入枠用空欄を設定するようになってい
る。これによれば、記入枠用空欄のサイズを指定するだ
けで、表示画面上で指定した位置に所望するサイズの記
入枠用空欄を設定することができる。
Therefore, for example, in Japanese Unexamined Patent Publication No. 57-81670, the size of the blank space for the entry frame is designated by the cursor on the display screen displaying the contents of the document data, and the blank space for the entry frame is set in the document. "Document editing method" is disclosed. In this document editing method, the line position and the character position of the cursor at the position specified on the display screen are converted into the line position and the character position to be printed, so that the desired position in the printed document is written. It is designed to set a blank for the frame. According to this, only by designating the size of the blank space for the entry frame, it is possible to set the blank space for the entry frame of a desired size at the designated position on the display screen.

【0007】また、特開平2−21356号公報には、
文書中の任意の位置に任意の大きさの空白領域(記入枠
用空欄に対応)を指定し、この指定された空白領域を有
する文書を印刷する「文書処理装置」が開示されてい
る。この文書処理装置では、文書データの内容が表示さ
れた画面上で、カーソル、マウス、ライトペン等を用い
て記入枠用空欄を設ける位置を指定し、印刷時に、指定
された記入枠用空欄に相当する領域の印字動作を停止す
ることで、文書中に記入枠用空欄を設定するようになっ
ている。これによれば、表示画面上で設定しようとする
記入枠用空欄に対応する空白領域を指定するだけで、印
刷後の文書中の所望する位置に、所望する大きさの記入
枠用空欄を設定することができる。
Further, Japanese Patent Laid-Open No. 21356/1990 discloses that
A "document processing apparatus" is disclosed in which a blank area of any size (corresponding to a blank space for entry frame) is designated at any position in a document and a document having the designated blank area is printed. In this document processing device, on the screen on which the contents of the document data are displayed, the position for providing the blank space for the entry frame is designated using the cursor, mouse, light pen, etc., and at the time of printing, the blank space for the designated entry frame is designated. By stopping the printing operation in the corresponding area, a blank space for the entry frame is set in the document. According to this, by simply designating the blank area corresponding to the blank space for the entry frame to be set on the display screen, the blank space for the entry frame having the desired size is set at the desired position in the printed document. can do.

【0008】[0008]

【発明が解決しようとする課題】ところが、上記各公報
による方法で設定された記入枠用空欄のサイズおよび設
定位置は、何れの公報の場合においても、印刷様式や書
式設定に基づいて決定されるものであるので、最終的に
印刷様式や書式に依存することになる。
However, the size and setting position of the blank for the entry frame set by the method according to each of the above publications is determined based on the printing style and format setting in any publication. As such, it ultimately depends on the printing style and format.

【0009】このため、記入枠用空欄を手書き文字等を
記入するために最適な記入枠用空欄の大きさを、使用者
が印刷結果を見ながら、印刷様式や書式を変更しながら
試行錯誤により決定する必要があり、非常に使い勝手が
悪いという問題が生じる。
For this reason, the size of the blank space for the entry frame, which is optimum for writing handwritten characters, etc. in the blank space for the entry frame, is determined by trial and error while the user changes the printing style and format while observing the print result. It is necessary to make a decision and there is a problem that it is very inconvenient to use.

【0010】また、一般に、文書処理装置によって用紙
に印字された文字サイズと手書きによる記入に適切な文
字サイズとは同じでない場合が多く、例えば教育機関で
実施される筆記試験用に準備される解答欄は、手書きし
易いゆとりを持った大きさを備えている必要がある。こ
のような場合、上記の各公報のように、印刷様式や書式
に依存して設定される記入枠用空欄では、手書きされる
文字数に見合った大きさを備えた記入枠用空欄を、表示
された文書中に設定することは難しい。
Further, in general, the character size printed on the paper by the document processing device is often not the same as the character size suitable for handwriting. For example, an answer prepared for a writing test conducted at an educational institution. The columns should be large enough for easy handwriting. In such a case, as in each of the above publications, in the entry frame blank set depending on the printing style or format, the entry frame blank with a size commensurate with the number of handwritten characters is displayed. It is difficult to set in the document.

【0011】さらに、上記公報のように、印刷様式や書
式に依存して記入枠用空欄のサイズおよび位置を設定す
る場合には、同一文書中で、改行ピッチ・文字間隔・文
字ポイント数等の印刷様式や書式の変更が多い場合、記
入枠用空欄の大きさを統一することが一層困難となって
いる。
Further, as in the above publication, when setting the size and position of the blank space for the entry frame depending on the printing style and format, the line feed pitch, the character interval, the number of character points, etc. in the same document are set. If there are many changes in printing styles and formats, it will be even more difficult to unify the sizes of the blanks for entry boxes.

【0012】本発明は、上記の各問題点に鑑みなされた
ものであって、その目的は、書式に依存することなく、
文書中の所望する位置に最適な大きさの記入枠用空欄を
設定することができ、しかも、記入枠用空欄設定の操作
性を格段に向上させることができる文書処理装置を提供
することにある。
The present invention has been made in view of the above problems, and its purpose is not dependent on the format.
An object of the present invention is to provide a document processing device capable of setting a blank space for an entry frame of an optimum size at a desired position in a document and further improving the operability of setting a blank space for the entry frame. .

【0013】[0013]

【課題を解決するための手段】請求項1の文書処理装置
は、上記の課題を解決するために、入力された文書デー
タを記録し、文書データの内容を表示および用紙に印刷
する機能を備え、印刷後に文字を手書きするための記入
枠用空欄を文書中に設定する記入枠用空欄設定手段が設
けられた文書処理装置において、上記記入枠用空欄設定
手段は、文書作成の書式や印刷様式に依存することな
く、手書きすべき文字数に応じて予め定められた当該
文字数の文字を手書きにて記入するのに適した大きさの
記入枠用空欄を文書中に設定することを特徴としてい
る。
In order to solve the above-mentioned problems, the document processing apparatus according to the present invention has a function of recording the input document data, displaying the contents of the document data, and printing on the paper. In a document processing apparatus provided with a blank space setting section for setting a blank frame for handwriting characters after printing in a document, the blank space setting means for the blank frame is a document creation format or printing style. Don't depend on
Ku, depending on the number of characters to be handwritten, predetermined the
It is characterized in that a blank space for an entry frame having a size suitable for handwriting the characters of the number of characters is set in the document.

【0014】上記の構成によれば、記入枠用空欄が手書
きすべき文字数に対応して、文書作成の書式や印刷様式
に依存することなく、当該文字数の文字を手書きにて記
入するのに適した予め定められた大きさで文書中に予め
設定されるので、文書における行間隔や文字間隔等の印
刷様式に左右されることなく、手書きによる記入に適し
た大きさの記入枠用空欄を文書中に作成することができ
る。これにより、従来のように、記入枠用空欄の設定が
印刷様式に依存した場合のように、印刷結果を見ながら
試行錯誤して所望する記入枠用空欄のサイズを決定する
必要がなくなるので、記入枠用空欄設定における操作性
を向上させることができる。よって、文書処理装置の使
い勝手を従来に比べて格段に向上させることができる。
According to the above configuration, the blank space for the entry frame corresponds to the number of characters to be handwritten , and the document creation format and printing style are set.
The number of characters is written by hand without depending on
The size is set in advance in the document in a predetermined size that is suitable for inputting, so the size is suitable for handwriting without being affected by the print style such as line spacing or character spacing in the document. Box blanks can be created in the document. As a result, unlike the conventional case, it is not necessary to determine the desired size of the blank space for the entry frame by trial and error while observing the print result as in the case where the setting of the blank space for the entry frame depends on the print style. It is possible to improve the operability in setting the blank space for the entry frame. Therefore, the usability of the document processing device can be significantly improved compared to the conventional one.

【0015】請求項2の文書処理装置は、上記の課題を
解決するために、請求項1の構成に加えて、記入枠用空
欄設定手段には、記入文字数に相当する数値が入力され
ることにより、この入力された数値に応じて予め定めら
れた大きさの記入枠用空欄を文書の1行中に設定する文
字記入枠設定手段が設けられていることを特徴としてい
る。
In order to solve the above-mentioned problems, the document processing apparatus according to a second aspect of the present invention is, in addition to the configuration of the first aspect, that a numeric value corresponding to the number of characters to be entered is input to the blank space setting means for entry frame. Accordingly, the character entry frame setting means for setting the entry box blank of a predetermined size according to the input numerical value is provided in one line of the document.

【0016】上記の構成によれば、請求項1の作用と同
様、文書作成の書式や印刷様式に依存することなく、手
書きすべき文字数に応じた大きさを持つ記入枠用空欄を
設定することができる。しかも、使用者は文書の作成中
に記入枠用空欄を設けたい箇所で、予定している大きさ
の記入枠用空欄を文書の1行中に設定することができる
ので、記入枠用空欄の作成のための試行錯誤が無くな
り、記入枠用空欄を含む文章を効率良く作成することが
できる。
According to the above construction, similar to the operation of claim 1, the blank space for the entry frame having a size corresponding to the number of characters to be handwritten is set without depending on the format and the printing style of the document creation. You can In addition, the user can set a blank space for the entry frame of a planned size in one line of the document at the place where the user wants to provide the blank space for the entry frame during the creation of the document. Elimination of trial and error for creating, it is possible to efficiently create a sentence including a blank space for the entry frame.

【0017】請求項3の文書処理装置は、上記の課題を
解決するために、請求項1の構成に加えて、記入枠用空
欄設定手段には、行数に相当する数値が入力されること
により、この入力された数値に応じて予め設定された大
きさの記入枠用空欄を文書中に数行にわたって設定する
行単位記入枠設定手段が設けられていることを特徴とし
ている。
In order to solve the above-mentioned problems, the document processing apparatus according to a third aspect of the present invention is, in addition to the configuration of the first aspect, that a numeric value corresponding to the number of lines is input to the blank space setting means for entry frame. Thus, a line-by-line entry frame setting means for setting an entry frame blank space having a size set in advance according to the input numerical value over several lines in the document is provided.

【0018】上記の構成によれば、請求項1の作用と同
様、文書作成の書式や印刷様式に依存することなく、手
書きすべき文字数に応じた大きさを持つ記入枠用空欄を
設定することができる。しかも、使用者は文書の作成中
に記入枠用空欄を設けたい箇所で、行数に相当する数値
を入力するだけで、少なくとも文書1行分の横幅を持
ち、かつ手書き用に予定している行数に応じた縦幅を持
つ記入枠用空欄を設定することができるので、記入枠用
空欄が手書きし易い大きさで印刷されるように試行錯誤
する必要が無くなり、記入枠用空欄を含む文書の作成効
率を向上させることができる。
According to the above construction, similar to the operation of claim 1, the blank for the entry frame having the size corresponding to the number of characters to be handwritten is set without depending on the format and the printing style of the document creation. You can Moreover, the user has a width corresponding to at least one line of the document and plans for handwriting only by inputting a numerical value corresponding to the number of lines at a place where the user wants to provide a blank space for the entry frame during the creation of the document. Since it is possible to set a blank space for the entry frame that has a vertical width according to the number of lines, there is no need to make trial and error so that the blank space for the entry frame is printed in a size that is easy to write by hand. Document creation efficiency can be improved.

【0019】請求項4の文書処理装置は、上記の課題を
解決するために、請求項1の構成に加えて、記入枠用空
欄設定手段には、文字数と行数とで表される領域に相当
する数値が入力されることにより、この入力された数値
に応じて予め設定された大きさの記入枠用空欄を文書中
に設定する指定範囲記入枠設定手段が設けられているこ
とを特徴としている。
In order to solve the above-mentioned problems, a document processing apparatus according to a fourth aspect of the invention has, in addition to the structure of the first aspect, a blank space setting means for an entry frame, an area represented by the number of characters and the number of lines. It is characterized in that a designated range entry frame setting means is provided for setting an entry box blank of a size preset according to the entered value into the document by inputting a corresponding numeric value. There is.

【0020】上記の構成によれば、請求項1の作用と同
様、文書作成の書式や印刷様式に依存することなく、手
書きすべき文字数に応じた大きさを持つ記入枠用空欄を
設定することができる。しかも、文字数は記入枠用空欄
の横幅に対応し、行数は記入枠用空欄の縦幅に対応して
いるので、使用者は文書の作成中に記入枠用空欄を設け
たい箇所で、文字数と行数とで表される領域に相当する
数値を入力するだけで、手書きすべき文字数に応じた記
入枠用空欄を文書中に設定することができる。即ち、使
用者は記入枠用空欄の横幅と縦幅とを所望のサイズに自
在に設定することができ、記入枠用空欄を含む文書のレ
イアウトを決める自由度を、請求項2・3の場合よりも
さらに高めることができる。
According to the above configuration, similar to the operation of claim 1, the blank for the entry frame having a size corresponding to the number of characters to be handwritten is set without depending on the format and the printing style of the document creation. You can Moreover, since the number of characters corresponds to the width of the blank space for the entry frame, and the number of lines corresponds to the vertical width of the blank space for the entry frame, the user can specify the number of characters By simply inputting a numerical value corresponding to an area represented by and the number of lines, it is possible to set a blank space for the entry frame in the document according to the number of characters to be handwritten. That is, the user can freely set the horizontal width and the vertical width of the blank space for the entry frame to a desired size, and the degree of freedom for deciding the layout of the document including the blank space for the entry frame is set in the case of claims 2 and 3. Can be further increased.

【0021】請求項5の文書処理装置は、上記の課題を
解決するために、請求項2の構成に加えて、文字記入枠
設定手段によって文書の1行中に設定される記入枠用空
欄が行末を越えるとき、当該行を改行する行末処理付加
手段が設けられていることを特徴としている。
In order to solve the above-mentioned problems, a document processing apparatus according to a fifth aspect of the present invention has, in addition to the configuration of the second aspect, a blank space for an entry frame which is set in one line of a document by the character entry frame setting means. It is characterized in that a line end processing addition means is provided for breaking the line when the line end is exceeded.

【0022】上記の構成によれば、請求項2の作用に加
えて、文書の1行中に設定される記入枠用空欄が行末を
越えるときに、当該行を改行する行末処理付加手段が設
けられていることで、記入枠用空欄の行末での途切れを
防止することができる。
According to the above configuration, in addition to the function of claim 2, when the blank space for the entry frame set in one line of the document exceeds the end of the line, a line end processing addition means for breaking the line is provided. By doing so, it is possible to prevent the break at the end of the line of the blank for the entry frame.

【0023】請求項6の文書処理装置は、上記の課題を
解決するために、請求項2又は5の構成に加えて、上記
文字記入枠設定手段によって設定される記入枠用空欄を
含む行の改行ピッチを、該記入枠用空欄の大きさに応じ
て調整する改行ピッチ調整手段が設けられていることを
特徴としている
A document processing apparatus according to a sixth aspect of the present invention has the above object.
In order to solve, in addition to the configuration of claim 2 or 5, the above
Fill in the blanks for the entry frame set by the character entry frame setting means.
Set the line feed pitch of the included line according to the size of the blank for the entry frame.
The line feed pitch adjusting means
It has a feature .

【0024】上記の構成により、請求項1の作用に加え
て、記入枠用空欄設定手段によって設定された記入枠用
空欄を含む行の改行ピッチを、該記入枠用空欄の大きさ
に応じて調整する改行ピッチ調整手段が設けられている
ことで、記入枠用空欄が、この記入枠用空欄が設定され
た行の隣接する行に重ならないようにすることができ
る。これにより、従来のように書式に依存して記入枠用
空欄設定を行う場合のように、文書中の記入枠用空欄が
隣接する行に重ならないように記入枠用空欄に隣接する
行の改行ピッチについての試行錯誤を行うことなく、記
入枠用空欄を文中に設定することができる。したがっ
て、記入枠用空欄を含む文書の作成効率を向上させるこ
とができる。
With the above construction, in addition to the function of claim 1,
For the entry frame set by the blank setting means for the entry frame
The line feed pitch of the line including the blank is the size of the blank for the entry frame
Line feed pitch adjusting means for adjusting according to
By doing so, the blank for the entry frame will be set
Can not overlap adjacent rows of
It This makes it possible to fill in the frame depending on the format as before.
As in the case of setting blanks, the blanks for the entry frame in the document
Adjacent to the blank for the entry frame so that it does not overlap adjacent lines
Without making trial and error about the line feed pitch of a line,
You can set a blank space for the frame in the sentence. According to
To improve the efficiency of creating documents that include blank spaces for
You can

【0025】請求項7の文書処理装置は、上記の課題を
解決するために、請求項6の構成に 加えて、改行ピッチ
調整手段は、設定される空欄の縦幅が、予め設定された
文書の書式による改行ピッチを超えたときに、該記入枠
用空欄を含む行の改行ピッチを拡げるように調整するこ
とを特徴としている。
A document processing apparatus according to a seventh aspect has the above-mentioned problems.
In order to solve, in addition to the structure of claim 6 , a line feed pitch
The adjustment means has the preset vertical width of the blank
When the line feed pitch according to the document format is exceeded, the entry box
Adjust to expand the line feed pitch of lines that include blank spaces.
It is characterized by.

【0026】上記の構成により、請求項6の作用に加え
て、改行ピッチ調整手段は、記入枠用空欄設定手段によ
って設定された空欄の縦幅が、予め設定された書式によ
る改行ピッチを超えたときに、該記入枠用空欄を含む行
の改行ピッチを拡げるように調整することで、行間が記
入枠用空欄の幅よりも狭くても、記入枠用空欄が隣接す
る行に重ならないように自動的に設定することができ
る。これにより、使用者は、記入枠用空欄設定手段によ
って設定された空欄の縦幅が、予め設定された書式によ
る改行ピッチを超えたときに、自動的に記入枠用空欄を
含む行の改行ピッチを拡げるようになっているので、改
行ピッチを使用者自身が変更する必要がなくなり、記入
枠用空欄の設定の操作性を向上させることができる。
With the above construction, in addition to the function of claim 6,
The line feed pitch adjusting means is
The vertical width of the blank space set according to
The line including the blank for the entry frame when the line feed pitch exceeds
The line spacing is recorded by adjusting the line feed pitch of
Even if the width is narrower than the width of the entry space, the space for the entry space is adjacent.
Can be set automatically so that they do not overlap
It As a result, the user can use the blank space setting means for the entry frame.
The vertical width of the blank space set according to
When the line feed pitch exceeds the
It is designed to expand the line feed pitch of the lines that include
It is not necessary for the user to change the line pitch by himself.
It is possible to improve the operability of setting the frame blank.

【0027】請求項の文書処理装置は、上記の課題を
解決するために、請求項3の構成に加えて、行単位記入
枠設定手段によって文書中に複数行にわたって設定され
る記入枠用空欄が頁末を越えるとき、当該頁を改頁する
頁末処理付加手段が設けられていることを特徴としてい
る。
In order to solve the above-mentioned problems, a document processing apparatus according to an eighth aspect of the present invention is, in addition to the structure of the third aspect, a blank space for an entry frame which is set by a line-by-line entry frame setting means over a plurality of lines in a document. Is provided with page end processing addition means for changing the page when the page end.

【0028】上記の構成によれば、請求項3の作用に加
えて、文書中に複数行に渡って設定される記入枠用空欄
が頁末を越えるときに、当該頁を改頁する頁末処理付加
手段が設けられていることで、記入枠用空欄の頁末での
途切れを防止することができる。
According to the above construction, in addition to the function of claim 3, when the blank space for the entry frame set over a plurality of lines in the document exceeds the end of the page, the page end for changing the page is added. By providing the processing addition means, it is possible to prevent the break in the blank space for the entry frame at the end of the page.

【0029】請求項の文書処理装置は、上記の課題を
解決するために、請求項1ないしの何れかの構成に加
えて、文書中に設定される記入枠用空欄の作成に関わる
変数を、必要に応じて変更する状態変数変更手段が設け
られていることを特徴としている。
In order to solve the above-mentioned problems, a document processing apparatus according to a ninth aspect of the present invention, in addition to the configuration according to any one of the first to eighth aspects, has a variable relating to creation of a blank space for an entry frame set in a document. Is provided with a state variable changing means for changing as necessary.

【0030】上記記入枠用空欄のサイズは手書き文字数
に応じて一定に定められて印刷される。しかし、1文字
当たりのサイズが常に固定されてしまうと、文書の種類
によって記入枠用空欄のサイズを使い分けることができ
ない。例えば、小学生向けの筆記試験における解答欄を
作成する場合、低学年用には記入枠用空欄のサイズを大
きくし、高学年には小さくして用紙1枚当たりの文書量
を増やしたいという要望がある。
The size of the blank for the entry frame is fixed and printed according to the number of handwritten characters. However, if the size per character is always fixed, it is not possible to properly use the size of the blank space for the entry frame depending on the type of document. For example, when creating an answer box for a written test for elementary school students, there is a demand to increase the size of the blank space for the lower grades and decrease it in the upper grades to increase the amount of documents per sheet. .

【0031】そこで、上記の構成によれば、請求項1な
いしの何れかの作用に加えて、文書中に設定される記
入枠用空欄の作成に関する変数を、必要に応じて変更す
る状態変数変更手段が設けられていることで、記入枠用
空欄のサイズ等の変更に対して柔軟に対応することがで
きる。これにより、使用者は、複数種類の大きさの手書
き文字の中から所望するサイズの記入枠用空欄を選択で
きるので、文書の種類による記入枠用空欄のサイズの使
い分けを可能とする。
Therefore, according to the above configuration, in addition to the operation according to any one of claims 1 to 8 , a variable relating to the creation of the blank space for the entry frame set in the document is set as necessary. By providing the state variable changing means for changing the size, it is possible to flexibly deal with the change of the size of the blank for the entry frame. With this, the user can select a desired size of the blank space for the entry frame from among a plurality of types of handwritten characters, and thus it is possible to properly use the size of the blank space for the entry frame depending on the type of the document.

【0032】請求項10の文書処理装置は、上記の課題
を解決するために、請求項1ないしの何れかに記載の
構成に加えて、記入枠用空欄の作成に関わる変数を記憶
する変数テーブルを、文書中に設定される記入枠用空欄
毎に作成する変数テーブル作成手段が設けられているこ
とを特徴としている。
In order to solve the above-mentioned problems, a document processing apparatus according to a tenth aspect of the invention has a variable for storing a variable relating to the creation of a blank space for an entry frame, in addition to the configuration according to any one of the first to ninth aspects. A feature is that a variable table creating means is provided for creating a table for each blank space for entry frames set in the document.

【0033】上記の構成によれば、請求項1ないし
何れかの作用に加えて、記入枠用空欄の作成に関わる変
数を記憶する変数テーブルを、文書中に設定される記入
枠用空欄毎に作成する変数テーブル作成手段が設けられ
ていることで、複数の記入枠用空欄が文書中に設定され
た場合に、それぞれの記入枠用空欄の作成に関する変
数、例えば記入枠用空欄の枠単位、サイズ、枠の太さ、
枠の無等を独立して設定することが可能となる。これに
より、上記の変数テーブルが各記入枠用空欄で共通化さ
れている場合のように、一つの記入枠用空欄の状態変数
を削除・変更した場合に他の記入枠用空欄のサイズ等に
影響を与えることがないので、記入枠用空欄を含む文書
の作成効率を向上させることができる。
According to the above construction, in addition to the operation according to any one of claims 1 to 9 , a variable table for storing variables relating to the creation of the blank for the entry frame is set in the blank for the entry frame. By providing a variable table creating means for each entry, when a plurality of blanks for entry frames are set in the document, variables related to the creation of the respective blanks for entry frames, for example, the blanks for the entry frames Unit, size, thickness of frame,
It is possible to independently set the inequality of frames. As a result, when the state variables in one blank field are deleted or changed, as in the case where the above variable table is shared by each blank space, the size of other blank spaces will be changed. Since there is no influence, it is possible to improve the creation efficiency of the document including the blank space for the entry frame.

【0034】請求項11の文書処理装置は、上記の課題
を解決するために、請求項10の構成に加えて、変数テ
ーブルに記憶された記入枠用空欄の作成に関する変数に
代入する数値が保持された状態変数テーブルの内容を、
直前に設定された記入枠用空欄の変数テーブルの内容を
状態変数テーブルに保持する状態変数テーブル更新手段
が設けられ、上記変数テーブル作成手段は、状態変数テ
ーブルの内容を参照して、変数テーブルを作成すること
を特徴としている。
The document processing apparatus according to claim 11, in order to solve the above problems, in addition to the configuration of claim 10, the numerical values assigned to the variable on creating entry box for blanks stored in the variable table is held The contents of the state variable table
State variable table updating means for holding the content of the variable table of the blank for the entry frame set immediately before in the state variable table is provided, and the variable table creating means refers to the content of the state variable table and stores the variable table. It is characterized by creating.

【0035】上記の構成によれば、請求項10の作用に
加えて、変数テーブルに代入される数値を保持するため
の状態変数テーブルの内容を、直前に設定された記入枠
用空欄の変数の内容に更新する状態変数テーブル更新手
段が設けられ、内容が更新された状態変数テーブルの内
容を参照して、変数テーブルが作成されることで、連続
して設定する複数の記入枠用空欄の変数テーブルの内容
を同じにすることができる。これにより、連続した記入
枠用空欄の変数を同じにする場合、記入枠用空欄の設定
毎に、変数を設定する必要がなくなるので、記入枠用空
欄の設定の操作性を向上させることができる。
According to the above construction, in addition to the operation of claim 10 , the contents of the state variable table for holding the numerical values to be substituted in the variable table are stored in the blank space for the entry frame set immediately before. A state variable table updating unit for updating the contents is provided, and a variable table is created by referring to the contents of the state variable table whose contents have been updated. The contents of the table can be the same. This makes it unnecessary to set the variable for each setting of the blanks for the input frame when the variables of the blanks for the input frames are the same, and thus the operability of setting the blanks for the input frame can be improved. .

【0036】請求項12の文書処理装置は、上記の課題
を解決するために、請求項1の構成に加えて、上記記入
枠用空欄設定手段は、指定され指定範囲内の文字数あ
るいは行数を認識し、この認識された文字数あるいは行
数に応じて予め定められた大きさの記入枠用空欄を文書
中に設定することを特徴としている。
In order to solve the above-mentioned problems, the document processing apparatus according to a twelfth aspect of the present invention has, in addition to the configuration of the first aspect, the blank space setting means for the entry frame, the number of characters or the number of lines within a designated range specified. Is recognized, and an empty space for an entry frame having a predetermined size is set in the document in accordance with the recognized number of characters or lines.

【0037】上記の構成によれば、請求項1の作用に加
えて、記入枠用空欄設定手段は、認識された指定範囲内
の文字数あるいは行数の少なくとも一方の値に基づい
て、記入枠用空欄を文書中に設定することで、使用者が
文字数や行数を入力することなく、文字数や行数に応じ
て予め設定された大きさの記入枠用空欄を文書中に設定
することができる。即ち、使用者は、記入枠用空欄を作
成すべき領域の範囲を指定するだけで、自動的に指定範
囲内の文字数や行数を認識して、これを入力値として記
入枠用空欄を文書中に設定することができる。尚、記入
枠用空欄設定手段が指定範囲から認識する文字数あるい
は行数は、例えば表示画面に表示されるカーソルの移動
ピッチに基づいた文字数あるいは行数を意味している。
したがって、文字数や行数を特に考慮しないで、文書中
のイメージで記入枠用空欄を作成することができるの
で、記入枠用空欄を含む文書の作成効率を向上させるこ
とができる。
According to the above construction, in addition to the function of claim 1,
Then, the blank space setting means for the input frame sets the blank space for the input frame in the document based on the value of at least one of the number of characters and the number of lines within the recognized specified range, so that the user can set the number of characters and the number of lines. It is possible to set a blank space for an entry frame having a preset size in the document according to the number of characters and the number of lines without inputting. That is, the user only needs to specify the range of the area in which the blank for the entry frame should be created, and automatically recognizes the number of characters and the number of lines within the specified range, and uses this as the input value to document the blank for the entry frame. Can be set inside. Incidentally, the number of characters or the number of lines recognized by the blank space setting means for the entry frame from the designated range means, for example, the number of characters or the number of lines based on the moving pitch of the cursor displayed on the display screen.
Therefore, the blank space for the entry frame can be created with the image in the document without particularly considering the number of characters or the number of lines, so that the efficiency of creating the document including the blank space for the entry frame can be improved.

【0038】請求項13の文書処理装置は、上記の課題
を解決するために、請求項の構成に加えて、記入枠用
空欄設定手段には、指定され指定範囲内に、少なくと
も1部分の記入枠用空欄が存在するか否かを判断する枠
判断手段と、上記枠判断手段によって、指定範囲内に、
少なくとも1部分の記入枠用空欄が存在すると判断され
れば、上記記入枠用空欄に対する設定内容の変更・消去
・移動・複写の何れかの処理を行い、上記指定範囲内
に、記入枠用空欄が存在しないと判断されれば、指定範
囲内の文字数あるいは行数に応じて予め定められた大き
さの記入枠用空欄を文書中に設定する記入枠処理設定手
段とが設けられていることを特徴としている。
The document processing apparatus according to claim 13, in order to solve the above problems, in addition to the first aspect, the blank setting means for entry box, within the specified specified range, at least a portion The frame judgment means for judging whether or not there is a blank space for entry frame, and the frame judgment means, within the designated range,
If it is determined that there is at least one part of the blank space for the entry frame, any processing of changing, deleting, moving, or copying the setting contents for the blank space for the entry frame is performed, and the blank space for the entry frame is set within the specified range. If it is determined that there is no entry frame, the entry frame processing setting means for setting the entry frame blank space of a predetermined size in the document according to the number of characters or the number of lines within the specified range is provided. It has a feature.

【0039】上記の構成によれば、指定範囲内に記入枠
用空欄が存在しないときには、請求項12の作用と同
様、指定範囲内の文字数あるいは行数に応じて予め定め
られた大きさの記入枠用空欄を文書中に設定するように
なっているので、文字数や行数を特に考慮しないで、文
書中のイメージで記入枠用空欄を作成することができ、
この結果、記入枠用空欄を含む文書の作成効率を向上さ
せることができる。また、指定範囲内に記入枠用空欄が
存在するときには、使用者は存在する記入枠用空欄に対
して設定内容の変更・消去・移動・複写の何れかの処理
を行うようになるので、指定範囲に存在する既存の記入
枠用空欄を無視することなく、指定範囲を記入枠用空欄
に設定することができる。
According to the above construction, when there is no blank space for the entry frame in the designated range, the entry of a size predetermined according to the number of characters or the number of lines in the designated range is performed as in the case of the twelfth aspect. Since the blank space for the frame is set in the document, the blank space for the entry frame can be created with the image in the document without considering the number of characters or the number of lines.
As a result, it is possible to improve the efficiency of creating the document including the blank space for the entry frame. Also, when there is a blank space for an entry frame within the specified range, the user will be able to change, delete, move, or copy the setting contents for the existing blank space for the entry frame. The specified range can be set as the blank space for the entry frame without ignoring the existing blank space for the entry frame in the range.

【0040】[0040]

【発明の実施の形態】本発明の実施の一形態について図
1ないし図39に基づいて説明すれば、以下の通りであ
る。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to FIGS. 1 to 39.

【0041】本実施の形態に係る文書処理装置は、図1
に示すように、文書処理等のプログラムを実行する中央
処理装置(CPU)1、文字等を入力するためのキーボ
ード、入力ペン、マウス等の入力装置2、入力された文
書データの内容を表示するためのCRT(Cathode Ray
Tube)やLCD(Liquid Crystal Display)等の表示装
置3、文書データの内容を用紙に印刷するためのプリン
タ等の印刷装置4を備えている。
The document processing apparatus according to this embodiment is shown in FIG.
As shown in, a central processing unit (CPU) 1 for executing a program for document processing, an input device 2 such as a keyboard for inputting characters, an input pen, a mouse, etc., and the contents of input document data are displayed. CRT for Cathode Ray
A display device 3 such as a tube) or an LCD (Liquid Crystal Display), and a printing device 4 such as a printer for printing the content of document data on a sheet are provided.

【0042】また、上記文書処理装置は、文書編集に必
要な手段として、文書中に罫線を作成するための罫線作
成手段5、文書の行間隔や文字間隔等の書式を設定する
書式設定手段6、および入力された文書データを記録す
るための文書記憶手段7を有している。
Further, the document processing apparatus includes ruled line creating means 5 for creating ruled lines in a document and format setting means 6 for setting formats such as line spacing and character spacing of the document as means necessary for document editing. , And a document storage means 7 for recording the input document data.

【0043】さらに、上記文書処理装置には、印刷後に
文字を手書きにて記入するための記入枠用空欄を、文書
中に設定するための記入枠用空欄設定手段8、記入枠用
空欄の設定に関する状態変数および変数を保持するため
の状態変数テーブル9、変数テーブル10、および状態
変数および変数に数値を代入する際に参照される定数テ
ーブル11とが備えられている。尚、上記状態変数テー
ブル9、変数テーブル10は、図示しないRAM内に記
憶されているものであり、また、定数テーブル11は、
図示しないROM内に記憶されているものであり、これ
ら各テーブルの詳細に関しては、後述する。
Further, in the document processing device, a blank space for input frame for setting a blank space for writing characters by handwriting after printing in the document, setting means 8 for blank space for input frame, setting of blank space for blank space There are provided a state variable and a state variable table 9 for holding the variables, and a constant table 11 that is referred to when a numerical value is assigned to the state variables and variables. The state variable table 9 and the variable table 10 are stored in a RAM (not shown), and the constant table 11 is
It is stored in a ROM (not shown), and details of these tables will be described later.

【0044】上記記入枠用空欄設定手段8は、印刷後に
文字を手書きするための記入枠用空欄を文書中に設定す
るものであり、書式に依存せず、記入枠用空欄に手書き
すべき文字数に応じて予め定められた大きさの記入枠用
空欄を文書中に設定するようになっている。
The entry frame blank space setting means 8 sets a blank space for the entry space in the document for handwriting characters after printing, and does not depend on the format, and is the number of characters to be handwritten in the blank space for the entry space. According to the above, a blank space for the entry frame having a predetermined size is set in the document.

【0045】上記の記入枠用空欄の設定のために、記入
枠用空欄設定手段8には、文字記入枠設定手段12、行
記入枠設定手段13、指定範囲記入枠設定手段14が備
えられている。これら各手段は、記入枠用空欄の設定の
ために入力される文字数、行数等の入力データの種類
(以下、枠単位と称する)に応じて適宜選択されて、文
書中に記入枠用空欄を設定するものとする。尚、この判
断は、入力されたデータに基づいて上記CPU1が行う
ようになっている。
In order to set the above-mentioned blank space for entry frame, the blank space setting means 8 for entry frame is provided with a character entry frame setting means 12, a line entry frame setting means 13, and a designated range entry frame setting means 14. There is. Each of these means is appropriately selected according to the type of input data such as the number of characters and the number of lines (hereinafter, referred to as a frame unit) input for setting the blank space for the entry frame, and the blank space for the entry frame in the document. Shall be set. The CPU 1 makes this judgment based on the input data.

【0046】文字記入枠設定手段12は、記入文字数に
相当する数値が入力されることにより、この入力された
数値に応じて予め定められた大きさの記入枠用空欄を文
書中に設定するようになっている。
By inputting a numerical value corresponding to the number of characters to be entered, the character entry box setting means 12 sets an empty space for the entry box of a predetermined size in the document according to the entered numerical value. It has become.

【0047】また、行記入枠設定手段13は、行数に相
当する数値が入力されることによって、入力した数値に
応じて予め設定された大きさの記入枠用空欄を文書中に
設定するようになっている。
Further, the line entry frame setting means 13 inputs a numerical value corresponding to the number of lines to set an empty space for the entry frame of a size preset according to the input numerical value in the document. It has become.

【0048】さらに、指定範囲記入枠設定手段14は、
文字数と行数とで表される指定範囲に相当する数値が入
力されることによって、入力した数値に応じて予め設定
された大きさの記入枠用空欄を文書中に設定するように
なっている。
Further, the designated range entry frame setting means 14 is
By inputting a numerical value corresponding to a specified range represented by the number of characters and the number of lines, a blank space for an input frame having a size preset according to the input numerical value is set in the document. .

【0049】尚、上記の文字記入枠設定手段12、行記
入枠設定手段13および指定範囲記入枠設定手段14に
おける入力値に対応する記入枠用空欄のサイズ等の記入
枠用空欄作成に関する変数は、記入枠の設定に必要な値
を保持している状態変数テーブル9(図3)、変数テー
ブル10(図2)、定数テーブル11(図4)等の内容
から設定されるものである。
Variables relating to the blank space for the entry frame such as the size of the blank space for the entry frame corresponding to the input values in the character entry frame setting means 12, the line entry frame setting means 13 and the designated range entry frame setting means 14 are , The state variable table 9 (FIG. 3), the variable table 10 (FIG. 2), and the constant table 11 (FIG. 4) that hold the values necessary for setting the entry frame.

【0050】上記のように文書中に設定される記入枠用
空欄は、そのサイズ、枠種等の各種状態を示す変数を決
定することで設定される。このような記入枠用空欄の設
定のための変数には、図2に示す変数テーブル10のよ
うに、枠単位(U)、入力数I(A1 )、入力数II(A
2 )、枠種(VF )、枠線種(L)、仕切り線種I(T
1 )、仕切り線種II(T2 )、入力単位種I(V1 )、
入力単位種II(V2 )、入力単位サイズI(S1 )、入
力単位サイズII(S2 )がある。
The blank space for the entry frame set in the document as described above is set by determining variables indicating various states such as its size and frame type. As shown in the variable table 10 shown in FIG. 2, the variables for setting the blanks for the entry frame include a frame unit (U), the number of inputs I (A 1 ), and the number of inputs II (A
2), the frame type (V F), border type (L), partition lines species I (T
1 ), partition line type II (T 2 ), input unit type I (V 1 ),
There are input unit type II (V 2 ), input unit size I (S 1 ) and input unit size II (S 2 ).

【0051】この変数テーブル10は、後述する変数テ
ーブル作成手段18によって記入枠用空欄毎に設定され
るものである。したがって、複数の記入枠用空欄が文書
中に設定された場合に、それぞれの記入枠用空欄のサイ
ズ等の記入枠用空欄作成に関する変数を独立して設定す
ることが可能となる。各記入枠用空欄の表示または印字
の際には、各変数テーブル10の内容が読み出される。
これにより、上記の変数テーブル10が各記入枠用空欄
で共通化されている場合のように、一つの記入枠用空欄
の作成に関する変数を削除・変更した場合に他の記入枠
用空欄のサイズ等に影響を与えることがないので、記入
枠用空欄を含む文書の作成効率を向上させることができ
る。
The variable table 10 is set by the variable table creating means 18, which will be described later, for each blank for the entry frame. Therefore, when a plurality of blanks for entry frames are set in the document, it is possible to independently set variables relating to the creation of the blanks for entry frames such as the sizes of the respective blanks for entry frames. The contents of each variable table 10 are read when displaying or printing the blanks for each entry frame.
As a result, when the variable relating to the creation of one blank for an entry frame is deleted or changed, as in the case where the variable table 10 described above is shared by the blanks for each entry frame, the size of the blanks for other entry frames is changed. Therefore, the efficiency of creating a document including a blank space for entry frames can be improved.

【0052】上記変数テーブル10の変数のうち、枠単
位は、図5に示すように、変数Uに1、2、3の何れか
が代入されることで、枠単位の種類を示すようになって
いる。即ち、Uの値が1であれば、枠単位が文字である
ことを示し、Uの値が2であれば、枠単位が行であるこ
とを示し、Uの値が3であれば、枠単位が指定範囲であ
ることを示すようになっている。
Of the variables in the variable table 10, the frame unit indicates the type of the frame unit by substituting any one of 1, 2, and 3 into the variable U as shown in FIG. ing. That is, a U value of 1 indicates that the frame unit is a character, a U value of 2 indicates that the frame unit is a line, and a U value of 3 indicates a frame. It indicates that the unit is within the specified range.

【0053】入力数Iは、入力文字数を示し、入力数II
は、入力行数を示すものである。即ち、文字記入枠設定
手段12にて記入枠用空欄を設定する場合には、入力数
Iの変数A1 に所望する文字数が入力され、行記入枠設
定手段13にて記入枠用空欄を設定する場合には、入力
数IIの変数A2 に所望する行数が入力され、さらに、指
定範囲記入枠設定手段14にて記入枠用空欄を設定する
場合には、入力数I・IIの変数A1 ・A2 に所望する文
字数と行数とがそれぞれ入力されるようになっている。
The input number I indicates the number of input characters, and the input number II
Indicates the number of input lines. That is, when setting the blank space for the entry frame by the character entry frame setting means 12, the desired number of characters is input to the variable A 1 of the input number I and the line entry frame setting means 13 sets the blank space for the entry frame. In case of setting, the desired number of lines is input to the variable A 2 of the input number II, and when the designated range input frame setting means 14 sets a blank space for the input frame, the variable of the input number I · II is set. A desired number of characters and a desired number of lines are input to A 1 and A 2 , respectively.

【0054】枠種は、図6に示すように、変数VF
1、2、3の何れかが代入されることで、枠の種類を示
すようになっている。即ち、VF の値が1であれば、枠
種が『囲い』であることを示し、VF の値が2であれ
ば、枠種が『下線』であることを示し、VF の値が3で
あれば、枠種が『空白』であることを示すようになって
いる。
As shown in FIG. 6, the frame type indicates the type of the frame by substituting 1, 2, or 3 into the variable V F. That is, when the value of V F is 1, it indicates that the frame type is “enclosure”, and when the value of V F is 2, it indicates that the frame type is “underline”, and the value of V F is Is 3, it indicates that the frame type is "blank".

【0055】枠線種、仕切り線種I・IIは、図7に示す
ように、それぞれの変数L、T1 、T2 に0〜6の7個
の整数の何れかが代入されることで、線種を示すように
なっている。即ち、上記変数の値が0であれば、記入枠
用空欄における線は不要であることを示し、変数の値が
1であれば、線種が太実線であることを示し、変数の値
が2であれば、線種が細実線であることを示し、変数の
値が3であれば、線種が太波線であることを示し、変数
の値が4であれば、線種が細波線であることを示し、変
数の値が5であれば、線種が太破線であることを示し、
変数の値が6であれば、線種が細破線であることを示す
ようになっている。
As shown in FIG. 7, the frame line type and the partition line type I / II are obtained by substituting any of seven integers 0 to 6 into the respective variables L, T 1 and T 2. , The line type is indicated. That is, if the value of the variable is 0, it means that the line in the blank for the entry frame is unnecessary, and if the value of the variable is 1, it means that the line type is a thick solid line, and the value of the variable is A value of 2 indicates that the line type is a thin solid line, a value of 3 indicates that the line type is a thick wavy line, and a value of 4 indicates that the line type is a thin wavy line. If the value of the variable is 5, it indicates that the line type is a thick broken line.
If the value of the variable is 6, it indicates that the line type is a thin broken line.

【0056】入力単位種I・IIは、図8に示すように、
それぞれの変数V1 ・V2 に1〜4の何れかの整数が代
入されることで、入力単位種を示すようになっている。
即ち、変数の値が1であれば、入力単位種は大きめであ
ることを示し、変数の値が2であれば、入力単位種は標
準であることを示し、変数の値が3であれば、入力単位
種は小さめであることを示し、変数の値が4であれば、
入力単位種はフリーであることを示すようになってい
る。尚、上記の入力単位種の大きさは、フリー以外は予
め設定されているものとする。
The input unit types I and II are as shown in FIG.
The input unit type is indicated by substituting an integer of 1 to 4 into each of the variables V 1 and V 2 .
That is, when the value of the variable is 1, it indicates that the input unit type is large, when the value of the variable is 2, it indicates that the input unit type is standard, and when the value of the variable is 3, , It indicates that the input unit type is small, and if the value of the variable is 4,
It indicates that the input unit type is free. The size of the input unit type is assumed to be set in advance except for free.

【0057】入力単位サイズI・IIは、それぞれの変数
1 ・S2 に文字サイズに関する数値が代入されること
で、設定される記入枠用空欄内の文字サイズを示すよう
になっている。例えば、文字サイズに関して表示装置3
に表示される後述する枠書式入力ウィンドウに(図18
〜20)に記された記入文字サイズの何れかの項目を使
用者が選択することで、文字サイズを変化させることが
できる。尚、記入文字サイズのフリーの項目を除いて、
各項目毎におけるS1 ・S2 の値は、枠単位毎に予め設
定されているものである。但し、入力単位サイズI・II
の各変数S1 ・S2 が共に0となる場合には、図4に示
すように、定数テーブル11にて予め設定された縁領域
横幅、縁領域縦幅、横方向遊び幅、縦方向遊び幅に基づ
いて記入枠用空欄の大きさが設定される。尚、定数テー
ブル11の内容は、文書処理装置の製造過程において予
め設定されたものであり、ROMに記憶され、必要に応
じて読み出されるようになっている。
The input unit sizes I and II indicate the character size in the blank space for the entry frame, which is set by substituting the numerical values relating to the character size into the respective variables S 1 and S 2 . For example, regarding the character size, the display device 3
In the frame format input window (to be described later) displayed in
The character size can be changed by the user selecting one of the items of the written character size described in 20 to 20). In addition, except for the free item of the written character size,
The values of S 1 and S 2 for each item are preset for each frame unit. However, input unit size I / II
When both the variables S 1 and S 2 of 0 are 0, as shown in FIG. 4, the edge area width, the edge area vertical width, the horizontal play width, and the vertical play that are preset in the constant table 11 are set. The size of the blank for the entry frame is set based on the width. The contents of the constant table 11 are preset in the manufacturing process of the document processing apparatus, are stored in the ROM, and are read out as needed.

【0058】上記定数テーブル11は、図4に示すよう
に、縁領域横幅Fw 、縁領域縦幅Fh 、横方向遊び幅E
w 、縦方向遊び幅Eh を示し、それぞれの変数には、F
w に5が、Fh に3が、Ew に3、Eh に3が設定され
ている。この数値は、後述する記入枠用空欄において、
例えばmmを単位とする固定された値であり、これに限
定するものではなく、装置毎に異なっても良い。
As shown in FIG. 4, the constant table 11 has an edge area lateral width F w , an edge area vertical width F h , and a lateral play width E.
w , vertical play width E h , and F for each variable
5 to w is, is 3 to F h, 3, E h to 3 is set to E w. This number is in the blank for the entry frame described later,
For example, it is a fixed value in the unit of mm and is not limited to this, and may be different for each device.

【0059】また、変数テーブル10の各変数に入力さ
れる値は、図3に示す状態変数テーブル9にも状態変数
として入力されるものとする。尚、状態変数テーブル9
は、後述する枠書式入力ウィンドウの表示の際に参照さ
れる。
The values input to the variables in the variable table 10 are also input to the state variable table 9 shown in FIG. 3 as state variables. The state variable table 9
Is referred to when the frame format input window described later is displayed.

【0060】上記状態変数テーブル9が、例えば図3に
示す状態であれば、枠単位9aの値が1であることか
ら、枠単位が文字であることが分かる。そして、枠単位
が文字であるテーブル9bを参照すると、入力数の値が
3であることから記入枠用空欄に手書きすべき文字数が
3であることが分かる。以下同様にして、各変数の値に
応じてどの様な記入枠用空欄が設定されているかが分か
る。
If the state variable table 9 is in the state shown in FIG. 3, for example, since the value of the frame unit 9a is 1, it can be seen that the frame unit is a character. Then, referring to the table 9b in which the frame unit is a character, since the value of the input number is 3, it can be seen that the number of characters to be handwritten in the blank space for entry frame is 3. In the same manner, it is possible to know what kind of blank box for the entry frame is set according to the value of each variable.

【0061】また、状態変数テーブル9における枠単位
9aの値が2であれば、枠単位が行であるので、枠単位
が行であるテーブル9cに対応する内容が入力された変
数テーブル10を参照して記入枠用空欄が設定される。
また、枠単位9aの値が3であれば、枠単位が指定範囲
であるので、枠単位が指定範囲であるテーブル9dを参
照して記入枠用空欄が設定される。
If the value of the frame unit 9a in the state variable table 9 is 2, the frame unit is a row, so the variable table 10 in which the contents corresponding to the table 9c in which the frame unit is a row is input is referred to. Then, the blank space for the entry frame is set.
Further, if the value of the frame unit 9a is 3, the frame unit is the designated range, and therefore the entry frame blank field is set with reference to the table 9d in which the frame unit is the designated range.

【0062】尚、状態変数テーブル9は、本文書処理装
置において1つ存在するものであり、それぞれの枠単位
毎に各種の変数名が記されている。また、状態変数テー
ブル9中の変数の値は、後述する枠書式入力ウィンドウ
の表示の際に参照されると共に、更新されるようになっ
ている。
There is one state variable table 9 in this document processing apparatus, and various variable names are described for each frame unit. Further, the values of the variables in the state variable table 9 are referred to and updated when the frame format input window described later is displayed.

【0063】また、このように設定された状態変数は、
後述する状態変数テーブル更新手段19によって状態変
数テーブル9内において、次の記入枠用空欄の設定まで
保持される。即ち、状態変数テーブル9の内容は、直前
に入力された数値が保持されるようになっている。これ
により、新たに作成する記入枠用空欄の設定内容が、直
前に作成された記入枠用空欄の設定内容と同じ場合に、
新たに設定内容を入力する必要がなくなるので、記入枠
用空欄の作成を容易に行うことができる。
The state variable set in this way is
In the state variable table 9, the state variable table updating means 19, which will be described later, holds until the setting of the next blank for the entry frame. That is, the contents of the state variable table 9 are such that the numerical values input immediately before are held. As a result, if the setting contents of the newly created entry frame blank are the same as the settings of the immediately preceding created entry frame blank,
Since it is not necessary to input new setting contents, it is possible to easily create a blank space for the entry frame.

【0064】上記の状態変数テーブル9に代入される変
数は、枠単位毎で異なる。つまり、変数には、図9に示
すように、各枠単位に該当するものとしないものとが有
り、さらに、各枠単位の中でも仕切り線の有無によって
設定されない変数がある。
The variables assigned to the above state variable table 9 differ for each frame unit. That is, as shown in FIG. 9, there are variables that correspond to each frame unit and those that do not correspond to each frame unit, and there are variables that are not set depending on the presence or absence of a partition line in each frame unit.

【0065】即ち、枠単位が文字で、仕切り線がある場
合に設定される変数は、枠単位を表すU、入力数Iを表
すA1 、枠種を表すVF 、枠線種を表すL、仕切り線種
Iを表すT1 、入力単位種Iを表すV1 、入力単位サイ
ズIを表すS1 、入力単位サイIIを表すS2 である。
[0065] That is, the frame unit is a character, L is variable to be set if there is a partition line, A 1 representing U, the number of inputs I representing a frame unit, which represents the V F, border species representing the frame type , T 1 representing the partition line type I, V 1 representing the input unit type I, S 1 representing the input unit size I, and S 2 representing the input unit size II.

【0066】そして、枠単位が文字で、仕切り線のない
場合に設定される変数は、上記の仕切り線種Iを表すT
1 が設定されない他、仕切り線のある場合に設定される
変数と同じである。
The variable set when the frame unit is a character and there is no partition line is T representing the partition line type I described above.
1 is not set, and it is the same as the variable set when there is a partition line.

【0067】また、枠単位が行で、仕切り線がある場合
に設定される変数は、枠単位を表すU、入力数IIを表す
2 、枠種を表すVF 、枠線種を表すL、仕切り線種II
を表すT2 、入力単位種IIを表すV2 、入力単位サイズ
IIを表すS2 である。
When the frame unit is a line and there is a partition line, the variables set are U for the frame unit, A 2 for the number of inputs II, V F for the frame type, and L for the frame line type. , Partition line type II
, T 2 representing the input unit type, V 2 representing the input unit type II, the input unit size
It is S 2 representing II.

【0068】そして、枠単位が行で、仕切り線のない場
合に設定される変数は、上記の仕切り線種IIを表すT2
が設定されない他、仕切り線のある場合に設定される変
数と同じである。
The variable set when the frame unit is a line and there is no partition line is T 2 representing the partition line type II.
Is not set and is the same as the variable set when there is a partition line.

【0069】さらに、枠単位が指定範囲で、縦・横の仕
切り線のある場合に設定される変数は、枠単位を表す
U、入力数Iを表すA1 、入力数IIを表すA2 、枠種を
表すVF 、枠線種を表すL、仕切り線種Iを表すT1
仕切り線種IIを表すT2 、入力単位種IIを表すV2 、入
力単位種Iを表すV1 、入力単位種IIを表すV2 、入力
単位サイズIを表すS1 、入力単位サイズIIを表すS2
である。
Further, when the frame unit is in the specified range and there are vertical and horizontal partition lines, the variables set are U representing the frame unit, A 1 representing the number of inputs I, A 2 representing the number of inputs II, V F representing the frame type, L representing the frame line type, T 1 representing the partition line type I,
T 2 representing the partition line type II, V 2 representing the input unit type II, V 1 representing the input unit type I, V 2 representing the input unit type II, S 1 representing the input unit size I, and the input unit size II. Represents S 2
Is.

【0070】また、枠単位が指定範囲で、横の仕切り線
のある場合に設定される変数は、上記の仕切り線種Iを
表すT1 が設定されない他、縦・横の仕切り線のある場
合に設定される変数と同じである。
When the frame unit is in the specified range and there is a horizontal partition line, the variable set when T 1 representing the partition line type I is not set, and when there are vertical and horizontal partition lines. It is the same as the variable set to.

【0071】また、枠単位が指定範囲で、仕切り線のな
い場合に設定される変数は、上記の仕切り線種Iを表す
1 および仕切り線種IIを表すT2 が設定されない他、
縦・横の仕切り線のある場合に設定される変数と同じで
ある。
The variables set when the frame unit is in the specified range and there is no partition line are not set to T 1 representing the partition line type I and T 2 representing the partition line type II described above.
It is the same as the variable that is set when there are vertical and horizontal partition lines.

【0072】さらに、上記状態変数テーブル9の更新お
よび変数テーブル10の作成は、図1に示す記入枠用空
欄設定手段8に設けられた状態変数変更手段17、変数
テーブル作成手段18、状態変数テーブル更新手段19
によって行われる。
Further, the state variable table 9 is updated and the variable table 10 is created by changing the state variable changing means 17, the variable table creating means 18, and the state variable table provided in the blank entry space setting means 8 shown in FIG. Update means 19
Done by

【0073】状態変数変更手段17は、状態変数テーブ
ル9に保持された変数の内容、例えば文書中に設定され
る記入枠用空欄のサイズ等の状態を表す変数を、必要に
応じて変更する手段である。この状態変数の変更は、実
際に表示画面上で、後述する枠書式入力ウィンドウ等に
各枠単位に応じて表示されている選択項目を選択するこ
とで行うことができる。
The state variable changing means 17 changes the contents of the variables held in the state variable table 9, for example, the variables indicating the state such as the size of the blank space for the entry frame set in the document, as necessary. Is. This change of the state variable can be performed by actually selecting a selection item displayed according to each frame unit in a frame format input window or the like described later on the display screen.

【0074】変数テーブル作成手段18は、記入枠用空
欄の作成に関わる変数を記憶する変数テーブルを、状態
変数テーブル9の内容を参照して、文書中に設定される
記入枠用空欄毎に作成する手段である。
The variable table creating means 18 creates a variable table for storing variables relating to the creation of the blanks for the entry frames, with reference to the contents of the state variable table 9, for each of the blanks for the entry frames set in the document. Is a means to do.

【0075】状態変数テーブル更新手段19は、上記変
数テーブル作成手段18によって作成された変数テーブ
ル10に記憶された変数の、直前に設定された内容を状
態変数テーブル9に保持する手段である。
The state variable table updating means 19 is a means for holding, in the state variable table 9, the contents of the variables stored in the variable table 10 created by the variable table creating means 18 and set immediately before.

【0076】ここで、上記文字記入枠設定手段12、行
記入枠設定手段13、指定範囲記入枠設定手段14によ
って設定される記入枠用空欄について以下に説明する。
Now, the blanks for entry frames set by the character entry frame setting means 12, the line entry frame setting means 13, and the designated range entry frame setting means 14 will be described below.

【0077】先ず、文字記入枠設定手段12では、図1
0(a)に示すように、記入領域31と、この記入領域
31を囲む枠33と、記入領域31と枠33との間の縁
領域32とで構成された記入文字間に仕切り線の無い記
入枠用空欄30が設定できると共に、図10(b)に示
すように、記入文字数分の記入領域41…と、記入領域
41…を囲む枠43と、それぞれの記入領域41…を仕
切る仕切り線44…と、それぞれの記入領域41…の外
側に配設され、枠43と仕切り線44…とで囲まれた縁
領域42…とで構成された記入文字間に仕切り線の有る
記入枠用空欄40が設定できる。
First, in the character entry frame setting means 12, as shown in FIG.
As shown in FIG. 0 (a), there is no partition line between the written characters composed of the writing area 31, the frame 33 surrounding the writing area 31, and the edge area 32 between the writing area 31 and the frame 33. A blank space 30 for the entry frame can be set, and as shown in FIG. 10B, the entry areas 41 for the number of characters to be entered, a frame 43 surrounding the entry area 41, and a partition line for partitioning the respective entry areas 41. 44, and a blank space for a writing frame having a dividing line between the writing characters, which is arranged outside each writing region 41, and is composed of a frame 43 and an edge region 42 surrounded by a dividing line 44. 40 can be set.

【0078】仕切り線の無い記入枠用空欄30では、例
えば図11に示すように、手書きすべき文字数が4であ
る場合、記入領域31は記入文字数分の4つの領域31
a…に分割されている。この記入枠用空欄30には、枠
33の外側に、所定の幅で、外縁34が設定されてい
る。したがって、記入枠用空欄30が文書中に設定され
る場合には、外縁34を含めて設定される。また、記入
枠用空欄30内では、手書きすべき文字同士が重ならな
いように、記入領域31の文字に対応する領域31a同
士も所定の間隔で配置されるようになっている。
In the blank 30 for the entry frame having no partition line, for example, as shown in FIG. 11, when the number of characters to be handwritten is 4, the entry area 31 is four areas 31 corresponding to the number of entry characters.
It is divided into a ... An outer edge 34 having a predetermined width is set outside the frame 33 in the blank space 30 for the entry frame. Therefore, when the blank space 30 for entry frame is set in the document, it is set including the outer edge 34. Further, in the blank space 30 for the entry frame, areas 31a corresponding to the characters in the entry area 31 are also arranged at a predetermined interval so that the characters to be handwritten do not overlap each other.

【0079】図11において、Hは外縁34の縦幅、W
は外縁34の横幅である。また、外縁34と枠33との
間には遊び幅が設定されており、Eh は縦方向遊び幅、
wは横方向遊び幅である。さらに、枠33と記入領域
31aの外縁との間隔に所定の幅が設定されており、F
h は縁領域縦幅、Fw は縁領域横幅である。また、上記
のFw は、記入領域31a同士の間隔の幅でもある。S
1 ・S2 は、入力単位サイズI・IIを示すものであり、
この場合、枠単位が文字であるので、上記S1を入力文
字横サイズ、S2 を入力文字縦サイズとする。
In FIG. 11, H is the vertical width of the outer edge 34, and W is
Is the lateral width of the outer edge 34. A play width is set between the outer edge 34 and the frame 33, and E h is a play width in the vertical direction,
E w is the lateral play width. Further, a predetermined width is set in the interval between the frame 33 and the outer edge of the writing area 31a, and F
h is the edge area vertical width, and Fw is the edge area horizontal width. Further, the above F w is also the width of the space between the writing areas 31a. S
1 and S 2 indicate input unit sizes I and II,
In this case, since the frame unit is a character, the above S 1 is the input character horizontal size and S 2 is the input character vertical size.

【0080】また、仕切り線の有る記入枠用空欄40
は、例えば図12に示すように、手書きすべき文字数が
4である場合、記入領域41が仕切り線44…によって
4つに分割されている。この記入枠用空欄40には、枠
43の外側に、所定の幅で、外縁45が設定されてお
り、記入枠用空欄40が文書中に設定される場合には、
外縁45を含めて設定されるようになっている。
In addition, a blank space 40 for an entry frame having a partition line
For example, as shown in FIG. 12, when the number of characters to be handwritten is 4, the entry area 41 is divided into 4 by partition lines 44. In the blank 40 for entry frame, an outer edge 45 is set outside the frame 43 with a predetermined width. When the blank 40 for entry frame is set in a document,
The outer edge 45 is included in the setting.

【0081】図12において、Hは外縁45の縦幅、W
は外縁45の横幅である。また、外縁45と枠43との
間には遊び幅が設定されており、Eh は縦方向遊び幅、
wは横方向遊び幅である。さらに、枠43と記入領域
41の外縁との間隔に所定の幅が設定されており、Fh
は縁領域縦幅、Fw は縁領域横幅である。また、上記の
w は、仕切り線44で仕切られた領域内の仕切り線4
4あるいは枠43と一つの記入領域41aとの間隔の幅
でもある。S1 ・S2 は、入力単位サイズI・IIを示す
ものであり、この場合、枠単位が文字であるので、上記
1 を入力文字横サイズ、S2 を入力文字縦サイズとす
る。
In FIG. 12, H is the vertical width of the outer edge 45, and W is
Is the lateral width of the outer edge 45. A play width is set between the outer edge 45 and the frame 43, and E h is a play width in the vertical direction,
E w is the lateral play width. Furthermore, a predetermined width is set in the interval between the frame 43 and the outer edge of the writing area 41, and F h
Is the edge region vertical width, and F w is the edge region horizontal width. Further, the above F w is the partition line 4 in the area partitioned by the partition line 44.
4 or the width of the space between the frame 43 and one writing area 41a. S 1 and S 2 indicate input unit sizes I and II. In this case, since the frame unit is a character, the above S 1 is the input character horizontal size and S 2 is the input character vertical size.

【0082】尚、上記S1 ・S2 の値は、図2に示す変
数テーブル10に保持された値であり、上記HおよびW
は、記入枠用空欄30・40の大きさにより変化する値
であり、Eh 、Ew 、Fh 、Fw は、図4に示す定数テ
ーブル11に予め設定された定数である。
The values of S 1 and S 2 are values held in the variable table 10 shown in FIG.
Is a value that changes depending on the size of the blank boxes 30 and 40, and E h , E w , F h , and F w are constants preset in the constant table 11 shown in FIG.

【0083】ところで、上記記入枠用空欄30・40を
文書中に設定する場合、これら記入枠用空欄を設定すべ
き枠領域での書式によって予め設定された文字数Nを求
める必要がある。つまり、文字数Nを求めることで、こ
の文字数N分に相当する横幅を有する記入枠用空欄を設
定することができる。尚、この枠領域中の文字数Nによ
って設定されるのは、記入枠用空欄の横幅に相当する大
きさであり、記入枠用空欄を文書中に設定するには、こ
の文字数Nの他に、外縁34・外縁45の横幅W、縦幅
Hを求める必要がある。
By the way, when setting the above-mentioned entry frame blanks 30 and 40 in a document, it is necessary to obtain the number of characters N preset by the format in the frame region in which these entry frame blanks are to be set. That is, by determining the number of characters N, it is possible to set a blank space for an entry frame having a width corresponding to the number of characters N. Note that the number of characters N in this frame area is set to a size corresponding to the width of the blank for the entry frame. To set the blank for the entry frame in the document, in addition to this number of characters N, It is necessary to obtain the horizontal width W and the vertical width H of the outer edges 34 and 45.

【0084】そこで、仕切り線の無い記入枠用空欄30
の場合では、記入枠用空欄の設定のために必要な横幅
W、縦幅H、及び記入枠用空欄の横幅に相当する文字数
Nを、以下の式(1)〜(3)を用いて算出するように
なっている。
Therefore, the blank space 30 for the entry frame having no partition line
In the case of, the width W, the vertical width H, and the number of characters N corresponding to the width of the blank space for the entry frame required for setting the blank space for the entry frame are calculated using the following formulas (1) to (3). It is supposed to do.

【0085】 W=Ew +Fw +(S1 +Fw )・A1 +Ew =2Ew +(A1 +1)・Fw +A1 ・S1 ・・・・・・・・(1) H=Eh +Fh +S2 +Fh +Eh =2Eh +2Fh +S2 ・・・・・・・・(2) N=[W/P]+1 ・・・・・・・・(3) 但し、上記A1 は、記入文字数を示し、Pはワープロ上
の文字等のキャラクタピッチを示す。このキャラクタピ
ッチは、文書の書式設定における文字間隔である。
W = E w + F w + (S 1 + F w ) · A 1 + E w = 2 E w + (A 1 +1) · F w + A 1 · S 1 ... (1) H = E h + F h + S 2 + F h + E h = 2E h + 2F h + S 2 ········ (2) N = [W / P] +1 ········ (3) However, The above A 1 indicates the number of characters to be entered, and P indicates the character pitch of characters on a word processor. This character pitch is the character spacing in document formatting.

【0086】また、式(3)において、記号[]
は、[]の内の数を越えない最大の整数を示す。上
記[]のW/Pは、記入枠用空欄30の設定のために必
要とする横幅Wが、設定される記入枠用空欄30に対応
する編集枠中で何文字分を占めるかを表している。
In the equation (3), the symbol []
Indicates the maximum integer that does not exceed the number in []. The W / P in the above [] indicates how many characters the horizontal width W required for setting the blank box 30 for the input frame occupies in the edit frame corresponding to the blank column 30 for the input frame to be set. There is.

【0087】また、文書の文字間隔の設定値によって
は、この記入枠用空欄30に隣接する文字と記入枠用空
欄30とが近接してしまい、この記入枠用空欄30と隣
接する文字との境界領域における文字が不鮮明になる虞
があるので、式(3)において、[]の内で得られた整
数に1を加えて、記入枠用空欄とこの空欄に隣接する文
字との境界領域を拡げることで、この境界領域で文字が
不鮮明になることを防止している。
Further, depending on the set value of the character spacing of the document, the character adjacent to the blank space 30 for entry frame and the blank space 30 for entry frame are close to each other, and the character adjacent to the blank space 30 for entry frame may be adjacent to each other. Since the characters in the boundary area may become unclear, in Expression (3), 1 is added to the integer obtained in [] to define the boundary area between the blank for the entry frame and the character adjacent to this blank. The widening prevents characters from being blurred in this border area.

【0088】また、仕切り線のある記入枠用空欄40の
場合では、記入枠用空欄の設定のために必要な横幅W、
縦幅H、及び記入枠用空欄の横幅に相当する文字数N
を、上記の式(2)・(3)および以下の式(4)を用
いて算出するようになっている。
Further, in the case of the entry frame blank 40 having a partition line, the width W required for setting the entry frame blank,
Vertical width H, and the number of characters N corresponding to the horizontal width of the blank for the entry frame
Is calculated using the above equations (2) and (3) and the following equation (4).

【0089】 W=Ew +(Fw +S1 +Fw )・A1 +Ew =2Ew +A1 ・(S1 +2Fw ) ・・・・・・・・・・・(4) このようにして算出されたH・W・Nに基づいて、記入
枠用空欄30・40が文書中に設定される。
W = E w + (F w + S 1 + F w ) · A 1 + E w = 2E w + A 1 · (S 1 +2 F w ) ..... (4) Blank boxes 30 and 40 for the entry frame are set in the document based on the calculated H, W, and N.

【0090】次に、行記入枠設定手段13では、図13
に示すように、枠51と、この枠51内の行数に応じて
設定される横仕切り線52…と、この横仕切り線52間
の記入領域である行内領域53…とで構成された記入枠
用空欄50が設定できる。尚、行記入枠設定手段13に
よって設定できる記入枠用空欄の仕切り線の有無は、文
書編集画面上において、横方向の仕切り線の有無のこと
である。したがって、図13に示す記入枠用空欄50
は、仕切り線有りのものである。
Next, in the line entry frame setting means 13, FIG.
As shown in FIG. 5, an entry composed of a frame 51, horizontal partition lines 52 set according to the number of lines in the frame 51, and an in-line region 53 which is a writing region between the horizontal partition lines 52. The frame blank 50 can be set. The presence / absence of a partition line in the blank space for the entry frame that can be set by the line entry frame setting means 13 is the presence / absence of a partition line in the horizontal direction on the document edit screen. Therefore, the blank space 50 for the entry frame shown in FIG.
Has a partition line.

【0091】上記記入枠用空欄50は、例えば図14に
示すように、枠51内に仕切り線52で仕切られて設け
られた行内領域53…を有している。この行内領域53
は、文字記入領域53aとこの文字記入領域53aを囲
む縁部53bとで形成されている。この記入枠用空欄5
0には、枠51の外側に、所定の幅で、外縁54が設定
されている。したがって、記入枠用空欄50が文書中に
設定される場合には、外縁54を含めて設定されるよう
になっている。
The blank 50 for the entry frame has, for example, as shown in FIG. 14, an in-line area 53 ... Partitioned by a partition line 52 in the frame 51. This in-line area 53
Is formed by a character writing area 53a and an edge portion 53b surrounding the character writing area 53a. Blank 5 for this entry frame
At 0, an outer edge 54 is set outside the frame 51 with a predetermined width. Therefore, when the blank space 50 for the entry frame is set in the document, it is set including the outer edge 54.

【0092】図14において、Hは外縁54の縦幅、W
は外縁54の横幅である。また、外縁54と枠51との
間には遊び幅が設定されており、Eh は縦方向遊び幅、
wは横方向遊び幅である。さらに、縁領域51と記入
領域53aの外縁との間隔に所定の幅が設定されてお
り、Fh は縁領域縦幅、Fw は縁領域横幅である。ま
た、S2 は、入力単位サイズIIを示すものであり、この
場合、枠単位が行であるので、上記S2 を入力行サイズ
とする。
In FIG. 14, H is the vertical width of the outer edge 54, and W is
Is the lateral width of the outer edge 54. A play width is set between the outer edge 54 and the frame 51, and E h is a play width in the vertical direction,
E w is the lateral play width. Further, a predetermined width is set for the interval between the edge area 51 and the outer edge of the writing area 53a, F h is the edge area vertical width, and F w is the edge area horizontal width. Further, S 2 indicates the input unit size II. In this case, since the frame unit is a line, S 2 is set as the input line size.

【0093】尚、上記S2 の値は、図2に示す変数テー
ブル10に保持された値であり、上記HおよびWは、記
入枠用空欄50の大きさにより変化する値であり、
h 、Ew 、Fh 、Fw は、図4に示す定数テーブル1
1に予め設定された定数である。
The value of S 2 is a value held in the variable table 10 shown in FIG. 2, and the values of H and W are values that change depending on the size of the blank space 50 for the entry frame.
E h , E w , F h , and F w are constant tables 1 shown in FIG.
It is a constant preset to 1.

【0094】ところで、上記記入枠用空欄50を文書中
に設定する場合、枠単位が行であるので、記入枠用空欄
50を設定すべき枠領域での書式によって予め設定され
ている行数Mを求める必要がある。つまり、行数Mを求
めることで、この行数M分に相当する縦幅の記入枠用空
欄50を設定するようになっている。尚、この枠領域中
の行数Mによって設定されるのは、記入枠用空欄50の
縦幅に相当する大きさであり、記入枠用空欄を設定する
には、この行数Mの他に、記入枠用空欄50の設定のた
めに必要な外縁54の横幅W、縦幅Hを求める必要があ
る。
By the way, when setting the blank 50 for the entry frame in the document, since the frame unit is a line, the number of lines M set in advance by the format in the frame area in which the blank 50 for the entry frame should be set. Need to ask. That is, by obtaining the number M of lines, the blank space 50 for the entry frame having a vertical width corresponding to the number M of lines is set. Note that the number of lines M in this frame area is set to a size corresponding to the vertical width of the entry frame blank 50. To set the entry frame blank, in addition to this number M of lines, It is necessary to obtain the horizontal width W and the vertical width H of the outer edge 54 necessary for setting the blank space 50 for the entry frame.

【0095】そこで、上記記入枠用空欄50のために必
要な横幅W、縦幅H、及び記入枠用空欄の縦幅に相当す
る行数Mを、以下の式(5)〜(7)を用いて算出する
ようになっている。
Therefore, the horizontal width W, the vertical width H, and the number of lines M corresponding to the vertical width of the blank space for the entry frame are calculated by the following equations (5) to (7). It is designed to be calculated by using it.

【0096】 W=K ・・・・・・・・(5) H=Eh +(Fh +S2 +Fh )・A2 +Eh =2Eh +A2 ・(S2 +2Fh ) ・・・・・・・・(6) M=[W/C]+1 ・・・・・・・・(7) 但し、上記Kは、予め書式設定された1行に含まれる文
字数を表し、上記A2は、記入行数を示し、Cはワープ
ロ上の1行分の改行ピッチを示す。この改行ピッチは、
書式設定における行間隔と考えてよい。
[0096] W = K ········ (5) H = E h + (F h + S 2 + F h) · A 2 + E h = 2E h + A 2 · (S 2 + 2F h) ··· (6) M = [W / C] +1 (7) However, the above K represents the number of characters included in one line formatted in advance, and the above A 2 Indicates the number of lines to be entered, and C indicates the line feed pitch for one line on the word processor. This line feed pitch is
Think of it as line spacing in formatting.

【0097】また、式(7)において、記号[]
は、[]の内の数を越えない最大の整数を示す。[]の
W/Cは、記入枠用空欄の設定ために必要とする横幅
が、設定される記入枠用空欄に対応する編集枠中で何行
分を占めるかを表している。
In the equation (7), the symbol []
Indicates the maximum integer that does not exceed the number in []. The W / C in [] indicates how many lines the horizontal width required for setting the blank for the entry frame occupies in the edit frame corresponding to the blank for the entry frame to be set.

【0098】また、文書の行間隔の設定値によっては、
この記入枠用空欄に隣接する行と記入枠用空欄とが近接
してしまい、この記入枠用空欄とこの空欄に隣接する行
との境界領域における文字が不鮮明になる虞があるの
で、式(7)において、[]の内で得られた整数に1を
加えて、記入枠用空欄とこの空欄に隣接する行との境界
領域における文字が不鮮明になることを防止している。
Also, depending on the set value of the line spacing of the document,
Since the line adjacent to the blank for the entry frame and the blank for the entry frame are close to each other, the characters in the boundary region between the blank for the entry frame and the line adjacent to the blank may become unclear, so the expression ( In 7), 1 is added to the integer obtained in [] to prevent the character in the boundary area between the blank for the entry frame and the line adjacent to this blank from becoming unclear.

【0099】尚、枠単位が行で、仕切り線の無い記入枠
用空欄50の場合では、図示しないが、図14におい
て、仕切り線52とその両側にある縁領域縦幅Fh のう
ち一つが無くなるものとして考えられる。よって、記入
枠用空欄の設定のために必要な横幅W、縦幅H、及び記
入枠用空欄の縦幅に相当する行数Mを、上記の式(5)
・(7)および以下の式(8)を用いて算出するように
なっている。
In the case where the frame unit is a line and there is a blank space 50 for entry frames without partition lines, although not shown, in FIG. 14, one of the partition lines 52 and the edge region vertical widths F h on both sides of the partition lines 52 is used. Think of it as disappearing. Therefore, the horizontal width W, the vertical width H, and the number of lines M corresponding to the vertical width of the blank space for the entry frame, which are necessary for setting the blank space for the entry frame, are calculated by the above equation (5).
It is designed to be calculated using (7) and the following equation (8).

【0100】 H=Eh +Fh +(Fh +S2 )・A2 +Eh =2Eh +(A2 +1)・Fh +S2 ・A2 ・・・・・・・・(8) このようにして算出されたH・W・Mに基づいて、仕切
り線の有る記入枠用空欄50および仕切り線の無い記入
枠用空欄が文書中に設定される。
H = E h + F h + (F h + S 2 ) · A 2 + E h = 2 E h + (A 2 +1) · F h + S 2 · A 2 ... (8) Based on the calculated values of H, W, and M, the blank space 50 for the entry frame having the partition line and the blank space for the entry frame having no partition line are set in the document.

【0101】最後に、指定範囲記入枠設定手段14で
は、記入文字間の仕切り線(縦仕切り線)の無い記入枠
用空欄は、上記行記入枠設定手段13と同様に、図13
および図14に示す記入枠用空欄50として設定でき
る。
Finally, in the designated range entry frame setting means 14, the blank space for entry frames having no partition line (vertical partition line) between the entered characters is similar to the line entry frame setting means 13 shown in FIG.
And it can be set as a blank space 50 for the entry frame shown in FIG.

【0102】また、記入文字間に仕切り線(縦仕切り
線)の有る場合には、図15および図16に示すよう
に、枠61と、この枠61内に行数に応じて設定される
横仕切り線62…と、この横仕切り線62に直交し、文
字間を仕切る縦仕切り線63…と、上記横仕切り線62
と縦仕切り線63とで囲まれた記入領域64…とで構成
された記入枠用空欄60が設定できる。
When there is a partition line (vertical partition line) between the written characters, as shown in FIGS. 15 and 16, a frame 61 and a horizontal line set in the frame 61 in accordance with the number of lines. Partition lines 62 ..., Vertical partition lines 63 that are orthogonal to the horizontal partition line 62 and partition between characters, and the horizontal partition line 62.
It is possible to set a blank space 60 for a writing frame which is composed of a writing area 64 surrounded by a vertical partition line 63.

【0103】ここでは、縦仕切り線の有る上記記入枠用
空欄60について説明する。記入枠用空欄60の記入領
域64は、例えば図16に示すように、手書きすべき文
字サイズに応じて設定された文字記入領域64aと外縁
部64bとで構成されている。この記入枠用空欄60に
は、枠61の外側に、所定の幅で、外縁66が設定され
ており、記入枠用空欄60が文書中に設定される場合に
は、外縁66を含めて設定されるようになっている。
Here, the blank 60 for the entry frame having a vertical partition line will be described. The entry area 64 of the entry box blank 60 is composed of a character entry area 64a and an outer edge portion 64b set according to the character size to be handwritten, as shown in FIG. 16, for example. An outer edge 66 having a predetermined width is set outside the frame 61 in the blank space 60 for entry frame. When the blank space 60 for entry frame is set in a document, the outer border 66 is included. It is supposed to be done.

【0104】図16において、Hは外枠65の縦幅、W
は外枠65の横幅である。また、外枠65と枠61との
間には遊び幅が設定されており、Eh は縦方向遊び幅、
wは横方向遊び幅である。さらに、記入領域64内に
おいて、文字記入領域64aは、枠61および縦仕切り
線63・横仕切り線62から所定の距離(縁領域幅)だ
け離れて設定されている。図中のFh は縁領域縦幅、F
w は縁領域横幅である。また、S1 ・S2 は、入力単位
サイズI・IIを示すものであり、この場合、枠単位が指
定範囲であるので、上記S1 を入力文字横サイズ、S2
を入力文字縦サイズとする。
In FIG. 16, H is the vertical width of the outer frame 65, and W is
Is the width of the outer frame 65. A play width is set between the outer frame 65 and the frame 61, and E h is a play width in the vertical direction,
E w is the lateral play width. Further, in the writing area 64, the character writing area 64a is set apart from the frame 61 and the vertical partition lines 63 / horizontal partition lines 62 by a predetermined distance (edge area width). F h in the figure is the edge region vertical width, F
w is the width of the edge area. Further, S 1 and S 2 indicate the input unit sizes I and II. In this case, since the frame unit is the specified range, the above S 1 is the input character horizontal size, S 2
Is the input character vertical size.

【0105】尚、上記S1 ・S2 の値は、図2に示す変
数テーブル10に保持された値であり、上記HおよびW
は、記入枠用空欄60の大きさにより変化する値であ
り、Eh 、Ew 、Fh 、Fw は、図4に示す定数テーブ
ル11に予め設定された定数である。
The values of S 1 and S 2 are values held in the variable table 10 shown in FIG.
Is a value that varies depending on the size of the blank space 60 for the entry frame, and E h , E w , F h , and F w are constants preset in the constant table 11 shown in FIG.

【0106】ところで、上記記入枠用空欄60を文書中
に設定する場合、枠単位が指定範囲であるので、記入枠
用空欄60を設定すべき枠領域での書式によって予め設
定されている文字数Nおよび行数Mを求める必要があ
る。つまり、文字数Nおよび行数Mを求めることで、こ
の文字数Nおよび行数M分に相当する大きさの縦幅およ
び横幅の記入枠用空欄を設定するようになっている。
尚、この枠領域中の文字数Nおよび行数Mによって設定
されるのは、記入枠用空欄60の縦・横幅に相当する大
きさであり、記入枠用空欄60を設定するには、この文
字数Nおよび行数Mの他に、記入枠用空欄の設定のため
に必要な外縁66の横幅W、縦幅Hを求める必要があ
る。
By the way, when setting the blank space 60 for the entry frame in the document, since the frame unit is the specified range, the number of characters N preset by the format in the frame area in which the blank space 60 for the entry frame is to be set is set. And the number of rows M must be determined. That is, by obtaining the number of characters N and the number of lines M, a blank space for the entry frame having a vertical width and a width corresponding to the number of characters N and the number of lines M is set.
It should be noted that the number of characters N and the number of lines M in this frame area are set to a size corresponding to the vertical and horizontal widths of the blank space 60 for the input frame. In addition to N and the number of lines M, it is necessary to obtain the horizontal width W and the vertical width H of the outer edge 66 necessary for setting the blank space for the entry frame.

【0107】そこで、縦仕切り線の有る記入枠用空欄6
0の場合では、記入枠用空欄の設定のために必要な横幅
W、縦幅H、及び記入枠用空欄の横幅に相当する文字数
Nおよび縦幅に相当する行数Mを、上記式(3)・
(7)および、以下の式(9)・(10)を用いて算出
するようになっている。
Therefore, the blank space 6 for the entry frame having the vertical partition line
In the case of 0, the horizontal width W, the vertical width H, and the number N of characters corresponding to the horizontal width of the blank space for the entry frame and the number M of lines corresponding to the vertical width, which are necessary for setting the blank space for the input frame, are given by the above formula (3 ) ・
(7) and the following equations (9) and (10) are used for the calculation.

【0108】 W=Ew +(Fw +S1 +Fw )・A1 +Ew =2Ew +A1 ・(S1 ・2Fw ) ・・・・・・・・(9) H=Eh +(Fh +S2 +Fh )・A2 +Eh =2Eh +A2 ・(S2 +2Fh ) ・・・・・・・・(10) 但し、上記A1 は記入枠用空欄60内の1行あたりの記
入文字数、A2 は記入行数を示す。
[0108] W = E w + (F w + S 1 + F w) · A 1 + E w = 2E w + A 1 · (S 1 · 2F w) ········ (9) H = E h + (F h + S 2 + F h) · a 2 + E h = 2E h + a 2 · (S 2 + 2F h) ········ (10) where 1 of the a 1 is input frames for blanks 60 The number of characters to be entered per line, A 2 is the number of lines to be entered.

【0109】また、枠単位が指定範囲の場合、前述した
ように、記入文字間の仕切り線の無い記入枠用空欄は、
上記行記入枠設定手段13と同様に、図13および図1
4に示す記入枠用空欄50として設定できる。しかしな
がら、同じ記入枠用空欄50であっても、枠設定手段に
よって記入枠用空欄50の横幅が変わる。
When the frame unit is within the specified range, as described above, the blank space for the entry frame without the partition line between the entry characters is
Similar to the line entry frame setting means 13 shown in FIG. 13 and FIG.
4 can be set as a blank space 50 for the entry frame. However, even with the same blank space 50 for entry frames, the horizontal width of the blank space 50 for entry frames varies depending on the frame setting means.

【0110】即ち、記入枠用空欄50が行記入枠設定手
段13によって設定される場合、図13および図14に
示す記入枠用空欄50の横幅Wは、編集枠内の1行中に
おける文字数に相当するので、可変とならず書式設定に
より固定されたものである。
That is, when the blank space 50 for entry frame is set by the line entry frame setting means 13, the width W of the blank space 50 for entry frame shown in FIGS. 13 and 14 is equal to the number of characters in one line in the editing frame. Since it is equivalent, it is not variable but fixed by formatting.

【0111】一方、記入枠用空欄が指定範囲記入枠設定
手段14によって設定される場合、記入枠用空欄50の
横幅Wは、記入枠用空欄50内での1行あたりに手書き
する文字数A1 で設定されるので、可変である。
On the other hand, when the blank space for entry frame is set by the designated range entry frame setting means 14, the width W of the blank space for entry frame 50 is the number of characters A 1 handwritten per line in the blank space for entry frame 50. It is variable because it is set by.

【0112】したがって、指定範囲記入枠設定手段14
によって、縦仕切り線の無い記入枠用空欄50を設定す
るには、上記の式(3)・(7)・(10)の他に、以
下の横幅Wを求めるための式(11)が必要となる。
Therefore, the designated range entry frame setting means 14
Therefore, in order to set the blank space 50 for the entry frame having no vertical partition line, in addition to the above equations (3), (7) and (10), the following equation (11) for obtaining the lateral width W is required. Becomes

【0113】 W=Ew +Fw +(S1 +Fw )・A1 +Ew =2Ew +(A1 +1)・Fw +A1 ・S1 ・・・・・・・・(11) このようにして算出されたH・W・N・Mに基づいて、
記入枠用空欄60・50が文書中に設定される。
W = E w + F w + (S 1 + F w ) · A 1 + E w = 2 E w + (A 1 +1) · F w + A 1 · S 1 ... (11) This Based on H, W, N, M calculated in this way,
Blank boxes 60 and 50 for entry frames are set in the document.

【0114】また、枠単位が指定範囲のときの縦仕切り
線および横仕切り線の無い記入枠用空欄の設定では、記
入枠用空欄の設定に必要な縦幅および横幅が可変である
ので、縦幅については、枠単位が行の場合に適用される
上記の式(8)が適用でき、横幅については、枠単位が
指定範囲の場合に適用される上記の式(11)が適用で
きる。以上の2式から算出されたH・W・N・Mに基づ
いて、縦および横の仕切り線の無い記入枠用空欄を設定
することができる。
Further, in the setting of the blank space for the entry frame without the vertical partition line and the horizontal partition line when the frame unit is within the specified range, the vertical width and the horizontal width required for setting the blank space for the entry frame are variable, For the width, the above formula (8) applied when the frame unit is a line can be applied, and for the width, the above formula (11) applied when the frame unit is a specified range can be applied. Based on H, W, N, and M calculated from the above two equations, it is possible to set blank columns for entry frames without vertical and horizontal partition lines.

【0115】ところで、上記文字記入枠設定手段12で
記入枠用空欄を設定するとき、記入枠用空欄が設定しよ
うとする行の行末を越える場合が考えられる。
By the way, when setting the blank space for the entry frame by the character entry frame setting means 12, the blank space for the entry frame may exceed the end of the line to be set.

【0116】そこで、記入枠用空欄設定手段8には、図
1に示すように、上記文字記入枠設定手段12によって
文書中に設定された記入枠用空欄が行末を越える場合、
必要に応じて、改行した行、あるいは当該行を含む2行
に分けて該記入枠用空欄を設定する行末処理付加手段1
5が設けられている。
Therefore, as shown in FIG. 1, when the blank space for the entry frame set in the document by the above-mentioned character entry frame setting means 12 exceeds the end of the line,
Line end processing addition means 1 for setting a blank line for the entry frame by dividing the line into a new line or two lines including the line as needed.
5 are provided.

【0117】行末処理付加手段15では、以下の式(1
2)を用いて文書の行中に設定する記入枠用空欄が行末
を越えるか否かを判定して、その後の処理を判定結果に
基づいて行うようになっている。ここで、Kは1行分の
文字数、K1 は編集枠の左端から記入枠用空欄を作成し
ようとする位置の直前までの文字数、Nは記入枠用空欄
の作成に必要な文字数を表す。
In the line end processing adding means 15, the following expression (1
By using 2), it is determined whether the blank space for the entry frame set in the line of the document exceeds the end of the line, and the subsequent processing is performed based on the determination result. Here, K represents the number of characters for one line, K 1 represents the number of characters from the left end of the editing frame to the position immediately before the position where the blank for the entry frame is to be created, and N represents the number of characters required for creating the blank for the entry frame.

【0118】 K<K1 +N ・・・・・・・・(12) したがって、上記行末処理付加手段15は、上記式(1
2)の関係が成り立つ場合、記入枠用空欄は行末を越え
ると判定する。このとき、改行して記入枠用空欄を設定
するか、改行しないで2行に分けて記入枠用空欄を設定
するかが考えられる。改行しないで2行に分けて記入枠
用空欄を設定する場合、左側からK−K1 文字分だけ当
初設定予定の行に記入枠用空欄を作成し、記入枠用空欄
の残りを次の行に作成すれば良い。また、改行して記入
枠用空欄を設定する場合には、上記式(12)の関係が
成り立つ時、自動的に改行して次の行に記入枠用空欄を
作成するようにしても良い。
K <K 1 + N (12) Therefore, the line end processing adding unit 15 is configured as in the above formula (1).
When the relationship of 2) is established, it is determined that the blank space for the entry frame exceeds the end of the line. At this time, it is possible to set a blank line for entry frame by setting a line feed, or to set a blank line for entry frame by dividing into two lines without line feed. If you want to set a blank space for the entry frame by dividing it into two lines without breaking the line, create a blank space for the entry frame in the line that is originally planned to be set for the first character K-K from the left side, and leave the rest of the blank space for the entry frame on the next line. You can create it. Further, when setting a blank line for the entry frame by setting a line feed, a blank line for the entry frame may be automatically created on the next line when the relation of the above formula (12) is established.

【0119】さらに、式(12)の関係が成り立つ場
合、表示装置3において、設定しようとする記入枠用空
欄が行末を越える旨を使用者に知らせるようにし、使用
者が改行するか否かを判定するようにしても良い。
Further, when the relation of the expression (12) is established, the display device 3 is made to notify the user that the blank space for the entry frame to be set exceeds the end of the line, and whether the user makes a line break or not. It may be determined.

【0120】このように、上記の文字記入枠設定手段1
2にて設定される記入枠用空欄は、上記行末処理付加手
段15によって行末の処理が行える。しかしながら、こ
の記入枠用空欄は、行末を越えない場合であっても、行
上に作成されることから、書式設定における行間隔を狭
くしている場合には、上下に存在する行に重なる虞があ
る。この場合には、記入枠用空欄の縦幅と行間隔との関
係を明確にして、この関係から記入枠用空欄と行とが重
ならないように調整する必要がある。本発明では、この
調整手段として、記入枠用空欄設定手段8には、改行ピ
ッチ調整手段20が設けられている。
As described above, the above character entry frame setting means 1
The blank for the entry frame set in 2 can be processed at the end of the line by the line end processing addition means 15. However, since the blank space for this entry frame is created on the line even if it does not extend beyond the end of the line, it may overlap the lines above and below when the line spacing in the format setting is narrowed. There is. In this case, it is necessary to clarify the relationship between the vertical width of the blanks for entry frames and the line spacing, and adjust from this relationship so that the blanks for entry frames and the rows do not overlap. In the present invention, as the adjusting means, the blank space setting means 8 for entry frame is provided with the line feed pitch adjusting means 20.

【0121】ところで、記入枠用空欄を設定しようとす
る行が文書中のm行目の行間隔(改行ピッチ)をRm
し、記入枠用空欄の外縁の縦幅をHとしたとき、以下の
式(13)の関係を満たすとき、設定する記入枠用空欄
が隣接する行に重なることになる。尚、上記Rm は、記
入枠用空欄の設定されていない場合には、書式で設定さ
れた改行ピッチとなっている。
By the way, if the line spacing (line feed pitch) of the m-th line in the document for which the blank space for the entry frame is to be set is R m and the vertical width of the outer edge of the blank space for the entry frame is H, then When the relationship of Expression (13) is satisfied, the blank space for the entry frame to be set overlaps the adjacent line. Incidentally, the above R m is the line feed pitch set by the format when the blank for the entry frame is not set.

【0122】 H>Rm ・・・・・・・・・・・・・(13) そこで、文字記入枠設定手段12によって記入枠用空欄
を設定する場合、上記の式(13)を満たすとき、上記
改行ピッチ調整手段20は、以下の式(14)〜式(1
6)によって、文書中に設定される記入枠用空欄の行
(m行目)とその上下の行(m−1行目とm+1行目)
における改行ピッチRm 、Rm-1 、Rm+1を変更するよ
うになっている。
H> R m ..... (13) Therefore, when the blank space for the entry frame is set by the character entry frame setting means 12, when the above expression (13) is satisfied, The line feed pitch adjusting means 20 has the following formulas (14) to (1).
6), the blank line for the entry frame (m-th line) set in the document and the lines above and below it (m-1 and m + 1 lines)
The line feed pitches R m , R m-1 , and R m + 1 in the above are changed.

【0123】 Rm-1 ←H ・・・・・・・・・・・・・(14) Rm ←H ・・・・・・・・・・・・・(15) Rm+1 ←H ・・・・・・・・・・・・・(16) 尚、上記各式では、右側の記入枠用空欄の外縁の縦幅H
の値を左側の改行ピッチRm 、Rm-1 、Rm+1 に代入す
るものとする。
R m-1 ← H ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ (14) R m ← H ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ (15) R m + 1 ← H ・ ・ ・ ・ ・ ・ ・ ・ (16) In the above formulas, the vertical width H of the outer edge of the blank space for the entry frame on the right side is H
Is substituted for the line feed pitches R m , R m-1 , and R m + 1 on the left side.

【0124】そして、改行ピッチ調整手段20にて、記
入枠用空欄が設定されるべき行の改行ピッチを調整する
場合、以下のような3通りが考えられる。
When the line feed pitch adjusting means 20 adjusts the line feed pitch of the line in which the blank for the entry frame is to be set, the following three ways are possible.

【0125】例えば、文字記入枠設定手段12によって
設定される記入枠用空欄が行末を越えないときには、上
記式(15)(14)によって、記入枠用空欄が設定さ
れる行とその上の行の改行ピッチRm 、Rm-1 を記入枠
用空欄の外縁の縦幅Hに変更する。
For example, when the blank space for the entry frame set by the character entry frame setting means 12 does not exceed the end of the line, the line on which the blank space for the entry frame is set and the line above the line are set by the above equations (15) and (14). The line feed pitches R m and R m-1 of the above are changed to the vertical width H of the outer edge of the blank for the entry frame.

【0126】また、文字記入枠設定手段12によって設
定される記入枠用空欄が行末を越えて、且つ2行に分け
て記入枠用空欄を設定するときには、上記式(14)
(15)(16)によって、記入枠用空欄が設定される
2行とその下の行の改行ピッチRm-1 、Rm 、Rm+1
記入枠用空欄の外縁の縦幅Hに変更する。
When the blank space for entry frame set by the character entry frame setting means 12 exceeds the end of the line and is divided into two lines to set the blank space for entry frame, the above formula (14) is used.
(15) According to (16), the line feed pitches R m-1 , R m , and R m + 1 of the two lines below which the blank space for the entry frame is set and the line below it are set to the vertical width H of the outer edge of the blank space for the entry frame. change.

【0127】さらに、文字記入枠設定手段12によって
設定される記入枠用空欄が行末を越て、且つ2行に分け
て記入枠用空欄を設定しないときには、上記の式(1
5)(16)によって、記入枠用空欄が設定される行
(実際は最初に設定しょうとした行の次の行になる)と
その下の行の改行ピッチRm 、Rm+1 を記入枠用空欄の
外縁の縦幅Hに変更する。
Furthermore, when the blank space for the entry frame set by the character entry frame setting means 12 exceeds the end of the line and the blank space for the entry frame is not set in two lines, the above formula (1
5) According to (16), the line in which the blank for the entry frame is set (actually the line next to the line that was initially set) and the line feed pitches R m and R m + 1 of the line below it are entered Change to the vertical width H of the outer edge of the blank.

【0128】以上のように、上記改行ピッチ調整手段2
0によって、記入枠用空欄が設定される行の改行ピッチ
m と記入枠用空欄の外縁の縦幅Hとが、式(13)の
関係を満たすとき、記入枠用空欄が設定される行とその
上下の行の改行ピッチが記入枠用空欄の外縁の縦幅Hに
変更されるので、記入枠用空欄が前後の行に重ならない
ようにすることができる。
As described above, the line feed pitch adjusting means 2
When the line feed pitch R m of the line in which the blank for the entry frame is set and the vertical width H of the outer edge of the blank for the entry frame satisfy the relationship of Expression (13) by 0, the line for which the blank for the entry frame is set Since the line feed pitch of the lines above and below is changed to the vertical width H of the outer edge of the blank for the entry frame, it is possible to prevent the blank for the entry frame from overlapping the lines before and after.

【0129】これにより、従来のように書式に依存して
記入枠用空欄設定を行う場合のように、文書中の記入枠
用空欄が隣接する行に重ならないように記入枠用空欄に
隣接する行の書式についての試行錯誤を行うことなく、
記入枠用空欄を文中に設定することができる。したがっ
て、記入枠用空欄を含む文書の作成効率を向上させるこ
とができる。
As a result, as in the case of setting the blanks for the entry frames depending on the format as in the conventional art, the blanks for the entry frames in the document are adjacent to the blanks for the entry frame so as not to overlap the adjacent lines. Without any trial and error about line formatting,
A blank space for the entry frame can be set in the sentence. Therefore, it is possible to improve the creation efficiency of the document including the blank space for the entry frame.

【0130】また、改行ピッチ調整手段20は、設定さ
れた空欄の縦幅が、予め設定された書式による改行ピッ
チを超えたときに、該記入枠用空欄を含む行の改行ピッ
チを上述のような式(14)〜(15)に基づいて、拡
げるように調整することで、行間が記入枠用空欄の幅よ
りも狭くても、記入枠用空欄が隣接する行に重ならない
ように自動的に設定することができる。
Further, the line feed pitch adjusting means 20 sets the line feed pitch of the line including the blank for the entry frame to the above-mentioned line feed pitch when the vertical width of the set blank exceeds the line feed pitch in the preset format. By adjusting so that it expands based on Eqs. (14) to (15), even if the space between lines is narrower than the width of the blank space for the entry frame, it is automatically adjusted so that the blank space for the entry frame does not overlap with the adjacent line. Can be set to.

【0131】これにより、使用者は、記入枠用空欄設定
手段によって設定された空欄の縦幅が、予め設定された
書式による改行ピッチを超えたときに、自動的に記入枠
用空欄を含む行の改行ピッチを拡げるようになっている
ので、改行ピッチを使用者自身が変更する必要がなくな
り、記入枠用空欄の設定の操作性を向上させることがで
きる。
As a result, when the vertical width of the blank set by the blank writing space setting means exceeds the line feed pitch according to a preset format, the user automatically includes the blank line for the blank writing space. Since the line feed pitch of is expanded, it is not necessary for the user to change the line feed pitch by himself, and the operability of setting the blank space for the entry frame can be improved.

【0132】尚、ここでは、改行ピッチを記入枠用空欄
の外縁の縦幅Hに変更されているが、これに限定するも
のではなく、記入枠用空欄が前後の行に重ならないよう
にする改行ピッチの値に変更すれば良い。
Here, the line feed pitch is changed to the vertical width H of the outer edge of the blank for the entry frame, but the invention is not limited to this, and the blank for the entry frame is not overlapped with the preceding and following lines. Change to the line feed pitch value.

【0133】また、上記行記入枠設定手段13で記入枠
用空欄を設定するときにも、文字記入枠設定手段12と
同様に、記入枠用空欄が設定しようとする頁の頁末を越
える場合が考えられる。
Also, when setting the blank space for the entry frame by the line entry frame setting means 13, as in the case of the character entry frame setting means 12, when the blank space for the entry frame exceeds the end of the page to be set. Can be considered.

【0134】そこで、記入枠用空欄設定手段8には、図
1に示すように、上記行記入枠設定手段13によって文
書中に設定された記入枠用空欄が頁末を越える場合、必
要に応じて、改頁した頁、あるいは当該頁を含む2頁に
分けて該記入枠用空欄を設定する頁末処理付加手段16
が設けられている。
Therefore, as shown in FIG. 1, the entry frame blank space setting means 8 may, if necessary, when the blank space for the entry space set in the document by the line entry space setting means 13 exceeds the end of the page. Then, the page end processing addition means 16 for setting the blank space for the entry frame by dividing the page to be changed or into two pages including the page
Is provided.

【0135】上記頁末処理付加手段16では、以下の式
(17)を用いて設定する記入枠用空欄が頁末を越える
か否かを判定し、その後の処理を判定結果に基づいて行
うようになっている。ここで、Jは1頁の行数、J1
記入枠用空欄を作成しようとする行の一つ前の行、Mは
記入枠用空欄の作成に必要な行数を表す。
The page end processing adding means 16 determines whether or not the blank space for the entry frame set using the following equation (17) exceeds the page end, and the subsequent processing is performed based on the determination result. It has become. Here, J represents the number of lines in one page, J 1 represents the line immediately preceding the line in which the blank for the entry frame is to be created, and M represents the number of lines required to create the blank in the entry frame.

【0136】 J<J1 +M ・・・・・・・・(17) したがって、上記頁末処理付加手段16は、上記式(1
7)の関係が成り立つ場合、記入枠用空欄は頁末を越え
ると判定する。このとき、改頁して記入枠用空欄を設定
するか、改頁しないで2頁に分けて記入枠用空欄を設定
するかが考えられる。改頁しないで2頁に分けて記入枠
用空欄を設定する場合、上からJ−J1行だけ当初設定
予定の頁に記入枠用空欄を作成し、記入枠用空欄の残り
を次の頁に作成すれば良い。また、改頁して記入枠用空
欄を設定する場合には、上記式(17)の関係が成り立
つ時、自動的に改頁して次の頁行に記入枠用空欄を作成
するようにしても良い。
J <J 1 + M (Equation 17) Therefore, the page end processing adding unit 16 is configured by the above formula (1).
When the relationship of 7) is established, it is determined that the blank space for the entry frame extends beyond the end of the page. At this time, it is conceivable to set a blank page for the entry frame by setting a page break, or to set a blank column for the entry frame by dividing the page into two pages without a page break. If you want to set a blank space for the entry frame by dividing it into two pages without page breaks, create a blank space for the entry frame on the page that will be initially set for only one line from JJ, and leave the rest of the blank space for the entry frame on the next page. You can create it. In addition, when setting the blank space for the entry frame by changing the page, when the relation of the above formula (17) is established, the page is automatically changed and the blank space for the entry frame is created on the next page line. Is also good.

【0137】また、式(17)の関係が成り立つ場合、
表示装置3において、設定しようとする記入枠用空欄が
頁末を越える旨を使用者に知らせるようにし、使用者が
改頁するか否かを判定するようにしても良い。
If the relation of equation (17) holds,
The display device 3 may notify the user that the blank space for the entry frame to be set exceeds the end of the page, and the user may determine whether or not to change the page.

【0138】本文書処理装置では、文書作成中に記入枠
用空欄を作成する場合、所定の操作を行うことで、文書
作成モードから文書中に記入枠用空欄を作成するための
枠作成モードに切り替えられるようになっている。この
枠作成モードには、例えば図36に示すように、文書編
集画面70上のファンクション71上のファンクション
の一つに設定されている枠設定キー(他の文書作成に使
用されるキーは省略している)を押すことで切り替えら
れるようになっている。
In the present document processing apparatus, when a blank space for an entry frame is created during document creation, a predetermined operation is performed to change the document creation mode to a frame creation mode for creating a blank space for an entry frame in a document. It can be switched. In this frame creation mode, for example, as shown in FIG. 36, a frame setting key set to one of the functions on the function 71 on the document edit screen 70 (keys used for other document creation are omitted. You can switch by pressing.

【0139】そして、枠作成モードに切り替えられれ
ば、図17に示すように、文書編集画面70上の下端部
に表示されたファンクション71が、文書作成モードで
表示されたファンクションの内容から枠作成モード用の
ファンクションに切り替えられる。
When the frame creation mode is switched to, the function 71 displayed at the lower end of the document edit screen 70 is changed from the content of the function displayed in the document creation mode to the frame creation mode as shown in FIG. Function can be switched to.

【0140】この枠作成モード用のファンクション71
には、枠の設定に必要なファンクションが予め付与され
ている。例えば文書編集画面70のファンクション71
の左側から、新規枠作成71a、枠変更71b、枠単位
設定71c、枠消去71d、枠移動71e、枠複写71
f、枠終了71gが付与されている。これらの各機能
は、キーボードにおける文書作成モードでも使用された
ファンクションキーにそれぞれ対応するようになってい
る。つまり、キーボード上の所望のファンクションキー
を押せば、そのキーに対応した機能の記入枠用空欄の設
定に必要な操作が行えるようになっている。
Function 71 for this frame creation mode
Has a function necessary for setting the frame in advance. For example, the function 71 of the document edit screen 70
From the left side of, a new frame creation 71a, a frame change 71b, a frame unit setting 71c, a frame deletion 71d, a frame move 71e, and a frame copy 71.
f and the frame end 71g are given. Each of these functions corresponds to the function key used in the document creation mode on the keyboard. That is, when a desired function key on the keyboard is pressed, the operation required for setting the blank space for the entry frame of the function corresponding to the key can be performed.

【0141】このように、各ファンクション71のそれ
ぞれの機能に対応するファンクションキーを押すことに
より、該機能を発揮させることができるので、記入枠用
空欄の設定に対する操作を使用者に分かり易くすること
を可能としている。
As described above, by pressing the function key corresponding to each function of each function 71, the function can be exerted, so that the user can easily understand the operation for setting the blank space for the entry frame. Is possible.

【0142】新規枠作成71aは、文書中に記入枠用空
欄を新たに作成するためのファンクションである。この
ファンクションに対応するキーを押すと、文書編集画面
70上に、図18〜図20に示すような各枠単位に応じ
た枠書式入力ウィンドウ72・73・74の何れか1つ
のウィンドウが表示される。上記の新規枠作成71aに
対応するファンクションキーを押したときには、直前に
作成された記入枠用空欄の枠単位および設定内容を示す
枠書式入力ウィンドウが表示されるようになっている。
The new frame creation 71a is a function for newly creating a blank space for an entry frame in a document. When the key corresponding to this function is pressed, any one of the frame format input windows 72, 73, and 74 corresponding to each frame unit as shown in FIGS. 18 to 20 is displayed on the document edit screen 70. It When the function key corresponding to the above-described new frame creation 71a is pressed, a frame format input window showing the frame unit and setting contents of the blank entry frame created immediately before is displayed.

【0143】図18に示す枠書式入力ウィンドウ72
は、枠単位が文字の場合の枠書式入力ウィンドウであ
り、図19に示す枠書式入力ウィンドウ73は、枠単位
が行の場合の枠書式入力ウィンドウであり、図20に示
す枠書式入力ウィンドウ74は、枠単位が指定範囲の場
合の枠書式入力ウィンドウである。
A frame format input window 72 shown in FIG.
Is a frame format input window when the frame unit is a character, a frame format input window 73 shown in FIG. 19 is a frame format input window when the frame unit is a line, and a frame format input window 74 shown in FIG. Is a frame format input window when the frame unit is the specified range.

【0144】各枠書式入力ウィンドウ72・73・74
では、文書編集画面70上において、記入文字数72
a、記入行数73aを除く各入力項目における設定内容
は、○によって選択されたことを示している。また、こ
れら枠書式入力ウィンドウ72・73・74は、状態変
数テーブル9に保持された内容が読み出されて表示され
たものである。
Each frame format input window 72, 73, 74
Then, on the document edit screen 70, the number of entered characters 72
The setting contents in each input item except a and the number of entry lines 73a indicate that they are selected by ◯. The frame format input windows 72, 73, and 74 are the ones in which the contents held in the state variable table 9 are read and displayed.

【0145】即ち、枠書式入力ウィンドウ72には、図
18に示すように、記入枠用空欄の書式を決定するため
の入力項目として、記入文字数72a、枠種72b、枠
の太さ72c、枠の線種72d、仕切り線72e、仕切
り線の太さ72f、仕切り線の線種72g、記入文字サ
イズ72hがある。つまり、枠書式入力ウィンドウ72
には、図3に示す状態変数テーブル9の文字用のテーブ
ル9bの内容が表示されることになる。
That is, in the frame format input window 72, as shown in FIG. 18, the number of characters to be entered 72a, the frame type 72b, the thickness 72c of the frame, 72d, partition line 72e, partition line thickness 72f, partition line line type 72g, and entry character size 72h. That is, the frame format input window 72
Displays the contents of the character table 9b of the state variable table 9 shown in FIG.

【0146】したがって、枠書式入力ウィンドウ72で
は、枠種72bとして『囲い』が、枠の太さ72cとし
て『太い』が、枠の線種72dとして『実線』が選択さ
れているので、行内に手書きすべき文字を囲むような記
入枠用空欄が太い実線で作成される。
Therefore, in the frame format input window 72, "enclosure" is selected as the frame type 72b, "thick" is selected as the frame thickness 72c, and "solid line" is selected as the line type 72d of the frame. An empty space for an entry frame that encloses a character to be handwritten is created with a thick solid line.

【0147】また、仕切り線72eとして『要』が、仕
切り線の太さ72fとして『細』が、仕切り線の線種7
2gとして『破線』が選択されているので、記入枠用空
欄内に仕切り線が細い破線で作成される。
The partition line 72e is "necessary", the partition line thickness 72f is "thin", and the partition line type 7 is
Since "dashed line" is selected as 2g, a partition line is created as a thin broken line in the blank space for the entry frame.

【0148】さらに、記入文字サイズ72hとして『標
準』が選択されているので、作成される記入枠用空欄
は、予め設定された手書きで最も自然な大きさである標
準サイズの文字が記入できる適度の大きさで作成され
る。
Further, since "standard" is selected as the entry character size 72h, the blank for the entry frame to be created is suitable for entering the standard size character which is the most natural size in preset handwriting. Created in the size of.

【0149】さらに、記入文字サイズ72hでは、各選
択肢に、予め記憶された記入文字サイズが対応してお
り、各選択肢の何れかが選択されることで、その選択肢
に対応した記入文字サイズに設定することができる。こ
の選択肢には、予め記入文字サイズが設定された『大き
め』、『標準』、『小さめ』の項目の他に、記入文字サ
イズの設定を自由に行うことができる『フリー』の項目
がある。この『フリー』では、所望する記入文字の縦サ
イズをmm単位で入力することで、記入枠用空欄内にお
ける記入文字サイズの設定を行うようになっている。
Further, in the entered character size 72h, the entered character size stored in advance corresponds to each option, and by selecting one of the options, the entered character size corresponding to that option is set. can do. The options include "large", "standard", and "small" items in which the entered character size is set in advance, and "free" items in which the entered character size can be freely set. In this "free", the vertical size of a desired written character is input in units of mm to set the written character size in the blank space for the entry frame.

【0150】以上のことから、例えば、記入枠用空欄の
書式が、図18に示すような枠書式入力ウィンドウ72
の場合、該枠書式入力ウィンドウ72内の右端に、作成
される記入枠用空欄のイメージ72iが表示されるよう
になっている。
From the above, for example, the format of the blank space for the entry frame is the frame format input window 72 as shown in FIG.
In this case, the image 72i of the blank space for the input frame to be created is displayed at the right end in the frame format input window 72.

【0151】また、枠単位が行である枠書式入力ウィン
ドウ73は、図19に示すように、枠単位が行であるの
で、記入文字数72aの代わりに記入行数73a、記入
文字サイズ72hの代わりに記入行サイズ73hに入力
項目が変更される。そして、他の記入枠用空欄の書式設
定のための入力項目は、枠書式入力ウィンドウ72の入
力項目と同様に、枠種73b、枠の太さ73c、枠の線
種73d、仕切り線73e、仕切り線の太さ73f、仕
切り線の線種73gとなる。尚、仕切り線73eが
『要』に選択された場合には、枠単位が行であるので、
行に対応して仕切り線は横となる。
Since the frame format input window 73 in which the frame unit is a line is a line in the frame unit as shown in FIG. 19, instead of the number of written characters 72a, the number of written lines 73a and the written character size 72h are replaced. The input item is changed to the entry line size 73h. Then, other input items for formatting the blank space for the input frame are similar to the input items of the frame format input window 72, the frame type 73b, the frame thickness 73c, the line type 73d of the frame, the partition line 73e, The thickness of the partition line is 73f, and the line type of the partition line is 73g. When the partition line 73e is selected to be "necessary", the frame unit is a line.
Corresponding to the row, the partition line will be horizontal.

【0152】枠書式入力ウィンドウ73における各入力
項目に対する選択肢は、記入行サイズ73hを除いて、
上記の枠書式入力ウィンドウ72における各入力項目と
同じであるので、その説明は省略する。記入行サイズ7
3hでは、記入文字の大きさを直接設定するのではな
く、行間隔を設定することで、記入枠用空欄内における
手書きすべき文字サイズを設定するようになっている。
The options for each input item in the frame format input window 73 are as follows, except for the entry line size 73h.
Since it is the same as each input item in the frame format input window 72, the description thereof will be omitted. Entry line size 7
In 3h, the size of the written character is not directly set, but the line spacing is set to set the size of the character to be handwritten in the blank space for the entry frame.

【0153】したがって、枠書式入力ウィンドウ73で
は、枠種73bとして『囲い』が、枠の太さ73cとし
て『太い』が、枠の線種73dとして『実線』が選択さ
れているので、手書きすべき行を囲むような記入枠用空
欄が太い実線で作成される。
Therefore, in the frame format input window 73, "enclosure" is selected as the frame type 73b, "thick" is selected as the frame thickness 73c, and "solid line" is selected as the line type 73d of the frame. A blank solid line is created around the power line with a thick solid line.

【0154】また、仕切り線73eとして『要』が、仕
切り線の太さ73fとして『細』が、仕切り線の線種7
3gとして『実線』が選択されているので、記入枠用空
欄内に仕切り線が実線で作成される。
The partition line 73e is "Necessary", the partition line thickness 73f is "Thin", and the partition line type 7
Since "solid line" is selected as 3g, a partition line is created as a solid line in the blank for the entry frame.

【0155】さらに、記入行サイズ73hとして『標
準』が選択されているので、作成される記入枠用空欄
は、予め設定された手書きで最も自然な大きさである標
準サイズの文字で書き込みが行える大きさで作成され
る。
Further, since the "standard" is selected as the entry line size 73h, the blank for the entry frame to be created can be written with characters of the standard size which is the most natural size in preset handwriting. Created in size.

【0156】以上のことから、例えば、記入枠用空欄の
書式が、図19に示すような枠書式入力ウィンドウ73
である場合、該枠書式入力ウィンドウ73内の右端に、
作成される記入枠用空欄のイメージ73iが表示される
ようになっている。
From the above, for example, the format of the blank box for the entry frame is the frame format input window 73 as shown in FIG.
If it is, at the right end in the frame format input window 73,
The blank image 73i for the entry frame to be created is displayed.

【0157】さらに、枠書式入力ウィンドウ74は、枠
単位が指定範囲であるので、文書編集画面70上で記入
枠用空欄を作成すべき範囲をカーソルや入力ペン等によ
って指定した後、文書編集画面70上に表示されるよう
になっている。したがって、枠書式入力ウィンドウ74
には、図20に示すように、枠書式入力ウィンドウ72
・73のように、記入文字数72aや記入行数73aに
代わる指定範囲を設定するための入力項目の記載はな
い。
Further, in the frame format input window 74, since the frame unit is the specified range, after the range in which the blank space for the entry frame is to be created is specified on the document edit screen 70 by the cursor or the input pen, the document edit screen 70 is displayed. Therefore, the frame format input window 74
In the frame format input window 72, as shown in FIG.
There is no description of an input item for setting a designated range in place of the number of written characters 72a and the number of written lines 73a like 73.

【0158】このように、枠書式入力ウィンドウ74の
書式設定のための入力項目は、図19に示す枠書式入力
ウィンドウ73と同様に、設定する記入枠用空欄の枠種
74b、枠の太さ74c、枠の線種74d、横仕切り線
74e、仕切り線の太さ74f、仕切り線の線種74
g、記入行サイズ74hがある。そして、記入枠用空欄
が文字数および行数からなる指定範囲であることから、
横仕切り線74eに加えて、図20に示すように、縦仕
切り線74j、仕切り線の太さ74k、仕切り線の線種
74l、および記入文字サイズ74mの入力項目が必要
となる。
As described above, the input items for the format setting of the frame format input window 74 are the same as the frame format input window 73 shown in FIG. 74c, frame line type 74d, horizontal partition line 74e, partition line thickness 74f, partition line line type 74
g, entry line size 74h. And since the blank for the entry frame is the specified range consisting of the number of characters and the number of lines,
In addition to the horizontal partition line 74e, as shown in FIG. 20, the vertical partition line 74j, the partition line thickness 74k, the partition line type 74l, and the input character size 74m are required as input items.

【0159】したがって、枠書式入力ウィンドウ74で
は、枠種74bとして『囲い』が、枠の太さ74cとし
て『太い』が、枠の線種74dとして『実線』が選択さ
れているので、手書きすべき行を囲むような記入枠用空
欄が太い実線で作成される。
Therefore, in the frame format input window 74, "enclosure" is selected as the frame type 74b, "thick" is selected as the frame thickness 74c, and "solid line" is selected as the line type 74d of the frame. A blank solid line is created around the power line with a thick solid line.

【0160】また、横仕切り線74eとして『要』が、
仕切り線の太さ74fとして『細』が、仕切り線の線種
74gとして『実線』が選択されているので、記入枠用
空欄内に横仕切り線が細い実線で作成される。
Further, "necessary" is given as the horizontal partition line 74e,
Since "thin" is selected as the thickness 74f of the partition line and "solid line" is selected as the line type 74g of the partition line, the horizontal partition line is created as a thin solid line in the blank for the entry frame.

【0161】また、縦仕切り線74jとして『要』が、
仕切り線の太さ74kとして『細』が、仕切り線の線種
74lとして『破線』が選択されているので、記入枠用
空欄内に縦仕切り線が細い破線で作成される。
"Necessary" is given as the vertical partition line 74j,
Since "thin" is selected as the thickness 74k of the partition line and "broken line" is selected as the line type 74l of the partition line, the vertical partition line is created by a thin broken line in the blank space for the entry frame.

【0162】さらに、記入行サイズ74hとして『標
準』が、記入文字サイズ74mとして『標準』が選択さ
れているので、作成される記入枠用空欄は、行方向およ
び横方向において、手書きで最も自然な大きさである標
準サイズの文字で書き込みが行える大きさで作成され
る。
Further, since "standard" is selected as the entry line size 74h and "standard" is selected as the entry character size 74m, the blanks for the entry frames to be created are the most natural by handwriting in the row direction and the horizontal direction. It is created in a size that allows writing with standard size characters that are different sizes.

【0163】以上のことから、例えば、記入枠用空欄の
書式が、図20に示すような枠書式入力ウィンドウ74
である場合、該枠書式入力ウィンドウ74内の右端に、
作成される記入枠用空欄のイメージ74iが表示される
ようになっている。
From the above, for example, the format of the blank space for the entry frame is the frame format input window 74 as shown in FIG.
If it is, at the right end in the frame format input window 74,
An image 74i of the blank space for the entry frame to be created is displayed.

【0164】以上のように、各枠書式入力ウィンドウで
は、最初に表示されるときは、直前に作成された記入枠
用空欄の状態変数が保持されている状態変数テーブル9
の内容が表示されている。そして、上記したように状態
変数変更手段17によって、状態変数は適宜変更するこ
とができるので、上記各枠書式入力ウィンドウにおける
入力項目は、適宜変更可能であり、所望する記入枠用空
欄の書式に設定することができるようになっている。
As described above, in each frame format input window, when first displayed, the state variable table 9 holds the state variable of the blank space for the entry frame created immediately before.
Is displayed. As described above, since the state variable can be appropriately changed by the state variable changing means 17, the input item in each of the frame format input windows can be appropriately changed, and the desired blank space for entry frame can be obtained. It can be set.

【0165】このように、上記記入枠用空欄のサイズは
手書き文字数に応じて一定に定められて印刷される。し
かし、1文字当たりのサイズが常に固定されてしまう
と、文書の種類によって記入枠用空欄のサイズを使い分
けることができない。例えば、小学生向けの筆記試験に
おける解答欄を作成する場合、低学年用には記入枠用空
欄のサイズを大きくし、高学年には小さくして用紙1枚
当たりの文書量を増やしたいという要望がある。
As described above, the size of the blank space for the entry frame is fixed and printed according to the number of handwritten characters. However, if the size per character is always fixed, it is not possible to properly use the size of the blank space for the entry frame depending on the type of document. For example, when creating an answer box for a written test for elementary school students, there is a demand to increase the size of the blank space for the lower grades and decrease it in the upper grades to increase the amount of documents per sheet. .

【0166】そこで、上記の状態変数変更手段17によ
れば、文書中に設定される記入枠用空欄の作成に関する
変数を、必要に応じて変更するようになっているので、
記入枠用空欄のサイズ等の変更に対して柔軟に対応する
ことができる。これにより、使用者は、複数種類の大き
さの手書き文字の中から所望するサイズの記入枠用空欄
を選択できるので、文書の種類による記入枠用空欄のサ
イズの使い分けを可能とする。
Therefore, according to the state variable changing means 17, the variable relating to the creation of the blank space for the entry frame set in the document is changed as necessary.
It is possible to flexibly respond to changes in the size of the blank space for the entry frame. With this, the user can select a desired size of the blank space for the entry frame from among a plurality of types of handwritten characters, and thus it is possible to properly use the size of the blank space for the entry frame depending on the type of the document.

【0167】ところで、例えば、枠書式入力ウィンドウ
72の枠種72bとして『囲い』・『下線』が選択され
ていれば、その枠あるいは線の太さ72c、線種72d
において何れかの選択肢が設定可能となる。しかし、枠
種72bとして『空白』が選択されていれば、上記の太
さ72c、線種72dの選択肢は設定されない。仮に、
『空白』が選択され、太さ72c、線種72dの選択肢
の何れかの項目が選択されていても、その選択項目は無
効となり実行されない。
By the way, for example, if "enclosure" and "underline" are selected as the frame type 72b of the frame format input window 72, the frame or line thickness 72c and the line type 72d are selected.
In, either option can be set. However, if "blank" is selected as the frame type 72b, the options for the thickness 72c and the line type 72d are not set. what if,
Even if "blank" is selected and any of the options of the thickness 72c and the line type 72d is selected, the selected item is invalid and is not executed.

【0168】また、仕切り線72eにおいて、『要』が
選択されていれば、この仕切り線の太さ72f、線種7
2gにおいて何れかの選択肢が設定されている。また、
『不要』が設定されていれば、上記の太さ72f、線種
72gの選択肢は設定されていない。仮に、『不要』が
選択され、太さ72f、線種72gの選択肢の何れかの
項目が選択されていても、その選択項目は無効となり実
行されない。
If "necessary" is selected in the partition line 72e, the thickness of the partition line 72f and the line type 7
Either option is set in 2g. Also,
If "unnecessary" is set, the options of the thickness 72f and the line type 72g are not set. Even if "unnecessary" is selected and any of the options of the thickness 72f and the line type 72g is selected, the selected item is invalid and is not executed.

【0169】このような場合、使用者が、選択しても有
効とならない項目を誤って入力した場合、その選択操作
は無駄となり、記入枠用空欄設定の効率を低下させる。
In such a case, if the user erroneously inputs an item that is not valid even if selected, the selecting operation becomes useless, and the efficiency of setting the blank space for the entry frame is reduced.

【0170】そこで、選択しても有効とならない項目
は、枠書式入力ウィンドウ72内において目立たないよ
うにすれば、使用者の誤選択操作を低減することができ
る。このようにする手段として、図1に示す記入枠用空
欄設定手段8には、設定禁止手段23が設けられてい
る。
Therefore, if the items that are not valid even if selected are made inconspicuous in the frame format input window 72, the erroneous selection operation by the user can be reduced. As means for doing this, the blanking space setting means 8 for entry frame shown in FIG. 1 is provided with a setting prohibiting means 23.

【0171】この設定禁止手段23は、枠書式入力ウィ
ンドウの入力項目で選択した項目に基づいて、上記の選
択項目に関連する選択肢が有効か否かを判定し、有効で
ない場合、その選択肢の表示を消すかあるいは他の選択
肢の色より薄くして、使用者に選択しても無駄である旨
を知らせるようになっている。
The setting prohibiting means 23 determines whether or not the option related to the above selection item is valid, based on the item selected in the input item of the frame format input window, and displays the option if it is not valid. Is erased or made lighter than the color of other options to inform the user that the selection is useless.

【0172】例えば、図38に示すように、枠書式入力
ウィンドウ72において、仕切り線72eが『不要』で
ある場合、これに関連する選択肢である仕切り線の太さ
72fおよび線種72gを選択しても無駄であるので、
これらの選択肢に対してハッチング等をして使用者に知
らせるようにすれば良い。
For example, as shown in FIG. 38, when the partition line 72e is "unnecessary" in the frame format input window 72, the partition line thickness 72f and the line type 72g, which are options related to this, are selected. But it's useless, so
It suffices to inform the user by hatching these options.

【0173】枠書式入力ウィンドウの他の項目において
も同様とする。例えば、枠種における『枠なし』を選択
したとき等があり、この場合においても、不要な選択項
目は、選択しても無駄であることを使用者に知らせるよ
うになっている。
The same applies to other items in the frame format input window. For example, there is a case where “no frame” is selected for the frame type, and even in this case, the user is informed that unnecessary selection items are useless even if selected.

【0174】したがって、上記のような設定禁止手段2
3を設けることで、記入枠用空欄の書式設定を行う場合
に、無駄な入力操作を無くすことができるので、記入枠
用空欄の作成効率を向上させることができる。
Therefore, the setting prohibiting means 2 as described above is used.
By providing 3, the useless input operation can be eliminated when the blank space for the entry frame is formatted, so that the creation efficiency of the blank space for the entry frame can be improved.

【0175】次に、図17に示す文書編集画面70上の
ファンクション71の枠変更71bは、文書中に既に作
成された記入枠用空欄の設定内容を変更するためのファ
ンクションである。このファンクションに対応するキー
を押すと、文書編集画面70上に、設定内容を変更すべ
き記入枠用空欄を指定した後、その記入枠用空欄に対応
する図18〜図20の何れかの枠書式入力ウィンドウが
表示される。
Next, the frame change 71b of the function 71 on the document edit screen 70 shown in FIG. 17 is a function for changing the setting contents of the blank space for the entry frame already created in the document. When the key corresponding to this function is pressed, after the blank space for the entry frame whose setting content is to be changed is specified on the document edit screen 70, one of the frames in FIGS. 18 to 20 corresponding to the blank space for the entry frame is designated. The form input window is displayed.

【0176】枠単位設定71cは、作成する枠単位を設
定するためのファンクションである。このファンクショ
ンに対応するキーを押すと、文書編集画面70上に、図
21に示すような枠単位設定ウィンドウ75が表示され
る。この枠単位設定ウィンドウ75には、枠単位として
『文字単位』、『行単位』、『指定範囲』の3種類が存
在し、これらのうち1つを選択することで、枠単位に応
じた上記の枠書式入力ウィンドウの表示が行えるように
なる。
The frame unit setting 71c is a function for setting the frame unit to be created. When the key corresponding to this function is pressed, the frame unit setting window 75 as shown in FIG. 21 is displayed on the document edit screen 70. In the frame unit setting window 75, there are three types of frame units: “character unit”, “line unit”, and “specified range”, and by selecting one of these, the above The frame format input window of can be displayed.

【0177】枠消去71dは、文書中に作成中あるいは
作成した枠を消去するためのファンクションである。こ
のファンクションに対応するキーを押すと、文書編集画
面70上に、図22に示すような枠消去ウィンドウ76
が表示される。即ち、文書編集画面70上で消去の対象
となる記入枠用空欄を指定した後、図22に示す枠消去
ウィンドウ76が表示される。
The frame erasing 71d is a function for erasing a frame being created in the document or created. When the key corresponding to this function is pressed, the frame deletion window 76 as shown in FIG.
Is displayed. That is, after designating the blank space for entry frame to be erased on the document edit screen 70, the frame erase window 76 shown in FIG. 22 is displayed.

【0178】枠消去ウィンドウ76には、指定された記
入枠用空欄を消去するか否かの表示がされている。即
ち、枠を消去する場合には、キーボード上の実行キーを
押すように、また、枠の消去を取り消す場合には、キー
ボード上の解除キーを押すように表示されている。
In the frame deletion window 76, it is displayed whether or not the designated blank space for entry frame is to be deleted. That is, when the frame is deleted, the execution key on the keyboard is pressed, and when the deletion of the frame is canceled, the release key on the keyboard is pressed.

【0179】枠移動71eは、文書の中に作成された記
入枠用空欄を所望する位置に移動するためのファンクシ
ョンである。また、枠複写71fは、文書中に作成され
た記入枠用空欄と同じ書式の記入枠用空欄を所望する位
置に作成するためのファンクションである。
The frame move 71e is a function for moving the blank space for entry frame created in the document to a desired position. In addition, the frame copy 71f is a function for creating an empty space for the input frame having the same format as the empty space for the input frame created in the document at a desired position.

【0180】枠終了71gは、枠作成モードを終了し、
文書作成モードに切り替えるためのファンクションであ
る。
The frame end 71g ends the frame creation mode,
This is a function for switching to the document creation mode.

【0181】上記構成の文書処理装置の記入枠用空欄設
定手段8における各手段の処理の流れについて、以下の
図24ないし図34に示すフローチャートを参照しなが
ら以下に説明する。尚、本説明においては、各処理手段
における詳細な処理動作の説明の前に、本記入枠用空欄
設定手段8を備えた文書処理装置としての全体の動作の
流れについて図23を参照しながら説明する。
The flow of processing of each means in the blank entry space setting means 8 of the document processing apparatus having the above-mentioned configuration will be described below with reference to the flow charts shown in FIGS. 24 to 34 below. In this description, before describing the detailed processing operation in each processing means, the flow of the entire operation of the document processing apparatus including the blank entry space setting means 8 will be described with reference to FIG. To do.

【0182】図23に示すように、使用者が操作しよう
とする内容(以下、操作データと称する)を、入力装置
2によって入力する(S1)と、CPU1によって、先
ず、入力された操作データが文書データを表示装置3に
て印刷を行うための操作データであるか否かが判定され
る(S2)。ここで、入力された操作データが印刷を行
うための操作データであると判定されれば、入力装置2
からの印刷操作のための入力、CPU1による印刷のた
めの処理、印刷装置4での印刷動作、表示装置3への印
刷関連情報の表示等の印刷装置4による印刷処理が行わ
れる(S3)。◆そして、この印刷処理が終了すれば、
再び次の操作データが入力されるまで文書処理装置は待
機する。
As shown in FIG. 23, when the user inputs the contents to be operated (hereinafter referred to as operation data) with the input device 2 (S1), the CPU 1 first outputs the input operation data. It is determined whether the document data is operation data for printing on the display device 3 (S2). Here, if it is determined that the input operation data is the operation data for printing, the input device 2
The printing process is performed by the printing device 4 such as an input for a printing operation from the printer 1, a process for printing by the CPU 1, a printing operation by the printing device 4, and a display of printing-related information on the display device 3 (S3). ◆ And when this printing process is completed,
The document processing device waits until the next operation data is input again.

【0183】S2において、入力された操作データが印
刷のための操作データでないと判定されれば、CPU1
によって、入力された操作データが文書に罫線作成を行
うための操作データであるか否かが判定される(S
4)。ここで、入力された操作データが罫線作成を行う
ための操作データであると判定されれば、入力装置2か
らの罫線作成操作のための入力、文書記憶手段7への罫
線情報の記憶、CPU1による罫線処理、表示装置3へ
の罫線作成のための関連情報の表示等の罫線作成手段5
による罫線作成処理が行われる(S5)。そして、この
罫線作成処理が終了すれば、再び次の操作データが入力
されるまで文書処理装置は待機する。
If it is determined in S2 that the input operation data is not the operation data for printing, the CPU 1
Determines whether the input operation data is operation data for creating a ruled line in a document (S).
4). If it is determined that the input operation data is the operation data for creating the ruled line, the input for the ruled line creating operation from the input device 2, the storage of the ruled line information in the document storage unit 7, the CPU 1 Ruled line creation means 5 such as ruled line processing by the display and display of related information for creating a ruled line on the display device 3.
A ruled line creation process is performed by (S5). When the ruled line creation processing is completed, the document processing apparatus waits until the next operation data is input again.

【0184】S4において、入力された操作データが罫
線作成のための操作データでないと判定されれば、CP
U1によって、入力された操作データが書式設定を行う
ための操作データであるか否かが判定される(S6)。
ここで、書式設定を行うための操作データであると判定
されれば、入力装置2からの書式の設定内容の入力、文
書記憶手段7への書式情報の記憶、CPU1による書式
設定処理、表示装置3への書式に関する設定内容の表示
等の書式設定手段6による書式設定処理が行われる(S
7)。そして、この書式設定処理が終了すれば、再び次
の操作データが入力されるまで文書処理装置は待機す
る。
If it is determined in S4 that the input operation data is not operation data for creating a ruled line, CP
It is determined by U1 whether the input operation data is operation data for performing format setting (S6).
Here, if it is determined that the operation data is for the format setting, the setting content of the format is input from the input device 2, the format information is stored in the document storage means 7, the format setting process by the CPU 1, and the display device. Formatting processing is performed by the formatting means 6 such as displaying the setting contents relating to the format in 3 (S).
7). When the format setting process is completed, the document processing device waits until the next operation data is input again.

【0185】S6において、入力された操作データが書
式設定のための操作データでないと判定されれば、CP
U1によって、入力された操作データが記入枠用空欄設
定を行うための操作データであるか否かが判定される
(S8)。ここで、入力された操作データが記入枠用空
欄設定を行うための操作データであると判定されれば、
入力装置2からの記入枠用空欄の設定内容の入力、状態
変数テーブル9および変数テーブル10による記入枠用
空欄の設定情報(記入枠情報)の記憶、CPU1により
記入枠用空欄の設定処理、表示装置3への記入枠用空欄
の関連情報の表示等の記入枠用空欄設定手段8による記
入枠用空欄の設定処理が行われる(S9)。そして、こ
の書式設定処理が終了すれば、再び次の操作データが入
力されるまで文書処理装置は待機する。
If it is determined in S6 that the input operation data is not operation data for format setting, CP
It is determined by U1 whether the input operation data is the operation data for setting the blank space for the entry frame (S8). Here, if it is determined that the input operation data is the operation data for setting the blank space for the entry frame,
Input of the setting contents of the input box blank from the input device 2, storage of setting information (filling box information) of the input box blank by the state variable table 9 and the variable table 10, setting processing and display of the input box blank by the CPU 1. The setting process for the blank space for the entry frame is performed by the blank space for the entry frame setting means 8 such as displaying the related information of the blank space for the entry frame on the device 3 (S9). When the format setting process is completed, the document processing device waits until the next operation data is input again.

【0186】S8において、入力された操作データが記
入枠用空欄設定のための操作データでないと判定されれ
ば、即ち、上記した印刷、罫線作成、書式設定、及び記
入枠用空欄設定を行うための操作データでないと判定さ
れれば、文書記憶手段7への現在編集中である文書情報
の記憶、CPU1による文書処理、表示装置3への編集
中の文書の表示等の一連の文書の編集処理が行われる
(S10)。そして、この文書の編集処理が終了すれば
(S11)、再び次の操作データが入力されるまで文書
処理装置は待機する。
In S8, if it is determined that the input operation data is not the operation data for setting the blank space for the entry frame, that is, the printing, ruled line creation, format setting, and blank space setting for the entry frame are performed. If it is determined that the operation data is not the operation data, the document storage unit 7 stores the document information currently being edited, the CPU 1 performs document processing, the display device 3 displays the document being edited, and the like, and a series of document editing processing. Is performed (S10). When the editing process of this document is completed (S11), the document processing apparatus waits until the next operation data is input again.

【0187】以上のS1〜S7およびS10・S11に
おいては、従来からある文書処理装置とほぼ同じ処理で
ある。そして、S8およびS9における処理が、本願の
特徴を表すものである。
The above steps S1 to S7 and S10 and S11 are almost the same as those of the conventional document processing apparatus. The processing in S8 and S9 represents the features of the present application.

【0188】次に、上記記入枠用空欄設定手段8による
処理全体の流れについて、図24に基づいて以下に説明
する。
Next, the flow of the whole processing by the blank space setting means 8 for entry frame will be described below with reference to FIG.

【0189】先ず、表示装置3の文書の編集画面におい
て、文書作成モードから枠作成モードに切り替えられる
と、CPU1によって、既に、文書中に記入枠用空欄を
作成すべき範囲が指定されているか否かが判定される
(S21)。ここで、既に範囲が指定されていれば、図
34に示すS141に移行する。このS141以降の処
理については、後述する。
First, when the document creation mode is switched to the frame creation mode on the document editing screen of the display device 3, whether or not the CPU 1 has already designated the range in which the blank box for the entry frame should be created in the document. It is determined whether or not (S21). Here, if the range has already been specified, the process proceeds to S141 shown in FIG. The processing after S141 will be described later.

【0190】S21で、文書中に記入枠用空欄を作成す
べき範囲が指定されていないと判定されれば、記入枠用
空欄(以下、記入枠と称する)の作成に対する操作を、
本文書処理装置におけるファンクションに設定し、編集
画面上に表示する(S22)。即ち、図17に示すよう
に、記入枠の設定に必要な機能が、文書編集画面70の
下端に表示されるファンクション71に割り当てられ
る。
If it is determined in S21 that the range in which the blank for the entry frame is to be created is not specified in the document, the operation for creating the blank for the entry frame (hereinafter referred to as the entry frame) is performed.
The function is set in the document processing apparatus and displayed on the edit screen (S22). That is, as shown in FIG. 17, the function required for setting the entry frame is assigned to the function 71 displayed at the lower end of the document edit screen 70.

【0191】CPU1は、上記ファンクション71の各
機能に割り当てられたファンクションキーが押されるこ
とで、押されたファンクションキーに対応する機能に応
じた処理を行うようになっている。
When the function key assigned to each function of the function 71 is pressed, the CPU 1 carries out the processing corresponding to the function corresponding to the pressed function key.

【0192】そして、ファンクション71のファンクシ
ョンキーのうち、記入枠の新規作成のための新規枠作成
キーが押されたか否かが判定される(S23)。
Then, of the function keys of the function 71, it is determined whether or not a new frame creation key for creating a new entry frame has been pressed (S23).

【0193】S23において、新規枠作成キーが押され
れば、図25に示すような新規枠作成するための処理の
S31に移行する。このS31以降の処理については、
後述する。また、新規枠作成キーが押されなければ、記
入枠の設定内容の変更のための枠変更キーが押されたか
否かが判定される(S24)。
If the new frame creation key is pressed in S23, the process moves to S31 of the process for creating a new frame as shown in FIG. Regarding the processing after S31,
It will be described later. If the new frame creation key has not been pressed, it is determined whether the frame change key for changing the setting content of the entry frame has been pressed (S24).

【0194】S24において、枠変更キーが押されれ
ば、図26に示すような記入枠の設定内容変更するため
の処理のS41に移行する。このS41以降の処理につ
いては、後述する。また、枠変更キーが押されなけれ
ば、記入枠の消去のための枠消去キーが押されたか否か
が判定される(S25)。
If the frame change key is pressed in S24, the process proceeds to S41 of the process for changing the setting contents of the entry frame as shown in FIG. The processing after S41 will be described later. If the frame change key is not pressed, it is determined whether the frame delete key for deleting the entry frame is pressed (S25).

【0195】S25において、枠消去キーが押されれ
ば、図27に示すような記入枠を消去するための処理の
S51に移行する。このS51以降の処理については、
後述する。また、枠消去キーが押されなければ、設定す
る記入枠の枠単位を設定するための枠単位設定キーが押
されたか否かが判定される(S26)。
If the frame deletion key is pressed in S25, the process moves to S51 of the process for deleting the entry frame as shown in FIG. Regarding the processing after S51,
It will be described later. If the frame erase key is not pressed, it is determined whether the frame unit setting key for setting the frame unit of the entry frame to be set is pressed (S26).

【0196】S26において、枠単位設定キーが押され
れば、図28に示すような記入枠の枠単位を設定するた
めの処理のS61に移行する。このS61以降の処理に
ついては、後述する。また、枠単位設定キーが押されな
ければ、既に文書中に設定された記入枠を別の位置に移
動させるための枠移動キーが押されたか否かが判定され
る(S27)。
If the frame unit setting key is pressed in S26, the process proceeds to S61 of the process for setting the frame unit of the entry frame as shown in FIG. The processing after S61 will be described later. If the frame unit setting key is not pressed, it is determined whether the frame moving key for moving the entry frame already set in the document to another position is pressed (S27).

【0197】S27において、枠移動キーが押されれ
ば、図29に示すような記入枠の移動のための処理のS
71に移行する。このS71以降の処理については、後
述する。また、枠移動キーが押されなければ、既に文書
中に設定された記入枠と同じ記入枠を別の位置に複写す
るための枠複写キーが押されたか否かが判定される(S
28)。
If the frame move key is pressed in S27, the process for moving the entry frame as shown in FIG. 29 is performed in S.
Transition to 71. The processing after S71 will be described later. If the frame move key is not pressed, it is determined whether or not the frame copy key for copying the same input frame as the one already set in the document to another position is pressed (S).
28).

【0198】S28において、枠複写キーが押されれ
ば、図30に示すような記入枠の複写のための処理のS
81に移行する。このS81以降の処理については、後
述する。また、枠複写キーが押されなければ、枠終了キ
ーが押されたか否かが判定される(S29)。
If the frame copy key is pressed in S28, S in the process for copying the entry frame as shown in FIG.
Transition to 81. The processing after S81 will be described later. If the frame copy key is not pressed, it is determined whether the frame end key is pressed (S29).

【0199】S29において、枠終了キーが押されれ
ば、枠作成モードが終了され、文書編集画面70上に枠
書式入力ウィンドウ等の記入枠用空欄設定用のウィンド
ウが表示されていれば、これを消し、再び文書作成モー
ドに切り替えられる。尚、上記の枠作成モードは、上記
の枠終了キーが押されるまで続行される。
In S29, if the frame end key is pressed, the frame creation mode is ended, and if a blank frame setting window such as a frame format input window is displayed on the document edit screen 70, Then, you can switch to the document creation mode again. The frame creation mode is continued until the frame end key is pressed.

【0200】次に、新規枠作成処理の流れについて、図
25に示すフローチャートを参照しながら以下に説明す
る。尚、本処理では、表示装置3上の文書編集画面70
を枠作成モードに設定した状態で行われるものとする。
以下の他の枠設定に関する処理においても同様とする。
Next, the flow of the new frame creating process will be described below with reference to the flowchart shown in FIG. In this process, the document edit screen 70 on the display device 3 is displayed.
Is performed in the frame creation mode.
The same applies to the following processing related to frame setting.

【0201】先ず、新規枠作成キーが押されると、図3
に示す状態変数テーブル9の内容を、RAMの作業領域
に読み込む(S31)。
First, when the new frame creation key is pressed, FIG.
The contents of the state variable table 9 shown in are read into the work area of the RAM (S31).

【0202】次いで、文書中に記入枠を設定する範囲が
既に指定されているか否かが判定される(S32)。こ
こで、範囲指定済みであれば、S34に移行する。範囲
指定済みで無ければ、枠の作成位置を文書中に指定する
(S33)。
Next, it is determined whether or not the range for setting the entry frame has already been designated in the document (S32). If the range has been specified, the process proceeds to S34. If the range has not been specified, the creation position of the frame is specified in the document (S33).

【0203】次に、S31で読み込んだ状態変数テーブ
ル9の内容に応じて、表示画面上に、図18〜図20に
示す枠書式入力ウィンドウ72・73・74の何れか1
つを表示する(S34)。
Next, in accordance with the contents of the state variable table 9 read in S31, any one of the frame format input windows 72, 73 and 74 shown in FIGS. 18 to 20 is displayed on the display screen.
Is displayed (S34).

【0204】そして、上記の枠書式入力ウィンドウの表
示内容に基づいて記入枠の書式を設定する(S35)。
この書式設定において、枠単位が文字の場合、印刷後に
手書きすべき文字数を、枠単位が行の場合、所望する行
数を入力することで、記入枠が設定されるようになる。
また、この枠書式入力ウィンドウにおける書式設定で
は、設定される記入枠の枠種・枠の太さ・枠の線種・仕
切り線の有無・仕切り線の太さ・仕切り線の種類、およ
び記入文字サイズ・記入行サイズを選択することができ
るようになっているので、使用者が所望する形式の記入
枠を自在に設定することができる。
Then, the format of the entry frame is set based on the display contents of the frame format input window (S35).
In this format setting, when the frame unit is a character, the number of characters to be handwritten after printing is input, and when the frame unit is a line, the desired number of lines is input to set the entry frame.
Also, in the format settings in this frame format input window, the frame type of the input frame to be set, the thickness of the frame, the line type of the frame, the presence or absence of divider lines, the thickness of the divider line, the type of divider line, and the entry character Since the size and the size of the entry line can be selected, the entry frame in the format desired by the user can be freely set.

【0205】次いで、上記のようにして設定された書式
に基づいて、状態変数テーブル9の内容が更新される
(S36)。そして、状態変数テーブル9の内容に基づ
いて、変数テーブル作成手段18によって当該記入枠用
の例えば図2に示すような変数テーブル10が作成され
る(S37)。尚、前述したように、上記変数テーブル
10は、記入枠毎に作成されるものであるので、複数の
記入枠用空欄が文書中に設定された場合に、それぞれの
記入枠用空欄のサイズ等を独立して設定することが可能
となる。これにより、上記の変数テーブル10が各記入
枠用空欄で共通化されている場合のように、一つの記入
枠用空欄の状態変数を削除・変更した場合に他の記入枠
用空欄のサイズ等に影響を与えることがないので、記入
枠用空欄を含む文書の作成効率を向上させることができ
る。
Next, the contents of the state variable table 9 are updated based on the format set as described above (S36). Then, based on the contents of the state variable table 9, the variable table creating means 18 creates the variable table 10 for the entry frame, for example, as shown in FIG. 2 (S37). As described above, since the variable table 10 is created for each entry frame, when a plurality of entry frame blanks are set in the document, the size of each entry frame blank, etc. Can be set independently. As a result, when the variable table 10 is shared by the blanks for each entry frame, when the state variable of one blank for the entry frame is deleted or changed, the size of the other blanks for the entry frame, etc. Therefore, it is possible to improve the creation efficiency of the document including the blank space for the entry frame.

【0206】最後に、記入枠に対する変数テーブル10
が作成された後、枠単位毎の記入枠作成のための処理が
実行される。この処理については、後述する。
Finally, the variable table 10 for the entry frame
After the is created, the process for creating the entry frame for each frame unit is executed. This processing will be described later.

【0207】次に、枠変更処理の流れについて、図26
に示すフローチャートを参照しながら以下に説明する。
Next, FIG. 26 shows the flow of frame change processing.
This will be described below with reference to the flowchart shown in FIG.

【0208】先ず、枠変更キーが押されると、変更対象
となる記入枠を含む範囲が既に指定されているか否かが
判定される(S41)。ここで、範囲指定済みであれ
ば、S43に移行する。範囲指定済みで無ければ、文書
中から変更する記入枠の指定を行う(S42)。
First, when the frame change key is pressed, it is determined whether or not the range including the entry frame to be changed has already been designated (S41). If the range has been specified, the process proceeds to S43. If the range has not been specified, the entry frame to be changed is specified from the document (S42).

【0209】次に、上記で指定された記入枠の変数テー
ブル10の内容を読み込みを行う(S43)。そして、
この変数テーブル10の内容を状態変数テーブル9に書
き込み、この状態変数テーブル9の内容に応じて、表示
画面上に、図18〜図20に示す枠書式入力ウィンドウ
72・73・74の何れか1つを表示する(S44)。
Next, the contents of the variable table 10 in the entry frame specified above are read (S43). And
The contents of the variable table 10 are written in the state variable table 9, and one of the frame format input windows 72, 73, and 74 shown in FIGS. 18 to 20 is displayed on the display screen according to the contents of the state variable table 9. Is displayed (S44).

【0210】次いで、上記の枠書式入力ウィンドウの表
示内容に表示された書式の変更内容を入力する(S4
5)。
Then, the contents of the change of the format displayed in the display contents of the frame format input window are input (S4).
5).

【0211】そして、上記のようにして変更された書式
に基づいて、変数テーブル10の内容が更新される(S
46)。
Then, the contents of the variable table 10 are updated based on the format changed as described above (S).
46).

【0212】最後に、変数テーブル10の内容が変更に
なったので、指定した記入枠を消去する(S47)。そ
して、記入枠の消去後、枠単位毎の記入枠作成のための
処理が実行される。この処理については、後述する。
Finally, since the contents of the variable table 10 have been changed, the designated entry frame is deleted (S47). Then, after the entry frame is erased, a process for creating an entry frame is performed for each frame unit. This processing will be described later.

【0213】次に、枠消去処理の流れについて、図27
に示すフローチャートを参照しながら以下に説明する。
Next, FIG. 27 shows the flow of the frame erasing process.
This will be described below with reference to the flowchart shown in FIG.

【0214】先ず、枠消去キーが押されると、消去対象
となる記入枠を含む範囲が既に指定されているか否かが
判定される(S51)。ここで、範囲指定済みであれ
ば、S53に移行する。範囲指定済みで無ければ、文書
中から消去する記入枠の指定を行う(S52)。
First, when the frame deletion key is pressed, it is determined whether or not the range including the entry frame to be deleted has already been designated (S51). If the range has been specified, the process proceeds to S53. If the range has not been specified, the entry frame to be deleted from the document is specified (S52).

【0215】次に、図22に示すような消去を確認する
ための枠消去ウィンドウ76が表示される(S53)。
そして、消去OKか否を使用者に促し(S54)、使用
者が消去OKと判断すれば、実行キーが押されて記入枠
が消去される(S55)。また、使用者が消去しないと
判断すれば、図24に示すS23に移行する。
Next, a frame deletion window 76 for confirming deletion as shown in FIG. 22 is displayed (S53).
Then, the user is prompted to confirm whether the deletion is OK (S54), and if the user determines that the deletion is OK, the execution key is pressed and the entry frame is deleted (S55). If the user determines not to erase, the process proceeds to S23 shown in FIG.

【0216】最後に、記入枠が消去されたので、該記入
枠の変数テーブル10が解放される(S56)。即ち、
消去された記入枠の変数テーブル10の内容を消去し、
新たに設定される記入枠の変数テーブル10として使用
される。そして、記入枠の消去後、再び、図24に示す
S23に移行する。
Finally, since the entry frame has been deleted, the variable table 10 of the entry frame is released (S56). That is,
Delete the contents of the variable table 10 of the deleted entry frame,
It is used as the variable table 10 of the newly set entry frame. Then, after the entry frame is erased, the process moves to S23 shown in FIG. 24 again.

【0217】次に、枠単位設定処理の流れについて、図
28に示すフローチャートを参照しながら以下に説明す
る。
Next, the flow of the frame unit setting process will be described below with reference to the flowchart shown in FIG.

【0218】先ず、枠単位設定キーが押されると、状態
変数テーブル9から枠単位に関する情報を読み込む(S
61)。そして、図21に示すような枠単位設定ウィン
ドウ75を表示する(S62)。
First, when the frame unit setting key is pressed, the information on the frame unit is read from the state variable table 9 (S
61). Then, the frame unit setting window 75 as shown in FIG. 21 is displayed (S62).

【0219】次いで、所望する枠単位を入力する(S6
3)。これにより、状態変数テーブル9の枠単位が対応
した値に更新される(S64)そして、枠単位の設定
後、再び、図24に示すS23に移行する。
Then, a desired frame unit is input (S6).
3). As a result, the frame unit of the state variable table 9 is updated to the corresponding value (S64), and after setting the frame unit, the process proceeds to S23 shown in FIG. 24 again.

【0220】次に、枠移動処理の流れについて、図29
に示すフローチャートを参照しながら以下に説明する。
Next, FIG. 29 shows the flow of the frame moving process.
This will be described below with reference to the flowchart shown in FIG.

【0221】先ず、枠移動キーが押されると、移動対象
となる記入枠を含む範囲が既に指定されているか否かが
判定される(S71)。ここで、範囲指定済みであれ
ば、S73に移行する。範囲指定済みで無ければ、文書
中から移動させる記入枠の指定を行う(S72)。
First, when the frame move key is pressed, it is determined whether or not the range including the entry frame to be moved has already been designated (S71). If the range has been specified, the process proceeds to S73. If the range has not been specified, the entry frame to be moved from the document is specified (S72).

【0222】次いで、指定された記入枠の変数テーブル
10が読み込まれる(S73)。そして、移動先の指定
が行われ(S74)、移動元の記入枠が消去される(S
75)。
Next, the variable table 10 of the designated entry frame is read (S73). Then, the destination is designated (S74) and the entry frame of the source is erased (S74).
75).

【0223】最後に、移動先において、読み込んだ変数
テーブル10に基づいて、枠単位に応じた記入枠作成の
ための、図31〜図33の何れかの処理が実行される。
この処理については、後述する。
Finally, at the destination, on the basis of the read variable table 10, one of the processes shown in FIGS. 31 to 33 is executed for creating the entry frame according to the frame unit.
This processing will be described later.

【0224】次に、枠複写処理の流れについて、図30
に示すフローチャートを参照しながら以下に説明する。
Next, FIG. 30 shows the flow of the frame copying process.
This will be described below with reference to the flowchart shown in FIG.

【0225】先ず、枠複写キーが押されると、複写対象
となる記入枠を含む範囲が既に指定されているか否かが
判定される(S81)。ここで、範囲指定済みであれ
ば、S83に移行する。範囲指定済みで無ければ、文書
中から移動させる記入枠の指定を行う(S82)。
First, when the frame copy key is pressed, it is determined whether or not the range including the entry frame to be copied has already been designated (S81). If the range has been specified, the process proceeds to S83. If the range has not been specified, the entry frame to be moved from the document is specified (S82).

【0226】次いで、指定された記入枠の変数テーブル
10が読み込まれ(S83)、複写先の指定が行われる
(S84)。そして、複写先の記入枠に対応する変数テ
ーブル10を、複写元の記入枠の変数テーブル10に基
づいて新たに作成する(S85)。
Next, the variable table 10 of the designated entry frame is read (S83), and the copy destination is designated (S84). Then, the variable table 10 corresponding to the entry frame of the copy destination is newly created based on the variable table 10 of the entry frame of the copy source (S85).

【0227】最後に、複写先において、読み込んだ変数
テーブル10に基づいて、枠単位に応じた記入枠作成の
ための、図31〜図33の何れかの処理が実行される。
この処理については、後述する。
Finally, at the copy destination, based on the read variable table 10, any one of the processes shown in FIGS. 31 to 33 is executed for creating the entry frame according to the frame unit.
This processing will be described later.

【0228】以上のように、枠作成モードでは、上記し
たような機能を有するファンクションがそれぞれのファ
ンクションキーに割り当てられるようになっているの
で、記入枠の作成等において、所望する操作に対応する
ファンクションキーを押すだけで所望する記入枠の設定
のための処理を行うことができる。
As described above, in the frame creation mode, the functions having the above-described functions are assigned to the respective function keys. Therefore, the function corresponding to the desired operation in creating the entry frame, etc. A process for setting a desired entry frame can be performed simply by pressing a key.

【0229】ここで、枠単位毎の記入枠の作成処理につ
いて、図31〜図33に示すフローチャートを参照しな
がら以下に説明する。尚、この記入枠作成処理は、図3
1に示すように、作成すべき記入枠に対応する変数テー
ブル10を読み込み(S91)、この変数テーブル10
の内容に基づいて記入枠が作成されるようになってい
る。
Now, the process of creating the entry frame for each frame unit will be described below with reference to the flow charts shown in FIGS. Note that this entry frame creation process is shown in FIG.
As shown in FIG. 1, the variable table 10 corresponding to the entry frame to be created is read (S91), and the variable table 10 is read.
The entry frame is created based on the contents of.

【0230】そして、S91にて読み込まれた変数テー
ブル10から枠単位を検出することで、枠単位に応じた
記入枠の作成処理が行われるようになっている。即ち、
S91にて、枠単位が文字である場合には、図31に示
すフローチャートに基づいて記入枠の作成が行われ、枠
単位が行である場合には、図32に示すフローチャート
に基づいて記入枠の作成が行われ、枠単位が指定範囲で
ある場合には、図33に示すフローチャートに基づいて
記入枠の作成が行われる。
Then, by detecting the frame unit from the variable table 10 read in S91, the entry frame creating process corresponding to the frame unit is performed. That is,
In S91, if the frame unit is a character, an entry frame is created based on the flowchart shown in FIG. 31, and if the frame unit is a line, the entry frame is created based on the flowchart shown in FIG. When the frame unit is within the designated range, the entry frame is created based on the flowchart shown in FIG.

【0231】先ず、枠単位が文字である場合の記入枠の
作成処理の流れについて、図31に示すフローチャート
を参照しながら説明する。
First, the flow of processing for creating an entry frame when the frame unit is a character will be described with reference to the flowchart shown in FIG.

【0232】S91において、枠単位が読み込まれた
後、その枠単位を示す入力単位が文字であるか否かが判
定される(S92)。ここで、入力単位が文字でないと
判定されれば、図32に示すS111に移行する。そし
て、入力単位が文字であると判定されれば、設定すべき
記入枠に、仕切り線の有無が判定される(S93)。
After the frame unit is read in S91, it is determined whether or not the input unit indicating the frame unit is a character (S92). Here, if it is determined that the input unit is not a character, then the flow shifts to S111 shown in FIG. Then, if it is determined that the input unit is a character, it is determined whether or not there is a partition line in the entry frame to be set (S93).

【0233】S93において、仕切り線が無ければ、該
記入枠は、例えば図11に示すような記入枠と想定する
ことができるので、記入枠の横幅を考慮した前述の式
(1)(2)(3)に基づいて、記入枠のために必要と
される外縁の横幅W、縦幅H、記入枠が使用する編集枠
中の文字数Nを算出する(S94)。また、仕切り線が
あれば、該記入枠は、例えば図12に示すような記入枠
と想定することができるので、前述の式(4)(2)
(3)に基づいて、記入枠のために必要とされる外縁の
横幅W、縦幅H、記入枠が使用する編集枠中の文字数N
を算出する(S95)。
In S93, if there is no partition line, the entry frame can be assumed to be the entry frame as shown in FIG. 11, for example. Therefore, the above equations (1) and (2) considering the width of the entry frame are considered. Based on (3), the width W of the outer edge, the vertical width H, and the number N of characters in the edit frame used by the entry frame are calculated for the entry frame (S94). Further, if there is a partition line, the entry frame can be assumed to be an entry frame as shown in FIG. 12, for example, so that the above equations (4) and (2) are used.
Based on (3), the width W of the outer edge, the vertical width H, and the number N of characters in the editing frame used by the entry frame are required for the entry frame.
Is calculated (S95).

【0234】次に、作成する記入枠が行末を越えるか否
かが判定される(S96)。このときの判定には、前述
の式(12)が使用される。即ち式(12)の関係が成
り立てば、記入枠が行末を越えると判定される。
Next, it is determined whether the entry frame to be created extends beyond the end of the line (S96). The above equation (12) is used for the determination at this time. That is, if the relationship of Expression (12) is established, it is determined that the entry frame exceeds the line end.

【0235】S96において、記入枠が行末を越えると
判定されれば、記入枠を2行に分けて作成するか否かが
判断される(S97)。この場合、表示装置3に作成し
ようとする記入枠が行末を越えている旨を表示すること
で、使用者自身が記入枠を2行に分けて作成するか否か
を判断するようになっている。
If it is determined in S96 that the entry frame extends beyond the end of the line, it is determined whether the entry frame is divided into two lines to be created (S97). In this case, by displaying on the display device 3 that the entry frame to be created exceeds the end of the line, the user himself / herself determines whether or not to create the entry frame in two lines. There is.

【0236】また、S96において、記入枠が行末を越
えないと判定されれば、記入枠が作成される行の改行ピ
ッチを記入枠のために必要な縦幅Hの大きさに応じて設
定する(S98)。この場合、前述の式(15)(1
4)によって、記入枠用空欄が設定される行とその上の
行の改行ピッチが記入枠用空欄の外縁の縦幅Hに変更さ
れる。
If it is determined in S96 that the entry frame does not extend beyond the end of the line, the line feed pitch of the line in which the entry frame is created is set according to the size of the vertical width H required for the entry frame. (S98). In this case, equation (15) (1
By 4), the line feed pitch of the line in which the blank for the entry frame is set and the line above it is changed to the vertical width H of the outer edge of the blank for the entry frame.

【0237】S97において、記入枠を2行に分けて作
成する場合、記入枠を作成するための2行分の改行ピッ
チを記入枠のために必要な縦幅Hの大きさに応じて設定
する(S99)。この場合、前述の式(14)(15)
(16)によって、記入枠用空欄が設定される2行とそ
の下の行の改行ピッチが記入枠用空欄の外縁の縦幅Hに
変更される。
In S97, when the entry frame is divided into two lines and is created, the line feed pitch for two lines for creating the entry frame is set according to the size of the vertical width H required for the entry frame. (S99). In this case, the above equations (14) and (15)
By (16), the line feed pitches of the two lines in which the blanks for entry frames are set and the lines below the two lines are changed to the vertical width H of the outer edge of the blanks for entry frames.

【0238】S97において、記入枠を2行に分けて作
成しない場合、改頁した行、即ち記入枠が作成される行
の改行ピッチを記入枠のために必要な縦幅Hの大きさに
応じて設定する(S100)。この場合、前述の式(1
5)(16)によって、記入枠用空欄が設定される行
(実際は最初に設定しようとした行の次の行になる)と
その下の行の改行ピッチが記入枠用空欄の外縁の縦幅H
に変更される。
In S97, if the entry frame is not divided into two lines and is not created, the line feed pitch of the page break, that is, the line in which the entry frame is created, is determined according to the size of the vertical width H required for the entry frame. (S100). In this case, the above equation (1
5) According to (16), the line in which the blank for the entry frame is set (actually the line next to the line that was initially set) and the line feed pitch of the line below it are the vertical width of the outer edge of the blank for the entry frame. H
Is changed to.

【0239】次に、記入枠が行末を越えない場合には、
S94あるいはS95で設定したW、H、NおよびS9
8で設定した改行ピッチに基づいて、記入枠を作成する
(S101)。
Next, if the entry frame does not extend beyond the end of the line,
W, H, N and S9 set in S94 or S95
An entry frame is created based on the line feed pitch set in step 8 (S101).

【0240】また、記入枠が行末を越え、且つ2行に分
けて記入枠を作成する場合には、S94あるいはS95
で設定したW、H、NおよびS99で設定した改行ピッ
チに基づいて、記入枠のうち行末までのK(1行分の文
字数)−K1 (左端から記入枠を設定しようとする位置
の直前までの文字数)文字分だけを当該行に作成し、残
りを次の行に作成する(S102)。
If the entry frame exceeds the end of the line and is divided into two lines to create the entry frame, S94 or S95 is used.
Based on W, H, N set in step S and the line feed pitch set in S99, K (the number of characters for one line) to the end of the entry frame-K 1 (from the left end just before the position where the entry frame is to be set) (Number of characters up to) are created in the line, and the rest are created in the next line (S102).

【0241】さらに、記入枠が行末を越え、且つ改行し
て記入枠を作成する場合には、S94あるいはS95で
設定したW、H、NおよびS100で設定した改行ピッ
チに基づいて、当該行の次の行に記入枠を作成する(S
103)。
Further, when the entry frame exceeds the end of the line and the line feed is performed to create a new entry frame, based on the line feed pitches set in S94 or S95, the line feed pitch set in S100 or S95 is used. Create an entry frame on the next line (S
103).

【0242】上記S101〜S103における記入枠の
作成処理後、再び図24に示すS23に移行する。
After the processing of creating the entry frame in S101 to S103, the process shifts to S23 shown in FIG.

【0243】次に、入力単位が行である場合の記入枠の
作成処理の流れについて、図32に示すフローチャート
を参照しながら説明する。
Next, the flow of the entry frame creation processing when the input unit is a line will be described with reference to the flowchart shown in FIG.

【0244】図31に示すS92において、入力単位が
文字でないと判定された後、続いて、入力単位が行であ
るか否かが判定される(S111)。ここで、入力単位
が行でなければ、図33に示すS121に移行する。
In S92 shown in FIG. 31, after it is determined that the input unit is not a character, it is subsequently determined whether or not the input unit is a line (S111). If the input unit is not a line, the process proceeds to S121 shown in FIG.

【0245】S111において、入力単位が行であると
判定されれば、記入枠のために必要とされる横幅W、縦
幅H、記入枠が使用する編集枠中の行数Mを算出する
(S112)。入力単位が行である場合、記入枠は、例
えば図14に示すように、横方向に仕切り線があり、縦
方向の仕切り線は無いものを前提としており、S111
における処理では、横方向の仕切り線のみを考慮するも
のとする。この場合、上記W、H、Mは、前述した式
(5)〜式(7)に基づいて算出されるものとする。
If it is determined in S111 that the input unit is a line, the horizontal width W, the vertical width H required for the entry frame, and the number M of lines in the editing frame used by the entry frame are calculated ( S112). When the input unit is a line, it is assumed that the entry frame has a partition line in the horizontal direction and no partition line in the vertical direction, as shown in FIG.
In the processing in (3), only the horizontal partition line is considered. In this case, the W, H, and M are calculated based on the equations (5) to (7) described above.

【0246】次いで、作成されるべき記入枠が頁末を越
えるか否かが判断される(S113)。このときの判定
には、前述の式(13)が使用される。即ち式(13)
の関係が成り立てば、記入枠が頁末を越えると判定され
る。
Next, it is determined whether or not the entry frame to be created exceeds the end of the page (S113). The above equation (13) is used for the determination at this time. That is, equation (13)
If the relationship of is established, it is determined that the entry frame exceeds the end of the page.

【0247】S113において、記入枠が頁末を越える
と判定されれば、記入枠を2頁に分けて作成するか否か
が判断される(S114)。この場合、表示装置3に作
成しようとする記入枠が頁末を越えている旨を表示する
ことで、使用者自身が記入枠を2頁に分けて作成するか
否かを判断するようになっている。
If it is determined in S113 that the entry frame exceeds the end of the page, it is determined whether or not the entry frame is divided into two pages to be created (S114). In this case, by displaying on the display device 3 that the entry frame to be created exceeds the end of the page, the user himself / herself determines whether or not to create the entry frame in two pages. ing.

【0248】また、S113において、記入枠が頁末を
越えないと判定されれば、S112で算出されたW、
H、Mに基づいて、記入枠が作成される(S115)。
If it is determined in S113 that the entry frame does not extend beyond the end of the page, then W calculated in S112,
An entry frame is created based on H and M (S115).

【0249】S114において、記入枠を2頁に分けて
作成する場合、S112で算出されたW、H、Mに基づ
いて、記入枠のうち頁末までのJ(1頁の行数)−J1
(頁の先頭の行から記入枠を設定しようとする行までの
行数)行分だけを当該頁に作成し、残りを次の頁に作成
する(S116)。
In S114, when the entry frame is divided into two pages and is created, J (the number of lines on one page) -J to the end of the entry frame is calculated based on W, H, and M calculated in S112. 1
(Number of lines from the first line of the page to the line for which the entry frame is to be set) Only lines are created on the page, and the rest are created on the next page (S116).

【0250】S114において、記入枠を2頁に分けて
作成しな場合、S112で算出されたW、H、Mに基づ
いて、当該頁から次頁に改頁して、その頁に記入枠を作
成する(S117)。
In S114, if the entry frame is not created by dividing it into two pages, the page is changed from that page to the next page based on the W, H, and M calculated in S112, and the entry frame is placed on that page. Create (S117).

【0251】上記S115〜S117の記入枠の作成処
理後、再び図24に示すS23に移行する。
After the processing for creating the entry frame in S115 to S117, the process shifts to S23 shown in FIG.

【0252】次に、入力単位が指定範囲である場合の記
入枠の作成処理の流れについて、図33に示すフローチ
ャートを参照しながら説明する。
Next, the flow of the entry frame creation processing when the input unit is the designated range will be described with reference to the flowchart shown in FIG.

【0253】図32に示すS111において、入力単位
が行でないと判定された後、続いて、枠単位が指定範囲
であるか否かが判定される(S121)。ここで、枠単
位が指定範囲でないと判定されれば、所定のエラー処理
が行われる(S122)。
In S111 shown in FIG. 32, after it is determined that the input unit is not a line, it is subsequently determined whether the frame unit is within the designated range (S121). Here, if it is determined that the frame unit is not within the designated range, a predetermined error process is performed (S122).

【0254】S122におけるエラー処理について説明
する。文書処理装置が正常に動作すれば、このS121
では、図31のS92がNO、且つ図32のS111が
NOであるので、入力単位が文字で無く、行でないので
入力単位は指定範囲であると判定される。しかしなが
ら、装置内に何らかの不具合が生じた場合には、S12
1においてNOと判定する虞があり、このような場合に
は、システムダウン等の装置の不具合を回避するため
に、エラー処理が実行される。このエラー処理では、使
用者に不具合が発生したことを知らせ、このときの設定
を無効にして、例えば図24に示すS22に移行し、再
び枠作成モードを再スタートするようにしている。
The error processing in S122 will be described. If the document processing apparatus operates normally, this S121
Then, since S92 of FIG. 31 is NO and S111 of FIG. 32 is NO, the input unit is not a character and is not a line, so it is determined that the input unit is within the specified range. However, if any trouble occurs in the device, S12
There is a possibility that NO will be determined in 1, and in such a case, error processing is executed in order to avoid a malfunction of the device such as a system down. In this error processing, the user is notified that a defect has occurred, the setting at this time is invalidated, the process proceeds to S22 shown in FIG. 24, and the frame creation mode is restarted again.

【0255】S121において、入力単位が指定範囲で
あると判定されれば、指定された範囲内における文字数
および行数を認識し、これらの入力文字数および入力行
数をそれぞれを記入文字数A1 、記入行数A2 に代入す
る(S123)。
If it is determined in S121 that the input unit is within the specified range, the number of characters and the number of lines within the specified range are recognized, and the number of input characters and the number of input lines are entered and the number of characters A 1 is entered. The number of rows A 2 is substituted (S123).

【0256】次いで、設定される記入枠の縦仕切り線の
有無が判定される(S124)。ここで、縦仕切り線が
無いと判定されれば、記入枠のために必要とされる横幅
W、縦幅H、記入枠が使用する編集枠中の文字数Nおよ
び行数Mを算出する(S125)。この場合、上記の
W、H、N、Mは、記入枠に縦仕切り線が無いので、例
えば前述の式(10)(11)(3)(7)に基づいて
算出すれば良い。
Next, it is judged whether or not there is a vertical partition line in the entry frame to be set (S124). If it is determined that there is no vertical partition line, the width W, the vertical width H, the number N of characters and the number M of lines in the editing frame used by the entry frame are calculated (S125). ). In this case, since W, H, N, and M described above have no vertical partition line in the entry frame, they may be calculated based on, for example, the above equations (10), (11), (3), and (7).

【0257】S124において、縦仕切り線が有ると判
定されれば、記入枠のために必要とされる横幅W、縦幅
H、記入枠が使用する編集枠中の文字数Nおよび行数M
を算出する(S126)。この場合、上記のW、H、
N、Mは、記入枠に縦仕切り線が有るので、例えば前述
の式(9)(10)(3)(7)に基づいて算出すれば
良い。
If it is determined in S124 that there is a vertical partition line, the width W, the vertical width H, the number of characters N and the number of lines M in the editing frame used by the entry frame are required for the entry frame.
Is calculated (S126). In this case, the above W, H,
Since N and M have vertical partition lines in the entry frame, they may be calculated based on the above equations (9), (10), (3) and (7), for example.

【0258】次いで、記入枠が行末を越えるか否かを判
定する(S127)。このときの判定には、前述の式
(12)が使用される。即ち式(12)の関係が成り立
てば、記入枠が行末を越えると判定される。
Next, it is determined whether the entry frame exceeds the end of the line (S127). The above equation (12) is used for the determination at this time. That is, if the relationship of Expression (12) is established, it is determined that the entry frame exceeds the line end.

【0259】S127において、記入枠が行末を越える
と判定されれば、エラー処理が行われる(S128)。
If it is determined in S127 that the entry frame exceeds the end of the line, error processing is performed (S128).

【0260】S128におけるエラー処理について説明
する。生成しようとする記入枠のサイズや位置によって
は、その生成位置を算出すると、行末を越えることにな
る場合があり、そのような場合は、生成不可能であるこ
とを使用者に知らせ、その設定を無効にするといった内
容のエラー処理が実行される。このエラー処理では、使
用者に不具合が発生したことを知らせ、このときの設定
を無効にして、例えば図24に示すS22に移行し、再
び枠作成モードを再スタートするようにしている。
The error processing in S128 will be described. Depending on the size and position of the entry frame to be created, calculating the creation position may exceed the end of the line.In such a case, notify the user that it cannot be created, and set it. Error processing such as invalidating is executed. In this error processing, the user is notified that a defect has occurred, the setting at this time is invalidated, the process proceeds to S22 shown in FIG. 24, and the frame creation mode is restarted again.

【0261】次いで、作成されるべき記入枠が頁末を越
えるか否かが判断される(S129)。このときの判定
には、前述の式(13)が使用される。即ち式(13)
の関係が成り立てば、記入枠が頁末を越えると判定され
る。
Next, it is determined whether or not the entry frame to be created exceeds the end of the page (S129). The above equation (13) is used for the determination at this time. That is, equation (13)
If the relationship of is established, it is determined that the entry frame exceeds the end of the page.

【0262】S129において、記入枠が頁末を越える
と判定されれば、記入枠を2頁に分けて作成するか否か
が判断される(S130)。この場合、表示装置3に作
成しようとする記入枠が頁末を越えている旨を表示する
ことで、使用者自身が記入枠を2頁に分けて作成するか
否かを判断するようになっている。
If it is determined in S129 that the entry frame exceeds the end of the page, it is determined whether or not the entry frame is divided into two pages and is created (S130). In this case, by displaying on the display device 3 that the entry frame to be created exceeds the end of the page, the user himself / herself determines whether or not to create the entry frame in two pages. ing.

【0263】また、S129において、記入枠が頁末を
越えないと判定されれば、S125あるいはS126で
算出されたW、H、N、Mに基づいて、記入枠が作成さ
れる(S131)。
If it is determined in S129 that the entry frame does not extend beyond the end of the page, the entry frame is created based on W, H, N and M calculated in S125 or S126 (S131).

【0264】S130において、記入枠を2頁に分けて
作成する場合、S125あるいはS126で算出された
W、H、N、Mに基づいて、記入枠のうち頁末までのJ
−J1 行分だけを当該頁に作成し、残りを次の頁に作成
する(S132)。
In S130, when the entry frame is divided into two pages to be created, J of the entry frame up to the end of the page is calculated based on W, H, N, and M calculated in S125 or S126.
-J Create only one line on the current page and the rest on the next page (S132).

【0265】S130において、記入枠を2頁に分けて
作成した場合、S125あるいはS126で算出された
W、H、N、Mに基づいて、当該頁から次頁に改頁し
て、その頁に記入枠を作成する(S133)。
In S130, when the entry frame is divided into two pages and created, the page is changed from the current page to the next page based on W, H, N, and M calculated in S125 or S126. An entry frame is created (S133).

【0266】上記S131〜S133の記入枠の作成処
理後、再び図24に示すS23に移行する。
[0266] After the processing for creating the entry frame in S131 to S133, the process shifts to S23 shown in Fig. 24 again.

【0267】ここで、上記構成の文書処理装置によっ
て、例えば図35に示すような試験問題を作成する場合
について、図36ないし図39を参照しながら以下に説
明する。
Here, a case where a test question as shown in, for example, FIG. 35 is created by the document processing apparatus having the above configuration will be described below with reference to FIGS. 36 to 39.

【0268】上記試験問題は、図35に示すように、文
書編集画面70で作成するものとし、『問1』には、文
書中に枠単位が文字である記入枠81…が作成され、
『問2』には、文書中に枠単位が行である記入枠82が
作成され、『問3』には、文書中に枠単位が指定範囲で
ある記入枠83が作成されている。
As shown in FIG. 35, it is assumed that the test questions are created on the document edit screen 70. In "Q1", an entry frame 81 ... In which the frame unit is a character in the document is created.
In "Q2", an entry frame 82 in which the frame unit is a line in the document is created, and in "Q3", an entry frame 83 in which the frame unit is a designated range is created in the document.

【0269】上記試験問題を作成する場合、まず、文書
データを、記入枠作成位置まで入力する。例えば図36
に示すように、文書編集画面70上で、文書データを途
中まで入力し、記入枠作成位置でカーソルを停止させ
る。このとき、文書編集画面70上のファンクション7
1には、文書作成モードから枠作成モードに切り換える
ための記入枠キーが割り当てられている。つまり、この
記入枠キーに対応するキーボード上のファンクションキ
ーを押すことで枠作成モードに切り替わるようになって
いる。
When creating the test questions, first, the document data is input up to the entry frame creating position. For example, in FIG.
As shown in, on the document edit screen 70, the document data is input halfway and the cursor is stopped at the entry frame creation position. At this time, the function 7 on the document edit screen 70
An entry frame key for switching from the document creation mode to the frame creation mode is assigned to 1. In other words, pressing the function key on the keyboard corresponding to this entry frame key switches to the frame creation mode.

【0270】文書編集画面70が枠作成モードに切り替
わると、例えば図37に示すように、ファンクション7
1が枠作成モード用に切り替わる。ここでは、文書編集
画面70上のカーソルの位置に枠単位が文字の記入枠8
1を新規に作成するので、ファンクション71の新規枠
作成71aに対応するファンクションキーを押せば良
い。
When the document edit screen 70 is switched to the frame creation mode, for example, as shown in FIG.
1 is switched to the frame creation mode. Here, a frame unit is a character input frame 8 at the position of the cursor on the document edit screen 70.
Since 1 is newly created, it suffices to press the function key corresponding to the new frame creation 71a of the function 71.

【0271】新規枠作成71aに対応するファンクショ
ンキーを押せば、図38に示すように、文書編集画面7
0上に枠単位が文字用の枠書式入力ウィンドウ72が表
示される。
When the function key corresponding to the new frame creation 71a is pressed, the document edit screen 7 is displayed as shown in FIG.
A frame format input window 72 whose frame unit is a character is displayed on 0.

【0272】ここで、作成すべき記入枠81に対する書
式は、上記枠書式入力ウィンドウ72から、記入文字数
72aが『2』文字、枠種72bが『囲い』、枠の太さ
72cが『太い』、枠の線種72dが『実線』、仕切り
線72eが『不要』、記入文字サイズ72hが『標準』
に設定されていることが分かる。このときの記入枠は、
枠書式入力ウィンドウ72の右端に表示されるイメージ
72iとなる。
Here, regarding the format for the entry frame 81 to be created, from the above-mentioned frame format input window 72, the number of entered characters 72a is "2" characters, the frame type 72b is "enclosure", and the thickness 72c of the frame is "thick". , Frame line type 72d is "solid line", partition line 72e is "unnecessary", entry character size 72h is "standard"
You can see that it is set to. The entry frame at this time is
The image 72i is displayed at the right end of the frame format input window 72.

【0273】上記の枠書式入力ウィンドウ72におい
て、仕切り線72eが『不要』である場合には、仕切り
線の太さや線種を設定する必要がないので、仕切り線の
太さ72fおよび線種72gは、図38に示すように、
前述した設定禁止手段23によって、網掛け等のハッチ
ングによって該項目における設定が禁止されるようにな
っている。
In the frame format input window 72, when the partition line 72e is "unnecessary", it is not necessary to set the thickness and line type of the partition line, so the partition line thickness 72f and line type 72g are set. 38, as shown in FIG.
The setting prohibiting means 23 described above prohibits the setting of the item by hatching such as hatching.

【0274】このように、枠書式入力ウィンドウ72に
て設定された書式に基づいて、図39に示すように、記
入枠81が作成される。このとき、記入枠81は、隣接
する行の文字と重ならないように、改行ピッチ調整手段
20によって記入枠81が作成される行の改行ピッチが
調整されている。ここで、記入枠81の作成後、再び文
書作成モードに戻る場合には、図37に示すファンクシ
ョン71の枠終了71gに対応するファンクションキー
を押せば良い。
As described above, based on the format set in the frame format input window 72, the entry frame 81 is created as shown in FIG. At this time, the line feed pitch of the line in which the line entry frame 81 is created is adjusted by the line feed pitch adjusting means 20 so that the line entry frame 81 does not overlap the characters of the adjacent lines. Here, in order to return to the document creation mode again after creating the entry frame 81, the function key corresponding to the frame end 71g of the function 71 shown in FIG. 37 may be pressed.

【0275】上記の説明では、図35に示す試験問題の
うち、『問1』の枠単位が文字の場合の記入枠81の作
成例について説明した。この記入枠81の作成と同様に
して『問2』の枠単位が行の記入枠82や『問3』の枠
単位が指定範囲の記入枠83を作成している。
In the above description, of the test questions shown in FIG. 35, an example of creating the entry frame 81 when the frame unit of “Q1” is a character has been described. Similar to the creation of the entry frame 81, an entry frame 82 in which the frame unit of “Q2” is a line and an entry frame 83 in which the frame unit of “Q3” is a designated range are created.

【0276】つまり、枠単位が行の記入枠82を作成す
る場合には、先ず、文書作成モードから枠作成モードに
切り替わったとき、図37に示す文書編集画面70にお
いて、枠単位設定71cに対応するファンクションキー
を押すことで、図21に示すような枠単位設定ウィンド
ウ75を表示させる。そして、この枠単位設定ウィンド
ウ75において、行単位の項目を設定した後、新規枠作
成71aに対応するファンクションキーを押して、図1
9に示すような枠単位が行の枠書式入力ウィンドウ73
を表示させる。この後は、上記記入枠81の書式設定と
同様にして、記入枠82の書式を設定する。そして、こ
の枠書式入力ウィンドウ73に基づいて記入枠82が形
成される。
That is, when the entry frame 82 in which the frame unit is the line is created, first, when the document creation mode is switched to the frame creation mode, the document unit edit screen 70 shown in FIG. 37 corresponds to the frame unit setting 71c. By pressing the function key, the frame unit setting window 75 as shown in FIG. 21 is displayed. Then, in this frame unit setting window 75, after setting the item for each line, the function key corresponding to the new frame creation 71a is pressed to
A frame format input window 73 in which the frame unit is a line as shown in 9
Is displayed. After that, the format of the entry frame 82 is set in the same manner as the format setting of the entry frame 81. Then, the entry frame 82 is formed based on the frame format input window 73.

【0277】また、枠単位が指定範囲の記入枠83を作
成する場合には、上記記入枠82の作成と同様に、指定
範囲用の枠書式入力ウィンドウ74を文書編集画面70
上に表示させて、記入枠83の書式を設定する。そし
て、この枠書式入力ウィンドウ74に基づいて記入枠8
3が形成される。
When creating the entry frame 83 in which the frame unit is the designated range, the frame format input window 74 for the designated range is displayed in the document edit screen 70 as in the case of creating the entry frame 82.
It is displayed above and the format of the entry frame 83 is set. Then, based on this frame format input window 74, the entry frame 8
3 is formed.

【0278】以上のように、上記構成の文書処理装置に
よれば、記入枠用空欄設定手段8によって、印刷後に手
書き文字を手書きするための記入枠を、この記入枠に手
書きすべき文字数、あるいは行数の少なくとも一方の値
を入力するだけで、入力値に応じて予め設定されている
大きさで、文書中に設定することができる。これによ
り、記入枠用空欄を設定するために、罫線作成手段等を
用いる必要がないので、書式に依存されることなく記入
枠用空欄を文書中に設定することができる。
As described above, according to the document processing apparatus having the above-described configuration, the entry frame blank space setting means 8 provides an entry frame for handwriting handwritten characters after printing, or the number of characters to be handwritten in the entry frame, or By inputting at least one value of the number of lines, the size can be set in the document in a size set in advance according to the input value. As a result, it is not necessary to use ruled line creating means or the like to set the blank space for the entry frame, so that the blank space for the entry frame can be set in the document without depending on the format.

【0279】また、記入枠用空欄の設定の操作は、枠単
位を指定するだけで、枠単位に応じた文字数や行数等に
相当する数値を入力することができるので、記入枠用空
欄作成の操作性を向上させることができる。
In addition, in the operation of setting the blank for the entry frame, it is possible to input the numerical value corresponding to the number of characters or the number of lines corresponding to the unit of the frame only by designating the unit of the frame. The operability of can be improved.

【0280】さらに、記入枠用空欄設定手段8には、枠
単位毎に記入枠用空欄の設定を行う文字記入枠設定手段
12、行記入枠設定手段13および指定範囲記入枠設定
手段14が設けられているので、必要な記入枠用空欄の
サイズおよび設定位置に応じた手段により記入枠用空欄
を設定することができ、この結果、記入枠用空欄設定を
効率良く行うことができる。
Further, the entry frame blank field setting means 8 is provided with a character entry frame setting means 12, a line entry frame setting means 13 and a designated range entry frame setting means 14 for setting a blank space for entry frame for each frame unit. Therefore, it is possible to set the blank space for the entry frame by a means according to the size and the setting position of the blank space for the entry frame, and as a result, the blank space for the entry frame can be efficiently set.

【0281】これにより、従来のように、記入枠用空欄
の設定が印刷様式に依存した場合のように、印刷結果を
見ながら試行錯誤して所望する記入枠用空欄のサイズを
決定する必要がなくなるので、記入枠用空欄設定におけ
る操作性を向上させることができる。よって、文書処理
装置の使い勝手を従来に比べて格段に向上させることが
できる。
As a result, it is necessary to determine the desired size of the blank space for the entry frame by trial and error while observing the print result, as in the conventional case where the setting of the blank space for the entry frame depends on the printing style. Since it is eliminated, it is possible to improve the operability in setting the blank space for the entry frame. Therefore, the usability of the document processing device can be significantly improved compared to the conventional one.

【0282】そして、文字記入枠設定手段12は、記入
文字数に相当する数値を入力するだけで、使用者は文書
の作成中に記入枠用空欄を設けたい箇所で、予定してい
る大きさの記入枠用空欄を文書の1行中に設定すること
ができるので、記入枠用空欄の作成のための試行錯誤を
行う必要が無くなり、記入枠用空欄を含む文章を効率良
く作成することができる。
Then, the character entry frame setting means 12 simply inputs a numerical value corresponding to the number of characters to be entered, and the user wants to provide an empty space for the entry frame during the preparation of the document, and the user can enter the desired size. Since the blank space for the entry frame can be set in one line of the document, it is not necessary to carry out trial and error for creating the blank space for the entry frame, and the sentence including the blank space for the entry frame can be efficiently created. .

【0283】また、行記入枠設定手段13は、使用者は
文書の作成中に記入枠用空欄を設けたい箇所で、行数に
相当する数値を入力するだけで、少なくとも文書1行分
の横幅を持ち、かつ手書き用に予定している行数に応じ
た縦幅を持つ記入枠用空欄を設定することができるの
で、記入枠用空欄が手書きし易い大きさで印刷されるよ
うに試行錯誤する必要が無くなり、記入枠用空欄を含む
文書の作成効率を向上させることができる。
Further, the line entry frame setting means 13 allows the user to input a numerical value corresponding to the number of lines at a place where the user wants to provide a blank space for the entry frame during the preparation of the document, and the width of at least one line of the document. Since it is possible to set a blank space for the entry frame that has a vertical width according to the number of lines planned for handwriting, trial and error is performed so that the blank space for the entry frame is printed in a size that is easy to handwrite. Since it is not necessary to do so, it is possible to improve the creation efficiency of the document including the blank space for the entry frame.

【0284】さらに、指定範囲記入枠設定手段14は、
文字数は記入枠用空欄の横幅に対応し、行数は記入枠用
空欄の縦幅に対応しているので、使用者は文書の作成中
に記入枠用空欄を設けたい箇所で、文字数と行数とで表
される領域に相当する数値を入力するだけで、手書きす
べき文字数に応じた記入枠用空欄を文書中に設定するこ
とができる。即ち、使用者は記入枠用空欄の横幅と縦幅
とを所望のサイズに自在に設定することができ、記入枠
用空欄を含む文書のレイアウトを決める自由度を、文字
記入枠設定手段12や行記入枠設定手段13で記入枠用
空欄を設定する場合よりもさらに高めることができる。
Furthermore, the designated range entry frame setting means 14 is
The number of characters corresponds to the width of the blank space for the entry frame, and the number of lines corresponds to the vertical width of the blank space for the entry frame. By simply inputting a numerical value corresponding to the area represented by the number and the number of characters to be handwritten, a blank space for the entry frame can be set in the document. That is, the user can freely set the horizontal width and the vertical width of the blank space for the input frame to a desired size, and the degree of freedom for determining the layout of the document including the blank space for the input frame can be set by the character input frame setting means 12 or This can be further increased as compared with the case where the line entry frame setting means 13 sets the entry frame blank space.

【0285】以上の説明では、記入枠用空欄は、文字記
入枠設定手段12、行記入枠設定手段13、指定範囲記
入枠設定手段14を用いて、枠単位である文字、行、あ
るいは指定範囲に対応した数値を、使用者が直接入力す
ることで、文書中に設定されるようになっている。
In the above description, the blank space for the entry frame is defined by using the character entry frame setting means 12, the line entry frame setting means 13, and the designated range entry frame setting means 14 for each character, line, or designated range which is a frame unit. The numerical value corresponding to is directly set by the user and set in the document.

【0286】また、本実施の形態では、上記の記入枠用
空欄の設定方法に限定されず、使用者が枠単位を考え
て、それに応じた数値を入力するのではなく、例えば文
書中に範囲を先に指定し、その指定範囲内に含まれる文
字数および行数から枠単位を判断し、この判断結果に基
づいて記入枠用空欄を設定するようにしても良い。
Further, the present embodiment is not limited to the above-mentioned method of setting the blank space for the entry frame, and the user does not input the numerical value according to the frame unit, but the range is written in the document, for example. May be designated first, the frame unit may be determined from the number of characters and the number of lines included in the designated range, and the blank space for entry frame may be set based on the result of this determination.

【0287】このようにして記入枠用空欄を設定する手
段として、図1に示す記入枠用空欄設定手段8には、範
囲指定形態選択手段21、記入枠処理設定手段22およ
び枠判断手段25が設けられている。
As means for setting the blank space for entry frame in this manner, the blank space setting means 8 for fill-in frame shown in FIG. 1 includes a range designation form selecting means 21, a fill-in frame processing setting means 22 and a frame judging means 25. It is provided.

【0288】範囲指定形態選択手段21は、表示装置3
に表示された文字データの任意の範囲を指定した場合
に、この指定範囲内に含まれる文字数および行数を認識
し、認識した文字数および行数によって、その指定範囲
の枠単位を判断し、この判断結果から上記文字記入枠設
定手段12、行記入枠設定手段13、指定範囲記入枠設
定手段14の何れかの手段を選択し、選択した手段によ
って記入枠用空欄を設定する手段である。尚、範囲の指
定には、画面上でカーソル等によって2点を指定するこ
とによって行われるものとする。
The range designation form selection means 21 is used for the display device 3.
When an arbitrary range of the character data displayed in is specified, the number of characters and the number of lines included in this specified range are recognized, and the number of recognized characters and the number of lines determine the frame unit of that specified range. This is a means for selecting any one of the character entry frame setting means 12, the line entry frame setting means 13, and the designated range entry frame setting means 14 from the judgment result, and setting the entry frame blank space by the selected means. The range is specified by specifying two points on the screen with a cursor or the like.

【0289】枠判断手段25は、表示装置3に表示され
た文字データの任意の範囲を指定した場合に、この指定
された範囲内に既に記入枠用空欄の一部あるいは全部が
1つだけ存在するか否かを判断するための手段である。
When the arbitrary range of the character data displayed on the display device 3 is designated, the frame judgment means 25 already has only one or all of the blank spaces for entry frames within the designated range. It is a means for determining whether or not to do.

【0290】記入枠処理設定手段22は、枠判断手段2
5によって指定範囲内に記入枠用空欄が存在すると判断
されれば、上記記入枠用空欄に対して設定内容の変更・
枠の消去・枠の移動・枠の複写の何れかの処理を行える
ようにし、指定範囲内に記入枠用空欄が存在しないと判
断されれば、指定された範囲内にて認識された文字数あ
るいは行数の少なくとも一方を記入枠用空欄設定のため
の入力値とすることによって、記入枠用空欄を、上記入
力値に応じて予め定められた大きさで文書中に設定する
ための手段である。
The entry frame processing setting means 22 is the frame determining means 2
If it is determined by 5 that there is a blank space for the entry frame within the specified range, change the settings for the blank space for the entry frame.
If any of the processes of deleting the frame, moving the frame, and copying the frame is performed, and it is determined that there is no blank space for the input frame within the specified range, the number of characters recognized in the specified range or By setting at least one of the number of lines as an input value for setting the blank for the entry frame, the means is for setting the blank for the entry frame in the document in a predetermined size according to the input value. .

【0291】具体的には、上記記入枠処理設定手段22
は、指定範囲内に記入枠用空欄が存在する場合、表示装
置3の文書編集画面70上に記入枠用空欄に対して設定
内容の変更・枠の消去・枠の移動・枠の複写の何れかの
処理のためのファンクション71を表示させるようにな
っている。そして、使用者は、このファンクション71
を利用して指定範囲内に存在する記入枠用空欄に対する
設定内容の変更・枠の消去・枠の移動・枠の複写等の処
理が行えるようになっている。
Specifically, the above-mentioned entry frame processing setting means 22
When there is a blank space for entry frame in the designated range, any of the setting contents change, deletion of frame, movement of frame, and copy of space for the blank space for entry frame on the document edit screen 70 of the display device 3. The function 71 for that processing is displayed. Then, the user uses this function 71
Using, it is possible to perform processing such as changing setting contents, erasing the frame, moving the frame, and copying the frame with respect to the blank space for the entry frame existing within the specified range.

【0292】そして、記入枠用空欄に対する上記の処理
が終了した後、指定範囲内に含まれる文字数および行数
から記入枠用空欄の枠単位を判断し、この判断結果から
記入枠用空欄を設定するようになっている。
Then, after the above processing for the blank space for the entry frame is completed, the frame unit of the blank space for the entry frame is judged from the number of characters and the number of lines included in the specified range, and the blank space for the entry frame is set from this judgment result. It is supposed to do.

【0293】ここで、記入枠用空欄の設定に、範囲指定
形態選択手段21および記入枠処理設定手段22を用い
た場合の処理の流れについて、図34に示すフローチャ
ートを参照しながら以下に説明する。尚、範囲の指定に
は、画面上の所望する2点を指定することによって行わ
れるものとする。
Here, the flow of processing when the range designation form selection means 21 and the entry frame processing setting means 22 are used to set the blanks for entry frames will be described below with reference to the flowchart shown in FIG. . The range is specified by specifying two desired points on the screen.

【0294】先ず、指定された範囲中は、全て未入力領
域であるか否かを判定する(S141)。ここで、指定
範囲が全て未入力領域であると判定されれば、その範囲
は、同一行内か否かが判定される(S142)。ここ
で、同一行内であれば、枠単位を文字に設定(S14
3)し、図25に示す新規枠作成フローチャートに移行
する。
First, it is determined whether or not all of the designated range is a non-input area (S141). Here, if it is determined that the designated range is entirely the non-input area, it is determined whether the range is within the same line (S142). If it is within the same line, the frame unit is set to character (S14
3) and shifts to the new frame creation flowchart shown in FIG.

【0295】S142において、指定範囲が同一行内に
ないと判定されれば、2点指定による範囲指定が同一列
内か否かが判定される(S144)。ここで、同一列内
であれば、枠単位を行に設定(S145)し、図25に
示す新規枠作成フローチャートに移行する。
If it is determined in S142 that the designated range is not within the same row, it is determined whether the range designation by two-point designation is within the same column (S144). Here, if it is within the same column, the frame unit is set to a row (S145), and the flow shifts to the new frame creation flowchart shown in FIG.

【0296】S144において、指定範囲が同一列内に
ないと判定されれば、枠単位を指定範囲に設定(S14
6)し、図25に示す新規枠作成フローチャートに移行
する。
If it is determined in S144 that the designated range is not within the same column, the frame unit is set to the designated range (S14
6) Then, the process moves to the new frame creation flowchart shown in FIG.

【0297】このように、使用者が意図する枠単位を、
指定された範囲から自動的に判断し、記入枠を予め設定
することが可能となる。
As described above, the frame unit intended by the user is
It is possible to automatically judge from the designated range and set the entry frame in advance.

【0298】一方、S141において、指定範囲が全て
未入力領域であると判定されれば、指定範囲中に記入枠
の一部あるいは全部がただ1つだけ存在するか否かが判
定される(S147)。
On the other hand, if it is determined in S141 that the designated range is all non-input areas, it is determined whether or not only one part or all of the entry frame exists in the designated range (S147). ).

【0299】S147において、指定範囲中に記入枠の
一部あるいは全部がただ1つだけ存在しないと判定され
れば、エラー処理が行われる(S148)。即ち、S1
47において、NOであれば、指定範囲中に記入枠が2
以上となり、同時に2以上の記入枠の処理を行う必要が
あるからであり、このような場合には、使用者に処理が
不可能である旨を知らせるようになっている。
If it is determined in S147 that only one part or all of the entry frame does not exist in the designated range, error processing is performed (S148). That is, S1
If it is NO in 47, the entry frame is 2 in the designated range.
This is because it is necessary to process two or more entry frames at the same time. In such a case, the user is notified that the process cannot be performed.

【0300】S148でエラー処理が行われた後、範囲
を再指定(S150)し、S141に移行する。
After the error processing is performed in S148, the range is redesignated (S150), and the process proceeds to S141.

【0301】また、S147において、指定範囲中に記
入枠の一部あるいは全部がただ1つだけ存在すると判定
されれば、認識された記入枠によって、自動的に文書作
成モードから枠作成モードに切り替わり、認識された記
入枠に対する操作(変更・消去・移動・複写)を、文書
編集におけるファンクションに設定し、それぞれを例え
ば図17に示すように文書編集画面70の下端に表示す
る(S149)。そして、図24におけるS23に移行
する。
If it is determined in S147 that only one part or all of the entry frame exists in the specified range, the document entry mode is automatically switched to the frame entry mode depending on the recognized entry frame. The operation (change / delete / move / copy) for the recognized entry frame is set to the function in the document edit, and each is displayed at the lower end of the document edit screen 70 as shown in FIG. 17 (S149). Then, the process proceeds to S23 in FIG.

【0302】以上の処理によれば、範囲中に含まれる記
入枠に対する各種操作を行う場合、文書作成モードから
枠作成モードに切り替えて、その後、枠作成モードにて
上記の記入枠に対する操作を実行するだけでなく、通常
の文書編集画面から、使用者が操作すべき記入枠を先に
指定した後、文書作成モードから枠作成モードに切り替
えて、記入枠に対する操作を実行することも可能とな
る。
According to the above processing, when various operations are performed on the entry frames included in the range, the document creation mode is switched to the box creation mode, and then the above-mentioned entry frames are operated in the box creation mode. In addition to the above, it is also possible to switch from the document creation mode to the frame creation mode and perform the operation on the entry frame after the user has specified the entry frame to be operated from the normal document edit screen. .

【0303】また、通常の文書編集画面から、使用者が
操作すべき記入枠を先に指定した場合、指定された範囲
中に記入枠が認識されたとき、文書作成モードから枠作
成モードに自動的に切り替わるので、記入枠に対する各
種操作における操作性を大幅に向上できる。
When the user first specifies the entry frame to be operated from the normal document edit screen, when the entry frame is recognized within the specified range, the document creation mode is automatically changed to the frame creation mode. Since it is switched to each other, the operability in various operations for the entry frame can be significantly improved.

【0304】したがって、上記構成の文書処理装置で
は、文書中に設定する記入枠用空欄は、通常、改行ピッ
チ・文字間隔・文字ポイント数といった書式に依存しな
いように、常に、書式に依存せずに一定サイズの記入枠
用空欄を作成することを可能としている。
Therefore, in the document processing apparatus having the above-described structure, the blank space for the entry frame set in the document does not always depend on the format such as the line feed pitch, the character spacing, and the number of character points. It is possible to create a blank space for the entry frame of a certain size.

【0305】以上のように、上記範囲指定形態選択手段
21は、記入枠用空欄を設定する範囲が予め指定されて
いる場合、この指定範囲内の文字数あるいは行数を認識
し、この認識された文字数あるいは行数に応じて予め定
められた大きさの記入枠用空欄を文書中に設定するよう
になっている。
As described above, when the range for setting the blank space for the entry frame is designated in advance, the range designation mode selection means 21 recognizes the number of characters or the number of lines in the designated range, and this is recognized. An empty space for an entry frame having a predetermined size according to the number of characters or the number of lines is set in the document.

【0306】したがって、認識された指定範囲内の文字
数あるいは行数の少なくとも一方の値に基づいて、記入
枠用空欄を文書中に設定することで、使用者が文字数や
行数を入力することなく、文字数や行数に応じて予め設
定された大きさの記入枠用空欄を文書中に設定すること
ができる。即ち、使用者は、記入枠用空欄を作成すべき
領域の範囲を指定するだけで、自動的に指定範囲内の文
字数や行数を認識して、これを入力値として記入枠用空
欄を文書中に設定することができる。
Therefore, by setting the blank space for the entry frame in the document based on the value of at least one of the number of characters and the number of lines within the recognized specified range, the user can input the number of characters and the number of lines without inputting. It is possible to set a blank space for the entry frame of a size set in advance in the document according to the number of characters and the number of lines. That is, the user only needs to specify the range of the area in which the blank for the entry frame should be created, and automatically recognizes the number of characters and the number of lines within the specified range, and uses this as the input value to document the blank for the entry frame. Can be set inside.

【0307】この結果、文字数や行数を特に考慮しない
で、表示装置3の表示画面上で文書中への記入枠用空欄
の設定を直接行うことができるので、記入枠用空欄を含
む文書の作成効率を向上させることができる。
As a result, it is possible to directly set the blank space for the entry frame in the document on the display screen of the display device 3 without particularly considering the number of characters and the number of lines. The creation efficiency can be improved.

【0308】また、記入枠用空欄を設定する範囲が予め
指定されている場合、この指定範囲内に、少なくとも1
部分の記入枠用空欄が存在するか否かを判断する枠判断
手段25と、上記枠判断手段25によって、指定範囲内
に、少なくとも1部分の記入枠用空欄が存在すると判断
されれば、上記記入枠用空欄に対する設定内容の変更・
消去・移動・複写の何れかの処理を行い、上記指定範囲
内に、記入枠用空欄が存在しないと判断されれば、指定
範囲内の文字数あるいは行数に応じて予め定められた大
きさの記入枠用空欄を文書中に設定するようになってい
る。
Further, when the range for setting the blank for the entry frame is designated in advance, at least 1 is set in the designated range.
If the frame judgment means 25 for judging whether or not there is a blank space for entry frame exists, and if it is judged by the frame judgment means 25 that at least one blank space for entry frame exists within the specified range, Change the settings for the blank fields
If it is judged that there is no blank space for the entry frame within the specified range after performing any processing of erasing / moving / copying, it is determined that the size is predetermined according to the number of characters or the number of lines in the specified range. A blank space for the entry frame is set in the document.

【0309】したがって、指定範囲内に記入枠用空欄が
存在しないときには、範囲指定形態選択手段21による
処理と同様、指定範囲内の文字数あるいは行数に応じて
予め定められた大きさの記入枠用空欄を文書中に設定す
るようになっているので、文字数や行数を特に考慮しな
いで、文書中のイメージで記入枠用空欄を作成すること
ができる。
Therefore, when there is no blank space for the entry frame in the designated range, like the processing by the range designation form selection means 21, for the entry frame of a size predetermined according to the number of characters or the number of lines in the designated range. Since the blank space is set in the document, the blank space for the entry frame can be created by the image in the document without considering the number of characters or the number of lines.

【0310】また、指定範囲内に記入枠用空欄が存在す
るときには、使用者は存在する記入枠用空欄に対して設
定内容の変更・消去・移動・複写の何れかの処理を行う
ようになるので、指定範囲に存在する既存の記入枠用空
欄を無視することなく、指定範囲を記入枠用空欄に設定
することができる。
When there is a blank space for an entry frame within the designated range, the user can perform any processing of changing, erasing, moving or copying the setting contents for the existing blank space for the entry frame. Therefore, the designated range can be set as the blank space for the entry frame without ignoring the existing blank space for the entry frame existing in the designated range.

【0311】ところで、書式によっては、上記の改行ピ
ッチ・文字間隔・文字ポイント数が極端に大きく設定さ
れる場合がある。このような場合、文書中の文字の大き
さが記入文字の大きさと同じかあるいは大きくなる虞が
ある。したがって、このような場合、記入枠用空欄を一
定のサイズで設定していると、印刷後の文書と記入枠用
空欄とのバランスが悪くなる虞がある。
By the way, depending on the format, the line feed pitch, the character interval, and the number of character points may be set extremely large. In such a case, the size of the characters in the document may be the same as or larger than the size of the entered characters. Therefore, in such a case, if the blank space for the entry frame is set to have a fixed size, the balance between the printed document and the blank space for the entry frame may be deteriorated.

【0312】そこで、本文書処理装置では、図1に示す
記入枠用空欄設定手段8において、さらに、文書と記入
枠用空欄とのバランスが悪いときに、書式に依存しない
記入枠用空欄の設定を書式に依存する記入枠用空欄の設
定に切り替えるための書式依存/非依存切換手段24が
設けられている。
Therefore, in the present document processing apparatus, the blank space setting means 8 shown in FIG. 1 sets the blank space for the blank space independent of the format when the balance between the document and the blank space for the blank space is poor. A format-dependent / independent switching means 24 is provided for switching to the setting of the blank space for the entry frame depending on the format.

【0313】書式依存/非依存切換手段24では、書式
に依存して記入枠用空欄を設定する場合、例えば記入枠
用空欄における記入文字のサイズを示す横サイズS1
書式設定における文字サイズの値とし、記入文字のサイ
ズを示す縦サイズS2 を書式設定における改行ピッチの
値とし、縁領域横幅を示すFW を書式設定における文字
間隔の値として状態変数テーブル9を設定するようにな
っている。
In the format-dependent / independent switching means 24, when setting the blank space for the entry frame depending on the format, for example, the horizontal size S 1 indicating the size of the written character in the blank space for the entry frame is set to the character size in the format setting. The state variable table 9 is set such that the vertical size S 2 indicating the size of the entered character is the value of the line feed pitch in the format setting, and the width W F of the edge area is the value of the character spacing in the format setting. There is.

【0314】このように、書式設定における文字サイ
ズ、改行ピッチ、文字間隔に基づいて記入枠用空欄設定
用の状態変数テーブル9の状態変数を書き換えること
で、状態変数テーブル9に基づいて設定される記入枠用
空欄を、書式に依存した大きさで設定することができ
る。したがって、文書中の文字の大きさと記入文字の大
きさとをほぼ同じ大きさにすることができるので、印刷
後の文書と記入枠用空欄とのバランスを良くすることが
できる。
As described above, by rewriting the state variables in the state variable table 9 for setting blank spaces for the entry frame based on the character size, line feed pitch, and character spacing in the format setting, the state variables are set based on the state variable table 9. The blank space for the entry frame can be set to a size depending on the format. Therefore, the size of the characters in the document and the size of the entered characters can be made approximately the same size, so that the balance between the printed document and the blank space for the entry frame can be improved.

【0315】尚、上記の記入枠用空欄の設定の書式への
依存・非依存の切り替えは、使用者によって判断され
る。つまり、使用者は、書式に依存しないで記入枠用空
欄を設定し、印刷後の文書と記入枠用空欄とのバランス
を見て判断する。即ち、使用者は、文書中で文書と記入
枠用空欄とのバランスが良ければ、そのまま書式に依存
しない記入枠用空欄の設定を行い、バランスが悪けれ
ば、書式に依存する記入枠用空欄の設定を行うようにす
れば良い。
[0315] Note that the user determines whether or not the setting of the blank for the entry frame depends on the format. That is, the user sets the blank space for the entry frame without depending on the format, and makes a judgment by looking at the balance between the printed document and the blank space for the entry frame. That is, if the balance between the document and the blanks for the input frame in the document is good, the user simply sets the blanks for the input frame that do not depend on the format, and if the balance is poor, the blanks for the input frame that depend on the format are set. You should set it.

【0316】また、本実施の形態では、文書が横書きの
場合について説明しているが、縦書きの場合であっても
同じように、記入枠用空欄設定手段8による記入枠用空
欄の設定処理を行えば良い。
Further, in the present embodiment, the case where the document is written horizontally is described. However, even in the case where the document is written vertically, the setting processing of the blank space for the input frame by the blank space for frame setting means 8 is similarly performed. Should be done.

【0317】[0317]

【発明の効果】請求項1の発明の文書処理装置は、以上
のように、入力された文書データを記録し、文書データ
の内容を表示および用紙に印刷する機能を備え、印刷後
に文字を手書きするための記入枠用空欄を文書中に設定
する記入枠用空欄設定手段が設けられた文書処理装置に
おいて、上記記入枠用空欄設定手段は、文書作成の書式
や印刷様式に依存することなく、手書きすべき文字数に
応じて予め定められた当該文字数の文字を手書きにて
記入するのに適した大きさの記入枠用空欄を文書中に設
定する構成である。
As described above, the document processing apparatus according to the present invention has the functions of recording the input document data, displaying the contents of the document data, and printing on the paper, and handwriting the characters after printing. In a document processing apparatus provided with a blank space setting unit for setting a blank space for setting a blank space for writing in a document, the blank space setting unit for blank space is a document creation format.
Depending on the number of characters to be handwritten , a predetermined number of characters can be handwritten without depending on the
This is a configuration in which a blank space for an entry frame having a size suitable for entry is set in the document.

【0318】それゆえ、記入枠用空欄が手書きすべき文
字数に対応して、文書作成の書式や印刷様式に依存する
ことなく、当該文字数の文字を手書きにて記入するのに
適し 予め定められた大きさで文書中に予め設定される
ので、文書における行間隔や文字間隔等の印刷様式に左
右されることなく、手書きによる記入に適した大きさの
記入枠用空欄を文書中に作成することができる。これに
より、従来のように、記入枠用空欄の設定が印刷様式に
依存した場合のように、印刷結果を見ながら試行錯誤し
て所望する記入枠用空欄のサイズを決定する必要がなく
なるので、記入枠用空欄設定における操作性を向上させ
ることができる。よって、文書処理装置の使い勝手を従
来に比べて格段に向上させることができるという効果を
奏する。
Therefore, the blank space for the entry frame corresponds to the number of characters to be handwritten, and depends on the format and printing style of document creation.
Without having to write the number of characters by hand
Since it is preset in the document with a suitable predetermined size, a blank space for the entry frame with a size suitable for handwriting can be created without being affected by the print style such as line spacing or character spacing in the document. Can be created in the document. As a result, unlike the conventional case, it is not necessary to determine the desired size of the blank space for the entry frame by trial and error while observing the print result as in the case where the setting of the blank space for the entry frame depends on the print style. It is possible to improve the operability in setting the blank space for the entry frame. Therefore, there is an effect that the usability of the document processing apparatus can be significantly improved as compared with the conventional one.

【0319】請求項2の発明の文書処理装置は、以上の
ように、請求項1の構成に加えて、記入枠用空欄設定手
段には、記入文字数に相当する数値が入力されることに
より、この入力された数値に応じて予め定められた大き
さの記入枠用空欄を文書の1行中に設定する文字記入枠
設定手段が設けられている構成である。
As described above, the document processing apparatus according to the second aspect of the present invention, in addition to the configuration of the first aspect, inputs the numerical value corresponding to the number of characters to be entered into the blank space setting means for entry frame. A character entry frame setting means is provided for setting an entry box blank of a predetermined size according to the input numerical value in one line of the document.

【0320】それゆえ、請求項1の効果に加えて、使用
者は文書の作成中に記入枠用空欄を設けたい箇所で、予
定している大きさの記入枠用空欄を文書の1行中に設定
することができるので、記入枠用空欄の作成のための試
行錯誤が無くなり、記入枠用空欄を含む文章を効率良く
作成することができるという効果を奏する。
Therefore, in addition to the effect of claim 1, at the place where the user wants to provide a blank space for the entry frame during the preparation of the document, the blank space for the entry frame of the planned size is provided in one line of the document. Since there is no need for trial and error for creating the blank for the entry frame, it is possible to efficiently create a sentence including the blank for the entry frame.

【0321】請求項3の発明の文書処理装置は、以上の
ように、請求項1の構成に加えて、記入枠用空欄設定手
段には、行数に相当する数値が入力されることにより、
この入力された数値に応じて予め設定された大きさの記
入枠用空欄を文書中に数行にわたって設定する行単位記
入枠設定手段が設けられている構成である。
As described above, in the document processing apparatus according to the invention of claim 3, in addition to the configuration of claim 1, by inputting a numerical value corresponding to the number of lines to the blank space setting means for entry frame,
A configuration is provided in which line-by-line entry frame setting means for setting an entry frame blank space having a preset size in accordance with the input numerical value over several lines in the document.

【0322】それゆえ、請求項1の効果に加えて、使用
者は文書の作成中に記入枠用空欄を設けたい箇所で、行
数に相当する数値を入力するだけで、少なくとも文書1
行分の横幅を持ち、かつ手書き用に予定している行数に
応じた縦幅を持つ記入枠用空欄を設定することができる
ので、記入枠用空欄が手書きし易い大きさで印刷される
ように試行錯誤する必要が無くなり、記入枠用空欄を含
む文書の作成効率を向上させることができるという効果
を奏する。
Therefore, in addition to the effect of claim 1, the user can enter at least the number corresponding to the number of lines at the place where the user wants to provide the blank space for the entry frame during the preparation of the document, and at least the document 1
Since it is possible to set a blank space for the entry frame that has a horizontal width for the line and a vertical width according to the number of lines planned for handwriting, the blank space for the entry frame is printed in a size that is easy for handwriting. As described above, it is possible to eliminate the need for trial and error and improve the efficiency of creating a document including a blank space for an entry frame.

【0323】請求項4の発明の文書処理装置は、以上の
ように、請求項1の構成に加えて、記入枠用空欄設定手
段には、文字数と行数とで表される領域に相当する数値
が入力されることにより、この入力された数値に応じて
予め設定された大きさの記入枠用空欄を文書中に設定す
る指定範囲記入枠設定手段が設けられている構成であ
る。
As described above, the document processing apparatus according to the fourth aspect of the present invention, in addition to the configuration of the first aspect, corresponds to an area represented by the number of characters and the number of lines in the blank space setting means for entry frame. A designated range entry frame setting means is provided for setting an entry box blank of a size preset according to the entered value in the document by inputting a numerical value.

【0324】それゆえ、請求項1の効果に加えて、文字
数は記入枠用空欄の横幅に対応し、行数は記入枠用空欄
の縦幅に対応しているので、使用者は文書の作成中に記
入枠用空欄を設けたい箇所で、文字数と行数とで表され
る領域に相当する数値を入力するだけで、手書きすべき
文字数に応じた記入枠用空欄を文書中に設定することが
できる。即ち、使用者は記入枠用空欄の横幅と縦幅とを
所望のサイズに自在に設定することができ、記入枠用空
欄を含む文書のレイアウトを決める自由度を、請求項2
・3の場合よりもさらに高めることができるという効果
を奏する。
Therefore, in addition to the effect of claim 1, since the number of characters corresponds to the width of the blank space for the entry frame and the number of lines corresponds to the vertical width of the blank space for the entry frame, the user creates the document. At the place where you want to provide a blank space for the entry frame, simply enter the value corresponding to the area expressed by the number of characters and the number of lines, and set the blank space for the entry frame in the document according to the number of characters to be handwritten. You can That is, the user can freely set the horizontal width and the vertical width of the blank space for the entry frame to a desired size, and the degree of freedom for deciding the layout of the document including the blank space for the entry frame is set.
-The effect that it can be further increased compared to the case of 3.

【0325】請求項5の発明の文書処理装置は、以上の
ように、請求項2の構成に加えて、文字記入枠設定手段
によって文書の1行中に設定される記入枠用空欄が行末
を越えるとき、当該行を改行する行末処理付加手段が設
けられている構成である。
As described above, the document processing apparatus according to the fifth aspect of the present invention has, in addition to the configuration of the second aspect, a blank space for an entry frame which is set in one line of the document by the character entry frame setting means at the end of the line. When the number of lines exceeds the limit, a line end processing addition unit that starts a new line for the line is provided.

【0326】それゆえ、請求項2の効果に加えて、文書
の1行中に設定される記入枠用空欄が行末を越えるとき
に、当該行を改行する行末処理付加手段が設けられてい
ることで、記入枠用空欄の行末での途切れを防止するこ
とができるという効果を奏する。
Therefore, in addition to the effect of claim 2, a line end processing addition means is provided for breaking the line when the blank space for the entry frame set in one line of the document exceeds the line end. Thus, there is an effect that it is possible to prevent the break at the end of the blank line for the entry frame.

【0327】請求項6の文書処理装置は、以上のよう
に、請求項2又は5の構成に加えて、上記文字記入枠設
定手段によって設定される記入枠用空欄を含む行の改行
ピッチを、該記入枠用空欄の大きさに応じて調整する改
行ピッチ調整手段が設けられている構成である。
The document processing apparatus according to claim 6 is as described above.
In addition to the structure of claim 2 or 5,
Line breaks for lines that include blanks for entry frames that are set by the fixed means
The pitch is adjusted according to the size of the blank for the entry frame.
This is a configuration in which row pitch adjusting means is provided.

【0328】それゆえ、請求項1の効果に加えて、文書
中の記入枠用空欄が隣接する行に重ならないように記入
枠用空欄に隣接する行の改行ピッチについての試行錯誤
を行うことなく、記入枠用空欄を文中に設定することが
できる。したがって、記入枠用空欄を含む文書の作成効
率を向上させることができるという効果を奏する。
Therefore, in addition to the effect of claim 1, a document
Fill in the blanks for the entry boxes so that they do not overlap adjacent lines
Trial and error about line feed pitch of line adjacent to blank for frame
You can set a blank space for the entry frame in the sentence without performing
it can. Therefore, it is effective to create a document that includes a blank
The effect is that the rate can be improved.

【0329】請求項7の文書処理装置は、以上のよう
に、請求項6の構成に加えて、改行ピッチ調整手段は、
設定される空欄の縦幅が、予め設定された文書の書式に
よる改行ピッチを超えたときに、該記入枠用空欄を含む
行の改行ピッチを拡げるように調整する構成である。
The document processing apparatus according to claim 7 is as described above.
In addition to the structure of claim 6, the line feed pitch adjusting means is
The blank width that is set is set to the preset document format.
When the line feed pitch is exceeded, the blank for the entry frame is included
This is a configuration that adjusts so that the line feed pitch of the line is expanded.

【0330】それゆえ、請求項6の効果に加えて、改行
ピッチ調整手段は、記入枠用空欄設定手段によって設定
された空欄の縦幅が、予め設定された書式による改行ピ
ッチを超えたときに、該記入枠用空欄を含む行の改行ピ
ッチを拡げるように調整することで、行間が記入枠用空
欄の幅よりも狭くても、記入枠用空欄が隣接する行に重
ならないように自動的に設定することができる。これに
より、使用者は、記入枠用空欄設定手段によって設定さ
れた空欄の縦幅が、予め設定された書式による改行ピッ
チを超えたときに、自動的に記入枠用空欄を含む行の改
行ピッチを拡げるようになっているので、改行ピッチを
使用者自身が変更する必要がなくなり、記入枠用空欄の
設定の操作性を向上させることができるという効果を奏
する。
Therefore, in addition to the effect of claim 6, line feed
The pitch adjustment means is set by the blank setting means for the entry frame
The vertical width of the blank field is
The line feed line of the line including the blank for the entry frame
The space between the lines can be
Even if it is narrower than the width of the field, the blank for the entry frame
It can be set automatically so that it does not happen. to this
Therefore, the user can set the
The vertical width of the blank
When the number of rows exceeds
Since the line pitch is expanded, you can change the line feed pitch.
There is no need for the user to make changes, and the blank
This has the effect of improving the operability of settings.
To do.

【0331】請求項の発明の文書処理装置は、以上の
ように、請求項3の構成に加えて、行単位記入枠設定手
段によって文書中に複数行にわたって設定される記入枠
用空欄が頁末を越えるとき、当該頁を改頁する頁末処理
付加手段が設けられている構成である。
As described above, in the document processing apparatus according to the invention of claim 8 , in addition to the configuration of claim 3, blank lines for entry frames set by the line-by-line entry frame setting means over a plurality of lines in the page. When the end of the page is exceeded, a page end processing addition means for changing the page is provided.

【0332】それゆえ、請求項3の効果に加えて、文書
中に複数行に渡って設定される記入枠用空欄が頁末を越
えるときに、当該頁を改頁する頁末処理付加手段が設け
られていることで、記入枠用空欄の頁末での途切れを防
止することができるという効果を奏する。
Therefore, in addition to the effect of claim 3, when the blank space for the entry frame set over a plurality of lines in the document exceeds the end of the page, the page end processing adding means for changing the page is added. By being provided, it is possible to prevent the break at the end of the page of the blank space for the entry frame.

【0333】請求項の発明の文書処理装置は、以上の
ように、請求項1ないしの何れかの構成に加えて、文
書中に設定される記入枠用空欄の作成に関わる変数を、
必要に応じて変更する状態変数変更手段が設けられてい
る構成である。
As described above, the document processing apparatus according to the ninth aspect of the present invention, in addition to the configuration according to any one of the first to eighth aspects, provides a variable relating to the creation of the blank space for the entry frame set in the document.
This is a configuration in which a state variable changing unit that changes as necessary is provided.

【0334】それゆえ、請求項1ないしの何れかの効
果に加えて、文書中に設定される記入枠用空欄の作成に
関する変数を、必要に応じて変更する状態変数変更手段
が設けられていることで、記入枠用空欄のサイズ等の変
更に対して柔軟に対応することができる。これにより、
使用者は、複数種類の大きさの手書き文字の中から所望
するサイズの記入枠用空欄を選択できるので、文書の種
類による記入枠用空欄のサイズの使い分けができるとい
う効果を奏する。
Therefore, in addition to the effect of any one of claims 1 to 8 , there is provided a state variable changing means for changing the variable relating to the creation of the blank space for the entry frame set in the document as needed. By doing so, it is possible to flexibly respond to changes such as the size of the blank for the entry frame. This allows
Since the user can select the blank space for the input frame having a desired size from a plurality of types of handwritten characters, the size of the blank space for the input frame can be properly used according to the type of document.

【0335】請求項10の発明の文書処理装置は、以上
のように、請求項1ないしの何れかに記載の構成に加
えて、記入枠用空欄の作成に関わる変数を記憶する変数
テーブルを、文書中に設定される記入枠用空欄毎に作成
する変数テーブル作成手段が設けられている構成であ
る。
As described above, the document processing apparatus according to the tenth aspect of the present invention, in addition to the configuration according to any one of the first to ninth aspects, has a variable table for storing variables relating to the creation of the blank space for the entry frame. A variable table creating means is created for each blank entry space set in the document.

【0336】それゆえ、請求項1ないしの何れかの効
果に加えて、記入枠用空欄の作成に関わる変数を記憶す
る変数テーブルを、文書中に設定される記入枠用空欄毎
に作成する変数テーブル作成手段が設けられていること
で、複数の記入枠用空欄が文書中に設定された場合に、
それぞれの記入枠用空欄の作成に関する変数、例えば記
入枠用空欄の枠単位、サイズ、枠の太さ、枠の無等を独
立して設定することが可能となる。これにより、上記の
変数テーブルが各記入枠用空欄で共通化されている場合
のように、一つの記入枠用空欄の状態変数を削除・変更
した場合に他の記入枠用空欄のサイズ等に影響を与える
ことがないので、記入枠用空欄を含む文書の作成効率を
向上させることができるという効果を奏する。
Therefore, in addition to the effect according to any one of claims 1 to 9 , a variable table for storing variables related to the creation of the entry frame blanks is created for each entry frame blank set in the document. By providing the variable table creation means, when multiple blanks for entry frames are set in the document,
It is possible to independently set variables relating to the creation of the blanks for each entry frame, for example, the unit of the blanks for the entry frame, the size, the thickness of the frame, and the absence of the frame. As a result, when the state variables in one blank field are deleted or changed, as in the case where the above variable table is shared by each blank space, the size of other blank spaces will be changed. Since there is no influence, it is possible to improve the efficiency of creating a document including a blank space for entry frames.

【0337】請求項11の発明の文書処理装置は、以上
のように、請求項10の構成に加えて、変数テーブルに
記憶された記入枠用空欄の作成に関する変数に代入する
数値が保持された状態変数テーブルの内容を、直前に設
定された記入枠用空欄の変数テーブルの内容を状態変数
テーブルに保持する状態変数テーブル更新手段が設けら
れ、上記変数テーブル作成手段は、状態変数テーブルの
内容を参照して、変数テーブルを作成する構成である。
As described above, the document processing apparatus according to the eleventh aspect of the present invention, in addition to the configuration of the tenth aspect , retains the numerical values to be substituted for the variables relating to the creation of the blank space for the entry frame stored in the variable table. State variable table updating means is provided for holding the content of the state variable table in the state variable table, the content of the variable table of the blank space for the entry frame set immediately before, and the variable table creating means stores the content of the state variable table. This is a configuration for creating a variable table by referring to it.

【0338】それゆえ、請求項10の効果に加えて、変
数テーブルに代入される数値を保持するための状態変数
テーブルの内容を、直前に設定された記入枠用空欄の変
数の内容に更新する状態変数テーブル更新手段が設けら
れ、内容が更新された状態変数テーブルの内容を参照し
て、変数テーブルが作成されることで、連続して設定す
る複数の記入枠用空欄の変数テーブルの内容を同じにす
ることができる。これにより、連続した記入枠用空欄の
変数を同じにする場合、記入枠用空欄の設定毎に、変数
を設定する必要がなくなるので、記入枠用空欄の設定の
操作性を向上させることができるという効果を奏する。
Therefore, in addition to the effect of the tenth aspect , the contents of the state variable table for holding the numerical values assigned to the variable table are updated to the contents of the variable in the blank space for the entry frame set immediately before. State variable table updating means is provided, and by referring to the updated contents of the state variable table, a variable table is created, so that the contents of the variable table of a plurality of blank spaces for the input frames to be continuously set are changed. Can be the same. This makes it unnecessary to set the variable for each setting of the blanks for the input frame when the variables of the blanks for the input frames are the same, and thus the operability of setting the blanks for the input frame can be improved. Has the effect.

【0339】請求項12の発明の文書処理装置は、以上
のように、請求項1の構成に加えて、上記記入枠用空欄
設定手段は、指定され指定範囲内の文字数あるいは行
数を認識し、この認識された文字数あるいは行数に応じ
て予め定められた大きさの記入枠用空欄を文書中に設定
する構成である。
[0339] The document processing apparatus of the invention of claim 12 is, as described above, in addition to the first aspect, the entry frame for blank setting means, recognizes the number of characters or lines in the specified specified range However, a blank space for the entry frame having a predetermined size according to the recognized number of characters or the number of lines is set in the document.

【0340】それゆえ、請求項1の効果に加えて、認識
された指定範囲内の文字数あるいは行数の少なくとも一
方の値に基づいて、記入枠用空欄を文書中に設定するこ
とで、使用者が文字数や行数を入力することなく、文字
数や行数に応じて予め設定された大きさの記入枠用空欄
を文書中に設定することができる。即ち、使用者は、記
入枠用空欄を作成すべき領域の範囲を指定するだけで、
自動的に指定範囲内の文字数や行数を認識して、これを
入力値として記入枠用空欄を文書中に設定することがで
きる。したがって、文字数や行数を特に考慮しないで、
文書中のイメージで記入枠用空欄を作成することができ
るので、記入枠用空欄を含む文書の作成効率を向上させ
ることができるという効果を奏する。
Therefore, in addition to the effect of claim 1, by setting the blank space for the entry frame in the document based on the value of at least one of the number of characters or the number of lines within the recognized specified range, the user can Without inputting the number of characters or the number of lines, it is possible to set a blank space for the entry frame having a preset size in the document according to the number of characters or the number of lines. That is, the user only needs to specify the range of the area in which the blank for the entry frame should be created,
It is possible to automatically recognize the number of characters and the number of lines within the specified range, and use this as an input value to set a blank space for the entry frame in the document. Therefore, without considering the number of characters or lines,
Since the blank space for the entry frame can be created with the image in the document, it is possible to improve the creation efficiency of the document including the blank space for the entry frame.

【0341】請求項13の発明の文書処理装置は、以上
のように、請求項の構成に加えて、記入枠用空欄設定
手段には、指定され指定範囲内に、少なくとも1部分
の記入枠用空欄が存在するか否かを判断する枠判断手段
と、上記枠判断手段によって、指定範囲内に、少なくと
も1部分の記入枠用空欄が存在すると判断されれば、上
記記入枠用空欄に対する設定内容の変更・消去・移動・
複写の何れかの処理を行い、上記指定範囲内に、記入枠
用空欄が存在しないと判断されれば、指定範囲内の文字
数あるいは行数に応じて予め定められた大きさの記入枠
用空欄を文書中に設定する記入枠処理設定手段とが設け
られている構成である。
[0341] The document processing apparatus of the invention of claim 13 is, as described above, fill in addition to the first aspect, the blank setting means for entry box, within the specified specified range, at least a portion The frame determining means for determining whether or not there is a blank space for a frame, and the blank determining means determines that at least one part of the blank space for a blank space exists within the designated range Change / delete / move settings
If any of the copying processes is performed and it is determined that the blank space for the entry frame does not exist within the specified range, the blank space for the entry frame of a predetermined size according to the number of characters or lines in the specified range And an entry frame processing setting means for setting in the document.

【0342】それゆえ、指定範囲内に記入枠用空欄が存
在しないときには、請求項12の効果と同様、文字数や
行数を特に考慮しないで、文書中のイメージで記入枠用
空欄を作成することができ、この結果、記入枠用空欄を
含む文書の作成効率を向上させることができる。また、
指定範囲内に記入枠用空欄が存在するときには、使用者
は存在する記入枠用空欄に対して設定内容の変更・消去
・移動・複写の何れかの処理を行うようになるので、指
定範囲に存在する既存の記入枠用空欄を無視することな
く、指定範囲を記入枠用空欄に設定することができると
いう効果を奏する。
Therefore, when there is no blank space for the entry frame within the specified range, the blank space for the entry frame is created by the image in the document without considering the number of characters or the number of lines, as in the effect of claim 12. As a result, it is possible to improve the creation efficiency of the document including the blank space for the entry frame. Also,
If there is a blank space for entry boxes within the specified range, the user will be able to change, delete, move, or copy the settings for the existing blank space for entry frames. The present invention has an effect that the specified range can be set to the blank space for entry frame without ignoring the existing blank space for entry frame.

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

【図1】本発明の文書処理装置のブロック図である。FIG. 1 is a block diagram of a document processing apparatus according to the present invention.

【図2】図1に示す文書処理装置に備えられた記入枠用
空欄の設定に関する変数テーブルである。
FIG. 2 is a variable table relating to setting of blank boxes for entry frames provided in the document processing apparatus shown in FIG.

【図3】図1に示す文書処理装置に備えられた記入枠用
空欄の設定に関する状態変数テーブルである。
FIG. 3 is a state variable table relating to setting of blank boxes for entry frames provided in the document processing apparatus shown in FIG.

【図4】図1に示す文書処理装置に備えられた記入枠用
空欄の設定に関する定数テーブルである。
FIG. 4 is a constant table relating to setting of blank boxes for entry frames provided in the document processing apparatus shown in FIG.

【図5】図2に示す変数テーブルの変数である枠単位の
内容を示す説明図である。
5 is an explanatory diagram showing contents of a frame unit which is a variable of the variable table shown in FIG.

【図6】図2に示す変数テーブルの変数である枠種の内
容を示す説明図である。
6 is an explanatory diagram showing the contents of frame types that are variables in the variable table shown in FIG.

【図7】図2に示す変数テーブルの変数である枠および
仕切り線の線種の内容を示す説明図である。
FIG. 7 is an explanatory diagram showing the contents of line types of frames and partition lines that are variables in the variable table shown in FIG.

【図8】図2に示す変数テーブルの変数である入力単位
種の内容を示す説明図である。
8 is an explanatory diagram showing the contents of input unit types that are variables in the variable table shown in FIG. 2. FIG.

【図9】図3に示す状態変数テーブルの内容を示す説明
図である。
9 is an explanatory diagram showing the contents of a state variable table shown in FIG.

【図10】図1に示す文書処理装置に備えられた記入枠
用空欄設定手段によって設定される枠単位が文字の場合
の記入枠用空欄の構成を示す説明図である。
10 is an explanatory diagram showing a configuration of a blank space for entry frame in a case where a frame unit set by a blank space setting unit for entry frame provided in the document processing apparatus shown in FIG. 1 is a character.

【図11】図10に示す記入枠用空欄における仕切り線
無しの場合の記入領域の構成を示す説明図である。
11 is an explanatory diagram showing a configuration of a writing area in the blank for a writing frame shown in FIG. 10 when there is no partition line.

【図12】図10に示す記入枠用空欄における仕切り線
有りの場合の記入領域の構成を示す説明図である。
12 is an explanatory diagram showing a configuration of an entry area in the case where a partition line is present in the entry frame blank space shown in FIG.

【図13】図1に示す文書処理装置に備えられた記入枠
用空欄設定手段によって設定される枠単位が行の場合、
および枠単位が指定範囲で縦仕切り線の無い場合の記入
枠用空欄の構成を示す説明図である。
13 is a diagram showing a case where a frame unit set by an entry frame blank space setting unit provided in the document processing apparatus shown in FIG. 1 is a line;
FIG. 9 is an explanatory diagram showing a configuration of a blank space for an entry frame when a frame unit is within a designated range and there is no vertical partition line.

【図14】図13に示す記入枠用空欄における枠単位が
行の場合、および枠単位が指定範囲で仕切り線無しの場
合の記入領域の構成を示す説明図である。
FIG. 14 is an explanatory diagram showing a configuration of a writing area in a case where the frame unit in the blank space for input frames shown in FIG. 13 is a line and when the frame unit is a designated range and there is no partition line.

【図15】図1に示す文書処理装置に備えられた記入枠
用空欄設定手段によって設定される枠単位が指定範囲で
縦仕切り線の有る場合の記入枠用空欄の構成を示す説明
図である。
15 is an explanatory diagram showing a configuration of a blank space for an entry frame when a frame unit set by a blank space setting unit for a fill frame provided in the document processing apparatus shown in FIG. 1 has a vertical partition line in a designated range. .

【図16】図15に示す記入枠用空欄における縦仕切り
線有りの場合の記入領域の構成を示す説明図である。
16 is an explanatory diagram showing a configuration of a writing area in the case where there is a vertical partition line in the blank for a writing frame shown in FIG.

【図17】図1に示す文書処理装置に備えられた表示装
置上での文書編集画面が、記入枠用空欄を作成するため
の記入枠モードに設定されている状態を示す説明図であ
る。
17 is an explanatory diagram showing a state in which a document edit screen on a display device provided in the document processing apparatus shown in FIG. 1 is set in an entry frame mode for creating an entry frame blank field. FIG.

【図18】図17に示す文書編集画面上に表示される枠
単位が文字の場合の枠書式入力ウィンドウを示す説明図
である。
18 is an explanatory diagram showing a frame format input window when the frame unit displayed on the document edit screen shown in FIG. 17 is a character.

【図19】図17に示す文書編集画面上に表示される枠
単位が行の場合の枠書式入力ウィンドウを示す説明図で
ある。
19 is an explanatory diagram showing a frame format input window when the frame unit displayed on the document edit screen shown in FIG. 17 is a line.

【図20】図17に示す文書編集画面上に表示される枠
単位が指定範囲の場合の枠書式入力ウィンドウを示す説
明図である。
20 is an explanatory diagram showing a frame format input window when the frame unit displayed on the document edit screen shown in FIG. 17 is a designated range.

【図21】図17に示す文書編集画面上に表示される枠
単位設定ウィンドウを示す説明図である。
21 is an explanatory diagram showing a frame unit setting window displayed on the document edit screen shown in FIG.

【図22】図17に示す文書編集画面上に表示される枠
消去ウィンドウを示す説明図である。
22 is an explanatory diagram showing a frame deletion window displayed on the document edit screen shown in FIG.

【図23】図1に示す文書処理装置における文書処理の
流れを説明するフローチャートである。
FIG. 23 is a flowchart illustrating the flow of document processing in the document processing apparatus shown in FIG.

【図24】図1に示す文書処理装置に備えられた記入枠
用空欄設定手段による記入枠用空欄設定に関する処理の
全体の流れを説明するフローチャートである。
FIG. 24 is a flowchart illustrating an overall flow of a process related to setting of a blank space for an entry frame by a blank space for an entry frame setting unit included in the document processing apparatus shown in FIG.

【図25】図24に示す記入枠用空欄設定に関する処理
のうち、新規枠作成の処理の流れを説明するフローチャ
ートである。
FIG. 25 is a flowchart illustrating a flow of processing for creating a new frame in the processing related to setting blank fields for entry frames shown in FIG. 24.

【図26】図24に示す記入枠用空欄設定に関する処理
のうち、枠変更の処理の流れを説明するフローチャート
である。
FIG. 26 is a flowchart illustrating a flow of processing for changing a frame in the processing related to setting a blank field for entry frame shown in FIG. 24.

【図27】図24に示す記入枠用空欄設定に関する処理
のうち、枠消去の処理の流れを説明するフローチャート
である。
FIG. 27 is a flowchart illustrating a flow of a process for deleting a frame in the process related to setting the blank space for entry frame shown in FIG. 24.

【図28】図24に示す記入枠用空欄設定に関する処理
のうち、枠単位設定の処理の流れを説明するフローチャ
ートである。
FIG. 28 is a flowchart illustrating a flow of a process for setting a frame unit in the process related to setting the blank space for entry frame shown in FIG. 24.

【図29】図24に示す記入枠用空欄設定に関する処理
のうち、枠移動の処理の流れを説明するフローチャート
である。
FIG. 29 is a flowchart illustrating a flow of processing for moving a frame among the processing related to setting the blank space for entry frame shown in FIG. 24.

【図30】図24に示す記入枠用空欄設定に関する処理
のうち、枠複写の処理の流れを説明するフローチャート
である。
FIG. 30 is a flowchart illustrating a flow of a frame copying process in the process related to setting the blank space for entry frame shown in FIG. 24;

【図31】図25に示す新規枠作成の処理に続く、枠単
位が文字である場合の記入枠用空欄作成の処理の流れを
説明するフローチャートである。
FIG. 31 is a flowchart illustrating the flow of processing for creating a blank space for entry frames when the frame unit is a character, following the processing for creating a new frame shown in FIG. 25.

【図32】図25に示す新規枠作成の処理に続く、枠単
位が行である場合の記入枠用空欄作成の処理の流れを説
明するフローチャートである。
FIG. 32 is a flowchart illustrating a flow of processing for creating a blank space for an entry frame when the frame unit is a row, following the processing for creating a new frame shown in FIG. 25.

【図33】図25に示す新規枠作成の処理に続く、枠単
位が指定範囲である場合の記入枠用空欄作成の処理の流
れを説明するフローチャートである。
FIG. 33 is a flowchart illustrating a flow of processing for creating a blank space for an entry frame when the frame unit is a designated range, following the processing for creating a new frame shown in FIG. 25.

【図34】図24に示す記入枠用空欄設定に関する処理
のうち、先に範囲指定が行われたときの記入枠用空欄作
成の処理の流れを説明するフローチャートである。
34 is a flowchart illustrating a flow of processing for creating a blank space for an entry frame when a range is specified first among the processing related to the blank space setting for an entry frame shown in FIG. 24. FIG.

【図35】図1に示す文書処理装置によって文書中に記
入枠用空欄を作成した例を示す説明図である。
35 is an explanatory diagram showing an example in which a blank space for an entry frame is created in a document by the document processing device shown in FIG.

【図36】図35に示す作成例における記入枠用空欄の
作成過程を示す説明図である。
FIG. 36 is an explanatory diagram showing a process of creating a blank space for an entry frame in the creation example shown in FIG. 35.

【図37】図35に示す作成例における記入枠用空欄の
作成過程を示す説明図である。
FIG. 37 is an explanatory diagram showing a process of creating a blank space for an entry frame in the creation example shown in FIG. 35.

【図38】図35に示す作成例における記入枠用空欄の
作成過程を示す図である。
FIG. 38 is a diagram showing a process of creating a blank space for an entry frame in the creation example shown in FIG. 35.

【図39】図35に示す作成例における記入枠用空欄の
作成過程を示す図である。
FIG. 39 is a diagram showing a process of creating a blank space for an entry frame in the creation example shown in FIG. 35.

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

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

1 CPU 2 入力装置 3 表示装置 4 印刷装置 5 罫線作成手段 6 書式設定手段 7 文書記憶手段 8 記入枠用空欄設定手段 9 状態変数テーブル 10 変数テーブル 11 定数テーブル 12 文字記入枠設定手段 13 行記入枠設定手段 14 指定範囲記入枠設定手段 15 行末処理付加手段 16 頁末処理付加手段 17 状態変数変更手段 18 変数テーブル作成手段 19 状態変数テーブル更新手段 20 改行ピッチ調整手段 22 記入枠処理設定手段 23 設定禁止手段 24 書式依存/非依存切換手段 25 枠判断手段 W 記入枠用空欄の外縁横幅 H 記入枠用空欄の外縁縦幅 S1 入力単位サイズI(記入文字横サイズ) S2 入力単位サイズII(記入文字縦サイズ) Fw 縁領域横幅 Fh 縁領域縦幅 Ww 横方向遊び幅 Wh 縦方向遊び幅DESCRIPTION OF SYMBOLS 1 CPU 2 Input device 3 Display device 4 Printing device 5 Ruled line creating means 6 Formatting means 7 Document storing means 8 Blank space setting means 9 Entry frame blank space setting table 10 State variable table 10 Variable table 11 Constant table 12 Character entry frame setting means 13 Line entry frame Setting means 14 Specified range entry frame setting means 15 Line end processing addition means 16 Page end processing addition means 17 State variable changing means 18 Variable table creating means 19 State variable table updating means 20 Line feed pitch adjusting means 22 Entry frame processing setting means 23 Setting prohibited Means 24 Format-dependent / independent switching means 25 Frame determination means W Outer-width horizontal width of blank space for input frame H Outer-edge vertical width of blank space for input frame S 1 Input unit size I (width size of input character) S 2 Input unit size II (fill-in Character vertical size) F w Edge area width F h Edge area width W w Horizontal play width W h Vertical play width

Claims (13)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力された文書データを記録し、文書デー
タの内容を表示および用紙に印刷する機能を備え、印刷
後に文字を手書きするための記入枠用空欄を文書中に設
定する記入枠用空欄設定手段が設けられた文書処理装置
において、 上記記入枠用空欄設定手段は、文書作成の書式や印刷様
式に依存することなく、手書きすべき文字数に応じて
予め定められた当該文字数の文字を手書きにて記入する
のに適した大きさの記入枠用空欄を文書中に設定するこ
とを特徴とする文書処理装置。
1. An input frame for recording input document data, displaying a content of the document data and printing on a paper, and for setting an empty space for an input frame for handwriting characters after printing in a document in the document processing apparatus blank setting means is provided, the entry frame for blank setting means, documentation format and print-like
Depending on the number of characters to be handwritten, without depending on the formula ,
Handwrite a predetermined number of characters
A document processing apparatus, characterized in that a blank space for an entry frame having a size suitable for the above is set in the document.
【請求項2】上記記入枠用空欄設定手段には、手書き文
字数に相当する数値が入力されることにより、この入力
された数値に応じて予め定められた大きさの記入枠用空
欄を文書の1行中に設定する文字記入枠設定手段が設け
られていることを特徴とする請求項1記載の文書処理装
置。
2. A value corresponding to the number of handwritten characters is input to the entry frame blank space setting means, and a blank space for an entry frame of a predetermined size corresponding to the input numeric value is entered in the document. 2. The document processing apparatus according to claim 1, further comprising a character entry frame setting means for setting in one line.
【請求項3】上記記入枠用空欄設定手段には、行数に相
当する数値が入力されることにより、この入力された数
値に応じて予め定められた大きさの記入枠用空欄を文書
中に複数行にわたって設定する行単位記入枠設定手段が
設けられていることを特徴とする請求項1記載の文書処
理装置。
3. A blank corresponding to the number of lines is input to the blank-for-entry-frame setting means, and a blank for a blank for the fill-in frame having a predetermined size in accordance with the input numerical value is written in the document. The document processing apparatus according to claim 1, further comprising line-by-line entry frame setting means for setting over a plurality of lines.
【請求項4】上記記入枠用空欄設定手段には、文字数と
行数とで表される領域に相当する数値が入力されること
により、この入力された数値に応じて予め定められた大
きさの記入枠用空欄を文書中に設定する指定範囲記入枠
設定手段が設けられていることを特徴とする請求項1記
載の文書処理装置。
4. A value corresponding to an area represented by the number of characters and the number of lines is input to the blank space setting means for the entry frame, and the size is predetermined according to the input numerical value. 2. The document processing apparatus according to claim 1, further comprising: designated range entry frame setting means for setting a blank space for entry frame in the document.
【請求項5】上記文字記入枠設定手段によって文書の1
行中に設定される記入枠用空欄が行末を越えるとき、当
該行を改行する行末処理付加手段が設けられていること
を特徴とする請求項2記載の文書処理装置。
5. The document is set to 1 by the character entry frame setting means.
3. The document processing apparatus according to claim 2, further comprising line end processing addition means for line breaking the line when a blank space for an entry frame set in the line exceeds the end of the line.
【請求項6】上記文字記入枠設定手段によって設定され
る記入枠用空欄を含む行の改行ピッチを、該記入枠用空
欄の大きさに応じて調整する改行ピッチ調整手段が設け
られていることを特徴とする請求項2又は5記載の文書
処理装置。
6. Set by the character entry frame setting means
The line feed pitch of the line including the blank for the entry frame
6. The document processing apparatus according to claim 2, further comprising line feed pitch adjusting means for adjusting according to a size of a column .
【請求項7】上記改行ピッチ調整手段は、設定される記
入枠用空欄の縦幅が、予め設定された文書の書式による
改行ピッチを超えたときに、該記入枠用空欄を含む行の
改行ピッチを拡げるように調整することを特徴とする請
求項6記載の文書処理装置。
7. The line feed pitch adjusting means is set to be set.
The vertical width of the blank box for enclosing depends on the preset document format.
When the line feed pitch is exceeded, the line containing the blank
7. The document processing apparatus according to claim 6, wherein the line feed pitch is adjusted so as to be widened .
【請求項8】上記行単位記入枠設定手段によって文書中
に複数行にわたって設定される記入枠用空欄が頁末を越
えるとき、当該頁を改頁する頁末処理付加手段が設けら
れていることを特徴とする請求項記載の文書処理装
置。
8. In the document by the line-by-line entry frame setting means
The blank for the entry frame that is set on multiple lines exceeds the end of the page.
4. The document processing apparatus according to claim 3, further comprising a page end processing addition means for changing the page .
【請求項9】文書中に設定される記入枠用空欄の作成に
関わる変数を、必要に応じて変更する状態変数変更手段
が設けられていることを特徴とする請求項1ないし
何れかに記載の文書処理装置。
9. An empty space for an entry frame set in a document is created.
State variable changing means to change related variables as needed
Of claims 1 to 8, characterized in that are provided
The document processing device according to any one of claims .
【請求項10】上記記入枠用空欄の作成に関わる変数を
記憶する変数テーブルを、文書中に設定される記入枠用
空欄毎に作成する変数テーブル作成手段が設けられてい
ることを特徴とする請求項1ないし9の何れかに記載の
文書処理装置。
10. A variable relating to the creation of the blank for the entry frame
Variable table to be memorized for entry frame set in document
The document processing apparatus according to any one of claims 1 to 9, further comprising a variable table creating means for creating each blank .
【請求項11】上記変数テーブルに記憶された記入枠用
空欄の作成に関する変数に代入する数値が保持された状
態変数テーブルの内容を、直前に設定された記入枠用空
欄の変数テーブルの内容を状態変数テーブルに保持する
状態変数テーブル更新手段が設けられ、上記変数テーブ
ル作成手段は、状態変数テーブルの内容を参照して、変
数テーブルを作成することを特徴とする請求項10記載
の文書処理装置。
11. An entry frame stored in the variable table.
A state in which a numerical value to be assigned to a variable for creating a blank is retained
Empty the contents of the state variable table for the entry frame set immediately before.
Hold the contents of the column variable table in the state variable table
State variable table updating means is provided, and the variable table
The parameter creation means refers to the contents of the state variable table and
The document processing apparatus according to claim 10, wherein a number table is created .
【請求項12】上記記入枠用空欄設定手段は、指定され
指定範囲内の文字数あるいは行数を認識し、この認識
された文字数あるいは行数に応じて予め定められた大き
さの記入枠用空欄を文書中に設定することを特徴とする
請求項1記載の文書処理装置。
12. The blank setting means for the entry frame is designated.
It is characterized by recognizing the number of characters or the number of lines within the specified range and setting a blank space for the entry frame of a predetermined size in the document according to the number of the recognized characters or the number of lines.
The document processing apparatus according to claim 1 .
【請求項13】上記記入枠用空欄設定手段には、指定さ
指定範囲内に、少なくとも1部分の記入枠用空欄が
存在するか否かを判断する枠判断手段と、 上記枠判断手段によって、指定範囲内に、少なくとも1
部分の記入枠用空欄が存在すると判断されれば、上記記
入枠用空欄に対する設定内容の変更・消去・移動・複写
の何れかの処理を行い、上記指定範囲内に、記入枠用空
欄が存在しないと判断されれば、指定範囲内の文字数あ
るいは行数に応じて予め定められた大きさの記入枠用空
欄を文書中に設定する記入枠処理設定手段とが設けられ
ていることを特徴とする請求項記載の文書処理装置。
13. The entry frame blank space setting means includes a frame determination means for determining whether or not at least one part of the blank space for entry frame exists within a designated range, and the frame determination means. , Within the specified range, at least 1
If it is determined that there is a blank space for the input frame, the process for changing, erasing, moving, or copying the setting contents for the blank space for the above-mentioned input frame is performed, and the blank space for the input frame exists within the specified range. If it is determined not to do so, an entry frame processing setting means for setting in the document an empty space for the entry frame of a predetermined size according to the number of characters or the number of lines within the specified range is provided. The document processing device according to claim 1 .
JP04018296A 1996-02-27 1996-02-27 Document processing device Expired - Fee Related JP3432665B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04018296A JP3432665B2 (en) 1996-02-27 1996-02-27 Document processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04018296A JP3432665B2 (en) 1996-02-27 1996-02-27 Document processing device

Publications (2)

Publication Number Publication Date
JPH09231215A JPH09231215A (en) 1997-09-05
JP3432665B2 true JP3432665B2 (en) 2003-08-04

Family

ID=12573649

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04018296A Expired - Fee Related JP3432665B2 (en) 1996-02-27 1996-02-27 Document processing device

Country Status (1)

Country Link
JP (1) JP3432665B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5686079B2 (en) * 2011-09-28 2015-03-18 富士通株式会社 Teaching material creation apparatus, computer, teaching material creation method, teaching material display method, and computer program
JP6129055B2 (en) * 2013-10-28 2017-05-17 富士通株式会社 Teaching material creation device, teaching material creation method and computer program
JP6540546B2 (en) * 2016-03-01 2019-07-10 京セラドキュメントソリューションズ株式会社 Information processing apparatus and program
JP6477577B2 (en) * 2016-04-20 2019-03-06 京セラドキュメントソリューションズ株式会社 Image processing device
JP2017215826A (en) * 2016-06-01 2017-12-07 大日本印刷株式会社 Document data conversion device and program
JP6686957B2 (en) * 2017-03-31 2020-04-22 京セラドキュメントソリューションズ株式会社 Image forming device
JP7307924B2 (en) * 2020-06-23 2023-07-13 Fraim株式会社 Information processing device, information processing method and information processing program

Also Published As

Publication number Publication date
JPH09231215A (en) 1997-09-05

Similar Documents

Publication Publication Date Title
US5864332A (en) Scalable edit window and displayable position indicators for an electronic typewriter
JPH08292951A (en) Document editing device
JP3432665B2 (en) Document processing device
US8171409B2 (en) Interface for print control
US5173892A (en) Data processing apparatus with replaceable memory
JPS6320666A (en) Document processor
JP3062259B2 (en) Document processing apparatus and method
JP2646996B2 (en) Image display control device
US6829744B1 (en) Document processing apparatus, method, and memory medium
JP2713924B2 (en) Document editing device
JP3026617B2 (en) Document processing apparatus and method
JP2621869B2 (en) Document editing device
JP2922372B2 (en) Text processing device in the area
JPH0470958A (en) Document processor
JPS6177982A (en) Picture processing system
JP2021180410A (en) Electronic apparatus and image forming device
JP2723601B2 (en) Character input device
KR101279068B1 (en) Method and apparatus for resizing a watermark having a size out of a printable area of a paper
JP3046429B2 (en) Document processing apparatus and document processing method
JPH01126684A (en) Document processor
JP2621987B2 (en) Document processing device
JP4266392B2 (en) Document processing apparatus and method
JPH07152734A (en) Document information processor
JPH05334301A (en) Document processor
JPH10187136A (en) Document processing device and method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080523

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090523

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100523

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110523

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110523

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120523

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120523

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130523

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees