JPH03161863A - Document preparing device - Google Patents

Document preparing device

Info

Publication number
JPH03161863A
JPH03161863A JP1302507A JP30250789A JPH03161863A JP H03161863 A JPH03161863 A JP H03161863A JP 1302507 A JP1302507 A JP 1302507A JP 30250789 A JP30250789 A JP 30250789A JP H03161863 A JPH03161863 A JP H03161863A
Authority
JP
Japan
Prior art keywords
item
line
characters
buffer
moving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP1302507A
Other languages
Japanese (ja)
Other versions
JP2966449B2 (en
Inventor
Tsutomu Tanaka
努 田中
Masanori Ito
昌典 伊藤
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP1302507A priority Critical patent/JP2966449B2/en
Publication of JPH03161863A publication Critical patent/JPH03161863A/en
Application granted granted Critical
Publication of JP2966449B2 publication Critical patent/JP2966449B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To easily move characters in an item by making it possible to move characters written in plural items including a specified item to the moving destinations of respective items after specifying the item to be moved and its moving destination. CONSTITUTION:When at least one item to be moved and the moving destinations of characters written in the item are specified by a keyboard 1, a line counter 2 counts up the number of lines in a document and a cursor counter 3 counts up the number of characters in a line under the control of a control part 4. A table frame deciding part 6 decides whether a table frame from a movement starting position up to the moving destination or from a moving starting line up to an end line is complete or not and a one-line reading part 7 reads out a document for one line at maximum from a text buffer 5 and stores the read contents in an one-line buffer 9. An intra-table item contents moving part 19 writes a character string in the item to move characters in a working buffer 1 and writes the character string written in the buffer 11 to the position of the buffer 9 corresponding to the moving destination. Thus, the characters in the item can easily be moved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、表を形成する罫線によりその領域が決定され
ている項目内に記入された文字を項目範囲内にて移動し
得る文書作或装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to document processing or document processing in which characters written in an item whose area is determined by ruled lines forming a table can be moved within the item range. Regarding equipment.

〔従来の技術及び発明が解決しようとするII#l!〕
従来のワードプロセッサ等の文書作或装胃は、表におい
て共通の見出しを有する項目群の文字の記入位置を移動
する場合、1項目ずつ文字を移動しなければならず、項
目内の文字の移動に伴う作業が繁雑であって装置の操作
性が低いという問題があった。
[II#l that the prior art and the invention try to solve! ]
In conventional word processors and other word processors, when moving the entry position of characters in a group of items that have a common heading in a table, the characters must be moved one item at a time, and it is difficult to move characters within an item. There was a problem that the work involved was complicated and the operability of the device was low.

本発明はこのような問題点を解決するためになされたも
のであって、移動対象の項目と文字の移動先とを指定す
るのみで、関連する複数項目の文字をそれぞれの移動先
へ移動することにより、項目内の文字の移動が容易であ
って操作性が高い文書作或装lの提供を目的とする。
The present invention has been made to solve these problems, and by simply specifying the item to be moved and the destination of the characters, the characters of multiple related items can be moved to their respective destinations. By doing so, it is an object of the present invention to provide a document creation system that allows easy movement of characters within an item and has high operability.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の文書作或装置は、罫線によりそれぞれの領域が
決定されている表の項目に記入されている文字を項目内
にて移動し得る文書作威装置において、移動対象の項目
を少なくとも1つ指定する手段と、指定した少なくとも
1つの項目に記入されている文字の移動先を指定する手
段と、移動対象の項目及び文字の移動先を指定したあと
で、該項目を含む複数の項目に記入されている文字を、
それぞれの項目の移動先へ移動する手段とを備えたこと
を特徴とする。
The document creation device of the present invention is a document creation device capable of moving characters written in items in a table whose areas are determined by ruled lines within the item, and in which at least one item to be moved is moved. a means for specifying a destination for characters written in at least one specified item, a means for specifying a destination for moving characters entered in at least one specified item, and a method for specifying an item to be moved and a destination for moving characters, and then filling in multiple items including the item. The characters that are
The apparatus is characterized by comprising a means for moving each item to its destination.

〔作用〕[Effect]

本発明の文書作威装置は、移動対象の項目を少なくとも
1つ指定し、指定した項目に記入されている文字の移動
先を指定したあとで、該項目を含む複数の項目に記入さ
れている文字を、それぞれの項目の移動先へ移動する。
The document creation device of the present invention specifies at least one item to be moved, specifies the destination of the movement of characters written in the specified item, and then moves the characters written in multiple items including the specified item. Move the characters to the destination of each item.

〔実施例〕〔Example〕

以下、本発明をその実施例を示す図面に基づき説明する
Hereinafter, the present invention will be explained based on drawings showing embodiments thereof.

第l図は本発明の文書作成装置の一実施例構或を示すブ
ロック図である。図中1は表内の項目内容の移動を指示
するキー,項目内蓉の左よせキー右よせキー,センタリ
ングキー等を備えたキーボードであって、キーボード1
から入力された指令は制御部4に入力される。制御部4
は入力された指令に従って装置各部のデータ授受を制御
する。
FIG. 1 is a block diagram showing the structure of an embodiment of the document creation device of the present invention. 1 in the figure is a keyboard equipped with keys for instructing movement of item contents in a table, a left alignment key, a right alignment key, a centering key, etc.
The commands input from the controller 4 are input to the control section 4. Control unit 4
controls data exchange between each part of the device according to input commands.

行カウンタ2は文書の行数をカウントし、カーソルカウ
ンタ3は1行内の文字数をカウントする。
A line counter 2 counts the number of lines in a document, and a cursor counter 3 counts the number of characters in one line.

テキストバッファ5は文書を記憶し、表枠判定部6は移
動開始位置から移動先まで又は移動開始行から終了行ま
での表枠が完全であるか否かを判定する。1行データ読
み出し部7は最大1行分の文書をテキストバッファ5か
ら読み出して1行バッフプ9に格納する。表内項目内容
移動部10は1行バッファ9に格納された行のうち、文
字を移動する項目の文字列を作業バッファ11に書き込
み、作業バッファ1lに書き込まれた文字列を移動先に
対応する1行バッファ9の位置に書き込む。1行データ
書き込み部8は1行バッファ9の内容をテキストバッフ
ァ5に書き込む。CRT等からなる表示部12はテキス
トバッファ5の文書を表示する。
The text buffer 5 stores the document, and the table frame determination unit 6 determines whether the table frame from the movement start position to the movement destination or from the movement start line to the end line is complete. The one-line data reading unit 7 reads a maximum of one line of the document from the text buffer 5 and stores it in the one-line buffer 9. The in-table item content moving unit 10 writes the character string of the item whose characters are to be moved among the rows stored in the one-line buffer 9 into the work buffer 11, and makes the character string written into the work buffer 1l correspond to the movement destination. Write to the 1-line buffer 9 position. The one-line data writing unit 8 writes the contents of the one-line buffer 9 into the text buffer 5. A display unit 12 made of a CRT or the like displays the document in the text buffer 5.

以上のような構威の文書作威装置による項目内の文字列
の移動手順を、左よせを例に、第3図に示すフローチャ
ートに基づいて説明する。
The procedure for moving character strings within an item using the document authoring device configured as described above will be explained based on the flowchart shown in FIG. 3, taking left alignment as an example.

まず、表内項目内容移動指示キーが押されたかどうかを
判定する。キーが押されていた場合、カーソルの位置が
文字列の移動可能な拉賓に存在するか否かを判定する。
First, it is determined whether the in-table item content movement instruction key has been pressed. If the key is pressed, it is determined whether the cursor position is in a movable string of characters.

カーソルが移動可能な位置に存在する場合、カーソルの
イq置を変数Xにセットし、Xの位置より直近の左の罫
線位置を変数XSに、右の罫線付置を変数X已にセット
する。表枠判定部6はXS−XEの間が完全な表枠であ
るか否かを判定する。表枠が完全である場合、力一ソル
のある行を移動開始行として変数S Lに、また完全な
表粋の最も下の横罫線行を移動終了行として変数F. 
Lにセットする。
If the cursor is in a movable position, the cursor's equal position is set to a variable X, the left ruled line position nearest to the X position is set to a variable XS, and the right ruled line position is set to a variable X. The table frame determining unit 6 determines whether or not the space between XS and XE is a complete table frame. If the table frame is complete, the row with the first sol is set as the movement start line and is set as the movement start line in variable SL, and the bottom horizontal ruled line of the complete display is set as the movement end line as variable F.
Set it to L.

次に、キー人力が「左よせキー」 「右よせキー』又は
「センタリングキー−1のいずれであるかを判定する。
Next, it is determined whether the key force is the "left shift key", "right shift key", or "centering key-1".

左よせキーが押された場合、移動開始行ST,を行カウ
ンタ変数MLにセットする。1行データ読み出し部7は
、変数MLが指定する1行をテキストバッファ5から1
行バッファ9へ読み出す。
When the left alignment key is pressed, the movement start line ST, is set in the line counter variable ML. The one-line data reading unit 7 reads one line specified by the variable ML from the text buffer 5.
Read to row buffer 9.

次に、1行バッファ9へ読み出した行のXSからX F
.の間の文字列を検出する。まず変数XSに゛l”プラ
スした植を変数XI、にセットし、1行バッファ9の変
数XLの位置が空白か否かを判定し、空白であればX丁
,に“l゜゛をプラスし、これをX LがXEを超える
まで、又は空白でないと判定されるまで繰り返す。XI
7がXEを超えるまで空白であった場合、XSからXE
までの項目内には文字列がないと判定してML.に゛′
1”をプラスして次の行に移る。
Next, from XS to XF of the row read into the one-row buffer 9
.. Detect strings between . First, set the variable XS plus ``l'' to the variable , this is repeated until XL exceeds XE or until it is determined that it is not blank. XI
If it was blank until 7 exceeded XE, from XS to XE
It is determined that there is no character string in the items up to ML. ni゛′
Add 1” and move to the next line.

XEを超える前にXLの値が空白でないと判定された場
合、XEから゛1”引いた値を変数XRにセットする。
If it is determined that the value of XL is not blank before exceeding XE, the value obtained by subtracting "1" from XE is set in variable XR.

l行バッファ9のXRの位置が空白か否かを判定し、空
白の場合はXRから゛1゜゜を引き、これをXRの位置
が空白でないと判定されるまで繰り返す。表内項目内容
移動部10は、XRの位置が空白でないと判定した時点
でl行バッファ9のXI,の位置からXRの位置までの
文字列を作業バッファ11に書き出して1行バッファ9
のXT.〜XRを空白とし、1行バッファ9の(XS千
1)の位置を開始位置として作業バッファ11の内容を
書き移す。
It is determined whether the position XR in the l-line buffer 9 is blank, and if it is blank, ゛1゜゜ is subtracted from XR, and this is repeated until it is determined that the position XR is not blank. When the table item content moving unit 10 determines that the position XR is not blank, it writes the character string from the position XI of the l-line buffer 9 to the position XR to the work buffer 11,
XT. ~XR is left blank, and the contents of the work buffer 11 are transferred using the position (XS 1,000) of the one-line buffer 9 as the starting position.

書き移した後、l行データ書き込み部8は1行バンファ
9の内容をテキストバッファ5に書き込む。表示部12
はMLが指定するテキストバッファ5内の行を表示部1
2に表示する。行カウンタ2の変数M■,に゜゜1“を
プラスして1行の移動が完了する。
After the transfer, the l-line data writing unit 8 writes the contents of the one-line buffer 9 to the text buffer 5. Display section 12
displays the line in the text buffer 5 specified by ML in the display section 1
Display on 2. The movement of one line is completed by adding ゜゜1'' to the variable M■, of the line counter 2.

以上の動作をM+.が最終行E L.を越すまでM!−
を1行ずつ移動して繰り返し、項目内容の左よせを完了
する。
The above operation is M+. is the last line E L. M until it crosses! −
Move and repeat one line at a time to complete the left alignment of the item contents.

第2図は項目内容の左よせの画面表示例であって、第2
図(a)に示すような「氏名」 「生年月日」「年齢」
 「性別」 「趣味」の項目からなる表において、「年
齢Jの項目を指定して六よせキーを押すだけで、「年齢
」の列の不揃いな項目内容が第2Z(b)に示すように
左よせされる。
Figure 2 is an example of a left-aligned screen display of item contents;
"Name""Date of birth""Age" as shown in figure (a)
In a table consisting of the items ``Gender'' and ``Hobbies,'' ``Simply specify the item ``Age J'' and press the 6-key, and the contents of the uneven items in the ``Age'' column can be changed as shown in Section 2Z(b). Moved to the left.

なお、本実施例では項目内容を表の横方向に移動する場
合につき説明したが、縦方向に記入された項目内容を縦
方向へ移動する場合に適用することも可能であって、同
様の効果が得られる。
In addition, although this example describes the case where the item contents are moved in the horizontal direction of the table, it can also be applied to the case where the item contents written in the vertical direction are moved in the vertical direction, and the same effect can be obtained. is obtained.

〔発明の効果〕〔Effect of the invention〕

本発明の文書作或装芦は、移動対象の項目を少なくとも
1つ指定し、文字の移動先を指定するのみで、移動対象
の項目を含む複数の項目に記入されている文字をそれぞ
れの項目内にて移動するので、項目内における文字の移
動が容易であって装置の操作性が高いという優れた効果
を奏する。
In the document creation or editing of the present invention, by simply specifying at least one item to be moved and specifying the destination of the characters, characters written in multiple items including the item to be moved can be transferred to each item. Since the characters are moved within the item, it is easy to move the characters within the item, and the device has excellent operability.

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

第1図は本発明の文書作或装渾の構威を示すブロック図
、第2図は項目内容の左よせの画面表示例、第3図は項
目内容の左よせの手順を示すフローチャートである。 1・・・キーボード 2・・・行カウンタ 3・・・カ
ーソルカウンタ 4・・・制御部 5・・・テキストバ
ッファ6・・・表枠判定部 7・・・l行データ読み,
出し部8・・・1行データ書き込み部 9・・・1行バ
ッファ10・・・表内項目内容移動部 11・・・作業
バッファ12・・・表示部 特 許 出願人  三洋電機株式会社
Fig. 1 is a block diagram showing the structure of document creation or arrangement of the present invention, Fig. 2 is an example of screen display for aligning item contents to the left, and Fig. 3 is a flowchart showing the procedure for aligning item contents to the left. . 1...Keyboard 2...Line counter 3...Cursor counter 4...Control unit 5...Text buffer 6...Table frame determination unit 7...L line data reading,
Output unit 8...1 line data writing unit 9...1 line buffer 10...Table item content movement unit 11...Work buffer 12...Display unit Patent Applicant: Sanyo Electric Co., Ltd.

Claims (1)

【特許請求の範囲】 1、罫線によりそれぞれの領域が決定されている表の項
目に記入されている文字を項目内にて移動し得る文書作
成装置において、 移動対象の項目を少なくとも1つ指定する 手段と、 指定した少なくとも1つの項目に記入され ている文字の移動先を指定する手段と、 移動対象の項目及び文字の移動先を指定し たあとで、該項目を含む複数の項目に記入されている文
字を、それぞれの項目の移動先へ移動する手段と を備えたことを特徴とする文書作成装置。
[Scope of Claims] 1. In a document creation device that can move characters written in items in a table whose areas are determined by ruled lines within the item, at least one item to be moved is specified. a means for specifying a destination for characters entered in at least one specified item; and a means for specifying a destination for moving characters entered in at least one specified item; and a means for specifying a destination for moving characters entered in at least one specified item; 1. A document creation device characterized by comprising: means for moving characters in each item to a destination of each item.
JP1302507A 1989-11-20 1989-11-20 Table editing device Expired - Fee Related JP2966449B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1302507A JP2966449B2 (en) 1989-11-20 1989-11-20 Table editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1302507A JP2966449B2 (en) 1989-11-20 1989-11-20 Table editing device

Publications (2)

Publication Number Publication Date
JPH03161863A true JPH03161863A (en) 1991-07-11
JP2966449B2 JP2966449B2 (en) 1999-10-25

Family

ID=17909798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1302507A Expired - Fee Related JP2966449B2 (en) 1989-11-20 1989-11-20 Table editing device

Country Status (1)

Country Link
JP (1) JP2966449B2 (en)

Also Published As

Publication number Publication date
JP2966449B2 (en) 1999-10-25

Similar Documents

Publication Publication Date Title
JPS5994174A (en) Display controlling device
JPH0363756A (en) Document editor
JPS6289990A (en) Table generator
JPH03161863A (en) Document preparing device
JPH03161862A (en) Document preparing device
JPH0259814A (en) Dividing/integrating process system for window information
JPS6355097B2 (en)
JP2755833B2 (en) Ruled line creation device
JP2003271285A (en) Scroll control apparatus, information processing program, and recording media
JPS5957338A (en) Scroll display system in column
JPH03157755A (en) Document preparing device
JPH01126710A (en) Device for editing document
JPS59229684A (en) Character processor
JPH02281328A (en) Picture controller
JPH064528A (en) Rectangular scroll display system for spread sheet
JPH04180159A (en) Document preparing device
JPH02178874A (en) Character ruled line processing system of document preparing device
JPH0365759A (en) Edition processing system for table
JPH03232060A (en) Documentation device
JPH04188268A (en) Document processor
JPH0581392A (en) Graphic moving and copying method
JPS63241654A (en) Table preparation system
JPS63103373A (en) Document producing device
JPH0451356A (en) Format setting system
JPH0443588B2 (en)

Legal Events

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