JP2002157243A - Device or method for processing document - Google Patents

Device or method for processing document

Info

Publication number
JP2002157243A
JP2002157243A JP2001316836A JP2001316836A JP2002157243A JP 2002157243 A JP2002157243 A JP 2002157243A JP 2001316836 A JP2001316836 A JP 2001316836A JP 2001316836 A JP2001316836 A JP 2001316836A JP 2002157243 A JP2002157243 A JP 2002157243A
Authority
JP
Japan
Prior art keywords
hyphen
input
document
mode
inputting
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.)
Granted
Application number
JP2001316836A
Other languages
Japanese (ja)
Other versions
JP3528829B2 (en
Inventor
Satoko Kuze
聡子 久世
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 JP2001316836A priority Critical patent/JP3528829B2/en
Publication of JP2002157243A publication Critical patent/JP2002157243A/en
Application granted granted Critical
Publication of JP3528829B2 publication Critical patent/JP3528829B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a device for processing document which has improved operability in the case of inputting a hyphen, or a method for processing document. SOLUTION: When the hyphen is inputted by a hyphen input means, either processing (S6 in figure 5) for moving a character string from the present top of a line to the hyphen to the end of the preceding line depending on the input position of the hyphen (S1) or ordinary hyphen processing (S3) for inputting the hyphen at the input position is selectively conducted. Thus, when inputting the hyphen, optimal processing is automatically and selectively conducted depending on the input position and optimal hyphen input processing can be performed by simple operation of inputting the hyphen at a desired position.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、文書データ中にハイフ
ンが入力され、入力された文書及びハイフンを表示画面
に表示することができる文書処理装置または文書処理方
法に関し、特に、ハイフン入力の際の操作性を改善する
とともに、見栄えの良い文書を簡単に作成することがで
きる文書処理装置または文書処理方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus or a document processing method in which a hyphen is input into document data and the input document and the hyphen can be displayed on a display screen. The present invention relates to a document processing apparatus or a document processing method capable of easily creating a good-looking document while improving the operability of the document.

【0002】[0002]

【従来の技術】従来より、キーボード等から文書データ
を入力するに際し、その入力モードを必要に応じて挿入
モードと上書きモードとに切り換えながらハイフンを入
力可能なワードプロセッサ、タイプライタ等の文書処理
装置が提案されている。
2. Description of the Related Art Conventionally, when inputting document data from a keyboard or the like, a document processing apparatus such as a word processor or a typewriter capable of inputting a hyphen while switching the input mode between an insert mode and an overwrite mode as necessary has been developed. Proposed.

【0003】ここに、挿入モードは文書データの入力位
置(通常カーソルで表示された位置)の前方に新たな文
書データを挿入していく入力モードであり、また、上書
きモードは文書データの入力位置以降にあるデータの上
に新たなデータを上書きしていく入力モードである。
Here, the insertion mode is an input mode in which new document data is inserted in front of the input position of the document data (the position indicated by the normal cursor), and the overwrite mode is the input position of the document data. This is an input mode in which new data is overwritten on subsequent data.

【0004】これより、かかる従来の文書処理装置によ
りハイフンの入力を行なう場合、入力モードが挿入モー
ドであるときには文書データの入力位置の前方にハイフ
ンが挿入されるとともに、入力モードが上書きモードで
あるときには文書データの入力位置に存在し既に入力さ
れている文書データの上から上書きされてハイフンが入
力されるものである。
Thus, when a hyphen is input by such a conventional document processing apparatus, when the input mode is the insertion mode, a hyphen is inserted in front of the input position of the document data, and the input mode is the overwrite mode. In some cases, a hyphen is input by overwriting the already existing document data existing at the input position of the document data.

【0005】[0005]

【発明が解決しようとする課題】前記した従来の文書処
理装置によりハイフン入力を行なうについて、入力モー
ドが挿入モードである場合には、前記のように文書デー
タの入力位置の前方に新たにハイフンを入力することが
できるのでハイフン処理上は何等問題はない。
As for the hyphen input by the above-mentioned conventional document processing apparatus, when the input mode is the insertion mode, a new hyphen is input in front of the input position of the document data as described above. There is no problem in hyphen processing because it can be input.

【0006】しかしながら、入力モードが上書きモード
である場合には文書入力位置に存在し既に入力されてい
る文書データの上からハイフンを入力していくので、元
の文書データが変更されてしまい、この結果、元の文書
データにミススペルが生じてしまうという問題がある。
However, when the input mode is the overwrite mode, a hyphen is entered at the document input position and over the already input document data, so that the original document data is changed. As a result, there is a problem that a misspelling occurs in the original document data.

【0007】かかる問題を回避するには、入力モード切
換キーを操作して入力モードを上書きモードから挿入モ
ードに切り換えればよいが、かかるモード切換作業は極
めて煩雑なものである。また、このようなモード切換作
業は、ハイフン入力をする度毎に行なう必要があり、こ
の点からも煩雑な作業であることは免れ得ないものであ
る。更に、ハイフン入力時に入力モード切換キーの操作
回数が増えると、それだけキーを誤って操作してしまう
虞が多分に存し、かかる誤操作に起因して文書データが
壊れてしまう問題も存在する。そのため、できるだけ入
力モード切換キー操作の回数は少ない方が良く、ハイフ
ンを入力する際の文書作成の操作性に改善すべき余地が
ある。
To avoid such a problem, the input mode can be switched from the overwrite mode to the insertion mode by operating the input mode switching key. However, such a mode switching operation is extremely complicated. Further, such a mode switching operation needs to be performed every time a hyphen is input, and from this point of view, it is unavoidable that the operation is a complicated operation. Furthermore, if the number of times the input mode switching key is operated during hyphen input increases, there is a possibility that the key may be erroneously operated, and there is also a problem that the erroneous operation may destroy the document data. Therefore, it is better that the number of input mode switching key operations is as small as possible, and there is room for improvement in the operability of document creation when inputting a hyphen.

【0008】本発明は前記従来技術の問題点を解消する
ためになされたものであり、ハイフン入力の際の操作性
を改善することができる文書処理装置または文書処理方
法を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in order to solve the problems of the prior art, and has as its object to provide a document processing apparatus or a document processing method capable of improving the operability at the time of hyphen input. I do.

【0009】[0009]

【課題を解決するための手段】前記目的を達成するため
本発明は、請求項1に記載の発明によれば、文書データ
を入力する入力手段と、前記入力手段により入力された
文書データにハイフンを入力するハイフン入力手段と、
入力された文書及びハイフンを表示画面に表示する表示
手段とを有する文書処理装置において、前記ハイフン入
力手段によりハイフンが入力された場合、前記ハイフン
の入力位置に応じて、現在行の行頭からハイフンまでの
文字列を前行の行末に移動させる処理と、該入力位置に
ハイフン入力を行う通常のハイフン処理とを選択的に処
理する制御手段とを設けた構成とされる。また、請求項
2に記載の発明によれば、入力された文書データ中にハ
イフンが入力され、入力された文書及びハイフンを表示
画面に表示することができる文書処理方法において、前
記表示画面に入力された文書を表示するとともに、表示
された文書に対してハイフンが入力された場合、ハイフ
ンの入力位置に応じて、現在行の行頭からハイフンまで
の文字列を前行の行末に移動させる処理と、該入力位置
にハイフン入力を行う通常のハイフン処理とを選択的に
処理することを特徴とする。
According to the first aspect of the present invention, there is provided an input means for inputting document data, and a hyphen in the document data input by the input means. A hyphen input means for inputting
In a document processing apparatus having display means for displaying an input document and a hyphen on a display screen, when a hyphen is input by the hyphen input means, from the beginning of the current line to a hyphen according to the input position of the hyphen. And a control means for selectively processing a process of moving the character string to the end of the previous line and a normal hyphen process for inputting a hyphen at the input position. According to the second aspect of the present invention, in the document processing method in which a hyphen is input in the input document data and the input document and the hyphen can be displayed on the display screen, When a hyphen is input to the displayed document while displaying the displayed document, the process of moving the character string from the beginning of the current line to the hyphen to the end of the previous line according to the input position of the hyphen And a normal hyphen process for inputting a hyphen at the input position.

【0010】[0010]

【作用】前記構成を有する本発明では、入力手段を介し
て文書データを入力し、ハイフン入力手段を操作する
と、入力された文書及びハイフンを表示手段の表示画面
に表示することができる。そして、ハイフンの入力位置
に応じて、現在行の行頭からハイフンまでの文字列を前
行の行末に移動させる処理と、該入力位置にハイフン入
力を行う通常のハイフン処理とが選択的に処理される。
これにより、表示された文書に対してハイフンを所望の
位置に入力するという簡単な操作によって、既に入力さ
れている文書データに対して現在行の行頭からハイフン
までの文字列を前行の行末に移動させたり、該入力位置
にハイフン入力を行う通常のハイフン入力処理を行わせ
たりして、最適なハイフン入力処理を自動的に選択して
行うことができる。
According to the present invention having the above-described structure, by inputting document data through the input means and operating the hyphen input means, the input document and hyphen can be displayed on the display screen of the display means. Then, according to the input position of the hyphen, a process of moving the character string from the beginning of the current line to the end of the hyphen to the end of the previous line and a normal hyphen process of inputting a hyphen at the input position are selectively processed. You.
By this, a simple operation of inputting a hyphen at a desired position in the displayed document causes the character string from the beginning of the current line to the hyphen to the end of the previous line to the already input document data. The optimum hyphen input processing can be automatically selected and performed by moving or inputting normal hyphen input processing for inputting a hyphen at the input position.

【0011】[0011]

【実施例】以下、本発明を具体化した一実施例に基づき
図面を参照して詳細に説明する。本実施例は、自動改行
機能を有する英文用のワードプロセッサに係り、図1は
ワードプロセッサ1の斜視図、図2はワードプロセッサ
1の制御ブロック図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings. This embodiment relates to an English word processor having an automatic line feed function. FIG. 1 is a perspective view of the word processor 1 and FIG. 2 is a control block diagram of the word processor 1.

【0012】図1に示すように、ワードプロセッサ1の
本体フレーム2の前部にはキーボード3が配置され、キ
ーボード3の後部には文字や記号を表示可能な液晶ディ
スプレイ30が、図1に示す使用位置と図示しない収納
位置とに回動可能に設けられている。また、液晶ディス
プレイ30の後方には、プラテン(図示せず)の長手方
向に沿って往復移動しつつ印字用紙上に文字等の印字を
行なう印字機構PMが配設されている。
As shown in FIG. 1, a keyboard 3 is disposed at the front of the main body frame 2 of the word processor 1, and a liquid crystal display 30 capable of displaying characters and symbols is provided at the rear of the keyboard 3, as shown in FIG. It is rotatably provided at a position and a storage position (not shown). A printing mechanism PM that prints characters and the like on printing paper while reciprocating along the longitudinal direction of a platen (not shown) is provided behind the liquid crystal display 30.

【0013】キーボード3には、アルファベットキーと
数字キーと記号キーを含む文字キー10、スペースキー
11、リターンキー12、上書きモードを設定する上書
きキー13、挿入モードを設定する挿入キー14、ハイ
フンキー15、その他各種機能キー等が設けられてい
る。ここに、文字キー10は、主として文書データを作
成する際に操作されるものであり、また、スペースキー
11はスペースを入力するときに押下され、リターンキ
ー12はキャリッジ・リターンを入力したり、各種処理
の実行時等に押下される。
The keyboard 3 includes character keys 10 including alphabet keys, numeric keys, and symbol keys, a space key 11, a return key 12, an overwrite key 13 for setting an overwrite mode, an insert key 14 for setting an insert mode, and a hyphen key. 15, other various function keys and the like are provided. Here, the character key 10 is mainly operated when creating document data, the space key 11 is pressed to input a space, the return key 12 is used to input a carriage return, It is pressed when executing various processes.

【0014】更に、入力モードは上書きキー13または
挿入キー14のいずれか押下されたキーのモードに設定
される。また、ハイフンキー15は前記のように設定さ
れた上書きモードまたは挿入モード下においてハイフン
H(図5参照)を入力する時に押下される。
Further, the input mode is set to the mode of the key pressed either the overwrite key 13 or the insert key 14. The hyphen key 15 is depressed when inputting a hyphen H (see FIG. 5) in the overwriting mode or the insertion mode set as described above.

【0015】また、液晶ディスプレイ30は、キーボー
ド3上に配設された各種キーから入力された文字等を表
示するためのものであり、これらの文字等を複数行にわ
たって表示可能とされている。更に、印字機構PMは、
プラテンに沿って往復動可能なキャリッジ上に搭載され
たデイジーホイール上の活字を選択しつつ印字ハンマに
より印字リボンを介してプラテンに装着された印字用紙
に所望の印字を行なう構成のものであり、かかる印字機
構PMの構成は公知であるので、ここでは説明を省略す
る。
The liquid crystal display 30 is for displaying characters and the like input from various keys arranged on the keyboard 3, and can display these characters and the like over a plurality of lines. Further, the printing mechanism PM
It is of a configuration that performs desired printing on a printing paper mounted on the platen via a printing ribbon by a printing hammer while selecting a type on a daisy wheel mounted on a carriage that can reciprocate along the platen, Since the configuration of the printing mechanism PM is known, the description is omitted here.

【0016】次にワードプロセッサ1の制御系の全体構
成について、図2に基づいて説明する。ワードプロセッ
サ1は基本的にキーボード3、表示部DM、及び、制御
部Cから構成され、各キーボード3、表示部DMは入出
力インターフェイス32を介して制御部Cに接続されて
いる。
Next, the overall configuration of the control system of the word processor 1 will be described with reference to FIG. The word processor 1 basically includes a keyboard 3, a display unit DM, and a control unit C. Each of the keyboards 3 and the display unit DM is connected to the control unit C via an input / output interface 32.

【0017】表示部DMは、入出力インターフェイス3
2に接続されたディスプレイコントローラ31と液晶デ
ィスプレイ30とからなり、液晶ディスプレイ30には
後述する制御部Cにより駆動制御されるディスプレイコ
ントローラ31を介して文字等の表示が行なわれるもの
である。
The display unit DM has an input / output interface 3
2, a display controller 31 and a liquid crystal display 30. Characters and the like are displayed on the liquid crystal display 30 via a display controller 31 driven and controlled by a control unit C described later.

【0018】制御部CはCPU33と、CPU33にデ
ータバスなどのバス34を介して接続された入出力イン
ターフェイス32、ROM40及びRAM50とから構
成されている。
The controller C comprises a CPU 33, an input / output interface 32, a ROM 40 and a RAM 50 connected to the CPU 33 via a bus 34 such as a data bus.

【0019】ROM(読出し専用メモリ)40は各種プ
ログラム等を記憶しておくものであり、かかるROM4
0のプログラムメモリ41には、後述するハイフン処理
プログラム、キーボード3から入力されるコードデータ
に対応させて表示部DMを制御するプログラム、文書デ
ータの編集処理に関するプログラム、その他ワードプロ
セッサの制御上必要な各種のプログラムが格納されてい
る。
A ROM (read only memory) 40 stores various programs and the like.
The program memory 41 includes a hyphen processing program described later, a program for controlling the display unit DM in accordance with code data input from the keyboard 3, a program for editing document data, and various other types of data necessary for controlling the word processor. Program is stored.

【0020】RAM(読出し書込み可能なメモリ)50
には、キーボード3または図示しない外部記憶手段より
入力された文書データを格納するテキストメモリ51、
現在カーソルのある行を1時的に格納するラインバッフ
ァ52、現在の上書き/挿入モードを格納する上書き/
挿入モードエリア53、上書き/挿入モードを一時的に
格納する上書き/挿入モード退避エリア54が設けられ
ている。
RAM (Read / Write Memory) 50
A text memory 51 for storing document data input from the keyboard 3 or external storage means (not shown);
A line buffer 52 for temporarily storing the line at the current cursor position, and an overwrite /
An insert mode area 53 and an overwrite / insert mode save area 54 for temporarily storing the overwrite / insert mode are provided.

【0021】前記構成において、キーボード3または図
示しない外部記憶手段より文書データが入力された時、
CPU33はROM40のプログラムメモリ41に記憶
された文書編集プログラムにしたがってRAM50の上
書き/挿入モードエリア53を参照し、上書きモードで
あれば入力されたデータを現在のカーソル位置から上書
きする。すなわち、その位置に現在ある文字列は失われ
ることとなる。また、挿入モードであれば、入力された
データは現在のカーソル位置に挿入される。すなわち、
その位置に現在ある文字列は順に後に送られることとな
る。
In the above configuration, when document data is input from the keyboard 3 or external storage means (not shown),
The CPU 33 refers to the overwrite / insert mode area 53 of the RAM 50 according to the document editing program stored in the program memory 41 of the ROM 40, and in the overwrite mode, overwrites the input data from the current cursor position. That is, the character string currently at that position will be lost. In the insertion mode, the input data is inserted at the current cursor position. That is,
The character string currently at that position will be sent later in order.

【0022】次に、ワードプロセッサ1の制御部Cで行
なわれるハイフン処理制御について図3のフローチャー
トに基づいて説明する。ここに、この制御が開始される
前において、テキストメモリ51に格納されている文書
データ、あるいは新規入力された文書データが例えば図
4に示すようにディスプレイ30に表示されているもの
とする。また、図4において、カーソル60は単語 (p
reparatory)の4文字目(第2番目のpの位置)にあ
り、その前行には4文字以上の空白が行末に存在してい
る。
Next, hyphen processing control performed by the control unit C of the word processor 1 will be described with reference to the flowchart of FIG. Here, it is assumed that before this control is started, the document data stored in the text memory 51 or the newly input document data is displayed on the display 30 as shown in FIG. 4, for example. Also, in FIG. 4, the cursor 60 moves to the word (p
reparatory) at the fourth character (the position of the second p), and four or more blank spaces exist at the end of the previous line.

【0023】この状態において、ステップ(以下、Sと
略す。他のステップに関しても同様である。)1におい
てハイフンキー15の入力が行われた場合、図3に示さ
れるフローチャートがCPU33により実行される。ハ
イフンHが入力されると、現在行の行頭からハイフン入
力位置であるカーソル60までの文書データがハイフン
Hをも含めて前行へ移動し得るか否かが判断される(S
2)。
In this state, when the hyphen key 15 is input in step (hereinafter abbreviated as S; the same applies to other steps) 1, the CPU 33 executes the flowchart shown in FIG. . When the hyphen H is input, it is determined whether or not the document data from the beginning of the current line to the cursor 60 at the hyphen input position can move to the previous line including the hyphen H (S).
2).

【0024】すなわち、現在行の行頭からハイフンHま
での文字数が前行の行末の空白文字数より少ない場合
(S2:YES)、現在行の行頭からハイフンHまでの
文字列を前行の行末に移動することが出来るので、行頭
からハイフンHまでの文字列は前行の行末に移動され
る。そうでない場合(S2:NO)は行頭からハイフン
Hまでの文字列は前行の行末に移動することが出来ない
ので、通常のハイフン入力として処理し(S3)、処理
を終了する。
That is, if the number of characters from the beginning of the current line to the hyphen H is smaller than the number of blank characters at the end of the previous line (S2: YES), the character string from the beginning of the current line to the hyphen H is moved to the end of the previous line. The character string from the head of the line to the hyphen H is moved to the end of the previous line. Otherwise (S2: NO), the character string from the beginning of the line to the hyphen H cannot be moved to the end of the previous line, so it is processed as a normal hyphen input (S3), and the process is terminated.

【0025】前行へ移動する場合(S2:YES)は、
現在の上書き/挿入モードエリア53に格納されている
上書き/挿入モードのデータを上書き/挿入モード退避
エリア54に一時的に退避し(S4)、記憶しておく。
続いて上書き/挿入モードエリア53に挿入モードを格
納する(S5)ことにより、入力モードが一時的に挿入
モードに設定される。
When moving to the previous line (S2: YES),
The data of the overwrite / insert mode stored in the current overwrite / insert mode area 53 is temporarily saved in the overwrite / insert mode save area 54 (S4) and stored.
Subsequently, the input mode is temporarily set to the insert mode by storing the insert mode in the overwrite / insert mode area 53 (S5).

【0026】かかる状態において、ハイフンキー15が
押下された場合と同じ処理を行なう。すなわち、ライン
バッファ52上でハイフンHをカーソル位置直前へ挿入
する(S6)とともに、現在行の行頭からハイフンHま
での文字列を前行の行末へ移動する(図5参照)。その
後上書き/挿入モード退避エリア54に退避させておい
たデータを上書き/挿入モードエリア53に復帰させる
(S7)。
In this state, the same processing as when the hyphen key 15 is pressed is performed. That is, a hyphen H is inserted just before the cursor position on the line buffer 52 (S6), and the character string from the beginning of the current line to the hyphen H is moved to the end of the previous line (see FIG. 5). Thereafter, the data saved in the overwrite / insert mode save area 54 is returned to the overwrite / insert mode area 53 (S7).

【0027】これにより、入力モードは前記フローチャ
ート処理の実行を行なう以前の上書きモードあるいは挿
入モードに復帰され、これにて処理を終了する。
As a result, the input mode is returned to the overwriting mode or the insertion mode before the execution of the flowchart processing, and the processing is terminated.

【0028】以上詳細に説明した通り本実施例に係るワ
ードプロセッサ1では、ハイフンHを入力する際にRA
M50の上書き/挿入モードエリア53に設定されてい
る入力モード(上書きモード又は挿入モード)を一旦上
書き/挿入モード退避エリア54に退避させるととも
に、かかる退避処理の後上書き/挿入モードエリア53
に設定されていた入力モードの如何に拘らず強制的、且
つ、一時的に挿入モードを設定するようにしたので、ハ
イフン入力時には入力モードが自動的に挿入モードに切
り換えられ、これにより煩雑な入力モード切換作業を行
なうことなく簡単なキー操作によりハイフン入力を行な
うことができるものである。
As described in detail above, in the word processor 1 according to the present embodiment, when the hyphen H
The input mode (overwrite mode or insertion mode) set in the overwrite / insert mode area 53 of M50 is temporarily saved in the overwrite / insert mode save area 54, and after the save processing, the overwrite / insert mode area 53 is set.
The insertion mode is set forcibly and temporarily regardless of the input mode that was set to, so that the input mode is automatically switched to the insertion mode at the time of hyphen input, thereby complicating input. A hyphen input can be performed by a simple key operation without performing a mode switching operation.

【0029】また、上書き/挿入モードエリア53に設
定されている入力モードが上書きモードである場合にお
いても、ハイフン入力時には入力モードが挿入モードに
切り換えられるので、不用意なキー操作により文書デー
タにミススペルを生じたり等して貴重な文書データを壊
してしまう虞を全くなくすことができる。
Further, even when the input mode set in the overwrite / insert mode area 53 is the overwrite mode, the input mode is switched to the insert mode at the time of hyphen input, so that the misspelling of the document data is performed by careless key operation. This can completely eliminate the possibility that valuable document data will be destroyed due to the occurrence of a problem.

【0030】更に、本実施例に係るワードプロセッサ1
では、現在行の行頭からハイフンHまでの文字列を前行
の行末に移動可能かどうか判断し、移動可能な場合には
かかる文字列を前行の行末に移動させる自動改行機能を
備えており、これより前記した入力モードの自動切換機
能とも相まって極めて見栄えの良い文書を作成すること
ができるものである。
Further, the word processor 1 according to the present embodiment
Has an automatic line feed function that determines whether the character string from the beginning of the current line to the hyphen H can be moved to the end of the previous line, and if so, moves the character string to the end of the previous line. Accordingly, a document with an extremely good appearance can be created in combination with the automatic switching function of the input mode described above.

【0031】また、ハイフンHの入力処理後において
は、一時的に上書き/挿入モード退避エリア54に退避
されていたモード切換前の入力モードが上書き/挿入モ
ードエリア53に自動的に復帰されるので、ハイフンH
の入力処理後は引続きモード切換前の元の入力モードで
文書データの編集等を行なうことができる。
After the input process of the hyphen H, the input mode temporarily saved in the overwrite / insert mode save area 54 before the mode change is automatically returned to the overwrite / insert mode area 53. , Hyphen H
After the input processing, document data can be edited in the original input mode before the mode switching.

【0032】尚、本発明は前記実施例に限定されるもの
ではなく、本発明の要旨を逸脱しない範囲内で種々の改
良、変形が可能であることは勿論である。
It should be noted that the present invention is not limited to the above-described embodiment, and it is needless to say that various improvements and modifications can be made without departing from the gist of the present invention.

【0033】[0033]

【発明の効果】以上説明したことから明らかなように、
本発明によれば、表示された文書に対してハイフンの入
力を行う場合、ハイフンの入力位置に応じて、現在行の
行頭からハイフンまでの文字列を前行の行末に移動させ
る処理と、該入力位置にハイフン入力を行う通常のハイ
フン処理とが選択的に処理されるので、表示された文書
に対してハイフンを所望の位置に入力するという簡単な
操作によって、既に入力されている文書データに対して
現在行の行頭からハイフンまでの文字列を前行の行末に
移動させたり、該入力位置にハイフン入力を行う通常の
ハイフン入力処理を行わせたりして、最適なハイフン入
力処理を自動的に選択して行うことができ、ハイフン入
力の際の操作性を改善することができるとともに、極め
て見栄えの良い文書を簡単に作成することができる文書
処理装置または文書処理方法を提供できるという優れた
効果を奏する。
As is apparent from the above description,
According to the present invention, when a hyphen is input to a displayed document, a process of moving the character string from the beginning of the current line to the hyphen to the end of the previous line according to the input position of the hyphen; The normal hyphen processing of inputting a hyphen at the input position is selectively processed, so that a simple operation of inputting a hyphen at a desired position in the displayed document can be applied to the already input document data. On the other hand, the character string from the beginning of the current line to the hyphen is moved to the end of the previous line, or the normal hyphen input processing of inputting a hyphen at the input position is performed, so that the optimum hyphen input processing is automatically performed. A document processing device or a text processing device which can improve the operability at the time of hyphen input and can easily create a document having an excellent appearance. An excellent effect of being able to provide a treatment method.

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

【図1】ワードプロセッサの斜視図である。FIG. 1 is a perspective view of a word processor.

【図2】ワードプロセッサの制御系を示すブロック図で
ある。
FIG. 2 is a block diagram showing a control system of the word processor.

【図3】ハイフン処理プログラムのフローチャートであ
る。
FIG. 3 is a flowchart of a hyphen processing program.

【図4】ハイフン処理を行なう前の液晶ディスプレイの
表示状態を示す説明図である。
FIG. 4 is an explanatory diagram showing a display state of a liquid crystal display before performing a hyphenation process.

【図5】ハイフン処理を行なった後の液晶ディスプレイ
の表示状態を示す説明図である。
FIG. 5 is an explanatory diagram showing a display state of a liquid crystal display after performing a hyphen process.

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

1 ワードプロセッサ 3 キーボード 10 文字キー 13 上書きキー 14 挿入キー 15 ハイフンキー 30 液晶ディスプレイ 33 CPU 40 ROM 41 プログラムメモリ 50 RAM 51 テキストメモリ 52 ラインバッファ 53 上書き/挿入モードエリア 54 上書き/挿入モード退避エリア DESCRIPTION OF SYMBOLS 1 Word processor 3 Keyboard 10 Character key 13 Overwrite key 14 Insert key 15 Hyphen key 30 Liquid crystal display 33 CPU 40 ROM 41 Program memory 50 RAM 51 Text memory 52 Line buffer 53 Overwrite / insert mode area 54 Overwrite / insert mode save area

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 文書データを入力する入力手段と、 前記入力手段により入力された文書データにハイフンを
入力するハイフン入力手段と、 入力された文書及びハイフンを表示画面に表示する表示
手段とを有する文書処理装置において、 前記ハイフン入力手段によりハイフンが入力された場
合、前記ハイフンの入力位置に応じて、現在行の行頭か
らハイフンまでの文字列を前行の行末に移動させる処理
と、該入力位置にハイフン入力を行う通常のハイフン処
理とを選択的に処理する制御手段を設けたことを特徴と
する文書処理装置。
1. An input device for inputting document data, a hyphen input device for inputting a hyphen to the document data input by the input device, and a display device for displaying the input document and hyphen on a display screen. In the document processing apparatus, when a hyphen is input by the hyphen input unit, a process of moving a character string from the beginning of the current line to the hyphen to the end of the previous line according to the input position of the hyphen; And a control unit for selectively performing a normal hyphen process for inputting a hyphen.
【請求項2】 入力された文書データにハイフンが入力
され、入力された文書及びハイフンを表示画面に表示す
ることができる文書処理方法において、 前記表示画面に入力された文書を表示するとともに、表
示された文書に対してハイフンが入力された場合、ハイ
フンの入力位置に応じて、現在行の行頭からハイフンま
での文字列を前行の行末に移動させる処理と、該入力位
置にハイフン入力を行う通常のハイフン処理とを選択的
に処理することを特徴とする文書処理方法。
2. A document processing method in which a hyphen is input to input document data and the input document and the hyphen can be displayed on a display screen, wherein the input document is displayed and displayed on the display screen. When a hyphen is input to the input document, a process of moving the character string from the beginning of the current line to the end of the hyphen to the end of the previous line according to the input position of the hyphen, and performing a hyphen input at the input position A document processing method characterized by selectively performing normal hyphen processing.
JP2001316836A 2001-10-15 2001-10-15 Document processing device Expired - Fee Related JP3528829B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001316836A JP3528829B2 (en) 2001-10-15 2001-10-15 Document processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001316836A JP3528829B2 (en) 2001-10-15 2001-10-15 Document processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP4103719A Division JPH05282284A (en) 1992-03-30 1992-03-30 Word processor

Publications (2)

Publication Number Publication Date
JP2002157243A true JP2002157243A (en) 2002-05-31
JP3528829B2 JP3528829B2 (en) 2004-05-24

Family

ID=19134788

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001316836A Expired - Fee Related JP3528829B2 (en) 2001-10-15 2001-10-15 Document processing device

Country Status (1)

Country Link
JP (1) JP3528829B2 (en)

Also Published As

Publication number Publication date
JP3528829B2 (en) 2004-05-24

Similar Documents

Publication Publication Date Title
JPH0731584B2 (en) Method for controlling computer system having printer
US4924433A (en) Word processor with attribute functions
JPS63167960A (en) Document processor
JPH0792796B2 (en) Document creation device
JP3528829B2 (en) Document processing device
JPH05282284A (en) Word processor
JPH08156334A (en) Character information processing device
JP2520908B2 (en) Panel input device
JP4345735B2 (en) Display control device
JPH07334481A (en) Document preparing device
JPH0644228A (en) Document editing device
JPH06110891A (en) Documentation device
JP2712657B2 (en) Printing device
JP4463487B2 (en) Display device, display method, and printing device
JP3311024B2 (en) Document processing method and apparatus
JP2914816B2 (en) Document processing device
JPH04268957A (en) Document preparing device
JPH06180698A (en) Document processor
JP3371435B2 (en) Input mode automatic setting method or input mode automatic setting device
JPS6287358A (en) Typewriter capable of printing and displaying combined character
JPH0638256B2 (en) I / O device
JPS6354273A (en) Electronic typewriter
JPH03134768A (en) Printer with spelling check function
JPH07108720A (en) Typewriter
JPH03257578A (en) Document processor

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040203

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040216

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080305

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090305

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090305

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110305

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees