JPH06251117A - Layout designing device - Google Patents

Layout designing device

Info

Publication number
JPH06251117A
JPH06251117A JP5038224A JP3822493A JPH06251117A JP H06251117 A JPH06251117 A JP H06251117A JP 5038224 A JP5038224 A JP 5038224A JP 3822493 A JP3822493 A JP 3822493A JP H06251117 A JPH06251117 A JP H06251117A
Authority
JP
Japan
Prior art keywords
frame
frame information
value
output
ratio
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.)
Granted
Application number
JP5038224A
Other languages
Japanese (ja)
Other versions
JP3112594B2 (en
Inventor
Takashi Nawata
毅史 縄田
Seiji Tsuji
誠治 辻
Yoshio Nakano
善夫 中埜
Hidekazu Tanigawa
英和 谷川
Takashi Satomura
尚 里村
Kenji Ito
謙次 伊藤
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP05038224A priority Critical patent/JP3112594B2/en
Publication of JPH06251117A publication Critical patent/JPH06251117A/en
Application granted granted Critical
Publication of JP3112594B2 publication Critical patent/JP3112594B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To provide a layout designing device which can display and generate the layout of screen and printing consisting of such a frame area combination as contains other frame area in the inside of a frame area. CONSTITUTION:A frame information editing part 2 changes an attribute value of height or width stored in a frame information store part 1, a frame information output converting part 3 converts frame information containing a ratio value stored in the frame information store part 1 to an output value of an absolute value by using a radio value converting means 7 and stores it in an output frame information store part, and in the case the output value exceeds a range limited by a range value by a consistency inspecting means 8, a ratio value reverse converting part 4 converts the output value to the ratio value and stores it in the frame information store part 1, and the frame information output converting part 3 generates the output value again.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、表示画面上での各表示
図形のレイアウトや印刷のレイアウトを設計する時に用
いるレイアウト設計装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a layout design apparatus used when designing a layout of each display figure or a print layout on a display screen.

【0002】[0002]

【従来の技術】近年、画面のレイアウトや印刷のレイア
ウトをアプリケーションから切り離して、利用者の要望
に合うように変更可能とすることが、例えば帳票作成等
の用途で多くなってきている。これらのレイアウトを利
用者の要望に合うように作成・変更するためにレイアウ
トの設計・編集ツールがある。一般に、レイアウトの設
計・編集ツールが対象とするレイアウトは矩形枠領域の
組合せで構成される。レイアウトの矩形枠領域は隣接
し、意味的な関係でグルーピングされてより大きな矩形
に包含されたりするので、これを編集する際には内部に
他の矩形枠領域を含む矩形枠領域の集合として扱うこと
が便利である。
2. Description of the Related Art In recent years, it has become more and more common to separate screen layouts and print layouts from applications so that the layouts can be changed to meet the needs of users, for example, for creating forms. There are layout design / editing tools to create / modify these layouts to suit the needs of users. Generally, the layout targeted by the layout design / editing tool is composed of a combination of rectangular frame areas. Since the rectangular frame areas of the layout are adjacent to each other and are grouped in a semantic relationship and included in a larger rectangle, when editing this, treat it as a set of rectangular frame areas that include other rectangular frame areas inside. It is convenient.

【0003】このような内部に他の枠領域を含む枠領域
を編集する際に必要となる枠領域の自動サイズ調節方式
として、例えば、公開特許公報平3−110665号
(一般書式作成のための方法および装置)に記載された
ものがある。この枠領域自動サイズ調節方式を用いたレ
イアウト設計装置は、図16のように、枠情報格納部1
と、枠情報編集部2と、枠情報調節部3と、出力部6を
持ち、枠情報調節部9は枠情報調節手段10と、整合性
検査手段8とを持つ。枠情報格納部1は、枠領域の高さ
と幅のサイズの属性値と該枠領域の内部に含む他の枠領
域を識別する識別子から成る枠情報を持つ。枠領域の高
さと幅のサイズの属性値は画面や印刷時の画素数やミリ
メートルなどを単位系とする絶対的なサイズで、値は調
節可能である。枠情報編集部2はレイアウトの設計者の
指示に基づき枠情報格納部1に格納される枠情報の高さ
や幅のサイズの属性値を変更する。出力部6は枠情報格
納部1に格納されている枠情報を画面やプリンタに出力
可能な形で出力する。枠情報調節部9は、枠情報編集部
2もしくは枠情報調節部9自身が枠情報格納部1の枠情
報を変更した時に、整合性検査手段8を用いて枠領域同
士が重なりあったり、内部の枠領域が外側の枠領域から
はみ出したりしている不整合な状態であるかどうかを検
査し、不整合と判定された時は枠情報調節手段10を用
いて枠領域同士の不整合がなくなるように枠情報を変更
する。
As an automatic size adjusting method of a frame area necessary for editing a frame area including other frame areas in the inside, for example, Japanese Patent Laid-Open No. 3-110665 (for creating a general format) is disclosed. Method and apparatus). As shown in FIG. 16, the layout designing apparatus using the frame area automatic size adjustment method is used in the frame information storage unit 1
The frame information editing unit 2, the frame information adjusting unit 3, and the output unit 6, and the frame information adjusting unit 9 includes the frame information adjusting unit 10 and the consistency checking unit 8. The frame information storage unit 1 has frame information including attribute values of the size and height of the frame area and identifiers for identifying other frame areas contained in the frame area. The attribute values of the height and width of the frame area are absolute sizes with the number of pixels or millimeters at the time of printing or printing as a unit system, and the values can be adjusted. The frame information editing unit 2 changes the attribute values of the size of the height and width of the frame information stored in the frame information storage unit 1 based on the instruction of the layout designer. The output unit 6 outputs the frame information stored in the frame information storage unit 1 in a form capable of being output to a screen or a printer. When the frame information editing unit 2 or the frame information adjusting unit 9 itself changes the frame information in the frame information storage unit 1, the frame information adjusting unit 9 uses the consistency checking unit 8 to overlap the frame areas with each other, or It is inspected whether or not the frame area is inconsistent with the frame area protruding from the outer frame area, and when it is determined that the frame area is inconsistent, the frame information adjusting means 10 is used to eliminate the inconsistency between the frame areas. To change the frame information.

【0004】このようなレイアウト設計装置において
は、レイアウト設計者が枠情報編集部2からレイアウト
の枠領域の高さや幅などの枠情報を変更すると、枠情報
調節部9が整合性検査手段8に基づいて自動的に隣接す
る枠領域の枠情報を検査し、枠情報調節手段10が枠情
報を調節し、レイアウトの調整のための変更の手間を省
いてくれる。
In such a layout design apparatus, when the layout designer changes the frame information such as the height and width of the frame area of the layout from the frame information editing section 2, the frame information adjusting section 9 becomes the consistency checking means 8. On the basis of this, the frame information of the adjacent frame areas is automatically inspected, and the frame information adjusting means 10 adjusts the frame information to save the time and effort for changing the layout.

【0005】[0005]

【発明が解決しようとする課題】しかしながら上記従来
の構成では、レイアウトの枠領域の高さや幅などの属性
値を自動的に変更するため、特定の枠領域のサイズを変
更したくない場合や、枠領域同士で同じ比率のサイズを
保ちたい場合には、再度枠情報編集部を用いて一度変更
された枠領域のサイズを元に戻さねばならず、サイズ変
更の操作回数が多くなるという問題点があった。
However, in the above-mentioned conventional configuration, since the attribute values such as the height and width of the frame area of the layout are automatically changed, it is not necessary to change the size of a specific frame area, If you want to keep the size of the same ratio between the frame areas, you have to restore the size of the frame area once changed using the frame information editing unit again, and the number of resize operations increases. was there.

【0006】本発明は、このような従来の課題を解消
し、レイアウト設計者の求めるレイアウトを設計終了す
るまでの変更回数を減らし、レイアウト編集の効率を上
げることのできるレイアウト設計装置を提供することを
目的としている。
The present invention solves the above-mentioned problems of the prior art, and provides a layout design apparatus capable of reducing the number of changes required by a layout designer until the layout is finished and improving the efficiency of layout editing. It is an object.

【0007】[0007]

【課題を解決するための手段】請求項1の発明は、1つ
の枠領域内に入れ子構造で複数の枠が含まれているレイ
アウトの設計装置であって、一の枠とその領域内に含ま
れる他の枠とを識別する識別子と各枠の配置方向及び各
枠の高さ及び幅についての比率値とを含む枠情報を格納
する枠情報格納手段と、前記入れ子構造の枠の一つにつ
いて大きさの変更を指示する変更指示手段と、変更指示
手段によって直接に変更を指示されていない残余の枠に
ついて、その比率値と変更指示された枠の変更後のサイ
ズとに基づき枠サイズを演算する演算手段と、変更指示
手段によって指示された変更内容と前記演算手段で求め
られた結果とを用いて枠情報を書き換え、これを出力枠
情報として格納する出力枠情報格納手段と、を備えたこ
とを特徴としている。
According to a first aspect of the present invention, there is provided a layout design device in which a plurality of frames are included in one frame area in a nested structure, and the layout is included in one frame and the area. A frame information storage unit that stores frame information including an identifier for identifying another frame to be stored, a layout direction of each frame, and a ratio value for the height and width of each frame, and one of the nested frames. The frame size is calculated based on the ratio value and the changed size of the frame instructed to be changed, and the remaining frame not directly instructed to be changed by the change instructing unit. And an output frame information storage unit for rewriting the frame information by using the change content instructed by the change instruction unit and the result obtained by the operation unit, and storing this as output frame information. Is characterized by .

【0008】請求項2の発明は、前記枠情報格納手段は
更に枠の高さ及び幅についての範囲値を有し、レイアウ
ト設計装置は更に演算手段によって求められた枠サイズ
が、前記枠情報格納手段の格納する枠の範囲値に対して
整合性を有するかを再帰的に検査する整合性検査手段
と、整合性がないと判定された場合に、範囲値をもつ枠
内部の枠についての出力枠情報をその枠の高さ、幅の比
率に逆変換する比率値逆変換手段と、逆変換された高
さ、幅の比率値を受け取ると、範囲値をもつ枠内部の枠
についてのサイズの制限を消去した枠情報を作製し演算
手段に送出する枠情報修正手段と、を有することを特徴
としている。
According to a second aspect of the present invention, the frame information storage means further has a range value for the height and width of the frame, and the layout design apparatus further stores the frame size obtained by the calculation means as the frame information storage. Consistency checking means for recursively checking whether or not there is consistency with the range value of the frame stored by the means, and output for the frame inside the frame having the range value when it is determined that there is no consistency When the ratio value inverse conversion means for inversely converting the frame information into the height / width ratio of the frame and the inversely converted height / width ratio value are received, the size of the size of the frame inside the frame having the range value is received. Frame information correction means for producing frame information with restrictions removed and sending it to the calculation means.

【0009】[0009]

【作用】請求項1の発明において、レイアウトの設計者
の指示により、変換指示手段が枠情報格納手段に格納さ
れている枠情報を変更した時に、演算手段を用いて枠情
報格納手段の枠情報の比率値の高さまたは幅のサイズを
比率に応じて変換し出力枠情報を作成し、出力枠情報格
納手段に格納する。
According to the first aspect of the invention, when the layout designating unit changes the frame information stored in the frame information storing unit according to an instruction from the layout designer, the frame information of the frame information storing unit is calculated by using the calculating unit. The output frame information is created by converting the height or width size of the ratio value according to the ratio, and is stored in the output frame information storage means.

【0010】請求項2の発明において、枠情報格納手段
が枠の高さ及び幅についての範囲値を有しており、整合
性検査手段が、演算手段によって求められた枠サイズを
前記範囲値に対し整合性があるかどうか検査し、不整合
の場合、比率値逆変換手段によって範囲値をもつ枠内部
の枠についての出力枠情報を比率値に逆変換する。そし
て、枠情報修正手段が範囲値をもつ枠内部の枠について
のサイズの制限を消去した枠情報を作製し、演算手段に
送出する。演算手段は、これを受けて再度枠サイズを演
算する。演算の結果は、枠情報修正手段によって範囲値
をもつ枠内部の枠についてのサイズの制限が既に消去さ
れているので、範囲値をもつ枠の範囲値と整合する枠サ
イズとなる。
In the invention of claim 2, the frame information storage means has a range value for the height and width of the frame, and the consistency checking means sets the frame size obtained by the computing means to the range value. It is checked whether or not there is consistency, and if there is a mismatch, the ratio value inverse conversion means inversely converts the output frame information about the frame inside the frame having the range value into the ratio value. Then, the frame information correction means creates frame information in which the size limit for the frame inside the frame having the range value is deleted, and sends it to the calculation means. The calculation means receives this and calculates the frame size again. The result of the calculation is a frame size that matches the range value of the frame having the range value, because the size limit for the frame inside the frame having the range value has already been deleted by the frame information correction means.

【0011】[0011]

【実施例】以下、本発明の実施例のレイアウト設計装置
について図面を参照して説明する。 (実施例1)図1は本発明の実施例1のレイアウト設計
装置の構成図で、このレイアウト設計装置は、枠情報格
納部1と、枠情報編集部2と、枠情報出力変換部3と、
出力枠情報格納部5と、出力部6とを備えており、枠情
報出力変換部5は、比率値変換手段7とを備えている。
枠情報格納部1は、内部に他の枠領域を含む枠領域の枠
情報を格納し、それぞれの枠領域は高さと幅のサイズの
属性と枠領域の内部に含む他の枠領域の識別子と枠領域
の内部に含む他の枠領域の垂直方向または水平方向の配
置方向の属性から成る枠情報を持つ。枠領域は枠情報の
高さと幅のサイズを持てば不定型の形であっても良い
が、ここでは簡単のため矩形の枠領域であるとする。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A layout designing apparatus according to an embodiment of the present invention will be described below with reference to the drawings. (Embodiment 1) FIG. 1 is a block diagram of a layout design apparatus according to a first embodiment of the present invention. This layout design apparatus includes a frame information storage unit 1, a frame information editing unit 2, and a frame information output conversion unit 3. ,
The output frame information storage unit 5 and the output unit 6 are provided, and the frame information output conversion unit 5 is provided with the ratio value conversion means 7.
The frame information storage unit 1 stores therein frame information of frame regions including other frame regions, and each frame region has attributes of size of height and width and identifiers of other frame regions included in the frame region. It has frame information that is composed of attributes of the arrangement direction in the vertical direction or the horizontal direction of other frame areas included inside the frame area. The frame area may have an irregular shape as long as it has the height and width sizes of the frame information, but here it is assumed to be a rectangular frame area for simplicity.

【0012】図3はそのような枠情報の概観を示してい
る。図示のものは、親枠W1の中に3個の子枠W11、
W12、W13が横方向に配され、また子枠W12の中
に3個の孫枠W121、W122、W123が横方向に
配され、子枠W13の中に2個の孫枠W131、W13
2が立て方向に配された例を示している。図3中、ra
teは同じ枠領域を親とする子の枠領域同士の高さまた
は幅の比率値である。例えば、W12の幅方向のrat
eが2となっているのは、他の子枠W11、W13に対
する比率が2であることを意味する。同様に、各孫枠W
121、W122、W123の幅方向のrateは全て
1であるが、これは各孫枠とも幅方向の比率が等しく1
であること意味する。また、幅方向、高さの方向のra
teが記載されていない箇所はrateが指定されてい
ないことを意味し、従って、レイアウト変更時にrat
eを考慮する必要がない。又、図3中、16とは、枠の
幅方向、高さ方向サイズとして許容できる最小値を意味
する。例えば、lb=10dotとは、許容できる最小
サイズが10画素であることを意味する。又、lbの記
載されていない高さ、幅は最小サイズが決まっていない
ことを意味する。
FIG. 3 shows an overview of such frame information. The illustrated one has three child frames W11 in the parent frame W1,
W12 and W13 are laterally arranged, three grandchild frames W121, W122, and W123 are laterally arranged in the child frame W12, and two grandchild frames W131 and W13 are arranged in the child frame W13.
2 shows an example in which 2 is arranged in the vertical direction. In FIG. 3, ra
te is a ratio value of heights or widths of child frame areas having the same frame area as a parent. For example, W12 rat in the width direction
The fact that e is 2 means that the ratio with respect to the other child frames W11 and W13 is 2. Similarly, each grandchild W
121, W122, W123 all have a rate in the width direction of 1, but the ratio in the width direction is equal to 1 for each grandchild frame.
Means that. Also, ra in the width direction and the height direction
The place where te is not described means that the rate is not specified, and therefore the rat
There is no need to consider e. Further, in FIG. 3, 16 means the minimum value that can be allowed as the size in the width direction and the height direction of the frame. For example, lb = 10dot means that the minimum allowable size is 10 pixels. Further, the height and width in which lb is not described means that the minimum size is not determined.

【0013】図3に示した各枠の関係を構造で表すと図
4のようになるし、各枠の情報を表にすると図5のよう
になる。図5中、下限値は許容される最小サイズであ
る。新下限値、出力値については各枠の比率値、下限値
を基に計算によって求めた値で、その計算方法は後述す
る。枠情報編集部2は、レイアウト設計者(以下簡単の
ためレイアウト設計者を設計者とする)の指示により、
枠情報格納部1に格納されている枠情報の枠領域同士の
親子関係の変更や、親枠領域の中の子枠領域の配置方向
の変更や、枠領域の削除や、枠領域の生成や、枠領域の
高さや幅のサイズの属性値の変更を行う。情報出力変換
部3は、枠情報格納部1から枠情報を取り出し、比率値
変換手段7を用いて、高さまたは幅のサイズの属性値の
比率値を持つ場合、比率値に応じた絶対値の出力値を計
算し、出力枠情報を作成する。枠情報格納部1から取り
出した枠情報の高さまたはサイズの属性が比率値を持た
ない場合は下限値を高さまたは幅のサイズの属性の絶対
値として、出力枠情報を作成する。出力部6は、出力枠
情報格納部5から枠情報を取り出し、 画面表示たは印
刷のためのデータを作成する。
The structure of the relationship between the frames shown in FIG. 3 is as shown in FIG. 4, and the information of each frame is as a table as shown in FIG. In FIG. 5, the lower limit value is the allowable minimum size. The new lower limit value and output value are values obtained by calculation based on the ratio value and lower limit value of each frame, and the calculation method will be described later. The frame information editing unit 2 receives an instruction from a layout designer (hereinafter, the layout designer will be referred to as a designer for simplicity),
Changing the parent-child relationship between the frame areas of the frame information stored in the frame information storage unit 1, changing the arrangement direction of the child frame area in the parent frame area, deleting the frame area, creating the frame area, , Change the attribute values of the height and width of the frame area. The information output conversion unit 3 extracts the frame information from the frame information storage unit 1 and uses the ratio value conversion unit 7 to have an absolute value corresponding to the ratio value when the ratio value of the attribute value of the size of the height or the width is held. The output value of is calculated and the output frame information is created. When the height or size attribute of the frame information extracted from the frame information storage unit 1 does not have a ratio value, the lower limit value is used as the absolute value of the height or width size attribute to create output frame information. The output unit 6 extracts frame information from the output frame information storage unit 5 and creates data for screen display or printing.

【0014】次に上記レイアウト設計装置について、図
2のフローチャートを参照しながら説明する。まず、設
計者が枠情報編集部2を通して枠情報格納部1に枠情報
の変更として枠W1の幅を100dotにする旨の指示
を与えたとする(ステップS1)。この時枠情報格納部
2に格納されている枠情報は、図3に示すような概観を
持っているものとする。枠情報格納部1における変更が
トリガとなり枠情報出力変換部3を起動する。枠情報出
力変換部3において、枠領域格納部1に格納されている
枠情報の木構造について、比率値変換手段が木構造のノ
ードである各枠領域の枠の大きさの下限値を再帰的に計
算し、親の枠領域の下限値から比率値を持たない子の枠
領域の下限値の和を引いた残りを比率値を持つ子の枠領
域の出力値に比率値に従って分配し、出力枠情報格納部
5に格納する(ステップS2)。出力部6は出力枠情報
格納部5から出力枠情報を取り出し、画面表示や印刷を
行うために出力枠情報を変換する(ステップS3)。
Next, the layout designing apparatus will be described with reference to the flowchart of FIG. First, it is assumed that the designer gives an instruction to the frame information storage unit 1 through the frame information editing unit 2 to change the frame information to set the width of the frame W1 to 100 dots (step S1). At this time, it is assumed that the frame information stored in the frame information storage unit 2 has an overview as shown in FIG. The change in the frame information storage unit 1 is triggered to activate the frame information output conversion unit 3. In the frame information output conversion unit 3, with respect to the tree structure of the frame information stored in the frame region storage unit 1, the ratio value conversion means recursively sets the lower limit value of the frame size of each frame region which is a node of the tree structure. Calculated by dividing the lower limit value of the parent frame area by the sum of the lower limit values of the child frame areas that do not have the ratio value, and distribute the remainder to the output value of the child frame area that has the ratio value according to the ratio value. The data is stored in the frame information storage unit 5 (step S2). The output unit 6 extracts the output frame information from the output frame information storage unit 5 and converts the output frame information for screen display and printing (step S3).

【0015】ここで、比率値変換手段7の動作であるス
テップS2について、図6乃至図9のフローチャートを
参照しながら更に詳しく説明する。比率値変換手段7は
枠領域の配置方向と同じ方向の辺のサイズ属性の処理
と、配置方向と垂直な方向の辺のサイズ属性の処理とに
分けて行う。 (配置方向の属性値の処理)図6は配置方向の属性値の
処理を表すフローチャートである。まず、木構造の各ノ
ードである枠領域の配置方向の属性値の下限値を再帰的
に求めるサブルーチンを実行する(ステップS4)。次
に、木構造の各ノードである枠領域の下限値から比率値
を持たない子の枠情報の下限値の和を引いた残りを比率
値を持つ子の枠情報の出力値に設定するサブルーチンを
実行する(ステップS5)。
Here, step S2, which is the operation of the ratio value converting means 7, will be described in more detail with reference to the flowcharts of FIGS. 6 to 9. The ratio value converting means 7 separately performs the processing of the size attribute of the side in the same direction as the arrangement direction of the frame area and the processing of the size attribute of the side in the direction perpendicular to the arrangement direction. (Processing of Attribute Values in Arrangement Direction) FIG. 6 is a flowchart showing the process of attribute values in the arrangement direction. First, a subroutine for recursively obtaining the lower limit value of the attribute value in the arrangement direction of the frame area that is each node of the tree structure is executed (step S4). Next, a subroutine that sets the remainder obtained by subtracting the sum of the lower limit values of the child frame information that does not have a ratio value from the lower limit value of the frame area that is each node of the tree structure to the output value of the child frame information that has a ratio value Is executed (step S5).

【0016】図7は、ステップS4のサブルーチンのフ
ローチャートを示している。先ず、対象となる枠領域
(対象枠領域)(=W1)の子の枠領域(子枠領域)を
一つ(=W12)取り(ステップS6)、その子枠領域
を対象枠領域として再帰的に自分のルーチンを呼び出す
(ステップS7)。この処理によって、W12の枠の中
にW121、W122、W123の枠が存在することが
検出され、かつ各枠W121、W122、W123の中
にはその子枠が存在しないことも検出される。そして、
ステップ6、7を繰り返すことによって、全ての子枠W
11、W13について行われる。これによって、結局、
図4に示すような各枠の関係を装置が認識することにな
る。
FIG. 7 shows a flowchart of the subroutine of step S4. First, one (= W12) child frame area (child frame area) of the target frame area (target frame area) (= W1) is taken (step S6), and the child frame area is recursively set as the target frame area. Call your routine (step S7). By this processing, it is detected that the frames W121, W122, and W123 exist in the frame W12, and it is also detected that the child frames do not exist in each of the frames W121, W122, and W123. And
By repeating steps 6 and 7, all child frames W
11 and W13. This, in the end,
The device recognizes the relationship between the frames as shown in FIG.

【0017】以上の処理を終了すると、ステップS8に
進み、最初の対象枠領域(W1)の子枠領域(W11、
W12、W13)に関して、比率値をもたないものを選
び、それの下限値の和を求める。W11、W12、W1
3のうち、それらの配置方向で比率値をもたないのはW
11の幅方向だけであり、その幅方向サイズは図3から
lb=20dotである。従って、ステップS8で求め
られる値はSumF=20となる。
When the above processing is completed, the process proceeds to step S8 and the child frame area (W11, W1) of the first target frame area (W1).
Regarding W12 and W13), those which do not have a ratio value are selected, and the sum of the lower limit values thereof is calculated. W11, W12, W1
Of the three, W does not have a ratio value in their arrangement direction.
11 is only in the width direction, and the size in the width direction is lb = 20dot from FIG. Therefore, the value obtained in step S8 is SumF = 20.

【0018】続いて、ステップS9に進み、比率値をも
つ子枠領域の比率値の和を求める。比率値をもつ子枠領
域はW12とW13であり、夫々の比率値の和(Sum
R)は1+2=3となる。ステップ10では比率値をも
つ子枠領域の下限値の和(SumFR)を求める。比率
値をもつ子枠領域W12においては直接下限値は記され
ていないが、その枠内の孫枠W122に下限値が記され
ている。この下限値及びW121、W122、W123
の各枠の比率値を基に子枠W12の幅方向の下限値を求
めると、2dot×3=6となる。同様にW13につい
ても下限値は記されていないが、比率値があるので、W
12の比率値との関係から、W12の幅方向の下限値は
6÷2=3となる。従って、比率値をもつ子枠領域の下
限値の和(SumFR)は、SumFR=6+3=9と
なる。
Succeedingly, in a step S9, the sum of the ratio values of the child frame areas having the ratio values is obtained. The child frame areas having the ratio value are W12 and W13, and the sum of the respective ratio values (Sum
R) is 1 + 2 = 3. In step 10, the sum (SumFR) of the lower limit values of the child frame area having the ratio value is obtained. Although the lower limit value is not directly written in the child frame area W12 having the ratio value, the lower limit value is written in the grandchild frame W122 within the frame. This lower limit value and W121, W122, W123
When the lower limit value in the width direction of the child frame W12 is obtained based on the ratio value of each frame of, 2dot × 3 = 6. Similarly, there is no lower limit for W13, but since there is a ratio value, W13
From the relationship with the ratio value of 12, the lower limit value of W12 in the width direction is 6/2 = 3. Therefore, the sum (SumFR) of the lower limit values of the child frame area having the ratio value is SumFR = 6 + 3 = 9.

【0019】ステップS11では、ステップS8で求め
たSumFとステップS10で求めたSumFRとの和
(20+9=29)とレイアウト変更指令で指定された
値である対象枠領域の下限値[100画素]とのうちの
大きな値[Max(29画素,100画素)=100画
素]を対象枠領域の新たな下限値(NewLB)とす
る。
In step S11, the sum (20 + 9 = 29) of SumF obtained in step S8 and SumFR obtained in step S10 and the lower limit value [100 pixels] of the target frame area which is the value designated by the layout change command are set. The larger value [Max (29 pixels, 100 pixels) = 100 pixels] of these is set as a new lower limit value (NewLB) of the target frame area.

【0020】以上の処理を対象領域W1の子枠領域W1
1、W12、W13に対して完了すると、その子枠領域
の1つ(例えばW12)を対象領域としてその子枠領域
W121、W122、W123について同様な処理を行
い、NewLBを求める(ステップS12)。これを全
ての子枠領域に対して行う(ステップS13)。続い
て、ステップS5の処理に移行するが、ステップS5は
さらに図8で示されるフローチャートで処理される。ま
ず、対象となる枠領域(対象枠領域)(=W1)の下限
値(NewLB=100画素)から比率値を持たない子
の枠領域(子枠領域)の下限値の和(SumF=20画
素)を引いた(NewLB−SumR)[100画素−
20画素=80画素]を計算し、一時的な比率値用の残
り値(LeftR)へ格納する(ステップS21)。次
に、対象枠領域の下の子枠領域(=W12)を一つ取り
(ステップ22)、子枠領域があれば子枠領域が比率値
を持つかどうかを調べ(ステップS23)、持たなけれ
ば子枠領域の下限値を出力値としてステップ19(後
述)へ進むが(ステップS15)、一方、持てば子枠領
域の(比率値×LeftR)÷SumR[(2×80画
素)÷3=53画素(整数値のため切捨て処理)]を計
算して子枠領域の出力値へ格納し(ステップS25)、
LeftRから出力値を引いた値を再びLeftRへ格
納し[80画素−53画素=27画素→LeftR]
(ステップS26)、SumRから比率値を引いた値を
再びSumRへ格納する[3−2=1→SumR](ス
テップS27)。この後、子枠領域(=W12)を対象
枠領域としてこのルーチンを呼び出し(ステップS2
8)、その後ステップS22へ戻り、子枠領域がくなる
まで再帰的に繰り返す。
The above-described processing is performed for the child frame area W1 of the target area W1.
When completed for 1, W12, and W13, one of the child frame areas (for example, W12) is set as a target area, and similar processing is performed for the child frame areas W121, W122, and W123 to obtain NewLB (step S12). This is performed for all child frame areas (step S13). Subsequently, the process proceeds to step S5, which is further processed by the flowchart shown in FIG. First, the lower limit value (NewLB = 100 pixels) of the target frame area (target frame area) (= W1) to the lower limit value (SumF = 20 pixels) of child frame areas (child frame areas) that do not have a ratio value. ) Is subtracted (NewLB-SumR) [100 pixels-
20 pixels = 80 pixels] is calculated and stored in the remaining value (LeftR) for the temporary ratio value (step S21). Next, one child frame area (= W12) below the target frame area is taken (step 22), and if there is a child frame area, it is checked whether or not the child frame area has a ratio value (step S23). If the lower limit value of the child frame area is used as an output value and the process proceeds to step 19 (described later) (step S15), on the other hand, if the child frame area is held, (ratio value × LeftR) ÷ SumR [(2 × 80 pixels) / 3 = 53 pixels (truncated since it is an integer value)] and stored in the output value of the child frame area (step S25),
The value obtained by subtracting the output value from LeftR is stored again in LeftR [80 pixels-53 pixels = 27 pixels → LeftR].
(Step S26), the value obtained by subtracting the ratio value from SumR is stored again in SumR [3-2 = 1 → SumR] (step S27). Then, this routine is called with the child frame area (= W12) as the target frame area (step S2).
8) After that, the process returns to step S22, and recursively repeats until the child frame area is exhausted.

【0021】(配置方向と垂直方向の属性値の処理)図
9は配置方向と垂直方向の属性値の処理を表すフローチ
ャートである。まず、木構造の各ノードである枠領域の
配置方向と垂直方向の属性値の下限値を再帰的に求める
サブルーチンを実行する(ステップS30)。その後、
木構造の各ノードである枠領域の下限値が最大値の比率
値を持つ子の枠領域の出力値となるように比率値を持つ
子の枠領域の出力値を設定するサブルーチンを実行する
(ステップS31)。
(Processing of Attribute Values in Arrangement Direction and Vertical Direction) FIG. 9 is a flowchart showing processing of attribute values in the arrangement direction and vertical direction. First, a subroutine for recursively obtaining the lower limit values of the attribute values in the arrangement direction and the vertical direction of the frame area that is each node of the tree structure is executed (step S30). afterwards,
Execute a subroutine that sets the output value of the child frame area having the ratio value so that the lower limit value of the frame area that is each node of the tree structure becomes the output value of the child frame area having the maximum ratio value ( Step S31).

【0022】図10はステップS30のサブルーチンの
フローチャートを示している。基本的な処理は図7に示
したフローチャートと同じなので、簡単に説明する。先
ず、対象となる枠領域(対象枠領域)(=W1)の子の
枠領域(子枠領域)を一つ(=W11)取り(ステップ
S41)、その子枠領域を対象枠領域として再帰的に自
分のルーチンを呼び出す(ステップS42)。ステップ
S42終了後、ステップS41に戻り、次の子枠領域を
取る。子枠領域がなくなれば、対象領域をW1とする子
枠領域W11、W12、W13について、その配置方向
と垂直な方向(高さ方向)の下限値の最大値(Max
F)を求める(ステップS43)。この場合、W132
の高さが1b=20dotと規定されており、W13の
中にW131とW132が高さ方向に並んでいることか
ら、MaxF=20dot×2=40dotとなる。
FIG. 10 shows a flowchart of the subroutine of step S30. Since the basic processing is the same as the flowchart shown in FIG. 7, it will be briefly described. First, one (= W11) child frame area (child frame area) of the target frame area (target frame area) (= W1) is taken (step S41), and the child frame area is recursively set as the target frame area. Call your routine (step S42). After step S42 ends, the process returns to step S41, and the next child frame area is obtained. When the child frame areas are eliminated, the maximum value (Max) of the lower limit values in the direction (height direction) perpendicular to the arrangement direction of the child frame areas W11, W12, and W13 having the target area as W1 is set.
F) is obtained (step S43). In this case, W132
Is defined as 1b = 20dot, and since W131 and W132 are lined up in the height direction in W13, MaxF = 20dot × 2 = 40dot.

【0023】次にステップS44に進み、比率値を持つ
子枠領域の比率値の最大値を求め、一時的な変数Max
R(図示せず)に格納する。この場合、子枠領域比率値
はW11=W12=1、W13=2であるから、Max
R=2となる。ステップS45で、比率ちを持つ子枠領
域の下限値の最大値を求めて一時的な変数MaxFRに
格納する。比率値を持つ子枠領域の下限値は、W11=
W12=10dot、W13=20dot×2=40d
otであるから、MaxFR=40dotであるから、
MaxFR=40となる。
Next, in step S44, the maximum value of the ratio values of the child frame area having the ratio value is calculated, and the temporary variable Max is set.
Store in R (not shown). In this case, since the child frame area ratio values are W11 = W12 = 1 and W13 = 2, Max
R = 2. In step S45, the maximum lower limit value of the child frame area having the ratio is calculated and stored in the temporary variable MaxFR. The lower limit value of the child frame area having the ratio value is W11 =
W12 = 10dot, W13 = 20dot × 2 = 40d
Since it is ot, since MaxFR = 40dot,
MaxFR = 40.

【0024】ステップS46では、ステップS43でも
とめたMaxFとステップS45で求めたMaxFRの
最大値を新たな下限値として求め、一時的な変数New
LB(=40)に格納する。以上の処理を終えると、次
に子枠領域を対象領域としてその子枠領域について同様
な処理を行い、これ全ての子枠領域に対して行う(ステ
ップS47、S48)。
In step S46, the maximum value of MaxF obtained in step S43 and MaxFR obtained in step S45 is obtained as a new lower limit value, and the temporary variable New
Store in LB (= 40). After the above processing is completed, the child frame area is set as the target area, and the same processing is performed for the child frame area, and is performed for all the child frame areas (steps S47 and S48).

【0025】続いて、ステップS31のサブルーチンの
実行に移るが、ステップS31のサブルーチンの詳細を
図11に示す。まず、対象となる枠領域(対象枠領域)
(=W1)の子枠領域を(=W11)一つ取り(ステッ
プS51)、子枠領域があれば子枠領域が比率値を持つ
かどうかを調べ(ステップS52)、持たなければ子枠
領域の下限値を出力値としてステップS55へ進み(ス
テップS53)、一方、持てば子枠領域の(比率値×M
axFR)÷MaxR[(1×40画素)÷2=20画
素]を計算して子枠領域の出力値へ格納し(ステップS
54)、子枠領域(=W11)を対象枠領域としてこの
ルーチンを呼び出し(ステップS55)、その後ステッ
プS51へ戻る。ステップS51で子枠領域がなければ
このルーチンを終了する。
Subsequently, the execution of the subroutine of step S31 will be described. Details of the subroutine of step S31 are shown in FIG. First, the target frame area (target frame area)
One (= W11) child frame area of (= W1) is taken (step S51), and if there is a child frame area, it is checked whether or not the child frame area has a ratio value (step S52). The lower limit of the output value is used as the output value, and the process proceeds to step S55 (step S53).
axFR) ÷ MaxR [(1 × 40 pixels) ÷ 2 = 20 pixels] is calculated and stored in the output value of the child frame area (step S
54), this routine is called with the child frame area (= W11) as the target frame area (step S55), and then the process returns to step S51. If there is no child frame area in step S51, this routine ends.

【0026】このように、レイアウトのサイズの属性を
比率で指定してあるので、設計者がレイアウトのサイズ
の関係を比率で考えて設計していた場合で、レイアウト
の変更箇所が比率で考えていた部分に影響を及ぼす場合
にも、比率にあったサイズの変更を自動的に行うため、
レイアウトの設計を行う場合にも設定が少なくて簡単で
あるし、レイアウトの変更を行う場合にも変更箇所が少
なくなり、レイアウトの設計・変更の効率を上げること
ができる。
As described above, since the layout size attribute is specified by the ratio, when the designer is designing considering the layout size relationship by the ratio, the layout change portion is considered by the ratio. Even if it affects the part that has been changed, the size is automatically changed according to the ratio,
Even when designing a layout, there are few settings and it is easy, and when changing a layout, the number of changes is small, and the efficiency of layout design / change can be improved.

【0027】尚、実施例で配置方向の処理と配置方向と
垂直方向の処理に分けて説明したが、同じ制御構造(ル
ープ)内で処理を行っても良い。また、実施例におい
て、比率値は同じ枠領域を親とする子の枠領域同士の高
さまたは幅の比率としているが、枠領域の高さと幅の比
率であったり、ある絶対値の値に対する比率であっても
良い。
Although the processing in the arrangement direction and the processing in the direction perpendicular to the arrangement direction are described separately in the embodiment, the processing may be performed in the same control structure (loop). Further, in the embodiment, the ratio value is the ratio of the height or width of the child frame areas having the same frame area as a parent, but it is the ratio of the height and width of the frame areas, or to a certain absolute value. It may be a ratio.

【0028】更に、本実施例では枠領域自体はその属性
によってのみ下限値のサイズが設定されているが、枠領
域の中にテキストが入ったり、ウィンドウ画面を構成す
るボタンなどが入ることにより属性値のサイズが決まる
と考えても、本発明の範囲を越えるものではない。 (実施例2)図12は本発明の実施例2のレイアウト設
計装置の構成図で、このレイアウト設計装置は、枠情報
格納部1と、枠情報編集部2と、枠情報出力変換部3
と、比率値逆変換部4と、出力枠情報格納部5と、出力
部6とを備えており、枠情報出力変換部5は、比率値変
換手段7と、整合性検査手段8とを備えている。枠情報
格納部1、枠情報編集部2、出力枠情報格納部5、出力
部6、比率値変換手段7は夫々第1の実施例の対応する
要素と異ならないので、説明は省略する。枠情報出力変
換部3の整合性検査手段8は、比率値変換手段7で作成
した出力枠情報の高さまたは幅の属性の絶対値の出力値
が同じ枠領域の枠情報の高さまたは幅の属性の上限値を
越えない整合性があるかないかを検査する。比率値逆変
換部4は、整合性検査手段8で整合性が無いと判定され
た枠領域について、その子供で比率値の高さまたは幅の
属性を持たない枠領域のについて下限値に絶対値に基づ
く比率の比率値を計算し、枠情報格納部1に比率値とし
て格納する。また、比率値逆変換部は設計者の指示によ
り、出力枠情報格納部5から枠情報の高さまたは幅のサ
イズの属性の絶対値の出力値を取り出し、その枠領域の
親と同じ親を持つ枠領域の高さまたは幅のサイズの属性
の絶対値の出力値との比率を計算し、枠情報格納部1に
枠情報の高さまたは幅のサイズの属性値の比率値として
格納する。
Further, in the present embodiment, the size of the lower limit value is set only by the attribute of the frame area itself, but the attribute is set by the text or the buttons forming the window screen in the frame area. Even if the size of the value is determined, it does not exceed the scope of the present invention. (Embodiment 2) FIG. 12 is a block diagram of a layout design apparatus according to a second embodiment of the present invention. This layout design apparatus includes a frame information storage unit 1, a frame information editing unit 2, and a frame information output conversion unit 3.
And a ratio value inverse conversion unit 4, an output frame information storage unit 5, and an output unit 6. The frame information output conversion unit 5 includes a ratio value conversion unit 7 and a consistency check unit 8. ing. Since the frame information storage unit 1, the frame information editing unit 2, the output frame information storage unit 5, the output unit 6, and the ratio value conversion means 7 are not different from the corresponding elements of the first embodiment, respectively, description thereof will be omitted. The consistency checking unit 8 of the frame information output conversion unit 3 uses the height or width of the frame information of the frame region having the same absolute output value of the height or width attribute of the output frame information created by the ratio value conversion unit 7. Check whether there is consistency that does not exceed the upper limit of the attribute of. The ratio value inverse conversion unit 4 sets the absolute value to the lower limit value of the frame area determined by the consistency check unit 8 as having no consistency, and the frame area of the child that does not have the attribute of height or width of the ratio value. The ratio value of the ratio based on is calculated and stored in the frame information storage unit 1 as the ratio value. Further, the ratio value inverse conversion unit takes out the output value of the absolute value of the attribute of the height or width size of the frame information from the output frame information storage unit 5 according to the designer's instruction, and sets the same parent as that of the frame area. The ratio of the height or width size of the frame area to the output value of the absolute value of the attribute is calculated and stored in the frame information storage unit 1 as the ratio value of the attribute value of the height or width size of the frame information.

【0029】次に上記レイアウト設計装置について、図
13のフローチャートを参照しながら説明する。まず、
設計者が枠情報編集部2を通して枠情報格納部1に枠情
報の変更を行う(ステップS61)。例えば、実施例1
の枠領域のデータを枠領域W122の幅の下限値を2画
素から20画素に変更し、枠領域W1は幅の上限値とし
て100画素を持ち、その他の枠領域は幅の上限値を持
たないと変更されたとする。本実施例では枠領域の幅の
みに着目する。この時、枠情報格納部2に格納されてい
る枠情報は、図14に示すような概観を持ち、図4に示
した木構造を持ち(但し、W131、W132のノード
は有していない。)、木構造のノードとなる各枠情報は
図15に示す幅の属性値を持つ。枠情報格納部1におけ
る変更がトリガとなり枠情報出力変換部3を起動し、枠
情報出力変換部3において、枠領域格納部1に格納され
ている枠情報の木構造について、比率値変換手段が木構
造のノードである各枠領域の枠の大きさの下限値を再帰
的に計算し、親の枠領域の下限値から比率値を持たない
子の枠領域の下限値の和を引いた残りを比率値を持つ子
の枠領域の出力値に比率値に従って分配し、出力枠情報
格納部5に格納する(ステップS62)。ここで、出力
値は図15の幅の出力値の通りである。この後、枠領域
の出力枠情報の出力値が枠情報の上限値の属性を越える
かどうかを整合性検査手段8が検査する(ステップS6
3)。枠領域W1の幅の出力値(110画素)が上限値
(100画素)を越えていると、比率値逆変換部4が枠
領域W1の子枠領域の出力値の比率(20画素:60画
素:30画素)で枠情報格納部1の各子枠領域の比率値
(2:6:3)を設定し、下限値を0画素に設定し直
し、さらに子供の子枠領域についても再帰的に同様の処
理を行い(ステップS64)、再びステップS62へ戻
る。この時出力値によっては比率値の値が大きくなった
り、既に単純な比率値であったものが複雑な比率値にな
ることもあるが、既に設定されている比率値を参考にし
たり、比率の近似値をとるなどの処理(21画素:30
画素≒2:3)を行い、単純な比率値にすることもでき
る。出力部6は出力枠情報格納部5から出力枠情報を取
り出し、画面表示や印刷を行うために出力枠情報を変換
する。また、設計者の指示により比率値逆変換部4が枠
情報格納部1から枠情報を取り出し、比率値でない枠情
報を比率値に変換する(ステップS65)。
Next, the layout designing apparatus will be described with reference to the flowchart of FIG. First,
The designer changes the frame information in the frame information storage unit 1 through the frame information editing unit 2 (step S61). For example, Example 1
The lower limit value of the width of the frame area W122 is changed from 2 pixels to 20 pixels, the frame area W1 has 100 pixels as the upper limit value of the width, and the other frame areas do not have the upper limit value of the width. And it was changed. In this embodiment, attention is paid only to the width of the frame area. At this time, the frame information stored in the frame information storage unit 2 has an overview as shown in FIG. 14 and the tree structure shown in FIG. 4 (however, the nodes W131 and W132 do not have. ), Each piece of frame information that becomes a node of the tree structure has an attribute value of the width shown in FIG. A change in the frame information storage unit 1 is triggered to activate the frame information output conversion unit 3, and in the frame information output conversion unit 3, a ratio value conversion unit operates for the tree structure of the frame information stored in the frame area storage unit 1. The lower limit of the frame size of each frame area that is a node of the tree structure is recursively calculated, and the remainder obtained by subtracting the sum of the lower limit values of the child frame areas that do not have ratio values from the lower limit value of the parent frame area Is distributed to the output value of the child frame area having the ratio value according to the ratio value, and is stored in the output frame information storage unit 5 (step S62). Here, the output value is as the output value of the width of FIG. After that, the consistency checking unit 8 checks whether the output value of the output frame information of the frame area exceeds the attribute of the upper limit value of the frame information (step S6).
3). If the output value (110 pixels) of the width of the frame area W1 exceeds the upper limit value (100 pixels), the ratio value inverse conversion unit 4 causes the ratio output value ratio (20 pixels: 60 pixels) of the child frame areas of the frame area W1. : 30 pixels), the ratio value (2: 6: 3) of each child frame area of the frame information storage unit 1 is set, the lower limit value is reset to 0 pixel, and the child frame area of the child is recursively set. The same process is performed (step S64), and the process returns to step S62 again. At this time, depending on the output value, the value of the ratio value may become large, or a simple ratio value may become a complicated ratio value, but refer to the ratio value that has already been set, Processing such as taking an approximate value (21 pixels: 30
It is also possible to make a simple ratio value by performing pixel ≈ 2: 3). The output unit 6 extracts the output frame information from the output frame information storage unit 5 and converts the output frame information for screen display and printing. Further, the ratio value inverse conversion unit 4 extracts the frame information from the frame information storage unit 1 according to the designer's instruction, and converts the frame information that is not the ratio value into the ratio value (step S65).

【0030】また、整合性検査手段8を用いて上限値に
従って自動的に比率値逆変換部4を起動し、比率値を設
定するだけではなく、直接比率値に設定したい枠領域を
指定して比率値逆変換部4を起動することにより、設計
者の要求する部分を比率値にすることができる。このよ
うに、レイアウトを構成する枠領域の高さや幅などのサ
イズを絶対的な値から比率値に自動的に変換できること
により、サイズの絶対値を目測で決定し、それにあった
比率値のサイズを設定でき、その後は比率値でレイアウ
トを扱うことができる。
Further, the consistency value checking unit 8 is used to automatically activate the ratio value inverse conversion unit 4 in accordance with the upper limit value, and not only the ratio value is set, but also the frame area to be directly set to the ratio value is designated. By activating the ratio value inverse conversion unit 4, the portion required by the designer can be set to the ratio value. In this way, the size such as the height and width of the frame area that makes up the layout can be automatically converted from an absolute value to a ratio value, so the absolute value of the size can be determined visually and the size of the ratio value that matches Can be set, and then the layout can be handled by the ratio value.

【0031】[0031]

【発明の効果】以上説明したように請求項1の発明によ
れば、1つの枠領域内に入れ子構造で複数の枠が含まれ
ているレイアウトにおいて、各枠の高さ及び幅について
の比率値を枠情報として枠情報格納手段が格納してお
り、変更指示手段が入れ子構造の枠の一つについて大き
さの変更を指示すると、演算手段が変更指示されていな
い残余の枠について枠情報格納手段の格納する比率値と
変更指示された枠の変更後のサイズとに基づき演算し、
出力枠情報として作成するものであるから、レイアウト
設計者の求めるレイアウトが一つの枠サイズの変更指示
により自動的に実現し、レイアウト変更回数の大幅な減
少が図れる。
As described above, according to the first aspect of the present invention, in a layout in which one frame area includes a plurality of frames in a nested structure, a ratio value for the height and width of each frame is set. Is stored as frame information in the frame information storage means, and when the change instructing means instructs to change the size of one of the nested frames, the arithmetic means stores the frame information storing means for the remaining frames which are not instructed to be changed. Calculated based on the ratio value stored in and the changed size of the change-designated frame,
Since it is created as output frame information, the layout required by the layout designer is automatically realized by one frame size change instruction, and the number of layout changes can be greatly reduced.

【0032】請求項2の発明によれば、枠の高さ及び幅
に範囲値が与えられている場合には、レイアウト変更指
令に従って枠領域の変更回数少なく変更できると共に、
変更後の枠サイズが前記範囲値内に収まるように自動的
に調整され、頗る利便である。
According to the second aspect of the present invention, when range values are given to the height and width of the frame, the frame area can be changed less frequently in accordance with the layout change command, and
The changed frame size is automatically adjusted so as to be within the range value, which is very convenient.

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

【図1】本発明の実施例1におけるレイアウト設計装置
の構成図である。
FIG. 1 is a configuration diagram of a layout design device according to a first embodiment of the present invention.

【図2】本発明の実施例1におけるレイアウト設計装置
のルーチン1の動作を説明するフローチャートである。
FIG. 2 is a flowchart illustrating an operation of routine 1 of the layout designing apparatus according to the first embodiment of the present invention.

【図3】本発明の実施例1におけるレイアウト設計装置
の枠情報管理部に格納される枠情報のレイアウトの概観
である。
FIG. 3 is an overview of a layout of frame information stored in a frame information management unit of the layout design device according to the first exemplary embodiment of the present invention.

【図4】本発明の実施例1におけるレイアウト設計装置
の枠情報管理部に格納される枠情報の木構造である。
FIG. 4 is a tree structure of frame information stored in a frame information management unit of the layout design device according to the first exemplary embodiment of the present invention.

【図5】本発明の実施例1におけるレイアウト設計装置
の枠情報管理部に格納される枠情報の属性値の値であ
る。
FIG. 5 is a value of an attribute value of frame information stored in a frame information management unit of the layout designing apparatus according to the first embodiment of the present invention.

【図6】本発明の実施例1におけるレイアウト設計装置
のルーチン2の動作を説明するフローチャートである。
FIG. 6 is a flowchart illustrating an operation of a routine 2 of the layout design device according to the first exemplary embodiment of the present invention.

【図7】本発明の実施例1におけるレイアウト設計装置
のルーチン3の動作を説明するフローチャートである。
FIG. 7 is a flowchart illustrating an operation of a routine 3 of the layout design device according to the first exemplary embodiment of the present invention.

【図8】本発明の実施例1におけるレイアウト設計装置
のルーチン4の動作を説明するフローチャートである。
FIG. 8 is a flowchart illustrating an operation of a routine 4 of the layout design device according to the first exemplary embodiment of the present invention.

【図9】本発明の実施例1におけるレイアウト設計装置
のルーチン5の動作を説明するフローチャートである。
FIG. 9 is a flowchart illustrating an operation of a routine 5 of the layout design device according to the first exemplary embodiment of the present invention.

【図10】本発明の実施例1におけるレイアウト設計装
置のルーチン6の動作を説明するフローチャートであ
る。
FIG. 10 is a flowchart illustrating an operation of a routine 6 of the layout design device according to the first exemplary embodiment of the present invention.

【図11】本発明の実施例1におけるレイアウト設計装
置のルーチン7の動作を説明するフローチャートであ
る。
FIG. 11 is a flowchart illustrating an operation of a routine 7 of the layout design device according to the first exemplary embodiment of the present invention.

【図12】本発明の実施例2におけるレイアウト設計装
置の構成図である。
FIG. 12 is a configuration diagram of a layout design device according to a second embodiment of the present invention.

【図13】本発明の実施例2におけるレイアウト設計装
置のルーチン8の動作を説明するフローチャートであ
る。
FIG. 13 is a flowchart illustrating an operation of a routine 8 of the layout design device according to the second exemplary embodiment of the present invention.

【図14】本発明の実施例2におけるレイアウト設計装
置の枠情報管理部に格納される枠情報のレイアウトの概
観である。
FIG. 14 is an overview of a layout of frame information stored in a frame information management unit of the layout design device according to the second exemplary embodiment of the present invention.

【図15】本発明の実施例2におけるレイアウト設計装
置の枠情報管理部に格納される枠情報の属性値の値であ
る。
FIG. 15 is a value of an attribute value of frame information stored in the frame information management unit of the layout designing apparatus according to the second embodiment of the present invention.

【図16】従来のレイアウト設計装置の構成図である。FIG. 16 is a configuration diagram of a conventional layout design device.

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

1 枠情報格納部 2 枠情報編集部 3 枠情報出力変換部 4 比率値逆変換部 5 出力枠情報格納部 7 比率値変換手段 8 整合性検査手段 DESCRIPTION OF SYMBOLS 1 Frame information storage unit 2 Frame information editing unit 3 Frame information output conversion unit 4 Ratio value inverse conversion unit 5 Output frame information storage unit 7 Ratio value conversion means 8 Consistency check means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 谷川 英和 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 里村 尚 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 伊藤 謙次 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hidekazu Tanigawa 1006 Kadoma, Kadoma, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (72) Inventor Takashi Satomura 1006, Kadoma, Kadoma City, Osaka Matsushita Electric Industrial Co., Ltd. 72) Inventor Kenji Ito 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 1つの枠領域内に入れ子構造で複数の枠
が含まれているレイアウトの設計装置であって、一の枠
とその領域内に含まれる他の枠とを識別する識別子と各
枠の配置方向及び各枠の高さ及び幅についての比率値と
を含む枠情報を格納する枠情報格納手段と、前記入れ子
構造の枠の一つについて大きさの変更を指示する変更指
示手段と、変更指示手段によって直接に変更を指示され
ていない残余の枠について、その比率値と変更指示され
た枠の変更後のサイズとに基づき枠サイズを演算する演
算手段と、変更指示手段によって指示された変更内容と
前記演算手段で求められた結果とを用いて枠情報を書き
換え、これを出力枠情報として格納する出力枠情報格納
手段と、を備えたことを特徴とするレイアウト設計装
置。
1. A layout design apparatus in which one frame area includes a plurality of frames in a nested structure, wherein an identifier for identifying one frame and other frames included in the area and Frame information storage means for storing frame information including a frame arrangement direction and ratio values for height and width of each frame, and change instruction means for instructing a size change of one of the nested frames. For the remaining frames which are not directly instructed to be changed by the change instructing means, a calculating means for calculating the frame size based on the ratio value and the changed size of the changed instructed frame, and the change instructing means are instructed. The layout design apparatus further comprises: output frame information storage means for rewriting the frame information by using the changed contents and the result obtained by the calculating means, and storing the frame information as output frame information.
【請求項2】 前記枠情報格納手段は更に枠の高さ及び
幅についての範囲値を有し、レイアウト設計装置は更に
演算手段によって求められた枠サイズが、前記枠情報格
納手段の格納する枠の範囲値に対して整合性を有するか
を再帰的に検査する整合性検査手段と、整合性がないと
判定された場合に、範囲値をもつ枠内部の枠についての
出力枠情報をその枠の高さ、幅の比率に逆変換する比率
値逆変換手段と、逆変換された高さ、幅の比率値を受け
取ると、範囲値をもつ枠内部の枠についてのサイズの制
限を消去した枠情報を作製し演算手段に送出する枠情報
修正手段と、を有することを特徴とする請求項1のレイ
アウト設計装置。
2. The frame information storage means further has a range value for the height and width of the frame, and the layout design apparatus further stores the frame size calculated by the calculation means in the frame information storage means. Consistency checking means for recursively checking whether there is consistency with the range value of, and if it is determined that there is no consistency, output frame information for the frame inside the frame having the range value When the ratio value inverse conversion means for inversely converting the height and width of the frame and the inversely converted height and width ratio values are received, the frame with the size limit for the frame inside the frame having the range value is deleted. The layout design apparatus according to claim 1, further comprising frame information correction means for producing information and sending it to the calculation means.
JP05038224A 1993-02-26 1993-02-26 Layout design equipment Expired - Fee Related JP3112594B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05038224A JP3112594B2 (en) 1993-02-26 1993-02-26 Layout design equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05038224A JP3112594B2 (en) 1993-02-26 1993-02-26 Layout design equipment

Publications (2)

Publication Number Publication Date
JPH06251117A true JPH06251117A (en) 1994-09-09
JP3112594B2 JP3112594B2 (en) 2000-11-27

Family

ID=12519341

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05038224A Expired - Fee Related JP3112594B2 (en) 1993-02-26 1993-02-26 Layout design equipment

Country Status (1)

Country Link
JP (1) JP3112594B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7430713B2 (en) 2004-01-30 2008-09-30 Canon Kabushiki Kaisha Layout adjustment method and apparatus and layout adjustment program
JP2009070405A (en) * 2008-11-26 2009-04-02 Canon Inc Information processing method, device, and computer program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7430713B2 (en) 2004-01-30 2008-09-30 Canon Kabushiki Kaisha Layout adjustment method and apparatus and layout adjustment program
JP2009070405A (en) * 2008-11-26 2009-04-02 Canon Inc Information processing method, device, and computer program

Also Published As

Publication number Publication date
JP3112594B2 (en) 2000-11-27

Similar Documents

Publication Publication Date Title
US10025767B2 (en) Method and apparatus for form automatic layout
JPH09128466A (en) Method and device for processing table
US5469189A (en) Display apparatus and method with multi-window function
JPH06251117A (en) Layout designing device
KR102389450B1 (en) System and method for package manufacturing
EP0461811B1 (en) Pattern processing method
US7206463B2 (en) Image processing method, device and system
JP3306896B2 (en) Document creation device
CN111651802B (en) Method, system and storage medium for generating template scaffold customization scheme
CN102446166B (en) Adjustment method and device for large-version layout
JPH10124694A (en) Method for preparing document
Domrös et al. Revisiting Order-Preserving, Gap-Avoiding Rectangle Packing
JPH02115896A (en) Image processor
KR0185306B1 (en) Postprocessing drawing creation method
KR20230040539A (en) Packaging and packaging production ststem dedicated to customer's products
JP2001076163A (en) Method and device for arranging graphic
JPH06301774A (en) Magnification/reduction method for image pattern
JPH01296770A (en) Edit area correcting device
JPH01266662A (en) Document processor
JPS63273159A (en) Character processing device
JP2978178B2 (en) Document creation apparatus and control method thereof
JPH04219793A (en) Document editing device
JPH0534708B2 (en)
JPH08241423A (en) Color separation processing method and business form design system
JPH06208366A (en) Character size change system

Legal Events

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