JPH03161861A - Document processing device with table creation function - Google Patents

Document processing device with table creation function

Info

Publication number
JPH03161861A
JPH03161861A JP1301252A JP30125289A JPH03161861A JP H03161861 A JPH03161861 A JP H03161861A JP 1301252 A JP1301252 A JP 1301252A JP 30125289 A JP30125289 A JP 30125289A JP H03161861 A JPH03161861 A JP H03161861A
Authority
JP
Japan
Prior art keywords
ruled line
layout
ruled
characters
area
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
JP1301252A
Other languages
Japanese (ja)
Inventor
Tadahiro Murotani
室谷 忠宏
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP1301252A priority Critical patent/JPH03161861A/en
Publication of JPH03161861A publication Critical patent/JPH03161861A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔概要〕 表形式の文書処理機能を備えた文書処理装置に関し、 表レイアウトの変更を簡単な操作で行なえるようにする
ことを目的とし、 表作成手段は、画面上の表の罫線のある領域を判定する
罫線領域判定部と、罫線の移動もしくは追加もしくは削
除による表レイアウトの変更の可能性を判定する枠組み
判定部と、罫線を移動処理する罫線移動処理部と、罫線
部分の空白部に罫線を自動的に補間する罫線自動処理部
とを備え、作成表の編集処理において、画面」二の表へ
の文字およびスペースの挿入および削除に応じて表レイ
アウトの変更が必要な場合には、枠あふれ判定部は表レ
イアウトの変更の可能性を判定し、表レイアウトを変更
できる場合には、罫線移動処理部は必要とする位置に罫
線を自動的に移動し、罫線補間処理部は空白を生じた罫
線部には必要な罫線を自動的に補関することにより表の
レイアウトの変更を行う構威を持つ。
[Detailed Description of the Invention] [Summary] The object of the present invention is to provide a document processing device equipped with a table-format document processing function, with the purpose of making it possible to change the table layout with a simple operation. a ruled line area determining unit that determines an area with ruled lines in the table; a framework determining unit that determines the possibility of changing the table layout by moving, adding, or deleting ruled lines; and a ruled line movement processing unit that processes ruled lines. Equipped with a ruled line automatic processing unit that automatically interpolates ruled lines in blank areas of the ruled line area, the table layout can be changed according to the insertion and deletion of characters and spaces in the table on the second screen during the editing process of the created table. If necessary, the frame overflow determination unit determines the possibility of changing the table layout, and if the table layout can be changed, the ruled line movement processing unit automatically moves the ruled line to the required position and moves the ruled line to the required position. The interpolation processing unit has a structure that changes the layout of the table by automatically interpolating necessary ruled lines to the ruled line portions where blank spaces have occurred.

〔産業上の利用分野〕[Industrial application field]

表形式の文書処理において、作威された表に文字の追加
等のための表レイアウトの変更が必要になった場合、表
レイアウト、文字レイアウトの変更を自動的に行う機能
を備えた文書処理装置に関する。
A document processing device with a function to automatically change the table layout and character layout when it is necessary to change the table layout to add text to a created table in tabular document processing. Regarding.

〔従来技術] 文書処理装置による表形式の文書の作或処理において、
表への文字および罫線の追加、削除により表レイアウト
を変更する場合、従来の文書処理装置においては、表の
各欄の中に書いた文字を移動し、表の欄の罫線の引き直
しをするといったかなり面倒な操作を必要としていた。
[Prior Art] In creating or processing a tabular document using a document processing device,
When changing the table layout by adding or deleting text and borders to a table, with conventional document processing devices, the characters written in each column of the table are moved and the borders of the table columns are redrawn. This required quite tedious operations.

第9図により、従来の文書処理装置の表形式の文書処理
の方法を説明する。
A method of processing a tabular document using a conventional document processing device will be explained with reference to FIG.

第9図(a)、(b)において、実線は罫線による表の
枠組みを示し、点線は文字の書き込み領域の境界を示す
In FIGS. 9(a) and 9(b), solid lines indicate the frame of the table by ruled lines, and dotted lines indicate the boundaries of the character writing area.

図(a)は、表の作或処理において、1月日」の欄に文
字の追加のため表レイアウトの変更が必要になった場合
の処理方法を示す。
Figure (a) shows a processing method when the table layout needs to be changed in order to add characters to the "January Date" column during table creation or processing.

図(a)において、(1)は文字レイアウトを変更しよ
うとする表である。(1)の表の「月日」の欄に「年」
を挿入しようとする場合、「月日」の欄を拡張しないと
文字の追加ができないため、隣接する「宿泊地」の欄を
縮小するか、全体を右に移動しなければならない。(2
)は、「宿泊地」の欄を縮小する場合である。そのため
「宿泊地」、「東京」を移動処理し、変更前の月日の欄
の右側の縦罫線を消去した状態を示す。 次に、(3)
に示すように、表の欄を拡張する縦罫線を書き込み、あ
らたに「年月日」を書き込んで表レイアウトの変更処理
を終了する。
In Figure (a), (1) is a table in which the character layout is to be changed. ``Year'' in the ``Month/Day'' column of the table in (1)
If you are trying to insert a text, you will not be able to add characters unless you expand the ``month/day'' column, so you will need to either shrink the adjacent ``accommodation'' column or move the entire column to the right. (2
) is a case where the "accommodation" column is reduced. Therefore, "Accommodation" and "Tokyo" have been moved, and the vertical ruled line on the right side of the month/day column before the change has been deleted. Next, (3)
As shown in the figure, vertical ruled lines are drawn to extend the table columns, and the "year, month, and day" are newly written to complete the table layout changing process.

図(b)は、横罫線を挿入して表の欄の数を増加する場
合の従来の処理方法の説明図である。
Figure (b) is an explanatory diagram of a conventional processing method for increasing the number of columns in a table by inserting horizontal ruled lines.

図において、(1)は表レイアウトを変更しようとする
画面上での表を示す。
In the figure, (1) shows the table on the screen whose table layout is to be changed.

従来は、先ず、罫線を挿入しようとする位置にカーソル
を合わせ、スペースを一行挿入する。
Conventionally, first, a user places the cursor at the position where a ruled line is to be inserted and inserts a space.

(2)は、スペースを1行挿入された画面上の表の状態
を示す。
(2) shows the state of the table on the screen with one row of spaces inserted.

次に、(3)に示すように画面上でカーソルを横罫線を
必要とする位置に合わせ横罫線を書き込む。さらに、ス
ペース領域の縦罫線を必要とする位置にカーソルを位置
合わせし、縦罫線を1本ずつ補関して表を完戒する。
Next, as shown in (3), the cursor is placed on the screen at a position where a horizontal ruled line is required, and a horizontal ruled line is written. Furthermore, the cursor is positioned at a position in the space area where vertical ruled lines are required, and the vertical ruled lines are complemented one by one to complete the table.

〔発明が解決しようとする課題] 5 上記のように、従来の表形式の文書作威処理は、表レイ
アウトの変更を伴う処理では、文字の移動処理、必要と
する罫線を1本づつ書き込み等のわずらわしい操作をし
なければならなかった。
[Problems to be Solved by the Invention] 5. As mentioned above, in the conventional tabular document creation process, processing that involves changing the tabular layout involves moving characters, writing the necessary ruled lines one by one, etc. I had to go through some troublesome operations.

本発明は、表形式の文書作成処理において、表のレイア
ウト変更のための作威者の人力操作部分を減らし、簡単
な操作で表レイアウトの変更が行なえるようにすること
を目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to reduce the amount of manual operation required by an author to change the table layout in a tabular document creation process, and to enable the table layout to be changed with simple operations.

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

本発明は、表形式の文書処理において、文字および罫線
の追加、削除があった場合、表レイアウトの変更の必要
性と可能性を自動的に判定し、表レイアウトの変更の必
要な場合には必要とする箇所に罫線を自動的に移動処理
し、さらに罫線の移動処理で消去された必要な罫線部分
は、自動的に罫線を補関するようにした。
The present invention automatically determines the necessity and possibility of changing the table layout when characters and ruled lines are added or deleted in tabular document processing, and automatically determines the necessity and possibility of changing the table layout. The ruled line is automatically moved to the required location, and the necessary ruled line portion that is erased by the ruled line movement process is automatically supplemented with the ruled line.

本発明の基本的構戒を第1図により説明する。The basic structure of the present invention will be explained with reference to FIG.

第1図(a)は本発明の基本構成を示す。FIG. 1(a) shows the basic configuration of the present invention.

図において、1は文字、図形等の入力手段、26 は人力された文字、図形等の表示手段、3は入力された
文字データ、図形データを処理するcpu,4は処理プ
ログラム、作或データ等を格納するメモリ、5は文字等
の入力データに従って表の作戒処理を行う表作或手段、
6は作威されたデータを保存するフロッピーディスク装
置、7はプリンタ等の出力装置、10は画面上の罫線の
位置を判定する罫線領域判定部、11は罫線を移動処理
した場合に移動により縮小される欄に書き込まれていた
文字がおさまるかどうかを判定する枠あふれ判定部、l
2は枠組みの変更のため罫線を移動する罫線移動処理部
、13は罫線の移動があった場合、縮小された欄および
拡張された欄の文字レイアウトを変更する文字レイアウ
ト変更処理部、14は罫線の移動処理の結果必要となっ
た罫線の空白部分に罫線を補間する罫線補間処理部、2
0は罫線の移動処理の結果生じた罫線部分の空白部分を
判定する罫線分断判定部、21は空白を生じた罫線部分
に必要な罫線を補う罫線補間部である。
In the figure, 1 is an input means for characters, figures, etc., 26 is a display means for manually inputted characters, figures, etc., 3 is a CPU that processes input character data and figure data, 4 is a processing program, creation data, etc. 5 is a table layout or means for performing table layout processing according to input data such as characters;
6 is a floppy disk device for saving the created data, 7 is an output device such as a printer, 10 is a ruled line area determination unit that determines the position of the ruled line on the screen, and 11 is a unit that reduces the size by moving when the ruled line is moved. a frame overflow determination unit that determines whether or not the characters written in the column to be filled will fit;
2 is a ruled line movement processing unit that moves the ruled line to change the frame; 13 is a character layout change processing unit that changes the character layout of the reduced column and expanded column when the ruled line is moved; 14 is the ruled line a ruled line interpolation processing unit that interpolates ruled lines in blank areas of ruled lines that are required as a result of the movement process;
Reference numeral 0 denotes a ruled line division determination unit that determines a blank space in a ruled line portion resulting from the ruled line movement process, and 21 represents a ruled line interpolation unit that supplements a necessary ruled line in the ruled line portion where a blank is generated.

〔作用〕[Effect]

第1図(b)、(C)により本発明の基本構成の作用を
説明する。
The operation of the basic configuration of the present invention will be explained with reference to FIGS. 1(b) and 1(C).

図(b)は、表の文字の追加により表レイアウトの変更
を必要とする場合を示す。
Figure (b) shows a case where the table layout needs to be changed due to the addition of characters to the table.

図において(1)はレイアウ1〜変更前の表示画面上で
の表を示す。但し、点線部分は説明の便宜上書き添えた
もので画面上の表示ではない。
In the figure, (1) shows a table on the display screen before layout 1 to change. However, the dotted line portions are added for convenience of explanation and are not displayed on the screen.

(1)の表において「登別温泉」を「カルルス温泉」に
変更しようとする場合について説明する。
The case where "Noboribetsu Onsen" is to be changed to "Karurus Onsen" in the table (1) will be explained.

入力手段1によりカーソルで書き込み位置(「登別温泉
」の欄の先頭位置)指定した後、「カルルス温泉」に書
き直ししようとすると、該当部分の欄の中の文字書き込
み領域の桁数が不足するためその欄を拡張する必要があ
る。そのため、枠あふれ判定部l1は枠組変更の必要を
判断し、さらに図示の縦罫線Aを右側に移動して右隣の
欄を縮小した場合にそこの書き込み(「周囲の観光地」
)の文字レイアウトが収まりきるかどうかの枠あふれを
判定する。図の例においては枠あふれを生しないので、
罫線移動処理部12は縦罫線Aを1つ右側に自動的に移
動処理し、同時に文字レイアウト変更処理部13は隣の
枠組みの文字「周囲の観光地」も自動的に右に1つ移動
する。さらに、罫線分断判定部20は、罫線の移動処理
の結果生した罫線部分Bに生じた空白を検知し、罫線補
間部21は必要な横罫線Bを空白を生した罫線部分に自
動的に補関し表の変更処理を終了する。
After specifying the writing position (the first position of the column for "Noboribetsu Onsen") with the cursor using input means 1, when you try to rewrite it to "Karurus Onsen", the number of digits in the text writing area in the corresponding column is insufficient. That field needs to be expanded. Therefore, the frame overflow determining unit l1 determines the necessity of changing the framework, and further moves the illustrated vertical ruled line A to the right to reduce the size of the column on the right.
) determines whether the character layout can fit within the frame or not. In the example in the figure, the frame does not overflow, so
The ruled line movement processing unit 12 automatically moves the vertical ruled line A one position to the right, and at the same time, the character layout change processing unit 13 automatically moves the characters “surrounding tourist spots” in the adjacent frame one position to the right. . Furthermore, the ruled line division determination unit 20 detects a blank space generated in the ruled line portion B resulting from the ruled line movement processing, and the ruled line interpolation unit 21 automatically interpolates the necessary horizontal ruled line B to the ruled line portion that has created the blank space. Terminates the table change process.

次に、図(c)により、表の一部の欄を拡張する場合に
ついて、本発明の基本構戒の作用を説明する。
Next, the operation of the basic structure of the present invention will be explained with reference to FIG.

図において、(1)は表レイアウトを変更する画面上で
の表を示す。
In the figure, (1) shows the table on the screen whose table layout is to be changed.

先ず、カーソルをスペースを挿入する位置にあわせ、ス
ペース挿入を指示する。
First, place the cursor at the position where a space is to be inserted and instruct the user to insert a space.

罫線領域判定部10は罫m8i域を判定し、枠あふれ判
定部l1は、枠あふれの生じないことを判断ずると、罫
線移動処理部12は罫線を移動処理し、(2)に示すよ
うに表示画面上で表中にスペースを1列挿入する。
When the ruled line area determination unit 10 determines the ruled m8i area and the frame overflow determination unit l1 determines that no frame overflow occurs, the ruled line movement processing unit 12 moves the ruled line, as shown in (2). Inserts a column of spaces in the table on the display screen.

次に、罫線分断判定部20は罫線の移動により生した罫
線領域の空白部分に必要な罫線を自動的に補間ずる。
Next, the ruled line division determination unit 20 automatically interpolates necessary ruled lines in the blank area of the ruled line area created by the movement of the ruled line.

(3)は、横罫線を空白部に補間して得られた変更レイ
アウト表を示す。
(3) shows a modified layout table obtained by interpolating horizontal ruled lines into blank areas.

〔実施例〕〔Example〕

第2図により本発明の実施例の構戒を説明する。 The structure of the embodiment of the present invention will be explained with reference to FIG.

図において、31は文字、図形等を人力するキーボード
、32はキーボード31より人力された文字等を読み取
って文字データに変換する読取装置、33は文書処理プ
ログラム、入力データ等を格納するRAM,34はシス
テムプログラム、漢字辞書等を格納してあるROM,3
5は文字等の人力データを文書処理プログラムにしたが
って処理するCPU,38はCPU3 5で処理された
文書データを出力装置に出力するための出力制御装置、
39はCPU35で処理された文書データを印刷するプ
リンタ、40はCPU35で処理された文書データを表
示画面上に文字パターン、図形10− パターンとして出力するCRT、41は表のレイアウト
を変更するための表処理手段、51は表処理手段を起動
するための起動処理部、52は作業者からの指示により
行挿入,列挿入機能の実行や罫線の移動を部分的に行う
部分移動モードか全体的に行う全体移動モードかを判断
する表編集有無判定部、53は表レイアウトの変更を必
要とする場合に罫線領域を判定して罫線の移動箇所を判
断する罫線領域判定部、54は罫線を移動処理した場合
に移動により縮小される欄に書き込まれていた文字がお
さまるかどうかを判定する枠あふれ判定部、55は罫線
の移動処理をする罫線移動処理部、55−1は部分的に
罫線を移動するモードにおける罫線の部分移動処理部、
55−2は罫線を全体的に移動するモードの場合に全体
的に罫線の移動処理をする罫線の全体移動処理部、57
は表の欄の拡張縮小を判定する枠拡張縮小判定部、58
は表の欄の拡張縮小を必要とする場合に文字レイアウト
の変更処理をする文字レイアウト変更処理部、59は罫
線移動の結果生した罫線を必要とする空白部分を判断す
る罫線分断判定部、60は罫線部分の空白部分に必要と
する罫線を補う罫線補間部である。
In the figure, 31 is a keyboard for manually inputting characters, figures, etc., 32 is a reading device for reading characters input manually from the keyboard 31 and converting them into character data, 33 is a RAM for storing a document processing program, input data, etc.; is a ROM that stores system programs, kanji dictionaries, etc.
5 is a CPU that processes human data such as characters according to a document processing program; 38 is an output control device for outputting the document data processed by CPU 35 to an output device;
39 is a printer that prints the document data processed by the CPU 35; 40 is a CRT that outputs the document data processed by the CPU 35 as character patterns and graphic patterns on the display screen; 41 is a printer for changing the table layout; Table processing means, 51 is a startup processing unit for starting the table processing means, and 52 is a partial movement mode in which row insertion, column insertion functions and ruled line movement are performed partially or entirely according to instructions from the operator. 53 is a ruled line area determining unit that determines the ruled line area and determines where to move the ruled line when the table layout needs to be changed; 54 is a ruled line moving process; 55 is a frame overflow determining unit that determines whether the characters written in the column to be reduced due to movement will fit in the column when the character is moved; 55 is a ruled line movement processing unit that performs ruled line movement processing; 55-1 is a partially moved ruled line; A partial movement processing unit for ruled lines in a mode where
55-2 is a general ruled line movement processing unit 57 that performs movement processing of the ruled line as a whole when in the mode of moving the ruled line as a whole;
58 is a frame expansion/reduction determination unit that determines expansion/reduction of a table column;
59 is a character layout change processing unit that changes the character layout when expansion/reduction of a table column is required; 59 is a ruled line division determination unit that determines a blank area that requires a ruled line as a result of moving the ruled line; 60 is a ruled line interpolation unit that supplements necessary ruled lines in blank areas of ruled line areas.

第3図ないし第8図により本発明の実施例構成の動作を
説明する。
The operation of the embodiment of the present invention will be explained with reference to FIGS. 3 to 8.

第3図は、表の上から2番目の欄全部にスペースをl行
挿入して欄を縦に拡張する場合を示し、(a)はそのフ
ローであり、(b)は画面上での表の作威経過を示す。
Figure 3 shows the case where l spaces are inserted into the entire second column from the top of the table to expand the column vertically, (a) is the flow, and (b) is the table on the screen. It shows the progress of production.

図(a)のフロー図に示す番号により実施例の動作を必
要により2図を参照して説明する。
The operation of the embodiment will be explained using the numbers shown in the flowchart of FIG. 2(a), with reference to FIG. 2 as necessary.

■ 表編集有無判定部52が表編集モードを判定すると
罫線領域判定部53は、罫線領域を検索し、罫線領域を
判定する。
(2) When the table editing presence/absence determining section 52 determines the table editing mode, the ruled line area determining section 53 searches for a ruled line area and determines the ruled line area.

■ 操作者からの行挿入箇所の指示を待つ。■ Wait for instructions from the operator about where to insert the line.

■ 行の挿入指示がなければ、処理を終了し、行の挿入
指示があると、枠あふれ判定部54は枠あふれの有無を
判定し、枠あふれがなければ罫線移動処理部55は罫線
の移動処理を実行して、指定された箇所にl行分の空白
を挿入する。
■ If there is no line insertion instruction, the process ends; if there is a line insertion instruction, the frame overflow determining unit 54 determines whether or not there is a frame overflow; if there is no frame overflow, the ruled line movement processing unit 55 moves the ruled line. Execute the process to insert l lines of blank space at the specified location.

■ 罫線分断判定部59は罫線の移動処理の結果、罫線
の分断された箇所を判定して、罫線補間部60は罫線の
分断された箇所で罫線を必要とする部分に罫線を補関す
る。
(2) As a result of the ruled line movement processing, the ruled line division determination unit 59 determines the divided part of the ruled line, and the ruled line interpolation unit 60 interpolates the ruled line to a part where the ruled line is divided and requires a ruled line.

第4図は、表の欄に1文字分のスペースを挿入し、欄を
横に拡張する場合を示す。図(a)はそのフローであり
、図(b)は画面上での表の作或経遇を示す。
FIG. 4 shows a case where a space for one character is inserted into a table column and the column is expanded horizontally. Figure (a) shows the flow, and Figure (b) shows how the table is created on the screen.

第4図と第3図では、スペースの挿入が行と列の違いの
みであるので、説明は省略する。
In FIG. 4 and FIG. 3, the only difference in the insertion of spaces is between rows and columns, so the explanation will be omitted.

第5図は、表中へ文字を追加する表レイアウト変更の場
合のフローを示す。
FIG. 5 shows the flow when changing the table layout to add characters to the table.

第5図において、表5−1は、文字を追加しても罫線移
動を必要としない場合を示す。表5−2は部分罫線移動
処理において、罫線移動の可能な場合を示す。表5−3
は罫線の部分移動モードにおいて枠あふれエラーを生じ
るため罫線移動できない場合を示す。表5−4は罫線の
全体移動により表レイアウトを変更した場合を示す。
In FIG. 5, Table 5-1 shows a case where the addition of characters does not require moving the ruled line. Table 5-2 shows cases in which ruled line movement is possible in partial ruled line movement processing. Table 5-3
indicates a case where the ruled line cannot be moved because a frame overflow error occurs in the ruled line partial movement mode. Table 5-4 shows a case where the table layout is changed by moving the entire ruled line.

図に付した番号に従って、フローを説明する。The flow will be explained according to the numbers attached to the diagram.

一 l 3一 ■ 罫vA領域判定部53は文字を追加した欄に枠あふ
れを生しるかどうかを判定する.■ 枠あふれがなけれ
ば、文字の追加処理をする(表5−1)。
1 3 1 ■ The ruled vA area determination unit 53 determines whether or not the frame overflow occurs in the column to which characters are added. ■ If the frame does not overflow, add characters (Table 5-1).

■ 枠あふれがある場合には、表レイアウトの変更処理
をする。
■ If the frame overflows, change the table layout.

■ 罫線固定モードであれば、枠あふれがある場合には
文字の追加はできないので、枠あふれエラーとして処理
を終了する。
■ In fixed ruled line mode, if there is an overflowing frame, characters cannot be added, so the process is terminated as an error overflowing the frame.

■ 罫線全体を移動するモードであれば、罫線移動処理
部55は文字を追加する欄の右側の罫線およびそれより
右にある罫線および書き込み文字について、文字のレイ
アウトを変更する。
(2) If the mode is to move the entire ruled line, the ruled line movement processing unit 55 changes the character layout for the ruled line on the right side of the column to which characters are added, and for the ruled lines and written characters to the right.

■ 罫線分断判定部59は、罫線移動の結果、空白とな
った罫線部分を判定し,罫線補間部60は罫線を補関す
る. ■ 罫線の部分移動モードの場合には、桁あふれ判定部
54は、追加文字のある欄の右側の欄をl4 罫線移動により縮小すると枠あふれを生しるかどうか判
定する。
■ A ruled line division determination unit 59 determines a ruled line portion that becomes blank as a result of ruled line movement, and a ruled line interpolation unit 60 interpolates the ruled line. (2) In the case of the partial ruled line movement mode, the overflow determining unit 54 determines whether frame overflow will occur if the column on the right side of the column containing additional characters is reduced by l4 ruled line movement.

■ 枠あふれがあれば、枠あふれエラーとして処理を終
了する(表5−3)。
■ If there is a frame overflow, the process is terminated as a frame overflow error (Table 5-3).

[相] 枠あふれがなければ、罫線移動処理部55は縦
罫線を右側に移動する(表5−2)。
[Phase] If there is no frame overflow, the ruled line movement processing unit 55 moves the vertical ruled line to the right (Table 5-2).

■ 文字レイアウト変更処理部58は拡張された列につ
いて文字のレイアウト変更をする。
■ The character layout change processing unit 58 changes the character layout for the expanded column.

■ 文字レイアウト変更処理部58は圧縮された欄につ
いて文字のレイアウト変更をする。
(2) The character layout change processing unit 58 changes the character layout for the compressed column.

■ 罫線分断判定部59は罫線の移動処理の結果、罫線
の分断された箇所を判定して、罫線補間部60は罫線の
分断された箇所で罫線を必要とする部分に罫線を補関す
る。
(2) As a result of the ruled line movement processing, the ruled line division determination unit 59 determines the divided part of the ruled line, and the ruled line interpolation unit 60 interpolates the ruled line to a part where the ruled line is divided and requires a ruled line.

第6図は、表中の文字を削除する場合のフローを示す。FIG. 6 shows a flow for deleting characters in a table.

表6−1は文字削除により罫線移動を必要としない場合
を示す。表6−2は文字の削除の結果図示の罫線八の移
動を必要とする場合を示す。表63は文字削除の結果罫
線を部分的に移動した場合を示す。表6−4は文字削除
の結果罫線を全体的に移動する場合を示す。
Table 6-1 shows a case where moving the ruled line is not necessary due to character deletion. Table 6-2 shows cases where the illustrated ruled line 8 needs to be moved as a result of character deletion. Table 63 shows a case where a ruled line is partially moved as a result of character deletion. Table 6-4 shows the case where the entire ruled line is moved as a result of character deletion.

表6−1に示すように、「上り」を削除する場合には、
文字を削除しても表レイアウトの変更は必要としないの
で文字の削除処理のみをする。
As shown in Table 6-1, when deleting "up",
Even if a character is deleted, there is no need to change the table layout, so only the character deletion process is performed.

表6−2のように、「上り」を削除する場合には、罫線
の固定モードの場合では、表のレイアウトの変更はしな
いので、文字削除のみを行う。罫線の全体移動モードの
場合には、表6−2の縦罫線Aより右の領域全体を左に
移動し、罫線の部分移動モードの場合には、縦罫線Aの
みを左に移動し、拡張された右隣の欄に書かれている文
字について文字レイアウトの変更を行う。
As shown in Table 6-2, when deleting "up", only characters are deleted because the layout of the table is not changed in the ruled line fixed mode. In the case of the entire ruled line movement mode, the entire area to the right of the vertical ruled line A in Table 6-2 is moved to the left, and in the case of the partial ruled line movement mode, only the vertical ruled line A is moved to the left and expanded. Change the character layout of the characters written in the column to the right of the selected character.

第7図は、移動する罫線を指定し、罫線の部分移動モー
ドにおいて指定した縦罫線のみを右に移動するか、ある
いは全体移動モードにおいて指定した罫線より右側にあ
る縦罫線および書き込み文字を全て右側に移動処理する
場合のフローを示す。
Figure 7 shows how to specify the ruled line to be moved and either move only the specified vertical ruled line to the right in partial ruled line movement mode, or move all the vertical ruled lines and written characters to the right of the specified ruled line in whole movement mode. The flow for moving processing is shown below.

第7図の場合には文字追加により罫線を右側に移動処理
する第5図における場合と表レイアウト変更の基本とな
る罫線を指定する点以外は違いはないので説明は省略す
る。
The case shown in FIG. 7 is the same as the case shown in FIG. 5, in which the ruled line is moved to the right by character addition, except for specifying the ruled line that is the basis for changing the table layout, so the explanation will be omitted.

第8図は、移動する罫線を指定し、罫線の部分移動モー
ドにおいて指定した縦罫線のみを左に移動し、全体移動
モードにおいて指定した罫線より左側にある縦罫線およ
び書き込み文字を全て左側に移動処理する場合のフロー
を示す。
Figure 8 shows how to specify a ruled line to move, move only the specified vertical ruled line to the left in partial ruled line movement mode, and move all vertical ruled lines and written characters to the left of the specified ruled line in whole movement mode. The flow of processing is shown below.

罫線移動を左側に移動する点以外は第7図の場合と違い
がないので説明は省略する。
Since there is no difference from the case of FIG. 7 except that the ruled line is moved to the left, the explanation will be omitted.

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

本発明の文書処理装置は、表中の文字の追加、削除等に
伴う表レイアウトの変更および文字レイアウトの変更を
自動的に行うことができるため、表レイアウト変更のた
め罫線の引き直し、文字の移動等の入力操作を必要とし
ないので、表形式の文書処理を効率的に行うことができ
る。
The document processing device of the present invention can automatically change the table layout and change the character layout due to the addition or deletion of characters in the table. Since input operations such as movement are not required, tabular document processing can be performed efficiently.

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

一1 7ー 第1図は、本発明の原理説明図である。 第2図は、本発明の実施例構威図である。 第3図は、本発明の実施例構戒装置により、表の欄を縦
に拡張する場合の説明図である。 第4図は、本発明の実施例構成装置により、表の欄を横
に拡張する場合の説明図である。 第5図は、本発明の実施例構戒装置により、表中に文字
を追加する場合の説明図である。 第6図は、本発明の実施例構威装置により、表中の文字
を削除する場合の説明図である。 第7図は、本発明の実施例構威装置により、表中の罫線
を右に移動する場合の説明図である。 第8図は、本発明の実施例構威装置により、表中の罫線
を左に移動する場合の説明図である。 第9図は、従来の文書処理装置における表レイアウトの
変更処理方法の説明図である。 図中, 5 :表作或手段、 lO:罫線領域判定部、 18 11:枠あふれ判定部、 12:罫線移動処理部、 13:文字レイアウト変更処理部、 14:罫線補間処理部、 20:罫線分断判定部、 21:罫線補間部。
117-FIG. 1 is a diagram illustrating the principle of the present invention. FIG. 2 is a structural diagram of an embodiment of the present invention. FIG. 3 is an explanatory diagram when the columns of a table are expanded vertically by the construction system according to the embodiment of the present invention. FIG. 4 is an explanatory diagram when a table column is expanded horizontally by the configuration device according to the embodiment of the present invention. FIG. 5 is an explanatory diagram of the case where characters are added to a table using the compositional system according to the embodiment of the present invention. FIG. 6 is an explanatory diagram of the case where characters in a table are deleted by the configuration apparatus according to the embodiment of the present invention. FIG. 7 is an explanatory diagram when the ruled line in the table is moved to the right by the configuration apparatus according to the embodiment of the present invention. FIG. 8 is an explanatory diagram of the case where ruled lines in a table are moved to the left by the configuration apparatus according to the embodiment of the present invention. FIG. 9 is an explanatory diagram of a table layout changing processing method in a conventional document processing device. In the figure, 5: table drawing or means, lO: ruled line area determination section, 18 11: frame overflow determination section, 12: ruled line movement processing section, 13: character layout change processing section, 14: ruled line interpolation processing section, 20: ruled line Division determination unit 21: Ruled line interpolation unit.

Claims (1)

【特許請求の範囲】 表形式による文書の編集処理を画面上で行う表作成手段
を備えた文書処理装置において、 表作成手段は、画面上の表の罫線のある領域を判定する
罫線領域判定部と、表に書き込む文字および表を構成す
る罫線の移動もしくは追加もしくは削除による表レイア
ウトの変更の可能性を判定する枠あふれ判定部と、 表のレイアウトの変更のため罫線を移動処理する罫線移
動処理部と、 表の罫線の移動により生じた移動した罫線のあった元の
領域の空白部分に必要な罫線を自動的に補間する罫線補
間処理部とを備え、 表作成手段は、作成表の編集処理において、画面上の表
への文字およびスペースの挿入および削除に応じて表レ
イアウトの変更が必要な場合には、枠あふれ判定部は表
レイアウトの変更の可能性を判定し、表レイアウトを変
更できる場合には、罫線移動処理部は必要とする位置に
罫線を自動的に移動し、罫線補間処理部は空白を生じた
罫線部には自動的に罫線を追加することにより表のレイ
アウトの変更を行うことを特徴とする表作成機能を備え
た文書処理装置。
[Scope of Claims] In a document processing device equipped with a table creation means for editing a document in a table format on a screen, the table creation means includes a ruled line area determination unit that determines an area with ruled lines of the table on the screen. , a frame overflow determination unit that determines the possibility of changing the table layout by moving, adding, or deleting the characters to be written in the table and the ruled lines that make up the table; and a ruled line movement process that moves the ruled lines to change the table layout. and a ruled line interpolation processing unit that automatically interpolates the necessary ruled lines in the blank area of the original area where the moved ruled line was caused by the movement of the ruled line of the table. During processing, if it is necessary to change the table layout in accordance with the insertion or deletion of characters and spaces in the table on the screen, the frame overflow determination unit determines the possibility of changing the table layout and changes the table layout. If possible, the ruled line movement processing section automatically moves the ruled line to the required position, and the ruled line interpolation processing section changes the layout of the table by automatically adding a ruled line to the ruled line area where there is a blank space. A document processing device equipped with a table creation function.
JP1301252A 1989-11-20 1989-11-20 Document processing device with table creation function Pending JPH03161861A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1301252A JPH03161861A (en) 1989-11-20 1989-11-20 Document processing device with table creation function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1301252A JPH03161861A (en) 1989-11-20 1989-11-20 Document processing device with table creation function

Publications (1)

Publication Number Publication Date
JPH03161861A true JPH03161861A (en) 1991-07-11

Family

ID=17894594

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1301252A Pending JPH03161861A (en) 1989-11-20 1989-11-20 Document processing device with table creation function

Country Status (1)

Country Link
JP (1) JPH03161861A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05189424A (en) * 1991-11-11 1993-07-30 Sanyo Electric Co Ltd Device and method for editing document
US6283654B1 (en) 1998-02-17 2001-09-04 Seiko Epson Corporation Image-forming method and device and electronic apparatus incorporating the device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01217545A (en) * 1988-02-25 1989-08-31 Toshiba Corp Document preparing device
JPH01266662A (en) * 1988-04-19 1989-10-24 Canon Inc Document processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01217545A (en) * 1988-02-25 1989-08-31 Toshiba Corp Document preparing device
JPH01266662A (en) * 1988-04-19 1989-10-24 Canon Inc Document processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05189424A (en) * 1991-11-11 1993-07-30 Sanyo Electric Co Ltd Device and method for editing document
US6283654B1 (en) 1998-02-17 2001-09-04 Seiko Epson Corporation Image-forming method and device and electronic apparatus incorporating the device

Similar Documents

Publication Publication Date Title
JPH0541997B2 (en)
JPH03161861A (en) Document processing device with table creation function
JPS61241866A (en) Documentation device
JP2851846B2 (en) Document processing method and apparatus
JP2825816B2 (en) Document logical structure editing device
JP2823162B2 (en) Document processing device
JPS62143189A (en) Document editing method
JPS6375964A (en) Table creation method
JPH0447865B2 (en)
JPH0683553A (en) Tabulation device
JPS62179064A (en) Picture processing system
JP3404770B2 (en) Document processing device
JPH01130267A (en) Document processor
JP2833701B2 (en) Document processing method
JPH05189424A (en) Device and method for editing document
JPH01130274A (en) Document processor
JPH0573544A (en) Document editing device
JPH03194649A (en) Table structure control system
JPH01130254A (en) Document processor
JPH0827698B2 (en) Document processing device
JPS6177980A (en) Picture processing system
JPH04247559A (en) Document processor
JPH0463785B2 (en)
JPH0384659A (en) Document editing device
JPH0567089A (en) Word processor