JPH0756916A - Document generation device and editing range designation method - Google Patents

Document generation device and editing range designation method

Info

Publication number
JPH0756916A
JPH0756916A JP5202279A JP20227993A JPH0756916A JP H0756916 A JPH0756916 A JP H0756916A JP 5202279 A JP5202279 A JP 5202279A JP 20227993 A JP20227993 A JP 20227993A JP H0756916 A JPH0756916 A JP H0756916A
Authority
JP
Japan
Prior art keywords
range
editing
edit
setting
designating
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
JP5202279A
Other languages
Japanese (ja)
Inventor
Hidekata Adachi
秀鋼 足立
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
Original Assignee
Toshiba 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 filed Critical Toshiba Corp
Priority to JP5202279A priority Critical patent/JPH0756916A/en
Publication of JPH0756916A publication Critical patent/JPH0756916A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a document generation device which can set an operation accompanied by an editing processing to be efficient as a result by switching a range designation method after the content of the editing processing is set. CONSTITUTION:When the editing range designation method for designating an editing range in a character string unit, a line unit or a block unit is selected after the content of the editing processing of shift is set, information for indicating the method is stored in the range designation method area 14b of RAM 14. CPU 1 changes information on the range designation method area 14b in accordance with the switching indication of the editing range designation method. CPU 1 executes the editing processing of shift which is set, for example, for document data in the editing range designated by the editing range designation method corresponding to the information.

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 an editing function for performing editing processing such as copying and moving on a designated editing range in document data.

【0002】[0002]

【従来の技術】従来、日本語ワードプロセッサやパーソ
ナルコンピュータ等の文書作成装置には、入力した文書
データ(仮名漢字変換結果を含む)に対して、挿入、削
除、コピー、移動、改行等の各種の編集処理を行なうた
めの編集機能が設けられている。このような編集処理の
中で、「コピー」、「移動」等の処理では、編集対象で
ある文書データの編集範囲を指定する必要がある。
2. Description of the Related Art Conventionally, in a document creating apparatus such as a Japanese word processor or a personal computer, various types of input document data (including kana-kanji conversion results) such as insert, delete, copy, move, line feed, etc. An edit function is provided for performing edit processing. In such an editing process, in the processes such as “copy” and “move”, it is necessary to specify the editing range of the document data to be edited.

【0003】具体的には、図7(A)に示すように、例
えば3行分の文書データが入力されて、ディスプレイの
表示画面に表示されている状態で、キーボードから「移
動」の編集モードが指定されたと仮定する。このとき、
表示画面には、編集範囲の指定を促すメッセージが表示
される。ここでは、カーソル20により例えば1行目の
文字「と」から開始する文字列「とても良い天気」を指
定すると、この指定された文字列「とても良い天気」が
指定位置に移動することになる。
Specifically, as shown in FIG. 7A, for example, when three lines of document data are input and displayed on the display screen of the display, the edit mode of "move" from the keyboard Is specified. At this time,
A message prompting the user to specify the edit range is displayed on the display screen. Here, if the character string "very good weather" starting from the character "to" on the first line is specified by the cursor 20, the specified character string "very good weather" is moved to the specified position.

【0004】また、同図(B)に示すように、例えば1
行目の全ての文字列である行を指定すると、この指定さ
れた行の文字列「昨日は良い天気でした。」が指定位置
に移動することになる。さらに、同図(C)に示すよう
に、カーソル20により例えば左端の「名前」から右端
の「60」までの矩形のブロック21を指定すると、こ
の指定されたブロック21の範囲内の文字列全てが指定
位置に移動することになる。
Further, as shown in FIG.
When a line that is all the character strings of the line is specified, the character string "Yesterday was fine weather" of the specified line moves to the specified position. Further, as shown in FIG. 3C, when a rectangular block 21 from “name” at the left end to “60” at the right end is designated by the cursor 20, all the character strings within the range of the designated block 21 are designated. Will move to the specified position.

【0005】このような文字列単位、行単位またはブロ
ック単位の範囲指定方法により、編集処理の編集範囲が
指定されて、この編集範囲に対して「移動」や「コピ
ー」等の編集処理が実行される。この範囲指定方法は、
編集処理を実行するときに固定的に設定される。通常で
は、単に「移動」等の編集モードを指定すると、文字列
単位の範囲指定方法が設定される。また、ブロック編集
モードを指定すると、自動的にブロック単位の範囲指定
方法が設定される。同様に、行単位の編集処理を指定す
ると、自動的に行単位の範囲指定方法が設定される。
The edit range of the edit process is specified by such a range specification method of the character string unit, the line unit or the block unit, and the edit process such as "move" or "copy" is executed for this edit range. To be done. This range specification method is
It is fixedly set when the editing process is executed. Normally, when an edit mode such as "move" is simply specified, the range specification method for each character string is set. When the block edit mode is designated, the range designation method for each block is automatically set. Similarly, when a line-by-line editing process is designated, a line-by-line range designation method is automatically set.

【0006】[0006]

【発明が解決しようとする課題】従来、編集範囲の指定
の必要な編集処理では、文字列単位、行単位またはブロ
ック単位の範囲指定方法があるが、いずれの範囲指定方
法も固定的に設定されて、相互に変更することはできな
い。即ち、「移動」や「コピー」のように同じ内容の編
集処理でも、範囲指定方法は全く別に設定される。この
ため、編集処理の内容が同一でも、例えばブロック単位
の編集処理と文字列単位の編集処理とを相互に変更する
には、まず実行中の編集処理を終了し、変更したい編集
処理を改めて開始する必要がある。
Conventionally, in edit processing that requires the specification of an edit range, there is a range specification method for each character string, for each line, or for each block, but either range specification method is fixedly set. And they cannot change each other. That is, even in the editing process of the same content such as "move" or "copy", the range designation method is set completely differently. For this reason, even if the contents of the editing process are the same, for example, to change the editing process in block units and the editing process in character strings to each other, first terminate the editing process in progress and restart the editing process you want to change. There is a need to.

【0007】本発明の目的は、編集処理の内容を設定し
た後に、範囲指定方法を切換えることができるようにし
て、結果的に編集処理に伴う操作の効率化を実現できる
文書作成装置を提供することにある。
An object of the present invention is to provide a document creating apparatus which enables the range designation method to be switched after setting the contents of the editing process, and as a result the efficiency of the operation accompanying the editing process can be realized. Especially.

【0008】[0008]

【課題を解決するための手段】本発明の第1は、例えば
移動やコピー等の編集処理を実行する編集機能を備えた
文書作成装置において、編集範囲を文字列単位、行単位
またはブロック単位に指定するための各編集範囲指定方
法を切換え可能に設定する切換手段および指定された編
集範囲の文書データに対する所定の編集処理を実行する
編集制御手段を備えた装置である。
A first aspect of the present invention is, for example, a document creating apparatus having an editing function for executing editing processing such as moving and copying, and the editing range is set in character string units, line units or block units. The apparatus is provided with a switching means for setting each editing range designating method for designating so as to be switchable, and an editing control means for executing a predetermined editing process on the document data of the designated editing range.

【0009】本発明の第2は、例えば移動やコピー等の
編集処理を実行する編集機能を備えた文書作成装置にお
いて、選択された編集範囲指定方法を指示するための情
報を記憶する指定方法記憶手段、編集範囲指定方法の切
換えに応じて情報に変更する切換手段および情報に対応
する編集範囲指定方法により指定された編集範囲の文書
データに対して編集処理を実行する編集制御手段を備え
た装置である。
A second aspect of the present invention is a designation method storage for storing information for designating a selected editing range designation method in a document creation apparatus having an editing function for executing editing processing such as moving and copying. Means, switching means for changing to information according to switching of the editing range designating method, and editing control means for performing editing processing on document data in the editing range designated by the editing range designating method corresponding to the information Is.

【0010】[0010]

【作用】本発明の第1では、例えば移動の編集処理の内
容が設定された後に、編集範囲指定方法により編集範囲
を文字列単位、行単位またはブロック単位に指定され
る。この各編集範囲指定方法は切換手段により切換え設
定される。編集制御手段は切換え設定された編集範囲指
定方法により指定された編集範囲の文書データに対し
て、例えば移動の編集処理を実行する。
According to the first aspect of the present invention, for example, after the contents of the editing process of movement are set, the editing range is specified in the character string unit, the line unit or the block unit by the editing range specifying method. The editing range designation method is switched and set by the switching means. The editing control means executes, for example, a moving editing process on the document data in the editing range designated by the switching-set editing range designation method.

【0011】本発明の第2では、例えば移動の編集処理
の内容が設定された後に、編集範囲を文字列単位、行単
位またはブロック単位に指定するための編集範囲指定方
法が選択されると、それを指示するための情報が指定方
法記憶手段に記憶される。切換手段は編集範囲指定方法
の切換えに応じて、指定方法記憶手段の情報を変更す
る。編集制御手段は指定方法記憶手段に記憶された情報
に対応する編集範囲指定方法により指定された編集範囲
の文書データに対して、設定された例えば移動の編集処
理を実行する。
In the second aspect of the present invention, for example, when the editing range designation method for designating the editing range in character string units, line units or block units is selected after the contents of the moving editing process are set, Information for instructing this is stored in the designation method storage means. The switching means changes the information in the designation method storage means in response to the switching of the editing range designation method. The edit control means executes the set edit processing, for example, the movement, on the document data of the edit range designated by the edit range designation method corresponding to the information stored in the designation method storage means.

【0012】[0012]

【実施例】以下図面を参照して本発明の実施例を説明す
る。図1は本発明に係わる文書作成装置の構成を説明す
るための機能ブロック図、図2は同実施例の文書作成装
置の具体的構成の要部を示すブロック図、図3と図4は
同実施例の動作を説明するためのフローチャート、図5
と図6は同実施例に係わる動作を説明するための表示例
を示す概念図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a functional block diagram for explaining the configuration of a document creating apparatus according to the present invention, FIG. 2 is a block diagram showing a main part of a concrete configuration of the document creating apparatus of the embodiment, and FIGS. 3 and 4 are the same. FIG. 5 is a flowchart for explaining the operation of the embodiment.
6A and 6B are conceptual diagrams showing a display example for explaining the operation according to the embodiment.

【0013】本装置は、図1に示すように、文書作成処
理および装置全体の制御を行なう制御部(CPU)1、
入力装置2、表示装置3、文書メモリ4および範囲指定
方法メモリ5を備えている。入力装置2は文書データの
入力、作成、および編集に必要な入力操作を行なうため
の例えばキー入力装置である。同実施例では、便宜的に
編集処理の内容は「移動」または「コピー」のみと仮定
する。したがって、入力装置2はそれぞれに対応する移
動キー2aとコピーキー2bを有する。さらに、入力装
置2はカーソルを操作するためのカーソルキー2c、選
択/指定の確定と処理の実行を指示するための選択/実
行キー2d、同実施例では編集範囲指定方法を切換える
ための変換/次候補キー2eおよび前候補キー2fを有
する。変換/次候補キー2eは、通常では仮名漢字変換
処理と変換結果の次候補文字を指定するためのキーであ
る。前候補キー2fはその変換結果の前候補文字を指定
するためのキーである。
As shown in FIG. 1, the apparatus includes a control unit (CPU) 1 for controlling document creation processing and the entire apparatus,
An input device 2, a display device 3, a document memory 4 and a range designation method memory 5 are provided. The input device 2 is, for example, a key input device for performing input operations required for inputting, creating, and editing document data. In the embodiment, for the sake of convenience, it is assumed that the content of the editing process is only "move" or "copy". Therefore, the input device 2 has the moving key 2a and the copy key 2b corresponding to each. Further, the input device 2 is a cursor key 2c for operating a cursor, a selection / execution key 2d for instructing confirmation of selection / designation and execution of processing, and conversion / switching for switching an editing range designation method in the embodiment. It has a next candidate key 2e and a previous candidate key 2f. The conversion / next candidate key 2e is usually a key for designating the kana-kanji conversion process and the next candidate character of the conversion result. The front candidate key 2f is a key for designating the front candidate character of the conversion result.

【0014】表示装置3は入力された文書データや編集
処理結果を表示するための表示画面を有する。文書メモ
リ4は入力された文書データ(仮名漢字変換結果を含
む)を格納するためのバッファメモリである。範囲指定
方法メモリ5は、同実施例における編集処理時に選択ま
たは切換えられた編集範囲指定方法を指示するための情
報を格納するためのメモリである。
The display device 3 has a display screen for displaying the input document data and the editing process result. The document memory 4 is a buffer memory for storing the input document data (including the kana-kanji conversion result). The range designation method memory 5 is a memory for storing information for instructing the editing range designation method selected or switched during the editing process in the embodiment.

【0015】さらに、本装置は、移動/コピー制御部
6、範囲指定制御部7、範囲指定方法切換部8、対象デ
ータ取出部9およびカーソル制御部10を有する。移動
/コピー制御部6は、入力装置2の移動キー2a又はコ
ピーキー2bの操作に応じて起動し、範囲指定制御部7
により与えられた範囲の文書データの移動またはコピー
の編集処理を実行する。範囲指定制御部7は、範囲指定
方法メモリ5に記憶された情報に基づいて、範囲指定方
法切換部8、カーソル制御部10および対象データ取出
部9のそれぞれに指示を出力し、対象データ取出部9が
取出した(抽出した)文書データを移動/コピー制御部
6に与える。
Further, this apparatus has a move / copy control unit 6, a range designation control unit 7, a range designation method switching unit 8, a target data extraction unit 9 and a cursor control unit 10. The movement / copy control unit 6 is activated according to the operation of the movement key 2a or the copy key 2b of the input device 2, and the range designation control unit 7 is activated.
The edit processing of moving or copying the document data within the range given by is executed. The range designation control unit 7 outputs an instruction to each of the range designation method switching unit 8, the cursor control unit 10, and the target data extraction unit 9 based on the information stored in the range designation method memory 5, and the target data extraction unit The document data extracted (extracted) 9 is given to the move / copy controller 6.

【0016】範囲指定方法切換部8は、入力装置2から
のキー入力に従って範囲指定方法を切換えて、範囲指定
方法に対応する情報を範囲指定方法メモリ5に記憶す
る。対象データ取出部9は、範囲指定方法とカーソル移
動に基づいて設定された編集範囲の文書データを文書メ
モリ4から抽出し、範囲指定制御部7に与える。カーソ
ル制御部10は入力装置2のカーソルキー2cの操作に
応じたカーソルの移動を制御する。
The range designating method switching unit 8 switches the range designating method in accordance with a key input from the input device 2 and stores information corresponding to the range designating method in the range designating method memory 5. The target data extraction unit 9 extracts the document data of the edit range set based on the range designation method and the cursor movement from the document memory 4 and gives it to the range designation control unit 7. The cursor control unit 10 controls the movement of the cursor according to the operation of the cursor key 2c of the input device 2.

【0017】同実施例の文書作成装置は、具体的には図
2に示すように構成されている。CPU1はマイクロプ
ロセッサであり、ROM(リードオンリメモリ)15に
格納されたプログラム15aにより、図1に示す制御部
1、移動/コピー制御部6、範囲指定制御部7、範囲指
定方法切換部8、対象データ取出部9およびカーソル制
御部10のそれぞれの機能を実行する。ROM15は、
プログラム15a以外に文字データ(文字コード)に対
応する表示パターンデータ15bを格納している。RA
M(ランダムアクセスメモリ)14は、図1に示す文書
メモリ4に対応する文書バッファエリア14aと範囲指
定方法メモリ5に対応するエリア14bを有する。
The document creating apparatus of the embodiment is specifically constructed as shown in FIG. The CPU 1 is a microprocessor, and by a program 15a stored in a ROM (Read Only Memory) 15, a control unit 1, a move / copy control unit 6, a range designation control unit 7, a range designation method switching unit 8 shown in FIG. The respective functions of the target data extraction unit 9 and the cursor control unit 10 are executed. ROM15 is
In addition to the program 15a, display pattern data 15b corresponding to character data (character code) is stored. RA
The M (random access memory) 14 has a document buffer area 14a corresponding to the document memory 4 shown in FIG. 1 and an area 14b corresponding to the range designation method memory 5.

【0018】キーボード12とキーボードコントローラ
12aは、図1に示す入力装置2に相当する構成要素で
ある。キーボード12は、移動キー2a、コピーキー2
b、カーソルキー2c、選択/実行キー2d、変換/次
候補キー2eおよび前候補キー2fを有する。ディスプ
レイ13、表示コントローラ13aおよび表示用RAM
13bは、図1に示す表示装置3に相当する構成要素で
ある。表示用RAM13bは表示コントローラ13aに
よりリード/ライト制御されて、ディスプレイ13の表
示画面に表示する表示パターンデータを格納する。
The keyboard 12 and the keyboard controller 12a are components corresponding to the input device 2 shown in FIG. The keyboard 12 includes a move key 2a and a copy key 2
b, a cursor key 2c, a select / execute key 2d, a conversion / next candidate key 2e and a previous candidate key 2f. Display 13, display controller 13a and display RAM
Reference numeral 13b is a component corresponding to the display device 3 shown in FIG. The display RAM 13b is read / write controlled by the display controller 13a and stores display pattern data to be displayed on the display screen of the display 13.

【0019】次に、同実施例の動作を説明する。 (基本動作)まず、CPU1は文書作成モードを実行
し、キーボード12の各種文字キーの入力操作に従って
文書データを入力し、文書バッファエリア14aに文書
データを格納する。CPU1は、図5(A)に示すよう
に、入力した文書データをディスプレイ13の表示画面
に表示させる。ここでは、文字と罫線からなる表形式の
文書データが表示画面に表示されている。
Next, the operation of the embodiment will be described. (Basic Operation) First, the CPU 1 executes the document creation mode, inputs document data in accordance with the input operation of various character keys of the keyboard 12, and stores the document data in the document buffer area 14a. The CPU 1 displays the input document data on the display screen of the display 13, as shown in FIG. Here, tabular document data including characters and ruled lines is displayed on the display screen.

【0020】この状態で、キーボード12からの入力操
作に従って、CPU1は例えば「移動」または「コピ
ー」の編集処理を実行すると仮定する。即ち、図3のス
テップS1に示すように、キーボード12の移動キー2
aが操作されると、CPU1は「移動」の編集処理を起
動する。図5(A)に示すように、CPU1は編集範囲
の指定を促すメッセージを表示画面に表示する。編集範
囲の指定は、カーソル20の現在位置から移動した位置
までの範囲を指定することである。
In this state, it is assumed that the CPU 1 executes, for example, "move" or "copy" edit processing in accordance with an input operation from the keyboard 12. That is, as shown in step S1 of FIG.
When a is operated, the CPU 1 activates the "move" editing process. As shown in FIG. 5A, the CPU 1 displays a message prompting the designation of the editing range on the display screen. The designation of the edit range is to designate the range from the current position of the cursor 20 to the moved position.

【0021】ここで、同実施例では、編集範囲の範囲指
定方法は文字列単位、行単位およびブロック単位の各方
法があり、キーボード12の操作により選択可能になっ
ている。便宜的に、ここでは移動キー2a等の編集処理
キーが操作された時点では、文字列単位の範囲指定方法
が初期設定される。したがって、RAM14の範囲指定
方法エリア14bには、文字列単位の範囲指定方法を指
示する情報が格納されている。
Here, in the embodiment, the range designation method of the edit range includes each of the character string unit, the line unit and the block unit, which can be selected by operating the keyboard 12. For convenience, here, when the edit processing key such as the move key 2a is operated, the range designation method for each character string is initialized. Therefore, the range designation method area 14b of the RAM 14 stores information instructing the range designation method for each character string.

【0022】図5(A)に示すように、CPU1は範囲
指定方法を切換える場合の操作方法を表示画面に表示す
る。ここでは、キーボード12の変換/次候補キー2e
を操作した場合には行単位の範囲指定方法に切換え、ま
た前候補キー2fを操作した場合にはブロック単位の範
囲指定方法に切換える。キーボード12の選択/実行キ
ー2dが操作されると(ステップS2のNO)、CPU
1は文字列単位の範囲指定方法を確定する。
As shown in FIG. 5A, the CPU 1 displays on the display screen the operating method for switching the range designating method. Here, the conversion / next candidate key 2e of the keyboard 12
Is operated, the method is switched to the range specification method in units of lines, and when the previous candidate key 2f is operated, the method is specified in the range specification of blocks. When the select / execute key 2d of the keyboard 12 is operated (NO in step S2), the CPU
1 determines the range designation method for each character string.

【0023】次に、キーボード12のカーソルキー2c
を操作して、編集範囲(移動すべき文書データの範囲)
を設定するためにカーソル20を指定位置に移動させ、
キーボード12の選択/実行キー2dを操作すると、C
PU1は文字列単位の編集範囲を確定する(ステップS
4のYES,S5,S6のYES)。CPU1は確定し
た編集範囲の文字列を表示画面上で反転表示する(ステ
ップS7)。この反転表示はユーザの指定範囲を確認さ
せるためである。したがって、反転表示以外の例えば指
定範囲の文字列に下線を表示してもよい。
Next, the cursor key 2c of the keyboard 12
Operate and edit range (range of document data to be moved)
Move the cursor 20 to the specified position to set
When the select / execute key 2d of the keyboard 12 is operated, C
PU1 determines the editing range in character string units (step S
4 YES, S5, S6 YES). The CPU 1 reversely displays the character string of the confirmed editing range on the display screen (step S7). This reverse display is for confirming the range specified by the user. Therefore, an underline may be displayed, for example, in a character string in a specified range other than the reverse display.

【0024】CPU1は確定した指定範囲に対応する文
書データを文書バッファエリア14aから取出し、ここ
では「移動」の編集処理を実行する(ステップS8,S
9)。即ち、編集範囲の指定後に、カーソルキー2cの
操作によりカーソル20を移動位置に移動することによ
り、指定範囲に対応する文書データをその移動位置に移
動させる編集処理を実行する。このとき、編集処理の内
容が「コピー」であれば、指定範囲の文書データを、カ
ーソル20で指定した位置にコピーする編集処理を実行
することになる。 (範囲指定方法の切換動作)このような編集処理の基本
動作において、本発明の要旨に係わる編集範囲の範囲指
定方法の切換動作について説明する。ここでは、便宜的
に初期時では、前記のように、文字列単位の範囲指定方
法が設定されており、CPU1は図4のステップS10
〜S13までの処理を実行する。即ち、RAM14の範
囲指定方法エリア14bには、文字列単位の範囲指定方
法を指示する情報が格納される(ステップS11)。文
字列単位の範囲指定方法により指定された編集範囲の文
字列を表示画面上で反転表示する(ステップS12)。
さらに、図5(A)に示すように、文字列単位とは異な
る範囲指定方法を切換えるためのガイド行の再表示を行
なう(ステップS13)。
The CPU 1 takes out the document data corresponding to the confirmed specified range from the document buffer area 14a, and executes the "move" editing process here (steps S8, S).
9). That is, after the editing range is designated, the cursor 20 is moved to the moving position by operating the cursor key 2c, thereby executing the editing process of moving the document data corresponding to the designated range to the moving position. At this time, if the content of the editing process is “copy”, the editing process of copying the document data in the designated range to the position designated by the cursor 20 is executed. (Switching Operation of Range Designating Method) In the basic operation of such an editing process, the switching operation of the range designating method of the editing range according to the gist of the present invention will be described. Here, for the sake of convenience, in the initial stage, the range designation method in character string units is set as described above, and the CPU 1 sets the range designation method to step S10 in FIG.
The processes from to S13 are executed. That is, the range designating method area 14b of the RAM 14 stores information designating the range designating method for each character string (step S11). The character string of the editing range designated by the character string unit range designating method is highlighted on the display screen (step S12).
Further, as shown in FIG. 5A, the guide line for switching the range designation method different from the character string unit is displayed again (step S13).

【0025】図5(A)に示す表示画面において、キー
ボード12の変換/次候補キー2eが操作されると、C
PU1は行単位の範囲指定方法に切換え指示を認識する
(ステップS14のYES)。CPU1は、行単位の範
囲指定方法を指示する情報をRAM14の範囲指定方法
エリア14bに格納する(ステップS15)。CPU1
は、図5(B)に示すように、カーソル20で指定され
た行単位の指定範囲22を反転表示する(ステップS1
6)。さらに、行単位とは異なる範囲指定方法を切換え
るためのガイド行の再表示を行なう(ステップS1
7)。ここでは、キーボード12の変換/次候補キー2
eを操作した場合にはブロック単位の範囲指定方法に切
換え、また前候補キー2fを操作した場合には文字列単
位の範囲指定方法に切換える。
On the display screen shown in FIG. 5A, when the conversion / next candidate key 2e of the keyboard 12 is operated, C
PU1 recognizes the switching instruction in the range designation method on a line-by-line basis (YES in step S14). The CPU 1 stores the information designating the range designation method for each line in the range designation method area 14b of the RAM 14 (step S15). CPU1
Displays the designated range 22 for each line designated by the cursor 20 in reverse video, as shown in FIG. 5B (step S1).
6). Further, the guide line is displayed again for switching the range designation method different from the line unit (step S1).
7). Here, the conversion / next candidate key 2 on the keyboard 12
When e is operated, the range specifying method is switched to the block unit, and when the previous candidate key 2f is operated, the range specifying method is changed to the character string unit.

【0026】図5(B)に示す表示画面において、キー
ボード12の変換/次候補キー2eが操作されると、C
PU1はブロック単位の範囲指定方法に切換え指示を認
識する(ステップS14のNO)。CPU1は、ブロッ
ク単位の範囲指定方法を指示する情報をRAM14の範
囲指定方法エリア14bに格納する(ステップS1
8)。CPU1は、カーソル20で指定されたブロック
単位の指定範囲(図7(C)に示す点線の範囲21に相
当)を反転表示する(ステップS19)。さらに、ブロ
ック単位とは異なる範囲指定方法を切換えるためのガイ
ド行の再表示を行なう(ステップS20)。ここでは、
図6(A)に示すように、キーボード12の変換/次候
補キー2eを操作した場合には文字列単位の範囲指定方
法に切換え、また前候補キー2fを操作した場合には行
単位の範囲指定方法に切換える。
On the display screen shown in FIG. 5B, when the conversion / next candidate key 2e of the keyboard 12 is operated, C
PU1 recognizes the switching instruction in the block unit range designation method (NO in step S14). The CPU 1 stores the information designating the block-by-block range designation method in the range designation method area 14b of the RAM 14 (step S1).
8). The CPU 1 reversely displays the designated range (corresponding to the dotted range 21 shown in FIG. 7C) in block units designated by the cursor 20 (step S19). Further, the guide line for switching the range designation method different from the block unit is displayed again (step S20). here,
As shown in FIG. 6A, when the conversion / next candidate key 2e of the keyboard 12 is operated, the range designation method is switched to the character string unit, and when the previous candidate key 2f is operated, the line unit range is selected. Switch to the specified method.

【0027】例えばキーボード12の変換/次候補キー
2eが操作されると、CPU1は文字列単位の範囲指定
方法を指示する情報を範囲指定方法エリア14bに格納
する。さらに、キーボード12の選択/実行キー2dが
操作されると、CPU1は文字列単位の範囲指定方法に
確定し、図6(B)に示すように、文字列単位の範囲指
定方法による編集範囲の指定を促すメッセージを表示す
ることになる。
For example, when the conversion / next candidate key 2e of the keyboard 12 is operated, the CPU 1 stores information instructing a range specifying method in character string units in the range specifying method area 14b. Further, when the select / execute key 2d of the keyboard 12 is operated, the CPU 1 confirms the range designation method in character string units and, as shown in FIG. 6B, changes the editing range by the range designation method in character string units. A message prompting you to specify it will be displayed.

【0028】このようにして、キーボード12から「移
動」または「コピー」等の編集処理を指示したときに、
編集範囲を指定するための範囲指定方法を、文字列単
位、行単位およびブロック単位毎に用意し、各範囲指定
方法を切換え可能にする。具体的には、各範囲指定方法
を指示する情報を格納する範囲指定方法エリア14bを
用意し、この情報に基づいてCPU1は各範囲指定方法
に対応する指定範囲の設定処理を実行する。各範囲指定
方法の切換処理は、図5(A)に示すように、表示画面
に範囲指定方法の切換操作を示すメッセージを表示し、
この切換操作に応じて実行される。図5(A)に示す表
示画面では、キーボード12の変換/次候補キー2eが
操作されると、文字列単位の範囲指定方法から行単位の
範囲指定方法に切換えられる。範囲指定方法が確定され
た場合には、その範囲指定方法でカーソル20により指
定された編集範囲に対して、文書データの「移動」また
は「コピー」等の編集処理が実行されることになる。例
えばブロック単位の範囲指定方法であれば、図7(C)
に示すように、カーソル20により左上端と右下端の2
箇所を指定されるだけで、ブロック範囲21が編集範囲
として設定されて、その指定範囲の文書データに対して
移動」または「コピー」等の編集処理が実行される。
In this way, when an editing process such as "move" or "copy" is instructed from the keyboard 12,
A range designation method for designating an edit range is prepared for each character string, each row, and each block, and each range designation method can be switched. Specifically, a range designation method area 14b for storing information designating each range designation method is prepared, and the CPU 1 executes a designated range setting process corresponding to each range designation method based on this information. As shown in FIG. 5A, in the switching process of each range designation method, a message indicating the range designation method switching operation is displayed on the display screen,
It is executed according to this switching operation. In the display screen shown in FIG. 5A, when the conversion / next candidate key 2e of the keyboard 12 is operated, the range designation method for each character string is switched to the range designation method for each line. When the range designation method is confirmed, the editing process such as “move” or “copy” of the document data is executed for the edit range designated by the cursor 20 by the range designation method. For example, in the case of a block unit range designation method, FIG.
As shown in FIG.
The block range 21 is set as the edit range only by designating the location, and the edit process such as "move" or "copy" is executed on the document data in the specified range.

【0029】[0029]

【発明の効果】以上詳述したように本発明によれば、編
集範囲の指定の必要な編集処理を実行する場合に、文字
列単位、行単位またはブロック単位の範囲指定方法を任
意に切換えることができる。したがって、編集処理の内
容が同一の場合に、編集処理の内容の設定処理を変更す
ることなく、異なる範囲指定方法による編集処理を用意
に変更することができる。これにより、結果的に編集範
囲の指定の必要な編集処理に伴う操作の効率化を実現で
きる。
As described above in detail, according to the present invention, when the editing process that requires the designation of the editing range is executed, the range designating method of the character string unit, the line unit or the block unit can be arbitrarily switched. You can Therefore, when the contents of the editing process are the same, it is possible to easily change the editing process by the different range designation method without changing the setting process of the contents of the editing process. As a result, it is possible to improve the efficiency of the operation associated with the editing process that requires the specification of the editing range.

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

【図1】本発明に係わる文書作成装置の基本構成を説明
するためのブロック図。
FIG. 1 is a block diagram for explaining the basic configuration of a document creation device according to the present invention.

【図2】本発明の実施例に係わる文書作成装置の要部を
示すブロック図。
FIG. 2 is a block diagram showing a main part of a document creating apparatus according to an embodiment of the present invention.

【図3】同実施例の動作を説明するためのフローチャー
ト。
FIG. 3 is a flowchart for explaining the operation of the embodiment.

【図4】同実施例の動作を説明するためのフローチャー
ト。
FIG. 4 is a flowchart for explaining the operation of the embodiment.

【図5】同実施例の動作を説明するための表示例を示す
概念図。
FIG. 5 is a conceptual diagram showing a display example for explaining the operation of the embodiment.

【図6】同実施例の動作を説明するための表示例を示す
概念図。
FIG. 6 is a conceptual diagram showing a display example for explaining the operation of the embodiment.

【図7】従来の編集処理の動作を説明するための表示例
を示す概念図。
FIG. 7 is a conceptual diagram showing a display example for explaining the operation of a conventional editing process.

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

1…制御装置(CPU)、2…入力装置、3…表示装
置、4…文書メモリ、5…範囲指定方法メモリ、6…移
動/コピー制御部、7…範囲指定制御部、8…範囲指定
方法切換部、9…対象データ取出部、10…カーソル制
御部、12…キーボード、13…ディスプレイ、14…
RAM、14a…文書バッファエリア、14b…範囲指
定方法エリア。
DESCRIPTION OF SYMBOLS 1 ... Control device (CPU), 2 ... Input device, 3 ... Display device, 4 ... Document memory, 5 ... Range designation method memory, 6 ... Move / copy control part, 7 ... Range designation control part, 8 ... Range designation method Switching unit, 9 ... Target data extracting unit, 10 ... Cursor control unit, 12 ... Keyboard, 13 ... Display, 14 ...
RAM, 14a ... Document buffer area, 14b ... Range designation method area.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 入力した文書データ中の指定された編集
範囲に対して所定の編集処理を実行する編集機能を備え
た文書作成装置において、 前記編集処理の内容を設定する設定手段と、 前記編集範囲を文字列単位、行単位またはブロック単位
に指定するための各編集範囲指定方法を切換え可能に設
定する範囲指定方法設定手段と、 この範囲指定方法設定により設定された編集範囲指定方
法により指定された編集範囲の前記文書データに対し
て、前記設定手段により設定された編集処理を実行する
編集制御手段とを具備したことを特徴とする文書作成装
置。
1. A document creating apparatus having an editing function for executing a predetermined editing process on a specified editing range in input document data, comprising: setting means for setting the contents of the editing process; A range specification method setting means for setting each edit range specification method for specifying the range in character string units, line units, or block units in a switchable manner, and the edit range specification method set by this range specification method setting. A document creation apparatus, comprising: an edit control unit that executes the edit process set by the setting unit on the document data in the edit range.
【請求項2】 入力した文書データ中の指定された編集
範囲に対して所定の編集処理を実行する編集機能を備え
た文書作成装置において、 前記編集処理の内容を設定する設定手段と、 前記編集範囲を文字列単位、行単位またはブロック単位
に指定するための各編集範囲指定方法を選択し、選択さ
れた編集範囲指定方法を指示するための情報を記憶する
指定方法記憶手段と、 選択された前記編集範囲指定方法の切換えに応じて、前
記指定方法記憶手段の情報を切換えて設定した前記編集
範囲指定方法を指示する情報に変更する切換手段と、 前記指定方法記憶手段に記憶された情報に対応する編集
範囲指定方法により指定された編集範囲の前記文書デー
タに対して、前記設定手段により設定された編集処理を
実行する編集制御手段とを具備したことを特徴とする文
書作成装置。
2. A document creating apparatus having an editing function for executing a predetermined editing process on a specified editing range in input document data, comprising: setting means for setting the contents of the editing process; A selection method storage unit that selects each edit range specification method for specifying the range in character string units, line units, or block units, and stores information for instructing the selected edit range specification method, and Switching means for switching the information in the designation method storage means to change to the information for instructing the set editing range designation method in response to the switching of the editing range designation method; and information stored in the designation method storage means. An edit control means for executing the edit process set by the setting means on the document data in the edit range designated by the corresponding edit range designation method is provided. Document creating apparatus according to claim and.
【請求項3】 入力した文書データ中の指定された編集
範囲に対して所定の編集処理を実行する編集機能を備え
た文書作成装置において、 前記編集処理の内容を設定する設定手段と、 前記編集範囲を文字列単位、行単位またはブロック単位
に指定するための各編集範囲指定方法を切換え可能に設
定する切換手段と、 この切換手段により設定された編集範囲指定方法により
指定された編集範囲の前記文書データを通常とは異なる
表示方法で表示する表示制御手段と、 前記切換手段により設定された編集範囲指定方法により
指定された編集範囲の前記文書データに対して、前記設
定手段により設定された編集処理を実行する編集制御手
段とを具備したことを特徴とする文書作成装置。
3. A document creating device having an editing function for executing a predetermined editing process on a specified editing range in input document data, comprising: setting means for setting the contents of the editing process; Switching means for setting each edit range designating method for designating the range in character string units, line units, or block units, and the edit range designated by the edit range designating method set by the switching unit. Display control means for displaying the document data by a display method different from the normal display method; and editing by the setting means for the document data in the editing range designated by the editing range designation method set by the switching means. A document creation apparatus comprising: an edit control unit that executes a process.
【請求項4】 入力した文書データ中の指定された編集
範囲に対して所定の編集処理を実行する編集機能を備え
た文書作成装置において、 前記編集処理の内容を設定するステップと、 前記編集範囲を文字列単位、行単位またはブロック単位
に指定するための各編集範囲指定方法を選択するステッ
プと、 選択された前記編集範囲指定方法を切換えて設定するス
テップと、 設定された前記編集範囲指定方法により指定された前記
編集範囲の文書データを抽出するステップとからなるこ
とを特徴とする編集範囲指定方法。
4. A document creating apparatus having an editing function for executing a predetermined editing process on a specified editing range in input document data, the step of setting the contents of the editing process, and the editing range. Selecting each editing range designating method for designating the character string unit, line unit or block unit, and setting by switching the selected editing range designating method, and the set editing range designating method And a step of extracting the document data of the editing range specified by the editing range specifying method.
【請求項5】 入力した文書データ中の指定された編集
範囲に対して所定の編集処理を実行する編集機能を備え
た文書作成装置において、 前記編集処理の内容を設定するステップと、 前記編集範囲を文字列単位、行単位またはブロック単位
に指定するための各編集範囲指定方法を選択するステッ
プと、 選択された前記編集範囲指定方法を切換えて設定するス
テップと、 設定された前記編集範囲指定方法により指定された前記
編集範囲の文書データを抽出するステップと、 抽出された前記前記編集範囲の文書データを通常とは異
なる表示方法で表示するステップとからなることを特徴
とする編集範囲指定方法。
5. A document creating apparatus having an editing function for executing a predetermined editing process on a specified editing range in input document data, the step of setting the contents of the editing process, and the editing range. Selecting each editing range designating method for designating the character string unit, line unit or block unit, and setting by switching the selected editing range designating method, and the set editing range designating method And a step of displaying the extracted document data of the editing range by a display method different from a normal display method.
JP5202279A 1993-08-16 1993-08-16 Document generation device and editing range designation method Pending JPH0756916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5202279A JPH0756916A (en) 1993-08-16 1993-08-16 Document generation device and editing range designation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5202279A JPH0756916A (en) 1993-08-16 1993-08-16 Document generation device and editing range designation method

Publications (1)

Publication Number Publication Date
JPH0756916A true JPH0756916A (en) 1995-03-03

Family

ID=16454911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5202279A Pending JPH0756916A (en) 1993-08-16 1993-08-16 Document generation device and editing range designation method

Country Status (1)

Country Link
JP (1) JPH0756916A (en)

Similar Documents

Publication Publication Date Title
JP2557358B2 (en) Information processing device
JPH0756916A (en) Document generation device and editing range designation method
JPH02737B2 (en)
JPH0519817A (en) System for editing sequence program
JPH04290119A (en) Character processor
JP3189110B2 (en) Document processing device
JPH0594432A (en) Document preparing device
JP2606579B2 (en) Character display device
JPH07319513A (en) Programming device for programmable controller and sequence program preparing method for the same
JPS6031634A (en) Method for displaying list of document names in word processor or the like
JPH05313708A (en) Sequence program editing system
JPH05143049A (en) Document processor with settable and variable superscript and subscript character size
JPH0512263A (en) Document generation device
JPH04369766A (en) Method and device for processing document
JPH0644251A (en) Menu display method
JPH05324623A (en) Word processor
JPH08180053A (en) Document processor
JPH04282756A (en) Word processor
JPS62285174A (en) Character input system
JPH0744541A (en) Word processor and display method in the word processor
JPH06214747A (en) Information processor
JPH04282754A (en) Word processor
JPS62200453A (en) Ruled line display system
JPH07121282A (en) Document processor
JPH0340424B2 (en)