JPH01166253A - Table display processing system - Google Patents

Table display processing system

Info

Publication number
JPH01166253A
JPH01166253A JP62326262A JP32626287A JPH01166253A JP H01166253 A JPH01166253 A JP H01166253A JP 62326262 A JP62326262 A JP 62326262A JP 32626287 A JP32626287 A JP 32626287A JP H01166253 A JPH01166253 A JP H01166253A
Authority
JP
Japan
Prior art keywords
page
data
rectangular area
item
content data
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
JP62326262A
Other languages
Japanese (ja)
Inventor
Yasuo Iwami
岩見 泰夫
Yoshinobu Fujii
藤井 義信
Junichi Yamazaki
山崎 準一
Mitsuaki Kakemizu
光明 掛水
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 JP62326262A priority Critical patent/JPH01166253A/en
Publication of JPH01166253A publication Critical patent/JPH01166253A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

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

Description

【発明の詳細な説明】 〔a要〕 本発明は、計算機による表の表示処理方式に関し。[Detailed description of the invention] [a required] The present invention relates to a table display processing method by a computer.

表の形状定義を変更容易なものにし、また表の内容に応
じて表の大きさを自動的に決定できる表の表示処理方式
を提供することを目的とし。
The object of the present invention is to provide a table display processing method that makes it easy to change the shape definition of a table and automatically determines the size of the table depending on the contents of the table.

複数の長方形領域から成る表形式のデータを作成し、出
力する計算機における表の表示処理方式において1表の
個々の長方形領域についての図形的情報およびページ分
割可否情報を項目ごとにまとめた表構成定義データと、
各長方形領域ごとの表の内容と隣接する長方形領域の表
の内容および関連する表構成定義データに対する各リン
ク情報とを含む表内界データとを入力とし5表の各長方
形領域の大きさを決定する表配置決定部と1表示体のペ
ージ分割を行うページ分割部と1表の作成および出力を
行う表示部とを有する。
A table structure definition that summarizes graphical information and page division availability information for each rectangular area of a table for each item in the table display processing method of a computer that creates and outputs tabular data consisting of multiple rectangular areas. data and
The size of each rectangular area in the 5 tables is determined by inputting the table contents of each rectangular area, the table contents of adjacent rectangular areas, and the table internal data including link information for related table structure definition data. The present invention has a table layout determination section that divides one display into pages, a page division section that divides one display into pages, and a display section that creates and outputs one table.

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

本発明は、計rt、aによる表の表示処理方式に関する
ものであり、特に表の形式や大きさの変更が容易な構造
化された表データの内部表現形式と表示処理機能とをも
つ表の表示処理方式に関する。
The present invention relates to a table display processing method based on the total rt,a, and in particular to a table having an internal representation format and display processing function for structured table data that allows easy changes in table format and size. Regarding display processing methods.

計算機の処理結果を見易い表の形にまとめて出力するこ
とはしばしば行われる。しかし表の形式を変更しようと
する場合、外部から再定義することで、異なる形式の表
示を柔軟に変更できる手段が必要とされる。
Computer processing results are often output in the form of an easy-to-read table. However, when changing the format of a table, a means is needed that allows for flexible changes in display in different formats by externally redefining the format.

〔従来の技術〕[Conventional technology]

一般に表は、第1O図に示されるように、縦。 Tables are generally vertical, as shown in Figure 1O.

横それぞれに1つあるいは複数の項目(欄)を有し1表
示体は複数の小さな長方形領域を組み合わせた構造とな
っている。この場合5例えば表の横方向は、固定された
長さの複数の項目で分割されており、また縦方向は、処
理結果のデータ世により長さが可変の複数の項目で分割
されている。この結果、各長方形領域の縦方向の長さは
可変となっている。
Each side has one or more items (columns), and one display body has a structure in which a plurality of small rectangular areas are combined. In this case, for example, the table is divided horizontally into a plurality of items of fixed length, and vertically is divided into a plurality of items whose length is variable depending on the data size of the processing result. As a result, the length of each rectangular area in the vertical direction is variable.

このような表の形状は、多くのシステムの場合プログラ
ム内で決められるのが普通であり、プログラムの外部か
ら定義できるシステムの場合であっても1表の形状を固
定的に定義するものであった。
In most systems, the shape of such a table is usually determined within the program, and even in systems where it can be defined from outside the program, the shape of a table is not fixedly defined. Ta.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の表の形状をプログラム中で固定しているシステム
の場合は2表の形状が変わると1表示プログラム自体を
大きく修正しなければならなかった。また、その表示プ
ログラムはそのシステムだけでしか用いることができな
かった。
In the case of a conventional system in which the shape of the table is fixed in the program, if the shape of the two tables changes, the first display program itself has to be significantly modified. Furthermore, the display program could only be used on that system.

一方1表の形状を外部から定義するようにしたシステム
でも、定義された形状は固定的なものなので、データ項
目の増減、変更やデータ数などの表の内容によって柔軟
に大きさを変えたりすることはできなかった。
On the other hand, even in systems where the shape of a table is defined externally, the defined shape is fixed, so the size can be flexibly changed depending on the contents of the table, such as increase/decrease, change, or number of data items. I couldn't do that.

本発明は1表の形状定義を変更容易なものにし。The present invention makes it easy to change the shape definition in one table.

また表の内容に応じて表の大きさを自動的に決定できる
表の表示処理方式を提供することを目的とする。
Another object of the present invention is to provide a table display processing method that can automatically determine the size of a table depending on the contents of the table.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、計算機を用いて表形式のデータを出力する際
に1表の図形的な情報を3項目ごとに再定義可能な表構
成定義データにまとめるとともに。
The present invention summarizes the graphical information of one table into table configuration definition data that can be redefined for every three items when outputting tabular data using a computer.

表の内容を長方形領域ごとに独立したデータにして、そ
れぞれの表内界データ間を互いにリンクすることで裏全
体の構成を表すことができる・ようにしている、それに
より変更が容易で任意の表が表、現可能なデー・夕構造
を実現し、またそれらのデータを用7いて実際の表の大
きさや座標を求める表配置決定部9表の大きさが定めら
れたページの大きさを越えるときに適切なページ分割境
界を設定するページ分割部1表の画面イメージを組み立
てる表示部等を設けることによって、任意の形式の表を
表示部プログラムの大きな変更なしで取り扱えるように
したものである。
By making the contents of the front side into independent data for each rectangular area and linking the inner world data of each front side to each other, it is possible to express the composition of the entire back side. A table layout determining unit 7 that realizes a data structure that can be expressed and uses these data to determine the actual size and coordinates of the table. By providing a display section, etc. that assembles the screen image of the page division section 1 table, which sets an appropriate page division boundary when crossing the page division boundary, it is possible to handle tables in any format without major changes to the display section program. .

第1図は1本発明の原理的構成図である0図中81は表
構成定義データ保持部52は表内界データ保持部、3は
表配置決定部、4はページ分割部。
FIG. 1 is a diagram showing the basic structure of the present invention. In the figure, 81 is a table configuration definition data holding section 52, which is a table internal world data holding section, 3 is a table layout determining section, and 4 is a page dividing section.

5は表示部、6はデイスプレィ、7はプリンタで表の固
定されている方向の長さや位置などの図形的情報や、ペ
ージ分割の可否等を指定する表構成定義データが設定さ
れている。一方5表の具体的な内容は、各長方形領域ご
とに1表内容データとして1表内容データ保持部2中に
設定されている。
Reference numeral 5 indicates a display unit, 6 indicates a display, and 7 indicates a printer, in which graphical information such as the length and position of the table in a fixed direction, table structure definition data specifying whether or not page division is possible, etc. are set. On the other hand, the specific contents of the five tables are set in the one-table content data storage unit 2 as one-table content data for each rectangular area.

表の個々の長方形領域に対応する表内容データは1項目
ごとにそれぞれ1つの表構成定義データにリンクされて
その定義にしたがうとともに1表の中での各長方形領域
の図形的配置に対応した。
The table content data corresponding to each rectangular area of the table was linked to one table structure definition data for each item and followed the definition, and also corresponded to the graphical arrangement of each rectangular area within one table.

上下、左右の隣接関係を規定するため、必要なリンクを
そなえている。
Necessary links are provided to define vertical, horizontal, and horizontal adjacency relationships.

〔作用〕[Effect]

第1図において1表配置決定部は表の内容に応じて各長
方形領域の可変方向の長さを決定し、ページ分割部は1
表構成定義データ中のページ分割の可否に応じてページ
境界座標の決定を行う0表示部は1表内容データに設定
されているリンクにしたがって表構成デークや表内容デ
ータを逐次取り出し1表の作成を行う、それにより表措
成定義データの内容や表内容データのリンク関係を変え
るだけで2表中の項目の変更、追加、削除などが可能で
、任意の形の表を、データ量などの表の内容に応じた柔
軟な大きさで表示することが可能となる。
In FIG. 1, the 1-table layout determining unit determines the length of each rectangular area in the variable direction according to the contents of the table, and the page dividing unit determines the length of each rectangular area in the variable direction according to the table contents.
The page boundary coordinates are determined depending on whether or not page division is possible in the table configuration definition data.The 0 display section sequentially extracts the table configuration data and table content data according to the links set in the 1 table content data and creates 1 table. By doing this, it is possible to change, add, or delete items in two tables simply by changing the contents of the table composition definition data or the link relationship of the table content data, and it is possible to create tables of any shape, depending on the amount of data, etc. It becomes possible to display the table in a flexible size depending on the contents of the table.

第2図は2表構成定義データおよび表内容データの例で
ある8図において、 (ア)〜(オ)は。
Figure 2 is an example of two-table structure definition data and table content data.In Figure 8, (a) to (e) are.

項目を並べてい(方向(固定方向)、各項目の固定方向
の位置(座標)、ページ分割の可/不可等の情Igが各
項目ごとに定義された表構成定義データである。またA
〜工は1項目名やデータなどの表の内容を表す表内容デ
ータであり、各内容どうしで互いにリンク(連結)しあ
うことによって表の構成が決まっている。
This is table structure definition data in which items are arranged (direction (fixed direction), position (coordinates) of each item in the fixed direction, and information Ig such as whether or not page division is possible is defined for each item.
. . . is table content data that represents the contents of a table such as one item name or data, and the structure of the table is determined by linking (connecting) the contents with each other.

互いに隣接しあう表内容はLEFT、RICH1゛リン
ク(破線)でリンクされ、同−項目内の別の表内客間は
、BEFORE、NEXTリンク(1点11 &!iり
でリンクされ、さらに表内容からそれぞれの項目を表す
表構成定義データに対しては。
Table contents that are adjacent to each other are linked with LEFT, RICH1 links (dashed lines), and tables in other tables within the same item are linked with BEFORE, NEXT links (1 point 11 &!i), and further table contents. for the table configuration definition data representing each item.

ITEM (実線)でリンクされている。Linked by ITEM (solid line).

このようなデータで表現された表をデイスプレィの画面
等に表示する処理は1次のような手段で行われる。
The process of displaying a table represented by such data on a display screen or the like is performed by the following means.

まず9表配置決定部が、各内容に対する長方形領域の座
標を設定する。横方向座標は各項目ごとに固定であり、
ITEMリンクで指された表構成定義データに設定され
ている値を用いる。
First, the table layout determining section 9 sets the coordinates of a rectangular area for each content. The horizontal coordinates are fixed for each item,
The value set in the table structure definition data pointed to by the ITEM link is used.

縦方向座標は1表内容により可変であり6表内容の量に
応じて最小の大きさ(文字の行数と文字の高さの積)を
決め、更に、隣あう長方形領域どうしで、できるだけ下
端が一敗するように決定していく、このようにして設定
された座標による表のイメージを第3図に示す。
The vertical coordinate is variable depending on the content of the table 1, and the minimum size (the product of the number of lines of text and the height of the text) is determined according to the amount of the content of the table. FIG. 3 shows an image of a table based on the coordinates set in this way, in which the game is determined to result in one loss.

次に、ページ分割部がページの分割を行う、第3図でペ
ージ境界が破線のような位置にきた場合。
Next, the page dividing unit divides the page when the page boundary reaches the position shown by the broken line in FIG.

内容A、F、Kが別ページに分割されてしまう。Contents A, F, and K are divided into separate pages.

しかし内容Fの項目(つ)は表構成定義データで分割不
可と定義されているので、ここで分割することはできな
い。
However, since the item (item) of content F is defined as non-divisible in the table structure definition data, it cannot be divided here.

そこで、ページ境界を上の方に移動し、内容Fの上端で
分割すれば、内容A、  Kが分割されるだけですむ、
内容A、にの項目(ア)、(オ)はページ分割可と定義
されているので2ここでページ分割を行う。
Therefore, if you move the page border upwards and split content F at the top, content A and K only need to be split.
Items (a) and (e) of contents A and 2 are defined as page-dividable, so page division is performed here.

最後に表示部が、1ページ目と2ページ目とを。Finally, the display section shows the first and second pages.

各表内容ごとに長方形領域とその内容を画面、あるいは
紙面上に出力し、第4図に示す最終出力イメージが得ら
れる。
For each table content, a rectangular area and its content are output on the screen or paper, and the final output image shown in FIG. 4 is obtained.

〔実施例〕〔Example〕

次に、実施例により本発明の詳細な説明する。 Next, the present invention will be explained in detail with reference to Examples.

なお、第1図ないし第4図の説明は、以下の実施例の説
明においてもそのまま適用される。
Note that the explanation of FIGS. 1 to 4 applies as is to the explanation of the following embodiments.

第5図は、第1図における表記置決定部3の動作手順を
示す処理フロー図である。
FIG. 5 is a processing flow diagram showing the operation procedure of the notation location determination unit 3 in FIG. 1.

表記π決定部3は1表内容データを左上から順次リンク
をたどり、各長方形$i域の表の内容にしたが9て、可
変方向(縦方向)の大きさを求め。
The notation π determining unit 3 sequentially follows the links of the table contents data from the upper left, and determines the size in the variable direction (vertical direction) according to the table contents of each rectangular $i area.

それぞれの上端と下端の座標を決定する。以下に第5図
の各ステップ■ないし■により動作を説明する。
Determine the coordinates of the top and bottom of each. The operation will be explained below using steps (1) to (2) shown in FIG.

Φ:出発点として最も左上にある表内容データを選択し
、αとする。
Φ: Select the upper leftmost table content data as a starting point and set it as α.

■:αに対応する表内容データの縦方向座標を求める(
詳細な処理は第6図により後述)。
■: Find the vertical coordinates of the table content data corresponding to α (
(Detailed processing will be described later with reference to FIG. 6).

■:αの右側にN E X Tの表内容データがリンり
されているかどうかを調べる。NEXTがなければ終了
し、NIEXTがあれば■を実行する。
■: Check whether NEXT table content data is linked to the right side of α. If there is no NEXT, the process ends, and if there is a NIEXT, execute (2).

■:αにリンクされたNr!、XTの表内容データを新
たなαとしてのに戻り、動作を繰り返す。
■: Nr linked to α! , XT table contents data as a new α, and repeat the operation.

第6図は、第5図の処理フローにおけるステップ■の詳
細な処理フロー図である。このステップ■は、注目する
表内容デークαについて、可変方向(縦方向)の大きさ
を求め、長方形領域の座標を決定するものである。
FIG. 6 is a detailed processing flow diagram of step (2) in the processing flow of FIG. This step (2) is to find the size in the variable direction (vertical direction) of the table content index α of interest and determine the coordinates of the rectangular area.

しかし長方形領域の可変方向の大きさは、その左側にリ
ンクされる他の表内容データがあるとき(大項目に対し
て中項目、小項目が接続されているような場合)、それ
らの大きさに依存して決定されなければならない。
However, the size of the rectangular area in the variable direction changes when there is other table content data linked to the left side (such as when medium items and small items are connected to a large item). must be determined depending on.

例えば第3図の例において、Aの縦方向の大きさは、C
+Fの大きさを考慮していずれが大きい方を選択しなけ
ればならない、同様に、CばD十Eを考慮し、DはJを
考慮し、E、+FはKを考慮して大きさを決定する必要
がある。
For example, in the example of FIG. 3, the vertical size of A is C
You must choose whichever is larger considering the size of +F.Similarly, C considers D + E, D considers J, and E and +F consider K and choose the size. Need to decide.

第6図の処理フロー図は、これらの処理を行うためのも
のである。以下にステップ■ないし[相]にしたがって
概略的に動作を説明する。
The processing flow diagram in FIG. 6 is for performing these processes. The operation will be roughly explained below according to steps ① to [phase].

■:αの右側(RIGHT)にリンクされた表内容デー
タがあるかどうかを調べる。あれば■へ、なければ0を
実行する。
■: Check whether there is table content data linked to the right side (RIGHT) of α. If there is, go to ■, otherwise go to 0.

■:αの右側リンク数を調べ、その値nを設定する。■: Check the number of links on the right side of α and set its value n.

■:変数のリンク数1−1.座標Yβ−Ylに初期設定
する。
■: Number of variable links 1-1. Initialize the coordinates Yβ-Yl.

■:αの右側にリンクされている1番目の表内容データ
をβ1とする。
■: Let β1 be the first table content data linked to the right side of α.

■:βiの上端座標が既に決定されていればYβとする
(2): If the upper end coordinate of βi has already been determined, it is set as Yβ.

◎signを鯛べ、i−nに達すれば■を、またi<n
であれば■をそれぞれ実行する。
◎Sign as sea bream, if it reaches i-n, ■, and i<n again
If so, execute ■ respectively.

■=ニスタックYβを積み込む(PUSH)。■ = Load Nystack Yβ (PUSH).

O:第6図の処理を再帰呼び出しし、βiに対応する長
方形fIlT域の上端をYβとして表の内容(データ数
)に法づいて必要行数を禎算し。
O: Recursively call the process shown in FIG. 6, and calculate the required number of rows based on the contents of the table (number of data), assuming that the upper end of the rectangular flIT area corresponding to βi is Yβ.

下端の座標を求め、それを新たにYβとする。Find the coordinates of the lower end and set them as new Yβ.

◎ニスタックを押し上げ(PoP)て、TOPのYβを
取り出ず。
◎ Push up the Ni stack (PoP) and do not take out the TOP Yβ.

■:iをH+1で更新し、■に戻って以上の動作をi=
nまで繰り返して、βnまでの各下端の座標を逐次決定
してゆく。
■: Update i with H+1, return to ■, and repeat the above operation with i=
This is repeated until n, and the coordinates of each lower end up to βn are sequentially determined.

■:ixnのとき、βiの左側にある表内容データ(例
えば第3図ではKに対するEとF)のリンクの数「nを
調べる。
■: When ixn, check the number of links ``n'' in the table content data on the left side of βi (for example, E and F for K in FIG. 3).

[相]:βiのm番目の左側リンクの表内容データがα
であればOを実行、その他の場合は0を実行する。
[Phase]: The table content data of the m-th left link of βi is α
If so, execute O, otherwise execute 0.

O:αの最小幅をyminとし、スタックをPOPして
取り出されたYβとy 1 + yminとを比較し、
大きい方を再びスタックに積み込む(PUSll)、こ
こでy sinは、データの行数を12文字の高さをh
とするとl×hで与えられる。
O: Let the minimum width of α be ymin, compare Yβ retrieved by POPing the stack and y 1 + ymin,
Push the larger one back onto the stack (PUSll), where y sin is the number of rows of data, 12 characters high, and h
Then, it is given by l×h.

[相]:第6図の処理を再帰呼び出しして、βiの長方
形領域の上端をYβとしたときの下端の座標を求め、そ
れをY2として終了する。
[Phase]: Recursively call the process shown in FIG. 6 to find the coordinates of the lower end when the upper end of the rectangular area of βi is Yβ, and set it as Y2 to end the process.

0:Yβをβiの上端とする。0: Yβ is the upper end of βi.

0ニスタツクのTOPにある値とY 1 + ymln
とを比較し、大きい方をY2として決定し、・終了する
The value at the top of the 0nis stack and Y 1 + ymln
Compare them, decide the larger one as Y2, and end.

第2図および第3図の具体例に第5図の処理を適用した
場合の動作を、第7図(a)、第7図中)、第7図(C
1に示す。
The operations when the process in FIG. 5 is applied to the specific examples in FIGS. 2 and 3 are shown in FIGS.
Shown in 1.

第8図+a+および第8図fblは、第1図のページ分
割部4の動作手順を示す処理フロー図である。ここでペ
ージ分割処理部は、予め定められている法準的なページ
境界座標を用いて表の分割を行うが。
FIG. 8+a+ and FIG. 8fbl are process flow diagrams showing the operation procedure of the page dividing section 4 of FIG. 1. Here, the page division processing unit divides the table using predetermined legal page boundary coordinates.

中間で分割することを禁止している項目がその座標にか
かっている場合ページ境界をずらず処理を行う、以下に
図中のステップ■ないし[相]にしたがって動作を説明
する。
If an item that is prohibited from being divided in the middle is located at that coordinate, processing is performed without shifting the page boundary.The operation will be explained below according to steps ① to [phase] in the figure.

■二ページ番号Pを1に初期設定する。■2 Initialize page number P to 1.

O:表を構成する全ての表内容データについて。O: Regarding all table content data that constitutes the table.

それぞれの長方形領域の下端の座標を各項目ごとにまと
めた下端座標テーブルを作成する、第2図および第3図
の例に店づいて作成した下端座標テーブルを第9図に示
す(下端の座標は2表配置決定部3により゛求められて
いる)。
Figure 9 shows a lower edge coordinate table created based on the examples in Figures 2 and 3, in which the lower edge coordinates of each rectangular area are summarized for each item. has been determined by the two-table arrangement determination unit 3).

0:凸型のページ境界座標をYに設定する。0: Set the convex page boundary coordinates to Y.

08表構成定義データを用いて、下端座標テーブル(第
9図)中のページ分割不可の項目の下端の座標のうち、
Yよりも小さい範囲で最も近いものを検出し、その座標
をyとする。
Using the 08 table configuration definition data, among the bottom coordinates of the items that cannot be page divided in the bottom coordinate table (Figure 9),
Detect the closest one within a range smaller than Y, and let its coordinate be y.

0:各項目についてステップ[相]〜[相]の処理を順
次実行する。
0: Processing of steps [phase] to [phase] is executed sequentially for each item.

[相]:取り上げた項目はページ分割不可であるかどう
かを調べ1分割可能であれば0を実行し。
[Phase]: Check whether the picked item cannot be divided into pages, and if it can be divided into 1 page, execute 0.

分割不可であれば[相]を実行する。If it cannot be divided, execute [phase].

0:その項目のもとで、yよりも小さくない範囲にあっ
てかつ最も近い下端座標をもつ表内容データaがあれば
、それを求める。
0: If there is table content data a that is within a range not smaller than y and has the nearest lower end coordinate under that item, it is found.

O:表内容デークaについて、その上端座標+aの最小
幅を求め、その値がyの値の範囲内にあるか範囲外にあ
るかを調べる(分割の意味があるかどうかを知る)、そ
して範囲内にある場合には、0を実行し、W1囲外にあ
る場合には0を実行する。
O: Find the minimum width of the top coordinate + a for the table content disk a, and check whether that value is within or outside the range of the y value (to find out whether there is any meaning in dividing it), and If it is within the range, execute 0; if it is outside the W1 range, execute 0.

◎;全項目が終了したかどうかを調べ、残りの項目があ
れば[相]へ戻って以上の動作を繰り返し、終了すれば
0を実行する。
◎; Check whether all items have been completed, and if there are any remaining items, return to [phase] and repeat the above operation, and if completed, execute 0.

o:@で項目がページ分割不可であった場合には、その
項目のもとで、yの値をちょうど下端座標にもつページ
分割不可の表内容データがあるかどうかを調べる。ある
場合には、■を、ない場合には0を実行する。
o: If the item cannot be divided into pages with @, it is checked whether there is table content data that cannot be divided into pages and has the value of y exactly at the lower end coordinate under that item. If there is, execute ■; otherwise, execute 0.

0:ない場合にはyの値をページ境界に採用し。0: If not present, use the value of y as the page boundary.

Yをyで更新して[相]へ戻り、他のページ分割不可の
項目についての動作を繰り返す。
Update Y with y, return to [phase], and repeat the operations for other items that cannot be divided into pages.

0;■で求めた各aについて0.@の処理を繰り返す。0; 0 for each a obtained in ■. Repeat the @ process.

@:ページ分割したaを複写生成し、一方の分割部分の
下端座標をyに、他方の分割部分の上端座標をyとする
@: Copy and generate a page-divided page a, and set the lower end coordinate of one divided portion to y, and the upper end coordinate of the other divided portion to y.

@:全でのaについてOを実行し、終了すれば■を実行
する。
@: Execute O for all a, and when finished, execute ■.

O:表を構成する全ての長方形領域のうち下端座標がy
以下でかつページ番号が未設定のものにページ番号P 
(最初は“1°)を設定する。
O: The bottom coordinate of all the rectangular areas that make up the table is y
Page number P for the following and the page number is not set
(Set “1°” at first).

O:PをP+1に更新し、0に戻って次のページ分割処
理を行う。
Update O:P to P+1, return to 0, and perform the next page division process.

以上のようにして、基準のページ境界を越える大きさの
表については、ページ分割不可の項目の長方形領域を分
割しないようにし、かつページ分割可の項目の長方形領
域については可能なところで分割し1基準のページ境界
の内側で最大量の表内容が表示できるように最適のペー
ジ境界を設定することができる。
As described above, for tables whose size exceeds the standard page boundaries, the rectangular areas of items that cannot be divided into pages are not divided, and the rectangular areas of items that can be divided into pages are divided where possible. Optimal page boundaries can be set so that the maximum amount of table content can be displayed within the standard page boundaries.

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

本発明によれば1表の形状を定義する表措成定義データ
と表内容データが2表示プログラムから独立して外部か
ら設定可能であり、しかも個々の長方形領域の表内客間
の関係を示すリンクを用いて任意の表を記述できるため
1表の定義作成および変更が橿めて容易であるとともに
2表構成定義データと表内容データとを、!Aなるシス
テム間で共通に利用させることができる利点がある。
According to the present invention, table configuration definition data and table content data that define the shape of a table can be set from the outside independently of the display program, and links that indicate the relationship between customers in the table in individual rectangular areas. Since any table can be described using , it is extremely easy to create and change the definition of one table, and the two table structure definition data and table content data. It has the advantage that it can be used in common between systems A.

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

第1図は本発明の原理的構成図、第2図は本発明による
表構成定義データおよび表内容データの例の説明図、第
3図はページ分割前の表のイメージの例の説明図、第4
図は第3図の表のイメージの例のページ分割された最終
出力イメージの説明図、第5図は本発明の実施例による
表記置決定部の処理フロー図、第6図は第5図の処理フ
ローにおける座標決定の詳細処理フロー図、第7図(a
)ないし第7図(C1は具体例による座標決定処理の説
明図(その1)ないしくその3)、第8図(alおよび
第8図(blは本発明の実施例におけるページ分割部の
処理フロー図(その1)および(その2)、第9図はペ
ージ分割部が作成する下端座標テーブルの説明図、第1
O図は一般的な表の構成説明図である。 第1図中。 1:表構成定義データ保持部 2:表内容データ保持部 3:表記置決定部 4:ページ分割部 5;表示部 6:デイスプレィ 7:プリンタ
FIG. 1 is a diagram showing the basic configuration of the present invention, FIG. 2 is an explanatory diagram of an example of table structure definition data and table content data according to the present invention, and FIG. 3 is an explanatory diagram of an example of an image of a table before page division. Fourth
The figure is an explanatory diagram of the page-divided final output image of the table image example in Figure 3, Figure 5 is a processing flow diagram of the notation location determining unit according to the embodiment of the present invention, and Figure 6 is the same as that of Figure 5. Detailed processing flow diagram of coordinate determination in the processing flow, Fig. 7 (a
) to 7 (C1 is an explanatory diagram (parts 1 to 3) of coordinate determination processing according to a specific example), and FIGS. Flowcharts (Part 1) and (Part 2), Figure 9 is an explanatory diagram of the bottom coordinate table created by the page division unit,
Diagram O is an explanatory diagram of the structure of a general table. In Figure 1. 1: Table structure definition data holding unit 2: Table content data holding unit 3: Notation location determining unit 4: Page dividing unit 5; Display unit 6: Display 7: Printer

Claims (1)

【特許請求の範囲】 複数の長方形領域から成る表形式のデータを作成し、出
力する計算機における表の表示処理方式において、 表の個々の長方形領域についての図形的情報およびペー
ジ分割可否情報を項目ごとにまとめた表構成定義データ
と、各長方形領域ごとの表の内容と隣接する長方形領域
の表の内容および関連する表構成定義データに対する各
リンク情報とを含む表内容データとを入力とし、 表の各長方形領域の大きさを決定する表配置決定部(3
)と、表全体のページ分割を行うページ分割部(4)と
、表の作成および出力を行う表示部(5)とを有し、 表配置決定部(3)は、前記表構成定義データ中の図形
的情報と表内容データとを用いて、表を構成する個々の
長方形領域の可変方向の大きさおよび座標を決定し、ペ
ージ分割部(4)は、前記決定された個々の長方形領域
の座標と、予め定められているページの大きさと、項目
ごとのページ分割可否情報とから、最適のページ分割を
行い、表示部(5)は、表内容データと表構成定義デー
タとをリンクにしたがって選択参照し、分割されたペー
ジごとに表を作成して出力することを特徴とする表の表
示処理方式。
[Claims] In a table display processing method in a computer that creates and outputs tabular data consisting of a plurality of rectangular areas, graphical information and page division possibility information about each rectangular area of the table are displayed for each item. The table configuration definition data summarized in , and the table content data including the table contents of each rectangular area, the table contents of adjacent rectangular areas, and each link information for the related table configuration definition data are input, Table layout determining unit (3) that determines the size of each rectangular area
), a page dividing unit (4) that divides the entire table into pages, and a display unit (5) that creates and outputs the table, and the table layout determining unit (3) is configured to divide the entire table into pages. The page dividing unit (4) determines the variable direction size and coordinates of each rectangular area constituting the table using the graphical information and the table content data, and the page dividing unit (4) The display unit (5) performs optimal page division based on the coordinates, predetermined page size, and page division availability information for each item, and displays the table content data and table structure definition data according to the links. A table display processing method characterized by selectively referencing, creating and outputting a table for each divided page.
JP62326262A 1987-12-23 1987-12-23 Table display processing system Pending JPH01166253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62326262A JPH01166253A (en) 1987-12-23 1987-12-23 Table display processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62326262A JPH01166253A (en) 1987-12-23 1987-12-23 Table display processing system

Publications (1)

Publication Number Publication Date
JPH01166253A true JPH01166253A (en) 1989-06-30

Family

ID=18185803

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62326262A Pending JPH01166253A (en) 1987-12-23 1987-12-23 Table display processing system

Country Status (1)

Country Link
JP (1) JPH01166253A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0225354A (en) * 1988-07-14 1990-01-26 Casio Comput Co Ltd Document output device
JPH06342430A (en) * 1992-03-17 1994-12-13 Fuji Xerox Co Ltd Automatic page divided display editing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0225354A (en) * 1988-07-14 1990-01-26 Casio Comput Co Ltd Document output device
JPH06342430A (en) * 1992-03-17 1994-12-13 Fuji Xerox Co Ltd Automatic page divided display editing device

Similar Documents

Publication Publication Date Title
US5283864A (en) Computer apparatus and method for graphical flip book
RU2003112730A (en) SYSTEM AND METHOD FOR USER MODIFICATION OF METADATA IN A BROWSER-SHELL
JPH08227415A (en) Document editing device
US10424084B2 (en) Digital content rendering that supports alpha is shape (AIS) as part of knockout groups
US20100225667A1 (en) Content Display Method Content Display Device and Program
JPH01166253A (en) Table display processing system
JP6712486B2 (en) Electronic book display device, electronic book generation device, and program
JPH0616291B2 (en) Image data management device
US9772977B2 (en) Displaying a folding document
JPH10187679A (en) Table processing device and storage medium
JP3976354B2 (en) Search method and apparatus in e-book
JP5187957B2 (en) Generating device, generating method, and program
JPH09204423A (en) Table data processor
Chigona et al. Distortion for readability of contextualized text explanations for visualizations
JP3417800B2 (en) Computer-readable information storage medium storing display information and display device
JPH04288593A (en) Image display device
JPS60178487A (en) Card image data processor
JPS63192154A (en) Automatic line feed system for display character string
JP3047400B2 (en) Data processing device
Payant et al. Retooling Your Story: Using Visualizations to Demonstrate Impact
JP4005108B2 (en) Display control program and recording medium
JP3475428B2 (en) Data array controller
JPS63231490A (en) String generation system for graphic processing system
JPH039475A (en) Circuit diagram input system in cad system
JPH06231152A (en) Form processing method