JP2995720B2 - Document editing method and document creation device - Google Patents

Document editing method and document creation device

Info

Publication number
JP2995720B2
JP2995720B2 JP4238590A JP23859092A JP2995720B2 JP 2995720 B2 JP2995720 B2 JP 2995720B2 JP 4238590 A JP4238590 A JP 4238590A JP 23859092 A JP23859092 A JP 23859092A JP 2995720 B2 JP2995720 B2 JP 2995720B2
Authority
JP
Japan
Prior art keywords
area
character
document
unit
input
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.)
Expired - Fee Related
Application number
JP4238590A
Other languages
Japanese (ja)
Other versions
JPH0689280A (en
Inventor
眞宏 河合
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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP4238590A priority Critical patent/JP2995720B2/en
Publication of JPH0689280A publication Critical patent/JPH0689280A/en
Application granted granted Critical
Publication of JP2995720B2 publication Critical patent/JP2995720B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文章、表あるいは図形
などを含む文書を容易な操作で作成・編集するための文
書編集方法および文書作成装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document editing method and a document creating apparatus for creating and editing a document including a sentence, a table, a graphic, or the like by an easy operation.

【0002】[0002]

【従来の技術】文書作成装置は、作成した文書の修正や
編集を容易に行わせるために種々の編集機能を有してい
る。以下、本書においては、文書作成装置の編集機能に
関わる装置(以下、文書編集装置と称する)について説
明する。図5は、従来の文書編集装置の構成を示すブロ
ック図である。図5において、21は文書記憶部で、編
集すべき文書の内容を保持する。22は入力部で、編集
のための指示および文字などを入力するものである。2
3は領域移動を行うことを指示する領域移動指示部であ
る。24は矩形領域指定部で、移動すべき領域を指定す
るために、移動すべき領域の対角の2点を指定する。2
5は移動先指定部で、移動すべき領域の移動先を指定す
る。26は領域移動部で、矩形領域指定部24で指定さ
れた領域内に含まれているすべての内容を移動先指定部
25で指定された領域に移動したものとなるよう文書記
憶部21の内容を変更する。27は制御部で、装置内の
各構成要素の起動および終了等の動作を制御する。
2. Description of the Related Art A document creation apparatus has various editing functions for easily modifying and editing a created document. Hereinafter, a device (hereinafter, referred to as a document editing device) related to an editing function of a document creation device will be described in this document. FIG. 5 is a block diagram showing a configuration of a conventional document editing apparatus. In FIG. 5, reference numeral 21 denotes a document storage unit which holds the contents of a document to be edited. Reference numeral 22 denotes an input unit for inputting an instruction for editing, characters, and the like. 2
Reference numeral 3 denotes an area movement instructing unit that instructs to perform area movement. Reference numeral 24 denotes a rectangular area designating unit for designating two points on the diagonal of the area to be moved in order to designate the area to be moved. 2
A destination designation unit 5 designates a destination of an area to be moved. Reference numeral 26 denotes an area moving unit which stores the contents of the document storage unit 21 so that all the contents included in the area specified by the rectangular area specifying unit 24 are moved to the area specified by the destination specifying unit 25. To change. A control unit 27 controls operations such as activation and termination of each component in the apparatus.

【0003】以上のように構成された文書編集装置の動
作について説明する。 例えば、文書内に文字領域と表
領域が含まれている場合に、表の位置を行頭側に2文字
分移動しようとする場合を例にする。まず、オペレータ
は文書記憶部21に記憶されている文書の中に含まれる
表の位置を行頭側に2文字分移動する旨を領域移動指示
部23より指示する。すると、制御部27は、移動すべ
き領域をオペレータに特定させるために、矩形領域指定
部24を起動する。オペレータは、移動すべき領域を指
定するために、当該表の対角の2点を指定する。さら
に、制御部27は、当該表領域の移動先をオペレータに
特定させるために、移動先指定部25を起動する。オペ
レータは、移動先を指定するために、当該表の左上角の
2文字行頭側の点を指定する。さらに、制御部27は、
領域移動部26を起動し、矩形領域指定部24によって
指定された表の領域を、移動先指定部25で指定された
点が表の左上角に位置するように表を移動したものとな
るように文書記憶部21の内容を変更する。これらの一
連の動作によって、文書中の表は2文字分行頭側に移動
される。
[0003] The operation of the document editing apparatus configured as described above will be described. For example, in a case where a text area and a table area are included in a document, the position of the table is to be moved to the beginning of the line by two characters. First, the operator instructs the area movement instructing unit 23 to move the position of the table included in the document stored in the document storage unit 21 to the beginning of the line by two characters. Then, the control unit 27 activates the rectangular area designation unit 24 in order to cause the operator to specify the area to be moved. The operator specifies two diagonal points in the table in order to specify an area to be moved. Further, the control unit 27 activates the destination designation unit 25 to cause the operator to specify the destination of the table area. The operator specifies a point on the upper left corner of the table at the beginning of the two-character line in order to specify the destination. Further, the control unit 27
The region moving unit 26 is activated, and the table region specified by the rectangular region specifying unit 24 is obtained by moving the table such that the point specified by the destination specifying unit 25 is located at the upper left corner of the table. Is changed to the contents of the document storage unit 21. By a series of these operations, the table in the document is moved to the beginning of the line by two characters.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記の
ような構成では、文書編集中に表や図形等の領域移動を
行うには、必ず領域移動の指示、矩形領域の指定、移動
先の指定を行わなければならなかった。そのため、移動
距離が非常に短い場合には、操作が相対的に煩雑である
と感じられるという問題点を有していた。さらに、編集
機能の内、文字列移動の場合は、移動すべき文字列の行
頭側に空白文字を挿入もしくは削除することによって移
動するという簡便な操作方法があることとの統一性がな
く、オペレータにマンマシンインタフェイス上の不統一
感を感じさせてしまうという問題点を有していた。 本
発明は上記問題点を解決するためになされたもので、表
等の非文字領域を行内横方向に移動させる場合、当該領
域が存在する行の行頭側で文字数が増減する入力に応じ
て自動的に領域を移動させるための文書編集方法および
文書作成装置を提供することを目的とする。
However, in the above-described configuration, in order to move an area such as a table or a figure while editing a document, it is necessary to specify an area move, a rectangular area, and a destination. Had to do. Therefore, when the moving distance is very short, there is a problem that the operation is felt relatively complicated. Furthermore, among the editing functions, when moving a character string, there is no consistency with the simple operation method of moving by inserting or deleting a blank character at the beginning of the line of the character string to be moved. However, there is a problem that the user feels inconsistency in the man-machine interface. The present invention has been made to solve the above-described problem.When a non-character area such as a table is moved in a horizontal direction in a line, the non-character area is automatically changed in response to an input in which the number of characters increases or decreases at the beginning of the line where the area exists. It is an object of the present invention to provide a document editing method and a document creation device for moving an area in a desired manner.

【0005】[0005]

【課題を解決するための手段】請求項1の発明に係る文
書編集方法は、同一行内に文字領域と非文字領域とを有
する文書において、非文字領域の行内移動を行わせるた
めのものであり、以下のステップを備える。まず、非文
字領域の行頭側に位置する文字領域の文字数を増減する
入力情報を与える。次に、入力情報が非文字領域を移動
すべき指示に該当するか否かを認識する。さらに、移動
すべき非文字領域を抽出する。さらに、非文字領域の移
動先を判定する。そして、非文字領域を所定の移動先へ
移動し、文書の編集を行う。
According to a first aspect of the present invention, in a document editing method, in a document having a character area and a non-character area in the same line, a non-character area is moved in the line. And the following steps. First, input information for increasing or decreasing the number of characters in a character area located at the beginning of a line in a non-character area is provided. Next, it is recognized whether or not the input information corresponds to an instruction to move the non-character area. Further, a non-character area to be moved is extracted. Further, the destination of the non-character area is determined. Then, the non-character area is moved to a predetermined destination, and the document is edited.

【0006】請求項2の発明に係る文書編集方法は、さ
らに、上記の入力ステップの後、入力情報が常に非文字
領域を移動すべき指示に該当しないと認識することを選
択的に設定可能な移動指示認識不活性化設定ステップを
備える。請求項3の発明に係る文書作成装置は、同一行
内に文字領域と非文字領域とを有する文書において、非
文字領域の行内移動が可能な装置であり、文書を記憶す
る文書記憶部と、文字情報を入力する入力部と、入力部
から非文字領域の行頭側に位置する文字領域の文字数を
増減する文字情報が入力された場合に、文字情報が非文
字領域を移動すべき指示に該当するか否かを認識する移
動指示認識部と、移動すべき非文字領域を抽出する領域
抽出部と、非文字領域の移動先を判定する移動先判定部
と、非文字領域を所定の移動先へ移動させる領域移動部
とを備えている。
In the document editing method according to the second aspect of the present invention, after the input step, it is possible to selectively set to recognize that the input information does not always correspond to an instruction to move the non-character area. A movement instruction recognition inactivation setting step is provided. According to a third aspect of the present invention, there is provided a document creation apparatus which is capable of moving a non-character area in a line in a document having a character area and a non-character area in the same line. When an input unit for inputting information and character information for increasing or decreasing the number of characters in a character region located at the beginning of the line of the non-character region from the input unit, the character information corresponds to an instruction to move the non-character region A move instruction recognizing unit for recognizing whether or not a non-character area is to be moved, an area extracting unit for extracting a non-character area to be moved, a destination determining unit for determining a destination of the non-character area, And an area moving unit for moving.

【0007】請求項4の発明に係る文書作成装置は、さ
らに、入力部から入力された文字情報が、常に非文字領
域を移動すべき指示に該当しないと認識することを選択
的に設定可能な移動指示認識不活性化設定部を備えてい
る。
The document creation device according to the fourth aspect of the present invention can further selectively set that the character information input from the input unit is not always recognized as an instruction to move the non-character area. A movement instruction recognition inactivation setting unit is provided.

【0008】[0008]

【作用】請求項1および3の発明によれば、表や図形等
の非文字領域を行内横方向に移動させるためには、オペ
レータが入力部から行頭側に位置する文字領域の文字数
が増減するような入力を与えてやればよい。すると、文
書作成装置はオペレータからの入力を取り込み、移動指
示認識部が文字の入力もしくは削除が領域移動指示にな
るか否かを判定し、さらに、領域抽出部が移動すべき領
域を抽出し、移動先判定部が当該領域の移動先を判定
し、領域移動部が当該領域を移動した状態に文書記憶部
の内容を変更する。
According to the first and third aspects of the invention, in order to move a non-character area such as a table or a figure in the horizontal direction in the line, the operator increases or decreases the number of characters in the character area located at the head of the line from the input unit. Such input may be given. Then, the document creation device captures the input from the operator, the movement instruction recognition unit determines whether the input or deletion of the character is an area movement instruction, and further, the area extraction unit extracts the area to be moved, The destination determining unit determines the destination of the area, and changes the contents of the document storage unit so that the area moving unit moves the area.

【0009】また、請求項2及び4の発明によれば、上
記のような非文字領域の自動的な領域移動編集機能の設
定の有無をオペレータが選択することができる。
According to the second and fourth aspects of the present invention, the operator can select whether or not the above-described automatic area moving / editing function of the non-character area is set.

【0010】[0010]

【実施例】以下、本発明の一実施例の文書編集装置につ
いて、図面を参照しながら説明する。図1は、本発明の
一実施例の文書編集装置の構成を示すブロック図であ
る。図1において、1は文書記憶部で、文書の内容を保
持する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A document editing apparatus according to one embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a document editing apparatus according to one embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a document storage unit which holds the contents of a document.

【0011】2は文書表示部で、文書記憶部1に記憶さ
れている内容を可視化し、表示する。3は文字入力部
で、オペレータからの文字入力を受け付けるものであ
る。文字入力部としては、キーホード、ポインティング
デバイス、文字認識装置等が用いられる。
Reference numeral 2 denotes a document display unit for visualizing and displaying the contents stored in the document storage unit 1. A character input unit 3 receives a character input from an operator. As the character input unit, a key board, a pointing device, a character recognition device, or the like is used.

【0012】4は文字削除指示入力部でオペレータから
の文字削除の指示を受け付けるものである。文字削除指
示入力部としては、削除キー、後退キー、ポインティン
グデバイス等が用いられる。5は、カーソル移動指示入
力部で、文字入力位置であるカーソルを移動する指示を
オペレータから受け付けるものである。カーソル移動指
示入力部としては、カーソルキー、ポインティングデバ
イス等が用いられる。
Reference numeral 4 denotes a character deletion instruction input unit for receiving a character deletion instruction from an operator. As the character deletion instruction input unit, a deletion key, a reverse key, a pointing device, and the like are used. Reference numeral 5 denotes a cursor movement instruction input unit which receives an instruction to move a cursor, which is a character input position, from an operator. A cursor key, a pointing device, and the like are used as the cursor movement instruction input unit.

【0013】6は移動指示認識部で、文字入力部3から
の入力もしくは文字削除指示入力部4からの入力が領域
移動指示になるか否かを認識する。7は移動先判定部
で、移動すべき領域の移動先を判定する。ここでは、文
字入力部3からの入力が領域移動指示になると判定され
た場合には、入力文字数分行末側の領域が移動先である
と判定する。一方、文字削除指示入力部4からの入力が
領域移動指示になると判定された場合には、削除文字数
分行頭側の領域が移動先であると判定する。
Reference numeral 6 denotes a movement instruction recognizing unit which recognizes whether an input from the character input unit 3 or an input from the character deletion instruction input unit 4 becomes an area moving instruction. Reference numeral 7 denotes a destination determining unit which determines a destination of an area to be moved. Here, when it is determined that the input from the character input unit 3 is an area movement instruction, it is determined that the area at the end of the line by the number of input characters is the movement destination. On the other hand, when it is determined that the input from the character deletion instruction input unit 4 is an area movement instruction, it is determined that the area at the beginning of the line by the number of deletion characters is the movement destination.

【0014】8は領域抽出部で、移動すべき領域を文書
記憶部1の中から抽出する。抽出方法として、例えば、
まず、カーソル位置と同一行でかつカーソル位置以降の
行末側にある文字領域と非文字領域との領域境界線をす
べて抽出し、各領域境界線を辿り、領域境界線に囲まれ
た閉領域を求め、その後、それらすべての閉領域のうち
面積が最大となるものを移動すべき領域であるとして抽
出する。
An area extracting unit 8 extracts an area to be moved from the document storage unit 1. As an extraction method, for example,
First, all the area boundaries between the character area and the non-character area on the same line as the cursor position and at the end of the line after the cursor position are extracted, and each area boundary is traced to form a closed area surrounded by the area boundary. Then, of all the closed regions, the one having the largest area is extracted as the region to be moved.

【0015】9は領域移動部 で、前記領域抽出部8に
よって抽出された領域を、前記移動先判定部7で判定さ
れた移動先に移動したものとなるように文書記憶部1の
内容を変更する。なお、実際にはこれら以外に、文書内
容の複写、削除等の様々な編集機能を実現するための構
成要素等の種々の構成要素を必要とするが、説明を省略
する。
Reference numeral 9 denotes an area moving unit which changes the contents of the document storage unit 1 so that the area extracted by the area extracting unit 8 is moved to the destination determined by the destination determining unit 7. I do. It should be noted that, in addition to these, various components such as components for realizing various editing functions such as copying and deleting of document contents are required, but description thereof will be omitted.

【0016】次に、本発明の文書編集装置の動作につい
て説明する。図2は、文書作成装置の動作を示す動作フ
ロー図である。また、図3は、文字領域と表領域とを含
む文書の領域移動前後の状態を示す文章表示の模式図で
あり、図4は、文字領域と図形領域とを含む文書の領域
移動前後の状態を示す文章表示の模式図である。図3及
び図4において、31は文書作成領域を示し、32a、
32b、34a、34bは領域移動操作前後の文字領域を
示し、33は表領域あるいは図形領域を示し、35はカ
ーソルを示している。
Next, the operation of the document editing apparatus according to the present invention will be described. FIG. 2 is an operation flowchart showing the operation of the document creation device. FIG. 3 is a schematic diagram of a sentence display showing a state of a document including a character region and a table region before and after the region is moved. FIG. 4 is a diagram showing a state of the document including a character region and a graphic region before and after the region is moved. It is a schematic diagram of a sentence display showing "." 3 and 4, reference numeral 31 denotes a document creation area, and 32a,
32b, 34a, and 34b indicate character areas before and after the area moving operation, 33 indicates a table area or a graphic area, and 35 indicates a cursor.

【0017】まず、非文字領域を行末側へ移動する例に
ついて、図1〜図3を用いて説明する。 (1)いま、図3の上段に示す文書が文書記憶部1に記
録されているものとし、オペレータは文書記憶部内の表
領域33を1文字分行末側に移動しようとするものとす
る。 (2)オペレータは、カーソル移動指示入力部5を用い
て、表の左側にカーソル35を移動した後、文字入力部
3を用いて空白文字を1文字入力する。 (3)移動指示認識部6は、この空白文字入力が領域移
動指示になるか否かを認識する。この場合、移動指示認
識部6は、カーソル位置以降の行末側の文書データを判
定し、行末側に罫線が存在することを認識する。そし
て、罫線を表領域との境界線と判定して表領域33の存
在を認識する。さらに、行末側の文字領域34aに1文
字以上のスペースが存在することを認識する。この行末
側の表領域の認識によって、空白文字入力が領域移動指
示にあたると判定する。 (4)移動先判定部7は、表領域33の移動先がどこで
あるかを判定する。この場合、行頭側に1文字分の文字
入力がなされたので、1文字分だけ行末側へ表領域33
を移動すべきであると判定する。 (5)領域抽出部8は、移動すべき領域を抽出する。す
なわち、前記したように罫線を文字領域と表領域との境
界線として辿り、罫線で囲まれた全ての閉領域を求め、
その中で最大の領域を移動すべき表領域33として抽出
する。 (6)領域移動部9は、領域抽出部8によって抽出され
た表領域33を、移動先判定部7で判定された移動先に
移動したものとなるように文書記憶部1の内容を変更す
る。この場合、表全体を1文字分行末側に移動したもの
となるように文書記憶部1の内容を変更する。その結
果、文書記憶部1の内容が図3の下段に示すものとな
る。
First, an example of moving a non-character area to the end of a line will be described with reference to FIGS. (1) Now, it is assumed that the document shown in the upper part of FIG. 3 is recorded in the document storage unit 1, and the operator attempts to move the table area 33 in the document storage unit by one character to the end of the line. (2) The operator moves the cursor 35 to the left side of the table using the cursor movement instruction input unit 5, and then inputs one blank character using the character input unit 3. (3) The movement instruction recognition unit 6 recognizes whether or not this blank character input is an area movement instruction. In this case, the movement instruction recognition unit 6 determines the document data at the end of the line after the cursor position and recognizes that a ruled line exists at the end of the line. Then, the ruled line is determined as a boundary line with the table area, and the existence of the table area 33 is recognized. Further, it recognizes that one or more spaces exist in the character area 34a at the end of the line. By recognizing the table area at the end of the line, it is determined that the blank character input corresponds to the area movement instruction. (4) The destination determining unit 7 determines where the destination of the table area 33 is. In this case, since one character is input at the beginning of the line, the table area 33 is shifted to the end of the line by one character.
Is to be moved. (5) The area extracting unit 8 extracts an area to be moved. That is, as described above, the ruled line is traced as a boundary between the character region and the table region, and all closed regions surrounded by the ruled line are obtained.
The largest area is extracted as the table area 33 to be moved. (6) The area moving unit 9 changes the contents of the document storage unit 1 so that the table area 33 extracted by the area extracting unit 8 is moved to the destination determined by the destination determining unit 7. . In this case, the contents of the document storage unit 1 are changed so that the entire table is moved to the end of the line by one character. As a result, the contents of the document storage unit 1 are as shown in the lower part of FIG.

【0018】次に、非文字領域を行頭側に移動する場合
について図1、図2及び図4を用いて説明する。 (1)いま、図4上段に示す文章が文書記憶部1に記録
されているものとし、オペレータが文書記憶部1内の図
形領域33全体を2文字分行頭側に移動しようとするも
のする。 (2)オペレータは、カーソル移動指示入力部5を用い
て、図形領域33の左側にカーソル35を移動した後、
文字削除指示入力部3を用いて2文字を削除する指示を
入力する。 (3)領域抽出部8は、移動すべき領域を抽出する。こ
こでは、図4の右側の図形領域33全体を抽出する。図
形領域の存在は、カーソル35より行末側の文字領域と
図形領域との境界情報を検出して行う。 (4)移動指示認識部6は、文字削除入力が領域移動指
示になるか否かを認識する。この場合、カーソル位置の
行末側に図が存在し、かつ、図を含むすべての行におい
て、図の行頭側に2文字の空白文字があるので領域移動
指示にあたると判定する。 (5)移動先判定部7は、図形領域33の移動先がどこ
であるかを判定する。この場合、2文字の文字削除指示
入力がなされたので、2文字分だけ行頭側へ領域を移動
すべきであると判定する。 (6)領域移動部9は、領域抽出部8によって抽出され
た図形領域33を、移動先判定部7で判定された移動先
に移動したものとなるように文書記憶部1の内容を変更
する。この場合、図形領域33全体を2文字分行頭側に
移動したものとなるように文書記憶部1の内容を変更す
る。その結果、文書記憶部1の内容が図4の下段に示す
ものとなる。
Next, the case where the non-character area is moved to the beginning of the line will be described with reference to FIGS. 1, 2 and 4. FIG. (1) Now, it is assumed that the text shown in the upper part of FIG. 4 is recorded in the document storage unit 1, and the operator intends to move the entire graphic area 33 in the document storage unit 1 to the beginning of the line by two characters. (2) The operator moves the cursor 35 to the left of the graphic area 33 using the cursor movement instruction input unit 5,
An instruction to delete two characters is input using the character deletion instruction input unit 3. (3) The area extracting unit 8 extracts an area to be moved. Here, the entire graphic area 33 on the right side of FIG. 4 is extracted. The existence of the graphic area is detected by detecting boundary information between the character area on the end of the line from the cursor 35 and the graphic area. (4) The movement instruction recognition unit 6 recognizes whether or not the character deletion input is an area movement instruction. In this case, since there is a figure at the end of the line at the cursor position and in all lines including the figure, there are two blank characters at the beginning of the figure, so it is determined that the instruction corresponds to the area movement instruction. (5) The destination determining unit 7 determines where the destination of the graphic area 33 is. In this case, since the character deletion instruction input of two characters has been performed, it is determined that the area should be moved to the beginning of the line by two characters. (6) The area moving unit 9 changes the contents of the document storage unit 1 so that the graphic area 33 extracted by the area extracting unit 8 is moved to the destination determined by the destination determining unit 7. . In this case, the contents of the document storage unit 1 are changed so that the entire graphic area 33 is moved to the beginning of the line by two characters. As a result, the contents of the document storage unit 1 are as shown in the lower part of FIG.

【0019】このように本実施例によれば、文字入力部
3および文字削除指示入力部4がオペレータからの入力
を受け付け、移動指示認識部6が当該入力が領域移動指
示になるか否かを判定し、領域移動を指示にあたると判
定する場合には、移動先判定部7が移動先を判定し、領
域抽出部8が移動すべき領域を抽出し、領域移動部9が
当該領域を移動した状態に文書記憶部1の内容を変更す
る。これにより、非文字領域を横方向に移動する場合に
は、移動したい領域が存在する行の行頭側で文字の入力
もしくは削除を行うだけで、増減した文字数に相当する
分、領域全体を移動することができる。このため、オペ
レータ自身の操作の簡素化が図れると同時に、修正時間
を短縮することができる。そして、文字列移動の場合と
同様の簡便な操作方法を実現することにより、オペレー
タに統一感のあるマンマシンインタフェイスを提供する
ことができる。
As described above, according to the present embodiment, the character input unit 3 and the character deletion instruction input unit 4 receive an input from the operator, and the movement instruction recognition unit 6 determines whether the input is an area movement instruction. If it is determined that the instruction is to move the area, the destination determining unit 7 determines the destination, the area extracting unit 8 extracts the area to be moved, and the area moving unit 9 moves the area. The contents of the document storage unit 1 are changed to a state. Thus, when the non-character area is moved in the horizontal direction, simply input or delete characters at the beginning of the line where the area to be moved exists, and the entire area is moved by an amount corresponding to the increased or decreased number of characters. be able to. Therefore, the operation of the operator can be simplified, and the correction time can be shortened. By realizing the same simple operation method as in the case of moving a character string, it is possible to provide a man-machine interface with a sense of unity for the operator.

【0020】なお、本実施例においては、移動指示認識
部6は、文字入力もしくは文字削除が行われ、行頭側の
文字領域の文字数が増減されたときに起動されるものと
したが、類似するその他の操作、例えば、文字列移動、
文字列複写、文字列削除など、文書記憶部中の文字列の
並びに変化が起こるような操作が行われ、文字領域の字
数が変化したときにも起動されるとしてもよい。
In this embodiment, the movement instruction recognizing unit 6 is activated when character input or character deletion is performed and the number of characters in the character area at the beginning of the line is increased or decreased. Other operations, such as string movement,
The operation may be performed when the number of characters in the character area is changed by performing an operation that causes a change in the character string in the document storage unit, such as a character string copy or a character string deletion.

【0021】また、本実施例において、移動先判定部7
は、文字入力による文字数の増減分を領域の移動量と判
定することとしたが、文字の増減分を単純に移動量とす
る場合のみならず、より複雑な判定を行なったうえで移
動先を決定するものであってもよい。例えば、文字の増
減分を移動量として移動してしまうと文章記憶部の内容
の一部が上書きされ、文書内容の一部が消失してしまう
場合や、移動先があらかじめ書式として設定されている
1行当たりの規定文字数を超えてしまう場合などには、
移動可能な領域まで自動的に判断して移動させるなど、
必要に応じて適切な移動先を判定することができるもの
であってもよい。
In this embodiment, the destination determining unit 7
Determines that the increase or decrease in the number of characters due to character input is the movement amount of the area, but not only when the increase or decrease in the characters is simply used as the movement amount, It may be determined. For example, if the amount of movement of the character is moved as a movement amount, a part of the contents of the text storage unit is overwritten, and a part of the document contents is lost, or the destination is set in advance as a format. If the number of characters per line exceeds the limit,
Automatically determine and move to a movable area,
An appropriate destination may be determined as necessary.

【0022】さらに、本実施例において、領域抽出部8
は、カーソル位置と同一行でかつ行末側にある領域境界
線をすべて抽出し、各領域境界線を辿り閉領域を求め、
その後、それらすべての閉領域のうち面積が最大となる
ものを移動すべき領域であるとして抽出するとしたが、
その他の方法、たとえば、文書を文字列、図形、表、画
像などの複数のブロックに別けて管理するような文書作
成装置と結合する場合は、各ブロックのレイアウト情報
を利用することによって抽出を行ってもよく、さらに他
の方法によってもよい。
Further, in the present embodiment, the region extracting unit 8
Extracts all the area boundaries on the same line as the cursor position and at the end of the line, finds a closed area by following each area boundary,
After that, we decided to extract the one with the largest area among all those closed areas as the area to be moved,
In the case of combining with another method, for example, a document creating apparatus that manages a document by dividing it into a plurality of blocks such as character strings, graphics, tables, and images, the extraction is performed by using the layout information of each block. Or another method.

【0023】また、本実施例の文書編集装置に対して、
上記のような領域移動処理を行わせるか否かをオペレー
タが選択できる移動指示認識不活性化設定部を設けても
よい。そして、非文字領域の領域移動編集を行う前に、
領域移動操作方法を選択することによって、従来の領域
移動操作を用いることも可能となる。
Further, for the document editing apparatus of this embodiment,
A movement instruction recognition deactivation setting unit that allows an operator to select whether or not to perform the above-described area movement processing may be provided. Then, before performing the area move edit of the non-character area,
By selecting the area moving operation method, it is possible to use the conventional area moving operation.

【0024】[0024]

【発明の効果】以上のように、本発明の文書作成装置
は、文字の入力/削除指示を行う入力部、および移動指
示認識部、移動先判定部、領域抽出部、領域移動部を設
けることにより、非文字領域を横方向に移動する場合に
は、移動したい領域が存在する行の行頭側で文字の増減
を行うだけで、所定の移動量に相当する分だけ非文字領
域を移動することができる。このため、操作の簡素化が
図れると同時に、編集時間を短縮することができる。ま
た、文字列移動の場合と同様の簡便な操作方法を実現す
ることによって、オペレータに統一感のあるマンマシン
インタフェイスを提供することができる。
As described above, the document creation apparatus of the present invention is provided with an input unit for inputting / deleting a character, a movement instruction recognition unit, a destination determination unit, an area extraction unit, and an area movement unit. Therefore, when the non-character area is moved in the horizontal direction, it is possible to move the non-character area by an amount corresponding to a predetermined moving amount only by increasing or decreasing the characters at the beginning of the line where the area to be moved exists. Can be. Therefore, the operation can be simplified and the editing time can be shortened. Further, by realizing the same simple operation method as in the case of moving a character string, it is possible to provide a man-machine interface with a sense of unity for the operator.

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

【図1】本発明の一実施例における文書編集装置の構成
をしめすブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a document editing apparatus according to an embodiment of the present invention.

【図2】同実施例における文書編集装置の動作を示す動
作フロー図である。
FIG. 2 is an operation flowchart showing an operation of the document editing apparatus in the embodiment.

【図3】同実施例における領域移動前後の文書記憶部の
内容の一例を示す模式図である。
FIG. 3 is a schematic diagram showing an example of contents of a document storage unit before and after the area is moved in the embodiment.

【図4】同実施例における領域移動前後の文書記憶部の
内容の他の例を示す模式図である。
FIG. 4 is a schematic diagram showing another example of the contents of the document storage unit before and after the area is moved in the embodiment.

【図5】従来の文書編集装置の構成をしめすブロック図
である。
FIG. 5 is a block diagram showing a configuration of a conventional document editing apparatus.

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

1 文書記憶部 2 文書表示部 3 文字入力部 4 文字削除指示入力部 5 カーソル移動指示入力部 6 移動指示認識部 7 移動先判定部 8 領域抽出部 9 領域移動部 REFERENCE SIGNS LIST 1 document storage unit 2 document display unit 3 character input unit 4 character deletion instruction input unit 5 cursor movement instruction input unit 6 movement instruction recognition unit 7 destination determination unit 8 area extraction unit 9 area movement unit

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 同一行内に文字領域と非文字領域とを有
する文書において、非文字領域の行内移動を行わせるた
めの文書編集方法であって、 前記非文字領域の行頭側に位置する前記文字領域の文字
数を増減する入力情報を与える入力ステップと、 前記入力情報が前記非文字領域を移動すべき指示に該当
するか否かを認識する移動指示認識ステップと、 移動すべき前記非文字領域を抽出する領域抽出ステップ
と、 前記非文字領域の移動先を判定する移動先判定ステップ
と、 前記非文字領域を所定の移動先へ移動し、前記文書の編
集を行う領域移動ステップとを備えた、文書編集方法。
1. A document editing method for performing in-line movement of a non-character area in a document having a character area and a non-character area in the same line, wherein the character located at the beginning of the line of the non-character area An input step of providing input information for increasing or decreasing the number of characters in an area; a movement instruction recognition step of recognizing whether the input information corresponds to an instruction to move the non-character area; An area extracting step of extracting, a destination determining step of determining a destination of the non-character area, and an area moving step of moving the non-character area to a predetermined destination and editing the document. Document editing method.
【請求項2】 前記文書編集方法は、前記入力ステップ
の後、さらに、 前記入力情報が常に前記非文字領域を移動すべき指示に
該当しないと認識することを選択的に設定可能な移動指
示認識不活性化設定ステップを備える、請求項1記載の
文書編集方法。
2. The moving instruction recognition method according to claim 1, further comprising, after the inputting step, further selectively setting that the input information does not always correspond to an instruction to move the non-character area. The document editing method according to claim 1, further comprising an inactivation setting step.
【請求項3】 同一行内に文字領域と非文字領域とを有
する文書において、非文字領域の行内移動が可能な文書
作成装置であって、 文書を記憶する文書記憶部と、 文字情報を入力する入力部と、 前記入力部から前記非文字領域の行頭側に位置する前記
文字領域の文字数を増減する文字情報が入力された場合
に、前記文字情報が前記非文字領域を移動すべき指示に
該当するか否かを認識する移動指示認識部と、 移動すべき前記非文字領域を抽出する領域抽出部と、 前記非文字領域の移動先を判定する移動先判定部と、 前記非文字領域を所定の移動先へ移動させる領域移動部
とを備えた、文書作成装置。
3. A document creation device capable of moving a non-character area in a line in a document having a character area and a non-character area in the same line, wherein a document storage unit for storing the document and character information are input. An input unit, when character information for increasing or decreasing the number of characters of the character region located at the beginning of the line of the non-character region is input from the input unit, the character information corresponds to an instruction to move the non-character region A move instruction recognizing unit for recognizing whether or not to perform the operation; an area extracting unit for extracting the non-character area to be moved; a destination determining unit for determining a destination of the non-character area; And a region moving unit for moving the document to a destination.
【請求項4】 前記文書作成装置は、さらに、 前記入力部から入力された前記文字情報が、常に前記非
文字領域を移動すべき指示に該当しないと認識すること
を選択的に設定可能な移動指示認識不活性化設定部を備
える、請求項3記載の文書作成装置。
4. The movement which can be selectively set to recognize that the character information input from the input unit does not always correspond to an instruction to move the non-character area. The document creation device according to claim 3, further comprising an instruction recognition inactivation setting unit.
JP4238590A 1992-09-07 1992-09-07 Document editing method and document creation device Expired - Fee Related JP2995720B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4238590A JP2995720B2 (en) 1992-09-07 1992-09-07 Document editing method and document creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4238590A JP2995720B2 (en) 1992-09-07 1992-09-07 Document editing method and document creation device

Publications (2)

Publication Number Publication Date
JPH0689280A JPH0689280A (en) 1994-03-29
JP2995720B2 true JP2995720B2 (en) 1999-12-27

Family

ID=17032464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4238590A Expired - Fee Related JP2995720B2 (en) 1992-09-07 1992-09-07 Document editing method and document creation device

Country Status (1)

Country Link
JP (1) JP2995720B2 (en)

Also Published As

Publication number Publication date
JPH0689280A (en) 1994-03-29

Similar Documents

Publication Publication Date Title
JP3039204B2 (en) Document processing method and apparatus
JPH032979A (en) Method and device for correction of image
JP3388451B2 (en) Handwriting input device
JP2995720B2 (en) Document editing method and document creation device
JPH0232660B2 (en)
JP4392450B2 (en) Information display method and information display apparatus
JPH08235344A (en) Scenario editor
KR100238814B1 (en) Data processing apparatus and method
JP4441966B2 (en) Handwritten character input device and recording medium recording program for realizing the same
JPH0728801A (en) Image data processing method and device therefor
JPS63197266A (en) Document image editing device
JP2595399B2 (en) Document processing method
JP3347350B2 (en) Document processing apparatus and document processing method
JPH01217545A (en) Document preparing device
JPS63108453A (en) Electronic equipment
JPS6165359A (en) Document editing device
JPH0581400A (en) Document preparing device
JP2760620B2 (en) Ruled line additional creation device
JPH0916746A (en) Image filing device
JPH0750477B2 (en) Information processing equipment
JPH05216877A (en) Document preparation device
JPS6180289A (en) Image editing unit
JPS63254489A (en) Document generator
JPH0531187B2 (en)
JPH0620025A (en) Method and device for character/graphic processing

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees