JPH0512271A - Underline input device - Google Patents

Underline input device

Info

Publication number
JPH0512271A
JPH0512271A JP3158666A JP15866691A JPH0512271A JP H0512271 A JPH0512271 A JP H0512271A JP 3158666 A JP3158666 A JP 3158666A JP 15866691 A JP15866691 A JP 15866691A JP H0512271 A JPH0512271 A JP H0512271A
Authority
JP
Japan
Prior art keywords
underline
character
document
code
input
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
JP3158666A
Other languages
Japanese (ja)
Inventor
Yoichi Ito
陽一 伊藤
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 JP3158666A priority Critical patent/JPH0512271A/en
Publication of JPH0512271A publication Critical patent/JPH0512271A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

(57)【要約】 【目的】 文書作成装置において、文字がない領域にも
簡単にアンダラインを引くことができるようにする。 【構成】 キ−ボ−ド21は、各種文字を入力するための
文字入力キ−や、アンダラインを引くべき指示位置等を
入力するための各種ファンクションキ−を有しており、
これらのキ−操作処理は制御部(CPU)22により行わ
れる。制御部22は、キ−ボ−ド21を介して入力された文
字や各種命令に応じて文書を、文書バッファ23上で編集
したり、表示部24がその文書を表示するための表示制御
を行う。また、キ−ボ−ド21を介して印字命令が入力さ
れると、制御部22は、文書バッファ23の文書をプリンタ
25を介して出力するための印字制御を行う。文字の有無
確認部26は、キ−ボ−ド21を介してアンダライン指示位
置が入力されると、その位置に文字が存在するか否かを
判定する。そして判定の結果、文字が記憶されている場
合には、文字コ−ドにアンダライン用ビットをセット
し、文字が記憶されていない場合には、スペ−スコ−ド
を挿入して該スペ−スコ−ドにアンダライン用ビットを
セットするように構成されている。
(57) [Abstract] [Purpose] To make it possible to easily draw an underline in an area where there is no character in a document creation device. [Structure] The keyboard 21 has a character input key for inputting various characters and various function keys for inputting a pointing position at which an underline should be drawn.
These key operation processes are performed by the control unit (CPU) 22. The control unit 22 edits the document in the document buffer 23 according to the characters and various commands input through the keyboard 21, and the display unit 24 performs display control for displaying the document. To do. When a print command is input via the keyboard 21, the control unit 22 prints the document in the document buffer 23.
Print control for output via 25. When the underline designated position is input via the keyboard 21, the character presence / absence confirming unit 26 determines whether or not a character exists at that position. If the result of the determination is that the character is stored, the underline bit is set in the character code, and if the character is not stored, the space code is inserted and the space is inserted. It is configured to set the underline bit in the code.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ワ−ドプロセッサ等の
文書作成装置において作成した文章中にアンダラインを
引くためのアンダライン入力装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an underline input device for drawing an underline in a sentence created by a document creation device such as a word processor.

【0002】[0002]

【従来の技術】図3は、従来のアンダライン入力方式を
用いた文章作成装置を示すブロック図である。
2. Description of the Related Art FIG. 3 is a block diagram showing a sentence creating apparatus using a conventional underline input method.

【0003】同図において、キ−ボ−ド11を介して文字
やアンダラインを引くべき指示位置等が入力されると、
制御部(CPU)12は、これらの入力された文字等より
成る文書デ−タを文書バッファ13に格納すると共に表示
部14に表示し、また、キ−ボ−ド11を介して印字命令が
入力されると、文書バッファ13の文書をプリンタ15を介
して出力するための印字制御を行う。この場合、1つの
文字コ−ドは通常2バイトで構成されている。
In the figure, when a character or a designated position for drawing an underline is input through the keyboard 11,
The control unit (CPU) 12 stores the document data composed of these input characters in the document buffer 13 and displays it on the display unit 14, and the print command is issued via the keyboard 11. When input, print control for outputting the document in the document buffer 13 via the printer 15 is performed. In this case, one character code is usually composed of 2 bytes.

【0004】ここで、例えば図4に示すようにタイトル
が「出張報告書」の文書を作成する場合、図5に示すよ
うにタイトル「出張報告書」にアンダラインを引くこと
が行われるが、このアンダラインの表示処理、印字処理
等は、図6に示すように2バイトの文字コ−ドの8番目
のアンダライン用ビットを「1」にセットすることによ
り行う。
Here, for example, when a document whose title is "Business Trip Report" is created as shown in FIG. 4, an underline is drawn to the title "Business Trip Report" as shown in FIG. This underline display processing, printing processing, etc. are performed by setting the eighth underline bit of the 2-byte character code to "1" as shown in FIG.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、例えば
図4に示す文書では、通常、タイトル「出張報告書」の
次に改行コ−ドが付されるので、図5に示すようにタイ
トル「出張報告書」の左右1文字分だけはみ出してアン
ダラインを引く場合、改行コ−ドにより右側の1文字分
だけはみ出してアンダラインを引くことができない。
However, in the document shown in FIG. 4, for example, a line feed code is usually added after the title "business trip report", so that the title "business trip report" as shown in FIG. When the underline is drawn by extending one character to the left and right of the calligraphy, the underline cannot be drawn by extending one character on the right side by the line feed code.

【0006】従って、上述した従来のアンダライン入力
方式では、タイトル「出張報告書」の右側の1文字分だ
けはみ出してアンダラインを引く場合には、操作者がタ
イトル「出張報告書」の次にスペ−スを入力して、その
次に改行コ−ドを付す必要があり、操作が面倒であり手
間も掛かるという問題点がある。
Therefore, in the above-described conventional underline input method, when the underline is drawn by protruding by one character on the right side of the title "business trip report", the operator follows the title "business trip report". It is necessary to input a space and then add a line feed code, which is a troublesome operation and troublesome.

【0007】本発明は上述した従来の問題点に鑑み成さ
れたものであり、文字がない領域にも簡単にアンダライ
ンを引くことができるアンダライン入力装置を提供する
ことを課題とする。
The present invention has been made in view of the above-mentioned conventional problems, and an object of the present invention is to provide an underline input device which can easily draw an underline even in a region where there is no character.

【0008】[0008]

【課題を解決するための手段】本発明のアンダライン入
力装置は上述の課題を達成するために、文字とアンダラ
インを引くべき指示位置を入力するための入力手段と、
該入力手段を介して入力された文字の文字コ−ド及び位
置を記憶する記憶手段と、入力手段を介してアンダライ
ンの指示位置が入力された場合に記憶手段において該ア
ンダラインの指示位置に文字コ−ドが既に記憶されてい
るか否かを判別し、文字コ−ドが記憶されている場合に
は当該文字コ−ドにアンダライン用ビットをセットし、
文字コ−ドが記憶されていない場合にはその位置にスペ
−スコ−ドを挿入して該スペ−スコ−ドにアンダライン
用ビットをセットするアンダライン設定手段とを備えた
ことを特徴とする。
In order to achieve the above-mentioned object, an underline input device of the present invention comprises an input means for inputting a character and a pointing position at which an underline should be drawn.
Storage means for storing the character code and position of the character input through the input means; and when the underline indicated position is input through the input means, the underline indicated position is stored in the storage means. It is determined whether or not the character code is already stored. If the character code is stored, an underline bit is set in the character code,
If a character code is not stored, a space code is inserted in the position and an underline setting means for setting an underline bit in the space code is provided. To do.

【0009】[0009]

【作用】本発明のアンダライン入力装置によれば、アン
ダラインを引くべき指示位置が入力された場合には、ア
ンダライン設定手段が、記憶手段において該アンダライ
ンの指示位置に文字が存在するか否かを判定する。ここ
で、文字が記憶されている場合には、当該文字コ−ドに
アンダライン用ビットをセットする。一方、文字が記憶
されていない場合には、その位置にスペ−スコ−ドを挿
入して、そのスペ−スコ−ドにアンダライン用ビットを
セットする。従って、文字がある領域には勿論、文字が
ない領域にもスペ−ス入力する必要無く簡単にアンダラ
インを引くことができる。
According to the underline input device of the present invention, when an instruction position for drawing an underline is input, the underline setting means determines whether a character exists at the indicated position of the underline in the storage means. Determine whether or not. Here, if a character is stored, the underline bit is set in the character code. On the other hand, when the character is not stored, the space code is inserted at that position and the underline bit is set in the space. Therefore, it is possible to easily draw an underline without needing to enter a space not only in a region having a character but also in a region having no character.

【0010】次に示す本発明の実施例から、本発明のこ
のような作用がより明らかにされ、更に本発明の他の作
用が明らかにされよう。
From the following examples of the present invention, such effects of the present invention will be further clarified, and other effects of the present invention will be clarified.

【0011】[0011]

【実施例】以下、図面を参照して本発明の実施例を説明
する。図1は、本発明の一実施例であるアンダライン入
力装置を含む文書作成装置の構成を示すブロック図、図
2は、図1のアンダライン入力装置の動作を説明するた
めのフロ−チャ−トである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a document creating apparatus including an underline input device according to an embodiment of the present invention, and FIG. 2 is a flowchart for explaining the operation of the underline input device of FIG. It is

【0012】図1において、入力手段の一例を構成する
キ−ボ−ド21は、各種文字を入力するための文字入力キ
−や、アンダラインを引くべき指示位置等を入力するた
めの各種ファンクションキ−を有しており、これらのキ
−操作処理は制御部(CPU)22により行われる。制御
部22は、キ−ボ−ド21を介して入力された文字や各種命
令に応じて文書を、記憶手段の一例を構成する文書バッ
ファ23上で編集したり、表示部24がその文書を表示する
ための表示制御を行う。また、キ−ボ−ド21を介して印
字命令が入力されると、制御部22は、文書バッファ23の
文書をプリンタ25を介して出力するための印字制御を行
う。制御部22と共にアンダライン設定手段の一例を構成
する文字の有無確認部26は、キ−ボ−ド21を介してアン
ダライン指示位置が入力されると、その位置に文字が存
在するか否かを判定する。そして、判定の結果に応じて
後述の如く文字コ−ドにアンダライン用ビットをセット
するか、又はスペ−スコ−ドを挿入して該スペ−スコ−
ドにアンダライン用ビットをセットするように構成され
ている。
In FIG. 1, a keyboard 21 constituting an example of input means is a character input key for inputting various characters and various functions for inputting a designated position where an underline should be drawn. Keys, and these key operation processes are performed by the control unit (CPU) 22. The control unit 22 edits a document in the document buffer 23, which is an example of a storage unit, according to characters and various commands input via the keyboard 21, and the display unit 24 edits the document. Performs display control for displaying. Further, when a print command is input via the keyboard 21, the control unit 22 performs print control for outputting the document in the document buffer 23 via the printer 25. The character presence / absence checking unit 26, which constitutes an example of the underline setting means together with the control unit 22, receives the underline designated position via the keyboard 21 and determines whether or not a character exists at that position. To judge. Then, depending on the result of the judgment, an underline bit is set in the character code as will be described later, or a space code is inserted and the space code is inserted.
It is configured to set the underline bit in the command line.

【0013】この場合、1つの文字コ−ドは通常2バイ
トで構成され、また、アンダラインの表示処理、印字処
理は、図6に示したように2バイトの文字コ−ドの8番
目のアンダライン用ビットを「1」にセットすることに
より行われる。
In this case, one character code is usually composed of 2 bytes, and the underline display processing and printing processing are the same as those of the 8th character code of 2 bytes as shown in FIG. This is done by setting the underline bit to "1".

【0014】次に図2を参照して、以上の如く構成され
た実施例の動作について説明する。
Next, the operation of the embodiment configured as described above will be described with reference to FIG.

【0015】同図において、キ−ボ−ド21を介してアン
ダライン指示位置が入力されると(ステップS1)、制御
部22は、文書バッファ23上の入力位置情報を有無確認部
26に通知し、有無確認部26は、この指示位置に既に文字
が存在するか否か、即ち文書バッファ23においてかかる
指示位置に文字コ−ドが既に記憶されているか否かを判
別する(ステップS2)。
In the figure, when the underline pointing position is input via the keyboard 21 (step S1), the control unit 22 checks the input position information on the document buffer 23 for the presence / absence confirmation unit.
The presence / absence confirming unit 26 discriminates whether or not a character already exists at this designated position, that is, whether or not a character code is already stored at the designated position in the document buffer 23 (step S2).

【0016】アンダライン指示位置に文字が存在しない
場合には(NO)、有無確認部26は、その位置に1字分
のスペ−スコ−ドを挿入し(ステップS3)、その旨を制
御部22に通知してステップS4に進む。アンダライン指示
位置に文字が存在する場合には(YES)、ステップS2
からステップS4に直接進む。ステップS4において、制御
部22は、文書バッファ23上の2バイトのコ−ドの8番目
のアンダライン用ビットを「1」にセットし、以下同様
に、ステップS5でキ−ボ−ド21を介してアンダライン指
示位置が入力されると(YES)、ステップS5からステ
ップS1に戻り、上記処理を繰り返す。
When there is no character at the underline designated position (NO), the presence / absence confirmation unit 26 inserts a space for one character at that position (step S3), and the control unit to that effect. Notify 22 and proceed to step S4. If a character exists at the underline designated position (YES), step S2
Directly to step S4. In step S4, the control unit 22 sets the 8th underline bit of the 2-byte code in the document buffer 23 to "1", and similarly, in step S5, the keyboard 21 is set. When the underline designated position is input via (YES), the process returns from step S5 to step S1, and the above process is repeated.

【0017】従って、図5に示すようにタイトル「出張
報告書」の左右1文字分だけはみ出してアンダラインを
付す場合、図6に示すように、文字が存在する場合には
その文字コ−ドの8番目のアンダライン用ビットを
「1」にセットし、文字が存在しない場合にはアンダラ
イン指示位置にスペ−スコ−ドを挿入して8番目のアン
ダライン用ビットを「1」にセットするので、文字がな
い領域にも自動的にアンダラインを入力することができ
る。
Therefore, when the title "business trip report" is extended by one character to the left and right and is underlined as shown in FIG. 5, when the character exists, as shown in FIG. 8th underline bit is set to "1". If no character is present, a space code is inserted at the underline indication position and the 8th underline bit is set to "1". Therefore, the underline can be automatically input even in the area where there is no character.

【0018】[0018]

【発明の効果】以上詳細に説明したように本発明によれ
ば、アンダラインを引くべき指示位置が入力された場合
には、アンダライン設定手段が、記憶手段において該ア
ンダラインの指示位置に文字が存在するか否かを判定す
る。ここで、文字が記憶されている場合には、当該文字
コ−ドにアンダライン用ビットをセットし、文字が記憶
されていない場合には、その位置にスペ−スコ−ドを挿
入して、そのスペ−スコ−ドにアンダライン用ビットを
セットするので、文字がある領域には勿論、文字がない
領域にもスペ−ス入力する必要無く簡単にアンダライン
を引くことができる。この結果、本発明のアンダライン
入力装置を用いて極めて操作性の良い文書作成装置を実
現することができる。
As described in detail above, according to the present invention, when an instruction position for drawing an underline is input, the underline setting means causes the storage means to display a character at the indicated position of the underline. Is present. Here, if a character is stored, an underline bit is set in the character code, and if a character is not stored, a space code is inserted at that position, Since the underline bit is set in the space code, it is possible to easily draw an underline without needing to enter a space not only in a region having a character but also in a region having no character. As a result, it is possible to realize a document creation device with extremely good operability by using the underline input device of the present invention.

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

【図1】本発明の一実施例であるアンダライン入力装置
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an underline input device that is an embodiment of the present invention.

【図2】図1のアンダライン入力装置の動作を示すため
のフロ−チャ−トである。
FIG. 2 is a flowchart showing the operation of the underline input device of FIG.

【図3】従来のアンダライン入力装置の構成を示すブロ
ック図である。
FIG. 3 is a block diagram showing a configuration of a conventional underline input device.

【図4】文書例を示す説明図である。FIG. 4 is an explanatory diagram showing an example of a document.

【図5】アンダライン例を示す説明図である。FIG. 5 is an explanatory diagram showing an example of an underline.

【図6】アンダライン用ビットを示す説明図である。FIG. 6 is an explanatory diagram showing bits for underline.

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

21 キ−ボ−ド 22 制御部 23 文書バッファ 26 文字の有無確認部 21 keyboard 22 control unit 23 document buffer 26 character presence check unit

Claims (1)

【特許請求の範囲】 【請求項1】 文字とアンダラインを引くべき指示位置
を入力するための入力手段と、該入力手段を介して入力
された前記文字の文字コ−ド及び位置を記憶する記憶手
段と、前記入力手段を介して前記指示位置が入力された
場合に前記記憶手段において前記指示位置に前記文字コ
−ドが既に記憶されているか否かを判別し、文字コ−ド
が記憶されている場合には当該文字コ−ドにアンダライ
ン用ビットをセットし、文字コ−ドが記憶されていない
場合にはその位置にスペ−スコ−ドを挿入して該スペ−
スコ−ドにアンダライン用ビットをセットするアンダラ
イン設定手段とを備えたことを特徴とするアンダライン
入力装置。
Claim: What is claimed is: 1. Input means for inputting a designated position for drawing a character and an underline, and a character code and position of the character input via the input means are stored. Storage means and, when the designated position is input through the input means, it is determined whether or not the character code is already stored at the designated position in the storage means, and the character code is stored. If the character code is not stored, the underline bit is set in the character code, and if the character code is not stored, the space code is inserted in that position and the space code is inserted.
An underline input device comprising: an underline setting means for setting an underline bit in a code.
JP3158666A 1991-06-28 1991-06-28 Underline input device Pending JPH0512271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3158666A JPH0512271A (en) 1991-06-28 1991-06-28 Underline input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3158666A JPH0512271A (en) 1991-06-28 1991-06-28 Underline input device

Publications (1)

Publication Number Publication Date
JPH0512271A true JPH0512271A (en) 1993-01-22

Family

ID=15676702

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3158666A Pending JPH0512271A (en) 1991-06-28 1991-06-28 Underline input device

Country Status (1)

Country Link
JP (1) JPH0512271A (en)

Similar Documents

Publication Publication Date Title
US6594405B1 (en) Method and apparatus for preprinted forms completion
JPS6370370A (en) Document preparing device
JPS6290761A (en) Documentation device
JP2001067342A (en) Document processing device and storage medium
JPS5843034A (en) Sentence edit processor
JPH0442997B2 (en)
JP2747046B2 (en) Document creation device and control device
JP2972041B2 (en) Sentence information processing equipment
JP3614136B2 (en) Information transmission method and information processing apparatus with transmission function
JP3402759B2 (en) Document processing apparatus and document processing method
JP3371435B2 (en) Input mode automatic setting method or input mode automatic setting device
JP2998092B2 (en) Electronic firing device
US20070195954A1 (en) Image forming apparatus for printing security documents by duplex printing and method thereof
JPH06202995A (en) Character input device
JP3513359B2 (en) Format processing method
JPS63128419A (en) Document preparing/editing device
JPH0962670A (en) Automatic ruby addition device
JPH0764992A (en) Document processor
JPH08161308A (en) Document processing device
JP2021033424A (en) Control program and information processing device
JPH0567979B2 (en)
JPH04276854A (en) Word processor
JPH07160445A (en) Document output device
JPH05130288A (en) Mixed mode document processing system and device
JPH10232861A (en) Document output device