JPH05210659A - Document preparing device - Google Patents

Document preparing device

Info

Publication number
JPH05210659A
JPH05210659A JP3075747A JP7574791A JPH05210659A JP H05210659 A JPH05210659 A JP H05210659A JP 3075747 A JP3075747 A JP 3075747A JP 7574791 A JP7574791 A JP 7574791A JP H05210659 A JPH05210659 A JP H05210659A
Authority
JP
Japan
Prior art keywords
editing
block
normal
document
editing processing
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
JP3075747A
Other languages
Japanese (ja)
Inventor
Atsuko Toda
亜津子 戸田
Futoshi Sakamoto
太志 阪本
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.)
Toshiba Corp
Toshiba Software Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Software Engineering 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 Toshiba Corp, Toshiba Software Engineering Corp filed Critical Toshiba Corp
Priority to JP3075747A priority Critical patent/JPH05210659A/en
Publication of JPH05210659A publication Critical patent/JPH05210659A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To easily switch the normal processing to the block editing processing even on the way of the normal editing processing by executing the editing processing according with a flow of normal character strings or the block editing processing according with blocks. CONSTITUTION:Document data is expanded in a document area 11a of a RAM 11 by the operation control of a CPU 10, and a part of document data is displayed on a liquid crystal display part 15 in accordance with this document data, and in this state, the editing processing of character strings in the range designated by two points of the displayed document is performed. When a selection/execution key is depressed without designating the block editing, the editing processing in the normal editing mode according with a flow of character strings is executed because this editing processing is in the normal editing mode. When block editing is designated, the editing processing in the block editing mode according with the rectangular range prescribed based on two prescribed points is executed at the time of depression of the selection/execution key, and the normal editing processing is automatically restored again after this execution.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ブロック編集機能を有
する文書作成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document creating apparatus having a block editing function.

【0002】[0002]

【従来の技術】従来の文書作成装置において、ブロック
編集機能を有するものがあった。このブロック編集機能
は、文書中の2点で指定される矩形(ブロック)内の文
字をそのままの形で例えば移動、コピー、削除するもの
で、特に文書が帳票のようなものである場合に編集処理
を効率的に行なうためのものである。しかるに、従来の
文書作成装置でこのブロック編集機能を有するものは、
通常の編集モードから一旦ブロック編集モードに移行す
る指定を与えた上で、具体的に移動、コピー、削除等の
指示を与えてブロック編集処理を実行し、処理終了後に
ブロック編集モードの解除を指定して再び通常の編集モ
ードに復帰するようになっていた。
2. Description of the Related Art Some conventional document creating apparatuses have a block editing function. This block editing function is to move, copy, or delete the characters in a rectangle (block) designated by two points in the document as they are, especially when the document is a form. This is for efficient processing. However, the conventional document creation device having this block editing function is
After giving the instruction to move from the normal edit mode to the block edit mode, specify the move, copy, delete, etc. instructions to execute the block edit processing, and specify the cancellation of the block edit mode after the processing is completed. Then, it came to return to the normal edit mode again.

【0003】[0003]

【発明が解決しようとする課題】以上に述べた如く従来
の文書作成装置では、通常の編集モードとブロック編集
モードとが完全に分離して管理されており、ブロック編
集の設定及び解除が面倒であると共に、通常の編集モー
ドにより編集処理の途中でブロック編集モードに移行さ
せるようなことはできなかった。
As described above, in the conventional document creating apparatus, the normal edit mode and the block edit mode are completely separated and managed, and setting and canceling the block edit are troublesome. At the same time, it was not possible to shift to the block edit mode in the middle of the edit process in the normal edit mode.

【0004】本発明は上記のような実情に鑑みてなされ
たもので、その目的とするところは、ブロック編集のモ
ードを意識することなく、通常の編集処理の途中であっ
ても簡単にブロック編集による編集処理に移行して処理
を実行させることが可能な文書作成装置を提供すること
にある。
The present invention has been made in view of the above situation, and an object of the present invention is to easily edit a block even during a normal editing process without being aware of the block editing mode. An object of the present invention is to provide a document creation device capable of shifting to the editing process by the above and executing the process.

【0005】[0005]

【課題を解決するための手段及び作用】すなわち本発明
は、文書中の2点及びこの2点で指定される文字列に対
する編集処理を指示入力後にブロック編集の指定がなさ
れたか否かを判断し、その判断結果に応じて上記2点で
指定される文字列に従った通常の文字列の流れに従った
編集処理あるいは2点で指定されるブロックに従ったブ
ロック編集処理のいずれか一方を実行するようにしたも
のである。
That is, according to the present invention, it is determined whether or not block editing is designated after inputting an editing process for two points in a document and a character string designated by these two points. Depending on the result of the judgment, either the edit process according to the normal flow of the character string according to the character string specified by the above two points or the block edit process according to the block specified by the two points is executed. It was done.

【0006】このような構成とすることにより、通常の
文字列の流れに従った編集モードが設定されている状態
で編集処理を行なう文字列の範囲を指示する際に併せて
ブロック編集も指示することで、速やかに通常の編集モ
ードからブロック編集モードに移行し、ブロック編集に
よる編集処理の終了後は自動的に再び通常の編集モード
に復帰するので、ブロック編集モードを意識することな
く、通常の編集処理の途中であっても簡単にブロック編
集による編集処理に移行して処理を実行させることがで
きる。
With such a configuration, when the range of the character string to be edited is specified while the edit mode is set according to the normal flow of the character string, block editing is also specified. By doing so, the normal edit mode is quickly switched to the block edit mode, and after the editing process by the block edit is completed, the normal edit mode is automatically restored again. Even during the editing process, it is possible to easily shift to the editing process by block editing and execute the process.

【0007】[0007]

【実施例】以下図面を参照して本発明の一実施例を説明
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0008】図1はその基本的な回路構成を示すもの
で、10はマイクロプロセッサ(CPU)、11は同マイク
ロプロセッサ10によりアクセスされるRAM、12は同R
OMである。
FIG. 1 shows the basic circuit configuration thereof. 10 is a microprocessor (CPU), 11 is a RAM accessed by the microprocessor 10, and 12 is an R.
OM.

【0009】マイクロプロセッサ(以下CPUと称す)
10は装置全体の制御を行なうもので、上記RAM11及び
ROM12をアクセスして、入力指示に従うプログラムの
起動で、文書作成処理、外字作成処理、さらには文書の
保存、呼出し、削除等の文書管理処理等を実行する。R
AM11は、作業対象となる文書データを記憶する文書エ
リア11a、印刷イメージを記憶する印刷イメージバッフ
ァ11bを始め、外字登録エリア、語句登録エリア、文書
表示画面上のカーソル位置を記憶するカーソル位置レジ
スタなどの各制御情報を記憶するワークエリア11c等の
エリアを有する。ROM12は、CPU10の動作を決定す
るプログラムや図2に示すような編集処理の制御ルーチ
ンを含む入力処理プログラム等を格納したプログラムエ
リア12aをはじめ、仮名あるいはローマ字で入力された
読みを漢字に変換するための各種辞書が登録された辞書
エリア12b等を有している。
Microprocessor (hereinafter referred to as CPU)
Reference numeral 10 controls the entire apparatus. Accessing the RAM 11 and the ROM 12 and starting a program according to an input instruction, a document creation process, an external character creation process, and a document management process such as document saving, calling, and deleting. And so on. R
The AM 11 includes a document area 11a for storing document data to be operated, a print image buffer 11b for storing a print image, an external character registration area, a phrase registration area, a cursor position register for storing the cursor position on the document display screen, etc. It has an area such as a work area 11c for storing the respective control information. The ROM 12 converts a reading input in kana or romaji into kanji, including a program area 12a storing a program for determining the operation of the CPU 10 and an input processing program including an edit processing control routine as shown in FIG. It has a dictionary area 12b in which various dictionaries are registered.

【0010】また、13はキーボード(KB)、15は液晶
表示部(LCD)、18はフロッピーディスク装置(FD
D)、20はプリンタ(PRT)である。キーボード13
は、文書作成等に必要な入力情報をキーボードインター
フェイス(KB−IF)14を介してCPU10へ入力す
る。このキーボード13には、文字キー、数値キー、カー
ソルキー等に加えて、「ひらがな」シフトキー、「カタ
カナ」シフトキー、「漢字」シフトキー、各種指示を選
択/実行させる「選択/実行」キー、各種指示を取消す
ための「取消」キー、その他各種のファンクションキー
が設けられる。液晶表示部15は、例えば40字20行表示の
バックライト付き液晶ディスプレイ装置からなる。表示
コントローラ(表示−CNT)16は、CPU10の制御の
下に表示用RAM17を用いて液晶表示部15の表示制御を
行なう。フロッピーディスク装置18は、ディスクインタ
ーフェイス(FDD−F)19を介してCPU10の制御の
下に、作成された文書を保存したり、外字および第2水
準文字等を記憶する。プリンタ20は、プリンタインター
フェイス(PRT−IF)21を介してCPU10の制御の
下に作成された文書を印字する。
Further, 13 is a keyboard (KB), 15 is a liquid crystal display (LCD), and 18 is a floppy disk device (FD).
D) and 20 are printers (PRT). Keyboard 13
Inputs input information necessary for creating a document or the like to the CPU 10 via a keyboard interface (KB-IF) 14. In addition to character keys, numeric keys, cursor keys, etc., this keyboard 13 has "Hiragana" shift key, "Katakana" shift key, "Kanji" shift key, "Select / execute" key for selecting / executing various instructions, and various instructions A "cancel" key for canceling and other various function keys are provided. The liquid crystal display unit 15 is composed of, for example, a liquid crystal display device with a backlight that displays 40 characters and 20 lines. The display controller (display-CNT) 16 controls the display of the liquid crystal display unit 15 using the display RAM 17 under the control of the CPU 10. The floppy disk device 18 stores a created document and stores external characters and second level characters under the control of the CPU 10 via a disk interface (FDD-F) 19. The printer 20 prints a document created under the control of the CPU 10 via a printer interface (PRT-IF) 21.

【0011】次に上記実施例の動作について説明する。Next, the operation of the above embodiment will be described.

【0012】図2は主としてCPU10による動作制御で
あり、RAM11の文書エリア11aに文書データが展開さ
れ、その文書データに従って液晶表示部15に文書データ
の一部を表示させた状態で、表示されている文書中の2
点で指定される範囲の文字列に対して編集処理を行なう
場合の基本的な処理手順を示すものである。その処理当
初にはまずステップS1で編集処理の内容をキーボード
13の該当するファンクションキーの操作により指示す
る。次いでステップS2でカーソルキーを操作して表示
画面上のカーソル位置を編集処理を行なう文字列の始点
位置まで移動させ、この始点の指示入力を行なう。続け
てステップS3でカーソルキーを操作して表示画面上の
カーソル位置を同じく終点位置まで移動させ、その終点
の指示入力を行なう。その後、ステップS4でキーボー
ド13の予め特定されるファンクションキーによりブロッ
ク編集を指定するキー入力があるか否か、ステップS5
で編集処理の実行を指示する「選択/実行」キーのキー
入力があるか否かを続けて判断する。ブロック編集の指
定がないままに「選択/実行」キーが操作された場合、
この編集処理は通常の編集モードでのものとなるので、
ステップS5からステップS6に進んで文字列の流れに
従った通常の編集モードによる編集処理を実行し、以上
でこの処理を終了する。
FIG. 2 mainly shows the operation control by the CPU 10. The document data is developed in the document area 11a of the RAM 11 and is displayed in a state in which a part of the document data is displayed on the liquid crystal display unit 15 according to the document data. 2 in the document
It shows a basic processing procedure when an editing process is performed on a character string in a range designated by dots. At the beginning of the process, first, in step S1, the contents of the editing process are input to the keyboard.
Instruct by operating the corresponding 13 function keys. Then, in step S2, the cursor key is operated to move the cursor position on the display screen to the start point position of the character string to be edited, and the start point is input. Subsequently, in step S3, the cursor key is operated to move the cursor position on the display screen to the end point position as well, and an instruction input for the end point is performed. Then, in step S4, it is determined whether or not there is a key input for designating block editing by the function key specified in advance on the keyboard 13 in step S5.
Then, it is continuously determined whether or not there is a key input of the "select / execute" key for instructing execution of the editing process. If the "Select / Execute" key is operated without specifying block editing,
Since this editing process is in the normal editing mode,
The process proceeds from step S5 to step S6 to execute the edit process in the normal edit mode according to the flow of the character string, and the process is completed.

【0013】また、ブロック編集の指定がなされた場合
にはステップS4からステップS7に進んでブロック編
集モードでの「選択/実行」キーのキー入力を待機す
る。そして、「選択/実行」キーが操作された時点でス
テップS8に進み、上記ステップS2,S3で指示され
る2点を基準として規定される矩形範囲に従ったブロッ
ク編集モードによる編集処理を実行し、実行後に再び通
常の編集モードに自動復帰して以上でこの処理を終了す
る。
If block editing is designated, the process proceeds from step S4 to step S7 to wait for key input of the "select / execute" key in the block editing mode. Then, when the "select / execute" key is operated, the process proceeds to step S8, and the edit process is executed in the block edit mode according to the rectangular range defined based on the two points designated in steps S2 and S3. , After the execution, the normal edit mode is automatically restored again, and the process is completed.

【0014】なお、上記ステップS1の編集処理内容の
指示とステップS2の始点の指示の2回の指示入力は、
始点位置にカーソルを移動させた上で編集処理内容を指
示するファンクションキーを操作することで1回の指示
入力に簡略化することができる。
Note that the two instruction inputs of the editing process content instruction in step S1 and the starting point instruction in step S2 are
By moving the cursor to the start point position and then operating the function key for instructing the content of the editing process, the instruction input can be simplified once.

【0015】また、上記ステップS7のブロック編集モ
ード時の「選択/実行」キーの操作待機を省略し、上記
ステップS4でブロック編集を指定するファンクション
キーが操作されたと判断した時点で直接ステップS8に
進んでブロック編集モードによる編集処理の実行に移行
してもよい。
Further, the operation waiting for the "select / execute" key in the block edit mode in step S7 is omitted, and when it is determined in step S4 that the function key for designating block edit is operated, the process directly goes to step S8. Alternatively, the process may proceed to execution of the edit process in the block edit mode.

【0016】しかして、上記図2は種々多数ある編集処
理の基本的な処理手順を示し、文書中の2点を指示する
ことで編集処理を実行する例を示したものである。すな
わち、削除、下線、網かけ、均等割付、文字倍率の変更
を含む種々の文字修飾等の編集処理がこれに相当する。
これに対して、移動やコピー等の編集処理はさらにもう
1点、移動(コピー)先を指示する処理ステップが必要
であり、これは例えばステップS3とステップS4の間
に介在することとなる。
The above-mentioned FIG. 2 shows the basic processing procedure of various editing processes, and shows an example of executing the editing process by designating two points in the document. That is, this corresponds to an editing process such as various character modifications including deletion, underlining, shading, even allocation, and change of character magnification.
On the other hand, the editing process such as moving or copying requires another point, that is, a processing step for instructing a moving (copying) destination, which is interposed between, for example, step S3 and step S4.

【0017】また、上記図2の処理を、予め語句を指定
した上で文書中の同じ語句をサーチする語句サーチ機能
に応用することも考えられる。この場合、初めに指定す
る語句を入力する時点で通常の文字列の流れに従ったも
のにするか、あるいはブロック単位のものにするかを指
示することにより、通常の編集モードかブロック編集モ
ードかを判断することができ、その編集モードに応じた
語句をサーチして、順次置換、一括置換、次候補サーチ
等の編集処理機能に利用することができる。
It is also conceivable to apply the processing of FIG. 2 to a word / phrase search function for searching the same word / phrase in a document after specifying a word / phrase in advance. In this case, the normal edit mode or block edit mode can be specified by instructing whether to follow the normal flow of character strings at the time of inputting the first specified phrase or to make it in block units. It is possible to search for a word or phrase according to the editing mode and use it for an editing processing function such as sequential replacement, batch replacement, or next candidate search.

【0018】[0018]

【発明の効果】以上詳記した如く本発明によれば、文書
中の2点及びこの2点で指定される文字列に対する編集
処理を指示入力後にブロック編集の指定がなされたか否
かを判断し、その判断結果に応じて上記2点で指定され
る文字列に従った通常の文字列の流れに従った編集処理
あるいは2点で指定されるブロックに従ったブロック編
集処理のいずれか一方を実行するようにしたので、通常
の文字列の流れに従った編集モードが設定されている状
態で編集処理を行なう文字列の範囲を指示する際に、併
せてブロック編集も指示するのみで速やかに通常の編集
モードからブロック編集モードに移行し、ブロック編集
による編集処理の終了後は自動的に再び通常の編集モー
ドに復帰するため、ブロック編集モードを意識すること
なく、通常の編集処理の途中であっても簡単にブロック
編集による編集処理に移行して処理を実行させることが
可能な文書作成装置を提供することができる。
As described above in detail, according to the present invention, it is determined whether or not block editing is designated after inputting an editing process for two points in a document and a character string designated by these two points. Depending on the result of the judgment, either the edit process according to the normal flow of the character string according to the character string specified by the above two points or the block edit process according to the block specified by the two points is executed. Therefore, when instructing the range of the character string to be edited in the state that the edit mode according to the normal character string flow is set, it is possible to promptly normalize by simply instructing block editing as well. The normal editing mode is performed without being aware of the block editing mode, because the mode is changed from the block editing mode to the block editing mode, and after the editing process by the block editing is completed, it automatically returns to the normal editing mode again. It is possible to provide a transition to the document creating apparatus capable of executing the processing in the editing process by also easily block edit a course of management.

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

【図1】本発明の一実施例に係る回路構成を示すブロッ
ク図。
FIG. 1 is a block diagram showing a circuit configuration according to an embodiment of the present invention.

【図2】図1のCPUによる編集処理の基本的な処理手
順を示すフローチャート。
FIG. 2 is a flowchart showing a basic processing procedure of edit processing by the CPU of FIG.

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

10…マイクロプロセッサ(CPU)、11…RAM、11a
…文書エリア、11b…印刷イメージバッファ、11c…ワ
ークエリア、12…ROM、12a…プログラムエリア、12
b…辞書エリア、13…キーボード(KB)、14…キーボ
ードインターフェイス(KB−IF)、15…液晶表示部
(LCD)、16…表示コントローラ(表示−CNT)、
17…表示用RAM、18…フロッピーディスク装置(FD
D)、19…ディスクインターフェイス(FDD−I
F)、20…プリンタ(PRT)、21…プリンタインター
フェイス(PRT−IF)。
10 ... Microprocessor (CPU), 11 ... RAM, 11a
... document area, 11b ... print image buffer, 11c ... work area, 12 ... ROM, 12a ... program area, 12
b ... dictionary area, 13 ... keyboard (KB), 14 ... keyboard interface (KB-IF), 15 ... liquid crystal display (LCD), 16 ... display controller (display-CNT),
17 ... Display RAM, 18 ... Floppy disk device (FD
D), 19 ... Disk interface (FDD-I
F), 20 ... Printer (PRT), 21 ... Printer interface (PRT-IF).

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文書中の2点及びこの2点で指定される
文字列に対する編集処理を指示入力する指示手段と、 この指示手段の入力後にブロック編集の指定がなされた
か否かを判断する判断手段と、 この判断手段の判断結果により上記2点で指定される文
字列の流れに従った編集処理あるいは2点で指定される
ブロックに従った編集処理のいずれか一方を実行する編
集処理手段とを具備したことを特徴とする文書作成装
置。
1. An instruction means for instructing and inputting an editing process for two points in a document and a character string designated by these two points, and a judgment for determining whether or not block editing is designated after the input of the instructing means. Means and an editing processing means for executing either one of the editing processing according to the flow of the character string specified by the two points or the editing processing according to the block specified by the two points according to the judgment result of the judging means. A document creation device comprising:
JP3075747A 1991-03-15 1991-03-15 Document preparing device Pending JPH05210659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3075747A JPH05210659A (en) 1991-03-15 1991-03-15 Document preparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3075747A JPH05210659A (en) 1991-03-15 1991-03-15 Document preparing device

Publications (1)

Publication Number Publication Date
JPH05210659A true JPH05210659A (en) 1993-08-20

Family

ID=13585173

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3075747A Pending JPH05210659A (en) 1991-03-15 1991-03-15 Document preparing device

Country Status (1)

Country Link
JP (1) JPH05210659A (en)

Similar Documents

Publication Publication Date Title
JPH05210659A (en) Document preparing device
JPH0528134A (en) Layout editing processor
JPH01231117A (en) Document generating device
JPH01231163A (en) Document generating device
JPH04118759A (en) Document preparing device
JPH0355661A (en) Document producing device
JPH04282754A (en) Word processor
JPH03282589A (en) Document preparing device
JPH06325030A (en) Document preparing device and cursor move control method
JPH0793319A (en) Document processor
JPH04369766A (en) Method and device for processing document
JPH06266704A (en) Word processor and display control method
JPH01220062A (en) Word processor
JPH06236362A (en) Word processor and display control method
JPH05314105A (en) Documentation device and block edit control method
JPH0668089A (en) Document preparing device and output control method
JPH0683819A (en) Document preparing device and display control method
JPH06325036A (en) Document preparing device and display control method
JPH06309308A (en) Document creation device and display control method
JPH08287073A (en) Machine translation system
JPH06119337A (en) Document preparing device and method
JPH06309323A (en) Document creation device and retrieval control method
JPH06325027A (en) Document preparing device and display control method
JPH0696066A (en) Document preparing device having area function and area position changing method
JPH05128097A (en) Kana/kanji conversion device