JPH05204899A - Document layout device - Google Patents

Document layout device

Info

Publication number
JPH05204899A
JPH05204899A JP2416266A JP41626690A JPH05204899A JP H05204899 A JPH05204899 A JP H05204899A JP 2416266 A JP2416266 A JP 2416266A JP 41626690 A JP41626690 A JP 41626690A JP H05204899 A JPH05204899 A JP H05204899A
Authority
JP
Japan
Prior art keywords
layout
document
format
rule
constituent
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
JP2416266A
Other languages
Japanese (ja)
Inventor
Miyuki Tabata
美由紀 田畑
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2416266A priority Critical patent/JPH05204899A/en
Publication of JPH05204899A publication Critical patent/JPH05204899A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To enable a layout result to be selected by a user after the layout of a document format set by the user and that of a document constituent from a layout rule are automatically performed. CONSTITUTION:This device is provided with a constituent designation means 1 which designates the graphic elements of a sentence and a drawing, a graph, a chart. and an image, etc., a format setting means 2 which sets the format of a document, a document format 3 set by the format setting means 2, and a layout means 5 which performs the layout according to the layout rule 4 in which the document constituent is arranged. Also, it is equipped with a layout document candidate display means 6 which displays plural candidates on which the layout is performed by the layout means 5, a selection means 7 which selects a desired layout document from the candidates of displayed layout documents, and a print means 8 which prints a selected layout document. Also, it is equipped with a layout rule update means 9 which updates the layout rule 4 of the document constituent from the selection result of the layout document by the selection means 7.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えばワードプロセッ
サのような文書作成装置において、文章(文字列)や
図、表、グラフ、イメージ等の図形要素でなる文書構成
要素を、レイアウト規則によって自動的にレイアウトす
る文書レイアウト装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention, in a document preparation device such as a word processor, automatically creates document components such as sentences (character strings) and graphic elements such as figures, tables, graphs and images according to a layout rule. The present invention relates to a document layout device for laying out a document.

【0002】[0002]

【従来の技術】従来、文書レイアウト装置の一例とし
て、「文書構造を用いた自動レイアウトシステム」(情
報処理学会研究会 文書処理とヒューマインタフェース
20−3、1988)に示すものがある。図4はこの
ような従来の文書レイアウト装置を実現するためのブロ
ック図である。図において、1は所望のレイアウトに必
要な文書構成要素すなわち文章(文字列)や図、表、グ
ラフ、イメージ等の図形要素を指定する構成要素指定手
段、2は文書の書式を設定する書式設定手段、3は文書
書式、4は文書の構成要素をレイアウトするレイアウト
手段、5は文書の構成要素をレイアウトするレイアウト
手段、8はレイアウト文書を出力する印刷手段を示す。
2. Description of the Related Art Conventionally, as an example of a document layout apparatus, there is one shown in "Automatic Layout System Using Document Structure" (Information Processing Society of Japan Study Group Document Processing and Human Interface 20-3, 1988). FIG. 4 is a block diagram for realizing such a conventional document layout apparatus. In the figure, 1 is a component designating means for designating a document constituent element required for a desired layout, that is, a graphic element such as a sentence (character string) or a figure, a table, a graph, an image, and 2 is a format setting for setting the format of a document. Reference numeral 3 is a document format, 4 is a layout means for laying out document constituent elements, 5 is a layout means for laying out document constituent elements, and 8 is a printing means for outputting a layout document.

【0003】上記構成要素指定手段1は、図6に示す文
章1a、図1b、表1c、グラフ1d及びイメージ1e
のモードを指定し、また、上記書式設定手段2は、図7
に示すページ大きさ2a,段組数2b,行内大文字数2
c及びページ内行数2dを設定するようになっている。
The constituent element designating means 1 is composed of a sentence 1a shown in FIG. 6, a figure 1b, a table 1c, a graph 1d and an image 1e.
7 is specified, and the format setting means 2 uses the format shown in FIG.
Page size 2a, column number 2b, inline capital number 2
c and the number of lines in the page 2d are set.

【0004】さらに、上記レイアウト規則4には、例え
ばrule1:図形要素は本文の参照位置の近くに割り
付ける。 rule2:図形要素は本文の参照位置と同じ段組内に
割り付ける。 rule3:図形要素は本文の参照位置と同じ位置と同
じページ内に割り付ける。 rule4:図形要素は本文の参照位置の次のページの
先頭に割り付ける。等の規則が予め設定されていて、例
えば図8に示すように、レイアウトするようになってい
る。
Further, in the layout rule 4, for example, rule1: the graphic element is allocated near the reference position of the text. rule2: The graphic element is allocated within the same column as the reference position of the text. rule3: The graphic element is allocated within the same page as the reference position of the text. rule4: The graphic element is assigned to the beginning of the page next to the reference position in the text. Rules such as are set in advance, and are laid out as shown in FIG. 8, for example.

【0005】次に従来装置の動作について図5に示すフ
ローチャートにしたがって説明する。まず、ステップS
51で、構成要素指定手段1により所望のレイアウト文
書に必要な文書構成要素を指定する。例えば、文書構成
要素の各々が別々の文書(媒体に記録される単位として
の文書)である場合、図6に示す文書構成要素のうち、
文章1a、図1b、表1cを指定する。
Next, the operation of the conventional device will be described with reference to the flowchart shown in FIG. First, step S
In step 51, the document element necessary for the desired layout document is specified by the element specifying means 1. For example, when each of the document components is a separate document (document as a unit recorded on the medium), among the document components shown in FIG.
The text 1a, FIG. 1b, and table 1c are designated.

【0006】次にステップS52で、用紙サイズ、1行
の文字数、1ページの行数など図7に示した書式の項目
を設定する。次にステップS53で、図7に示された書
式および上記rule1〜4のレイアウト規則によっ
て、文書構成要素を自動レイアウトしようとするが、レ
イアウト規則ではひとつの図形要素に対して複数の割り
付け方があるので、順に適用してみてレイアウト可能な
規則をみつけたらそれを採用する。
Next, in step S52, items such as the paper size, the number of characters in one line, the number of lines in one page, and the like shown in FIG. 7 are set. Next, in step S53, the document constituent elements are automatically laid out according to the format shown in FIG. 7 and the layout rules of the rules 1 to 4 described above. In the layout rule, there are a plurality of allocation methods for one graphic element. So, apply them in order, and if you find a layoutable rule, adopt it.

【0007】ここでは、rule1の規則が適用できな
かったとすると、rule2の規則によって図形要素
を、その図形要素を参照している本文と同じ段落内に割
り付ける。最後に図8に示されるようなレイアウト文書
を得る。
Here, if the rule of rule1 cannot be applied, the graphic element is allocated in the same paragraph as the text referring to the graphic element by the rule of rule2. Finally, a layout document as shown in FIG. 8 is obtained.

【0008】[0008]

【発明が解決しようとする課題】従来の文書レイアウト
装置は以上のような手順で処理されていたので、唯一の
レイアウト結果が所望のものでない時は、初めに戻って
書式を設定し直し、自動レイアウトをやり直す必要があ
った。
Since the conventional document layout apparatus has been processed by the above procedure, when the only layout result is not the desired one, it is necessary to go back to the beginning to reset the format, I had to redo the layout.

【0009】また、書式の設定項目にない、例えば図形
要素をページのどこに割り付けるかというようなレイア
ウト規則に関しては装置任せであり、使用者の要望を反
映させるためには、使用者が手動で文書構成要素の中に
制御コードを入れなければならず、自動レイアウトとし
ての効率が半減するという欠点があった。
The layout rules not included in the format setting items, for example, where to allocate graphic elements on the page, are left to the device. In order to reflect the user's request, the user manually writes the document. The control code must be included in the constituent elements, and the efficiency of the automatic layout is halved.

【0010】さらに、文書中の図形要素の配置の規則
は、使用者によってある程度範囲が狭められてくるもの
であるが、いつでも装置に備えられている規則を始めか
ら順に適応していくので、自動レイアウトの効率が悪か
った。
Further, although the rule of arrangement of graphic elements in a document is narrowed to some extent by the user, the rule provided in the apparatus is always adapted in order from the beginning, so that the rule is automatically applied. The layout was inefficient.

【0011】本発明は上記のような問題点を解消するた
めになされたもので、使用者の設定した文書書式と装置
の持つレイアウト規則から文書構成要素を自動的にレイ
アウトした後、レイアウト文書の候補を複数表示するこ
とによって、使用者がレイアウト結果を選択できること
ができる文書レイアウト装置を提供することを目的とす
る。
The present invention has been made to solve the above-mentioned problems, and after automatically laying out the document constituent elements from the document format set by the user and the layout rule of the apparatus, the layout document is An object of the present invention is to provide a document layout device that allows a user to select a layout result by displaying a plurality of candidates.

【0012】また、上述したレイアウトの選択結果をフ
ィードバックしてレイアウト規則を自動的に更新するこ
とによって、使用者が所望のレイアウト結果を得ること
ができる文書レイアウト装置を提供することを目的とす
る。
It is another object of the present invention to provide a document layout device which allows a user to obtain a desired layout result by feeding back the layout selection result and automatically updating the layout rule.

【0013】[0013]

【課題を解決するための手段】上記目的を達成するため
に、本発明に係る文章レイアウト装置は、文書を構成す
る要素である文章や図、グラフ、表、イメージ等の図形
要素を指定する構成要素指定手段と、文書の書式を設定
する書式設定手段と、上記書式設定手段によって設定さ
れた文書書式と文書構成要素を配置するレイアウト規則
にしたがって文書構成要素をレイアウトするレイアウト
手段と、上記レイアウト手段によって文書構成要素をレ
イアウトした候補を複数表示するレイアウト文書候補表
示手段と、上記レイアウト文書候補表示手段によって表
示されたレイアウト文書の候補から所望のレイアウト文
書を選択する選択手段と、上記選択手段によって選択さ
れたレイアウト文書を印刷する印刷手段とを備えたもの
である。
In order to achieve the above object, a text layout device according to the present invention is configured to specify a graphic element such as a text, a figure, a graph, a table or an image which is an element constituting a document. Element designating means, format setting means for setting the format of the document, layout means for laying out the document components according to the document format and layout rules for arranging the document components set by the format setting means, and the layout means Layout document candidate display means for displaying a plurality of candidates for laying out the document constituent elements, selection means for selecting a desired layout document from the layout document candidates displayed by the layout document candidate display means, and selection by the selection means. And a printing unit for printing the created layout document.

【0014】また、上記選択手段によるレイアウト文書
の選択結果から文書構成要素のレイアウト規則を更新す
るレイアウト規則更新手段を備えたものである。
Further, there is provided a layout rule updating means for updating the layout rule of the document constituent element from the selection result of the layout document by the selecting means.

【0015】[0015]

【作用】本発明によれば、文書構成要素が指定されて文
書書式が設定されれば、自動的にレイアウト文書の候補
を複数表示し、その中のひとつが選択されると、レイア
ウト結果を出力する。また、自動的にレイアウト規則を
更新する。
According to the present invention, when a document component is designated and a document format is set, a plurality of layout document candidates are automatically displayed, and when one of them is selected, the layout result is output. To do. Also, the layout rule is automatically updated.

【0016】[0016]

【実施例】以下、本発明の一実施例を図について説明す
る。図1は本実施例に係る文書レイアウト装置のブロッ
ク構成図を示し、従来例の図4と同一部分は同一符号を
付しその説明を省略する。図1において、新たな構成と
して、6はレイアウト手段5によって文書構成要素をレ
イアウトした候補を複数表示するレイアウト文書候補表
示手段、7はレイアウト文書候補表示手段6によって表
示されたレイアウト文書の候補から所望のレイアウト文
書を選択する選択手段、9は上記選択手段7によるレイ
アウト文書の選択結果から文書構成要素のレイアウト規
則4を更新するレイアウト規則更新手段を示し、この実
施例においては、文書構成要素(文章、図、表、グラ
フ、イメージ)と文書書式を指定すれば、レイアウト文
書が複数表示され、その中から選択するだけで、所望の
結果を得ることが可能であり、さらに、自動レイアウト
を利用する毎に、レイアウト規則が更新されることによ
り、レイアウト文書が所望のものに近付いていくように
なっている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of the document layout apparatus according to the present embodiment. The same parts as those in FIG. 4 of the conventional example are designated by the same reference numerals and the description thereof will be omitted. In FIG. 1, as a new structure, 6 is a layout document candidate display means for displaying a plurality of candidates for laying out document constituent elements by the layout means 5, and 7 is a desired layout document candidate displayed by the layout document candidate display means 6. Selection means for selecting the layout document, and 9 is a layout rule updating means for updating the layout rule 4 of the document constituent element based on the selection result of the layout document by the selection means 7. In this embodiment, the document constituent element (text , Layouts, figures, tables, graphs, images) and document formats are displayed, multiple layout documents are displayed. You can obtain the desired result by simply selecting from among them, and use automatic layout. Each time the layout rules are updated, the layout document is closer to what you want. It has become way.

【0017】次に、上記構成に係る動作について図2に
示す動作フローチャート及び図3に示すレイアウト文書
候補の複数表示例を参照して説明する。例えば図6に示
されるような文書構成要素のうち文章1a,図1b及び
表1cを、A4版の用紙にレイアウトし、印刷したいも
のとする。
Next, the operation of the above configuration will be described with reference to an operation flowchart shown in FIG. 2 and a plurality of layout document candidate display examples shown in FIG. For example, suppose that the sentence 1a, FIG. 1b, and table 1c among the document constituent elements as shown in FIG. 6 are laid out on an A4 size sheet and are to be printed.

【0018】まず、図2におけるステップS21で、構
成要素指定手段1によって、上記文章1a、図1b及び
1cを指定する。次に、ステップS22で、図7に示す
ような用紙サイズ、1行の文字数、1ページの行数等の
書式を設定する。
First, in step S21 in FIG. 2, the sentence 1a, FIGS. 1b and 1c are designated by the component designating means 1. Next, in step S22, formats such as the paper size, the number of characters in one line, and the number of lines in one page are set as shown in FIG.

【0019】次に、ステップS23で、図7に示した文
書書式および従来例で前述したrule1〜4のレイア
ウト規則にしたがって文書構成要素をレイアウトしたの
ち、ステップS24で図3の3通りのレイアウト文書5
A、5B、5Cの候補を表示する。
Next, in step S23, the document components are laid out according to the document format shown in FIG. 7 and the layout rules of rules 1 to 4 described in the conventional example, and then in step S24, the three layout documents shown in FIG. 5
Display candidates for A, 5B, and 5C.

【0020】次のステップS24で、例えばレイアウト
文書5Bが選択されたとすると、これをレイアウト結果
として出力し、また、次のステップS26で、例えば図
形要素と本文の位置を、 rule10:図形要素は本文の参照位置と同じ段組内
に割り付ける。 rule11:図形要素のまわりには、文字列を流し込
まない。等のように、文書レイアウト規則を更新する。
If, for example, the layout document 5B is selected in the next step S24, this is output as a layout result, and in the next step S26, for example, the position of the graphic element and the text is determined by rule10: the graphic element is the text. Allocate within the same column as the reference position of. rule11: A character string is not poured around the graphic element. And so on, to update the document layout rules.

【0021】なお、本発明では、文書構成要素の各々は
別文書(媒体に記録される単位としての文書)であるこ
とを仮定して説明したが、これらが混在した文書を構成
要素としても(文章と図、グラフなどがひとつの文書と
なって、他の文書の構成要素となる)同等の効果を得る
ことができる。
In the present invention, description has been made assuming that each of the document constituent elements is a separate document (a document as a unit recorded on a medium), but a document in which these are mixed is also a constituent element ( (Sentences, diagrams, graphs, etc., become one document and become the constituent elements of other documents.) The same effect can be obtained.

【0022】[0022]

【発明の効果】以上のように、本発明によれば、文書構
成要素(文章、図、表、グラフ、イメージ)と文書書式
を指定すれば、レイアウト文書が複数表示され、その中
から選択するだけで、所望の結果を得ることができる。
また、自動レイアウトを利用する毎に、レイアウト規則
が更新されていくので、レイアウト文書が所望のものに
近付いていくという効果がある。
As described above, according to the present invention, if a document constituent element (text, figure, table, graph, image) and a document format are designated, a plurality of layout documents are displayed, and a layout document is selected from them. Only then can the desired result be obtained.
Further, since the layout rule is updated every time the automatic layout is used, there is an effect that the layout document approaches the desired one.

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

【図1】本発明の一実施例である文書レイアウト装置の
ブロック構成図である。
FIG. 1 is a block configuration diagram of a document layout apparatus that is an embodiment of the present invention.

【図2】図1の実施例の動作を説明するためのフローチ
ャートである。
FIG. 2 is a flow chart for explaining the operation of the embodiment of FIG.

【図3】図1の実施例における複数のレイアウト候補の
表示例を示す説明図である。
FIG. 3 is an explanatory diagram showing a display example of a plurality of layout candidates in the embodiment of FIG.

【図4】従来の文書レイアウト装置のブロック構成であ
る。
FIG. 4 is a block configuration of a conventional document layout device.

【図5】上記従来例を説明するためのフローチャートで
ある。
FIG. 5 is a flowchart for explaining the above conventional example.

【図6】文書構成要員の例示図である。FIG. 6 is a view showing an example of document construction personnel.

【図7】文書書式の例示図である。FIG. 7 is a view showing an example of a document format.

【図8】上記従来例におけるレイアウト文書の例示図で
ある。
FIG. 8 is an exemplary diagram of a layout document in the above conventional example.

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

1 構成要素指定手段 2 書式設定手段 3 文書書式 4 レイアウト規則 5 レイアウト手段 6 レイアウト文書候補表示手段 7 選択手段 8 印刷手段 9 レイアウト規則更新手段である。 1 constituent element designating means 2 format setting means 3 document format 4 layout rule 5 layout means 6 layout document candidate display means 7 selecting means 8 printing means 9 layout rule updating means.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 文書を構成する要素である文章や図、グ
ラフ、表、イメージ等の図形要素を指定する構成要素指
定手段と、文書の書式を設定する書式設定手段と、上記
書式設定手段によって設定された文書書式と文書構成要
素を配置するレイアウト規則にしたがって文書構成要素
をレイアウトするレイアウト手段と、上記レイアウト手
段によって文書構成要素をレイアウトした候補を複数表
示するレイアウト文書候補表示手段と、上記レイアウト
文書候補表示手段によって表示されたレイアウト文書の
候補から所望のレイアウト文書を選択する選択手段と、
上記選択手段によって選択されたレイアウト文書を印刷
する印刷手段とを備えた文書自動レイアウト装置。
1. A constituent element specifying means for specifying a graphic element such as a sentence, a figure, a graph, a table, an image, etc., which is an element constituting a document, a format setting means for setting the format of the document, and the format setting means. Layout means for laying out the document components according to the set document format and layout rules for arranging the document components, layout document candidate display means for displaying a plurality of candidates for laying out the document components by the layout means, and the layout described above. Selecting means for selecting a desired layout document from the layout document candidates displayed by the document candidate display means;
A document automatic layout apparatus comprising: a printing unit that prints the layout document selected by the selecting unit.
【請求項2】 上記選択手段によるレイアウト文書の選
択結果から文書構成要素のレイアウト規則を更新するレ
イアウト規則更新手段を備えたことを特徴とする請求項
1記載の文書レイアウト装置。
2. The document layout apparatus according to claim 1, further comprising layout rule updating means for updating the layout rule of the document constituent element from the selection result of the layout document by the selecting means.
JP2416266A 1990-12-28 1990-12-28 Document layout device Pending JPH05204899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2416266A JPH05204899A (en) 1990-12-28 1990-12-28 Document layout device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2416266A JPH05204899A (en) 1990-12-28 1990-12-28 Document layout device

Publications (1)

Publication Number Publication Date
JPH05204899A true JPH05204899A (en) 1993-08-13

Family

ID=18524497

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2416266A Pending JPH05204899A (en) 1990-12-28 1990-12-28 Document layout device

Country Status (1)

Country Link
JP (1) JPH05204899A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7634324B2 (en) * 2007-01-11 2009-12-15 Autodesk, Inc. Method and system for aligning and laying out drawing elements in CAD drawings
US8533590B2 (en) 2008-10-20 2013-09-10 Canon Kabushiki Kaisha Information processing apparatus and layout processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7634324B2 (en) * 2007-01-11 2009-12-15 Autodesk, Inc. Method and system for aligning and laying out drawing elements in CAD drawings
US8533590B2 (en) 2008-10-20 2013-09-10 Canon Kabushiki Kaisha Information processing apparatus and layout processing method

Similar Documents

Publication Publication Date Title
JPH0137783B2 (en)
JPH05204899A (en) Document layout device
JPS61175722A (en) Label printing system for document processor
JPS6277953A (en) Ticket-issueing printer apparatus
JP3041883B2 (en) Document creation support method and apparatus
JPS61175723A (en) Label printing system for document processor
JPH07295971A (en) Business card preparing device
JPS60253572A (en) Blank filling printing system
JP3161744B2 (en) Information processing device
JPH0747724A (en) Printer
JPH05101058A (en) Word processor
JPH10207878A (en) Document editing and printing device
JPS62229289A (en) Document processor
JPS62138958A (en) Document preparing device
JPS63257788A (en) Document data editing apparatus
JPH03129564A (en) Document processor with repeated printing function
JPS62284462A (en) Document formation supporting system
JPH0778133A (en) Document preparing device and method for outputting character pattern
JPH0567101A (en) Word processor
JPH0431957A (en) Document processor
JPS62270364A (en) Document processing apparatus
JPH05181851A (en) Automatic editing document processing device
JPH07287708A (en) Method for preparing document
JPH06162006A (en) Document preparing method
JPH06162007A (en) Document preparing method