JPH10116285A - Method and device for layout processing utilizing element-to-element reference - Google Patents

Method and device for layout processing utilizing element-to-element reference

Info

Publication number
JPH10116285A
JPH10116285A JP8270325A JP27032596A JPH10116285A JP H10116285 A JPH10116285 A JP H10116285A JP 8270325 A JP8270325 A JP 8270325A JP 27032596 A JP27032596 A JP 27032596A JP H10116285 A JPH10116285 A JP H10116285A
Authority
JP
Japan
Prior art keywords
character string
layout
page
reference character
size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP8270325A
Other languages
Japanese (ja)
Other versions
JP4183774B2 (en
Inventor
Minoru Ikeda
稔 池田
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP27032596A priority Critical patent/JP4183774B2/en
Publication of JPH10116285A publication Critical patent/JPH10116285A/en
Application granted granted Critical
Publication of JP4183774B2 publication Critical patent/JP4183774B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To eliminate the need to correct document contents by adjusting the size of a block of a reference character string, repeating a layout process, and guaranteeing the adequacy of a page number that the reference character string indicates and a page number where a reference object appears. SOLUTION: Data are inputted through an input means 1 and a means 2 inserts the part of the reference character string in the document into the document as a blank character string. A page layout means 4 lays out the document. The result is stored in a storage device 3, and the block size of the blank character string is stored in the storage device 3. A reference position acquiring means 5 acquires the appearance position of a reference object, and a reference character string inserting means 2 generates the character string of a reference part. The page layout means 4 lays out the document again, and a number adequacy guaranteeing means 6 compares the result and regenerates the character string when the page that the reference character string indicates is different from the page where the reference object appears, and when they become equal to each other, a display means 7 displays the document on the screen or prints it.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、要素間参照を利
用したレイアウト処理方法および装置に関し、特にペー
ジを参照している部分での番号の正当性を保証し、利用
者の負担を軽減することができるようにした要素間参照
を利用したレイアウト処理方法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a layout processing method and apparatus using inter-element reference, and more particularly to assuring the validity of a number in a part referring to a page and reducing the burden on a user. The present invention relates to a layout processing method and apparatus using inter-element reference which enables the processing.

【0002】[0002]

【従来技術】文書から目次や索引等を自動的に生成して
元の文書と合わせて表示、印刷等の処理を行うのに適し
た文書フォーマットとしてSGML(Standard
Generalized Markup Langu
age)等の標準規格に代表される構造化文書がある。
2. Description of the Related Art SGML (Standard) is a document format suitable for automatically generating a table of contents, an index, and the like from a document and performing processing such as display and printing together with the original document.
Generalized Markup Langu
age) and other structured documents.

【0003】構造化文書であるSGMLは、文書自体に
はレイアウト情報は記述されておらず、文書の要素(例
えば、報告書ならばタイトルや日付、報告先等)ごとに
“タグ”と呼ばれる文書要素を識別するための符号を付
してある。
[0003] In SGML which is a structured document, layout information is not described in the document itself, and a document called "tag" is provided for each document element (for example, title, date, report destination, etc. in a report). Symbols are used to identify elements.

【0004】タグは文書要素の開始を示す開始タグ
(“<要素名>”と記述)と文書要素の終了を示す終了
タグ(“</要素名>”と記述)があり、開始タグと終
了タグの間に文書要素を記述する。
Tags include a start tag (described as "<element name>") indicating the start of a document element and an end tag (described as "</ element name>") indicating the end of the document element. Write the document element between the tags.

【0005】また、SGMLは文書の他に文書型定義
(DTD:Document Type Defini
tion)が必要であり、DTDにはタグの定義や文書
構造の定義(例えば、報告書ならば日付は1回のみ出現
する等、マニュアルなどでは章の中には節が出現し、章
の中に章は出現しない等)等が記述されている。
[0005] SGML is a document type definition (DTD: Document Type Define) in addition to a document.
) is required, and the definition of the tag and the definition of the document structure in the DTD (for example, the date appears only once in a report, etc.). , Etc.) are described.

【0006】SGMLは、上述した文書とDTDの他に
SGML宣言が必要であり、SGML宣言は、文書に使
われているコードや要素名などの最大文字数、“<>”
がタグであること等が記述されている。これらの文書、
DTD、SGML宣言の3要素がSGMLの構成要素と
なっている。
[0006] SGML requires an SGML declaration in addition to the above-described document and DTD. The SGML declaration includes a maximum number of characters such as codes and element names used in the document, and "<>".
Is described as a tag. These documents,
The three elements of the DTD and the SGML declaration are the components of the SGML.

【0007】上述したようにSGMLの文書はタグ付け
された文書要素の羅列であり、レイアウト情報や文字の
大きさ等は一切記述されていないため、SGML文書の
表示や印刷を行うには、別に文書処理装置等が必要であ
る。
[0007] As described above, an SGML document is a list of tagged document elements, and does not describe any layout information, character size, and the like. A document processing device or the like is required.

【0008】SGML文書をレイアウトして、印刷や表
示を行う文書処理装置においては、目次や索引を作成す
る場合には、一度文書のレイアウトを行い、目次の構成
要素となる「章」や「節」等の出現するページや索引の
構成要素となる文字列の出現ページを参照して、この情
報を元に再度レイアウトを行う。
In a document processing apparatus that lays out an SGML document and prints or displays it, when creating a table of contents or an index, the document is laid out once and “chapter” or “section” which is a component of the table of contents is created. , Etc., and a page in which a character string as a component of an index appears, and layout is performed again based on this information.

【0009】同様の方法を用いて、例えば図などの出現
ページを本文中で参照することが可能である。
By using the same method, it is possible to refer to an appearance page such as a figure in the text.

【0010】しかし、本文中に参照文字列を挿入した場
合、参照文字列の長さによっては参照文字列が挿入され
た箇所以降のページレイアウトが変化し、参照オブジェ
クトが存在したページが変化してしまうことがある。
However, when a reference character string is inserted into the text, the page layout after the location where the reference character string is inserted changes depending on the length of the reference character string, and the page where the reference object exists changes. Sometimes.

【0011】図7に従来のレイアウト参照を利用した文
書レイアウト結果の一例を示す。
FIG. 7 shows an example of a document layout result using a conventional layout reference.

【0012】図7において、ページ51−1乃至51−
4は最初のレイアウトが終了した状態を示し、参照文字
列「図1 ページ参照」がページ51−1(八十五ペー
ジ)に、参照オブジェクト「図1」がページ51−3
(九十九ページ)にレイアウトされている。
In FIG. 7, pages 51-1 through 51-
Reference numeral 4 denotes a state in which the first layout has been completed. The reference character string “see FIG. 1 page” is on page 51-1 (page 85), and the reference object “FIG.
(Page 99).

【0013】ページ52−1乃至52−4は参照オブジ
ェクト「図1」が“九十九ページ”にレイアウトされて
いることを考慮し、再度レイアウトを行った結果を示し
ており、ページ51−1の参照文字列「図1 ページ参
照」が「図1 九十九ページ参照」に置き換わってい
る。
Pages 52-1 through 52-4 show the result of the layout performed again in consideration of the fact that the reference object "FIG. 1" is laid out on "99 pages". Has been replaced by "See Figure 1 on page 99".

【0014】ところが、ページ52−1では参照文字列
「図1 九十九ページ参照」が「図1 ページ参照」よ
りも長くなったためにページ52−1(八十五ペー
ジ)、ページ52−2(八十六ページ)に跨がってしま
い、その結果、参照オブジェクト「図1」がページ52
−4(百ページ)にレイアウトされてしまい参照文字列
のページ番号と参照オブジェクトの出現ページが異なっ
てしまう。
However, on page 52-1, the reference character string "see page 99 of FIG. 1" is longer than "see page 1 of FIG. 1," so that page 52-1 (page 85) and page 52-2. (86 pages), and as a result, the reference object “FIG.
-4 (hundred pages), the page number of the reference character string differs from the page where the reference object appears.

【0015】このため、再度レイアウトを行うとページ
53−1乃至53−4に示すように、参照文字列「図1
九十九ページ参照」が「図1 百ページ参照」に置き
換わるが、参照文字列「図1 百ページ参照」は「図1
九十九ページ参照」よりも短くなるため、再び参照オ
ブジェクト「図1」はページ53−3(九十九ページ)
にレイアウトされる。
For this reason, when the layout is performed again, as shown in pages 53-1 to 53-4, the reference character string "FIG.
The page "See page 99" is replaced with "See page 100 in Fig. 1."
Reference page "Figure 1" is again shorter than page 53-3 (page 99).
Is laid out.

【0016】この結果、参照文字列のページ番号と参照
オブジェクトの出現ページが異なっているため、再びレ
イアウトが行われる。
As a result, since the page number of the reference character string is different from the appearance page of the reference object, the layout is performed again.

【0017】文書処理装置は、上述の処理を繰り返す
が、いつまでも正しい結果が得られないため、参照文字
列を決定することができない。
The document processing apparatus repeats the above-described processing, but cannot obtain a correct result forever and cannot determine a reference character string.

【0018】このようなレイアウト参照処理を行ってい
るシステムに「TeX」とよばれる科学技術論文向けの
文書処理システムがあるが、「TeX」においては参照
文字列に示されるページ番号と参照オブジェクトの出現
するページとが異なってしまう場合の対処は行っていな
い。
As a system that performs such a layout reference process, there is a document processing system called "TeX" for scientific papers. In "TeX", the page number indicated by the reference character string and the reference object No action is taken when the page that appears differs.

【0019】[0019]

【発明が解決しようとする課題】上述のように、参照文
字列を決定できない場合には、参照文字列の示すページ
番号と参照オブジェクトの出現するページ番号が異なっ
てしまった場合には、そのまま放置し、不具合の残る文
書としてレイアウトを終了するか、利用者が手動で参照
オブジェクトの位置を変更し、再度レイアウトを行う必
要がある。
As described above, when the reference character string cannot be determined, if the page number indicated by the reference character string is different from the page number where the reference object appears, it is left as it is. However, it is necessary to end the layout as a document having a defect or to manually change the position of the reference object by the user and perform the layout again.

【0020】そこで、この発明は、参照文字列の示すペ
ージ番号と参照オブジェクトの出現するページ番号が一
致するようにレイアウトを行い、利用者が文書の内容を
修正する必要のない要素間参照を利用したレイアウト処
理方法および装置を提供することを目的とする。
Therefore, according to the present invention, the layout is performed so that the page number indicated by the reference character string matches the page number where the reference object appears, and the inter-element reference that does not require the user to modify the contents of the document is used. It is an object of the present invention to provide a layout processing method and apparatus which are provided.

【0021】[0021]

【課題を解決するための手段】上述した目的を達成する
ため、この発明では、参照されるオブジェクトがレイア
ウトされたページ番号に基づき参照文字列を生成する要
素間参照を利用したレイアウト処理方法において、再レ
イアウトの結果、前記参照文字列のブロックの大きさが
縮むことで前記オブジェクトがレイアウトされるページ
が移動する場合に、前記参照文字列のブロックの大きさ
を前記再レイアウトを行う前の大きさに保持して再度レ
イアウトを行い、前記参照文字列の示すページ番号と前
記オブジェクトがレイアウトされたページ番号を一致さ
せることを特徴とする。
In order to achieve the above-mentioned object, the present invention provides a layout processing method using inter-element reference for generating a reference character string based on a page number on which a referenced object is laid out. When the page on which the object is laid out moves due to a reduction in the size of the block of the reference character string as a result of the relayout, the size of the block of the reference character string is changed to the size before the relayout is performed. And the layout is performed again, and the page number indicated by the reference character string matches the page number on which the object is laid out.

【0022】ここで、前記参照文字列が複数箇所に挿入
されているときは、該参照文字列の内、該参照文字列の
ブロックの大きさを縮めることで、前記オブジェクトの
ページが移動する前記参照文字列のブロック大きさのみ
を前記再レイアウトを行う前の大きさに保持して再度レ
イアウトを行うように構成することができる。
Here, when the reference character string is inserted at a plurality of positions, the size of the block of the reference character string in the reference character string is reduced to move the page of the object. The layout may be configured so that only the block size of the reference character string is held at the size before the re-layout and the layout is performed again.

【0023】また、前記参照文字列のブロックの大きさ
を前記再レイアウトを行う前の大きさに保持して再度レ
イアウトを行うことで生じる文書中の空白は、前記オブ
ジェクトの前後または文書の段落が変わる箇所にレイア
ウトされるように構成することができる。
Further, a blank in the document generated by performing the layout again while maintaining the size of the block of the reference character string at the size before the re-layout is performed. It can be configured so that it is laid out at a place where it changes.

【0024】また、この発明では、参照されるオブジェ
クトがレイアウトされたページ番号に基づき参照文字列
を生成する要素間参照を利用したレイアウト処理装置に
おいて、前記参照文字列のブロックの大きさを再レイア
ウトを行う前の大きさに保持して再度レイアウトを行う
手段と、前記参照文字列の示すページ番号と前記オブジ
ェクトがレイアウトされたページ番号が一致することを
保証する手段を具備することを特徴とする。
According to the present invention, in a layout processing apparatus utilizing inter-element reference for generating a reference character string based on a page number on which a referenced object is laid out, the size of the block of the reference character string is re-laid out. Means for performing the layout again while maintaining the size before performing, and means for ensuring that the page number indicated by the reference character string matches the page number on which the object is laid out. .

【0025】ここで、前記参照文字列が複数箇所に挿入
されているときは、該参照文字列の内、該参照文字列の
ブロックの大きさを縮めることで、前記オブジェクトの
ページが移動する前記参照文字列のブロック大きさのみ
を前記再レイアウトを行う前の大きさに保持して再度レ
イアウトを行うように構成することができる。
Here, when the reference character string is inserted at a plurality of positions, the page of the object is moved by reducing the size of the block of the reference character string in the reference character string. The layout may be configured so that only the block size of the reference character string is held at the size before the re-layout and the layout is performed again.

【0026】また、前記参照文字列のブロックの大きさ
を前記再レイアウトを行う前の大きさに保持して再度レ
イアウトを行うことで生じる文書中の空白を、前記オブ
ジェクトの前後または文書の段落が変わる箇所にレイア
ウトする手段を具備するように構成することができる。
[0026] Further, the size of the block of the reference character string is held at the size before the re-layout and the layout is performed again. It can be configured to have a means for laying out at a place where it changes.

【0027】[0027]

【発明の実施の形態】以下、この発明に係わる要素間参
照を利用したレイアウト処理方法および装置の一実施例
を添付図面を参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a layout processing method and apparatus utilizing inter-element reference according to the present invention will be described below in detail with reference to the accompanying drawings.

【0028】図1は、この発明に係わる要素間参照を利
用したレイアウト処理方法および装置の一実施例を示し
た図である。
FIG. 1 is a diagram showing an embodiment of a layout processing method and apparatus using inter-element reference according to the present invention.

【0029】また、図2乃至4は図1に示す実施例にお
けるレイアウト処理の流れを示したフローチャートであ
る。
FIGS. 2 to 4 are flow charts showing the flow of layout processing in the embodiment shown in FIG.

【0030】図1において、レイアウト処理装置10
は、キーボードまたはファイル等から必要なデータを得
る入力手段1、文書中に参照文字列を挿入する参照文字
列挿入手段2、磁気ディスクや光ディスク、磁気テー
プ、メモリ等の記憶装置3、入力されたデータを元に文
書のレイアウトを行うページレイアウト手段4、文書中
から参照オブジェクトの出現位置を取得する参照位置取
得手段5、参照文字列に示されるページ番号と参照オブ
ジェクトの出現するページとの一致を保証する番号正当
性保証手段6、レイアウトされた文書を画面表示や印刷
する表示手段7で構成される。
In FIG. 1, a layout processing device 10
Are input means 1 for obtaining necessary data from a keyboard or a file, etc .; reference character string inserting means 2 for inserting a reference character string into a document; a storage device 3 such as a magnetic disk, an optical disk, a magnetic tape, and a memory; Page layout means 4 for laying out a document based on data, reference position obtaining means 5 for obtaining the appearance position of a reference object from a document, and checking whether the page number indicated in the reference character string matches the page where the reference object appears. It comprises a number validity assurance means 6 for assuring, and a display means 7 for displaying or printing a laid out document on a screen.

【0031】ここで、図2に示すフローチャートを参照
してレイアウト処理の流れを説明する。
Here, the flow of the layout processing will be described with reference to the flowchart shown in FIG.

【0032】レイアウト処理が開始されると(ステップ
101)、入力手段1により文書データ等の必要なデー
タが入力される。参照文字列挿入手段2は、入力された
文書中の参照文字列の部分を空の文字列として文書中に
挿入する(ステップ102)。
When the layout process is started (step 101), necessary data such as document data is input by the input means 1. The reference character string insertion unit 2 inserts the reference character string portion in the input document into the document as an empty character string (step 102).

【0033】次に、ページレイアウト手段4により文書
のレイアウトが行われ、レイアウト結果を記憶装置3に
保存するとともに、空の文字列のブロックサイズを記憶
装置3に保存しておく(ステップ103)。
Next, the document is laid out by the page layout means 4, the layout result is stored in the storage device 3, and the block size of the empty character string is stored in the storage device 3 (step 103).

【0034】記憶装置3に保存されたレイアウト結果か
ら参照位置取得手段5が参照オブジェクトの出現位置を
取得するとともに、参照文字列挿入手段2により参照部
分の文字列が生成される(ステップ104)。
The reference position acquiring means 5 acquires the appearance position of the reference object from the layout result stored in the storage device 3, and the reference character string inserting means 2 generates the character string of the reference part (step 104).

【0035】参照部分の文字列が生成されるとページレ
イアウト手段4が再びレイアウトを行い(ステップ10
5)、再レイアウトの結果を番号正当性保証手段6で比
較し、参照文字列の示すページが参照オブジェクトが出
現するページと異なっていれば(ステップ106でN
O)、異なっていた文字列を再生成して(ステップ10
7)再レイアウト(ステップ105)以降を繰り返す。
When the character string of the reference portion is generated, the page layout means 4 performs layout again (step 10).
5) The result of the relayout is compared by the number validity assurance means 6, and if the page indicated by the reference character string is different from the page where the reference object appears (N in step 106)
O) Regenerate the different character string (step 10)
7) Repeat the layout (step 105) and subsequent steps.

【0036】再レイアウトの結果、参照文字列の示すペ
ージが参照オブジェクトが出現するページと等しくなれ
ば(ステップ106でYES)、レイアウト処理を終了
し(ステップ108)、レイアウト結果が表示手段7に
より、画面表示または印刷される。
As a result of the re-layout, if the page indicated by the reference character string is equal to the page where the reference object appears (YES in step 106), the layout processing is terminated (step 108), and the layout result is displayed by the display means 7. Displayed or printed on screen.

【0037】図3は、図2に示したステップ105にお
ける再レイアウト処理の流れを示したフローチャートで
ある。
FIG. 3 is a flowchart showing the flow of the relayout process in step 105 shown in FIG.

【0038】参照の番号を正当に表現するために、再レ
イアウトが開始されると(ステップ201)、最初に参
照文字列の部分のレイアウトが行われる(ステップ20
2)。このとき、参照文字列が示す番号は、前回のレイ
アウトの結果得られた参照オブジェクトが出現するペー
ジ番号である。
When the re-layout is started to properly represent the reference number (step 201), the reference character string is first laid out (step 20).
2). At this time, the number indicated by the reference character string is the page number where the reference object obtained as a result of the previous layout appears.

【0039】この再レイアウトの結果から、参照文字列
のブロックの大きさと前回レイアウトを行った時の参照
文字列の大きさを比較する(ステップ203、ステップ
204)。
From the result of the re-layout, the size of the block of the reference character string is compared with the size of the reference character string when the previous layout was performed (steps 203 and 204).

【0040】比較結果が等しければ(ステップ203で
NO、ステップ204でNO)、次の参照文字列の処理
を行う(ステップ206でYES)。
If the comparison results are equal (NO in step 203, NO in step 204), the processing of the next reference character string is performed (YES in step 206).

【0041】再レイアウトの結果、参照文字列のブロッ
クの大きさが前回レイアウトを行った時の参照文字列の
大きさよりも広がっていれば(ステップ203でNO、
ステップ204でYES)参照文字列挿入箇所以降のレ
イアウトを行って次の参照文字列の処理を行う(ステッ
プ206でYES)。
As a result of the re-layout, if the size of the block of the reference character string is larger than the size of the reference character string in the previous layout (NO in step 203,
(YES in step 204) The layout after the reference character string insertion position is performed, and the processing of the next reference character string is performed (YES in step 206).

【0042】また、再レイアウトの結果、参照文字列の
ブロックの大きさが前回レイアウトを行った時の参照文
字列の大きさよりも縮まっていれば(ステップ203で
YES)、後述する監視モードレイアウトを行い(ステ
ップ207)、監視モードレイアウトが正常に終了すれ
ば(ステップ208でYES)次の参照文字列の処理を
行い(ステップ206でYES)、監視モードレイアウ
トが異常終了すれば(ステップ208でNO)参照文字
列のブロックの大きさを前の大きさに戻し、参照文字列
挿入箇所以降のレイアウトを行って(ステップ209)
次の参照文字列の処理を行う(ステップ206でYE
S)。
As a result of the re-layout, if the size of the block of the reference character string is smaller than the size of the reference character string at the time of the previous layout (YES in step 203), the monitoring mode layout described later is changed. (Step 207), if the monitoring mode layout ends normally (YES in step 208), the process of the next reference character string is performed (YES in step 206), and if the monitoring mode layout ends abnormally (NO in step 208). ) The size of the block of the reference character string is returned to the previous size, and the layout after the reference character string insertion position is performed (step 209).
The next reference character string is processed (YE in step 206).
S).

【0043】全ての参照文字列に対して上述の処理が終
了すると(ステップ206でNO)、再レイアウト処理
を終了して図2のステップ106の処理に進む。
When the above processing is completed for all the reference character strings (NO in step 206), the relayout processing ends, and the flow proceeds to the processing in step 106 in FIG.

【0044】図4は、監視モードレイアウトの処理の流
れを示したフローチャートである。監視モードレイアウ
トが開始されると(ステップ301)、参照文字列の挿
入されている論理内容の次の論理内容をレイアウト対象
として(ステップ302)レイアウトを行う(ステップ
303)。
FIG. 4 is a flowchart showing the flow of the monitoring mode layout process. When the monitoring mode layout is started (Step 301), the layout is performed with the logical content next to the logical content in which the reference character string is inserted (Step 302) as the layout target (Step 303).

【0045】このレイアウト対象が参照オブジェクトで
あり(ステップ304でYES)、前回のレイアウト結
果と異なるページにレイアウトされた場合は(ステップ
307でNO)、監視モードレイアウトは異常終了とな
る(ステップ308)。
If the layout object is a reference object (YES in step 304) and the page is laid out on a page different from the previous layout result (NO in step 307), the monitoring mode layout ends abnormally (step 308). .

【0046】また、レイアウト対象が参照オブジェクト
であり(ステップ304でYES)、前回のレイアウト
結果と同じページにレイアウトされた場合と(ステップ
307でYES)、レイアウト対象が参照オブジェクト
でない(ステップ304でNO)場合には、全ての論理
内容に対し同様の処理を繰り返し(ステップ305でY
ES、ステップ302以降を繰り返し)、全ての論理内
容が終了すれば(ステップ305でNO)、監視モード
レイアウトは正常終了となる(ステップ306)。
Also, when the layout target is a reference object (YES in step 304) and the layout is laid out on the same page as the previous layout result (YES in step 307), the layout target is not a reference object (NO in step 304). ), The same processing is repeated for all logical contents (Y in step 305).
If all the logical contents are completed (ES, step 302 and subsequent steps) (NO in step 305), the monitoring mode layout ends normally (step 306).

【0047】図5および図6は、図1に示す実施例にお
けるレイアウト処理の処理結果の一例を示した図であ
り、図5は参照文字列が1箇所のみ挿入された場合、図
6は参照文字列が複数箇所挿入された場合のレイアウト
処理結果の一例を示した図である。
FIGS. 5 and 6 show examples of the processing results of the layout processing in the embodiment shown in FIG. 1. FIG. 5 shows a case where only one reference character string is inserted, and FIG. FIG. 11 is a diagram illustrating an example of a layout processing result when a character string is inserted at a plurality of positions.

【0048】図5において、ページ11−1乃至11−
4は最初のレイアウトが終了した状態を示し、参照文字
列「図1 ページ参照」がページ11−1(八十五ペー
ジ)に、参照オブジェクト「図1」がページ11−3
(九十九ページ)にレイアウトされている。
In FIG. 5, pages 11-1 to 11-
Reference numeral 4 denotes a state in which the first layout has been completed. The reference character string “see page 1” is on page 11-1 (page 85), and the reference object “FIG. 1” is on page 11-3.
(Page 99).

【0049】ページ12−1乃至12−4は参照オブジ
ェクト「図1」が“九十九ページ”にレイアウトされて
いることを考慮し、再度レイアウトを行った結果を示し
ており、ページ11−1の参照文字列「図1 ページ参
照」が「図1 九十九ページ参照」に置き換わってい
る。
Pages 12-1 to 12-4 show the result of the layout performed again in consideration of the fact that the reference object "FIG. 1" is laid out on "99th page". Has been replaced by "See Figure 1 on page 99".

【0050】ところが、ページ12−1では参照文字列
「図1 九十九ページ参照」が「図1 ページ参照」よ
りも長くなったためにページ12−1(八十五ペー
ジ)、ページ12−2(八十六ページ)に跨がってしま
い、その結果、参照オブジェクト「図1」がページ12
−4(百ページ)にレイアウトされてしまい参照文字列
のページ番号と参照オブジェクトの出現ページが異なっ
てしまう。
However, on page 12-1, the reference character string "see page 99 of FIG. 1" is longer than "see page 1 of FIG. 1," so that page 12-1 (page 85) and page 12-2 (86 pages), and as a result, the reference object “FIG.
-4 (hundred pages), the page number of the reference character string differs from the page where the reference object appears.

【0051】このため、再度レイアウトを行うとページ
13−1乃至13−4に示すように、参照文字列「図1
九十九ページ参照」が「図1 百ページ参照」に置き
換わり、参照文字列「図1 百ページ参照」は「図1
九十九ページ参照」よりも短くなる。
For this reason, when the layout is performed again, as shown in pages 13-1 to 13-4, the reference character string "FIG.
"See page 99" has been replaced by "See page 100 in Figure 1."
See page 99.

【0052】この短くなった参照文字列以降を通常にレ
イアウトすると、従来例で示したように、いつまでも参
照文字列のページ番号と参照オブジェクトの出現ページ
が異なったままとなる。
When the layout after the shortened reference character string is laid out normally, the page number of the reference character string and the appearance page of the reference object remain different forever as shown in the conventional example.

【0053】そのため、参照文字列のブロックの大きさ
は、ページ12−1および12−2の場合と同じ大きさ
のままページ13−1および13−2のようにレイアウ
トを行う。この場合、ページ13−2の上部の空白がな
いとレイアウトの決定ができないため、最悪の場合とし
て空白が残る。
Therefore, the layout of the blocks of the reference character string is performed like the pages 13-1 and 13-2 while maintaining the same size as the pages 12-1 and 12-2. In this case, the layout cannot be determined unless there is a blank at the top of the page 13-2, and a blank remains in the worst case.

【0054】しかし、この空白をページ13−4の図1
の上下や文書の段落の変わる箇所にバランス良く配置す
れば、自然な仕上がりの文書になるようにレイアウトす
ることができる。
However, this blank is shown in FIG.
By arranging the documents in a well-balanced manner at the top and bottom of the document and at the places where the paragraphs of the document change, the document can be laid out with a natural finish.

【0055】図6において、ページ21−1乃至21−
4は最初のレイアウトが終了した状態を示し、参照文字
列「図1 ページ参照」がページ21−1(八十五ペー
ジ)およびページ21−2(八十六ページ)に、参照オ
ブジェクト「図1」がページ21−3(九十九ページ)
にレイアウトされている。
In FIG. 6, pages 21-1 to 21-
4 shows a state in which the first layout has been completed, and the reference character string “see FIG. 1 page” is added to page 21-1 (page 85) and page 21-2 (page 86), and the reference object “FIG. On page 21-3 (page 99)
It is laid out.

【0056】ページ22−1乃至22−4は参照オブジ
ェクト「図1」が“九十九ページ”にレイアウトされて
いることを考慮し、再度レイアウトを行った結果を示し
ており、ページ21−1およびページ21−2の参照文
字列「図1 ページ参照」が「図1 九十九ページ参
照」に置き換わっている。
Pages 22-1 to 22-4 show the result of the layout performed again in consideration of the fact that the reference object "FIG. 1" is laid out on "99th page". And the reference character string “see FIG. 1 page” on page 21-2 has been replaced with “see FIG. 1 page 99”.

【0057】ところが、参照文字列「図1 九十九ペー
ジ参照」が「図1 ページ参照」よりも長くなったため
に、参照オブジェクト「図1」がページ22−4(百ペ
ージ)にレイアウトされてしまい参照文字列のページ番
号と参照オブジェクトの出現ページが異なってしまう。
However, since the reference character string "see page 99 in FIG. 1" is longer than "see page in FIG. 1," the reference object "FIG. 1" is laid out on page 22-4 (hundred pages). That is, the page number of the reference character string is different from the page where the reference object appears.

【0058】ここで、図5に示した例と同様にページ2
2−1および22−2の参照文字列のブロックの大きさ
を固定したまま、参照文字列「図1 九十九ページ参
照」を「図1 百ページ参照」に縮めると、ページ23
−1、23ー2の両者に空白ができてしまう。
Here, as in the example shown in FIG.
When the reference character string “see page 99 of FIG. 1” is reduced to “see page 100 of FIG. 1” while the size of the block of the reference character strings 2-1 and 22-2 is fixed, page 23
Both -1 and 23-2 are blank.

【0059】この例の場合、参照オブジェクト「図1」
がページ22−4(百ページ)にレイアウトされた原因
はページ22−1の参照文字列「図1 九十九ページ参
照」にあるので、ページ22−2の参照文字列のブロッ
クの大きさを縮めても、ページ24−4に示すように参
照オブジェクト「図1」の出現ページは変わらずに、空
白はページ24−1の1箇所のみとなる。
In the case of this example, the reference object “FIG. 1”
Is laid out on page 22-4 (hundred pages) because of the reference character string of page 22-1 (see FIG. 1, page 99), the size of the block of the reference character string on page 22-2 is changed. Even if the page is shrunk, the appearance page of the reference object “FIG. 1” does not change as shown in page 24-4, and there is only one blank space on page 24-1.

【0060】このように、複数の参照文字列があり、参
照文字列が短くなった場合に、無条件に参照文字列のブ
ロックの大きさを縮めると複数の空白ができてしまう
が、実際には1箇所のみ空白を作ることでレイアウトを
決定することができる。
As described above, when there are a plurality of reference character strings and the reference character strings are shortened, if the size of the block of the reference character strings is unconditionally reduced, a plurality of blanks are generated. Can determine the layout by making only one blank.

【0061】上述の実施例では、図についての要素間参
照を行い、参照オブジェクトは図を参照文字列は図の出
現するページを示しているが、この発明に係わる要素間
参照を利用したレイアウト処理方法および装置では、こ
の他に表や式、文字列等を含め、参照オブジェクトを任
意に指定することができる。
In the above-described embodiment, reference is made between elements in a figure, and a reference object refers to the figure. A character string indicates a page in which the figure appears. In the method and the apparatus, a reference object can be arbitrarily specified, including a table, an expression, a character string, and the like.

【0062】[0062]

【発明の効果】以上説明したようにこの発明によれば、
参照文字列のブロックの大きさを調整し、レイアウトを
繰り返すことで、参照文字列の示すページ番号と参照オ
ブジェクトの出現するページ番号との正当性を保証する
ので、利用者が参照文字列のチェックを行ったり、手動
でレイアウトを調整したりする必要がなくなる。
As described above, according to the present invention,
By adjusting the size of the block of the reference character string and repeating the layout, the validity of the page number indicated by the reference character string and the page number where the reference object appears is guaranteed, so that the user can check the reference character string. Or manually adjust the layout.

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

【図1】この発明に係わる要素間参照を利用したレイア
ウト処理方法および装置の一実施例を示した図。
FIG. 1 is a diagram showing an embodiment of a layout processing method and apparatus using inter-element reference according to the present invention.

【図2】図1に示す実施例におけるレイアウト処理の流
れを示したフローチャート。
FIG. 2 is a flowchart showing a flow of a layout process in the embodiment shown in FIG. 1;

【図3】再レイアウト処理の流れを示したフローチャー
ト。
FIG. 3 is a flowchart illustrating a flow of a relayout process.

【図4】監視モードレイアウトの処理の流れを示したフ
ローチャート。
FIG. 4 is a flowchart showing a flow of a monitoring mode layout process.

【図5】図1に示す実施例におけるレイアウト処理の処
理結果の一例を示した図。
FIG. 5 is a diagram showing an example of a processing result of a layout process in the embodiment shown in FIG. 1;

【図6】図1に示す実施例におけるレイアウト処理の処
理結果の一例を示した図。
FIG. 6 is a view showing an example of a processing result of a layout processing in the embodiment shown in FIG. 1;

【図7】従来のレイアウト参照を利用した文書レイアウ
ト結果の一例を示した図。
FIG. 7 is a diagram showing an example of a document layout result using a conventional layout reference.

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

1 入力手段 2 参照文字列挿入手段 3 記憶装置 4 ページレイアウト手段 5 参照位置取得手段 6 番号正当性保証手段 7 表示手段 10 レイアウト処理装置 DESCRIPTION OF SYMBOLS 1 Input means 2 Reference character string insertion means 3 Storage device 4 Page layout means 5 Reference position acquisition means 6 Number validity assurance means 7 Display means 10 Layout processing device

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 参照されるオブジェクトがレイアウトさ
れたページ番号に基づき参照文字列を生成する要素間参
照を利用したレイアウト処理方法において、 再レイアウトの結果、前記参照文字列のブロックの大き
さが縮むことで前記オブジェクトがレイアウトされるペ
ージが移動する場合に、 前記参照文字列のブロックの大きさを前記再レイアウト
を行う前の大きさに保持して再度レイアウトを行い、前
記参照文字列の示すページ番号と前記オブジェクトがレ
イアウトされたページ番号を一致させることを特徴とす
る要素間参照を利用したレイアウト処理方法。
1. A layout processing method using an inter-element reference for generating a reference character string based on a page number on which a referenced object is laid out, wherein the size of the block of the reference character string is reduced as a result of the re-layout. When the page on which the object is laid out is moved, the size of the block of the reference character string is held at the size before the re-layout is performed, and the layout is performed again. A layout processing method using inter-element reference, wherein a number is made to match a page number on which the object is laid out.
【請求項2】 前記参照文字列が複数箇所に挿入されて
いるときは、 該参照文字列の内、該参照文字列のブロックの大きさを
縮めることで、前記オブジェクトのページが移動する前
記参照文字列のブロック大きさのみを前記再レイアウト
を行う前の大きさに保持して再度レイアウトを行うこと
を特徴とする請求項1記載の要素間参照を利用したレイ
アウト処理方法。
2. When the reference character string is inserted at a plurality of positions, the size of a block of the reference character string in the reference character string is reduced to move the page of the object. 2. The layout processing method using inter-element reference according to claim 1, wherein the layout is performed again while holding only the block size of the character string at the size before the re-layout.
【請求項3】 前記参照文字列のブロックの大きさを前
記再レイアウトを行う前の大きさに保持して再度レイア
ウトを行うことで生じる文書中の空白は、 前記オブジェクトの前後または文書の段落が変わる箇所
にレイアウトされることを特徴とする請求項1記載の要
素間参照を利用したレイアウト処理方法。
3. A blank in a document generated by holding the size of the block of the reference character string at the size before the re-layout and performing the layout again, the space before and after the object or the paragraph of the document. 2. The layout processing method according to claim 1, wherein the layout is laid out at a change point.
【請求項4】 参照されるオブジェクトがレイアウトさ
れたページ番号に基づき参照文字列を生成する要素間参
照を利用したレイアウト処理装置において、 前記参照文字列のブロックの大きさを再レイアウトを行
う前の大きさに保持して再度レイアウトを行う手段と、
前記参照文字列の示すページ番号と前記オブジェクトが
レイアウトされたページ番号が一致することを保証する
手段を具備することを特徴とする要素間参照を利用した
レイアウト処理装置。
4. A layout processing apparatus utilizing inter-element reference for generating a reference character string based on a page number on which an object to be referred to is laid out, wherein the size of the block of the reference character string before re-layout is performed. Means for holding the size and performing the layout again,
A layout processing apparatus using inter-element reference, comprising: means for ensuring that a page number indicated by the reference character string matches a page number on which the object is laid out.
【請求項5】 前記参照文字列が複数箇所に挿入されて
いるときは、 該参照文字列の内、該参照文字列のブロックの大きさを
縮めることで、前記オブジェクトのページが移動する前
記参照文字列のブロック大きさのみを前記再レイアウト
を行う前の大きさに保持して再度レイアウトを行うこと
を特徴とする請求項4記載の要素間参照を利用したレイ
アウト処理装置。
5. When the reference character string is inserted at a plurality of positions, the size of a block of the reference character string in the reference character string is reduced to move the page of the object. 5. The layout processing apparatus using inter-element reference according to claim 4, wherein the layout is performed again while holding only the block size of the character string at the size before the re-layout.
【請求項6】 前記参照文字列のブロックの大きさを前
記再レイアウトを行う前の大きさに保持して再度レイア
ウトを行うことで生じる文書中の空白を、 前記オブジェクトの前後または文書の段落が変わる箇所
にレイアウトする手段を具備することを特徴とする請求
項4記載の要素間参照を利用したレイアウト処理装置。
6. A blank in a document generated by holding the size of the block of the reference character string at the size before the re-layout and performing the layout again, before and after the object or in a paragraph of the document. 5. The layout processing apparatus according to claim 4, further comprising: means for laying out at a change point.
JP27032596A 1996-10-11 1996-10-11 Layout processing method and apparatus using inter-element reference Expired - Fee Related JP4183774B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27032596A JP4183774B2 (en) 1996-10-11 1996-10-11 Layout processing method and apparatus using inter-element reference

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27032596A JP4183774B2 (en) 1996-10-11 1996-10-11 Layout processing method and apparatus using inter-element reference

Publications (2)

Publication Number Publication Date
JPH10116285A true JPH10116285A (en) 1998-05-06
JP4183774B2 JP4183774B2 (en) 2008-11-19

Family

ID=17484700

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27032596A Expired - Fee Related JP4183774B2 (en) 1996-10-11 1996-10-11 Layout processing method and apparatus using inter-element reference

Country Status (1)

Country Link
JP (1) JP4183774B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000172859A (en) * 1998-12-02 2000-06-23 Matsushita Electric Ind Co Ltd Multimedia title editing device, multimedia title editing method, and storage medium recording multimedia title editing program
CN100361068C (en) * 2005-01-27 2008-01-09 佳能株式会社 Information processing apparatus, control method therefor, and program
US7729540B2 (en) 2005-03-09 2010-06-01 Fuji Xerox Co., Ltd. Translation device, translation program, and translation method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000172859A (en) * 1998-12-02 2000-06-23 Matsushita Electric Ind Co Ltd Multimedia title editing device, multimedia title editing method, and storage medium recording multimedia title editing program
CN100361068C (en) * 2005-01-27 2008-01-09 佳能株式会社 Information processing apparatus, control method therefor, and program
US7729540B2 (en) 2005-03-09 2010-06-01 Fuji Xerox Co., Ltd. Translation device, translation program, and translation method

Also Published As

Publication number Publication date
JP4183774B2 (en) 2008-11-19

Similar Documents

Publication Publication Date Title
US7617450B2 (en) Method, system, and computer-readable medium for creating, inserting, and reusing document parts in an electronic document
US8091021B2 (en) Facilitating adaptive grid-based document layout
US7146564B2 (en) Extensible stylesheet designs using meta-tag and/or associated meta-tag information
US8495097B1 (en) Traversing a hierarchical layout template
EP1672519A2 (en) Method and Computer-Readable Medium for Generating a Multiple Column Layout
JP5252933B2 (en) Document processing apparatus, document processing method, and program
JP2005339566A (en) Method and system for mapping content between starting template and target template
US20140081904A1 (en) Systems And Methods Of Collaboration Comprising, Providing A Presentation Of An Underlying Image; Generating Annotation Data Representative Of Annotations Made By A Respective User, Generating Events Comprising Event Content, Then Defining A Selected Set Of Events, And Generating A Display Presentation Responsive To Processing Said Selected Set Of Events
US9372833B2 (en) Systems and methodologies for document processing and interacting with a user, providing storing of events representative of document edits relative to a document; selection of a selected set of document edits; generating presentation data responsive to said selected set of documents edits and the stored events; and providing a display presentation responsive to the presentation data
US9298675B2 (en) Smart document import
US20030222916A1 (en) Object-oriented processing of tab text
US20050132285A1 (en) System and method for generating webpages
Bodard EpiDoc: Epigraphic documents in XML for publication and interchange
US20140082472A1 (en) Systems And Methodologies For Event Processing Of Events For Edits Made Relative To A Presentation, Selecting A Selected Set Of Events; And Generating A Modified Presentation Of The Events In The Selected Set
US20140082464A1 (en) Multi-User Event Processing Systems And Methodologies
US20140082635A1 (en) Systems and methodologies for event processing for a plurality of users
US20140082463A1 (en) Multi-Event Processing Systems And Methodologies
US20060095838A1 (en) Object-oriented processing of tab text
JPH10116285A (en) Method and device for layout processing utilizing element-to-element reference
JP2006065467A5 (en)
CN116685973A (en) Unique content determination for structured format documents
JP2001256043A (en) Correction history managing method and correction history management system of program source
JP3115059B2 (en) Structured document editing method
CN112100977A (en) Window partial refreshing method, electronic device and storage medium
US20100162094A1 (en) Providing interactive forms in web application software

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041028

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041102

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060411

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060601

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060620

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060905

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061020

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080728

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080903

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110912

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120912

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120912

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130912

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees