JPH04367968A - Information display processor - Google Patents

Information display processor

Info

Publication number
JPH04367968A
JPH04367968A JP3144392A JP14439291A JPH04367968A JP H04367968 A JPH04367968 A JP H04367968A JP 3144392 A JP3144392 A JP 3144392A JP 14439291 A JP14439291 A JP 14439291A JP H04367968 A JPH04367968 A JP H04367968A
Authority
JP
Japan
Prior art keywords
data
line
display
information
format
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
JP3144392A
Other languages
Japanese (ja)
Inventor
Takeshi Ogaki
大垣 武史
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP3144392A priority Critical patent/JPH04367968A/en
Publication of JPH04367968A publication Critical patent/JPH04367968A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To obtain the device which can describe a mutual relation of a line graphic of a table and a ruled line, etc., and information presented together therewith and can change automatically the line graphic of a table and a ruled line, etc., in accordance with a change of the information presented together therewith by processing a change of a position and a size of a table structure and a character-string, etc., having mutually a relation, while holding its relation. CONSTITUTION:To a control part 11, a keyboard part 2, a mouse 8, a main memory 12 consisting of a ROM in which a control program is stored and a RAM for storing data, a display memory 13 in which the display contents by a liquid crystal display part 4 are stored, and a floppy disk reader/writer 14 are connected. In such a constitution, when an attribute of item information of a character-string, etc., displayed in the inside of a table is changed a size of an area required for displaying the item information, based on a data structure in which the correspondence of the table and the item information is described, data for showing a position and a size of the table is changed automatically to an optimal value, and a shape change of the table displayed already is also executed automatically.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、表や罫線などの構造
を持った線図形を伴う情報を呈示する情報表示処理装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information display processing apparatus for presenting information accompanied by line figures having structures such as tables and ruled lines.

【0002】0002

【従来の技術】一般に、ワードプロセッサやパーソナル
コンピュータにおいて、表や罫線などの線図形は、その
線図形とともに呈示される情報とは独立な線図形として
線図形の位置やサイズを表わすデータで記述される。
[Background Art] Generally, in word processors and personal computers, line figures such as tables and ruled lines are described using data representing the position and size of the line figure as a line figure independent of the information presented with the line figure. .

【0003】たとえば、表構造は、すべて線分(線分始
点座標(Xs、Ys)、線分終点座標(Xe、Ye)の
集合、あるいは外枠矩形(矩形左上点座標(X1、Y1
)、矩形の幅、高さ(w、h)と内部を分割する線分の
集合などとして記述される。
For example, the table structure is a set of line segments (line segment start point coordinates (Xs, Ys), line segment end point coordinates (Xe, Ye), or an outer frame rectangle (rectangle upper left point coordinates (X1, Y1)).
), the width and height (w, h) of a rectangle, and a set of line segments that divide the interior.

【0004】また、呈示される情報に変更があったとき
は、その都度独立な線図形として与えられている表や罫
線などの位置やサイズなどのデータを変更する。たとえ
ば表の内部に表示されている文字列に、その文字サイズ
や文字列の長さの変更が生じた場合には、文字列の属性
変更と表のサイズデータの変更を、相互の関連を考慮し
ながら別々に処理している。
Furthermore, when there is a change in the information presented, data such as the position and size of tables, ruled lines, etc., which are provided as independent line figures, are changed each time. For example, if the font size or length of a string displayed inside a table changes, consider the correlation between changing the string attributes and table size data. However, they are processed separately.

【0005】[0005]

【発明が解決しようとする課題】従来、表や罫線等の線
図形は、それとともに呈示される情報の見やすさや意味
的なまとまりの把握を助ける手段として広く利用されて
いるが、表示する際、表や罫線が、それとともに呈示さ
れる情報とは独立な線図形として与えられ、呈示される
情報との関連が記述されていない。このため呈示される
情報の変更に応じて表や罫線の位置・サイズを自動的に
最適な位置やサイズに変更することができない。すなわ
ち呈示される情報の変更処理と表や罫線の変更処理とを
別々に行なう必要があるという問題があった。
[Problems to be Solved by the Invention] Conventionally, line figures such as tables and ruled lines have been widely used as a means to help understand the ease of viewing and the semantic cohesion of the information presented with them, but when displaying them, Tables and ruled lines are presented as line figures independent of the information presented with them, and their relationship to the presented information is not described. Therefore, it is not possible to automatically change the positions and sizes of tables and ruled lines to optimal positions and sizes in response to changes in the presented information. That is, there is a problem in that it is necessary to separately perform the process of changing the information to be presented and the process of changing the tables and ruled lines.

【0006】そこで、この発明は、表や罫線などの線図
形と、それとともに呈示される情報との相互の関連を記
述することが可能で、表や罫線などの線図形を、それと
ともに呈示される情報の変更に応じて、自動的に変更す
る機能をもった情報表示処理装置を提供することを目的
とする。
[0006] Accordingly, the present invention makes it possible to describe the mutual relationship between line figures such as tables and ruled lines and information presented together with them. An object of the present invention is to provide an information display processing device having a function of automatically changing information according to changes in information.

【0007】[0007]

【課題を解決するための手段】この発明は、線図形を示
す2次元構造とその線図形内の情報とを指示する指示手
段、この指示手段により指示された2次元構造と情報と
をそれらの相互関連とともに記憶する記憶手段、この記
憶手段に記憶されている2次元構造に基づいた線図形を
表示するとともに、上記記憶手段に記憶されている相互
関連から線図形内の所定位置に上記情報を表示する表示
手段、2次元構造の変更を指示する変更指示手段、およ
びこの変更指示手段による指示に応じて表示手段での線
図形の表示を変更するとともに、上記記憶手段に記憶さ
れている相互関連を用いて変更された線図形内の所定位
置に上記情報を表示する処理手段から構成されている。
[Means for Solving the Problems] The present invention provides an instruction means for indicating a two-dimensional structure indicating a line figure and information within the line figure, and an instruction means for indicating a two-dimensional structure indicating a line figure and information within the line figure. A storage means for storing mutual relationships, a line figure based on the two-dimensional structure stored in the memory means, and a line figure based on the two-dimensional structure stored in the memory means, and the above information is displayed at a predetermined position within the line figure from the mutual relationships stored in the memory means. A display means for displaying a display, a change instruction means for instructing a change in the two-dimensional structure, and a display means for changing the display of a line figure on the display means in accordance with an instruction by the change instruction means, and a correlation stored in the storage means. The processing means is configured to display the above-mentioned information at a predetermined position within a line figure that has been changed using

【0008】[0008]

【作用】この発明は、線図形を示す2次元構造とその線
図形内の情報とを指示し、この指示された2次元構造と
情報とをそれらの相互関連とともに記憶手段で記憶し、
この記憶されている2次元構造に基づいた線図形を表示
するとともに、上記記憶手段に記憶されている相互関連
から線図形内の所定位置に上記情報を表示手段で表示し
、2次元構造の変更の指示に応じて、上記表示手段での
線図形の表示を変更するとともに、上記記憶手段に記憶
されている相互関連を用いて変更された線図形内の所定
位置に上記情報を表示するようにしたものである。
[Operation] The present invention specifies a two-dimensional structure indicating a line figure and information within the line figure, stores the specified two-dimensional structure and information together with their mutual relationships in a storage means,
A line figure based on the stored two-dimensional structure is displayed, and the display means displays the information at a predetermined position within the line figure based on the correlation stored in the storage means, thereby changing the two-dimensional structure. In response to the instruction, the display of the line figure on the display means is changed, and the information is displayed at a predetermined position within the changed line figure using the correlation stored in the storage means. This is what I did.

【0009】[0009]

【実施例】以下、図面を参照してこの発明の一実施例を
説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0010】図2はこの発明の情報表示処理装置として
のパーソナルコンピュータ、あるいはワードプロセッサ
の外観構成を示すものである。すなわち、本体下部1の
上面には、種々のキーから構成され、文字・数値データ
入力装置として用いられるキーボード部2が設けられ、
上記本体下部1と回動自在に連結されている上部開閉部
3の内側には、STN液晶を用いている液晶表示部4が
設けられ、本体の右側面5は、フロッピーディスク(F
D)が挿入されるFD挿入口6とが設けられている。上
記キーボード部2、液晶表示部4の構成は、一般的なワ
ードプロセッサやパーソナルコンピュータ等で用いられ
るものと同様なものとなっている。また、上記本体の図
示しないコネクタに連結されているケーブル7によって
座標入力装置として用いられるマウス8が接続されてい
る。
FIG. 2 shows the external configuration of a personal computer or word processor as an information display processing device of the present invention. That is, on the upper surface of the lower part 1 of the main body, a keyboard part 2 is provided, which is composed of various keys and used as a character/numeric data input device.
A liquid crystal display section 4 using an STN liquid crystal is provided inside the upper opening/closing section 3 which is rotatably connected to the lower section 1 of the main body.
D) is provided with an FD insertion port 6 into which the FD is inserted. The configurations of the keyboard section 2 and liquid crystal display section 4 are similar to those used in general word processors, personal computers, and the like. Further, a mouse 8 used as a coordinate input device is connected by a cable 7 connected to a connector (not shown) of the main body.

【0011】たとえば、キーボード部2により表の中に
記載する内容が入力されたり、表が何行何列かが入力さ
れたりする。また、マウス8により、カーソルが移動さ
れたり、表を構成する罫線等の開始位置、終了位置が指
定されたりする。
For example, the keyboard section 2 is used to input the contents to be written in a table, or to input the number of rows and columns of the table. Furthermore, the mouse 8 is used to move the cursor and to specify the start and end positions of ruled lines and the like constituting the table.

【0012】次に、情報表示処理装置の制御回路を図1
を用いて説明する。すなわち、制御部11は情報表示処
理装置の全体を制御するものである。この制御部11に
は、上記キーボード部2、マウス8、制御プログラムが
記憶されているROMやデータを記憶するRAMによっ
て構成されている主メモリ12、上記液晶表示部4での
表示内容が記憶される表示メモリ13、および上記FD
挿入口6から挿入されたフロッピーディスクFDに対す
るデータの記憶を行ったり、フロッピーディスクFDか
らデータを読取ったりするFDリーダ・ライタ14が接
続されている。次に、上記主メモリ12に記憶されてい
るソフトウェア構成について図3を用いて説明する。す
なわち、アプリケーションプログラム21、コマンド解
釈部22、画面表示処理部23、関連部品処理部24、
および表データ変換処理部25によって構成されている
Next, the control circuit of the information display processing device is shown in FIG.
Explain using. That is, the control unit 11 controls the entire information display processing device. The control unit 11 stores the keyboard unit 2, the mouse 8, a main memory 12 that is composed of a ROM that stores control programs and a RAM that stores data, and the contents displayed on the liquid crystal display unit 4. display memory 13, and the FD
An FD reader/writer 14 is connected that stores data on the floppy disk FD inserted through the insertion slot 6 and reads data from the floppy disk FD. Next, the software configuration stored in the main memory 12 will be explained using FIG. 3. That is, an application program 21, a command interpretation section 22, a screen display processing section 23, a related parts processing section 24,
and a table data conversion processing section 25.

【0013】上記コマンド解釈部22は、アプリケーシ
ョンプログラム21からの画面表示要求を受けた際、対
象部品およびコマンドの内容に従って画面表示処理部2
3と関連部品処理部24に処理を依頼する。画面表示処
理部23は、画面部品の種類毎に表示処理モジュールを
もつ。この表示処理モジュールとしては、たとえば表に
対する「表」部品表示処理部23a、文字列に対する「
文字列」部品表示処理部23bが設けられている。
When the command interpreter 22 receives a screen display request from the application program 21, the command interpreter 22 interprets the screen display processor 2 according to the target component and the contents of the command.
3 and the related parts processing unit 24 for processing. The screen display processing section 23 has a display processing module for each type of screen component. This display processing module includes, for example, a "table" component display processing section 23a for a table, and a "table" component display processing section 23a for a character string.
A "character string" component display processing section 23b is provided.

【0014】関連部品処理部24は、画面データ11に
記述されている相互に関連をもった画面部品の表示に必
要な領域のサイズ計算、画面上での重なり判定、および
正しい包含関係、位置関係の判定を行って、最後に画面
表示処理部23の必要な部品の表示処理モジュールとし
ての「表」部品表示処理部23a、あるいは「文字列」
部品表示処理部23bに表示依頼を出力する。これによ
って、所望の画面の表示が得られる。関連部品処理部2
4は、表に対する「表」関連部品処理部24a、文字列
に対する「文字列」関連部品処理部24bが設けられて
いる。
The related parts processing unit 24 calculates the size of the area necessary for displaying mutually related screen parts described in the screen data 11, determines overlap on the screen, and determines the correct inclusion relationship and positional relationship. Finally, the screen display processing unit 23 selects the “table” component display processing unit 23a as a display processing module for necessary components, or the “character string”
A display request is output to the parts display processing section 23b. As a result, a desired screen display can be obtained. Related parts processing section 2
4 is provided with a "table" related parts processing section 24a for tables and a "character string" related parts processing section 24b for character strings.

【0015】表データ変換処理部25は形式の異なる表
データ間のデータ変換を実行する。図4および図5は、
表を含む画面データのデータ構造を示している。画面デ
ータ30は、画面ID31、画面部品個数32、画面位
置座標(X、Y)33、画面サイズ(幅、高さ)34、
および画面を構成する画面部品のリストのポインタとし
ての画面部品リストポインタ35から構成されている。
The table data conversion processing unit 25 executes data conversion between table data of different formats. FIGS. 4 and 5 are
It shows the data structure of screen data including a table. The screen data 30 includes a screen ID 31, number of screen parts 32, screen position coordinates (X, Y) 33, screen size (width, height) 34,
and a screen parts list pointer 35 as a pointer to a list of screen parts constituting the screen.

【0016】画面部品には、表/罫線等の線図形や、単
一行/複数行の文字列の表示/変更を処理する部品、文
字/図形の選択枝表示/選択を処理する部品などのマン
マシンインターフェースを司る部品がある。ここでは、
「表」と、その表の内部に項目情報として表示される「
文字列」とを有する画面データを例にして説明する。 なお、以下の説明の内容は、表/罫線と文字列/数値列
/選択枝処理などいずれの組合わせについても同様であ
る。
Screen parts include line figures such as tables/rules, parts that process the display/change of character strings in a single line/multiple lines, and parts that process the display/selection of text/figure options. There are parts that control the machine interface. here,
"Table" and "" which is displayed as item information inside the table.
This will be explained using screen data having a character string as an example. Note that the content of the following explanation is the same for any combination of tables/ruled lines and character strings/numeric strings/choice processing.

【0017】画面部品リストポインタ35が示すデータ
としては「文字列」40、「表」50、その他の部品が
ある。すべての画面部品は画面上での部品NOをもち、
「文字列」40の部品No41、「表」50の部品NO
51でそれぞれ識別される。またすべての部品には、そ
の種類43、53、部品位置(x、y)44、54、部
品サイズ(幅、高さ)45、55をもつ。
The data indicated by the screen parts list pointer 35 includes a "character string" 40, a "table" 50, and other parts. All screen parts have a part number on the screen,
Part No. 41 of "Character string" 40, Part No. 41 of "Table" 50
51, respectively. Furthermore, all parts have their types 43, 53, part positions (x, y) 44, 54, and part sizes (width, height) 45, 55.

【0018】「文字列」40には、強調表示/下線表示
/綱かけ表示などの表示属性46、表示の際に使用する
文字フォント名47、表示に必要な領域すなわち部品サ
イズ45を求めるときの基本データとなる文字フォント
情報(文字フォントの幅、高さ)48、および実際に表
示する文字列データへのポインタ49が記録されている
。さらに、「文字列」40には、表などとの関連を示す
関連部品NO42のフィールドを有する。
The "character string" 40 includes display attributes 46 such as highlighting, underlining, and rope display, the character font name 47 used for display, and the area required for display, that is, the component size 45. Character font information (width and height of the character font) 48 serving as basic data and a pointer 49 to character string data to be actually displayed are recorded. Furthermore, the "character string" 40 has a field of related part number 42 indicating the relationship with a table or the like.

【0019】「表」50には、第1、第2の形式で表構
造を記述した表データへのポインタ57、58、および
第2の形式の表データを有する場合に、第1、第2の形
式の表データから得られる表構造が同一であるかどうか
を示すフラグ56が記録されている。さらに、「表」5
0には、関連部品NO52のフィールドを有する。
The "table" 50 includes pointers 57 and 58 to table data that describes the table structure in the first and second formats, and when it has table data in the second format, the first and second table data. A flag 56 indicating whether the table structures obtained from the table data in the format are the same is recorded. Furthermore, “Table” 5
0 has a field for related part No. 52.

【0020】第1の形式の表データ(表データ1:座標
列記述データ)60は、「表」部品には必ず存在し、「
表」描画ソフトはこの形式の表データを受け取って表示
する。第1の形式の表データ60は、図形要素、すなわ
ち矩形又は線分の集合であって、図形要素個数61、図
形要素ポインタ62、および各図形要素データ63、6
4からなる。
The first format of table data (table data 1: coordinate string description data) 60 always exists in the "table" component, and is
Table drawing software receives and displays table data in this format. The first format table data 60 is a set of graphic elements, that is, rectangles or line segments, and includes the number of graphic elements 61, a graphic element pointer 62, and each graphic element data 63, 6.
Consists of 4.

【0021】矩形については、図形要素種類が矩形であ
ることを示すフィールド71、矩形左上点座標(X、Y
)72、矩形サイズ(幅、高さ)73、線種74、線幅
75、で記述される。この矩形が「表」の外枠境界線を
構成する。
For rectangles, field 71 indicates that the graphic element type is rectangle, and the coordinates of the upper left point of the rectangle (X, Y
) 72, rectangle size (width, height) 73, line type 74, and line width 75. This rectangle constitutes the outer frame boundary line of the "table".

【0022】線分については、図形要素種類が線分であ
ることを示すフィールド81、線分始点座標(Xs、Y
s)82、線分終点座標(Xe、Ye)83、線種84
、線幅85で記述される。矩形と線分を組合せて表構造
を記述することも可能であるし、線分だけで集合として
表構造を記述することも可能である。
For line segments, a field 81 indicating that the graphic element type is a line segment, line segment starting point coordinates (Xs, Y
s) 82, line segment end point coordinates (Xe, Ye) 83, line type 84
, with a line width of 85. It is also possible to describe a table structure by combining rectangles and line segments, or it is also possible to describe a table structure as a set using only line segments.

【0023】第2の形式の表データ(表データ2:構造
記述データ)90は、「表」部品によって持つ持たない
は任意であって、必要に応じて記録される。第2の形式
の表データ90は、構造要素の集合であって、構造要素
個数91、構造要素ポインタ92、関連部品データポイ
ンタ93、外枠線種94、外枠線幅95からなる。 「表」の構造要素とは、「m行×n列」(複数行、複数
列)で記述できる表構造の部分構造をいう。
The second format of table data (table data 2: structure description data) 90 may or may not be included depending on the "table" component, and is recorded as necessary. The table data 90 in the second format is a set of structural elements, and includes the number of structural elements 91, a structural element pointer 92, a related part data pointer 93, an outer frame line type 94, and an outer frame line width 95. The structural element of a "table" refers to a partial structure of a table structure that can be described as "m rows x n columns" (multiple rows, multiple columns).

【0024】構造要素100は、「表」を構成する行の
数101、各行ごとの高さを示す配列へのポインタ10
2、各行の下限を仕切る線の線種を示す配列へのポイン
タ103、線幅を示す配列へのポインタ104、列の数
105、各列ごとの幅を示す配列へのポインタ106、
各列の右端を仕切る線の線種を示す配列へのポインタ1
07、線幅を示す配列へのポインタ108からなる。
The structure element 100 includes a pointer 10 to an array indicating the number of rows 101 making up the "table" and the height of each row.
2. Pointer 103 to an array indicating the line type of the line separating the lower limit of each row, Pointer 104 to an array indicating line width, Number of columns 105, Pointer 106 to an array indicating the width of each column,
Pointer 1 to an array indicating the line type of the line separating the right end of each column
07, a pointer 108 to an array indicating the line width.

【0025】たとえば、図6で示す表に対する表構造を
記述する表データは、第1の形式によれば、(1) 矩
形と線分すなわち外枠境界線を構成する矩形と内部を区
切る7本の線分(このとき図形要素個数8)、あるいは
(2) 線分のみ、すなわち、11本の線分(このとき
図形要素個数11)などで与えられる。
For example, according to the first format, the table data describing the table structure for the table shown in FIG. (in this case, the number of graphic elements is 8), or (2) only line segments, that is, 11 line segments (in this case, the number of graphic elements is 11).

【0026】第2の形式によれば、「1行×3列」、「
2行×4列」の構造要素に分割できるので、構造要素個
数101は「2」、構造要素ポインタ102は2つの構
造要素データの記憶位置を示し、それぞれ「1行×3列
」、「2行×4列」の部分構造として記述することがで
きる。
According to the second format, "1 row x 3 columns", "
Since it can be divided into structural elements of "2 rows x 4 columns", the number of structural elements 101 is "2", and the structure element pointer 102 indicates the storage position of two structural element data, "1 row x 3 columns" and "2", respectively. It can be described as a partial structure of "rows x 4 columns".

【0027】なお、関連部品データポインタ103は、
「表」部品と相互に関連をもって「表」の項目情報とし
て表示される他の部品について、その関連を記述するデ
ータ構造の配列を示す。
Note that the related parts data pointer 103 is
An array of data structures describing the relationships between the "Table" component and other components that are displayed as item information of the "Table" is shown.

【0028】たとえば、図6に示す表を表示する場合、
「1行×3列」の3区画に、項目情報である文字列“A
BC”、“CENTER”、“123”が表示されるか
ら(関連部品NO111、関連部品表示位置112)か
らなる関連部品データ(配列)は(“ABC”の部品N
O、左端)(“CENTER”の部品NO、中央)(“
123”の部品NO、右端)となる。次に、画面データ
の構造を利用して、新しく表を作成して表示する場合に
ついて説明する。なお、以下の説明の内容は、作成と、
表示しようとする表の構造に応じて選択したり、あるい
は組合せて使用しても良い。
For example, when displaying the table shown in FIG.
The character string “A”, which is item information, is displayed in three sections of “1 row x 3 columns”.
Since "BC", "CENTER", and "123" are displayed, the related parts data (array) consisting of (related part number 111, related part display position 112) is (part N of "ABC").
O, left end) (“CENTER” part number, center) (“
123" (right end).Next, we will explain the case where a new table is created and displayed using the structure of the screen data.The content of the following explanation is about creation,
They may be selected or used in combination depending on the structure of the table to be displayed.

【0029】表構造を「n行×m列」の構造として記述
する場合には、第2の形式の表データ90を作成し、こ
れを表示処理に先がけてあらかじめ表データ変換処理部
25により表データの変更処理を行うことにより第1の
形式の表データ60に変換して、それぞれ「表」部品を
管理している第2の形式の表データへのポインタ57、
第1の形式の表データへのポインタ58にセットする。 さらに第1、第2の形式の表データがともに存在し、か
つこの時点では両方の表データから得られる表構造が等
価であることを示す一致マークをフラグ56に記録する
。表示する際には第1の表データ60を「表」部品表示
処理部23aに送る。
When the table structure is described as a structure of "n rows x m columns," table data 90 in the second format is created, and the table data conversion processing unit 25 converts this into a table in advance before display processing. A pointer 57 to the second format table data that is converted into the first format table data 60 by performing data change processing and manages the "table" parts, respectively;
The pointer 58 to the first format table data is set. Further, a match mark is recorded in the flag 56 indicating that both the first and second format table data exist and that the table structures obtained from both table data are equivalent at this point. When displaying, the first table data 60 is sent to the "table" component display processing section 23a.

【0030】表の一部だけが細分化された構造をもつ表
を作成して、表示したい場合には、上記方法で得られた
第1の形式の表データ60に対して任意個数の図形要素
データ(矩形63、線分64)を追加し、図形要素個数
61を更新し、さらにこの追加によって第1、第2の形
式の表データから得られる表構造が一致していないこと
を示す不一致マークをフラグ56に記録する。表示する
際には第1の形式の表データ60を「表」部品表示処理
部23aに送る。
[0030] If you want to create and display a table with a structure in which only a part of the table is subdivided, an arbitrary number of graphical elements can be added to the table data 60 of the first format obtained by the above method. Data (rectangle 63, line segment 64) is added, the number of graphic elements 61 is updated, and a mismatch mark indicating that the table structures obtained from the first and second format table data do not match due to this addition. is recorded in the flag 56. When displaying, the table data 60 in the first format is sent to the "table" component display processing section 23a.

【0031】表構造を図形要素(矩形、線分)の集合と
して記述する場合には、第1の形式の表データ60を作
成して、第1の形式の表データへのポインタ57にセッ
トする。さらに第1の形式の表データ60のみ存在する
ことを示すマークをフラグ56に記録する。表示する際
には、この第1の形式の表データ60を「表」部品表示
処理部23aに送る。
When the table structure is described as a set of graphical elements (rectangles, line segments), first format table data 60 is created and set in the pointer 57 to the first format table data. . Furthermore, a mark indicating that only the first format table data 60 exists is recorded in the flag 56. When displaying, this first format table data 60 is sent to the "table" component display processing section 23a.

【0032】表の一部だけが細分化された構造をもつ表
の作成・表示は、上記第1の形式の表データ60のみ存
在する場合には、任意個数の図形要素データ(矩形63
、線分64)を追加するだけでよい。次に、表構造を変
更して表示する場合について、図6および図7を用いて
説明する。
When only table data 60 of the first format exists, creating and displaying a table having a structure in which only a part of the table is subdivided is possible by creating and displaying an arbitrary number of graphic element data (rectangles 63
, line segment 64). Next, the case where the table structure is changed and displayed will be explained using FIGS. 6 and 7.

【0033】表構造を「m行×n列」の構造として記述
する第2の形式の表データ60が存在するとき、これを
「m´行×n´列」の構造に変更することは極めて容易
に実現できる。すなわち、第2の形式の表データ90の
行の数101、列の数105を変更して表データ変更処
理部25により第1の形式の表データ60を得て、「表
」部品の第1、第2の形式の表データへのポインタ57
、58を更新すればよい。表データ変更処理部25は与
えられた第2の形式の表データ90に対応した第1の形
式の表データ60を表データの変換処理により生成する
[0033] When there is table data 60 in the second format that describes the table structure as a structure of "m rows x n columns", it is extremely difficult to change this to a structure of "m' rows x n'columns". It can be easily achieved. That is, the number of rows 101 and the number of columns 105 of the table data 90 in the second format are changed, the table data change processing unit 25 obtains the table data 60 in the first format, and the first , a pointer 57 to the table data in the second format
, 58 may be updated. The table data change processing unit 25 generates table data 60 in the first format corresponding to the given table data 90 in the second format by converting the table data.

【0034】(1) 行の数101、列の数105、が
増加したときは、与えられた第2の形式の表データ90
中の各行の高さ102、各行の仕切線種103、各行の
仕切線幅104、各列の幅106、各列の仕切線種10
7、各列の仕切線幅108の配列のそれぞれ最終要素の
値を既定値として採用する。行の数、列の数に合致した
個数が第2の形式の表データ90に指定されているとき
は、これを用いて、第1の形式の表データ60を生成す
る。
(1) When the number of rows 101 and the number of columns 105 increase, the given second format table data 90
Height of each row 102, partition line type 103 of each row, partition line width 104 of each row, width 106 of each column, partition line type 10 of each column
7. The value of the last element of the array of partition line width 108 in each column is adopted as the default value. When a number matching the number of rows and the number of columns is specified in the second format table data 90, this is used to generate the first format table data 60.

【0035】(2) 行の数101、列の数105が減
少したときは、与えられた第2の形式の表データ90の
中の各行の高さ102、仕切線種103、仕切線幅10
4、各列の幅106、仕切線種107、仕切線幅108
の配列の、それぞれ先頭から行の数・列の数に合致した
個数の値を採用する。行の数、列の数に合致した個数が
第2の形式の表データ90に指定されているときは、こ
れを用いて、第1の形式の表データ60を生成する。
(2) When the number of rows 101 and the number of columns 105 decrease, the height 102, partition line type 103, and partition line width 10 of each row in the given second format table data 90 are reduced.
4. Width of each column 106, partition line type 107, partition line width 108
Adopt the number of values that match the number of rows and columns from the beginning of each array. When a number matching the number of rows and the number of columns is specified in the second format table data 90, this is used to generate the first format table data 60.

【0036】表の一部だけが細分化された構造をもつ表
については、第2の形式の表データ90をもとに変換し
て得られた第1の形式の表データ60に、特定の図形要
素(矩形、線分)が追加されて、両方の表データの不一
致を示す不一致マークがフラグ56に記録されているの
で、第2の形式の表データ90を与えられた表データ交
換処理部は、追加された図形要素(矩形、線分)の端点
が他の線図形上にある限り、その接続関係を保つことを
保証して、第1の形式の表データ60に変換する。
For a table having a structure in which only a part of the table is subdivided, specific information is added to the table data 60 in the first format obtained by converting the table data 90 in the second format. Since graphic elements (rectangles, line segments) have been added and a discrepancy mark indicating a discrepancy between both table data is recorded in the flag 56, the table data exchange processing unit that has been given the table data 90 in the second format converts the added graphic element (rectangle, line segment) into table data 60 in the first format while ensuring that the connection relationship is maintained as long as the end point of the added graphic element (rectangle, line segment) is on another line graphic.

【0037】また、アプリケーションプログラム21に
より、画面表示処理部23に「表」の表示位置移動のコ
マンドが供給されると、「表」部品表示処理部23aが
「表」部品位置(X、Y)54を変更して、これを画面
表示に反映させる。これと同時に関連部品処理部24は
フラグ56を調べ、第2の形式の表データが存在する場
合には、第2の形式の表データポインタ58を参照し、
関連部品データポインタ93を調べる。
Further, when the application program 21 supplies the screen display processing unit 23 with a command to move the display position of the “table”, the “table” component display processing unit 23a moves the “table” component position (X, Y). 54 to reflect this on the screen display. At the same time, the related component processing unit 24 checks the flag 56, and if table data of the second format exists, refers to the table data pointer 58 of the second format,
Check the related parts data pointer 93.

【0038】当該「表」と相互に関連をもった部品が記
述されている場合には、その関連部品NO111の関連
部品表示位置112をもとに関連部品についても部品位
置(X、Y)44を変更して、これを画面に反映させる
。これら一連の処理により、アプリケーションプログラ
ム21が「表」部品に対して要求した表示位置移動のコ
マンドは、表の項目情報についても同様の表示位置移動
を実行させる。
[0038] When parts that are mutually related to the "table" are described, the parts positions (X, Y) 44 of the related parts are also determined based on the related parts display position 112 of the related part No. 111. Change this to reflect this on the screen. Through this series of processing, the command for display position movement requested by the application program 21 for the "table" component causes the same display position movement to be executed for the item information of the table.

【0039】なお、もし、画面上で互いに重なり合って
表示されていても、相互に関連をもたない部品である場
合には、関連部品データとしての記述を取消せば上記効
果を無効にすることができる。
[0039] If the parts are not related to each other even if they are displayed overlapping each other on the screen, the above effect can be nullified by canceling the description as related parts data. Can be done.

【0040】また、アプリケーションプログラム21に
より、画面表示処理部23に表内項目情報である「文字
列」部品のフォント名47や文字列データそのものの変
更のコマンドが供給されると、「文字列」部品表示処理
部43bが「文字列」部品のフォント名47や文字列デ
ータポインタ49と文字列データそのものを変更して、
これを画面表示に反映させる。
Further, when the application program 21 supplies the screen display processing unit 23 with a command to change the font name 47 of the "character string" component, which is item information in the table, or the character string data itself, the "character string" The component display processing unit 43b changes the font name 47 of the "character string" component, the character string data pointer 49, and the character string data itself,
This will be reflected on the screen display.

【0041】これと同時に、関連部品処理部24は「文
字列」部品の関連部品NO42を調べ、もし関連部品と
して他の「表」部品が記述されている場合には、その「
表」部品の部品NO51をもとに関連部品データポイン
タ93を調べ、変更表示のコマンドの出力対象となった
「文字列」部品が含まれる「表」内区画のサイズが「文
字列」部品の表示に充分な領域サイズをもつか否かを判
定する。
At the same time, the related component processing unit 24 checks the related component number 42 of the "character string" component, and if another "table" component is described as a related component, its "
The related parts data pointer 93 is checked based on part number 51 of the "table" part, and the size of the section in the "table" that includes the "string" part that is the output target of the change display command is that of the "string" part. Determine whether the area size is sufficient for display.

【0042】「文字列」と「表」との相互の関連が記述
されていて、かつ、項目情報である「文字列」部品の表
示に充分な「表」内区画のサイズがない場合は、「表」
データを変更して、関連部品の判定を続ける。全ての部
品について相互の関連の記述を満たすまで、すなわち、
全ての部品が「表」の指定された区画内部に表示可能で
あることが確認されるまで、サイズ判定を繰り返し、最
終的な画面の表示処理を関連部品処理部24に依頼する
ことにより、変更後の表示画面が得られる。
[0042] If the mutual relationship between a "character string" and a "table" is described, and the size of the section within the "table" is not large enough to display the "character string" part that is item information, "table"
Change the data and continue determining the related parts. Until all parts satisfy the mutual relationship description, i.e.
The size determination is repeated until it is confirmed that all parts can be displayed within the specified section of the "table", and the final screen display processing is requested to the related parts processing unit 24. A later display screen is obtained.

【0043】上記したように、表の内部に表示されてい
る文字列などの項目情報の属性(文字サイズ、文字列長
、文字列そのもの)を変更した際に、表と項目情報との
対応を記述したデータ構造をもとに項目情報の表示に必
要な領域のサイズを求め、表の位置やサイズを表わすデ
ータを最適な値に自動的に変更し、すでに表示されてい
る表の形状変更まで自動的に行うようにしたものである
As mentioned above, when changing the attributes (font size, string length, string itself) of item information such as character strings displayed inside a table, the correspondence between the table and item information is changed. It calculates the size of the area required to display item information based on the described data structure, automatically changes the data representing the position and size of the table to the optimal value, and even changes the shape of the table that is already displayed. This is done automatically.

【0044】これにより、表や罫線などの線図形と、そ
れとともに呈示される情報との相互の関連を記述するこ
とが可能で、表や罫線などの線図形を、それとともに呈
示される情報の変更に応じて、自動的に変更することが
できる。
[0044] With this, it is possible to describe the mutual relationship between line figures such as tables and ruled lines and the information presented together with them. It can be automatically changed in response to changes.

【0045】[0045]

【発明の効果】以上詳述したようにこの発明によれば、
表や罫線等の線図形とそれとともに呈示される情報との
相互の関連が記述でき、相互に関連をもった表構造と文
字列などの位置やサイズの変更をその関係を保ちながら
自動的に処理することができる情報表示処理装置を提供
できる。
[Effects of the Invention] As detailed above, according to the present invention,
The mutual relationship between line figures such as tables and ruled lines and the information presented with them can be described, and the position and size of mutually related table structures and character strings can be changed automatically while maintaining the relationship. An information display processing device capable of processing can be provided.

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

【図1】この発明の一実施例における情報表示処理装置
の構成を示すブロック図。
FIG. 1 is a block diagram showing the configuration of an information display processing device in an embodiment of the present invention.

【図2】図1の情報表示処理装置の外観を示す斜視図。FIG. 2 is a perspective view showing the appearance of the information display processing device in FIG. 1;

【図3】図1の主メモリに記憶されているソフトウェア
構成を説明するための図。
FIG. 3 is a diagram for explaining the software configuration stored in the main memory of FIG. 1;

【図4】表を含む画面データのデータ構造を示す図。FIG. 4 is a diagram showing the data structure of screen data including a table.

【図5】表を含む画面データのデータ構造を示す図。FIG. 5 is a diagram showing the data structure of screen data including a table.

【図6】表の表構造を説明するための図。FIG. 6 is a diagram for explaining the table structure of a table.

【図7】表の表構造を説明するための図。FIG. 7 is a diagram for explaining the table structure of a table.

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

2…キーボード部、4…液晶表示部、8…マウス、11
…制御部、12…主メモリ、21…アプリケーションプ
ログラム、22…コマンド解釈部、23…画面表示処理
部、23a…「表」部品表示処理部、23b…「文字列
」部品表示処理部、24…関連部品処理部、24a…「
表」関連部品処理部、24b…「文字列」関連部品処理
部、25…表データ変換処理部、30…画面データ。
2... Keyboard section, 4... Liquid crystal display section, 8... Mouse, 11
...Control unit, 12...Main memory, 21...Application program, 22...Command interpretation unit, 23...Screen display processing unit, 23a..."Table" component display processing section, 23b..."Character string" component display processing section, 24... Related parts processing department, 24a..."
24b..."Character string" related parts processing section, 25...Table data conversion processing section, 30...Screen data.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  線図形を示す2次元構造とその線図形
内の情報とを指示する指示手段と、この指示手段により
指示された2次元構造と情報とをそれらの相互関連とと
もに記憶する記憶手段と、この記憶手段に記憶されてい
る2次元構造に基づいた線図形を表示するとともに、上
記記憶手段に記憶されている相互関連から線図形内の所
定位置に上記情報を表示する表示手段と、2次元構造の
変更を指示する変更指示手段と、この変更指示手段によ
る指示に応じて表示手段での線図形の表示を変更すると
ともに、上記記憶手段に記憶されている相互関連を用い
て変更された線図形内の所定位置に上記情報を表示する
処理手段と、を具備したことを特徴とする情報表示処理
装置。
Claims: 1. Instructing means for instructing a two-dimensional structure indicating a line figure and information within the line figure, and storage means for storing the two-dimensional structure and information instructed by the instructing means together with their mutual relationships. and display means for displaying a line figure based on the two-dimensional structure stored in the memory means, and displaying the information at a predetermined position within the line figure based on the mutual relationships stored in the memory means; a change instruction means for instructing a change in the two-dimensional structure; and a change instruction means for changing the display of the line figure on the display means in accordance with the instruction by the change instruction means, and for changing the display of the line figure using the correlation stored in the storage means. An information display processing device comprising: processing means for displaying the above information at a predetermined position within a line figure.
JP3144392A 1991-06-17 1991-06-17 Information display processor Pending JPH04367968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3144392A JPH04367968A (en) 1991-06-17 1991-06-17 Information display processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3144392A JPH04367968A (en) 1991-06-17 1991-06-17 Information display processor

Publications (1)

Publication Number Publication Date
JPH04367968A true JPH04367968A (en) 1992-12-21

Family

ID=15361086

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3144392A Pending JPH04367968A (en) 1991-06-17 1991-06-17 Information display processor

Country Status (1)

Country Link
JP (1) JPH04367968A (en)

Similar Documents

Publication Publication Date Title
US4739477A (en) Implicit creation of a superblock data structure
US4723209A (en) Flow attribute for text objects
US4723211A (en) Editing of a superblock data structure
EP0173125A2 (en) In-line dynamic editor for mixed object document
JPH0723994B2 (en) Document creation method
JP2966420B2 (en) Information processing device
JPH04367968A (en) Information display processor
JPS6215670A (en) Editing system for intra-graphic character string
JP2751212B2 (en) Document creation device
JP2001117918A (en) Document editing processor
JPH04367969A (en) Information display processor
JP3699923B2 (en) Page image display management method during layout editing
JPH05314269A (en) Graph preparing device
JPS6314229A (en) Object selection system
JP2944826B2 (en) Document processing device
JP2813815B2 (en) Layouter for flyers and catalogs
JP2816003B2 (en) Document creation device
JPH0379718B2 (en)
WO1999024969A1 (en) Reading system that displays an enhanced image representation
JPH04367065A (en) Display system
JP2936546B2 (en) Character centering device and processing device equipped with this device
JPH0334073A (en) Input device for software drawing
JPH01184572A (en) Document preparing device
JPH0384659A (en) Document editing device
JPS60130792A (en) Automatic rule drawing system