JPS6381575A - Graphic data management device - Google Patents

Graphic data management device

Info

Publication number
JPS6381575A
JPS6381575A JP61227648A JP22764886A JPS6381575A JP S6381575 A JPS6381575 A JP S6381575A JP 61227648 A JP61227648 A JP 61227648A JP 22764886 A JP22764886 A JP 22764886A JP S6381575 A JPS6381575 A JP S6381575A
Authority
JP
Japan
Prior art keywords
data
rectangular
text
graphic
frame
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
JP61227648A
Other languages
Japanese (ja)
Inventor
Masayoshi Tsuchida
土田 賢省
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP61227648A priority Critical patent/JPS6381575A/en
Publication of JPS6381575A publication Critical patent/JPS6381575A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the efficiency of a job by managing a rectangular graphic form of an optional form by a data structure where graphic display data and text data are mixed to apply the input/editing of the text in the frame of the job process defining the displaying of a rectangular graphic form by the same job process. CONSTITUTION:In a graphic editing unit inputting/editing a graphic form includ ing a character, the object of the basic element of input/editing is adopted as a rectangular form, a divided line and a text, and the graphic form is man aged by the data structure whether the graphic display data (a coordinate value of characteristic points of rectangular graphic form) and text data (Japanese or alphaneumeric written in the frame of the rectangular graph) exist in mix ture. Thus, the process defining the frame of the rectangular graphic form and the input/editing of the text in the frame are performed in the same job process and the input/editing of the graphic element unit (rectangular, horizontal and vertical line) are applied. Simultaneously, the text inputted so far is held to the change in the frame by addition/deletion of the graphic element and the relation between texts (relation of upper/lower/left/right along with the frame) is extracted.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は図形編集装置に関し、さらに詳しくはその図形
編集装置における図形データ管理装置に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a graphic editing device, and more particularly to a graphic data management device in the graphic editing device.

(従来の技術) 従来、テキストを含んだ図表を扱う図形編集装置におけ
る図形データ管理装置においては、主に次のような実現
方式がとられていた。
(Prior Art) Conventionally, the following implementation method has been mainly used in a graphic data management device in a graphic editing device that handles charts and tables containing text.

(a)線分、テキストをそれぞれ独立な図形要素と考え
、その要素毎に表示座標を管理する。
(a) Line segments and text are considered to be independent graphical elements, and display coordinates are managed for each element.

(b)表のような特定の形式のものを対象とし、その枠
の座標と枠の中のテキストを分離して管理するもので、
枠とテキストの関連は、例えばi行j列の領域にテキス
トが入っていることを表すために(i、j)という正整
数の組とテキストtを対応付けることにより実現される
(b) It targets items in a specific format such as tables, and manages the coordinates of the frame and the text inside the frame separately.
The association between the frame and the text is realized, for example, by associating the text t with a set of positive integers (i, j) to represent that the text is contained in the area of the i-th row and the j-th column.

これらの方式には、それぞれ次のような特徴がある。Each of these methods has the following characteristics.

(al)要素毎に追加、削除などができる。従って、線
分で記述できるような任意の図形が記述可能である。し
かし、表における1つの枠のような線分で囲まれた領域
管理していないため、表示画面ではある領域に書かれて
いるテキストも領域とは無関係である。そのため、線分
の移動、削除に伴ってテキストも移動あるいは削除され
るような処理は困難である。
(al) Addition, deletion, etc. can be made for each element. Therefore, any figure that can be described by line segments can be described. However, since an area surrounded by a line segment such as a frame in a table is not managed, text written in a certain area on the display screen is also unrelated to the area. Therefore, it is difficult to perform processing in which text is also moved or deleted when a line segment is moved or deleted.

(bl、)枠を定義し、その後テキストを入力という工
程であり、例えば表計算を行うために必要なテキストの
関係抽出は制限された形(i行j列)であるがテキスト
入力時に抽出され保持されている。従って、テキスト入
力後に枠を変更するには、入力済のテキストを遺棄しな
ければならながった。
(bl,) This is the process of defining a frame and then inputting text. For example, the extraction of text relationships needed to perform spreadsheet calculations is limited (i row, j column), but it is extracted when text is input. Retained. Therefore, in order to change the frame after entering text, the entered text had to be discarded.

(発明が解決しようとする問題点) テキストを含んだ任意形式の矩形図形の入力・編集に対
して、従来の方式では、(a)、(b)それぞれに、(
a2)矩形図形の枠とテキストとは論理的な対応がとら
れていないため、テキストの関連(枠に沿った上下左右
の関係など)を抽出することは困難であり、例えば、表
計算を行わなければならないような対象には不向きであ
る、(b2)矩形図形の枠を定義する作業過程とテキス
トを入力・編集する作業過程とが別途のものとなり、表
示イメージを確認しながら図形を作成するときはそれら
の作業のモード切り替えを頻繁に行わなければならず、
さらにテキスト入力後枠組を変更するときは、最初から
作り直す必要があり作業効率が悪く、また、図形要素(
線分など)単位の入力・編集はおこなえず、記述される
図形も制限されたものである、といった欠点があった。
(Problems to be Solved by the Invention) In the conventional method for inputting and editing rectangular figures in arbitrary formats including text, (a) and (b)
a2) Since there is no logical correspondence between the rectangular frame and the text, it is difficult to extract text relationships (such as vertical and horizontal relationships along the frame). (b2) The process of defining the frame of a rectangular figure and the process of inputting and editing text are separate processes, and the figure is created while checking the displayed image. In some cases, the mode of these tasks must be switched frequently.
Furthermore, when changing the framework after entering text, it is necessary to recreate it from the beginning, which is inefficient.
The disadvantages were that it was not possible to input or edit units (such as line segments), and the types of figures that could be described were limited.

これに対して本発明は、入力・編集の基本要素の対象を
長方形と分割線とテキストとして、図形表示データ(矩
形図形の特徴点の座標値)とテキストデータ(矩形図形
の枠内に書かれた日本語や英数字等)の混在したデータ
構造で管理することにより、矩形図形の枠を定義する過
程と枠内のテキストの入力・編集を同じ作業過程で行い
、図形要素単位(長方形や水平線や垂直線)の入力・編
集を行うことができ、同時に図形要素の追加、削除など
による枠の変更に対してもそれまで入力されたテキスト
を保持し、テキスト間の関連(枠に沿った上下左右の関
係など)を抽出することを可能にした図形編集装置の図
形データ管理装置を提供することを目的とする。
In contrast, in the present invention, the basic elements for input/editing are rectangles, dividing lines, and text. By managing data in a data structure that includes a mixture of characters (e.g. Japanese, alphanumeric characters, etc.), the process of defining the frame of a rectangular shape and the input/editing of the text within the frame can be performed in the same process, At the same time, even if the frame is changed by adding or deleting graphical elements, the previously input text is retained, and the relationship between texts (up and down along the frame) can be input and edited. An object of the present invention is to provide a graphic data management device for a graphic editing device that makes it possible to extract (left-right relationships, etc.).

(問題点を解決する手段) 本発明の図形データ管理装置は、文字を含む図形を入力
・編集する図形編集処理装置において、長方形と分割線
から構成されその枠内にテキストが書きこまれた任意形
式の矩形図形を図形表示データ(矩形図形の特徴点の座
標値)とテキストデータ(矩形図形の枠内に書かれた日
本語や英数字等)が混在した形のデータ構造で記憶させ
る記憶手段と、表示座標の値により前記記憶手段に記憶
された矩形図形の線分やテキスト表示領域(矩形図形の
枠内)に対応するデータを指定する図形データ指定手段
と、前記図形編集処理装置における入力・編集手段と前
記図形データ指定手段とによる矩形と線分とテキストの
入力・編集に伴い前言己記憶手段に記憶されている矩形
図形のデータを再構成する図形データ変更手段と、前記
記憶手段に記憶された図形データをもとに矩形図形を表
示装置に表示する表示手段と、作成された矩形図形に対
して前記記憶手段に記憶された図形データをもとに枠内
に書かれたテキストデータを矩形図形の構造に従い各テ
キスト間の関連を示す情報を抽出する関係抽出手段とか
ら構成される。
(Means for Solving Problems) The graphic data management device of the present invention is a graphic editing processing device that inputs and edits shapes including characters. A storage means that stores a rectangular figure in a data structure in which figure display data (coordinate values of feature points of the rectangular figure) and text data (Japanese, alphanumeric characters, etc. written within the frame of the rectangular figure) are mixed. a graphic data specifying means for specifying data corresponding to a line segment or a text display area (within the frame of the rectangular figure) of the rectangular figure stored in the storage means according to display coordinate values; and an input in the figure editing processing device.・A graphic data changing means for reconstructing data of a rectangular figure stored in the previous word storage means as the rectangle, line segment, and text are input and edited by the editing means and the graphic data specifying means; Display means for displaying a rectangular figure on a display device based on the stored figure data; and text data written in a frame for the created rectangular figure based on the figure data stored in the storage means. and a relationship extraction means for extracting information indicating the relationship between each text according to the structure of the rectangular figure.

(作用) 本発明の作用を本図形データ管理装置を用いた図形編集
処理装置による矩形図形の入力操作を例にとり第2図を
参照して説明する。ここで第2図における11は説明の
ための座標系であり3’b3’2+y3とx1+X2.
X3.X4は、それぞれY−座標とX−座標の値である
。まず、第2図において矩形12(左下頂点が(0,0
)、右上頂点が(X41y3))を入力する。入力方法
は、ポインティングデバイスにより左下頂点と右上頂点
を指定する。次に水平線14を入力する。入力方法は、
矩形12内の一点を指定することによりY−座標の値(
ここではy2)を与える。ここで、枠13(左下頂点が
(0,y2)、右上頂点が(X4)’3)の矩形)にテ
キスト[名詞jを入力する。そして、Y−座標の値がy
lの水平線(水平線17と20を結んだもの)を入力す
る。それから、垂直線15(x−座標の値がXl)を入
力する。さらに、垂直線22(x−座標の値がX2)と
垂直線24(X−座標の値がx3)を順次入力する。最
後に、枠16、枠′19、枠21、枠23と枠25にそ
れぞれテキスト[固有名詞]、「普通名詞」、「山」、
「川]、と「海」を入力して第2図の矩形図形の入力を
終わる。注意として、水平線、垂直線とテキストの入力
順序は上記に示したものに限らず自由でよい。
(Operation) The operation of the present invention will be explained with reference to FIG. 2, taking as an example an input operation of a rectangular figure by a figure editing processing device using the present figure data management device. Here, 11 in FIG. 2 is a coordinate system for explanation, and 3'b3'2+y3, x1+X2.
X3. X4 are the values of the Y-coordinate and X-coordinate, respectively. First, in Fig. 2, rectangle 12 (lower left vertex is (0,0
), the upper right vertex is (X41y3)). The input method is to specify the lower left vertex and the upper right vertex using a pointing device. Next, input the horizontal line 14. The input method is
By specifying a point within the rectangle 12, the Y-coordinate value (
Here, y2) is given. Here, input the text [noun j] into the frame 13 (a rectangle whose lower left apex is (0, y2) and whose upper right apex is (X4)'3). Then, the value of Y-coordinate is y
Input the horizontal line of l (connecting horizontal lines 17 and 20). Then, input the vertical line 15 (the value of the x-coordinate is Xl). Furthermore, vertical line 22 (x-coordinate value is X2) and vertical line 24 (X-coordinate value is x3) are input in sequence. Finally, text [proper noun], "common noun", "mountain",
Enter "river" and "sea" to complete the input of the rectangular figure in Figure 2. Please note that the input order of horizontal lines, vertical lines, and text is not limited to the order shown above.

上記の入力により第2図の矩形図形は記憶手段に第3図
に示すようなデータ構造で格納される。第3図上で○内
の記号で、rはルートノード、−は水平分割線、↓は垂
直分割線、空欄は終端をそれぞれ示す。第3図において
、ノード32は矩形図形全体を表すルート、ノードであ
り、そのノードに付随するデータ31には、左下頂点と
右上頂点の座標が入っている(第2図の矩形12に対応
する。)ノード33は水平分割線を表すノードであり、
そのノードに付随するデータ34には、オペレータ値と
して水平分割線のY−座標の値y2、テキストとして[
名詞]が格納されている(第2図の矩形13に対応する
)。ノード35は垂直分割線を表すノードであり、その
ノードに付随するデータ46には、オペレータ値として
垂直分割線のX−座標の値がXlが格納されている(第
2図の垂直線15に対応する)。ノード36は水平分割
線を表しそして前記ノード35の左の子でX=x1より
左にあることを示すノードであり、そのノードに付随す
るデータ37には、オペレータ値として水平分割線のY
−座標の値y1、テキストとして「固有名詞」が格納さ
れている(第2図の矩形16に対応する)。ノード38
は終端を表すノードである(第2図の矩形18に対応す
る)。ノード39は水平分割線を表しそして前記ノード
35の右の子でX := xlより右にあることを示す
ノードであり、そのノードに付随するデータ40には、
オペレータ値として水平分割線のY−座標の値y1、テ
キストとして「普通名詞」が格納されている(第2図の
矩形19に対応する)。ノード42は垂直分割線を表す
ノードであり、そのノードに付随するデータ47には、
オペレータ値として垂直分割線のX−座標の値がX2が
格納されている(第2図の垂直線22に対応する)。ノ
ード41は前記ノード42の左の子でそして終端を表す
ノードであり、そのノードに付随するデータ41には、
テキストとして[山」が格納されている(第2図の矩形
21に対応する)。ノード44は前記ノード42の右の
子でそして垂直分割線を表すメートであり、そのメート
に付随するデータ50には、オペレータ値として垂直分
割線のX−座標の値x3が格納されている(第2図の垂
直線24に対応する)。ノード43と45は終端を表し
それぞれ前記ノード4と左と右の子であり、それらのノ
ードに付随するテ゛−夕49と51には、テキストとし
てそれぞれ「川]と「海」が格納されている(それぞれ
第2図の矩形23と25に対応する)。この他、矩形図
形のX−軸、Y−軸方向への拡大・縮小に対しては、ル
ート・ノードの右上座標のx、y座標をそして垂直・水
平分割線のオペレータ値をそれぞれ拡大・縮小率倍する
だけでよく、垂直、水平分割線の平行移動に対しては対
応するオペレータ値を変更すればよい。さらに、第4図
において(a)の矩形図形61の枠62の部分に(b)
の矩形図形63を挿入して第2図の矩形図形をつくると
いう矩形図形の部分挿入や、第5図において(a)の矩
形図形64と(b)の矩形図形65を結合して(C)の
矩形図形66をつくるという矩形図形の結合などの編集
に対するデータの変更もそのデータ部分木の置換やデー
タ本の結合という操作で簡単に実現される。また、矩形
図形の枠はこのテ゛−タ構造では水平分割線と終端を表
すノードに対応し矩形図形の枠とそこに入力されるテキ
ストとの対応はそれらのノードにテキスト付随させるこ
とで実現される。以上のように、矩形図形の枠と定義と
テキストの入力・編集を同一作業過程このように図形表
示データとテキストデータの混在した本構造でデータを
管理することにより、垂直線や垂直線の入力・削除は本
構造のノードの挿入や削除、垂直線や水平線の移動は本
構造のノードのオペレー夕値の変更、テキストの変更は
本構造のノードのテキストの変更がそれぞれ対応し、枠
の定義とテキストの入力1編集を同じ作業過程で行なう
ことができる。さらに図形要素単位(長方形や垂直線や
水平線)の入力0編集や矩形図形単位の編集(挿入や結
合)ができる。そして、枠の変更に対してもそれまで入
力されたテキストを遺棄する必要がなく作業効率の向上
がはかれる。なおかつテキスト間の関連(枠に沿った上
下左右の関係など)の抽出も木構造のノードに付随した
テキストを抽出することで実現される。
With the above input, the rectangular figure shown in FIG. 2 is stored in the storage means in a data structure as shown in FIG. 3. In FIG. 3, the symbols inside the circle indicate the root node, - the horizontal dividing line, the vertical dividing line ↓, and the blank space the end. In FIG. 3, a node 32 is a root node representing the entire rectangular figure, and data 31 attached to the node contains the coordinates of the lower left vertex and the upper right vertex (corresponding to rectangle 12 in FIG. 2). .) Node 33 is a node representing a horizontal dividing line,
The data 34 associated with that node includes the value y2 of the Y-coordinate of the horizontal dividing line as the operator value, and [[
Noun] is stored (corresponding to rectangle 13 in FIG. 2). The node 35 is a node representing a vertical dividing line, and the data 46 associated with the node stores Xl, which is the value of the X-coordinate of the vertical dividing line, as an operator value (for the vertical dividing line 15 in FIG. handle). Node 36 represents a horizontal dividing line and is the left child of the node 35, indicating that it is to the left of X=x1, and data 37 associated with that node contains Y of the horizontal dividing line as an operator value.
- Coordinate value y1, "proper noun" is stored as text (corresponding to rectangle 16 in FIG. 2). node 38
is a node representing the end (corresponding to rectangle 18 in FIG. 2). A node 39 represents a horizontal dividing line and is a right child of the node 35, indicating that it is to the right of X:=xl, and data 40 associated with the node includes the following:
The value y1 of the Y-coordinate of the horizontal dividing line is stored as the operator value, and "common noun" is stored as the text (corresponding to rectangle 19 in FIG. 2). The node 42 is a node representing a vertical dividing line, and the data 47 associated with the node includes:
The value of the X-coordinate of the vertical dividing line, X2, is stored as the operator value (corresponding to the vertical line 22 in FIG. 2). The node 41 is the left child of the node 42 and represents the terminal end, and the data 41 associated with the node includes the following:
"Mountain" is stored as text (corresponding to rectangle 21 in FIG. 2). The node 44 is the right child of the node 42 and is a mate representing a vertical dividing line, and the data 50 associated with the mate stores the value x3 of the X-coordinate of the vertical dividing line as an operator value ( (corresponding to vertical line 24 in FIG. 2). Nodes 43 and 45 represent the terminal ends and are the left and right children of the node 4, respectively, and the text ``river'' and ``sea'' are stored in the nodes 49 and 51 associated with these nodes, respectively. (corresponding to rectangles 23 and 25 in FIG. 2, respectively). In addition, to expand/reduce the rectangular shape in the X-axis and Y-axis directions, expand/reduce the x and y coordinates of the upper right coordinates of the root node and the operator values of the vertical and horizontal dividing lines, respectively. It is sufficient to simply multiply the ratio, and for parallel movement of the vertical and horizontal dividing lines, the corresponding operator values may be changed. Furthermore, in the part of the frame 62 of the rectangular figure 61 in (a) in FIG. 4, (b)
Partial insertion of a rectangular figure, such as inserting the rectangular figure 63 of , to create the rectangular figure of FIG. 2, or combining the rectangular figure 64 of (a) and the rectangular figure 65 of (b) in FIG. Data changes for editing, such as combining rectangular figures to create a rectangular figure 66, can be easily realized by replacing the data subtrees and merging data books. Also, in this data structure, the frame of a rectangular figure corresponds to the node representing the horizontal dividing line and the end, and the correspondence between the frame of a rectangular figure and the text input there is achieved by attaching text to those nodes. Ru. As described above, inputting and editing the frame and definition of a rectangular figure and text can be done in the same work process.By managing data in this structure where figure display data and text data are mixed, inputting vertical lines and perpendicular lines can be done in the same process. - Deletion corresponds to inserting or deleting a node in the main structure, moving vertical lines or horizontal lines corresponds to changing the operator value of the node in the main structure, changing text corresponds to changing the text of the node in the main structure, and defining the frame. and text input and editing can be performed in the same work process. Furthermore, input zero editing can be performed in units of graphic elements (rectangles, vertical lines, and horizontal lines) and editing (insertion and combination) in units of rectangular figures. Further, even when the frame is changed, there is no need to discard the text that has been input up to that point, improving work efficiency. Furthermore, extraction of relationships between texts (such as vertical and horizontal relationships along a frame) is also achieved by extracting text attached to nodes in the tree structure.

(実施例) 第1図は本発明の図形データ管理装置を用いた図形編集
処理装置である。第1図において6は入力装置である。
(Embodiment) FIG. 1 shows a graphic editing processing device using the graphic data management device of the present invention. In FIG. 1, 6 is an input device.

3は入力装置6を通して入力編集手段7より入力・編集
の結果送られてくるコードをもとに図形表示データ(矩
形図形の特徴点の座標値)とテキストデータ(矩形図形
の枠内に書かれた日本語や英数字等)が混在した形のデ
ータの変換して記憶手段1に蓄積または記憶手段1のテ
゛−夕を更新する入力・編集手段である。1は、前述の
ように文字を含む矩形図形の情報を図形表示データとテ
キストデータが混在した形のデータ構造で蓄積する記憶
手段である。2は、6により送られてくるコードをもと
に前記記憶手段1に蓄えられている図形データの中より
対応するデータを指定する図形データ指定手段である。
3 displays graphic display data (coordinate values of feature points of a rectangular figure) and text data (written within the frame of a rectangular figure) based on the code sent as a result of input and editing from the input editing means 7 through the input device 6. This is an input/editing means for converting data in a mixed form (Japanese, alphanumeric characters, etc.) and storing it in the storage means 1 or updating the data in the storage means 1. Reference numeral 1 denotes a storage means for storing information on rectangular figures including characters in a data structure in which figure display data and text data are mixed, as described above. Reference numeral 2 designates graphic data specifying means for specifying corresponding data from among the graphic data stored in the storage means 1 based on the code sent by 6.

5は前記記憶手段1に蓄えられているデータをもとに表
示装置8に矩形図形を表示させる表示手段である。7は
、前記表示手段5より送られてくるコードをもとに表示
する表示装置である。4は、前記記憶手段1に蓄えられ
ているデータをもとに矩形図形の枠内に書かれたテキス
トデータを矩形図形の構造に従い各テキスト間の関連を
必要に応した形で抽出する関連抽出2手段である。第6
図は本発明を用いた図形編集処理装置を具体的にした回
路の一実施例を示すブロック図である。第6図において
70はマイクロプロセッサであり、アドレスバスAB、
データバスDB、 Read/Write信号R/Wに
より、周辺デバイスとインタフェースするようになって
いる。71はアドレスバスダであり、アドレスバスAB
の内容をデコードして周辺デバイスに対してどのチップ
を選ぶかというチップセレクト信号を発生するものであ
る。72は読出し専用メモリ(ROM)であり、プロセ
ッサ制御プログラムが格納されている。73は任意アク
セスメモリ(RAM)であり、プロセッサのデータメモ
リとして使われる。、、74は入力・編集回路であり、
入力された文字、図形、命令情報を変換して信号を図形
データ変更回路75に送る。75は図形データ変更回蕗
であり、前記入力・編集回路74から送られてくる信号
をもとに図形データをRAM73に書きこむかあるいは
RAM73のデータを更新する。76は図形データ指定
回路であり、指定された要素に対応するRAM73のデ
ータをアクセスする。77は関係抽出回路であり、RA
M73に格納された矩形図形データをもとに枠内に書か
れたテキストテ゛−夕を必要に応じた形で抽出する。7
8は表示回路であり、RAM73のデータを読んでグラ
フィックディスプレイ81に表示信号を送り表示する。
Reference numeral 5 denotes a display means for displaying a rectangular figure on the display device 8 based on the data stored in the storage means 1. Reference numeral 7 denotes a display device that displays a code based on the code sent from the display means 5. 4 is a relationship extraction for extracting the relationships between each text according to the structure of the rectangular shape from the text data written within the frame of the rectangular shape based on the data stored in the storage means 1; There are two methods. 6th
The figure is a block diagram showing an embodiment of a circuit that embodies a graphic editing processing device using the present invention. In FIG. 6, 70 is a microprocessor, and address buses AB,
A data bus DB and a read/write signal R/W are used to interface with peripheral devices. 71 is an address bus da, which is an address bus AB
It decodes the contents of the chip and generates a chip select signal indicating which chip to select for peripheral devices. 72 is a read-only memory (ROM) in which a processor control program is stored. A random access memory (RAM) 73 is used as a data memory of the processor. , 74 is an input/edit circuit;
The input characters, graphics, and command information are converted and signals are sent to the graphic data changing circuit 75. Reference numeral 75 denotes a graphic data change circuit which writes graphic data into the RAM 73 or updates the data in the RAM 73 based on the signal sent from the input/edit circuit 74. 76 is a graphic data designation circuit which accesses data in the RAM 73 corresponding to a designated element. 77 is a relationship extraction circuit, and RA
Based on the rectangular figure data stored in M73, the text data written in the frame is extracted in a form as required. 7
A display circuit 8 reads data from the RAM 73 and sends a display signal to the graphic display 81 for display.

79はキーボードであり、80はインタラクティブ機能
をもつポインティングデバイスである。
79 is a keyboard, and 80 is a pointing device with an interactive function.

81はグラフィックディスプレイである。81 is a graphic display.

以上のような構成の図形編集処理装置において、本発明
の詳細な説明するため第2図の矩形図形に対する編集を
例にとりその動作を説明する。編集の結果は第7図に示
される矩形図形である。第2図の矩形図形に対するデー
タは前記のように第8図の形でRAM73に格納されて
いる。また、RAM73内のそのデータの具体的構成法
を一例をもって第8図に説明する。第8図上、矢印はポ
インタを示すものであり実際には矢印の出発点には矢印
の指すデータアドレスが入っている。また、nil”は
何も指していないことを意味する記号である。まず、第
2図の枠18に垂直線(第7図の垂直線91)を入力す
る。ポインティングデバイス80により枠18内の一点
(X、YXこの場合X = x5.O< Y < yl
)を指定すれば、第6図の図形データ指定回路76に(
x、y)が渡され枠18に対応するデータ(第3図のノ
ード38)をアクセスする。
In order to explain the present invention in detail, the operation of the graphic editing processing apparatus having the above-mentioned configuration will be explained by taking the editing of a rectangular graphic shown in FIG. 2 as an example. The result of the editing is the rectangular figure shown in FIG. The data for the rectangular figure shown in FIG. 2 is stored in the RAM 73 in the form shown in FIG. 8, as described above. Further, a specific method of configuring the data in the RAM 73 will be explained with reference to an example in FIG. In FIG. 8, the arrow indicates a pointer, and the starting point of the arrow actually contains the data address pointed to by the arrow. In addition, "nil" is a symbol that means not pointing at anything. First, input a vertical line (vertical line 91 in FIG. 7) into the frame 18 in FIG. 2. One point (X, YX In this case X = x5. O < Y < yl
), the graphic data designation circuit 76 in FIG.
x, y) is passed and the data corresponding to frame 18 (node 38 in FIG. 3) is accessed.

図形データ指定回路の動作は第9図に示されるように、
ポインティングデバイス80により点Pが座標で指定さ
れたとき、 (a)矩形図形データのルート、ノードを訪問し、Pが
矩形全体の中にあるか調べ、中になければ終了する。(
A、B、C) (b)子のノード訪問する。(D) (c)ノードが水平線を表すものであるかを調べ、そ。
The operation of the graphic data designation circuit is as shown in FIG.
When a point P is specified by the coordinates using the pointing device 80, (a) The root node of the rectangular figure data is visited, and it is checked whether P is within the entire rectangle, and if it is not within the rectangle, the process is terminated. (
A, B, C) (b) Visit child nodes. (D) (c) Check whether the node represents a horizontal line.

うならばII(e)11を行なう。そうでなければ、+
1(f)+1を行なう。(E) (e)Pがそのノードの表す水平線より下にあれば”(
b)”を行い、上にあればそのノードの子ノードが垂直
線を表すノードであるか調べ、そうであれば”’(b)
”を行い、そうでなければ”(g)”を行なう。(F、
G)(Oノードが垂直線を表すノードか調べ、そうでな
ければ”(g)”を行ない、そうならばPがその節の表
す垂直線より右にあれば右の子ノードを訪問し、左にあ
れば左の子ノードを訪問して、u(c)t+を行なう。
If so, perform II(e)11. Otherwise, +
Perform 1(f)+1. (E) (e) If P is below the horizontal line represented by that node, then "(
b)", and if it is above, check whether the child node of that node is a node representing a vertical line, and if so, "'(b)
``, otherwise do ``(g)''.(F,
G) (Check whether the O node represents a vertical line; if not, perform "(g)"; if so, if P is to the right of the vertical line represented by that node, visit the right child node; If it is on the left, visit the left child node and perform u(c)t+.

(H,I、J、K) (g)訪問しているノードを指定したノードとして終了
する。(L、M) ここで、第9図中B、F、Iの判定は与えられた点Pの
座標値とノードに付随するオペレータ値との比較による
(H, I, J, K) (g) Terminate the visited node as the specified node. (L, M) Here, the determination of B, F, and I in FIG. 9 is based on a comparison between the coordinate values of a given point P and the operator value associated with the node.

前記図形データ指定回路76によりアクセスされたデー
タ(第3図のノード38と)それ以下の部分は、垂直線
入力の場合、図形データ変更回路75によって、第10
図に示されるように書き変えられる。第10図において
ノード100,102,103は、それぞれ第7図の垂
直線91、粋90、枠92に対応する。次に第7図にお
いて新しくできた枠90と枠92をポインティングデバ
イス80により指定し、上記と同様に図形データ指定回
路76により対応するデータ(第10図のノード102
とノード103)をアクセスする。そして、それぞれテ
キスト′富士山″と″利根用″を入力する。以」二の編
集の結果、データは第11図のように図形データ変更回
路により書き変えられる。ただし、第11図においてノ
ード100、ノード102、ノード103以外のノード
に付随するデータは省略しであるが、それらは第3図の
ものと同じである。
In the case of a vertical line input, the data accessed by the graphic data designation circuit 76 (node 38 in FIG.
Rewritten as shown in the figure. In FIG. 10, nodes 100, 102, and 103 correspond to the vertical line 91, corner 90, and frame 92 in FIG. 7, respectively. Next, the newly created frames 90 and 92 in FIG.
and node 103). Then, the texts ``Mt. Fuji'' and ``For Tone'' are respectively input.As a result of the following two edits, the data is rewritten by the graphic data changing circuit as shown in FIG. However, in FIG. 11, data associated with nodes other than node 100, node 102, and node 103 are omitted, but they are the same as in FIG. 3.

このような入力・編集の結果できたデータから関係抽出
回路77により、第12図に示されるような構造をもつ
テキストのデータを抽出することができる。この場合、
関係抽出回路77ではルート・ノードから順に(先端で
)子ノードをたどりそれぞれのテキストの内容を読んで
いき本構造の形で抽出する。
The relationship extraction circuit 77 can extract text data having the structure shown in FIG. 12 from the data created as a result of such input and editing. in this case,
The relationship extraction circuit 77 sequentially traces the child nodes from the root node (at the top), reads the content of each text, and extracts it in the form of a book structure.

なお、関係抽出回路77では上記のように本構造の形だ
けでなく、第13図(各製品の月毎の生産高を表した表
)に示されるような図表に対しては、横の関係も抽出す
る。例えば、製品Aの1〜4月の各生産高の抽出である
。この場合、関係抽出回路77では水平分割線のオペレ
ータ値を参照しながら、ルート・ノードから順に(先端
で)子ノードをたどり横の関係をもつ形でデータを抽出
する。
Note that the relationship extraction circuit 77 not only determines the shape of this structure as described above, but also determines horizontal relationships for charts such as the one shown in FIG. Also extract. For example, the production amount of product A from January to April is extracted. In this case, the relationship extraction circuit 77 extracts data in a form that has a horizontal relationship by sequentially tracing the child nodes (at the tip) from the root node while referring to the operator value of the horizontal dividing line.

本発明では、矩形図形のデータにおいてメートに付随す
るテキスト情報は一種類であったが、これは複数もたせ
てもよい。また、垂直分割線が底辺まて延びていないも
のが存在する矩形図形に対するデータのもちかたについ
ては、その例を第14図と第15図に示す。第14図に
おける矩形図形140は、第15図のようなデータ構造
になる。第15図中ノード150は、垂直分割線がその
水平分割線までしか延びていないことを表すメートであ
り、ノード151以下は、その部分のデータを表してい
る。
In the present invention, there is only one type of text information attached to the mate in the rectangular figure data, but a plurality of text information may be provided. Examples of how to use data for a rectangular figure in which the vertical dividing line does not extend to the bottom are shown in FIGS. 14 and 15. The rectangular figure 140 in FIG. 14 has a data structure as shown in FIG. 15. Node 150 in FIG. 15 is a mate indicating that the vertical dividing line extends only to the horizontal dividing line, and nodes 151 and below represent data for that portion.

(発明の効果) 以上の説明で明らかなように、この発明によると矩形図
形の表示を定義する作業過程と枠内のテキストの入力・
編集を同じ作業過程で行うことができ作業効率の向上が
はかれる。また、入力及び編集中にそれまで入力された
入力情報を保存したまま水平線、垂直線の追加や削除に
より矩形図形の表示イメージを自由に変更することがで
き、さらにテキストデータ間の関連を示す情報を抽出す
る等、柔軟性の高い対話的入力・編集が実現される。
(Effects of the Invention) As is clear from the above description, according to the present invention, the work process of defining the display of a rectangular figure and the inputting and processing of text within the frame.
Editing can be done in the same process, improving work efficiency. In addition, during input and editing, you can freely change the display image of the rectangular shape by adding or deleting horizontal lines and vertical lines while preserving the input information that has been input up to that point.In addition, you can freely change the display image of the rectangular shape by adding or deleting horizontal lines and vertical lines, and information indicating the relationship between text data. Highly flexible interactive input/editing is realized, such as extracting.

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

第1図は本発明を用いた図形編集処理装置の全体構成図
、第2図、第4図(a)、(b)、第5図(a)、(b
)、(c)、第7図、第13図、第14図は矩形図形の
入力例を示す図、第6図は本発明を具体的にした回路の
一実施例を示すブロック図、第3図、第8図、第10図
、第11図、第15図は矩形図形のデータを示す図、第
12図は、矩形図形のデータから抽出したテキストデー
タを示す図、第9図は本発明の処理フローを示享  4
   図 半  5  図 (C) 9/   qz  zt   zz  z3Z4キ  
8  図 亭 9 記 半  11  1ff1 石 3司 山川 キ 13   起
Fig. 1 is an overall configuration diagram of a graphic editing processing device using the present invention, Fig. 2, Fig. 4 (a), (b), Fig. 5 (a), (b).
), (c), FIG. 7, FIG. 13, and FIG. 14 are diagrams showing an example of inputting a rectangular figure, FIG. 6 is a block diagram showing an example of a circuit embodying the present invention, and FIG. Figures 8, 10, 11, and 15 are diagrams showing data of rectangular figures, Figure 12 is a diagram showing text data extracted from data of rectangular figures, and Figure 9 is a diagram showing the present invention. Enjoy the processing flow of 4
Figure half 5 Figure (C) 9/ qz zt zz z3Z4ki
8 Zutei 9 Kihan 11 1ff1 Stone 3 Tsuji Yamakawa Ki 13 Ki

Claims (1)

【特許請求の範囲】[Claims] 文字を含む図形を入力・編集する図形編集処理装置にお
いて、長方形と分割線から構成されその枠内にテキスト
が書きこまれた任意形式の矩形図形を特徴点の座標値を
示す図形表示データとテキストデータが混在した形のデ
ータ構造で記憶させる記憶手段と、表示座標の値により
前記記憶手段に記憶された矩形図形の線分や矩形図形の
枠内であるテキスト表示領域に対応するデータを指定す
る図形テータ指定手段と、前記図形編集処理装置におけ
る入力・編集手段と前記図形データ指定手段とによる矩
形と線分とテキストの入力・編集に伴い前記記憶手段に
記憶されている矩形図形のデータを再構成する図形デー
タ変更手段と、前記記憶手段に記憶された図形データを
もとに矩形図形を表示装置に表示する表示手段と、作成
された矩形図形に対して前記記憶手段に記憶された図形
データをもとに枠内に書かれたテキストデータを矩形図
形の構造に従い各テキスト間の関連を示す情報を抽出す
る関係抽出手段とを設けたことを特徴とする図形データ
管理装置。
In a figure editing processing device that inputs and edits figures including characters, a rectangular figure in an arbitrary format consisting of a rectangle and a dividing line with text written in its frame is displayed as figure display data indicating the coordinate values of feature points and text. A storage means for storing data in a data structure in which data is mixed, and data corresponding to a line segment of a rectangular figure stored in the storage means or a text display area within the frame of the rectangular figure stored in the storage means by display coordinate values is specified. The data of the rectangular figure stored in the storage means is replayed as rectangles, line segments, and text are input and edited by the figure data designation means, the input/edit means in the figure editing processing device, and the figure data designation means. a graphic data changing means, a display means for displaying a rectangular figure on a display device based on the graphic data stored in the storage means, and graphic data stored in the storage means for the created rectangular figure; 1. A graphical data management device comprising: a relationship extracting means for extracting information indicating a relationship between texts according to the structure of a rectangular graphic from text data written in a frame based on the structure of a rectangular graphic.
JP61227648A 1986-09-25 1986-09-25 Graphic data management device Pending JPS6381575A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61227648A JPS6381575A (en) 1986-09-25 1986-09-25 Graphic data management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61227648A JPS6381575A (en) 1986-09-25 1986-09-25 Graphic data management device

Publications (1)

Publication Number Publication Date
JPS6381575A true JPS6381575A (en) 1988-04-12

Family

ID=16864166

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61227648A Pending JPS6381575A (en) 1986-09-25 1986-09-25 Graphic data management device

Country Status (1)

Country Link
JP (1) JPS6381575A (en)

Similar Documents

Publication Publication Date Title
JP2003122567A (en) Device and method for multidimensional programming
JPS6215670A (en) Editing system for intra-graphic character string
JPS6381575A (en) Graphic data management device
JP3674905B2 (en) Document editing device
JPS62105266A (en) Character processor
JPH01114975A (en) Graphic data converter
JPS6132676B2 (en)
JPH0525115B2 (en)
JP2672940B2 (en) Document processing device
JPS62254263A (en) Table preparation system
JPS6084588A (en) Graphic processor
JP3395372B2 (en) Table processing equipment
JP2655836B2 (en) Table device
JPH0776960B2 (en) Table ruled line creation method
JPH0365759A (en) Edition processing system for table
JPH01116816A (en) Cursor display system
JPS63184169A (en) Cad device
JPH0334073A (en) Input device for software drawing
JPH04367969A (en) Information display processor
JPS63304365A (en) Text data editing/output system for multi-media editing/ output device
JPH04248677A (en) Method and device for drawing wall or beam in building drawing or the like
JPH04205347A (en) Graph generator
JPH01115665A (en) Output processor for outputting predetermined format data
JPH0571110B2 (en)
JPH04111054A (en) Document processor