JP2007066304A - Information processor apparatus, its control method, and program - Google Patents

Information processor apparatus, its control method, and program Download PDF

Info

Publication number
JP2007066304A
JP2007066304A JP2006211380A JP2006211380A JP2007066304A JP 2007066304 A JP2007066304 A JP 2007066304A JP 2006211380 A JP2006211380 A JP 2006211380A JP 2006211380 A JP2006211380 A JP 2006211380A JP 2007066304 A JP2007066304 A JP 2007066304A
Authority
JP
Japan
Prior art keywords
container
document
setting
layout
adjustment
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.)
Withdrawn
Application number
JP2006211380A
Other languages
Japanese (ja)
Other versions
JP2007066304A5 (en
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 JP2006211380A priority Critical patent/JP2007066304A/en
Publication of JP2007066304A publication Critical patent/JP2007066304A/en
Publication of JP2007066304A5 publication Critical patent/JP2007066304A5/ja
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information processing apparatus, its control method, and a program which enable a user to adjust a layout of an object once laid out based on a document template, while satisfying an intention of a template editor. <P>SOLUTION: Layout processing for a field area is executed by inserting data into a field area to be laid out on a document. An adjustment permission setting value indicating a range which permits adjustment of an object on the document thus obtained. A layout result is converted into a document of a specified document format. Based on a selected adjustment method, the object on the document is set as an interactive object which permits an adjustment based on the adjustment permission setting value. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、複数種類のデータフィールドからなるレコードから、選択されたデータフィールドのデータを挿入するためのフィールド領域を、ドキュメントにレイアウトする情報処理装置及びその制御方法、プログラムに関するものである。   The present invention relates to an information processing apparatus for laying out a field area for inserting data of a selected data field from a record composed of a plurality of types of data fields in a document, a control method therefor, and a program.

近年、商品の多品種化で商品ライフが短くなっていることが注目されている。また、インターネット利用の普及による消費者のカスタマイズサービス指向などの要因からCRM(Customer Relationship Management)、One−to−Oneマーケティングの必要性が注目されている。これらの手法により、顧客満足度を高め、顧客の開拓や囲い込みを目指すものである。   In recent years, it has been noticed that the product life is shortened due to the increase in the number of products. In addition, the necessity of CRM (Customer Relationship Management) and One-to-One marketing has been attracting attention because of factors such as consumer customization service orientation due to the widespread use of the Internet. These techniques aim to increase customer satisfaction and to cultivate and retain customers.

One−to−Oneマーケティングは、データベース・マーケティングの一種である。これは、顧客の年齢、性別、趣味、嗜好、購買履歴等の個人属性情報をデータベース化し、その内容を分析、顧客のニーズに合った提案を行うものであり、その代表的な手法としてバリアブルプリントが挙げられる。ここ最近では、DTP(デスクトップパブリッシング)技術の進展とデジタル印刷装置の普及に伴って、文書を顧客毎にカスタマイズして出力するバリアブルプリントシステムが開発されている。このようなバリアブルプリントシステムでは、顧客毎に異なる量のコンテンツが最適にレイアウトされたカスタマイズ文書を作成することが求められる。   One-to-one marketing is a type of database marketing. This is a database of personal attribute information such as customer age, gender, hobbies, preferences, purchase history, etc., analyzes the contents, and makes proposals that meet customer needs. Is mentioned. Recently, with the advancement of DTP (desktop publishing) technology and the spread of digital printing apparatuses, variable print systems that customize and output documents for each customer have been developed. In such a variable print system, it is required to create a customized document in which different amounts of content are optimally laid out for each customer.

一般にバリアブルプリントシステムにおいて、そのようなカスタマイズ文書を作成する際には、文書上にコンテナをレイアウトする。ここで、コンテナとは、コンテンツ(描画内容(例えば、イメージ、テキスト等))を描画するための描画領域であり、フィールド領域と呼ばれることもある。   Generally, when creating such a customized document in a variable print system, a container is laid out on the document. Here, the container is a drawing area for drawing content (drawing contents (eg, image, text, etc.)), and is sometimes called a field area.

そして、文書上にこのようなコンテナをレイアウトし、データベースとレイアウトを関連付ける(データベース内の各種コンテンツとコンテナとを関連付ける)作業を行う。これにより、所望のカスタマイズ文書(ドキュメントテンプレートと呼ばれる)を作成することができる。そして、このカスタマイズ文書上のコンテナ内のコンテンツを適宜切り換える(関連付けを変更する)ことで、その内容を可変(バリアブル)にすることができる。そのため、このような文書を、バリアブルデータ文書(ドキュメント)と呼んでおり、このバリアブルデータドキュメントを用いるプリントシステムが、バリアルプリントシステムである。   Then, such a container is laid out on the document, and the database is associated with the layout (associates various contents in the database with the container). As a result, a desired customized document (called a document template) can be created. Then, by appropriately switching the contents in the container on the customized document (changing the association), the contents can be made variable (variable). Therefore, such a document is called a variable data document (document), and a print system using this variable data document is a variable print system.

ここで、従来のバリアブルプリントシステムでは、コンテンツであるテキストやイメージに関連付けられるコンテナのサイズが固定である。そのため、データベース内のコンテンツがコンテナに挿入された(流し込まれた)ときに、そのデータ量がコンテナサイズより多いと、次のようなことが発生する。つまり、そのデータがテキストであれば、テキストのオーバーラップが発生し、また、そのデータがイメージであればイメージのクリッピングが発生する。また、データ量がコンテナサイズより小さいと、コンテナとその内部のコンテンツとの間に隙間が空いてしまう等の適切な表示がなされない可能性がある。   Here, in the conventional variable print system, the size of the container associated with the text or image that is the content is fixed. Therefore, when the content in the database is inserted (filled) into the container and the data amount is larger than the container size, the following occurs. That is, if the data is text, text overlap occurs, and if the data is an image, image clipping occurs. Further, if the data amount is smaller than the container size, there is a possibility that an appropriate display such as a gap between the container and the contents in the container is not performed.

これらの問題を解決するために、さらなるレイアウトを変更する技術として、あるコンテナのサイズが大きくなった場合、このコンテナに隣接する他のコンテナのサイズを小さくする技術が特許文献1の「レイアウトデザイン装置」に開示されている。   In order to solve these problems, as a technique for further changing the layout, a technique for reducing the size of another container adjacent to this container when the size of a certain container is increased is disclosed in “Layout Design Device” of Patent Document 1. Is disclosed.

また、特許文献2には、ドキュメント上にレイアウトするオブジェクトを定義する定義モードと、そのドキュメントを閲覧するための実行モードを有する構成が開示されている。ここで、定義モードでは、オブジェクト同士に所定の位置関係による条件とその条件が成立するときに実行する処理を定義することができる。そして、実行モードでは、その条件が成立するときに、定義モードで定義した処理を実行する。
特開平7−129658号公報(段落0049、図8) 特開平9−259168号公報
Patent Document 2 discloses a configuration having a definition mode for defining an object to be laid out on a document and an execution mode for browsing the document. Here, in the definition mode, a condition based on a predetermined positional relationship between objects and a process to be executed when the condition is satisfied can be defined. In the execution mode, when the condition is satisfied, the process defined in the definition mode is executed.
Japanese Patent Laid-Open No. 7-129658 (paragraph 0049, FIG. 8) JP-A-9-259168

しかしながら、上述のような技術を利用する自動レイアウトシステムでは、バリアブルデータを流し込んだ際、レイアウトの動的変化が予測しづらい。そのため、レイアウト後、テンプレートに流し込むコンテンツ(バリアブルデータ)によっては、ユーザの好みに合わないレイアウト結果が生成されることがある。   However, in an automatic layout system using the above-described technique, it is difficult to predict a dynamic change in layout when variable data is introduced. For this reason, a layout result that does not suit the user's preference may be generated depending on the content (variable data) to be inserted into the template after layout.

例えば、このような自動レイアウトシステムは、Webサーバクライアントシステムで実現される。この場合、Webクライアント側では、ユーザにより選択されたドキュメントテンプレートとコンテンツの配信リクエストを、Webサーバに送信する。Webサーバ側では、その配信リクエストに基づいて、ドキュメントテンプレートとコンテンツを用いて自動レイアウトを行う。そして、その自動レイアウト後のドキュメントを、PDF等の形式のドキュメントにして、Webクライアントに配信する。   For example, such an automatic layout system is realized by a Web server client system. In this case, on the Web client side, a document template selected by the user and a content distribution request are transmitted to the Web server. On the Web server side, automatic layout is performed using the document template and content based on the distribution request. Then, the document after the automatic layout is converted to a document in a format such as PDF and distributed to the Web client.

ここで、このようなWebサーバクライアントシステムを利用するユーザには、多種多様な好みを持っていて、配信されたドキュメントが必ずしも意図するものであるとは限らないことが想定される。そのため、ドキュメントを配信するWebサーバ側では、何らかのレイアウト調整/微調整機能をWebクライアント側のユーザに提供する必要があると考えられている。   Here, it is assumed that a user who uses such a Web server client system has various preferences and the distributed document is not necessarily intended. Therefore, it is considered that some layout adjustment / fine adjustment function needs to be provided to the user on the Web client side on the Web server side that distributes the document.

また、一方で、Webクライアント側のユーザに自由にレイアウト調整を許した場合、企業のロゴマーク等のデータのように、他の図形要素から、そのオブジェクトの独立性を保証しておきたいデータなどもある。つまり、このようなロゴマーク等のデータは、その独立性が損なわれないよう、ロゴの周囲に充分な余白をとっておきたい場合がある。そのため、ドキュメント内の全てのオブジェクトをユーザが自由に改変可能であるということは、テンプレート編集者またはドキュメント配信者の意思・意図にそぐわないレイアウトをユーザ側で生成してしまう可能性があることを意味している。   On the other hand, when the user on the Web client side can freely adjust the layout, such as data such as a company logo, data that wants to guarantee the independence of the object from other graphic elements, etc. There is also. In other words, there is a case where it is desired to leave a sufficient margin around the logo so that the independence of the data such as the logo mark is not impaired. Therefore, the fact that the user can freely modify all the objects in the document means that the user may generate a layout that does not match the intention / intent of the template editor or document distributor. is doing.

本発明は上記の課題を解決するためになされたものである。本発明の目的は、ドキュメントテンプレートに基づいて一旦レイアウトされたオブジェクトのレイアウト調整を、テンプレート編集者の意思・意図を満足しつつ、ユーザに実行させることができる情報処理装置及びその制御方法、プログラムを提供することにある。   The present invention has been made to solve the above problems. An object of the present invention is to provide an information processing apparatus, a control method thereof, and a program for allowing a user to execute layout adjustment of an object once laid out based on a document template while satisfying the intention / intent of the template editor. It is to provide.

上記の目的を達成するための本発明による情報処理装置は以下の構成を備える。即ち、
また、好ましくは、複数種類のデータフィールドからなるレコードから、選択されたデータフィールドのデータを挿入するためのフィールド領域を、ドキュメントにレイアウトする情報処理装置であって、
前記ドキュメント上にレイアウトされる前記フィールド領域にデータを挿入して、該フィールド領域のレイアウト処理を実行するレイアウト手段と、
前記レイアウト手段によって得られるドキュメント上のオブジェクトの調整を許容する範囲を示す調整許可設定値を設定する第1設定手段と、
前記レイアウト手段によるレイアウト結果を、指定されたドキュメントフォーマットのドキュメントに変換する変換手段と、
選択された調整方法に基づいて、前記ドキュメント上のオブジェクトを、前記調整許可設定値に基づいて調整を許容するインタラクティブオブジェクトとして設定する第2設定手段と
を備える。
In order to achieve the above object, an information processing apparatus according to the present invention comprises the following arrangement. That is,
Preferably, the information processing apparatus lays out a field area for inserting data of a selected data field from a record including a plurality of types of data fields in a document,
Layout means for inserting data into the field area laid out on the document and executing layout processing of the field area;
First setting means for setting an adjustment permission setting value indicating a range in which adjustment of an object on a document obtained by the layout means is allowed;
Conversion means for converting a layout result by the layout means into a document of a specified document format;
Second setting means for setting an object on the document as an interactive object that permits adjustment based on the adjustment permission setting value based on the selected adjustment method.

また、好ましくは、前記第2設定手段は、前記調整許可設定値が示す可動位置範囲及びサイズ変更可能量を、前記インタラクティブオブジェクトの調整操作で許容する可動位置範囲及びサイズ変更可能量として設定する。   Preferably, the second setting means sets the movable position range and the size changeable amount indicated by the adjustment permission setting value as the movable position range and the size changeable amount allowed by the adjustment operation of the interactive object.

また、好ましくは、前記フィールド領域の可動位置範囲及びサイズ変更可能量を設定する第3設定手段を更に備える。   Preferably, the apparatus further comprises third setting means for setting the movable position range and the size changeable amount of the field area.

また、好ましくは、前記第1設定手段は、前記第3設定手段で設定された可動位置範囲及びサイズ変更可能量を調整することで、前記調整許可設定値を設定する。   Preferably, the first setting means sets the adjustment permission setting value by adjusting the movable position range and the size changeable amount set by the third setting means.

また、好ましくは、前記フィールド領域は、可動位置範囲及びサイズ変更可能量を有する動的フィールド領域と、可動位置範囲及びサイズ変更可能量を持たない静的フィールド領域の2種類がある。   Preferably, the field area has two types, a dynamic field area having a movable position range and a size changeable amount, and a static field area having no movable position range and a size changeable amount.

また、好ましくは、前記第1設定手段は、前記調整許可設定値として、前記オブジェクトの可動位置範囲及びサイズ変更可能量を調整する調整手段と、
前記調整手段による調整の可否を、前記可動位置範囲及び前記サイズ変更可能量に対して個別に指定する指定手段と
を備える。
Preferably, the first setting means adjusts the movable position range and the size changeable amount of the object as the adjustment permission setting value;
Designation means for individually designating whether or not adjustment by the adjustment means is possible with respect to the movable position range and the size changeable amount.

また、好ましくは、前記調整方法として、前記ドキュメント上のオブジェクトの調整を許容する調整許容モードと、調整を禁止する調整禁止モードの少なくとも2種類の調整モードのどちらかを選択する選択手段を更に備える。   Preferably, the adjustment method further includes selection means for selecting at least two types of adjustment modes: an adjustment permission mode for allowing adjustment of an object on the document and an adjustment prohibition mode for prohibiting adjustment. .

また、好ましくは、前記第2設定手段による設定がなされたドキュメント上のオブジェクトを調整するオブジェクト調整手段と、
前記ドキュメントを印刷する印刷手段と
を更に備える。
Preferably, the object adjustment means for adjusting the object on the document set by the second setting means,
Printing means for printing the document.

また、好ましくは、当該情報処理装置とネットワークを介して接続される外部装置へ、前記第2設定手段による設定がなされたドキュメントを配信する配信手段を更に備える。   Preferably, the information processing apparatus further includes distribution means for distributing the document set by the second setting means to an external apparatus connected to the information processing apparatus via a network.

上記の目的を達成するための本発明による情報処理装置の制御方法は以下の構成を備える。即ち、
複数種類のデータフィールドからなるレコードから、選択されたデータフィールドのデータを挿入するためのフィールド領域を、ドキュメントにレイアウトする情報処理装置の制御方法であって、
前記ドキュメント上にレイアウトされる前記フィールド領域にデータを挿入して、該フィールド領域のレイアウト処理を実行するレイアウト工程と、
前記レイアウト工程によって得られるドキュメント上のオブジェクトの調整を許容する範囲を示す調整許可設定値を設定する第1設定工程と、
前記レイアウト工程によるレイアウト結果を、指定されたドキュメントフォーマットのドキュメントに変換する変換工程と、
選択された調整方法に基づいて、前記ドキュメント上のオブジェクトを、前記調整許可設定値に基づいて調整を許容するインタラクティブオブジェクトとして設定する第2設定工程と
を備える。
In order to achieve the above object, a method for controlling an information processing apparatus according to the present invention comprises the following arrangement. That is,
A method for controlling an information processing apparatus that lays out a field area for inserting data of a selected data field from a record including a plurality of types of data fields in a document,
A layout step of inserting data into the field area laid out on the document and executing layout processing of the field area;
A first setting step for setting an adjustment permission setting value indicating a range in which adjustment of an object on a document obtained by the layout step is allowed;
A conversion step of converting the layout result of the layout step into a document of a specified document format;
And a second setting step of setting an object on the document as an interactive object that allows adjustment based on the adjustment permission setting value based on the selected adjustment method.

上記の目的を達成するための本発明によるプログラムは以下の構成を備える。即ち、
複数種類のデータフィールドからなるレコードから、選択されたデータフィールドのデータを挿入するためのフィールド領域を、ドキュメントにレイアウトする制御をコンピュータに実行させるためのプログラムであって、
前記ドキュメント上にレイアウトされる前記フィールド領域にデータを挿入して、該フィールド領域のレイアウト処理を実行するレイアウト工程と、
前記レイアウト工程によって得られるドキュメント上のオブジェクトの調整を許容する範囲を示す調整許可設定値を設定する第1設定工程と、
前記レイアウト工程によるレイアウト結果を、指定されたドキュメントフォーマットのドキュメントに変換する変換工程と、
選択された調整方法に基づいて、前記ドキュメント上のオブジェクトを、前記調整許可設定値に基づいて調整を許容するインタラクティブオブジェクトとして設定する第2設定工程と
をコンピュータに実行させることを特徴とする。
In order to achieve the above object, a program according to the present invention comprises the following arrangement. That is,
A program for causing a computer to execute control for laying out a field area for inserting data of a selected data field from a record including a plurality of types of data fields in a document,
A layout step of inserting data into the field area laid out on the document and executing layout processing of the field area;
A first setting step for setting an adjustment permission setting value indicating a range in which adjustment of an object on a document obtained by the layout step is allowed;
A conversion step of converting the layout result of the layout step into a document of a specified document format;
Based on the selected adjustment method, the computer is caused to execute a second setting step of setting an object on the document as an interactive object that allows adjustment based on the adjustment permission setting value.

本発明によれば、ドキュメントテンプレートに基づいて一旦レイアウトされたオブジェクトのレイアウト調整を、テンプレート編集者の意思・意図を満足しつつ、ユーザに実行させることができる情報処理装置及びその制御方法、プログラムを提供できる。   According to the present invention, an information processing apparatus capable of causing a user to perform layout adjustment of an object once laid out based on a document template while satisfying the intention / intent of the template editor, a control method therefor, and a program are provided. Can be provided.

以下、本発明の実施の形態について図面を用いて詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

<システム構成>
まず、本実施形態の情報処理システム及び、その構成要素であるホストコンピュータのハードウェア構成について、図1A及び図1Bを用いて説明する。
<System configuration>
First, the hardware configuration of the information processing system of this embodiment and the host computer that is a component thereof will be described with reference to FIGS. 1A and 1B.

図1Aは本発明の実施形態の情報処理システムの構成例を示す図である。また、図1Bは本発明の実施形態の情報処理システムの一構成要素であるコンピュータ(本発明の情報処理装置に相当する)のハードウェア構成を示す図である。   FIG. 1A is a diagram illustrating a configuration example of an information processing system according to an embodiment of this invention. FIG. 1B is a diagram showing a hardware configuration of a computer (corresponding to the information processing apparatus of the present invention) that is a component of the information processing system according to the embodiment of the present invention.

尚、図1A中のホストコンピュータ以外の各種コンピュータ(例えば、データベースサーバ117、ファイルサーバ115及びプリントサーバ109)も、例えば、図1Bのハードウェア構成と同等のハードウェア構成を有している。   Various computers (for example, the database server 117, the file server 115, and the print server 109) other than the host computer in FIG. 1A also have a hardware configuration that is equivalent to the hardware configuration of FIG. 1B, for example.

図1Aにおいて、情報処理システム100は、ネットワーク107を介して、ホストコンピュータ101、データベースサーバ117及びファイルサーバ115及びプリントサーバ109が相互に接続されている。   1A, in an information processing system 100, a host computer 101, a database server 117, a file server 115, and a print server 109 are connected to each other via a network 107.

データベースサーバ117は、データベース119を備えている。また、プリントサーバ109は、プリンタ113を接続しており、ネットワーク107を介して受信する印刷データを適宜プリンタ113に出力して、その印刷データを印刷することが可能である。   The database server 117 includes a database 119. The print server 109 is connected to a printer 113, and can appropriately output print data received via the network 107 to the printer 113 and print the print data.

図1Aの情報処理システム100は、特に、バリアブルデータドキュメントを印刷するバリアブルプリントシステムの構成例を示している。本実施形態で説明されるバリアブルプリント処理は、レイアウト編集装置として機能するホストコンピュータ101(汎用コンピュータモジュールによって構成される)で実現される。   The information processing system 100 in FIG. 1A particularly shows a configuration example of a variable print system that prints a variable data document. The variable print processing described in the present embodiment is realized by the host computer 101 (configured by a general-purpose computer module) that functions as a layout editing apparatus.

バリアブルプリントシステム100上で実施可能となるレイアウト編集アプリケーション121は、ホストコンピュータ101において、その全体あるいは一部分が実行される。特に、レイアウト編集に関する処理や、バリアブルデータドキュメントの印刷に関する処理は、ホストコンピュータ101によって実行されるソフトウェアにより実現される。   The layout editing application 121 that can be implemented on the variable print system 100 is executed entirely or in part on the host computer 101. In particular, processing relating to layout editing and processing relating to printing of variable data documents are realized by software executed by the host computer 101.

レイアウト編集アプリケーション121等のソフトウェアやコンピュータプログラムはコンピュータ可読媒体に格納され、そのコンピュータ可読媒体からホストコンピュータ101のメモリ136にロードされ、実行される。そのようなソフトウェアやコンピュータプログラムを格納したコンピュータ可読媒体は、コンピュータプログラム製品である。そして、例えば、ホストコンピュータ101において、そのコンピュータプログラム製品を使用することにより、バリアブルデータドキュメントのレイアウト編集やバリアブルプリントに好適な装置が提供されることになる。   Software such as the layout editing application 121 and computer programs are stored in a computer readable medium, loaded from the computer readable medium into the memory 136 of the host computer 101, and executed. A computer readable medium storing such software or computer program is a computer program product. For example, by using the computer program product in the host computer 101, an apparatus suitable for variable data document layout editing and variable printing is provided.

図1Bに示されるように、ホストコンピュータ101には、I/O(入出力)インタフェース143を介してキーボード132や、ポインティングデバイスであるマウス133が入力装置として接続される。また、出力装置としてのディスプレイ装置144がビデオインタフェース137を介して接続される。更に、プリントサーバ109をI/Oインタフェース138を介して接続することも可能である。   As shown in FIG. 1B, a keyboard 132 and a mouse 133 as a pointing device are connected to the host computer 101 via an I / O (input / output) interface 143 as input devices. A display device 144 as an output device is connected via a video interface 137. Furthermore, it is possible to connect the print server 109 via the I / O interface 138.

また、I/Oインタフェース138は、ホストコンピュータ101を、ネットワーク107へ接続する機能も有する。これにより、ネットワーク107を介して、バリアブルプリントシステム100内の他のコンピュータ装置(外部機器)にホストコンピュータ101を接続することができる。ネットワーク107の典型的な例としては、ローカルエリアネットワーク(LAN)、あるいはワイドエリアネットワーク(WAN)が挙げられる。   The I / O interface 138 also has a function of connecting the host computer 101 to the network 107. Accordingly, the host computer 101 can be connected to another computer apparatus (external device) in the variable print system 100 via the network 107. Typical examples of the network 107 include a local area network (LAN) or a wide area network (WAN).

また、図1Bに示すように、ホストコンピュータ101は、少なくとも1つのプロセッサ135、例えば、半導体メモリである、ランダムアクセスメモリ(RAM)やリードオンリーメモリ(ROM)から構成されるメモリ136を含んでいる。記憶装置139は、プログラム等の各種データを格納するコンピュータ可読媒体との間でデータのやり取りが可能なハードディスクドライブ(HDD)140やフロッピー(登録商標)ディスクドライブ(FDD)141を含む。   As shown in FIG. 1B, the host computer 101 includes at least one processor 135, for example, a memory 136 that is a semiconductor memory, such as a random access memory (RAM) or a read only memory (ROM). . The storage device 139 includes a hard disk drive (HDD) 140 and a floppy (registered trademark) disk drive (FDD) 141 that can exchange data with a computer-readable medium that stores various data such as programs.

尚、図1Bには示されていないが、磁気テープドライブやメモリカード等の各種記憶装置も記憶装置139として使用することが可能である。CD−ROMドライブ142は、不揮発性のデータソースとして提供される(もちろん、CD−ROMによってコンピュータプログラムを提供してもよい)。   Although not shown in FIG. 1B, various storage devices such as a magnetic tape drive and a memory card can also be used as the storage device 139. The CD-ROM drive 142 is provided as a nonvolatile data source (of course, a computer program may be provided by a CD-ROM).

ホストコンピュータ101は、相互接続バス134を介して、ホストコンピュータ101の各種構成要素135〜134と通信する。この通信は、例えば、GNU/LINUXやマイクロソフトウインドウズ(登録商標)のようなオペレーティングシステムや、典型的にはオペレーティングシステムに従う形で実現される。あるいは、この通信は、関連のある技術で知られているもので形成されたコンピュータシステムの常套的なオペレーションモードによる方法によって、実現される。即ち、上述の各種構成要素135〜143は、相互接続バス134を介して通信可能に接続されており、ホストコンピュータ101にインストールされたオペレーティングシステムにより利用される。   The host computer 101 communicates with various components 135 to 134 of the host computer 101 via the interconnection bus 134. This communication is realized, for example, in accordance with an operating system such as GNU / LINUX or Microsoft Windows (registered trademark), or typically in accordance with the operating system. Alternatively, this communication is realized by a method according to the conventional operation mode of a computer system formed with what is known in the relevant art. That is, the above-described various components 135 to 143 are communicably connected via the interconnection bus 134 and are used by an operating system installed in the host computer 101.

尚、図1Bに示すホストコンピュータ101の例としては、IBM互換PC(パーソナルコンピュータ)やSUNのSparcstation、あるいはそれらを含んだコンピュータシステムが考えられる。   As an example of the host computer 101 shown in FIG. 1B, an IBM compatible PC (personal computer), a SUN Sparcstation, or a computer system including them can be considered.

本実施形態では、レイアウト編集アプリーション121は、ハードディスクドライブ140に常駐し、プロセッサ135による実行や読込が制御される。レイアウト編集アプリケーション121の媒介記憶装置とネットワーク107からフェッチされるデータは、ハードディスクドライブ140に呼応してメモリ136を使用する。   In the present embodiment, the layout editing application 121 is resident in the hard disk drive 140, and execution and reading by the processor 135 are controlled. Data fetched from the intermediate storage device of the layout editing application 121 and the network 107 uses the memory 136 in response to the hard disk drive 140.

一つの例では、レイアウト編集アプリケーション121のエンコードされたプログラムが、CD−ROMやフロッピー(登録商標)ディスク上に格納される。そして、対応するCD−ROMドライブ142やフロッピー(登録商標)ディスクドライブ141を通じて読み込まれ、ハードディスクドライブ140にインストールされる。   In one example, the encoded program of the layout editing application 121 is stored on a CD-ROM or floppy (registered trademark) disk. Then, it is read through the corresponding CD-ROM drive 142 and floppy (registered trademark) disk drive 141 and installed in the hard disk drive 140.

あるいは、別の例として、レイアウト編集アプリケーション121は、ネットワーク107からホストコンピュータ101内に読み込まれて、ハードディスクドライブ140にインストールされてもよい。   Alternatively, as another example, the layout editing application 121 may be read into the host computer 101 from the network 107 and installed in the hard disk drive 140.

更に、レイアウト編集アプリケーション121を含む各種ソフトウェアは、磁気テープまたはROMまたは集積回路、光磁気ディスクからホストコンピュータ101内にロードされてもよい。または、ホストコンピュータ101とその他のデバイス間における赤外線等の無線通信からホストコンピュータ101内にロードされてもよい。または、PCMCIAカードのようなコンピュータ可読カード、そしてEメール通信やWEBサイト上の記録情報を持つインターネットやイントラネットを含む他の適当なコンピュータからホストコンピュータ101内にロードされてもよい。これらは、コンピュータ可読媒体の例であり、他のコンピュータ可読媒体が使用されてもよいことは明らかである。   Furthermore, various software including the layout editing application 121 may be loaded into the host computer 101 from a magnetic tape, ROM, integrated circuit, or magneto-optical disk. Alternatively, it may be loaded into the host computer 101 from wireless communication such as infrared rays between the host computer 101 and other devices. Alternatively, it may be loaded into the host computer 101 from a computer readable card such as a PCMCIA card and other suitable computers including the Internet or intranet with recorded information on e-mail communications or WEB sites. These are examples of computer readable media and it will be appreciated that other computer readable media may be used.

図1Aにおいて、レイアウト編集アプリケーション121は、ホストコンピュータ101にバリアブルプリント(バリアブルデータプリント(VDP)ともいう)を実現させるものである。このレイアウト編集アプリケーション121は、2つのソフトウェアコンポーネント、即ち、レイアウトエンジン105とユーザインタフェース103を含んでいる。   In FIG. 1A, a layout editing application 121 causes the host computer 101 to implement variable printing (also referred to as variable data printing (VDP)). The layout editing application 121 includes two software components, that is, a layout engine 105 and a user interface 103.

レイアウトエンジン105は、フィールド領域(部分領域)であるコンテナ(矩形の範囲)に与えられたサイズや位置の制限に従って、データベース119にレコード単位で格納されているバリアブルデータから1レコードずつ読み込む。そして、読み込んだバリアブルデータとコンテナの制限とから、読み込んだバリアブルデータが流し込まれるコンテナのサイズや位置等のレイアウトを計算するソフトウェアコンポーネントである。   The layout engine 105 reads one record at a time from the variable data stored in the database 119 in units of records in accordance with the size and position restrictions given to the container (rectangular range) that is the field area (partial area). A software component that calculates a layout such as a size and a position of a container into which the read variable data is flowed from the read variable data and the restriction of the container.

また、本実施形態では、レイアウトエンジン105は、更に、コンテナに割り当てられたバリアブルデータを描画し、バリアブルデータドキュメントのイメージを生成する処理も行う。但し、本発明は、これに限るものではなく、レイアウトエンジン105は、各部分領域(コンテナ)のサイズと位置を決定するアプリケーションとして動作し、プリンタドライバ(不図示)に描画情報を出力する。これにより、プリンタドライバがバリアブルデータドキュメントのイメージ描画処理を行い、印刷データを生成してもよい。   In the present embodiment, the layout engine 105 also performs processing for drawing variable data assigned to a container and generating an image of a variable data document. However, the present invention is not limited to this, and the layout engine 105 operates as an application for determining the size and position of each partial area (container) and outputs drawing information to a printer driver (not shown). Thus, the printer driver may perform image drawing processing of the variable data document and generate print data.

ユーザインタフェース103は、ユーザによるコンテナのレイアウトや属性設定を可能とし、ユーザにドキュメントテンプレート(テンプレート情報とも呼ぶ)を作成させる。また、ユーザインタフェース103は、ドキュメントテンプレート内の各コンテナとデータソース(データベース119上のバリアブルデータ(コンテンツ))とを関連付けるメカニズムを提供する。ユーザインタフェース103とレイアウトエンジン105は、通信チャネル123を介して通信する。   The user interface 103 allows the user to set a container layout and attributes, and allows the user to create a document template (also referred to as template information). The user interface 103 also provides a mechanism for associating each container in the document template with a data source (variable data (content) on the database 119). The user interface 103 and the layout engine 105 communicate via a communication channel 123.

バリアブルデータドキュメント生成のためのデータソースは、一般的には、データベースアプリケーションを実行している、他のコンピュータで構成されるデータベースサーバ117上にある典型的なデータベース119が挙げられる。   A data source for generating a variable data document generally includes a typical database 119 on a database server 117 composed of another computer running a database application.

ホストコンピュータ101は、ネットワーク107を介して、データベースサーバ117と通信する。レイアウト編集アプリケーション121は、ホストコンピュータ101、あるいは、一般的には、他のコンピュータで構成されるファイルサーバ115に保存されるドキュメントテンプレートを生成する。   The host computer 101 communicates with the database server 117 via the network 107. The layout editing application 121 generates a document template stored in the host computer 101 or, in general, a file server 115 constituted by another computer.

また、レイアウト編集アプリケーション121は、バリアブルデータとマージされたドキュメントテンプレートによって構成されたバリアブルデータドキュメントを生成する。これらのバリアブルデータドキュメントは、ホストコンピュータ101のローカルファイルシステムやファイルサーバ115に保存されるか、あるいはプリントサーバ109を介してプリンタ113に直接印刷される。   Further, the layout editing application 121 generates a variable data document composed of a document template merged with the variable data. These variable data documents are stored in the local file system of the host computer 101 or the file server 115 or printed directly on the printer 113 via the print server 109.

ここで、プリントサーバ109は、直接ネットワーク107に接続されていないプリンタ113に、ネットワーク機能を提供するコンピュータである。プリントサーバ109とプリンタ113は、典型的な通信チャネル111(例えば、USB、IEEE1394、無線LAN等)を介して接続される。   Here, the print server 109 is a computer that provides a network function to the printer 113 that is not directly connected to the network 107. The print server 109 and the printer 113 are connected via a typical communication channel 111 (for example, USB, IEEE 1394, wireless LAN, etc.).

次に、バリアブルプリントシステム100の別構成例について、図1Cを用いて説明する。   Next, another configuration example of the variable print system 100 will be described with reference to FIG. 1C.

図1Cは本発明の実施形態の情報処理システムの別構成を示す図である。   FIG. 1C is a diagram showing another configuration of the information processing system according to the embodiment of this invention.

図1Cは、ネットワーク107上にエンジンサーバ227を追加して、このエンジンサーバ227にレイアウトエンジン225を構成した例を示している。つまり、ホストコンピュータ101内のレイアウトエンジン105を、エンジンサーバ227内で実現した構成である。この構成の場合、ホストコンピュータ101の処理負荷を軽減することができる。   FIG. 1C shows an example in which an engine server 227 is added on the network 107 and a layout engine 225 is configured on the engine server 227. That is, the layout engine 105 in the host computer 101 is realized in the engine server 227. In the case of this configuration, the processing load on the host computer 101 can be reduced.

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

<レイアウト編集アプリケーションの概要>
まず、バリアブルデータプリントの概略について、図2を用いて説明する。
<Outline of layout editing application>
First, an outline of variable data printing will be described with reference to FIG.

図2は本発明の実施形態のバリアブルデータプリントの概略を説明するための図である。   FIG. 2 is a diagram for explaining the outline of variable data printing according to the embodiment of the present invention.

レイアウト編集アプリケーション121のユーザインタフェース103により、ユーザからの操作指示に従いページ上に複数のコンテナ181〜183を配置する。そして、各コンテナに位置やサイズに関する制約条件を付与することによりドキュメントテンプレート180が生成される。   With the user interface 103 of the layout editing application 121, a plurality of containers 181 to 183 are arranged on the page in accordance with an operation instruction from the user. Then, a document template 180 is generated by giving a constraint condition regarding position and size to each container.

また、ユーザインタフェース103は、ドキュメントテンプレート180とデータソース190(例えば、データベース119)との関連付け、更に各コンテナとデータソース190内の各データフィールドとの関連付けを行う。各コンテナとデータソース190内の各データフィールドとの関連付けを示す関連付け情報は、ドキュメントテンプレート180内に記述され、該ドキュメントテンプレート180は、HDD140に格納される。また、データソース190は、レコード単位で項目データが記載されているファイルであり、HDD140に格納されている。   In addition, the user interface 103 associates the document template 180 with the data source 190 (for example, the database 119), and further associates each container with each data field in the data source 190. Association information indicating the association between each container and each data field in the data source 190 is described in the document template 180, and the document template 180 is stored in the HDD 140. The data source 190 is a file in which item data is described in units of records, and is stored in the HDD 140.

レイアウトエンジン105は、ユーザからの印刷指示もしくはプレビュー指示に応じて、ドキュメントテンプレート180の各コンテナ181〜182に、関連付け情報で関連付けられたデータをデータソース190から読み込む。次に、その読み込んだデータをレコード単位で流し込み(例えば、データレコード1のデータフィールドA〜Cをコンテナ181〜183へ流し込む)、流し込まれたデータに応じて各コンテナのサイズ等を調整(レイアウト調整)する。   The layout engine 105 reads from the data source 190 the data associated with the association information in each of the containers 181 to 182 of the document template 180 in accordance with a print instruction or preview instruction from the user. Next, the read data is flowed in units of records (for example, the data fields A to C of the data record 1 are flown into the containers 181 to 183), and the size and the like of each container are adjusted according to the flowed data (layout adjustment) )

プレビュー指示の場合は、レイアウト調整されたドキュメントイメージを生成し、ディスプレイ装置144の画面上にプレビューとして表示するべく出力される。また、印刷指示の場合は、レイアウトエンジン105もしくはプリンタドライバを用いて生成したドキュメントイメージを印刷データとしてプリントサーバ109へ出力する。データレコード1,2,3…を順次処理することにより、バリアブルデータプリントが実現されることになる。   In the case of a preview instruction, a document image whose layout has been adjusted is generated and output to be displayed as a preview on the screen of the display device 144. In the case of a print instruction, a document image generated using the layout engine 105 or the printer driver is output to the print server 109 as print data. By sequentially processing the data records 1, 2, 3,..., Variable data printing is realized.

<レイアウト編集アプリケーションの説明>
以下、レイアウト編集アプリケーション121について説明する。
<Description of layout editing application>
Hereinafter, the layout editing application 121 will be described.

まず、ユーザインタフェース103によって実現されるユーザインタフェースの一例について、図3を用いて説明する。   First, an example of a user interface realized by the user interface 103 will be described with reference to FIG.

[メインウインドウ]
図3は本発明の実施形態のユーザインタフェースの一例を示す図である。
[Main window]
FIG. 3 is a diagram showing an example of a user interface according to the embodiment of the present invention.

図3に示すように、ユーザインタフェース103は、操作時にアプリケーションウインドウ301によって形成されたユーザインタフェースをディスプレイ装置144に表示させる。このアプリケーションウインドウ301は、メニューバー302、ツールバー303、ワークエリア306とオプションのパレット311を有する。   As shown in FIG. 3, the user interface 103 causes the display device 144 to display the user interface formed by the application window 301 during operation. The application window 301 includes a menu bar 302, a tool bar 303, a work area 306, and an optional palette 311.

メニューバー302とツールバー303は非表示にしたり、画面上の色々な場所に移動することが可能である。また、ワークエリア306は、マウス133の操作によってその場所を移動させることが可能である。また、パレット311はオプションであり、目的に応じて表示/非表示を制御することができる。更に、カーソル/ポインタ313は、マウス133の指示位置を表示する。   The menu bar 302 and the tool bar 303 can be hidden or moved to various places on the screen. The work area 306 can be moved by operating the mouse 133. The palette 311 is an option, and display / non-display can be controlled according to the purpose. Further, the cursor / pointer 313 displays the designated position of the mouse 133.

メニューバー302は、周知の技術として知られているように、メニューオプションの階層の下に拡張される多くのメニューアイテム304を有する。   Menu bar 302 has a number of menu items 304 that extend below the hierarchy of menu options, as is known in the art.

ツールバー303は、アプリケーションの特別なモードによって非表示状態にする、または表示状態にすることが可能な多くのツールボタンとウィジット(部品)305を有する。   The toolbar 303 has many tool buttons and widgets (parts) 305 that can be hidden or displayed depending on a special mode of the application.

ルーラー308はオプションであり、ワークエリア306内のポインタ、ページ、ライン、マージンガイド、コンテナまたはオブジェクトの位置を示すために使用される。   Ruler 308 is optional and is used to indicate the position of a pointer, page, line, margin guide, container or object within work area 306.

パレット311は、バリアブルデータライブラリのような追加機能にアクセスするために使われる。パレット311は、移動、リサイズ、クローズをするためのウインドウコントロール312を有する。また、パレット311は、ワークエリア306の前面に表示したり、あるいはオブジェクトの背面に隠すことができる。更に、パレット311は、アプリケーションウインドウ301の範囲内のみにその表示を制限したり、アプリケーションウインドウ301の外側にその一部或いは全体を表示することが可能である。   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. The palette 311 can be displayed in front of the work area 306 or hidden behind the object. Further, the display of the palette 311 can be limited only within the range of the application window 301, or a part or the whole of the palette 311 can be displayed outside the application window 301.

ツールバー303には、図4に示されるような、ユーザが選択可能な複数種類の『ボタン』403〜406が配置されている。   On the tool bar 303, as shown in FIG. 4, a plurality of types of “buttons” 403 to 406 that can be selected by the user are arranged.

(1)選択ツールボタン403:コンテナの辺を選択、移動、サイズ変更、リサイズそしてロック/ロック解除のために使われる。コンテナの選択は、コンテナの周囲に選択ボックスをドラッグすることによりなされる。また、キーボード132上のCTRLキーを押しながら、複数のコンテナについて選択操作をすることによって、複数のコンテナを選択可能である。   (1) Selection tool button 403: Used for selecting, moving, resizing, resizing, and locking / unlocking a container edge. The container is selected by dragging a selection box around the container. Further, a plurality of containers can be selected by performing a selection operation on the plurality of containers while pressing the CTRL key on the keyboard 132.

(2)テキストコンテナツールボタン404:スタティックあるいはバリアブルテキストを有するコンテナを作成するために使用される。   (2) Text container tool button 404: used to create a container having static or variable text.

(3)イメージコンテナツールボタン405:スタティックあるいはバリアブルイメージを有するコンテナを作成するために使用される。   (3) Image container tool button 405: used to create a container having a static or variable image.

(4)リンクツールボタン406:コンテナ間に関連付けを行うリンクを作成するために使われ、リンクの距離をコントロールするためにも使用される。   (4) Link tool button 406: used to create a link for associating containers, and also used to control the distance of the link.

尚、これらのボタンは、周知の技術で知られているように、操作状況に合わせて変化するアイコンのツールチップとして実装される。   These buttons are mounted as icon tool tips that change according to the operation status, as is well known in the art.

また、アプリケーションウインドウ301は、ページ内に各コンテナやリンクをレイアウトすることで、基本レイアウトを決定することができる。基本レイアウトとは、バリアブルデータプリントで基本となるレイアウトのことである。基本レイアウト内の各コンテナが固定コンテナである場合は、すべてのレコードの印刷結果のレイアウトは同じになる。   The application window 301 can determine a basic layout by laying out containers and links in a page. The basic layout is a basic layout for variable data printing. If each container in the basic layout is a fixed container, the layout of the print results of all records is the same.

また、基本レイアウト内の各コンテナが後述する動的コンテナである場合は、レコード単位に読み込まれるデータの量やサイズにより各コンテナのサイズや位置が、後述する制約の範囲内で変動することになる。   In addition, when each container in the basic layout is a dynamic container described later, the size and position of each container vary within the constraints described later depending on the amount and size of data read in record units. .

よって、レイアウト編集アプリケーション121で作成されるドキュメントテンプレートは、あくまで基本レイアウトを決定するものである。そのため、動的コンテナが含まれる場合は、最終的な印刷物のレイアウトは読み込まれるデータによりレイアウト調整されることになる。   Therefore, the document template created by the layout editing application 121 only determines the basic layout. Therefore, when a dynamic container is included, the layout of the final printed matter is adjusted according to the read data.

一方、この動的コンテナに対して、コンテナのサイズや位置が固定であるものを、静的コンテナと呼ぶ。   On the other hand, a container whose size and position are fixed with respect to this dynamic container is called a static container.

[ドキュメントテンプレート]
図3において、ワークエリア306は、ドキュメントテンプレート(180:基本レイアウト)のデザインを表示・編集するために使われる。これは、ユーザがドキュメントテンプレートをデザインする過程において、印刷されるドキュメントの概観をユーザに提示することを可能とする。これにより、ユーザは、データソース(190)とマージされたドキュメントが、バリアブルデータの量・サイズに基づいてどのように変化するかを容易に理解することができる。
[Document Template]
In FIG. 3, a work area 306 is used to display / edit the design of a document template (180: basic layout). This allows the user to be presented with an overview of the document to be printed in the process of designing the document template. Thus, the user can easily understand how the document merged with the data source (190) changes based on the amount and size of the variable data.

また、データソースがドキュメントテンプレートに関連付けられていた場合は、現在のドキュメントのプレビューができるように、対応するバリアブルテキストやイメージがレイアウトされた各コンテナに表示される。   When the data source is associated with the document template, the corresponding variable text or image is displayed in each laid out container so that the current document can be previewed.

ドキュメントテンプレートにおけるドキュメント構造とコンテナを描写する視覚的な手がかり(コンテナの枠線、アンカー、スライダー、リンク等)は、ドキュメントテンプレート作成時には常に表示される。また、バリアブルデータを流し込むプレビュー時には、視覚的な手がかりは、カーソルをコンテナ上に移動させたときや、コンテナを選択したときに表示される。   Visual cues (container borders, anchors, sliders, links, etc.) describing the document structure and containers in the document template are always displayed when the document template is created. Further, at the time of previewing the variable data, visual cues are displayed when the cursor is moved over the container or when a container is selected.

ワークエリア306は、スクロールバー307と、オプションのルーラー308と、ドキュメントテンプレート309を含む。ドキュメントテンプレート309は、ページが複数あることを示すことができる。また、ドキュメントテンプレート309は、図2のドキュメントテンプレート180に相当するものである。   The work area 306 includes a scroll bar 307, an optional ruler 308, and a document template 309. The document template 309 can indicate that there are a plurality of pages. The document template 309 corresponds to the document template 180 in FIG.

与えられたドキュメントテンプレートのページサイズは、周知の技術を用いて、ユーザによって指定される。例えば、メニューの「ファイル」から「ページ設定」を選択することでページサイズを設定するダイアログを表示し、そこでユーザが指定したページサイズが反映されることになる。   The page size of a given document template is specified by the user using well-known techniques. For example, a dialog for setting the page size is displayed by selecting “Page setting” from the “File” menu, and the page size specified by the user is reflected there.

それぞれのドキュメントでの実際のページ数は、関連付けられたデータソース内のバリアブルデータによって変化する可能性がある。これは、ドキュメントテンプレート内に動的表のように、バリアブルデータの量により大きさが変更されるフィールドが設定されている場合である。つまり、この場合には、1ページ内にバリアブルデータをフィットできないバリアブルデータが読み込まれると、追加のページが自動的に作成されるからである。   The actual number of pages in each document can vary depending on the variable data in the associated data source. This is a case where a field whose size is changed according to the amount of variable data, such as a dynamic table, is set in the document template. That is, in this case, when variable data that cannot fit variable data in one page is read, an additional page is automatically created.

それぞれのページ内に示される境界線310は、ページ上の印刷可能なオブジェクトの最大幅を示す、任意のページマージンである。   The border 310 shown in each page is an arbitrary page margin that indicates the maximum width of a printable object on the page.

また、図4では、1ページのドキュメントテンプレート309上に表示され得るオブジェクトの例を示している。   FIG. 4 shows an example of objects that can be displayed on the document template 309 of one page.

このようなオブジェクトとしては、コンテナ407、408と、任意に適用するアンカーアイコン409、固定されている辺411、414、固定されていない辺410、リンク412、そしてスライダー413がある。   Examples of such objects include containers 407 and 408, an anchor icon 409 to be arbitrarily applied, fixed sides 411 and 414, non-fixed sides 410, links 412, and a slider 413.

アンカーアイコン409は、コンテナの矩形の角、辺、またはコンテナの中央に設定することが可能である。アンカーアイコン409が設定されると、設定された個所の位置が固定となる。つまり、図4の例では、アンカーアイコン409は、コンテナ407の左上の角に設定されている。そのため、コンテナ407はバリアブルデータが流し込まれ、バリアブルデータの画像サイズもしくはテキスト量が多い場合には、右方向及び下方向に拡大可能であることを示している。   The anchor icon 409 can be set at a corner of the container rectangle, a side, or the center of the container. When the anchor icon 409 is set, the position of the set location is fixed. That is, in the example of FIG. 4, the anchor icon 409 is set at the upper left corner of the container 407. Therefore, the container 407 indicates that the variable data can be expanded in the right direction and the downward direction when the variable data has a large image size or text amount.

一方、アンカーアイコン409が辺に設定されている場合は、その辺が固定となり、その他の3辺の各方向に拡大可能である。また、アンカーアイコン409がコンテナの中央に設定されている場合は、コンテナの中央位置が固定となり、コンテナ矩形の中央位置が変わらないように、4方向に拡大可能である。   On the other hand, when the anchor icon 409 is set to a side, the side is fixed and can be enlarged in each of the other three sides. When the anchor icon 409 is set at the center of the container, the center position of the container is fixed and can be expanded in four directions so that the center position of the container rectangle does not change.

リンク412についての詳細は後述するが、これは、コンテナ407とコンテナ408が関連付けられていることを示しており、このリンク412に設定されている長さ(範囲指定可能)を保ちつつ、コンテナ408が右方向に移動可能であることを示している。スライダー413は、設定されている辺と水平方向に移動可能であることを示している。   Although details regarding the link 412 will be described later, this indicates that the container 407 and the container 408 are associated with each other, and the container 408 is maintained while maintaining the length (range can be specified) set in the link 412. Indicates that it can move rightward. The slider 413 indicates that it can move in the horizontal direction with respect to the set side.

[コンテナ]
次に、データベース中の各レコードに含まれる複数種類のデータフィールドのデータを差し込むためのフィールド領域であるコンテナについて説明する。
[container]
Next, a description will be given of a container that is a field area for inserting data of a plurality of types of data fields included in each record in the database.

コンテナは、ドキュメントテンプレート内にバリアブルデータファイルから固定あるいは可変のテキスト/イメージ(複数種類のデータフィールドのデータ)が流し込まれ、描画されるフィールド領域(これを部分領域と呼ぶ)である。そして、このコンテナは、図4に示されるように他のコンテナやオブジェクトと共にレイアウトされる。ユーザインタフェース103を介して、ユーザからの操作指示により、コンテナは、マウス133の操作により移動、サイズ調整、再作成される。   A container is a field area (called a partial area) in which fixed or variable text / images (data of a plurality of types of data fields) are poured from a variable data file into a document template. This container is laid out together with other containers and objects as shown in FIG. The container is moved, adjusted in size, and recreated by operating the mouse 133 in accordance with an operation instruction from the user via the user interface 103.

より正確には、コンテナは、設定の集まり、視覚的表現、そしてインタラクションと編集動作をもっている。以下、本実施形態におけるコンテナの定義を示す。   More precisely, a container has a collection of settings, a visual representation, and interaction and editing operations. Hereinafter, the definition of the container in this embodiment is shown.

(1)コンテナは、固定あるいは可変のコンテンツを持つ。可変コンテンツ(バリアブルデータ)は、データソースから取得したデータがドキュメント毎、つまり、レコード毎に異なる可能性があるという意味でダイナミック(動的)であるということができる。但し、本実施形態の可変コンテンツは、アニメーション化されたもの、あるいは他の方法で時間的に変化するコンテンツは印刷には適していないため、ここでは、意図していない。   (1) A container has fixed or variable content. Variable content (variable data) can be said to be dynamic in the sense that data acquired from a data source may vary from document to document, that is, from record to record. However, the variable content of the present embodiment is not intended here because it is animated or content that changes with time in another way is not suitable for printing.

同様に、固定コンテンツは、コンテナを使って生成される全てのドキュメントで、同じように表示される。しかしながら、可変コンテンツとリンクが設定されている場合、可変コンテンツの影響を受けて、固定コンテンツはそれぞれのドキュメントで位置が異なる可能性がある。   Similarly, fixed content is displayed in the same way in all documents generated using the container. However, when the variable content and the link are set, the position of the fixed content may be different in each document due to the influence of the variable content.

(2)コンテナは、コンテンツに適用される背景色、ボーダー、フォント・スタイルのようなテキスト設定と同様の装飾機能を持っている。このような設定を、コンテナ属性と呼ぶ。コンテナ属性は、各コンテナごとに設定可能であるが、あるコンテナと同じコンテナ属性であるという設定を行うことも可能である。   (2) The container has a decoration function similar to the text setting such as the background color, border, font style applied to the content. Such a setting is called a container attribute. The container attribute can be set for each container, but it is also possible to set the same container attribute as a certain container.

(3)コンテナは、ドキュメントを生成する際にデータソースからのデータとマージされる。装飾機能は、どんな固定コンテンツでもそうであるように、印刷された出力物において可視である。可変コンテンツは、データソースからの特定のデータの表示を提供する。コンテナのこの表現は、例えば、印刷されるか、ディスプレイ装置144のスクリーン上に表示されるか、その両方が可能である。   (3) The container is merged with data from the data source when generating the document. The decoration function is visible in the printed output, as is any fixed content. Variable content provides an indication of specific data from a data source. This representation of the container can be printed or displayed on the screen of the display device 144, for example.

(4)コンテナは、図4に示されるように視覚的な手がかりとしてのユーザインタフェースを有している。例えば、コンテナの編集そして表示設定のためのインタラクティブなグラフィカルユーザインタフェース(GUI)を有する。GUIコンポーネントは、ディスプレイ装置144のスクリーン上に表示されるが、ドキュメントとしては印刷されない。レイアウト編集アプリケーション121のユーザインタフェース103は、背景色やフォントのようなコンテナの装飾機能のいくつかを表示し、さらにコンテナの設定の編集や表示を可能にするための機能を有している。   (4) The container has a user interface as a visual clue as shown in FIG. For example, it has an interactive graphical user interface (GUI) for container editing and display settings. The GUI component is displayed on the screen of the display device 144 but is not printed as a document. The user interface 103 of the layout editing application 121 displays some of the container decoration functions such as the background color and font, and further has a function for enabling editing and display of container settings.

ユーザインタフェースの機能の特別な目的の例としては、ボーダー、あるいは、コンテナのサイズや位置を対話的に変更、表示するための角アイコンがある。あるいは、コンテナがデータソースからデータをマージされたとき、コンテナの動作を示すための上塗りした数、線、アイコン、テキストがある。   An example of a special purpose of the user interface function is a corner icon for interactively changing and displaying the size or position of a border or container. Alternatively, when a container is merged with data from a data source, there are overprinted numbers, lines, icons, and text to indicate the container's operation.

[コンテナの制約]
コンテナはそれぞれのドキュメントで表示されるコンテンツをどのように結びつけるかの制御に関する制約がある。これらの制約(固定/可変コンテンツをコンテナと結びつけることを含む)は、ユーザが一つのドキュメントテンプレートから多数のドキュメントの生成をコントロールする主要な方法である。
[Container constraints]
Containers have restrictions on controlling how the content displayed in each document is linked. These constraints (including linking fixed / variable content with containers) are the primary way for users to control the generation of multiple documents from a single document template.

制約の一つの例には、『このコンテナのコンテンツの高さは最大4インチです』がある。また、別の制約の例には、『コンテナのコンテンツの左辺は、それぞれのドキュメントにおいて同じ水平位置で表示しなければならない』がある。ここに記述される内容は、GUIを使ってこのような制約を表示、編集するためのいろいろな方法である。   One example of a constraint is “the content height of this container is a maximum of 4 inches”. Another example of the constraint is “the left side of the container contents must be displayed at the same horizontal position in each document”. The contents described here are various methods for displaying and editing such constraints using a GUI.

イメージがページ上に定義された場所を持っているように、固定コンテンツの配置を指定するコンテンツプレイスホルダーは、デジタル印刷技術でよく知られている。コンテナは、位置とサイズを持ち、それらは公知の技術で知られている手法で編集され、表示される。よって、以下の説明では、バリアブルデータプリントに特化した方法における表示・編集に焦点を合わせる。   Content placeholders that specify the placement of fixed content so that the image has a defined location on the page are well known in digital printing technology. A container has a position and a size, and they are edited and displayed by a method known in a known technique. Therefore, the following description focuses on display / editing in a method specialized for variable data printing.

コンテナを用いることにより、ユーザは、ドキュメントにおけるコンテンツのサイズ(描画サイズ)や位置を指定することが可能となる。いく種類ものドキュメントが一つのドキュメントテンプレートから生成されるので、コンテナに多数の可能性と制約を設定することになるが、これらの設定(指定)や表示のために所定のユーザインタフェースが利用される。   By using the container, the user can specify the size (drawing size) and position of the content in the document. Since many types of documents are generated from a single document template, many possibilities and restrictions are set in the container, and a predetermined user interface is used for setting (designating) and displaying these. .

1つのコンテナの辺は、関連付けられたコンテンツがドキュメント内で表示される仮想の境界線を定義する。従って、コンテナの左辺を論じることは、関連付けられたコンテンツが、各ドキュメントにおいて、表示可能であるエリア内の最も左の辺を論じることと同じである。   An edge of one container defines a virtual border where the associated content is displayed in the document. Thus, discussing the left side of the container is the same as discussing the leftmost side in the area where the associated content is displayable in each document.

同様に、コンテナの高さを論じることは、生成されたドキュメントで関連付けられたコンテンツの高さの制約を論じることとして理解される。本明細書では、ユーザインタフェース103を参照して、コンテナの辺あるいは大きさを論じるところで、この区別は明らかにされるであろう。   Similarly, discussing container height is understood as discussing content height constraints associated with the generated document. In the present specification, this distinction will be clarified when discussing the side or size of the container with reference to the user interface 103.

以下の記載において、コンテンツの表示を制限するために使われるある値を定義している用語『固定』は、全てのドキュメントで同じである。   In the following description, the term “fixed” that defines a value used to limit the display of content is the same for all documents.

(1)コンテナの幅が固定である場合、関連付けられたコンテンツに割り当てられる幅は、全てのドキュメントで同じになる。   (1) When the width of the container is fixed, the width assigned to the associated content is the same for all documents.

(2)コンテナの高さが固定である場合、関連付けられたコンテンツに割り当てられる高さは、全てのドキュメントで同じになる。   (2) If the height of the container is fixed, the height assigned to the associated content is the same for all documents.

(3)距離(リンクの長さ)が固定である場合、指定された距離は全てのドキュメントにおける制約となる。   (3) When the distance (link length) is fixed, the specified distance becomes a constraint in all documents.

(4)コンテナの左右辺が固定の場合、ページに関する辺の水平位置は全てのドキュメントで同じであることを意味している。但し、コンテナの高さあるいは垂直方向の位置は、変化する可能性がある。例えば、コンテナの左辺が固定である場合、関連付けられたコンテンツの表示位置は、全てのドキュメントでその左辺の位置は同じ水平位置となる。しかしながら、あるドキュメントではページの上の方に表示され、他のドキュメントではページの下の方に表示される可能性がある。   (4) When the left and right sides of the container are fixed, it means that the horizontal position of the side regarding the page is the same in all documents. However, the height or vertical position of the container may change. For example, when the left side of the container is fixed, the display position of the associated content is the same horizontal position in all documents. However, some documents may be displayed at the top of the page and others may be displayed at the bottom of the page.

(5)コンテナの上下辺が固定の場合、ページにおける辺の垂直位置は全てのドキュメントで同じとなることを意味している。但し、コンテナの幅あるいは水平位置はドキュメントによって変わる可能性がある。   (5) When the upper and lower sides of the container are fixed, it means that the vertical position of the side on the page is the same for all documents. However, the width or horizontal position of the container may change depending on the document.

(6)コンテナの垂直軸は、コンテナの右辺と左辺に平行で、それらの中間に位置される仮想の垂直線である。もしコンテナの垂直軸が固定なら、当該コンテナの左右辺の水平位置の平均(即ち、左右の中央位置)は、すべてのドキュメントで同じとなる。この制約において、コンテナの幅は変化する可能性がある。しかしながら、左右辺が垂直軸にもっとも遠いものからもっともものまで、垂直軸は全てのドキュメントで同じ水平位置となる。尚、コンテナの高さと垂直位置はこの制約によって影響されない。   (6) The vertical axis of the container is a virtual vertical line that is parallel to the right side and the left side of the container and located between them. If the vertical axis of the container is fixed, the average of horizontal positions of the left and right sides of the container (that is, the center position of the left and right) is the same for all documents. Under this constraint, the width of the container can change. However, the vertical axis is the same horizontal position in all documents, with the left and right sides being the furthest to the most on the vertical axis. Note that the height and vertical position of the container are not affected by this restriction.

(7)同様に、もし水平軸が固定なら、コンテナの上辺と下辺の平均が同一の垂直方向位置に配置される。但し、コンテナの幅と水平位置はこの制約によって影響されることはない。   (7) Similarly, if the horizontal axis is fixed, the average of the upper and lower sides of the container is placed at the same vertical position. However, the width and horizontal position of the container are not affected by this restriction.

(8)水平軸と垂直軸の両方が固定である場合、コンテナの中心位置が固定されていることを意味する。但し、コンテナの幅・高さは、この制約によって影響されない。   (8) When both the horizontal axis and the vertical axis are fixed, it means that the center position of the container is fixed. However, the width and height of the container are not affected by this restriction.

(9)コンテナの角位置、コンテナの辺の中間位置、あるいはコンテナの中心位置が固定である場合、それぞれの位置はすべてのドキュメントで同じ場所となる。例えば、もしコンテナの左上角が固定なら、配置されたコンテナの左上位置が全てのドキュメントで同じになることを意味している。   (9) When the corner position of the container, the intermediate position of the container side, or the center position of the container is fixed, the respective positions are the same in all documents. For example, if the upper left corner of the container is fixed, it means that the upper left position of the arranged container is the same for all documents.

(10)垂直辺あるいは垂直軸は、ページの左辺もしくは右辺、あるいは左ページマージンもしくは右ページマージン、あるいは他の水平位置に関連付けされて固定することができる。同様に、水平辺あるいは水平軸はページの上辺もしくは下辺、あるいは上下ページマージン、あるいは他の垂直位置に関連付けされて固定することができる。   (10) The vertical side or the vertical axis can be fixed in association with the left or right side of the page, the left page margin or the right page margin, or another horizontal position. Similarly, the horizontal side or horizontal axis can be fixed in association with the top or bottom side of the page, the top and bottom page margins, or other vertical positions.

『固定』の反対は、コンテナの辺、軸、角、中間位置、あるいはドキュメント制約がドキュメント間(レコード間)で変化するかもしれないことを意味する『可変』である。例えば、ページ内では、バリアブルデータのサイズや量により、動的にレイアウトが変更されることを期待する。一方で、特定のコンテナについては、大きさや位置を固定にしたり、また、ページの角のコンテナの四隅は固定にしたいということを所望する場合がある。   The opposite of “Fixed” is “Variable” which means that the sides, axes, corners, intermediate positions of the container, or document constraints may change between documents (between records). For example, in a page, it is expected that the layout is dynamically changed according to the size and amount of variable data. On the other hand, for a specific container, it may be desired to fix the size and position, or to fix the four corners of the container at the corner of the page.

そのため、レイアウト編集アプリケーション121では、各コンテナ(部分領域)について、辺、軸、角、中間位置等を固定にするか、可変にするかを適宜設定できるようにしている。これにより、ユーザはドキュメントテンプレート180の基本レイアウトを決定する場合に、ユーザが所望とするように基本レイアウトを作成することができる。   For this reason, the layout editing application 121 can appropriately set whether to fix or change the sides, axes, corners, intermediate positions, and the like for each container (partial region). Thereby, when determining the basic layout of the document template 180, the user can create the basic layout as desired by the user.

[コンテナ表示・編集]
−−新規コンテナの作成方法−−
コンテナは、テキストコンテナとイメージコンテナの2種類で記述される。テキストコンテナはテキストおよび埋め込みのイメージを有する。イメージコンテナは、イメージだけを有する。
[Container display / edit]
-How to create a new container-
Containers are described in two types: text containers and image containers. A text container has text and an embedded image. An image container has only images.

図4で示されるように、新規のテキストコンテナあるいはイメージコンテナは、テキストコンテナツール404あるいはイメージコンテナツール405をマウス133でクリックし、ドキュメントテンプレート309上に四角形をドラッグする。これによって、当該ドキュメントテンプレート309上に作成される。   As shown in FIG. 4, for a new text container or image container, the text container tool 404 or the image container tool 405 is clicked with the mouse 133 and a rectangle is dragged onto the document template 309. Thus, the document template 309 is created.

あるいは、コンテナは、所望のテキストコンテナツール404あるいはイメージコンテナツール405をアクティブにした後に、ドキュメントテンプレート309上で単にクリックすることによって作成されるようにしてもよい。この場合、マウス133のクリック操作に応じてデフォルトサイズのコンテナがテンプレート上に挿入されるとともに、当該新規コンテナの寸法等を設定するためのダイアログボックスあるいは他のプロンプトが提供される。   Alternatively, the container may be created by simply clicking on the document template 309 after activating the desired text container tool 404 or image container tool 405. In this case, a default size container is inserted on the template in response to a click operation of the mouse 133, and a dialog box or other prompt for setting the dimensions of the new container is provided.

尚、コンテナサイズは、自動的に前もって定義されるようにしてもよいし、あるいは、計算されたスキーマによって作成・配置される等、種々の方法が考えられる。ここで、生成されたコンテナをマウス等の入力装置により選択し、右クリックでプロパティを指示する等の操作を行うことにより、コンテナのプロパティダイアログが表示され、コンテナの制約を設定することができる。   It should be noted that the container size may be automatically defined in advance, or various methods such as creation / arrangement based on a calculated schema are conceivable. Here, by selecting the generated container with an input device such as a mouse and performing an operation such as specifying a property by right-clicking, the container property dialog is displayed, and the constraints of the container can be set.

[コンテナの表示方法]
図5(A)から(D)は、コンテナの辺に関する表示ルールを例示している。
[Container display method]
FIGS. 5A to 5D illustrate display rules relating to the sides of the container.

レイアウト編集アプリケーション121は、コンテナの辺の状態を表現するために、実線503(アイテム)あるいは点線504を用いて辺を表す。これに加えて、アンカー506、507、509(コンテナの辺の近くに描画される線、形状、アイコン)を用いる。更に、ハンドル502(移動、修正するために領域の辺上あるいは近傍に描画されるコントロール点)、スライダー413(辺の両側に描画される短い並行線、図4参照)、拡縮アイコン505、色を用いる。   The layout editing application 121 represents a side using a solid line 503 (item) or a dotted line 504 in order to express the state of the side of the container. In addition, anchors 506, 507, and 509 (lines, shapes, and icons drawn near the sides of the container) are used. Furthermore, a handle 502 (control points drawn on or near the side of the area for movement and correction), a slider 413 (short parallel lines drawn on both sides of the side, see FIG. 4), an enlargement / reduction icon 505, a color Use.

図5(A)〜(D)に示されるコンテナ表示方法のルールは、以下の通りである。   The rules for the container display method shown in FIGS. 5A to 5D are as follows.

(1)それぞれの辺を固定するために、実線で描画する。   (1) Draw with solid lines to fix each side.

(2)幅が固定の場合は、左と右の辺を実線で描画する。   (2) When the width is fixed, the left and right sides are drawn with solid lines.

(3)高さが固定の場合は、上と下の辺を実線で描画する。   (3) When the height is fixed, the upper and lower sides are drawn with solid lines.

(4)軸は描画しない。   (4) The axes are not drawn.

(5)(1)〜(3)によって描画されていないそれぞれの辺の近くには、拡縮アイコンが描画され、それらの辺を点線で描画する。   (5) An enlargement / reduction icon is drawn near each side not drawn by (1) to (3), and these sides are drawn by dotted lines.

(6)垂直辺と水平辺、あるいは垂直軸と水平軸のそれぞれのペアで、もし両者が固定なら、それらの交差点にアンカーが描画される。   (6) For each pair of vertical side and horizontal side, or vertical axis and horizontal axis, if both are fixed, an anchor is drawn at the intersection.

(7)それぞれの固定辺で、もし辺のどこにもアンカーが描画されていなければ、辺の中央にスライダーが描画される。   (7) For each fixed side, if no anchor is drawn anywhere on the side, a slider is drawn at the center of the side.

(8)垂直及び水平辺、あるいは垂直及び水平軸のそれぞれのペアで、アンカーやスライダーが描画されていない場合、それらの交差点にハンドルが描画される。   (8) If anchors and sliders are not drawn on each pair of vertical and horizontal sides or vertical and horizontal axes, a handle is drawn at the intersection of them.

ルール(1)、(2)、(3)で定義された線は、前述したように固定あるいは制限されているため実線で描画される。ルール(5)のように、可変の辺は、点線で描画される。ルール(6)、(7)、(8)で定義された固定された点は、アンカーを表示し、いくつかの固定された辺は、スライダーを表示し、他はハンドルを表示する。   The lines defined by the rules (1), (2), and (3) are drawn as solid lines because they are fixed or restricted as described above. As in rule (5), the variable side is drawn with a dotted line. Fixed points defined in rules (6), (7), (8) display anchors, some fixed edges display sliders, others display handles.

上記のルールは、ユーザにより後で設定された制約が優先される。つまり、後で別の制約が設定された場合、上記のルールが描画されるべき辺に影響すれば、実線や点線の描画内容が変更されることになる。例えば、もしコンテナがとても小さくアイコンがお互い重なるか、あるいは他の表示機能を不明瞭にするならば、アイコンは異なって、あるいは省略されて描画される可能性がある。   The above rules are given priority over constraints set later by the user. That is, when another constraint is set later, if the above rule affects the side to be drawn, the drawn content of a solid line or a dotted line is changed. For example, if the container is very small and the icons overlap each other or obscure other display functions, the icons may be drawn differently or omitted.

可変の辺が描画される場所は、コンテナのコンテンツに依存する。後に説明するように、ドキュメントテンプレートにコンテンツがマージされて、ユーザインタフェースで可視になることを意味する、『動的な校正処理』が使われる。代わりの実行は、すべてのドキュメントで平均化されるコンテナのコンテンツエリアで、あるいは、可変の辺がユーザインタフェースで、どこにレイアウトされるべきか決定するほかの手段で使われることができる。   The location where the variable side is drawn depends on the content of the container. As will be described later, “dynamic proofing” is used, which means that content is merged into a document template and made visible on the user interface. Alternative implementations can be used in the content area of a container that is averaged over all documents, or in other means of determining where variable edges should be laid out in the user interface.

これらのコンテンツ表現は、コンテナの各辺の状態を表示するグラフィック機能を提供する。その表現の解釈は、下記の通りである。   These content representations provide a graphic function that displays the state of each side of the container. The interpretation of the expression is as follows.

(1)図4の辺410のように、点線は、コンテナのコンテンツに依存してドキュメント内の辺の位置が変化することを意味する。   (1) Like the side 410 in FIG. 4, the dotted line means that the position of the side in the document changes depending on the contents of the container.

(2)実線の辺414は固定されている、あるいはコンテナの幅・高さが固定されている(コンテナ408では、4辺が実線であり、両方が固定されている)ために制限された辺であることを意味する。   (2) Sides that are limited because the side 414 of the solid line is fixed or the width and height of the container are fixed (in the container 408, four sides are solid lines and both are fixed) It means that.

(3)アンカーは、辺および軸が交差した場所が固定されていることを意味する。それゆえ、アンカー点は、すべてのドキュメントの水平、垂直位置で現れることになる。アンカーは当然固定される。図4のアイコン409は、辺414の交差する位置が固定されていることを意味しているアンカーアイコンの例である。   (3) An anchor means that a place where sides and axes intersect is fixed. Therefore, the anchor point appears at the horizontal and vertical positions of all documents. The anchor is naturally fixed. The icon 409 in FIG. 4 is an example of an anchor icon that means that the position where the sides 414 intersect is fixed.

(4)スライダーは、関係付けられた辺の長さが固定されているが、並行移動する可能性があることを意味する。例えば、図4で、スライダー413は、コンテナ408のコンテンツが、ドキュメント内で特定のダイアグラムで表される位置の、左あるいは右に表示されるかもしれない。   (4) The slider means that the associated side has a fixed length, but may move in parallel. For example, in FIG. 4, the slider 413 may be displayed to the left or right where the contents of the container 408 are at a position represented by a particular diagram in the document.

例えば、コンテナ408と関連付けられている(リンク設定されている)コンテナ407に流し込まれるデータの画像サイズもしくはテキスト量が少ない場合は、コンテナ407のサイズが小さくなる。そのため、コンテナ408は、左方向にスライド(並行移動)してレイアウトされて表示されることになる。また、コンテナ407のサイズが大きくなる場合は、逆にコンテナ408は右方向にスライドしてレイアウトされることになる。   For example, when the image size or text amount of data that is flowed into the container 407 associated with the container 408 (linked) is small, the size of the container 407 is small. Therefore, the container 408 is displayed by being laid out by sliding (parallel movement) in the left direction. On the other hand, when the size of the container 407 increases, the container 408 is laid out by sliding in the right direction.

これらのアイコン・辺のいくつかあるいは全ては、どのツール、どのコンテナを、選択・ハイライトあるいはアクティブにするかによって、描画されたりされなかったりする。一般的に、コンテナの辺・アイコンはドキュメントテンプレートのデザインの手助けであるため、印刷物には描画されない。   Some or all of these icons / edges may or may not be drawn depending on which tool, which container is selected, highlighted or activated. In general, the sides and icons of a container are not drawn on a printed matter because they help to design a document template.

尚、前述したように、コンテナの幅・高さの基本値・最小値・最大値の基本パターンの設定は、副次的なダイアログウインドウに表示される。   As described above, the basic pattern settings of the basic value, minimum value, and maximum value of the width / height of the container are displayed in a secondary dialog window.

図5(A)で、コンテナ501は、幅・高さの両方が固定されていない(可変である)。固定された辺503は実線で表現され、可変の辺504は点線で表現されている。拡縮アイコン505は、隣接する辺504が可変であることを示す。他の形態のインジケータを代わりにあるいは追加的に用いてもよい。   In FIG. 5A, the width and height of the container 501 are not fixed (variable). The fixed side 503 is represented by a solid line, and the variable side 504 is represented by a dotted line. The enlargement / reduction icon 505 indicates that the adjacent side 504 is variable. Other forms of indicators may be used instead or additionally.

図5(B)において、コンテナ501は、幅・高さ両方が可変である。アンカーアイコン506が、交差している両方の辺503の角の位置が固定されていることを明示的に表すべく追加されている。   In FIG. 5B, the container 501 is variable in both width and height. An anchor icon 506 has been added to explicitly indicate that the corner positions of both intersecting sides 503 are fixed.

図5(C)において、コンテナ501は、コンテナの幅及び高さの両方が可変であり、任意のアンカーアイコン507で示されるような中心点の周りを平等に広がるという状態を示している。即ち、コンテナ501は、アンカーアイコン507を中心に拡大あるいは縮小が可能である。ここでの拡大/縮小は、アンカーアイコン507の位置が常にコンテナ501の中心点となるようにレイアウト調整される。   In FIG. 5C, the container 501 shows a state in which both the width and height of the container are variable, and the container 501 spreads evenly around the center point as indicated by an arbitrary anchor icon 507. That is, the container 501 can be enlarged or reduced around the anchor icon 507. In this enlargement / reduction, the layout is adjusted so that the position of the anchor icon 507 always becomes the center point of the container 501.

図5(D)において、コンテナ501は、上辺508が固定されているが、幅・高さの両方が可変である。上辺508の中心に位置付けられて示されるアンカーアイコン509は、固定されている。そしてコンテナ501の左辺・右辺(502)は、アンカーアイコン509を通って垂直な中心軸(垂直軸)の周りを、拡大・縮小する。   In FIG. 5D, the upper side 508 of the container 501 is fixed, but both the width and the height are variable. An anchor icon 509 positioned and shown at the center of the upper side 508 is fixed. The left and right sides (502) of the container 501 are enlarged / reduced around the vertical central axis (vertical axis) through the anchor icon 509.

[リンク]
リンクは、コンテナとコンテナの関連を示している。関連とは、コンテナ間の距離を示しており、リンクによって関連付けられたコンテナ同士は、互いのレイアウト変更の影響を受けて動的レイアウト計算を実行する。例えば、上述のように、図4のリンク412は、コンテナ407とコンテナ408とを関連づけている。リンクの設定方法、及びリンクで関連付けられたコンテナの動的レイアウト計算方法については、後述する。
[Link]
The link indicates the relationship between containers. The association indicates a distance between containers, and containers associated by a link execute dynamic layout calculation under the influence of mutual layout changes. For example, as described above, the link 412 in FIG. 4 associates the container 407 and the container 408 with each other. A link setting method and a dynamic layout calculation method for containers associated with the link will be described later.

[リンクの設定方法]
次に、コンテナ同士を関連付けるためのリンクの設定について説明する。
[Link setting method]
Next, setting of a link for associating containers will be described.

図6は本発明の実施形態のリンクの設定処理を示すフローチャートである。また、図7は本発明の実施形態のリンク設定時のユーザインタフェースの遷移例を示す図である。以下、図6及び図7を用いてコンテナにリンクを設定する方法について説明する。   FIG. 6 is a flowchart showing link setting processing according to the embodiment of the present invention. FIG. 7 is a diagram showing a transition example of the user interface at the time of link setting according to the embodiment of the present invention. Hereinafter, a method for setting a link in a container will be described with reference to FIGS. 6 and 7.

まず、ステップS601において、レイアウト編集アプリケーション121は、ユーザインタフェースのワークエリア306上に編集対象の選択されたドキュメントテンプレートを表示する。リンクを設定するためには、リンクを設定するためのコンテナ(最低2つ)がドキュメントテンプレート上に作成されている必要がある。図7(A)〜(C)では、ステップS601で、2つのコンテナを作成してリンクを設定する場合のユーザインタフェースの遷移例を示している。   First, in step S601, the layout editing application 121 displays the selected document template to be edited on the work area 306 of the user interface. In order to set a link, containers (at least two) for setting a link need to be created on the document template. FIGS. 7A to 7C show transition examples of user interfaces when two containers are created and links are set in step S601.

次に、ステップS602において、レイアウト編集アプリケーション121は、リンクツールを選択状態にする(図4のボタン406をクリックすることにより選択状態となる)。   Next, in step S602, the layout editing application 121 selects the link tool (by clicking the button 406 in FIG. 4, the selected state is selected).

図7(A)において、コンテナ701と702はすべて固定されている辺で構成されているものとする。また、703と704は、図4の409と同じであり、アンカーを意味する。705は、マウスポインタを意味している。   In FIG. 7A, it is assumed that the containers 701 and 702 are all composed of fixed sides. 703 and 704 are the same as 409 in FIG. 4 and mean anchors. Reference numeral 705 denotes a mouse pointer.

さて、リンクツールが選択状態となっている間に、ユーザはリンクを設定する2つのコンテナの内の一方(コンテナ701とする)をクリックして選択する。この操作に応じて、レイアウト編集アプリケーション121のユーザインタフェース103は、第1のコンテナが選択されたことを認識し(ステップS603)、選択されたコンテナを特定する情報を保持する。   Now, while the link tool is in the selected state, the user clicks and selects one of the two containers for setting the link (referred to as container 701). In response to this operation, the user interface 103 of the layout editing application 121 recognizes that the first container has been selected (step S603), and holds information for specifying the selected container.

また、以降のマウスカーソルの移動に応じた軌跡を画面に表示するようにする。例えば、図7(B)における線分706は、(A)の状態におけるクリック位置と現在のマウスポインタ705の位置とを結んだ線を示しており、このUIによりどの位置にリンクが設定されるのかをユーザに明示することができる。   Further, the locus corresponding to the subsequent movement of the mouse cursor is displayed on the screen. For example, a line segment 706 in FIG. 7B indicates a line connecting the click position in the state of FIG. 7A and the current position of the mouse pointer 705, and a link is set at which position by this UI. Can be shown to the user.

次に、ユーザは、図7(B)で示されるように、もう一方のコンテナ(コンテナ702)までマウスポインタ705を移動してクリックする。この操作に応じて、ユーザインタフェース103は第2のコンテナが選択されたことを認識し(ステップS604)、選択されたコンテナを特定する情報を保持する。   Next, as shown in FIG. 7B, the user moves the mouse pointer 705 to the other container (container 702) and clicks it. In response to this operation, the user interface 103 recognizes that the second container has been selected (step S604), and holds information for specifying the selected container.

レイアウト編集アプリケーション121は、ステップS603で選択された第1のコンテナと、ステップS604で選択された第2のコンテナとの間にリンクを設定する。   The layout editing application 121 sets a link between the first container selected in step S603 and the second container selected in step S604.

こうして、ユーザにより選択された2つのコンテナ701、702の間にリンクが設定されると、リンク707を表示する(ステップS605)。更に、このリンク設定を受けて、コンテナの表示状態は、図7(C)の状態になる(ステップS606)。   Thus, when a link is set between the two containers 701 and 702 selected by the user, the link 707 is displayed (step S605). Further, in response to this link setting, the display state of the container becomes the state shown in FIG. 7C (step S606).

即ち、リンクが設定されたことにより、コンテナのUIが自動的に変更される。ここでは、リンクによって関連付けられた辺が可変となり、点線で示されている状態を示している。つまり、図7(C)において、708は点線で示されている辺であり、前述した通り可変の辺を示すものである。   In other words, the container UI is automatically changed by setting the link. Here, the side associated by the link is variable and shows a state indicated by a dotted line. That is, in FIG. 7C, reference numeral 708 denotes a side indicated by a dotted line, which indicates a variable side as described above.

尚、図7(C)のようなコンテナの辺の状態の変化は、リンクを設定したことによりコンテナの辺を可変にする必要が生じたことにより自動的に実行されたものである。これは、リンクを設定したにもかかわらず全ての辺が固定であるという矛盾の発生を防ぐことを目的としている。また、709は図5の505と同じで、リンクを設定したことにより、コンテナが変化できる方向をユーザに視覚的に示したマークである。また、図7(C)の例では、左のコンテナの右辺と右のコンテナの左辺が可変な状態へ変化したが、これは一例であり、例えば、右コンテナが図4のスライダー413を持つ設定に変化しても構わない。   Note that the change in the state of the container side as shown in FIG. 7C is automatically executed when it is necessary to make the container side variable by setting the link. This is intended to prevent the occurrence of a contradiction that all sides are fixed despite the link being set. 709 is the same as 505 in FIG. 5 and is a mark that visually indicates to the user the direction in which the container can be changed by setting a link. Further, in the example of FIG. 7C, the right side of the left container and the left side of the right container have changed to a variable state, but this is an example. For example, the setting of the right container having the slider 413 of FIG. It does not matter if it changes.

<レイアウトエンジンによる動的レイアウト計算処理>
[動的レイアウト計算方法(全体フロー)]
本実施形態のレイアウト編集アプリケーション121は、少なくとも2つのモードを備えている。1つのモードは、ユーザインタフェース103を用いてコンテナを作成し、そのコンテナ間に関連付け(リンク設定)を行ってレイアウトを作成するレイアウトモードである。もう1つのモードは、レイアウトエンジン105により、作成したレイアウトにデータソースの各レコードを挿入して、実際にレコードが挿入された後のレイアウト結果をプレビューするプレビューモードである。
<Dynamic layout calculation processing by layout engine>
[Dynamic layout calculation method (overall flow)]
The layout editing application 121 of this embodiment has at least two modes. One mode is a layout mode in which containers are created using the user interface 103, and a layout is created by associating (linking) the containers. The other mode is a preview mode in which the layout engine 105 inserts each record of the data source into the created layout and previews the layout result after the record is actually inserted.

このプレビューモードにおいて、実際のレコードが挿入され、レイアウトを計算する。但し、プレビューモードは、表示上での動的レイアウト計算である。実際に印刷する場合においても、レイアウトエンジン105が各コンテナにデータを挿入してレイアウトを計算するが、その際の計算方法はプレビューモードと同じである。   In this preview mode, the actual record is inserted and the layout is calculated. However, the preview mode is a dynamic layout calculation on the display. Even in the actual printing, the layout engine 105 calculates the layout by inserting data into each container, and the calculation method at that time is the same as the preview mode.

図8は本発明の実施形態の動的レイアウト計算処理を示すフローチャートである。   FIG. 8 is a flowchart showing dynamic layout calculation processing according to the embodiment of the present invention.

まず、プレビューモードが選択される(ステップS801)。プレビューモードになったら、レイアウト編集アプリケーション121は、ユーザにプレビューするレコードをデータソースより選択させ、選択されたレコードの各フィールドデータを各コンテナに挿入する(ステップS802)。   First, the preview mode is selected (step S801). In the preview mode, the layout editing application 121 causes the user to select a record to be previewed from the data source, and inserts each field data of the selected record into each container (step S802).

各コンテナへフィールドデータを挿入すると、レイアウト編集アプリケーション121は、そのレコードをレイアウトするためのレイアウト計算を行い、必要に応じてレイアウト調整を行う(ステップS803)。尚、ステップS803におけるレイアウト計算の詳細については後述する。   When field data is inserted into each container, the layout editing application 121 performs layout calculation for laying out the record, and performs layout adjustment as necessary (step S803). Details of the layout calculation in step S803 will be described later.

そして、レイアウト編集アプリケーション121は、ステップS803で計算されたレイアウトを表示(プレビュー)する(ステップS804)。レイアウト編集アプリケーション121は、他のレコードについてもプレビューを行うかどうかをユーザの指示により判定する(ステップS805)。ステップS805で、他のレコードについてプレビューを行う必要がない場合(ステップS805でNO)、プレビューモードを終了する(ステップS807)。   Then, the layout editing application 121 displays (previews) the layout calculated in step S803 (step S804). The layout editing application 121 determines whether or not to preview other records based on a user instruction (step S805). If it is not necessary to preview another record in step S805 (NO in step S805), the preview mode is terminated (step S807).

一方、他のレコードについてプレビューを行う場合(ステップS805でYES)、レイアウト編集アプリケーション121は、他のレコードを選択して再度レイアウト計算を行い、プレビューを行う(ステップS806)。   On the other hand, when previewing another record (YES in step S805), the layout editing application 121 selects another record, performs layout calculation again, and performs preview (step S806).

尚、プレビューモードでなく印刷時においては、印刷するレコード全てについて順にレイアウトの計算を行う。従って、ステップS804は存在せず、ステップS805は印刷するレコードを全て処理したかの判断を行う。ステップS803で、レイアウト計算された結果を、描画出力して出力し、プリンタドライバを用いて印刷データとして生成し、プリンタに印刷データが出力される。この場合、全てのレコード(印刷対象の指定された全レコード)について印刷データの出力が終了した時点で、本処理を終了することになる。   Note that when printing is performed instead of the preview mode, the layout is calculated in order for all records to be printed. Therefore, step S804 does not exist, and step S805 determines whether all records to be printed have been processed. In step S803, the layout calculation result is rendered and output, and is generated as print data using a printer driver. The print data is output to the printer. In this case, this process is terminated when the output of the print data is completed for all the records (all the records designated to be printed).

[動的レイアウト計算方法(詳細)]
次に、上記ステップS803の動的レイアウト計算の詳細について、図9を用いて説明する。
[Dynamic layout calculation method (details)]
Next, details of the dynamic layout calculation in step S803 will be described with reference to FIG.

図9は本発明の実施形態の動的レイアウト計算処理の詳細を示すフローチャートである。   FIG. 9 is a flowchart showing details of the dynamic layout calculation processing according to the embodiment of the present invention.

尚、図9は、動的レイアウト計算処理についてのみ説明するためのフローチャートであるため、バリアブルデータプリントの1レコードの印刷/プレビュー時の動的レイアウト計算処理に相当する。複数レコードの場合は、下記の処理が繰り返されることになる。   FIG. 9 is a flowchart for explaining only the dynamic layout calculation process, and corresponds to the dynamic layout calculation process at the time of printing / previewing one record of variable data printing. In the case of multiple records, the following processing is repeated.

まず、レイアウト編集アプリケーション121は、レイアウトを計算するコンテナの集合を設定する(ステップS901)。レイアウト計算は、関連付けられたコンテナを一つの集合として計算を行う。   First, the layout editing application 121 sets a set of containers for calculating a layout (step S901). In the layout calculation, the associated containers are calculated as one set.

例えば、図10を参照すると、ページ上に4つのコンテナがレイアウトされており、各コンテナに関連付けが設定されている。この場合、コンテナAとコンテナB、そしてコンテナCとコンテナDがリンクによって関連付けされている。   For example, referring to FIG. 10, four containers are laid out on the page, and an association is set for each container. In this case, container A and container B, and container C and container D are associated by a link.

従って、コンテナA、Bが集合1、コンテナC、Dが集合2となる。即ち、リンクによって接続されたコンテナ群を一つの集合として特定する。前述したように、1101はアンカー、1102は固定された辺、1103はコントローラ、1104は可変の辺の変化方向を示している矢印、1105は可変の辺、1106はリンク、そして、1107はスライダーを示している。   Therefore, containers A and B are set 1, and containers C and D are set 2. That is, the container group connected by the link is specified as one set. 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. Show.

次に、レイアウト編集アプリケーション121は、ステップS901で設定したコンテナの集合から、レイアウトを計算するために一つを選択する(ステップS902)。そして、選択したコンテナの集合について、レイアウトの計算を行う。   Next, the layout editing application 121 selects one for calculating the layout from the set of containers set in step S901 (step S902). Then, the layout of the selected set of containers is calculated.

まず、選択したコンテナの集合に含まれる可変要素である2つのコンテナA、Bについて、流し込まれるデータの画像サイズもしくはテキスト量から各コンテナがなにも制約を受けない場合の大きさを計算する。   First, for the two containers A and B that are variable elements included in the set of selected containers, the size when each container is not subject to any restrictions is calculated from the image size or text amount of the data to be inserted.

具体的には、レイアウト編集アプリケーション121は、コンテナAが画像データ用コンテナであるか、テキスト用コンテナであるかを判定する。この判定は、前述したように、コンテナに対して設定されている属性により判定できる。   Specifically, the layout editing application 121 determines whether the container A is an image data container or a text container. This determination can be made based on the attribute set for the container as described above.

次に、レイアウト編集アプリケーション121は、コンテナAに流し込まれるデータを読み込む。そして、コンテナAが画像データ用コンテナである場合は、その画像データのサイズ(幅、高さのピクセル数、及び解像度)がコンテナAの制約を受けない場合の大きさになる。   Next, the layout editing application 121 reads data to be poured into the container A. When the container A is an image data container, the size of the image data (the width, the number of pixels, and the resolution) is the size when the container A is not restricted.

また、コンテナAがテキスト用コンテナである場合は、そのテキストデータも文字数と、コンテナAのコンテナ属性で指定されている文字属性に基づいて、コンテナAに流し込まれるべきデータ量を計算できる。この文字属性には、例えば、フォントタイプ、フォントサイズ、文字ピッチ、行ピッチ等がある。   When the container A is a text container, the amount of data to be poured into the container A can be calculated based on the number of characters of the text data and the character attribute specified by the container attribute of the container A. Examples of the character attributes include a font type, a font size, a character pitch, and a line pitch.

ここで、テキスト用コンテナの場合は、コンテナAの縦横比が制約を考えないと決定できないため、制約を当てはめる。図10の例では、コンテナAは、左上及び左下の角にアンカーが設定されているため、高さ(縦方向)が固定となる。よって、レイアウト編集アプリケーション121は、コンテナAの基本パターンとして設定されている幅(横方向)のコンテナAに、計算したデータ量(テキスト量)の文字を流し込めるか否かを判定する。   Here, in the case of a text container, since the aspect ratio of the container A cannot be determined without considering the constraint, the constraint is applied. In the example of FIG. 10, since the container A has anchors set at the upper left and lower left corners, the height (vertical direction) is fixed. Therefore, the layout editing application 121 determines whether or not characters of the calculated data amount (text amount) can be poured into the container A having the width (horizontal direction) set as the basic pattern of the container A.

すべての文字を流し込めると判定された場合は、コンテナAは、基本パターンで設定されているサイズ(幅、高さ)に変更はない。また、すべての文字を流し込めないと判定された場合は、コンテナAは、アンカー設定により高さが固定であるため、横方向に伸びることになる。ここで、レイアウト編集アプリケーション121は、コンテナAの幅がどれだけになると、計算したデータ量の文字を流し込めるかを計算し、コンテナAのサイズを算出する。   If it is determined that all characters can be poured, the size of the container A set in the basic pattern (width and height) is not changed. If it is determined that all the characters cannot be poured, the container A is fixed in height due to the anchor setting, and thus extends in the horizontal direction. Here, the layout editing application 121 calculates the size of the container A by calculating how much the width of the container A can be filled with characters of the calculated data amount.

次に、レイアウト編集アプリケーション121は、レイアウトされるコンテナのサイズが、実際のコンテンツのサイズとできる限り差が少なくなるように、レイアウトの最適化を行う(ステップS903)。   Next, the layout editing application 121 optimizes the layout so that the size of the container to be laid out is as small as possible with the actual content size (step 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 containers so that the size can be changed dynamically. Done.

レイアウト編集アプリケーション121は、ステップS902で算出したコンテナの集合のサイズ、つまり、コンテナAとコンテナBとリンク1106(ここでは固定リンク)の合計サイズを計算する。そして、この合計サイズと、基本レイアウトにおける当該コンテナの集合のサイズ(図10の例ではコンテナAとコンテナBのそれぞれのアンカーアイコンの距離に相当する)との差を計算する。コンテナAやコンテナBの幅が大きくなると、前ステップで計算されている場合は、差分値が発生する。レイアウト編集アプリケーション121は、この差分値をコンテナの集合の各要素に均等に分配することでレイアウト調整を行う。   The layout editing application 121 calculates the size of the set of containers calculated in step S902, that is, the total size of the container A, the container B, and the link 1106 (here, a fixed link). Then, the difference between the total size and the size of the set of the containers in the basic layout (corresponding to the distance between the anchor icons of the containers A and B in the example of FIG. 10) is calculated. When the width of the container A or the container B is increased, a difference value is generated when the calculation is performed in the previous step. The layout editing application 121 adjusts the layout by equally distributing the difference value to each element of the set of containers.

次に、レイアウト編集アプリケーション121は、レイアウトの最適化を行い、そのレイアウトがルールに違反しているか否かを判定する(ステップS904)。ルールに違反していない場合(ステップS904でYES)、ステップS905に進む。一方、ルールに違反している場合(ステップS904でNO)、ステップS903に戻り、再度ルールを違反しないように計算をする。   Next, the layout editing application 121 optimizes the layout and determines whether the layout violates the rule (step S904). If the rule is not violated (YES in step S904), the process proceeds to step S905. On the other hand, if the rule is violated (NO in step S904), the process returns to step S903 to perform calculation so as not to violate the rule again.

ここでルールとは、レイアウト作成時にユーザによって設定される制限であり、コンテナのサイズの可変範囲や位置の制限、可変リンクの場合はリンクの長さの変化の制限などである。ルールを違反しないようにレイアウトが計算されたら、その集合のレイアウトは完成される。   Here, the rule is a restriction set by the user at the time of creating the layout, such as a variable range or position of the container size, and a restriction on a change in the link length in the case of a variable link. Once the layout is calculated so that it does not violate the rules, the set layout is completed.

そして、ステップS902〜ステップS904の処理をページ上のすべての集合について施し、レイアウト編集アプリケーション121は、ページ全体のレイアウトの計算が終了したか否かを判定する(ステップS905)。計算が終了していない場合(ステップS905でNO)、ステップS902に戻る。一方、計算が終了している場合(ステップS905でYES)、処理を終了する。   Then, the processes in steps S902 to S904 are performed on all the sets on the page, and the layout editing application 121 determines whether or not the calculation of the layout of the entire page has been completed (step S905). If the calculation has not ended (NO in step S905), the process returns to step S902. On the other hand, if the calculation has ended (YES in step S905), the process ends.

次に、上述の動的レイアウト計算時のUI例について、図11を用いて説明する。   Next, an example UI at the time of the above-described dynamic layout calculation will be described with reference to FIG.

図11は本発明の実施形態の動的レイアウト計算処理におけるユーザインタフェースの一例を示す図である。   FIG. 11 is a diagram showing an example of a user interface in the dynamic layout calculation process according to the embodiment of the present invention.

図11(A)は、あるレコードが挿入されレイアウトが決定されている状態を表している。1001と1002はアンカー、1003と1004は固定された辺、1005は可変の辺、1006は可変の辺の変化方向を示している矢印、1008はリンクをそれぞれ示している。この状態において、レコードを変更し、異なったサイズのコンテンツを挿入する。   FIG. 11A 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.

図11(B)は、図11(A)の状態に新しいコンテンツのサイズを重ねて示している。1009はそれぞれのコンテナに挿入されるコンテンツのサイズを表している。そして、動的レイアウト計算が行われる。   FIG. 11B shows the new content size superimposed on the state of FIG. Reference numeral 1009 denotes the size of content inserted in each container. Then, dynamic layout calculation is performed.

図11(C)は、動的レイアウト計算された結果を示している。計算後の各コンテナのサイズは、実際に挿入されるコンテンツのサイズと同等に差異があるように計算され、且つ前述したルールを違反しないように計算される。図11(C)で示されるように、図11(B)で示した挿入されるコンテンツサイズ1009と計算後のコンテンツサイズ(010は、双方において同等な差異がある。   FIG. 11C shows the result of the dynamic layout calculation. The size of each container 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. 11C, the inserted content size 1009 shown in FIG. 11B and the calculated content size (010) have the same difference in both.

[可変リンクの設定]
図12は本発明の実施形態の可変リンクの設定のためのユーザインタフェースの一例を示す図である。
[Variable link settings]
FIG. 12 is a diagram illustrating an example of a user interface for setting a variable link according to the embodiment of this invention.

図12では、図4と同様に、アプリケーションウインドウ301とツールバー303が構成されている。図12の状態では、ドキュメントテンプレート309上にコンテナ1203とコンテナ1204が存在する。それぞれのコンテナはアンカーアイコン1201、アンカーアイコン1202と固定された辺1205、辺1206を含んで構成されている。   In FIG. 12, an application window 301 and a toolbar 303 are configured as in FIG. In the state of FIG. 12, a container 1203 and a container 1204 exist on the document template 309. Each container includes an anchor icon 1201, an anchor icon 1202, a fixed side 1205, and a side 1206.

コンテナ1203と1204の間には、可変サイズのリンク1209があり、コンテナ1203とコンテナ1204を結んでいる。コンテナ1203とコンテナ1204の間には、リンク1209が設定されているのでそれぞれの右辺1207と左辺1208は点線で表現されている。このため、各コンテナにインジケーター1210、インジケーター1211が表示され、それぞれ辺1207と辺1208が可変であることを示している。   A variable-size link 1209 is provided between the containers 1203 and 1204 and connects the container 1203 and the container 1204. Since a link 1209 is set between the container 1203 and the container 1204, the right side 1207 and the left side 1208 are expressed by dotted lines. For this reason, an indicator 1210 and an indicator 1211 are displayed in each container, indicating that the sides 1207 and 1208 are variable, respectively.

図13は本発明の実施形態のリンク設定機能を実現するユーザインタフェースの一例を示す図である。   FIG. 13 is a diagram illustrating an example of a user interface that implements the link setting function according to the embodiment of this invention.

ここでは、リンク1209の情報(リンクプロパティ)をセットするためのダイアログウインドウ1401の例を示している。このダイアログウインドウ1401は、タイトルバー1402、ツールボタン1403、ダイアログウインドウ1401の開閉を行うボタン1404、各種の情報をセットするエリア1409で構成されている。   Here, an example of a dialog window 1401 for setting the information (link property) of the link 1209 is shown. The dialog window 1401 includes a title bar 1402, a tool button 1403, a button 1404 for opening / closing the dialog window 1401, and an area 1409 for setting various information.

このダイアログウインドウ1401では、リンクタイプが可変長(1407)のリンクであるか、あるいは固定長(1406)のリンクであるかの択一的な選択を行えるラジオボタンからなるリンクタイプフィールド1405が構成されている。   In this dialog window 1401, a link type field 1405 composed of radio buttons that can selectively select whether the link type is a variable length (1407) link or a fixed length (1406) link is configured. ing.

リンクタイプが可変の場合には、リンクの長さの最小値フィールド1410(最小距離)、最大値フィールド1412(最大距離)、ならびに基準値フィールド(距離)からなるリンク距離フィールド1408が構成されている。   When the link type is variable, a link distance field 1408 including a minimum value field 1410 (minimum distance), a maximum value field 1412 (maximum distance), and a reference value field (distance) is configured. .

図13のダイアログウインドウ1401は、例えば、図6及び図7で説明したリンクの設定操作によって2つのコンテナ間にリンクを設定した後に、この設定されたリンクをクリック等の操作によって選択したときに表示される。あるいは、リンクを設定した直後に、当該リンクに関するダイアログウインドウ1401が自動的に表示されるようにしてもよい。ここで、各コンテナ間の距離の基準値1411は、データを流し込んだ際に各コンテナのサイズが変更されない場合に用いられるリンクの長さである。   The dialog window 1401 in FIG. 13 is displayed, for example, when a link is set between two containers by the link setting operation described with reference to FIGS. 6 and 7, and then this link is selected by an operation such as clicking. Is done. Alternatively, immediately after setting a link, a dialog window 1401 regarding the link may be automatically displayed. Here, the reference value 1411 of the distance between containers is the length of a link used when the size of each container is not changed when data is inserted.

次に、可変リンクの設定方法について、図14を用いて説明する。   Next, a variable link setting method will be described with reference to FIG.

図14は本発明の実施形態の可変リンクの設定処理を示すフローチャートである。   FIG. 14 is a flowchart showing variable link setting processing according to the embodiment of the present invention.

例えば、図10のコンテナAとコンテナBの間に、図6及び図7で説明したリンクの設定操作によって、2つのコンテナ間にリンクを設定すると、まず、固定サイズのリンクが設定される。そして、このリンクを選択して、図14に示す処理を実行することにより、当該リンクを固定サイズのリンク1106(図10)の状態から可変サイズのリンク1209(図12)へと変更することができる。   For example, when a link is set between two containers by the link setting operation described with reference to FIGS. 6 and 7 between the container A and the container B in FIG. 10, first, a fixed-size link is set. Then, by selecting this link and executing the processing shown in FIG. 14, the link can be changed from the fixed-size link 1106 (FIG. 10) to the variable-size link 1209 (FIG. 12). it can.

まず、マウス133により所望のリンク(例えば、図10のリンク1106)を選択状態とする(ステップS1302)。次に、リンクプロパティを表示させるための所定の操作が行われる。これにより、レイアウト編集アプリケーション121のユーザインタフェース103は、選択状態のリンク(以下、対象リンクという)に対応したダイアログウインドウ1401(図13)を表示する(ステップS1303)。   First, a desired link (for example, link 1106 in FIG. 10) is selected with the mouse 133 (step S1302). Next, a predetermined operation for displaying the link property is performed. As a result, the user interface 103 of the layout editing application 121 displays a dialog window 1401 (FIG. 13) corresponding to the selected link (hereinafter referred to as the target link) (step S1303).

尚、リンクの選択操作としては、コンテナの基本パターンの設定時と同様に、マウス133の右クリックあるいはキーボード132の特定のキーの操作等、いかなるものであってもよい。   The link selection operation may be any operation such as a right click of the mouse 133 or an operation of a specific key of the keyboard 132 as in the case of setting the basic pattern of the container.

表示されるダイアログウインドウ1401には、選択されたリンクの現在の状態が示される。本例では、リンク1106が選択されたので、この段階ではリンクサイズは固定であり、リンクタイプフィールド1405においては、固定長を示す距離1406が選択されている。   The displayed dialog window 1401 shows the current state of the selected link. In this example, since the link 1106 is selected, the link size is fixed at this stage, and in the link type field 1405, the distance 1406 indicating the fixed length is selected.

このダイアログウインドウ1401において、リンクを固定サイズから可変サイズに変更するために、リンクタイプフィールド1405において、リンクサイズを可変に設定するために、可変長ボタン1407を選択する(ステップS1304)。   In this dialog window 1401, in order to change the link from a fixed size to a variable size, a variable length button 1407 is selected in the link type field 1405 in order to set the link size to be variable (step S1304).

これにより、リンク距離フィールド1408内に配置されている最大距離フィールド1412、最小距離フィールド1410、基準値フィールド1411が有効になり、数値の設定が可能となる。ユーザは、リンクの可変サイズを設定するために、そのリンクの長さの最大値を最大距離フィールド1412に、最小値を最小距離フィールド1410に、現在の値を基準値フィールド1411に設定する(ステップS1305)。   As a result, the maximum distance field 1412, the minimum distance field 1410, and the reference value field 1411 arranged in the link distance field 1408 are validated, and numerical values can be set. In order to set the variable size of the link, the user sets the maximum value of the length of the link in the maximum distance field 1412, the minimum value in the minimum distance field 1410, and the current value in the reference value field 1411 (step). S1305).

設定を終えると、ユーザは一般的なダイアログウインドウ開閉ボタン1404によって当該設定の適用を指示する。ユーザインタフェース103は、この指示を検出すると、当該対象リンクに上記設定状態を反映させる。この結果、図12のリンク1209に示すような状態にリンクのUI表示を変更する(ステップS1306)。   When the setting is completed, the user instructs application of the setting using a general dialog window open / close button 1404. When detecting this instruction, the user interface 103 reflects the setting state on the target link. As a result, the UI display of the link is changed to a state as indicated by the link 1209 in FIG. 12 (step S1306).

以上のダイアログウインドウ1401の設定情報は、例えば、メモリ136に格納される。   The setting information of the above dialog window 1401 is stored in the memory 136, for example.

次に、レイアウト結果の一例について、図15及び図16を用いて説明する。   Next, an example of the layout result will be described with reference to FIGS. 15 and 16.

図15は本発明の実施形態の固定サイズのリンクを使用した場合のレイアウト結果を示す図である。尚、コンテナの属性に基づきコンテナにコンテンツが流し込まれたレイアウト結果を表示するためのデータは、メモリまたはハードディスク等の記憶装置に記憶されている。   FIG. 15 is a diagram showing a layout result when a fixed-size link according to the embodiment of the present invention is used. Note that data for displaying a layout result in which content is poured into the container based on the attribute of the container is stored in a storage device such as a memory or a hard disk.

レイアウト計算方法は、前述したとおりに従って行われる。例えば、図15において、コンテナ1203とコンテナ1204にそれぞれ違ったサイズのイメージデータが挿入された場合を考える。この場合、それぞれのコンテナはデータの大きさを最適とみなし、コンテナ1203は挿入されたイメージサイズになる枠1504(最適コンテナサイズ)に近づこうと右方向へサイズを変更しようとする。同様に、コンテナ1204は挿入されたイメージサイズになる枠1505(最適コンテナサイズ)に近づこうと左方向へサイズを変更しようとする。   The layout calculation method is performed as described above. For example, consider a case in which image data of different sizes are inserted into the container 1203 and the container 1204 in FIG. In this case, each container regards the data size as optimum, and the container 1203 tries to change the size in the right direction so as to approach the frame 1504 (optimum container size) that becomes the inserted image size. Similarly, the container 1204 tries to change the size in the left direction so as to approach the frame 1505 (optimum container size) that becomes the inserted image size.

しかし、コンテナ1203とコンテナ1204はアンカー1201とアンカー1202によってそれぞれ左辺1212と右辺1213の移動ができないため、上記のようにサイズを変更しようとすると両者の間隔を狭めるしかない。しかしながら、コンテナ1203と1204間には固定サイズのリンク1503が設定されており、レイアウト計算時にその長さが維持されるため、コンテナ1203とコンテナ1204のサイズが変更されることになる。   However, the container 1203 and the container 1204 cannot move the left side 1212 and the right side 1213 by the anchor 1201 and the anchor 1202, respectively. Therefore, when the size is changed as described above, the interval between the two sides must be narrowed. However, since a fixed-size link 1503 is set between the containers 1203 and 1204 and the length is maintained during layout calculation, the sizes of the containers 1203 and 1204 are changed.

その結果、コンテナ1203とコンテナ1204は、データの縦横比に合わせた最適なサイズを確保することができず、最終的に、図15に示すように、最適なサイズ(枠1504、枠1505)よりも小さくなってしまう。即ち、リンク1503のサイズが固定であるため、コンテナ1203とコンテナ1204は最適サイズを達成できない(図15において、各コンテナ内の一点差線で示した範囲がデータの持つ縦横比である)。   As a result, the container 1203 and the container 1204 cannot secure the optimum size according to the aspect ratio of the data, and finally, as shown in FIG. 15, from the optimum size (frame 1504, frame 1505). Will also get smaller. That is, since the size of the link 1503 is fixed, the container 1203 and the container 1204 cannot achieve the optimum size (in FIG. 15, the range indicated by the one-point difference line in each container is the aspect ratio of the data).

一方、図16は図15と同様の状態でリンクを可変サイズにした場合を示している。   On the other hand, FIG. 16 shows a case where the link is made variable in the same state as FIG.

この場合、上記の例で、コンテナ1203とコンテナ1204の間には図示の通り可変サイズのリンク1603が設定されている。従って、コンテナ1203とコンテナ1204のサイズが変更される際には、リンクサイズが縮まることでコンテナ1203とコンテナ1204のサイズを、図15の例より大きくすることができる。   In this case, in the above example, a variable-size link 1603 is set between the container 1203 and the container 1204 as illustrated. Therefore, when the sizes of the container 1203 and the container 1204 are changed, the size of the container 1203 and the container 1204 can be made larger than the example of FIG. 15 by reducing the link size.

この結果、挿入されるデータサイズに合わせた最適なサイズを達成できる、あるいはより挿入データサイズ(最適サイズ)に近いコンテナの枠を設定することができる。図16はこの結果を示しており、図12の可変リンク1209はレイアウト計算の結果、可変リンク1603に示されるようなサイズ状態となる。尚、この場合、コンテナ1203とコンテナ1204はそれぞれ最適なサイズ(データサイズに合った大きさ)になっている。   As a result, it is possible to achieve an optimum size according to the data size to be inserted, or to set a container frame closer to the insertion data size (optimum size). FIG. 16 shows this result, and the variable link 1209 in FIG. 12 is in a size state as shown by the variable link 1603 as a result of the layout calculation. In this case, each of the container 1203 and the container 1204 has an optimum size (a size suitable for the data size).

[コンテナの設定]
図17は本発明の実施形態のコンテナ設定機能を実現するユーザインタフェースの一例を示す図である。尚、コンテナの属性に基づきコンテナにコンテンツが流し込まれたレイアウト結果を表示するためのデータはメモリまたはハードディスク等の記憶装置に記憶されている。
[Container settings]
FIG. 17 is a diagram illustrating an example of a user interface that implements the container setting function according to the embodiment of this invention. Note that data for displaying a layout result in which content is poured into the container based on the attribute of the container is stored in a storage device such as a memory or a hard disk.

ここでは、コンテナ1203や1204の情報(コンテナプロパティ)をセットするためのダイアログウインドウ1701の例を示している。このダイアログウインドウ1701は、典型的には、キーボード132やマウス133により、処理対象のコンテナを選択し、マウス133の右クリックメニューの選択、あるいはキーボードからのAltキー等により表示する。   Here, an example of a dialog window 1701 for setting information (container properties) of the containers 1203 and 1204 is shown. The dialog window 1701 is typically displayed by selecting a container to be processed using the keyboard 132 or the mouse 133 and selecting a right-click menu of the mouse 133 or an Alt key from the keyboard.

本実施形態では、コンテナの辺(エッジ)を可変にするかどうか、及びそれに伴う設定に関してのみ、ダイアログウインドウ1701内に表示している。   In this embodiment, only whether or not the side of the container is variable and the settings associated therewith are displayed in the dialog window 1701.

このダイアログウインドウ1701は、典型的には、タイトルバー1702、ツールボタン1703、ダイアログウインドウ1701の開閉を行うボタン1704、各種の情報をセットするエリア1751で構成されている。   The dialog window 1701 typically includes a title bar 1702, a tool button 1703, a button 1704 for opening / closing the dialog window 1701, and an area 1751 for setting various information.

このダイアログウインドウ1701には、辺ステータスグループボックス1711内に、コンテナの辺状態を可変にし、コンテナ自体を可変設定にする選択オプション(コンテナ辺可変設定ボタン(上/下/左/右)1712〜1715)がある。この選択オプション1712〜1715のいずれかをONにすると、コンテナサイズグループボックス1721内の操作が有効(Enable)になる。   In this dialog window 1701, in the edge status group box 1711, selection options (container edge variable setting buttons (up / down / left / right) 1712 to 1715 for changing the edge state of the container and setting the container itself variably) are displayed. ) When any one of the selection options 1712 to 1715 is turned ON, the operation in the container size group box 1721 is enabled (Enable).

この例の場合、辺ステータスグループボックス1711において、右辺(Right)の選択オプション1714のみ可変(Flexible)のチェックが入っている。そのため、このコンテナは横方向(実際は右方向)にしかサイズを変化させることができない。この場合、コンテナサイズグループボックス1721では、幅サイズの項目であるコンテナ幅最小サイズ設定ボックス1724とコンテナ幅最大サイズ設定ボックス1726の操作が有効(Enable)となる。一方、高さサイズの項目であるコンテナ高さ最小サイズ設定ボックス1728とコンテナ高さ最大サイズ設定ボックス1730の操作は無効(Disable)のままとなっている。   In this example, in the side status group box 1711, only the right side (Right) selection option 1714 is checked as variable (Flexible). Therefore, the size of this container can be changed only in the horizontal direction (actually in the right direction). In this case, in the container size group box 1721, operations of the container width minimum size setting box 1724 and the container width maximum size setting box 1726, which are items of the width size, are enabled (Enable). On the other hand, the operations of the container height minimum size setting box 1728 and the container height maximum size setting box 1730 which are items of the height size remain disabled (Disable).

つまり、右辺の選択オプション1714及び左辺の選択オプション1715のチェック状態に応じて、コンテナ幅最小サイズ設定ボックス1724とコンテナ幅最大サイズ設定ボックス1726の操作が有効(Enable)となる。   That is, the operations of the container width minimum size setting box 1724 and the container width maximum size setting box 1726 are enabled (Enable) according to the check state of the right side selection option 1714 and the left side selection option 1715.

また、上辺の選択オプション1712及び左辺の選択オプションの1713のチェック状態に応じて、高さサイズの項目であるコンテナ高さ最小サイズ設定ボックス1728とコンテナ幅最大サイズ設定ボックス1730の操作が有効(Enable)となる。   Further, according to the check state of the upper side selection option 1712 and the left side selection option 1713, the operations of the container height minimum size setting box 1728 and the container width maximum size setting box 1730 which are height size items are enabled (Enable). )

図形1722はコンテナの幅サイズの指定、図形1723はコンテナの高さサイズの指定を視覚的に補助するビットマップ画像である。コンテナ幅最小サイズ設定ボックス1724(Min.Size)にはコンテナ幅の最小サイズが設定される。例えば、後述する図20の1921の例では、コンテナ幅最小サイズ設定ボックス1724(Min.Size)には、値15が設定されている。コンテナ幅最大サイズ設定ボックス1726(Max.Size)にはコンテナ幅の最大サイズが設定される。現在、ここには値50が設定されている。   A graphic 1722 is a bitmap image for visually assisting designation of the width size of the container, and a graphic 1723 is visually assisting designation of the height size of the container. In the container width minimum size setting box 1724 (Min. Size), the minimum size of the container width is set. For example, in the example of 1921 in FIG. 20 to be described later, the value 15 is set in the container width minimum size setting box 1724 (Min. Size). In the container width maximum size setting box 1726 (Max. Size), the maximum size of the container width is set. Currently, the value 50 is set here.

同様に、コンテナ高さ最小サイズ設定ボックス1728はコンテナ高さの最小サイズ、コンテナ高さ最大サイズ設定ボックス1730はコンテナ高さの最大サイズが設定される。リストボックス1727とリストボックス1731ではコンテナサイズの単位が設定される。ここでは、例として、mmが表示されているが、inchやpixel等の他の単位も考えられる。   Similarly, the container height minimum size setting box 1728 is set to the minimum size of the container height, and the container height maximum size setting box 1730 is set to the maximum size of the container height. In the list box 1727 and the list box 1731, a unit of container size is set. Here, mm is displayed as an example, but other units such as inch and pixel are also conceivable.

次に、コンテナプロパティの設定方法について、図18を用いて説明する。   Next, a container property setting method will be described with reference to FIG.

図18は本発明の実施形態のコンテナプロパティの設定処理を示すフローチャートである。   FIG. 18 is a flowchart showing container property setting processing according to the embodiment of the present invention.

まず、マウス133により所望のコンテナを選択状態とする(ステップS1802)。次に、コンテナプロパティを表示させるための所定の操作が行われる。これにより、レイアウト編集アプリケーション121のユーザインタフェース103は、選択状態のコンテナ(以下、対象コンテナという)に対応したダイアログウインドウ1701を表示する(ステップS1803)。   First, a desired container is selected with the mouse 133 (step S1802). Next, a predetermined operation for displaying the container property is performed. As a result, the user interface 103 of the layout editing application 121 displays a dialog window 1701 corresponding to the selected container (hereinafter referred to as the target container) (step S1803).

ダイアログウインドウ1701に対する操作に基づいて、コンテナ辺が可変に設定されているかどうかを各辺の項目に対して判定する(ステップS1804)。可変に設定されていない場合(ステップS1804でNO)、処理を終了する。   Based on the operation on the dialog window 1701, it is determined for each side item whether the container side is variably set (step S1804). If not variably set (NO in step S1804), the process ends.

一方、可変に設定されている場合(ステップS1804でYES)、その設定状態に基づいて、コンテナの最大サイズ・最小サイズの設定ボックス(1724、1726、1728及び1730の少なくとも1つ)をEnableにする(ステップS1805)。   On the other hand, if it is set to be variable (YES in step S1804), the setting box for the maximum size / minimum size of the container (at least one of 1724, 1726, 1728, and 1730) is set to Enable based on the setting state. (Step S1805).

ダイアログウインドウ1701を介するユーザの設定が終了すると、ユーザは一般的なダイアログウインドウ開閉ボタン1704によって当該設定の適用を指示する。ユーザインタフェース103は、この指示を検出すると、当該対象コンテナに設定状態を適用させる(ステップS1807)。   When the user setting via the dialog window 1701 is completed, the user instructs the application of the setting using a general dialog window open / close button 1704. Upon detecting this instruction, the user interface 103 applies the setting state to the target container (step S1807).

以上のダイアログウインドウ1701の設定情報は、例えば、メモリ136に格納される。   The setting information of the above dialog window 1701 is stored in the memory 136, for example.

[コンテンツ調整許可値設定処理]
次に、レイアウト編集アプリケーション121による、コンテンツ調整許可値設定処理について説明する。この処理及び具体例について、以下に説明する。
[Content adjustment permission value setting process]
Next, content adjustment permission value setting processing by the layout editing application 121 will be described. This process and a specific example will be described below.

図19は本発明の実施形態のコンテンツ調整許可値設定処理を示すフローチャートである。   FIG. 19 is a flowchart showing content adjustment permission value setting processing according to the embodiment of the present invention.

まず、レイアウト編集アプリケーション121は、ドキュメントテンプレート上のオブジェクト(コンテナやリンク)の動的設定が変更されたか否かを判定する(ステップS2601)。変更されない場合(ステップS2601でNO)、変更されるまで待機する。一方、変更された場合(ステップS2601でYES)、ステップS2602に進む。   First, the layout editing application 121 determines whether or not the dynamic setting of an object (container or link) on the document template has been changed (step S2601). If not changed (NO in step S2601), the process waits until it is changed. On the other hand, if it has been changed (YES in step S2601), the process proceeds to step S2602.

この動的設定の変更の具体例について、図20を用いて説明する。   A specific example of the dynamic setting change will be described with reference to FIG.

図20は、レイアウト編集アプリケーション121の編集画面であり、可変オブジェクトであるイメージコンテナ1921、及びテキストコンテナ1922、固定リンク1923がドキュメントテンプレート1909に存在している。   FIG. 20 shows an editing screen of the layout editing application 121. An image container 1921, a text container 1922, and a fixed link 1923, which are variable objects, exist in the document template 1909.

図20において、ダイアログウインドウ1701(図17)のユーザ操作により、イメージコンテナ1921の幅の最大サイズや高さの最小サイズを変更したり、テキストコンテナ1922の辺の設定を変更したりすることが可能である。また、ダイアログウインドウ1401(図13)のユーザ操作により、リンク1923の最大距離や最小距離を変更することも可能である。そして、このような変更がなされる場合、ドキュメントテンプレート1909上のオブジェクト(イメージコンテナ1921やテキストコンテナ1922、固定リンク1923)の動的設定が変更されたと判定する。   In FIG. 20, it is possible to change the maximum width and the minimum height of the image container 1921 and change the settings of the sides of the text container 1922 by the user operation of the dialog window 1701 (FIG. 17). It is. Further, the maximum distance and the minimum distance of the link 1923 can be changed by a user operation on the dialog window 1401 (FIG. 13). When such a change is made, it is determined that the dynamic setting of the object (image container 1921, text container 1922, fixed link 1923) on the document template 1909 has been changed.

次に、レイアウト編集アプリケーション121は、コンテナの可動位置範囲、最大・最小サイズ量(サイズ変更可能量)をレイアウトエンジン105を用いて計算する(ステップS2602)。   Next, the layout editing application 121 calculates the movable position range and maximum / minimum size amount (size changeable amount) of the container using the layout engine 105 (step S2602).

ここでは、レイアウト編集アプリケーション121は、動的レイアウト要素であるオブジェクトで構成される動的コンテナグループの各コンテナの可動位置範囲及び最大・最小サイズ量をレイアウトエンジン105を用いて計算する。ここで、動的レイアウト要素であるオブジェクトには、イメージコンテナ1921、テキストコンテナ1922、固定リンク1923等がある。   Here, the layout editing application 121 uses the layout engine 105 to calculate the movable position range and the maximum / minimum size amounts of each container of the dynamic container group configured by objects that are dynamic layout elements. Here, objects that are dynamic layout elements include an image container 1921, a text container 1922, a fixed link 1923, and the like.

レイアウトエンジン105は、動的コンテナグループのイメージコンテナ1921の可動位置範囲、及び最大・最小サイズ量を、例えば、以下のような可変要因等から計算する。   The layout engine 105 calculates the movable position range and the maximum / minimum size amounts of the image container 1921 of the dynamic container group from, for example, the following variable factors.

1)イメージコンテナ1921のダイアログウインドウ1701のコンテナ辺可変設定ボタン1712〜1715によって設定されたコンテナの水平(左右)方向及び垂直(上下)方向の可変設定、
2)コンテナ幅最大サイズ設定ボックス1726によって設定されたコンテナの水平方向の可変幅の最大サイズ、
3)コンテナ高さ最大サイズ設定ボックス1730によって設定されたコンテナの垂直方向の可変幅の最大サイズ、
4)イメージコンテナ1921に設定された固定リンク1923のリンク設定による他のテキストコンテナ1922による可変要因等から計算する。
1) The horizontal (left / right) direction and vertical (up / down) direction variable setting of the container set by the container side variable setting buttons 1712 to 1715 of the dialog window 1701 of the image container 1921;
2) Maximum size of the variable width in the horizontal direction of the container set by the container width maximum size setting box 1726,
3) Maximum size of variable width in the vertical direction of the container set by the container height maximum size setting box 1730,
4) Calculation is based on variable factors by other text containers 1922 due to the link setting of the fixed link 1923 set in the image container 1921.

即ち、レイアウトエンジン105は、コンテナ(動的オブジェクト)の最大可動位置範囲を、
■ 「コンテナの最大サイズ設定」要因
■ 「リンクされた他のコンテナによる移動」要因
の2つの可動要因から計算する。この時の計算結果の例を図21に示す。
That is, the layout engine 105 determines the maximum movable position range of the container (dynamic object),
■ “Container maximum size setting” factor ■ Calculated from two movable factors, “Movement by other linked containers” factor. An example of the calculation result at this time is shown in FIG.

尚、本実施形態では、ドキュメントテンプレート上のコンテナの位置を規定する座標系は、ドキュメントテンプレートの左角を原点(0,0)とし、その原点から右に向かう水平方向をX軸、下に向かう垂直方向をY軸とする、XY座標系を採用している。   In the present embodiment, the coordinate system that defines the position of the container on the document template has the left corner of the document template as the origin (0, 0), and the horizontal direction from the origin to the right is the X axis and is directed downward. An XY coordinate system is adopted in which the vertical direction is the Y axis.

図21は、レイアウトエンジン105が計算したイメージコンテナ1921の可動位置範囲を示す概念図である。2021は、イメージコンテナ1921の可動位置範囲((10,0)−(60,35))を示している。   FIG. 21 is a conceptual diagram showing the movable position range of the image container 1921 calculated by the layout engine 105. Reference numeral 2021 denotes a movable position range ((10, 0)-(60, 35)) of the image container 1921.

また、レイアウトエンジン105は、イメージコンテナ1921の最大サイズ量(コンテナの幅、高さの可動最大サイズ)を決定する。これは、ダイアログウインドウ1701のコンテナ幅最大サイズ設定ボックス1726によって設定されたコンテナの水平方向の可変幅の最大サイズから決定する。更には、コンテナ高さ最大サイズ設定ボックス1730によって設定されたコンテナの垂直方向の可変幅の最大サイズ等から決定する。この時の計算結果の例を図22に示す。   The layout engine 105 also determines the maximum size amount of the image container 1921 (the maximum movable size of the container width and height). This is determined from the maximum size of the variable width in the horizontal direction of the container set by the container width maximum size setting box 1726 of the dialog window 1701. Further, it is determined from the maximum size of the variable width in the vertical direction of the container set by the container height maximum size setting box 1730. An example of the calculation result at this time is shown in FIG.

図22は、レイアウトエンジン105が計算したイメージコンテナ1921の最大サイズ量を示す概念図である。2121は、イメージコンテナ1921の最大サイズ量(幅=50、高さ=35)を示している。   FIG. 22 is a conceptual diagram showing the maximum size amount of the image container 1921 calculated by the layout engine 105. Reference numeral 2121 denotes the maximum size amount (width = 50, height = 35) of the image container 1921.

また、レイアウトエンジン105は、イメージコンテナ1921の最小サイズ量(コンテナの幅、高さの可動最小サイズ)を決定する。これは、ダイアログウインドウ1701のコンテナ幅最小サイズ設定ボックス1724によって設定されたコンテナの水平方向の可変幅の最小サイズから決定する。更には、コンテナ高さ最小サイズ設定ボックス1728によって設定されたコンテナの垂直方向の可変幅の最小サイズ等から決定する。この時の計算結果の例を図23に示す。   Further, the layout engine 105 determines the minimum size amount of the image container 1921 (movable minimum size of the container width and height). This is determined from the minimum size of the variable width in the horizontal direction of the container set by the container width minimum size setting box 1724 of the dialog window 1701. Further, it is determined from the minimum size of the variable width in the vertical direction of the container set by the container height minimum size setting box 1728. An example of the calculation result at this time is shown in FIG.

図23は、レイアウトエンジン105が計算したイメージコンテナ1921の最小サイズ量を示す概念図である。2221は、イメージコンテナ1921の最小サイズ量(幅=15、高さ=10)を示している。   FIG. 23 is a conceptual diagram showing the minimum size amount of the image container 1921 calculated by the layout engine 105. Reference numeral 2221 denotes the minimum size (width = 15, height = 10) of the image container 1921.

同様に、レイアウトエンジン105は、動的コンテナグループのテキストコンテナ1922の可動位置範囲に関しても計算する。この時の計算結果の例を図24に示す。   Similarly, the layout engine 105 calculates the movable position range of the text container 1922 of the dynamic container group. An example of the calculation result at this time is shown in FIG.

図24は、レイアウトエンジン105が計算したテキストコンテナ1922の可動位置範囲を示す概念図である。2321は、テキストコンテナ1922の可動位置範囲((30,0)−(120,40))を示している。   FIG. 24 is a conceptual diagram showing the movable position range of the text container 1922 calculated by the layout engine 105. Reference numeral 2321 denotes a movable position range ((30, 0)-(120, 40)) of the text container 1922.

また、レイアウトエンジン105は、動的コンテナグループのテキストコンテナ1922の最大サイズ量に関しても同様に決定する。この時の計算結果の例を図25に示す。   Further, the layout engine 105 similarly determines the maximum size amount of the text container 1922 of the dynamic container group. An example of the calculation result at this time is shown in FIG.

図25は、レイアウトエンジン105が計算したテキストコンテナ1922の最大サイズ量を示す概念図である。2421は、テキストコンテナ1922の最大サイズ量(幅=50、高さ=40)を示している。   FIG. 25 is a conceptual diagram showing the maximum size amount of the text container 1922 calculated by the layout engine 105. Reference numeral 2421 denotes the maximum size amount (width = 50, height = 40) of the text container 1922.

また、レイアウトエンジン105は、動的コンテナグループのテキストコンテナ1922の最小サイズ量に関しても同様に決定する。この時の計算結果の例を図26に示す。   Further, the layout engine 105 similarly determines the minimum size amount of the text container 1922 of the dynamic container group. An example of the calculation result at this time is shown in FIG.

図26は、レイアウトエンジン105が計算したテキストコンテナ1922の最小サイズ量を示す概念図である。2521は、テキストコンテナ1922の最小サイズ量(幅=20、高さ=15)を示している。   FIG. 26 is a conceptual diagram showing the minimum size amount of the text container 1922 calculated by the layout engine 105. Reference numeral 2521 denotes the minimum size amount (width = 20, height = 15) of the text container 1922.

そして、レイアウト編集アプリケーション121は、以上の計算結果をコンテナのコンテンツ調整許可値としてメモリ136に保持する(ステップS2603)。   Then, the layout editing application 121 holds the above calculation result in the memory 136 as a container content adjustment permission value (step S2603).

ここでは、レイアウト編集アプリケーション121は、レイアウトエンジン105によるコンテナの可動位置範囲及び最大・最小サイズ量の計算結果をイメージコンテナ1921のコンテンツ調整許可値としてメモリ136に保持し、処理を終了する。このコンテンツ調整許可値は、第三者にコンテンツ調整を許す範囲となる。   Here, the layout editing application 121 holds the calculation result of the movable position range and the maximum / minimum size amount of the container by the layout engine 105 in the memory 136 as the content adjustment permission value of the image container 1921, and ends the processing. This content adjustment permission value is within a range that allows a third party to adjust the content.

次に、レイアウトエンジン105によるコンテナの可動位置範囲の計算例を具体的に説明する。   Next, a calculation example of the movable position range of the container by the layout engine 105 will be specifically described.

ページ上の座標系(X,Y)は、ドキュメントテンプレート1909のページマージン310の矩形における左上頂点を原点とし、右方向がx軸の正の方向、下方向がy軸の正の方向となっている。   In the coordinate system (X, Y) on the page, the upper left vertex in the rectangle of the page margin 310 of the document template 1909 is the origin, the right direction is the positive direction of the x axis, and the lower direction is the positive direction of the y axis. Yes.

イメージコンテナ1921の初期値である基準矩形の左上頂点位置は(10,15)、右下頂点位置は(40,35)である。また、テキストコンテナ1922の初期値である基準矩形の左上頂点位置は(50,10)、右下頂点位置は(75,40)である。水平(左右)方向のリンクであるリンク1923のサイズは5である。   The upper left vertex position of the reference rectangle which is the initial value of the image container 1921 is (10, 15), and the lower right vertex position is (40, 35). Further, the upper left vertex position of the reference rectangle which is the initial value of the text container 1922 is (50, 10), and the lower right vertex position is (75, 40). The size of the link 1923 which is a link in the horizontal (left and right) direction is 5.

図21に示したイメージコンテナ1921の可動位置範囲である「可動位置範囲:(10,0)−(60,35)」は、レイアウトエンジン105により、以下のように計算される。   The “movable position range: (10, 0) − (60, 35)” that is the movable position range of the image container 1921 shown in FIG. 21 is calculated by the layout engine 105 as follows.

ここで、イメージコンテナ1921の水平(左右)方向に関しては、プロパティ設定ダイアログ1701のコンテナエッジ可変設定ボタン1714、1715によって、その水平(左右)方向の可変設定がなされている。ここでは、イメージコンテナ1921の左エッジが固定、右エッジが可変に設定されている。また、コンテナ幅最小値設定ボックス1724によって、イメージコンテナ1921の水平方向の可変幅の最小値は15に設定されている。更に、コンテナ幅最大値設定ボックス1726によって、イメージコンテナ1921の水平方向の可変幅の最大値は50に設定されている。   Here, regarding the horizontal (left and right) direction of the image container 1921, the horizontal (left and right) direction is variably set by the container edge variable setting buttons 1714 and 1715 of the property setting dialog 1701. Here, the left edge of the image container 1921 is set to be fixed and the right edge is set to be variable. Also, the minimum value of the variable width in the horizontal direction of the image container 1921 is set to 15 by the container width minimum value setting box 1724. Further, the maximum value of the variable width in the horizontal direction of the image container 1921 is set to 50 by the container width maximum value setting box 1726.

これらの設定により、イメージコンテナ1921は、水平方向において右方向に可変、幅の変化量は15〜50となっている。そのため、レイアウトエンジン105は、イメージコンテナ1921の矩形の左上頂点のX位置を固定とし、X=10と決定する。同様に、イメージコンテナ1921の右下頂点のX位置を可変とし、X位置の最小値=固定の左上頂点位置X+可変幅の最小値=10+15=25、X位置の最大値=固定の左上頂点位置X+可変幅の最大値=10+50=60と決定する。   With these settings, the image container 1921 is variable in the right direction in the horizontal direction, and the amount of change in the width is 15-50. For this reason, the layout engine 105 fixes the X position of the upper left vertex of the rectangle of the image container 1921 and determines X = 10. Similarly, the X position of the lower right vertex of the image container 1921 is variable, the minimum value of the X position = fixed upper left vertex position X + the minimum value of variable width = 10 + 15 = 25, the maximum value of the X position = fixed upper left vertex position. X + maximum value of variable width = 10 + 50 = 60 is determined.

また、イメージコンテナ1921の垂直(上下)方向に関しては、プロパティ設定ダイアログ1701のコンテナエッジ可変設定ボタン1712、1713によって、その垂直(上下)方向の可変設定がなされている。ここでは、イメージコンテナ1921の下エッジが固定、上エッジが可変に設定されている。また、コンテナ高さ最小値設定ボックス1728によって、イメージコンテナ1921の垂直方向の可変高さの最小値は10に設定されている。更に、コンテナ高さ最大値設定ボックス1730によって、イメージコンテナ1921の垂直方向の可変高さの最大値は35に設定されている。   Further, regarding the vertical (up / down) direction of the image container 1921, the vertical (up / down) direction is variably set by the container edge variable setting buttons 1712 and 1713 of the property setting dialog 1701. Here, the lower edge of the image container 1921 is fixed and the upper edge is variably set. Further, the minimum value of the variable height in the vertical direction of the image container 1921 is set to 10 by the container height minimum value setting box 1728. Further, the maximum value of the variable height in the vertical direction of the image container 1921 is set to 35 by the container height maximum value setting box 1730.

これらの設定により、イメージコンテナ1921は、垂直方向において上方向に可変、高さの変化量は10〜35となっている。そのため、レイアウトエンジン105は、イメージコンテナ1921の右下頂点のY位置を固定とし、Y=35と決定する。同様に、イメージコンテナ1921の矩形の左上頂点のY位置を可変とし、Y位置の最小値=固定の右下頂点位置Y−可変幅の最大値=35−35=0、Y位置の最大値=固定の右下頂点位置Y−可変幅の最小値=35−10=25と決定する。   With these settings, the image container 1921 is variable upward in the vertical direction, and the amount of change in height is 10 to 35. For this reason, the layout engine 105 fixes the Y position of the lower right vertex of the image container 1921 and determines Y = 35. Similarly, the Y position of the upper left vertex of the rectangle of the image container 1921 is variable, the minimum value of the Y position = fixed lower right vertex position Y−the maximum value of the variable width = 35−35 = 0, the maximum value of the Y position = Fixed lower right vertex position Y-minimum variable width = 35-10 = 25.

更に、テキストコンテナ1922の水平(左右)方向に関しては、プロパティ設定ダイアログ1701のコンテナエッジ可変設定ボタン1714、1715によって、その水平(左右)方向の可変設定がなされている。ここでは、テキストコンテナ1922の左エッジが可変、右エッジが可変に設定されている。また、コンテナ幅最小値設定ボックス1724によって、テキストコンテナ1922の水平方向の可変幅の最小値は20に設定されている。更に、コンテナ幅最大値設定ボックス1726によって、コンテナの水平方向の可変幅の最大値は55に設定されている。   Further, the horizontal (left / right) direction of the text container 1922 is variably set by the container edge variable setting buttons 1714 and 1715 of the property setting dialog 1701. Here, the left edge of the text container 1922 is set to be variable, and the right edge is set to be variable. Further, the minimum value of the horizontal variable width of the text container 1922 is set to 20 by the container width minimum value setting box 1724. Further, the maximum value of the horizontal variable width of the container is set to 55 by the container width maximum value setting box 1726.

これらの設定により、テキストコンテナ1922は、水平方向において右方向に可変、幅の変化量は20〜55となっている。そのため、レイアウトエンジン105は、テキストコンテナ1922の矩形の左上頂点のX位置を可変とする。この場合、X位置の最小値=(イメージコンテナ1921の右エッジのX位置の最小値)+リンク長=(10+15)+5=30、X位置の最大値=(イメージコンテナ1921の右エッジのX位置の最大値)+リンク長=(10+50)+5=65と決定する。   With these settings, the text container 1922 is variable in the right direction in the horizontal direction, and the amount of change in the width is 20 to 55. Therefore, the layout engine 105 makes the X position of the upper left vertex of the rectangle of the text container 1922 variable. In this case, minimum value of X position = (minimum value of X position of right edge of image container 1921) + link length = (10 + 15) + 5 = 30, maximum value of X position = (X position of right edge of image container 1921) ) + Link length = (10 + 50) + 5 = 65.

同様に、テキストコンテナの右下頂点のX位置を可変とする。この場合、X位置の最小値=(イメージコンテナ1921の右エッジのX位置の最小値)+リンク長+可変幅の最小値=(10+15)+5+20=50と決定する。また、X位置の最大値=(イメージコンテナ1921の右エッジのX位置の最大値)+リンク長+可変幅の最大値=(10+50)+5+55=120と決定する。   Similarly, the X position of the lower right vertex of the text container is made variable. In this case, minimum value of X position = (minimum value of X position of right edge of image container 1921) + link length + minimum value of variable width = (10 + 15) + 5 + 20 = 50. Further, the maximum value of the X position = (the maximum value of the X position of the right edge of the image container 1921) + the link length + the maximum value of the variable width = (10 + 50) + 5 + 55 = 120.

また、テキストコンテナ1922の垂直(上下)方向に関しては、プロパティ設定ダイアログ1701のコンテナエッジ可変設定ボタン1712、1713によって、その垂直(上下)方向の可変設定がなされている。ここでは、テキストコンテナ1922の下エッジが固定、上エッジが可変に設定されている。また、コンテナ高さ最小値設定ボックス1728によって、テキストコンテナ1922の垂直方向の可変高さの最小値は15に設定されている。更に、コンテナ高さ最大値設定ボックス1730によって、テキストコンテナ1922の垂直方向の可変高さの最大値は40に設定されている。   Further, regarding the vertical (up / down) direction of the text container 1922, the vertical (up / down) direction is variably set by the container edge variable setting buttons 1712 and 1713 of the property setting dialog 1701. Here, the lower edge of the text container 1922 is fixed and the upper edge is variably set. Further, the minimum value of the variable height in the vertical direction of the text container 1922 is set to 15 by the container height minimum value setting box 1728. Further, the maximum value of the variable height in the vertical direction of the text container 1922 is set to 40 by the container height maximum value setting box 1730.

これらの設定により、テキストコンテナ1922は、垂直方向において上方向に可変、高さの変化量は15〜40となっている。そのため、レイアウトエンジン105は、テキストコンテナ1922の右下頂点のY位置を固定とし、Y=40と決定する。同様に、テキストコンテナ1922の矩形の左上頂点のY位置を可変とし、Y位置の最小値=固定の右下頂点位置Y−可変幅の最大値=40−40=0、Y位置の最大値=固定の右下頂点位置Y−可変幅の最小値=40−15=25と決定する。   With these settings, the text container 1922 is variable upward in the vertical direction, and the amount of change in height is 15-40. Therefore, the layout engine 105 fixes the Y position of the lower right vertex of the text container 1922 and determines Y = 40. Similarly, the Y position of the upper left vertex of the rectangle of the text container 1922 is variable, the minimum value of the Y position = fixed lower right vertex position Y−the maximum value of the variable width = 40−40 = 0, the maximum value of the Y position = Fixed lower right vertex position Y-minimum variable width = 40-15 = 25.

尚、イメージコンテナ1921やテキストコンテナ1922の初期値である基準矩形は、[新規コンテナの作成方法]によって作成されたコンテナの矩形、または、作成後にユーザのマウス操作によりリサイズされたコンテナ矩形のことを指すものである。   The reference rectangle, which is the initial value of the image container 1921 and the text container 1922, is a container rectangle created by [New Container Creation Method] or a container rectangle resized by the user's mouse operation after creation. It is what you point to.

[コンテンツ調整許可値設定機能]
図27は本発明の実施形態のコンテンツ調整許可範囲設定機能を実現するユーザインタフェースの一例を示す図である。
[Content adjustment permission value setting function]
FIG. 27 is a diagram showing an example of a user interface for realizing the content adjustment permission range setting function of the embodiment of the present invention.

ここでは、イメージコンテナ1921やテキストコンテナ1922中のコンテンツに対する情報をセットするためのダイアログウインドウ2701の例を示している。このダイアログウインドウ2701は、典型的には、キーボード132やマウス133により、処理対象のコンテナを選択し、マウス133の右クリックメニューの選択、あるいはキーボードからのAltキー等により表示する。   Here, an example of a dialog window 2701 for setting information on contents in the image container 1921 and the text container 1922 is shown. The dialog window 2701 is typically displayed by selecting a container to be processed using the keyboard 132 or the mouse 133 and selecting the right-click menu of the mouse 133 or using the Alt key from the keyboard.

このダイアログウインドウ2701は、典型的には、タイトルバー2702、ツールボタン2703、ダイアログウインドウ2710の開閉を行うボタン2704、各種の情報をセットするエリア2751で構成されている。   The dialog window 2701 typically includes a title bar 2702, a tool button 2703, a button 2704 for opening / closing the dialog window 2710, and an area 2751 for setting various information.

このダイアログウインドウ2701の「コンテンツ移動許可領域」グループボックス2711において、コンテンツ移動許可領域に係る座標を指定することが可能である。ここで、テキストボックス2712、2713には、コンテンツ移動許可領域の矩形範囲の左上座標(X,Y)を指定することが可能である。また、テキストボックス2714、2715には、コンテンツ移動許可領域の矩形範囲の右下座標(X,Y)を指定することが可能である。   In the “content movement permission area” group box 2711 of the dialog window 2701, it is possible to specify coordinates related to the content movement permission area. Here, in the text boxes 2712 and 2713, it is possible to specify the upper left coordinate (X, Y) of the rectangular range of the content movement permission area. In the text boxes 2714 and 2715, the lower right coordinates (X, Y) of the rectangular range of the content movement permission area can be designated.

尚、コンテンツ移動許可領域は、図19のコンテンツ調整許可値設定処理で計算されたコンテナの可動位置範囲の範囲内で指定可能とするように制限しても良い。   The content movement permission area may be limited so that it can be specified within the range of the movable position of the container calculated in the content adjustment permission value setting process of FIG.

図では、現在、このコンテンツの可動位置範囲を左上座標(10、0)、右下座標(60、40)の矩形領域内に収めるよう設定されている。   In the figure, the movable position range of this content is currently set to be within a rectangular area of upper left coordinates (10, 0) and lower right coordinates (60, 40).

これらのテキストボックス2712〜2715の初期値には、図19のコンテンツ調整許可値設定処理のステップS2603によって、メモリ136に保持されているコンテナのコンテンツ調整許可値の内、コンテナの可動位置範囲の値が設定される。   The initial values of these text boxes 2712 to 2715 include the value of the movable position range of the container among the content adjustment permission values held in the memory 136 by step S2603 of the content adjustment permission value setting process in FIG. Is set.

このダイアログウインドウ2701の「コンテンツサイズ変更許可範囲」グループボックス2731において、コンテンツサイズ変更に係るサイズを指定することが可能である。ここで、「最小サイズ」テキストボックス2732には、コンテンツのサイズ変更時の幅の最小サイズを指定することが可能である。また、「最大サイズ」テキストボックス2733には、コンテンツのサイズ変更時の幅の最大サイズを指定することが可能である。   In the “content size change permission range” group box 2731 of the dialog window 2701, it is possible to specify a size related to the content size change. Here, in the “minimum size” text box 2732, it is possible to specify the minimum size of the width when the content size is changed. In the “maximum size” text box 2733, it is possible to specify the maximum size of the width when changing the size of the content.

尚、コンテンツサイズ変更許可範囲は、図19のコンテンツ調整許可値設定処理で計算されたコンテナのサイズ変更可能量の範囲内で指定可能とするように制限しても良い。   Note that the content size change permission range may be limited so that it can be specified within the range of the container size changeable amount calculated in the content adjustment permission value setting processing of FIG.

また、「最小サイズ」テキストボックス2734には、コンテンツのサイズ変更時の高さの最小サイズを指定することが可能である。更に、「最大サイズ」テキストボックス2735には、コンテンツのサイズ変更時の高さの最大サイズを指定することが可能である。   Also, in the “minimum size” text box 2734, it is possible to specify the minimum size of the height when changing the size of the content. Furthermore, in the “maximum size” text box 2735, it is possible to specify the maximum size of the height when the size of the content is changed.

リストボックス2736とリストボックス2737では、コンテナサイズの単位が設定される。ここでは、例として、mmが表示されているが、inchやpixel等の他の単位も考えられる。   In list box 2736 and list box 2737, a unit of container size is set. Here, mm is displayed as an example, but other units such as inch and pixel are also conceivable.

図では、現在、このコンテンツのサイズ変更許可範囲を、最小幅15mm、最大幅50mm、最小高さ10mm、最大高さ35mmに設定されている。   In the figure, the size change permission range of this content is currently set to a minimum width of 15 mm, a maximum width of 50 mm, a minimum height of 10 mm, and a maximum height of 35 mm.

これらのテキストボックス2732〜2735の初期値には、図19のコンテンツ調整許可値設定処理のステップS2603によって、メモリ136に保持されているコンテナのコンテンツ調整許可値の内、コンテナの最大・最小サイズ量の値が設定される。   The initial values of these text boxes 2732 to 2735 include the maximum and minimum size amounts of the container among the content adjustment permission values held in the memory 136 in step S2603 of the content adjustment permission value setting process in FIG. The value of is set.

「縦横比を維持させる」チェックボックス2738には、コンテンツのサイズ変更時に、コンテンツの縦横比を維持させたままのサイズ変更のみを許可するかどうかを設定する。図では、現在、チェックが入っておらず、縦横比を維持したままのサイズ変更が設定されていない。このチェックボックス2738の初期値には、チェックが入らない。   In the “maintain aspect ratio” check box 2738, it is set whether to allow only the size change while maintaining the aspect ratio of the content when the size of the content is changed. In the figure, there is currently no check, and no resize is set while maintaining the aspect ratio. The initial value of this check box 2738 is not checked.

「コンテンツ移動許可」チェックボックス2741には、コンテンツ移動の許可/不許可を設定する。図では、現在、チェックが入っており、コンテンツ移動の許可が設定されている。   In the “content movement permission” check box 2741, permission / non-permission of content movement is set. In the figure, a check is currently entered and permission for content movement is set.

このチェックボックス2741の初期値には、動的コンテナであれば、チェックが入り、コンテンツ移動の許可が設定される。一方、静的コンテナであれば、チェックは入らず、コンテンツ移動の不許可が初期値として設定される。   The initial value of this check box 2741 is checked for a dynamic container, and permission for content movement is set. On the other hand, in the case of a static container, no check is made, and content transfer non-permission is set as an initial value.

尚、静的コンテナの場合、テキストボックス2712〜2715の初期値には、静的コンテナの矩形の左上座標(X,Y)及び右下座標(X,Y)がそれぞれ設定される。ここで、動的コンテナであるか静的コンテナであるかの判定は、図17のダイアログウインドウ1701で設定された辺ステータスの設定状態に基づいて判定される。   In the case of a static container, the upper left coordinates (X, Y) and the lower right coordinates (X, Y) of the rectangle of the static container are set as initial values of the text boxes 2712 to 2715, respectively. Here, whether the container is a dynamic container or a static container is determined based on the edge status setting state set in the dialog window 1701 of FIG.

「コンテンツサイズ変更許可」チェックボックス2751には、コンテンツサイズ変更の許可/不許可を設定する。図では、現在、チェックが入っており、コンテンツサイズ変更の許可が設定されている。   In the “content size change permission” check box 2751, permission / non-permission of content size change is set. In the figure, a check is currently entered, and permission to change the content size is set.

このチェックボックス2751の初期値には、動的コンテナであれば、チェックが入り、コンテンツサイズ変更の許可が設定される。一方、静的コンテナであれば、チェックは入らず、コンテンツサイズ変更の不許可が初期値として設定される。   The initial value of this check box 2751 is checked if it is a dynamic container, and permission to change the content size is set. On the other hand, if it is a static container, no check is made, and the disapproval of content size change is set as an initial value.

尚、静的コンテナの場合、テキストボックス2732〜2735の初期値には、最大サイズ、最小サイズともに同値で、静的コンテナの幅、高さの値がそれぞれ設定される。   In the case of a static container, the initial value of the text boxes 2732 to 2735 has the same value for both the maximum size and the minimum size, and the width and height values of the static container are set.

テンプレート編集者は、このダイアログウインドウ2701によって、図19のコンテンツ調整許可値設定処理で算出され、メモリ136に保持されているコンテナの可動位置範囲及び最大・最小サイズ量の値を調整することが可能である。   The template editor can adjust the movable position range and the maximum / minimum size values of the container calculated in the content adjustment permission value setting process of FIG. It is.

[コンテンツ調整許可選択機能]
図28は本発明の実施形態のコンテンツ調整許可選択機能を実現するユーザインタフェースの一例を示す図である。
[Content adjustment permission selection function]
FIG. 28 is a diagram illustrating an example of a user interface that implements the content adjustment permission selection function according to the embodiment of this invention.

ここでは、コンテンツ調整の可否をセットするためのダイアログウインドウ2811の例を示している。このダイアログウインドウ2811では、3つのオプションボタン(ラジオボタン)として、「コンテンツ調整許可値を適用」2812、「コンテンツ調整を許可しない」2813、「コンテンツを自由に調整させる」2814が構成されている。ユーザは、これらのいずれか一つのボタンを選択して、OKボタン2815を押下することにより、コンテンツ調整方法を指定することが可能となっている。   Here, an example of a dialog window 2811 for setting whether or not content adjustment is possible is shown. In this dialog window 2811, “Apply content adjustment permission value” 2812, “Do not allow content adjustment” 2813, and “Adjust content freely” 2814 are configured as three option buttons (radio buttons). The user can specify a content adjustment method by selecting any one of these buttons and pressing an OK button 2815.

ここで、このコンテンツ調整方法では、レイアウト計算済のドキュメントを閲覧するユーザがインタラクティブにそのドキュメント上のコンテンツの可動位置範囲及びサイズ変更可能量を設定(調整)することを許容する/禁止することを選択することができる。つまり、本実施形態では、大きく分けて、コンテンツ調整に係り、少なくとも2種類の調整モード(調整許容モード(コンテンツ調整許可値範囲内での調整、調整自由)、調整禁止モード)を選択することができる。   Here, in this content adjustment method, the user who browses the document whose layout has been calculated is allowed / prohibited to interactively set (adjust) the movable position range and the size changeable amount of the content on the document. You can choose. In other words, in the present embodiment, it is roughly possible to select at least two types of adjustment modes (adjustment allowable mode (adjustment within the content adjustment allowable value range, freedom of adjustment) and adjustment prohibition mode) in relation to content adjustment. it can.

また、調整許容モードは、「コンテンツ調整許可値を適用」2812、「コンテンツを自由に調整させる」2814それぞれに対応する設定を実行するモードである。ここで、「コンテンツ調整許可値を適用」2812は条件付調整制限モード、「コンテンツを自由に調整させる」2814は調整自由モードと捉えることができる。一方、調整禁止モードは、「コンテンツ調整を許可しない」2813に対応する設定を実行するモードである。   The adjustment permission mode is a mode in which settings corresponding to “Apply content adjustment permission value” 2812 and “Adjust content freely” 2814 are executed. Here, “Apply content adjustment permission value” 2812 can be regarded as a conditional adjustment restriction mode, and “Adjust content freely” 2814 can be regarded as an adjustment free mode. On the other hand, the adjustment prohibition mode is a mode in which a setting corresponding to “content adjustment is not permitted” 2813 is executed.

尚、このダイアログウインドウ2811におけるコンテンツ調整方法は、1つのドキュメントテンプレートが有するコンテナに挿入されたコンテンツ全体に対して適用されるものとするが、これに限定されない。つまり、各コンテナ毎に、そのコンテナに挿入されたコンテンツに対して、個別のコンテンツ調整方法を適用しても良い。   Note that the content adjustment method in the dialog window 2811 is applied to the entire content inserted in a container included in one document template, but is not limited thereto. That is, for each container, an individual content adjustment method may be applied to the content inserted into the container.

[ドキュメントフォーマット変換処理]
図29は本発明の実施形態のドキュメントフォーマット変換処理を示すフローチャートである。
[Document format conversion processing]
FIG. 29 is a flowchart showing document format conversion processing according to the embodiment of the present invention.

尚、この図29の処理は、レイアウト編集アプリケーション121によるレイアウト結果のドキュメントフォーマットへの変換を行うための処理である。具体的には、図15、16等のコンテナの属性に基づきコンテンツが流し込まれたレイアウト結果を表示しているデータをユーザに編集させるためのドキュメントに変換する処理である。コンテナの属性とは、図17の辺ステータスやコンテナの最大、最小サイズのことである。   29 is a process for converting the layout result into the document format by the layout editing application 121. Specifically, it is a process of converting data displaying the layout result into which the content is inserted based on the attribute of the container shown in FIGS. 15 and 16 into a document for allowing the user to edit. The container attributes are the edge status in FIG. 17 and the maximum and minimum sizes of the container.

ドキュメントへの出力指示の有無を判定する(ステップS2901)。この出力指示は、図15、16等のレイアウトのプレビュー画面から行われるものである。また、出力指示は、コンテナにコンテンツが流し込まれた結果のデータがメモリ等に記憶されており、プレビューされていない状態で、アプリケーションから行われるものでもよい。   The presence / absence of an output instruction to the document is determined (step S2901). This output instruction is issued from the layout preview screen shown in FIGS. Further, the output instruction may be issued from an application in a state where data resulting from the flow of content into the container is stored in a memory or the like and is not previewed.

ステップS2901において、出力指示がない場合(ステップS2901でNO)、出力指示があるまで待機する。一方、出力指示がある場合(ステップS2901でYES)、ステップS2902に進む。   If there is no output instruction in step S2901 (NO in step S2901), the process waits until there is an output instruction. On the other hand, if there is an output instruction (YES in step S2901), the flow advances to step S2902.

ここで、出力指示の有無の判定は、例えば、図30に示すメニューバー3101に対する操作に基づいて実現する。   Here, the presence / absence of an output instruction is realized based on, for example, an operation on the menu bar 3101 shown in FIG.

図30に示すメニューバー3101は、例えば、図3中のメニューバー302の一部として実現される。メニューバー3101を構成するメニューリストには複数の項目があり、その中に「ドキュメントに出力」というメニュー項目3102が用意されている。また、メニューリストは一般的な2階層構造をとっており、2階層目のメニューリスト(サブメニュー)3103には、「SVG形式」というメニュー項目3104が用意されている。更に、メニューリスト3103には、「PDF」形式、「PDF+SVG」形式等の他のメニュー項目も用意されている。   The menu bar 3101 shown in FIG. 30 is realized as a part of the menu bar 302 in FIG. 3, for example. The menu list constituting the menu bar 3101 has a plurality of items, and a menu item 3102 “output to document” is prepared therein. The menu list has a general two-layer structure, and a menu item 3104 “SVG format” is prepared in the menu list (submenu) 3103 in the second layer. Further, the menu list 3103 also includes other menu items such as “PDF” format and “PDF + SVG” format.

テンプレート編集者が、マウスポインタ3105を用いて、メニューバー3101から、メニュー項目「ドキュメントに出力」3102を選択する。更に、メニューリスト3103から、出力するドキュメントフォーマットとして、メニュー項目(SVG形式)3104を選択する。これによって、レイアウト編集アプリケーション121にSVG(http://www.w3.org/TR/SVG/参照)ドキュメントへの出力を指示する。   The template editor uses the mouse pointer 3105 to select the menu item “output to document” 3102 from the menu bar 3101. Further, a menu item (SVG format) 3104 is selected from the menu list 3103 as a document format to be output. As a result, the layout editing application 121 is instructed to output to an SVG (http://www.w3.org/TR/SVG/) document.

このような操作がなされた場合、レイアウト編集アプリケーション121は、ドキュメントへの出力指示があると判定することになる。   When such an operation is performed, the layout editing application 121 determines that there is an instruction to output the document.

次に、出力指示によって指定されたドキュメントフォーマットがインタラクティブ性があるか否かを判定する(ステップS2902)。インタラクティブ性がある場合(ステップS2902でYES)、ステップS2903へ進む。   Next, it is determined whether or not the document format specified by the output instruction is interactive (step S2902). If interactive (YES in step S2902), the process advances to step S2903.

ここで、インタラクティブ性とは、例えば、ドキュメントを表示する操作画面を介するユーザ操作によって発生するイベントによって、ドキュメント上の各種オブジェクトを操作可能にすることである。換言すれば、レイアウト計算後のオブジェクトの調整を許容することである。このインタラクティブ性のあるドキュメントフォーマットして、本実施形態では、SVG言語で記述されたドキュメントフォーマット(http://www.w3.org/TR/SVG/interact.html)を例に挙げて説明する。   Here, the interactivity refers to making various objects on a document operable by an event generated by a user operation via an operation screen for displaying the document, for example. In other words, the adjustment of the object after the layout calculation is allowed. As an interactive document format, in this embodiment, a document format (http://www.w3.org/TR/SVG/interact.html) described in the SVG language will be described as an example.

レイアウト編集アプリケーション121は、図28に示すコンテンツ調整許可選択設定用のダイアログウインドウ2811を表示する(ステップS2903)。尚、ダイアログウインドウ2811では、テンプレート編集者に、「コンテンツ調整許可値を適用」、「コンテンツ調整を許可しない」、「コンテンツを自由に調整させる」のいずれかのコンテンツ調整方法を選択させることが可能である。   The layout editing application 121 displays a content adjustment permission selection setting dialog window 2811 shown in FIG. 28 (step S2903). In the dialog window 2811, the template editor can select one of the content adjustment methods “Apply content adjustment permission value”, “Do not allow content adjustment”, or “Adjust content freely”. It is.

次に、ダイアログウインドウ2811において、テンプレート編集者により「OK」ボタン2815が押下され、ダイアログウインドウ2811でのコンテンツ調整方法の選択が確定されたか否かを判定する(ステップS2904)。確定されていない場合(ステップS2904でNO)、確定されるまで待機する。一方、確定された場合(ステップS2904でYES)、ステップS2905へ進む。   Next, it is determined whether or not the “OK” button 2815 is pressed by the template editor in the dialog window 2811 and the selection of the content adjustment method in the dialog window 2811 is confirmed (step S2904). If not confirmed (NO in step S2904), the process waits until it is confirmed. On the other hand, if it is confirmed (YES in step S2904), the flow advances to step S2905.

レイアウト編集アプリケーション121は、例えば、図31に示すレイアウト計算済のデータを、ステップS2901で指定されたドキュメントフォーマットに変換する処理を開始する(ステップS2905)。   For example, the layout editing application 121 starts a process of converting the layout-calculated data shown in FIG. 31 into the document format specified in step S2901 (step S2905).

ここで、レイアウト計算済のデータ例について、図31に示す。   Here, FIG. 31 shows an example of data whose layout has been calculated.

図31は、図20のドキュメントテンプレート1909にバリアブルデータのコンテンツが流し込まれ、図9の動的レイアウト計算処理による動的レイアウトが行われた際のレイアウト編集アプリケーション121のプレビュー画面である。   FIG. 31 is a preview screen of the layout editing application 121 when the content of variable data is poured into the document template 1909 of FIG. 20 and the dynamic layout is performed by the dynamic layout calculation processing of FIG.

プレビュー表示領域3009において、コンテンツ3021は、図20のイメージコンテナ1921にデータが流し込まれ、テキストコンテナ1922と共にレイアウトされた結果である。また、コンテンツ3022は、図20のテキストコンテナ1922にデータが流し込まれ、イメージコンテナ1921と共にレイアウトされた結果である。   In the preview display area 3009, the content 3021 is a result of data being poured into the image container 1921 of FIG. Further, the content 3022 is a result of data being poured into the text container 1922 of FIG. 20 and laid out together with the image container 1921.

次に、ステップS2904で選択が確定された項目が、「コンテンツ調整許可値を適用」2812であるか否かを判定する(ステップS2906)。「コンテンツ調整許可値を適用」2812である場合(ステップS2906YES)、コンテンツ調整許可値に応じて、後述の図33のインタラクティブ性設定処理によって、各コンテンツにインタラクティブ性を設定(/非設定)する(ステップS2907)。   Next, it is determined whether or not the item whose selection is confirmed in step S2904 is “Apply content adjustment permission value” 2812 (step S2906). In the case of “Apply content adjustment permission value” 2812 (YES in step S2906), in accordance with the content adjustment permission value, the interactive property is set (not set) to each content by the interactive property setting process of FIG. Step S2907).

この各コンテンツのインタラクティブ性は、図19のコンテンツ調整許可値設定処理で算出され、かつ、メモリ136に保持されているコンテンツ調整許可値に応じて設定される。ここで、コンテンツ調整許可値は、図27のダイアログウインドウによって設定された、コンテナの可動位置範囲及び最大・最小サイズ量の値である。このインタラクティブ性の設定の完了後、ドキュメントフォーマットへの変換を終了する(ステップS2908)。   The interactivity of each content is calculated according to the content adjustment permission value setting process in FIG. 19 and set according to the content adjustment permission value held in the memory 136. Here, the content adjustment permission value is the value of the movable position range and the maximum / minimum size amount of the container set by the dialog window of FIG. After completion of the interactive setting, the conversion to the document format is terminated (step S2908).

一方、ステップS2906において、選択が確定された項目が、「コンテンツ調整許可値を適用」2812でない場合(ステップS2906でNO)、「コンテンツを自由に調整させる」2814であるか否かを判定する(ステップS2909)。「コンテンツを自由に調整させる」2814である場合(ステップS2909でYES)、全てのコンテンツに移動可能及びサイズ変更可能なインタラクティブ性を設定する(ステップS2910)。   On the other hand, if the item whose selection is confirmed in step S2906 is not “Apply content adjustment permission value” 2812 (NO in step S2906), it is determined whether it is “Adjust content freely” 2814 ( Step S2909). If “adjust content freely” 2814 (YES in step S2909), moveable and resizeable interactivity is set for all content (step S2910).

ここでの各コンテンツのインタラクティブ性は、全てのコンテンツをドキュメントフォーマットに変換する際に、移動可能な範囲及びサイズ変更可能な量を無制限とするものである。このインタラクティブ性の設定の完了後、ドキュメントフォーマットへの変換を終了する(ステップS2908)。   The interactivity of each content here means that the range that can be moved and the amount that can be resized are unlimited when all the content is converted into a document format. After completion of the interactive setting, the conversion to the document format is terminated (step S2908).

一方、ステップS2909において、選択が確定された項目が、「コンテンツを自由に調整させる」2814でない場合(ステップS2902でNO)、通常のドキュメントフォーマットへの変換を行う(ステップS2912)。つまり、「コンテンツ調整を許可しない」2813である場合、コンテンツへのインタラクティブ性の設定を行わずに、通常のドキュメントフォーマットへの変換を行う。その後、ドキュメントフォーマットへの変換を終了する(ステップS2908)。   On the other hand, if the selected item is not “Adjust content freely” 2814 in step S2909 (NO in step S2902), conversion to the normal document format is performed (step S2912). That is, when “content adjustment is not permitted” 2813, conversion to the normal document format is performed without setting the interactivity to the content. Thereafter, the conversion to the document format is terminated (step S2908).

一方、ステップS2902において、指定されたドキュメントフォーマットがインタラクティブ性がない場合(ステップS2902でNO)、レイアウト編集アプリケーション121は、通常のドキュメントフォーマットへの変換を行う(ステップS2912)。そして、ドキュメントフォーマットへの変換を終了する(ステップS2908)。   On the other hand, if the specified document format is not interactive in step S2902 (NO in step S2902), the layout editing application 121 performs conversion to a normal document format (step S2912). Then, the conversion to the document format is completed (step S2908).

以上のドキュメントフォーマット変換処理による出力結果例を、図32に示す。   An example of an output result by the above document format conversion process is shown in FIG.

[インタラクティブ性設定処理」
図33は本発明の実施形態のインタラクティブ性設定処理を示すフローチャートである。
[Interactivity setting processing]
FIG. 33 is a flowchart showing interactivity setting processing according to the embodiment of the present invention.

この処理によって、各コンテンツへのインタラクティブ性設定が実現される。特に、この処理は、図29のドキュメントフォーマット変換処理のステップS2907における、各コンテンツへのSVGインタラクティブを用いたインタラクティブ性の設定(/非設定)を実現する。   By this processing, interactive setting for each content is realized. In particular, this processing realizes setting (/ non-setting) of interactivity using SVG interactive for each content in step S2907 of the document format conversion processing of FIG.

その動作を以下に説明する。   The operation will be described below.

まず、図27のダイアログウインドウ2701において、「コンテンツ移動許可」チェックボックス2741がチェックされているか否かを判定する(ステップS3301)。チェックされていない場合(ステップS3301でNO)、ステップS3303へ進む。   First, in the dialog window 2701 of FIG. 27, it is determined whether or not the “content movement permission” check box 2741 is checked (step S3301). If not checked (NO in step S3301), the process advances to step S3303.

例えば、変換対象のコンテンツに対応するコンテナが、図31のコンテンツ3021に対する図20のイメージコンテナ1921であるとする。ここで、このイメージコンテナ1921は動的コンテナである。そして、この動的コンテナに対しては、テンプレート編集者は、図27のダイアログウインドウ2701によって、「コンテンツ移動許可」チェックボックス2741によるチェックを行うことができる。   For example, it is assumed that the container corresponding to the content to be converted is the image container 1921 in FIG. 20 for the content 3021 in FIG. Here, the image container 1921 is a dynamic container. For this dynamic container, the template editor can check the “content movement permission” check box 2741 using the dialog window 2701 in FIG.

ステップS3301において、「コンテンツ移動許可」チェックボックス2741がチェックされている場合(ステップS3301でYES)、そのコンテンツをインタラクティブに位置移動させるためのJava(登録商標)Script functionを生成する。Java(登録商標)Script functionについては、http://wp.netscape.com/eng/Java(登録商標)script/を参照されたい。ここでは、図19のコンテンツ調整許可値設定処理で算出され、かつ、メモリ136に保持されているコンテンツ調整許可値をJava(登録商標)Script functionに設定する(ステップS3302)。具体的には、コンテンツ調整許可値で示される、コンテナの可動位置範囲を、コンテンツの可動領域の値として、Java(登録商標)Script functionに設定する。   If the “content movement permission” check box 2741 is checked in step S3301 (YES in step S3301), a Java (registered trademark) Script function for interactively moving the position of the content is generated. For the Java (registered trademark) Script function, see http://wp.netscape.com/eng/Java (registered trademark) script /. Here, the content adjustment permission value calculated in the content adjustment permission value setting process of FIG. 19 and held in the memory 136 is set in the Java (registered trademark) Script function (step S3302). Specifically, the movable position range of the container indicated by the content adjustment permission value is set in the Java (registered trademark) Script function as the value of the movable region of the content.

同様に、ダイアログウインドウ2701において、サイズ変更に関する「コンテンツサイズ変更許可」チェックボックス2751がチェックされているか否かを判定する(ステップS3303)。チェックされていない場合(ステップS3303でNO)、ステップS3305へ進む。   Similarly, in the dialog window 2701, it is determined whether or not the “content size change permission” check box 2751 regarding the size change is checked (step S3303). If not checked (NO in step S3303), the process advances to step S3305.

一方、チェックされている場合(ステップS3303でYES)、そのコンテンツをインタラクティブにサイズ変更させるためのJava(登録商標)Script functionを生成する。ここでは、図19のコンテンツ調整許可値設定処理で算出され、かつ、メモリ136に保持されているコンテンツ調整許可値をJava(登録商標)Script functionに設定する(ステップS3304)。具体的には、コンテンツ調整許可値で示される、コンテナの最大・最小サイズ量を、コンテンツのサイズ変更可能な値として、Java(登録商標)Script functionに設定する。   On the other hand, if it is checked (YES in step S3303), a Java (registered trademark) Script function for interactively resizing the content is generated. Here, the content adjustment permission value calculated in the content adjustment permission value setting process of FIG. 19 and held in the memory 136 is set in the Java (registered trademark) Script function (step S3304). Specifically, the maximum / minimum size amount of the container indicated by the content adjustment permission value is set in the Java (registered trademark) Script function as a value capable of changing the size of the content.

次に、そのコンテンツをSVGフォーマットの「image」elementとして、SVGオブジェクトに変換し、出力SVGデータ内に埋め込む(ステップS3305)。   Next, the content is converted to an SVG object as an “image” element in the SVG format and embedded in the output SVG data (step S3305).

加えて、インタラクティブに位置移動させるためのJava(登録商標)Script function、及びインタラクティブにサイズ変更させるためのJava(登録商標)Script functionを、その出力SVGデータ内に埋め込む(ステップS3306)。   In addition, a Java (registered trademark) script function for interactively moving the position and a Java (registered trademark) script function for interactively changing the size are embedded in the output SVG data (step S3306).

そして、これらのJava(登録商標)Script functionを、対応するSVGオブジェクトのイベントに対応させることにより、そのSVGオブジェクトにSVGインタラクティブの設定を行う(ステップS3307)。   Then, by making these Java (registered trademark) Script functions correspond to the event of the corresponding SVG object, the SVG interactive is set to the SVG object (step S3307).

尚、静的コンテナであっても、図19のコンテンツ調整許可値設定処理で算出されるコンテナの可動位置範囲の値が存在しないことを除き、動的コンテナと同様に、このインタラクティブ性設定処理に基づき、インタラクティブ性設定が行われる。   Even in the case of a static container, the interactive property setting process is performed in the same manner as in the dynamic container except that there is no value of the movable position range of the container calculated in the content adjustment permission value setting process in FIG. Based on this, an interactive setting is performed.

また、レイアウト編集アプリケーション121は、ドキュメント内の全てのコンテンツに対し、インタラクティブ性設定処理を適用し、各コンテンツそれぞれに対して、インタラクティブ性の設定を行う。   Further, the layout editing application 121 applies interactivity setting processing to all contents in the document, and sets interactivity for each content.

また、SVGオブジェクトのイベントとは、レイアウト計算済のドキュメントテンプレート上のSVGオブジェクトである各コンテンツに対するマウスイベントや、キーイベント、タイマーイベントがある。   The SVG object event includes a mouse event, a key event, and a timer event for each content that is an SVG object on the document template whose layout has been calculated.

[ドキュメント配信Webシステム]
次に、上述の構成を、Webサーバクライアントシステムに適用する場合の構成について説明する。
[Document Delivery Web System]
Next, a configuration when the above configuration is applied to a Web server client system will be described.

図34は本発明の実施形態のレイアウト編集アプリケーション121によって作成されたドキュメントテンプレートを配置するWebシステムの構成概念図である。   FIG. 34 is a conceptual diagram of the configuration of a Web system that arranges document templates created by the layout editing application 121 according to the embodiment of this invention.

図34において、3401はWebサーバであり、Webクライアント3402a〜3402dに、後述するHTMLフォーム3502を送信する。次に、そのHTMLフォーム3502を用いてWebクライアント3402a〜3402dのユーザが指定したドキュメントテンプレート、コンテンツ及びドキュメントフォーマットに従い、自動レイアウト及びドキュメント生成を行う。そして、その生成したドキュメントをWebクライアント3402a〜3402dに配信する。   34, reference numeral 3401 denotes a Web server, which transmits an HTML form 3502 described later to Web clients 3402a to 3402d. Next, automatic layout and document generation are performed using the HTML form 3502 in accordance with the document template, content, and document format specified by the user of the Web clients 3402a to 3402d. Then, the generated document is distributed to the Web clients 3402a to 3402d.

3402a〜3402dは、Webクライアントである。ユーザは、このWebクライアントを用いて、Webサーバ3401にアクセスし、そのWebサーバ3401から送信されてきたHTMLフォーム3502に所定の情報を書き込み、そのWebサーバ3401にリクエストを送信する。   Reference numerals 3402a to 3402d denote Web clients. The user accesses the Web server 3401 using this Web client, writes predetermined information in the HTML form 3502 transmitted from the Web server 3401, and transmits a request to the Web server 3401.

尚、以下の説明では、Webクライアント3402a〜3402dの総称として、Webクライアント3402を用いる場合がある。この場合、Webクライアント3402は単数あるいは複数のWebクライアントを意味するものとする。   In the following description, the Web client 3402 may be used as a general term for the Web clients 3402a to 3402d. In this case, the Web client 3402 means one or a plurality of Web clients.

Webサーバ3401、Webクライアント3402a〜3402dはともに、図1Bのコンピュータ101と同様な構成を有する。ここで、Webサーバ3401は、図1Cのエンジンサーバ227に相当し、レイアウト編集アプリケーション121からレイアウト編集機能を除外した、レイアウトエンジン225を包含するレイアウト生成アプリケーション3404を実行する。   Both the Web server 3401 and the Web clients 3402a to 3402d have the same configuration as the computer 101 in FIG. 1B. Here, the Web server 3401 corresponds to the engine server 227 of FIG. 1C and executes a layout generation application 3404 including the layout engine 225 excluding the layout editing function from the layout editing application 121.

3405は、レイアウト編集アプリケーション121によって作成されたドキュメントテンプレートである。Webサーバ3401は、Webクライアント3402からのリクエストに応じて、自動レイアウト及びドキュメント生成に利用するドキュメントテンプレートを選定する。   Reference numeral 3405 denotes a document template created by the layout editing application 121. The Web server 3401 selects a document template to be used for automatic layout and document generation in response to a request from the Web client 3402.

3406は、図2のデータベース119に相当する。Webサーバ3401は、Webクライアント3402からのリクエストに応じて、自動レイアウト及びドキュメント生成に利用するコンテンツデータを、このデータベース3406のレコードから取得する。   3406 corresponds to the database 119 of FIG. In response to a request from the Web client 3402, the Web server 3401 acquires content data used for automatic layout and document generation from the record of the database 3406.

3403は、図1Bの記憶装置139に相当するWebサーバ3401のデータ記憶領域であり、レイアウト生成アプリケーション3404、ドキュメントテンプレート3405、データベース3406等のデータを記憶する。   3403 is a data storage area of the Web server 3401 corresponding to the storage device 139 of FIG. 1B, and stores data such as a layout generation application 3404, a document template 3405, a database 3406, and the like.

[HTMLフォーム]
図35は本発明の実施形態のHTMLフォームを表示するためのWebブラウザ画面の一例を示す図である。
[HTML form]
FIG. 35 is a diagram showing an example of a Web browser screen for displaying the HTML form according to the embodiment of this invention.

前述のように、HTMLフォーム3502は、Webサーバ3401によって、Webクライアント3402に配信される。Webクライアント3402のユーザは、このHTMLフォーム3502を用いて、Webサーバ3401にドキュメント配信のリクエストを行う。   As described above, the HTML form 3502 is distributed to the Web client 3402 by the Web server 3401. The user of the Web client 3402 uses the HTML form 3502 to make a document distribution request to the Web server 3401.

図35において、3501は、Webブラウザであり、Webクライアント3402上それぞれで動作するプログラムである。   In FIG. 35, reference numeral 3501 denotes a Web browser, which is a program that runs on each Web client 3402.

3502は、Webブラウザ3501によって表示されるHTMLフォームであり、3503〜3506のHTML部品を含んでいる。   Reference numeral 3502 denotes an HTML form displayed by the web browser 3501 and includes HTML parts 3503 to 3506.

3503は、テンプレートを選択する複数のラジオボタンのHTML部品を含む「テンプレート」グループである。図では、「Simple」、「Regular」、「Outstanding」の3つのラジオボタンが含まれている。ユーザは、マウス等の入力デバイスを用いて、これらのいずれか一つを選択することができる。現在は、「Simple」が選択されている。   Reference numeral 3503 denotes a “template” group including HTML parts of a plurality of radio buttons for selecting a template. In the figure, three radio buttons of “Simple”, “Regular”, and “Outstanding” are included. The user can select any one of these using an input device such as a mouse. Currently, “Simple” is selected.

3504は、コンテンツを選択する複数のチェックボックスのHTML部品を含む「コンテンツ」グループである。図では、「デジタルカメラ」、「アナログカメラ」、「MFP」、「プリンタ」、「アクセサリ」、「消耗品」の6つのチェックボックスが含まれている。ユーザは、マウス等の入力デバイスを用いて、これらの内の複数を選択することができる。現在は、「デジタルカメラ」のみが選択されている。   Reference numeral 3504 denotes a “content” group including HTML parts of a plurality of check boxes for selecting contents. In the figure, six check boxes of “digital camera”, “analog camera”, “MFP”, “printer”, “accessory”, and “consumable” are included. The user can select a plurality of these using an input device such as a mouse. Currently, only “digital camera” is selected.

3505は、出力タイプを選択する複数のラジオボタンのHTML部品を含む「出力タイプ」グループである。図では、「PDF形式のドキュメント」、「調整可能なドキュメント(SVG)」の2つのラジオボタンが含まれている。ユーザは、マウス等の入力デバイスを用いて、これらのいずれか1つを選択することができる。現在は、「調整可能なドキュメント(SVG)」が選択されている。   Reference numeral 3505 denotes an “output type” group including an HTML part of a plurality of radio buttons for selecting an output type. In the figure, two radio buttons of “PDF format document” and “Adjustable document (SVG)” are included. The user can select any one of these using an input device such as a mouse. Currently, “Adjustable Document (SVG)” is selected.

3506は、フォームの内容を送信する送信(submit)ボタンのHTML部品である。   Reference numeral 3506 denotes an HTML part of a submit button for transmitting the contents of the form.

Webクライアント3402のユーザは、このHTMLフォーム3502を用いて、ドキュメントテンプレート、コンテンツ、及びドキュメントフォーマットを配信対象のドキュメントのパラメータとして指定することができる。   The user of the Web client 3402 can use the HTML form 3502 to specify a document template, content, and document format as parameters of a document to be distributed.

[Webシステムでのドキュメント配信処理]
図36は本発明の実施形態のWebシステムでのドキュメント配信処理を示すフローチャートである。
[Document delivery processing in Web system]
FIG. 36 is a flowchart showing document distribution processing in the Web system according to the embodiment of this invention.

Webクライアント3402のユーザが、Webブラウザ3501を用いて、Webサーバ3401の所定のURLアドレスにアクセスする(ステップS3601)。   The user of the Web client 3402 accesses a predetermined URL address of the Web server 3401 using the Web browser 3501 (step S3601).

Webサーバ3401は、指定されたHTMLフォーム3502をWebクライアント3402に送信する(ステップS3602)。   The Web server 3401 transmits the designated HTML form 3502 to the Web client 3402 (step S3602).

Webクライアント3402は、Webサーバ3401からHTMLフォーム3502を受信し、それをWebブラウザ3501に表示する(ステップS3603)。   The Web client 3402 receives the HTML form 3502 from the Web server 3401 and displays it on the Web browser 3501 (step S3603).

Webブラウザ3501のユーザは、このHTMLフォーム3502上で、「テンプレート」グループからドキュメントテンプレートを、「コンテンツ」グループからコンテンツを、及び「出力タイプ」グループからドキュメントフォーマットを指定する。これによって、Webサーバ3401から配信対象のドキュメントのパラメータを選択する。   On the HTML form 3502, the user of the Web browser 3501 designates a document template from the “template” group, a content from the “content” group, and a document format from the “output type” group. As a result, the parameter of the document to be distributed is selected from the Web server 3401.

次に、Webクライアント3402は、パラメータの選択の完了の有無を判定する(ステップS3604)。パラメータの選択が完了していない場合(ステップS3604でNO)、完了するまで待機する。一方、完了した場合(ステップS3604でYES)、Webブラウザ3501のユーザによって、送信(submit)ボタン3506が押下されたか否かを判定する(ステップS3605)。   Next, the Web client 3402 determines whether or not parameter selection has been completed (step S3604). If parameter selection has not been completed (NO in step S3604), the process waits until completion. On the other hand, if completed (YES in step S3604), it is determined whether or not the user of the web browser 3501 has pressed the submit button 3506 (step S3605).

送信(submit)ボタン3506が押下されない場合(ステップS3605でNO)、押下されるまで待機する。一方、押下された場合(ステップS3605でYES)、Webブラウザ3501は、HTMLフォーム3502上で指定されたパラメータとともにWebサーバ3401にドキュメント配信のリクエストを送信する(ステップS3606)。   If the submit button 3506 is not pressed (NO in step S3605), the process waits until it is pressed. On the other hand, if pressed (YES in step S3605), the web browser 3501 transmits a document delivery request to the web server 3401 together with the parameters specified on the HTML form 3502 (step S3606).

Webサーバ3401は、Webクライアント3402のWebブラウザ3501から送信されてきたドキュメント配信のリクエストをパラメータとともに受信したか否かを判定する(ステップS3607)。受信していない場合(ステップS3607でNO)、受信するまで待機する。一方、受信した場合(ステップS3607でYES)、そのパラメータ内容に応じて、ドキュメントテンプレートのデータをファイルサーバ115等から取得する。更に、コンテンツのデータをデータベース3406内のレコードデータから取得する(ステップS3608)。   The Web server 3401 determines whether a document distribution request transmitted from the Web browser 3501 of the Web client 3402 is received together with parameters (step S3607). If not received (NO in step S3607), the process waits until it is received. On the other hand, if it is received (YES in step S3607), the document template data is acquired from the file server 115 or the like according to the parameter contents. Further, content data is acquired from the record data in the database 3406 (step S3608).

Webサーバ3401は、取得したドキュメントテンプレートのデータ、コンテンツのデータ、及びドキュメント配信のリクエスト中のパラメータにある「出力タイプ」のドキュメントフォーマットを指定する。そして、レイアウト生成アプリケーション3404に、ドキュメント生成を指示する(ステップS3609)。   The Web server 3401 specifies the document format of “output type” in the acquired document template data, content data, and parameters in the document distribution request. Then, it instructs the layout generation application 3404 to generate a document (step S3609).

レイアウト生成アプリケーション3404は、Webサーバ3401からの指示に基づき、指定されたドキュメントテンプレートに指定されたコンテンツを挿入して、動的レイアウトを実行する(ステップS3610)。   Based on the instruction from the Web server 3401, the layout generation application 3404 inserts the designated content into the designated document template and executes dynamic layout (step S3610).

次に、「出力タイプ」のドキュメントフォーマットに応じて、各コンテンツへのインタラクティブ性設定を実行する(ステップS3611)。同時に、指定されたドキュメントフォーマットへの出力(ドキュメントフォーマット変換)を実行する(ステップS3612)。   Next, the interactivity setting for each content is executed in accordance with the document format of “output type” (step S3611). At the same time, output (document format conversion) to the designated document format is executed (step S3612).

Webサーバ3401は、レイアウト生成アプリケーション3404によって生成されたドキュメント(例えば、図32)を、ドキュメント配信のリクエストを行ったWebクライアント3402に送信する(ステップS3613)。Webブラウザ3501は、Webサーバ3401からのレスポンスであるドキュメントのデータをWebブラウザ3501に表示する(ステップS3614)。この時の表示例としては、例えば、図37のようになる。   The Web server 3401 transmits the document (for example, FIG. 32) generated by the layout generation application 3404 to the Web client 3402 that made the document distribution request (step S3613). The web browser 3501 displays document data, which is a response from the web server 3401, on the web browser 3501 (step S3614). An example of the display at this time is as shown in FIG.

[コンテンツ調整許可選択設定ファイル(サーバ)]
図36のWebシステムでのドキュメント配信処理において、レイアウト生成アプリケーション3404によるステップS3611のインタラクティブ性設定は、図33のインタラクティブ性設定処理とほぼ同様である。また、レイアウト生成アプリケーション3404によるステップS3612のドキュメントフォーマット変換は、図29のドキュメントフォーマット変換処理とほぼ同様である。
[Content adjustment permission selection setting file (server)]
In the document distribution process in the Web system of FIG. 36, the interactivity setting in step S3611 by the layout generation application 3404 is substantially the same as the interactivity setting process of FIG. Further, the document format conversion in step S3612 by the layout generation application 3404 is substantially the same as the document format conversion process in FIG.

しかしながら、レイアウト生成アプリケーション3404は、レイアウト編集アプリケーション121とは異なり、ユーザインタフェース機能を持たない。そのため、レイアウト編集アプリケーション121のように、図28に示すコンテンツ調整許可選択設定用のダイアログウインドウ2811を表示する機能はない。   However, unlike the layout editing application 121, the layout generation application 3404 does not have a user interface function. Therefore, unlike the layout editing application 121, there is no function for displaying the dialog window 2811 for content adjustment permission selection setting shown in FIG.

代わりに、レイアウト生成アプリケーション3404は、図38に示すような設定ファイル3801に、コンテンツ調整許可選択の設定を行う機能を有する。設定ファイル3801は、Webサーバ3401の記憶装置139に保持され、サーバ管理者等によって、その設定が変更される。   Instead, the layout generation application 3404 has a function of setting content adjustment permission selection in a setting file 3801 as shown in FIG. The setting file 3801 is held in the storage device 139 of the Web server 3401, and the setting is changed by a server administrator or the like.

図38において、3802は、コンテンツ調整許可選択の設定エントリである。この設定エントリ3802には、コンテンツ調整許可選択設定用のダイアログウインドウ2811と同様の設定が可能である。つまり、設定エントリ3802では、「コンテンツ調整許可値を適用」(値"LIMITED")、「コンテンツ調整を許可しない」(値"NO")、「コンテンツを自由に調整させる」(値"UNLIMITED")の値が設定可能である。   In FIG. 38, reference numeral 3802 denotes a setting entry for selecting content adjustment permission. In the setting entry 3802, the same setting as that in the dialog window 2811 for setting the content adjustment permission selection is possible. That is, in the setting entry 3802, “content adjustment permission value is applied” (value “LIMITED”), “content adjustment is not permitted” (value “NO”), “content is freely adjusted” (value “UNLIMITED”) The value of can be set.

レイアウト生成アプリケーション3404は、ステップS3611でインタラクティブ性設定を行う際、この設定エントリ3802を参照し、その設定値に基づいて、図29のドキュメントフォーマット変換処理に相当するステップS3612の処理を実行する。   The layout generation application 3404 refers to the setting entry 3802 when performing the interactive setting in step S3611, and executes the process of step S3612 corresponding to the document format conversion process of FIG. 29 based on the setting value.

[クライアントでのコンテンツの調整・ドキュメント印刷処理]
図39は本発明の実施形態のドキュメントのコンテンツ(オブジェクト)の調整及び印刷処理を示すフローチャートである。
[Adjusting content and printing documents on the client]
FIG. 39 is a flowchart showing document content (object) adjustment and printing processing according to the embodiment of the present invention.

この処理は、図36のWebシステムでのドキュメント配信処理によって、Webクライアント3402のWebブラウザ3701(図37)に表示されたドキュメントに対する操作によって実行される。   This processing is executed by an operation on the document displayed on the Web browser 3701 (FIG. 37) of the Web client 3402 by the document distribution processing in the Web system of FIG.

この処理を説明するにあたり、図37に示す、Webブラウザ3501に表示されるドキュメント(例えば、SVGドキュメント)について説明する。   In describing this process, a document (for example, an SVG document) displayed on the Web browser 3501 shown in FIG. 37 will be described.

図37において、3701は、Webブラウザである。3702は、Webブラウザ3701にプラグインされるSVGドキュメントを解釈・表示・印刷可能なプログラム(SVGドキュメント表示プログラム)の表示画面である。SVGドキュメント表示プログラム3702が表示する画面は、この例の場合、Webブラウザ3701の表示領域にエンベッドされている。   In FIG. 37, reference numeral 3701 denotes a Web browser. Reference numeral 3702 denotes a display screen of a program (SVG document display program) that can interpret, display, and print an SVG document plugged into the Web browser 3701. In this example, the screen displayed by the SVG document display program 3702 is embedded in the display area of the Web browser 3701.

3703は、SVGドキュメント表示プログラム3702が表示するSVGドキュメントである。3704は、SVGドキュメント表示プログラム3702が提供するユーザ操作用のツールボタンであり、SVGドキュメント内にインタラクティブ性設定がなされたオブジェクトが含まれている場合に有効になる。   Reference numeral 3703 denotes an SVG document displayed by the SVG document display program 3702. Reference numeral 3704 denotes a tool button for user operation provided by the SVG document display program 3702, and is effective when an object for which the interactive setting is made is included in the SVG document.

3705は、SVGドキュメント表示プログラム3702が提供するドキュメント印刷用のツールボタンであり、表示されるSVGドキュメントをWYSIWYG("What You See is What You Get")で印刷する。3706は、マウスポインタである。   Reference numeral 3705 denotes a document printing tool button provided by the SVG document display program 3702, and prints the displayed SVG document using WYSIWYG ("What You See is What You Get"). Reference numeral 3706 denotes a mouse pointer.

図39において、Webクライアント3402のWebブラウザ3701は、図36のWebシステムでのドキュメント配信処理に従い、Webサーバ3401から配信されたSVGドキュメントのデータを表示しているか否かを判定する。表示していない場合(ステップS3901でNO)、表示するまで待機する。   In FIG. 39, the Web browser 3701 of the Web client 3402 determines whether or not the data of the SVG document distributed from the Web server 3401 is displayed according to the document distribution processing in the Web system of FIG. If not displayed (NO in step S3901), the process waits until it is displayed.

一方、表示する場合(ステップS3901でYES)、インタラクティブ性設定がなされたSVGオブジェクト(SVGインタラクティブオブジェクト)への操作開始指示の有無を判定する。操作開始指示がない場合(ステップS3901でNO)、操作開始指示があるまで待機する。   On the other hand, if it is displayed (YES in step S3901), it is determined whether or not there is an operation start instruction for the SVG object (SVG interactive object) for which the interactiveness setting has been made. If there is no operation start instruction (NO in step S3901), the process waits until there is an operation start instruction.

ここでは、図37に示すSVGドキュメント3703に対する操作例について説明する。このドキュメントは、図38のコンテンツ調整許可選択の設定エントリ3802の値が、「コンテンツ調整許可値を適用」(値"LIMITED")の際に、Webサーバ3401のレイアウト生成アプリケーション3404で生成されたものであるとする。   Here, an operation example for the SVG document 3703 shown in FIG. 37 will be described. This document is generated by the layout generation application 3404 of the Web server 3401 when the value of the content adjustment permission selection setting entry 3802 in FIG. 38 is “Apply content adjustment permission value” (value “LIMITED”). Suppose that

そして、Webブラウザ3501のユーザが、マウスポインタ3706を用いて、ユーザ操作用のツールボタン3704をクリックする。これにより、SVGドキュメント3703上のSVGインタラクティブオブジェクトの操作を可能にするための操作開始指示がSVGドキュメント表示プログラム3702へ発行される(ステップS3902でYES)。   Then, the user of the Web browser 3501 clicks the tool button 3704 for user operation using the mouse pointer 3706. As a result, an operation start instruction for enabling the operation of the SVG interactive object on the SVG document 3703 is issued to the SVG document display program 3702 (YES in step S3902).

SVGドキュメント表示プログラム3702は、表示するSVGドキュメント3703上のSVGインタラクティブオブジェクトへの操作を、各オブジェクトに設定された範囲内で可能にする(ステップS3903)。   The SVG document display program 3702 enables an operation on the SVG interactive object on the SVG document 3703 to be displayed within the range set for each object (step S3903).

この範囲は、図29のドキュメントフォーマット変換処理、及び図33のインタラクティブ性設定処理で説明したコンテンツ調整許可範囲である。特に、ここでは、設定ファイル3801の「コンテンツ調整許可値を適用」設定に基づき、Webサーバ3401のレイアウト生成アプリケーション3404によってSVGドキュメント3702に設定されたものである。   This range is the content adjustment permission range described in the document format conversion process in FIG. 29 and the interactiveness setting process in FIG. In particular, here, the SVG document 3702 is set by the layout generation application 3404 of the Web server 3401 based on the “apply content adjustment permission value” setting of the setting file 3801.

Webブラウザ3501のユーザは、ツールボタン3704によりオブジェクト操作ハンドル用となったマウスポインタを用いて、SVGインタラクティブオブジェクトへの位置変更操作及びサイズ変更操作を行う。その際、各SVGインタラクティブオブジェクトに設定された制限範囲内で自由に行い、レイアウトの調整を行うことができる。   The user of the Web browser 3501 performs a position change operation and a size change operation on the SVG interactive object by using the mouse pointer that is used for the object operation handle by the tool button 3704. At this time, the layout can be adjusted by freely performing within the limit range set for each SVG interactive object.

ここで、レイアウトの調整例について、図40を用いて説明する。   Here, an example of layout adjustment will be described with reference to FIG.

図40は、レイアウトの調整操作として、SVGインタラクティブオブジェクトのリサイズ操作例を示している。   FIG. 40 shows an example of the resizing operation of the SVG interactive object as the layout adjusting operation.

図40において、4006は、オブジェクト操作ハンドル用のマウスポインタである。4007は、SVGインタラクティブオブジェクトである。4008は、SVGインタラクティブオブジェクト4007のリサイズ操作によってサイズが変更されたSVGインタラクティブオブジェクトである。   In FIG. 40, reference numeral 4006 denotes a mouse pointer for an object operation handle. Reference numeral 4007 denotes an SVG interactive object. Reference numeral 4008 denotes an SVG interactive object whose size has been changed by a resize operation of the SVG interactive object 4007.

4009は、オブジェクト操作ハンドルであり、リサイズ操作中のSVGインタラクティブオブジェクト4008の四隅に表示される。4010は、SVGインタラクティブオブジェクト4007のリサイズ制限範囲を示すガイドである。   Reference numeral 4009 denotes an object operation handle, which is displayed at the four corners of the SVG interactive object 4008 being resized. Reference numeral 4010 denotes a guide indicating the resize limit range of the SVG interactive object 4007.

Webブラウザ3701のユーザは、レイアウト調整を実行した後、再度、ユーザ操作用のツールボタン3704をクリックすると、マウスポインタをオブジェクト操作ハンドル用のマウスポインタ4006から基のマウスポインタ3706(図37)に戻る。   When the user of the Web browser 3701 clicks the tool button 3704 for user operation again after executing the layout adjustment, the mouse pointer is returned from the mouse pointer 4006 for object operation handle to the original mouse pointer 3706 (FIG. 37). .

さて、SVGドキュメント表示プログラム3702は、このレイアウト調整操作を監視し、レイアウト調整が終了したか否かを判定する(ステップS3904)。レイアウト調整が終了していない場合(ステップS3904でNO)、終了するまで待機する。   Now, the SVG document display program 3702 monitors this layout adjustment operation and determines whether or not the layout adjustment is completed (step S3904). If the layout adjustment has not ended (NO in step S3904), the process waits until it ends.

尚、レイアウト調整の終了の判定は、例えば、ユーザ操作用のツールボタン3704のクリックによって得られるマウスポインタの状態に基づいて実行する。例えば、マウスポインタ3706の状態は、レイアウト調整前あるいはレイアウト調整後であると判定し、マウスポインタ4006の状態はレイアウト調整中と判定する。   Note that the end of layout adjustment is determined based on, for example, the state of the mouse pointer obtained by clicking the tool button 3704 for user operation. For example, it is determined that the state of the mouse pointer 3706 is before or after layout adjustment, and the state of the mouse pointer 4006 is determined to be during layout adjustment.

そこで、ステップS3904において、レイアウト調整が終了した場合(ステップS3904でYES)、印刷指示の有無を判定する(ステップS3805)。印刷指示がない場合(ステップS3905でNO)、印刷指示があるまで待機する。一方、印刷指示がある場合(ステップS3905でYES)、そのSVGドキュメント3703をプリンタに出力する。   Therefore, when the layout adjustment is completed in step S3904 (YES in step S3904), it is determined whether or not there is a print instruction (step S3805). If there is no print instruction (NO in step S3905), the process waits until there is a print instruction. On the other hand, if there is a print instruction (YES in step S3905), the SVG document 3703 is output to the printer.

尚、印刷指示の有無の判定は、ツールボタン3705の操作の有無に基づいて実行する。つまり、ツールボタン3705が操作された場合に、印刷指示がSVGドキュメント表示プログラム3702に発行されることになる。   Whether or not there is a print instruction is determined based on whether or not the tool button 3705 is operated. That is, when the tool button 3705 is operated, a print instruction is issued to the SVG document display program 3702.

以上説明したように、ユーザは、予め設定されている範囲内で、SVGドキュメント上のSVGインタラクティブオブジェクトの調整操作を実行することができる。   As described above, the user can execute the adjustment operation of the SVG interactive object on the SVG document within a preset range.

尚、上述の説明では、SVGドキュメント表示プログラム3702をWebブラウザ3701とは別に設けたが、これに限定されるものではない。例えば、Webブラウザ3701が、SVGドキュメント表示プログラム3702(SVGドキュメントを直接解釈し、表示、インタラクティブ対応、印刷可能な構成)が実現する構成を実現するように構成してもよい。   In the above description, the SVG document display program 3702 is provided separately from the Web browser 3701. However, the present invention is not limited to this. For example, the Web browser 3701 may be configured to realize a configuration realized by the SVG document display program 3702 (a configuration capable of directly interpreting an SVG document and displaying, interactively supporting, and printing).

また、本実施形態では、ドキュメント上で構成されるオブジェクトにインタラクティブ性を設定するために、SVG形式のドキュメントフォーマット及びJava(登録商標)Scriptによるスクリプティングを用いる例を用いたが、これに限定されるものではない。つまり、ドキュメント上で構成されるオブジェクト(コンテナ、それに挿入されたコンテンツ(イメージ、テキスト等))にインタラクティブ性を設定可能な構成であれば、どのような構成でも良い。   Further, in this embodiment, in order to set the interactivity to the object configured on the document, the example using the SVG format document format and the scripting by Java (registered trademark) Script is used. However, the present invention is not limited to this. It is not a thing. In other words, any configuration may be used as long as interactivity can be set for an object (container and contents (image, text, etc.) inserted in the object) configured on the document.

以上説明したように、本実施形態によれば、ユーザは、配信されたドキュメント上のコンテンツ(オブジェクト)のレイアウトを、設定された範囲内で操作できる。これにより、各自の好みに応じたレイアウト調整を実行することができる。   As described above, according to the present embodiment, the user can operate the layout of the content (object) on the distributed document within the set range. Thereby, the layout adjustment according to each preference can be executed.

また、テンプレート編集者及びドキュメント配信者は、配信したドキュメントの第三者による改変を、予測範囲内に収めることが可能となる。即ち、テンプレート編集者側が第三者に禁止したい変更は、テンプレート編集者側でその変更を第三者に許可しないよう設定することができる。   In addition, the template editor and the document distributor can keep the modification of the distributed document by a third party within the predicted range. That is, a change that the template editor side wants to prohibit to a third party can be set so that the template editor side does not permit the change to the third party.

以上、実施形態例を詳述したが、本発明は、例えば、システム、装置、方法、プログラムもしくは記憶媒体等としての実施態様をとることが可能である。具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。   Although the embodiment has been described in detail above, the present invention can take an embodiment as a system, apparatus, method, program, storage medium, or the like. Specifically, the present invention may be applied to a system composed of a plurality of devices, or may be applied to an apparatus composed of a single device.

尚、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラム(実施形態では図に示すフローチャートに対応したプログラム)を、システムあるいは装置に直接あるいは遠隔から供給する。そして、そのシステムあるいは装置のコンピュータが該供給されたプログラムコードを読み出して実行することによっても達成される場合を含む。   In the present invention, a software program (in the embodiment, a program corresponding to the flowchart shown in the drawing) that realizes the functions of the above-described embodiments is directly or remotely supplied to a system or apparatus. In addition, this includes a case where the system or the computer of the apparatus is also achieved by reading and executing the supplied program code.

従って、本発明の機能処理をコンピュータで実現するために、該コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。   Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. In other words, the present invention includes a computer program itself for realizing the functional processing of the present invention.

その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等の形態であっても良い。   In that case, as long as it has the function of a program, it may be in the form of object code, a program executed by an interpreter, script data supplied to the OS, or the like.

プログラムを供給するための記録媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスクがある。また、更に、記録媒体としては、光磁気ディスク、MO、CD−ROM、CD−R、CD−RW、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM,DVD−R)などがある。   Examples of the recording medium for supplying the program include a floppy (registered trademark) disk, a hard disk, and an optical disk. Further, as a recording medium, magneto-optical disk, MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatile memory card, ROM, DVD (DVD-ROM, DVD-R), etc. is there.

その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続する。そして、その接続先のホームページから本発明のコンピュータプログラムそのもの、もしくは圧縮され自動インストール機能を含むファイルをハードディスク等の記録媒体にダウンロードすることによっても供給できる。また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明に含まれるものである。   As another program supply method, a browser on a client computer is used to connect to an Internet home page. Then, the computer program itself of the present invention or a compressed file including an automatic installation function can be downloaded from a homepage of the connection destination to a recording medium such as a hard disk. It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. That is, a WWW server that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer is also included in the present invention.

また、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせる。そして、その鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。   In addition, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, distributed to users, and key information for decryption is downloaded from a homepage via the Internet to users who have cleared predetermined conditions. Let It is also possible to execute the encrypted program by using the key information and install the program on a computer.

また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される。また、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部または全部を行ない、その処理によっても前述した実施形態の機能が実現され得る。   Further, the functions of the above-described embodiments are realized by the computer executing the read program. Further, based on the instructions of the program, an OS or the like running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments can be realized by the processing.

さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。その後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行ない、その処理によっても前述した実施形態の機能が実現される。   Further, the program read from the recording medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Thereafter, the CPU of the function expansion board or function expansion unit performs part or all of the actual processing based on the instructions of the program, and the functions of the above-described embodiments are realized by the processing.

本発明の実施形態の情報処理システムの構成例を示す図である。It is a figure which shows the structural example of the information processing system of embodiment of this invention. 本発明の実施形態の情報処理システムの一構成要素であるホストコンピュータのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the host computer which is one component of the information processing system of embodiment of this invention. 本発明の実施形態の情報処理システムの別構成例を示す図である。It is a figure which shows another structural example of the information processing system of embodiment of this invention. 本発明の実施形態のバリアブルデータプリントの概略を説明するための図である。It is a figure for demonstrating the outline of the variable data printing of embodiment of this invention. 本発明の実施形態のユーザインタフェースの一例を示す図である。It is a figure which shows an example of the user interface of embodiment of this invention. 本発明の実施形態のユーザインタフェースにおけるコンテナの表示例を示す図である。It is a figure which shows the example of a display of the container in the user interface of embodiment of this invention. 本発明の実施形態のコンテナの表示ルールを説明するための図である。It is a figure for demonstrating the display rule of the container of embodiment of this invention. 本発明の実施形態のリンクの設定処理を示すフローチャートである。It is a flowchart which shows the setting process of the link of embodiment of this invention. 本発明の実施形態のリンク設定時のユーザインタフェースの遷移例を示す図である。It is a figure which shows the example of a transition of the user interface at the time of the link setting of embodiment of this invention. 本発明の実施形態の動的レイアウト計算処理を示すフローチャートである。It is a flowchart which shows the dynamic layout calculation process of embodiment of this invention. 本発明の実施形態の動的レイアウト計算処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the dynamic layout calculation process of embodiment of this invention. 本発明の実施形態の動的レイアウト計算処理時におけるコンテナの集合を説明するための図である。It is a figure for demonstrating the collection of the containers at the time of the dynamic layout calculation process of embodiment of this invention. 本発明の実施形態の動的レイアウト計算処理におけるユーザインタフェースの一例を示す図である。It is a figure which shows an example of the user interface in the dynamic layout calculation process of embodiment of this invention. 本発明の実施形態の可変リンクの設定のためのユーザインタフェースの一例を示す図である。It is a figure which shows an example of the user interface for the setting of the variable link of embodiment of this invention. 本発明の実施形態のリンク設定機能を実現するユーザインタフェースの一例を示す図である。It is a figure which shows an example of the user interface which implement | achieves the link setting function of embodiment of this invention. 本発明の実施形態の可変リンクの設定処理を示すフローチャートである。It is a flowchart which shows the setting process of the variable link of embodiment of this invention. 本発明の実施形態の固定サイズのリンクを使用した場合のレイアウト結果を示す図である。It is a figure which shows the layout result at the time of using the link of the fixed size of embodiment of this invention. 本発明の実施形態の可変サイズのリンクを使用した場合のレイアウト結果を示す図である。It is a figure which shows the layout result at the time of using the variable size link of embodiment of this invention. 本発明の実施形態のコンテナ設定機能を実現するユーザインタフェースの一例を示す図である。It is a figure which shows an example of the user interface which implement | achieves the container setting function of embodiment of this invention. 本発明の実施形態のコンテナプロパティの設定処理を示すフローチャートである。It is a flowchart which shows the setting process of the container property of embodiment of this invention. 本発明の実施形態のコンテンツ調整許可値設定処理を示すフローチャートである。It is a flowchart which shows the content adjustment permission value setting process of embodiment of this invention. 本発明の実施形態のレイアウト編集アプリケーションの編集画面を示す図である。It is a figure which shows the edit screen of the layout edit application of embodiment of this invention. 本発明の実施形態のレイアウトエンジンが計算したイメージコンテナの可動位置範囲を示す概念図である。It is a conceptual diagram which shows the movable position range of the image container which the layout engine of embodiment of this invention calculated. 本発明の実施形態のレイアウトエンジンが計算したイメージコンテナの可最大サイズ量を示す概念図である。It is a conceptual diagram which shows the maximum size amount of the image container which the layout engine of embodiment of this invention calculated. 本発明の実施形態のレイアウトエンジンが計算したイメージコンテナの可最小サイズ量を示す概念図である。It is a conceptual diagram which shows the minimum size amount of the image container which the layout engine of embodiment of this invention calculated. 本発明の実施形態のレイアウトエンジンが計算したテキストコンテナの可動位置範囲を示す概念図である。It is a conceptual diagram which shows the movable position range of the text container which the layout engine of embodiment of this invention calculated. 本発明の実施形態のレイアウトエンジンが計算したテキストコンテナの可最大サイズ量を示す概念図である。It is a conceptual diagram which shows the maximum size amount of the text container which the layout engine of embodiment of this invention calculated. 本発明の実施形態のレイアウトエンジンが計算したテキストコンテナの可最小サイズ量を示す概念図である。It is a conceptual diagram which shows the minimum size amount of the text container which the layout engine of embodiment of this invention calculated. 本発明の実施形態のコンテンツ調整許可範囲設定機能を実現するユーザインタフェースの一例を示す図である。It is a figure which shows an example of the user interface which implement | achieves the content adjustment permission range setting function of embodiment of this invention. 本発明の実施形態のコンテンツ調整許可選択機能を実現するユーザインタフェースの一例を示す図である。It is a figure which shows an example of the user interface which implement | achieves the content adjustment permission selection function of embodiment of this invention. 本発明の実施形態のドキュメントフォーマット変換処理を示すフローチャートである。It is a flowchart which shows the document format conversion process of embodiment of this invention. 本発明の実施形態のレイアウト編集アプリケーションのメニューバーを示す図である。It is a figure which shows the menu bar of the layout edit application of embodiment of this invention. 本発明の実施形態のレイアウト編集アプリケーションのプレビュー画面を示す図である。It is a figure which shows the preview screen of the layout editing application of embodiment of this invention. 本発明の実施形態のドキュメントフォーマット変換処理による出力結果例を示す図である。It is a figure which shows the example of an output result by the document format conversion process of embodiment of this invention. 本発明の実施形態のインタラクティブ性設定処理を示すフローチャートである。It is a flowchart which shows the interactive property setting process of embodiment of this invention. 本発明の実施形態のレイアウト編集アプリケーション121によって作成されたドキュメントテンプレートを配置するWebシステムの構成概念図である。1 is a conceptual diagram of a configuration of a Web system that arranges document templates created by a layout editing application 121 according to an embodiment of the present invention. 本発明の実施形態のHTMLフォームを表示するためのWebブラウザ画面の一例を示す図である。It is a figure which shows an example of the web browser screen for displaying the HTML form of embodiment of this invention. 本発明の実施形態のWebシステムでのドキュメント配信処理を示すフローチャートである。It is a flowchart which shows the document delivery process in the Web system of embodiment of this invention. 本発明の実施形態のWebブラウザでのSVGドキュメント表示画面の一例を示す図である。It is a figure which shows an example of the SVG document display screen with the web browser of embodiment of this invention. 本発明の実施形態のレイアウト生成アプリケーションの設定ファイルの一例を示す図である。It is a figure which shows an example of the setting file of the layout production | generation application of embodiment of this invention. 本発明の実施形態のドキュメントのコンテンツ(オブジェクト)の調整及び印刷処理を示すフローチャートである。6 is a flowchart illustrating document content (object) adjustment and print processing according to the embodiment of this invention. 本発明の実施形態のSVGドキュメント表示プログラムでのリサイズ操作例を示す図である。It is a figure which shows the example of resizing operation in the SVG document display program of embodiment of this invention.

符号の説明Explanation of symbols

101 ホストコンピュータ
103 ユーザインタフェース
105、255 レイアウトエンジン
107 ネットワーク
109 プリントサーバ
111 通信チャネル
113 プリンタ
115 ファイルサーバ
117 データベースサーバ
119 データベース
121 レイアウト編集アプリケーション
123 通信チャネル
227 エンジンサーバ
101 Host Computer 103 User Interface 105, 255 Layout Engine 107 Network 109 Print Server 111 Communication Channel 113 Printer 115 File Server 117 Database Server 119 Database 121 Layout Editing Application 123 Communication Channel 227 Engine Server

Claims (17)

複数種類のデータフィールドからなるレコードから、選択されたデータフィールドのデータを挿入するためのフィールド領域を、ドキュメントにレイアウトする情報処理装置であって、
前記ドキュメント上にレイアウトされる前記フィールド領域にデータを挿入して、該フィールド領域のレイアウト処理を実行するレイアウト手段と、
前記レイアウト手段によって得られるドキュメント上のオブジェクトの調整を許容する範囲を示す調整許可設定値を設定する第1設定手段と、
前記レイアウト手段によるレイアウト結果を、指定されたドキュメントフォーマットのドキュメントに変換する変換手段と、
選択された調整方法に基づいて、前記ドキュメント上のオブジェクトを、前記調整許可設定値に基づいて調整を許容するインタラクティブオブジェクトとして設定する第2設定手段と
を備えることを特徴とする情報処理装置。
An information processing apparatus for laying out a field area for inserting data of a selected data field from a record including a plurality of types of data fields in a document,
Layout means for inserting data into the field area laid out on the document and executing layout processing of the field area;
First setting means for setting an adjustment permission setting value indicating a range in which adjustment of an object on a document obtained by the layout means is allowed;
Conversion means for converting a layout result by the layout means into a document of a specified document format;
An information processing apparatus comprising: a second setting unit configured to set an object on the document as an interactive object that permits adjustment based on the adjustment permission setting value based on a selected adjustment method.
前記第2設定手段は、前記調整許可設定値が示す可動位置範囲及びサイズ変更可能量を、前記インタラクティブオブジェクトの調整操作で許容する可動位置範囲及びサイズ変更可能量として設定する
ことを特徴とする請求項1に記載の情報処理装置。
The second setting means sets the movable position range and the size changeable amount indicated by the adjustment permission setting value as a movable position range and a size changeable amount allowed by the adjustment operation of the interactive object. Item 4. The information processing apparatus according to Item 1.
前記フィールド領域の可動位置範囲及びサイズ変更可能量を設定する第3設定手段を更に備える
ことを特徴とする請求項1に記載の情報処理装置。
The information processing apparatus according to claim 1, further comprising third setting means for setting a movable position range and a size changeable amount of the field area.
前記第1設定手段は、前記第3設定手段で設定された可動位置範囲及びサイズ変更可能量を調整することで、前記調整許可設定値を設定する
ことを特徴とする請求項3に記載の情報処理装置。
The information according to claim 3, wherein the first setting unit sets the adjustment permission setting value by adjusting the movable position range and the size changeable amount set by the third setting unit. Processing equipment.
前記フィールド領域は、可動位置範囲及びサイズ変更可能量を有する動的フィールド領域と、可動位置範囲及びサイズ変更可能量を持たない静的フィールド領域の2種類がある
ことを特徴とする請求項1に記載の情報処理装置。
The field field includes two types: a dynamic field area having a movable position range and a resizeable amount, and a static field area having no movable position range and a resizeable amount. The information processing apparatus described.
前記第1設定手段は、前記調整許可設定値として、前記オブジェクトの可動位置範囲及びサイズ変更可能量を調整する調整手段と、
前記調整手段による調整の可否を、前記可動位置範囲及び前記サイズ変更可能量に対して個別に指定する指定手段と
を備えることを特徴とする請求項1に記載の情報処理装置。
The first setting means adjusts the movable position range and the size changeable amount of the object as the adjustment permission setting value;
The information processing apparatus according to claim 1, further comprising: a designation unit that individually designates whether the adjustment by the adjustment unit is possible with respect to the movable position range and the size changeable amount.
前記調整方法として、前記ドキュメント上のオブジェクトの調整を許容する調整許容モードと、調整を禁止する調整禁止モードの少なくとも2種類の調整モードのどちらかを選択する選択手段を更に備える
ことを特徴とする請求項1に記載の情報処理装置。
The adjustment method further includes selection means for selecting at least two types of adjustment modes: an adjustment permission mode that allows adjustment of an object on the document and an adjustment prohibition mode that prohibits adjustment. The information processing apparatus according to claim 1.
前記第2設定手段による設定がなされたドキュメント上のオブジェクトを調整するオブジェクト調整手段と、
前記ドキュメントを印刷する印刷手段と
を更に備えることを特徴とする請求項1に記載の情報処理装置。
Object adjusting means for adjusting an object on the document set by the second setting means;
The information processing apparatus according to claim 1, further comprising: a printing unit that prints the document.
当該情報処理装置とネットワークを介して接続される外部装置へ、前記第2設定手段による設定がなされたドキュメントを配信する配信手段を更に備える
ことを特徴とする請求項1に記載の情報処理装置。
The information processing apparatus according to claim 1, further comprising distribution means for distributing the document set by the second setting means to an external apparatus connected to the information processing apparatus via a network.
複数種類のデータフィールドからなるレコードから、選択されたデータフィールドのデータを挿入するためのフィールド領域を、ドキュメントにレイアウトする情報処理装置の制御方法であって、
前記ドキュメント上にレイアウトされる前記フィールド領域にデータを挿入して、該フィールド領域のレイアウト処理を実行するレイアウト工程と、
前記レイアウト工程によって得られるドキュメント上のオブジェクトの調整を許容する範囲を示す調整許可設定値を設定する第1設定工程と、
前記レイアウト工程によるレイアウト結果を、指定されたドキュメントフォーマットのドキュメントに変換する変換工程と、
選択された調整方法に基づいて、前記ドキュメント上のオブジェクトを、前記調整許可設定値に基づいて調整を許容するインタラクティブオブジェクトとして設定する第2設定工程と
を備えることを特徴とする情報処理装置の制御方法。
A method for controlling an information processing apparatus that lays out a field area for inserting data of a selected data field from a record including a plurality of types of data fields in a document,
A layout step of inserting data into the field area laid out on the document and executing layout processing of the field area;
A first setting step for setting an adjustment permission setting value indicating a range in which adjustment of an object on a document obtained by the layout step is allowed;
A conversion step of converting the layout result of the layout step into a document of a specified document format;
And a second setting step of setting an object on the document as an interactive object that permits adjustment based on the adjustment permission setting value based on the selected adjustment method. Method.
複数種類のデータフィールドからなるレコードから、選択されたデータフィールドのデータを挿入するためのフィールド領域を、ドキュメントにレイアウトする制御をコンピュータに実行させるためのプログラムであって、
前記ドキュメント上にレイアウトされる前記フィールド領域にデータを挿入して、該フィールド領域のレイアウト処理を実行するレイアウト工程と、
前記レイアウト工程によって得られるドキュメント上のオブジェクトの調整を許容する範囲を示す調整許可設定値を設定する第1設定工程と、
前記レイアウト工程によるレイアウト結果を、指定されたドキュメントフォーマットのドキュメントに変換する変換工程と、
選択された調整方法に基づいて、前記ドキュメント上のオブジェクトを、前記調整許可設定値に基づいて調整を許容するインタラクティブオブジェクトとして設定する第2設定工程と
をコンピュータに実行させることを特徴とするプログラム。
A program for causing a computer to execute control for laying out a field area for inserting data of a selected data field from a record including a plurality of types of data fields in a document,
A layout step of inserting data into the field area laid out on the document and executing layout processing of the field area;
A first setting step for setting an adjustment permission setting value indicating a range in which adjustment of an object on a document obtained by the layout step is allowed;
A conversion step of converting the layout result of the layout step into a document of a specified document format;
A program that causes a computer to execute a second setting step of setting an object on the document as an interactive object that permits adjustment based on the adjustment permission setting value based on a selected adjustment method.
コンテナの属性に基づきコンテンツがレイアウトされたデータを記憶する記憶手段と、
前記コンテナの属性に基づきコンテンツの修正範囲を設定する設定手段と、
前記設定手段により設定されたコンテンツの修正範囲に基づき修正の制限されるドキュメントを生成する生成手段と
を備えることを特徴とする情報処理装置。
Storage means for storing data in which content is laid out based on the attributes of the container;
Setting means for setting a content correction range based on the attribute of the container;
An information processing apparatus comprising: generating means for generating a document whose correction is restricted based on a content correction range set by the setting means.
コンテナの属性に基づきコンテンツがレイアウトされたデータを記憶する記憶手段と、
前記コンテナの属性に基づきコンテンツの移動許可領域、またはサイズ変更許可範囲を設定する設定手段と、
前記設定手段により設定されたコンテンツの移動領域、またはサイズ変更範囲に基づき、コンテンツの移動許可領域、またはサイズ変更許可範囲が制限されるドキュメントを生成する生成手段と
を備えることを特徴とする情報処理装置。
Storage means for storing data in which content is laid out based on the attributes of the container;
Setting means for setting a content movement permission area or a size change permission range based on the attribute of the container;
And a generation unit configured to generate a document whose content movement permission area or size change permission range is limited based on the content movement area or size change range set by the setting unit. apparatus.
コンテナの属性に基づきコンテンツがレイアウトされたデータからドキュメントを生成するドキュメント生成方法であって、
前記コンテナの属性に基づきコンテンツの修正範囲を設定する設定工程と、
前記設定工程により設定されたコンテンツの修正範囲に基づき修正の制限されるドキュメントを生成する生成工程と
を備えることを特徴とするドキュメント生成方法。
A document generation method for generating a document from data in which content is laid out based on a container attribute,
A setting step of setting a content correction range based on the attribute of the container;
A document generation method comprising: generating a document whose modification is restricted based on the content modification range set by the setting step.
コンテナの属性に基づきコンテンツがレイアウトされたデータからドキュメントを生成するドキュメント生成方法であって、
前記コンテナの属性に基づきコンテンツの移動許可領域、またはサイズ変更許可範囲を設定する設定工程と、
前記設定工程により設定されたコンテンツの移動領域、またはサイズ変更範囲に基づき、コンテンツの移動許可領域、またはサイズ変更許可範囲が制限されるドキュメントを生成する生成工程と
を備えることを特徴とするドキュメント生成方法。
A document generation method for generating a document from data in which content is laid out based on a container attribute,
A setting step for setting a content movement permission area or a size change permission range based on the attribute of the container;
A document generation step for generating a document in which the content movement permission area or the size change permission range is limited based on the content movement area or the size change range set in the setting step. Method.
コンテナの属性に基づきコンテンツがレイアウトされたデータからドキュメントを生成するコンピュータに実行させるためのプログラムであって、
前記コンテナの属性に基づきコンテンツの修正範囲を設定する設定工程と、
前記設定工程により設定されたコンテンツの修正範囲に基づき修正の制限されるドキュメントを生成する生成工程と
をコンピュータに実行させることを特徴とするプログラム。
A program for causing a computer to generate a document from data in which content is laid out based on a container attribute,
A setting step of setting a content correction range based on the attribute of the container;
A program causing a computer to execute a generation step of generating a document whose correction is restricted based on a correction range of the content set in the setting step.
コンテナの属性に基づきコンテンツがレイアウトされたデータからドキュメントを生成するコンピュータに実行させるためのプログラムであって、
前記コンテナの属性に基づきコンテンツの移動許可領域、またはサイズ変更許可範囲を設定する設定工程と、
前記設定工程により設定されたコンテンツの移動領域、またはサイズ変更範囲に基づき、コンテンツの移動許可領域、またはサイズ変更許可範囲が制限されるドキュメントを生成する生成工程と
をコンピュータに実行させることを特徴とするプログラム。
A program for causing a computer to generate a document from data in which content is laid out based on a container attribute,
A setting step for setting a content movement permission area or a size change permission range based on the attribute of the container;
Generating a document in which the content movement permission area or the size change permission range is limited based on the content movement area or the size change range set in the setting step. Program to do.
JP2006211380A 2005-08-05 2006-08-02 Information processor apparatus, its control method, and program Withdrawn JP2007066304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006211380A JP2007066304A (en) 2005-08-05 2006-08-02 Information processor apparatus, its control method, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005228475 2005-08-05
JP2006211380A JP2007066304A (en) 2005-08-05 2006-08-02 Information processor apparatus, its control method, and program

Publications (2)

Publication Number Publication Date
JP2007066304A true JP2007066304A (en) 2007-03-15
JP2007066304A5 JP2007066304A5 (en) 2009-09-17

Family

ID=37928356

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006211380A Withdrawn JP2007066304A (en) 2005-08-05 2006-08-02 Information processor apparatus, its control method, and program

Country Status (1)

Country Link
JP (1) JP2007066304A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009289022A (en) * 2008-05-29 2009-12-10 Ricoh Co Ltd Screen edition device, screen edition method, program, electronic equipment and image forming apparatus
WO2014181563A1 (en) * 2013-05-10 2014-11-13 ウイングアーク1st株式会社 Document processing device and document processing program
JP2019219968A (en) * 2018-06-20 2019-12-26 Zホールディングス株式会社 Image processing device, image processing method, and image processing program
JP2022093399A (en) * 2013-03-14 2022-06-23 ウィックス.コム リミテッド. System and method for server of website construction system
WO2023187889A1 (en) * 2022-03-28 2023-10-05 日本電気株式会社 Information processing device, layout assistance method, and layout assistance program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009289022A (en) * 2008-05-29 2009-12-10 Ricoh Co Ltd Screen edition device, screen edition method, program, electronic equipment and image forming apparatus
JP2022093399A (en) * 2013-03-14 2022-06-23 ウィックス.コム リミテッド. System and method for server of website construction system
JP7420861B2 (en) 2013-03-14 2024-01-23 ウィックス.コム リミテッド. System and method for website building system server
WO2014181563A1 (en) * 2013-05-10 2014-11-13 ウイングアーク1st株式会社 Document processing device and document processing program
JP2019219968A (en) * 2018-06-20 2019-12-26 Zホールディングス株式会社 Image processing device, image processing method, and image processing program
WO2023187889A1 (en) * 2022-03-28 2023-10-05 日本電気株式会社 Information processing device, layout assistance method, and layout assistance program

Similar Documents

Publication Publication Date Title
JP4700940B2 (en) Information processing apparatus, control method therefor, and program
JP4332477B2 (en) Layout adjusting method, apparatus and program
JP4144883B2 (en) Information processing apparatus, control method therefor, and program
JP4560416B2 (en) Information processing apparatus, control method therefor, and program
JP4250540B2 (en) Layout adjustment method and apparatus, and layout adjustment program
JP4332480B2 (en) Layout adjusting method, apparatus and program
US8464151B2 (en) Layout of field area where merchandise and advertising information are inserted or determining position and size of area where merchandise and advertising information flow
JP4522280B2 (en) Information processing apparatus, control method therefor, and program
JP4912139B2 (en) Information processing device
US7707494B2 (en) Information processing apparatus, control method therefor, and program
JP4298642B2 (en) Layout processing method, layout processing apparatus, and layout processing program
US7847971B2 (en) Layout processing method, information processing apparatus, and computer program
JP2006277727A (en) Layout processing method, information processing apparatus, and computer program
US7853872B2 (en) Laying out field regions in a page for insertion of data
JP2007066304A (en) Information processor apparatus, its control method, and program
JP2005216181A (en) Document processing method, document processor, and document processing program
JP2007249431A (en) Information processor, its control method, and program
JP2010122893A (en) Variable printing system
JP2007122486A (en) Web document processing method, program, and storage medium
JP4743909B2 (en) Information processing method and apparatus, and computer program
JP2006074225A (en) Method, device and program for adjusting layout
JP2007094756A (en) Information processor, layout processing method, storage medium and program
JP2010176366A (en) Variable print system

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090803

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090803

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20091023