JPS62100861A - Control system for character input position in character editing process - Google Patents

Control system for character input position in character editing process

Info

Publication number
JPS62100861A
JPS62100861A JP60240787A JP24078785A JPS62100861A JP S62100861 A JPS62100861 A JP S62100861A JP 60240787 A JP60240787 A JP 60240787A JP 24078785 A JP24078785 A JP 24078785A JP S62100861 A JPS62100861 A JP S62100861A
Authority
JP
Japan
Prior art keywords
input
character
control code
character data
search direction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP60240787A
Other languages
Japanese (ja)
Inventor
Hiroko Sumida
隅田 宏子
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP60240787A priority Critical patent/JPS62100861A/en
Publication of JPS62100861A publication Critical patent/JPS62100861A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain quickly a character input enable position by retrieving a retrieving direction storing table which is decided by the type of the control code and the retrieving direction of the character input position and performing an editing job. CONSTITUTION:The character data supplied from an input device 11 is transferred to an editing job processing means 12. The means 12 transfers all input character data on the line having an input request to an input position control means 13 together with the information on the digit position to be supplied next in case no designation is particularly given. The means 13 checks whether or not a control code exists at the corresponding digit position. If the control code exists, a retrieving direction table 14 is retrieved from said control code and the retrieving direction of the present character to obtain the retrieving direction of the next character. At the same time, the propriety for input of character data is checked and this checking result is delivered to an editing job processing means 12. As a result, the means 12 edits the input character data and displays the character data supplied to a screen display device 15 at an appropriate position.

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は情報処理システムに用いられ、文字編集処理
における文字入力の位置の制御に関する。
DETAILED DESCRIPTION OF THE INVENTION "Field of Industrial Application" The present invention is used in an information processing system and relates to controlling the position of character input in character editing processing.

「従来の技術」 従来、文字編集処理における文字入力の位置制御は、現
在の文字入力位置を行1桁のみで表わし、その行、桁7
文字の入力に応じて更新していく方法がとられていた。
``Prior art'' Conventionally, character input position control in character editing processing has been performed by representing the current character input position with only one row and column 7.
A method was used in which the information was updated according to the input of characters.

「発明が解決しようとする問題点」 前述した従来の文字入力の位置制御方式では入力位置を
行1桁のみで表わすため1文字の編集を伴う処理におい
て制御コードが存在し、制御コード上には文字の入力を
許さない場合や、制御コードの種類に応じて文字の入力
位置を次の行、桁ではなく、特定の位置に補正する必要
がある場合、入力済の文字を入力要求のあった行、桁位
置から1文字ごとに順番に判断し、入力可能位置を検索
する必要があり、検索の処理に時間が掛り、かつ複雑に
なるという欠点がある。
"Problems to be Solved by the Invention" In the conventional character input position control method described above, the input position is represented by only one digit in a row, so a control code exists in the process that involves editing one character, and the control code contains If character input is not allowed, or if the input position of the character needs to be corrected to a specific position rather than the next line or column depending on the type of control code, the character that has already been entered can be It is necessary to search for possible input positions by sequentially determining each character from the line and column position, which has the disadvantage that the search process is time consuming and complicated.

「問題点を解決するための手段」 この発明の文字編集処理における文字入力の位置制御方
式は、次の文字入力位置を検索するための文字の検索方
向と制御コードの種類との二つの要素から次の検索方向
を示す情報を格納した検索方向テーブルを用意しておき
、文字が入力されると、最終入力文字を含む行のすべて
の文字データ制御コードを入力し、指定がない場合に次
に入力されるべき桁位置情報からその位置に制御コード
があるか否かを判定し、その制御コードがあればその制
御コードとそれまでの文字検索方向とで上記検索方向テ
ーブルを参照し、その結果により検索方向を決定する。
"Means for Solving the Problems" The character input position control method in the character editing process of the present invention is based on two elements: the character search direction and the type of control code to search for the next character input position. Prepare a search direction table that stores information indicating the next search direction, and when a character is input, all character data control codes in the line containing the last input character are input, and if there is no specification, the next Determine whether or not there is a control code at that position from the digit position information to be input, and if there is a control code, refer to the above search direction table using that control code and the character search direction up to that point, and calculate the result. The search direction is determined by

「実施例」 第1図はこの発明の実施例の全体を示す構成図である。"Example" FIG. 1 is a block diagram showing the entire embodiment of the present invention.

入力装置11によって入力された文字データはまず編集
作業処理手段12に渡される。編集作業処理手段12は
入力位置制御手段13に入力要求のあった行の入力済の
すべての文字データと、特に指定がなされない場合に次
に入力すべき桁位置(この例では前の入力の右隣の桁)
の情報とを渡す。入力位置制御手段13は当該桁位置に
制御コードがあるか否か判定し、制御コードの場合はこ
れと現在の文字の検索方向とから検索方向テーブル14
を検索し、次の文字の検索方向を求め、かつ入力の可否
を決定し、その結果を編集作業処理手段12に渡す。そ
の結果をもとに編集作業処理子1iQ12では入力され
た文字データを編集し、画面表示装置15に入力された
文字データを適切な位置に表示する。以上が全体的な動
作の流れである。
Character data input by the input device 11 is first passed to the editing work processing means 12. The editing work processing means 12 inputs all character data that has been input in the line requested by the input position control means 13 and the digit position to be input next (in this example, the digit position of the previous input) unless otherwise specified. digit to the right)
Pass the information. The input position control means 13 determines whether or not there is a control code at the relevant digit position, and if it is a control code, the search direction table 14 is determined based on this and the current character search direction.
is searched, the search direction of the next character is determined, and whether input is possible or not is determined, and the result is passed to the editing work processing means 12. Based on the results, the editing work processor 1iQ12 edits the input character data and displays the input character data on the screen display device 15 at an appropriate position. The above is the overall flow of operation.

次にテーブル14の構造と、それを検索して次の文字入
力位置の検索方向を得、入力可否を決定する手順につい
て具体例にもとすいて説明する。
Next, the structure of the table 14, the procedure for searching it to obtain the search direction for the next character input position, and determining whether input is possible will be explained using a specific example.

ここでは制御コードとして第2図Aに示すように表示面
に枠21を生成する制御コードを取りあげ、この枠21
内に第2図Bに示すように文字22を入力していくため
の制御手順について説明する。
Here, as a control code, we will take up a control code that generates a frame 21 on the display screen as shown in FIG. 2A.
A control procedure for inputting characters 22 as shown in FIG. 2B will be described below.

テーブル14には枠を生成するため制御コードとして第
3図に示すように“[”−”1“]”″L“」”が縦の
要素としてとられ、横の要素は文字入力位置の検索方向
として“上”下”“右”左”がとられる。縦、横のそれ
ぞれの要素に対応して次の検索方向がテーブル14に配
置されている。例えば縦の要素が“「”で現在の検索方
向が“左”の場合、それ(=対応する次の検索方向は“
下”となる。
In table 14, "["-"1"]""L"" is taken as a vertical element as a control code to generate a frame, as shown in FIG. 3, and the horizontal element is used to search for a character input position. The directions are "Top", "Bottom", "Right", and "Left".The next search direction is arranged in the table 14 corresponding to each vertical and horizontal element.For example, if the vertical element is "" and the current If the search direction for is “left”, then the next search direction for it (=
``Bottom''.

現在の状態が第4図Aに示す状態となっており、最後に
入力した文字データが枠21内の1行目の右端の文字”
E”である場合に、次に入力装置11から“F”の文字
データが人力されてきたとする。
The current state is shown in Figure 4A, and the last input character data is the rightmost character of the first line in frame 21.
Suppose that character data of "F" is then manually entered from the input device 11.

前回の文字データ′E nの入力が終了した時点で、次
の文字入力位置の検索方向は“右”となっている。編集
作業処理手段12から文字″E”が含まれる行のそれま
でに入力された文字データと次に入力されるべき桁位置
とが入力位置制御手段13に渡される。入力位置制御手
段13はその桁位置に制御コードがあるか否か判定し、
この例では制御コード1”があり、検索方向が“右”で
あることから検索方向テーブル14を検索し、次の検索
方向として“下”を得る。
At the time when the input of the previous character data 'E n is completed, the search direction for the next character input position is "right". The editing work processing means 12 passes the character data input so far in the line containing the character "E" and the digit position to be input next to the input position control means 13. The input position control means 13 determines whether or not there is a control code at that digit position,
In this example, since there is a control code 1'' and the search direction is ``right'', the search direction table 14 is searched and ``down'' is obtained as the next search direction.

この検索された検索方向“下”と、前記桁位置が制御コ
ードであるので入力不可の情報とを編集作業処理手段1
2に返す。編集作業処理手段12では“下”という検索
方向から一つ下の行のすべての文字データ及び制御コー
ドを再び入力位置制御手段13に渡す。入力位置制御手
段13ではこの行においても前記桁位置には制御コード
″1nがあり、検索方向は“下”であるから、これらか
ら検索方向テーブル14より“左”という検索方向と入
力不可という情報とを編集制御処理手段12に返す。編
集作業処理手段12では入力不可ということから桁位置
を一文字左にずらし、再び入力位置制御手段13に制御
を渡す。入力位置制御手段13は渡された桁位置に制御
コードがない場合は検索方向はそのままとし、入力は可
という情報を返す。
This search direction "down" and the information that cannot be entered because the digit position is a control code are processed by the editing work processing means 1.
Return to 2. The editing work processing means 12 passes all the character data and control codes of the line one line below from the search direction "bottom" to the input position control means 13 again. In the input position control means 13, there is a control code "1n" in the digit position in this row as well, and the search direction is "down", so from these, the search direction table 14 determines the search direction "left" and the information that input is not possible. is returned to the editing control processing means 12. Since the editing work processing means 12 cannot input the digit, it shifts the digit position by one character to the left and passes control to the input position control means 13 again.The input position control means 13 inputs the passed digit. If there is no control code at the position, the search direction is left as is and information indicating that input is allowed is returned.

また編集作業処理手段12では検索方向が6右”となり
入力可となった時にその桁位置に文字を入力するが、そ
れまでは検索方向は6左”のままで、編集作業処理手段
12と入力位置制御手段13との間を制御が往復し、左
端の制御コード″1”をみつけた時点で検索方向は“右
”となり、その次に“右”を検索した結果入力可、検索
方向“右”という情報を入力位置制御手段13から編集
作業処理手段12を得て、その桁位置に”F”を入力し
、画面表示装置15に第4図Bに示すようにデータを表
示する。このようにしてF″という文字データは“El
”の次(右)にではなく、次の行の1″の右側に入力さ
れる。
In addition, in the editing work processing means 12, when the search direction becomes 6 right and input is possible, a character is input in that digit position, but until then, the search direction remains 6 left, and the editing work processing means 12 is input. The control reciprocates with the position control means 13, and when the leftmost control code "1" is found, the search direction becomes "right", and then the search result for "right" can be input, and the search direction is "right". The editing work processing means 12 obtains the information "" from the input position control means 13, inputs "F" into that digit position, and displays the data on the screen display device 15 as shown in FIG. 4B. In this way, the character data “F” is converted to “El”.
It is not entered next to (to the right of) ``, but to the right of 1'' on the next line.

このようにこの発明では次々と入力するべき文字のうち
最初のA′はその位置を示す情報を例えばカーフルの設
定により入力するが、その後は単に入力すべき文字を順
次入力すると、制御コード位置(二なると自動的に判断
し、行替えし、かつその最初の入力位置も自動的に決定
され、そこに入力文字が表示される。
In this way, in this invention, information indicating the position of the first A' of the characters to be inputted one after another is inputted by setting the cursor, but after that, simply inputting the characters to be inputted one after another results in the control code position ( It automatically determines that it is 2, changes the line, and also automatically determines the first input position, and displays the input character there.

「発明の効果」 以上説明してきたようにこの発明によれば入力位置を、
制御コードの種類と文字人力°位置の検索方向とから決
まる検索方向を格納したテーブルを使用し、これを検索
することにより編集作業を行うため、入力可能位置を迅
速に求めることができる。この検索テーブルの縦、横の
要素を選択することにより複雑な編集処理にも適用が可
能となる。
"Effects of the Invention" As explained above, according to this invention, the input position can be
A table storing search directions determined from the type of control code and the search direction of character positions is used, and editing work is performed by searching this table, so input possible positions can be quickly determined. By selecting the vertical and horizontal elements of this search table, it is possible to apply it to complex editing processing.

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

第1図はこの発明の一実施例を示すブロック図、第2図
は表示制御の一種である伜と枠内に表示された文字との
関係を示す図、第3図は表示制御枠と対応した制御コー
ドと検索方向とに対する検索方向テーブルの内容を示す
図、第4図はこの発明方式による文字入力の動作の説明
(二供するための入力文字表示状態を示す図である。 1に文字入力装置、12:編集作業処理手段。 13:入力位置制御手段、14:検索方向テーブル、1
5:画面表示装置。
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a diagram showing the relationship between 传, a type of display control, and characters displayed in the frame, and Fig. 3 corresponds to the display control frame. Fig. 4 is a diagram showing the contents of a search direction table for control codes and search directions, and Fig. 4 is a diagram showing an input character display state for providing an explanation of the character input operation according to the method of the present invention. Device, 12: Editing work processing means. 13: Input position control means, 14: Search direction table, 1
5: Screen display device.

Claims (1)

【特許請求の範囲】[Claims] (1)文字入力に対する制限を与える制御コードと文字
検索方向とを要素とし、次の検索方向を決める情報を格
納した検索方向テーブルと、 文字が入力されるとその直前に入力された文字を含む行
文字データと、特に指定がない場合に次に入力すべき桁
位置の情報とからその桁位置が制御コードであるか否か
を判定し、制御コードの場合はその制御コードとそれま
での検索方向とから上記検索方向テーブルを参照して次
の検索方向を決定し、入力可となる位置を検索する入力
位置制御手段とを有する文字編集処理における文字入力
の位置制御方式。
(1) A search direction table that includes control codes that limit character input and character search directions as elements, and stores information that determines the next search direction, and when a character is input, it includes the character that was input immediately before. Determines whether the digit position is a control code from the line character data and the information on the next digit position to be input if there is no special specification, and if it is a control code, the control code and the search up to that point are determined. and input position control means for determining the next search direction by referring to the search direction table based on the direction and searching for a position where input is possible.
JP60240787A 1985-10-28 1985-10-28 Control system for character input position in character editing process Pending JPS62100861A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60240787A JPS62100861A (en) 1985-10-28 1985-10-28 Control system for character input position in character editing process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60240787A JPS62100861A (en) 1985-10-28 1985-10-28 Control system for character input position in character editing process

Publications (1)

Publication Number Publication Date
JPS62100861A true JPS62100861A (en) 1987-05-11

Family

ID=17064684

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60240787A Pending JPS62100861A (en) 1985-10-28 1985-10-28 Control system for character input position in character editing process

Country Status (1)

Country Link
JP (1) JPS62100861A (en)

Similar Documents

Publication Publication Date Title
JPS63271516A (en) Graphic display data processing system
JPS62100861A (en) Control system for character input position in character editing process
JP2699321B2 (en) File processing device
JPS63288357A (en) Data editing system
JP2842511B2 (en) Form creation device
JPH05225317A (en) Coordinate data designation control system
JP2839306B2 (en) Attribute setting method in interactive graphic processing
JPS6394324A (en) Field input processing system
JPH03194555A (en) Device for allocating leaflet and catalog or the like
JPH05108635A (en) Character display device
JPH01227182A (en) Map information using device
JPS62284416A (en) Input information processor
JPH0194483A (en) Layout design supporting device
JPH07121285A (en) Character string input system
JPS6033625A (en) Conversational information retrieving device
JPS62254269A (en) Cad device
JPS63292219A (en) System for changing digit length of picture item
JPH02282816A (en) Input system by dynamic control
JPS61213940A (en) Specifying device for file
JPH06318205A (en) Information managing device and address input method
JPH02165260A (en) Document processor
JPS59177637A (en) Conversational screen generating method
JPS60134345A (en) Inputting method of response command
JPH01160194A (en) Videotex system
JPS62175819A (en) Automatic data input device