JP3118379B2 - Layout processing device - Google Patents

Layout processing device

Info

Publication number
JP3118379B2
JP3118379B2 JP06233240A JP23324094A JP3118379B2 JP 3118379 B2 JP3118379 B2 JP 3118379B2 JP 06233240 A JP06233240 A JP 06233240A JP 23324094 A JP23324094 A JP 23324094A JP 3118379 B2 JP3118379 B2 JP 3118379B2
Authority
JP
Japan
Prior art keywords
item
frame
text
calculated
closed curve
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP06233240A
Other languages
Japanese (ja)
Other versions
JPH0896153A (en
Inventor
義直 平沼
佳紀 畑山
益生 近藤
隆史 筈井
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP06233240A priority Critical patent/JP3118379B2/en
Publication of JPH0896153A publication Critical patent/JPH0896153A/en
Application granted granted Critical
Publication of JP3118379B2 publication Critical patent/JP3118379B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えばワープロなどの
図表作成機能を備えた文書処理装置において、入力され
たテキストを所定の軌跡を描くように配置するレイアウ
ト処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a layout processing apparatus for arranging input text so as to draw a predetermined trajectory in a document processing apparatus having a chart creating function such as a word processor.

【0002】[0002]

【従来の技術】従来、ワープロ等の文書処理装置には、
図表作成機能が備えられている。図表作成機能として
は、ユーザが指定した複数の図形に対し、その高さを揃
えたり、等間隔に配置するなどの直線的なレイアウトを
行うものであった。
2. Description of the Related Art Conventionally, a document processing apparatus such as a word processor includes:
A chart creation function is provided. The chart creation function has been to perform a linear layout for a plurality of figures specified by the user, such as aligning the heights or arranging the figures at equal intervals.

【0003】複数のテキスト項目を例えば楕円を描くよ
うに曲線的に配置して図表を作成したい場合がある。こ
のような場合、まず作成領域内に楕円を描き、その楕円
上にテキスト項目を一つずつ順次に移動して配置し、最
後に描いた楕円を削除するという方法をとっていた。
In some cases, it is desired to create a chart by arranging a plurality of text items in a curved line so as to draw an ellipse, for example. In such a case, an ellipse is first drawn in the creation area, and text items are sequentially moved and arranged one by one on the ellipse, and the last drawn ellipse is deleted.

【0004】[0004]

【発明が解決しようとする課題】ところが、上記のよう
な作成方法では、楕円上へのテキスト項目の配置を一つ
ずつ手動で行う必要があるため、多くの手順を必要と
し、その作成が大変面倒であった。
However, in the above-described creation method, since it is necessary to manually arrange the text items on the ellipse one by one, many procedures are required, and the creation is very difficult. It was troublesome.

【0005】また、テキスト項目を曲線上に配置して図
表を作成した後に、テキスト項目の追加や削除などによ
りその個数が変更する場合には、テキスト項目を配置す
る作成手順を最初からやり直さなければならなかった。
If the number of text items is changed by adding or deleting text items after arranging the text items on a curve and creating a diagram, the procedure for arranging the text items must be repeated from the beginning. did not become.

【0006】また、この作成手順は手動で行われるた
め、テキスト項目をその曲線上に均等(例えば等間隔)
に配置することはほとんど不可能であった。本発明は上
記問題点を解決するためになされたものでその目的は、
入力された複数のテキスト項目を簡単な操作で曲線を描
くように所定間隔毎に配置することができるレイアウト
処理装置を提供することにある。
Also, since this creation procedure is performed manually, text items are evenly distributed on the curve (for example, at equal intervals).
It was almost impossible to place in. The present invention has been made to solve the above problems, and its purpose is to
An object of the present invention is to provide a layout processing apparatus capable of arranging a plurality of input text items at predetermined intervals so as to draw a curve by a simple operation.

【0007】[0007]

【課題を解決するための手段】請求項1に記載の発明で
は、文字列よりなるテキスト項目を入力する入力手段
と、前記テキスト項目を配置する基準線となる閉曲線の
座標データを記憶する曲線データ記憶手段と、前記テキ
スト項目のうち一つのテキスト項目を前記閉曲線の中心
に配置する前記テキスト項目を収める第1の項目枠の配
置位置を、前記閉曲線の座標データに基づき該閉曲線の
中心として算出する第1の枠位置算出手段と、前記テキ
スト項目のうち前記閉曲線の中心に配置したテキスト項
目以外の前記テキスト項目の個数と前記閉曲線の座標デ
ータとに基づき該閉曲線の中心に配置したテキスト項目
以外のテキスト項目を収める第2の項目枠の該閉曲線上
における配置位置を算出する第2の枠位置算出手段と、
前記第1の枠位置算出手段により算出された配置位置に
配置された前記第1の項目枠と前記第2の枠位置算出手
段により算出した配置位置に配置された前記第2の項目
枠とが各々重ならないように配置可能な枠サイズを算出
する枠サイズ算出手段と、前記枠サイズ算出手段により
算出した枠サイズの前記第1の項目枠及び前記第2の項
目枠を、前記枠位置算出手段により算出した配置位置に
配置するとともに、該前記第1の項目枠及び前記第2の
項目枠に前記テキスト項目を収めた状態で出力する出力
手段とを備えた。
According to the present invention, an input means for inputting a text item consisting of a character string.
And a closed curve serving as a reference line for arranging the text item.
Curve data storage means for storing coordinate data;
One of the text items is the center of the closed curve
Arrangement of the first item frame for containing the text item to be arranged
The position of the closed curve based on the coordinate data of the closed curve.
First frame position calculating means for calculating as a center;
Text item located at the center of the closed curve among the list items
Number of text items other than eyes and coordinate data of the closed curve
Text item placed at the center of the closed curve based on the data
On the closed curve of the second item box that contains text items other than
Second frame position calculating means for calculating the arrangement position in
In the arrangement position calculated by the first frame position calculation means,
The arranged first item frame and the second frame position calculating means
The second item arranged at the arrangement position calculated by the step
Calculate the frame size that can be arranged so that each frame does not overlap
Frame size calculating means, and the frame size calculating means
The first item frame and the second item of the calculated frame size
Move the eye frame to the position calculated by the frame position calculating means.
And the first item frame and the second
Output to output with the text item in the item frame
Means.

【0008】請求項2に記載の発明では、文字列よりな
るテキスト項目を入力する入力手段と、前記テキスト項
目を配置する基準線となる閉曲線の座標データを記憶す
る曲線データ記憶手段と、前記テキスト項目のうち一つ
のテキスト項目を前記閉曲線の中心に配置する前記テキ
スト項目を収める第1の項目枠の配置位置を、前記閉曲
線の座標データに基づき該閉曲線の中心として算出する
第1の枠位置算出手段と、前記テキスト項目のうち前記
閉曲線の中心に配置したテキスト項目以外の前記テキス
ト項目の個数と前記閉曲線の座標データとに基づき該曲
線を該閉曲線の中心に配置したテキスト項目以外のテキ
スト項目の個数で均等に分割した各分割線の両端点をテ
キスト項目のうち前記閉曲線の中心に配置したテキスト
項目以外の前記テキスト項目が収容される第2の項目枠
の配置位置として算出する第2の枠位置算出手段と、前
記第1の枠位置算出手段により算出された配置位置に配
置された前記第1の項目枠と前記第2の枠位置算出手段
により算出した配置位置に配置された前記第2の項目枠
とが各々重ならないように配置可能な枠サイズを算出す
る枠サイズ算出手段と、前記枠サイズ算出手段により算
出した枠サイズの前記第1の項目枠及び前記第2の項目
枠を、前記枠位置算出手段により算出した配置位置に配
置するとともに、該前記第1の項目枠及び前記第2の項
目枠に前記テキスト項目を収めた状態で出力する出力手
段とを備えた。
According to the second aspect of the present invention, the character string
Input means for inputting a text item to be input, and the text item
Store the coordinate data of the closed curve that is the reference line for placing the eyes
Curve data storage means, and one of the text items
The text item to place the text item at the center of the closed curve
The position of the first item frame for storing the
Calculate as the center of the closed curve based on the coordinate data of the line
First frame position calculation means, and the text item
The text other than the text item placed at the center of the closed curve
Based on the number of items and the coordinate data of the closed curve.
Text other than the text item whose line is placed at the center of the closed curve
The end points of each dividing line evenly divided by the number of test items.
Text placed at the center of the closed curve among the text items
A second item frame in which the text item other than the item is accommodated
A second frame position calculating means for calculating as the arrangement position of
The arrangement position is calculated at the arrangement position calculated by the first frame position calculation means.
The first item frame and the second frame position calculating means
The second item frame arranged at the arrangement position calculated by
Calculate the frame size that can be arranged so that each does not overlap
Calculated by the frame size calculating means and the frame size calculating means.
The first item frame and the second item of the issued frame size
The frame is arranged at the arrangement position calculated by the frame position calculating means.
And the first item frame and the second item
An output method that outputs the text item in an eye frame
With steps.

【0009】請求項に記載の発明では、前記枠サイズ
算出手段は、前記閉曲線上に配置される第2の項目枠間
に前記入力手段より入力された最小間隔が確保されるよ
うに枠サイズを算出するようにした。
According to the third aspect of the present invention, the frame size
The calculating means calculates the distance between the second item frames arranged on the closed curve.
The minimum interval input from the input means is secured.
The frame size is now calculated.

【0010】請求項に記載の発明では、前記項目枠に
収められる前記テキスト項目の文字サイズを前記枠サイ
ズに基づき設定する文字サイズ設定手段を備えた。
[0010] In the invention described in claim 4 , the item frame
Change the text size of the text item to be
Character size setting means for setting based on the size.

【0011】[0011]

【0012】[0012]

【0013】[0013]

【0014】[0014]

【作用】請求項1に記載の発明よれば、入力手段より入
力されたテキスト項目のうち一つが閉曲線の中心に配置
されるとともにその残りのテキスト項目が閉曲線上に配
置される。そして、閉曲線の中心に配置されるテキスト
項目を収める第1の項目枠の配置位置が、閉曲線データ
記憶手段に記憶された閉曲線の座標データに基づき第1
の枠位置算出手段により閉曲線の中心として算出され
る。さらに、閉曲線上に配置される閉曲線の中心に配置
したテキスト項目以外のテキスト項目を収める第2の項
目枠の配置位置が、閉曲線データ記憶手段に記憶された
閉曲線の座標データに基づき第2の枠位置算出手段によ
り閉曲線の中心として算出される。第1及び第2の枠位
置算出手段により算出した配置位置で各項目枠が重なら
ないように配置可能な枠サイズが枠サイズ算出手段によ
り算出される。枠サイズ算出手段により算出した枠サイ
ズの各項目枠を、第1及び第2の枠位置算出手段により
算出した配置位置に配置されて各項目枠にテキスト項目
が収められた状態で、閉曲線上に配置される項目枠及び
テキスト項目とともに出力手段により出力される。
According to the first aspect of the present invention, input from the input means.
One of the input text items is centered on the closed curve
And the remaining text items are placed on a closed curve.
Is placed. And the text placed at the center of the closed curve
The layout position of the first item frame that contains the item is the closed curve data
First based on the coordinate data of the closed curve stored in the storage means
Calculated as the center of the closed curve by the frame position calculation means
You. In addition, placed at the center of the closed curve placed on the closed curve
Item that contains text items other than the specified text item
The arrangement position of the eye frame is stored in the closed curve data storage means.
The second frame position calculating means based on the coordinate data of the closed curve.
It is calculated as the center of the closed curve. First and second positions
If each item frame overlaps at the position calculated by the position calculation means
The frame size that can be arranged so that there is no
Is calculated. The frame size calculated by the frame size calculation means
Each of the item frames is closed by the first and second frame position calculating means.
Text item placed in each item frame at the calculated placement position
And the item frame placed on the closed curve with
It is output by the output means together with the text item.

【0015】請求項2に記載の発明よれば、入力手段よ
り入力されたテキスト項目のうち一つが閉曲線の中心に
配置されるとともにその残りのテキスト項目が閉曲線上
に配置される。そして、閉曲線の中心に配置されるテキ
スト項目を収める第1の項目枠の配置位置が、閉曲線デ
ータ記憶手段に記憶された閉曲線の座標データに基づき
第1の枠位置算出手段により閉曲線の中心として算出さ
れる。さらに、閉曲線上に配置される閉曲線の中心に配
置したテキスト項目以外のテキスト項目を収める第2の
項目枠の配置位置が、閉曲線を閉曲線の中心に配置した
テキスト項目以外のテキスト項目の個数で均等に分割し
た各分割線の両端点として算出される。第1及び第2の
枠位置算出手段により算出した配置位置で各項目枠が重
ならないように配置可能な枠サイズが枠サイズ算出手段
により算出される。枠サイズ算出手段により算出した枠
サイズの各項目枠を、第1及び第2の枠位置算出手段に
より算出した配置位置に配置されて各項目枠にテキスト
項目が収められた状態で、閉曲線上に配置される項目枠
及びテキスト項目とともに出力手段により出力される。
According to the second aspect of the present invention, the input means
One of the input text items is at the center of the closed curve
Positioned and its remaining text items are on a closed curve
Placed in And the text placed at the center of the closed curve
The position of the first item frame that contains the
Data based on the closed curve coordinate data stored in the data storage means.
Calculated as the center of the closed curve by the first frame position calculating means.
It is. Furthermore, it is located at the center of the closed curve placed on the closed curve.
Secondary text item other than the placed text item
The position of the item frame is located at the center of the closed curve
Evenly divide by the number of text items other than text items
It is calculated as both end points of each divided line. First and second
Each item frame overlaps at the layout position calculated by the frame position calculation means.
The frame size that can be arranged so that it does not become the frame size calculation means
Is calculated by Frame calculated by frame size calculation means
Each item frame of size is used as the first and second frame position calculating means.
Text in each item frame placed at the calculated position
Item frame placed on a closed curve with items contained
Is output by the output unit together with the text item.

【0016】請求項3に記載の発明よれば、枠サイズ算
出手段により、閉曲線上に配置される各項目枠間に入力
手段より入力された最小間隔が確保されるように枠サイ
ズが算出される。
According to the third aspect of the present invention, the frame size calculation
Input between each item frame arranged on the closed curve by the output means
Frame size so that the minimum interval entered by
Is calculated.

【0017】請求項3に記載の発明よれば、項目枠に収
められるテキスト項目の文字サイズが枠サイズ算出手段
により算出された枠サイズに基づき文字サイズ設定手段
により設定される。
According to the third aspect of the present invention, the items are
Text size of text item to be set is frame size calculation means
Size setting means based on the frame size calculated by
Is set by

【0018】[0018]

【0019】[0019]

【0020】[0020]

【0021】[0021]

【実施例】以下、本発明を具体化した一実施例を図1〜
図7に基づいて説明する。図1はレイアウト処理装置の
構成を示すブロック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will now be described with reference to FIGS.
A description will be given based on FIG. FIG. 1 is a block diagram showing a configuration of the layout processing device.

【0022】入力部1は、マウスやキーボードなどから
構成され、文字データの入力、各種設定データの入力、
各種編集機能の実行を入力するものである。図2はキー
ボートを操作して文字データを入力して作成した文書デ
ータ20の一例を示す。この文書データ20の場合に
は、「ハイテクノロジー」「電機産業」「情報産業」
「バイオ産業」「航空宇宙産業」「軍事産業」「機械産
業」「新素材産業」「エネルギー産業」の9個の各文字
列が各テキスト項目11〜19として作成されている。
The input unit 1 is composed of a mouse, a keyboard, etc., for inputting character data, inputting various setting data,
This is for inputting execution of various editing functions. FIG. 2 shows an example of document data 20 created by operating a keyboard and inputting character data. In the case of this document data 20, "High technology", "Electric industry", "Information industry"
Nine character strings of "biotechnology industry", "aerospace industry", "military industry", "machinery industry", "new material industry", and "energy industry" are created as text items 11 to 19, respectively.

【0023】階層抽出部2は、入力部1より文字データ
として入力された前記テキスト項目11〜19のデータ
から階層情報を抽出する。項目位置計算部3は、入力部
1からの入力データ及び階層抽出部2からの階層情報に
基づいて、各項目11〜19のレイアウト位置および大
きさを算出する。
The hierarchy extracting unit 2 extracts hierarchical information from the data of the text items 11 to 19 input as character data from the input unit 1. The item position calculator 3 calculates the layout position and size of each of the items 11 to 19 based on the input data from the input unit 1 and the hierarchy information from the hierarchy extractor 2.

【0024】判定部4は、隣接する項目11〜19間の
距離が適当であるか、指定された位置・大きさを超えて
項目11〜19が配置されていないか等のレイアウトの
適性を判定する。文字列サイズ計算部5は、指定の文字
ポイント数における文字列の幅・高さを算出したり、逆
に指定の幅・高さに文字列が収まるための最適な文字ポ
イント数を算出する。図形データ生成部6は、項目位置
計算部3により算出された項目11〜19の配置位置、
大きさ、文字ポイント数から、図形データを生成し出力
する。出力された図形データは表示部7でイメージデー
タに変換され、ディスプレイ等の表示装置に表示され
る。表示部7は、CRTディスプレイ又はLCDディス
プレイなどから構成され、その画面上に文書、図表など
の表示画面を出力する。
The determination unit 4 determines the appropriateness of the layout such as whether the distance between the adjacent items 11 to 19 is appropriate, whether the items 11 to 19 are arranged beyond the designated position and size, and the like. I do. The character string size calculator 5 calculates the width and height of the character string at the specified number of character points, and calculates the optimal number of character points for the character string to fit within the specified width and height. The graphic data generation unit 6 determines the arrangement positions of the items 11 to 19 calculated by the item position calculation unit 3,
Generates and outputs graphic data from the size and the number of character points. The output graphic data is converted into image data by the display unit 7 and displayed on a display device such as a display. The display unit 7 includes a CRT display or an LCD display, and outputs a display screen such as a document or a chart on the screen.

【0025】主制御部8はプログラムデータを記憶する
メモリ及びこのプログラムデータに基づき動作する演算
処理装置より構成され、文書処理装置の入出力を制御す
るとともに、入力部1からの指示に応じた各種データ処
理を行う。文書データ記憶部9は入力部1より入力され
た文書データ20及び図表作成時の各種設定データを記
憶するようになっている。図表作成時の各種設定データ
は、文書データ記憶部9に図表データ30として格納さ
れるようになっている。
The main control unit 8 is composed of a memory for storing program data and an arithmetic processing unit that operates based on the program data. The main control unit 8 controls input and output of the document processing device, and performs various operations in response to instructions from the input unit 1. Perform data processing. The document data storage unit 9 stores the document data 20 input from the input unit 1 and various setting data when creating a chart. Various setting data at the time of chart creation are stored in the document data storage unit 9 as chart data 30.

【0026】図4は、図表データ30の構成を説明する
説明図である。図表データ30は、テキスト項目11〜
19を形状配置するか否かを指定するタイプ指定領域3
0a、項目11〜19を形状配置する際の指定図形の形
状データを指定する形状指定領域30b、項目11〜1
9の枠Fとなる図形タイプを指定する項目枠指定領域3
0c、中心配置の有無を指定する中心配置指定領域30
d、隣接する項目11〜19間の間隔を指定する項目間
隔指定領域30e、レイアウト領域の始点HPおよび終
点EP等のレイアウト情報を記憶するレイアウト情報記
憶領域30f、指定図形の傾き等の各種図形の属性を指
定する属性データ記憶領域30g、階層数を記憶する階
層数記憶領域30h、項目11〜19の数を記憶する項
目数記憶領域30i、各項目11〜19のデータが記憶
される項目リスト記憶領域30jで構成されている。
FIG. 4 is an explanatory diagram for explaining the structure of the chart data 30. The chart data 30 includes text items 11 to
Type designation area 3 for designating whether or not to place 19
0a, a shape designation area 30b for designating the shape data of a designated figure when arranging the items 11 to 19, and the items 11 to 1
Item frame designation area 3 for designating a figure type to be frame F of 9
0c, center arrangement designation area 30 for designating presence / absence of center arrangement
d, an item interval designation area 30e for designating an interval between adjacent items 11 to 19, a layout information storage area 30f for storing layout information such as a start point HP and an end point EP of the layout area, and various figures such as inclination of the designated figure. An attribute data storage area 30g for specifying an attribute, a hierarchy number storage area 30h for storing the number of layers, an item number storage area 30i for storing the number of items 11 to 19, and an item list storage for storing data of each of the items 11 to 19 It is composed of a region 30j.

【0027】項目リスト記憶領域30jは、個々のテキ
スト項目11〜19の図形データGD1〜GD9がリス
ト状に格納されており、自身のデータ、次のデータを示
すアドレス、次のデータの階層が設定される。
The item list storage area 30j stores the graphic data GD1 to GD9 of the individual text items 11 to 19 in a list form, and sets its own data, an address indicating the next data, and a hierarchy of the next data. Is done.

【0028】図表データ辞書部10は複数の図表及び図
表に関するデータを記憶しており、この図表データ辞書
部10に記憶されたデータにより図表データ30中の形
状指定領域30bに記憶される形状データが設定される
ようになっている。
The chart data dictionary section 10 stores a plurality of charts and data relating to the charts. The data stored in the chart data dictionary section 10 allows the shape data stored in the shape designation area 30b in the chart data 30 to be stored. It is to be set.

【0029】次に、図3に示す楕円軌跡L1の中心位置
Cに「ハイテクノロジー」のテキスト項目11を、楕円
軌跡L1上に「電機産業」「情報産業」「バイオ産業」
「航空宇宙産業」「軍事産業」「機械産業」「新素材産
業」「エネルギー産業」の各テキスト項目12〜19を
それぞれ円形の枠Fで囲まれて配置される図表G1を作
成する場合を例にして説明する。
Next, the text item 11 of "high technology" is placed at the center position C of the elliptical locus L1 shown in FIG.
Example of creating a chart G1 in which the text items 12 to 19 of "aerospace industry", "military industry", "machinery industry", "new material industry", and "energy industry" are respectively surrounded by a circular frame F This will be explained.

【0030】まず、図2に示すように、入力部1のキー
ボードを操作して各テキスト項目11〜19を入力して
文書データ20を作成する。すなわち、図3において、
中心位置Cに配置したいテキスト項目11(「ハイテク
ノロジー」)を1行目に入力し、2行目以降に楕円軌跡
L1上に配置したい「電機産業」「情報産業」「バイオ
産業」「航空宇宙産業」「軍事産業」「機械産業」「新
素材産業」「エネルギー産業」の各テキスト項目12〜
19を順次に入力する。
First, as shown in FIG. 2, the keyboard of the input unit 1 is operated to input each of the text items 11 to 19 to create document data 20. That is, in FIG.
The text item 11 (“high technology”) to be arranged at the center position C is input on the first line, and the “electrical industry”, “information industry”, “bio industry”, “aerospace” to be arranged on the elliptical locus L1 from the second line onward Text items of industry, military industry, machinery industry, new material industry, and energy industry
19 are sequentially input.

【0031】次に自動図表生成キーを選択すると、まず
表示部7の画面上に図表の種類がメニュー表示される。
ユーザはそのメニューから作成したい図3の楕円図表G
1を選択する。次に画面上に設定データの入力を要求す
る画面が表示される。ユーザはこの画面で形状、中心配
置の有無、項目間隔、作成領域サイズ、楕円の回転配置
角などの設定データを入力設定する。作成領域サイズは
その矩形領域の左上位置と右下位置をそれぞれ始点HP
の座標及び終点EPの座標として設定する。
Next, when the automatic chart generation key is selected, the type of chart is displayed on the screen of the display unit 7 as a menu.
The user wants to create the ellipse chart G in FIG. 3 from the menu.
Select 1. Next, a screen for requesting input of setting data is displayed on the screen. On this screen, the user inputs and sets setting data such as the shape, the presence or absence of the center arrangement, the item interval, the size of the creation area, and the rotation arrangement angle of the ellipse. The size of the creation area is determined by setting the upper left position and the lower right position of the rectangular area as the starting point HP.
And the coordinates of the end point EP.

【0032】本実施例では、図3の楕円図表G1を作成
するので、ユーザは形状に「楕円」を選択するととも
に、テキスト項目11〜19の枠Fを円形と選択し入力
する。従って、図表データ30において、図4に示すよ
うに形状指定領域30bには楕円データが、項目枠指定
領域30cには円のデータが記憶される。また、図表デ
ータ30中のタイプ指定領域30aは、メニュー画面で
「楕円図表G1」を選択入力したとき、「形状配置」が
設定される。
In this embodiment, since the ellipse chart G1 shown in FIG. 3 is created, the user selects "ellipse" as the shape and selects and inputs the frame F of the text items 11 to 19 as a circle. Therefore, in the chart data 30, as shown in FIG. 4, elliptical data is stored in the shape designation area 30b, and circle data is stored in the item frame designation area 30c. In the type designation area 30a in the chart data 30, "shape arrangement" is set when "elliptical chart G1" is selected and input on the menu screen.

【0033】また、「ハイテクノロジー」のテキスト項
目11を中心配置したいので中心配置に「する」を設定
し、各テキスト項目11〜19の枠Fの間隔に距離5mm
を確保したいので項目間隔に「5mm」を入力設定する。
また、作成領域サイズの始点HPの座標(x1,y
1),終点EPの座標(x2,y2)を入力設定する。
そして、これらの入力設定は入力部1を介して行われ、
設定データは前記と同様に文書データ記憶部9にある図
表データ30の各記憶領域30d〜30fに格納され
る。
Since it is desired to arrange the text item 11 of "high technology" at the center, "Yes" is set for the center position, and the distance between the frames F of the text items 11 to 19 is 5 mm.
Enter "5mm" for the item interval.
Also, the coordinates (x1, y) of the start point HP of the creation area size
1) Input and set the coordinates (x2, y2) of the end point EP.
Then, these input settings are performed via the input unit 1,
The setting data is stored in each of the storage areas 30d to 30f of the chart data 30 in the document data storage unit 9 as described above.

【0034】設定データの入力が全て完了すると、実行
キーを押す。この実行により文書処理装置の主制御部8
は階層抽出部2を起動させるとともに、文書データ記憶
部9からテキスト項目11〜19の文書データ20を読
出す。階層抽出部2で文書データから階層情報が抽出さ
れる。各テキスト項目11〜19の階層は、文書データ
20の各テキスト項目11〜19の字下げにより判定さ
れる。本実施例では各テキスト項目11〜19のスター
トカラムが全て同じであるので、階層数「1」と判定す
る。この階層数「1」は項目数「9」とともに文書デー
タ記憶部9に格納されている図表データ30の記憶領域
30h,30iにそれぞれ記憶される。項目数はその階
層に属するテキスト項目11〜19の個数であり、本実
施例では階層「1」なので全テキスト項目の個数に一致
する。
When all the input of the setting data is completed, the execution key is pressed. By this execution, the main control unit 8 of the document processing apparatus
Activates the hierarchy extraction unit 2 and reads out the document data 20 of the text items 11 to 19 from the document data storage unit 9. Hierarchical information is extracted from the document data by the hierarchical extraction unit 2. The hierarchy of each of the text items 11 to 19 is determined by the indentation of each of the text items 11 to 19 of the document data 20. In this embodiment, since the start columns of the text items 11 to 19 are all the same, it is determined that the number of layers is “1”. The number of layers "1" is stored in the storage areas 30h and 30i of the chart data 30 stored in the document data storage unit 9 together with the number of items "9". The number of items is the number of text items 11 to 19 belonging to the hierarchy. In this embodiment, the number of items matches the number of all text items because the hierarchy is “1”.

【0035】また、図表データ30の項目リスト記憶領
域30jには、項目数「9」と同数の図形データGD1 〜
GD9 が生成される。図形データGD1 〜GD9 には「ハイテ
クノロジー」「電機産業」「情報産業」「バイオ産業」
「航空宇宙産業」「軍事産業」「機械産業」「新素材産
業」「エネルギー産業」の各テキスト項目11〜19の
データがそれぞれ割り当てられる。
The item list storage area 30j of the chart data 30 has the same number of graphic data GD1 to GD1 to
GD9 is generated. Graphic data GD1 to GD9 include “High technology”, “Electrical industry”, “Information industry”, “Bio industry”
Data of text items 11 to 19 of “aerospace industry”, “military industry”, “machinery industry”, “new material industry”, and “energy industry” are respectively assigned.

【0036】文書データ20からの階層情報の抽出処理
が終了すると、文書処理装置の主制御部8は、図5にフ
ローチャートで示す図形データ作成処理を実行する。ま
ず、主制御部8は項目位置計算部3を起動させる。
When the process of extracting the hierarchy information from the document data 20 is completed, the main control unit 8 of the document processing device executes the graphic data creation process shown in the flowchart of FIG. First, the main controller 8 activates the item position calculator 3.

【0037】ステップS1では、文書データ記憶部9か
ら図表データ30を読出し、図表データ30中の楕円デ
ータと始点HP(x1,y1),終点EP(x2,y
2)とに基づき楕円の中心座標(中心位置)C(xC
C )、楕円の方程式(指定された作成領域サイズに対
応する楕円上の点の座標を算出するための式)、および
楕円の周長Lを算出する。
In step S1, the chart data 30 is read from the document data storage section 9, and the ellipse data in the chart data 30, the start point HP (x1, y1), and the end point EP (x2, y) are read.
2), the center coordinates (center position) C (x C ,
y C ), the equation of the ellipse (the equation for calculating the coordinates of the point on the ellipse corresponding to the designated creation area size), and the circumference L of the ellipse are calculated.

【0038】ステップS2では、図表データ30の中心
配置指定領域30dのデータに基づき楕円の中心位置C
にテキスト項目を配置するか否かを判断する。中心配置
データに「する」が設定されている場合にはステップS
3に移行し、「しない」が設定されている場合にはステ
ップS4に移行する。本実施例では「する」が設定され
ているので、ステップS3に移行する。
In step S2, the center position C of the ellipse is determined based on the data of the center position designation area 30d of the chart data 30.
It is determined whether or not a text item is to be arranged. If “Yes” is set in the center location data, step S
The process proceeds to step S3, and if "NO" is set, the process proceeds to step S4. In this embodiment, since “Yes” is set, the process proceeds to step S3.

【0039】ステップS3では、項目リスト記憶領域3
0jの一番目( アドレス番号「1」)の図形データGD1
における枠Fの中心位置を指定する記憶領域に楕円の中
心座標C(xC ,yC )を書き込む。
In step S3, the item list storage area 3
The first (address number "1") graphic data GD1 of 0j
Written into the storage area to specify the center position of the frame F center coordinates C (x C, y C) of the ellipse of the.

【0040】ステップS4では、楕円軌跡L1上に配置
するテキスト項目12〜19の枠Fの中心位置を算出す
る。まず楕円の周長Lをその楕円上に配置するテキスト
項目12〜19の個数n(本実施例ではn=8)で割っ
た値s=L/nを算出する。そして、楕円軌跡L1上の
テキスト項目12〜19の個数に応じてその個数毎に設
定された起点(x1 ,y1 )(本例では図3における
「電機産業」の枠中心)から図3の時計回り方向に、楕
円の周上を道のりs(=L/n)ずつ移動していった各
点の座標(x2 ,y2 ),(x3 ,y3 ),…,
(x8 ,y8 )を楕円データの楕円方程式を用いて算出
する。座標(x1 ,y1 ),(x2 ,y2 ),…,(x
8 ,y8 )をアドレス番号「2」〜「9」の図形データ
GD2 〜GD9 における枠中心位置を指定する記憶領域に書
き込む。尚、前記起点(x1 ,y1 )の設定及び時計回
り方向の道のりの設定は、予め属性データ記憶領域30
gに記憶されている。
In step S4, the center position of the frame F of the text items 12 to 19 to be arranged on the elliptical locus L1 is calculated. First, a value s = L / n is calculated by dividing the perimeter L of the ellipse by the number n (n = 8 in the present embodiment) of the text items 12 to 19 arranged on the ellipse. Then, according to the number of the text items 12 to 19 on the elliptical locus L1, the starting point (x 1 , y 1 ) (in this example, the center of the frame of “Electric Industry” in FIG. 3) is set from FIG. , The coordinates (x 2 , y 2 ), (x 3 , y 3 ),..., Of each point moving along the circumference of the ellipse in the clockwise direction by s (= L / n).
(X 8 , y 8 ) is calculated using the elliptic equation of the elliptic data. Coordinates (x 1 , y 1 ), (x 2 , y 2 ), ..., (x
8 , y 8 ) is the graphic data of address numbers “2” to “9”
Write to the storage area that specifies the frame center position in GD2 to GD9. The setting of the starting point (x 1 , y 1 ) and the setting of the clockwise direction are performed in advance in the attribute data storage area 30.
g.

【0041】ステップS5では、各テキスト項目11〜
19の枠サイズr1 ,r2 を算出する。図6,図7に枠
サイズの算出方法の一例を、項目枠Fが「円」の場合と
「正方形」の場合についてそれぞれ示す。
In step S5, each of the text items 11 to
The 19 frame sizes r1 and r2 are calculated. 6 and 7 show an example of a method of calculating the frame size when the item frame F is “circle” and “square”, respectively.

【0042】図6に示すように、項目枠Fが「円」の場
合、二つの隣接する項目枠FA , FB 間に確保する間隔
gと、二つの項目枠FA , FB の中心間距離D[A,
B]とを用いて、項目枠となる円の最大半径r[A,
B]は次式より計算される。
As shown in FIG. 6, when the item frame F is a "circle", an interval g to be secured between two adjacent item frames FA and FB, and a distance D between the centers of the two item frames FA and FB [ A,
B] and the maximum radius r [A,
B] is calculated by the following equation.

【0043】 r[A,B]=(D[A,B]−g)/2 …(1) なお、間隔gは図表データ30中の項目間隔指定領域3
0eに記憶された項目間隔データより与えられる。全て
の二項目枠F間に対して最大半径r[A,B]を求め、
その中で最も小さい値を項目枠Fの半径r2 とする。
R [A, B] = (D [A, B] −g) / 2 (1) The interval g is an item interval designation area 3 in the chart data 30.
It is given from the item interval data stored in 0e. The maximum radius r [A, B] is obtained for all the two item frames F,
The smallest value among them is the radius r2 of the item frame F.

【0044】図7に示すように、項目枠が「正方形」の
場合、二つの隣接する項目枠FA ,FB 間に確保する間
隔gと、二つの項目枠FA , FB の中心間のX方向にお
ける距離W[A,B]とY方向における距離H[A,
B]のうち大きい方をD[A,B](図7の例ではD
[A,B]=W[A,B])とすると、項目枠となる正
方形の最大の一辺長r[A,B]は次式より計算され
る。
As shown in FIG. 7, when the item frame is a "square", an interval g between two adjacent item frames FA and FB and an X direction between the centers of the two item frames FA and FB are determined. The distance W [A, B] and the distance H [A,
B] is larger than D [A, B] (in the example of FIG.
[A, B] = W [A, B]), the maximum side length r [A, B] of the square serving as the item frame is calculated by the following equation.

【0045】 r[A,B]=D[A,B]−g …(2) 全ての二項目枠間に対して最大一辺長r[A,B]を求
め、その中で最も小さい値を項目枠Fの一辺長r2 とす
る。
R [A, B] = D [A, B] −g (2) The maximum one-side length r [A, B] is obtained between all the two item frames, and the smallest value is determined. One side length r2 of the item frame F is set.

【0046】こうして算出した半径(又は一辺長)r2
は、各図形データGD2 〜GD9 の枠サイズを指定する記憶
領域に書き込まれる。また、中心位置Cに配置される項
目枠の枠サイズr1 は、例えば中心配置される項目枠F
と楕円軌跡L1上の各項目枠F間とで(1)又は(2)
式の計算を行い、同様に各計算結果のうち最小値r1 を
中心配置される項目枠Fの枠サイズとする。この場合、
間隔gは楕円軌跡L1上のテキスト項目の枠サイズを算
出するときの値と異なる値を設定してもよい。この最小
値r1 は図形データGD1 の枠サイズを指定する記憶領域
に書き込まれる。
The radius (or one side length) r2 calculated in this way
Is written to a storage area for specifying the frame size of each of the graphic data GD2 to GD9. Further, the frame size r1 of the item frame arranged at the center position C is, for example, the item frame F arranged at the center.
(1) or (2) between each item frame F on the elliptical locus L1
The formula is calculated, and the minimum value r1 of the calculation results is set as the frame size of the item frame F to be centrally arranged. in this case,
The interval g may be set to a value different from the value used when calculating the frame size of the text item on the elliptical locus L1. This minimum value r1 is written to a storage area for specifying the frame size of the graphic data GD1.

【0047】ステップS6では、文字列サイズ計算部5
を起動させ、ステップS5で算出した枠サイズr1 (又
はr2 )の項目枠F内に各テキスト項目11〜19が収
まるようにその文字列の行数及び文字ポイント数を算出
する。行数はテキスト項目11〜19の文字数から算出
し、例えば1行内に収める文字数を予め設定しておく。
本例では1行内に収める文字数が5文字に設定してあ
る。また、文字ポイントは各項目枠のサイズに合うよう
に、枠サイズr1 (又はr2 )に基づき算出する。文字
間ピッチは例えば文字ポイントに応じて予め設定してあ
る。
In step S6, the character string size calculation unit 5
Is activated, and the number of lines and the number of character points of the character string are calculated so that each of the text items 11 to 19 falls within the item frame F of the frame size r1 (or r2) calculated in step S5. The number of lines is calculated from the number of characters of the text items 11 to 19, and for example, the number of characters to be included in one line is set in advance.
In this example, the number of characters to be accommodated in one line is set to 5 characters. The character point is calculated based on the frame size r1 (or r2) so as to match the size of each item frame. The pitch between characters is set in advance according to, for example, character points.

【0048】こうして行数と文字ポイントを算出する
と、テキスト項目11〜19が項目枠F内に収まるか否
かを判断する。項目枠Fが「正方形」などの矩形状であ
れば項目枠Fのx方向(横方向)の幅とテキスト項目1
1〜19の1行当たりの長さとを比較し、その1行当た
りの長さが項目枠Fの幅(x方向)から所定値(枠とテ
キスト項目間のスペース)を引いた長さ以下であればそ
の文字ポイントを決定する。1行当たりの長さが項目枠
の幅(x方向)から前記所定値を引いた長さより大きけ
れば一つ小さい文字ポイントに下げ、同様の判断処理を
その条件を満たす文字ポイントが決定するまで繰り返
す。この判断処理は判定部4により行われる。また、項
目枠Fが「円」の場合は、行数及びそのときの文字ポイ
ントにより決まる高さ(y方向)を有し、かつ項目枠F
の円に内接する矩形領域に対して同様の処理を行って、
文字ポイントを決定する。
When the number of lines and character points are calculated in this way, it is determined whether or not the text items 11 to 19 fall within the item frame F. If the item frame F is a rectangular shape such as “square”, the width of the item frame F in the x direction (horizontal direction) and the text item 1
The length of each line is compared with the length of one to 19, and the length per line is equal to or less than the length obtained by subtracting a predetermined value (the space between the frame and the text item) from the width of the item frame F (x direction). If so, determine the character point. If the length per line is larger than the length obtained by subtracting the predetermined value from the width of the item box (x direction), the character point is reduced to one smaller character point, and the same determination processing is repeated until a character point satisfying the condition is determined. . This determination process is performed by the determination unit 4. When the item frame F is “circle”, it has a height (y direction) determined by the number of lines and the character point at that time, and the item frame F
Perform the same process on the rectangular area inscribed in the circle of
Determine the character point.

【0049】この処理は各テキスト項目11〜19に対
して行われ、各テキスト項目11〜19毎に決定された
文字ポイントのうち最も小さなものを判定部4により選
定する。そして、このステップ処理で決定した行数、文
字ポイント及び文字間ピッチを各図形データGD1 〜GD9
の指定の記憶領域にそれぞれ書き込み、この図形データ
作成処理を終了する。
This processing is performed on each of the text items 11 to 19, and the smallest one of the character points determined for each of the text items 11 to 19 is selected by the determination unit 4. Then, the number of lines, character points, and pitch between characters determined in this step processing are represented by the respective graphic data GD1 to GD9.
Are written into the designated storage areas, respectively, and the graphic data creation processing ends.

【0050】次に、主制御部8は図形データ生成部6を
起動させ、図形データ作成処理により作成した図表デー
タ30を読出し、イメージデータに変換して表示部7の
画面上に出力する。まず、図表データ30中の図形デー
タGD1 〜GD9 から各枠データを取得し、表示部7の画面
上に項目枠Fだけを全て出力する。次に、表示部7の画
面上の各項目枠Fにテキスト項目11〜19を順次に入
れていく。
Next, the main controller 8 activates the graphic data generator 6, reads out the chart data 30 created by the graphic data creation process, converts it into image data, and outputs it to the screen of the display unit 7. First, each frame data is obtained from the graphic data GD1 to GD9 in the chart data 30, and only the item frame F is entirely output on the screen of the display unit 7. Next, text items 11 to 19 are sequentially placed in each item frame F on the screen of the display unit 7.

【0051】本例ではテキスト項目11〜19を入れる
順番が項目枠F毎に設定されている。すなわち、まず1
番目に中心配置された項目枠Fにテキスト項目11を入
れ、2番目に中心配置の項目枠Fに対して図3における
真上もしくは真上より右方向に位置する項目枠Fに「電
機産業」のテキスト項目12を入れ、以下順次に楕円軌
跡L1上を図3の時計回り方向の順番で各項目枠Fにテ
キスト項目13〜19を入れていくように設定されてい
る。
In this example, the order in which the text items 11 to 19 are inserted is set for each item frame F. That is, first
The text item 11 is placed in the item frame F placed at the center in the second position, and “Electric industry” is placed in the item frame F located directly above or rightward from the position directly above in FIG. Are set in such a manner that text items 13 to 19 are sequentially inserted into each item frame F on the elliptical locus L1 in the clockwise direction in FIG.

【0052】まず最初にアドレス番号「1」のテキスト
「ハイテクノロジー」を、1番目の項目枠Fすなわち中
心配置の項目枠Fに、指定された行数「2」でその項目
枠サイズに合う文字ポイントP1及び文字ピッチQ1で入れ
る。次に、そのアドレス番号「1」の図形データGD1 中
の次項目アドレス番号に基づき2番目の項目枠Fに入れ
るテキスト項目を求める。次項目アドレス番号が「2」
であるので、アドレス番号「2」の「電機産業」のテキ
スト項目12を2番目の項目枠Fに入れる。以下、同様
の手順で楕円軌跡L1上の各項目枠Fに、指定アドレス
先のテキスト項目を指定された行数でその項目枠Fに合
う文字ポイントP2及び文字ピッチQ2で入れていく。その
結果、図3に示す楕円図表G1が表示部7の画面上に指
定された作成領域サイズで出力される。ところで、図3
では楕円軌跡L1が破線で描かれているが、この楕円軌
跡L1は実際の画面に表示してもよいし、表示しなくて
もよい。
First, the text "high technology" of the address number "1" is added to the first item box F, that is, the item box F of the center arrangement, with the specified number of lines "2" and the character that matches the item box size. Enter at point P1 and character pitch Q1. Next, a text item to be put in the second item box F is determined based on the next item address number in the graphic data GD1 of the address number "1". The next item address number is "2"
Therefore, the text item 12 of “Electric Industry” with the address number “2” is put in the second item box F. Hereinafter, in the same procedure, the text item at the designated address is entered into each item frame F on the elliptical locus L1 by the designated number of lines at the character point P2 and the character pitch Q2 that match the item frame F. As a result, the ellipse chart G1 shown in FIG. 3 is output on the screen of the display unit 7 with the specified creation area size. By the way, FIG.
In the figure, the elliptical locus L1 is drawn by a broken line, but the elliptical locus L1 may or may not be displayed on an actual screen.

【0053】一度レイアウト処理を行った後にテキスト
項目の追加あるいは削除などによりレイアウトを更新す
る場合も上記した同様の手順で処理が実行される。即
ち、ユーザは図2に示す文書データ20に追加あるいは
削除などの変更を加え、再度自動図表生成キーを押すだ
けで、変更後の楕円図表G1が画面上に作成される。
When the layout is updated by adding or deleting a text item after the layout processing has been performed, the processing is executed in the same procedure as described above. That is, the user makes a change, such as addition or deletion, to the document data 20 shown in FIG. 2 and simply presses the automatic chart generation key again, whereby the changed elliptical chart G1 is created on the screen.

【0054】なお、上記実施例は発明の趣旨を逸脱しな
い範囲で次のように変更できる。 (1)図8に示すように、指定図形である楕円軌跡L1
上に配置される各テキスト項目11〜19のサイズをそ
れぞれ異なるサイズでレイアウトしてもよい。図8では
楕円図表G1に遠近感がでるように、楕円軌跡L1上の
各テキスト項目12〜19のサイズが上方から下方へ向
かうほど大きく設定されている。この場合、図表データ
30の属性データ記憶領域30gに「遠近感」の情報と
して、枠サイズの位置に応じた縮小・拡大の倍率データ
を設定しておき、この倍率データに基づき項目枠Fの枠
サイズr1 ,r2 を拡大・縮小させればよい。このと
き、間隔gを無視して項目枠Fの拡大を行う。例えば、
楕円軌跡L1の中心位置Cを原点として遠近感の奥行き
方向にx軸を座標変換し、そのときの各項目枠Fの中心
のx座標値が正に大きいものほど枠サイズを縮小(又は
拡大)し、そのx座標値が負に大きいものほど枠サイズ
を拡大(又は縮小)すればよい。 (2)図9に示すように、楕円や円などの閉じた曲線で
はなく、開いた曲線L2を軌跡線してテキスト項目と枠
Fを配置した図表G1を作成してもよい。この場合、開
いた曲線L2を(テキスト項目の個数−1)等分に分割
し、各分割点及び曲線L2の両端点を項目枠Fの中心座
標として算出すればよい。また、開いた曲線L2の形状
も図9の形状に限定されない。例えば開いた曲線L2を
遠近感をもって奥行き側から手前方向に波を打って延び
る曲線とし、その曲線軌跡上にその遠近感に合わせてテ
キスト項目サイズ(項目枠サイズ、文字サイズ)を設定
してもよい。 (3)楕円軌跡上の項目枠の中心点を楕円上に均等に設
定したが、均等でなく予め設定した比率の間隔に設定し
てもよい。
The above embodiment can be modified as follows without departing from the spirit of the invention. (1) As shown in FIG. 8, an elliptical locus L1 which is a designated figure
The size of each of the text items 11 to 19 arranged above may be laid out in different sizes. In FIG. 8, the size of each of the text items 12 to 19 on the elliptical locus L1 is set to be larger from the upper side to the lower side so that the ellipse chart G1 has a perspective. In this case, reduction / enlargement magnification data corresponding to the position of the frame size is set in the attribute data storage area 30g of the chart data 30 as information on “perspective”, and the frame of the item frame F is set based on the magnification data. What is necessary is just to enlarge / reduce the sizes r1 and r2. At this time, the item frame F is enlarged ignoring the interval g. For example,
The x-axis is coordinate-transformed in the depth direction of the perspective with the center position C of the elliptical locus L1 as the origin, and the frame size is reduced (or enlarged) as the x-coordinate value of the center of each item frame F at that time becomes larger. Then, the frame size may be increased (or reduced) as the x-coordinate value is larger negatively. (2) As shown in FIG. 9, a chart G1 in which a text item and a frame F are arranged by tracing an open curve L2 instead of a closed curve such as an ellipse or a circle may be created. In this case, the opened curve L2 may be equally divided into (the number of text items-1), and each division point and both end points of the curve L2 may be calculated as the center coordinates of the item frame F. Further, the shape of the open curve L2 is not limited to the shape of FIG. For example, even if the opened curve L2 is a curve extending by waving from the depth side to the near side with a sense of perspective, the text item size (item frame size, character size) is set on the curve locus according to the sense of perspective. Good. (3) Although the center points of the item frames on the ellipse locus are set uniformly on the ellipse, they may be set not at equal intervals but at predetermined intervals.

【0055】[0055]

【0056】[0056]

【発明の効果】本発明のよれば、閉曲線の曲線上に入力
されたテキスト項目を所定間隔毎に配置できるととも
に、その閉曲線の中心にもテキスト項目を配置すること
ができる。また、枠サイズ算出手段に、枠位置算出手段
により算出された配置位置に応じて枠サイズを算出させ
ることにより、遠近感のあるレイアウトが可能となる。
また、曲線上に配置される各項目枠間に入力手段より入
力設定した最小間隔を確保することができる。また、項
目枠に収められるテキスト項目に対して枠サイズに応じ
た文字サイズを設定することができる。
According to the present invention, an input is performed on a closed curve.
Text items can be placed at predetermined intervals
And also place a text item at the center of the closed curve
Can be. Also, the frame size calculating means may include a frame position calculating means.
To calculate the frame size according to the arrangement position calculated by
This enables a layout with a perspective.
Also, input between the item frames arranged on the curve by the input means.
The minimum interval set by force can be secured. Also,
Depending on the frame size for text items that fit in the eye frame
Character size can be set.

【0057】[0057]

【0058】[0058]

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

【図1】本発明を具体化した文書処理装置の構成のブロ
ック図である。
FIG. 1 is a block diagram of a configuration of a document processing apparatus embodying the present invention.

【図2】テキスト文書を示す説明図である。FIG. 2 is an explanatory diagram showing a text document.

【図3】楕円図表のレイアウト図である。FIG. 3 is a layout diagram of an ellipse chart.

【図4】図表データの説明図である。FIG. 4 is an explanatory diagram of chart data.

【図5】図形データ作成処理を示すフローチャートであ
る。
FIG. 5 is a flowchart illustrating a graphic data creation process.

【図6】項目枠サイズの算出方法を説明するための説明
図である。
FIG. 6 is an explanatory diagram for explaining a method of calculating an item frame size.

【図7】同じく項目枠サイズの算出方法を説明するため
の説明図である。
FIG. 7 is an explanatory diagram for explaining a method of calculating an item frame size.

【図8】別例の楕円図表のレイアウト図である。FIG. 8 is a layout diagram of another example of an ellipse chart.

【図9】別例の図表のレイアウト図である。FIG. 9 is a layout diagram of another example chart.

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

1…入力手段としての入力部 3…枠サイズ算出手段を構成し、配置位置算出手段とし
ての項目位置計算部 4…枠位置算出手段を構成する判定部 5…文字サイズ設定手段としての文字列サイズ計算部 6…出力手段を構成する図形データ生成部 7…出力手段を構成する表示部 10…曲線データ記憶手段としての図表データ辞書部 11〜19…テキスト項目 L1,L2…曲線 F…項目枠
DESCRIPTION OF SYMBOLS 1 ... Input part as input means 3 ... Item position calculation part which comprises frame size calculation means, and arrangement position calculation means 4 ... Judgment part which comprises frame position calculation means 5 ... Character string size as character size setting means Calculation unit 6 Graphic data generation unit constituting output means 7 Display unit constituting output means 10 Diagram data dictionary unit as curve data storage means 11 to 19 Text items L1, L2 ... Curve F ... Item frame

───────────────────────────────────────────────────── フロントページの続き (72)発明者 筈井 隆史 大阪府守口市京阪本通2丁目5番5号 三洋電機株式会社内 (56)参考文献 特開 平5−269956(JP,A) 特開 昭63−199642(JP,A) 特開 平6−161728(JP,A) 特開 平4−23081(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 17/21 536 G06T 11/60 100 G06T 11/80 特許ファイル(PATOLIS)──────────────────────────────────────────────────続 き Continuation of the front page (72) Inventor Takashi Kazui 2-5-1-5 Keihanhondori, Moriguchi-shi, Osaka Sanyo Electric Co., Ltd. (56) References JP-A-5-269956 (JP, A) JP-A-63-199642 (JP, A) JP-A-6-161728 (JP, A) JP-A-4-23081 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 17 / 21 536 G06T 11/60 100 G06T 11/80 Patent file (PATOLIS)

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 文字列よりなるテキスト項目(11〜1
9)を入力する入力手段(1)と、 前記テキスト項目(11〜19)を配置する基準線とな
る閉曲線(L1,L2)の座標データを記憶する曲線デ
ータ記憶手段(10)と、 前記テキスト項目(11〜19)のうち一つのテキスト
項目(11)を前記閉曲線(L1)の中心(C)に配置
する前記テキスト項目(11)を収める第1の項目枠
(F)の配置位置を、前記閉曲線(L1)の座標データ
に基づき該閉曲線(L1)の中心(C)として算出する
第1の枠位置算出手段(3)と、 前記テキスト項目(11〜19)のうち前記閉曲線(L
1)の中心(C)に配置したテキスト項目(11)以外
の前記テキスト項目(12〜19)の個数と前記閉曲線
(L1,L2)の座標データとに基づき該閉曲線(L
1)の中心(C)に配置したテキスト項目(11)以外
のテキスト項目(12〜19)を収める第2の項目枠
(F)の該閉曲線(L1,L2)上における配置位置を
算出する第2の枠位置算出手段(3)と、 前記第1の枠位置算出手段(3)により算出された配置
位置に配置された前記第1の項目枠(F)と前記第2の
枠位置算出手段(3)により算出した配置位置に配置さ
れた前記第2の項目枠(F)とが各々重ならないように
配置可能な枠サイズを算出する枠サイズ算出手段(3,
4)と、 前記枠サイズ算出手段(3,4)により算出した枠サイ
ズの前記第1の項目枠(F)及び前記第2の項目枠
(F)を、前記枠位置算出手段(3)により算出した配
置位置に配置するとともに、該前記第1の項目枠(F)
及び前記第2の項目枠(F)に前記テキスト項目(11
〜19)を収めた状態で出力する出力手段(6,7)と
を備えたレイアウト処理装置。
1. A text item ( 11 to 1) consisting of a character string.
9), and a reference line for arranging the text items (11 to 19).
Curve data storing coordinate data of closed curves (L1, L2)
Data storage means (10) and one of the text items (11-19)
Item (11) is placed at the center (C) of the closed curve (L1)
Item frame for storing the text item (11)
The arrangement position of (F) is represented by coordinate data of the closed curve (L1).
Is calculated as the center (C) of the closed curve (L1) based on
A first frame position calculating means (3) and the closed curve (L) of the text items (11 to 19);
Other than text item (11) placed at the center (C) of 1)
Of the text items (12 to 19) and the closed curve
Based on the coordinate data of (L1, L2), the closed curve (L
Other than text item (11) placed at the center (C) of 1)
Item frame for storing text items (12 to 19)
(F) is the arrangement position on the closed curve (L1, L2).
The second frame position calculation means (3) to be calculated and the arrangement calculated by the first frame position calculation means (3)
Position of the first item frame (F) and the second item frame
It is arranged at the arrangement position calculated by the frame position calculation means (3).
So that the second item frame (F) does not overlap each other.
Frame size calculation means (3,
4) and the frame size calculated by the frame size calculation means (3, 4).
The first item frame (F) and the second item frame
(F) is the distribution calculated by the frame position calculation means (3).
And the first item frame (F)
And the text item (11) in the second item frame (F).
(19) A layout processing device comprising: an output unit (6, 7) for outputting the stored data.
【請求項2】 文字列よりなるテキスト項目(11〜1
9)を入力する入力手段(1)と、 前記テキスト項目(11〜19)を配置する基準線とな
る閉曲線(L1,L2)の座標データを記憶する曲線デ
ータ記憶手段(10)と、 前記テキスト項目(11〜19)のうち一つのテキスト
項目(11)を前記閉曲線(L1)の中心(C)に配置
する前記テキスト項目(11)を収める第1の項目枠
(F)の配置位置を、前記閉曲線(L1)の座標データ
に基づき該閉曲線(L1)の中心(C)として算出する
第1の枠位置算出手段(3)と、 前記テキスト項目(11〜19)のうち前記閉曲線(L
1)の中心(C)に配置したテキスト項目(11)以外
の前記テキスト項目(12〜19)の個数と前記閉曲線
(L1)の座標データとに基づき該曲線(L1,L2)
を該閉曲線(L1)の中心(C)に配置したテキスト項
目(11)以外のテキスト項目(12〜19)の個数で
均等に分割した各分割線の両端点をテキスト項目(11
〜19)のうち前記閉曲線(L1)の中心(C)に配置
したテキスト項目(11)以外の前記テキスト項目(1
2〜19)が収容される第2の項目枠の配置位置として
算出する第2の枠位置算出手段(3)と、 前記第1の枠位置算出手段(3)により算出された配置
位置に配置された前記第1の項目枠(F)と前記第2の
枠位置算出手段(3)により算出した配置位置に配置さ
れた前記第2の項目枠(F)とが各々重ならないように
配置可能な枠サイズを算出する枠サイズ算出手段(3,
4)と、 前記枠サイズ算出手段(3,4)により算出した枠サイ
ズの前記第1の項目枠(F)及び前記第2の項目枠
(F)を、前記枠位置算出手段(3)により算出した配
置位置に配置するとともに、該前記第1の項目枠(F)
及び前記第2の項目枠(F)に前記テキスト項目(11
〜19)を収めた状態で出力する出力手段(6,7)と
を備えたレイアウト処理装置。
2. A text item (11-1 ) comprising a character string.
9), and a reference line for arranging the text items (11 to 19).
Curve data storing coordinate data of closed curves (L1, L2)
Data storage means (10) and one of the text items (11-19)
Item (11) is placed at the center (C) of the closed curve (L1)
Item frame for storing the text item (11)
The arrangement position of (F) is represented by coordinate data of the closed curve (L1).
Is calculated as the center (C) of the closed curve (L1) based on
A first frame position calculating means (3) and the closed curve (L) of the text items (11 to 19);
Other than text item (11) placed at the center (C) of 1)
Of the text items (12 to 19) and the closed curve
(L1, L2) based on the coordinate data of (L1).
At the center (C) of the closed curve (L1)
By the number of text items (12-19) other than the eye (11)
The both ends of each equally divided dividing line are represented by text items (11
19) to the center (C) of the closed curve (L1)
The text item (1) other than the text item (11)
2 to 19) are stored as the arrangement positions of the second item frames.
The second frame position calculation means (3) to be calculated and the arrangement calculated by the first frame position calculation means (3)
Position of the first item frame (F) and the second item frame
It is arranged at the arrangement position calculated by the frame position calculation means (3).
So that the second item frame (F) does not overlap each other.
Frame size calculation means (3,
4) and the frame size calculated by the frame size calculation means (3, 4).
The first item frame (F) and the second item frame
(F) is the distribution calculated by the frame position calculation means (3).
And the first item frame (F)
And the text item (11) in the second item frame (F).
(19) A layout processing device comprising: an output unit (6, 7) for outputting the stored data.
【請求項3】 前記枠サイズ算出手段(3,4)は、前
記閉曲線(L1)上に配置される第2の項目枠(F)間
に前記入力手段(1)より入力された最小間隔が確保さ
れるように枠サイズを算出する請求項1または請求項2
に記載のレイアウト処理装置。
3. The method according to claim 1, wherein said frame size calculating means comprises :
Between the second item frames (F) arranged on the closed curve (L1)
The minimum interval inputted from the input means (1) is secured.
The frame size is calculated such that the frame size is adjusted.
2. The layout processing device according to 1.
【請求項4】 前記項目枠(F)に収められる前記テキ
スト項目(11〜19)の文字サイズを前記枠サイズに
基づき設定する文字サイズ設定手段(5)を備えた請求
項1乃至請求項3に記載のレイアウト処理装置。
4. The text stored in the item frame (F).
The text size of the strike item (11 to 19)
Claims provided with a character size setting means (5) for setting based on
4. The layout processing device according to claim 1.
JP06233240A 1994-09-28 1994-09-28 Layout processing device Expired - Fee Related JP3118379B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06233240A JP3118379B2 (en) 1994-09-28 1994-09-28 Layout processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06233240A JP3118379B2 (en) 1994-09-28 1994-09-28 Layout processing device

Publications (2)

Publication Number Publication Date
JPH0896153A JPH0896153A (en) 1996-04-12
JP3118379B2 true JP3118379B2 (en) 2000-12-18

Family

ID=16951970

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06233240A Expired - Fee Related JP3118379B2 (en) 1994-09-28 1994-09-28 Layout processing device

Country Status (1)

Country Link
JP (1) JP3118379B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6279017B1 (en) * 1996-08-07 2001-08-21 Randall C. Walker Method and apparatus for displaying text based upon attributes found within the text
JP4572669B2 (en) 2004-03-31 2010-11-04 セイコーエプソン株式会社 Layout rule generation system, layout system, layout rule generation method, and layout rule generation program
US8826174B2 (en) 2008-06-27 2014-09-02 Microsoft Corporation Using visual landmarks to organize diagrams
US10078411B2 (en) 2014-04-02 2018-09-18 Microsoft Technology Licensing, Llc Organization mode support mechanisms

Also Published As

Publication number Publication date
JPH0896153A (en) 1996-04-12

Similar Documents

Publication Publication Date Title
US4608662A (en) Method for editing document
JPH0363756A (en) Document editor
JP3118379B2 (en) Layout processing device
JP3150316B2 (en) Document editing device
JP3012406B2 (en) Table making device and method
JP3728768B2 (en) Method and apparatus for mixed processing of character string and ruled line
JP3004526U (en) Device for creating standard document including figures
JPH08185452A (en) Document preparation device
JPH0731671B2 (en) Formula input editing method
JP3544699B2 (en) Document information processing device
JPH08101834A (en) Layout processor
JP2616426B2 (en) String display device
JP2922578B2 (en) Character processor
JPH05174083A (en) Dimension line generator
JPH11120267A (en) Document processor and recording medium therefor
JPH01147770A (en) Document editing device
JPH0816804A (en) Picture processing method
JPH01269983A (en) Text layout device
JPH0365759A (en) Edition processing system for table
JPH01126684A (en) Document processor
JPH0384659A (en) Document editing device
JPH07219933A (en) Method for processing ruled line and document processor using the method
JPH07152734A (en) Document information processor
JPH03282844A (en) Output device for data base information
JPH06203021A (en) Sentence information procesor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees