JPH0743706B2 - Table data creation method and table display method - Google Patents
Table data creation method and table display methodInfo
- Publication number
- JPH0743706B2 JPH0743706B2 JP1319629A JP31962989A JPH0743706B2 JP H0743706 B2 JPH0743706 B2 JP H0743706B2 JP 1319629 A JP1319629 A JP 1319629A JP 31962989 A JP31962989 A JP 31962989A JP H0743706 B2 JPH0743706 B2 JP H0743706B2
- Authority
- JP
- Japan
- Prior art keywords
- ruled line
- data
- management table
- ruled
- column
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Processing Or Creating Images (AREA)
- Document Processing Apparatus (AREA)
Description
【発明の詳細な説明】 〔概要〕 表データの作成方法に関し、 少ないメモリ容量で表作成することを目的とし、 表の第1方向位置において第2方向位置毎に連続する同
じ罫線属性を持った縦もしくは横の罫線の配列について
の始点と終点の位置座標および罫線属性からなる罫線情
報を格納する罫線情報領域と罫線情報領域の罫線情報数
を管理する制御情報領域を第1方向毎に持つ第2方向管
理テーブル手段と、第2方向管理テーブル手段上の各制
御情報領域の位置を指示するポインタを持つ第1方向管
理テーブル手段と、入力された罫線データにより表され
る罫線の第1方向と第2方向の位置を判定し、前記罫線
データの第1方向位置により第1方向管理テーブル手段
から対応するポインタを読み取って、第2方向管理テー
ブル手段の制御情報領域および罫線情報領域にアクセス
し、前記罫線データの第2方向位置に基づいて作成した
罫線情報および制御情報を書き込む構成を持つ。DETAILED DESCRIPTION OF THE INVENTION [Overview] Regarding a method of creating table data, the object is to create a table with a small memory capacity, and the same ruled line attribute that is continuous in every second direction position in the first direction position of the table is provided. It has a ruled line information area for storing ruled line information consisting of position coordinates of start and end points and ruled line attributes for an array of vertical or horizontal ruled lines and a control information area for managing the number of ruled line information in the ruled line information area for each first direction. A two-way management table means, a first direction management table means having a pointer for pointing the position of each control information area on the second direction management table means, and a first direction of a ruled line represented by the inputted ruled line data. The position in the second direction is determined, the corresponding pointer is read from the first direction management table means according to the first direction position of the ruled line data, and the control information of the second direction management table means is read. The information area and the ruled line information area are accessed, and the ruled line information and the control information created based on the position of the ruled line data in the second direction are written.
本発明は、罫線による表データを作成する方法および作
成された表を表示装置に表示する方法に関する。The present invention relates to a method of creating table data by ruled lines and a method of displaying the created table on a display device.
従来の表作成装置は、画面上の1文字領域単位に罫線デ
ータを全てメモリ上に格納するようにしていた。In the conventional table creating apparatus, all ruled line data is stored in the memory in units of one character area on the screen.
従来の作表処理における罫線データの管理方法を第5図
により説明する。A conventional ruled line data management method in tabulation processing will be described with reference to FIG.
図において(a)は、1区画(セル)が表示画面上にお
ける1文字領域に対応する表作成のための表作成シート
を示す。In the figure, (a) shows a table creation sheet for creating a table in which one section (cell) corresponds to one character area on the display screen.
図において(b)は、各セルの罫線データを格納した罫
線データメモリを示す。In the figure, (b) shows a ruled line data memory storing ruled line data of each cell.
表作成のための表シートのセルは通常、横256列、縦819
2行で構成する。そして、セル1つの罫線データ毎に、
メモリ上にそのセルの罫線情報を格納する。The cells of a table sheet for creating a table are usually 256 rows wide and 819 length.
It consists of two lines. Then, for each ruled line data of one cell,
The ruled line information of the cell is stored in the memory.
例えば、図に示すように、セル番号を列番号と行番号の
マトリックスとして表現すると横方向に最大の256列の
表を作成する場合には、セル配列の1行目の各列のセル
番号1−1,1−2…,1−256の各々のセルに対応して図
(b)に示すように各々の罫線データを格納していた。
同様に、第2行目以降、表の最終行までの罫線データを
セル毎にメモリ上に格納していた。最大8192行×256列
の表を作成する場合には、第1列目の第1行目の1−1
セルから第8192行目の第256列目の8192−256セルまでの
全てのセルについての罫線データをメモリ上に格納する
必要があった。For example, as shown in the figure, when cell numbers are expressed as a matrix of column numbers and row numbers, a table with a maximum of 256 columns in the horizontal direction is created. Each ruled line data is stored as shown in FIG. 7B corresponding to each cell of -1, 1-2, ..., 1-256.
Similarly, the ruled line data from the second row to the last row of the table is stored in the memory for each cell. When creating a table with a maximum of 8192 rows x 256 columns, 1-1 in the first row, the first row
It was necessary to store the ruled line data for all the cells from the cell to the 8192th to 256th cells in the 256th column in the 8192th row in the memory.
1セルの罫線データの長さは通常2バイトで構成される
ので、最大の256列×8192行の表を作成するためには 2×256×8192=4194304 バイト(約4MB)のメモリ領域を必要としていた。その
他データを管理するテーブル領域等も必要なため、実際
はそれ以上のメモリ領域が従来は必要であった。Since the length of the ruled line data of one cell is usually composed of 2 bytes, a memory area of 2 × 256 × 8192 = 4194304 bytes (about 4MB) is required to create a table with a maximum of 256 columns × 8192 rows. I was trying. Since a table area for managing other data is also required, a memory area larger than that is actually required in the past.
本発明は、表の列および行の一方を第1方向他方を第2
方向とした場合、表の第1方向において第2方向に行位
置毎に連続した同じ罫線種等の罫線属性を持つ縦もしく
は横の罫線の連続した配列についてはその始点と終点の
みの位置座標により罫線データを圧縮して格納する行管
理テーブル手段と、第2方向管理テーブル手段上の罫線
情報を指定するポインタを持つ第1方向管理テーブル手
段を設けることによりメモリ上に格納する罫線データ数
を実際の画面上に表示される罫線の罫線データ数より少
なくするようにした。In the present invention, one of the columns and rows of the table is in the first direction
When the direction is set, for a continuous array of vertical or horizontal ruled lines that have the same ruled line attribute such as the same ruled line type that is continuous for each line position in the second direction in the first direction of the table, the position coordinates of only the start point and end point are used. The number of ruled line data stored in the memory is actually provided by providing the row management table means for compressing and storing the ruled line data and the first direction management table means having the pointer for designating the ruled line information on the second direction management table means. The number of ruled lines displayed on the screen is reduced.
本発明は、上記のように表作成処理において、罫線デー
タのメモリへの格納方法を改善することにより、限られ
たメモリ容量の範囲内で大きな表を作成できる表作成方
法および表の表示方法を実現することを目的とする。The present invention provides a table creating method and a table displaying method capable of creating a large table within a limited memory capacity by improving the method of storing ruled line data in the memory in the table creating process as described above. Aim to achieve.
第1図の本発明の基本構成により本発明を説明する。The present invention will be described with reference to the basic configuration of the present invention shown in FIG.
以下、上記における第1方向として列、第2方向として
行をとる場合について説明する。Hereinafter, a case where the first direction is a column and the second direction is a row will be described.
図において、1は縦256列、横8192行の区画(セル)よ
りなり、1セルが画面上の1文字領域に対応する表シー
ト、2は表の列位置において同じ罫線種、色等の罫線属
性を持つ連続する縦もしくは横の罫線の配列については
その始点と終点の位置座標からなる罫線情報を格納する
罫線情報領域と1つの列の連続した罫線の数を格納して
罫線情報領域を管理する制御情報領域を列毎に持つ行管
理テーブル、3は行管理テーブル上の各列の制御情報領
域の位置を指示するポインタを持つ列管理テーブル、4
は罫線データを入力する入力手段、5は入力された罫線
の列と行の位置を判定し、前記罫線データの列位置によ
り列管理テーブルから対応するポインタを読み取って、
行管理テーブルの制御情報領域および罫線情報領域にア
クセスし、前記罫線データの行位置に基づいて罫線情報
および制御情報を書き込むあるいは、行管理テーブル上
の制御情報領域の罫線情報数データを参照し、罫線情報
領域上の罫線情報より、罫線種等の属性、連続する縦罫
線もしくは横罫線の開始座標と終了座標データを読み取
って表示手段に作成表を表示せしめるテーブル制御手
段、6は罫線より成る表を表示する表示手段、10は表示
画面上の1文字領域に対応する表シートにおけるセル、
11は列管理テーブルの行管理テーブルにおける制御情報
領域を指示するポインタ、12は行管理テーブルにおける
制御情報のフォーマットで罫線データであること、ある
いは表形式のデータであることを示すデータ種別、表シ
ートにおける管理列名の番号、A,B等の各称を示す管理
列、データ種別が罫線データである場合における管理し
ている列の罫線情報数より構成されるもの、13は行管理
テーブルにおける罫線情報のフォーマットで縦罫線、横
罫線別に定められる線種、色等の罫線属性、列位置上で
連続して同じ属性の罫線データを持つ連続した縦罫線お
よび横罫線の開始行番号と終了行番号より構成されるも
の、14は入力された罫線の列と行の位置を判定し、前記
罫線データの列位置により列管理テーブルから対応する
ポインタを読み取って、行管理テーブルの制御情報領域
および罫線情報領域にアクセスし、前記罫線データの行
位置に基づいて罫線情報および制御情報を書き込むある
いは、行管理テーブル上の制御情報領域の罫線情報数デ
ータを参照し、罫線情報領域上の罫線情報より、罫線種
等の属性、連続する縦罫線もしくは横罫線の開始座標と
終了座標データを読み取り、表示手段に作成表を表示せ
しめる表示制御部に罫線データを出力するテーブル制御
部、15はテーブル制御部の出力により表示手段6に罫線
データを表示せしめる表示制御部である。In the figure, 1 is a table sheet in which cells (cells) each have 256 columns and 8192 rows, and one cell corresponds to one character area on the screen. 2 is a ruled line with the same ruled line type and color at the table column position. For an array of continuous vertical or horizontal ruled lines with attributes, manages the ruled line information area by storing the ruled line information area that stores the ruled line information consisting of the position coordinates of the start and end points and the number of consecutive ruled lines in one column. A row management table having a control information area for each column, 3 is a column management table having a pointer for indicating the position of the control information area of each column on the row management table, 4
Is an input means for inputting ruled line data, 5 determines the position of the input ruled line and row, reads the corresponding pointer from the column management table according to the column position of the ruled line data,
Access the control information area and the ruled line information area of the row management table and write the ruled line information and control information based on the row position of the ruled line data, or refer to the ruled line information number data of the control information area on the row management table, Table control means for reading attributes such as ruled line type, start coordinate and end coordinate data of continuous vertical ruled line or horizontal ruled line from the ruled line information in the ruled line information area and displaying the prepared table on the display means, 6 is a table made up of ruled lines Is a display means for displaying, and 10 is a cell in the front sheet corresponding to one character area on the display screen,
11 is a pointer that points to the control information area in the row management table of the column management table; 12 is a data type indicating that the control information format in the row management table is ruled line data or table format data; The number of the management column name in, the management column indicating each name such as A, B, and the number of ruled line information of the managed column when the data type is ruled line data, 13 is the ruled line in the row management table Start line number and end line number of continuous vertical ruled line and horizontal ruled line that have ruled line attributes such as line type, color, etc. determined by vertical ruled line and horizontal ruled line in the information format, and ruled line data with the same attribute continuously at the column position 14 is for determining the position of the input ruled line and row, and reads the corresponding pointer from the column management table according to the position of the ruled line data. Access the control information area and the ruled line information area of the row management table and write the ruled line information and control information based on the row position of the ruled line data, or refer to the ruled line information number data of the control information area on the row management table, A table that reads attributes such as ruled line type, start coordinate and end coordinate data of continuous vertical ruled lines or horizontal ruled lines from the ruled line information in the ruled line information area, and displays the created table on the display means The control unit 15 is a display control unit for displaying the ruled line data on the display means 6 by the output of the table control unit.
第1図の基本構成の作用を次に説明する。 The operation of the basic configuration of FIG. 1 will be described below.
まず、行管理テーブルに罫線データを書き込む場合につ
いて説明する。First, the case of writing ruled line data in the row management table will be described.
入力手段4より入力された罫線データは、テーブル制御
部14が画面上の列座標と行座標を読み取って、列座標に
より列管理テーブル上のポインタを読み出す。次に、そ
のポインタの指示に従って、テーブル制御部14は行管理
テーブル上の制御情報領域と罫線情報領域にアクセスし
て行管理テーブル上に入力された罫線データを列位置に
おいて縦罫線もしくは横罫線の開始座標および終了座
標、縦罫線、横罫線別に罫線種別等の属性のデータを罫
線情報領域に書き込む。With respect to the ruled line data input from the input means 4, the table control unit 14 reads the column coordinates and the row coordinates on the screen, and reads the pointer on the column management table according to the column coordinates. Next, in accordance with the instruction of the pointer, the table control unit 14 accesses the control information area and the ruled line information area on the row management table and sets the ruled line data input on the row management table to the vertical ruled line or the horizontal ruled line at the column position. The attribute data such as the ruled line type is written in the ruled line information area for each of the start and end coordinates, the vertical ruled line, and the horizontal ruled line.
次に、制御情報領域に罫線情報数を図示の制御情報フォ
ーマット12に従って書き込む。Next, the number of ruled line information is written in the control information area in accordance with the illustrated control information format 12.
例えば、図において、1列目では、N行、N−1行、N
+1行に縦罫線の同じ線種が第1列目の位置において縦
方向に続くので図示の行管理テーブル2の1列目の罫線
情報領域に開始行と終了行の罫線データによりデータ
を圧縮して格納する。For example, in the figure, in the first column, N rows, N−1 rows, N
Since the same line type of the vertical ruled line continues to the +1 line in the vertical direction at the position of the first column, the data is compressed in the ruled line information area of the first column of the illustrated row management table 2 by the ruled line data of the start line and the end line. To store.
同様に、M列についてみると、第1行と第N+1行まで
横罫線について同じ線種のデータが縦方向に続いている
ので行管理テーブル2の図示のに示す罫線情報領域に
開始行1と終了行N+1のみよりなる圧縮データを格納
する。Similarly, regarding the M column, since the data of the same line type continues in the vertical direction for the horizontal ruled lines up to the 1st row and the (N + 1) th row, the start line 1 is indicated in the ruled line information area shown in the line management table 2 as shown in the figure. The compressed data consisting of only the end row N + 1 is stored.
次に、行管理テーブル上の罫線データを読み取って表示
手段6に作成された表を表示する場合の動作を説明す
る。Next, the operation of reading the ruled line data on the row management table and displaying the created table on the display means 6 will be described.
テーブル制御部14は、列管理テーブル3を参照して罫線
を表示しようとする列のポインタを読出、その指示に従
って行管理テーブル上の制御情報領域にアクセスする。
そこで、列の罫線データ数を読み取って行管理テーブル
上の続くメモリ領域上に格納されている罫線データを読
み取ったデータ数だけ読み出す。そして、その罫線情報
より表示しようとする列の、罫線種等の属性、連続する
縦罫線もしくは横罫線の開始座標と終了座標データを読
み取って表示手段に作成表を表示せしめる。The table control unit 14 refers to the column management table 3, reads out the pointer of the column for which the ruled line is to be displayed, and accesses the control information area on the row management table according to the instruction.
Therefore, the number of ruled line data in the column is read, and the number of read ruled line data stored in the subsequent memory area on the row management table is read. Then, based on the ruled line information, the attribute such as the ruled line type of the column to be displayed, the start coordinate and the end coordinate data of continuous vertical ruled lines or horizontal ruled lines are read, and the creation table is displayed on the display means.
次に、テーブル制御部14は読み取ったデータを表示制御
部15に送り、表示制御部15は表示手段6に罫線を表示せ
しめる。Next, the table control unit 14 sends the read data to the display control unit 15, and the display control unit 15 causes the display means 6 to display a ruled line.
本発明が、最も有効な1列中に同じ罫線属性の縦罫線が
1本もしくは同じ罫線属性の横罫線列位置において配列
されている場合について、1例として、従来のメモリ管
理方法と本発明の場合とで、表作成に必要なメモリ容量
を比較すると、次のようになる。In the present invention, when one vertical ruled line having the same ruled line attribute or a horizontal ruled line sequence position having the same ruled line attribute is arranged in the most effective column, one example of the conventional memory management method and the present invention is described. Comparing the memory capacities required to create a table with the case, the results are as follows.
従来方法、 列管理テーブル4×256=1024(バイト) 罫線情報 2×256×8192=4194304 (バイト) 合計 4195328(バイト) 本発明の場合 列管理テーブル4×256=1024(バイト) 行管理テーブル6×256=1536(バイト) 罫線情報 6×256=1536(バイト) 合計 4096(バイト) 作表処理においては、1列中に同じ罫線が連続して存在
することが多いので、本発明の方法によれば、作表処理
を少ないメモリ容量で行うことができる。Conventional method, column management table 4 × 256 = 1024 (bytes) Ruled line information 2 × 256 × 8192 = 4194304 (bytes) Total 4195328 (bytes) In the case of the present invention Column management table 4 × 256 = 1024 (bytes) Row management table 6 × 256 = 1536 (bytes) Ruled line information 6 × 256 = 1536 (bytes) Total 4096 (bytes) In tabulation processing, the same ruled line is often present continuously in one column. According to this, the tabulation processing can be performed with a small memory capacity.
第2図ないし第4図により本発明の実施例を説明する。 An embodiment of the present invention will be described with reference to FIGS.
第2図(a)は本発明の列管理テーブルの実施例を示
す。FIG. 2A shows an embodiment of the column management table of the present invention.
列管理テーブルは列毎に行管理テーブルの制御情報領域
上へのポインタを持つ。The column management table has a pointer for each column on the control information area of the row management table.
各ポインタは4バイトで構成する。表は横256列あるの
で列管理テーブルは1024バイトで構成される。Each pointer is composed of 4 bytes. The table has 256 rows, so the column management table consists of 1024 bytes.
第2図(b)は列管理テーブルの制御情報領域上の制御
情報のフォーマットの実施例を示す。FIG. 2B shows an embodiment of the format of the control information on the control information area of the column management table.
制御情報は6バイトで構成する。The control information consists of 6 bytes.
表の形式情報あるいは罫線データ等であることを示すデ
ータ種別と管理している列の番号、名称を示す管理列名
を2バイトて構成し、データ種別が罫線データである場
合、罫線情報数を4バイトで構成する。If the data type indicating table format information or ruled line data, etc., the number of the managed column, and the management column name indicating the name are configured in 2 bytes, and the data type is ruled line data, the number of ruled line information is set. It consists of 4 bytes.
データ種別は4ビットで構成し、データ種類として「表
データ」,「形式情報」、「処理定義」、「罫線デー
タ」等の区別を4ビットで設定する。The data type is composed of 4 bits, and the type of data such as "table data", "format information", "process definition", and "ruled line data" is set by 4 bits.
管理列は12ビットで構成し、データが管理している列の
番号、A等の名称を示す。The management column is composed of 12 bits and indicates the number of the column managed by the data and the name such as A.
第3図は、行管理テーブルにおける罫線情報のフォーマ
ットの実施例を示す。FIG. 3 shows an embodiment of the format of ruled line information in the row management table.
罫線情報は6バイトで構成する。Ruled line information consists of 6 bytes.
上位2バイトは、縦罫線の罫線属性データを設定し、次
の2バイトに横罫線の罫線属性データを設定する。続く
2バイトに連続して列位置に配置された罫線の開始行、
次の2バイトに終了行のデータを設定する。The upper 2 bytes set the ruled line attribute data of the vertical ruled line, and the next 2 bytes set the ruled line attribute data of the horizontal ruled line. The starting line of the ruled line arranged in the column position consecutively in the following 2 bytes,
Set the end row data in the next 2 bytes.
縦罫線属性のデータ領域においては、縦罫線の有無を0
と1の1ビットで縦罫線設定状態を設定し、細線、点
線、中線、太線等の縦罫線種を別の5ビットで設定す
る。In the vertical ruled line attribute data area, the presence / absence of vertical ruled lines is set to 0.
The vertical ruled line setting state is set by 1 bit of 1 and 1, and the vertical ruled line type such as thin line, dotted line, medium line, and thick line is set by another 5 bits.
同様に、横罫線属性領域においては、横罫線設定状態を
1ビットで、横罫線種を5ビットで設定する。Similarly, in the horizontal ruled line attribute area, the horizontal ruled line setting state is set to 1 bit and the horizontal ruled line type is set to 5 bits.
第4図に罫線データを行テーブルに書き込む処理のフロ
ーを示す。FIG. 4 shows a flow of processing for writing ruled line data in the row table.
図において、「1新規作成処理」は、罫線の存在しない
列に新たな罫線を書き込もうとする場合の処理で、行管
理テーブルの制御情報領域と罫線情報領域にデータを設
定し、その領域の先頭アドレスを列管理テーブルのポイ
ンタ領域に設定する処理である。In the figure, "1 new creation process" is a process for writing a new ruled line in a column where no ruled line exists. Data is set in the control information area and the ruled line information area of the row management table, and the beginning of the area is set. This is a process of setting an address in the pointer area of the column management table.
また、図における、「2罫線情報追加処理」は、すで
に、列位置において罫線データが設定されていて、新た
に独立した罫線を追加する場合の処理である。追加する
罫線データを行管理テーブルの罫線情報領域に設定し、
すでにある制御情報領域の罫線情報数の数値を更新す
る。Further, the "2 ruled line information adding process" in the figure is a process when ruled line data has already been set at the column position and a new independent ruled line is added. Set the ruled line data to be added to the ruled line information area of the line management table,
Update the number of ruled line information in the existing control information area.
さらに、「3罫線情報更新処理」は、すでに存在してい
る罫線に列位置において、罫線をつなげて書き込む場合
の処理である。すでに存在している罫線情報の開始行と
終了行のデータを更新する。Further, the “3 ruled line information updating process” is a process in which the ruled lines are connected to the already existing ruled lines at the column position and written. Update the data of the start line and end line of the existing ruled line information.
番号に従ってフローを説明する。The flow will be described according to the numbers.
罫線を設定しようとしている列のデータの有無判断
し、なければ新規作成なので、「1新規作成処理」を行
う。Whether or not there is data in the column for which the ruled line is to be set is determined. If there is no data, it is a new creation, so "1 New creation processing" is performed.
罫線を設定しようとしている列のデータがあれば、
設定しようとしている行を含む罫線情報の有無を判断す
る。あれば、同一罫線か判断し()、同一罫線属性で
あればデータを変更する必要がないので、そのまま罫線
設定処理を完了する。同一罫線でなければ新しい罫線が
追加されることになるので「2罫線情報追加処理」を行
う。If there is data in the column for which you want to set ruled lines,
Determine whether there is ruled line information that includes the line you are trying to set. If there is, it is judged whether they are the same ruled line (), and if it is the same ruled line attribute, there is no need to change the data, so the ruled line setting process is completed. If it is not the same ruled line, a new ruled line is added, so "2 ruled line information addition processing" is performed.
で設定する行を含む罫線情報がなければ、設定す
る行の1行上位または1行下位の行を含む罫線情報の有
無を判断する。なければ、その列における他の罫線と連
続していない独立した罫線を追加することになるので、
「2罫線情報追加処理」を行う。If there is no ruled line information including the line set in step 1, it is determined whether there is ruled line information including one line higher or one line lower than the set line. If not, you will add an independent rule line that is not continuous with other rule lines in that column.
Perform "2 ruled line information addition processing".
において、設定する行の1行上位または1行下位
の行を含む罫線情報があれば、上位または下位の罫線と
連続した罫線を設定しようとしている場合であるので、
「3罫線情報更新処理」により開始行まは終了行を更新
する。If there is ruled line information that includes a line that is one line higher or one line lower than the line to be set, it means that a ruled line that is continuous with the upper or lower ruled line is being set.
The start line or the end line is updated by "3 ruled line information update processing".
なお、上記説明においては、第1方向として列、第2方
向として行をとる場合について説明したが、第1方向と
して行、第2方向として列をとることも可能である。In the above description, the case where the first direction is the column and the second direction is the row is described, but the first direction may be the row and the second direction may be the column.
本発明は、表の列位置において、同じ罫線が連続して配
置されている場合に、その罫線の開始行と終了行により
データを圧縮してメモリ上に格納するようにして表作成
処理を行うので、少ないメモリ容量で大きな表作成を行
うことができる。そのため、表作成処理において、表へ
の文字の記入、表に書き込んだ数値の表上での計算処理
等メモリ利用の自由度が大きくなり、効率的な表利用が
可能となる。According to the present invention, when the same ruled line is continuously arranged at the column position of the table, the table creation processing is performed by compressing the data according to the start line and the end line of the ruled line and storing it in the memory. Therefore, a large table can be created with a small memory capacity. Therefore, in the table creation process, the degree of freedom in using the memory such as the writing of characters in the table and the calculation process of numerical values written in the table is increased, and the table can be efficiently used.
第1図は、本発明の基本構成図である。 第2図(a)は、列管理テーブルの実施例図である。 第2図(b)は、列管理テーブルにおける制御情報のフ
ォーマットの実施例図である。 第3図は、罫線情報のフォーマットの実施例図である。 第4図は、罫線データ設定処理の実施例のフロー図であ
る。 第5図は、従来の罫線データの管理方法の説明図であ
る。 図において、 1:表シート、2:行管理テーブル、3:列管理テーブル、4:
入力手段、5:テーブル制御手段、6:表示手段、10:セ
ル、11:ポインタ領域、12:制御情報フォーマット、13:
罫線情報フォーマット、14:テーブル制御部、15:表示制
御部。FIG. 1 is a basic configuration diagram of the present invention. FIG. 2 (a) is an embodiment of the column management table. FIG. 2 (b) is an example of the format of the control information in the column management table. FIG. 3 shows an example of the format of ruled line information. FIG. 4 is a flow chart of an embodiment of ruled line data setting processing. FIG. 5 is an explanatory diagram of a conventional ruled line data management method. In the figure, 1: table sheet, 2: row management table, 3: column management table, 4:
Input means, 5: table control means, 6: display means, 10: cell, 11: pointer area, 12: control information format, 13:
Ruled line information format, 14: table control unit, 15: display control unit.
Claims (2)
し、表の第1方向位置において第2方向位置毎に連続す
る同じ罫線属性を持った縦もしくは横の罫線の配列につ
いての始点と終点の位置座標および罫線属性からなる罫
線情報を格納する罫線情報領域と罫線情報領域の罫線情
報数を管理する制御情報領域を第1方向毎に持つ第2方
向管理テーブル手段と、 第2方向管理テーブル手段上の各制御情報領域の位置を
指示するポインタを持つ第1方向管理テーブル手段とを
備え、 罫線データを入力する入力手段と、 入力された罫線データにより表される罫線の第1方向と
第2方向の位置を判定し、前記罫線データの第1方向位
置により第1方向管理テーブル手段から対応するポイン
タを読み取って、第2方向管理テーブル手段の制御情報
領域および罫線情報領域にアクセスし、前記罫線データ
の第2方向位置に基づいて作成した罫線情報および制御
情報を書き込むことにより、 第1方向管理テーブル手段と第2方向管理テーブル手段
上に表データを作成することを特徴とする表データ作成
方法。1. A display means for displaying a table composed of ruled lines, and one of a column and a row of the table is a first direction and the other is a second direction, and the table is continuous at every second direction position in the first direction position of the table. A control information area that manages the number of ruled line information in the ruled line information area and the ruled line information area that stores the ruled line information consisting of the position coordinates of the start and end points and the ruled line attribute for the array of vertical or horizontal ruled lines that have the same ruled line attribute An input means for inputting ruled line data, which comprises a second direction management table means for each direction and a first direction management table means for holding a pointer indicating the position of each control information area on the second direction management table means. And determining the position of the ruled line represented by the input ruled line data in the first direction and the second direction, and reading the corresponding pointer from the first direction management table means according to the first direction position of the ruled line data. Then, by accessing the control information area and the ruled line information area of the second direction management table means and writing the ruled line information and the control information created based on the second direction position of the ruled line data, the first direction management table means And a method of creating table data on the second direction management table means.
段と第2方向管理テーブル手段上に構成されている表デ
ータを入力とし、 第1方向管理テーブル手段よりポインタを読み取ってポ
インタの指示する第2方向管理テーブルの第2方向制御
情報領域に格納されている第1方向の罫線情報数、第1
方向の罫線情報を順次読出し、各罫線情報ごとに罫線属
性のデータにより、縦罫線、横罫線の別、罫線の属性
と、始点と終点の位置座標のデータにより連続して配列
されている縦罫線もしくは横罫線の開始行と終了行を認
識し、表示制御手段に罫線よりなる表を表示せしめるこ
とを特徴とする表の表示方法。2. The table data configured on the first direction management table means and the second direction management table means according to claim 1 is used as an input, and the pointer is read from the first direction management table means to indicate the pointer. Number of ruled line information in the first direction stored in the second direction control information area of the second direction management table,
Directional ruled line information is sequentially read, and vertical ruled lines are continuously arranged according to the ruled line attribute data for each ruled line information, vertical ruled line, horizontal ruled line, ruled line attribute, and start point and end point position coordinate data. Alternatively, the table display method is characterized in that the start line and the end line of the horizontal ruled line are recognized, and the table composed of the ruled line is displayed on the display control means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1319629A JPH0743706B2 (en) | 1989-12-08 | 1989-12-08 | Table data creation method and table display method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1319629A JPH0743706B2 (en) | 1989-12-08 | 1989-12-08 | Table data creation method and table display method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH03179555A JPH03179555A (en) | 1991-08-05 |
JPH0743706B2 true JPH0743706B2 (en) | 1995-05-15 |
Family
ID=18112423
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1319629A Expired - Fee Related JPH0743706B2 (en) | 1989-12-08 | 1989-12-08 | Table data creation method and table display method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0743706B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111914524B (en) * | 2020-06-05 | 2024-07-05 | 深圳小库科技有限公司 | Method and device for automatically generating form data |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5887616A (en) * | 1981-11-20 | 1983-05-25 | Toshiba Corp | Managing system for ruled data in word processor |
JPS60129883A (en) * | 1983-12-16 | 1985-07-11 | Matsushita Electric Ind Co Ltd | Document processor |
JPS60183682A (en) * | 1984-03-02 | 1985-09-19 | Sanyo Electric Co Ltd | Generating system of summary table frame in document generator |
-
1989
- 1989-12-08 JP JP1319629A patent/JPH0743706B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH03179555A (en) | 1991-08-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0743706B2 (en) | Table data creation method and table display method | |
JPH0120748B2 (en) | ||
JPH0376491B2 (en) | ||
JP2647916B2 (en) | Data processing device | |
JP2826351B2 (en) | Map search device | |
JP3006988B2 (en) | Spreadsheet apparatus and data management method for spreadsheet apparatus | |
JPS6132676B2 (en) | ||
JPH08180118A (en) | Table processor | |
JPS58129473A (en) | Memory control method | |
JPS61219082A (en) | Display controller | |
JPH0586580B2 (en) | ||
JPS6053990A (en) | Character processor | |
JPH01219792A (en) | Guidance display device | |
JPS5831592B2 (en) | Vertical/horizontal address conversion method | |
JPH0228869B2 (en) | GURAFUITSUKUDEISUPUREISOCHINONYURYOKUFUIIRUDOSEIGYOHOSHIKI | |
JPS613192A (en) | Memory of screen information | |
JPS6258509B2 (en) | ||
JPS607476A (en) | Screen scrolling system | |
JPS6063627A (en) | Data storage system | |
JPH06168257A (en) | Data output device | |
JPS6011891A (en) | Display control system | |
JPS62145280A (en) | Display modification control system for bit map display | |
JPH01142697A (en) | Cursor movement control device | |
JPH02284221A (en) | Multi-window display device | |
JPH07105189A (en) | Table processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |