[go: up one dir, main page]

JPH1011599A - Chart graphic processor - Google Patents

Chart graphic processor

Info

Publication number
JPH1011599A
JPH1011599A JP8184244A JP18424496A JPH1011599A JP H1011599 A JPH1011599 A JP H1011599A JP 8184244 A JP8184244 A JP 8184244A JP 18424496 A JP18424496 A JP 18424496A JP H1011599 A JPH1011599 A JP H1011599A
Authority
JP
Japan
Prior art keywords
rule
character string
chart
graphic
shape
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
JP8184244A
Other languages
Japanese (ja)
Inventor
Naoki Hayashi
直樹 林
Kazuo Shibuta
一夫 澁田
Shiyuu Watanabe
衆 渡辺
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP8184244A priority Critical patent/JPH1011599A/en
Publication of JPH1011599A publication Critical patent/JPH1011599A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve looks by coping with the editing of a character string in the graphic of a chart element by interactive operation and matching layout between the graphics of other chart elements. SOLUTION: A processing control part 1 receives instruction from a user, executes the processing of the start/finish of the whole system, executes data access to respective data holding parts 6 and 7 and rule holding parts 8 to 10, executes the processing of arranging the graphic of a chart element at a coordinate point for deciding a position to arrange the chart element to prepare a chart and executes the changing processing of various graphic shape with respect to the chart element. In such a case, the part 1 controls each function processing part 2 to 19 so as to perform processing through the use of the function processing parts 2 to 19 and executes the processing for controlling the flow of the whole processing. In this controlling processing, the part 1 successively assigns time for an instruction input receiving processing to respective function processing parts 2 to 5, 11 and 12.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、チャート図形処理
装置に関し、特に、ワードプロセッサやCADシステム
などにおいて利用され、電子的にチャートの要素となる
文字入り図形を処理するチャート図形処理装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a chart graphic processing apparatus, and more particularly to a chart graphic processing apparatus which is used in a word processor or a CAD system and which electronically processes a graphic containing characters which is an element of a chart.

【0002】[0002]

【従来の技術】従来から、ワードプロセッサやCADシ
ステムなどによる文書作成の中で流れまたは関係のある
内容説明のためのチャートを作成することが行われる。
これらのチャートでは、組織図やフローチャートなどで
見られるように、文字列を図形で囲んだ表現(表記)が
よく用いられる。このようなチャートを電子的に作成す
るシステムにおいては、チャートの要素となっている図
形の中の文字列の追加や削除に応じて、文字列および図
形のレイアウトを変更する図形処理が行われる。
2. Description of the Related Art Conventionally, a chart for explaining a flow or a related content is created in document creation by a word processor, a CAD system, or the like.
In these charts, an expression (notation) in which a character string is surrounded by a graphic is often used as seen in an organization chart or a flowchart. In a system for creating such a chart electronically, graphic processing for changing the layout of character strings and graphics is performed according to addition or deletion of a character string in a graphic that is an element of the chart.

【0003】この種のチャートの図形処理については、
例えば、特開平2−240782号公報に開示されてい
るように、文字列の追加削除に応じて、これを囲む図形
の大きさを変更する方法が知られている。また、例え
ば、特開平6−161728号公報に開示されている
「フローチャート作成システム」のように、図形の内部
に収まるように文字列のフォントを変更し、その場合、
図形の内部に収まらなかった文字列については、当該図
形の中の文字列の一部を所定のシンボルに置換し、その
内部に収まらなかった文字列を、当該図形とは別の位置
のチャートの空所にレイアウトするシステムが知られて
いる。
[0003] Regarding the graphic processing of this kind of chart,
For example, as disclosed in Japanese Patent Application Laid-Open No. 2-240782, there is known a method of changing the size of a figure surrounding the character string in accordance with the addition or deletion of the character string. Also, for example, as in a "flowchart creation system" disclosed in Japanese Patent Application Laid-Open No. 6-161728, the font of a character string is changed so that it fits inside a figure.
For a character string that does not fit inside the figure, a part of the character string in the figure is replaced with a predetermined symbol, and the character string that does not fit inside the figure is displayed in a chart at a different position from the figure. A system for laying out a space is known.

【0004】[0004]

【発明が解決しようとする課題】しかし、特開平2−2
40782号公報に開示されている方法では、変更され
た文字列を内包する図形が変更されるだけであるため、
チャート全体としてのレイアウトの整合が崩れることが
起こる。その場合、ユーザが他の図形の大きさを変更し
たり、図形の配置を変えなければならなかった。
However, Japanese Patent Application Laid-Open No. Hei 2-2
In the method disclosed in Japanese Patent No. 40782, only the graphic including the changed character string is changed.
The layout alignment of the entire chart may be lost. In that case, the user has to change the size of another figure or change the arrangement of the figure.

【0005】また、特開平6−161728号公報に開
示されている「フローチャート作成システム」の方法で
は、図形の内部に収まらなかった文字列については、文
字列が他の部分に較べて非常に小さくなったり、あるい
は、文字列が突然途切れて、まったく別の位置に置かれ
ることが起こることになる。その場合、作成されたチャ
ートの可読性は非常に低くなり、視覚デザイン的に品質
の劣ったチャートが作成されることになる。
In the method of the "flowchart creation system" disclosed in Japanese Patent Laid-Open No. 6-161728, a character string that does not fit inside the figure is much smaller than other parts. Or the string may be suddenly interrupted and placed in a completely different position. In that case, the readability of the created chart is extremely low, and a chart of poor visual design quality is created.

【0006】本発明は、上述したような問題を解決する
ためになされたものであり、本発明の目的は、ユーザが
対話的操作により行ったチャート要素の図形の中の文字
列の編集に対応して、他のチャート要素の図形の間のレ
イアウトの整合をとって見映えを良くするチャート図形
処理装置を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem, and an object of the present invention is to cope with editing of a character string in a graphic of a chart element performed by a user through an interactive operation. It is another object of the present invention to provide a chart graphic processing apparatus which improves the appearance by matching the layout between the graphics of other chart elements.

【0007】[0007]

【課題を解決するための手段】上記のような目的を達成
するため、本発明のチャート図形処理装置は、第1の特
徴として、文字列と当該文字列を囲む図形とを対応づけ
て1つのチャート要素として保持するチャート要素保持
手段(7)と、チャート要素を配置する位置を決定する
座標点を保持する座標点保持手段(6)と、前記座標点
にチャート要素の図形および文字列を配置する配置処理
手段(1,13,17,19)と、チャート要素の図形
の形状の規則を保持する形状規則保持手段(8)と、前
記座標点と図形の形状の関係を定義する第1関係規則を
記憶する第1関係規則記憶手段(10)と、文字領域と
図形の形状の関係を定義する第2関係規則を記憶する第
2関係規則記憶手段(9)と、前記チャート要素保持手
段の中の任意のチャート要素の文字列を変更する文字列
変更手段(11)と、前記変更された文字列がレイアウ
トされる文字列領域を決定する文字列領域決定手段(1
6,17)と、前記第2関係規則に基づいて文字列を変
更した文字列領域に関係して図形の形状を変更する形状
変更手段(18,19)と、文字列が変更されたチャー
ト要素を配置する座標点と前記第1関係規則に基づいて
依存関係にあるチャート要素を選び出す要素選出手段
(1)と、前記形状規則保持手段に保持された規則と前
記文字領域決定手段が決定した領域に応じて、前記文字
列が変更されたチャート要素の図形の形状を変更する第
1図形形状変更手段(1,18)と、前記形状規則保持
手段に保持された規則と前記第1図形形状変更手段が変
更した形状に応じて、前記要素選出手段が選び出したす
べてのチャート要素を変更する第2図形形状変更手段
(1,19)とを備えることを特徴とする。
In order to achieve the above object, a chart graphic processing apparatus according to the present invention has a first feature that a character string is associated with a figure surrounding the character string in one form. A chart element holding means (7) for holding as a chart element, a coordinate point holding means (6) for holding a coordinate point for determining a position where the chart element is to be arranged, and a graphic and a character string of the chart element being arranged at the coordinate point Arrangement processing means (1,13,17,19), shape rule holding means (8) for holding a rule of a shape of a chart element, and a first relation for defining a relationship between the coordinate points and the shape of the figure. A first relational rule storage means (10) for storing rules, a second relational rule storage means (9) for storing a second relational rule for defining a relation between a character area and a figure shape, and a chart element storage means. Any inside Over a string changing means for changing a string of bets element (11), a character string region determining means for the modified character string to determine the character string region to be laid (1
(6, 17), shape changing means (18, 19) for changing the shape of the figure in relation to the character string area in which the character string has been changed based on the second relation rule, and a chart element in which the character string has been changed Element selecting means (1) for selecting a chart element having a dependency relationship based on a coordinate point at which a character is arranged and the first relational rule, an area held by the shape rule holding means and an area determined by the character area determining means A first graphic shape changing means (1, 18) for changing the shape of the graphic of the chart element in which the character string has been changed, and a rule held in the shape rule holding means and the first graphic shape change. A second graphic shape changing means (1, 19) for changing all chart elements selected by the element selecting means according to the shape changed by the means.

【0008】また、本発明のチャート図形処理装置は、
第2の特徴として、更に、前記第2図形形状変更手段に
より、チャート要素の図形の形状が変更された場合、前
記形状規則保持手段に保持された規則と、前記第2図形
形状変更手段が変更した形状に応じて、前記要素選出手
段が選び出したチャート要素の文字列がレイアウトされ
る文字列領域の図形に対する位置を調整する文字列領域
位置調整手段を備えることを特徴とする。
Further, the chart graphic processing apparatus of the present invention
As a second feature, when the shape of the chart element graphic is changed by the second graphic shape changing means, the rule held in the shape rule holding means and the second graphic shape changing means are changed. A character string area position adjusting means for adjusting the position of the character string area in which the character string of the chart element selected by the element selecting means is laid out with respect to the figure in accordance with the shape.

【0009】また、本発明のチャート図形処理装置は、
第3の特徴として、更に、チャート要素の図形の位置に
関する規則を保持する位置規則保持手段と、前記第1図
形形状変更手段および第2図形形状変更手段により、チ
ャート要素の図形の形状が変更された場合、前記位置規
則保持手段に保持された規則に応じて、前記チャート要
素保持手段中のチャート要素の図形の位置を調整する要
素位置調整手段とを備えることを特徴とする。
Further, the chart graphic processing apparatus of the present invention
As a third feature, the shape of the chart element graphic is changed by the position rule holding means for holding the rule regarding the position of the graphic of the chart element, and the first graphic shape changing means and the second graphic shape changing means. In this case, there is provided an element position adjusting means for adjusting the position of the graphic of the chart element in the chart element holding means according to the rule held by the position rule holding means.

【0010】このような特徴を有する本発明のチャート
図形処理装置においては、チャート要素保持手段が、文
字列と当該文字列を囲む図形とを対応づけて1つのチャ
ート要素として保持しており、座標点保持手段が、チャ
ート要素を配置する位置を決定する座標点を保持する。
配置処理手段が、この座標点にチャート要素の図形およ
び文字列を配置する。
In the chart graphic processing apparatus of the present invention having such features, the chart element holding means holds a character string and a figure surrounding the character string as one chart element in association with each other. Point holding means holds coordinate points for determining a position where the chart element is arranged.
The arrangement processing means arranges the chart element graphic and character string at the coordinate points.

【0011】形状規則保持手段が、チャート要素の図形
の形状についての複数の規則を保持しており、第1関係
規則記憶手段が、前記座標点と図形の形状の関係(図形
オフセット)を定義する第1関係規則を記憶しており、
第2関係規則記憶手段が、文字領域と図形の形状の関係
(文字領域オフセット)を定義する第2関係規則を記憶
しているので、文字列変更手段により、チャート要素保
持手段の中の任意のチャート要素の文字列を変更する
と、文字列領域決定手段が、変更された文字列がレイア
ウトされる領域を決定して、形状変更手段が、第2関係
規則に基づいて文字列を変更した文字列領域に関係して
図形の形状を変更する。
The shape rule holding means holds a plurality of rules for the shape of the chart element graphic, and the first relational rule storage means defines the relationship between the coordinate points and the shape of the graphic (graphic offset). Remembers the first relational rule,
Since the second relation rule storing means stores the second relation rule defining the relation between the character area and the shape of the figure (character area offset), the character string changing means allows any character in the chart element holding means to be stored. When the character string of the chart element is changed, the character string area determining means determines an area in which the changed character string is laid out, and the shape changing means changes the character string based on the second relation rule. Change the shape of the figure in relation to the area.

【0012】そして、要素選出手段により、文字列が変
更されたチャート要素を配置する座標点と前記第1の関
係規則とに基づいて依存関係にあるチャート要素を選び
出すので、その場合に、第1図形形状変更手段が、前記
形状規則保持手段に保持された規則と前記文字領域決定
手段が決定した領域に応じて、前記文字列が変更された
チャート要素の図形の形状を変更する。また、第2図形
形状変更手段が、前記形状規則保持手段に保持された規
則と前記第1図形形状変更手段が変更した形状に応じ
て、前記要素選出手段が選び出したすべてのチャート要
素を変更する。
Then, the element selecting means selects the chart element having a dependent relationship based on the coordinate point at which the chart element whose character string has been changed and the first relation rule, and in that case, the first element is selected. The graphic shape changing means changes the shape of the graphic of the chart element in which the character string has been changed according to the rule held by the shape rule holding means and the area determined by the character area determining means. Further, the second graphic shape changing means changes all chart elements selected by the element selecting means according to the rule held by the shape rule holding means and the shape changed by the first graphic shape changing means. .

【0013】これにより、チャート要素の中の任意の文
字列を変更すると、その文字列を囲む図形が調整される
だけでなく、そのチャート要素の図形と大きさに依存関
係がある他のチャート要素の図形も適切な大きさに変更
され、大きさが変更された図形に囲まれる文字列のレイ
アウトも適切に調整される。
Thus, when an arbitrary character string in the chart element is changed, not only the figure surrounding the character string is adjusted, but also other chart elements having a dependency on the figure and size of the chart element. Is also changed to an appropriate size, and the layout of a character string surrounded by the changed size is appropriately adjusted.

【0014】ここでのチャート図形処理装置には、更
に、文字列領域位置調整手段が設けられており、この文
字列領域位置調整手段が、前記第2図形形状変更手段に
より、チャート要素の図形の形状が変更された場合、前
記形状規則保持手段に保持された規則と前記第2図形形
状変更手段が変更した形状に応じて、前記要素選出手段
が選び出したチャート要素の文字列がレイアウトされる
領域の図形に対する位置を調整する。
The chart graphic processing apparatus here is further provided with character string region position adjusting means. The character string region position adjusting means is provided with the second graphic shape changing means to change the graphic of the chart element. When the shape is changed, an area in which the character string of the chart element selected by the element selecting means is laid out according to the rule held by the shape rule holding means and the shape changed by the second graphic shape changing means. Adjust the position with respect to the figure.

【0015】また、チャート図形処理装置においては、
更に、位置規則保持手段と要素位置調整手段とが備えら
れ、この位置規則保持手段には、チャート要素の図形の
位置に関する規則を保持しているので、前記第1図形形
状変更手段および第2図形形状変更手段により、チャー
ト要素の図形の形状が変更された場合、要素位置調整手
段が、前記位置規則保持手段に保持された規則に応じ
て、前記チャート要素保持手段中のチャート要素の図形
および文字列の位置を調整する。
In the chart graphic processing device,
Further, a position rule holding unit and an element position adjusting unit are provided, and the position rule holding unit holds a rule relating to the position of the graphic of the chart element, so that the first graphic shape changing unit and the second graphic When the shape of the chart element graphic is changed by the shape changing means, the element position adjusting means sets the chart element graphic and text in the chart element holding means in accordance with the rule held in the position rule holding means. Adjust column position.

【0016】このようにして、本発明のチャート図形処
理装置によれば、チャート要素の中の任意の文字列を変
更すると、その文字列を囲むチャート要素の図形が調整
されるだけでなく、そのチャート要素の図形と大きさに
依存関係がある他の図形も適切な大きさに変更され、大
きさが変更された図形に囲まれる文字列のレイアウトも
適切に調整される。また、図形の大きさの変更に応じ
て、図形と文字列の位置が適切に調整される。したがっ
て、ユーザが対話的操作により行うチャート要素の中の
文字列の編集に応じて、各々のチャート要素のレイアウ
トの整合をとることができる。なお、この場合に、ここ
での文字列の変更として、文字の追加削除とレイアウト
属性の変更とを同様に扱うことができる。
As described above, according to the chart graphic processing apparatus of the present invention, when an arbitrary character string in a chart element is changed, not only is the graphic of the chart element surrounding the character string adjusted, but also Other figures that are dependent on the figure and the size of the chart element are also changed to an appropriate size, and the layout of a character string surrounded by the changed size is also adjusted appropriately. Further, the positions of the graphic and the character string are appropriately adjusted according to the change in the size of the graphic. Therefore, the layout of each chart element can be matched according to the editing of the character string in the chart element performed by the user through the interactive operation. In this case, as the change of the character string, addition and deletion of a character and change of a layout attribute can be similarly treated.

【0017】[0017]

【発明の実施の形態】以下、本発明を実施する場合の形
態について、図面を参照して説明する。図1は、本発明
の一実施例にかかるチャート図形処理装置の全体の構成
を示すブロック図である。図1において、1は制御処理
部、2は要素生成指示部、3は要素配置指示部、4は要
素削除指示部、5は色指示部、6は座標データ保持部、
7は要素データ保持部、8は図形形状規則保持部、9は
文字列レイアウト規則保持部、10は座標位置規則保持
部、11は文字列入力部、12は規則選択部、13は座
標位置選択部、14は画面表示部、15はチャート印刷
部、16は文字列領域計算部、17は文字領域オフセッ
ト計算部、18は図形形状計算部、19は図形オフセッ
ト計算部、20はそれぞれの機能処理部を論理的に相互
に接続するバスである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the overall configuration of a chart graphic processing apparatus according to one embodiment of the present invention. In FIG. 1, 1 is a control processing unit, 2 is an element generation instruction unit, 3 is an element arrangement instruction unit, 4 is an element deletion instruction unit, 5 is a color instruction unit, 6 is a coordinate data holding unit,
7 is an element data holding unit, 8 is a figure shape rule holding unit, 9 is a character string layout rule holding unit, 10 is a coordinate position rule holding unit, 11 is a character string input unit, 12 is a rule selection unit, and 13 is a coordinate position selection. , 14 is a screen display unit, 15 is a chart printing unit, 16 is a character string region calculation unit, 17 is a character region offset calculation unit, 18 is a figure shape calculation unit, 19 is a figure offset calculation unit, and 20 is each functional processing. It is a bus that logically connects the units.

【0018】本実施例のチャート図形処理装置では、図
1に示すように、バス20により、制御処理部1、要素
生成指示部2、要素配置指示部3、要素削除指示部4、
色指示部5、座標データ保持部6、要素データ保持部
7、図形形状規則保持部8、文字列レイアウト規則保持
部9、座標位置規則保持部10、文字列入力部11、規
則選択部12、座標位置選択部13、画面表示部14、
チャート印刷部15、文字列領域計算部16、文字領域
オフセット計算部17、図形形状計算部18、および図
形オフセット計算部19のそれぞれの機能処理部が接続
されて、ここでのチャート要素に対する図形処理が行わ
れる。
In the chart graphic processing apparatus of this embodiment, as shown in FIG. 1, a control processing unit 1, an element generation instruction unit 2, an element arrangement instruction unit 3, an element deletion instruction unit 4,
A color instructing unit 5, a coordinate data holding unit 6, an element data holding unit 7, a figure shape rule holding unit 8, a character string layout rule holding unit 9, a coordinate position rule holding unit 10, a character string input unit 11, a rule selecting unit 12, A coordinate position selector 13, a screen display 14,
The respective function processing units of the chart printing unit 15, the character string region calculation unit 16, the character region offset calculation unit 17, the graphic shape calculation unit 18, and the graphic offset calculation unit 19 are connected, and the graphic processing for the chart element is performed here. Is performed.

【0019】処理制御部1は、ユーザからの指示を受け
付け、システム全体の起動と終了の処理を行と共に、各
々のデータ保持部および規則保持部に対するデータアク
セスを行い、チャート要素を配置する位置を決定する座
標点にチャート要素の図形を配置する処理を行って、チ
ャートを作成する処理を行い、また、チャート要素に対
する各種の図形形状の変更処理を行う。
The processing control unit 1 receives an instruction from a user, performs a process of starting and ending the entire system, performs data access to each data holding unit and rule holding unit, and determines a position where a chart element is arranged. The processing of arranging the graphic of the chart element at the coordinate point to be determined is performed, the processing of creating a chart is performed, and the processing of changing various graphic shapes for the chart element is performed.

【0020】その場合、各々の機能処理部(2〜19)
の制御を行って、機能処理部を用いて処理を行い、更に
全体の処理の流れを統括する処理を行う。この全体の処
理の流れを統括する処理では、ユーザからの指示を個別
に受け付ける処理を行う各々の機能処理部(要素生成指
示部2、要素配置指示部3、要素削除指示部4、色指示
部5、文字列入力部11、規則選択部12)に対して、
指示入力受け付け処理の時間を順次割り当て、処理時間
が割り当てられた各々機能処理部において、ユーザから
の入力があった場合に、その要求による処理が終了する
まで他の機能処理部への処理時間の割り当てを中断する
制御を行う。
In this case, each of the function processing units (2 to 19)
Is performed, processing is performed using the function processing unit, and processing for controlling the overall processing flow is performed. In the process for controlling the flow of the entire process, each of the function processing units (the element generation instruction unit 2, the element arrangement instruction unit 3, the element deletion instruction unit 4, the color instruction unit, and the like) which performs a process of individually receiving instructions from the user. 5, the character string input unit 11 and the rule selection unit 12)
The time of the instruction input receiving process is sequentially allocated, and in each of the function processing units to which the processing time is allocated, when there is an input from the user, the processing time to the other function processing unit until the processing by the request is completed. Control to suspend the assignment.

【0021】図2および図3は、実施例のチャート図形
処理装置の主要部の処理制御部による処理の流れを示す
フローチャートである。図2および図3を参照して、チ
ャート図形処理装置の全体の処理の制御の流れについて
説明する。ここでのチャート図形処理装置は、その処理
を開始すると、まず、ステップ21において、処理制御
部1で処理終了がユーザから指示されたか否かを判定す
る。処理終了がユーザから指示されると、この処理を終
了とする。処理終了が指示されていない場合、次に、ス
テップ22に進み、要素生成指示部2で要素の生成がユ
ーザから指示されたか否かを判定する。要素の生成がユ
ーザから指示された場合、ステップ23に進み、新たな
チャート要素のデータ生成を行い、作成したチャート要
素のデータを要素データの表(チャート要素保持テーブ
ル50;図5)に追加する処理を行い、次にステップ3
6に進む。そして、ステップ36において、処理の結果
を表示画面に反映させるため、表示画面の再描画処理を
行う。次に、ステップ21に戻り、ステップ21からの
処理を繰り返す。
FIGS. 2 and 3 are flow charts showing the flow of processing by the processing control unit of the main part of the chart graphic processing apparatus of the embodiment. With reference to FIG. 2 and FIG. 3, the flow of control of the overall processing of the chart graphic processing apparatus will be described. When the chart graphic processing apparatus starts the process, first, in step 21, the process control unit 1 determines whether or not the user has instructed to end the process. When the user instructs the end of the process, the process is terminated. If the end of the processing has not been instructed, the process proceeds to step 22, and it is determined whether or not the element generation instructing unit 2 has instructed the generation of the element by the user. When the generation of the element is instructed by the user, the process proceeds to step 23, the data of the new chart element is generated, and the data of the generated chart element is added to the element data table (chart element holding table 50; FIG. 5). Perform processing, then step 3
Proceed to 6. Then, in step 36, the display screen is redrawn to reflect the processing result on the display screen. Next, the process returns to step 21, and the processing from step 21 is repeated.

【0022】また、ステップ22の判定において、要素
の生成がユーザから指示されていない場合は、ステップ
24に進み、要素削除指示部4で要素の削除がユーザか
ら指示されたか否かを判定する。要素の削除がユーザか
ら指示された場合、次のステップ25において、指定さ
れたチャート要素のデータを要素データの表(チャート
要素保持テーブル50;図5)から削除する処理を行
う。次に、ステップ36に進み、処理の結果を表示画面
に反映させるため、表示画面の再描画の処理を行う。そ
して、ステップ21に戻り、ステップ21からの処理を
繰り返す。また、ステップ24の判定において、要素の
削除がユーザから指示されていない場合には、ステップ
26に進む。
If it is determined in step 22 that the user has not instructed the generation of the element, the process proceeds to step 24, and it is determined whether or not the user has instructed the element deletion instructing section 4 to delete the element. When the user instructs to delete the element, in the next step 25, a process of deleting the data of the specified chart element from the element data table (chart element holding table 50; FIG. 5) is performed. Next, the process proceeds to step 36, in which the display screen is redrawn to reflect the processing result on the display screen. Then, the process returns to step 21, and the processing from step 21 is repeated. If it is determined in step 24 that the user has not instructed to delete the element, the process proceeds to step 26.

【0023】ステップ26においては、要素配置指示部
3で要素の配置がユーザから指示されたか否かを判定す
る。配置の指示がなされた場合、ステップ27に進み、
要素データの表(チャート要素保持テーブル50;図
5)に対し、指定されたチャート要素の「配置座標」の
値を更新する。次にステップ36に進み、処理の結果を
表示画面に反映させるため、表示画面の再描画処理を行
う。そして、ステップ21に戻り、ステップ21からの
処理を繰り返す。また、ステップ26の判定処理におい
て、要素の配置の指示がなされていない場合には、次
に、ステップ28に進む。
In step 26, it is determined whether or not the element arrangement is instructed by the element arrangement instruction section 3 from the user. When the placement instruction is given, the process proceeds to step 27,
The value of the “arrangement coordinates” of the specified chart element is updated in the element data table (chart element holding table 50; FIG. 5). Next, the process proceeds to step 36, where the display screen is redrawn to reflect the processing result on the display screen. Then, the process returns to step 21, and the processing from step 21 is repeated. Further, in the determination processing in step 26, when the instruction of the arrangement of the elements is not issued, the process proceeds to step 28.

【0024】ステップ28においては、色指示部5で要
素の色の変更がユーザから指示されたか否かを判定す
る。要素の色の変更がユーザから指示された場合、次の
ステップ29において、要素データの表(チャート要素
保持テーブル50;図5)に対して、指定されたチャー
ト要素の「図形内部色」,「図形輪郭色」,「文字色」
の値を更新する。次に、ステップ36に進み、処理の結
果を表示画面に反映させるため、表示画面の再描画処理
を行う。そして、ステップ21に戻り、ステップ21か
らの処理を繰り返す。また、ステップ28の判定処理に
おいて、要素の色の変更の指示がなされていない場合に
は、次に、ステップ30に進む。
In step 28, it is determined whether or not the user has instructed the color instruction section 5 to change the color of the element. If the user has instructed to change the color of the element, in the next step 29, the "chart inside color", " Figure outline color ”,“ Font color ”
Update the value of. Next, the process proceeds to step 36, where the display screen is redrawn to reflect the processing result on the display screen. Then, the process returns to step 21, and the processing from step 21 is repeated. If the instruction to change the color of the element has not been issued in the determination processing of step 28, the process proceeds to step 30.

【0025】ステップ30においては、規則選択部12
でユーザが規則の適用を変更したか否かを判定する。ユ
ーザが規則の適用を変更した場合、次のステップ31に
おいて、指定された規則の「適用」の値(適用フラグ)
およびこれと排他性を持つ規則の「適用」の値(適用フ
ラグ)を更新してから、ステップ32に進む。また、ユ
ーザが規則の適用を変更しない場合には、そのままステ
ップ32に進む。ステップ32においては、文字入力部
11で、ユーザが文字列を変更したか否かを判定する。
ユーザが文字列を変更した場合、次のステップ33にお
いて、文字列の変更に伴うチャート要素の図形と文字列
のレイアウトの変更処理を行い、次に、ステップ36に
進む。そして、ステップ36において、処理の結果を表
示画面に反映させるため、表示画面の再描画処理を行
う。そして、ステップ21に戻り、ステップ21からの
処理を繰り返す。
In step 30, the rule selecting section 12
To determine whether the user has changed the application of the rule. If the user changes the application of the rule, in the next step 31, the value of the "application" of the specified rule (application flag)
Then, the value of the “application” (application flag) of the rule having the exclusiveness with this is updated, and the process proceeds to step 32. If the user does not change the application of the rule, the process directly proceeds to step 32. In step 32, the character input unit 11 determines whether the user has changed the character string.
When the user has changed the character string, in the next step 33, a process of changing the graphic of the chart element and the layout of the character string in accordance with the change of the character string is performed, and then the process proceeds to step 36. Then, in step 36, the display screen is redrawn to reflect the processing result on the display screen. Then, the process returns to step 21, and the processing from step 21 is repeated.

【0026】また、ステップ32の判定において、ユー
ザが文字列を変更していない場合には、次にステップ3
4に進み、ステップ34において、チャート印刷部15
でチャートの印刷がユーザから指示されたか否かを判定
し、チャートの印刷指示がなされている場合には、次の
ステップ35に進み、チャートの印刷処理を行う。そし
て、ステップ21に戻り、ステップ21からの処理を繰
り返す。また、ステップ34において、チャートの印刷
指示がなされていると判定できない場合は、そのまま、
ステップ21に戻り、ステップ21からの処理を繰り返
す。
If it is determined in step 32 that the user has not changed the character string, then in step 3
Then, in step 34, the chart printing unit 15
Then, it is determined whether or not printing of a chart has been instructed by the user, and if printing of a chart has been instructed, the process proceeds to the next step 35, where printing processing of the chart is performed. Then, the process returns to step 21, and the processing from step 21 is repeated. If it is not determined in step 34 that a chart printing instruction has been given,
Returning to step 21, the processing from step 21 is repeated.

【0027】このようにして、処理制御部1による処理
の制御では、ユーザからの指示を受け付け、各々の機能
処理部(2〜19)の制御を行って、処理全体の流れを
統括する処理を行う。この場合に各々処理ステップにお
いて各機能処理部によりユーザからの指示を個別に受け
付けて、そのぞれの機能処理部による処理を制御するこ
とを繰り返し行う。
As described above, in the control of the processing by the processing control unit 1, an instruction from the user is received, and the control of each of the function processing units (2 to 19) is performed to execute the processing for controlling the overall flow of the processing. Do. In this case, in each processing step, an instruction from the user is individually received by each function processing unit, and control of the processing by each function processing unit is repeatedly performed.

【0028】次に、各々の機能処理部(2〜19)にお
ける個々の処理について具体的に説明する。なお、ここ
での説明の理解を容易とするため、一部については、箇
条書スタイルで各々の機能処理部の動作およびその特徴
について説明する。
Next, individual processing in each of the function processing units (2 to 19) will be specifically described. In order to facilitate the understanding of the description, the operation of each function processing unit and the features thereof will be partially described in a bullet style.

【0029】(座標データ保持部6)座標データ保持部
6は、チャート要素が配置される2次元平面上の座標点
のデータを保持する。ここでの座標点のデータは、2次
元平面上の座標点を特定する座標IDと、その座標の2
次元平面上での位置を示す値(属性値)とで構成され
る。座標IDは、座標点の位置を一意に識別する識別子
である。具体的には、例えば{1,1}のように、2元
の正数値の組で表わす。
(Coordinate data holding unit 6) The coordinate data holding unit 6 holds data of coordinate points on a two-dimensional plane on which the chart elements are arranged. Here, the coordinate point data includes a coordinate ID for specifying a coordinate point on a two-dimensional plane, and a coordinate ID of the coordinate ID.
And a value (attribute value) indicating a position on the dimensional plane. The coordinate ID is an identifier for uniquely identifying the position of the coordinate point. Specifically, it is represented by a set of binary positive values, for example, {1,1}.

【0030】位置を示す値(属性値)は、他の座標点を
測定対象として、その対象の座標点に対する方位と距離
を表す。測定対象となる座標点は一点とする。この測定
対象の座標点は座標IDで表し、方位を示す値は測定対
象の座標点が自身からみてどの方向にあるかを示す値と
する。すなわち、この方位を示す値は、画面表示あるい
は印刷時に上になる方向を0度とし、時計回りの角度を
示している。距離を示す値は、ここでのチャート要素が
印刷される文書画像の印刷の単位である「ポイント」を
単位とした非負正数値を示している。
The value indicating the position (attribute value) represents the azimuth and the distance from another coordinate point as a measurement target. The coordinate point to be measured is one point. The coordinate point of the measurement target is represented by a coordinate ID, and the value indicating the azimuth is a value indicating in which direction the coordinate point of the measurement target is viewed from itself. In other words, the value indicating this azimuth indicates a clockwise angle, with the direction going up during screen display or printing being 0 degrees. The value indicating the distance indicates a non-negative positive value in units of "point" which is a unit of printing of the document image on which the chart element is printed.

【0031】図4は、位置を示す値の概念を説明する図
である。具体例で説明すると、図4に示すように、座標
IDが{1,2}である座標点41については、座標I
Dが{1,1}である座標点40を測定対象とし、その
位置を示す値41aとして、『自己位置の座標ID:
{1,2},観測対象の座標ID:{1,1},方位:
135,距離:102』のデータが保持される。
FIG. 4 is a diagram for explaining the concept of a value indicating a position. Describing in a specific example, as shown in FIG. 4, for a coordinate point 41 having a coordinate ID of {1, 2}, a coordinate I
A coordinate point 40 in which D is {1, 1} is set as a measurement target, and a value 41a indicating the position is set as “coordinate ID of self position:
{1, 2}, coordinate ID of observation target: {1, 1}, azimuth:
135, distance: 102 ”is held.

【0032】座標IDが{2,1}である座標点42に
ついては、座標点41と同様に、座標IDが{1,1}
である座標点40を測定対象とし、その位置を示す値4
2aとして、『自己位置の座標ID:{2,1},観測
対象の座標ID:{1,1},方位:270,距離:1
44』のデータが保持される。また、座標IDが{2,
2}である座標点43については、座標IDが{2,
1}の座標点42を観測対象として、その位置を示す値
(属性値)43aとして『自己位置の座標ID:{2,
2},観測対象の座標ID:{2,1},方位:18
0,距離:72』のデータが保持される。
As for the coordinate point 42 whose coordinate ID is {2, 1}, similarly to the coordinate point 41, the coordinate ID is {1, 1}.
Is a coordinate point 40, which is a measurement target, and a value 4 indicating the position thereof
2a, “Coordinate ID of self-position: {2, 1}, coordinate ID of observation target: {1, 1}, azimuth: 270, distance: 1
44 "is held. Also, if the coordinate ID is $ 2,
For the coordinate point 43 that is 2}, the coordinate ID is {2,
The coordinate point 42 of 1} is set as an observation target, and a value (attribute value) 43a indicating the position is set as “coordinate ID of self-position:
2}, coordinate ID of observation target: {2, 1}, direction: 18
0, distance: 72 ”is held.

【0033】なお、本実施例のチャート図形処理装置で
は、説明が複雑となるのを避けるため、配置可能な座標
点の数は固定とし、後述する図10に示すように、全部
で9個とするが、この座標点の数を増やすこと、あるい
はユーザの指示によって可変にすることができることは
言うまでもない。
In the chart graphic processing apparatus of this embodiment, in order to avoid complicating the description, the number of coordinate points which can be arranged is fixed, and as shown in FIG. However, it goes without saying that the number of these coordinate points can be increased or can be made variable by a user's instruction.

【0034】(要素データ保持部7)要素データ保持部
7は、チャート要素を構成する各々のデータを保持す
る。ここでのチャート要素のデータは表形式で保持す
る。図5は、チャート要素保持テーブルのデータ構造を
説明する図である。図5に示すように、チャート要素保
持テーブル50では、1つの行(レコード)が1つのチ
ャート要素を示すデータとなる。チャート要素保持テー
ブル50は、要素IDフィールド50a,配置座標フィ
ールド50b,図形フィールド50c,図形オフセット
フィールド50d,図形内部色フィールド50e,図形
輪郭色フィールド50f,文字列フィールド50g,文
字列領域フィールド50h,文字列領域オフセットフィ
ールド50iおよび文字色フィールド50jから構成さ
れており、各々のフィールドの項目データとして、「要
素ID」,「配置座標」,「図形(図形形状)」,「図
形オフセット」,「図形内部色」,「図形輪郭色」,
「文字列」,「文字列領域」,「文字列領域オフセッ
ト」,および「文字色」の10個の項目のデータの値が
格納されている。これらのデータにより1つのチャート
要素が構成される。
(Element data holding unit 7) The element data holding unit 7 holds each data constituting the chart element. The data of the chart element here is held in a table format. FIG. 5 is a diagram illustrating the data structure of the chart element holding table. As shown in FIG. 5, in the chart element holding table 50, one row (record) is data indicating one chart element. The chart element holding table 50 includes an element ID field 50a, an arrangement coordinate field 50b, a graphic field 50c, a graphic offset field 50d, a graphic internal color field 50e, a graphic outline color field 50f, a character string field 50g, a character string area field 50h, and a character. It consists of a column area offset field 50i and a character color field 50j. Item data of each field is "element ID", "arrangement coordinates", "graphic (graphic shape)", "graphic offset", "graphic inside". Color ”,“ shape outline color ”,
The data values of ten items of “character string”, “character string area”, “character string area offset”, and “character color” are stored. These data constitute one chart element.

【0035】要素IDフィールド50aに格納する「要
素ID」のデータは、チャート要素を一意に識別するデ
ータである。後述するように、各処理機能部が送る処理
命令の中で、処理対象となるチャート要素を特定するた
めに用いられる。この実施例では、「要素ID」の値と
して、重複のない正数値が用いられる。
The data of "element ID" stored in the element ID field 50a is data for uniquely identifying a chart element. As will be described later, it is used to specify a chart element to be processed in a processing command sent by each processing function unit. In this embodiment, a non-overlapping positive numerical value is used as the value of the “element ID”.

【0036】配置座標フィールド50bに格納する「配
置座標」のデータは、当該要素IDで特定されるチャー
ト要素がどの座標点に配置されるかを示す座標点のデー
タである。「配置座標」の値としては、座標データ保持
部6に保持されている座標点の座標ID(図4)の値が
用いられる。
The data of "arrangement coordinates" stored in the arrangement coordinate field 50b is coordinate point data indicating at which coordinate point the chart element specified by the element ID is arranged. As the value of “arranged coordinates”, the value of the coordinate ID (FIG. 4) of the coordinate point held in the coordinate data holding unit 6 is used.

【0037】図形フィールド50cに格納する「図形
(図形形状)」のデータは、当該要素IDで特定される
チャート要素の図形形状を示すデータである。この実施
例のチャート要素では、図形形状として矩形のみを扱う
ので、その値としては、矩形の横の長さを第1元とし、
縦の長さを第2元とした1組のデータで表す。例えば、
図形形状{200,100}は、横の長さが200ポイ
ントであり、縦の長さが100ポイントである矩形形状
を表す。ここでの数値の単位はポイントとする。
The "graphic (graphic shape)" data stored in the graphic field 50c is data indicating the graphic shape of the chart element specified by the element ID. In the chart element of this embodiment, since only a rectangle is handled as a figure shape, the horizontal length of the rectangle is used as a first element,
It is represented by a set of data whose vertical length is a second element. For example,
The graphic shape {200, 100} represents a rectangular shape having a horizontal length of 200 points and a vertical length of 100 points. The unit of the numerical value here is a point.

【0038】図形オフセットフィールド50dに格納す
る「図形オフセット」のデータは、図形と座標点との位
置関係を示すデータである。これにより、当該チャート
要素の図形を配置する座標点の位置が、図形の基準点か
らどれだけ離れているかを示す。この実施例のチャート
要素では、矩形の左上隅を図形の基準点とし、この基準
点と座標点の間の位置関係を、横と縦の距離の組をその
値としてとる(図5)。例えば、この「図形オフセッ
ト」の値が、{−100,50}である場合、第1元の
横方向の距離が−100ポイントであり、第2元の縦方
向の距離の50ポイントとなっていることを示してい
る。なお、前述の場合と同様に、ここでの数値の単位は
ポイントとし、第1元は右(方位90度)を正の向き、
第2元は上(方位0度)を正の向きとする。
The "graphic offset" data stored in the graphic offset field 50d is data indicating the positional relationship between the graphic and the coordinate point. This indicates how far the position of the coordinate point at which the graphic of the chart element is arranged is away from the reference point of the graphic. In the chart element of this embodiment, the upper left corner of the rectangle is set as the reference point of the figure, and the positional relationship between the reference point and the coordinate point is set as a set of horizontal and vertical distances (FIG. 5). For example, when the value of the "graphic offset" is {-100, 50}, the horizontal distance of the first element is -100 points, and the vertical distance of the second element is 50 points. It indicates that Note that, as in the case described above, the unit of the numerical value here is a point, and the first element has a positive direction when the right (azimuth 90 degrees) is
In the second element, the upper direction (azimuth 0 degree) is defined as a positive direction.

【0039】図形内部色フィールド50eに格納する
「図形内部色」のデータは、画面表示あるいは印刷時の
チャート要素の図形の内部領域の色を示すデータであ
る。この色を示す値は、{0,100,255}のよう
にRGB値(各色256階調)で表現する。
The data of "graphic internal color" stored in the graphic internal color field 50e is data indicating the color of the internal area of the graphic of the chart element at the time of screen display or printing. The value indicating this color is represented by RGB values (256 gradations for each color) such as {0, 100, 255}.

【0040】図形輪郭色フィールド50fに格納する
「図形輪郭色」のデータは、画面表示あるいは印刷時の
チャート要素の図形の輪郭線の色を示すデータである。
この色の値は、「図形内部色」のデータと同様のデータ
形式のRGB値(各色256階調)で表現する値であ
る。
The data of "graphic outline color" stored in the graphic outline color field 50f is data indicating the color of the outline of the graphic of the chart element at the time of screen display or printing.
This color value is a value expressed by RGB values (256 gradations for each color) in the same data format as the data of “internal color of figure”.

【0041】文字列フィールド50gに格納する「文字
列」のデータは、チャート要素の文字列を示すデータで
ある。つまり、チャート要素の図形の中に入れられる文
字列データであり、この値は、文字コードが連続したも
のである。
The "character string" data stored in the character string field 50g is data indicating the character string of the chart element. That is, it is character string data to be put in the graphic of the chart element, and this value is a sequence of character codes.

【0042】文字列領域フィールド50hに格納する
「文字列領域」のデータは、このチャート要素の文字列
をレイアウトした場合に占める矩形領域を示すデータで
ある。その値は、「図形」のデータと同様のデータ形式
の値であり、その値としては、矩形の横の長さを第1元
とし、縦の長さを第2元とした1組のデータで表す。例
えば、文字列領域{30,50}は、横の長さが30ポ
イントであり、縦の長さが50ポイントである矩形形状
の領域を表す。ここでの数値の単位はポイントとする。
The data of the "character string area" stored in the character string area field 50h is data indicating a rectangular area occupied when the character string of the chart element is laid out. The value is a value in the same data format as the data of the “figure”, and the value is a set of data in which the horizontal length of the rectangle is the first element and the vertical length is the second element. Expressed by For example, the character string area {30, 50} represents a rectangular area having a horizontal length of 30 points and a vertical length of 50 points. The unit of the numerical value here is a point.

【0043】文字列領域オフセットフィールド50iに
格納する「文字列領域オフセット」のデータは、文字列
領域と座標点との位置関係を示すデータである。このデ
ータにより、文字列領域の基準点から、チャート要素の
配置のための基準となる座標点がどれだけ離れているか
が示される。この値は「図形オフセット」のデータと同
様に、文字列領域の左上隅点と座標点との距離を示す値
である。
The "character string area offset" data stored in the character string area offset field 50i is data indicating the positional relationship between the character string area and the coordinate points. This data indicates how far a coordinate point serving as a reference for arranging chart elements is from the reference point of the character string area. This value is a value indicating the distance between the upper left corner point of the character string area and the coordinate point, similarly to the data of “graphic offset”.

【0044】また、文字色フィールドに格納する「文字
色」のデータは、画面表示あるいは印刷時の文字の色を
示すデータである。その色の値は、「図形内部色」のデ
ータと同様のデータ形式のRGB値(各色256階調)
で表現する値である。
The "character color" data stored in the character color field is data indicating the color of a character during screen display or printing. The color value is an RGB value (256 gradations for each color) in the same data format as the data of the “graphic internal color”.
Is a value represented by

【0045】図6は、座標点に対するチャート要素の図
形および文字列領域の配置の関係を説明する図である。
図6に示すように、図形と文字列とが組合された1つの
チャート要素においては、その座標点60、図形61、
文字列領域62の位置関係に関して、それぞれに図形横
オフセット63,図形縦オフセット64,文字列領域横
オフセット65および文字列領域縦オフセット66が設
定されてる。これらの位置関係のデータを様々に変える
ことによって、チャート要素の図形内の文字列の配置を
さまざまに変えることができる。ここでは、座標点に対
して図形の配置は上下左右共に中央揃えとなっている。
これに対して、図6(a)に示す配置関係では、文字列
領域が上下左右共に同じく中央揃えになっている。図6
(b)に示す配置関係では、文字列領域が、上下は中央
揃えになっており、左右は左揃えになっている。また、
図6(c)に示す配置関係では、文字列領域が、上下は
上揃えになっており、左右は左揃えになっている。
FIG. 6 is a diagram for explaining the relationship between the arrangement of the chart element graphic and the character string area with respect to the coordinate points.
As shown in FIG. 6, in one chart element in which a figure and a character string are combined, the coordinate point 60, the figure 61,
Regarding the positional relationship of the character string area 62, a figure horizontal offset 63, a figure vertical offset 64, a character string area horizontal offset 65, and a character string area vertical offset 66 are set respectively. By variously changing the data of these positional relationships, the arrangement of the character strings in the graphic of the chart element can be variously changed. In this case, the arrangement of the figures with respect to the coordinate points is aligned at the center in both the upper, lower, left and right directions.
On the other hand, in the arrangement relationship shown in FIG. 6A, the character string regions are also centered in the upper, lower, left, and right directions. FIG.
In the arrangement relationship shown in (b), the character string area is vertically centered and left and right is left aligned. Also,
In the arrangement relationship shown in FIG. 6C, the character string area is vertically aligned on the top and left and right on the left.

【0046】(要素生成指示部2)要素生成指示部2
は、新たなチャート要素の生成の指示を受け付けて、チ
ャート要素生成の命令を発行する。つまり、ユーザは、
この要素生成指示部2による対話的入力操作の処理機能
に従って、まず、生成するチャート要素を配置する座標
点を選択し、チャート要素の生成の指示する。要素生成
指示部2からは、要素生成命令を発行するので、これに
より、制御処理部1では、この命令に従ってチャート要
素の生成の処理を行う。すなわち、要素データ保持部7
の中のチャート要素保持テーブル(50:図5)に、新
たなチャート要素のための新たな行(レコードデータ)
を追加し、次のように値を設定する。 「要素ID」:他の要素データ保持部中のデータと重複
しない正数値。 「配置座標」:生成指示時に選択された座標点の座標I
D。 「図形」:{100,100} 「図形オフセット」:{−50,50} 「図形内部色」:{255,255,255} 「図形輪郭色」:{0,0,0} 「文字色」:{0,0,0} 「文字列」:空欄 「文字列領域」:空欄 「文字列領域オフセット」:空欄 とする。なお、このとき、チャート要素の図形は生成す
るが、ここに入れる文字列のための「文字列」,「文字
列領域」および「文字列領域オフセット」は空欄とす
る。この図形内部色のRGB値{255,255,25
5}は白色の値であり、図形輪郭色および文字色のRG
B値{0,0,0}は黒色の値である。
(Element generation instructing unit 2) Element generation instructing unit 2
Receives an instruction to generate a new chart element and issues an instruction to generate a chart element. In other words, the user
According to the processing function of the interactive input operation by the element generation instructing unit 2, first, a coordinate point at which the chart element to be generated is arranged is selected, and the generation of the chart element is instructed. Since the element generation instruction unit 2 issues an element generation instruction, the control processing unit 1 performs chart element generation processing in accordance with the instruction. That is, the element data holding unit 7
New row (record data) for the new chart element in the chart element holding table (50: FIG. 5)
And set the value as follows: “Element ID”: a positive numerical value that does not overlap with data in other element data holding units. “Placement coordinates”: coordinates I of the coordinate point selected at the time of generation instruction
D. "Figure": {100,100} "Figure offset": {-50, 50} "Figure internal color": {255, 255, 255} "Figure outline color": {0, 0, 0} "Text color" : {0,0,0} "Character string": Blank "Character string area": Blank "Character string area offset": Blank. At this time, the graphic of the chart element is generated, but the “character string”, “character string area”, and “character string area offset” for the character string to be entered are blank. RGB value of this figure internal color 図 形 255, 255, 25
5} is a white value, which is the RG of the figure outline color and the character color.
The B value {0,0,0} is a black value.

【0047】(要素配置指示部3)要素配置指示部3
は、チャート要素の配置変更の指示を受け付けて、要素
配置変更の処理命令を発行する。ユーザは、この要素配
置指示部3による対話的入力操作の処理機能に従って、
任意のチャート要素を選択し、次に、変更先の配置する
座標点を選択し、配置変更命令を発行する。制御処理部
1では、この命令に従って選択されたチャート要素の
「配置座標」の値を、選択された座標点の座標IDに更
新する処理を行う。
(Element arrangement instructing unit 3) Element arrangement instructing unit 3
Receives an instruction to change the arrangement of chart elements, and issues a processing instruction to change the arrangement of elements. According to the processing function of the interactive input operation by the element arrangement instructing unit 3, the user
An arbitrary chart element is selected, then a coordinate point to be changed is selected, and a layout change command is issued. The control processing unit 1 performs a process of updating the value of “arrangement coordinates” of the chart element selected according to the command to the coordinate ID of the selected coordinate point.

【0048】(要素削除指示部4)要素削除指示部4
は、チャート要素の削除の指示を受け付けて、要素デー
タ保持部7のチャート要素保持テーブル(50:図5)
からチャート要素を削除する命令を発行する。つまり、
ユーザは、この要素削除指示部による対話的入力操作の
処理機能に従って、任意のチャート要素を選択し、チャ
ート要素の削除を命令する。この命令に従って、制御処
理部1では、要素データ保持部7のチャート要素保持テ
ーブルから、選択されたチャート要素にあたる行を削除
する。
(Element deletion instructing unit 4) Element deletion instructing unit 4
Receives the instruction to delete the chart element, and stores the chart element holding table (50: FIG. 5) in the element data holding unit 7.
Issue an instruction to delete the chart element from. That is,
The user selects an arbitrary chart element and instructs the deletion of the chart element according to the processing function of the interactive input operation by the element deletion instruction unit. In accordance with this instruction, the control processing unit 1 deletes a row corresponding to the selected chart element from the chart element holding table of the element data holding unit 7.

【0049】(色指示部5)色指示部5は、チャート要
素の図形の色および文字の色の変更の指示を受け付け
て、図形の色および文字の色の変更処理の命令を発行す
る。ユーザは、この色指示部5による対話的入力操作の
処理機能に従って、任意のチャート要素を選択し、この
チャート要素の図形の内部色、輪郭色、および文字色の
RGB値を決定し、色の変更を命令する。制御処理部1
では、この色データの値の変更命令に従って、選択され
たチャート要素の「図形内部色」,「図形輪郭色」およ
び「文字色」の値を、それぞれユーザの決定した値に更
新する。
(Color Instructing Unit 5) The color instructing unit 5 receives an instruction to change the color of the graphic of the chart element and the color of the character, and issues an instruction to change the color of the graphic and the character. The user selects an arbitrary chart element in accordance with the processing function of the interactive input operation by the color instruction unit 5, determines the RGB values of the internal color, outline color, and character color of the graphic of the chart element, and Order change. Control processing unit 1
Then, in accordance with the instruction to change the value of the color data, the values of the “graphic internal color”, “graphic outline color” and “character color” of the selected chart element are updated to the values determined by the user.

【0050】(文字列入力部11)文字列入力部11
は、任意のチャート要素の文字列の追加/削除を行う入
力処理部である。ユーザは、文字列入力部11による対
話的入力操作の処理機能に従って、任意のチャート要素
を選択し、その中に記入する文字列を入力する。制御処
理部1では、この文字列入力部11から入力された文字
列に従って、選択されたチャート要素の「文字列」の値
を更新する。
(Character string input unit 11) Character string input unit 11
Is an input processing unit for adding / deleting a character string of an arbitrary chart element. The user selects an arbitrary chart element according to the processing function of the interactive input operation by the character string input unit 11 and inputs a character string to be entered therein. The control processing unit 1 updates the value of the “character string” of the selected chart element according to the character string input from the character string input unit 11.

【0051】(図形形状規則保持部8)図形形状規則保
持部8は、チャート要素の図形形状の変更処理を行う場
合に適用される規則を保持している。この図形形状規則
保持部8に保持される規則は、文字列を囲む図形である
矩形の辺の長さの設定に関する規則と、前記矩形の座標
点との位置関係に関する規則である。図7は、図形形状
規則保持部8が保持する規則のデータ例を示す図であ
る。図形形状規則保持部8においては、図7に示すよう
に、各規則のデータを表形式のデータ構造で保持する。
つまり、この図形形状規則テーブル70は、規則IDフ
ィールド71,規則説明フィールド72,規則記述フィ
ールド73,適用フラグフィールド74,排他開始フラ
グフィールド75,および排他終了フラグフィールド7
6から構成されており、各々のフィールドの項目のデー
タとして、「規則ID」,「規則の説明」,「規則の記
述」,「適用フラグ」,「排他開始フラグ」,「排他終
了フラグ」の5項目のデータが保持されて1つの規則を
構成している。この規則データの中の「適用フラグ」の
値のみが、編集中に値を変更できる。他の項目のデータ
はその値が固定値となっている。
(Graphic Shape Rule Holding Unit 8) The graphic shape rule holding unit 8 holds a rule applied when the graphic shape of the chart element is changed. The rules held in the figure shape rule holding unit 8 are rules regarding the setting of the length of the side of the rectangle which is a figure surrounding the character string, and rules regarding the positional relationship with the coordinate points of the rectangle. FIG. 7 is a diagram illustrating an example of data of rules held by the figure shape rule holding unit 8. As shown in FIG. 7, the figure shape rule holding unit 8 holds the data of each rule in a tabular data structure.
That is, the figure shape rule table 70 includes a rule ID field 71, a rule description field 72, a rule description field 73, an application flag field 74, an exclusive start flag field 75, and an exclusive end flag field 7.
6, the data of the items of each field include “rule ID”, “rule description”, “rule description”, “application flag”, “exclusion start flag”, and “exclusion end flag”. One rule is constituted by holding five items of data. Only the value of the "application flag" in the rule data can change the value during editing. The data of other items have fixed values.

【0052】規則IDフィールド71に保持されている
「規則ID」は、図形形状規則保持部8が保持する複数
の規則を一意に識別するための識別子のデータである。
その値として、ここでは英文字“F”に正数を続けた一
意の値をとる。以下の説明では、例えば、「規則F1
1」のように、規則IDが“Fxx”である規則を「規
則Fxx」と呼ぶ。
The “rule ID” held in the rule ID field 71 is identifier data for uniquely identifying a plurality of rules held by the figure shape rule holding unit 8.
As the value, a unique value in which the English character "F" is followed by a positive number is taken here. In the following description, for example, “Rule F1
A rule whose rule ID is “Fxx”, such as “1”, is called a “rule Fxx”.

【0053】規則説明フィールド72に保持されている
「規則の説明」の項目データは、その規則がどのような
ものかをユーザに説明する文章(テキスト)をその値と
してとる。この項目データは、後述するように、規則選
択部12において、ユーザが現在作成中のチャートに実
際に適用する規則を選択する際に、そのガイドとして画
面に表示されるために用いられる。
The item data of "rule description" held in the rule description field 72 takes as its value a text (text) explaining to the user what the rule is. As will be described later, this item data is used to be displayed on the screen as a guide when the user selects a rule to be actually applied to the chart currently being created in the rule selecting unit 12.

【0054】規則記述フィールド73に保持されている
「規則の記述」の項目データは、その規則の実行手続を
記述したスクリプトデータ(プログラム)であり、後述
するように、図形形状計算部18および図形オフセット
計算部19が解釈可能なプログラムを値としてとる。当
然ながら、ある規則の「規則の記述」に規定されたプロ
グラムの実行結果は、その規則を説明する文章である
「規則の説明」の意味内容と一致するものになる。
The item data of “rule description” held in the rule description field 73 is script data (program) describing the execution procedure of the rule. A program that can be interpreted by the offset calculator 19 is used as a value. As a matter of course, the execution result of the program specified in the "rule description" of a certain rule matches the meaning of "rule description" which is a text explaining the rule.

【0055】適用フラグフィールド74に保持される
「適用フラグ」は“0”か“1”の値をとり、値が
“1”の時は、その規則が作成中のチャート要素の図形
形状の変更を行う際に実際に適用されることを示し、値
が“0”の時は適用されないことを示す。この値の設定
は、後述するように、規則選択部12による対話的入力
操作の処理機能に従い、ユーザの選択に連動して行われ
る。また、後述するように、図形形状計算部18および
図形オフセット計算部19が処理を行う際、「適用フラ
グ」の値が“1”の規則だけが用いられる。なお、シス
テムの起動時に「適用フラグ」の値はすべて“0”に初
期化さる。
The "application flag" held in the application flag field 74 takes a value of "0" or "1". When the value is "1", the rule changes the graphic shape of the chart element being created. Is performed, and when the value is "0", it is not applied. The setting of this value is performed in accordance with the user's selection in accordance with the processing function of the interactive input operation by the rule selecting unit 12, as described later. As will be described later, when the graphic shape calculation unit 18 and the graphic offset calculation unit 19 perform processing, only the rule in which the value of the “application flag” is “1” is used. When the system is started, all the values of the “application flag” are initialized to “0”.

【0056】また、排他開始フラグフィールド75およ
び排他終了フラグフィールドに保持されている「排他開
始フラグ」および「排他終了フラグ」は、これらの値が
組で用いられ、複数の規則の間で互いに規則に排他性が
あるものを示す。「排他開始フラグ」および「排他終了
フラグ」の値は“0”または“1”の値をとる。つま
り、「排他開始フラグ」が“1”である規則から「排他
終了フラグ」が“1”である規則までの間の複数の規則
は、互いに排他性があることを示している。すなわち、
ここでの図形形状規則テーブル70の各行(規則)が連
続する間の規則においては、「適用フラグ」の値が
“1”をとれるのは1つしかないことを意味している。
The “exclusive start flag” and “exclusive end flag” held in the exclusive start flag field 75 and the exclusive end flag field use these values as a set, and a plurality of rules are mutually exclusive. Shows what is exclusive. The value of the “exclusive start flag” and “exclusive end flag” takes a value of “0” or “1”. That is, a plurality of rules from the rule in which the “exclusive start flag” is “1” to the rule in which the “exclusive end flag” is “1” are mutually exclusive. That is,
In the rule during which each row (rule) of the graphic shape rule table 70 is continuous, this means that only one value of the “application flag” can take “1”.

【0057】具体例で説明する。図7に示す規則におい
て、規則F1から規則F3まで、規則F4から規則F8
まで、規則F10から規則F13までの規則が、それぞ
れの規則の間で排他性を持つ規則であることを示してい
る。そして、ここでは、規則F1から規則F3までの間
の3つの規則のうち、規則F1だけが「適用フラグ」の
値が“1”となっているので、この規則F1から規則F
3までの3つの規則のうち、規則F1が適用された場
合、他の2つの規則の規則F2および規則F3は適用さ
れないことを意味する。後述するように、規則選択部1
2による対話的入力操作の処理機能に従って「適用フラ
グ」の値の設定を行う際に、「排他開始フラグ」および
「排他終了フラグ」の値が利用され、規則の排他性が維
持されるように適切な設定が行われる。
A specific example will be described. In the rules shown in FIG. 7, rules F1 to F3, rules F4 to F8
This indicates that the rules from rule F10 to rule F13 have exclusiveness among the rules. Here, among the three rules from the rules F1 to F3, only the rule F1 has a value of “1” for the “application flag”.
When the rule F1 is applied among the three rules up to 3, it means that the rules F2 and F3 of the other two rules are not applied. As described later, the rule selection unit 1
When setting the value of the “apply flag” according to the processing function of the interactive input operation by No. 2, the values of the “exclusive start flag” and “exclusive end flag” are used, so that the exclusivity of the rule is maintained. Settings are made.

【0058】(文字列レイアウト規則保持部9)文字列
レイアウト規則保持部9は、チャート要素の文字列を画
面に表示する際あるいは印刷する際のレイアウトに関す
る規則を保持する。すなわち、この文字列レイアウト規
則保持部9には、文字列のフォントの設定に関する規則
と、文字列の文字組に関する規則が保持される。
(Character string layout rule holding unit 9) The character string layout rule holding unit 9 holds rules regarding layout when displaying or printing a character string of a chart element on a screen. In other words, the character string layout rule holding unit 9 holds a rule on setting of a font of a character string and a rule on a character set of the character string.

【0059】図8は、文字列レイアウト規則保持部8が
保持する規則のデータ例を示す図である。文字列レイア
ウト規則保持部9が保持する各規則のデータ構造は、前
述の図形形状規則保持部8と同様に、それぞれの規則の
データを表形式のデータ構造で保持している。図8に示
すように、文字列レイアウト規則テーブル80は、規則
IDフィールド81,規則説明フィールド82,規則記
述フィールド83,適用フラグフィールド84,排他開
始フラグフィールド85,および排他終了フラグフィー
ルド86から構成される。この各フィールドに格納する
項目データとして、「規則ID」,「規則の説明」,
「規則の記述」,「適用フラグ」,「排他開始フラ
グ」,「排他終了フラグ」の6項目のデータが保持され
て、1つの規則を構成している。この規則データの中の
「適用フラグ」の値のみが、編集中にその値を変更でき
る。他の項目のデータはその値は固定値となっている。
FIG. 8 is a diagram showing an example of rule data stored in the character string layout rule storage unit 8. The data structure of each rule held by the character string layout rule holding unit 9 holds data of each rule in a tabular data structure, similarly to the above-described figure shape rule holding unit 8. As shown in FIG. 8, the character string layout rule table 80 includes a rule ID field 81, a rule description field 82, a rule description field 83, an application flag field 84, an exclusive start flag field 85, and an exclusive end flag field 86. You. The item data stored in each of these fields include “rule ID”, “explanation of rule”,
One rule is configured by holding data of six items of “rule description”, “application flag”, “exclusion start flag”, and “exclusion end flag”. Only the value of the "application flag" in this rule data can change its value during editing. The values of other items have fixed values.

【0060】データ構造の中の各項目のデータの役割に
ついても、前述した図形形状規則保持部8とほぼ同様で
ある。ただし、この文字列レイアウト規則保持部9にお
いては、「規則ID」の値は、英文字“L”に正数を続
けた一意の値をとる。「規則の記述」および「適用フラ
グ」の値は、文字列領域計算部16および文字列領域オ
フセット計算部17で用いられる。
The role of the data of each item in the data structure is almost the same as that of the figure shape rule holding unit 8 described above. However, in the character string layout rule holding unit 9, the value of the "rule ID" is a unique value in which the English character "L" is followed by a positive number. The values of the “description of rule” and the “application flag” are used by the character string region calculation unit 16 and the character string region offset calculation unit 17.

【0061】(座標位置規則保持部10)座標位置規則
保持部10は、座標の位置の設定に適用される規則を保
持する。この座標位置規則保持部10において保持する
規則は、座標データの方位と距離に関する規則である。
(Coordinate position rule holding unit 10) The coordinate position rule holding unit 10 holds rules applied to setting of coordinate positions. The rules held in the coordinate position rule holding unit 10 are rules regarding the azimuth and distance of the coordinate data.

【0062】図9は、座標位置規則保持部10が保持す
る規則のデータ例を示す図である。座標位置規則保持部
10が保持する規則のデータ構造は、前述した図形形状
規則保持部8と同様に、それぞれの規則のデータを表形
式のデータ構造で保持している。図9に示すように、こ
の座標位置規則テーブル90は、規則IDフィールド9
1,規則説明フィールド92,規則記述フィールド9
3,適用フラグフィールド94,排他開始フラグフィー
ルド95,および排他終了フラグフィールド96から構
成されている。ここでの各フィールドに格納する項目デ
ータとして、「規則ID」,「規則の説明」,「規則の
記述」,「適用フラグ」,「排他開始フラグ」,「排他
終了フラグ」の6項目のデータが保持されて、1つの規
則を構成している。この規則データの中の「適用フラ
グ」の値のみが、編集中にその値を変更される。他の項
目のデータはその値は固定値となっている。
FIG. 9 is a diagram showing an example of rule data held by the coordinate position rule holding unit 10. As shown in FIG. The data structure of the rules held by the coordinate position rule holding unit 10 holds the data of each rule in a tabular data structure, similarly to the above-described figure shape rule holding unit 8. As shown in FIG. 9, the coordinate position rule table 90 stores the rule ID field 9
1, rule description field 92, rule description field 9
3, an application flag field 94, an exclusion start flag field 95, and an exclusion end flag field 96. As the item data stored in each field, data of six items of “rule ID”, “rule description”, “rule description”, “application flag”, “exclusion start flag”, and “exclusion end flag” Are held to constitute one rule. Only the value of the "application flag" in the rule data is changed during editing. The values of other items have fixed values.

【0063】データ構造の中の各項目データの役割につ
いても、前述した図形形状規則保持部8とほぼ同様であ
る。ただし、この座標位置規則保持部10においては、
「規則ID」の値は、英文字“P”に正数を続けた一意
の値をとる。「規則の記述」および「適用フラグ」の値
は、座標位置計算部13で用いられる。
The role of each item data in the data structure is almost the same as that of the figure shape rule holding unit 8 described above. However, in this coordinate position rule holding unit 10,
The value of the “rule ID” is a unique value in which the English letter “P” is followed by a positive number. The values of the “rule description” and the “application flag” are used by the coordinate position calculation unit 13.

【0064】例えば、図9に示す規則IDの値が「規則
P1」である規則は、座標位置計算部13において用い
られ、座標データ保持部6の中の座標点のデータが、図
10に示すように設定される。図10において、ドット
が付加された矢印は、各座標点の位置を表す値を示して
いる。ここでの座標ID{1,3}の座標点では、観測
対象を座標ID{1,2}の座標点とし、方位が“18
0°”であり、距離が“144”となっている。
For example, the rule whose rule ID value is “rule P1” shown in FIG. 9 is used in the coordinate position calculating unit 13, and the data of the coordinate point in the coordinate data holding unit 6 is shown in FIG. It is set as follows. In FIG. 10, arrows to which dots are added indicate values indicating the positions of the respective coordinate points. In the coordinate point of the coordinate ID {1, 3}, the observation target is the coordinate point of the coordinate ID {1, 2}, and the azimuth is “18”.
0 ° ”and the distance is“ 144 ”.

【0065】(規則選択部12)規則選択部12は、前
述した図形形状規則保持部8,文字列レイアウト規則保
持部9,および座標位置規則保持部10に保持される各
種の規則のうち、処理対象のチャート要素に実際に適用
される規則を、ユーザが選択するため指示を受け付ける
処理を行う。この場合、ユーザが選択操作を行う際に、
各々の規則保持テーブルにおける規則説明フィールド
(72,82,92)の「規則の説明」の文章(テキス
ト)のデータが画面上に表示され、「排他開始フラ
グ」,「排他終了フラグ」に従った排他性が維持され
る。
(Rule Selection Unit 12) The rule selection unit 12 processes the various rules stored in the figure shape rule storage unit 8, the character string layout rule storage unit 9, and the coordinate position rule storage unit 10 described above. A process for receiving an instruction for the user to select a rule actually applied to the target chart element is performed. In this case, when the user performs the selection operation,
The data of the text (text) of “rule explanation” in the rule explanation fields (72, 82, 92) in each rule holding table is displayed on the screen, and the data follows the “exclusion start flag” and “exclusion end flag”. Exclusivity is maintained.

【0066】(文字列領域計算部16)文字列領域計算
部16は、他の機能処理部からの要求(命令)により、
文字列レイアウト規則保持部9の中の規則に従って、要
素データ保持部7の中のチャート要素の文字列の文字列
領域の大きさを計算し、要素データ保持部7の文字列領
域フィールド50hの中の「文字列領域」の値を更新す
る処理を行う。
(Character string area calculation section 16) The character string area calculation section 16 receives a request (command) from another function processing section.
According to the rules in the character string layout rule holding unit 9, the size of the character string region of the character string of the chart element in the element data holding unit 7 is calculated, and the size of the character string region field 50h of the element data holding unit 7 is calculated. The process of updating the value of the “character string area” is performed.

【0067】(文字列領域オフセット計算部17)文字
列領域オフセット計算部17は、他の機能処理部からの
要求(命令)により、文字列レイアウト規則保持部9の
中の規則に従って、要素データ保持部7の中のチャート
要素の文字列領域のオフセットを計算し、要素データ保
持部7の文字列領域オフセットフィールド50iの中の
「文字列領域オフセット」の値を更新する処理を行う。
(Character string area offset calculating section 17) The character string area offset calculating section 17 holds element data in accordance with the rules in the character string layout rule holding section 9 in response to a request (command) from another function processing section. The offset of the character string area of the chart element in the section 7 is calculated, and the value of the “character string area offset” in the character string area offset field 50i of the element data holding section 7 is updated.

【0068】(図形形状計算部18)図形形状計算部1
8は、他の機能処理部からの要求(命令)により、図形
形状規則保持部8の中の規則に従って、要素データ保持
部7の中のチャート要素の図形の大きさを計算し、要素
データ保持部7における図形フィールド50cの中の
「図形(図形形状)」の値を更新する処理を行う。
(Figure Shape Calculator 18) Figure Shape Calculator 1
Numeral 8 calculates the size of the graphic of the chart element in the element data holding unit 7 according to the rule in the figure shape rule holding unit 8 in response to a request (command) from another function processing unit, and stores the element data. A process of updating the value of “graphic (graphic shape)” in the graphic field 50c in the unit 7 is performed.

【0069】(図形オフセット計算部19)図形オフセ
ット計算部19は、他の機能処理部からの要求(命令)
により、図形形状規則保持部8の中の規則に従って、要
素データ保持部7の中のチャート要素の図形のオフセッ
トを計算し、要素データ保持部7の図形オフセットフィ
ールド50dの中の「図形オフセット」の値を更新する
処理を行う。
(Graphic Offset Calculator 19) The graphic offset calculator 19 requests (commands) from other function processing units.
In accordance with the rule in the figure shape rule holding unit 8, the offset of the figure of the chart element in the element data holding unit 7 is calculated, and the "graphic offset" in the figure offset field 50d of the element data holding unit 7 is calculated. Perform the process of updating the value.

【0070】(座標位置計算部13)座標位置計算部1
3は、他の機能処理部からの要求(命令)により、座標
位置規則保持部10の中の規則に従って、座標データ保
持部7中の座標の位置を計算し、座標データ保持部6の
値を更新する処理を行う。
(Coordinate position calculator 13) Coordinate position calculator 1
3 calculates the position of the coordinates in the coordinate data holding unit 7 in accordance with the rule in the coordinate position rule holding unit 10 in response to a request (command) from another function processing unit, and changes the value of the coordinate data holding unit 6 Perform the update process.

【0071】(画面表示部14)画面表示部14は、処
理制御部1から送られる画面書き換え命令により、要素
データ保持部7に保持された各フィールドのチャート要
素のデータを解釈し、表示するチャートの画像を作成し
て、RGB値のラスタ画像に変換し、変換した画像デー
タをディスプレイの画面上に表示する。また、ポインテ
ィングデバイスに連動するカーソルを画面上に表示する
制御を行い、ポインティングデバイスを制御して、前述
したように、画面上のカーソルを操作して、各種の指示
/選択/入力を行う際に、チャート要素あるいは座標点
を表示画面上で直接に選択する操作を行えるようにす
る。
(Screen display unit 14) The screen display unit 14 interprets the chart element data of each field held in the element data holding unit 7 according to the screen rewrite command sent from the processing control unit 1, and displays the chart. Is converted to a raster image of RGB values, and the converted image data is displayed on the screen of the display. In addition, control is performed to display a cursor linked to the pointing device on the screen, and the pointing device is controlled to operate the cursor on the screen to perform various instructions / selections / inputs as described above. To directly select a chart element or a coordinate point on a display screen.

【0072】(チャート印刷部15)チャート印刷部1
5は、ユーザの指示に従って、要素データ保持部7に保
持されたチャート要素のデータを解釈して、印刷するチ
ャートの画像を作成して、CMYKラスタ画像に変換
し、変換後の画像を紙/OHPシートに印刷する。
(Chart printing unit 15) Chart printing unit 1
5 interprets the chart element data held in the element data holding unit 7 according to the user's instruction, creates an image of the chart to be printed, converts it into a CMYK raster image, and converts the converted image into a paper / Print on OHP sheet.

【0073】これらの各機能処理部は、前述しように、
処理制御部1により制御される。この各機能処理部の処
理機能を利用するため、処理制御部1がそれぞれの機能
処理部を制御して、チャート要素の図形に対する処理を
行うが、これらの処理の中で主体となる処理は、規則を
利用し、規則にしたがったチャート要素の変更処理であ
り、処理制御部1の処理の中では、特に、ユーザがチャ
ート要素の文字列を変更した場合に実行される「チャー
ト要素と図形の文字列のレイアウトの変更処理(ステッ
プ33)」のサブルーチンの処理である。次に、この変
更処理について説明する。
Each of these function processing units, as described above,
It is controlled by the processing control unit 1. In order to use the processing function of each function processing unit, the processing control unit 1 controls each function processing unit and performs processing on the graphic of the chart element. Among these processing, the main processing is: This is a process of changing a chart element in accordance with the rule using the rule. In the process of the process control unit 1, particularly, when the user changes the character string of the chart element, the “chart element and graphic Character string layout change processing (step 33) ". Next, the change processing will be described.

【0074】図11は、チャート要素の図形と文字列の
レイアウト変更処理の処理フローを示すフローチャート
である。図11を参照して、チャート要素のレイアウト
変更処理について説明する。このレイアウト処理におい
ては、特に明記しないが、チャート要素の各項目データ
を計算して更新するが、その場合の各項目データの更新
処理では、前述のように、各々の計算部による各々の規
則にしたがってその値を計算し更新する。変更処理を開
始すると、まず、ステップ101において、チャート要
素の「文字列」の値を更新する。次のステップ102に
おいて、チャート要素の文字列領域の大きさを計算し、
「文字列領域」の値を更新する。次にステップ103に
おいて、チャート要素の文字列領域のオフセットを計算
し、「文字列領域オフセット」の値を更新する。
FIG. 11 is a flowchart showing the processing flow of the layout change processing of the graphic and the character string of the chart element. With reference to FIG. 11, the layout change processing of the chart element will be described. In this layout process, although not particularly specified, each item data of the chart element is calculated and updated. In this case, in the process of updating each item data, as described above, each rule by each calculation unit is used. Therefore, its value is calculated and updated. When the change process is started, first, in step 101, the value of the “character string” of the chart element is updated. In the next step 102, the size of the character string area of the chart element is calculated,
Update the value of "character string area". Next, in step 103, the offset of the character string area of the chart element is calculated, and the value of “character string area offset” is updated.

【0075】そして、次のステップ104において、更
新した文字列領域に対して、チャート要素の図形は文字
列領域を内包できるか否かを判定する。この判定の結
果、チャート要素の図形が更新された文字列領域を内包
できる場合、それで良いので、ここでの処理を終了し、
メインルーチンの処理に戻る。また、ステップ104の
判定の結果、チャート要素の図形が更新された文字列領
域を内包できない場合には、次のステップ105からの
処理により、図形形状および文字列領域のレイアウトの
変更処理を行う。
Then, in the next step 104, it is determined whether or not the graphic of the chart element can include the character string area in the updated character string area. As a result of this determination, if the chart element graphic can include the updated character string area, it is sufficient, and the processing here ends.
The process returns to the main routine. If the result of the determination in step 104 indicates that the chart element graphic cannot include the updated character string area, the processing from the next step 105 is performed to change the graphic shape and the layout of the character string area.

【0076】このステップ105からの処理では、ま
ず、ステップ105において、チャート要素の「図形形
状」の値を計算して変更する。すなわち、当該チャート
要素の図形が、文字列領域を内包できるように、その大
きさを変更する。次に、ステップ106において、チャ
ート要素の「図形オフセット」の値を計算し更新する。
次に、ステップ107に進み、図形形状に関して、更新
したチャート要素の依存関係を持つチャート要素がある
かを調べ、次のステップ108において、その結果を判
定する。そして、ステップ108の判定処理において、
依存関係にある1つ以上のチャート要素が見つかったか
否かを判定し、1つ以上のチャート要素が見つかった場
合には、次に、ステップ109に進み、見つかったチャ
ート要素の「図形形状」を計算し更新する。そして、次
のステップ110において、見つかったチャート要素の
「文字列領域オフセット」を計算し、変更する処理を行
い、ステップ111に進む。
In the processing from step 105, first, in step 105, the value of the "graphic shape" of the chart element is calculated and changed. That is, the size of the chart element is changed so that the graphic of the chart element can include the character string area. Next, in step 106, the value of the "graphic offset" of the chart element is calculated and updated.
Next, the process proceeds to step 107, where it is checked whether there is a chart element having a dependency of the updated chart element with respect to the graphic shape, and the result is determined in the next step 108. Then, in the determination processing of step 108,
It is determined whether or not one or more chart elements in a dependent relationship have been found. If one or more chart elements have been found, the process proceeds to step 109 to change the “graphic shape” of the found chart element. Calculate and update. Then, in the next step 110, the “character string area offset” of the found chart element is calculated and changed, and the process proceeds to step 111.

【0077】また、ステップ108の判定処理で、依存
関係にあるチャート要素が見つからなかった場合、その
ままステップ111に進む。そして、ステップ111に
おいて、更新したチャート要素に対する座標の位置を計
算し更新して、ここでのレイアウト更新処理を終了す
る。
If no chart element having a dependent relationship is found in the determination processing in step 108, the flow directly proceeds to step 111. Then, in step 111, the position of the coordinates with respect to the updated chart element is calculated and updated, and the layout update processing here ends.

【0078】このようなチャート要素の図形と文字列の
レイアウト変更処理を具体例で説明する。図12は、チ
ャート要素の文字列の追加によりレイアウト変更される
第1の例を説明する図であり、図13は、チャート要素
の文字列の追加によりレイアウト変更される第2の例を
説明する図であり、また、図14は、チャート要素の文
字列の追加によりレイアウト変更される第3の例を説明
する図である。図15は、チャート要素の文字列の削除
によってレイアウト変更される例を説明する図である。
The layout changing process of the graphic and the character string of such a chart element will be described with a specific example. FIG. 12 is a diagram illustrating a first example in which the layout is changed by adding a character string of a chart element, and FIG. 13 illustrates a second example in which the layout is changed by adding a character string of a chart element. FIG. 14 is a diagram for explaining a third example in which the layout is changed by adding a character string of a chart element. FIG. 15 is a diagram illustrating an example in which the layout is changed by deleting the character string of the chart element.

【0079】チャート要素の図形と文字列のレイアウト
変更処理によれば、例えば、図形形状の規則としては、
図7に示すように、規則F1,規則F7,規則F9,お
よび規則10の適用が選択されており、文字列のレイア
ウト規則としては、図8に示すように、規則L1,規則
L5,規則L6,規則L9,規則L11,および規則L
16の適用が選択されており、また、座標点の位置の規
則としては、図9に示すように、規則P1が選択されて
いる。
According to the layout change processing of the graphic and the character string of the chart element, for example, the rule of the graphic shape is as follows.
As shown in FIG. 7, the application of the rules F1, F7, F9, and 10 is selected, and the layout rules of the character strings are rules L1, L5, and L6 as shown in FIG. , Rule L9, rule L11, and rule L
16 are selected, and the rule P1 is selected as the rule of the position of the coordinate point, as shown in FIG.

【0080】このように各規則が選択されている場合
(これを以下「場合1」と呼ぶ)において、図12に示
すように、その上側に示すチャート要素のレイアウトか
ら、例えば、右下隅のチャート要素121の図形に囲ま
れる文字列を「い」から、文字列「いろはにほへ」に増
やすと、チャート要素121の図形の中の文字列領域が
文字列「いろはにほへ」を内包できるように変更され、
それに伴い、図形形状が変更されて、このチャート要素
の図形の形状は、図12の下側に示すような図形形状の
チャート要素122となる。これにより、当該チャート
要素122と依存関係にあるチャート要素123および
チャート要素124についても、更にレイアウトの変更
が必要になり、この「場合1」のレイアウトの変更処理
は、その最下位置に配置されている3つのチャート要素
の図形の高さが、システムによって揃えられる。
When each rule is selected in this way (hereinafter referred to as “case 1”), as shown in FIG. 12, the layout of the chart element shown on the upper side When the character string surrounded by the graphic of the element 121 is increased from “I” to the character string “Iroha Niho,” the character string area in the graphic of the chart element 121 can include the character string “Iroha Niho.” Changed to
Accordingly, the graphic shape is changed, and the graphic shape of this chart element becomes a graphic-shaped chart element 122 as shown in the lower part of FIG. Accordingly, it is necessary to further change the layout of the chart element 123 and the chart element 124 which are dependent on the chart element 122, and the layout change process of “Case 1” is arranged at the lowest position. The heights of the three chart elements are aligned by the system.

【0081】また、文字列のレイアウト規則として、例
えば、「場合1」の規則L16に代わって、規則L17
が選択されている場合(これを以下「場合2」と呼ぶ)
において、図13に示すように、その上側に示すチャー
ト要素のレイアウトから、前述の場合と同様に、例え
ば、右下隅のチャート要素131の図形に囲まれる文字
列を「い」から、文字列「いろはにほにほへ」に増やす
と、チャート要素131の図形の中の文字列領域が文字
列「いろはにほにほへ」を内包できるように変更され、
それに伴って図形の形状が変更されて、このチャート要
素131の図形の形状は、図13の下側に示すような図
形形状のチャート要素132となる。これにより、更
に、当該チャート要素132と依存関係にあるチャート
要素133およびチャート要素134についても、更に
レイアウトの変更が必要になり、この「場合2」のレイ
アウトは、その最下位置に配置されている3つのチャー
ト要素の図形の高さが、システムによって揃えられ、文
字列領域のオフセットが適切に調整される。
As a layout rule of a character string, for example, instead of the rule L16 of “Case 1”, a rule L17
Is selected (hereinafter referred to as “Case 2”)
As shown in FIG. 13, from the layout of the chart element shown on the upper side, for example, the character string surrounded by the graphic of the chart element 131 at the lower right corner is changed from “I” to the character string “ When the number is increased to "Iroha Nihoni Ho", the character string area in the graphic of the chart element 131 is changed to include the character string "Iroha Nihoni Ho".
Accordingly, the shape of the graphic is changed, and the shape of the graphic of the chart element 131 becomes a graphic-shaped chart element 132 as shown in the lower part of FIG. As a result, the layout of the chart element 133 and the chart element 134 that are dependent on the chart element 132 needs to be further changed, and the layout of “Case 2” is arranged at the lowest position. The graphic heights of the three chart elements are aligned by the system, and the offset of the character string area is adjusted appropriately.

【0082】また、座標点の位置の規則として、例え
ば、「場合1」の規則P1の代わりに規則P2が選択さ
れている場合(これを以下「場合3」と呼ぶ)に、図1
4に示すように、この上側に示すチャート要素のレイア
ウトから、前述の場合と同様に、例えば、右下隅のチャ
ート要素141の図形に囲まれる文字列を「い」から、
文字列「いろはにほにほへ」に増やすと、チャート要素
141の図形の中の文字列領域が文字列「いろはにほに
ほへ」を内包できるように変更され、それに伴い、図形
の形状が変更されて、このチャート要素141の図形の
形状は、図14の下側に示すような図形形状のチャート
要素142となる。これにより、更に、当該チャート要
素142と依存関係にあるチャート要素143およびチ
ャート要素144についても、更にレイアウトの変更が
必要になり、この「場合3」のレイアウトは、その最下
位置に配置されている3つのチャート要素の図形の高さ
が、システムによって揃えられ、更に座標点の位置につ
いても規則に従って適切に調整される。
As a rule for the position of the coordinate point, for example, when rule P2 is selected instead of rule P1 of "case 1" (hereinafter referred to as "case 3"), FIG.
As shown in FIG. 4, from the layout of the chart elements shown on the upper side, as in the case described above, for example, the character string surrounded by the graphic of the chart element 141 in the lower right corner is changed from “I” to
When the character string is increased to "Iroha Nihoniho", the character string area in the graphic of the chart element 141 is changed so as to include the character string "Iroha Nihoni Ho", and accordingly, the shape of the graphic is changed. Is changed, and the graphic shape of the chart element 141 becomes the graphic-shaped chart element 142 as shown on the lower side of FIG. As a result, the layout of the chart element 143 and the chart element 144 which are dependent on the chart element 142 needs to be further changed, and the layout of the “case 3” is arranged at the lowest position. The heights of the three chart elements are adjusted by the system, and the positions of the coordinate points are adjusted appropriately according to the rules.

【0083】また、更に別の場合の例として、図形形状
の規則として、例えば、「場合1」の規則F7に代わっ
て、規則F8の適用が選択されており、座標点の位置の
規則として、規則P1の代わりに規則P3の適用が選択
されている場合(これを以下「場合4」と呼ぶ)には、
図15に示すように、この上側に示すチャート要素のレ
イアウトの状態から、左端中段のチャート要素151の
図形に囲まれる文字列を「いろはにほにほへ」から文字
「い」に減らすと、これに伴い、チャート要素151の
図形の中の文字列領域が文字「い」を内包できるように
変更され、図形の形状が変更される。この「場合5」の
チャート要素151の図形の形状は、図15の下側に示
すような図形形状のチャート要素152となる。これに
より、更に、当該チャート要素152と依存関係にある
チャート要素153およびチャート要素154について
も、更に、レイアウトの変更が必要になり、ここで「場
合5」のレイアウトの変更処理では、座標点の位置の規
則に従って、座標IDの第2元の値が“2”である各座
標点に配置されている図形の高さがシステムによって揃
えられ、更に、その座標点の位置が適切に調整される。
Further, as another example, the application of the rule F8 is selected as the rule of the figure shape, for example, instead of the rule F7 of “Case 1”. If the application of rule P3 is selected instead of rule P1 (hereinafter referred to as "case 4"),
As shown in FIG. 15, from the layout state of the chart element shown on the upper side, when the character string surrounded by the figure of the chart element 151 at the middle left end is reduced from “Iroha Nihoni Hohe” to “I”, Accordingly, the character string area in the graphic of the chart element 151 is changed so as to include the character "i", and the shape of the graphic is changed. The shape of the graphic of the chart element 151 in “Case 5” is a graphic chart element 152 as shown in the lower part of FIG. Accordingly, the layout of the chart element 153 and the chart element 154 which are dependent on the chart element 152 need to be further changed. In accordance with the position rule, the height of the figure arranged at each coordinate point whose second original value of the coordinate ID is “2” is aligned by the system, and the position of the coordinate point is appropriately adjusted. .

【0084】次に、本発明の実施例の各機能処理部につ
いての変形例について説明する。図16は、チャート要
素として扱う図形の形状として、矩形以外の形状を例示
する図である。上述した実施例の説明では、チャート要
素として、文字列を囲む図形としては矩形を用いた例を
説明したが、図16に示すように、図形161に外接す
る矩形162で図形オフセットを定め、外接する矩形と
縦横比が同じである内接する矩形163を文字が内包で
きる最大の大きさとする。これにより、矩形以外の円、
楕円、ひし形、三角形などの形状を用いたチャート要素
においても、そのまま本発明が適用できて、これらの図
形を用いたチャート要素のレイアウト変更を行うように
構成できる。
Next, a modified example of each function processing unit according to the embodiment of the present invention will be described. FIG. 16 is a diagram illustrating a shape other than a rectangle as a shape of a graphic handled as a chart element. In the description of the above-described embodiment, an example was described in which a rectangle was used as a graphic surrounding a character string as a chart element. However, as shown in FIG. An inscribed rectangle 163 having the same aspect ratio as the rectangle to be drawn is set to the maximum size that the character can include. With this, circles other than rectangles,
The present invention can be applied to chart elements using shapes such as ellipses, rhombuses, and triangles, and the layout of chart elements using these figures can be changed.

【0085】また、上述した実施例では、全てチャート
要素の中の文字列のレイアウト規則は同じものが適用さ
れるようにしているが、これを変形して、特定のチャー
ト要素に対する文字列のレイアウト規則(フォント、文
字組など)を個別に変えることができるようにも変形で
きる。この変形例に合わせて、このレイアウトの中の文
字組みなどの文字列を囲む図形と、この図形と依存関係
がある他のチャート要素の図形の形状と配置を変えるよ
うに各機能処理部によるシステム構成とする。
In the above-described embodiment, the same layout rules for character strings in all chart elements are applied. However, this may be modified to change the layout of character strings for specific chart elements. It can also be modified so that rules (fonts, character sets, etc.) can be changed individually. In accordance with this modified example, the system by each function processing unit changes the shape and arrangement of a figure surrounding a character string such as a character set in this layout and a figure of another chart element having a dependency relation to this figure. Configuration.

【0086】この場合には、例えば、要素データ保持部
7に保持されるチャート要素保持テーブル(50:図
5)のデータ構造において、更に、1つの項目データの
フィールドを追加し、「文字列レイアウト規則」の項目
データを追加するように変形する。この項目データの値
としては、レイアウト規則を特定するため、前述の文字
列レイアウト規則保持部9に保持される規則の規則ID
をとる。これにより、あるチャート要素に優先して適用
される文字列のレイアウト規則を指示するようにでき
る。
In this case, for example, a field of one item data is further added to the data structure of the chart element holding table (50: FIG. 5) held in the element data holding unit 7, and “Character string layout” is added. The rule is modified to add the item data. As the value of this item data, the rule ID of the rule held in the above-described character string layout rule holding unit 9 for specifying the layout rule
Take. Thereby, the layout rule of the character string applied preferentially to a certain chart element can be designated.

【0087】また、この場合に、前記規則選択部12を
用いて、特定のチャート要素をユーザが選択し、このチ
ャート要素に対する文字列のレイアウト規則をユーザが
直接に選択できるようにする。つまり、この選択の指示
に基づき、規則選択部12による対話的入力操作で、こ
の選択の指示を受け付けて、要素データ保持部7の中に
保持されるチャート要素保持テーブル50の追加した項
目データのフィールドの「文字列レイアウト規則」の値
を更新する処理を行う。
In this case, the user can select a specific chart element by using the rule selecting section 12 and directly select a layout rule of a character string for this chart element. That is, based on this selection instruction, the selection instruction is accepted by an interactive input operation by the rule selection unit 12, and the added item data of the chart element holding table 50 held in the element data holding unit 7 is stored. Performs processing to update the value of the "character string layout rule" of the field.

【0088】また、この場合、文字列領域計算部16
は、あるチャート要素の文字列領域を計算する際に、要
素データ保持部7中に保持されるチャート要素保持テー
ブル50の追加した「文字列レイアウト規則」の値に示
される規則を、文字列レイアウト規則保持部9の中に保
持されている文字列レイアウト規則保持テーブル80の
「適用フラグ」の値に優先して適用するように変形す
る。つまり、あるチャート要素の「文字列レイアウト規
則」の値として、規則Lxxが規定されている場合に
は、規則Lxxの「適用フラグ」の値が“0”であって
も、そのチャート要素の文字列領域の計算には規則Lx
xが適用されるようにする。同時に、規則Lxxと排他
性を持つ規則Lyyの「適用フラグ」の値が“1”であ
っても、排他性を維持するために、そのチャート要素の
文字列領域の計算には規則Lyyは適用しないようにす
る。
In this case, the character string area calculation unit 16
When the character string area of a certain chart element is calculated, the rule indicated by the value of the “character string layout rule” added to the chart element holding table 50 held in the element data holding unit 7 is changed to the character string layout. The modification is made such that the value is applied in preference to the value of the “application flag” in the character string layout rule holding table 80 held in the rule holding unit 9. That is, when the rule Lxx is defined as the value of the “character string layout rule” of a certain chart element, even if the value of the “application flag” of the rule Lxx is “0”, the character of the chart element Rule Lx is used to calculate the column area
Let x be applied. At the same time, even if the value of the "application flag" of the rule Lyyy having the exclusiveness with the rule Lxx is "1", the rule Lyy is not applied to the calculation of the character string area of the chart element in order to maintain the exclusiveness. To

【0089】そして、処理制御部1が実行する処理の処
理フローにおいて、その中の処理を特定のチャート要素
に対する文字列のレイアウト規則の変更に対応するよう
に変更する。具体的には、例えば、図3に示すステップ
32の判断処理の内容を「ユーザが文字入力部で文字列
を変更したか、あるいは、規則選択部で特定のチャート
要素の文字列のレイアウトの規則を変更したか?」に変
更する。これにより、文字列の追加/削除だけでなく、
文字列のレイアウトの変更から、図11に示すような一
連の処理が実行される。
Then, in the processing flow of the processing executed by the processing control section 1, the processing in the processing is changed so as to correspond to the change in the layout rule of the character string for the specific chart element. Specifically, for example, the content of the determination processing in step 32 shown in FIG. 3 is set to “the user has changed the character string in the character input unit, or the rule selection unit specifies the rule of the layout of the character string of the specific chart element. Have you changed? " This allows you to not only add / delete strings,
From the change in the layout of the character string, a series of processing as shown in FIG. 11 is executed.

【0090】[0090]

【発明の効果】以上、説明したように、本発明のチャー
ト図形処理装置によれば、チャート要素の中の任意の文
字列を変更すると、そのチャート要素の文字列を囲む図
形が調整されるだけでなく、そのチャート要素の図形と
大きさに依存関係がある他の図形も適切な大きさに変更
される。また、大きさが変更された図形に囲まれる文字
列のレイアウトも適切に調整される。更には、図形の大
きさの変更に応じて、図形と文字列の位置が適切に調整
される。したがって、ユーザが対話的操作により行うチ
ャート中の文字列の編集に応じて、チャートのレイアウ
トの整合をとることができる。
As described above, according to the chart graphic processing apparatus of the present invention, when an arbitrary character string in a chart element is changed, only a figure surrounding the character string of the chart element is adjusted. However, other figures that have a dependency on the size and size of the chart element are also changed to the appropriate size. Also, the layout of the character string surrounded by the graphic whose size has been changed is appropriately adjusted. Further, the positions of the graphic and the character string are appropriately adjusted according to the change in the size of the graphic. Therefore, the layout of the chart can be adjusted according to the editing of the character string in the chart performed by the user through the interactive operation.

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

【図1】 図1は本発明の一実施例にかかるチャート図
形処理装置の全体の構成を示すブロック図、
FIG. 1 is a block diagram showing the overall configuration of a chart graphic processing apparatus according to one embodiment of the present invention;

【図2】 図2は実施例のチャート図形処理装置の主要
部の処理制御部による処理の流れを示す第1のフローチ
ャート、
FIG. 2 is a first flowchart illustrating a flow of processing by a processing control unit of a main part of the chart graphic processing apparatus according to the embodiment;

【図3】 図3は実施例のチャート図形処理装置の主要
部の処理制御部による処理の流れを示す図2の第1のフ
ローチャートに続く第2のフローチャート、
FIG. 3 is a second flowchart following the first flowchart of FIG. 2 showing a flow of processing by a processing control unit of a main part of the chart graphic processing apparatus of the embodiment;

【図4】 図4は位置を示す値の概念を説明する図、FIG. 4 is a view for explaining the concept of a value indicating a position;

【図5】 図5はチャート要素保持テーブルのデータ構
造を説明する図、
FIG. 5 is a view for explaining a data structure of a chart element holding table;

【図6】 図6はチャート要素の座標点に対する図形お
よび文字列領域の配置の関係を説明する図、
FIG. 6 is a view for explaining the relationship between the arrangement of a figure and a character string area with respect to the coordinate points of a chart element;

【図7】 図7は図形形状規則保持部8が保持する規則
のデータ例を示す図である。
FIG. 7 is a diagram illustrating an example of data of a rule held by a figure shape rule holding unit 8;

【図8】 図8は文字列レイアウト規則保持部8が保持
する規則のデータ例を示す図、
FIG. 8 is a diagram showing an example of rule data held by a character string layout rule holding unit 8;

【図9】 図9は座標位置規則保持部10が保持する規
則のデータ例を示す図、
FIG. 9 is a diagram showing an example of rule data held by a coordinate position rule holding unit 10;

【図10】 図10は座標点データによる図形の配置を
説明する図、
FIG. 10 is a view for explaining the arrangement of figures based on coordinate point data;

【図11】 図11はチャート要素の図形と文字列のレ
イアウト変更処理の処理フローを示すフローチャート、
FIG. 11 is a flowchart showing a processing flow of layout change processing of a graphic and a character string of a chart element;

【図12】 図12はチャート要素の文字列の追加によ
りレイアウト変更される第1の例を説明する図、
FIG. 12 is a view for explaining a first example in which a layout is changed by adding a character string of a chart element;

【図13】 図13はチャート要素の文字列の追加によ
りレイアウト変更される第2の例を説明する図、
FIG. 13 is a view for explaining a second example in which the layout is changed by adding a character string of a chart element;

【図14】 図14はチャート要素の文字列の追加によ
りレイアウト変更される第3の例を説明する図、
FIG. 14 is a view for explaining a third example in which the layout is changed by adding a character string of a chart element;

【図15】 図15はチャート要素の文字列の削除によ
ってレイアウト変更される例を説明する図、
FIG. 15 is a view for explaining an example in which a layout is changed by deleting a character string of a chart element;

【図16】 図16はチャート要素として扱う図形の図
形形状として矩形以外の図形形状を例示する図である。
FIG. 16 is a diagram exemplifying a graphic shape other than a rectangle as a graphic shape of a graphic handled as a chart element.

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

1…制御処理部、2…要素生成指示部、3…要素配置指
示部、4…要素削除指示部、5…色指示部、6…座標デ
ータ保持部、7…要素データ保持部、8…図形形状規則
保持部、9…文字列レイアウト規則保持部、10…座標
位置規則保持部、11…文字列入力部、12…規則選択
部、13…座標位置選択部、14…画面表示部、15…
チャート印刷部、16…文字列領域計算部、17…文字
領域オフセット計算部、18…図形形状計算部、19…
図形オフセット計算部、20…各機能処理部を相互に接
続するバス。
DESCRIPTION OF SYMBOLS 1 ... Control processing part, 2 ... Element generation instruction | indication part, 3 ... Element arrangement instruction | indication part, 4 ... Element deletion instruction | indication part, 5 ... Color instruction | indication part, 6 ... Coordinate data holding part, 7 ... Element data holding part, 8 ... Graphic Shape rule holding unit, 9: character string layout rule holding unit, 10: coordinate position rule holding unit, 11: character string input unit, 12: rule selection unit, 13: coordinate position selection unit, 14: screen display unit, 15 ...
Chart printing unit, 16: character string region calculation unit, 17: character region offset calculation unit, 18: figure shape calculation unit, 19 ...
Graphic offset calculation unit, 20... A bus for interconnecting the function processing units.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 文字列と当該文字列を囲む図形とを対応
づけて1つのチャート要素として保持するチャート要素
保持手段と、 チャート要素を配置する位置を決定する座標点を保持す
る座標点保持手段と、 前記座標点にチャート要素の図形および文字列を配置す
る配置処理手段と、 チャート要素の図形の形状の規則を保持する形状規則保
持手段と、 前記座標点と図形の形状の関係を定義する第1関係規則
を記憶する第1関係規則記憶手段と、 文字領域と図形の形状の関係を定義する第2関係規則を
記憶する第2関係規則記憶手段と、 前記チャート要素保持手段の中の任意のチャート要素の
文字列を変更する文字列変更手段と、 前記変更された文字列がレイアウトされる文字列領域を
決定する文字列領域決定手段と、 前記第2関係規則に基づいて文字列を変更した文字列領
域に関係して図形の形状を変更する形状変更手段と、 文字列が変更されたチャート要素を配置する座標点と前
記第1関係規則に基づいて依存関係にあるチャート要素
を選び出す要素選出手段と、 前記形状規則保持手段に保持された規則と前記文字領域
決定手段が決定した領域に応じて、前記文字列が変更さ
れたチャート要素の図形の形状を変更する第1図形形状
変更手段と、 前記形状規則保持手段に保持された規則と前記第1図形
形状変更手段が変更した形状に応じて、前記要素選出手
段が選び出したすべてのチャート要素を変更する第2図
形形状変更手段とを備えることを特徴とするチャート図
形処理装置。
1. A chart element holding means for associating a character string with a figure surrounding the character string as one chart element, and a coordinate point holding means for holding coordinate points for determining a position at which the chart element is arranged. An arrangement processing unit for arranging a chart element graphic and a character string at the coordinate point; a shape rule retaining unit for retaining a rule of the shape of the chart element graphic; and defining a relationship between the coordinate point and the graphic shape. A first relational rule storing means for storing a first relational rule; a second relational rule storing means for storing a second relational rule defining a relation between a character area and a figure shape; A character string changing means for changing a character string of the chart element, a character string area determining means for determining a character string area in which the changed character string is laid out, and A shape changing means for changing the shape of the graphic in relation to the character string region in which the character string has been changed, and a coordinate point for arranging the chart element in which the character string has been changed and having a dependency relationship based on the first relation rule. Element selecting means for selecting a chart element, and changing the shape of the graphic of the chart element in which the character string has been changed according to the rule held by the shape rule holding means and the area determined by the character area determining means. (1) A figure shape changing means, and a second figure for changing all chart elements selected by the element selecting means according to the rule held by the shape rule holding means and the shape changed by the first figure shape changing means. A chart graphic processing apparatus comprising: a shape changing unit.
【請求項2】 請求項1に記載のチャート図形処理装置
において、更に、 前記第2図形形状変更手段により、チャート要素の図形
の形状が変更された場合、前記形状規則保持手段に保持
された規則と、前記第2図形形状変更手段が変更した形
状に応じて、前記要素選出手段が選び出したチャート要
素の文字列がレイアウトされる文字列領域の図形に対す
る位置を調整する文字列領域位置調整手段を備えること
を特徴とするチャート図形処理装置。
2. The chart graphic processing apparatus according to claim 1, further comprising: a rule held by said shape rule holding means when said second figure shape changing means changes a shape of a chart element graphic. Character string area position adjusting means for adjusting the position of the character string area in which the character string of the chart element selected by the element selecting means is laid out with respect to the graphic in accordance with the shape changed by the second graphic shape changing means. A chart graphic processing apparatus comprising:
【請求項3】 請求項1に記載のチャート図形処理装置
において、更に、 チャート要素の図形の位置に関する規則を保持する位置
規則保持手段と、 前記第1図形形状変更手段および第2図形形状変更手段
により、チャート要素の図形の形状が変更された場合、
前記位置規則保持手段に保持された規則に応じて、前記
チャート要素保持手段中のチャート要素の図形の位置を
調整する要素位置調整手段とを備えることを特徴とする
チャート図形処理装置。
3. The chart graphic processing apparatus according to claim 1, further comprising: a position rule holding means for holding a rule relating to a position of a graphic of a chart element; and said first graphic shape changing means and second graphic shape changing means. Changes the shape of the chart element,
A chart graphic processing apparatus comprising: an element position adjusting unit that adjusts a position of a graphic of a chart element in the chart element holding unit according to a rule held by the position rule holding unit.
JP8184244A 1996-06-26 1996-06-26 Chart graphic processor Pending JPH1011599A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8184244A JPH1011599A (en) 1996-06-26 1996-06-26 Chart graphic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8184244A JPH1011599A (en) 1996-06-26 1996-06-26 Chart graphic processor

Publications (1)

Publication Number Publication Date
JPH1011599A true JPH1011599A (en) 1998-01-16

Family

ID=16149916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8184244A Pending JPH1011599A (en) 1996-06-26 1996-06-26 Chart graphic processor

Country Status (1)

Country Link
JP (1) JPH1011599A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7703028B2 (en) 2002-12-12 2010-04-20 International Business Machines Corporation Modifying the graphical display of data entities and relational database structures
US7904415B2 (en) 2002-12-12 2011-03-08 International Business Machines Corporation Systems and computer program products to manage the display of data entities and relational database structures
WO2024034119A1 (en) * 2022-08-12 2024-02-15 三菱電機株式会社 Generation device, generation method, and generation program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7703028B2 (en) 2002-12-12 2010-04-20 International Business Machines Corporation Modifying the graphical display of data entities and relational database structures
US7904415B2 (en) 2002-12-12 2011-03-08 International Business Machines Corporation Systems and computer program products to manage the display of data entities and relational database structures
WO2024034119A1 (en) * 2022-08-12 2024-02-15 三菱電機株式会社 Generation device, generation method, and generation program

Similar Documents

Publication Publication Date Title
US5262760A (en) Modifying a graphics display image
US4608662A (en) Method for editing document
US5798766A (en) Drawing system
JP2828271B2 (en) Shape generation method in CAD system
JPH09114999A (en) Plotting device
JPH1011599A (en) Chart graphic processor
JP3192066B2 (en) Drawing method and drawing device
JPH04347779A (en) Graphic document processor
JP3118379B2 (en) Layout processing device
JPH08278961A (en) Document information processor
JPH08202856A (en) Picture processing method
JP3589253B2 (en) Plotting device
JP3601175B2 (en) Plotting device
JPS6330926A (en) Layout design system for coordinate position input device
JPH1055431A (en) Image processing device
JPS63108453A (en) Electronic equipment
JP3136852B2 (en) Touch panel screen creation method and device
JPH0935079A (en) Image input device
JPH0333896A (en) Font plotting device
JPH0844333A (en) Graphic input device
JPH08202334A (en) Document creation device
JPH07311790A (en) Graphic correcting device for catalog or the like
JPH0822553A (en) Method and system for setting entry condition
JPS6375976A (en) Inter-graphic position adjusting system
JPH09114958A (en) Drawing device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040309