JPH09146949A - Automatic article layout device - Google Patents

Automatic article layout device

Info

Publication number
JPH09146949A
JPH09146949A JP7309251A JP30925195A JPH09146949A JP H09146949 A JPH09146949 A JP H09146949A JP 7309251 A JP7309251 A JP 7309251A JP 30925195 A JP30925195 A JP 30925195A JP H09146949 A JPH09146949 A JP H09146949A
Authority
JP
Japan
Prior art keywords
article
column
evaluation
layout
evaluation means
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7309251A
Other languages
Japanese (ja)
Inventor
Takahisa Shirakawa
貴久 白川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP7309251A priority Critical patent/JPH09146949A/en
Publication of JPH09146949A publication Critical patent/JPH09146949A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain a relatively good layout without any human intervention by performing a layout processing as many times as predetermined and outputting the layout result which has the largest total evaluated value. SOLUTION: A column generating means 101 outputs column information, i.e., the shape and size of each column to an allocating means 103. An article input means 102 outputs constituent element data on an article such as its heading, body, chart, and image to an article output means 150. The allocating means 103 determines article constituent elements made to correspond to a layout to lay out the elements. An optimum arrangement result retrieval means 104 inputs arrangement result evaluation information to find a total evaluated value from the total of weights, the product of all evaluated values, etc., stores the layout information having the maximum total evaluated value, and outputs the best layout information to the article output means 150 after performing the allocating process as many times as predetermined.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ワープロやDTP
や新聞や雑誌の編集システムなどに用いられる、段組さ
れた文書のレイアウトを行う自動記事配置装置であっ
て、特に印刷枚数および紙面サイズに関する事前の指定
を満足するように、人手を介することなくレイアウトを
行う自動記事配置装置に関するものである。
TECHNICAL FIELD The present invention relates to a word processor and a DTP.
An automatic article layout device for laying out multi-tiered documents, used for editing systems for newspapers and magazines, etc., without the need for human intervention, especially so as to satisfy advance specifications regarding the number of printed sheets and paper size. The present invention relates to an automatic article placement device that performs layout.

【0002】[0002]

【従来の技術】従来、この種の記事配置装置は、ワープ
ロやDTPシステムなどで段組された文書をレイアウト
する際に、操作性を向上するために用いられている。
2. Description of the Related Art Conventionally, this type of article layout device has been used to improve operability when laying out a document arranged in columns by a word processor, a DTP system or the like.

【0003】従来の記事配置装置としては、特開平3−
176148号公報、特開平4−263357号公報、
特開平5−61871号公報、および特開平4−709
56号公報に開示されている。以下、上記各従来例につ
いて説明する。
As a conventional article placement device, Japanese Patent Laid-Open No.
176148, JP-A-4-263357,
JP-A-5-61871 and JP-A-4-709
No. 56 discloses this. Hereinafter, each of the above conventional examples will be described.

【0004】まず、特開平3−176148号公報に開
示された第1の従来例について説明する。この記事配置
装置は、ユーザが指定した文書構成要素データを割り付
ける枠表示手段と、ユーザの割付実行指示に対し、枠に
対応する領域と、既存領域とが重ならないように割り付
ける割付手段とを設けることで、容易な操作で文書の段
組を制御できる。
First, a first conventional example disclosed in Japanese Patent Laid-Open No. 3-176148 will be described. This article placement device is provided with a frame display means for allocating the document component data designated by the user, and an allocation means for allocating the area corresponding to the frame and the existing area so as not to overlap with the allocation execution instruction from the user. This makes it possible to control the document columns with easy operations.

【0005】続いて、本従来例の動作について図6を参
照して説明する。図6は本従来例における画面表示を表
す説明図である。ここでは、図6(a)に示すような#
0の領域が割り当てられた状態から新たな#1の領域を
割り付ける場合について説明する。このとき、図6
(b)に示すような、仮枠626を表示して、ユーザに
移動操作させ、割付の位置を決定させる。すると、図6
(c)に示すように、新たに設定した#1の領域が、既
に割り付けられている#0の領域を避けて変形される。
図6(d)(e)は、さらに#2の領域を設定した場合
の実施例である。
Next, the operation of this conventional example will be described with reference to FIG. FIG. 6 is an explanatory diagram showing a screen display in the conventional example. Here, as shown in FIG.
A case where a new area # 1 is allocated from a state where the area 0 is allocated will be described. At this time, FIG.
A temporary frame 626 as shown in (b) is displayed to allow the user to perform a moving operation to determine the allocation position. Then, FIG.
As shown in (c), the newly set area # 1 is deformed while avoiding the already allocated area # 0.
FIGS. 6D and 6E show an example in which the area # 2 is further set.

【0006】次に、特開平4−263357号公報に開
示された第2の従来例について説明する。この記事配置
装置は、文書構成要素データを画面上に配置するエリア
の大きさを、エリアの配置状況に応じて変更するレイア
ウト手段を持つ。そのレイアウト手段は、エリア間に設
定された主従関係に従って、主エリアの大きさの変更が
あった際には、従エリアの大きさの変更することで全体
のバランスをとることもできる。
Next, a second conventional example disclosed in JP-A-4-263357 will be described. This article arrangement device has a layout means for changing the size of the area in which the document component data is arranged on the screen according to the arrangement situation of the area. When the size of the main area is changed according to the master-slave relationship set between the areas, the layout means can also balance the entire size by changing the size of the sub-area.

【0007】続いて、本従来例の動作について、図面を
参照して説明する。図7は、本従来例における画面表示
を表す説明図である。図7に示すエリアbとエリアdに
は主従関係があるとする。ここで、図7(a)のように
エリアbに流し込まれる文章がエリアの大きさに対して
少なく(たとえば配分率が60%程度しか無いような場
合)、レイアウト手段はエリアbの大きさを自動的に配
分率が適正な値になるように小さくする。そしてこれに
伴って、レイアウト手段は、エリアbの従エリアである
エリアdの大きさを自動的に配分率が適正な値の範囲内
で大きくする。
Next, the operation of this conventional example will be described with reference to the drawings. FIG. 7 is an explanatory diagram showing a screen display in the conventional example. It is assumed that area b and area d shown in FIG. 7 have a master-slave relationship. Here, as shown in FIG. 7A, the number of sentences flown into the area b is small with respect to the size of the area (for example, when the distribution rate is only about 60%), and the layout unit determines the size of the area b. Automatically reduce the allocation rate to a proper value. Along with this, the layout unit automatically increases the size of the area d, which is the sub-area of the area b, within the range of the appropriate distribution rate.

【0008】次に、特開平5−61871号公報に開示
された第3の従来例について説明する。この記事配置装
置は、文書構成要素の実データを記憶する実データ保存
部と、作成する文書の大きさや、前記実データの配置位
置や大きさなどを記憶する形式データ保存部と、前記実
データと前記形式データとの適合性や関連性を記憶する
関連付けデータ保存部とを備え、形式データと関連付け
データから、形式データに適合する実データを抽出し
て、該形式データに従って、該実データを割り付ける事
でレイアウトを行う。
Next, a third conventional example disclosed in Japanese Patent Laid-Open No. 5-61871 will be described. This article layout device includes an actual data storage unit that stores actual data of document components, a format data storage unit that stores the size of a document to be created, the layout position and size of the actual data, and the actual data. And an association data storage unit that stores compatibility or association between the format data and the format data, extracts real data that matches the format data from the format data and the association data, and stores the actual data according to the format data. Layout is done by allocating.

【0009】図8は、本従来例の制御の流れを表すフロ
ーチャートである。ステップS3で、形式データと関連
付けデータから、形式データに適合する実データを抽出
して、ステップS4で抽出された形式データと実データ
とに基づいて、複合文書を作成する。
FIG. 8 is a flowchart showing the flow of control in this conventional example. In step S3, actual data matching the format data is extracted from the format data and the associated data, and a compound document is created based on the format data and the actual data extracted in step S4.

【0010】次に、特開平4−70956号公報に開示
された第4の従来例について説明する。この記事配置装
置は、字間や、文字の並び方向のサイズを、先頭文字位
置から最終文字を位置させる行端位置までの距離に基づ
いて調節する手段を備え、文字展開可能枠内に幅のほぼ
一杯に文字列を収納するような文字のレイアウトを行
う。
Next, a fourth conventional example disclosed in Japanese Patent Laid-Open No. 4-70956 will be described. This article placement device is provided with means for adjusting the space between characters and the size in the direction in which the characters are arranged based on the distance from the first character position to the line end position where the last character is positioned. Layout the characters so that the characters are stored almost completely.

【0011】図9は、本従来例における画面表示を示し
た図である。図9(A)〜(F)において、符号参照で
示した矩形が文字展開可能枠である。また、参照番号に
おいて、aが付けられた枠は編集前、bが付けられた枠
は編集後の枠をそれぞれ表している。例えば図9(A)
は文字サイズを変更することにより、図9(B)は文字
間隔を変更することにより、文字展開可能枠内に幅のほ
ぼ一杯に文字列を収納している。
FIG. 9 is a diagram showing a screen display in this conventional example. In FIGS. 9A to 9F, the rectangle indicated by the reference numeral is the character expandable frame. Further, in the reference numbers, a frame with a is a frame before editing, and a frame with b is a frame after editing. For example, FIG. 9 (A)
By changing the character size, and by changing the character spacing in FIG. 9 (B), the character string is stored in the character expandable frame so that the character string is almost full.

【0012】以上、第1乃至第3の従来例に示した、3
種類の従来例を用いることで、比較的容易に文書構成要
素データを配置する枠の大きさや位置を決めることがで
きる。
As described above, 3 shown in the first to third conventional examples
By using the conventional example of the type, the size and position of the frame in which the document component data is arranged can be determined relatively easily.

【0013】また、第4の従来例などと組み合わせるこ
とにより、枠内に文字列を美しく配置することも可能で
ある。
Also, by combining with the fourth conventional example, it is possible to beautifully arrange the character string in the frame.

【0014】[0014]

【発明が解決しようとする課題】第1の問題点は、上記
した第1の従来例の場合に、記事の配置に際し、枠の位
置や大きさや形状の調節に対して、人手を必要とするこ
とである。その理由は、対話的に、操作する枠の選択
や、選択した枠の移動や変形を行う必要があるためであ
る。
The first problem is that in the case of the above-mentioned first conventional example, manpower is required for adjusting the position, size and shape of the frame when arranging the article. That is. The reason is that it is necessary to interactively select a frame to be operated and move or deform the selected frame.

【0015】第2の問題点は、上記した第2、3の従来
例を使用して自動でレイアウトを行う場合に、無駄な空
き領域ができる可能性が大きい点である。その理由は、
第1乃至第3の従来例の場合、各記事を流し込む領域の
位置は固定されており、調節機構を持たないためであ
る。記事の長さが未知であることを考えると、不要な空
白の少ないレイアウトのためには領域の形状と位置の調
節機構が必要である。特に第3の従来例の場合、各枠の
大きさの調整機構がない。
The second problem is that there is a high possibility that a useless empty area is created when the layout is automatically performed using the second and third conventional examples. The reason is,
This is because, in the case of the first to third conventional examples, the position of the area into which each article is poured is fixed and does not have an adjusting mechanism. Given that the length of the article is unknown, we need a mechanism for adjusting the shape and position of the area for a layout with less unnecessary white space. Particularly in the case of the third conventional example, there is no adjusting mechanism for the size of each frame.

【0016】又、第1の従来例の場合、形状の調節機構
があるが、対話的操作を必要とする。加えて、形状を読
みにくい形状にならないように調節する手段がない。
Further, in the case of the first conventional example, there is a shape adjusting mechanism, but interactive operation is required. In addition, there is no means to adjust the shape so that it is not difficult to read.

【0017】さらに、第2の従来例の場合、大きさの調
整機構があるものの、非常に限定されている。すなわ
ち、枠相互間での枠の大きさの調節は、記事間に主従関
係があるときに限定されており、有効な調節が行える場
面が少ない。
Further, in the case of the second conventional example, although there is a size adjusting mechanism, it is very limited. That is, adjustment of the size of the frame between frames is limited when there is a master-slave relationship between articles, and there are few situations where effective adjustment can be performed.

【0018】第3の問題点は、全部の記事の位置を指定
しなくてはならない点にある。特に目立たせたい記事
や、天気予報の記事などの常に特定の位置にしたい記事
以外は、位置の指定に意味がないことが多い。それにも
関わらず、全記事の位置の指定が必要であった。その理
由は、従来例の場合、各記事を流し込む領域の位置は固
定されているか、もしくは使用者の操作で指定するもの
であり、位置を指定されていない場合に、適当な領域を
探索する手段を持たないためである。
The third problem is that the positions of all articles must be designated. In many cases, there is no point in specifying the position of an article, except for articles that you want to stand out, or articles that you want to always be in a specific location, such as weather forecast articles. Nevertheless, it was necessary to specify the location of all articles. The reason is that, in the case of the conventional example, the position of the region into which each article is poured is fixed or is designated by the operation of the user, and when the position is not designated, means for searching an appropriate region This is because they do not have.

【0019】第4の問題点は、記事間の相対的な位置関
係を指定できないことである。関連する複数の記事など
を相対的に近い位置にしたいことがある。従来例では絶
対的な位置指定のみである。
The fourth problem is that the relative positional relationship between articles cannot be specified. There are times when you want to make related multiple articles relatively close to each other. In the conventional example, only absolute position designation is performed.

【0020】本発明の課題は、文字サイズや行間ピッチ
などに関する指定、記事の搭載位置に関する指定、及び
記事間の相対的搭載位置に関する指定を満足するように
段組等のレイアウトを読み易いコラム形状になるように
自動で行うことが可能な自動記事配置装置を提供するこ
とである。
A subject of the present invention is a column shape in which a layout such as a column is easy to read so as to satisfy the designation regarding the character size and the line pitch, the designation regarding the mounting position of articles, and the designation regarding the relative mounting position between articles. It is an object of the present invention to provide an automatic article placement device that can be automatically performed as described below.

【0021】[0021]

【課題を解決するための手段】本発明によれば、複数の
文書構成要素データからなる複数個の記事情報が段組さ
れた文書のレイアウトを行う自動記事配置装置であっ
て、紙面上をランダムないくつかの領域に分割するコラ
ム生成手段と、前記記事情報を入手する記事入力手段
と、前記記事入力手段の出力する記事と、前記コラム生
成手段の出力するコラムとの対応付けをランダムに行う
ことでレイアウトをする割り当て手段と、前記割り当て
手段の出力したレイアウト結果に関して、評価を行う1
つまたは複数個の評価手段と、前記コラム生成手段と前
記割り当て手段にレイアウト結果を出力させ、その評価
値を前記評価手段に出力させ、各々の前記評価値から総
合的な評価値を求めるレイアウト処理を、あらかじめ決
められた回数回実行し、前記総合的な評価値が最大であ
るレイアウト結果を出力する最良配置検索手段とを備え
ることを特徴とする自動記事配置装置が得られる。
According to the present invention, there is provided an automatic article placement device for laying out a document in which a plurality of article information consisting of a plurality of document constituent element data are laid out in a random manner. The column generation means for dividing into several areas, the article input means for obtaining the article information, the articles output by the article input means, and the columns output by the column generation means are associated at random. Then, the allocating means for performing layout and the layout result output by the allocating means are evaluated 1
Layout processing for causing one or a plurality of evaluation means, the column generation means and the allocation means to output a layout result, output the evaluation value to the evaluation means, and obtaining a comprehensive evaluation value from each of the evaluation values. Is executed a predetermined number of times, and the best layout search means for outputting the layout result having the maximum total evaluation value is provided.

【0022】さらに、本発明によれば、前記評価手段
が、記事の割り付けられたコラムの形状の読み易さを評
価するコラム形状評価手段を含むことを特徴とする自動
記事配置装置が得られる。
Further, according to the present invention, there is provided an automatic article placement device characterized in that the evaluation means includes column shape evaluation means for evaluating the readability of the shape of the column to which articles are assigned.

【0023】さらに、本発明によれば、前記コラム形状
評価手段において、評価値が、コラムの外周をなす直線
分の個数と、コラムの特定の形状のかどの個数から求め
られることを特徴とする自動記事配置装置が得られる。
Further, according to the present invention, in the column shape evaluation means, the evaluation value is obtained from the number of straight line segments forming the outer circumference of the column and the number of corners of a particular shape of the column. An article placement device is obtained.

【0024】さらに、本発明によれば、前記コラム形状
評価手段において、評価に用いるコラムの特定の形状の
かどが、日本語や英語の横書きの場合に、曲がり角を基
準にして、右側の水平線と下側の垂直線で構成されるか
どであり、日本語の縦書きの場合に、曲がり角を基準に
して、左側の水平線と下側の垂直線で構成されるかどで
あることを特徴とする自動記事配置装置が得られる。
Further, according to the present invention, in the column shape evaluation means, in the case of horizontal writing in Japanese or English, the corner of a specific shape of the column used for the evaluation is a horizontal line on the right side with reference to the turning angle. Whether it is composed of lower vertical lines, in the case of Japanese vertical writing, it is characterized by whether it is composed of left horizontal lines and lower vertical lines based on the corners. An article placement device is obtained.

【0025】さらに、本発明によれば、前記評価手段
が、コラムに割り当てる際に用いた記事の文字サイズや
文字間ピッチや行間ピッチがあらかじめ指定された値に
近いか否かを評価する文字情報評価手段を含むことを特
徴とする自動記事配置装置が得られる。
Furthermore, according to the present invention, the evaluation means evaluates whether or not the character size, the inter-character pitch, or the inter-line pitch of the article used when allocating to the column is close to a predetermined value. An automatic article placement device characterized by including evaluation means is obtained.

【0026】さらに、本発明によれば、前記評価手段
が、記事に対応づけられたコラムの位置があらかじめ指
定された位置に近いか否かを評価する記事位置評価手段
を含むことを特徴とする自動記事配置装置が得られる。
Further, according to the present invention, the evaluation means includes article position evaluation means for evaluating whether or not the position of the column associated with the article is close to a position designated in advance. An automatic article placement device is obtained.

【0027】さらに、本発明によれば、前記評価手段
が、関連性のある複数の記事間の距離があらかじめ指定
された値に近いか否かを評価する記事間距離評価手段を
含むことを特徴とする自動記事配置装置が得られる。
Further, according to the present invention, the evaluation means includes an inter-article distance evaluation means for evaluating whether or not the distance between a plurality of related articles is close to a value designated in advance. An automatic article placement device is obtained.

【0028】さらに、本発明によれば、前記評価手段
が、記事を割り付けなかった紙面上の領域の面積があら
かじめ指定された面積に近いか否かを評価する空き領域
評価手段を含むことを特徴とする自動記事配置装置が得
られる。
Further, according to the present invention, the evaluation means includes an empty area evaluation means for evaluating whether or not the area of the area on the paper on which the article is not allocated is close to a predetermined area. An automatic article placement device is obtained.

【0029】さらに、本発明によれば、前記評価手段
が、記事の割り付けられたコラムの形状の読み易さを評
価するコラム形状評価手段と、コラムに割り当てる際に
用いた記事の文字サイズや文字間ピッチや行間ピッチが
あらかじめ指定された値に近いか否かを評価する文字情
報評価手段と、記事に対応づけられたコラムの位置があ
らかじめ指定された位置に近いか否かを評価する記事位
置評価手段と、関連性のある複数の記事間の距離があら
かじめ指定された値に近いか否かを評価する記事間距離
評価手段と、記事を割り付けなかった紙面上の領域の面
積があらかじめ指定された面積に近いか否かを評価する
空き領域評価手段で構成されていることを特徴とする自
動記事配置装置が得られる。
Furthermore, according to the present invention, the evaluation means evaluates the readability of the shape of the column to which the article is assigned, and the character size and character of the article used when assigning to the column. Character information evaluation means for evaluating whether the space pitch or line pitch is close to a preset value, and the article position for evaluating whether the position of the column associated with the article is close to the preset position The evaluation means, the inter-article distance evaluation means that evaluates whether the distance between related multiple articles is close to a pre-specified value, and the area of the area on the paper where the articles are not assigned are specified in advance. It is possible to obtain an automatic article placement device characterized by being configured by a free area evaluation means for evaluating whether or not the area is close to the area.

【0030】[0030]

【作用】コラム生成手段により紙面上をランダムないく
つかの領域に分割してできたコラムに、記事入力手段か
ら出力された記事を、割り付け手段でランダムに選択し
て対応付け、レイアウトを行う。
The layout is performed by randomly allocating the articles output from the article inputting means to the columns formed by dividing the paper surface into several random areas by the column generating means and randomly associating them with the allocating means.

【0031】そのようにしてできたレイアウト結果に関
して、コラム形状評価手段で、記事の割り付けられたコ
ラムの形状の読み易さを評価し、文字情報評価手段で、
コラムに割り当てる際に用いた記事の文字サイズや文字
間ピッチや行間ピッチがあらかじめ指定された値に近い
か否かを評価し、記事位置評価手段で、記事に対応づけ
られたコラムの位置があらかじめ指定された位置に近い
か否かを評価し、記事間距離評価手段で、関連性のある
複数の記事間の距離があらかじめ指定された値に近いか
否かを評価し、空き領域評価手段で、記事を割り当てな
かった紙面上の面積があらかじめ指定された面積に近い
か否かを評価し、最良配置検索手段により、割り付け処
理とその評価処理を複数回行わせ、各評価手段の評価値
から総合的な評価値を求め、配置結果のうち評価値が最
大のものを配置結果として出力する。
With respect to the layout result thus obtained, the column shape evaluation means evaluates the readability of the shape of the column to which the article is assigned, and the character information evaluation means
Evaluate whether the character size, character pitch, or line pitch of the article used when assigning to the column is close to the value specified in advance, and the column position associated with the article is calculated in advance by the article position evaluation means. It is evaluated whether it is close to the specified position, the inter-article distance evaluation means evaluates whether the distance between related multiple articles is close to a preset value, and the free space evaluation means , Evaluating whether the area on the paper where the article is not assigned is close to the pre-specified area, and the best placement search means performs the allocation processing and its evaluation processing multiple times, and from the evaluation value of each evaluation means A comprehensive evaluation value is obtained, and the placement result with the largest evaluation value is output as the placement result.

【0032】[0032]

【発明の実施の形態】次に、本発明の一実施の形態につ
いて図面を参照して説明する。図1は、本発明の一実施
の形態を示すブロック図である。本発明に係る自動記事
配置装置は、コラム生成手段101と、RAMや磁気デ
ィスクなどの記憶装置、あるいはパソコン通信や文字放
送などの通信装置などからなり、記事情報を構成要素毎
に出力する記事入力手段102と、割り当て手段103
と、最良配置検索手段104と、コラム形状評価手段1
10と、文字情報評価手段111と、記事位置評価手段
112と、記事間距離評価手段113と、空き領域評価
手段114と、プリンタやCRTからなり、レイアウト
した記事を出力する記事出力手段150から構成され
る。ただし、以上のうち特に記述のないものは、プログ
ラム制御などにより動作する。
BEST MODE FOR CARRYING OUT THE INVENTION Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention. An automatic article placement device according to the present invention includes a column generation means 101, a storage device such as a RAM or a magnetic disk, or a communication device such as personal computer communication or teletext, and article input for outputting article information for each component. Means 102 and allocation means 103
And the best placement search means 104 and the column shape evaluation means 1
10, a character information evaluation unit 111, an article position evaluation unit 112, an inter-article distance evaluation unit 113, a vacant area evaluation unit 114, and a printer and a CRT, and an article output unit 150 that outputs a laid out article. To be done. However, of the above, those not particularly described operate under program control or the like.

【0033】コラム生成手段101は、割り当て手段1
03に、コラム情報すなわち各コラムの形状および大き
さを出力する。記事入力手段102は、記事出力手段1
50に、記事を構成する見出し、本文、図表、画像とい
った記事の構成要素データを出力する。
The column generation means 101 is the allocation means 1
Column information, that is, the shape and size of each column is output to 03. The article input means 102 is the article output means 1
The component data of the article, such as a headline, a text, a chart, and an image, which constitute the article are output to 50.

【0034】また、割り当て手段103に、各記事の構
成要素の形状制限情報すなわち縦横の比率の最大値や最
小値・縦や横の長さの最大値や最小値・解像度・フォン
トの最大値や最小値・字間や行間の最大値や最小値・字
間と行間の比率の最大値や最小値などを出力する。割り
当て手段103は、コラム生成手段101からコラム情
報を入力され、また記事入力手段102から記事の構成
要素の形状制限情報を入力され、各コラムに対応させる
記事構成要素を決定することで、レイアウトを行う。
Further, the assigning means 103 causes the shape restriction information of the constituent elements of each article, that is, the maximum and minimum values of the vertical and horizontal ratios, the maximum and minimum values of the vertical and horizontal lengths, the resolution and the maximum value of the font, and the like. It outputs the minimum value, the maximum value between characters, the maximum value between characters, the minimum value, and the maximum value or minimum value of the ratio between character and lines. The allocation unit 103 receives the column information from the column generation unit 101 and the shape restriction information of the article components from the article input unit 102, determines the article components to be associated with each column, and determines the layout. To do.

【0035】最良配置結果検索手段104は、割り当て
手段103からレイアウト情報を入力され、コラム形状
評価手段110と、文字情報評価手段111と、記事位
置評価手段112と、記事間距離評価手段113と、空
き領域評価手段114とから配置結果評価情報を入力さ
れ、重み付きの総和や、全ての評価値の積などによって
総合的な評価値を求め、入力されたレイアウト情報のう
ちで総合的な評価値が最大であるレイアウト情報を記憶
していき、あらかじめ指定された回数回の割り当て処理
後に、記事出力手段150に最良なレイアウト情報を出
力する。
The layout information is input from the allocation means 103 to the best placement result search means 104, and the column shape evaluation means 110, the character information evaluation means 111, the article position evaluation means 112, the inter-article distance evaluation means 113, Arrangement result evaluation information is input from the free area evaluation unit 114, a total evaluation value is obtained by a weighted sum, a product of all evaluation values, and the like, and a total evaluation value of the input layout information is calculated. The maximum layout information is stored, and the best layout information is output to the article output unit 150 after the allocation processing is performed a predetermined number of times.

【0036】コラム形状評価手段110は、割り当て手
段103からレイアウト情報を入力され、コラムの読み
易さを評価し、評価値を最良配置探索手段104に出力
する。文字情報評価手段111は、割り当て手段103
からレイアウト情報を入力され、記事の文字サイズ、文
字間ピッチ、行間ピッチ、文字ピッチと行間ピッチの比
率などがあらかじめ指定された値からどの程度ずれてい
るかを評価し、評価値を最良配置探索手段104に出力
する。
The column shape evaluation means 110 receives the layout information from the allocation means 103, evaluates the readability of the column, and outputs the evaluation value to the best placement search means 104. The character information evaluation means 111 is an allocation means 103.
Layout information is input from, evaluate how much the character size, character pitch, line pitch, ratio of character pitch and line pitch, etc. of the article deviates from the pre-specified value, and the evaluation value is the best placement search means. To 104.

【0037】記事位置評価手段112は、割り当て手段
103からレイアウト情報を入力され、記事の割り当て
られたコラムの位置があかじめ指定された位置からどの
程度ずれているかを評価し、評価値を最良配置探索手段
104に出力する。記事間距離評価手段113は、割り
当て手段103からレイアウト情報を入力され、関連す
る複数の記事の割り当てられたコラム間の距離があらか
じめ指定された距離からどの程度ずれているかを評価
し、評価値を最良配置探索手段104に出力する。
The article position evaluation means 112 receives the layout information from the allocation means 103, evaluates how much the position of the column to which the article is allocated deviates from the designated position, and obtains the best evaluation value. It is output to the arrangement search means 104. The inter-article distance evaluation unit 113 receives the layout information from the allocation unit 103, evaluates how much the distance between the allocated columns of a plurality of related articles deviates from a predetermined distance, and calculates the evaluation value. It outputs to the best placement search means 104.

【0038】空き領域評価手段114は、割り当て手段
103からレイアウト情報を入力され、記事の割り当て
られていないコラムの紙面に対する割合があらかじめ指
定された値からどの程度ずれているかを評価し、評価値
を最良配置探索手段104に出力する。記事出力手段1
50は、最良配置結果検索手段104から最良のレイア
ウト情報を入力され、記事入力手段102から各記事の
文書構成要素データを入力される。そして、レイアウト
情報に従って、各記事を紙面上に印刷する。同様に、画
面上への表示を行うことも可能である。
The empty area evaluation means 114 receives the layout information from the allocation means 103, evaluates how much the ratio of the column to which the article is not allocated to the paper surface is deviated from a predetermined value, and evaluates the evaluation value. It outputs to the best placement search means 104. Article output means 1
The best layout result search means 104 inputs the best layout information 50, and the article input means 102 inputs the document component data of each article. Then, according to the layout information, each article is printed on the paper. Similarly, it is possible to display on the screen.

【0039】次に図1乃至図5を参照して、本実施の形
態における動作について説明する。図2および図3は、
本実施例の動作において、複数回行うレイアウト処理の
うち、ある2つを抜き出したレイアウト結果を示す説明
図である。紙面(印刷領域)201および紙面301
は、横方向の4つの段組になっており、コラム202の
横幅は4段分、コラム302の横幅は最大で3段分、コ
ラム203とコラム303の横幅は最大で2段分になっ
ている。また、図2ないし図3では2つのコラムしか図
示していないが、紙面上はコラムで埋め尽くされてい
る。
Next, the operation of this embodiment will be described with reference to FIGS. FIG. 2 and FIG.
FIG. 11 is an explanatory diagram showing a layout result of extracting two certain pieces of layout processing performed a plurality of times in the operation of this embodiment. Paper surface (printing area) 201 and paper surface 301
Has four columns in the horizontal direction. The column 202 has a horizontal width of four columns, the column 302 has a maximum horizontal width of three columns, and the columns 203 and 303 have a maximum horizontal width of two columns. There is. Further, although only two columns are shown in FIGS. 2 to 3, the space is full of columns.

【0040】はじめに、図1乃至図3を参照してコラム
生成手段101の動作に関して説明する。コラム生成手
段101は、紙面上をランダムないくつかの領域に分割
する。まず、段組み数を決める。このとき、段組み数が
あらかじめ一意に指定されていれば、その値を用い、そ
れ以外の場合はあらかじめ指定されている範囲の段組み
数を乱数を発生させて決めればよい。以下では、段を分
離している線を段組み線と呼ぶ。
First, the operation of the column generating means 101 will be described with reference to FIGS. The column generation unit 101 divides the paper surface into some random areas. First, decide the number of columns. At this time, if the number of columns is uniquely designated in advance, that value is used, and in other cases, the number of columns in the previously designated range may be determined by generating a random number. In the following, the line separating the stages will be referred to as a column assembly line.

【0041】次に、コラムとコラムの分割線の位置、す
なちわ段組み方向と逆方向(図2および図3の場合Y方
向)の座標と、分割線の開始段と終了段を乱数を発生さ
せて決める。なお、発生させる乱数の値域は紙面のサイ
ズと段数から一意に決められる。
Next, the positions of the columns and the dividing lines of the columns, that is, the coordinates in the direction opposite to the column assembly direction (Y direction in FIGS. 2 and 3), and the starting and ending stages of the dividing lines are random numbers. Generate and decide. The range of the generated random numbers is uniquely determined from the size of the paper and the number of steps.

【0042】最後に、段組み線と分割線によってできる
矩形領域にあらかじめ指定されている範囲の乱数を発生
させて番号付けをし、上下左右に連続する矩形領域で同
一番号のものを結合させてコラムを作成する。たとえ
ば、図2および図3ではいずれも4段組みであり、コラ
ム203は、段組み線と、Y座標が5の位置で開始段が
3段目、終了段が4段目の分割線と、Y座標が6の位置
で開始段が3段目、終了段が3段目の分割線とからでき
た2つの矩形領域に同一番号がついたため、結合されて
生成されたと考えることができる。
Finally, a random number within a prespecified range is generated in a rectangular area formed by the multi-column line and the dividing line, and numbers are given, and the rectangular areas continuous in the vertical and horizontal directions are combined with the same number. Create a column. For example, in FIGS. 2 and 3, the columns 203 are all four columns, and the column 203 has a column line, a division line at the position where the Y coordinate is 5, the third stage at the start stage and the fourth stage at the end stage. Since the two rectangular regions formed by the Y-coordinate at the position of 6 and the dividing line of the third stage at the starting stage and the third stage at the ending stage are assigned the same numbers, it can be considered that they are generated by combining them.

【0043】このようにして生成したコラム情報すなわ
ち各コラムの形状および大きさを、割り当て手段103
に出力する。乱数を用いているため、図2と図3のよう
に毎回異なるコラム情報を出力することになる。
The column information generated in this way, that is, the shape and size of each column, is assigned by the allocating means 103.
Output to Since random numbers are used, different column information is output every time as shown in FIGS.

【0044】次に、記事のコラムへの割り付けに関して
説明する。記事入力手段102は、割り当て手段103
に、各記事の構成要素の形状制限情報すなわち縦横の比
率の最大値や最小値・縦や横の長さの最大値や最小値・
解像度・フォントの最大値や最小値・字間や行間の最大
値や最小値・字間と行間の比率の最大値や最小値などを
出力する。
Next, allocation of articles to columns will be described. The article input means 102 is an allocation means 103.
In addition, the shape restriction information of the constituent elements of each article, that is, the maximum and minimum values of the vertical and horizontal ratios, the maximum and minimum values of the vertical and horizontal lengths,
Outputs the maximum and minimum values of the resolution and font, the maximum and minimum values of character spacing and line spacing, and the maximum and minimum values of the ratio between character and line spacing.

【0045】割り当て手段103は、コラム生成手段1
01からコラム情報を入力され、また記事入力手段10
2から記事の構成要素の形状制限情報を入力され、各コ
ラムに対応させる記事を決定する。
The allocating means 103 is the column generating means 1
Column information is input from 01, and article input means 10
The shape restriction information of the constituent elements of the article is input from 2, and the article corresponding to each column is determined.

【0046】例えば、ある記事構成要素が3段分の横幅
を必要とする大見出しであるとすると、その記事構成要
素は、4段分の横幅の領域であるコラム202には割付
られても、最大でも2段分の横幅しかないコラム203
には割り付けることはできない。このように、割り付け
可能なコラムを探索し、そのうちの1つのコラムをラン
ダムに選択する。
For example, if a certain article constituent element is a headline that requires a width of three columns, the article constituent element is assigned to the column 202, which is an area having a width of four columns. Column 203 that has a maximum width of 2 columns
Cannot be assigned to. In this way, the allocatable columns are searched and one of them is randomly selected.

【0047】図4を参照して、さらに詳しく割り当て手
段103の動作を説明する。図4は割り当て手段103
の動作を説明するフローチャートである。記事入力手段
102から入力された複数個ある記事の中から1つをラ
ンダムに選択する(ステップ401)。次に、コラム生
成手段101で生成されたコラムのうち、記事構成要素
が割り付け可能なコラムを探索し、そのうちの1つのコ
ラムを選択し、仮割り付けを行う(ステップ402)。
The operation of the assigning means 103 will be described in more detail with reference to FIG. FIG. 4 shows the allocation means 103
5 is a flowchart for explaining the operation of FIG. One is randomly selected from a plurality of articles input from the article input unit 102 (step 401). Next, of the columns generated by the column generation means 101, a column to which the article constituent element can be allocated is searched, one column is selected, and provisional allocation is performed (step 402).

【0048】次に、仮割り付けが行えたかどうか判定
し、仮割り付けが行えた場合はステップ404へ進み、
行えなかった場合はステップ407へ進む(ステップ4
03)。ステップ401で選択した記事を構成する全て
の構成要素が仮割り付けできたか否かを判定する。仮割
り付けができた場合は仮割り付けを本割り付けにしてス
テップ405に進み、まだできない場合はステップ40
2に戻る(ステップ404)。
Next, it is determined whether or not the temporary allocation can be performed. If the temporary allocation can be performed, the process proceeds to step 404,
If not, proceed to step 407 (step 4
03). It is determined whether or not all the constituent elements of the article selected in step 401 have been tentatively allocated. If the temporary allocation is possible, the temporary allocation is made to be the real allocation and the process proceeds to step 405.
Return to step 2 (step 404).

【0049】次に、全コラムが(記事が割り付けられ
て)埋まったか否かを判定し(ステップ405)、埋ま
った場合はステップ407に進み、埋まらなかった場合
はステップ406に進む(ステップ405)。ステップ
406では全記事が処理されたか否かを判定し、処理さ
れた場合はステップ407に進み、処理されていない場
合はステップ401に戻る(ステップ406)。
Next, it is judged whether all columns are filled (articles are allocated) (step 405). If all columns are filled, the process proceeds to step 407. If not filled, the process proceeds to step 406 (step 405). . In step 406, it is determined whether all articles have been processed. If all articles have been processed, the process proceeds to step 407, and if not, the process returns to step 401 (step 406).

【0050】次に、ステップ401で選択した記事の構
成要素のうち、仮割り付けの済んでいる構成要素全て
が、ステップ402で割り付け可能な全コラムに対して
仮割り付けを試みたか否かを判定する。試していればス
テップ409に進み、まだ割り付け可能な全パターンを
試していなければ別のパターンを試すためにステップ4
02に進む(ステップ408)。ステップ401で選択
した記事の構成要素の仮割り付けを全て取り消して、未
割り付けに戻し、その記事のレイアウトを断念し、ステ
ップ406に進む。ただし、レイアウトすることを断念
した記事もステップ406では、処理の終わった記事と
して数える(ステップ409)。
Next, it is determined whether or not all of the constituent elements of the article selected in step 401, which have been provisionally allocated, attempted the temporary allocation to all the allocatable columns in step 402. . If it has been tried, the process proceeds to step 409, and if all the allocatable patterns are not tried yet, another step is tried to try another pattern.
02 (step 408). All the provisional allocation of the constituent elements of the article selected in step 401 are canceled and returned to unallocated, the layout of the article is abandoned, and the process proceeds to step 406. However, articles for which layout has been abandoned are counted as finished articles in step 406 (step 409).

【0051】レイアウト結果を最良配置探索手段10
4、コラム形状評価手段110、文字情報評価手段11
1、記事位置評価手段112、記事間距離評価手段11
3、空き領域評価手段114に出力して(ステップ40
7)、処理が終了する。
The layout result is used as the best placement search means 10.
4, column shape evaluation means 110, character information evaluation means 11
1, article position evaluation means 112, inter-article distance evaluation means 11
3. Output to the free space evaluation means 114 (step 40
7), the process ends.

【0052】このようにして、レイアウト結果が求めら
れる。ここで得られるレイアウト結果は、実行する度に
違う。その理由は、コラム生成手段101からの入力が
毎回異なることに加え、さらにステップ401の記事の
選択の順序や、ステップ402での構成要素を割り付け
るコラムがランダムに決まるからである。
In this way, the layout result is obtained. The layout result obtained here is different each time it is executed. The reason is that the input from the column generation means 101 is different every time, and in addition, the order of selecting articles in step 401 and the columns to which the constituent elements in step 402 are assigned are randomly determined.

【0053】次に、レイアウトの評価手段について説明
する。コラム形状評価手段110は、レイアウト結果を
割り当て手段103から入力され、各コラムの形状を評
価し、評価値を最良配置探索手段104に出力する。図
5を参照してコラム形状の評価について説明する。コラ
ムの形状の評価は、コラムの外周をなす直線分の個数
と、コラムの特定の形状の角551〜557の個数など
から求める。どちらも個数が少ないほど美しいレイアウ
トであり評価値が高くなる。
Next, the layout evaluation means will be described. The column shape evaluation means 110 receives the layout result from the allocation means 103, evaluates the shape of each column, and outputs the evaluation value to the best placement search means 104. The evaluation of the column shape will be described with reference to FIG. The shape of the column is evaluated based on the number of straight lines forming the outer circumference of the column and the number of corners 551 to 557 of the specific shape of the column. In both cases, the smaller the number, the more beautiful the layout and the higher the evaluation value.

【0054】評価に用いるコラムの角は、日本語や英語
の横書きの場合は、曲がり角を基準にして、右側の水平
線と下側の垂直線で構成される角551〜557がよ
い。また、日本語の縦書きの場合は、曲がり角を基準に
して、左側の水平線と下側の垂直線で構成される角55
8がよい。例えば、コラム501、コラム502、コラ
ム503、コラム504の場合、コラムの外周をなす直
線分の個数は、それぞれ4個、8個、8個、8個であ
る。割り当てる記事が日本語横書きや英語とすると、コ
ラムの特定の形状の角は、それぞれ1個、2個、1個、
3個である。すなわち、コラム501、コラム503、
コラム502、コラム504の順に、読み易いコラム形
状であると評価される。また、割り当てる記事が日本語
縦書きとすると、コラムの特定の形状の角は、それぞれ
1個、2個、3個、1個である。すなわち、コラム50
1、コラム504、コラム502、コラム503の順に
読み易いコラム形状であると評価される。
In the case of horizontal writing in Japanese or English, the corners of the column used for evaluation are preferably corners 551 to 557 formed by a horizontal line on the right side and a vertical line on the lower side with reference to the bending angle. Also, in the case of vertical writing in Japanese, a corner 55 composed of a horizontal line on the left side and a vertical line on the lower side with reference to the corner
8 is good. For example, in the case of the column 501, the column 502, the column 503, and the column 504, the number of straight lines forming the outer circumference of the column is 4, 8, 8, and 8, respectively. If the articles to be assigned are horizontal Japanese or English, the corners of the particular shape of the column are 1, 2, 1,
There are three. That is, column 501, column 503,
The column 502 and the column 504 are evaluated in order of the column shape so that they are easy to read. If the articles to be assigned are vertically written in Japanese, the corners of the particular shape of the column are 1, 2, 3, and 1, respectively. That is, column 50
1, the column 504, the column 502, and the column 503 are evaluated to have a column shape that is easy to read.

【0055】文字情報評価手段111は、レイアウト結
果を割り当て手段103から入力され、各記事の文字情
報すなわち文字サイズ、文字間ピッチ、行間ピッチ、文
字ピッチと行間ピッチの比率などを評価し、評価値を最
良配置検索手段104に出力する。記事の文字情報が指
定された値からどの程度ずれているかを求める。ずれが
少ない方が美しいレイアウトであり評価値が高くなる。
The character information evaluation unit 111 receives the layout result from the allocation unit 103, evaluates the character information of each article, that is, the character size, the character pitch, the line pitch, the ratio between the character pitch and the line pitch, and the evaluation value. Is output to the best placement search means 104. Find out how much the text information in an article deviates from the specified value. The smaller the deviation, the more beautiful the layout and the higher the evaluation value.

【0056】記事位置評価手段112は、レイアウト結
果を割り当て手段103から入力され、各コラムの位置
を評価し、評価値を最良配置探索手段104に出力す
る。特に目立たせたい記事や、天気予報の記事などの常
に特定の位置にしたい記事については、紙面上の任意の
座標値を指定させ、その記事を割り付けたコラムとその
座標値との距離を求める。距離が小さい方が美しいレイ
アウトであり評価値が高くなる。記事の位置の善し悪し
を評価する座標値は、記事1つに複数個あってもよい。
その場合は、各点からの距離の和や平均値を用いれば良
い。
The article position evaluation means 112 receives the layout result from the allocation means 103, evaluates the position of each column, and outputs the evaluation value to the best layout search means 104. For articles that you want to stand out, or articles that you want to always keep in a specific position, such as weather forecast articles, you can specify arbitrary coordinate values on the paper and obtain the distance between the column to which the article is assigned and the coordinate values. The smaller the distance, the more beautiful the layout and the higher the evaluation value. There may be a plurality of coordinate values for evaluating the goodness of the position of an article for each article.
In that case, the sum of the distances from each point or the average value may be used.

【0057】記事間距離評価手段113は、レイアウト
結果を割り当て手段103から入力され、各コラム間の
距離を評価し、評価値を最良配置探索手段104に出力
する。関連する内容の2つの記事や、クイズの問題と答
などのように、互いに近くに配置したいものや、速くに
配置したいものがある。そのような記事については、そ
れらの記事を割り付けたコラム間の距離を求める。互い
に近くに配置したい記事については距離が小さい方が、
互いに遠くに配置したい記事については距離が大きい方
が、美しいレイアウトであり評価値が高くなる。
The inter-article distance evaluation means 113 receives the layout result from the allocation means 103, evaluates the distance between the columns, and outputs the evaluation value to the best placement search means 104. There are two articles with related content, some questions that you want to place close to each other, and some that you want to place quickly, such as quiz questions and answers. For such articles, find the distance between the columns to which they are assigned. For articles that you want to place close to each other, the smaller the distance,
For articles that should be placed far from each other, the larger the distance, the more beautiful the layout and the higher the evaluation value.

【0058】空き領域評価手段114は、レイアウト結
果を割り当て手段103から入力され、記事の割り当て
られていないコラムの紙面に対する割合を評価し、評価
値を最良配置探索手段104に出力する。空き領域の占
める割合が、指定された値に近いほど美しいレイアウト
であり評価値が高くなる。
The free area evaluation means 114 receives the layout result from the allocation means 103, evaluates the ratio of the column to which the article is not allocated to the paper surface, and outputs the evaluation value to the best layout search means 104. The closer the occupied area is to the specified value, the more beautiful the layout and the higher the evaluation value.

【0059】最良配置探索手段104は、割り当て手段
103からレイアウト情報を入力され、コラム形状評価
手段110と、文字情報評価手段111と、記事位置評
価手段112と、記事間距離評価手段113と、空き領
域評価手段114とから評価値を入力される。
The layout information is input from the allocation means 103 to the best layout search means 104, and the column shape evaluation means 110, the character information evaluation means 111, the article position evaluation means 112, the inter-article distance evaluation means 113, and the vacant space. The evaluation value is input from the area evaluation means 114.

【0060】各評価手段の出力する評価値は、たとえ
ば、互いに比較できるように正視化され(重み付けを施
され)、加算され、レイアウト全体の評価値となる。こ
のようにして求めた評価値が最大の配置結果評価情報と
レイアウト情報を記憶していき、何回かの割り当て処理
後に印刷手段150に最良なレイアウト情報を出力す
る。
The evaluation values output by the respective evaluation means are, for example, embossed (weighted) so that they can be compared with each other, and added to obtain an evaluation value of the entire layout. The layout result evaluation information and the layout information having the largest evaluation value thus obtained are stored, and the best layout information is output to the printing unit 150 after several allocation processes.

【0061】[0061]

【発明の効果】本発明によれば、人手を介すること無
く、比較的良好なレイアウトができる。これによって、
検索による記事の入手から印刷までを自動で行うことが
できる。
According to the present invention, a relatively good layout can be achieved without manpower. by this,
It is possible to automatically perform from the acquisition of articles by search to the printing.

【0062】又、紙面の空き領域も考慮できる。例え
ば、2頁にわたって印刷しておいて、2頁目は1行だけ
しか印刷されてないといったような紙の無駄や体裁の悪
さをなくすことができる。それは、空き領域評価手段を
設けたことによる。
Further, a vacant area on the paper surface can be considered. For example, it is possible to eliminate the waste of paper and the bad appearance such that the second page is printed on only one line and the second page is printed. This is because the empty area evaluation means is provided.

【0063】又、コラム生成手段を用いることで、紙面
の有効利用が期待できる。その理由は、記事の形状・位
置・大きさを調節することが可能で、記事と記事との複
雑な噛み合わせを試すことができるからである。
Further, by using the column generating means, effective utilization of the paper surface can be expected. The reason is that it is possible to adjust the shape, position, and size of articles, and it is possible to try complicated meshing between articles.

【0064】又、1つの記事の文字の流れ方が読み易い
ような割り付けにすることができる。それは、記事形状
評価手段を設けたことによる。
Further, the layout of the characters in one article can be easily read. This is because the article shape evaluation means is provided.

【0065】又、使用者の指定に応じて、壮年用に大き
な文字を使用したり、情報量を増やすために小さな文字
を使用するように調節することができる。それは、文字
情報評価手段を設けたことにより、使用者が指定した文
字サイズに近いレイアウト結果を得ることができるため
である。
Further, according to the designation of the user, it is possible to adjust to use a large character for the middle age and a small character for increasing the amount of information. This is because by providing the character information evaluation means, a layout result close to the character size designated by the user can be obtained.

【0066】又、関連する記事間の距離が小さくなるよ
うに調節したり、大きくなるように調節したりすること
ができる。それは、記事間距離評価手段を設けたことに
よる。
Also, the distance between related articles can be adjusted to be small or large. This is because the inter-article distance evaluation means is provided.

【0067】又、特に目立たせたい記事ができるだけ左
上端に配置されるように調整したり、特定の記事ができ
るだけ特定の位置に配置されるように調整することがで
きる。それは、記事位置評価手段を設けたことによる。
Further, it is possible to adjust so that an article which is particularly desired to be noticed is arranged at the upper left end as much as possible, or so that a specific article is arranged at a specific position as much as possible. This is because the article position evaluation means is provided.

【0068】又、すべての条件を満足したレイアウトは
できない場合でも、全体のバランスをとった比較的良好
なレイアウトを得ることができる。
Even if a layout satisfying all the conditions cannot be obtained, it is possible to obtain a relatively good layout with a good balance.

【0069】又、同じようなやり方で、他のレイアウト
条件を評価する評価手段を追加するだけで、そのレイア
ウト条件を考慮したレイアウトを得ることができる。
Further, in the same manner, a layout considering the layout condition can be obtained only by adding an evaluation means for evaluating another layout condition.

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

【図1】本発明に係る自動記事配置装置の一実施の形態
を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of an automatic article placement device according to the present invention.

【図2】本発明の動作中に生成するレイアウト候補の一
例であり、コラム生成手段および割り付け手段の動作を
説明する説明図である。
FIG. 2 is an example of a layout candidate generated during the operation of the present invention, and is an explanatory diagram for explaining the operation of the column generating means and the allocating means.

【図3】本発明の動作中に生成するレイアウト候補の一
例であり、コラム生成手段および割り付け手段の動作を
説明する説明図である。
FIG. 3 is an example of a layout candidate generated during the operation of the present invention, and is an explanatory diagram for explaining the operation of the column generating means and the allocating means.

【図4】本発明の割り当て手段の動作を説明するフロー
チャートである。
FIG. 4 is a flowchart explaining the operation of the assigning means of the present invention.

【図5】本発明の動作中に生成するコラム候補の一例で
あり、コラム形状評価手段の動作を説明する説明図であ
る。
FIG. 5 is an example of a column candidate generated during the operation of the present invention, and is an explanatory diagram for explaining the operation of the column shape evaluation means.

【図6】従来例の動作を説明する説明図である。FIG. 6 is an explanatory diagram illustrating an operation of a conventional example.

【図7】従来例の動作を説明する説明図である。FIG. 7 is an explanatory diagram illustrating an operation of a conventional example.

【図8】従来例の動作を説明するフローチャートであ
る。
FIG. 8 is a flowchart illustrating an operation of a conventional example.

【図9】従来例の動作を説明する説明図である。FIG. 9 is an explanatory diagram illustrating an operation of a conventional example.

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

101 コラム生成手段 102 記事入力手段 103 割り当て手段 104 最良配置探索手段 110 コラム形状評価手段 111 文字情報評価手段 112 記事位置評価手段 113 記事間距離評価手段 114 空き領域評価手段 150 記事出力手段 201 紙面 101 Column Generation Means 102 Article Input Means 103 Allocation Means 104 Best Placement Search Means 110 Column Shape Evaluation Means 111 Character Information Evaluation Means 112 Article Position Evaluation Means 113 Inter-article Distance Evaluation Means 114 Free Space Evaluation Means 150 Article Output Means 201 Paper

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 複数の文書構成要素データからなる複数
個の記事情報が段組された文書のレイアウトを行う自動
記事配置装置であって、紙面上をランダムないくつかの
領域に分割するコラム生成手段と、前記記事情報を入手
する記事入力手段と、前記記事入力手段の出力する記事
と、前記コラム生成手段の出力するコラムとの対応付け
をランダムに行うことでレイアウトをする割り当て手段
と、前記割り当て手段の出力したレイアウト結果に関し
て、評価を行う1つまたは複数個の評価手段と、前記コ
ラム生成手段と前記割り当て手段にレイアウト結果を出
力させ、その評価値を前記評価手段に出力させ、各々の
前記評価値から総合的な評価値を求めるレイアウト処理
を、あらかじめ決められた回数回実行し、前記総合的な
評価値が最大であるレイアウト結果を出力する最良配置
検索手段とを備えることを特徴とする自動記事配置装
置。
1. An automatic article placement device for laying out a document in which a plurality of article information composed of a plurality of document component data is laid out, and column generation for dividing a paper space into some random areas. Means, an article inputting means for obtaining the article information, an article output by the article inputting means, and an assigning means for performing layout by randomly associating a column output by the column generating means with each other, With respect to the layout result output by the allocating means, one or a plurality of evaluating means for evaluating the layout result, the column generating means and the allocating means are caused to output the layout result, and the evaluation value is outputted to the evaluating means. The layout process for obtaining a comprehensive evaluation value from the evaluation value is executed a predetermined number of times, and the comprehensive evaluation value is the maximum. An automatic article placement device comprising: a best placement search means for outputting a layout result.
【請求項2】 前記評価手段が、記事の割り付けられた
コラムの形状の読み易さを評価するコラム形状評価手段
を含むことを特徴とする請求項1記載の自動記事配置装
置。
2. The automatic article placement device according to claim 1, wherein said evaluation means includes column shape evaluation means for evaluating readability of the shape of the column to which the article is assigned.
【請求項3】 前記コラム形状評価手段において、評価
値が、コラムの外周をなす直線分の個数と、コラムの特
定の形状のかどの個数から求められることを特徴とする
請求項1乃至2記載の自動記事配置装置。
3. The column shape evaluation means according to claim 1, wherein the evaluation value is obtained from the number of straight lines forming the outer circumference of the column and the number of corners of a particular shape of the column. Automatic article placement device.
【請求項4】 前記コラム形状評価手段において、評価
に用いるコラムの特定の形状のかどが、日本語や英語の
横書きの場合に、曲がり角を基準にして、右側の水平線
と下側の垂直線で構成されるかどであり、日本語の縦書
きの場合に、曲がり角を基準にして、左側の水平線と下
側の垂直線で構成されるかどであることを特徴とする請
求項1乃至3記載の自動記事配置装置。
4. The column shape evaluation means uses a horizontal line on the right side and a vertical line on the lower side to determine whether a particular shape of a column used for evaluation is in the case of horizontal writing in Japanese or English with reference to the turning angle. 4. The structure according to claim 1, wherein, in the case of vertical writing in Japanese, it is composed of a horizontal line on the left side and a vertical line on the lower side with reference to a corner. Automatic article placement device.
【請求項5】 前記評価手段が、コラムに割り当てる際
に用いた記事の文字サイズや文字間ピッチや行間ピッチ
があらかじめ指定された値に近いか否かを評価する文字
情報評価手段を含むことを特徴とする請求項1記載の自
動記事配置装置。
5. The evaluation means includes a character information evaluation means for evaluating whether or not the character size, the inter-character pitch, or the inter-line pitch of the article used when allocating to the column is close to a predetermined value. The automatic article placement device according to claim 1, which is characterized in that.
【請求項6】 前記評価手段が、記事に対応づけられた
コラムの位置があらかじめ指定された位置に近いか否か
を評価する記事位置評価手段を含むことを特徴とする請
求項1記載の自動記事配置装置。
6. The automatic apparatus according to claim 1, wherein the evaluation means includes article position evaluation means for evaluating whether or not the position of the column associated with the article is close to a position designated in advance. Article placement device.
【請求項7】 前記評価手段が、関連性のある複数の記
事間の距離があらかじめ指定された値に近いか否かを評
価する記事間距離評価手段を含むことを特徴とする請求
項1記載の自動記事配置装置。
7. The inter-article distance evaluation means for evaluating whether or not the distance between a plurality of related articles is close to a predetermined value. Automatic article placement device.
【請求項8】 前記評価手段が、記事を割り付けなかっ
た紙面上の領域の面積があらかじめ指定された面積に近
いか否かを評価する空き領域評価手段を含むことを特徴
とする請求項1記載の自動記事配置装置。
8. The evaluation unit includes an empty area evaluation unit for evaluating whether or not the area of the area on the paper on which the article is not allocated is close to a predetermined area. Automatic article placement device.
【請求項9】 前記評価手段が、記事の割り付けられた
コラムの形状の読み易さを評価するコラム形状評価手段
と、コラムに割り当てる際に用いた記事の文字サイズや
文字間ピッチや行間ピッチがあらかじめ指定された値に
近いか否かを評価する文字情報評価手段と、記事に対応
づけられたコラムの位置があらかじめ指定された位置に
近いか否かを評価する記事位置評価手段と、関連性のあ
る複数の記事間の距離があらかじめ指定された値に近い
か否かを評価する記事間距離評価手段と、記事を割り付
けなかった紙面上の領域の面積があらかじめ指定された
面積に近いか否かを評価する空き領域評価手段で構成さ
れていることを特徴とする請求項1記載の自動記事配置
装置。
9. The column shape evaluation means for evaluating readability of the shape of a column to which an article is allocated, and the character size, character pitch, and line spacing of an article used when assigning to a column Relevance to the character information evaluation means that evaluates whether it is close to a pre-specified value, and the article position evaluation means that evaluates whether the position of the column associated with the article is close to the pre-specified position. Inter-article distance evaluation means for evaluating whether or not the distance between a plurality of articles is close to a pre-specified value, and whether the area of the area on the paper where no articles are assigned is close to the pre-specified value. 2. The automatic article placement device according to claim 1, wherein the automatic article placement device comprises free space evaluation means for evaluating whether or not.
JP7309251A 1995-11-28 1995-11-28 Automatic article layout device Pending JPH09146949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7309251A JPH09146949A (en) 1995-11-28 1995-11-28 Automatic article layout device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7309251A JPH09146949A (en) 1995-11-28 1995-11-28 Automatic article layout device

Publications (1)

Publication Number Publication Date
JPH09146949A true JPH09146949A (en) 1997-06-06

Family

ID=17990755

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7309251A Pending JPH09146949A (en) 1995-11-28 1995-11-28 Automatic article layout device

Country Status (1)

Country Link
JP (1) JPH09146949A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001249746A (en) * 2000-03-06 2001-09-14 Nippon Telegr & Teleph Corp <Ntt> Information reading device and medium with information reading program stored thereon
JP2006195993A (en) * 2005-01-11 2006-07-27 Xerox Corp Method for automatically identifying unallowable variable content document and method for automatically identifying unallowable template
JP2009026335A (en) * 2008-10-22 2009-02-05 Toshiba Corp Management server device in print network system and method for creating print information
US9189459B2 (en) 2008-11-20 2015-11-17 Canon Kabushiki Kaisha Document image layout apparatus
JP2022080169A (en) * 2020-11-17 2022-05-27 株式会社エムティーアイ Layout method, program, or information processing system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001249746A (en) * 2000-03-06 2001-09-14 Nippon Telegr & Teleph Corp <Ntt> Information reading device and medium with information reading program stored thereon
JP2006195993A (en) * 2005-01-11 2006-07-27 Xerox Corp Method for automatically identifying unallowable variable content document and method for automatically identifying unallowable template
JP2009026335A (en) * 2008-10-22 2009-02-05 Toshiba Corp Management server device in print network system and method for creating print information
US9189459B2 (en) 2008-11-20 2015-11-17 Canon Kabushiki Kaisha Document image layout apparatus
JP2022080169A (en) * 2020-11-17 2022-05-27 株式会社エムティーアイ Layout method, program, or information processing system

Similar Documents

Publication Publication Date Title
JP6725714B2 (en) System and method for automatic conversion of interactive sites and applications that support mobile and other viewing environments
JP3544422B2 (en) Article placement device
US5640580A (en) Method and system for previewing computer output
US5208906A (en) Method and apparatus for representing bordered areas of a generic form with records
EP0051857A1 (en) Method for editing document
EP0690415B1 (en) Editing scanned document images using simple interpretations
US5652901A (en) Method and system for previewing computer output
EP0376420A2 (en) Method and apparatus for generic form generation
JPH0594433A (en) Document processor
US20090313538A1 (en) Design generating apparatus, design generation method, and storage medium storing design generation program
JP5551986B2 (en) Information processing apparatus, information processing method, and program
JPH09146949A (en) Automatic article layout device
JP3922396B2 (en) Layout device and display device
KR20110021714A (en) Method and apparatus for the page-by-page provision of an electronic document as a computer graphic
KR20040090867A (en) Method for Generating XSL Style Sheet by Using Gravity Layer Rules
JPH0419584B2 (en)
JP3245956B2 (en) Layout equipment
JP2677442B2 (en) Method of capturing illustrations in editing machine and editing machine
JP3247466B2 (en) Assignment processing device
JPH05265171A (en) Layout device
JP3275629B2 (en) Layout correction device
CN115640789A (en) Slide processing method and device, electronic equipment and storage medium
JP3264969B2 (en) Document creation device and document creation method
JP2813815B2 (en) Layouter for flyers and catalogs
CN111177602A (en) Method and system for paging typesetting of webpage content

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19980617