JPH03268177A - Automatic rearrangement system for table - Google Patents

Automatic rearrangement system for table

Info

Publication number
JPH03268177A
JPH03268177A JP6733590A JP6733590A JPH03268177A JP H03268177 A JPH03268177 A JP H03268177A JP 6733590 A JP6733590 A JP 6733590A JP 6733590 A JP6733590 A JP 6733590A JP H03268177 A JPH03268177 A JP H03268177A
Authority
JP
Japan
Prior art keywords
item
coordinate
data
holding means
changing
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
JP6733590A
Other languages
Japanese (ja)
Inventor
Yoshiharu Sato
義治 佐藤
Yasuo Iwami
岩見 泰夫
Kenichi Fukuda
健一 福田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP6733590A priority Critical patent/JPH03268177A/en
Publication of JPH03268177A publication Critical patent/JPH03268177A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To eliminate the complexity of operation by providing the automatic table rearrangement system with a table constitutional relation data storing means, a table constitutional graphic data storing means, item relation input means, a size position input means, and a graphic data changing means and displaying a rearranged table on a screen. CONSTITUTION:At the time of inputting and editing a table, the item relation input means 3 changes the grouping relation of respective items in the table constitution relation data storing means 1 in accordance with an instruction displayed on a screen and the size position input means 4 changes a display position in each item stored in the table constitutional graphic data storing means 2. When the rearrangement of a table is instructed from the external, the graphic data changing means 5 executes processing for changing the maximum value of height in each item group to a new height value in each item group by using the changed data stored in both the means 1, 2. Then the table is displayed by using the graphic size of each item whose changing processing has been completed and its display position data.

Description

【発明の詳細な説明】 〔概要〕 表示画面上における表の再配置方式に関し、項目単位の
編集によって表の自動再配置を行う表の自動再配置方式
を提供することを目的とし、画面上で表の入力5編集を
行うシステムにおいて、複数の項目間のグループ分けの
関係のデータを保持する表構成関係データ保持手段と、
各項目の図形サイズと表示位置のデータを保持する表構
成図形データ保持手段と、表構成関係データ保持手段の
各項目間のグループ分&Jの関係を変更する項目関係入
力手段と、表構成図形データ保持手段の項目ごとの表示
位置を変更するサイズ位置入力手段と、表構成図形デー
タ保持手段の各項目の図形サイズとその表示位置につい
て、項目群中のX座標の最小値に自分よりX座標が小さ
い項目の幅の合計を加算して新しいX座標とし、項目群
中のY座標の最小値を新しいY座標とし、項目群中の高
さの最大値を新しい高さとする変更処理を各項目群ごと
に行う図形データ変更手段とを設り、項目単位の表の編
集に応じて自動的に再配置された表を画面上に表示する
ことによって構成する。
[Detailed Description of the Invention] [Summary] The purpose of this invention is to provide an automatic table rearrangement method that automatically rearranges tables by editing each item with respect to a table rearrangement method on a display screen. In a system for inputting and editing a table, a table structure relationship data holding means holds data on grouping relationships between a plurality of items;
Table structure figure data holding means for holding data on the figure size and display position of each item, item relationship input means for changing the group &J relationship between each item of the table structure relation data holding means, and table structure figure data holding means. The size position input means for changing the display position of each item in the holding means, and the figure size and display position of each item in the table structure figure data holding means, when the X coordinate is smaller than the minimum value of the X coordinate in the item group. For each item group, add the sum of the widths of small items to make the new X coordinate, set the minimum value of the Y coordinate in the item group to the new Y coordinate, and set the maximum value of the height in the item group to the new height. The system is constructed by displaying on the screen a table that is automatically rearranged according to the editing of the table for each item.

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

本発明は、表示画面」二における表の再配置方式に係り
、特に計算機を用いて表の入力1編集を行う際における
、表の内部表現方式およびその処理方式を改善した表の
自動再配置方式に関する。
The present invention relates to a table rearrangement method on a display screen, and in particular, an automatic table rearrangement method that improves the internal representation method of tables and its processing method when inputting and editing tables using a computer. Regarding.

計算機を用いてデイスプレィ画面上において表の入力1
編集を行う手法は、例えばUNTXのX−ウィンドウシ
ステム等が知られている。このような表の入力1編集の
作業を行う場合には、その操作性を高めるために、項目
単位で表の編集を行うことが行われている。
Entering the table on the display screen using a calculator 1
For example, the UNTX X-window system is known as a method for performing editing. When performing such table input/editing work, the table is edited item by item in order to improve the operability.

この際、このような項目単位の移動や削除等によって、
画面上で表の位置関係がずれてしまわないように、表の
位置やサイズの自動修正が可能であることが要望される
At this time, by moving or deleting items,
It is desired to be able to automatically correct the position and size of the table so that the positional relationship of the table does not shift on the screen.

(従来の技術) 従来、計算機を用いて表の入力1編集を行う場合には、
項目単位で表の編集を行うことは行われているが、この
場合、項目単位の表の移動や削除等によって、画面上で
表の位置関係がずれてしまうような場合でも、これらの
表の位置やサイズの自動修正を行うことができる方式は
存在していなかった。
(Prior art) Conventionally, when inputting and editing a table using a computer,
Tables can be edited on an item-by-item basis, but in this case, even when moving or deleting tables on an item-by-item basis may cause the tables to be misaligned on the screen, these tables can be edited. There was no method that could automatically correct the position and size.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従って、計算機を用いて表の入力2編集を行う際に、項
目単位の表の移動や削除等によって、画面上で表の位置
関係がずれてしまった場合には、表の位置やサイズの修
正を手動操作によって、その都度行わなければならなか
った。
Therefore, when inputting/editing a table using a calculator, if the position of the table shifts on the screen due to moving or deleting the table by item, the position and size of the table can be adjusted. had to be performed manually each time.

第7図(a)〜(d)図は、従来技術の問題点を説明す
る図である。
FIGS. 7(a) to 7(d) are diagrams for explaining problems in the prior art.

第7図(a)のように、最初項目A〜Cからなる表1と
、項目り、Bからなる表2とが画面」−に配置されてい
た場合に、これを第7図(d)に示すように、項目Bを
表2の方に移動させたいとする。
As shown in Figure 7(a), if Table 1 consisting of items A to C and Table 2 consisting of items B are placed on the screen, then this is shown in Figure 7(d). Suppose that we want to move item B toward Table 2, as shown in the figure below.

この場合は、第7図(b)に示すようにまず項目Bを表
2の方に移動させ、次に第7図(C)に示すように項目
Bのサイズの変更を行い、その後、第7図(d)に示す
ように表1の項目A(または項目C)を移動させなけれ
ばならない。
In this case, first move item B to Table 2 as shown in Figure 7(b), then change the size of item B as shown in Figure 7(C), and then Item A (or item C) in Table 1 must be moved as shown in Figure 7 (d).

このように従来の方式では、操作が煩雑であるだけでな
く、位置やサイズを合わせるだけでもなかなか大変な作
業であるという問題があった。
As described above, the conventional method has the problem that not only the operation is complicated, but also the task of just adjusting the position and size is quite difficult.

本発明はこのような従来技術の課題を解決しようとする
ものであって、表の構成データを項目単位で保持し、さ
らにその項目同志のグループ分けの関係を保持すること
によって、表に対して項目単位の編集(移動、削除等)
を行ったときに、表の自動再配置を行うことができ、従
って操作の煩雑さを解消することができる、表の自動再
配置方式を提供することを目的としている。
The present invention is an attempt to solve the problems of the prior art as described above.The present invention is intended to solve the problems of the prior art. Editing each item (move, delete, etc.)
It is an object of the present invention to provide an automatic table rearrangement method that can automatically rearrange tables when performing the above operations, thereby eliminating the complexity of operations.

〔課題を解決するだめの手段] 本発明は第1図にその原理的構成を示すように計算機を
用いて画面上において表の入力2編集を行うシステムに
おいて、表構成関係データ保持手段1と、表構成図形デ
ータ保持手段2と、項目関係入力手段3と、サイズ位置
入力手段4と、図形データ変更手段5とを設けることに
よって、項目単位の表の編集に応じて自動的に再配置さ
れた表を画面上に表示するようにしたものである。
[Means for Solving the Problems] As shown in FIG. 1, the present invention provides a system for inputting and editing tables on a screen using a computer, as shown in FIG. By providing a table structure graphic data holding means 2, an item relationship input means 3, a size position input means 4, and a graphic data changing means 5, the data can be automatically rearranged according to the editing of the table for each item. A table is displayed on the screen.

ここで表構成関係データ保持手段1は、複数の項目の図
形をグループに分けて複数の表にまとめた場合の各項目
間のグループ分けの関係を示すデータを保持するもので
あり、表構成図形データ保持手段2は、各項目ごとの図
形サイズとその表示位置を示すデータを保持する。また
項目関係入力手段3は、画面上における指示に応じて表
構成関係データ保持手段1における各項目間のグループ
分けの関係を変更する機能を有し、サイズ位置入力手段
4ば、画面上における指示に応じて表構成図形データ保
持手段2における項目ごとの表示位置を変更する機能を
有している。さらに図形データ変更手段5は、外部から
表の再配置を指示されたとき、変更された表構成関係デ
ータ保持手段1のデータと表構成図形データ保持手段2
のデータとを用いて、表構成図形データ保持手段2にお
ける各項目の図形サイズとその表示位置について、その
項目が属する項目群中のX座標の最小値に自分よりX座
標が小さい項目の幅の合計を加算して新しいX座標とし
、この項目群中のX座標の最小値を新しいX座標とし、
この項目群中の高さの最大値を新しい高さとするように
変更する処理を各項目群ごとに行うものである。
Here, the table structure relationship data holding means 1 is for holding data indicating the grouping relationship between each item when figures of a plurality of items are divided into groups and summarized in a plurality of tables. The data holding means 2 holds data indicating the graphic size and display position of each item. Further, the item relationship input means 3 has a function of changing the grouping relationship between each item in the table structure relationship data holding means 1 according to an instruction on the screen, It has a function of changing the display position of each item in the table structure graphic data holding means 2 according to the information. Further, when receiving an external instruction to rearrange tables, the graphic data changing means 5 combines the changed data in the table structure relationship data holding means 1 with the data in the table structure relation data holding means 2.
With respect to the graphic size and display position of each item in the table configuration graphic data holding means 2, use the data of Add the total to make a new X coordinate, and make the minimum value of the X coordinate in this item group the new X coordinate,
This process of changing the maximum height in the item group to a new height is performed for each item group.

〔作用〕[Effect]

本発明の表の自動再配置方式は、計算機を用いて画面上
において表の入力9編集を行うシステムにおいて、項目
単位の表の編集に応じて自動的に再配置された表を画面
上に表示することができるものである。
The automatic table rearrangement method of the present invention is a system that inputs and edits a table on a screen using a computer, and displays a table that is automatically rearranged according to item-by-item table editing on the screen. It is something that can be done.

そのために、表構成関係データ保持手段1に、複数の項
目の図形をグループに分けて複数の表にまとめた場合の
各項目間のグループ分けの関係を示すデータを保持して
おくとともに、表構成図形データ保持手段2に、各項目
ごとの図形サイズとその表示位置を示すデータを保持す
るようにする。
To this end, the table configuration relationship data holding means 1 stores data indicating the grouping relationship between each item when figures of multiple items are divided into groups and summarized in multiple tables. The graphic data holding means 2 is configured to hold data indicating the graphic size and display position of each item.

そして表の入力1編集を行う際には、画面上における指
示に応じて、項目関係入力手段3が表構成関係データ保
持手段1における各項目間のグループ分けの関係を変更
し、サイズ位置入力手段4が表構成図形データ保持手段
2における項目ごとの表示位置の変更の処理を行う。
When performing table input 1 editing, the item relationship input means 3 changes the grouping relationship between each item in the table structure relationship data holding means 1 according to the instructions on the screen, and the size position input means 4 performs a process of changing the display position of each item in the table structure graphic data holding means 2.

さらに外部から表の再配置を指示されたとき、図形デー
タ変更手段5が、上述のようにして変更された表構成関
係データ保持手段1のデータと表構成図形データ保持手
段2のデータとを用いて、表構成図形データ保持手段2
における各項目の図形サイズとその表示位置に対して、
その項目が属する項目群中のX座標の最小値に自分より
X座標が小さい項目の幅の合計を加算して新しいX座標
とし、この項目群中のX座標の最小値を新しいX座標と
し、この項目群中の高さの最大値を新しい高さとするよ
うに変更する処理を各項目群ごとに行う。
Further, when an external instruction is given to rearrange tables, the graphic data changing means 5 uses the data in the table structure relation data holding means 1 and the data in the table structure graphic data holding means 2 that have been changed as described above. The table structure graphic data holding means 2
For the shape size and display position of each item in
The sum of the widths of items whose X coordinate is smaller than itself is added to the minimum value of the X coordinate in the item group to which the item belongs, and the new X coordinate is set, and the minimum value of the X coordinate in this item group is set as the new X coordinate, A process of changing the maximum height in this item group to a new height is performed for each item group.

表示部は、このようにして変更の処理を行われた表構成
図形データ保持手段2の各項目の図形サイズとその表示
位置のデータを用いて、デイスプレィにおいて表の表示
を行う。
The display unit displays a table on the display using data on the graphic size of each item and its display position in the table configuration graphic data holding means 2 that has been changed in this way.

従って本発明の方式では、計算機を用いてデイスプレィ
画面上において表に対して項目単位の編集を行う場合に
、表の自動再配置を行うことができるので、画面上で表
の位置関係がずれることがな(、表の位置やサイズの修
正を手動操作によって行う煩雑さを解消できるようにな
る。
Therefore, in the method of the present invention, when editing a table item by item on a display screen using a calculator, the table can be automatically rearranged, so that the positional relationship of the table on the screen will not shift. This will eliminate the hassle of manually adjusting the position and size of tables.

〔実施例〕〔Example〕

第2図は本発明の一実施例の構成を示す図である。同図
において、11は項目関係入力部、12は再配置指定部
、13はサイズ位置入力部、14は表構成関係データ保
持部、15は図形データ変更部、16は表構成図形デー
タ保持部、17ば表示部、18は指示器、19はデイス
プレィである。
FIG. 2 is a diagram showing the configuration of an embodiment of the present invention. In the figure, 11 is an item relationship input section, 12 is a rearrangement specification section, 13 is a size position input section, 14 is a table configuration relationship data holding section, 15 is a graphic data changing section, 16 is a table configuration graphic data holding section, 17 is a display section, 18 is an indicator, and 19 is a display.

第2図において、項目関係入力部11はマウス等の指示
器18によって指示された表の項目間の関係を、表構成
関係データ保持部14に入力する。
In FIG. 2, the item relationship input unit 11 inputs the relationship between table items indicated by an indicator 18 such as a mouse into the table structure relationship data holding unit 14.

再配置指定部12は、指示器18によって表の再配置が
指定されたことを図形データ変更部15に通知する。サ
イズ位置入力部13は、指示器18によって指示された
項目ごとの表のサイズやその表示位置を表構成図形デー
タ保持部16に入力する。表構成関係データ保持部14
は、表の各項目間の関係を保持する。図形データ変更部
15は、表構成図形データ保持部16に保持されている
図形データを変更する。表構成図形データ保持部16は
、項目ごとの表のサイズやその表示位置を保持する。表
示部17は、表構成図形データ保持部16からデイスプ
レィ19に表の表示を行う。
The relocation specifying unit 12 notifies the graphic data changing unit 15 that table relocation has been specified by the indicator 18. The size position input unit 13 inputs the table size and display position for each item specified by the indicator 18 to the table configuration graphic data holding unit 16. Table structure related data holding unit 14
maintains the relationship between each item in the table. The graphic data changing unit 15 changes the graphic data held in the table structure graphic data holding unit 16. The table structure graphic data holding unit 16 holds the size of the table and its display position for each item. The display unit 17 displays a table from the table configuration graphic data holding unit 16 on the display 19.

0 第3図(a)〜(C)は、本発明によって表の再配置を
行う場合の一実施例を示したものである。
0 FIGS. 3(a) to 3(C) show an embodiment in which tables are rearranged according to the present invention.

第4図(a)、 (b)は、表構成関係データの例を示
したものであって、第2図の実施例に対応している。
FIGS. 4(a) and 4(b) show examples of table structure relationship data, and correspond to the embodiment shown in FIG. 2.

第5図(a)〜(C)は、表構成図形データの例を示し
たものであって、同じく第2図の実施例に対応している
FIGS. 5(a) to 5(C) show examples of table-structured graphic data, and similarly correspond to the embodiment shown in FIG. 2.

また第6図は、図形データ変更部のフローチャー1〜を
示す図である。
Further, FIG. 6 is a diagram showing flowcharts 1 to 1 of the graphic data changing section.

いま、第3図(a)に示すような二つの表を作成すると
、そのときの表構成関係データおよび表構成図形データ
は、第4図(a)および第5図(a)のようになる。
Now, if we create two tables as shown in Figure 3(a), the table composition relational data and table composition graphic data will be as shown in Figures 4(a) and 5(a). .

ここで、第3図(a)の状態から第3図(C)に示すよ
うに、表1の項目Bを表2に移動させる場合の処理の流
れを説明する。
Here, the flow of processing when moving item B of Table 1 to Table 2 as shown in FIG. 3(C) from the state of FIG. 3(a) will be described.

指示器18によって、項目Bを第3図(b)の位置に移
動することが指定された場合、サイズ位置入力部13に
よって、表構成図形データ保持部16における表構成図
形データが第5図(b)のように変更される。
When the indicator 18 specifies that item B is to be moved to the position shown in FIG. b) is changed as follows.

さらに指示器18によって、項目り1項目E項目Bが一
つの表であることが指定されると、項目関係入力部11
によって、表構成関係データ保持部14における表構成
関係データが第4図(b)のように変更される。
Furthermore, when it is specified by the indicator 18 that 1 item E item B is one table, the item relationship input section 11
As a result, the table structure relation data in the table structure relation data holding unit 14 is changed as shown in FIG. 4(b).

ここで、指示器18によって再配置の指定が行われると
、再配置指定部12によって、そのことが図形データ変
更部15に通知される。これによって図形データ変更部
15ば、第6図のフローチャートに従って処理を行う。
Here, when relocation is specified by the indicator 18, the relocation specifying section 12 notifies the graphic data changing section 15 of this fact. As a result, the graphic data changing section 15 performs processing according to the flowchart shown in FIG.

まず、表構成関係データ保持部14から、項目群の数を
求めると2なので、第6図に示すように項目群の数nに
2が代入される。この場合項目群の数nは0ではないの
で、項目群1に対して以下の処理が行われる。なお以下
においては、項目A項目Cの組を項目群1、項目り1項
目E2項目Bの組を項目群2とする。また項目群中のX
座標の最小値をX7項目群中のX座標の最小値をY、項
目群中の高さの最大値をH1項目数をmとする。
First, the number of item groups is found to be 2 from the table structure relation data holding unit 14, so 2 is substituted for the number n of item groups as shown in FIG. In this case, since the number n of item groups is not 0, the following processing is performed for item group 1. In the following, the set of item A and item C will be referred to as item group 1, and the set of item 1, item E, and item B will be referred to as item group 2. Also, X in the item group
The minimum value of the coordinates is X7 The minimum value of the X coordinate in the item group is Y, and the maximum value of the height in the item group is H1 The number of items is m.

1 2 0)項目群1中のX座標の最小値Xに対して、第5図(
b)に示すように項目A、CのX座標のうちの、小さい
方の値0が代入される。同様に、項目群1中のX座標の
最小値Y、項目群1中の高さの最大値■]に対してそれ
ぞれ1.5が代入され、さらに項目数2がmに代入され
る。
1 2 0) For the minimum value X of the X coordinate in item group 1,
As shown in b), the smaller value 0 of the X coordinates of items A and C is assigned. Similarly, 1.5 is assigned to each of the minimum value Y of the X coordinate in item group 1 and the maximum value ■ of height in item group 1, and the number of items 2 is assigned to m.

(2)  この場合、項目数m(−2)は0でないので
、項目Aに対して次の処理を行う。
(2) In this case, since the number of items m(-2) is not 0, the following process is performed for item A.

項目AよりX座標が小さいものは存在しないので、自分
よりX座標が小さい項目の幅の合計Sに0が代入される
Since there is no item whose X coordinate is smaller than item A, 0 is assigned to the total width S of items whose X coordinate is smaller than the item A.

新しいX座標として、O(−〇+O)、新しいX座標と
して1.新しい高さとして5が設定される。
The new X coordinate is O(-〇+O), and the new X coordinate is 1. 5 is set as the new height.

項目数mに1 (−2−1)が代入される。1 (-2-1) is assigned to the number of items m.

(3)項目数m(−1)はOではないので、項目Cに対
して以下の処理を行う。
(3) Since the number of items m(-1) is not O, the following process is performed for item C.

項目BよりX座標が小さいものは項目Aだけであって、
その項目の幅の合計4が自分よりX座標が小さい項目の
幅の合計Sに設定される。
Only item A has a smaller X coordinate than item B,
The total width of the item, 4, is set to the total width of the item, S, which has a smaller X coordinate than the item itself.

新しいX座標として4 (=O+4)、新しいX座標と
して1.新しい高さとして5が設定される。
4 (=O+4) as the new X coordinate, 1 as the new X coordinate. 5 is set as the new height.

項目数mにO(−1−1)が代入される。O(-1-1) is substituted for the number of items m.

(4)項目数mは0なので、項目群の数nに1(−2−
1)が代入される。
(4) Since the number of items m is 0, the number n of item groups is 1 (-2-
1) is assigned.

項目群の数n(−1)はOではないので、項目群2に対
して以下の処理を行う。
Since the number of item groups n(-1) is not O, the following process is performed for item group 2.

(5)項目群2中のX座標の最小値χに、第5図(b)
に示すように、項目り、E、BのX座標のうちの最小値
17が代入される。同様に項目群2中のX座標の最小値
Y、項目群2中の高さの最大値Hに対して、それぞれ0
,8が代入される。
(5) For the minimum value χ of the X coordinate in item group 2, as shown in Figure 5(b)
As shown in , the minimum value 17 of the X coordinates of items E and B is substituted. Similarly, the minimum value Y of the X coordinate in item group 2 and the maximum value H of the height in item group 2 are respectively 0.
, 8 are substituted.

項目数3がmに代入される。The number of items, 3, is assigned to m.

(6)項目数m (−3)は0でないので、項目りに対
して以下の処理を行う。
(6) Since the number of items m (-3) is not 0, the following processing is performed for each item.

項目りよりX座標が小さいものは存在しないので、自分
よりX座標が小さい項目の幅の合計Sに0が代入される
Since there is no item whose X coordinate is smaller than the item, 0 is assigned to the total width S of the items whose X coordinate is smaller than the item itself.

新しいX座標として17(−11十〇)、新しいX座標
としてO1新しい高さとして8が設定さ3 4 れる。
17 (-1100) is set as the new X coordinate, O1 is set as the new X coordinate, and 8 is set as the new height.

項目数mに2 (=3−1)が代入される。2 (=3-1) is substituted for the number of items m.

(7)項目数m(−2)は0ではないので、項目已に対
して以下の処理を行う。
(7) Since the number of items m(-2) is not 0, perform the following processing for the number of items.

項目EよりX座標が小さいものは項目りのみで、その項
目の幅の合計2が、自分よりX座標が小さい項目の幅の
合計Sに代入される。
Only item E has a smaller X coordinate than item E, and the total width of that item, 2, is substituted into the total width S of items whose X coordinate is smaller than that of item E.

新しいX座標として19 (−17+2)、新しいX座
標として0.新しい高さとして8が設定される。
19 (-17+2) as the new X coordinate, 0 as the new X coordinate. 8 is set as the new height.

項目数mに1.(−2−1)が代入される。1 for every m items. (-2-1) is substituted.

(8)項目数m(=1)はOではないので、項目Bに対
して以下の処理を行う。
(8) Since the number of items m (=1) is not O, perform the following processing for item B.

項目BよりX座標が小さいものは項目りと項目Eで、そ
の項目の幅の合計6 (−2+4)が、自分よりX座標
が小さい項目の幅の合計Sに代入される。
Item E has a smaller X coordinate than item B, and the total width of that item, 6 (-2+4), is substituted into the total width S of items with smaller X coordinates.

新しいX座標として23 (−17+6)、新しいX座
標としてO2新しい高さとして8が設定される。
23 (-17+6) is set as the new X coordinate, O2 is set as the new X coordinate, 8 is set as the new height.

項目数mにO(−1−1)が代入される。O(-1-1) is substituted for the number of items m.

(9)項目数mはOなので、項目群の数nに0(=1−
1)が代入される。
(9) Since the number of items m is O, the number n of item groups is 0 (=1−
1) is assigned.

項目群の数nはOなので、図形データ変更部5は表示信
号を表示部7に送り、処理を終了する。
Since the number n of item groups is O, the graphic data changing unit 5 sends a display signal to the display unit 7 and ends the process.

表示部7は、第5図(c)に示す変更された図形データ
を用いて、第3図(c)に示すようにデイスプレィ19
に表を表示する。
The display section 7 uses the changed graphic data shown in FIG. 5(c) to display the display 19 as shown in FIG. 3(c).
Display the table in .

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

以上説明したように本発明によれば、計算機を用いてデ
イスプレィ画面」二において表に対して項目単位の編集
を行う場合に、表の自動再配置を行うので、画面上で表
の位置関係がずれることがなく、従って表の位置やサイ
ズの修正を手動操作によって行う煩雑さを解消できると
ともに、位置や大きさの指定に神経質になる必要がなく
なる。
As explained above, according to the present invention, when editing a table item by item on the display screen using a calculator, the table is automatically rearranged, so that the positional relationship of the table on the screen is changed. This eliminates the need to manually correct the position and size of the table, and eliminates the need to be nervous about specifying the position and size.

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

第1図は本発明の原理的構成を示す回、第2図は本発明
の一実施例の構成を示す図、第3図(a)〜(C)は、
本発明によって表の再配置を行う場合の一5 6 実施例を示す図、第4図(a)、 (b)は表構成関係
データの例を示す図、第5図(a)〜(C)は表構成図
形データの例を示す図、第6図は図形データ変更部のフ
ローチャートを示す図、第7図(a)〜(d)は従来技
術の問題点を説明する図である。 1は表構成関係データ保持手段、2は表構成図形データ
保持手段、3は項目関係入力手段、4ばサイズ位置入力
手段、5は図形データ変更手段である。
FIG. 1 shows the basic configuration of the present invention, FIG. 2 shows the configuration of an embodiment of the present invention, and FIGS. 3(a) to (C) show the following:
Figures 4(a) and 4(b) are diagrams showing examples of table structure related data, and Figures 5(a) to (C ) is a diagram showing an example of table-structured graphic data, FIG. 6 is a diagram showing a flowchart of a graphic data changing section, and FIGS. 7(a) to (d) are diagrams explaining problems in the prior art. Reference numeral 1 denotes a table structure relation data holding means, 2 a table structure figure data holding means, 3 an item relation input means, 4 a size position input means, and 5 a figure data changing means.

Claims (1)

【特許請求の範囲】 計算機を用いて画面上において表の入力、編集を行うシ
ステムにおいて、 複数の項目の図形をグループに分けて複数の表にまとめ
た場合の各項目間のグループ分けの関係を示すデータを
保持する表構成関係データ保持手段(1)と、 各項目ごとの図形サイズとその表示位置を示すデータを
保持する表構成図形データ保持手段(2)と、 画面上における指示に応じて前記表構成関係データ保持
手段(1)における各項目間のグループ分けの関係を変
更する項目関係入力手段(3)と、画面上における指示
に応じて前記表構成図形データ保持手段(2)における
項目ごとの表示位置を変更するサイズ位置入力手段(4
)と、 外部から表の再配置を指示されたとき該変更された表構
成関係データ保持手段(1)のデータと表構成図形デー
タ保持手段(2)のデータとを用いて、表構成図形デー
タ保持手段(2)における各項目の図形サイズとその表
示位置について、その項目が属する項目群中のX座標の
最小値に自分よりX座標が小さい項目の幅の合計を加算
して新しいX座標とし、該項目群中のY座標の最小値を
新しいY座標とし、該項目群中の高さの最大値を新しい
高さとするように変更する処理を各項目群ごとに行う図
形データ変更手段(5)とを設け、項目単位の表の編集
に応じて自動的に再配置された表を画面上に表示するこ
とを特徴とする表の自動再配置方式。
[Claims] In a system for inputting and editing tables on a screen using a computer, the relationship between groupings between each item when figures of a plurality of items are divided into groups and summarized in a plurality of tables is provided. a tabular structure-related data holding means (1) that holds data indicating the figure size for each item and a table structure figure data holding means (2) that holds data indicating the figure size of each item and its display position; Item relationship input means (3) for changing the grouping relationship between each item in the table structure relation data holding means (1); and item relation input means (3) for changing the grouping relationship between each item in the table structure relation data holding means (1); Size position input means (4) to change the display position of each
), and when an external instruction is given to rearrange the table, the table structure graphic data is stored using the changed data in the table structure relation data holding means (1) and the data in the table structure figure data holding means (2). Regarding the graphic size and display position of each item in the holding means (2), add the sum of the widths of items whose X coordinate is smaller than the minimum value of the X coordinate in the item group to which the item belongs, and set it as a new X coordinate. , graphic data changing means (5) that performs a process of changing for each item group such that the minimum value of the Y coordinate in the item group is the new Y coordinate and the maximum value of the height in the item group is the new height; ), and displays a table automatically rearranged on the screen in response to editing of the table for each item.
JP6733590A 1990-03-19 1990-03-19 Automatic rearrangement system for table Pending JPH03268177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6733590A JPH03268177A (en) 1990-03-19 1990-03-19 Automatic rearrangement system for table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6733590A JPH03268177A (en) 1990-03-19 1990-03-19 Automatic rearrangement system for table

Publications (1)

Publication Number Publication Date
JPH03268177A true JPH03268177A (en) 1991-11-28

Family

ID=13342045

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6733590A Pending JPH03268177A (en) 1990-03-19 1990-03-19 Automatic rearrangement system for table

Country Status (1)

Country Link
JP (1) JPH03268177A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012099098A (en) * 2010-10-25 2012-05-24 Konica Minolta Laboratory Usa Inc Method of determining height of cell of table, computer-readable medium, and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012099098A (en) * 2010-10-25 2012-05-24 Konica Minolta Laboratory Usa Inc Method of determining height of cell of table, computer-readable medium, and system

Similar Documents

Publication Publication Date Title
JPH03268177A (en) Automatic rearrangement system for table
JPH01147670A (en) Image display method
JPH07191820A (en) Multiwindow display system
JP2503995B2 (en) Multi-window display method
JP3500812B2 (en) Table processing equipment
JP2842511B2 (en) Form creation device
JPH0424818A (en) Input display device
JPH0744605A (en) Pattern layout device
JPH03251921A (en) Back-up device for software development
JPH0463432B2 (en)
JPH03282760A (en) Screen display method in online system
JPH09120411A (en) Graphic processor and method therefor
JPH0521249B2 (en)
JPH0410128A (en) Information transposing system
JPS63201813A (en) Menu arranging method for soft key device
JPH04105166A (en) Document processor provided with table preparing/ editing function
JPS63163665A (en) Device for preparing table
JPH03214268A (en) Graphic restoring/displaying system
JPH02158879A (en) Method for arranging graphic in graphic processing system
JPH056910B2 (en)
JPS61236590A (en) Operation indication system
JPH06149944A (en) Three-dimensional cad device
JPH03204084A (en) Graphic processor
JPH03166643A (en) Display processing system for document generating device
JPH04291416A (en) Data display