JPH04259056A - Data presenting device - Google Patents

Data presenting device

Info

Publication number
JPH04259056A
JPH04259056A JP3041319A JP4131991A JPH04259056A JP H04259056 A JPH04259056 A JP H04259056A JP 3041319 A JP3041319 A JP 3041319A JP 4131991 A JP4131991 A JP 4131991A JP H04259056 A JPH04259056 A JP H04259056A
Authority
JP
Japan
Prior art keywords
candidate
layout
candidates
similarity
data
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
JP3041319A
Other languages
Japanese (ja)
Inventor
Miyoshi Fukui
美佳 福井
Koji Yamaguchi
浩司 山口
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP3041319A priority Critical patent/JPH04259056A/en
Publication of JPH04259056A publication Critical patent/JPH04259056A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To present the similar candidates to a user integrally among those generated layout candidates. CONSTITUTION:The element date serving as the component elements of date are inputted through an input part 1 together with the date and each element data. A layout candidate generating part 2 generates the layout candidates that are allocated to the spaces corresponding to both element and space data based on the input relation data. At the same time, these layout candidates are allocated to the spaces and these allocation results are shown at a display part 5. An instruction input part 6 can select the desired one of those layout candidates shown at the part 5. Then a similarity calculation part 4 calculates the similarity among those layout candidates generated at the part 2. At the same time, the showing way of each layout candidate is decided to the part 5 in response to the calculated similarity.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、資料の構成要素となる
複数の要素データを、その関係に基づいて配置する資料
呈示装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a material presentation device that arranges a plurality of element data constituting materials based on their relationships.

【0002】0002

【従来の技術】近年、複数の物体を空間に自動的に割り
付けるシステムの需要が増えており、ユーザに情報を提
供するシステムにおいても、情報を理解しやすくするた
め複数の情報をどのように配置するかなどが重要な問題
になっている。
[Background Art] In recent years, there has been an increase in demand for systems that automatically allocate multiple objects in space, and even in systems that provide information to users, it is important to consider how to arrange multiple pieces of information in order to make it easier to understand. The important question is whether to do so.

【0003】しかし、現実は、これらの配置決定作業は
、煩雑な試行錯誤で行われているため、システムがレイ
アウトを支援する機能が求められている。
[0003] However, in reality, these placement decisions are performed through a complicated process of trial and error, so a system is required to have a function to support layout.

【0004】例えば、文書を整形するシステムでは、文
書の各ページに文章、図表、イメージデータなどを割り
付ける際、文書の分かりやすさを考慮して行うようにし
ている。特に、図表やイメージは関連する文章の近くに
割り付ける必要があるため、文章内容の編集および別体
裁の書式への変更のたびに、図表の最適な配置を考えて
指示しなければならず、ユーザにとって手間のかかる作
業であった。
For example, in a document formatting system, when allocating text, diagrams, image data, etc. to each page of a document, the ease of understanding of the document is taken into consideration. In particular, charts and images need to be placed near related text, so each time the content of the text is edited or the format is changed to a different format, the user must consider and give instructions on the optimal placement of the charts. It was a time-consuming task for him.

【0005】こういった作業の煩雑さを解決するものと
して、文章と参照されている図表の関係によって、図表
を参照されている文章と同一ページに自動的に割り付け
るシステム(例えば、特開昭61−21570号)が提
案されている。同様にして、室内インテリアや集積回路
などの各分野においても、自動レイアウトシステムが使
われてきている。
[0005] As a solution to the complexity of such work, a system (for example, JP-A-61 -21570) has been proposed. Similarly, automatic layout systems have been used in various fields such as interior design and integrated circuits.

【0006】このように、従来考えられているシステム
のほとんどは、最適なレイアウトを一つのみ生成するも
のである。
[0006] As described above, most of the conventional systems generate only one optimal layout.

【0007】ところが、実際問題として、ユーザのニー
ズは多様であり、このため、すべてのユーザにとって最
適なレイアウトが存在しないことが多い。このことは、
上述の文書のレイアウトを生成するシステの場合でいえ
ば、ユーザの好みやバランス感覚の差異によって、最適
な図表の配置が異なっているため、システムがレイアウ
トを一意に決定すると、ユーザが自分の意図に従うよう
に変更する必要が生じ、この変更作業が、ユーザにとっ
ては煩雑なものになる。
However, as a practical matter, users' needs are diverse, and as a result, there is often no optimal layout for all users. This means that
In the case of the system that generates the document layout mentioned above, the optimal placement of diagrams and tables varies depending on the user's preferences and sense of balance, so if the system uniquely determines the layout, the user can It becomes necessary to make changes to comply with the above, and this change work becomes troublesome for the user.

【0008】この問題を解決するものとして、妥当なレ
イアウト候補を複数生成し、その候補を順にユーザに呈
示し意図にあったものを選択させる、いわゆる提案型の
インタフェースを持つ文書整形装置が考えられている。 今後、計算機の能力が向上するに従って、多分野の自動
レイアウトシステムにも、このような提案型のインタフ
ェースが普及していくことと考えられる。
[0008] As a solution to this problem, a document formatting device having a so-called proposal-type interface can be considered, which generates a plurality of valid layout candidates, presents the candidates in order to the user, and allows the user to select the one that suits his/her intention. ing. In the future, as computer capabilities improve, it is thought that such proposed interfaces will become widespread in automatic layout systems in many fields.

【0009】ただし、このようなインタフェースは、ユ
ーザが複数のレイアウトを評価・比較しながら、自分の
意図するものを選択するという知的作業が必要なため、
呈示する候補の総数が多すぎると選択に時間がかかって
しまう。
[0009] However, such an interface requires intellectual work for the user to evaluate and compare multiple layouts and select the one he/she intends to use.
If the total number of presented candidates is too large, selection will take time.

【0010】また、生成される過程が違っても、結果的
によく似たレイアウトが複数できることがあるため、多
少違うレイアウトでも脈絡なく呈示されると、ユーザに
は違いが認識されにくく、同じ候補がまた出てきたなど
の思い違いを起こし易い。また、例え、違いがわかって
も、ユーザにとってその違いが意味を持たないものであ
れば、いたずらに候補数を増やす結果になる。要するに
、従来の提案型のシステムは、ユーザが複数のレイアウ
ト候補を比較・選択するのに最も適した呈示方法でなか
った。
[0010]Furthermore, even if the generation process is different, multiple similar layouts may result, so if slightly different layouts are presented without context, it is difficult for the user to recognize the difference, and the same candidate It is easy to misunderstand that something has appeared again. Furthermore, even if the difference is known, if the difference has no meaning to the user, the number of candidates will be increased unnecessarily. In short, the conventional proposal-type system was not the most suitable presentation method for a user to compare and select multiple layout candidates.

【0011】[0011]

【発明が解決しようとする課題】このように、従来の資
料呈示装置では、システムが最適とするレイアウトを一
意に決定したため、ユーザごとの要求や好み・バランス
感覚の差異に対応できず、結局、ユーザが生成されたレ
イアウトを修正することになり、操作が煩雑になってし
まう問題点があった。
[Problems to be Solved by the Invention] As described above, in the conventional material presentation device, the system uniquely determines the optimal layout, so it cannot respond to the differences in the needs, tastes, and sense of balance of each user, and in the end, There is a problem in that the user has to modify the generated layout, making the operation complicated.

【0012】また、妥当なレイアウト候補を複数呈示し
、ユーザが候補から選択する提案型のインタフェースを
持つシステムの場合も、候補を比較・選択するのに適し
た呈示の方法ではなかったため、似たような候補が脈絡
なく呈示され、ユーザにその違いが認識できないととも
に、候補の呈示数が多すぎる等の原因により、選択作業
に時間がかかってしまう問題点があった。
[0012] Furthermore, in the case of a system that has a proposal-type interface in which a plurality of reasonable layout candidates are presented and the user selects from the candidates, this presentation method is not suitable for comparing and selecting candidates. Such candidates are presented without any context, making it difficult for the user to distinguish between them, and the selection process takes a long time due to the number of candidates presented being too large.

【0013】本発明は、上記事情に鑑みてなされたもの
で、複数のレイアウト候補を比較、選択しやすいように
呈示することができ、レイアウト作業におけるユーザの
負担を軽減させることができる資料呈示装置を提供する
ことを目的とする。
The present invention has been made in view of the above circumstances, and provides a material presentation device that can present a plurality of layout candidates in a way that makes it easy to compare and select them, and that can reduce the burden on the user in layout work. The purpose is to provide

【0014】[0014]

【課題を解決するための手段】本発明の資料呈示装置は
、資料の構成要素をなす要素データとともにこれら要素
データを割り付ける空間データおよび各要素データの関
係データを入力するデータ入力手段、このデータ入力手
段より入力された関係データに基づいて上記要素データ
を上記空間データに対応する空間に割り付けるレイアウ
ト候補を生成するレイアウト候補生成手段、上記レイア
ウト候補にしたがって上記各要素データを上記空間に割
り付けた結果を呈示する出力手段、この出力手段に呈示
されたレイアウト候補の中から所望する候補を選択指示
する指示入力手段を有するものであって、レイアウト候
補生成手段により生成された各レイアウト候補の間の類
似度を求めるとともに、求められた類似度に応じて出力
手段への各レイアウト候補の呈示方法を決定するように
構成したものである。
[Means for Solving the Problems] The material presentation device of the present invention includes a data input means for inputting element data constituting the material, spatial data for allocating these element data, and relational data of each element data; Layout candidate generating means for generating layout candidates for allocating the element data to the spaces corresponding to the spatial data based on the relational data inputted by the means; The apparatus has an output means for displaying an output, and an instruction input means for selecting and instructing a desired layout candidate from among the layout candidates presented on the output means, and the degree of similarity between each layout candidate generated by the layout candidate generation means. The present invention is configured to determine the presentation method of each layout candidate to the output means in accordance with the determined degree of similarity.

【0015】[0015]

【作用】本発明は、レイアウト候補生成手段により生成
された複数のレイアウト候補のうちの類似する候補をま
とめてユーザに呈示するようにできるので、呈示された
候補を比較するなどすることで、意図にあったレイアウ
トを選択するなどの作業が簡単になり、レイアウト作業
におけるユーザの負担を軽減できる。
[Operation] The present invention can collectively present similar candidates among a plurality of layout candidates generated by the layout candidate generation means to the user, so that by comparing the presented candidates, it is possible to This simplifies tasks such as selecting a layout that suits the user's needs, and reduces the burden on the user in layout work.

【0016】[0016]

【実施例】以下、本発明の一実施例を図面にしたがい説
明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0017】図1は、同実施例の概略構成を示すブロッ
ク図である。図において、1はデータ入力部で、このデ
ータ入力部1は、キーボード、マウス、イメージスキャ
ナその他の記憶装置、通信装置などからなるもので、文
書を構成する要素データである文字データ、図表データ
、イメージデータを入力する他に、要素データを割り付
ける頁や文章枠の大きさと位置などの空間データおよび
要素データや空間データの関係を表す関係データを入力
するようにしている。ここで、関係データは、例えば技
術文書の場合、タイトル、章、節などの論理的関係や、
図表の参照関係などがある。また、この関係データは、
あらかじめユーザが指定したデータや自動的に解析され
たデータが考えられる。
FIG. 1 is a block diagram showing a schematic configuration of the same embodiment. In the figure, 1 is a data input section, and this data input section 1 consists of a keyboard, a mouse, an image scanner and other storage devices, a communication device, etc., and includes character data, diagram data, which are elemental data that constitutes a document, In addition to inputting image data, spatial data such as the size and position of pages and text frames to which element data is to be allocated, and relational data representing the relationship between element data and spatial data are input. Here, relational data includes, for example, in the case of technical documents, logical relationships such as titles, chapters, sections, etc.
There are reference relationships between charts and tables. In addition, this relationship data is
Possible data may be data specified by the user in advance or data automatically analyzed.

【0018】データ入力部1の入力データは、レイアウ
ト候補生成部2に送られる。このレイアウト候補生成部
2は、入力された関係データを用いてレイアウト候補を
生成するもので、各要素データを空間データに配置する
ようにしている。
Input data from the data input section 1 is sent to a layout candidate generation section 2 . This layout candidate generation section 2 generates layout candidates using input relational data, and arranges each element data in spatial data.

【0019】そして、レイアウト候補生成部2の出力は
、候補呈示部3に送られる。この候補呈示部3は、生成
された候補をユーザに呈示するためのもので、候補が複
数生成された場合、類似度算出部4に候補データを送る
ようにしている。
The output of the layout candidate generation section 2 is sent to the candidate presentation section 3. The candidate presentation section 3 is for presenting the generated candidates to the user, and when a plurality of candidates are generated, candidate data is sent to the similarity calculation section 4.

【0020】類似度算出部4は、各候補間の類似度を求
め、その値を候補呈示部3に返送する。すると、候補呈
示部3では、各候補間の類似度を用いて候補の呈示方法
を決定し、表示部5にユーザに呈示するための候補を表
示するようになっている。
[0020] The similarity calculation section 4 calculates the degree of similarity between each candidate and sends the value back to the candidate presentation section 3. Then, the candidate presentation unit 3 determines a method for presenting the candidates using the degree of similarity between the candidates, and displays the candidates to be presented to the user on the display unit 5.

【0021】また、表示部5に表示された候補に対して
指示入力部6より候補の選択等の指示が入力される。つ
まり、この指示入力部6は、ユーザによって操作される
もので、表示部5上に呈示された候補を比較、評価した
結果として候補の選択等の指示が入力される。
[0021] Further, an instruction such as selection of a candidate is input from an instruction input section 6 to the candidates displayed on the display section 5. That is, this instruction input section 6 is operated by the user, and as a result of comparing and evaluating the candidates presented on the display section 5, an instruction such as selecting a candidate is input.

【0022】そして、この指示入力部6でのユーザの指
示によって、候補呈示部3に別の候補を呈示させる動作
を指示するとともに、レイアウト候補生成部2に対して
も、例えば、別の空間へ割り付け直しなどの動作を指示
する。このような対話によって、ユーザが意図するレイ
アウトを得るまで、候補生成・呈示が繰り返される。
[0022] The user's instructions on the instruction input unit 6 instruct the candidate presentation unit 3 to present another candidate, and also instruct the layout candidate generation unit 2 to, for example, move to another space. Instruct actions such as reallocation. Through such interaction, candidate generation and presentation are repeated until the user obtains the desired layout.

【0023】次に、このように構成された実施例の動作
を説明する。
Next, the operation of the embodiment configured as described above will be explained.

【0024】いま、データ入力部1より入力される要素
データは、図2(a)(b)に示されるような文章デー
タ11と図表データ12から構成されるものとする。こ
の場合、文章データ11には、例えば、図3に示すよう
に、表題、著者、所属、章見出し、章段落などの各文の
論理的関係を表す論理属性13を含んでいる。また、文
章データ11から各図表データ12への参照関係14も
存在している。これらの関係データは、自動構造解析処
理あるいはユーザの指定などにより得られ、要素データ
と同様に入力される。
It is now assumed that the element data inputted from the data input section 1 is composed of text data 11 and diagram data 12 as shown in FIGS. 2(a) and 2(b). In this case, the text data 11 includes, for example, as shown in FIG. 3, logical attributes 13 representing logical relationships between each sentence, such as title, author, affiliation, chapter heading, chapter paragraph, etc. There is also a reference relationship 14 from the text data 11 to each chart data 12. These relational data are obtained through automatic structural analysis processing or user designation, and are input in the same way as the element data.

【0025】また、要素データを割り付ける空間データ
には、例えば、図2(c)に示すように、領域データ1
5として整形文書の頁ごとに頁枠の位置やサイズ等が定
義されている。また、各頁の文章枠は、位置やサイズに
加えて流し込む文の論理属性と、それらの書式、流し込
む順番なども定義されている。
In addition, as shown in FIG. 2(c), for example, the spatial data to which element data is allocated include area data 1.
5, the position and size of the page frame are defined for each page of the formatted document. Furthermore, in addition to the position and size of the text frame on each page, the logical attributes of sentences to be inserted, their formats, and the order in which they are inserted are also defined.

【0026】この状態で、レイアウト候補生成部2では
、入力された空間データの定義に合わせて、文章データ
を各文章枠に流し込みながらレイアウト候補を生成して
いく。このレイアウト候補の生成は、次のようにして行
われる。
In this state, the layout candidate generation section 2 generates layout candidates while pouring text data into each text frame in accordance with the definition of the input spatial data. This layout candidate generation is performed as follows.

【0027】まず、図4(a)には、整形の途中結果を
示している。この場合、第1頁の第1文章枠#T1に、
(表題)(著者)(所属)の論理属性を持つ文を順に、
例えば(表題)は明朝体20ポ、センタリングといった
それぞれの書式で流し込む。第2文章枠#T2と第3文
章枠#T3には本文であるところの、章見出し、章段落
、…を流し込んでいく。
First, FIG. 4(a) shows an intermediate result of shaping. In this case, in the first text frame #T1 on the first page,
Sentences with the logical attributes (title) (author) (affiliation) in order,
For example, (title) is written in Mincho 20-point typeface, centering, and other formats. The main text, such as chapter headings, chapter paragraphs, etc., are poured into the second text frame #T2 and the third text frame #T3.

【0028】この場合、図4(a)では、第1頁に「図
1」を参照する文字列が第3文章枠#T3に流し込まれ
たので、「図1」を参照文字列と同じ頁に割り付ける必
要がある。このため、図5に示すようなアルゴリズムに
より「図1」の割り付け位置候補が複数生成される。
In this case, in FIG. 4(a), since the character string that refers to "Figure 1" on the first page is poured into the third text frame #T3, "Figure 1" is placed on the same page as the reference character string. It is necessary to assign it to Therefore, a plurality of allocation position candidates shown in "FIG. 1" are generated by the algorithm shown in FIG. 5.

【0029】図5では、ステップ501で、頁枠の中へ
の割り付け候補を生成する。この場合、例えば、図6に
示すような頁枠への割付ルールを用いて、頁のサイズと
図表のサイズを比較し、それによって、いくつかの候補
を生成する。
In FIG. 5, in step 501, candidates for allocation within the page frame are generated. In this case, for example, the size of the page and the size of the chart are compared using the layout rules for page frames as shown in FIG. 6, and several candidates are generated accordingly.

【0030】図2の例では、「図1」のたて・横両サイ
ズとも、頁のサイズの半分以下のため、条件P1にあて
はまり、図7(a)(b)(c)(d)に示すような(
頁左上)(頁右上)(頁左下)(頁右下)の4つの候補
が得られる。そして、ステップ502で参照文字列が含
まれる文章枠があるかを判断するが、ここでは、YES
と判断するので、ステップ503に進む。
In the example of FIG. 2, both the vertical and horizontal sizes of "FIG. 1" are less than half of the page size, so condition P1 is met, and FIGS. As shown in (
Four candidates are obtained: (upper left of the page) (upper right of the page) (lower left of the page) (lower right of the page). Then, in step 502, it is determined whether there is a text frame that includes the reference character string, but here, YES is selected.
Therefore, the process proceeds to step 503.

【0031】ステップ503では、第3文章枠#T3へ
の割り付け候補を生成する。文章枠への割り付けルール
は、頁枠への割り付けルール同様、図6に示すように、
文章枠のサイズと割り付ける図表のサイズを比較して、
候補を指定する。
In step 503, candidates for allocation to the third text frame #T3 are generated. As shown in Figure 6, the rules for assignment to text frames are the same as the rules for assignment to page frames.
Compare the size of the text frame and the size of the diagram to be allocated,
Specify candidates.

【0032】図2の例では、「図1」の横幅は第3文章
枠#T3の「半分〜同じ」にあたっているので、条件T
2を用いて、図8(a)(b)に示すような、第3文章
枠#T3に対する(文章枠中央上)(文章枠中央下)の
2候補が得られる。そして、ステップ504で次の文章
枠が同じ頁内にあるかを判断するが、ここではNOと判
断するので、ステップ505に進む。そして、ステップ
505で、同じ頁内に割り付けられた他の図表を探し、
他の図表があればステップ506でNOと判断されるま
で、ステップ596でその図表の近くに候補を生成する
が、この例ではないため処理を終了する。
[0032] In the example of Fig. 2, the width of ``Fig. 1'' corresponds to ``half to the same'' of the third text frame #T3, so the condition T is satisfied.
2, two candidates (upper center of the text frame) and (lower center of the text frame) for the third text frame #T3 as shown in FIGS. 8(a) and 8(b) are obtained. Then, in step 504, it is determined whether the next text frame is on the same page, but since the determination is NO here, the process advances to step 505. Then, in step 505, search for other figures and tables allocated within the same page,
If there is another chart, candidates are generated near that chart in step 596 until the determination is NO in step 506, but since this is not the case, the process ends.

【0033】このようにして各候補の実際の割り付け位
置を算出し、図9に示すような候補情報を得る。また、
各候補の妥当性のチェックを行い、例えば、図7(a)
や図7(b)に示した候補のように、標題部を割り付け
た第1文章枠#T1と重なってしまう候補などは削除さ
れる。
In this way, the actual allocation position of each candidate is calculated, and candidate information as shown in FIG. 9 is obtained. Also,
Check the validity of each candidate, for example, as shown in Fig. 7(a).
Candidates that overlap with the first text frame #T1 to which the title section is assigned, such as the candidates shown in FIG. 7(b), are deleted.

【0034】レイアウト候補生成部2で生成された各候
補情報は、候補呈示部3に送られる。候補呈示部3では
、各レイアウト候補をユーザに呈示する方法を決定する
Each candidate information generated by the layout candidate generation section 2 is sent to the candidate presentation section 3. The candidate presentation unit 3 determines a method for presenting each layout candidate to the user.

【0035】候補呈示部3では、図10に示すような流
れに従って、候補の類似関係を決定する。この場合、ス
テップ1001では、例えば図11(a)のように、候
補を一列に連結する。この時の連結順序は、候補の評価
を行い優先順位を求めて決定する。ここでは、(文章枠
中央下)→(文章枠中央上)→(頁枠左下)→(頁枠右
下)の順に並んでいるとする。ステップ1002で、ポ
インタpに候補列の先頭の候補のポインタをセットする
。ステップ1003で、pの実体があるかチェックし、
候補列の最後まで到達すると処理を終了する。
The candidate presentation unit 3 determines the similarity relationship between candidates according to the flow shown in FIG. In this case, in step 1001, candidates are connected in a line as shown in FIG. 11(a), for example. The concatenation order at this time is determined by evaluating the candidates and determining the priority order. Here, it is assumed that they are arranged in the following order: (lower center of the text frame) → (upper center of the text frame) → (lower left of the page frame) → (lower right of the page frame). In step 1002, a pointer to the first candidate in the candidate string is set in pointer p. In step 1003, check whether there is an entity of p,
The process ends when the end of the candidate string is reached.

【0036】ここでは、YESなので、ステップ100
4に進み、ポインタnextにpの次の候補、すなわち
第2候補のポインタをセットする。そして、ステップ1
005で、nextの実体があるかチェックする。この
場合はYESであるから、ステップ1006に進み、n
extの次の候補(この場合は第3候補)のポインタを
n−nextにセットする。
[0036] Here, the answer is YES, so step 100
Proceeding to step 4, the pointer next is set to the next candidate after p, that is, the pointer of the second candidate. And step 1
At step 005, it is checked whether there is an entity of next. In this case, the answer is YES, so proceed to step 1006, and n
The pointer of the next candidate (in this case, the third candidate) of ext is set to n-next.

【0037】次いで、ステップ1007に進み、類似度
算出部4にpとnextのポインタを渡して、例えば、
図13に示すアルゴリズムにより、二つの候補の類似度
を算出する。
Next, the process proceeds to step 1007, where the pointers p and next are passed to the similarity calculation unit 4, and the result is, for example,
The similarity between the two candidates is calculated using the algorithm shown in FIG.

【0038】ここでは、類似度として図表位置の重なり
度を取るようになっている。つまり、最初に各候補の図
表の割り付け矩形情報r1,r2を取り出し(ステップ
1301)、これらr1,r2の重なり部分の矩形情報
rを求める(ステップ1302)。そして、rとr1の
面積を求め(ステップ1303)、元の矩形に占める割
合を類似度simを求めるようになる(ステップ130
4)。これらの状態を図示する図14に示すようになる
Here, the degree of overlap of diagram positions is taken as the degree of similarity. That is, first, the layout rectangle information r1 and r2 of each candidate diagram is extracted (step 1301), and the rectangle information r of the overlapping portion of these r1 and r2 is obtained (step 1302). Then, the areas of r and r1 are calculated (step 1303), and the similarity sim is calculated as the proportion of the original rectangle (step 130).
4). These conditions are illustrated in FIG. 14.

【0039】次に、ステップ1008で、この時の類似
度simが、ある境界値border以上であるか判定
する。ここで、YESならばステップ1009へ、NO
ならばステップ1010へ進む。
Next, in step 1008, it is determined whether the similarity sim at this time is greater than or equal to a certain boundary value border. Here, if YES, go to step 1009, NO
If so, proceed to step 1010.

【0040】この場合、第1候補と第2候補の場合、図
表の割り付け位置が異なるため、類似度は0%である。 ここで、例えば境界値borderを95%とすると、
ステップ1010へ進み、nextのポインタを第3候
補に進め、ステップ1005に戻る(図11(b)参照
)。すると、第1候補と第3候補の類似度も0%である
ため、nextを第4候補に進める。第1候補と第4候
補の図表割り付け位置は、図13に示すように重なるた
め、類似度がプラスになる。例えば、sim=96%と
すると、ステップ1009に進む。
[0040] In this case, the first candidate and the second candidate have different layout positions in the charts, so the degree of similarity is 0%. Here, for example, if the boundary value border is 95%,
The process advances to step 1010, advances the next pointer to the third candidate, and returns to step 1005 (see FIG. 11(b)). Then, since the similarity between the first candidate and the third candidate is also 0%, next is advanced to the fourth candidate. Since the chart layout positions of the first candidate and the fourth candidate overlap as shown in FIG. 13, the degree of similarity becomes positive. For example, if sim=96%, the process advances to step 1009.

【0041】ステップ1009では、第4候補を第3候
補から切り離し(図12(a)参照)、第1候補のsu
bにセットする。もし、第1候補のsubにすでに候補
が接続されている場合は、その次候補としてnextに
セットする。また、第4候補のsuperには第一候補
のポインタをセットしておく。n−nextが空になっ
ているため、ステップ1011に行き、pにpのnex
tすなわち第2候補のポインタをセットし、第2候補に
似た候補を探していく。このようにして、図2の例では
、最終的にたとえば図12(b)に示すような候補間の
類似関係が得られる。
In step 1009, the fourth candidate is separated from the third candidate (see FIG. 12(a)), and the first candidate su
Set to b. If a candidate is already connected to the first candidate sub, it is set to next as the next candidate. Further, the pointer of the first candidate is set in the fourth candidate super. Since n-next is empty, go to step 1011 and set p's next to p.
t, that is, the pointer of the second candidate, is set, and a candidate similar to the second candidate is searched. In this way, in the example of FIG. 2, a similarity relationship between candidates is finally obtained, for example, as shown in FIG. 12(b).

【0042】次に、候補呈示部3では、この類似関係を
基にして候補の呈示方法を決め、表示部5へ送る。この
場合、類似関係にある候補同士は纏めて呈示する。例え
ば、候補を順次提示する場合は、親のレベルの候補を子
どものレベルの候補群の代表候補としてユーザに呈示す
る。ここでの代表候補は、データ入力手段1から入力さ
れた要素データと空間データ間の関係、類似度算出部4
により求められる各候補の特徴量および各候補間の類似
度のいずれかの組み合わせによって決定されるものであ
る。
Next, the candidate presentation section 3 determines a method for presenting the candidates based on this similarity relationship, and sends the method to the display section 5. In this case, candidates having a similar relationship are presented together. For example, when presenting candidates in sequence, a candidate at the parent's level is presented to the user as a representative candidate of a group of candidates at the child's level. The representative candidates here are the relationship between the element data and the spatial data input from the data input means 1, and the similarity calculation unit 4.
It is determined by any combination of the feature amount of each candidate and the degree of similarity between each candidate.

【0043】図2の例では、第1候補を呈示する画面例
として図4(b)に示すようなものとなる。この状態で
、指示入力部6よりユーザの指示を入力する。この場合
のユーザからの指示入力には、コマンド、メニュー選択
、音声などが考えられるが、ここでは、図15(a)に
示すようなメニューを使用するものとする。
In the example of FIG. 2, an example of the screen for presenting the first candidate is shown in FIG. 4(b). In this state, the user's instructions are input from the instruction input section 6. In this case, commands, menu selections, voice, etc. may be used as input instructions from the user, but here, a menu as shown in FIG. 15(a) is used.

【0044】いま、ユーザが第1候補を気にいらない場
合や別の候補と比較したい場合には、メニュー項目中か
ら「次候補」を表す項目を選択する。すると、候補呈示
部3は、次の候補である第2候補を呈示する。また、「
類似候補」を表す項目を選択すると、現在呈示している
候補に類似する候補、この例では第4候補を呈示する。 この「次候補」と「類似候補」は、同様の意味を持つ言
葉、もしくは記号に置き換えてもよい。
[0044] If the user does not like the first candidate or wants to compare it with another candidate, he or she selects the item representing the "next candidate" from among the menu items. Then, the candidate presentation unit 3 presents the second candidate, which is the next candidate. Also,"
When the item representing "Similar Candidate" is selected, a candidate similar to the currently presented candidate, a fourth candidate in this example, is presented. The "next candidate" and "similar candidate" may be replaced with words or symbols having similar meanings.

【0045】なお、図15(b)では「遠い候補」と「
近い候補」、図15(c)では「遠くの候補」と「そば
の候補」、図15(d)では「違う候補」と「似ている
候補」に置き換えている。また、「候補」の代わりに図
15(e)に示すような「配置」といった言葉を用いて
もよい。勿論、「遠く」「近く」といった指示のみだけ
でもよい。なお、図表が複数ある場合は、ただ「似てい
る」「近い」だけではわからないので、「どこが似てい
る」「どれと近い」といった指示を与えるサブメニュー
を用意するようになる。
In addition, in FIG. 15(b), "distant candidate" and "
15(c), "distant candidate" and "nearby candidate", and FIG. 15(d), "different candidate" and "similar candidate". Further, instead of "candidate", a word such as "arrangement" as shown in FIG. 15(e) may be used. Of course, only instructions such as "far" and "near" may be used. Note that when there are multiple charts and tables, it is not possible to tell just by ``similarity'' or ``closeness'', so a submenu will be provided that gives instructions such as ``what is similar'' and ``which is close to''.

【0046】また、候補を一覧でユーザに示す場合は、
類似関係にある候補をまとめて配置して呈示するように
なる。例えば、図16に示すように、縮小した画像ある
いは簡略化した記号で各候補を表し、その配置で優先度
と類似度をあらわす。図16では、候補を優先度順に横
方向に並べ、類似度の高い候補は縦方向に配置している
[0046] In addition, when showing a list of candidates to the user,
Candidates with similar relationships are arranged and presented together. For example, as shown in FIG. 16, each candidate is represented by a reduced image or simplified symbol, and the priority and similarity are represented by the arrangement thereof. In FIG. 16, candidates are arranged horizontally in order of priority, and candidates with high similarity are arranged vertically.

【0047】一方、指示入力部6よりユーザの指示が入
力されると、レイアウト候補生成部2も、この時のユー
ザの指示を受け付けて、例えば、別の空間へ割り付け直
すなどの動作をする。このような対話によって、ユーザ
が意図するレイアウトを得るまで、候補生成、呈示が繰
り返される。そして、ユーザが呈示された候補に満足し
た場合は、例えば図15のメニュー項目中の「確定」を
選択する等の指示を入力することで操作を完了する。
On the other hand, when a user's instruction is input from the instruction input section 6, the layout candidate generating section 2 also accepts the user's instruction at this time and performs an operation such as reallocating to another space, for example. Through such interaction, candidate generation and presentation are repeated until the user obtains the desired layout. If the user is satisfied with the presented candidates, the user completes the operation by inputting an instruction such as selecting "Confirm" from the menu items in FIG. 15, for example.

【0048】なお、本発明は、上記実施例にのみ限定さ
れず、要旨を変更しない範囲で適宜変形して実施できる
。例えば、上述した説明で類似度simは、図表の割り
付け位置という物理的な特徴量の比較により数値的に求
めたが、もっと複雑な特徴量や物理的以外の特徴量を使
用する可能である。例えば、図表のばらつき度合いや頁
全体の重心の位置などの物理的特徴量や、参照語句の位
置が図表の上にあるか横にあるか、章の見出しがどこに
あるか等、論理的な特徴量を使用することも可能である
It should be noted that the present invention is not limited to the above-mentioned embodiments, but can be implemented with appropriate modifications without changing the gist. For example, in the above explanation, the similarity sim was numerically determined by comparing physical feature amounts such as layout positions in diagrams, but it is possible to use more complex feature amounts or non-physical feature amounts. For example, physical features such as the degree of dispersion of figures and tables and the position of the center of gravity of the entire page, and logical features such as whether reference terms are placed above or next to figures and tables, and where chapter headings are located. It is also possible to use amounts.

【0049】また、いくつかの特徴量を組み合わせて類
似度を決定することもできる。例えば、類似度算出の際
に抽出される特徴量より求められる候補間の類似度に対
してそれぞれ重み値の列を設定および変更可能にする手
段と、ユーザに対応付けて重み値列を記憶する手段を用
意し、ユーザごとの重み値列を用いて、候補間の各特徴
量ごとの類似度に重み値をかけて加算することにより総
合的な類似度を求めるようにしてもよい。このように、
重み値を取り替えられるようにしておけば、状況ごと各
ユーザごとに注目する特徴量を変更することが可能にな
り、より状況に即した類似度を適用することができる。
[0049] Furthermore, it is also possible to determine the degree of similarity by combining several feature quantities. For example, a means for making it possible to set and change a sequence of weight values for each similarity between candidates determined from feature quantities extracted during similarity calculation, and a means for storing weight value sequences in association with users. It is also possible to prepare a means and use a weight value string for each user to calculate the overall similarity by multiplying the similarity for each feature amount between candidates by a weight value and adding them. in this way,
By allowing the weight values to be replaced, it becomes possible to change the feature quantity to be focused on for each user in each situation, and it is possible to apply a degree of similarity that is more suited to the situation.

【0050】さらに、各特徴量ごとに類似関係を持たせ
ることも可能である。例えば、類似関係に種類(対応す
る物理的あるいは論理的特徴量名)と強さ(類似度)を
持たせ、候補間を複数種類の類似関係パスで接続する。 こうしておけば、指示入力部で「同じようなばらつき具
合の候補が見たい」「図1はこのまま、図2は違う位置
がいい」といった指示があった場合に、各特徴量ごとに
類似する候補をすぐに呈示できるようになる。
Furthermore, it is also possible to provide a similarity relationship for each feature quantity. For example, similarity relationships are given types (corresponding physical or logical feature quantity names) and strengths (similarities), and candidates are connected by multiple types of similarity relationship paths. If you do this, if you receive an instruction such as "I want to see candidates with similar dispersion" or "I want to see candidates with similar dispersion" or "I want to leave Figure 1 as is, but in a different position in Figure 2," you can select similar candidates for each feature. can be presented immediately.

【0051】また、上述した本実施例は、一貫して文書
のレイアウトに関するものを述べたが、室内レイアウト
やLSI等の回路図面のほか、種々のレイアウトを支援
するCADシステムにも、同様の方法で適用することが
可能である。
[0051]Although the above-mentioned embodiments have consistently described the layout of documents, similar methods can also be applied to CAD systems that support various layouts in addition to indoor layouts and circuit drawings of LSI etc. It is possible to apply it in

【0052】[0052]

【発明の効果】本発明によれば、レイアウト候補生成手
段により生成された複数のレイアウト候補のうちの類似
する候補をまとめてユーザに呈示できるようになるので
、候補を比較選択するユーザの知的作業を支援するため
、レイアウト作業が容易になり、しかも、ユーザの好み
のレイアウトを簡単に選択することができるようになる
Effects of the Invention According to the present invention, similar candidates among a plurality of layout candidates generated by the layout candidate generating means can be presented to the user at once, so that the user's intellectual ability to compare and select candidates can be improved. Since the layout work is supported, the layout work becomes easier, and the user can easily select the layout of his/her preference.

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

【図1】本発明の一実施例の概略構成を示すブロック図
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of the present invention.

【図2】図1に示す実施例での入力データの一例を示す
図。
FIG. 2 is a diagram showing an example of input data in the embodiment shown in FIG. 1;

【図3】図1に示す実施例での入力データ間の関係をあ
らわす論理構造と参照構造の一例を示す図。
FIG. 3 is a diagram showing an example of a logical structure and a reference structure representing the relationship between input data in the embodiment shown in FIG. 1;

【図4】図1に示す実施例のレイアウトの途中結果およ
びレイアウト候補を表示する画面例を示す図。
FIG. 4 is a diagram showing an example of a screen displaying intermediate results of layout and layout candidates of the embodiment shown in FIG. 1;

【図5】図1に示す実施例の割付け位置候補生成処理の
流れを説明するための図。
FIG. 5 is a diagram for explaining the flow of allocation position candidate generation processing in the embodiment shown in FIG. 1;

【図6】図1に示す実施例の割付け位置候補生成処理で
使用する割付けルールの一例を示す図。
FIG. 6 is a diagram showing an example of an allocation rule used in the allocation position candidate generation process of the embodiment shown in FIG. 1;

【図7】図1に示す実施例の割付け位置候補生成処理の
結果得られる頁枠への割付け候補例を示す図。
FIG. 7 is a diagram showing an example of an allocation candidate for a page frame obtained as a result of the allocation position candidate generation process of the embodiment shown in FIG. 1;

【図8】図1に示す実施例の割付け位置候補生成処理の
結果得られる文章枠への割付け候補例を示す図。
8 is a diagram showing an example of an allocation candidate for a text frame obtained as a result of the allocation position candidate generation process of the embodiment shown in FIG. 1; FIG.

【図9】図1に示す実施例の割付け位置候補生成処理の
結果得られる各候補の候補情報一覧を示す図。
FIG. 9 is a diagram showing a list of candidate information for each candidate obtained as a result of the allocation position candidate generation process of the embodiment shown in FIG. 1;

【図10】図1に示す実施例の候補呈示部で候補の類似
関係を求める処理の流れを示す図。
FIG. 10 is a diagram showing the flow of processing for determining similarity relationships among candidates in the candidate presentation unit of the embodiment shown in FIG. 1;

【図11】図1に示す実施例の候補呈示部で図10のア
ルゴリズムに基づき各候補を類似度に基づいて関係づけ
る途中経過を示す図。
11 is a diagram illustrating a process in which candidates are related based on similarity based on the algorithm of FIG. 10 in the candidate presentation unit of the embodiment shown in FIG. 1; FIG.

【図12】図1に示す実施例の候補呈示部で図10のア
ルゴリズムに基づき各候補を類似度に基づいて関係づけ
る途中経過を示す図。
12 is a diagram illustrating a process in which candidates are related based on similarity based on the algorithm of FIG. 10 in the candidate presentation unit of the embodiment shown in FIG. 1; FIG.

【図13】図1に示す実施例の類似度算出部で候補間の
類似度を求めるアルゴリズムを示す図。
FIG. 13 is a diagram showing an algorithm for calculating the similarity between candidates in the similarity calculation unit of the embodiment shown in FIG. 1;

【図14】図1に示す実施例の類似度算出部で候補間の
類似度を求める順序を示す図。
FIG. 14 is a diagram showing the order in which the similarity between candidates is calculated by the similarity calculation unit of the embodiment shown in FIG. 1;

【図15】図1に示す実施例の指示入力部で使用する候
補選択メニューを示す図。
15 is a diagram showing a candidate selection menu used in the instruction input section of the embodiment shown in FIG. 1. FIG.

【図16】図1に示す実施例の候補一覧画面を示す図。FIG. 16 is a diagram showing a candidate list screen of the embodiment shown in FIG. 1;

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

1…データ入力部、2…レイアウト候補生成部、3…候
補呈示部、4…類似度算出部、5…表示部、6…指示入
力部。
DESCRIPTION OF SYMBOLS 1... Data input part, 2... Layout candidate generation part, 3... Candidate presentation part, 4... Similarity calculation part, 5... Display part, 6... Instruction input part.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】  資料の構成要素をなす要素データとと
もにこれら要素データを割り付ける空間データおよび各
要素データの関係データを入力するデータ入力手段、こ
のデータ入力手段より入力された関係データに基づいて
上記要素データを上記空間データに対応する空間に割り
付けるレイアウト候補を生成するレイアウト候補生成手
段、上記レイアウト候補にしたがって上記各要素データ
を上記空間に割り付けた結果を呈示する出力手段、この
出力手段に呈示されたレイアウト候補の中から所望する
候補を選択指示する指示入力手段を有する資料呈示装置
において、上記レイアウト候補生成手段により生成され
た各レイアウト候補の間の類似度を求める類似度算出手
段と、この類似度算出手段により求められた類似度に応
じて上記出力手段への各レイアウト候補の呈示方法を決
定する候補呈示手段を持つことを特徴とする資料呈示装
置。
Claim 1: A data input means for inputting element data constituting a material, spatial data for allocating these element data, and relational data of each element data; a layout candidate generating means for generating a layout candidate for allocating data to a space corresponding to the spatial data; an output means for presenting a result of allocating each of the element data to the space according to the layout candidate; In a material presentation device having an instruction input means for selecting and instructing a desired candidate from among layout candidates, a similarity calculation means for calculating a degree of similarity between each layout candidate generated by the layout candidate generation means; A material presentation device comprising candidate presentation means for determining a presentation method of each layout candidate to the output means according to the degree of similarity determined by the calculation means.
【請求項2】  類似度算出手段は、レイアウト候補生
成手段により生成された各レイアウト候補の物理的ある
いは論理的な特徴量を抽出し、これら特徴量を用いて各
レイアウト候補間の類似度を算出することを特徴とする
請求項1に記載の資料呈示装置。
2. The similarity calculation means extracts physical or logical features of each layout candidate generated by the layout candidate generation means, and calculates the similarity between each layout candidate using these features. The material presentation device according to claim 1, characterized in that:
【請求項3】  類似度算出手段は、類似度算出の際に
抽出される特徴量より求められる候補間の類似度に対し
てそれぞれ重み値の列を設定および変更可能にする手段
と、ユーザに対応付けて重み値列を記憶する手段を具備
し、ユーザごとの重み値列を用いて、各候補の類似度に
重み値をかけて加算することで総合的な類似度を求める
ようにしたことを特徴とする請求項1に記載の資料呈示
装置。
3. The similarity calculation means includes means for allowing a user to set and change a sequence of weight values for each similarity between candidates determined from feature amounts extracted during similarity calculation; The system is equipped with a means for storing weight value sequences in association with each other, and uses the weight value sequence for each user to calculate the overall similarity by multiplying and adding the similarity of each candidate by the weight value. The data presentation device according to claim 1, characterized in that:
【請求項4】  候補呈示手段は、類似度算出手段によ
り算出された類似関係にある候補群から代表候補を決定
するとともに、該代表候補を他の類似候補に先だって出
力手段に呈示することを特徴とする請求項1乃至請求項
3のいずれかに記載の資料呈示装置。
4. The candidate presentation means determines a representative candidate from the group of candidates having a similar relationship calculated by the similarity calculation means, and presents the representative candidate to the output means before other similar candidates. The material presentation device according to any one of claims 1 to 3.
【請求項5】  候補呈示手段は、データ入力手段から
入力された各要素データおよび空間データ間の関係と類
似度算出手段により求められる各候補の特徴量および各
候補間の類似度のいずれかの組み合わせによって代表候
補を決定することを特徴とする請求項4に記載の資料呈
示装置。
5. The candidate presentation means is configured to calculate the relationship between each element data and the spatial data inputted from the data input means, the feature amount of each candidate calculated by the similarity calculation means, and the similarity between each candidate. 5. The material presentation device according to claim 4, wherein the representative candidates are determined by a combination.
JP3041319A 1991-02-13 1991-02-13 Data presenting device Pending JPH04259056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3041319A JPH04259056A (en) 1991-02-13 1991-02-13 Data presenting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3041319A JPH04259056A (en) 1991-02-13 1991-02-13 Data presenting device

Publications (1)

Publication Number Publication Date
JPH04259056A true JPH04259056A (en) 1992-09-14

Family

ID=12605198

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3041319A Pending JPH04259056A (en) 1991-02-13 1991-02-13 Data presenting device

Country Status (1)

Country Link
JP (1) JPH04259056A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006085523A (en) * 2004-09-17 2006-03-30 Seiko Epson Corp Layout support system, program, and method
JP2011065295A (en) * 2009-09-15 2011-03-31 Ricoh Co Ltd Apparatus, system and program for processing image

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006085523A (en) * 2004-09-17 2006-03-30 Seiko Epson Corp Layout support system, program, and method
JP2011065295A (en) * 2009-09-15 2011-03-31 Ricoh Co Ltd Apparatus, system and program for processing image

Similar Documents

Publication Publication Date Title
US5675753A (en) Method and system for presenting an electronic user-interface specification
US8161384B2 (en) Arranging graphic objects on a page with text
JPH03177964A (en) Document arranging device
JP4095558B2 (en) Document processing apparatus, document processing method, and computer program
US6320602B1 (en) Region layout in a view on a graphical display screen
JP4307501B2 (en) Automatic layout and formatting of content for media design
JP4241410B2 (en) Layout adjustment method and apparatus, and layout adjustment program
JP4065545B2 (en) Layout control method and apparatus and program thereof
US5129052A (en) Dynamic selection of recursively nested logical element data formats
JP2003186908A (en) Method and device for displaying literary and linguistic information associated with word
JPS60107357A (en) Word-processor
JPH09106402A (en) Geographical information retrieving device and related information retrieving device
JPH06251007A (en) Table data input device
JP7366528B2 (en) Output content generation device, output content generation method, and program
JPH06309378A (en) Map retrieving device and system
JPH04259056A (en) Data presenting device
JP3114465B2 (en) Information presentation device
JP2718782B2 (en) Figure creation device
JPH07121512A (en) Document preparing device
JPH08202859A (en) Electronic filing device and its method
JPH05101039A (en) Document shaping device
JPH11353311A (en) Document processor, its processing method and computer readable record medium recording program to be executed by computer
JP3127551B2 (en) Layout device
JPH07282060A (en) Document processor
JPH09153062A (en) Table form data display device