JPH10228511A - Table creation processor and table creation processing method - Google Patents

Table creation processor and table creation processing method

Info

Publication number
JPH10228511A
JPH10228511A JP9029140A JP2914097A JPH10228511A JP H10228511 A JPH10228511 A JP H10228511A JP 9029140 A JP9029140 A JP 9029140A JP 2914097 A JP2914097 A JP 2914097A JP H10228511 A JPH10228511 A JP H10228511A
Authority
JP
Japan
Prior art keywords
cell
columns
rows
table creation
screen
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.)
Withdrawn
Application number
JP9029140A
Other languages
Japanese (ja)
Inventor
Yasunori Nakamura
康則 中村
晃 ▲高▼垣
Akira Takagaki
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.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Dainippon Screen Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP9029140A priority Critical patent/JPH10228511A/en
Publication of JPH10228511A publication Critical patent/JPH10228511A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve operability and to shorten working time. SOLUTION: A CPU 4 is controlled by a control program that is read from a recording medium 3. When a mouse 14 selects an optional cell in a table consisting of m rows and 41 columns (m) and (n) are integers) which is created or edited in accordance with a matrix label and is shown on the screen of a monitor 2, the CPU 4 controls an operation processing part 10 and undergoes coordinate operation processing of the position of the borders of each cell based on the number (p) of inputted rows and the number (q) of inputted columns by inputting matrix data (p and q) of (p) rows and (q) columns which divides the selected cell in a lower hierarchy to an input screen image that is shown on a screen by the CPU 4. Furthermore, the CPU 4 controls a graphic processing part 11, stores a table image consisting of the borders in video RAM 15 and controls the table image so that it may be shown in the screen of the monitor 2 based on a coordinate operation processing result of the part 10.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、行列ラベル対応で
表を作成する表作成処理装置および表作成処理方法に関
する。
[0001] 1. Field of the Invention [0002] The present invention relates to a table creation processing apparatus and a table creation processing method for creating a table corresponding to a matrix label.

【0002】[0002]

【従来の技術】従来、この種の表作成処理装置では、m
行n列(m,nは自然数)のセルからなる表を作成する
に際して、行列データ(m,n)を入力すると共に、そ
の表の高さおよび幅などの表データを入力する行列ラベ
ル対応で表を作成していた。
2. Description of the Related Art Conventionally, in this type of table creation processing apparatus, m
When creating a table composed of cells in rows and n columns (m and n are natural numbers), matrix data (m, n) is input and matrix labels corresponding to table data such as the height and width of the table are input. I was creating a table.

【0003】図6(a)〜図6(c)は、従来の表作成
処理方法を説明するための表示画面図であり、図6
(a)の表から図6(c)の表を作成する場合の中間操
作状態を図6(b)の表に示している。
FIGS. 6A to 6C are display screen diagrams for explaining a conventional table creation processing method.
An intermediate operation state when the table of FIG. 6C is created from the table of FIG. 6A is shown in the table of FIG.

【0004】図6(a)の表において、1行C列目のセ
ル(上段最右側のセル)を、図6(c)の表のように3
行2列のセルに分割する場合には、まず、その3行2列
の行列を含む4行4列の均等にセル分割された表を作成
する。さらに、この4行4列の均等にセル分割された表
の上から3行分を等間隔で全体表高さの1/2の高さ位
置になるようにそれぞれの境界線をクリップ機能で上側
にそれぞれ移動させて、上から3行分のセル高さの調整
を行う。また、右から2列分のセルを等間隔で右から全
体表幅の1/3のセル幅位置になるようにその境界線を
クリップ機能で右側にそれぞれ移動させてセル幅調整を
行うと共に、残る左から2列分のセルを等間隔で全体表
幅の1/3づつのセル幅位置になるようにその境界線を
クリップ機能で右側に移動させてセル幅調整を行う。こ
れによって、図6(b)に示すような4行4列の各セル
を有する表を編集することができる。
In the table of FIG. 6A, the cell in the first row and the C column (the rightmost cell in the upper row) is replaced by 3 cells as shown in the table of FIG.
In the case of dividing into cells of rows and columns, a table is created first, which includes the matrix of rows and columns of 3 rows and 4 columns and is equally divided into 4 rows and 4 columns. Furthermore, the upper boundary of each of the four rows and four columns of the cell-divided table is clipped so that three rows are equally spaced at half the height of the entire table. To adjust the cell height for the three rows from the top. Also, the cell width is adjusted by moving the boundaries of the two rows of cells from the right at equal intervals to the right with the clip function such that the cells are positioned at a cell width of 1/3 of the entire table width from the right. The cell width is adjusted by moving the boundary line of the remaining two columns of cells from the left to the right by the clipping function so as to be at a cell width position of 1/3 of the entire table width at equal intervals. As a result, a table having cells of 4 rows and 4 columns as shown in FIG. 6B can be edited.

【0005】次に、図6(b)において、1行A列およ
び1行B列目の各セルと、2行A列および2行B列目の
各セルとの間の行方向の境界線を透明状態にすると共
に、2行A列および2行B列の各セルと、3行A列およ
び3行B列の各セルとの間の行方向の境界線を透明状態
にすることによって、図6(b)の1行A列〜3行A列
の3つの各セルを見かけ上結合させて一つのセルである
かのように表示すると共に、図6(b)の1行B列目〜
3行B列目の3つの各セルを見かけ上結合させて一つの
セルであるかのように表示することで、図6(a)の1
行C列目のセル内に3行2列分の各セルを有する図6
(c)に示すような表を作成することができる。
Next, in FIG. 6 (b), the boundary line in the row direction between each cell in the first row A column and the first row B column and each cell in the second row A column and the second row B column. In a transparent state, and a row-direction boundary line between each cell in the second row A and the second row B and each cell in the third row A and the third row B is made transparent. Each of the three cells in the first row A column to the third row A column in FIG. 6B is apparently combined and displayed as if it were one cell, and the first cell in the first row B column in FIG. ~
Each of the three cells in the third row and the B column is apparently combined and displayed as if it were one cell.
FIG. 6 having three rows and two columns of cells in the cell in the row C column
A table as shown in (c) can be created.

【0006】[0006]

【発明が解決しようとする課題】上記従来の行列ラベル
対応の表作成方法では、列ラベルA,B,C,・・と行
ラベル1,2,3,・・とで管理されているので、その
列および行は全て分割されてしまい、任意に選択された
特定セル内だけをさらにセル分割することは事実上不可
能であった。したがって、当初から分割されたm行n列
の各セルになるように表を作り直すと共に、クリップ機
能で各セルの高さおよび幅を調整することで、図6
(b)のような表を作成し直し、分割を要しないA,B
列のセルについては、その行方向の境界線をそれぞれ消
して上下の複数のセルを見かけ上結合させて一つのセル
であるかのように表示するものであった。このように、
任意の特定セル中だけを分割した表を作成または編集す
ることは、作成者にとって操作上大変煩わしく困難な作
業であり、時間がかかる作業であった。
In the above-described conventional method for creating a table corresponding to matrix labels, since the column labels A, B, C,... And the row labels 1, 2, 3,. All of the columns and rows are divided, and it is virtually impossible to further divide only the cells within the arbitrarily selected specific cells. Therefore, by recreating the table so that each cell is divided into m rows and n columns from the beginning, and by adjusting the height and width of each cell by the clip function, FIG.
A and B that do not require division by re-creating the table as in (b)
In the case of a cell in a column, the boundary line in the row direction is deleted, and a plurality of cells above and below are apparently combined and displayed as if they were one cell. in this way,
Creating or editing a table in which only an arbitrary specific cell is divided is an operation that is very troublesome and difficult for the creator, and is a time-consuming operation.

【0007】本発明は、上記従来の問題を解決するもの
で、表を作り直したり不必要な境界線を消したりするこ
となく、操作性を向上させて表作成作業を容易に行うこ
とができると共に、大幅な作業時間の短縮を図ることが
できる表作成処理装置および表作成処理方法を提供する
ことを目的とする。
SUMMARY OF THE INVENTION The present invention solves the above-mentioned conventional problems. It is possible to improve the operability and easily perform a table creation operation without re-creating a table or erasing unnecessary boundaries. It is another object of the present invention to provide a table creation processing apparatus and a table creation processing method that can significantly reduce operation time.

【0008】[0008]

【課題を解決するための手段】本発明の表作成処理装置
は、行列ラベル対応の表作成処理を行う表作成処理装置
において、行列ラベル対応で作成または編集したm行n
列(m,nは自然数)の表の任意のセル内を、下位の階
層でp行q列(p,qは自然数)の表に分割処理するよ
うに制御する制御部を有することを特徴とするものであ
る。また、本発明の表作成処理方法は、行列ラベル対応
の表作成処理を行う表作成処理方法において、行列ラベ
ル対応で作成または編集したm行n列(m,nは自然
数)の表の任意のセルを選択し、この選択セル内を下位
の階層で分割するp行q列(p,qは自然数)の行列デ
ータ(p,q)を入力することにより、この選択セル内
をp行q列の表にセル分割処理するように制御すること
を特徴とするものである。さらに、本発明の記憶媒体
は、行列ラベル対応で作成または編集したm行n列
(m,nは自然数)の表の任意のセルを選択し、この選
択セル内を下位の階層で分割するp行q列(p,qは自
然数)の行列データ(p,q)を入力することにより、
この選択セル内をp行q列の表にセル分割処理するよう
に制御させることを特徴とする表作成プログラムが記録
されている。
According to the present invention, there is provided a table creation processing apparatus for performing a table creation process corresponding to a matrix label.
It has a control unit that controls an arbitrary cell of a table of columns (m and n are natural numbers) to be divided into a table of p rows and q columns (p and q are natural numbers) in a lower hierarchy. Is what you do. Also, the table creation processing method of the present invention is a table creation processing method for performing a table creation process corresponding to a matrix label, wherein an arbitrary table of m rows and n columns (m and n are natural numbers) created or edited in correspondence with a matrix label. By selecting a cell and inputting matrix data (p, q) of p rows and q columns (p and q are natural numbers) for dividing the selected cell into lower layers, the selected cell is p rows and q columns Is controlled so that cell division processing is performed on the table shown in FIG. Further, the storage medium of the present invention selects an arbitrary cell in a table of m rows and n columns (m and n are natural numbers) created or edited in correspondence with a matrix label, and divides the selected cell into lower layers. By inputting matrix data (p, q) of row q columns (p and q are natural numbers),
A table creation program is recorded in which the selected cells are controlled to be subjected to cell division processing into a table of p rows and q columns.

【0009】従来は、任意の特定セル内をp行q列に分
割する行列を含むように表を作成し直した後に、不要な
境界線を消す操作が必要であったが、この構成により、
行列ラベル対応で作成または編集したm行n列(m,n
は自然数)の表における任意のセルを選択し、この選択
セル内を下位の階層で分割するp行q列(p,qは自然
数)の行列データ(p,q)を入力するだけで、この選
択セル内をp行q列の表にセル分割処理することができ
るので、表を作り直したり不必要な境界線を消したりす
る従来の作業がなくなって、その操作性が向上して表作
成作業をより容易に行うことが可能になると共に、大幅
な作業時間の短縮が図られることになる。
Conventionally, it has been necessary to re-create a table so as to include a matrix for dividing an arbitrary specific cell into p rows and q columns, and then to delete unnecessary boundaries.
M rows and n columns (m, n) created or edited for matrix labels
Is a natural number) table, and by inputting matrix data (p, q) of p rows and q columns (p and q are natural numbers) that divides the selected cell into lower layers. Since the cell within the selected cell can be divided into a table of p rows and q columns, the conventional work of re-creating the table and eliminating unnecessary boundaries is eliminated, and the operability is improved and the table creation work is improved. Can be performed more easily, and the working time can be greatly reduced.

【0010】[0010]

【発明の実施の形態】以下、本発明に係る表作成処理装
置の実施形態について図面を参照して説明するが、本発
明は以下に示すような実施形態だけに限定されるもので
はない。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a table creation processing apparatus according to the present invention will be described below with reference to the drawings, but the present invention is not limited to only the following embodiments.

【0011】図1は、本発明の一実施形態における表作
成処理装置のハード構成を示すブロック図である。
FIG. 1 is a block diagram showing a hardware configuration of a table creation processing apparatus according to an embodiment of the present invention.

【0012】図1において、表作成処理装置1は、パー
ソナルコンピュータ本体(図示せず)と、編集する表や
文字さらに絵柄などの各種画像を表示可能なモニタ装置
2と、各種画像データや表作成処理用のプログラムデー
タなどからなるデータが記録された記録媒体3とからな
っている。
In FIG. 1, a table creation processing device 1 includes a personal computer main body (not shown), a monitor device 2 capable of displaying various images such as tables and characters to be edited and pictures, and various image data and table creation. And a recording medium 3 on which data including processing program data is recorded.

【0013】この表作成処理装置1の操作および制御シ
ステムは、各部を制御する中央演算処理装置(以下CP
Uという)4にバス5を介して接続されており、このバ
ス5に、各種データを格納可能なRAM6、インターフ
ェース回路7,8,9、演算処理部10、グラフィック
処理部11、インターフェース回路12がそれぞれ接続
されている。このインターフェース回路8には操作情報
を入力可能なキーボード13が接続され、また、インタ
ーフェース回路9には、モニタ装置2の画面位置に対応
した操作情報を入力可能なマウス14が接続されてお
り、これらからの操作信号に応じた指令をCPU4に行
わせることができるようになっている。
The operation and control system of the table creation processing device 1 includes a central processing unit (hereinafter referred to as a CP) for controlling each unit.
U) 4 via a bus 5. The bus 5 includes a RAM 6 capable of storing various data, interface circuits 7, 8, 9, an arithmetic processing unit 10, a graphic processing unit 11, and an interface circuit 12. Each is connected. A keyboard 13 capable of inputting operation information is connected to the interface circuit 8, and a mouse 14 capable of inputting operation information corresponding to the screen position of the monitor device 2 is connected to the interface circuit 9. The CPU 4 can issue a command corresponding to the operation signal from the CPU 4.

【0014】この演算処理部10は、2次元座標演算や
その他各種処理を行い、また、グラフィック処理部11
は、信号処理部10の演算結果に基づいて、ビデオRA
M15に対して描画すべき画像データの書き込み処理行
う。また、ビデオRAM15は、グラフィック処理部1
1で処理された1画面分の画像データがインターフェー
ス回路12を介して書き込まれるようになっており、所
定周期で繰り返して読みだされることによってモニタ装
置2の画面上に静止画像が出力されるようになってい
る。
The arithmetic processing unit 10 performs a two-dimensional coordinate operation and other various processes.
Is a video RA based on the operation result of the signal processing unit 10.
Write processing of image data to be drawn is performed on M15. The video RAM 15 stores the graphic processing unit 1.
The image data for one screen processed in step 1 is written via the interface circuit 12, and the still image is output on the screen of the monitor device 2 by being repeatedly read at a predetermined cycle. It has become.

【0015】ここで、表作成処理装置1は、用途に応じ
てその形態が異なっているが、本実施形態では、表作成
処理装置1はパーソナルコンピュータとして構成されて
おり、この場合、上記モニタ装置2は上記コンピュータ
用のディスプレイに対応しており、CRTや液晶ディス
プレイ、プラズマディスプレイなどで構成されている。
上記グラフィック処理部11は、上記記録媒体3に記録
されている表作成用のプログラムデータの一部若しくは
コンピュータの拡張スロットに搭載される拡張ボード上
のハードウエアに対応し、上記インターフェース回路
7,8,9,12は、コンピュータの拡張スロットに搭
載される拡張ボード上のハードウエアに対応している。
また、記録媒体3とは、例えば上記画像データやオペレ
ーティングシステムのプログラムデータの記憶されたR
OMや、光ディスク、フレキシブルディスクなどであ
る。また、RAM6は、コンピュータ上のメインメモリ
または拡張メモリの各エリアに対応している。
Here, the form of the table creation processing apparatus 1 is different depending on the application, but in the present embodiment, the table creation processing apparatus 1 is configured as a personal computer. Reference numeral 2 corresponds to the display for a computer, and is composed of a CRT, a liquid crystal display, a plasma display, or the like.
The graphic processing unit 11 corresponds to a part of program data for table creation recorded on the recording medium 3 or hardware on an expansion board mounted on an expansion slot of a computer. , 9, and 12 correspond to hardware on an expansion board mounted in an expansion slot of the computer.
Further, the recording medium 3 is, for example, an R in which the image data and the operating system program data are stored.
OM, optical disk, flexible disk, and the like. The RAM 6 corresponds to each area of the main memory or the extended memory on the computer.

【0016】図2は、図1の表作成処理装置1の機能ブ
ロック構成を示すブロック図である。
FIG. 2 is a block diagram showing a functional block configuration of the table creation processing apparatus 1 of FIG.

【0017】図2において、CPU4、演算処理部1
0、グラフィック処理部11およびメモリ部(RAM
6、インターフェース回路7および記録媒体3)により
制御部21が構成されており、CPU4は、記録媒体3
に格納されている画像データおよびプログラムデータな
どからなるデータを読み出してRAM6に記憶させると
共に、新規に作成する表の行数mと列数n、およびその
高さと幅の各入力データに基づいて、演算処理部10に
対して各セルを分割する各境界線の始点と終点の座標演
算処理を行わせ、この座標演算処理結果に基づいてグラ
フィック処理部11で、ビデオRAM15に対して描画
すべき画像データの書き込み処理を行うように制御する
構成である。また、その表の任意のセル内をさらに分割
した表を作成する場合には、任意のセル内を分割する行
数pと列数qの行列データ(p,q)に基づいて、演算
処理部10に対して各セルを分割する各境界線の始点と
終点の座標演算処理を行わせ、この座標演算処理結果に
基づいてグラフィック処理部11で、ビデオRAM15
に対して描画すべき画像データの書き込み処理を行うよ
うに制御する構成である。このとき、表の各セルの位置
データは、各セルの4角の座標のうち左上座標および右
下座標としてRAM6に記憶されている。
In FIG. 2, the CPU 4 and the arithmetic processing unit 1
0, graphic processing unit 11 and memory unit (RAM
6, the interface circuit 7 and the recording medium 3) constitute a control unit 21.
Is read out and stored in the RAM 6 based on the number of rows m and the number of columns n of the newly created table, and the input data of the height and width of the table. The arithmetic processing unit 10 performs coordinate calculation processing of the start point and the end point of each boundary line that divides each cell. Based on the result of the coordinate calculation processing, the graphic processing unit 11 draws an image to be drawn on the video RAM 15. This is a configuration in which control is performed to perform a data write process. When a table in which an arbitrary cell of the table is further divided is created, the arithmetic processing unit is based on matrix data (p, q) of the number p of rows and the number q of columns dividing the arbitrary cell. 10 is subjected to coordinate calculation processing of the start point and end point of each boundary line that divides each cell, and based on the result of the coordinate calculation processing, the graphic processing unit 11
Is configured to perform a write process of image data to be drawn with respect to. At this time, the position data of each cell in the table is stored in the RAM 6 as upper left coordinates and lower right coordinates among the coordinates of the four corners of each cell.

【0018】また、インターフェース回路8,9、キー
ボード13およびマウス14により入力部22が構成さ
れており、入力部22は、キーボード13およびマウス
14からの操作信号に応じた指令をCPU4に行わせる
ことで、新規に表作成させることができると共に、その
表の任意のセル内をさらに分割した表を作成させること
ができ、さらに、その作成した表の各セルの高さおよび
幅をマウス14のクリップ機能で調整させることもでき
る。新規に表作成をする場合には、表作成入力画面に対
して行数mと列数n、およびその高さと幅の各データを
キーボード13によって入力するようになっている。ま
た、表の任意のセル内を分割する場合には、表作成デー
タ入力画面に対して行数pと列数qの各行列データ
(p,q)をキーボード13によって入力するようにな
っている。さらに、メニューの表作成コマンドや分割コ
マンドの起動、分割すべきセルの選択などは、選択手段
としてのマウス14やキーボード13を用いてその入力
を行うようになっている。
An input section 22 is constituted by the interface circuits 8 and 9, the keyboard 13 and the mouse 14. The input section 22 causes the CPU 4 to issue a command corresponding to an operation signal from the keyboard 13 and the mouse 14. In addition to creating a new table, a table can be created by further dividing an arbitrary cell in the table, and the height and width of each cell in the created table can be set using the mouse 14 clip. It can be adjusted by the function. When a new table is created, the data of the number of rows m and the number of columns n, and the respective height and width data are input from the keyboard 13 on the table creation input screen. When an arbitrary cell in the table is divided, matrix data (p, q) having the number of rows p and the number of columns q is input from the keyboard 13 on the table creation data input screen. . Furthermore, a menu table creation command or a division command is started, and a cell to be divided is selected using the mouse 14 and the keyboard 13 as selection means.

【0019】さらに、インターフェース回路12、ビデ
オRAM15およびモニタ装置2により表示部23が構
成されており、表示部23は、グラフィック処理部11
で、ビデオRAM15に対して書き込み処理を行った画
像データをモニタ装置2に出力することで、所望のm行
n列で所定高さおよび幅の表の枠組みがその画面上に表
示され、さらに、その表の任意のセルをさらに分割処理
した場合には、マウス14で選択した親セル内に所望の
p行q列の子セルを有する表の枠組みがモニタ装置2の
表示画面上に表示されることになる。なお、以下に、表
という場合には、表の枠組み(骨組み)をいうことにす
る。
Further, a display unit 23 is constituted by the interface circuit 12, the video RAM 15, and the monitor device 2, and the display unit 23
By outputting the image data that has been written to the video RAM 15 to the monitor device 2, a table frame of a predetermined height and width in a desired m rows and n columns is displayed on the screen. When an arbitrary cell of the table is further divided, a frame of a table having a desired p-row and q-column child cell in the parent cell selected by the mouse 14 is displayed on the display screen of the monitor device 2. Will be. In the following, when referring to a table, the framework (frame) of the table will be referred to.

【0020】上記構成により、以下、その動作を説明す
る。
The operation of the above configuration will be described below.

【0021】図3は、図1および図2の表作成処理装置
の表作成動作示すフローチャートである。
FIG. 3 is a flowchart showing the table creation operation of the table creation processing apparatus shown in FIGS.

【0022】図3に示すように、画面上側のメニューコ
マンドをマウス14でクリックすることにより、所要の
複数の機能を示すメニューが表示される。まず、ステッ
プS1で表を新規に作成する。つまり、メニューの表作
成コマンドを、マウス14でカーソル移動させてクリッ
クすることで選択すれば、表作成データ入力画面が表示
され、表の行数mおよび列数n、また、表の高さおよび
幅(またはセルの高さおよび幅)を入力データとしてキ
ーボード13から入力する。このように、キーボード1
3から入力された行数mと列数nに基づいて、CPU4
は、演算処理部10を制御して各セルの境界線の位置を
座標演算処理させる。このデータがRAM6内に記憶さ
れる。さらに、この演算処理部10の座標演算処理結果
に基づいて、CPU4は、グラフィック処理部11を制
御してその境界線よりなる表画像をビデオRAM15内
に記憶させて、この表画像はモニタ装置2の画面上に繰
り返して読み出されることで静止画像として表示するよ
うに制御する。このとき、モニタ装置2の表示画面に
は、本実施形態では、各セルの高さ(表の高さ÷表の行
数2)と各セルの幅(表の幅÷表の列数3)を出力デー
タとして、図4(a)に示すような2行3列の表が表示
されることになる。
As shown in FIG. 3, when a menu command on the upper side of the screen is clicked with the mouse 14, a menu showing a plurality of required functions is displayed. First, a new table is created in step S1. In other words, if the user selects the table creation command in the menu by moving the cursor with the mouse 14 and clicking it, a table creation data input screen is displayed, and the number of rows m and the number of columns n of the table, the height of the table, The width (or the height and width of the cell) is input from the keyboard 13 as input data. Thus, keyboard 1
CPU 4 based on the number of rows m and the number of columns n input from
Controls the arithmetic processing unit 10 to perform coordinate arithmetic processing on the position of the boundary line of each cell. This data is stored in the RAM 6. Further, based on the result of the coordinate calculation processing by the calculation processing unit 10, the CPU 4 controls the graphic processing unit 11 to store a table image including the boundary line in the video RAM 15, and the table image is stored in the monitor device 2. Is controlled to be displayed as a still image by being repeatedly read out on the screen. At this time, the display screen of the monitor device 2 displays, in the present embodiment, the height of each cell (the height of the table ÷ the number of rows in the table 2) and the width of each cell (the width of the table ÷ the number of columns in the table 3). Is output data, a table having two rows and three columns as shown in FIG. 4A is displayed.

【0023】次に、ステップS2でCPU4は、さらに
下の階層の表を作成するのかどうかを、メニューの分割
コマンドが、マウス14で選択されたかどうかで判断す
る。ステップS2でさらに下の階層の表を作成しないの
であれば操作を終了するが、さらに下の階層の表を作成
するのであれば、マウス14で分割コマンドが選択され
た後、現在の階層の表において、ステップS3で下の階
層の表を作成すべく分割するセルを選択する。このセル
の選択は、マウス14によってそのセルの領域内でクリ
ックをすることにより行われ、これによって、そのセル
の領域内が画面上でハイライトして変色することで、使
用者はそのセルが選択されたことを知ることができる。
このとき、現在作成されている表における各セルの4角
の座標のうち左上座標および右下座標をRAM6で記憶
することで、各セルの座標領域を保持しており、CPU
4は、マウス14でクリックされた座標位置を含むセル
が選択されたと判断してそのセルの領域内を画面上でハ
イライトさせるように制御している。上記セル領域内が
ハイライトして変色するということは、白黒表示では輝
度レベル変換し、カラー表示では色変更することであ
る。なお、表画像の枠組みを、白黒表示では輝度レベル
変換し、カラー表示では色変更することもできる。
Next, in step S2, the CPU 4 determines whether or not to create a table at a lower level, based on whether or not the menu division command is selected with the mouse 14. If the table of the lower hierarchy is not created in step S2, the operation is ended. If the table of the lower hierarchy is created, the division command is selected with the mouse 14 and the current hierarchy table is selected. In step S3, a cell to be divided to create a table at a lower level is selected. The cell is selected by clicking with the mouse 14 in the area of the cell, whereby the area of the cell is highlighted on the screen and changed in color, so that the user can select the cell. You can know that it was selected.
At this time, the upper left coordinates and the lower right coordinates of the four corner coordinates of each cell in the currently created table are stored in the RAM 6 to hold the coordinate area of each cell.
Reference numeral 4 controls that the cell including the coordinate position clicked by the mouse 14 is selected and the area of the cell is highlighted on the screen. The fact that the inside of the cell region is highlighted and changed in color means that the brightness level is converted in the monochrome display and the color is changed in the color display. Note that the framework of the front image can be converted into a luminance level in monochrome display, and can be changed in color in color display.

【0024】その後、ステップS4で図4(b)に示す
ような表作成データ入力画面が、例えば中央部にウイン
ドウ表示される。その表作成データ入力画面に対して、
その選択したセルを分割すべき行数pと列数qをキーボ
ード13から入力する。これらの入力した行数pと列数
qを訂正するのであれば、表作成データ入力画面の「キ
ャンセル」をマウス14で選択して行数pと列数qの入
力をやり直すことができる。また、入力した行数pと列
数qで良ければ、表作成データ入力画面の「OK」をマ
ウス14で選択することで、その入力された分割行数p
と列数qとに基づいて、CPU4は、ステップS5で演
算処理部10を制御してセル分割すべき境界線の位置を
座標演算処理する。さらに、この座標演算処理結果に基
づいて、CPU4は、ステップS6でグラフィック処理
部11を制御してセル分割すべき境界線を含む表の画像
をビデオRAM15内に記憶させる。このビデオRAM
15内の表画像をモニタ装置2の画面上に表示するよう
に制御する。このとき、モニタ装置2の表示画面には、
本実施形態では、子セルの高さ(表の高さ÷表の行数
2)と子セルの幅(表の幅÷表の列数3)を出力データ
として、図4(a)の1行C列の親セル内に階層的に3
行2列の子セルを作成した図4(c)に示すような表を
自動的に作成して表示することができる。
Thereafter, in step S4, a table creation data input screen as shown in FIG. 4B is displayed in a window, for example, at the center. For the table creation data input screen,
The number of rows p and the number of columns q into which the selected cell is to be divided are input from the keyboard 13. If the input row number p and column number q are to be corrected, “cancel” on the table creation data input screen can be selected with the mouse 14 and the row number p and column number q can be input again. If the number of input rows p and the number of columns q are sufficient, the user can select “OK” on the table creation data input screen with the mouse 14 to obtain the input divided row number p.
Based on and the number of columns q, the CPU 4 controls the arithmetic processing unit 10 in step S5 to perform coordinate arithmetic processing on the position of the boundary line to be divided into cells. Further, based on the result of the coordinate calculation processing, the CPU 4 controls the graphic processing section 11 in step S6 to store the image of the table including the boundary line to be divided into the cells in the video RAM 15. This video RAM
Control is performed so that the front image in 15 is displayed on the screen of the monitor device 2. At this time, the display screen of the monitor device 2
In the present embodiment, the height of the child cell (the height of the table ÷ the number of rows in the table 2) and the width of the child cell (the width of the table ÷ the number of columns in the table 3) are used as output data, and 1 in FIG. 3 hierarchically in the parent cell of row C column
It is possible to automatically create and display a table as shown in FIG. 4C in which child cells in row 2 and column 2 are created.

【0025】次いで、CPU4は、この作成されて表示
された表で良いかどうかを、ステップS7で判断する。
このCPU4の良否判断は、表示画面上に例えば「キャ
ンセル,OK」を表示させて、それをマウス14でクリ
ックして選択するようにしてもよい。さらに、マウス1
4で「OK」が選択された場合には、ステップS8で表
示画面上に例えば「別のセルの分割処理をするかどう
か。YES,NO」を表示させて、それをマウス14で
選択的にクリックするようにしてもよい。この場合、ス
テップS8でマウス14により「OK」を選択して、別
のセルの処理をする場合には、ステップS3に戻って別
のセルの選択を実行することになる。このセルの選択
は、マウス14によってそのセルの範囲内でクリックを
すればそのセルの領域内が画面上でハイライトすること
で、使用者はそのセルが選択されたことを知ることがで
きる。その後、上記ステップS4〜ステップS6と同様
に実行することで、マウス14で選択した親セル内に階
層的に分割された所望の子セルを作成した表を自動的に
表示させることができる。
Next, the CPU 4 determines in step S7 whether the created and displayed table is acceptable.
The determination of good or bad of the CPU 4 may be such that, for example, “Cancel, OK” is displayed on the display screen and clicked with the mouse 14 for selection. In addition, mouse 1
If "OK" is selected in Step 4, for example, "Whether to perform another cell division process. YES, NO" is displayed on the display screen in Step S8, and the display is selectively performed with the mouse 14. You may click. In this case, if "OK" is selected with the mouse 14 in step S8 and another cell is to be processed, the process returns to step S3 and another cell is selected. To select this cell, if the mouse 14 is clicked within the range of the cell, the area of the cell is highlighted on the screen, so that the user can know that the cell has been selected. After that, by executing the above steps S4 to S6 in the same manner, a table in which the desired hierarchically divided child cells are created in the parent cell selected by the mouse 14 can be automatically displayed.

【0026】また、ステップS7でマウス14により画
面上の「キャンセル」を選択した場合には、CPU4
は、ステップS9で表の条件設定をやり直すかどうかを
判断する。この判断は、表示画面上に例えば「表の条件
設定をやり直すかどうか。YES,NO」を表示させ
て、それをマウス14で選択的にクリックするようにし
てもよい。ステップS9でマウス14により画面上の
「YES」を選択した場合には、CPU4は、ステップ
S4に戻って表の条件設定入力画面を中央部にウインド
ウ表示させるように制御する。また、ステップS9でマ
ウス14により画面上の「NO」を選択した場合には、
CPU4は、表の下位の階層のセル分割処理を終了す
る。なお、以上のステップS7,S8の代わりに、ステ
ップS6で所望の表を画面上に表示後、マウス14を用
いてステップS3のセル選択を行うだけで、別のセルの
分割処理をするように設定することもできる。また、メ
ニューに表条件設定のやり直しを実行するコマンドを設
ければ、以上のステップS7,S9の代りに、ステップ
S6で所望の表を画面上に表示後、マウス14を用いて
これを選択することで、ステップS4の表条件設定用の
表作成データ入力画面に戻すように設定することもでき
る。
If "cancel" on the screen is selected by the mouse 14 in step S7, the CPU 4
Determines whether or not to re-set the conditions of the table in step S9. This determination may be made, for example, by displaying "whether to re-set the condition of the table. YES, NO" on the display screen and selectively clicking it with the mouse 14. If "YES" on the screen is selected by the mouse 14 in step S9, the CPU 4 returns to step S4 and controls to display the condition setting input screen of the table in a window at the center. When “NO” on the screen is selected by the mouse 14 in step S9,
The CPU 4 ends the cell division processing of the lower hierarchy of the table. Instead of the above steps S7 and S8, after a desired table is displayed on the screen in step S6, another cell division process is performed simply by selecting the cell in step S3 using the mouse 14. Can also be set. Also, if a command for executing the redoing of the table condition setting is provided in the menu, a desired table is displayed on the screen in step S6 instead of steps S7 and S9 described above, and then selected using the mouse 14. Thus, it can be set so as to return to the table creation data input screen for setting the table conditions in step S4.

【0027】ここで、階層化された表におけるラベル動
作について説明する。
Here, a label operation in a hierarchical table will be described.

【0028】図5(a)のセル領域a〜fの何れかをマ
ウス14でダブルクリックすることで、そのセルが属す
る階層のラベルを表示することができる。例えば図5
(a)のセル領域cをマウス14でダブルクリックすれ
ば、そのセルが属する階層、つまり、図5(b)に示す
ように、下位の階層に属する子セルのラベルを表示する
ことができる。また、例えば図5(a)のセル領域c以
外のセル領域a,b,d,e,fの何れかをマウス14
でダブルクリックすれば、そのセルが属する階層、つま
り、図5(c)に示すように、上位の階層に属する親セ
ルのラベルを表示することができる。
By double-clicking one of the cell areas a to f in FIG. 5A with the mouse 14, the label of the layer to which the cell belongs can be displayed. For example, FIG.
By double-clicking the cell area c in (a) with the mouse 14, the label to which the cell belongs, that is, the label of the child cell belonging to the lower layer can be displayed as shown in FIG. 5B. Further, for example, any one of the cell areas a, b, d, e, and f other than the cell area c in FIG.
Double-clicking on displays the label to which the cell belongs, that is, the label of the parent cell belonging to the higher layer, as shown in FIG. 5C.

【0029】さらに、その作成した表の各セルの高さお
よび幅をマウス14のクリップ機能で調整することで表
を編集することができる。その調整されて編集された表
の各セル内に文字をキーボード13から入力することが
できる。下位の階層に属する子セル内に文字を入力する
ような場合には、その子セルの領域内でマウス14をダ
ブルクリックすることで、その下位の階層のラベル表示
になると共に、その下位の階層の子セル内に文字を入力
することができるようになる。さらに、その画面上の表
および文字を印刷処理することで、所望の表および文字
を得ることができる。
Furthermore, the table can be edited by adjusting the height and width of each cell of the created table with the clip function of the mouse 14. Characters can be input from the keyboard 13 into each cell of the adjusted and edited table. When a character is to be input into a child cell belonging to a lower hierarchy, by double-clicking the mouse 14 in the area of the child cell, a label of the lower hierarchy is displayed, and a label of the lower hierarchy is displayed. Characters can be entered in child cells. Further, by printing the tables and characters on the screen, desired tables and characters can be obtained.

【0030】したがって、行列ラベル対応で作成または
編集されてモニタ装置2の画面上に表示されたm行n列
(m,nは自然数)の表の任意のセルをマウス14で選
択すれば、画面上に表示させた表作成データ入力画面に
対して、この選択セル内を下位の階層で分割するp行q
列の行列データ(p,q)を入力する。この入力された
行数pと列数qに基づいて、CPU4は、記録媒体3か
ら読み出されたプログラムなどによって演算処理部10
を制御して各セルの境界線の位置を座標演算処理させ
る。さらに、この演算処理部10の座標演算処理結果に
基づいて、CPU4は、グラフィック処理部11を制御
してその境界線よりなる表画像をビデオRAM15内に
記憶させて、ビデオRAM15内の表画像をモニタ装置
2の画面上に表示するように制御する。このように、こ
の選択セル内をp行q列の表にセル分割処理するように
制御するため、親セル内をp行q列に分割する行列を含
むように表を作成し直す作業も、不要な境界線を消す作
業も必要なくなって、その作業性が大幅に向上して作業
を容易に行うことができると共に、大幅な作業時間の短
縮を図ることができる。
Therefore, if an arbitrary cell in a table of m rows and n columns (m and n are natural numbers) created or edited in correspondence with the matrix label and displayed on the screen of the monitor device 2 is selected with the mouse 14, the screen is displayed. For the table creation data input screen displayed above, p-line q dividing this selected cell into lower layers
The matrix data (p, q) of the column is input. Based on the input row number p and column number q, the CPU 4 executes the arithmetic processing unit 10 by using a program read from the recording medium 3 or the like.
Is controlled to calculate the position of the boundary line of each cell. Further, based on the result of the coordinate calculation processing by the calculation processing unit 10, the CPU 4 controls the graphic processing unit 11 to store a table image including the boundary line in the video RAM 15, and stores the table image in the video RAM 15 in the video RAM 15. Control is performed so as to be displayed on the screen of the monitor device 2. As described above, in order to control the cell division processing in the selected cell into a table of p rows and q columns, the work of re-creating the table so as to include a matrix for dividing the parent cell into p rows and q columns can be performed. There is no need to delete unnecessary boundary lines, so that the workability is greatly improved, the work can be easily performed, and the work time can be significantly reduced.

【0031】なお、本実施形態では、新規に作成したm
行n列の表内の任意の親セルを分割処理して、その親セ
ル中にp行q列の複数の子セルを有する表を作成するよ
うに構成したが、その複数の子セルのうち任意の子セル
をさらに分割処理して、その子セル中にr行s列(r,
sは自然数)の複数の孫セルを有する表を作成するよう
に構成することもできる。このようにして、順次下位の
階層にセルを表分割することができる。
In this embodiment, the newly created m
An arbitrary parent cell in the row n column table is divided to create a table having a plurality of p rows and q columns of child cells in the parent cell. Of the plurality of child cells, An arbitrary child cell is further divided, and r rows and s columns (r,
(s is a natural number) may be configured to create a table having a plurality of grandchild cells. In this way, the cells can be sequentially divided into lower layers.

【0032】このとき、現在作成されている表における
各親セルの4角の座標のうち左上座標および右下座標が
RAM6内に記憶されていると共に、子セルや孫セルの
4角の座標のうち左上座標および右下座標についてもR
AM6内に記憶されているが、これらの各データは親セ
ルから子セルさらに孫セルへと階層的に保持されてお
り、親セルに子セルがある場合は下位の階層があるとい
う識別子が親セルに付けられ、また、子セルに孫セルが
ある場合はさらに下位の階層があるという識別子がその
子セルに付けられている。
At this time, the upper left coordinate and the lower right coordinate of the four corner coordinates of each parent cell in the currently created table are stored in the RAM 6, and the four corner coordinates of the child cell and grandchild cell are stored. Of the upper left and lower right coordinates, R
Each of these data is stored hierarchically from the parent cell to the child cell and further to the grandchild cell, and if the parent cell has a child cell, the identifier indicating that there is a lower hierarchy is stored in the parent cell. When a child cell has a grandchild cell, an identifier indicating that there is a lower hierarchy is attached to the child cell.

【0033】[0033]

【発明の効果】以上のように本発明によれば、行列ラベ
ル対応で作成または編集したm行n列(m,nは自然
数)の表の任意のセル内を、下位の階層でp行q列
(p,qは自然数)の表に分割処理するように制御する
ため、その操作性が向上して作業を容易に行うことがで
きると共に、大幅な作業時間の短縮を図ることができ
る。
As described above, according to the present invention, an arbitrary cell of a table of m rows and n columns (m and n are natural numbers) created or edited in correspondence with a matrix label can be arranged in the lower hierarchy by p rows q Since control is performed so as to divide the table into columns (p and q are natural numbers), the operability is improved, the work can be performed easily, and the work time can be greatly reduced.

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

【図1】本発明の一実施形態における表作成処理装置の
ハード構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a hardware configuration of a table creation processing device according to an embodiment of the present invention.

【図2】図1の表作成処理装置1の機能ブロック構成を
示すブロック図である。
FIG. 2 is a block diagram showing a functional block configuration of a table creation processing device 1 of FIG. 1;

【図3】図1および図2の表作成処理装置の表作成動作
示すフローチャートである。
FIG. 3 is a flowchart showing a table creation operation of the table creation processing device of FIGS. 1 and 2;

【図4】(a)〜(c)は、図1および図2の表作成処
理装置の表示画面図であって、(a)は表の右側のセル
を選択した場合の表示画面図、(b)は行列条件入力画
面を示す表示画面図、(c)は右側のセルを分割処理し
た表例を示す表示画面図である。
FIGS. 4A to 4C are display screen diagrams of the table creation processing device of FIGS. 1 and 2; FIG. 4A is a display screen diagram when a cell on the right side of the table is selected; (b) is a display screen diagram showing a matrix condition input screen, and (c) is a display screen diagram showing an example of a table obtained by dividing the right cell.

【図5】(a)〜(c)は、図2の表示部におけるラベ
ル動作を説明するための表示画面図であって、(a)は
セルa〜fの表示を示す表示画面図、(b)はセルcの
下位の階層のラベル表示を示す表示画面図、(c)はセ
ルc以外の上位の階層のラベル表示を示す表示画面図で
ある。
5 (a) to 5 (c) are display screen diagrams for explaining a label operation in the display unit of FIG. 2; FIG. 5 (a) is a display screen diagram showing display of cells a to f; FIG. 4B is a display screen diagram showing a label display of a lower hierarchy of the cell c, and FIG. 6C is a display screen diagram showing a label display of a higher hierarchy other than the cell c.

【図6】(a)〜(c)は、従来の表作成処理方法を説
明するための表示画面図であって、(a)は新規に作成
した表を示す表示画面図、(b)は(a)の表から所望
の表を作成する場合の中間操作状態を示す表示画面図、
(c)は所望の表を示す表示画面図である。
FIGS. 6A to 6C are display screen diagrams for explaining a conventional table creation processing method, where FIG. 6A is a display screen diagram showing a newly created table, and FIG. A display screen diagram showing an intermediate operation state when a desired table is created from the table of (a),
(C) is a display screen diagram showing a desired table.

【符号の説明】[Explanation of symbols]

1 表作成処理装置 2 モニタ装置 3 記録媒体 4 CPU 5 バス 6 RAM 7,8,9,12 インターフェース回路 10 演算処理部 11 グラフィック処理部 13 キーボード 14 マウス 15 ビデオRAM 21 制御部 22 入力部 23 表示部 DESCRIPTION OF SYMBOLS 1 Table preparation processing device 2 Monitor device 3 Recording medium 4 CPU 5 Bus 6 RAM 7, 8, 9, 12 Interface circuit 10 Arithmetic processing unit 11 Graphic processing unit 13 Keyboard 14 Mouse 15 Video RAM 21 Control unit 22 Input unit 23 Display unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 行列ラベル対応の表作成処理を行う表作
成処理装置において、 行列ラベル対応で作成したm行n列(m,nは自然数)
の表の任意のセル内を、下位の階層でp行q列(p,q
は自然数)の表に分割処理するように制御する制御部を
有することを特徴とする表作成処理装置。
1. A table creation processing device for performing a table creation process corresponding to a matrix label, wherein m rows and n columns (m and n are natural numbers) created according to a matrix label
In any cell of the table of the above, p rows and q columns (p, q
A table creation processing device, which has a control unit that controls so as to divide the table into tables of (natural numbers).
【請求項2】 行列ラベル対応の表作成処理を行う表作
成処理方法において、 行列ラベル対応で作成したm行n列(m,nは自然数)
の表の任意のセルを選択し、この選択セル内を下位の階
層で分割するp行q列(p,qは自然数)の行列データ
(p,q)を入力することにより前記選択セル内を前記
p行q列の表にセル分割処理するように制御することを
特徴とする表作成処理方法。
2. A table creation processing method for performing a table creation process corresponding to a matrix label, wherein m rows and n columns (m and n are natural numbers) created corresponding to a matrix label
Is selected, and matrix data (p, q) of p rows and q columns (p and q are natural numbers) that divides the selected cell in a lower hierarchy is input to the selected cell. A table creation processing method, wherein control is performed to perform cell division processing on the table of p rows and q columns.
JP9029140A 1997-02-13 1997-02-13 Table creation processor and table creation processing method Withdrawn JPH10228511A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9029140A JPH10228511A (en) 1997-02-13 1997-02-13 Table creation processor and table creation processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9029140A JPH10228511A (en) 1997-02-13 1997-02-13 Table creation processor and table creation processing method

Publications (1)

Publication Number Publication Date
JPH10228511A true JPH10228511A (en) 1998-08-25

Family

ID=12267983

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9029140A Withdrawn JPH10228511A (en) 1997-02-13 1997-02-13 Table creation processor and table creation processing method

Country Status (1)

Country Link
JP (1) JPH10228511A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8015488B2 (en) 2007-02-14 2011-09-06 Seiko Epson Corporation Document edit device, program and computer-readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8015488B2 (en) 2007-02-14 2011-09-06 Seiko Epson Corporation Document edit device, program and computer-readable storage medium

Similar Documents

Publication Publication Date Title
JPH076014A (en) Method and apparatus for display of n-ary tree
JP2000122783A (en) Graphical user interface device
JPH10269053A (en) Window display device and method therefor, and recording medium having recorded window display control program
JP2001060134A (en) Multiwindow control system
US5995984A (en) Apparatus and method for zoom-in entry of an element in a table
JPH0619663A (en) Automatic control method for multiwindow
US5630040A (en) Edit screen display control device to confirm data layout without switching to screen showing entire layout
JPH0374428B2 (en)
JPH10228511A (en) Table creation processor and table creation processing method
JPH06110989A (en) Method and system for apparent direct editing for fixed element displayed in main window, which is provided by application
JPH1083272A (en) Device and method for multiwindow display
JP3348363B2 (en) Graphic information display apparatus and method
JP3255117B2 (en) Multimedia authoring system, material data image attribute conversion method, and recording medium recording image attribute conversion program
JPH10228512A (en) Table creation processor and table correction processing method
JP2001117918A (en) Document editing processor
JP2000200171A (en) Picture processor
CN109669599B (en) Method and device for displaying printing and typesetting interface, display equipment and computer storage medium
JP3674164B2 (en) Display device and display method
JPH10240834A (en) Chart preparation processor and method therefor
JP2842511B2 (en) Form creation device
JP2680076B2 (en) Multi-window screen display method
JPH0696080A (en) Document preparing device having multi-window function and multi-window size changing method
JP2671365B2 (en) Character / graphic editing device
JP2944826B2 (en) Document processing device
JPS62256175A (en) Picture editing processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040511