JPH03256777A - document creation device - Google Patents

document creation device

Info

Publication number
JPH03256777A
JPH03256777A JP5596090A JP5596090A JPH03256777A JP H03256777 A JPH03256777 A JP H03256777A JP 5596090 A JP5596090 A JP 5596090A JP 5596090 A JP5596090 A JP 5596090A JP H03256777 A JPH03256777 A JP H03256777A
Authority
JP
Japan
Prior art keywords
data
character
memory
input
modification
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
JP5596090A
Other languages
Japanese (ja)
Inventor
Hajime Kumazawa
熊澤 一
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP5596090A priority Critical patent/JPH03256777A/en
Publication of JPH03256777A publication Critical patent/JPH03256777A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To improve the operability by retrieving the content of modifier data for character data above and below a data input position based on data in present position memory and data memory, and allowing modifier data of the same content as character data to be stored in data memory together with the character data, if the modifier data is of the same content as the character data. CONSTITUTION:Entered character data and modifier data are stored in data memory as a pair using an input device. In addition, the entered character data is output to an output device in accordance with a data entry position indicated by an input position indicator device. Further, a retrieval device retrieves the content of modifier data in data memory corresponding to a character position above and a character position below data entry position, based on present position memory which stores a data entry position as the present position, if character data is entered by the input device. As a result, the modifier data is stored in data memory together with character data, if the modifier data corresponding to the character position above and below the data entry position is of the same content as the character data.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は、文書作成装置に係わり、文書作成・編集操作
を簡略化した文書作成装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a document creation device, and more particularly, to a document creation device that simplifies document creation and editing operations.

[従来技術] 従来、タイプライタ及びワードプロセッサ等の文書作成
装置においては、文書中の誤文字を消去キーの操作によ
り、ラインバッファから誤文字に対応するデータを削除
すると共に、印字用紙上の誤印字文字あるいは表示装置
上の誤入力文字を消去するオートコレクション機能を備
えたものがあった。
[Prior Art] Conventionally, in document creation devices such as typewriters and word processors, data corresponding to the erroneous character is deleted from the line buffer by operating a delete key for erroneous characters in a document, and erroneous printing on printing paper is also erased. Some were equipped with an autocorrection function that erased characters or incorrectly entered characters on the display device.

また、入力された文字データをボールド出力するための
ボールドモードや文字データに自動的にアンダーライン
を付与するオートアンダーラインモード等を設けたもの
もあった。この場合、文字データと共に、ボールド出力
データ及びアンダーライン付与データもラインバッファ
に記憶されていた。
In addition, some had a bold mode for outputting input character data in bold, an auto underline mode for automatically adding an underline to character data, and the like. In this case, bold output data and underlined data are also stored in the line buffer along with character data.

[発明が解決しようとする課題] しかしながら、前記文書作成装置においては、例えば、
ボールドモードとオートアンダーラインモードとを設定
した状態で、複数の文字データを入力し、その両モード
を解除した後に、前記文字修飾された入力文字データ中
に誤入力を発見した場合に、オペレータがカーソルある
いは印字ヘッドを誤入力文字位置まで移動させて消去キ
ーを操作することにより、ラインバッファから該当のデ
ータを削除すると共に、印字用紙あるいは表示装置から
誤入力文字を消去していた。そして、前記両モードを再
設定し、正しい文字データを入力することにより、その
文字データと共に、設定されているモードに対応した修
飾データもラインバッファに記憶されていた。更に、オ
ペレータはリロケートキー等の操作により、訂正動作開
始前の入力位置にカーソルあるいは印字ヘッドを移動さ
せた後、再び両モードを解除する必要があった。
[Problem to be solved by the invention] However, in the document creation device, for example,
When the operator enters multiple character data with bold mode and auto underline mode set and finds an incorrect input in the character-modified input character data after canceling both modes, the operator By moving the cursor or print head to the position of the erroneously input character and operating the erase key, the corresponding data is deleted from the line buffer and the erroneously input character is erased from the printing paper or display device. By resetting both modes and inputting correct character data, the character data and the modification data corresponding to the set mode are stored in the line buffer. Furthermore, the operator had to move the cursor or print head to the input position before starting the correction operation by operating a relocate key or the like, and then cancel both modes again.

従って、それらの訂正操作は非常に煩雑となり、オペレ
ータの負担になっていた。
Therefore, these correction operations are extremely complicated and burdensome to the operator.

本発明は、上述した問題点を解決するためになされたも
のであり、訂正データの入力時の修飾状態を全く気に止
めることなく、正しいデータを入力するだけで、両隣り
の文字と同一の文字修飾を付与することができる極めて
操作性の良い文書作成装置を提供することを目的として
いる。
The present invention was made in order to solve the above-mentioned problems, and by simply inputting correct data, it is possible to input characters that are the same as the characters on both sides without worrying about the modification status when inputting correction data. It is an object of the present invention to provide a document creation device that is extremely easy to operate and is capable of adding character decorations.

[課題を解決するための手段] この目的を達成するために本発明の文書作成装置は、文
字データ及びその文字データに対応する文字の修飾デー
タを入力する入力手段と、その文字データと修飾データ
とを対にして記憶するデータメモリと、入力された文字
データを出力する出力手段と、その出力手段上のデータ
入力位置を示す入力位置指示手段と、その入力位置手段
の現在位置を記憶する現在位置メモリとを有し、入力手
段から文字データが入力されたとき、現在位置メモリ及
びデータメモリのデータに基づいて、データ入力位置の
上位及び下位の文字データに対する修飾データの内容を
検索する検索手段と、検索手段の検索結果により、前記
上位及び下位の修飾データが同一のときには、入力され
た文字データと共に、同一である修飾データもデータメ
モリに記憶させる制御手段とを備えたことを特徴として
いる。
[Means for Solving the Problems] In order to achieve this object, the document creation device of the present invention includes an input means for inputting character data and character modification data corresponding to the character data, and input means for inputting character data and character modification data corresponding to the character data. an output means for outputting input character data, an input position indicating means for indicating the data input position on the output means, and a current position for storing the current position of the input position means. a position memory, and searches for the contents of modification data for upper and lower character data of the data input position based on data in the current position memory and data memory when character data is input from the input means. and control means for storing the same modification data in the data memory together with the input character data when the higher and lower modification data are the same according to the search result of the search means. .

[作用] 上記の構成を有する本発明は、入力手段により入力され
た文字データ及び修飾データを対にしてデータメモリに
記憶する。また、入力された文字データは入力位置指示
手段が示すデータ入力位置に従って文字データを出力手
段上に出力する。
[Operation] The present invention having the above configuration stores character data and modification data inputted by the input means in a data memory as a pair. Furthermore, the input character data is outputted onto the output means according to the data input position indicated by the input position indicating means.

更に、前記検索手段は、入力手段により文字データが入
力されると、データ入力位置の現在位置を記憶する現在
位置メモリに基づいて、データ入力位置の上位側文字位
置及び下位側文字位置に対応するデータメモリ中の修飾
データの内容を検索する。その結果、前記上位側及び下
位側の文字位置に対応する修飾データが同一のときには
、その修飾データを文字データと共にデータメモリに記
憶する。
Furthermore, when character data is inputted by the input means, the retrieval means is configured to search for characters corresponding to upper character positions and lower character positions of the data input position based on a current position memory that stores the current position of the data input position. Search the contents of qualified data in data memory. As a result, when the modification data corresponding to the upper and lower character positions are the same, the modification data is stored in the data memory together with the character data.

[実施例] 以下、本発明を具体化した一実施例を図面を参照して説
明する。
[Example] Hereinafter, an example embodying the present invention will be described with reference to the drawings.

第2図に示すように、ワードプロセッサ1の本体フレー
ム2の前部には、キーボード3か配置され、そのキーボ
ード3の後方には、印字機構PMが配設されている。又
、本体フレーム2には、キーボード3と印字機構PMと
の間を回動中心とし、印字機構PMの上方を覆うことが
できる回動可能な液晶デイスプレィ75が設けられてい
る。
As shown in FIG. 2, a keyboard 3 is disposed at the front of the body frame 2 of the word processor 1, and a printing mechanism PM is disposed behind the keyboard 3. Further, the main body frame 2 is provided with a rotatable liquid crystal display 75 whose center of rotation is between the keyboard 3 and the printing mechanism PM, and which can cover the upper part of the printing mechanism PM.

キーボード3には、アルファベットキーや数字キー及び
記号キーを含む文字キー10、スペースキー1]、印字
文字を消去するための消去キー12、アンダーラインを
施すためのオートアンダーラインキー13、印字文字を
ボールド文字(太文字)にするためのボールドキー14
、タイプライタモードやワープロモード等をサイクリッ
クに設定するモード切換キー15や各種機能キーが設け
られている。
The keyboard 3 includes character keys 10 including alphabet keys, numeric keys, and symbol keys, a space key 1, an erase key 12 for erasing printed characters, an auto underline key 13 for underlining, and a character key 10 for erasing printed characters. Bold key 14 to make bold letters (bold letters)
, a mode switching key 15 for cyclically setting typewriter mode, word processor mode, etc., and various function keys are provided.

印字機構PMには少なくとも、印字用紙を紙送りするプ
ラテン20とそれを駆動するモータとその駆動回路、プ
ラテン20と平行なガイド21に支持されたキャリッジ
22とそれを左右方向へ往復駆動するモータとその駆動
回路、ホイールカセット23に収容された活字ホイール
24とそれを駆動するモータとその駆動回路、リボンカ
セット25に収納された印字リボン26とそれを巻取る
モータとその駆動回路、活字ホイール24の活字27を
打撃する印字ハンマとそれを駆動するソレノイド28と
その駆動回路、印字リボン26或いは訂正リボン29を
選択的に印字位置に配置するリボン切換機構などが設け
られており、この印字機構PMは通常の電子タイプライ
タの印字機構と同様のものである。
The printing mechanism PM includes at least a platen 20 that feeds printing paper, a motor that drives it, a drive circuit thereof, a carriage 22 that is supported by a guide 21 that is parallel to the platen 20, and a motor that drives it back and forth in the left-right direction. The drive circuit, the type wheel 24 housed in the wheel cassette 23, the motor that drives it and its drive circuit, the print ribbon 26 housed in the ribbon cassette 25, the motor that winds it and its drive circuit, the type wheel 24 A printing hammer that strikes the type 27, a solenoid 28 that drives it, a driving circuit thereof, a ribbon switching mechanism that selectively places the printing ribbon 26 or the correction ribbon 29 at the printing position, etc. are provided, and this printing mechanism PM is It is similar to the printing mechanism of a normal electronic typewriter.

また、液晶デイスプレィ75は、後述する表示機構りの
一部を成し、キーボード3あるいは後述するRAM50
からのデータを複数行表示することができる。
Further, the liquid crystal display 75 forms part of a display mechanism described later, and is connected to the keyboard 3 or the RAM 50 described later.
You can display multiple lines of data from.

次に、ワードプロセッサの制御系の全体構成について第
3図のブロック図に基いて説明する。
Next, the overall configuration of the control system of the word processor will be explained based on the block diagram of FIG.

ワードプロセッサ1は基本的にはキーボード3、印字機
構PM、表示機構り及び制御装置C等で構成され、キー
ボード3、印字機構PM、表示機構りはデータバス等を
介して制御装置CのメインCPU(中央演算装置)39
に接続されている。
The word processor 1 basically consists of a keyboard 3, a printing mechanism PM, a display mechanism, a control device C, etc. The keyboard 3, printing mechanism PM, display mechanism are connected to the main CPU of the control device C ( central processing unit) 39
It is connected to the.

制御装置CはメインCPU39と、そのメインCPU3
9にデータバス等を介して接続されたROM40及びR
AM50とから構成されている。
The control device C includes a main CPU 39 and its main CPU 3.
ROM 40 and R connected to 9 via a data bus etc.
AM50.

ROM40のプログラムメモリ41には、キーボード3
の各文字キーや各種機能キーから入力されるコードデー
タに対応させて印字機構PMや表示機構りを制御する制
御プログラム及び後述の訂正制御の制御プログラムなど
が記憶されている。
The program memory 41 of the ROM 40 includes the keyboard 3.
A control program for controlling the printing mechanism PM and display mechanism in correspondence with code data input from each character key and various function keys, a control program for correction control to be described later, and the like are stored.

RAM50には、印字位置と対応させて絶対原点からの
キャリッジ22(印字ヘッド)の現在位置を順次更新し
て記憶する現在位置メモリ51と、印字された文字等の
コードデータと、アンダーラインフラグやボールドフラ
グ等の文字修飾データとキャリッジ移行量データからな
るアトリビュートデータとを2バイトで印字位置と対応
させて順々に約500文字記憶する印字データメモリ5
2と、キーボード3から入力されて液晶デイスプレィ7
5に表示される文字等のデータを記憶する入力バッファ
と、入力データをファイルデータとして記憶するテキス
トメモリと、カーソル(図示せず)の表示位置を液晶デ
イスプレィ75の各表示位置と対応させてカーソル移動
に応じてカウントするカーソル表示位置カウンタと、カ
ーソル表示位置カウンタのデータに対応して入力バッフ
ァのアドレスを指示するカーソル位置ポインタと、印字
データメモリ52において指示されたアドレスのデータ
を検索する印字データポインタ53と、メインCPU3
9て演算処理した結果を一時的に記憶する各種のメモリ
等が設けられている。
The RAM 50 includes a current position memory 51 that sequentially updates and stores the current position of the carriage 22 (print head) from the absolute origin in correspondence with the print position, code data such as printed characters, underline flags, etc. A print data memory 5 that stores approximately 500 characters of attribute data consisting of character modification data such as bold flags and carriage movement amount data in 2-byte correspondence with print positions.
2 is entered from the keyboard 3 and displayed on the LCD display 7.
5, a text memory that stores input data as file data, and a cursor (not shown) whose display position corresponds to each display position of the liquid crystal display 75. A cursor display position counter that counts according to the movement, a cursor position pointer that indicates the address of the input buffer in accordance with the data of the cursor display position counter, and print data that searches for data at the indicated address in the print data memory 52. Pointer 53 and main CPU 3
Various types of memories and the like are provided for temporarily storing the results of the arithmetic processing performed by the computer.

メインCPU39は、制御プログラムに基いて、各文字
キー10から入力されるデータに対応する文字・記号を
印字機構PMに印字させ、印字データを印字位置と対応
させて印字データメモリ52に順次記憶させる。
Based on the control program, the main CPU 39 causes the printing mechanism PM to print characters and symbols corresponding to the data input from each character key 10, and sequentially stores the print data in the print data memory 52 in correspondence with the print position. .

更に、消去キー12が操作されると、メインCPU39
は、現在位置メモリ51のデータと印字データメモリ5
2のデータに基づいて印字文字と同一の活字27を訂正
リボン29を介して印字機構PMに打撃させて消去させ
る。この場合印字ヘッドの現在位置で1回打撃させ、次
に印字ヘッドを印字方向に例えば1/240インチ微少
移動させた位置で1回打撃させ、次に印字ヘッドを前記
現在位置から灰中字方向に1/240インチ微少移動さ
せた位置で1回打撃させ、合計3回の打撃により消去を
実行させる。
Furthermore, when the erase key 12 is operated, the main CPU 39
is the data of the current position memory 51 and the print data memory 5.
Based on the data of No. 2, the printed characters 27 identical to the printed characters are struck by the printing mechanism PM via the correction ribbon 29 to be erased. In this case, the print head is struck once at the current position, then struck once at a position where the print head is slightly moved, for example, 1/240 inch in the printing direction, and then the print head is moved from the current position in the direction of the gray medium character. Erasing is performed by striking once at a position slightly moved by 1/240 inch, for a total of three strikes.

表示機構りは、インターフェイス70と表示用CPU7
1とキャラクタジェネレータ72とデイスプレィコント
ローラ73と液晶デイスプレィ75とから構成され、図
示のように接続されている。
The display mechanism includes an interface 70 and a display CPU 7.
1, a character generator 72, a display controller 73, and a liquid crystal display 75, which are connected as shown.

キャラクタジェネレータ72には、液晶デイスプレィ7
5に文字・記号を表示するための約400種類のドツト
マトリックス表示データがコードデータに対応して記憶
されている。
The character generator 72 has a liquid crystal display 7.
Approximately 400 types of dot matrix display data for displaying characters and symbols are stored in correspondence with the code data.

表示用CPU71は、インターフェイス70を介してメ
インCPU39から出力されるコマンドデータや文字デ
ータに基づき、これらに対応する表示データをキャラク
タジェネレータ72から読出し、その表示データをデイ
スプレィコント−ラフ3へ出力する。デイスプレィコン
トローラ73は、表示データを表示用RAM74に書込
むと同時に、その表示データに応じた表示信号を液晶デ
イスプレィ75に出力する。更に、表示用CPU71は
、インターフェイス70を介してメインCPU39から
のカーソル移動データに応じて、デイスプレィコントロ
ーラ73にカーソルの移動先のアドレスを指示するカー
ソル移動制御も行う。
The display CPU 71 reads out display data corresponding to the command data and character data output from the main CPU 39 via the interface 70 from the character generator 72 and outputs the display data to the display controller 3. . The display controller 73 writes display data into the display RAM 74 and at the same time outputs a display signal corresponding to the display data to the liquid crystal display 75. Furthermore, the display CPU 71 also performs cursor movement control that instructs the display controller 73 of the address to which the cursor should be moved, in response to cursor movement data from the main CPU 39 via the interface 70.

次に、ワードプロセッサの制御装置Cで行われるタイプ
ライタモード設定時における訂正処理制御について、第
4図のフローチャートに基ついて説明する。
Next, the correction processing control performed by the word processor control device C when the typewriter mode is set will be explained based on the flowchart of FIG. 4.

ワードプロセッサ1に電源か投入されるとこの制御か開
始されステップSl(以下、単にSlで表し、他のステ
ップも同様に扱う)へ移行して初期設定が実行され、S
2においてキー入力待ちをする。そして、キー入力され
るとS3へ移行し、消去キー12か否がか判定され、消
去キー12が操作されると83での判定結果かYesと
なり、S4に移行する。S4ては、印字データポインタ
53に現在位置メモリ51のデータか書込まれ、印字デ
ータポインタ53のデータに基いて印字ブタメモリ52
の印字ヘッド位置に対応するアドレスのデータが読出さ
れる。そして、次の85にて、そのデータは印字データ
か否かが判定され、印字データのときにはS6へ移行す
る。S6にて、読出された印字データ(アンダーライン
付与データを含む)、つまり文字データ及び文字修飾デ
ータに基づいて消去動作を行う。そして、次の87にて
消去した文字データに対応する印字データメモリ52の
アドレスにスペースコードが書込まれると共に、その印
字データに対応する文字修飾フラグが全てリセットされ
る。すなわち、消去した印字データが印字データメモリ
52から消去される。
When the word processor 1 is powered on, this control starts, moves to step Sl (hereinafter simply referred to as Sl, and other steps are handled in the same way), initial settings are executed, and S
2, it waits for a key input. Then, when a key is input, the process moves to S3, where it is determined whether the erase key 12 is pressed, and when the erase key 12 is operated, the result of the judgment at 83 becomes Yes, and the process moves to S4. In S4, the data in the current position memory 51 is written to the print data pointer 53, and the data in the print data pointer 52 is written based on the data in the print data pointer 53.
The data at the address corresponding to the print head position is read out. Then, in the next step 85, it is determined whether the data is print data or not, and if it is print data, the process moves to S6. In S6, an erasing operation is performed based on the read print data (including underlined data), that is, character data and character modification data. Then, in the next step 87, a space code is written to the address of the print data memory 52 corresponding to the erased character data, and all character modification flags corresponding to the print data are reset. That is, the erased print data is erased from the print data memory 52.

S5においてNoと判定されたとき、例えば読出された
データがスペースコードのときにはS8へ移行し、印字
ヘッドが灰中字方向へ1文字分移動され、現在位置メモ
リ51の値がデクリメントされる。次の89にて、印字
データポインタ53に現在位置メモリ51のデータが書
込まれ、この印字データポインタ53のデータに基づい
て印字データメモリ52の印字ヘッド位置に対応するア
ドレスのデータが読出される。そして、次の810にお
いて、印字データが有るか否かが判定され、印字データ
があるときにはS6に移行する。また、印字データがな
いとき、例えば印字データメモリ52の先頭データのと
きにはS11へ移行し、ブザーを鳴動させるなどのアラ
ーム処理が実行され、S2に戻る。
When it is determined No in S5, for example, if the read data is a space code, the process moves to S8, the print head is moved by one character in the direction of the gray medium character, and the value in the current position memory 51 is decremented. At the next step 89, the data of the current position memory 51 is written to the print data pointer 53, and based on the data of this print data pointer 53, the data of the address corresponding to the print head position of the print data memory 52 is read out. . Then, in the next step 810, it is determined whether or not there is print data, and if there is print data, the process moves to S6. Further, when there is no print data, for example, when it is the first data in the print data memory 52, the process moves to S11, an alarm process such as sounding a buzzer is executed, and the process returns to S2.

一方、文字キー10あるいはスペースキー11が操作さ
れた時には、S3の判定結果がNoとなり、S12へ移
行する。そして、S12にて、操作されたキーが文字キ
ー10あるいはスペースキーであるか否かの判定結果が
Yesとなって813へ移行する。S13においては、
印字ヘッドと対向する印字位置の両サイドの印字位置、
つまり隣接する左右の印字位置に対応する印字データメ
モリ52のアドレスのデータかそれぞれ読出され、RA
M50中のワークメモリに記憶される。次のS14にて
、読出された2つのデータの文字修飾データ(文字修飾
フラグ)は同一であるか否かが判定される。隣接する印
字位置のデータの文字修飾データが同一の場合には、S
15に移行し、操作された文字キーあるいはスペースキ
ーに対応する文字データ(文字コード)と、前記ワーク
メモリに基づいて、隣接する印字位置の文字修飾デ−夕
とを印字ヘッド位置に対応する印字データメモリ52の
アドレスに記憶する。そして、S16にて、印字データ
メモリ52に記憶された印字ブタに基づいて、印字処理
を行う。このとき、メインCPU39は印字機構PMの
各駆動回路に制御信号を出力する。続いて、S17にて
、印字ヘッドが印字方向へ1文字分移動され、現在位置
メモリ51の値がインクリメントされる。
On the other hand, when the character key 10 or the space key 11 is operated, the determination result in S3 becomes No, and the process moves to S12. Then, in S12, the result of determination as to whether the operated key is the character key 10 or the space key is Yes, and the process moves to 813. In S13,
Print positions on both sides of the print position facing the print head,
In other words, the data at the addresses of the print data memory 52 corresponding to the adjacent left and right print positions are read out, and the RA
It is stored in the work memory in M50. In the next step S14, it is determined whether the character modification data (character modification flags) of the two read data are the same. If the character modification data of adjacent print position data is the same, S
15, the character data (character code) corresponding to the operated character key or space key and the character modification data of the adjacent print position are printed at the print head position based on the work memory. The data is stored at an address in the data memory 52. Then, in S16, printing processing is performed based on the printing pattern stored in the printing data memory 52. At this time, the main CPU 39 outputs control signals to each drive circuit of the printing mechanism PM. Subsequently, in S17, the print head is moved by one character in the printing direction, and the value in the current position memory 51 is incremented.

一方、S14の判定結果がNOの場合、すなわち隣接す
る印字位置の各データの文字修飾データが同一でない場
合には、S18へ移行し、現在ワードプロセッサに設定
されている文字修飾モードに基づいて文字修飾データと
、操作された文字キーあるいはスペースキーに対応する
文字データとを印字ヘッド位置に対応する印字データメ
モリ52のアドレスに記憶する。そして、前記S16に
移行して、印字処理を行うと共に、次にS17にて印字
ヘッドを印字方向に1文字分移動させ、S2に戻る。
On the other hand, if the determination result in S14 is NO, that is, if the character modification data of each data in the adjacent print position is not the same, the process moves to S18, and character modification is performed based on the character modification mode currently set in the word processor. The data and the character data corresponding to the operated character key or space key are stored in the address of the print data memory 52 corresponding to the print head position. Then, the process moves to S16 to perform the printing process, and then in S17 the print head is moved by one character in the printing direction, and the process returns to S2.

尚、前記実施例においては、ワードプロセッサ1のタイ
プライタモード(ダイレクトプリントモード)にて印字
用紙上に印字を行う場合について説明したが、ワープロ
モードにて成品デイスプレィ75上でテキストを編集作
成中に訂正処理を行う場合であっても良い。
In the above embodiment, a case was explained in which printing is performed on printing paper in the typewriter mode (direct print mode) of the word processor 1. It may also be a case where processing is performed.

すなわち、基本的には訂正処理制御がほとんど同しであ
るため、簡略化して説明すると、前記実施例における入
力位置指示手段としての印字ヘッド(キャリッジ)をカ
ーソルに、また、出力手段としての印字機構PMを表示
機構りに、印字用紙を液晶デイスプレィ75に、更に、
データメモリとしてのRAM50を表示用RAM74に
それぞれ置き換えることにより、前記実施例と同様な作
用・効果を得ることができる。
That is, basically, the correction processing control is almost the same, so to simplify the explanation, the print head (carriage) as the input position indicating means in the above embodiment is used as the cursor, and the printing mechanism as the output means The PM is used as a display mechanism, the printing paper is used as a liquid crystal display 75, and further,
By replacing the RAM 50 as a data memory with the display RAM 74, the same functions and effects as in the embodiment described above can be obtained.

また、前記実施例において、印字文字を消去した後、再
印字する場合、その印字位置に隣接する両側の印字位置
の文字修飾データが一致しないときには、自動的にその
ときワードプロセッサに設定されている文字修飾モード
に基いて文字修飾データを印字データメモリに記憶する
ようになっていたが、一致していないことをオペレータ
に報知するようにしても良い。
In addition, in the above embodiment, when reprinting after erasing a printed character, if the character modification data of the printing positions on both sides adjacent to the printing position do not match, the character modification data set in the word processor at that time is automatically deleted. Although the character modification data is stored in the print data memory based on the modification mode, it is also possible to notify the operator that there is no match.

[発明の効果コ 以上詳述したことから明らかなように、本発明によれば
、誤入力文字を消去した後、改めて文字を入力する場合
、その文字に対する文字修飾状態について全く気にかけ
ることなく、正しい文字キを操作するだけで、両隣りの
文字と同じ文字修飾を付与することができる極めて操作
性の良い文書作成装置を提供することができる。
[Effects of the Invention] As is clear from the detailed description above, according to the present invention, when a character is input again after erasing an incorrectly input character, the character can be inputted again without worrying about the character modification state for that character. , it is possible to provide an extremely easy-to-operate document creation device that can give the same character decoration to the characters on both sides just by operating the correct character key.

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

第1図から第4図までは本発明を具体化した実施例を示
すもので、第1図は本発明の詳細な説明する機能ブロッ
ク図、第2図はワードプロセッサの斜視図、第3図はワ
ードプロセッサの制御系のブロック図、第4図は訂正処
理制御のフローチャートである。 図中、3はキーボード、10は文字キー、11はスペー
スキー、12は消去キー、39はメインCPU、40は
ROM、50はRAM、51は現在位置メモリ、52は
印字データメモリ、Cは制御装置、Dは表示機構、PM
は印字機構である。
1 to 4 show embodiments embodying the present invention. FIG. 1 is a functional block diagram explaining the invention in detail, FIG. 2 is a perspective view of a word processor, and FIG. FIG. 4, which is a block diagram of the control system of the word processor, is a flowchart of correction processing control. In the figure, 3 is a keyboard, 10 is a character key, 11 is a space key, 12 is an erase key, 39 is a main CPU, 40 is a ROM, 50 is a RAM, 51 is a current position memory, 52 is a print data memory, and C is a control device, D is display mechanism, PM
is the printing mechanism.

Claims (1)

【特許請求の範囲】 1、文字データ及びその文字データに対応する文字の修
飾データを入力する入力手段と、前記文字データと修飾
データとを対にして記憶するデータメモリと、 入力された文字データを出力する出力手段と、その出力
手段上のデータ入力位置を示す入力位置指示手段と、 その入力位置指示手段の現在位置を記憶する現在位置メ
モリとを有する文書作成装置において、前記入力手段か
ら文字データが入力されたとき、前記現在位置メモリ及
びデータメモリのデータに基づいて、データ入力位置の
上位及び下位のデータに対する修飾データの内容を検索
する検索手段と その検索手段の検索結果により、前記上位及び下位の修
飾データが同一のときには、入力された文字データと共
に、同一である修飾データも前記データメモリに記憶さ
せる制御手段と、 を具備することを特徴とする文書作成装置。 2、前記修飾データがボールドデータあるいはアンダー
ラインデータであることを特徴とする請求項1記載の文
書作成装置。 3、前記制御手段は、前記上位及び下位の修飾データに
ついて一致している修飾データのみを入力された文字デ
ータと共に前記データメモリに記憶することを特徴とす
る請求項1記載の文書作成装置。
[Claims] 1. Input means for inputting character data and character modification data corresponding to the character data, a data memory for storing the character data and modification data as a pair, and input character data. In a document creation device, the document creation device has an output means for outputting a character, an input position indicating means for indicating a data input position on the output means, and a current position memory for storing the current position of the input position indicating means. When data is input, based on the data in the current position memory and data memory, a search means searches for the contents of the modification data for the upper and lower data of the data input position, and the search result of the search means searches for the upper and a control means for storing the same modification data in the data memory together with the input character data when the lower modification data are the same. 2. The document creation device according to claim 1, wherein the modification data is bold data or underline data. 3. The document creation device according to claim 1, wherein the control means stores only the matching modification data of the upper and lower modification data in the data memory together with the input character data.
JP5596090A 1990-03-07 1990-03-07 document creation device Pending JPH03256777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5596090A JPH03256777A (en) 1990-03-07 1990-03-07 document creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5596090A JPH03256777A (en) 1990-03-07 1990-03-07 document creation device

Publications (1)

Publication Number Publication Date
JPH03256777A true JPH03256777A (en) 1991-11-15

Family

ID=13013647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5596090A Pending JPH03256777A (en) 1990-03-07 1990-03-07 document creation device

Country Status (1)

Country Link
JP (1) JPH03256777A (en)

Similar Documents

Publication Publication Date Title
JPS63149719A (en) information processing equipment
JPH0510234B2 (en)
JPH0821030B2 (en) Document processing device
US4994968A (en) Word processing device
JP2913758B2 (en) Document processing device
JPH03229356A (en) Layout display control device for document processing device
JPH0326409B2 (en)
JPS63120362A (en) Document processing device with spell check function
JPS63167959A (en) document creation device
US4564304A (en) Typewriter with resetting function for margin position and tab position
JPH03256777A (en) document creation device
EP0274436B1 (en) Word processing apparatus
US4933896A (en) Word processing apparatus for comparing entered data with stored data from a selected address and in a selected order
JPS6354273A (en) electronic typewriter
JP2600654B2 (en) Document processing device
JPS63170068A (en) Output device
JPS63260474A (en) Erasable printing device
JP2759942B2 (en) Document processing device
JPS63281845A (en) Printing apparatus
JPS6391271A (en) Electronic typewriter
JPS63102969A (en) Electronic typewriter
JPS63189279A (en) printing device
JPH03257576A (en) Document processor with help information display function
JPS63178072A (en) Erasable printing device
JPH0581271A (en) Word processor