JP3123874B2 - Even allocation range specification method - Google Patents

Even allocation range specification method

Info

Publication number
JP3123874B2
JP3123874B2 JP06028754A JP2875494A JP3123874B2 JP 3123874 B2 JP3123874 B2 JP 3123874B2 JP 06028754 A JP06028754 A JP 06028754A JP 2875494 A JP2875494 A JP 2875494A JP 3123874 B2 JP3123874 B2 JP 3123874B2
Authority
JP
Japan
Prior art keywords
end point
document data
range
character
character code
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
JP06028754A
Other languages
Japanese (ja)
Other versions
JPH07239848A (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.)
NEC Software Chubu Ltd
Original Assignee
NEC Software Chubu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Software Chubu Ltd filed Critical NEC Software Chubu Ltd
Priority to JP06028754A priority Critical patent/JP3123874B2/en
Publication of JPH07239848A publication Critical patent/JPH07239848A/en
Application granted granted Critical
Publication of JP3123874B2 publication Critical patent/JP3123874B2/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 system for designating an equal allocation range, and more particularly to a system for specifying an equal allocation range in a Japanese word processor.

【0002】[0002]

【従来の技術】日本語ワードプロセッサにおける従来の
均等割付け範囲指定方式は、割付け範囲の終点位置のみ
に全角の機能文字を入力するものである。例えば「NE
C」の3文字を6文字分の範囲に均等に割り付ける場
合、図4に示すように、入力画面上でスペース(△で表
示)の後に「NEC」の3文字を入力し、更に4,5文
字目にスペースを入力してから6文字目に均等割付けを
意味する機能文字(枠付きの両)を入力する。印刷時に
均等割付けを実行するために必要な均等割付け情報のう
ち、機能文字が入力された位置である均等割付け範囲の
終点位置以外の情報は、この終点位置からあらかじめ定
められた固定の規則で求められる。図4の場合、均等割
付け対象範囲は機能文字の前のスペース以外の連続した
「NEC」の3文字であり、その終了位置は機能文字か
ら逆方向に検索してスペース以外の最初の文字を検出す
ることにより、開始位置(均等割付け範囲の始点位置と
同じ)は先頭の「N」の前のスペースを検出することに
より決定される。なお、開始位置(始点位置)の決定
は、スペース以外にも行頭や罫線を検出した場合にも行
われる。
2. Description of the Related Art In a conventional method of specifying a uniform allocation range in a Japanese word processor, a full-width functional character is input only at the end point of the allocation range. For example, "NE
When the three characters “C” are evenly allocated in a range of six characters, as shown in FIG. 4, three characters “NEC” are input after a space (indicated by △) on the input screen, and A space is entered for the character, and then a functional character (both with a frame), which means equal allocation, is entered for the sixth character. Among the equalization information required to perform equalization at the time of printing, information other than the end position of the equalization range, which is the position where the functional character was input, is obtained from this end position according to a fixed rule determined in advance. Can be In the case of FIG. 4, the equal allocation target range is three consecutive "NEC" characters other than the space before the function character, and the end position is searched backward from the function character to detect the first character other than the space. By doing so, the start position (same as the start point position of the equally allocated range) is determined by detecting the space before the leading “N”. The determination of the start position (start point position) is also performed when a head of a line or a ruled line is detected in addition to a space.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の均等割
付け範囲指定方式では、始点位置や均等割付け対象範囲
は固定の規則で決定されるため、任意の文字だけを均等
に割り付けることや、スペースも含んだ均等割付けがで
きないという欠点があった。又、機能文字が全角文字で
あり、その場所には他の文字を入力できないため、半角
スペースを対象とする均等割付け処理ができないという
欠点があった。
In the above-mentioned conventional equal allocation range designating method, since the starting point position and the equal allocation target range are determined by fixed rules, only arbitrary characters can be allocated evenly and the space can be reduced. There is a drawback that even allocation cannot be performed. In addition, since the function character is a full-width character and other characters cannot be input at the place, there is a disadvantage that the uniform layout processing for the half-width space cannot be performed.

【0004】本発明の目的は、スペースを含む任意の文
字を対象に均等割付けができ、半角スペースを対象とす
る均等割付け処理も可能な均等割付け範囲指定方式を提
供することにある。
It is an object of the present invention to provide an even allocation range designating method which can equally allocate any character including a space and can perform even allocation processing for a half-width space.

【0005】[0005]

【課題を解決するための手段】本発明の均等割付け範囲
指定方式は、均等割付け範囲の始点位置を指定する入力
を受け文書データの該当文字コードの前に均等割付け範
囲の始点位置を表す始点制御コードを挿入する始点指定
処理手段と、均等割付け範囲の終点位置を指定する入力
を受け文書データの該当文字コードの前に均等割付け範
囲の終点位置を表す終点制御コードを挿入する終点指定
処理手段と、文書データを順方向に検索し前記始点制御
コードを検出したとき直後の文字コードを始点位置と判
定し記憶する始点位置サーチ手段と、文書データを順方
向に検索し前記終点制御コードを検出したとき直後の文
字コードを終点位置と判定し記憶する終点位置サーチ手
段と、前記終点位置から文書データを逆方向に検索して
スペース以外の最初の文字コードを均等割付け対象範囲
の終了位置として前記始点位置との間の文字コードを均
等割付け対象範囲と判定する均等割付け対象決定手段
と、前記均等割付け対象範囲の対象文字を前記始点位置
と前記終点位置との間に均等に配置して出力イメージを
編集する均等割付け編集処理手段とを備えて構成されて
いる。
According to the present invention, there is provided an equal allocation range designating method which receives an input for designating a start position of an equal allocation range, and controls a start point indicating the start position of the equal allocation range before a corresponding character code of document data. Start point designation processing means for inserting a code, end point designation processing means for receiving an input for designating the end point position of the equal allocation range, and inserting an end point control code representing the end point position of the equal allocation range before the corresponding character code of the document data; A starting point position searching means for determining and storing a character code immediately after detecting the starting point control code in the document data and detecting the starting point control code, and detecting the end point control code by searching the document data in the forward direction; End point position searching means for determining and storing the character code immediately after the end point position as the end point position; and searching the document data in the reverse direction from the end point position to find the last character other than the space. A character code between the start point position and the character code between the equal allocation target range as an end position of the equal allocation target range; And an even allocation editing processing means for editing the output image by arranging the output image evenly between the end points.

【0006】[0006]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0007】図1は本発明の一実施例の構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention.

【0008】本実施例の均等割付け範囲指定方式は、図
1に示すように、キーボード等の入力部1から文書デー
タ3を作成編集する入力編集処理部2に、文書データ3
に均等割付け範囲の始点位置を示す制御コードを挿入す
る始点指定処理手段4と、均等割付け範囲の終点位置を
示す制御コードを挿入する終点指定処理手段5とを備
え、文書データ3の内容をプリンタ6に出力するための
出力編集処理部7に、文書データ3から始点位置を検出
する始点位置サーチ手段8と、終点位置を検出する終点
位置サーチ手段9と、終点位置から逆方向に検索し均等
割付け対象範囲の終了位置を判定する均等割付け対象決
定手段10と、出力イメージを編集する均等割付け編集
処理手段11とを備えて構成されている。
As shown in FIG. 1, the equal allocation range designating method according to the present embodiment is configured such that an input / edit processing section 2 which creates and edits document data 3 from an input section 1 such as a keyboard sends the document data 3
A start point designation processing means 4 for inserting a control code indicating the start point position of the equally allocated range, and an end point designation processing means 5 for inserting a control code indicating the end point position of the equally allocated range. An output editing processing unit 7 for outputting to the output unit 6 includes a start point position search unit 8 for detecting a start point position from the document data 3, an end point position search unit 9 for detecting an end point position, The apparatus includes an equal allocation target determining unit 10 that determines the end position of the allocation target range, and an equal allocation editing processing unit 11 that edits an output image.

【0009】以下、上述した各手段の動作を順を追って
更に詳細に説明する。まず、均等割付けを指示する場
合、利用者は均等割付けの始点位置と終点位置とをディ
スプレイ上のカーソル位置により、特定の機能キーを使
用して入力する。
Hereinafter, the operation of each of the above-described units will be described in more detail step by step. First, when instructing the equal allocation, the user inputs the start point position and the end point position of the equal allocation by using a specific function key by the cursor position on the display.

【0010】始点指定処理手段4は、入力部1から均等
割付けの範囲の始点を指定する入力を受けたとき、その
ときの表示画面上のカーソル位置の文字(スペースも含
む)に対応する文書データ3の文字コードの前に、均等
割付け範囲の始点位置を表す始点制御コードを挿入し、
画面の該当文字に重畳して始点指定を行ったことを示す
識別情報(特定の網掛けや下線など)を表示する。
When a start point designation processing means 4 receives an input from the input unit 1 for designating the start point of the equally allocated range, the document data corresponding to the character (including the space) at the cursor position on the display screen at that time. Before the character code of No. 3, a start point control code indicating the start point position of the equally allocated range is inserted,
The identification information (specific shading, underline, etc.) indicating that the start point has been specified is displayed by being superimposed on the corresponding character on the screen.

【0011】終点指定処理手段5は、入力部1から均等
割付けの範囲の終点を指定する入力を受けたとき、その
ときの表示画面上のカーソル位置の文字(スペースも含
む)に対応する文書データ3の文字コードの前に、均等
割付け範囲の終点位置を表す終点制御コードを挿入し、
該当文字に重畳して識別情報を表示する。
The end point designation processing means 5, when receiving an input for designating the end point of the equally allocated range from the input unit 1, sets the document data corresponding to the character (including the space) at the cursor position on the display screen at that time. Before the character code of No. 3, an end point control code indicating the end point position of the equal allocation range is inserted,
The identification information is displayed superimposed on the corresponding character.

【0012】作成した文書データを印字出力させる場合
には、始点位置サーチ手段8が文書データ3を順方向に
検索して始点制御コードを検出すると、その直後の文字
コードを始点位置として記憶する。終点位置サーチ手段
9が文書データ3を更に順方向に検索し、終点制御コー
ドを検出すると直後の文字コードを終点位置として記憶
する。続いて、均等割付け対象決定手段10が、終点位
置とした文字コードから文書データ3を逆方向に検索
し、スペース以外の最初の文字コードを検出し、その位
置を均等割付け対象範囲の終了位置と判定し、始点位置
サーチ手段8で記憶した始点位置との間のスペースを含
む文字コードを均等割付け対象範囲と判定する。最後
に、均等割付け編集処理手段11が、均等割付け対象決
定手段10が判定した均等割付け対象範囲の文字コード
を、始点位置サーチ手段8で記憶した始点位置と終点位
置サーチ手段9で記憶した終点位置との間の長さ(均等
割付け範囲)に均等に配置して出力イメージを編集し出
力する。
When the created document data is to be printed out, when the start point position search means 8 searches the document data 3 in the forward direction and detects the start point control code, the character code immediately after that is stored as the start point position. The end point position search means 9 further searches the document data 3 in the forward direction, and stores the character code immediately after detecting the end point control code as the end point position. Subsequently, the equal allocation target determination unit 10 searches the document data 3 in the reverse direction from the character code set as the end point position, detects the first character code other than the space, and determines the position as the end position of the equal allocation target range. It is determined that the character code including the space between the start position stored by the start position search means 8 and the start position is determined as the equal allocation target range. Lastly, the equal allocation editing processing means 11 stores the character codes of the equal allocation target range determined by the equal allocation target determination means 10 in the start point position stored in the start point position search means 8 and the end point position stored in the end point position search means 9. Edits and outputs the output image by arranging it evenly over the length between (and the evenly allocated range).

【0013】次に、本実施例の動作を図2を用いて具体
例により説明する。
Next, the operation of this embodiment will be described with reference to FIG.

【0014】図2(a)は、均等割付けを行う対象文書
の画面表示と、それに対応する文書データであり、図4
に示した従来の説明例と同様に、「NEC」の3文字を
6文字分の範囲に均等に割り付けるものとする。なお、
文書データ中の下線は、当該文字の文字コードであるこ
とを表している。
FIG. 2A shows a screen display of a target document to be equally allocated and the corresponding document data.
In the same manner as in the description of the related art shown in FIG. 3, three characters "NEC" are equally allocated in a range of six characters. In addition,
An underline in the document data indicates the character code of the character.

【0015】図2(b)は、均等割付け範囲の始点指定
を行った状態を示している。画面上でカーソルを「N」
の位置に合わせて始点指定の機能キーを押すと、始点指
定処理手段4により文書データ中の「N」の文字コード
の前に始点制御コード(均等ST)が挿入され、画面表
示の「N」の位置には始点指定が行われたことを表す識
別情報(網掛けで示す)が重畳して表示されカーソルは
次の文字に移る。
FIG. 2B shows a state in which the start point of the equally allocated range has been designated. Cursor "N" on screen
When the function key for designating the start point is pressed in accordance with the position of "N", the start point designation processing means 4 inserts the start point control code (equivalent ST) before the character code "N" in the document data, and the "N" on the screen display is displayed. The identification information (indicated by hatching) indicating that the start point has been designated is superimposed and displayed at the position, and the cursor moves to the next character.

【0016】図2(c)は、終点指定を行った状態を示
している。カーソルを6文字目のスペース位置合わせて
終点指定の機能キーを押すと、終点指定処理手段5によ
り文書データ中の6文字目のスペース文字コードの前に
終点制御コード(均等EN)が挿入され、画面表示の位
置に終点指定が行われたことを表す識別表示(網掛けで
示す)が重畳して表示される。なお、終点指定が終了し
た場合、終点位置の文字に識別情報を重畳するだけてな
く、始点位置から終点位置までの全文字に重畳して均等
割付け範囲を示す識別情報を表示するようにしてもよ
い。
FIG. 2C shows a state in which the end point has been designated. When the cursor is positioned at the space of the sixth character and the function key for specifying the end point is pressed, the end point specification processing means 5 inserts an end point control code (equivalent EN) before the space character code of the sixth character in the document data. An identification display (indicated by hatching) indicating that the end point has been specified is superimposed and displayed at the position of the screen display. When the end point designation is completed, not only the identification information is superimposed on the character at the end point position, but also the identification information indicating the uniform allocation range may be displayed by superimposing on the all characters from the start point position to the end point position. Good.

【0017】図2(d)は、始点・終点制御コードが挿
入された文書データを印字する際の動作を示している。
まず、文書データを先頭からサーチし、始点位置サーチ
手段8が始点制御コードを検出し、その直後の「N」の
文字コード(先頭から2文字目)を始点位置と判定し記
憶する。次に、終点位置サーチ手段9が終点制御コード
を検出し、その直後のスペース文字コード(先頭から7
文字目)を終点位置と判定し記憶する。続いて、均等割
付け対象決定手段10が終点位置から逆方向に検索し、
「C」の文字コードを検出して均等割付け対象範囲の終
了位置と判定する。これで均等割付けに必要な情報が決
定され、均等割付け編集処理手段11により出力イメー
ジが編集され出力される。
FIG. 2D shows the operation when printing the document data into which the start point / end point control code is inserted.
First, the document data is searched from the beginning, the starting point position search means 8 detects the starting point control code, and the character code of "N" (the second character from the beginning) immediately after that is determined and stored as the starting point position. Next, the end point position search means 9 detects the end point control code, and immediately follows the space character code (7 characters from the head).
Is stored as the end point position. Subsequently, the equal allocation target determination means 10 searches in the reverse direction from the end point position,
The character code of “C” is detected and determined as the end position of the equal allocation target range. In this way, information necessary for equal allocation is determined, and the output image is edited and output by the equal allocation editing processing means 11.

【0018】図3は、本発明による均等割付け画面と印
字結果の例を示す説明図である。図3(a)は、連続文
字中の途中の文字を始点指定した例として、番号の後に
続けて文字数の異なる名称を配置した場合に、名称部分
のみを均等割付け対象とした例を示す。図3(b)は、
図3(a)と対比するため同じ条件の場合に従来の方式
を適用した例である。図3(c)は、スペースを含んだ
均等割付けの例を、図3(d)は、半角分のスペースの
均等割付けの例を示している。
FIG. 3 is an explanatory diagram showing an example of a uniform layout screen and a print result according to the present invention. FIG. 3A shows an example in which a character having a different number of characters is placed after a number as an example in which a character in the middle of a continuous character is designated as a starting point, and only the name portion is to be equally assigned. FIG. 3 (b)
This is an example in which a conventional method is applied under the same conditions for comparison with FIG. FIG. 3C shows an example of uniform allocation including a space, and FIG. 3D shows an example of uniform allocation of a half-width space.

【0019】[0019]

【発明の効果】以上説明したように、本発明の均等割付
け範囲指定方式によれば、均等割付けの始点を任意に指
定できるため、任意の文字に対しての均等割付けやスペ
ースを含んだ均等割付けが可能となり、さまざまなパタ
ーンで均等割付けが行え、表現力豊かな文書作成ができ
るという効果がある。
As described above, according to the equal allocation range designation method of the present invention, the start point of equal allocation can be arbitrarily specified, so that even allocation to any character and equal allocation including spaces are performed. This makes it possible to perform equal assignment in various patterns, and to create an expressive document.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本実施例の動作を具体例で示した説明図であ
る。
FIG. 2 is an explanatory diagram showing a specific example of the operation of the present embodiment.

【図3】本実施例による均等割付け指定画面と印字結果
の関係を示す説明図である。
FIG. 3 is an explanatory diagram illustrating a relationship between an equal allocation designation screen and a print result according to the embodiment;

【図4】従来の均等割付け範囲指定方式の説明図であ
る。
FIG. 4 is an explanatory diagram of a conventional equal allocation range designation method.

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

1 入力部 2 入力編集処理部 3 文書データ 4 始点指定処理手段 5 終点指定処理手段 6 プリンタ 7 出力編集処理部 8 始点位置サーチ手段 9 終点位置サーチ手段 10 均等割付け対象決定手段 11 均等割付け編集処理手段 DESCRIPTION OF SYMBOLS 1 Input part 2 Input edit processing part 3 Document data 4 Start point specification processing means 5 End point specification processing means 6 Printer 7 Output editing processing part 8 Start point position search means 9 End point position search means 10 Equal allocation object determination means 11 Equal allocation edit processing means

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 均等割付け範囲の始点位置を指定する入
力を受け文書データの該当文字コードの前に均等割付け
範囲の始点位置を表す始点制御コードを挿入する始点指
定処理手段と、均等割付け範囲の終点位置を指定する入
力を受け文書データの該当文字コードの前に均等割付け
範囲の終点位置を表す終点制御コードを挿入する終点指
定処理手段と、文書データを順方向に検索し前記始点制
御コードを検出したとき直後の文字コードを始点位置と
判定し記憶する始点位置サーチ手段と、文書データを順
方向に検索し前記終点制御コードを検出したとき直後の
文字コードを終点位置と判定し記憶する終点位置サーチ
手段と、前記終点位置から文書データを逆方向に検索し
てスペース以外の最初の文字コードを均等割付け対象範
囲の終了位置として前記始点位置との間の文字コードを
均等割付け対象範囲と判定する均等割付け対象決定手段
と、前記均等割付け対象範囲の対象文字を前記始点位置
と前記終点位置との間に均等に配置して出力イメージを
編集する均等割付け編集処理手段とを備えたことを特徴
とする均等割付け範囲指定方式。
1. A start point designation processing means for receiving an input for designating a start position of an evenly allocated range, inserting a start point control code indicating the start position of the equally allocated range before a corresponding character code of the document data, and An end point designation processing means for receiving an input for designating an end point position and inserting an end point control code representing an end point position of the equally allocated range before the corresponding character code of the document data, and searching the document data in the forward direction to find the start point control code. A start point position search means for determining and storing the character code immediately after the detection as the start point position, and an end point for determining and storing the character code immediately after the detection of the document data in the forward direction and detecting the end point control code as the end position. A position search means for searching the document data in the reverse direction from the end position, and setting the first character code other than the space as the end position of the equally-allocated range; An equal allocation target determining unit that determines a character code between the start position and the equal allocation target range, and outputs the target characters of the equal allocation target range evenly arranged between the start position and the end position. A method for specifying an evenly allocated range, comprising: an evenly allocated editing processing means for editing an image.
JP06028754A 1994-02-28 1994-02-28 Even allocation range specification method Expired - Fee Related JP3123874B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06028754A JP3123874B2 (en) 1994-02-28 1994-02-28 Even allocation range specification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06028754A JP3123874B2 (en) 1994-02-28 1994-02-28 Even allocation range specification method

Publications (2)

Publication Number Publication Date
JPH07239848A JPH07239848A (en) 1995-09-12
JP3123874B2 true JP3123874B2 (en) 2001-01-15

Family

ID=12257203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06028754A Expired - Fee Related JP3123874B2 (en) 1994-02-28 1994-02-28 Even allocation range specification method

Country Status (1)

Country Link
JP (1) JP3123874B2 (en)

Also Published As

Publication number Publication date
JPH07239848A (en) 1995-09-12

Similar Documents

Publication Publication Date Title
JPH11296335A (en) Preview method for print data and device therefor and recording medium
JP3123874B2 (en) Even allocation range specification method
US4995738A (en) Document processing apparatus with automatic hyphenation during editing
JPH0744574A (en) Data processor with page turning function and page turning method for data
JP2003044464A (en) Layout device and layout program
EP0052711B1 (en) Method of processing text by insertion of a block of text in a text processing system
JP3246142B2 (en) Printing control device
KR100509458B1 (en) Overlapping printing method in printer
JPH0596812A (en) Print processor
US20050010858A1 (en) Method and apparatus for creating document
JP2000181673A (en) Document printer
JP3068698B2 (en) Facsimile machine with storage device
JP2001010146A (en) Method and system for designated format printing
JP4006096B2 (en) Printer system, information processing method, and medium on which print output control program is recorded
JPH08153092A (en) Document processor
JP2758778B2 (en) Print data output method
JPS6057382A (en) Character processor
JP3130856B2 (en) Japanese character input method and device using 16 keys
JP3317042B2 (en) Data processing system
JPH0561856A (en) Document preparing device
JPH0799520B2 (en) Document editing device
JPH05274310A (en) Method and device for processing document
JPS6398788A (en) Recognizing device
JPH07141379A (en) Translation device
JPH10107984A (en) Image forming device having data read function of file recording medium

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20001003

LAPS Cancellation because of no payment of annual fees