JP2008021221A - Layout editing device, its control method and control program - Google Patents

Layout editing device, its control method and control program Download PDF

Info

Publication number
JP2008021221A
JP2008021221A JP2006194082A JP2006194082A JP2008021221A JP 2008021221 A JP2008021221 A JP 2008021221A JP 2006194082 A JP2006194082 A JP 2006194082A JP 2006194082 A JP2006194082 A JP 2006194082A JP 2008021221 A JP2008021221 A JP 2008021221A
Authority
JP
Japan
Prior art keywords
layout
static
dynamic
template
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
JP2006194082A
Other languages
Japanese (ja)
Inventor
Toshihiko Hosotsubo
利彦 細坪
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2006194082A priority Critical patent/JP2008021221A/en
Publication of JP2008021221A publication Critical patent/JP2008021221A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Processing Or Creating Images (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a layout editing device further localizing a change in a layout in executing an automatic layout. <P>SOLUTION: When a defective static object having a data overflow or the like is detected, a dynamic object associated with the static object and a dynamic object group associated with the dynamic object are retrieved. A static object group of a document template of a static layout edit layer associated with an individual dynamic object of the retrieved dynamic object group is retrieved. Then, a static layout result of the retrieved static object group is discarded, and variable data is supplied into the retrieved dynamic object group to perform a dynamic layout. Thereafter, a result of the dynamic layout is combined with the partially discarded static layout result. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、パーソナルコンピュータ等から成るレイアウト編集装置及びその制御方法、並びに前記制御方法を実行するための制御プログラムに関する。   The present invention relates to a layout editing apparatus including a personal computer, a control method thereof, and a control program for executing the control method.

最近では、DTP(デスク・トップ・パブリッシング)技術の進展とデジタル印刷装置の普及に伴って、文書を顧客毎にカスタマイズして出力するバリアブルプリントシステムが開発されている。そのため、顧客毎に異なる量のコンテンツを最適にレイアウトすることが求められている。   Recently, with the advancement of DTP (desk top publishing) technology and the spread of digital printing apparatuses, variable printing systems that customize and output documents for each customer have been developed. Therefore, it is required to optimally lay out different amounts of content for each customer.

従来、バリアブルプリントシステムは、テンプレートにあらかじめ配置されたコンテナ領域の中に、データベース等のデータからテキスト及びイメージ等のバリアブルデータを挿入してドキュメントのレイアウトを確定し、印刷を行う。その際、ドキュメント上に、コンテナ領域等によりレイアウトを作成し、データベースとレイアウトを関連付け、レイアウトの確定を達成していた。しかし、コンテナ領域のサイズが固定であったため、データベース内のデータがコンテナ領域に挿入されたとき(流し込まれたとき)に、データ量がコンテナ領域のサイズより多いとテキストのオーバーラップやイメージのクリッピング等の問題が発生した。また、データ量がコンテナ領域のサイズより少ないと隙間が空いてしまった。   2. Description of the Related Art Conventionally, a variable print system inserts variable data such as text and images from data such as a database into a container area arranged in advance in a template, determines the document layout, and performs printing. At that time, a layout is created on the document by a container area or the like, the database is associated with the layout, and the layout is confirmed. However, because the size of the container area is fixed, when data in the database is inserted into the container area (when it is inserted), if the amount of data is larger than the size of the container area, text overlap and image clipping Etc. occurred. Further, when the data amount is smaller than the size of the container area, a gap is left.

この問題を解決するために、自動レイアウトシステムが提案されている。自動レイアウトシステムは、テキスト及びイメージのコンテナ領域のサイズを可変に設定する(動的コンテナ領域として設定する)ことが可能である。この自動レイアウトシステムを実現しているソフトウェアは、コンテナ領域のサイズを可変とし、挿入されるデータ量に応じてコンテナ領域のサイズを変更する。しかし、この技術では、コンテナ領域のサイズが大きくなった場合、当該コンテナ領域が同ドキュメント上の他のコンテナ領域と重なってしまう問題が発生する。   In order to solve this problem, an automatic layout system has been proposed. The automatic layout system can variably set the size of the text and image container areas (set as a dynamic container area). Software realizing this automatic layout system changes the size of the container area according to the amount of data to be inserted, with the size of the container area being variable. However, with this technique, when the size of the container area increases, there arises a problem that the container area overlaps with other container areas on the same document.

また、テキストの場合において、固定のコンテナ領域内に入りきらないデータが挿入された場合、テキストのフォントサイズを縮小して、コンテナ領域内に全てのテキストを挿入する技術なども存在する。しかし、フォントサイズを調節する場合にテキストの量が大きいと、フォントサイズが小さくなり過ぎる問題が発生する。   In addition, in the case of text, when data that does not fit in a fixed container area is inserted, there is a technique for reducing the font size of the text and inserting all the text in the container area. However, if the amount of text is large when adjusting the font size, there is a problem that the font size becomes too small.

これらの問題を解決するための更なる自動レイアウトの技術としては、あるコンテナ領域のサイズが大きくなった場合に、隣接したコンテナ領域のサイズを小さくする技術が開示されている(例えば特許文献1参照)。
特開平7−129658号公報
As a further automatic layout technique for solving these problems, there is disclosed a technique for reducing the size of an adjacent container area when the size of a certain container area is increased (see, for example, Patent Document 1). ).
JP-A-7-129658

しかしながら、上述した従来の技術を利用する自動レイアウトシステムでは、次のような問題があった。   However, the automatic layout system using the above-described conventional technique has the following problems.

自動レイアウトシステムでは、自動レイアウト(動的レイアウト)を実行して、バリアブルデータのコンテンツサイズに応じて、コンテナ領域のサイズや位置を自動的に変更し、レイアウトを確定することができる。しかし、この自動レイアウトの実行時に、レイアウトの変化が大きくなり過ぎるという問題があった。例えば、可変エッジを持つコンテナ領域を関連付けると、関連付けられたコンテナ領域全てが自動レイアウトの実行対象となるため、例えば1つのコンテナサイズまたは位置の変更により、レイアウトが大きく変更されてしまうおそれがある。   In the automatic layout system, automatic layout (dynamic layout) is executed, and the size and position of the container area can be automatically changed according to the content size of the variable data to determine the layout. However, when this automatic layout is executed, there is a problem that the layout change becomes too large. For example, when a container area having a variable edge is associated, all the associated container areas are subjected to execution of automatic layout. For example, there is a possibility that the layout may be greatly changed by changing one container size or position.

したがって、自動レイアウトの実行時におけるレイアウトの変更を、より局所化することができるレイアウト編集装置が求められていた。   Therefore, there has been a demand for a layout editing apparatus that can localize a change in layout when executing automatic layout.

本発明は上記従来の問題点に鑑み、自動レイアウトの実行時におけるレイアウトの変更を、より局所化することができるレイアウト編集装置及びその制御方法、並びに制御プログラムを提供することを目的とする。   In view of the above-described conventional problems, an object of the present invention is to provide a layout editing apparatus, a control method thereof, and a control program that can localize a layout change at the time of execution of automatic layout.

本発明は上記目的を達成するため、レイアウトが固定された静的オブジェクトが配置される静的レイアウト編集レイヤと、レイアウトの変更が可能な動的オブジェクトが配置される動的レイアウト編集レイヤと、前記静的レイアウト編集レイヤと前記動的レイアウト編集レイヤにそれぞれ対応して設けられ、編集動作を行うための静的テンプレート及び動的テンプレートを有するレイアウト編集装置であって、前記静的または前記動的テンプレートを指定して、これらテンプレートにデータの流し込みを行うデータ流し込み手段と、前記データ流し込み手段によって前記静的テンプレートにデータの流し込みが行われた場合に、このデータの流し込みによって得られたレイアウト結果である静的オブジェクトに異常が発生しているか否かを検出する異常状態検出手段と、前記異常状態検出手段によって、異常が発生している静的オブジェクトを検出したときに、該静的オブジェクトに対応づけられている動的オブジェクト、及び該動的オブジェクトに関連付けられている前記動的テンプレート上の動的オブジェクト群を検索する動的オブジェクト群検索手段と、前記動的オブジェクト検索手段により検索された個々の動的オブジェクトに前記オブジェクト対応手段によって対応づけられている前記静的テンプレート上の個々の静的オブジェクトを検索する静的オブジェクト群検索手段と、前記静的オブジェクト検索手段により検索された静的オブジェクト群に対する前記データ流し込み手段によるレイアウト結果を、前記動的オブジェクト群検索手段により検索された動的オブジェクト群に対する前記自動レイアウト手段によるレイアウト結果に置き換えるレイアウト結果置き換え手段とを備えたことを特徴とする。   In order to achieve the above object, the present invention provides a static layout editing layer in which static objects having a fixed layout are arranged, a dynamic layout editing layer in which dynamic objects capable of changing the layout are arranged, A layout editing apparatus provided corresponding to each of a static layout editing layer and the dynamic layout editing layer and having a static template and a dynamic template for performing an editing operation, wherein the static or dynamic template Is a layout result obtained by the data flow when the data flow is performed to the static template by the data flow means and the data flow means for performing data flow to the template. Check whether an error has occurred in a static object An abnormal state detecting means that detects a static object in which an abnormality is detected by the abnormal state detecting means, and a dynamic object associated with the static object, and an association with the dynamic object A dynamic object group search unit that searches for a dynamic object group on the dynamic template that is stored, and an individual dynamic object searched by the dynamic object search unit is associated with the dynamic object group search unit. A static object group search means for searching for individual static objects on the static template, and a layout result by the data flow means for the static object group searched by the static object search means, Dynamic objects retrieved by group retrieval means Characterized in that by the automatic layout unit for preparative group and means replacement layout result to replace the layout result.

本発明によれば、データ溢れ等の異常が発生している静的オブジェクトを検出したときは、異常時対処処理として、動的オブジェクト群検索手段、静的オブジェクト群検索手段、及びレイアウト結果置き換え手段が実行される。これにより、自動レイアウト手段の実行時におけるレイアウトの変更を、より局所化することが可能になる。   According to the present invention, when a static object in which an abnormality such as data overflow has occurred is detected, a dynamic object group search unit, a static object group search unit, and a layout result replacement unit are used as a handling process for an abnormality. Is executed. As a result, the layout change at the time of execution of the automatic layout means can be made more localized.

また、データ溢れ等の異常が発生している静的オブジェクトを検出したときは、該静的オブジェクトに対して異常時対処属性が設定されている場合に限り、前記異常時対処処理を実行することができる。   In addition, when a static object in which an abnormality such as data overflow has occurred is detected, the abnormality handling process is executed only when the abnormality handling attribute is set for the static object. Can do.

以下、本発明の実施の形態について、図面を参照しながら説明する。
<システム構成図>
図1は、本発明の実施の一形態に係るレイアウト編集装置を含むコンピュータシステムを示すブロック図である。図2は、図1中のレイアウト編集装置の内部構成を示すブロック図である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<System configuration diagram>
FIG. 1 is a block diagram showing a computer system including a layout editing apparatus according to an embodiment of the present invention. FIG. 2 is a block diagram showing an internal configuration of the layout editing apparatus in FIG.

本実施の形態に係るレイアウト編集装置は、図1及び図2に示すホストコンピュータ101で構成されている。   The layout editing apparatus according to the present embodiment is configured by the host computer 101 shown in FIGS.

本実施の形態に係るレイアウト編集装置の処理プロセスは、ホストコンピュータ101内で実行され、図1のコンピュータシステム上で実施可能となるレイアウト編集アプリケーションプログラム121のようにソフトウェアの全体、或いは一部分で実行される。特に、本実施の形態に係るレイアウト編集や必然的に起こる印刷のステップはコンピュータ101によって実行されるソフトウェアの指示によって実施される。ソフトウェアは例えば図2に示すような記憶装置139を含むコンピュータの可読媒体に格納される。ソフトウェアはコンピュータの可読媒体からコンピュータ101にロードされ、コンピュータ101によって実行される。   The processing process of the layout editing apparatus according to the present embodiment is executed in the host computer 101 and executed by the whole or a part of software like the layout editing application program 121 that can be executed on the computer system of FIG. The In particular, layout editing according to the present embodiment and printing steps that occur inevitably are performed according to software instructions executed by the computer 101. The software is stored in a computer-readable medium including a storage device 139 as shown in FIG. The software is loaded into the computer 101 from a computer readable medium and executed by the computer 101.

ホストコンピュータ101はキーボード132やマウス133のようなポインティングデバイスなどの入力装置をつなぎ、ディスプレイ装置144や状況に応じてはローカルプリンタ145を含む出力装置を連結する。入力/出力インターフェース138はホストコンピュータ101をネットワーク接続107から接続してシステム100の他のコンピュータ装置につなげることができる。そのネットワーク接続107の典型はローカルエリアネットワーク(LAN)、或いはワイドエリアネットワーク(WAN)である。   The host computer 101 connects input devices such as a pointing device such as a keyboard 132 and a mouse 133, and connects a display device 144 and an output device including a local printer 145 depending on the situation. An input / output interface 138 can connect the host computer 101 from the network connection 107 and connect to other computer devices in the system 100. A typical network connection 107 is a local area network (LAN) or a wide area network (WAN).

コンピュータ101は、少なくとも1つのプロセッサユニット135と、例えば半導体のランダムアクセスメモリ(RAM)やリードオンリーメモリ(ROM)から構成されるメモリ136を有している。さらに、ビデオインターフェース137を含むINPUT/OUTPUT(I/O)インターフェース138や、キーボード132やマウス133のためのI/Oインターフェース143も備えている。記憶装置139は典型的にハードディスクドライブ140やフロッピー(登録商標)ディスクドライブ141を含んでいる。図には示されていないが磁気テープドライブも使用される可能性がある。   The computer 101 has at least one processor unit 135 and a memory 136 composed of, for example, a semiconductor random access memory (RAM) or a read only memory (ROM). Further, an INPUT / OUTPUT (I / O) interface 138 including a video interface 137 and an I / O interface 143 for the keyboard 132 and the mouse 133 are also provided. The storage device 139 typically includes a hard disk drive 140 and a floppy (registered trademark) disk drive 141. Although not shown in the figure, a magnetic tape drive may also be used.

CD−ROMドライブ142は不揮発性のデータソースとして提供される。コンピュータ101は、相互接続バス134を介して通信を行うコンピュータ101のコンポーネント135からI/Oインターフェース143を利用する。   The CD-ROM drive 142 is provided as a nonvolatile data source. The computer 101 uses the I / O interface 143 from the component 135 of the computer 101 that performs communication via the interconnection bus 134.

レイアウト編集アプリケーションプログラム121は、典型的にハードディスクドライブ140に常駐し、プロセッサ135により実行、読み込み、コントロールされる。プログラム121の媒介記憶装置とネットワーク1020からフェッチされるデータは、ハードディスクドライブ140に呼応してメモリ136に記憶される。また、アプリケーションプログラム121がCD−ROMやフロッピー(登録商標)ディスク上でエンコードされ、対応するドライブ142や141を通じて読み込まれユーザに提供される。或いはもう一つの方法としてアプリケーションプログラム121はネットワーク接続107からユーザによって読み込まれても構わない。   The layout editing application program 121 typically resides in the hard disk drive 140 and is executed, read and controlled by the processor 135. Data fetched from the media storage device of the program 121 and the network 1020 is stored in the memory 136 in response to the hard disk drive 140. The application program 121 is encoded on a CD-ROM or floppy (registered trademark) disk, read through the corresponding drive 142 or 141, and provided to the user. Alternatively, the application program 121 may be read by the user from the network connection 107 as another method.

さらに、ソフトウェアは他の適当な大きさのコンピュータ可読媒体からホストコンピュータ101内にロードされる可能性もある。例えば、磁気テープ、集積回路、光磁気ディスク、無線または赤外線通信、PCMCIAカードのようなコンピュータ可読カード、または、Eメール通信やWEBサイト上の記録情報を持つインターネットやイントラネットなどである。前述は単に関連するコンピュータ可読メディアの模範である。他のコンピュータ可読媒体も使用される可能性はある。   Further, the software may be loaded into the host computer 101 from other suitable sized computer readable media. For example, a magnetic tape, an integrated circuit, a magneto-optical disk, wireless or infrared communication, a computer-readable card such as a PCMCIA card, or the Internet or an intranet having recorded information on e-mail communication or a WEB site. The foregoing is merely an example of related computer readable media. Other computer readable media may also be used.

また、レイアウト編集アプリケーション121はバリアブルデータ印刷(VDP)を行うよう指示可能であり、2つのソフトウェアコンポーネントを含んでいる。1つ目のコンポーネントはレイアウトエンジン105であり、これは長方形の範囲内で与えられた制限やサイズによって矩形と線の位置を計算するためのソフトウェアコンポーネントである。2つ目のコンポーネントであるユーザインターフェース103はユーザにドキュメントテンプレートを作成させ、ドキュメントテンプレート内でデータソースと関連付けるメカニズムを提供する。   The layout editing application 121 can be instructed to perform variable data printing (VDP), and includes two software components. The first component is a layout engine 105, which is a software component for calculating the positions of rectangles and lines according to restrictions and sizes given within the rectangle. The second component, the user interface 103, provides a mechanism for allowing a user to create a document template and associate it with a data source within the document template.

ユーザインターフェース103とレイアウトエンジン105はコミュニケーションチャネル123を介して通信する。ドキュメント生成のためのデータソースは一般的にデータベースアプリケーションを動かしている他のコンピュータによって構成されたデータベースサーバ117上にある典型的なデータベース119である。ホストコンピュータ101はネットワーク接続107によってデータベースサーバ117と通信する。レイアウト編集アプリケーション121はホストコンピュータ101か一般的に他のコンピュータで構成されるファイルサーバ115に保存されるドキュメントテンプレートを生成する。   The user interface 103 and the layout engine 105 communicate via a communication channel 123. The data source for document generation is a typical database 119 residing on a database server 117 that is typically configured by another computer running a database application. Host computer 101 communicates with database server 117 via network connection 107. The layout editing application 121 generates a document template stored in a file server 115 configured by the host computer 101 or generally another computer.

また、レイアウト編集アプリケーション121はデータとマージされたドキュメントテンプレートによって構成されたドキュメントを生成する。これらのドキュメントはホストコンピュータ101のローカルファイルシステムに保存されるか、ファイルサーバ115に保存されるか、或いはプリンタ113に直接印刷される。プリントサーバ109は直接ネットワークにつながっていないプリンタにネットワーク機能を提供するコンピュータである。プリントサーバ109とプリンタ113は典型的な通信チャネル111を介して接続される。   In addition, the layout editing application 121 generates a document configured by a document template merged with data. These documents are stored in the local file system of the host computer 101, stored in the file server 115, or printed directly on the printer 113. The print server 109 is a computer that provides a network function to a printer that is not directly connected to the network. The print server 109 and the printer 113 are connected via a typical communication channel 111.

また、図1に示すようにエンジンサーバ227が接続されていても良い。   In addition, an engine server 227 may be connected as shown in FIG.

エンジンサーバ227は典型的なコンピュータである。ファイルサーバ115に保存されたドキュメントテンプレートは印刷や他の目的がある際、レイアウトエンジン225によってドキュメントを生成するためにデータベース119に保存されたデータと結合することができる。そのようなオペレーションはユーザインターフェース103を介して要求されるか、特定のレコードのみ印刷するように要求される。   The engine server 227 is a typical computer. The document template stored in the file server 115 can be combined with data stored in the database 119 to generate a document by the layout engine 225 when printing or for other purposes. Such an operation is requested via the user interface 103 or only certain records are required to be printed.

<動的レイアウト編集装置のアプリケーションの構成>
以下、ホストコンピュータ101上において、レイアウトの変更が可能な動的オブジェクトを編集する機能(以下、動的レイアウト編集装置と記す)について、図3〜図12を参照しつつ説明する。
<Application configuration of dynamic layout editing device>
Hereinafter, a function for editing a dynamic object whose layout can be changed on the host computer 101 (hereinafter referred to as a dynamic layout editing apparatus) will be described with reference to FIGS.

(A)メインウィンドウ
図3は、本実施の形態のホストコンピュータ101で使用するアプリケーションのメインウィンドウを示す画面図である。
(A) Main Window FIG. 3 is a screen diagram showing a main window of an application used in the host computer 101 of this embodiment.

ウィンドウ301は、非表示にすることやスクリーン上の色々な場所に移動することが可能なメニューバー302とツールバー303が配置される。そして、マウス133の位置・動作によって場所を移動可能なワークエリア306とオプションのパレット311とカーソル/ポインタデバイス313から特徴づけされる。   In the window 301, a menu bar 302 and a tool bar 303 that can be hidden or moved to various places on the screen are arranged. It is characterized by a work area 306 that can be moved by the position / operation of the mouse 133, an optional palette 311, and a cursor / pointer device 313.

メニューバー302は、周知の技術として知られているように、メニューオプションの階層の下に拡張される多くのメニューアイテム304を持つ。ツールバー303は、アプリケーションの特別なモードによって非表示にする、または表示することが可能な多くのツールボタンとウィジット305を持つ。オプションのルーラー308はワークエリア内のポインタ、ページ、ライン、マージンガイド、コンテナ領域またはオブジェクトの位置を示すために使われる。   The menu bar 302 has a number of menu items 304 that extend below the menu options hierarchy, as is known in the art. The toolbar 303 has a number of tool buttons and widgets 305 that can be hidden or displayed depending on the particular mode of the application. An optional ruler 308 is used to indicate the position of a pointer, page, line, margin guide, container area or object within the work area.

パレット311はバリアブルデータライブラリのような追加機能にアクセスするために使われる。パレット311は移動、リサイズ、クローズをするためのウィンドウコントロール312を持つ。   The palette 311 is used to access additional functions such as a variable data library. The palette 311 has a window control 312 for moving, resizing, and closing.

図4は、本実施の形態に係るアプリケーションウィンドウ301上に表示されるコンテナ領域の表示例を示す画面図である。同図に示す画面は、コンテナ領域間のリンク、アンカーやスライダーを持つコンテナ領域の一面をスクリーン、ツール、アイコンで示している。   FIG. 4 is a screen diagram showing a display example of the container area displayed on the application window 301 according to the present embodiment. The screen shown in the figure shows a link between container areas, one side of a container area having anchors and sliders, with a screen, a tool, and an icon.

また、図4に示す画面は、1ページのドキュメントテンプレート309上に表示することが可能なオブジェクトの例である。それらは、複数のコンテナ領域407、408と、任意に適用するアンカーアイコン409と固定されていない辺410、リンク412そしてスライダー413を持つ。   Also, the screen shown in FIG. 4 is an example of an object that can be displayed on the document template 309 of one page. They have a plurality of container areas 407, 408, an anchor icon 409 to be applied arbitrarily, an unfixed side 410, a link 412, and a slider 413.

ツールバーエリア303は、図4に示すように、ユーザ選択可能なボタンを持つ。即ち、選択ツールボタン403、テキストコンテナ領域ツールボタン404、イメージコンテナ領域ツールボタン405、及びリンクツールボタン406が配置されている。   The toolbar area 303 has buttons that can be selected by the user as shown in FIG. That is, a selection tool button 403, a text container area tool button 404, an image container area tool button 405, and a link tool button 406 are arranged.

選択ツールボタン403は、コンテナ領域の辺を選択、移動、サイズ変更、リサイズそしてロック・ロック解除するために使われる。コンテナ領域は、(複数)コンテナ領域の周りに選択ボックスをドラッグする、或いは複数コンテナ領域を選択する間にCTRLキーを押しつづけることによって、複数選択を可能にする。   The selection tool button 403 is used to select, move, resize, resize, and lock / unlock the sides of the container area. Container areas allow multiple selection by dragging a selection box around the (multiple) container areas, or by holding down the CTRL key while selecting multiple container areas.

イメージコンテナ領域ツールボタン405は、イメージデータを流し込むためのコンテナ領域を作成するために使われる。テキストコンテナ領域ツールボタン404は、テキストデータを流し込むためのコンテナ領域を作成するために使われる。また、リンクツールボタン406は、複数のコンテナを関連付け、コンテナ領域間の距離をコントロールするリンクを作成するために使われる。   An image container area tool button 405 is used to create a container area for flowing image data. A text container area tool button 404 is used to create a container area for flowing text data. The link tool button 406 is used to create a link that associates a plurality of containers and controls the distance between the container areas.

ワークエリア306はドキュメントテンプレート309のデザインを表示・編集するために使われる。これはユーザに下準備で印刷されたドキュメントの概観をデザインすること、そしてマージされたドキュメントが、バリアブルデータの量・サイズに基づいてどのように変化するかを示すことができる。   A work area 306 is used to display / edit the design of the document template 309. This allows the user to design an overview of the pre-printed document and show how the merged document changes based on the amount and size of variable data.

ワークエリア306はスクロールバー307とオプションのルーラー308とドキュメントテンプレート309に特徴付けられる。それぞれのドキュメントでの実際のページ数は、バリアブルデータによって変化する。もし1ページ内にコンテンツデータを配置できない場合、追加のページは自動的に作成される。それぞれのページ内の境界線は、ページ上の印刷可能なオブジェクトの最大幅を示す、ページマージンガイド310である。   The work area 306 is characterized by a scroll bar 307, an optional ruler 308, and a document template 309. The actual number of pages in each document varies depending on the variable data. If the content data cannot be arranged in one page, an additional page is automatically created. The border within each page is a page margin guide 310 that indicates the maximum width of a printable object on the page.

(B)コンテナ領域
コンテナ領域は、ドキュメントテンプレート309内の固定(静的)或いは可変(バリアブル)テキスト・イメージを流し込むための領域である。コンテナ領域はマウス133動作でポインタ313を使い、ユーザインターフェースで示されるように移動、サイズ調整そして再作成される。そして、コンテナ領域には様々な設定情報が設定される。
(B) Container area The container area is an area for inserting a fixed (static) or variable (variable) text image in the document template 309. The container area is moved, resized and recreated as shown in the user interface using the pointer 313 with mouse 133 movement. Various setting information is set in the container area.

コンテナ領域には、入力されるコンテンツデータによって、サイズまたは位置が変更される可変属性や、サイズおよび位置が変更しない固定属性を設定できる。   In the container area, a variable attribute whose size or position is changed according to input content data and a fixed attribute whose size and position are not changed can be set.

さらに、コンテナ領域はユーザインターフェースを持つ、例えばコンテナ領域の編集そして表示設定のためのインタラクティブなGUIを持つ。インターフェースの要素は典型的にスクリーン144上に表示される、しかしドキュメントには印刷されない。ユーザインターフェース103は、背景色やフォントのようなコンテナ領域の装飾機能のいくつかを表示する、そしてコンテナ領域の設定の編集や表示を許すための機能を追加する。   Further, the container area has a user interface, for example, an interactive GUI for editing and display setting of the container area. Interface elements are typically displayed on the screen 144 but not printed on the document. The user interface 103 displays some of the container area decoration functions such as background color and font, and adds a function for allowing editing and display of the container area settings.

ユーザインターフェース機能の特別な目的の例としては、ボーダー、角アイコン、或いは上塗りした数、線、アイコン、テキストがある。角アイコンは、コンテナ領域のサイズや位置を対話的に変更、表示するためのアイコンである。また、上塗りした数、線、アイコン、テキストは、コンテナ領域がデータソースからデータをマージされたとき、コンテナ領域の動作を示すためのものである。   Examples of special purposes for user interface functions include borders, corner icons, or overcoated numbers, lines, icons, and text. The corner icon is an icon for interactively changing and displaying the size and position of the container area. Also, the number of overcoats, lines, icons, and text are for indicating the operation of the container area when the container area is merged with data from the data source.

図4で参照されるように、新規テキストコンテナ領域は、テキストコンテナ領域ツール404をマウス133でクリックし、テンプレート309に四角形をドラッグすることによって、ドキュメントテンプレート309上に作成される。イメージコンテナ領域もイメージコンテナ領域ツール405を使用して同様に作成される。   As shown in FIG. 4, a new text container area is created on the document template 309 by clicking the text container area tool 404 with the mouse 133 and dragging a rectangle to the template 309. An image container area is similarly created using the image container area tool 405.

代わりにコンテナ領域は、適切なツール404、405をアクティブにした後に、ドキュメントテンプレート309上でクリックすることによって作成される。コンテナには、辺ごとに可変属性または固定属性を設定することができる。例えば、図4では、辺410と下辺が可変設定されており、コンテナ407よりも大きいサイズのコンテンツが入力された場合、右方向または下方向にサイズ変更されることが示されている。なお、コンテナサイズに最大値、最小値を設定し、設定された値を範囲として自動レイアウトできるようにしても構わない。   Instead, the container area is created by clicking on the document template 309 after activating the appropriate tool 404, 405. A variable attribute or a fixed attribute can be set for each side of the container. For example, FIG. 4 shows that the side 410 and the lower side are variably set, and when content having a size larger than the container 407 is input, the size is changed to the right or downward. Note that a maximum value and a minimum value may be set for the container size so that automatic layout can be performed using the set value as a range.

(D)リンク
リンクは、コンテナ領域とコンテナ領域の関連を示している。関連とはコンテナ領域間の距離を示しており、リンクによって関連付けられたコンテナ領域同士は、互いのレイアウト変更の影響を受けてレイアウトを計算する。図4の412で示されているものがリンクであり、この図ではコンテナ領域407と408とを関連付けている。リンクの設定方法及び、リンクで関連付けられたコンテナ領域の動的レイアウト計算方法については、後述する。
(D) Link The link indicates the relationship between the container area and the container area. The association indicates the distance between the container areas, and the container areas associated by the link are affected by the mutual layout change and the layout is calculated. What is indicated by reference numeral 412 in FIG. 4 is a link. In this figure, container areas 407 and 408 are associated with each other. A link setting method and a dynamic layout calculation method for container areas associated with the link will be described later.

まず、リンクの設定方法について説明する。リンクを設定するためのコンテナ領域(最低2つ)を作成する。図4の例では、コンテナ407と408が相当する。次に、前述したリンクツール406を選択した状態にする。 まず、リンクを設定する片方のコンテナ領域をクリックして選択する。次に関連付けたいコンテナ領域までマウスポインタを移動して、クリックする。その結果、選択されたコンテナ間が関連付けられたことを示すリンクが設定され、表示される。   First, a link setting method will be described. Create container areas (at least two) for setting links. In the example of FIG. 4, containers 407 and 408 correspond. Next, the above-described link tool 406 is selected. First, click on one container area to set the link to select it. Then move the mouse pointer to the container area you want to associate and click. As a result, a link indicating that the selected containers are associated is set and displayed.

(F)動的レイアウト計算方法(全体フロー)
図5は、本実施の形態に係る動的レイアウト計算のフロー図を示している。
(F) Dynamic layout calculation method (overall flow)
FIG. 5 shows a flowchart of the dynamic layout calculation according to the present embodiment.

まず、レイアウト編集アプリケーション121は、プレビューモードを選択する(S801)。前述した自動レイアウトシステムでは、レイアウトモードとプレビューモードとに分けられる。レイアウトモードは、コンテナ領域を作成して、そのコンテナ領域間に関連付けを行うモードである。プレビューモードは、レイアウトを作成すると、作成したレイアウトにレコードを挿入して、実際にレコードが挿入された後のレイアウト結果をプレビューするモードである。   First, the layout editing application 121 selects a preview mode (S801). The automatic layout system described above can be divided into a layout mode and a preview mode. The layout mode is a mode in which container areas are created and associated with each other. In the preview mode, when a layout is created, a record is inserted into the created layout, and a layout result after the record is actually inserted is previewed.

プレビューモードにおいて、実際のレコードが挿入され、レイアウトを計算する。但し、プレビューモードは、表示上でのレイアウト計算である。実際に印刷する場合においても、レコードを挿入してレイアウトを計算する。その際の計算方法も同じである。   In preview mode, the actual record is inserted and the layout is calculated. However, the preview mode is a layout calculation on the display. Even in actual printing, a record is inserted to calculate the layout. The calculation method at that time is the same.

プレビューモードになったら、レイアウト編集アプリケーション121は、プレビューするレコードを選択して挿入し、そのレコードをレイアウトするために計算を行う。(S803)。レイアウト編集アプリケーション121は、処理S803で計算されたレイアウトを表示して(S804)、他のレコードについてもプレビューを行うかどうかを判断する(S805)。   When the preview mode is entered, the layout editing application 121 selects and inserts a record to be previewed, and performs calculations to lay out the record. (S803). The layout editing application 121 displays the layout calculated in step S803 (S804), and determines whether to preview other records (S805).

処理S805で、他のレコードについてプレビューを行う必要がないと判断した場合、レイアウト編集アプリケーション121は、プレビューモードを終了する(S807)。他のレコードについてプレビューを行うのであれば、レイアウト編集アプリケーション121は、他のレコードを選択して再度レイアウト計算を行い、プレビューを行う(S806)。プレビューモードでなく印刷時においては、印刷するレコード全てについて順にレイアウトの計算を行う。したがって、処理S805、S807は存在しない。全てのレコードについて印刷が終了した時点で終了する。   If it is determined in step S805 that there is no need to preview another record, the layout editing application 121 ends the preview mode (S807). If a preview is to be performed for another record, the layout editing application 121 selects another record, performs layout calculation again, and performs a preview (S806). When printing not in the preview mode, the layout is calculated in order for all the records to be printed. Therefore, the processes S805 and S807 do not exist. The process ends when printing is completed for all records.

(G)動的レイアウト計算方法(詳細フロー)
図6は、動的レイアウト計算の詳細を示したフロー図である。図7は、本実施の形態に係るレイアウト計算時におけるコンテナ領域の集合に関する説明図である。
(G) Dynamic layout calculation method (detailed flow)
FIG. 6 is a flowchart showing details of the dynamic layout calculation. FIG. 7 is an explanatory diagram relating to a set of container areas at the time of layout calculation according to the present embodiment.

まず、レイアウト編集アプリケーション121は、レイアウトを計算するコンテナ領域の集合を求める(S901)。レイアウト計算は、関連付けられたコンテナ領域を1つの集合として計算を行う。例えば図11を参照すると、ページ上に4つのコンテナ領域がレイアウトされており、各コンテナ領域に関連付けが設定されている。この場合、コンテナ領域Aとコンテナ領域B、そしてコンテナ領域Cとコンテナ領域Dがリンクによって関連付けされている。したがって、コンテナ領域A・Bが集合1、コンテナ領域C・Dが集合2となる。   First, the layout editing application 121 obtains a set of container areas for calculating a layout (S901). In the layout calculation, the associated container areas are calculated as one set. For example, referring to FIG. 11, four container areas are laid out on the page, and an association is set for each container area. In this case, the container area A and the container area B, and the container area C and the container area D are associated by a link. Accordingly, the container areas A and B are set 1 and the container areas C and D are set 2.

前述した通りであるが、1101はアンカー、1102は固定された辺、1103はコントローラー、1104は可変の辺の変化方向を示している矢印、1105は可変の辺、1106はリンク、そして1107はスライダーを示している。   As described above, 1101 is an anchor, 1102 is a fixed side, 1103 is a controller, 1104 is an arrow indicating a change direction of a variable side, 1105 is a variable side, 1106 is a link, and 1107 is a slider. Is shown.

次に、レイアウト編集アプリケーション121は、S901で求めたコンテナ領域の集合から、レイアウトを計算するために1つを選択して(S902)、選択したコンテナ領域の集合についてレイアウトの計算を行う。ここでは、レイアウトされるコンテナ領域のサイズが、実際のコンテンツのサイズとできる限り差が少なくなるように、レイアウト編集アプリケーション121は、レイアウトの最適化を行う(S903)。レイアウトの最適化は、動的にサイズを変化することが可能なように関連付けられたコンテナ領域において、それぞれに挿入されるコンテンツのサイズとレイアウトされるサイズとの差が、できる限り同じになるように行われる。レイアウトの最適化を行い、ルールに違反していた場合、レイアウト編集アプリケーション121は、再度ルールを違反しないように計算をする(S904)。   Next, the layout editing application 121 selects one in order to calculate the layout from the set of container areas obtained in S901 (S902), and calculates the layout for the selected set of container areas. Here, the layout editing application 121 optimizes the layout so that the size of the container area to be laid out is as small as possible with the actual content size (S903). Layout optimization is such that the difference between the size of the inserted content and the size of the layout is the same as much as possible in the associated container area so that the size can be changed dynamically. To be done. If the layout is optimized and the rule is violated, the layout editing application 121 calculates again so as not to violate the rule (S904).

ここで記述したルールには、ユーザ指定ルールとシステムルールがあり、ユーザ指定ルールというのは、レイアウト作成時にユーザによって設定される制限であり、コンテナ領域のサイズと位置、リンクの長さなどである。また、システムルールというのは、自動レイアウトシステムによってあらかじめ設定される制限であり、「コンテナ領域はページのマージンガイドからはみ出してレイアウトすることができない」などである。   The rules described here include user-specified rules and system rules. User-specified rules are restrictions set by the user when creating a layout, such as the size and position of a container area, the length of a link, etc. . The system rule is a restriction set in advance by the automatic layout system, such as “the container area cannot be laid out beyond the margin guide of the page”.

ルールを違反しないようにレイアウトが計算されたら、その集合のレイアウトは完成される。そして、S902〜S904のステップをページ上の全ての集合について施し、レイアウト編集アプリケーション121は、ページ全体のレイアウトを計算する(S905)。   Once the layout is calculated so that it does not violate the rules, the set layout is completed. Then, the steps S902 to S904 are performed on all the sets on the page, and the layout editing application 121 calculates the layout of the entire page (S905).

図8(a),(b),(c)は、動的レイアウト計算時のUI表示例を示した図である。   FIGS. 8A, 8B, and 8C are diagrams showing examples of UI display during dynamic layout calculation.

図8(a)は、あるレコードが挿入されレイアウトが決定されている状態を表している。1001と1002はアンカー、1003と1004は固定された辺、1005は可変の辺、1006は可変の辺の変化方向を示している矢印、1008はリンクをそれぞれ示している。この状態において、レコードを変更し、異なったサイズのコンテンツを挿入する。   FIG. 8A shows a state in which a certain record is inserted and a layout is determined. 1001 and 1002 are anchors, 1003 and 1004 are fixed sides, 1005 is a variable side, 1006 is an arrow indicating the change direction of the variable side, and 1008 is a link. In this state, the record is changed and contents of different sizes are inserted.

図8(b)は図8(a)の状態に新しいコンテンツのサイズを重ねて示している。1009はそれぞれのコンテナ領域に挿入されるコンテンツのサイズを表している。そして、レイアウト計算が行われる。図8(c)はレイアウト計算された結果を示している。計算後の各コンテナ領域のサイズは、実際挿入されるコンテンツのサイズと同等に差異があるように計算され、且つ前述したルールを違反しないように計算される。図8(c)で示されるように、図8(b)で示した挿入されるコンテンツサイズ(1009)と計算後のコンテンツサイズ(1010)は、双方において同等な差異がある。   FIG. 8B shows the new content size superimposed on the state of FIG. Reference numeral 1009 denotes the size of content inserted in each container area. Then, layout calculation is performed. FIG. 8C shows the result of layout calculation. The size of each container area after calculation is calculated so that there is a difference equivalent to the size of the content that is actually inserted, and is calculated so as not to violate the rules described above. As shown in FIG. 8C, the inserted content size (1009) shown in FIG. 8B and the calculated content size (1010) have the same difference in both.

(H)可変リンクの設定
図9は、リンクの情報をセットするためのダイアログウィンドウ1401の例を示す画面図である。
(H) Setting of Variable Link FIG. 9 is a screen diagram showing an example of a dialog window 1401 for setting link information.

このダイアログは典型的にタイトルバー1402、ツールボタン1403、ダイアログウィンドウの開閉を行うボタン1404、各種の情報をセットするエリア1409で構成されている。このダイアログウィンドウではリンクタイプが可変(1407)或いは固定(1406)の選択や、可変の場合、リンクの長さの最小値(1410)そして最大値(1412)、また現在の値(1411)が設定できる。   This dialog typically includes a title bar 1402, a tool button 1403, a button 1404 for opening / closing the dialog window, and an area 1409 for setting various information. In this dialog window, the link type can be selected as variable (1407) or fixed (1406), and when it is variable, the minimum value (1410) and maximum value (1412) of the link length and the current value (1411) are set. it can.

図10は、リンク設定に関するフローチャートである。即ち、前述のリンク設定方法を踏まえ、例えば後述する図11のコンテナ領域Aとコンテナ領域B間に張られている固定サイズのリンク1503の状態から可変サイズのリンク1603を設定するまでの操作遷移を表している。   FIG. 10 is a flowchart regarding link setting. That is, based on the above link setting method, for example, the operation transition from the state of the fixed size link 1503 stretched between the container area A and the container area B in FIG. 11 to be described later until the variable size link 1603 is set. Represents.

レイアウト編集アプリケーション121は、マウスの指示に基づいてリンク1503を選択する(S1302)。レイアウト編集アプリケーション121は、マウスの右クリック或いはキーボードの特定のキーにより選択したリンク1503のプロパティダイアログウィンドウ1401を表示する(S1303)。この状態ではリンクサイズは可変ではなく固定であるため、Fixed Length1406がLink Type1405において選択されている。リンクを固定サイズから可変サイズに変更するために、レイアウト編集アプリケーション121は、Link Type1405においてリンクサイズを可変に設定するFlexibleLength1407を選択する(S1304)。これによりLink Distance1408内に配置されているMax.Distance1412、Min.Distance1410、Distance1411が有効化され、数値の設定が可能となる。そこで、レイアウト編集アプリケーション121は、リンクの長さの最大値をMax. Distance1412、最小値をMin.Distance1410、現在の値をDistance1411に設定する(S1305)。一般的なダイアログウィンドウ開閉ボタン1404によって設定を適用すると図12のリンク1603のような状態にリンクのUI表示が変化する(S1306)。このダイアログウィンドウ1401の設定情報はメモリに格納される。   The layout editing application 121 selects the link 1503 based on the mouse instruction (S1302). The layout editing application 121 displays the property dialog window 1401 of the link 1503 selected by right-clicking the mouse or a specific key on the keyboard (S1303). In this state, since the link size is not variable but fixed, Fixed Length 1406 is selected in Link Type 1405. In order to change the link from the fixed size to the variable size, the layout editing application 121 selects the FlexibleLength 1407 that sets the link size to be variable in the Link Type 1405 (S1304). As a result, the Max. Distance 1412, Min. The distance 1410 and the distance 1411 are activated, and numerical values can be set. Therefore, the layout editing application 121 sets the maximum value of the link length to Max. Distance 1412, the minimum value is Min. Distance 1410, the current value is set to Distance 1411 (S1305). When the setting is applied by a general dialog window open / close button 1404, the link UI display changes to a state like the link 1603 in FIG. 12 (S1306). The setting information of the dialog window 1401 is stored in the memory.

図11は、固定サイズのリンクを使用した場合のレイアウト結果を示す画面図である。   FIG. 11 is a screen diagram showing a layout result when a fixed-size link is used.

レイアウト計算方法は前述した通りに従って行われる。例えば図11において各コンテナ領域にデータが挿入された時、それぞれのコンテナ領域は、データの大きさを最適と考えた場合には次のように変更される。即ち、コンテナ領域1501は、挿入されたイメージサイズになる枠1504(最適コンテナ領域サイズ)に近づこうと右方向へ大きくサイズを変更しようとする。同様にコンテナ領域1502も挿入されたイメージサイズになる枠1505(最適コンテナ領域サイズ)に近づこうと左方向へやや大きくサイズを変更しようとする。   The layout calculation method is performed as described above. For example, when data is inserted into each container area in FIG. 11, each container area is changed as follows when the data size is considered optimal. That is, the size of the container area 1501 is greatly changed in the right direction so as to approach the frame 1504 (optimum container area size) that becomes the inserted image size. Similarly, the size of the container area 1502 is slightly increased in the left direction so as to approach the frame 1505 (optimum container area size) having the inserted image size.

しかし、コンテナ領域間には固定サイズのリンク1503が設定されているとすると、コンテナ領域1501とコンテナ領域1502はそれぞれ、アンカーが設定されているため移動できない。そのため、変更しようとするサイズがリンクサイズを上回ってしまう。そして、このリンクサイズは固定されているためレイアウト計算時に優先的に計算されるので、コンテンツデータ(1504、1505)に合わせた最適なサイズを確保することができない。その結果、最終的に図11のコンテナ領域1501とコンテナ領域1502のように最適なサイズ(枠1504、枠1505)よりも小さくなってしまう。リンク1503のサイズは固定であるためコンテナ領域1501とコンテナ領域1502は最適サイズを達成していない。   However, if a fixed-size link 1503 is set between the container areas, the container area 1501 and the container area 1502 cannot move because anchors are set. For this reason, the size to be changed exceeds the link size. Since this link size is fixed, it is preferentially calculated at the time of layout calculation, so that it is not possible to ensure an optimum size according to the content data (1504, 1505). As a result, the final size (frame 1504, frame 1505) becomes smaller as in the container area 1501 and the container area 1502 in FIG. Since the size of the link 1503 is fixed, the container area 1501 and the container area 1502 do not achieve the optimum size.

図12は、本実施の形態に係る可変リンクによるレイアウト結果を示す画面図であり、リンクを可変サイズにした場合を示している。   FIG. 12 is a screen diagram showing a layout result by the variable link according to the present embodiment, and shows a case where the link has a variable size.

この場合、上記の例でコンテナ領域間には図12の通り可変サイズのリンク1603が設定されているとすると、各コンテナ領域のサイズが変更される際に、リンクサイズが縮まることで各コンテナ領域のサイズが図11の例より大きくなる。よって、挿入されるデータサイズに合わせた最適なサイズを達成、或いはより挿入データサイズ(最適サイズ)に近づけてコンテナ領域の枠を計算することができる。その結果が、図12のコンテナ領域1601とコンテナ領域1602である。   In this case, assuming that variable size links 1603 are set between the container areas in the above example as shown in FIG. 12, when the size of each container area is changed, the link size is reduced, so that each container area Is larger than the example of FIG. Therefore, it is possible to achieve the optimum size according to the data size to be inserted, or to calculate the frame of the container area closer to the insertion data size (optimum size). The result is a container area 1601 and a container area 1602 in FIG.

可変リンクはレイアウト計算の結果、可変リンク1603のサイズ状態となり、この場合コンテナ領域1601とコンテナ領域1602はそれぞれ最適なサイズ(データサイズに合った大きさ)になっている。   As a result of layout calculation, the variable link becomes the size state of the variable link 1603. In this case, the container area 1601 and the container area 1602 are respectively optimal sizes (sizes suitable for the data size).

<静的レイアウト編集装置のアプリケーションの構成>
以下、ホストコンピュータ101上において、レイアウトが固定された静的オブジェクトを編集する静的レイアウトモードについて説明する。
<Application configuration of static layout editing device>
Hereinafter, a static layout mode for editing a static object having a fixed layout on the host computer 101 will be described.

図13は、本実施の形態に係る静的レイアウトモードが選択された場合に表示される内容を示した図である。   FIG. 13 is a diagram showing the contents displayed when the static layout mode according to the present embodiment is selected.

静的レイアウトモードが選択された場合、レイアウト編集アプリケーション121は、図13に示すように、静的レイアウト編集レイヤ1811としてレイヤ1を生成する。さらに、レイアウト編集アプリケーション121は、図14に示すように動的レイアウト編集レイヤ1911としてレイヤ2を生成する。なお、静的レイアウト編集レイヤを表示するか動的レイアウト編集レイヤを表示するかは、タブ「レイヤ1」または「レイヤ2」を選択することによって切り替えられる。   When the static layout mode is selected, the layout editing application 121 generates layer 1 as the static layout editing layer 1811 as shown in FIG. Furthermore, the layout editing application 121 generates layer 2 as the dynamic layout editing layer 1911 as shown in FIG. Whether to display the static layout editing layer or the dynamic layout editing layer can be switched by selecting the tab “Layer 1” or “Layer 2”.

なお、前記静的レイアウト編集レイヤでは、静的オブジェクト(固定オブジェクト)のみが配置可能である。静的オブジェクトとは、直線や多角形などのベクター図形に加え、バリアブルデータによりコンテンツを流し込むことのできる、位置及びサイズが固定のテキストコンテナ領域及びイメージコンテナ領域である。また、前記動的レイアウト編集レイヤでは、前記静的オブジェクトに加え、動的オブジェクト(可変オブジェクト)が配置可能である。動的オブジェクトとは、バリアブルデータのコンテンツサイズにより、または、リンクによって関連付けられた他のオブジェクトからの影響により、そのサイズや位置が変更されるテキストコンテナ領域及びイメージコンテナ領域を指す。前記静的オブジェクトは、他の動的オブジェクトとリンクされ関連付けが行われると、動的オブジェクトとなる。   In the static layout editing layer, only static objects (fixed objects) can be arranged. A static object is a text container area and an image container area whose positions and sizes are fixed and into which content can be poured by variable data in addition to vector graphics such as lines and polygons. In the dynamic layout editing layer, a dynamic object (variable object) can be arranged in addition to the static object. A dynamic object refers to a text container area and an image container area whose size and position are changed by the content size of variable data or by the influence from other objects associated by a link. The static object becomes a dynamic object when linked to and associated with another dynamic object.

また、図14に示すように、レイヤ2の動的レイアウト編集レイヤ1911には、レイヤ1のコピーであるドキュメントテンプレートと、そのドキュメントテンプレート1912上の静的オブジェクト1921〜1928が、初期状態では、生成される。また、動的レイアウト編集レイヤ1911では、動的レイアウト編集装置特有のオブジェクト可変設定UIが提供される。そのため、ツールバーエリア1903には、リンク作成用のリンクツールボタンが存在し、コンテナ領域の辺を可変に設定する機能も存在する。   Further, as shown in FIG. 14, in the dynamic layout editing layer 1911 of layer 2, a document template that is a copy of layer 1 and static objects 1921 to 1928 on the document template 1912 are generated in the initial state. Is done. The dynamic layout editing layer 1911 provides an object variable setting UI unique to the dynamic layout editing apparatus. Therefore, the tool bar area 1903 has a link tool button for creating a link, and also has a function of variably setting the sides of the container area.

図15は、本実施の形態に係る動的レイアウト編集レイヤの動的設定後の状態を示す図である。即ち、図14に配置された静的オブジェクト1921〜1928に、ユーザがリンクツールを用いてリンク設定と、コンテナ領域の辺の可変設定を施した状態を示している。静的オブジェクトであるコンテナ領域1921、1922、1923〜1928の辺の一部が可変に変更され、動的オブジェクト2021、2022、2023〜2028となっている。また、リンク2031〜2035が作成されている。   FIG. 15 is a diagram showing a state after dynamic setting of the dynamic layout editing layer according to the present embodiment. That is, a state in which the user performs link setting and variable setting of the sides of the container area using the link tool on the static objects 1921 to 1928 arranged in FIG. Some of the sides of the container areas 1921, 1922, 1923-1928 which are static objects are variably changed to become dynamic objects 2021, 2022, 2023-2028. In addition, links 2031 to 2035 are created.

このように、本アプリケーションは、静的レイアウト編集装置に動的レイアウト編集装置を組み込んだものである。そして、静的レイアウト編集レイヤと動的レイアウト編集レイヤの2つの編集レイヤ、及び個々の編集レイヤに対応した2つのドキュメントテンプレートを有するレイアウト編集装置として構成される。   As described above, this application is obtained by incorporating a dynamic layout editing apparatus into a static layout editing apparatus. The layout editing apparatus includes two editing layers, a static layout editing layer and a dynamic layout editing layer, and two document templates corresponding to the individual editing layers.

<テンプレート編集のレイヤ間での同期>
続いて、レイヤ間のテンプレートの編集における処理について説明する。まず、静的レイヤが表示されている状態について説明する。
<Synchronization between layers of template editing>
Next, processing for editing templates between layers will be described. First, the state where the static layer is displayed will be described.

静的レイアウト編集レイヤでの編集時、静的レイアウト編集レイヤのテンプレートに新しく配置された静的オブジェクトは、動的レイアウト編集レイヤのテンプレートにも、位置、サイズが同じ静的オブジェクトとして配置される。また、静的レイアウト編集レイヤでの編集時、静的オブジェクトに位置/サイズ変更が加えられた際、その静的オブジェクトに対応する動的レイアウト編集レイヤ側のオブジェクトにも、その位置/サイズ変更が反映される。   When editing in the static layout editing layer, a static object newly arranged in the template of the static layout editing layer is arranged as a static object having the same position and size in the template of the dynamic layout editing layer. In addition, when a position / size change is made to a static object during editing in the static layout edit layer, the position / size change is also made to the object on the dynamic layout edit layer side corresponding to the static object. Reflected.

一方、動的レイアウト編集レイヤでの編集時、動的レイアウト編集レイヤのテンプレートに新しく配置された動的オブジェクトは、静的レイアウト編集レイヤのテンプレートに、位置、サイズが同じ静的オブジェクトに変換され配置される。また、動的レイアウト編集レイヤでの編集時、オブジェクトに位置/サイズ変更が加えられた際、オブジェクトに対応する静的レイアウト編集レイヤ側のオブジェクトにも、その位置/サイズ変更が反映される。   On the other hand, when editing in the dynamic layout editing layer, newly placed dynamic objects in the dynamic layout editing layer template are converted to static objects with the same position and size in the static layout editing layer template. Is done. Further, when a position / size change is applied to an object during editing in the dynamic layout editing layer, the position / size change is reflected to the object on the static layout editing layer side corresponding to the object.

なお、動的レイアウト編集レイヤにおいて、コンテナ領域の、固定オブジェクトから可変オブジェクトへの変更は、後述するデータ溢れ時属性(異常時対処属性)の設定の可/不可以外、静的レイアウト編集レイヤには影響を及ぼさない。コンテナ領域に対するリンク設定なども同様である。本実施の形態においてデータ溢れ時属性とは、「データ溢れが発生した際に動的レイアウトを行う」属性である。   In the dynamic layout editing layer, the change of the container area from the fixed object to the variable object can be changed in the static layout editing layer except for the setting of the data overflow attribute (abnormality handling attribute) described later. Has no effect. The same applies to the link setting for the container area. In this embodiment, the data overflow attribute is an attribute of “performing dynamic layout when data overflow occurs”.

また、現在表示されている編集レイヤにおいて、オブジェクトが削除された場合、そのオブジェクトに対応する異なる編集レイヤ側のオブジェクトも、同じく削除される。   In addition, when an object is deleted in the currently displayed editing layer, the objects on the different editing layer side corresponding to the object are also deleted.

上記のように、本アプリケーションは、静的レイアウト編集レイヤのオブジェクトと動的レイアウト編集レイヤのオブジェクトを1対1で対応させ、また、一方のレイヤでの編集動作を他方のレイヤにも反映させ、編集結果をレイヤ間で同期させる。   As described above, this application makes one-to-one correspondence between the objects of the static layout editing layer and the objects of the dynamic layout editing layer, and reflects the editing operation in one layer also in the other layer. Synchronize editing results between layers.

<データ溢れ時属性(異常時対処属性)の設定>
図16は、本実施の形態に係るデータ溢れ時属性、つまり「データ溢れが発生した際に動的レイアウトを行う」属性の設定方法を示すUIに関する説明図である。
<Setting of data overflow attribute (error handling attribute)>
FIG. 16 is an explanatory diagram relating to a UI showing a method for setting a data overflow attribute according to the present embodiment, that is, a “perform dynamic layout when data overflow occurs” attribute.

図16中の2701は静的レイアウト編集レイヤであるレイヤ1のドキュメントテンプレート、2702は動的レイアウト編集レイヤであるレイヤ2のドキュメントテンプレートである。2703は静的レイアウト編集レイヤのドキュメントテンプレート2701に配置されたオブジェクト(静的オブジェクト)である。   In FIG. 16, reference numeral 2701 denotes a layer 1 document template which is a static layout editing layer, and 2702 denotes a layer 2 document template which is a dynamic layout editing layer. Reference numeral 2703 denotes an object (static object) arranged in the document template 2701 of the static layout editing layer.

2704は動的レイアウト編集レイヤのドキュメントテンプレート2702に配置された動的オブジェクトである。2705はオブジェクト2703のコンテナ領域の属性、つまりデータ溢れ時属性の設定ダイアログであり、2706はその設定をオン/オフするチェックボックスである。なお、設定ダイアログ2705を介して設定された内容は、メモリ部136に保存される。   Reference numeral 2704 denotes a dynamic object arranged in the document template 2702 of the dynamic layout editing layer. Reference numeral 2705 denotes a setting dialog for an attribute of the container area of the object 2703, that is, an attribute when data overflows. Reference numeral 2706 denotes a check box for turning on / off the setting. Note that the content set via the setting dialog 2705 is stored in the memory unit 136.

図17は、本実施の形態に係るデータ溢れ時属性の設定方法を示すフローチャートである。   FIG. 17 is a flowchart showing a data overflow attribute setting method according to the present embodiment.

この設定方法は、レイアウト編集アプリケーションプログラム121に従ってプロセッサ135により実行される。以下、この設定方法の動作フローを図16と共に説明する。   This setting method is executed by the processor 135 according to the layout editing application program 121. Hereinafter, an operation flow of this setting method will be described with reference to FIG.

ユーザによる、キーボード132やマウス133を用いたメニューアイテム1704への操作や、ポインタ313によるコンテナ領域上での右クリックでコンテナ領域に対する処理メニューの呼び出し指示がなされる。この処理に従い、レイアウト編集アプリケーション121は、コンテナメニューが呼び出されたと判定する(S2801―Yes)。プログラム121は、該操作が静的レイアウト編集レイヤ2701で行われたかを判定する(S2802)。ここで、該操作が静的レイアウト編集レイヤであると判定した場合(S2802―Yes)、該操作対象となった静的オブジェクト2703に対応する動的レイアウト編集レイヤ側のオブジェクトが、動的オブジェクトであるかを判別する(S2803)。該動的レイアウト編集レイヤ側のオブジェクトが動的オブジェクト2704である場合、プログラム121は、オブジェクト2703のコンテナ領域に対する処理メニューに、データ溢れ時属性設定メニュー項目を追加し、表示する(S2804)。   An instruction to call a processing menu for the container area is made by a user's operation on the menu item 1704 using the keyboard 132 or the mouse 133 or by right-clicking on the container area with the pointer 313. According to this processing, the layout editing application 121 determines that the container menu has been called (S2801-Yes). The program 121 determines whether the operation has been performed on the static layout editing layer 2701 (S2802). If it is determined that the operation is a static layout editing layer (S2802-Yes), the dynamic layout editing layer side object corresponding to the static object 2703 that is the operation target is a dynamic object. It is determined whether or not there is (S2803). If the object on the dynamic layout editing layer side is the dynamic object 2704, the program 121 adds the data overflow attribute setting menu item to the processing menu for the container area of the object 2703 and displays it (S2804).

該処理メニューで、データ溢れ時属性設定メニュー項目が選択されたと判定した場合(S2805―Yes)、レイアウト編集アプリケーション121は、データ溢れ時属性設定ダイアログ2705を表示する(S2806)。   If it is determined that the data overflow attribute setting menu item has been selected in the processing menu (S2805-Yes), the layout editing application 121 displays a data overflow attribute setting dialog 2705 (S2806).

該ダイアログ2705のチェックボックス2706がオンに設定された場合(S2807)、該操作の対象となった静的オブジェクト2703にデータ溢れ時属性を設定して(S2808)、処理を終了する。   If the check box 2706 of the dialog 2705 is set to ON (S2807), a data overflow attribute is set to the static object 2703 that is the target of the operation (S2808), and the process ends.

また、前記S2807で、チェックボックス2706がオフに設定された場合、該操作の対象となった静的オブジェクト2703のデータ溢れ時属性を解除して(S2809)、処理を終了する。   If the check box 2706 is set to OFF in S2807, the data overflow attribute of the static object 2703 that is the target of the operation is canceled (S2809), and the process ends.

なお、上記S2802で、該操作が動的レイアウト編集レイヤ2701で行われた際には、プログラム121は、本設定とは無関係な他の動作(S2810)である、レイアウト編集レイヤ用の通常のコンテナ領域メニューを表示し、処理を終了する。   When the operation is performed in the dynamic layout editing layer 2701 in S2802, the program 121 performs another operation (S2810) unrelated to this setting, which is a normal container for the layout editing layer. The area menu is displayed and the process is terminated.

また、S2803で、該操作の対象となった静的オブジェクト2703に対応する動的レイアウト編集レイヤ側のオブジェクトが静的オブジェクトである場合、本設定とは無関係な他の動作(S2810)を実行する。具体的には、レイアウト編集アプリケーション121は、静的レイアウト編集レイヤ用の通常メニューを表示し、処理を終了する。   In S2803, if the dynamic layout editing layer side object corresponding to the static object 2703 that is the target of the operation is a static object, another operation (S2810) unrelated to this setting is executed. . Specifically, the layout editing application 121 displays a normal menu for the static layout editing layer and ends the process.

また、同様に、上記S2805で、該処理メニューで、データ溢れ時属性設定メニュー項目が、ユーザによって選択されなかった場合には、本設定とは無関係な他の動作(S2810)を行い、処理を終了する。   Similarly, in S2805, when the data overflow attribute setting menu item is not selected by the user in the processing menu, another operation (S2810) unrelated to this setting is performed to perform the processing. finish.

上記のように、本アプリケーションは、静的レイアウト編集レイヤのオブジェクトが、動的レイアウト編集レイヤの動的オブジェクトと1対1対応している場合、データ溢れ時属性を、静的レイアウト編集レイヤ側のオブジェクトに設定可能となっている。例えば、図13の静的レイアウト編集レイヤ1811と対応する図15の動的レイアウト編集レイヤ2011に対して上記を当てはめてみる。図13のテンプレート1812上の静的オブジェクトであるコンテナ領域1821〜1828と対応する図15のオブジェクトにおいて動的オブジェクトは、1821、1822、1824〜1828である。したがって、これらに対してのみ、データ溢れ時属性の設定が可能となっている。   As described above, when the static layout editing layer object has a one-to-one correspondence with the dynamic layout editing layer dynamic object, the data overflow attribute is assigned to the static layout editing layer side. The object can be set. For example, the above is applied to the dynamic layout editing layer 2011 in FIG. 15 corresponding to the static layout editing layer 1811 in FIG. In the objects in FIG. 15 corresponding to the container areas 1821 to 1828 which are static objects on the template 1812 in FIG. 13, the dynamic objects are 1821, 1822 and 1824 to 1828. Therefore, the data overflow attribute can be set only for these.

以下、図13の静的オブジェクト1828にのみ、コンテナ領域属性として、データ溢れ時属性が設定されているものとして、本実施の形態の説明を続ける。   Hereinafter, the description of the present embodiment will be continued assuming that only the static object 1828 of FIG. 13 has the data overflow attribute set as the container area attribute.

<レイアウト時の動作フロー>
図18は、レイアウト編集アプリケーション121のレイアウト時の動作フローを示すフローチャートである。
<Operation flow during layout>
FIG. 18 is a flowchart showing an operation flow during layout of the layout editing application 121.

ユーザによる、キーボード132やマウス133のポインタ313によるメニューアイテム1804への操作により、レイアウト編集アプリケーション121は、バリアブルデータの流し込みが指示されたか否かを判定する(S2901)。   The layout editing application 121 determines whether or not a variable data flow is instructed by a user's operation on the menu item 1804 using the keyboard 132 or the pointer 313 of the mouse 133 (S2901).

静的レイアウト編集レイヤ1811のテンプレート1812へバリアブルデータを流し込む場合(S2902)、レイアウト編集アプリケーション121は、静的レイアウト編集レイヤ1811のテンプレート1812を使って、レイアウトを行う(S2903)。   When variable data is flowed into the template 1812 of the static layout editing layer 1811 (S2902), the layout editing application 121 performs layout using the template 1812 of the static layout editing layer 1811 (S2903).

また、該指示が、静的レイアウト編集レイヤ1811のテンプレート1812へのデータの流し込み指示ではなく、動的レイアウト編集レイヤ2011(レイヤ2)のテンプレートへのデータの流し込み指示である場合(S2902)、次のような処理を行う。レイアウト編集アプリケーション121は、動的レイアウト編集レイヤ2011のドキュメントテンプレートを使って動的レイアウトを行い(S2904)、そして、メモリ136上の該レイアウト結果をワークエリア2006に表示する(S2915)。   When the instruction is not an instruction to flow data into the template 1812 of the static layout editing layer 1811 but an instruction to flow data into the template of the dynamic layout editing layer 2011 (layer 2) (S2902), Perform the following process. The layout editing application 121 performs dynamic layout using the document template of the dynamic layout editing layer 2011 (S2904), and displays the layout result on the memory 136 in the work area 2006 (S2915).

S2903における静的レイアウト後、該テンプレート1812に、図17の動作フローによって設定されるデータ溢れ時属性が、設定されているコンテナ領域が含まれているかどうかを調べる(S2905)。そして、該当するコンテナ領域が存在する場合(S2905―Yes)、次のような処理を行う。レイアウト編集アプリケーション121は、該コンテナ領域1828がテキストコンテナ領域であれば該コンテナ領域にデータ溢れによるテキストのクリッピングやオーバーラップが発生していないかを調べる。またイメージコンテナ領域であればデータ溢れによるイメージのクリッピングが発生していないかを調べる(S2906)。   After the static layout in S2903, it is checked whether the template 1812 includes a container area in which the data overflow attribute set by the operation flow of FIG. 17 is set (S2905). If the corresponding container area exists (S2905—Yes), the following processing is performed. If the container area 1828 is a text container area, the layout editing application 121 checks whether or not text clipping or overlap has occurred in the container area. If it is an image container area, it is checked whether or not image clipping due to data overflow has occurred (S2906).

そして、該コンテナ領域1828にデータ溢れが発生している場合、プログラム121は、部分動的レイアウトグループの空リストをメモリ136に作成する(S2907)。そして、レイアウト編集アプリケーション121は、コンテナ領域1828に対応する動的レイアウト編集レイヤ2011のドキュメントテンプレート上のコンテナ領域2028を該部分動的レイアウトグループのリスト項目に追加する(S2908)。   If data overflow has occurred in the container area 1828, the program 121 creates an empty list of partial dynamic layout groups in the memory 136 (S2907). The layout editing application 121 adds the container area 2028 on the document template of the dynamic layout editing layer 2011 corresponding to the container area 1828 to the list item of the partial dynamic layout group (S2908).

更にプログラム121は、動的レイアウト編集レイヤ2011のドキュメントテンプレート上に、前記コンテナ領域2028とリンクにより関連付けられているコンテナ領域が存在しないかどうかを調べる(S2909)。関連付けられたコンテナ領域が存在する場合には、次のような処理を行う。レイアウト編集アプリケーション121は、その関連付けをリンク2035、2034、2032及び2033と辿って、該コンテナ領域2028と関連を持つコンテナ領域群を前記部分動的レイアウトグループのリスト項目として追加する(S2910)。具体的には、2027、2025、2024及び2026が追加される。   Further, the program 121 checks whether there is a container area associated with the container area 2028 by a link on the document template of the dynamic layout editing layer 2011 (S2909). If the associated container area exists, the following processing is performed. The layout editing application 121 traces the association with the links 2035, 2034, 2032 and 2033, and adds a container area group associated with the container area 2028 as a list item of the partial dynamic layout group (S2910). Specifically, 2027, 2025, 2024 and 2026 are added.

その後、プログラム121は、部分動的レイアウトグループに含まれるコンテナ領域群に対応する静的レイアウト編集レイヤ側のコンテナ領域群1824〜1828に関して、そのコンテナ領域群に流し込まれたデータをメモリ136に保持する(S2911)。   Thereafter, the program 121 holds, in the memory 136, the data poured into the container area group regarding the container area groups 1824 to 1828 on the static layout editing layer side corresponding to the container area group included in the partial dynamic layout group. (S2911).

また、前記S2903によりメモリ136に保持されている(静的)レイアウト結果から、コンテナ領域群1824〜1828のレイアウト結果を削除する(S2912)。そして、該コンテナ領域群に対応する動的レイアウト編集レイヤ側のコンテナ領域群2024〜2028に、前記S2911により、メモリ136に保持されたバリアブルデータを流し込み、メモリ136上で動的レイアウトを行う(S2913)。   Further, the layout results of the container area groups 1824 to 1828 are deleted from the (static) layout results held in the memory 136 by S2903 (S2912). Then, the variable data held in the memory 136 is poured into the container area group 2024 to 2028 on the dynamic layout editing layer side corresponding to the container area group by the S2911, and the dynamic layout is performed on the memory 136 (S2913). ).

その後、該コンテナ領域群2024〜2028の動的レイアウト結果を、コンテナ領域群1824〜1828のレイアウト結果が削除された、メモリ136内のレイアウト結果にマージする(S2914)。そして、該全体レイアウト結果をワークエリア1806に
表示する(S2915)。
Thereafter, the dynamic layout results of the container area groups 2024 to 2028 are merged with the layout results in the memory 136 from which the layout results of the container area groups 1824 to 1828 have been deleted (S2914). Then, the overall layout result is displayed in the work area 1806 (S2915).

前記S2905において、静的レイアウト編集レイヤ1811のテンプレート1812にデータ溢れ時属性が設定されているコンテナ領域が含まれていない場合、プログラム121は、通常のレイアウト結果をワークエリア1806に表示する(S2915)。また、前記S2906において、データ溢れが発生したコンテナ領域がない場合も同様である。通常のレイアウト結果を表示後、処理を終了する。   In S2905, when the template area 1811 of the static layout editing layer 1811 does not include the container area for which the data overflow attribute is set, the program 121 displays the normal layout result in the work area 1806 (S2915). . The same applies to the case where there is no container area where data overflow has occurred in S2906. After displaying the normal layout result, the process is terminated.

<プレビュー画面>
図19は、本実施の形態に係る静的レイアウト結果のプレビュー画面を示す図であり、図13に示したレイアウトにバリアブルデータを流し込んだ際のプレビュー画面を示している。図20は、本実施の形態に係る動的レイアウト結果のプレビュー画面を示す図であり、図15に示した動的レイアウト編集レイヤのレイアウトに、図19と同じバリアブルデータを流し込んだ際のプレビュー画面を示している。
<Preview screen>
FIG. 19 is a diagram showing a preview screen of the static layout result according to the present embodiment, and shows a preview screen when variable data is poured into the layout shown in FIG. 20 is a diagram showing a preview screen of the dynamic layout result according to the present embodiment. The preview screen when the same variable data as in FIG. 19 is poured into the layout of the dynamic layout editing layer shown in FIG. Is shown.

既知の技術である図19の静的レイアウト編集装置のプレビューにおいては、3028に示すように、コンテナ領域1828に一部のデータが入りきらず、データがクリッピングされる。   In the preview of the static layout editing apparatus of FIG. 19 which is a known technique, as shown by 3028, some data does not enter the container area 1828, and the data is clipped.

同様なバリアブルデータを、本実施の形態のレイアウト編集装置の動的レイアウト編集レイヤのレイアウトに流し込んだ際には、図15において可変設定されているコンテナ領域2021、2022、2024〜2028全てが動的レイアウトの対象となる。そして、自動レイアウトの結果、図20に示すように、元のレイアウトとは異なるレイアウトとなる。図19の静的レイアウトのプレビューで示したようなデータ溢れは、コンテナ領域2028の動的レイアウト結果である3128に示すように、発生していない。この図20のレイアウト結果は、既知の技術である動的レイアウトを用いたレイアウト結果と全く同様である。   When similar variable data is poured into the layout of the dynamic layout editing layer of the layout editing apparatus of the present embodiment, all of the container areas 2021, 2022, and 2024 to 2028 that are variably set in FIG. Target of layout. As a result of the automatic layout, a layout different from the original layout is obtained as shown in FIG. The data overflow as shown in the static layout preview of FIG. 19 does not occur as indicated by 3128 which is the dynamic layout result of the container area 2028. The layout result of FIG. 20 is exactly the same as the layout result using the dynamic layout which is a known technique.

図21の例では、上述の2つを組み合わせたようなレイアウト結果となっている。図21に示すように、本実施の形態のレイアウト編集装置の静的レイアウト編集レイヤに図19と同じバリアブルデータを流し込んだ際、コンテナ領域1728と同様、コンテナ領域1828にデータが収まりきらない。しかし、前述したように、コンテナ領域1828には本実施の形態のデータ溢れ時属性が設定されているため、動的レイアウト編集レイヤ側のコンテナ領域2028が代わりに用いられる。そのため、3228に示すように、レイアウト結果においては、3028のようなデータのクリッピングは発生していない。また、レイアウト結果3224〜3228は、上記レイアウト結果3124〜3128と全く同様であり、且つ、レイアウト結果3221〜3223は、上記レイアウト結果3021〜3023と全く同様である。   In the example of FIG. 21, the layout result is a combination of the above two. As shown in FIG. 21, when the same variable data as in FIG. 19 is poured into the static layout editing layer of the layout editing apparatus according to the present embodiment, the data does not fit in the container area 1828 as in the container area 1728. However, as described above, since the data overflow attribute of this embodiment is set in the container area 1828, the container area 2028 on the dynamic layout editing layer side is used instead. Therefore, as shown by 3228, in the layout result, data clipping as in 3028 does not occur. The layout results 3224 to 3228 are exactly the same as the layout results 3124 to 3128, and the layout results 3221 to 3223 are exactly the same as the layout results 3021 to 3023.

なお、図13のコンテナ領域1828及びその他のコンテナ領域1821、1822、1824〜1827に、本実施の形態のデータ溢れ時属性が設定されていない場合には、レイアウト結果は、図19のものと全く同じになる。   If the data overflow attribute of this embodiment is not set in the container area 1828 and other container areas 1821, 1822, and 1824 to 1827 in FIG. 13, the layout result is completely the same as that in FIG. Be the same.

<本実施の形態の利点>
本実施の形態によれば、データ溢れ等の異常が発生している静的オブジェクトを検出したときは(図18のS2906)、異常時対処処理として、次のS2909、S2911〜S2914の処理を実行する。即ち、該静的オブジェクトに対応づけられている動的レイアウト編集レイヤのテンプレートに存在する動的オブジェクトに関連付けられている動的レイアウト編集レイヤのテンプレートに存在する動的オブジェクト群を検索する(S2909)。さらに、その検索された動的オブジェクト群の個々の動的オブジェクトに対応づけられている静的レイアウト編集レイヤのドキュメントテンプレートの静的オブジェクト群を検索する(S2911)。そして、前記検索された静的オブジェクト群の静的レイアウト結果を破棄し(S2912)、前記検索された動的オブジェクト群にバリアブルデータを流し込んで動的レイアウトを行う(S2913)。その後、該動的レイアウトした結果を、前記部分的に破棄された静的レイアウト結果に結合させる(S2914)。
<Advantages of this embodiment>
According to the present embodiment, when a static object in which an abnormality such as data overflow has occurred is detected (S2906 in FIG. 18), the following processing in S2909 and S2911 to S2914 is executed as an abnormality handling process. To do. That is, a dynamic object group existing in the template of the dynamic layout editing layer associated with the dynamic object existing in the template of the dynamic layout editing layer associated with the static object is searched (S2909). . Further, the static object group of the document template of the static layout editing layer associated with each dynamic object of the searched dynamic object group is searched (S2911). Then, the static layout result of the searched static object group is discarded (S2912), and variable data is poured into the searched dynamic object group to perform dynamic layout (S2913). Thereafter, the dynamic layout result is combined with the partially discarded static layout result (S2914).

これにより、あるコンテナ領域にテキスト溢れや、イメージ溢れ、拡縮によるイメージ解像度劣化等の問題が発生した場合にのみ、通常は動的レイアウト(自動レイアウト)する必要がない他のコンテナ領域も同時に動的レイアウトの対象とすることができる。その結果、従来、部分指定することができなかった動的レイアウトの発生対象を部分指定することができるようなる。即ち、動的レイアウトの実行時におけるレイアウトの変更を、より局所化することが可能になる。   As a result, other container areas that normally do not need to be dynamically laid out (automatic layout) are also dynamically activated only when a problem such as text overflow, image overflow, or image resolution degradation due to scaling occurs in a container area. Can be the target of layout. As a result, it is possible to partially specify the dynamic layout generation target that could not be partially specified in the past. That is, the layout change at the time of executing the dynamic layout can be more localized.

そして、ユーザは、データ溢れが予想されるコンテナ領域に対して、データ溢れの保険として動的レイアウト設定を追加でき、且つその動的レイアウト設定が有効になった場合、関連する他のコンテナ領域もその動的レイアウト設定を有効にすることができる。   Then, the user can add a dynamic layout setting as data overflow insurance to the container area where data overflow is expected, and when the dynamic layout setting is enabled, other related container areas are also added. The dynamic layout setting can be enabled.

なお、本発明の目的は、前述した各実施の形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体をシステム或いは装置に供給し、そのシステム或いは装置のコンピュータが前記プログラムコードを読み出し実行することによっても達成される。   An object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus, and the computer of the system or apparatus reads and executes the program codes. Can also be achieved.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した各実施の形態の機能を実現することになり、そのプログラムコード及び該プログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code and the storage medium storing the program code constitute the present invention. .

また、プログラムコードを供給するための記憶媒体としては、例えば次のようなものが挙げられる。即ち、フロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、CDROM、CDR、CDRW、DVDROM、DVDRAM、DVDRW、DVD+RW等の光ディスク、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。または、プログラムコードをネットワークを介してダウンロードしてもよい。   Examples of the storage medium for supplying the program code include the following. That is, an optical disk such as a floppy (registered trademark) disk, a hard disk, a magneto-optical disk, a CDROM, a CDR, a CDRW, a DVDROM, a DVDRAM, a DVDRW, and a DVD + RW, a magnetic tape, a nonvolatile memory card, a ROM, and the like can be used. Alternatively, the program code may be downloaded via a network.

また、本発明は、コンピュータが読み出したプログラムコードを実行することにより、前述した各実施の形態の機能が実現されるだけではない。そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した各実施の形態の機能が実現される場合も含まれる。   The present invention not only realizes the functions of the above-described embodiments by executing the program code read by the computer. In some cases, an OS (operating system) or the like running on the computer performs part or all of the actual processing based on the instruction of the program code, and the functions of the above-described embodiments are realized by the processing. included.

実施の一形態に係るレイアウト編集装置を含むコンピュータシステムを示すブロック図である。1 is a block diagram showing a computer system including a layout editing apparatus according to an embodiment. 図1中のレイアウト編集装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the layout editing apparatus in FIG. 実施の形態のホストコンピュータで使用するアプリケーションのメインウィンドウを示す画面図である。It is a screen figure which shows the main window of the application used with the host computer of embodiment. 実施の形態に係るアプリケーションウィンドウ上に表示されるコンテナ領域の表示例を示す画面図である。It is a screen figure which shows the example of a display of the container area | region displayed on the application window which concerns on embodiment. 実施の形態に係る動的レイアウト計算のフロー図である。It is a flowchart of the dynamic layout calculation which concerns on embodiment. 動的レイアウト計算の詳細を示したフロー図である。It is the flowchart which showed the detail of dynamic layout calculation. 実施の形態に係るレイアウト計算時におけるコンテナ領域の集合に関する説明図である。It is explanatory drawing regarding the collection of a container area | region at the time of the layout calculation which concerns on embodiment. 動的レイアウト計算時のUI表示例を示した図である。It is the figure which showed the example of UI display at the time of dynamic layout calculation. リンクの情報がセットされているダイアログウィンドウの例を示す画面図である。It is a screen figure which shows the example of the dialog window in which the information of the link is set. 図13の状態までの操作遷移を示すフローチャートである。It is a flowchart which shows the operation transition to the state of FIG. 固定サイズのリンクを使用した場合のレイアウト結果を示す画面図である。It is a screen figure which shows the layout result at the time of using a link of fixed size. 実施の形態に係る可変リンクによるレイアウト結果を示す画面図である。It is a screen figure which shows the layout result by the variable link which concerns on embodiment. 静的レイアウト編集レイヤを示す画面図である。It is a screen figure which shows a static layout edit layer. 動的レイアウト編集レイヤの初期状態を示す画面図である。It is a screen figure which shows the initial state of a dynamic layout edit layer. 実施の形態に係る動的レイアウト編集レイヤの動的設定後の状態を示す図である。It is a figure which shows the state after the dynamic setting of the dynamic layout edit layer which concerns on embodiment. 実施の形態に係るデータ溢れ時属性の設定方法を示すUIに関する説明図である。It is explanatory drawing regarding UI which shows the setting method of the attribute at the time of the data overflow which concerns on embodiment. 実施の形態に係るデータ溢れ時属性の設定方法を示すフローチャートである。It is a flowchart which shows the setting method of the data overflow time attribute which concerns on embodiment. レイアウトアプリケーションプログラムのレイアウト時の動作フローを示すフローチャートである。It is a flowchart which shows the operation | movement flow at the time of layout of a layout application program. 実施の形態に係る静的レイアウト編集装置のプレビュー画面を示す図である。It is a figure which shows the preview screen of the static layout editing apparatus which concerns on embodiment. 実施の形態に係るレイアウト編集装置のプレビュー画面を示す図である。It is a figure which shows the preview screen of the layout editing apparatus which concerns on embodiment. 実施の形態に係るレイアウト編集装置のプレビュー画面を示す図である。It is a figure which shows the preview screen of the layout editing apparatus which concerns on embodiment.

符号の説明Explanation of symbols

101 ホストコンピュータ
103 ユーザインターフェース
105 レイアウトエンジン
119 データベース
121 レイアウトアプリケーションプログラム
132 キーボード
133 マウス
101 Host Computer 103 User Interface 105 Layout Engine 119 Database 121 Layout Application Program 132 Keyboard 133 Mouse

Claims (5)

レイアウトが固定された静的オブジェクトが配置される静的レイアウト編集レイヤと、レイアウトの変更が可能な動的オブジェクトが配置される動的レイアウト編集レイヤと、前記静的レイアウト編集レイヤと前記動的レイアウト編集レイヤにそれぞれ対応して設けられ、編集動作を行うための静的テンプレート及び動的テンプレートを有するレイアウト編集装置であって、
前記静的または前記動的テンプレートを指定して、これらテンプレートにデータの流し込みを行うデータ流し込み手段と、
前記データ流し込み手段によって前記静的テンプレートにデータの流し込みが行われた場合に、このデータの流し込みによって得られたレイアウト結果である静的オブジェクトに異常が発生しているか否かを検出する異常状態検出手段と、
前記異常状態検出手段によって、異常が発生している静的オブジェクトを検出したときに、該静的オブジェクトに対応づけられている動的オブジェクト、及び該動的オブジェクトに関連付けられている前記動的テンプレート上の動的オブジェクト群を検索する動的オブジェクト群検索手段と、
前記動的オブジェクト検索手段により検索された個々の動的オブジェクトに前記オブジェクト対応手段によって対応づけられている前記静的テンプレート上の個々の静的オブジェクトを検索する静的オブジェクト群検索手段と、
前記静的オブジェクト検索手段により検索された静的オブジェクト群に対する前記データ流し込み手段によるレイアウト結果を、前記動的オブジェクト群検索手段により検索された動的オブジェクト群に対する前記自動レイアウト手段によるレイアウト結果に置き換えるレイアウト結果置き換え手段とを備えたことを特徴とするレイアウト編集装置。
A static layout editing layer in which static objects having a fixed layout are arranged, a dynamic layout editing layer in which dynamic objects capable of changing layout are arranged, the static layout editing layer, and the dynamic layout A layout editing apparatus provided corresponding to each editing layer, having a static template and a dynamic template for performing an editing operation,
A data injecting means for designating the static or dynamic template and injecting data into these templates;
Abnormal state detection for detecting whether or not an abnormality has occurred in a static object that is a layout result obtained by the data flow when data flow is performed on the static template by the data flow means Means,
When the abnormal state detection unit detects a static object in which an abnormality has occurred, the dynamic object associated with the static object and the dynamic template associated with the dynamic object Dynamic object group search means for searching the above dynamic object group;
Static object group search means for searching for individual static objects on the static template associated with the individual dynamic objects searched by the dynamic object search means by the object correspondence means;
A layout that replaces the layout result by the data flow means for the static object group searched by the static object search means with the layout result by the automatic layout means for the dynamic object group searched by the dynamic object group search means. A layout editing apparatus comprising a result replacing means.
前記静的テンプレートに存在する静的オブジェクトが、前記オブジェクト対応手段により前記動的テンプレートに存在する動的オブジェクトに対応づけられている場合において、前記静的テンプレート上の該静的オブジェクトに異常が発生したときは、異常対処の実行を示す異常時対処属性を設定する異常時対処設定手段を設け、
前記動的オブジェクト群検索手段は、
前記異常状態検出手段によって、異常が発生している静的オブジェクトを検出したときは、該静的オブジェクトに対して前記異常時対処属性が設定されている場合に、該静的オブジェクトに対応づけられている動的オブジェクト、及び該動的オブジェクトに関連付けられている前記動的テンプレート上の動的オブジェクト群を検索することを特徴とする請求項1に記載のレイアウト編集装置。
When a static object existing in the static template is associated with a dynamic object existing in the dynamic template by the object corresponding means, an abnormality occurs in the static object on the static template If there is an error handling setting means to set an error handling attribute indicating the execution of the error handling,
The dynamic object group search means includes:
When the abnormal state detection means detects a static object in which an abnormality has occurred, it is associated with the static object when the abnormality handling attribute is set for the static object. The layout editing apparatus according to claim 1, wherein a dynamic object group and a dynamic object group on the dynamic template associated with the dynamic object are searched.
前記レイアウト結果置き換え手段は、
前記静的オブジェクト群検索手段により検索された静的オブジェクト群の前記レイアウト結果を破棄する結果破棄手段と、
前記動的オブジェクト群検索手段により検索された動的オブジェクト群に、前記データの流し込みを行うデータ再流し込み手段と、
前記データ再流し込み手段により流し込みが行われたデータを用いて前記自動レイアウト手段を作動して得られた動的オブジェクト群のレイアウト結果を、前記結果破棄手段によって部分的に破棄された静的オブジェクト群のレイアウト結果に結合させるレイアウト結合手段とを有することを特徴とする請求項1または2に記載のレイアウト編集装置。
The layout result replacement means includes:
A result discarding unit for discarding the layout result of the static object group searched by the static object group searching unit;
Data reflow means for flowing the data into the dynamic object group searched by the dynamic object group search means;
The static object group partially discarded by the result discarding unit is the layout result of the dynamic object group obtained by operating the automatic layout unit using the data that has been poured by the data reflowing unit. The layout editing apparatus according to claim 1, further comprising: a layout combining unit that combines the layout results with the layout editing unit.
レイアウトが固定された静的オブジェクトが配置される静的レイアウト編集レイヤと、レイアウトの変更が可能な動的オブジェクトが配置される動的レイアウト編集レイヤと、前記静的レイアウト編集レイヤと前記動的レイアウト編集レイヤにそれぞれ対応して設けられ、編集動作を行うための静的テンプレート及び動的テンプレートを有するレイアウト編集装置の制御方法であって、
前記静的または前記動的テンプレートを指定して、これらテンプレートにデータの流し込みを行うデータ流し込み工程と、
前記データ流し込み工程によって前記静的テンプレートにデータの流し込みが行われた場合に、このデータの流し込みによって得られたレイアウト結果である静的オブジェクトに異常が発生しているか否かを検出する異常状態検出工程と、
前記異常状態検出工程によって、異常が発生している静的オブジェクトを検出したときに、該静的オブジェクトに対応づけられている動的オブジェクト、及び該動的オブジェクトに関連付けられている前記動的テンプレート上の動的オブジェクト群を検索する動的オブジェクト群検索工程と、
前記動的オブジェクト検索工程により検索された個々の動的オブジェクトに前記オブジェクト対応工程によって対応づけられている前記静的テンプレート上の個々の静的オブジェクトを検索する静的オブジェクト群検索工程と、
前記静的オブジェクト検索工程により検索された静的オブジェクト群に対する前記データ流し込み工程によるレイアウト結果を、前記動的オブジェクト群検索工程により検索された動的オブジェクト群に対する前記動的レイアウト確定工程によるレイアウト結果に置き換える結果置き換え工程とを備えたことを特徴とするレイアウト編集装置の制御方法。
A static layout editing layer in which static objects having a fixed layout are arranged, a dynamic layout editing layer in which dynamic objects capable of changing layout are arranged, the static layout editing layer, and the dynamic layout A method of controlling a layout editing apparatus provided corresponding to each editing layer and having a static template and a dynamic template for performing an editing operation,
A data injecting step of designating the static or dynamic template and injecting data into these templates;
Abnormal state detection for detecting whether or not an abnormality has occurred in a static object, which is a layout result obtained by the data flow, when data flow is performed on the static template by the data flow step. Process,
When a static object in which an abnormality has occurred is detected by the abnormal state detection step, the dynamic object associated with the static object and the dynamic template associated with the dynamic object A dynamic object group search step for searching the above dynamic object group;
A static object group search step of searching for individual static objects on the static template associated with the individual dynamic objects searched by the dynamic object search step by the object correspondence step;
The layout result by the data insertion step for the static object group searched by the static object search step is changed to the layout result by the dynamic layout determination step for the dynamic object group searched by the dynamic object group search step. A layout editing apparatus control method comprising a replacement result replacement step.
レイアウトが固定された静的オブジェクトが配置される静的レイアウト編集レイヤと、レイアウトの変更が可能な動的オブジェクトが配置される動的レイアウト編集レイヤと、前記静的レイアウト編集レイヤと前記動的レイアウト編集レイヤにそれぞれ対応して設けられ、編集動作を行うための静的テンプレート及び動的テンプレートを有するレイアウト編集装置の制御方法を実行するための、コンピュータで読み取り可能な制御プログラムであって、
前記静的または前記動的テンプレートを指定して、これらテンプレートにデータの流し込みを行うデータ流し込みステップと、
前記データ流し込みステップによって前記静的テンプレートにデータの流し込みが行われた場合に、このデータの流し込みによって得られたレイアウト結果である静的オブジェクトに異常が発生しているか否かを検出する異常状態検出ステップと、
前記異常状態検出ステップによって、異常が発生している静的オブジェクトを検出したときに、該静的オブジェクトに対応づけられている動的オブジェクト、及び該動的オブジェクトに関連付けられている前記動的テンプレート上の動的オブジェクト群を検索する動的オブジェクト群検索ステップと、
前記動的オブジェクト検索ステップにより検索された個々の動的オブジェクトに前記オブジェクト対応ステップによって対応づけられている前記静的テンプレート上の個々の静的オブジェクトを検索する静的オブジェクト群検索ステップと、
前記静的オブジェクト検索ステップにより検索された静的オブジェクト群に対する前記データ流し込みステップによるレイアウト結果を、前記動的オブジェクト群検索ステップにより検索された動的オブジェクト群に対する前記動的レイアウト確定ステップによるレイアウト結果に置き換える結果置き換えステップとを備えたことを特徴とする制御プログラム。
A static layout editing layer in which static objects having a fixed layout are arranged, a dynamic layout editing layer in which dynamic objects capable of changing layout are arranged, the static layout editing layer, and the dynamic layout A computer-readable control program for executing a control method of a layout editing apparatus provided corresponding to each editing layer and having a static template and a dynamic template for performing an editing operation,
A data injecting step of designating the static or dynamic template and injecting data into these templates;
Abnormal state detection for detecting whether or not an abnormality has occurred in a static object, which is a layout result obtained by the data flow, when data flow is performed on the static template by the data flow step. Steps,
When a static object in which an abnormality has occurred is detected by the abnormal state detection step, the dynamic object associated with the static object and the dynamic template associated with the dynamic object A dynamic object group search step for searching the above dynamic object group;
A static object group search step of searching for individual static objects on the static template associated with the individual dynamic objects searched by the dynamic object search step by the object correspondence step;
The layout result by the data insertion step for the static object group searched by the static object search step is changed to the layout result by the dynamic layout determination step for the dynamic object group searched by the dynamic object group search step. A control program comprising a replacement result replacement step.
JP2006194082A 2006-07-14 2006-07-14 Layout editing device, its control method and control program Pending JP2008021221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006194082A JP2008021221A (en) 2006-07-14 2006-07-14 Layout editing device, its control method and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006194082A JP2008021221A (en) 2006-07-14 2006-07-14 Layout editing device, its control method and control program

Publications (1)

Publication Number Publication Date
JP2008021221A true JP2008021221A (en) 2008-01-31

Family

ID=39077093

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006194082A Pending JP2008021221A (en) 2006-07-14 2006-07-14 Layout editing device, its control method and control program

Country Status (1)

Country Link
JP (1) JP2008021221A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010147584A (en) * 2008-12-16 2010-07-01 Noritsu Koki Co Ltd Image layout setting method and image layout setting device
JP2012048433A (en) * 2010-08-26 2012-03-08 Dainippon Printing Co Ltd Medium production supporting system, medium production supporting method, program, and memory medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010147584A (en) * 2008-12-16 2010-07-01 Noritsu Koki Co Ltd Image layout setting method and image layout setting device
JP2012048433A (en) * 2010-08-26 2012-03-08 Dainippon Printing Co Ltd Medium production supporting system, medium production supporting method, program, and memory medium

Similar Documents

Publication Publication Date Title
JP4560416B2 (en) Information processing apparatus, control method therefor, and program
US7596746B2 (en) Information processing method and apparatus, and computer-readable program
US7634725B2 (en) Layout adjustment method, apparatus and program for the same
KR100716084B1 (en) Layout adjustment method and apparatus
JP4144883B2 (en) Information processing apparatus, control method therefor, and program
JP4059504B2 (en) Document processing apparatus, document processing method, and document processing program
JP4250540B2 (en) Layout adjustment method and apparatus, and layout adjustment program
JP4110105B2 (en) Document processing apparatus, document processing method, and document processing program
JP4298642B2 (en) Layout processing method, layout processing apparatus, and layout processing program
US7707494B2 (en) Information processing apparatus, control method therefor, and program
JP4912139B2 (en) Information processing device
US20060203294A1 (en) Layout processing method, information processing apparatus, and computer program
KR100881479B1 (en) Information processing method and apparatus thereof
US7853872B2 (en) Laying out field regions in a page for insertion of data
JP2008021221A (en) Layout editing device, its control method and control program
JP4194501B2 (en) Document processing method, document processing apparatus, and document processing program
JP2007249431A (en) Information processor, its control method, and program
JP2010122893A (en) Variable printing system
JP2007122487A (en) Automatic layout system
JP2006293430A (en) Information processor and information processing method
JP2007094756A (en) Information processor, layout processing method, storage medium and program
JP2010176366A (en) Variable print system
JP2007048198A (en) Automatic layout system
JP2008287504A (en) Document processor and method
JP2007011574A (en) Method and apparatus for generating template, and program