JPH0546617A - Character processor - Google Patents

Character processor

Info

Publication number
JPH0546617A
JPH0546617A JP2418404A JP41840490A JPH0546617A JP H0546617 A JPH0546617 A JP H0546617A JP 2418404 A JP2418404 A JP 2418404A JP 41840490 A JP41840490 A JP 41840490A JP H0546617 A JPH0546617 A JP H0546617A
Authority
JP
Japan
Prior art keywords
control code
information
display
displayed
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.)
Pending
Application number
JP2418404A
Other languages
Japanese (ja)
Inventor
Masato Ijuin
真人 伊集院
Koichi Tsubouchi
浩一 坪内
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 JP2418404A priority Critical patent/JPH0546617A/en
Publication of JPH0546617A publication Critical patent/JPH0546617A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To substitute a space code for a control code in a batch or selectively as necessary. CONSTITUTION:A character processor provided with a means 1 to input character information, the means 2 to convert the character information into word information, the means 3 to store the converted word information, and the means 4 to display the converted word information is provided with a designating means 5 to designate the specified control code among the control codes such as indent and tab, etc., to determine the layout of a sentence, and a control code storage means 6 to store the designated specified control code, a selecting means 7 to select either the collective erasure or the selective erasure of the control code being displayed, and a display switching means 8 which substitutes null information for the control code during display when the collective erasure is selected, and substitutes the null information only for the control code during in coincident with the control code stored in the control code storage means 6 when the selective erasure is selected.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、文字処理装置に関
し、特にインデント、タブ、均等割付け等の制御コード
を用いて文章を作成する文字処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing device, and more particularly to a character processing device for creating a sentence using control codes such as indent, tab, and even allocation.

【0002】[0002]

【従来の技術】従来のワードプロセッサにおいて、文章
中にインデント、タブ、均等割付け等の文書のレイアウ
トを決める制御コードを設定すると、それらの制御コー
ドは通常、入力した文字列の先頭位置に記号にて表示さ
れるよう構成されている。
2. Description of the Related Art In a conventional word processor, when control codes that determine the layout of a document such as indentation, tabs, and even allocation are set in the text, those control codes are normally represented by symbols at the beginning of the input character string. It is configured to be displayed.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
ワードプロセッサにおける制御コードは、入力した文字
列の編集状態を確認するためには都合がよいが、その反
面、多数の制御コードを設定すると画面が繁雑になり、
画面内での必要とする情報を探しにくいという問題があ
った。特に、罫線入力時においては、制御コードと罫線
の判別が容易でなく、罫線入力作業の障害となってい
た。
However, the control code in the conventional word processor is convenient for confirming the editing state of the input character string, but on the other hand, if a large number of control codes are set, the screen becomes complicated. become,
There was a problem that it was difficult to find the necessary information on the screen. In particular, when a ruled line is input, it is not easy to distinguish between the control code and the ruled line, which is an obstacle to the ruled line input operation.

【0004】この発明は以上の事情を考慮してなされた
もので、すべての制御コードを一括してスペースに置き
換えて表示するモードと、オペレータが任意に選択した
制御コードのみをスペースに置き換えて表示するモード
の両方を持つことにより、必要に応じた画面表示を供恰
しうる文字処理装置を提供する。
The present invention has been made in consideration of the above circumstances, and a mode in which all control codes are collectively replaced by spaces for display and a control code arbitrarily selected by an operator is replaced by spaces for display. (EN) A character processing device capable of providing a screen display as needed by having both the modes.

【0005】[0005]

【課題を解決するための手段】図1はこの発明の基本構
成を明示するブロック図である。同図においてこの発明
は、文字情報を入力する手段1、該文字情報を単語情報
に変換する手段2、変換された単語情報を記憶する手段
3、変換された単語情報を表示する手段4を備えた文字
処理装置において、文章のレイアウトを決めるインデン
ト、タブ等の制御コードのうちの特定の制御コードを指
定する指定手段5と、指定された特定の制御コードを記
憶する制御コード記憶手段6と、表示中の制御コードに
ついて一括消去または選択消去を選択する選択手段7
と、一括消去が選択された場合に表示中の制御コードを
空白情報に置き換え、選択消去が選択された場合に前記
制御コード記憶手段6に記憶されている制御コードと一
致する表示中の制御コードのみを空白情報に置き換える
表示切換手段8とを備えてなる文字処理装置である。こ
の発明における入力手段1はキーボードで構成すること
が好ましく、指定手段5、選択手段7は、そのキーボー
ドに配置されているキーに割り当てることができる。
FIG. 1 is a block diagram clearly showing the basic structure of the present invention. In the figure, the present invention comprises means 1 for inputting character information, means 2 for converting the character information into word information, means 3 for storing the converted word information, and means 4 for displaying the converted word information. In the character processing device, a designation unit 5 that designates a specific control code among control codes such as indents and tabs that determine the layout of text, and a control code storage unit 6 that stores the designated specific control code, Selection means 7 for selecting collective deletion or selective deletion for the control code being displayed
When the collective deletion is selected, the displayed control code is replaced with blank information, and when the selective deletion is selected, the displayed control code that matches the control code stored in the control code storage means 6 is displayed. It is a character processing device comprising a display switching means 8 for replacing only the blank information with blank information. The input means 1 in the present invention is preferably composed of a keyboard, and the designation means 5 and the selection means 7 can be assigned to the keys arranged on the keyboard.

【0006】[0006]

【作用】この発明に従えば、制御コードが付された文章
が表示されている状態で、一括消去を選択すると、表示
中の制御コードがすべて空白情報(スペース)に置き換
えられる。また、選択消去を選択すると、制御コード記
憶手段6に予めオペレータによって記憶されている制御
コードがチェックされ、その制御コードと一致するとこ
ろの表示中の制御コードのみを空白情報に置き換えるよ
う作用する。
According to the present invention, when the batch erase is selected in the state where the text with the control code is displayed, all the control codes being displayed are replaced with blank information (space). Further, when the selective deletion is selected, the control code stored in advance in the control code storage means 6 by the operator is checked, and only the displayed control code corresponding to the control code is replaced with blank information.

【0007】[0007]

【実施例】以下図に示す実施例に基づいてこの発明を詳
述する。なお、これによってこの発明は限定されるもの
ではない。図2はこの発明の一実施例であるワードプロ
セッサの構成を示すブロック図である。同図において、
10は装置本体であり、CPU11、かな漢字変換処理
部12、表示切換処理部13、記憶部14、出力制御部
15とから主として構成され、これらはバスライン16
によって相互に接続されている。また、CPU11には
外部にキーボード17と、出力制御部15を介してCR
T18がそれぞれ接続されている。キーボード17から
入力されたかな文字列が符号化されてCPU11に与え
られ、かな漢字変換処理部12にてかな漢字交じり文に
変換される処理については従来と同様であるため説明を
省略する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail based on the embodiments shown in the drawings. The present invention is not limited to this. FIG. 2 is a block diagram showing the configuration of a word processor which is an embodiment of the present invention. In the figure,
Reference numeral 10 denotes a main body of the apparatus, which mainly includes a CPU 11, a kana-kanji conversion processing unit 12, a display switching processing unit 13, a storage unit 14, and an output control unit 15, which are bus lines 16
Are interconnected by. Further, the CPU 11 is provided with a keyboard 17 externally and a CR via the output control unit 15.
T18 is connected to each. The kana-character string input from the keyboard 17 is encoded and given to the CPU 11, and the kana-kanji conversion processing unit 12 converts the kana-kanji mixed sentence into a kana-kanji mixed sentence.

【0008】記憶部14はRAMで構成され、表示モー
ドバッファ140、表示用コードバッファ141、制御
コードテーブル142を備えている。表示モードバッフ
ァ140には、制御コード(例えばインデント、タブ、
均等割り付け、改行、改頁等の文章のレイアウトを決め
るコード)の表示条件に関する情報がフラグにて記憶さ
れている。その表示モードフラグによる識別内容は、制
御コード表示要と、制御コード表示否と、指定した制御
コードのみの表示とである。表示用コードバッファ14
1は、CPU11とかな漢字変換処理部12とによって
行われる文字入力、編集結果として作成される表示用コ
ードを記憶するものであり、文字コードと制御コードが
混在して格納される。制御コードテーブル142は、オ
ペレータが任意に指定した制御コードを記憶するための
ものである。
The storage unit 14 is composed of a RAM and comprises a display mode buffer 140, a display code buffer 141, and a control code table 142. The display mode buffer 140 includes control codes (for example, indent, tab,
Information regarding display conditions of a code for deciding the layout of sentences such as even allocation, line breaks, page breaks, etc. is stored in a flag. The contents of identification by the display mode flag are display of control code, display of control code, and display of designated control code only. Display code buffer 14
Reference numeral 1 stores a display code created as a result of character input and editing performed by the CPU 11 and the kana-kanji conversion processing unit 12, and character codes and control codes are stored in a mixed manner. The control code table 142 is for storing a control code arbitrarily designated by the operator.

【0009】このような構成において、まず図3〜図5
の画面表示例を参照し、制御コードの指定について説明
する。条件設定モードにおける表示項目の中で“制御コ
ード表示設定”を選択すると、図3に示されるようにウ
インドウW1が表示される。ここで制御コード表示
“要”を選択するとすべての制御コードが表示される設
定となる。制御コード“否”を選択するとすべての制御
コードを表示しない設定となる。また制御コード表示
“指定”を選択するとオペレータによって指定された制
御コードのみ表示しない設定となる。
In such a structure, first, FIGS.
The control code designation will be described with reference to the screen display example of. When "control code display setting" is selected from the display items in the condition setting mode, the window W1 is displayed as shown in FIG. If the control code display "required" is selected, all the control codes are displayed. When the control code “No” is selected, all the control codes are not displayed. When the control code display "designation" is selected, only the control code designated by the operator is not displayed.

【0010】また、未入力領域表示“要”を選択する
と、入力することのできない範囲を表す制御コード(例
えば改行コードの後ろに表示されるドット記号列など)
が従来通り表示され、未入力領域表示“否”を選択する
とその制御コードは表示されない。
Further, when the "input required area display" is selected, a control code indicating a range that cannot be input (for example, a dot symbol string displayed after a line feed code)
Is displayed as usual, and the control code is not displayed when "No" is displayed for the non-input area display.

【0011】制御コード表示の選択で“指定”を選択す
ると、次に図4に示すウインドウW2が表示され、表示
しない制御コードをキーボード17から入力することに
より、表示させたくない制御コードを選択的に指定する
ことが可能となる。ここでインデント、改行、改頁コー
ドを指定すると、指定した制御コードは図5に示すよう
にウインドウW2内に表示され、実行キーを押下すると
それらの制御コードは制御コードテーブル142に格納
され、それによって制御コードの指定が終了する。
When "specify" is selected in the selection of the control code display, the window W2 shown in FIG. 4 is displayed next, and the control code which is not displayed can be selected by inputting the control code which is not displayed from the keyboard 17. Can be specified. If an indent, a line feed, and a page feed code are designated here, the designated control code is displayed in the window W2 as shown in FIG. 5, and when the execution key is pressed, those control codes are stored in the control code table 142. Ends the control code specification.

【0012】次に制御コードの表示処理を図6のフロー
チャートにしたがって説明する。キーボード17より制
御コード表示に関する指示を入力すると、表示用コード
バッファ141に格納されているコードに対して1文字
単位で以下の処理を行う。すなわち、表示モードバッフ
ァ140に記憶されているフラグをチェックし、任意指
定であれば(ステップ20)、次いで表示コードが制御
コードであるかどうかチェックする(ステップ21)。
チェックの結果、制御コードである場合はその制御コー
ドと同じ制御コードが制御コードテーブル142に記憶
されているかどうかをチェックする(ステップ22)。
制御コードテーブル142に同じ制御コードが記憶され
ている場合(ステップ23)、その制御コードをスペー
ス(空白)コードに置き換える(ステップ24)。
Next, the control code display process will be described with reference to the flowchart of FIG. When an instruction regarding the display of the control code is input from the keyboard 17, the following processing is performed for each character with respect to the code stored in the display code buffer 141. That is, the flag stored in the display mode buffer 140 is checked, and if it is arbitrarily designated (step 20), then it is checked whether the display code is a control code (step 21).
If the result of the check is that it is a control code, it is checked whether the same control code as that control code is stored in the control code table 142 (step 22).
When the same control code is stored in the control code table 142 (step 23), the control code is replaced with a space code (step 24).

【0013】ステップ21においてNOの場合、および
ステップ23においてNOの場合は、従来と同様に、表
示コードからVRAM(VideoRAM)、キャラク
タジェネレータを介して文字を生成しCRT18に表示
する。また、ステップ20においてNOであれば表示モ
ードが一括指定かどうかを判断し(ステップ25)、Y
ESであれば表示コードが制御コードであるかどうかを
判断し(ステップ26)、YESであれば制御コードす
べてをスペースコードに置き換える(ステップ24)。
ステップ26においてNOであれば、従来と同様に制御
コードをCRT18に表示する。
In the case of NO in step 21 and in the case of NO in step 23, characters are generated from the display code through the VRAM (VideoRAM) and the character generator, and are displayed on the CRT 18 as in the conventional case. If NO in step 20, it is determined whether the display mode is batch designation (step 25), and Y
If it is ES, it is judged whether or not the display code is a control code (step 26), and if YES, all the control codes are replaced with space codes (step 24).
If NO in step 26, the control code is displayed on the CRT 18 as in the conventional case.

【0014】なお、この実施例では制御コードを一括し
て、または選択的にスペースコードに置き換える処理に
ついて説明したが、表示用コードバッファ141にはス
ペースコードに置き換える以前の表示用コードが格納さ
れているため、画面をスペースコード置き換え前の状態
に復活させることができることは言うまでもない。
In this embodiment, the control code is collectively or selectively replaced with the space code, but the display code buffer 141 stores the display code before the replacement with the space code. Therefore, it goes without saying that the screen can be restored to the state before the space code replacement.

【0015】[0015]

【発明の効果】この発明によれば、制御コードを一括し
てスペースに置き換えて表示することができるととも
に、オペレータが任意に指定した制御コードのみをスペ
ースに置き換えて表示することができる。したがって、
オペレータは表示させたい制御コードのみを選択するこ
とができ、それにより、繁雑な制御コードに惑わされる
ことなく表作成、文書の作成および編集を効率良く行う
ことができる。
According to the present invention, the control codes can be collectively replaced by spaces and displayed, and only the control codes arbitrarily designated by the operator can be replaced by spaces and displayed. Therefore,
The operator can select only the control code to be displayed, which enables efficient table creation, document creation and editing without being confused by complicated control codes.

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

【図1】この発明の基本構成を示すブロック図。FIG. 1 is a block diagram showing the basic configuration of the present invention.

【図2】この発明の一実施例であるワードプロセッサの
構成を示すブロック図。
FIG. 2 is a block diagram showing the configuration of a word processor which is an embodiment of the present invention.

【図3】実施例による制御コード表示設定画面を示す説
明図。
FIG. 3 is an explanatory view showing a control code display setting screen according to the embodiment.

【図4】実施例による制御コード表示指定画面を示す説
明図。
FIG. 4 is an explanatory view showing a control code display designation screen according to the embodiment.

【図5】実施例による制御コード表示指定画面を示す説
明図。
FIG. 5 is an explanatory diagram showing a control code display designation screen according to the embodiment.

【図6】実施例による制御コード表示処理の動作を説明
するフローチャート。
FIG. 6 is a flowchart illustrating the operation of control code display processing according to the embodiment.

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

1 入力手段 2 変換手段 3 記憶手段 4 表示手段 5 指定手段 6 制御コード記憶手段 7 選択手段 8 表示切換手段 1 Input Means 2 Conversion Means 3 Storage Means 4 Display Means 5 Designating Means 6 Control Code Storage Means 7 Selection Means 8 Display Switching Means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文字情報を入力する手段、該文字情報を
単語情報に変換する手段、変換された単語情報を記憶す
る手段、変換された単語情報を表示する手段を備えた文
字処理装置において、 文章のレイアウトを決めるインデント、タブ等の制御コ
ードのうちの特定の制御コードを指定する指定手段と、 指定された特定の制御コードを記憶する制御コード記憶
手段と、 表示中の制御コードについて一括消去または選択消去を
選択する選択手段と、 一括消去が選択された場合に表示中の制御コードを空白
情報に置き換え、選択消去が選択された場合に前記制御
コード記憶手段に記憶されている制御コードと一致する
表示中の制御コードのみを空白情報に置き換える表示切
換手段とを備えてなる文字処理装置。
1. A character processing apparatus comprising means for inputting character information, means for converting the character information into word information, means for storing the converted word information, and means for displaying the converted word information, Designating means for designating a specific control code among control codes such as indents and tabs that determine the layout of text, control code storing means for storing the specific control code designated, and batch erasing of the control code being displayed. Alternatively, a selection means for selecting selective erasing, and a control code stored in the control code storage means when the erasing is selected and the control code being displayed is replaced with blank information and the selective erasing is selected. A character processing device comprising display switching means for replacing only the matching control code being displayed with blank information.
JP2418404A 1990-12-25 1990-12-25 Character processor Pending JPH0546617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2418404A JPH0546617A (en) 1990-12-25 1990-12-25 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2418404A JPH0546617A (en) 1990-12-25 1990-12-25 Character processor

Publications (1)

Publication Number Publication Date
JPH0546617A true JPH0546617A (en) 1993-02-26

Family

ID=18526242

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2418404A Pending JPH0546617A (en) 1990-12-25 1990-12-25 Character processor

Country Status (1)

Country Link
JP (1) JPH0546617A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01130260A (en) * 1987-11-16 1989-05-23 Canon Inc Character processor
JPH01194061A (en) * 1979-03-19 1989-08-04 Toshiba Corp Display control system for word processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01194061A (en) * 1979-03-19 1989-08-04 Toshiba Corp Display control system for word processor
JPH01130260A (en) * 1987-11-16 1989-05-23 Canon Inc Character processor

Similar Documents

Publication Publication Date Title
USRE35861E (en) Apparatus and method for comparing data groups
US5263133A (en) Text processing apparatus having a frame preparation function
JPH0546617A (en) Character processor
JPH0128975B2 (en)
JPH0375912B2 (en)
JPS5814249A (en) Display control system for ruled line
JP2786260B2 (en) Kana-Kanji conversion device
JPS58151677A (en) Editing method of translated sentence
JPH0547858B2 (en)
JPS62257570A (en) Kana/kanji converter
JP2944666B2 (en) Character processor
JPS60221865A (en) Document processor
JP2655900B2 (en) Character processor
JPH038271B2 (en)
JPH0115105B2 (en)
JPH07160687A (en) Method for specifying input character
JPS61204734A (en) Character processor
JPH07105219A (en) Machine translating device
JPS63257862A (en) Character processor
JPH069043B2 (en) Character processing method
JPS605315A (en) Word processor
JPS63250775A (en) Character processor
JPS59106032A (en) Furigana (japanese syllabary attached to chinese character) adding system of text processor
JPS62203260A (en) Sentence edition processor
JPH04199461A (en) Character data processor