JP2007164685A - Information processing apparatus, data output control method, program and storage medium - Google Patents

Information processing apparatus, data output control method, program and storage medium Download PDF

Info

Publication number
JP2007164685A
JP2007164685A JP2005363306A JP2005363306A JP2007164685A JP 2007164685 A JP2007164685 A JP 2007164685A JP 2005363306 A JP2005363306 A JP 2005363306A JP 2005363306 A JP2005363306 A JP 2005363306A JP 2007164685 A JP2007164685 A JP 2007164685A
Authority
JP
Japan
Prior art keywords
data
output
break
change
page
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
JP2005363306A
Other languages
Japanese (ja)
Inventor
Ryuta Mori
龍太 森
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 JP2005363306A priority Critical patent/JP2007164685A/en
Publication of JP2007164685A publication Critical patent/JP2007164685A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To acquire user desired output results in which the number of pages is user desirable one and extra margins do not exist without changing appearance, such as character size or line spacing, with performing appropriate break processing corresponding to a use environment, improving data visibility and maintaining sorting convenience without useless print out. <P>SOLUTION: Limiting conditions (limitations for margins and the number of pages) for output pages to be generated by executing break processing corresponding to data changes in prespecified data items are configured for data that consists of a plurality of data items. If generated output pages satisfy the specified output page limiting conditions, form creation application programs 121 change data items to determine changes of the data and generate output pages applied with break processing corresponding to data changes in data items to determine changes of the changed data. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、帳票データ等の出力の際に改ページを制御可能な情報処理装置およびデータ出力制御方法に関する。   The present invention relates to an information processing apparatus and a data output control method capable of controlling a page break when outputting form data or the like.

従来、帳票等を出力する際に、出力フォームのレイアウトを示すフォームファイル(テンプレート)の所定の個所(フィールド)に対し、指定されたデータを流し込んで出力フォームを得られるようにしていた。そして、指定されたデータにおいて特定の項目のデータ変化を認識することに応じて、ブレイク処理(例えば、改ページまたは改行処理を指し、区切り処理ともいう)が行われている。このブレイク処理により、データの視認性が向上する。   Conventionally, when outputting a form or the like, an output form can be obtained by flowing specified data into a predetermined portion (field) of a form file (template) indicating the layout of the output form. A break process (for example, a page break or line feed process, also referred to as a break process) is performed in response to recognizing a data change of a specific item in designated data. This break processing improves data visibility.

しかし、このブレイク処理は、予め定められた特定の項目のデータが変化する度にブレイク処理が行われるため、ユーザが流し込むデータの内容を認識していない場合、ユーザの意図しない出力結果となる恐れがあった。   However, since this break process is performed every time the data of a specific item determined in advance is changed, if the user does not recognize the contents of the data to be flowed, an output result unintended by the user may occur. was there.

こういったユーザの意図に反した出力を防止する技術として、帳票とは異なる技術分野であるが特許文献1が開示されている。   As a technique for preventing such output contrary to the user's intention, Patent Document 1 is disclosed in a technical field different from a form.

特許文献1では、指定されたページ数の文書を作成するために、予めパラメータの自動調整の可否や優先順位、調整範囲を設定しておく。そして、文書データのページ数がユーザが指定したページ数よりも多いと判定された場合、設定した情報に基づいてパラメータ値を減少する処理を実行して文書データのページ数をユーザが指定したページ数に収めることが記述されている。
特開平10−105548号公報
In Patent Document 1, in order to create a document with a specified number of pages, whether or not parameters can be automatically adjusted, priorities, and adjustment ranges are set in advance. If it is determined that the number of pages of the document data is larger than the number of pages specified by the user, a process for decreasing the parameter value is executed based on the set information, and the number of pages of the document data specified by the user It is described that it fits in a number.
JP-A-10-105548

しかし、上述した上記特許文献1に記載の技術では、出力結果のページ数についてはユーザの所望とする結果を得ることができる。しかし、文字サイズや行間間隔の幅を変更してしまうため、見栄えに影響する部分が大きく、結果的にユーザが意図していない印刷物が生成されてしまうという問題点があった。   However, with the technique described in Patent Document 1 described above, a result desired by the user can be obtained for the number of pages of output results. However, since the character size and the width of the line spacing are changed, there is a problem that the portion that affects the appearance is large, and as a result, a printed matter that is not intended by the user is generated.

従来のブレイク処理では、予め設定された所定のデータ項目においてデータが変化することに応じて、設定された所定のブレイク処理が実行される。   In the conventional break process, the predetermined break process that has been set is executed in response to data changing in a predetermined data item that has been set in advance.

よって、従来のブレイク処理では、予め設定された固定的なブレイク処理を実行するため、ユーザの意図しない出力結果となる恐れがある。   Therefore, in the conventional break process, a fixed break process that is set in advance is executed, which may result in an output result that is not intended by the user.

例えば、テスト印刷等のページ数の節約が望まれる環境下で、ブレイク処理により改ページが実行されると、出力結果のページ数が膨大な量となる恐れがある。また、配布用の資料を作る場面等においては、ページ数が膨大な量となっても、改ページブレイク処理を行うことで、視認性を高めた印刷結果が望まれる。   For example, if page breaks are executed by break processing in an environment where it is desired to save the number of pages, such as test printing, the number of pages of output results may be enormous. In addition, in the case where a document for distribution is created, even if the number of pages becomes enormous, a print result with improved visibility is desired by performing a page break process.

このようにユーザの利用環境によって、ユーザが望む出力結果は異なるが、従来の固定的なブレイク処理では、利用環境に応じたブレイク処理を実行することはできなかった。   As described above, although the output result desired by the user differs depending on the user's usage environment, the conventional fixed break processing cannot execute the break processing according to the usage environment.

本発明は、上記の問題点を解決するためになされたものである。本発明の目的は、利用環境に応じて適切なブレイク処理を行うことで、データの視認性向上または無駄な印刷出力を行うことなくユーザが望む出力結果を取得できるようにする仕組を提供することである。   The present invention has been made to solve the above problems. An object of the present invention is to provide a mechanism that can obtain an output result desired by a user without improving data visibility or performing unnecessary print output by performing an appropriate break process according to the use environment. It is.

本発明は、複数のデータ項目からなるデータにおいて、予め定められたデータ項目におけるデータの変化に応じて区切り処理を実行して出力ページを生成する情報処理装置において、前記生成される出力ページの制約条件を設定する設定手段と、前記生成された出力ページが前記設定手段により設定された出力ページの制約条件にあてはまる場合、前記データの変化を判定するデータ項目を変更する制御手段と、前記制御手段によって変更された前記データの変化を判定するデータ項目におけるデータの変化に応じて区切り処理を適用した出力ページを生成する生成手段を有することを特徴とする。   The present invention provides an information processing apparatus that generates an output page by executing a delimiter process in response to a change in data in a predetermined data item in data composed of a plurality of data items. A setting means for setting a condition; a control means for changing a data item for determining a change in the data when the generated output page satisfies a restriction condition of the output page set by the setting means; and the control means And generating means for generating an output page to which a delimiter process is applied in accordance with the data change in the data item for determining the change in the data changed by the above.

また、本発明は、複数のデータ項目からなるデータにおいて、予め定められたデータ項目におけるデータの変化に応じて区切り処理を実行して出力ページを生成する情報処理装置において、前記生成される出力ページの制約条件を設定する設定手段と、前記予め定められたデータ項目におけるデータの変化を判定するデータ判定手段と、前記データ判定手段によって、予め定められたデータ項目においてデータの変化が生じたと判定された場合、前記区切り処理を実行する区切り処理実行手段と、前記区切り処理実行手段による区切り処理を実行して生成された出力ページが前記設定手段により設定された出力ページの制約条件にあてはまる場合、前記区切り処理の処理内容を変更する制御手段と、前記制御手段によって変更された前記区切り処理の処理内容に基づいて出力ページを生成する生成手段
を有することを特徴とする。
According to the present invention, in the information processing apparatus that generates an output page by executing a delimiter process according to a change in data in a predetermined data item in data including a plurality of data items, the generated output page It is determined that a data change has occurred in the predetermined data item by the setting means for setting the constraint condition, the data determination means for determining the data change in the predetermined data item, and the data determination means. When the separation processing execution means for executing the separation processing and the output page generated by executing the separation processing by the separation processing execution means meets the output page restriction conditions set by the setting means, Control means for changing the processing content of the separation processing, and the separation changed by the control means It characterized in that it has a generating means for generating an output page based on the processing content of the processing.

本発明は、利用環境に応じて適切なブレイク処理を行うことで、データの視認性向上または無駄な印刷出力を行うことなくユーザが望む出力結果を出力することが可能となる。   According to the present invention, it is possible to output an output result desired by the user without performing data visibility improvement or wasteful print output by performing an appropriate break process according to the use environment.

〔第1実施形態〕
図1は、本発明の一実施形態を示す帳票印刷処理システムに適用可能な情報処理装置のハードウェアの構成の一例を示すブロック図である。
[First Embodiment]
FIG. 1 is a block diagram showing an example of a hardware configuration of an information processing apparatus applicable to a form print processing system showing an embodiment of the present invention.

図1において、101は情報処理装置としてのホストコンピュータである。   In FIG. 1, reference numeral 101 denotes a host computer as an information processing apparatus.

図1に示すように、ホストコンピュータ101は、CPU10による中央処理装置と、ROM11/RAM12による主記憶装置、FD(フレキシブルディスク)ドライブ13やHD(ハードディスク)ドライブ15等による外部記憶装置を備える。また、ホストコンピュータ101は、キーボード16およびマウス18等のポインティングデバイスによる入力装置、CRTディスプレイ17等による表示装置を備える。さらに、ホストコンピュータ101は、プリンタやプロッタ等の印刷装置とネットワークを介して通信可能なネットワークインタフェースカード(NIC;Network Interface Card)19を備える。なお、このNIC19の代わりに、USB,セントロニクスインタフェース,SCSI等の他のインタフェースを備え、印刷装置を接続する構成であってもよい。また、ワードプロセッサ専用装置等のように、印刷装置を備える構成であってもよい。   As shown in FIG. 1, the host computer 101 includes a central processing unit using a CPU 10, a main storage unit using a ROM 11 / RAM 12, an external storage unit using an FD (flexible disk) drive 13, an HD (hard disk) drive 15, and the like. Further, the host computer 101 includes an input device using a pointing device such as a keyboard 16 and a mouse 18 and a display device using a CRT display 17 or the like. Furthermore, the host computer 101 includes a network interface card (NIC) 19 that can communicate with a printing apparatus such as a printer or a plotter via a network. Instead of the NIC 19, another interface such as a USB, a Centronics interface, or a SCSI may be provided to connect a printing apparatus. Moreover, the structure provided with a printing apparatus like a word processor exclusive apparatus etc. may be sufficient.

そして、ホストコンピュータ101は、上記各デバイスとそれらを結ぶシステムバス20とからその主要部が構成されるコンピュータシステムであり、このコンピュータシステムが図示しないネットワークバスによって複数相互に接続されているものである。   The host computer 101 is a computer system whose main part is composed of the above devices and a system bus 20 connecting them, and a plurality of the computer systems are connected to each other by a network bus (not shown). .

ホストコンピュータ101は、基本I/Oプログラム、OS(オペレーションシステム),およびプログラムをCPU10が実行することにより動作する。基本I/OプログラムはROM11に書き込まれており、OSはHD15に書き込まれている。   The host computer 101 operates when the CPU 10 executes a basic I / O program, an OS (operation system), and a program. The basic I / O program is written in the ROM 11 and the OS is written in the HD 15.

そして、ホストコンピュータ101の電源がONされたときに、基本I/Oプログラム中のIPL(イニシャル・プログラム・ローディング)機能により、HD15からOSがRAM12に読み込まれ、OSの動作が開始される。   When the host computer 101 is turned on, the OS is read from the HD 15 into the RAM 12 by the IPL (Initial Program Loading) function in the basic I / O program, and the operation of the OS is started.

本実施形態の場合は、本実施形態の制御プログラムおよび関連データは、FD14内に記録されており、その記録されている内容の構成を図2に示す。   In the case of this embodiment, the control program and related data of this embodiment are recorded in the FD 14, and the configuration of the recorded contents is shown in FIG.

図2は、本発明に係る情報処理装置で読み取り可能な各種データ処理プログラムおよび関連データを格納する記憶媒体(記録媒体)のメモリマップを説明する図である。   FIG. 2 is a diagram for explaining a memory map of a storage medium (recording medium) that stores various data processing programs and related data that can be read by the information processing apparatus according to the present invention.

図2において、31はボリューム情報、32はディレクトリ情報である。33は本実施形態の制御プログラムの実行ファイル、34は制御プログラム33の関連データファイルである。なお、制御プログラム33は、後述する制御手順を示すフローチャートに基づいてプログラムコード化されたものである。   In FIG. 2, 31 is volume information and 32 is directory information. 33 is an execution file of the control program of the present embodiment, and 34 is a related data file of the control program 33. The control program 33 is a program code based on a flowchart showing a control procedure to be described later.

図2に示すように、FD14に記録された制御プログラム33及び関連データ34は、図1に示したようにFDドライブ13を介して本コンピュータシステムにロードすることができる。   As shown in FIG. 2, the control program 33 and the related data 34 recorded in the FD 14 can be loaded into the computer system via the FD drive 13 as shown in FIG.

このFD14をFDドライブ13にセットすると、OSおよび基本I/Oプログラムの制御の下に本制御プログラムおよび関連データがFD14から読み出され、RAM12にロードされて動作可能となる。この様子を図3に示す。   When the FD 14 is set in the FD drive 13, the control program and related data are read from the FD 14 under the control of the OS and the basic I / O program, and are loaded into the RAM 12 to be operable. This is shown in FIG.

図3は、図2に示した制御プログラム33がRAM12にロードされ実行可能となった状態のメモリマップを説明する図である。   FIG. 3 is a diagram for explaining a memory map in a state where the control program 33 shown in FIG. 2 is loaded into the RAM 12 and becomes executable.

図3において、41は基本I/Oプログラム、42はOSである。43は、図2に示した制御プログラム33に対応する。44は、図2に示した制御プログラム関連データファイル34に対応する。45はワークエリアである。   In FIG. 3, 41 is a basic I / O program and 42 is an OS. 43 corresponds to the control program 33 shown in FIG. Reference numeral 44 corresponds to the control program related data file 34 shown in FIG. 45 is a work area.

図3に示すように、本実施形態では、FD14から制御プログラム33及び関連データ34を直接RAM12にロードして実行させる例を示した。しかし、この他に、FD14からプログラム及び関連データを一旦、HD15に格納(インストール)しておき、本プログラムを動作させる際に、HD15からRAM12にロードするようにしてもよい。   As shown in FIG. 3, in the present embodiment, an example in which the control program 33 and related data 34 are directly loaded from the FD 14 into the RAM 12 and executed. However, in addition, the program and related data from the FD 14 may be temporarily stored (installed) in the HD 15 and loaded from the HD 15 into the RAM 12 when the program is operated.

また、制御プログラム33を記録する媒体は、FD14以外にCD−ROM、ICメモリカード等であってもよい。さらに、本プログラムをROM11に記録しておき、これをメモリマップの一部をなすように構成し、直接CPU10で実行することも可能である。   The medium for recording the control program 33 may be a CD-ROM, an IC memory card, or the like in addition to the FD 14. Furthermore, it is also possible to record this program in the ROM 11, configure it as a part of the memory map, and execute it directly by the CPU 10.

図4は、帳票等のデータを印刷するシステムの一例を示すブロック図である。   FIG. 4 is a block diagram illustrating an example of a system for printing data such as a form.

図4において、100は帳票印刷処理システムである。ホストコンピュータ101において、121はフォーム作成アプリケーションプログラム(FORM EDITING APPLICATION)であり、図3に示した制御プログラム33に対応する。このフォーム作成アプリケーションプログラム121は、典型的にFDドライブ13やHDドライブ15に常駐し、CPU10により実行、読み込み、コントロールされる。   In FIG. 4, reference numeral 100 denotes a form print processing system. In the host computer 101, 121 is a form creation application program (FORM EDITING APPLICATION) corresponding to the control program 33 shown in FIG. The form creation application program 121 typically resides in the FD drive 13 or the HD drive 15 and is executed, read, and controlled by the CPU 10.

フォーム作成アプリケーションプログラム121は、2つのソフトウェアコンポーネントを含んでいる。これらのうち1つめのコンポーネントは、ライブラリ(LIBRARY)コンポーネント105(以下、ライブラリ)である。このライブラリ105は、オーバーレイ印刷処理等の処理を行うソフトウェアコンポーネントである。なお、オーバーレイ印刷処理とは、フォームデータの所定の領域に、所定のコンテンツデータをレイアウトして印刷出力する処理を指す。なお、本実施形態のオーバーレイ印刷処理は、指定された項目においてデータが変化した場合、改ページ処理が実行される。   The form creation application program 121 includes two software components. The first of these components is a library (LIBRARY) component 105 (hereinafter referred to as a library). The library 105 is a software component that performs processing such as overlay printing processing. The overlay printing process refers to a process of laying out predetermined content data in a predetermined area of form data and printing it out. In the overlay printing process of this embodiment, a page break process is executed when data changes in a specified item.

2つめのコンポーネントはユーザインタフェース(USER INTERFASE)コンポーネント(以下、UIコンポーネント)103である。このUIコンポーネント103は、ユーザにフォームや設定ファイルを作成させるメカニズムを提供する。なお、このUIコンポーネント103とライブラリ105は、コミュニケーションチャネル123を介して通信する。即ち、フォーム作成アプリケーション121に含まれるUIコンポーネント103が、本実施形態に記載される設定部分に関する制御を行う。なお、ユーザにより設定された値は、RAM12等に保持される。   The second component is a user interface (USER INTERFASE) component (hereinafter, UI component) 103. The UI component 103 provides a mechanism that allows a user to create a form or a setting file. The UI component 103 and the library 105 communicate via a communication channel 123. That is, the UI component 103 included in the form creation application 121 performs control related to the setting part described in the present embodiment. The value set by the user is held in the RAM 12 or the like.

そして、ライブラリ105は、上記RAM12に保持された設定情報を参照して、該設定情報に基づくレイアウト処理(フォームデータに対してコンテンツデータを流し込む処理や後述する動的ブレイク処理)を実行する。   Then, the library 105 refers to the setting information held in the RAM 12 and executes a layout process (a process for inserting content data into the form data or a dynamic break process described later) based on the setting information.

ホストコンピュータ101は、ネットワーク107を介してデータベースサーバ117内のデータベース119、ファイルサーバ115、プリントサーバ109にアクセスすることが可能である。そして、ホストコンピュータ101は、プリントサーバ109を介してプリンタ113を用いた印刷処理を実行可能である。なお、111はプリントサーバ109とプリンタ113のインタフェースである。   The host computer 101 can access the database 119, the file server 115, and the print server 109 in the database server 117 via the network 107. The host computer 101 can execute print processing using the printer 113 via the print server 109. Reference numeral 111 denotes an interface between the print server 109 and the printer 113.

以下、フォームデータに対してコンテンツデータを流し込む処理について説明する。   Hereinafter, a process of inserting content data into form data will be described.

図5は、フォームデータに対してコンテンツデータを流し込む処理を説明する図である。   FIG. 5 is a diagram for explaining a process of inserting content data into form data.

図5において、501はフォームデータである。フォームデータ501には項目として「部」、「課」、「名前」がある。502はフォームデータ501に流し込むコンテンツデータである。本実施形態において、フォームデータに対してコンテンツデータを流し込む処理とは、コンテンツデータ502を、503に示すようにフォームデータ501に流し込む処理である。   In FIG. 5, reference numeral 501 denotes form data. Form data 501 includes “part”, “section”, and “name” as items. Reference numeral 502 denotes content data that is inserted into the form data 501. In the present embodiment, the process of flowing content data into form data is a process of flowing content data 502 into form data 501 as indicated by 503.

次に、本実施形態の動的ブレイク処理について説明する。   Next, the dynamic break process of this embodiment will be described.

まず、動的ブレイク処理を説明する前に、本実施形態のブレイクについて説明する。本実施形態においてブレイクとは、表のある項目のデータ(例えば、列データ等)においてデータが変化することを示す。例えば、「場所」という項目で“東京“というデータが続いている列データにおいて、”大阪”というデータがきた時にブレイクが発生したという。このようにデータの変化に応じて実行される処理をブレイク処理という。なお、本願では、ブレイク処理について区切り処理と記述する場合があるが、同じ意味を指す。また、ブレイク処理(区切り処理)とは、例えば改ページ処理、改行処理を指す。   First, before describing the dynamic break process, the break of this embodiment will be described. In the present embodiment, the term “break” means that data changes in data of a certain item in the table (for example, column data). For example, in the column data in which “Tokyo” continues in the item “location”, a break occurs when data “Osaka” comes. Processing that is executed in response to changes in data is called break processing. In the present application, the break process may be described as a break process, which means the same meaning. Break processing (separation processing) refers to page break processing and line feed processing, for example.

上記帳票503において、ブレイクキー(ブレイク判定を行う項目)が「部」,「課」である場合、504,505でブレイクが発生する。実際、504では、「課」のデータが“1”から“2”に変化している。また、505では、「部」のデータが“A”から“B”に変化し、「課」のデータも“2”から“3”に変化している。   In the form 503, when the break key (item for performing break determination) is “part” or “section”, a break occurs at 504 and 505. In fact, at 504, the data of “section” changes from “1” to “2”. In 505, the “part” data changes from “A” to “B”, and the “section” data also changes from “2” to “3”.

このブレイク箇所504や505で、改ページを行うことにより、データ区切りのよい印刷物を生成することが可能となる。   By performing page breaks at the break points 504 and 505, it is possible to generate printed matter with good data separation.

また、動的ブレイクとは、予め設定された動的ブレイク条件に従って、ブレイク箇所のブレイクを有効にするか否かを動的に変更することを指す。また、動的ブレイク条件とは、動的ブレイクを実行するか否かの設定を示す。ここで設定可能な条件は、大きく分けて余白領域指定及びページ数指定がある。   Further, the dynamic break refers to dynamically changing whether or not to enable a break at a break location according to a preset dynamic break condition. The dynamic break condition indicates a setting as to whether or not to execute a dynamic break. Conditions that can be set here are broadly divided into a margin area specification and a page number specification.

以下、図6〜図33を参照して、動的ブレイク条件の設定について説明する。   Hereinafter, setting of the dynamic break condition will be described with reference to FIGS.

図6は、本実施形態における動的ブレイクキー選択UIの一例を示す図である。このUIは、図1に示したCPU10により実行される図4に示したUIコンポーネント103の制御によりディスプレイ17に表示され、キーボード16又はマウス18により入力指示可能に制御される。また、このUIによる設定は、RAM12等に保持される。   FIG. 6 is a diagram illustrating an example of a dynamic break key selection UI according to the present embodiment. This UI is displayed on the display 17 by the control of the UI component 103 shown in FIG. 4 executed by the CPU 10 shown in FIG. 1, and is controlled so that an input instruction can be given by the keyboard 16 or the mouse 18. Also, the setting by the UI is held in the RAM 12 or the like.

さらに、このUIは、キーボード16又はマウス18から、フォーム(例えば図5の501)が選択され、所定の操作がなされると、UIコンポーネント103の制御によりディスプレイ17に表示される。   Furthermore, this UI is displayed on the display 17 under the control of the UI component 103 when a form (for example, 501 in FIG. 5) is selected from the keyboard 16 or the mouse 18 and a predetermined operation is performed.

図6に示すように、動的ブレイクキー選択UIでは、ブレイクキーの中で動的ブレイクキーにしたいキー(項目)を選択追加するためのものである。即ち、ブレイク箇所を判定するデータ項目を優先順位を付けて複数設定するためのものである。なお、この動的ブレイクキーの選択は、フォームデータ毎に可能である。   As shown in FIG. 6, the dynamic break key selection UI is for selecting and adding a key (item) to be made a dynamic break key among the break keys. That is, a plurality of data items for determining break locations are set with priorities. This dynamic break key can be selected for each form data.

図6において、1701はブレイクキー表示欄であり、対応する(選択された)帳票のブレイクキーが表示される。なお、ブレイクキーは、予め選択されたフォームデータの項目名をフォーム作成アプリケーション121が抽出して表示した不図示のUIから選択設定されRAM12に保持されている。   In FIG. 6, reference numeral 1701 denotes a break key display field, which displays a break key of a corresponding (selected) form. The break key is selected and set from a UI (not shown) in which the form creation application 121 extracts and displays the item name of the form data selected in advance, and is held in the RAM 12.

1702は追加ボタンであり、このボタンが指示されると、ブレイクキー表示欄1701で選択されたブレイクキーが動的ブレイクキーとして選択され、動的ブレイクキー表示欄1704に表示される。なお、動的ブレイクキーは複数選択可能である。   Reference numeral 1702 denotes an add button. When this button is designated, the break key selected in the break key display field 1701 is selected as the dynamic break key and displayed in the dynamic break key display field 1704. A plurality of dynamic break keys can be selected.

1705は動的ブレイクキー順序変更ボタンであり、動的ブレイクキーが複数選択されている場合に、このボタンが指示されると、動的ブレイクキー表示欄1704の動的ブレイクキーの優先順序が変更される。なお、本願では、上にある項目から優先順位が上とする。   1705 is a dynamic break key order change button. When a plurality of dynamic break keys are selected, when this button is designated, the priority order of the dynamic break keys in the dynamic break key display field 1704 is changed. Is done. In the present application, priority is given to the top item from the top.

1703は削除ボタンで、このボタンが指示されると、動的ブレイクキー表示欄1704で選択された動的ブレイクキーが削除され、ブレイクキー表示欄1701に表示される。   Reference numeral 1703 denotes a delete button. When this button is designated, the dynamic break key selected in the dynamic break key display field 1704 is deleted and displayed in the break key display field 1701.

1706はOKボタンである。このOKボタン1706が指示されると、UIコンポーネント103の制御により、このUIによる設定値がRAM12等に保存され、図7に示すUIが表示される。なお、このUIによる設定は、優先順位の順序構造を保った状態でRAM12等に保持される。   Reference numeral 1706 denotes an OK button. When the OK button 1706 is instructed, the setting value by the UI is stored in the RAM 12 or the like under the control of the UI component 103, and the UI shown in FIG. 7 is displayed. The setting by the UI is held in the RAM 12 or the like while maintaining the order structure of the priority order.

図7は、本実施形態における動的ブレイク動作条件設定UI(ユーザインタフェース)の一例を示す図である。なお、本願のUIは、図1に示したCPU10により実行される図4に示したUIコンポーネント103の制御によりディスプレイ17に表示され、キーボード16又はマウス18により入力指示可能に制御される。また、本願では、UIによる設定は、RAM12等に保持される。   FIG. 7 is a diagram illustrating an example of a dynamic break operation condition setting UI (user interface) in the present embodiment. Note that the UI of the present application is displayed on the display 17 under the control of the UI component 103 shown in FIG. 4 executed by the CPU 10 shown in FIG. In the present application, the setting by the UI is held in the RAM 12 or the like.

図7に示すように、この動的ブレイク動作条件は、オーバーレイ処理により生成される出力ページ(出力結果)の制約や条件を示し、フォーム毎に設定可能である。また、動的ブレイク動作条件には、“余白領域指定“設定1001、“ページ数制限“設定1002、“しない“設定1003の選択肢がある。   As shown in FIG. 7, the dynamic break operation condition indicates restrictions and conditions of an output page (output result) generated by overlay processing, and can be set for each form. The dynamic break operation conditions include “margin area designation” setting 1001, “page number limit” setting 1002, and “no” setting 1003.

“余白領域指定”設定1001の“割合指定”1004は、ブレイクが発生した時点での余白領域を計算し、余白領域が1005の指定された値に当てはまる場合に、動的ブレイクを実行する設定である。例えば、図7の項目1005には、「50%以下」または「50%以上」という値を設定することができる。また、“行数指定”1006は、1ページに1007の指定数行以上の空白行がある場合に、動的ブレイクが実行される設定である。“余白領域指定”設定1001が選択された状態で、詳細ボタン1010が指示されると、UIコンポーネント103の制御により、図14に示すUIが表示される。   The “ratio specification” 1004 of the “margin area specification” setting 1001 is a setting for calculating a blank area when a break occurs, and executing a dynamic break when the blank area matches the specified value of 1005. is there. For example, a value of “50% or less” or “50% or more” can be set in the item 1005 of FIG. “Specify number of lines” 1006 is a setting in which a dynamic break is executed when there are more than 1007 specified blank lines in one page. When the “detail area” setting 1001 is selected and the details button 1010 is instructed, the UI shown in FIG. 14 is displayed under the control of the UI component 103.

“ページ数制限”設定1002は、項目1008の設定値に一致するように動的ブレイクを実行させるための設定である。項目1008に設定可能な値の例としては、「2ページ以上」または「3ページ以下」などが挙げられる。ページ数制限”設定1002が選択された状態で、詳細ボタン1011が指示されると、UIコンポーネント103の制御により、図11に示すUIが表示される。   A “page number limit” setting 1002 is a setting for executing a dynamic break so as to match the setting value of the item 1008. Examples of values that can be set in the item 1008 include “2 pages or more” or “3 pages or less”. 11 is displayed under the control of the UI component 103 when the detail button 1011 is instructed in a state where the “limit page number” setting 1002 is selected.

“しない”設定1003は、動的ブレイクを実行しない設定である。   A “No” setting 1003 is a setting that does not execute a dynamic break.

1009はOKボタンである。“余白領域指定”設定1001又はページ数制限”設定1002が選択された状態で、OKボタン1009が指示されると、UIコンポーネント103の制御により、このUIによる設定値がRAM12等に保存され、図8に示すUIが表示される。   Reference numeral 1009 denotes an OK button. When an “OK” button 1009 is instructed while the “margin area designation” setting 1001 or the page number limit setting 1002 is selected, the UI setting value is saved in the RAM 12 or the like under the control of the UI component 103. A UI shown in FIG. 8 is displayed.

図8は、本実施形態における動的ブレイク設定UIの一例を示す図である。   FIG. 8 is a diagram illustrating an example of a dynamic break setting UI according to the present embodiment.

この動的ブレイク設定UIは、動的ブレイク設定として、ブレイクを解除するデータの切れ目を指定するための条件を設定するためのものである。   This dynamic break setting UI is for setting a condition for designating a break of data to be released as a dynamic break setting.

図8に示すように、動的ブレイク設定として指定できる項目としては次の3つの項目がある。   As shown in FIG. 8, there are the following three items that can be designated as the dynamic break setting.

まず、“選択したブレイクキー設定をすべて解除”設定1101は、図6により選択されRAM12内に保持されるブレイクキーのうち、指定されたブレイクキー(以下、指定ブレイクキー)として選択されたものに関してはブレイクを行わない設定である。例えば、図5に示した帳票503のブレイクキー「課」が指定ブレイクキーとして選択されると、ブレイク箇所504ではブレイクが行われなくなる。即ち、ブレイクを解除するブレイク箇所を判定するデータ項目をブレイクキーとして設定する。なお、指定ブレイクキーの選択は、選択ボタン1104を指示することにより表示される図示しないUIにより行うものとする。このUIは、例えば、図6により選択されRAM12内に保持されるブレイクキーを表示して、該ブレイクキーからユーザに指定ブレイクキーを選択させるものである。なお、このUIにより選択された指定ブレイクキーもRAM12内に保持される。   First, the “cancel all selected break key settings” setting 1101 relates to a break key selected according to FIG. 6 and held in the RAM 12 as a designated break key (hereinafter, designated break key). Is a setting that does not break. For example, when the break key “section” of the form 503 shown in FIG. 5 is selected as the designated break key, the break is not performed at the break location 504. That is, a data item for determining a break location to be released is set as a break key. Note that the selected break key is selected using a UI (not shown) displayed by instructing the selection button 1104. This UI displays, for example, a break key selected in FIG. 6 and held in the RAM 12, and allows the user to select a designated break key from the break key. The designated break key selected by this UI is also held in the RAM 12.

また、“先頭ブレイクキー優先”設定1102は、末尾の項目からブレイクの解除が行なわれる設定である。この処理は、例えばブレイク処理を実行することにより、指定されたページ数に収まらなくなった場合に有効な処理である。   The “first break key priority” setting 1102 is a setting in which the break is released from the last item. This process is an effective process when, for example, the break process is executed and the number of pages cannot be accommodated.

最後に、“末尾ブレイクキー優先”設定1103は、先頭の項目からブレイクの解除が行なわれる設定である。この処理は、例えば、ブレイク処理を実行してもページ数が少ないため、もっとページ数を増やしたいときに有効な処理である。   Finally, the “end break key priority” setting 1103 is a setting in which the break is released from the top item. This process is effective when, for example, it is desired to increase the number of pages because the number of pages is small even when the break process is executed.

1105は詳細設定ボタンで、この詳細設定ボタン1105が指示されると、UIコンポーネント103の制御により、このUIによる設定値がRAM12等に保存され、図9に示すUIが表示される。   Reference numeral 1105 denotes a detailed setting button. When the detailed setting button 1105 is instructed, the setting value by the UI is stored in the RAM 12 or the like under the control of the UI component 103, and the UI shown in FIG. 9 is displayed.

図9は、本実施形態における動的ブレイク実行時処理UIの一例を示す図である。フォーム作成アプリケーションは、図9のUIにて入力された区切り処理を解除した箇所に、空行を挿入する処理、区切り処理を解除した箇所の属性を変更する処理、なにも挿入しない処理、のいずれかを設定する。   FIG. 9 is a diagram illustrating an example of a dynamic break execution time processing UI according to the present embodiment. The form creation application includes a process of inserting a blank line at a position where the delimiter process input in the UI of FIG. 9 is canceled, a process of changing the attribute of the position where the delimiter process is canceled, and a process of not inserting anything. Set one of them.

そして、フォーム作成アプリケーション121は、データの変化を判定するデータ項目を変更することにより区切り処理を解除した箇所に対して図9にて設定された処理に基づき出力ページを生成する。   Then, the form creation application 121 generates an output page based on the processing set in FIG. 9 for the location where the delimiter processing is canceled by changing the data item for determining data change.

図9に示すように、動的ブレイク実行時処理の設定として大きく分けて3つある。   As shown in FIG. 9, there are roughly three types of settings for dynamic break execution time processing.

まず、“固定空行挿入”設定1201は、動的ブレイクが実行された場合、そのブレイクで改ページを行わず、1204で指定された空行列を表と表の間(即ち、動的ブレイク箇所(改ページが解除された箇所))に挿入する設定である。   First, the “fixed blank line insertion” setting 1201 is set such that when a dynamic break is executed, page breaks are not performed at the break, and the empty matrix designated by 1204 is changed between tables (ie, a dynamic break location). (Location where page break is released)).

また、“罫線変更”設定1202は、動的ブレイクが実行された場合、表と表を合体させる際に接合箇所(即ち、動的ブレイク箇所)の罫線属性を1205で指定された属性に変更する設定である。   Further, the “ruled line change” setting 1202 changes the ruled line attribute of the joint part (that is, the dynamic break part) to the attribute specified in 1205 when the tables are merged when the dynamic break is executed. It is a setting.

最後に、“なし”設定1203は、動的ブレイクが実行された場合、特に処理を行わずに表と表を合体させる(動的ブレイク箇所になにも挿入しない)設定である。   Finally, the “none” setting 1203 is a setting for combining the tables without performing any particular processing (nothing is inserted at the dynamic break location) when the dynamic break is executed.

1206はOKボタンで、このOKボタン1206が指示されると、UIコンポーネント103の制御により、このUIによる設定値がRAM12等に保存され、図10に示すUIが表示される。   Reference numeral 1206 denotes an OK button. When this OK button 1206 is instructed, the setting value by this UI is stored in the RAM 12 or the like under the control of the UI component 103, and the UI shown in FIG. 10 is displayed.

図10は、本実施形態における動的ブレイクキー詳細設定UIの一例を示す図である。   FIG. 10 is a diagram illustrating an example of the dynamic break key detailed setting UI according to the present embodiment.

図10に示すように、動的ブレイクキー詳細設UIでは、以下の3つに関して設定を行う。   As shown in FIG. 10, the following three items are set in the dynamic break key detailed setting UI.

まず、“動的ブレイク回数”設定1301は、ページ制御を行う回数を指定する設定であり、指定なし/指定ありのいずれかを選択設定可能である。なお、「指定あり」の場合、1304に回数を指定する。   First, the “dynamic break count” setting 1301 is a setting for designating the number of times of performing page control, and it is possible to select and set either no designation or designation. If “specified” is specified, the number of times is specified in 1304.

また、“動的ブレイク実行対象領域”設定1302は、動的ブレイクが発生したと判断するデータ領域を指定する設定であり、前行と比較して変化があれば実行/1305で指定される前行数中に変化があれば実行のいずれかを選択設定可能である。   Further, the “dynamic break execution target area” setting 1302 is a setting for designating a data area for which it is determined that a dynamic break has occurred. If there is a change compared to the previous line, before execution / 1305 is designated. If there is a change in the number of lines, either execution can be selected and set.

最後に、“動的ブレイクキーを挿入するタイミング”設定1303は、動的ブレイクキー指定された全体の文字列の比較か一部の比較の設定であり、全体を比較して変化があれば挿入/一部を比較して変化があれば挿入のいずれかを選択設定可能である。なお、「一部を比較して変化があれば挿入」が選択された場合、1306に動的ブレイクキー指定された文字列を比較する先頭からの文字数を指定する。   Finally, “dynamic break key insertion timing” setting 1303 is a setting for comparison of the entire character string designated by the dynamic break key or partial comparison, and if there is a change by comparing the whole, it is inserted. / If there is a change by comparing a part, one of insertion can be selected and set. When “partially compare and insert if there is a change” is selected, the number of characters from the head for comparing the character strings designated by the dynamic break key in 1306 is designated.

1307はOKボタンで、このOKボタン1307が指示されると、UIコンポーネント103の制御により、このUIによる設定値がRAM12等に保存され、動的ブレイクキー条件の設定が全て終了する。   Reference numeral 1307 denotes an OK button. When this OK button 1307 is instructed, the setting value by the UI is stored in the RAM 12 or the like under the control of the UI component 103, and the setting of the dynamic break key condition is completed.

図11は、本実施形態におけるページ数設定UIの一例を示す図である。   FIG. 11 is a diagram illustrating an example of a page number setting UI according to the present embodiment.

このページ数設定UIでは、図7に示した動的ブレイク動作条件UIで、“ページ数制限”設定1002が指定された場合の設定が可能である。   This page number setting UI can be set when the “page number limit” setting 1002 is specified in the dynamic break operation condition UI shown in FIG.

図11において、1401は“デフォルトページ数指定”であり、図7に示した動的ブレイク動作条件UIで、“ページ数制限”設定1002が指定され、且つ、1008のページ数が指定されなかった場合に、このページ数がデフォルト値として使用される。即ち、フォーム作成アプリケーションプログラム121は、“ページ数制限”設定1002が指定され、且つ、1008のページ数が指定されなかった場合には、デフォルトページ数指定1401に指定されたデフォルト値に基づいて制御を行う。   In FIG. 11, reference numeral 1401 denotes “default page number designation”. In the dynamic break operation condition UI shown in FIG. 7, “page number limit” setting 1002 is designated, and the number of pages 1008 is not designated. In this case, this number of pages is used as a default value. That is, the form creation application program 121 performs control based on the default value specified in the default page number specification 1401 when the “page number limit” setting 1002 is specified and the number of pages 1008 is not specified. I do.

1402は“オーバーフロー時処理指定”であり、図7の動的ブレイク動作条件UIで“ページ数制限”設定1002が指定された状態で動的ブレイクを実行したが、どうしても指定ページ数に収まらない場合の動作を「出力」/「エラー」のいずれかに規定する。「出力」はオーバーフロー時でもそのまま出力する設定であり、「エラー」はオーバーフロー時には出力は行わずエラーとする設定である。   1402 is “overflow processing designation”, and the dynamic break is executed in a state where the “page number limit” setting 1002 is designated in the dynamic break operation condition UI of FIG. 7, but it does not fit within the designated number of pages. Is defined as either “output” / “error”. “Output” is a setting for outputting as it is even when it overflows, and “Error” is a setting for not outputting when an overflow occurs.

1405はOKボタンで、このOKボタン1405が指示されると、UIコンポーネント103の制御により、このUIによる設定値がRAM12等に保存され、図7のUIに表示が戻る。   Reference numeral 1405 denotes an OK button. When this OK button 1405 is instructed, the setting value by this UI is stored in the RAM 12 or the like under the control of the UI component 103, and the display returns to the UI in FIG.

図12は、本実施形態の出力設定UIの一例を示す図である。   FIG. 12 is a diagram illustrating an example of the output setting UI according to the present embodiment.

図12に示すように、オーバーフロー時の出力設定の選択肢としては3つある。   As shown in FIG. 12, there are three output setting options at the time of overflow.

まず、“警告ダイアログ表示”設定1501は、オーバーフロー時に警告設定を行う設定である。また、“ログ出力表示”設定1502は、オーバーフロー時に警告設定を行う設定である。最後に、“なにもしない”設定1503は、オーバーフロー時もなにもしない設定である。   First, a “warning dialog display” setting 1501 is a setting for setting a warning when an overflow occurs. Further, a “log output display” setting 1502 is a setting for performing a warning setting when an overflow occurs. Finally, a “do nothing” setting 1503 is a setting in which nothing is done at the time of overflow.

1504はOKボタンで、このOKボタン1504が指示されると、UIコンポーネント103の制御により、このUIによる設定値がRAM12等に保存され、図11のUIに表示が戻る。   Reference numeral 1504 denotes an OK button. When the OK button 1504 is instructed, the setting value by the UI is stored in the RAM 12 or the like under the control of the UI component 103, and the display returns to the UI in FIG.

図13は、本実施形態におけるエラー設定UIの一例を示す図である。図1に示したCPU10により実行される図4に示したUIコンポーネント103の制御によりディスプレイ17に表示され、キーボード16又はマウス18により入力指示可能となる。   FIG. 13 is a diagram illustrating an example of an error setting UI according to the present embodiment. It is displayed on the display 17 under the control of the UI component 103 shown in FIG. 4 and executed by the CPU 10 shown in FIG.

図13に示すように、オーバーフロー時のエラー設定の選択肢としては3つある。   As shown in FIG. 13, there are three error setting options for overflow.

まず、“エラーダイアログ表示”設定1501は、オーバーフロー時にエラーダイアログを表示する設定である。また、“最小ページ数表示”設定1502は、オーバーフロー時に最小ページ数(全てのページを収めることが可能なページ数)を表示する設定である。最後に、“なにもしない”設定1503は、オーバーフロー時になにもエラー処理を行わない設定である。   First, an “error dialog display” setting 1501 is a setting for displaying an error dialog when an overflow occurs. The “minimum page number display” setting 1502 is a setting for displaying the minimum page number (the number of pages that can contain all pages) at the time of overflow. Finally, a “do nothing” setting 1503 is a setting in which no error processing is performed when an overflow occurs.

1604はOKボタンで、このOKボタン1604が指示されると、UIコンポーネント103の制御により、このUIによる設定値がRAM12等に保存され、図11のUIに表示が戻る。つまり、フォーム作成アプリケーションは、例えばページ数制限設定の際、ページ数制限に基づいてデータの変化を判定するデータ項目を変更しても、生成される出力ページのページ数がページ数制限を超えてしまう場合の処理を設定されるために図13を表示する。なお、図13にて設定可能な処理は、そのまま出力する処理、又は、エラーとする処理がある。そして、フォーム作成アプリケーションは、後述するS42の出力ページ数判定により、データの変化を判定するデータ項目を変更しても出力ページのページ数がページ数制限を超えると判定された場合、図13で設定された情報に基づき出力ページを生成する。   Reference numeral 1604 denotes an OK button. When the OK button 1604 is instructed, a setting value by the UI is stored in the RAM 12 or the like under the control of the UI component 103, and the display returns to the UI in FIG. In other words, the form creation application, for example, when setting the page number limit, even if the data item that determines the data change based on the page number limit is changed, the number of output pages generated exceeds the page number limit. FIG. 13 is displayed in order to set the processing in the case where the error occurs. Note that the processes that can be set in FIG. 13 include a process of outputting as it is or a process of making an error. If the form creation application determines that the number of output pages exceeds the page number limit even if the data item for determining the data change is changed by the output page number determination in S42 described later, in FIG. An output page is generated based on the set information.

図14は、本実施形態における余白領域設定UIの一例を示す図である。   FIG. 14 is a diagram illustrating an example of a margin area setting UI according to the present embodiment.

この余白領域設定UIでは、図7に示した動的ブレイク動作条件UIで、“余白領域指定”1001が指定され動的ブレイクが実行された場合にブレイク解除を実行する。そして、ブレイクキーを変更した場合、変更されたブレイクキーの項目において、データの変化前までのデータを所定の領域内に収めることができないと判定された場合の処理を設定するためのUIである。設定可能な処理は、所定の出力領域内にそのまま出力する「そのまま出力」1801処理、又は、所定の出力領域を含む出力可能な領域まで出力する「印字領域最大まで出力を行う」1803処理である。さらに、動的ブレイクを実行せず、通常のブレイク処理を行う「ブレイクさせる」1802も選択できる。   In this margin area setting UI, the break release is executed when “Blank area designation” 1001 is designated and dynamic break is executed under the dynamic break operation condition UI shown in FIG. When the break key is changed, the UI is used to set a process when it is determined that the data before the data change cannot be stored in a predetermined area in the changed break key item. . The process that can be set is the “output as it is” 1801 process for outputting as it is in a predetermined output area, or the “output to the maximum print area” 1803 process for outputting to an output possible area including the predetermined output area. . Furthermore, “break” 1802 for performing a normal break process without executing a dynamic break can be selected.

フォーム作成アプリケーション121は、データの変化を判定するデータ項目を変更後のデータ項目におけるデータの変化に基づいて、該データの変化前までのデータを所定の領域内に収めることができないか判定する。ここで、所定の領域内に収めることができないと判定された場合、図14にて設定された内容に基づいて出力する。例えば、図14のUIにて、出力可能な領域まで出力する処理が設定された場合、複数項目からなるデータを出力可能な領域まで配置した出力ページを生成する。   The form creation application 121 determines, based on the data change in the data item after the change of the data item for determining the data change, whether or not the data before the data change can be contained in the predetermined area. Here, when it is determined that the image cannot be contained within the predetermined area, the output is made based on the contents set in FIG. For example, when a process for outputting up to an outputable area is set in the UI of FIG. 14, an output page in which data consisting of a plurality of items is arranged up to an outputable area is generated.

図14において、1801は“そのまま出力”設定であり、ブレイク解除時に、結果データが複数ページにまたがる場合にそのまま出力する設定である。   In FIG. 14, reference numeral 1801 denotes an “output as it is” setting, which is a setting for outputting the data as it is when the result data extends over a plurality of pages when the break is released.

1804はOKボタンで、このOKボタン1804が指示されると、UIコンポーネント103の制御により、このUIによる設定値がRAM12等に保存され、図7のUIに表示が戻る。なお、この図14に示した余白設定に応じて後述する余白領域処理が実行される。   Reference numeral 1804 denotes an OK button. When this OK button 1804 is instructed, the setting value by this UI is stored in the RAM 12 or the like under the control of the UI component 103, and the display returns to the UI of FIG. It should be noted that margin area processing, which will be described later, is executed in accordance with the margin setting shown in FIG.

以下、図15〜図26を参照して、本実施形態における動的ブレイク設定について説明する。   Hereinafter, dynamic break setting in the present embodiment will be described with reference to FIGS.

まず、図15〜図20を参照して、図8に示した動的ブレイク設定で“選択したブレイクキーのみブレイクを全て解除”設定1101が選択された場合のブレイクキー解除動作を具体的に説明する。   First, with reference to FIG. 15 to FIG. 20, the break key release operation when the “release all breaks for only selected break key” setting 1101 is selected in the dynamic break setting shown in FIG. To do.

図15〜図20は、図8に示した動的ブレイク設定で“選択したブレイクキーのみブレイクを全て解除”設定1101が選択された場合のブレイクキー解除動作を具体的に説明するための図である。なお、詳細な説明は後述する。   15 to 20 are diagrams for specifically explaining the break key release operation in the case where the “release all breaks for only selected break key” setting 1101 is selected in the dynamic break setting shown in FIG. 8. is there. Detailed description will be given later.

図15において、2801は、本実施形態におけるフォームデータの一例である。なお、本願では図15のような可変表をフォームデータとして想定している。可変表とは、入力されるレコード数に応じて、表のデータが増加するものである。また。本願に記載のレコードとは、各項目のデータの組み合わせである。例えば、図5の502の例では、「A、1、ああ」の組み合わせで構成される1行が1レコードとなる。   In FIG. 15, 2801 is an example of form data in the present embodiment. In the present application, a variable table as shown in FIG. 15 is assumed as form data. In the variable table, the data in the table increases in accordance with the number of input records. Also. The record described in the present application is a combination of data of each item. For example, in the example of 502 in FIG. 5, one line composed of a combination of “A, 1, ah” is one record.

図16において、2901は、図15に示したフォームデータ2801にオーバーレイすべきコンテンツデータの一例である。   In FIG. 16, reference numeral 2901 denotes an example of content data to be overlaid on the form data 2801 shown in FIG.

なお、オーバーレイとは、フォームデータの所定の領域に、所定のコンテンツデータをレイアウトする処理を指す。また、本実施形態のオーバーレイ処理は、図6に示したUIで指定された項目においてデータが変化した場合、改ページ処理が実行される。   The overlay refers to a process of laying out predetermined content data in a predetermined area of form data. Further, in the overlay process of this embodiment, a page break process is executed when data changes in an item specified by the UI shown in FIG.

図17において、3001〜3004は、図15に示したフォームデータ2801に図16に示したコンテンツデータ2901を配置したオーバーレイ処理結果を示す。   17, reference numerals 3001 to 3004 denote overlay processing results in which the content data 2901 shown in FIG. 16 is arranged in the form data 2801 shown in FIG.

ここで、図8に示した動作ブレイク設定として“選択したブレイクキーのみブレイクをすべて解除“設定1101が選択された状態で動的ブレイク処理が実行されると以下、図18〜図20に示すようになる。   Here, as the operation break setting shown in FIG. 8, when the dynamic break process is executed in a state where the “release all breaks for only selected break key” setting 1101 is selected, the following is shown in FIGS. 18 to 20. become.

そして、「課」をブレイクキーから削除(解除)してオーバーレイ処理を実行すると、図17に示した用紙の半分近く生じていた余白領域がなくなり、コスト削減を実現することができる。   Then, when “section” is deleted (released) from the break key and the overlay process is executed, the blank area that has occurred almost half of the sheet shown in FIG. 17 disappears, and cost reduction can be realized.

なお、図20の3303,3304は、動的ブレイクが実行され、表と表とが合体された接合箇所を示す。図20に示す例は、図9に示した動的ブレイク実行処理UIで“なし”設定1203が設定されている場合に対応する。よって、表と表とが合体された接合箇所3303,3304に特に何の処理も施されていない。   Note that reference numerals 3303 and 3304 in FIG. 20 indicate joint portions where the dynamic break is executed and the tables are merged. The example shown in FIG. 20 corresponds to the case where the “none” setting 1203 is set in the dynamic break execution processing UI shown in FIG. Therefore, no particular treatment is applied to the joint portions 3303 and 3304 where the tables are merged.

次に、図21〜図23を参照して、図8に示した動的ブレイク設定で“先頭ブレイクキー優先”設定1102が選択された場合のブレイクキー解除動作を具体的に説明する。   Next, with reference to FIGS. 21 to 23, the break key releasing operation when the “first break key priority” setting 1102 is selected in the dynamic break setting shown in FIG. 8 will be described in detail.

図21〜図23は、図8に示した動的ブレイク設定で“先頭ブレイクキー優先”設定1102が選択された場合のブレイクキー解除動作を具体的に説明する図である。なお、詳細は後述する。   FIG. 21 to FIG. 23 are diagrams for specifically explaining the break key release operation when the “first break key priority” setting 1102 is selected in the dynamic break setting shown in FIG. 8. Details will be described later.

なお、図23の3603,3604は、動的ブレイクが実行され、表と表とが合体された接合箇所を示す。図23の例は、図9に示した動的ブレイク実行処理UIで“罫線変更”設定1202が設定されている場合に対応する。よって、表と表とが合体された接合箇所3603,3604の罫線変更(ここでは、太い罫線に変更)され、他の罫線と差別化されている。   Note that reference numerals 3603 and 3604 in FIG. 23 indicate joint portions where the dynamic break is executed and the tables are merged. The example of FIG. 23 corresponds to the case where the “change ruled line” setting 1202 is set in the dynamic break execution processing UI shown in FIG. Therefore, the ruled lines of the joint portions 3603 and 3604 where the tables are merged are changed (in this case, changed to thick ruled lines), and differentiated from other ruled lines.

次に、図24〜図26を参照して、図8に示した動的ブレイク設定で“末尾ブレイクキー優先”設定1103が選択された場合のブレイクキー解除動作を具体的に説明する。なお、詳細な説明は後述する。   Next, with reference to FIG. 24 to FIG. 26, the break key release operation when the “end break key priority” setting 1103 is selected in the dynamic break setting shown in FIG. Detailed description will be given later.

なお、図26の3904は、動的ブレイクが実行され、表と表とが合体された接合箇所を示す。図21の例は、図13に示した動的ブレイク実行処理UIで“固定空行挿入”設定1201が設定されている場合に対応する。よって、表と表とが合体された接合箇所3904に空行が挿入されている。   In addition, 3904 of FIG. 26 shows the junction location by which the dynamic break was performed and the table | surface and the table | surface were united. The example of FIG. 21 corresponds to the case where the “fixed blank line insertion” setting 1201 is set in the dynamic break execution processing UI shown in FIG. Therefore, a blank line is inserted at the joint 3904 where the tables are merged.

以下、図27〜図33を参照して、本実施形態における余白領域処理について説明する。   Hereinafter, the blank area processing in the present embodiment will be described with reference to FIGS.

図27〜図33は、本実施形態における余白領域処理について具体的に説明する図である。   FIGS. 27 to 33 are diagrams for specifically explaining the margin area processing in the present embodiment.

図27に示すようなデータにおいて、「部」「課」がブレイクキーとして指定されていた場合、2つのブレイク箇所2101,2102がある。このブレイク箇所2101,2102にて改ページを行うと、図28に示すように3つのページ2201,2202,2203に分割される。   In the data as shown in FIG. 27, when “part” and “section” are designated as break keys, there are two break points 2101 and 2102. When a page break is performed at these break locations 2101, 2102, the page is divided into three pages 2201, 2202, 2203 as shown in FIG.

ここで、1ページ目2201に、図7に示した余白領域指定で指定された割合以上の余白があり、図8に示した動的ブレイク設定で“先頭ブレイク優先“が選択されている場合、上述した通り、末尾から順次ブレイクキーが選択され、ブレイク処理が解除される。つまり、指定ブレイクキーである「部」および「課」において、末尾にある「課」の項目にて発生するブレイク処理は無視される。   Here, if the first page 2201 has a margin equal to or greater than the ratio specified in the margin area designation shown in FIG. 7, and “first break priority” is selected in the dynamic break setting shown in FIG. As described above, the break key is selected sequentially from the end, and the break process is canceled. In other words, in the “part” and “section” that are the designated break keys, the break processing that occurs in the “section” item at the end is ignored.

これにより、図29の2301に示すように、ブレイク箇所が1つになり、図28において2ページ目に配置されていたデータが1ページ目に配置されるようになる。   As a result, as indicated by 2301 in FIG. 29, the number of breaks is one, and the data arranged in the second page in FIG. 28 is arranged in the first page.

この際に、2ページ目に配置されていたデータを1ページ目に生じた余白領域に収めることができるのかを判定する処理を行う。なお、余白領域よりも新たに配置すべきデータの方が大きいため、ページから溢れるる場合を図30に示す。   At this time, a process of determining whether the data arranged on the second page can be accommodated in the blank area generated on the first page is performed. Note that FIG. 30 shows a case where the data overflows from the page because the data to be newly arranged is larger than the margin area.

そして、余白領域に収めることができない場合(ページ溢れが発生する場合)、図31に示すようなUIが表示される。なお、このUIは図1に示したCPU10が図4に示したフォーム作成アプリケーションプログラム121を実行することによりディスプレイ17に表示され、キーボード16又はマウス18により入力指示可能に制御される。   When the margin area cannot be accommodated (when page overflow occurs), a UI as shown in FIG. 31 is displayed. This UI is displayed on the display 17 when the CPU 10 shown in FIG. 1 executes the form creation application program 121 shown in FIG. 4, and is controlled so that an input instruction can be given by the keyboard 16 or the mouse 18.

図31に示すUIにおいて、選択された動的ブレイク処理を続行するか、動的ブレイクを変更するかを、“続行”ボタン2401,“変更”ボタン2402により選択することができる。   In the UI shown in FIG. 31, whether to continue the selected dynamic break process or to change the dynamic break can be selected using a “continue” button 2401 and a “change” button 2402.

ここで、図31のUIにて“続行”ボタン2401が選択された場合、図14に示した余白領域設定UIで設定済のページ溢れに対する対処法が実行される。また、図31のUIにて“変更”ボタン2402が選択された場合、図8に示した動的ブレイク設定UIが表示され、再度、どの動的ブレイク処理を実行するかを選択することが可能となる。   Here, when the “Continue” button 2401 is selected in the UI of FIG. 31, a countermeasure against the page overflow that has been set in the margin area setting UI shown in FIG. 14 is executed. In addition, when the “change” button 2402 is selected in the UI of FIG. 31, the dynamic break setting UI shown in FIG. 8 is displayed, and it is possible to select which dynamic break processing is executed again. It becomes.

図31のUIにて“続行”ボタン2401が選択され、図14に示した余白領域設定UIにて“そのまま出力”設定1801がなされていた場合は、図32に示すようになる。即ち、図32に示すように、ページに設定されている余白領域13201までデータを配置して、残りのデータは次のページへと配置される。なお、図32において生じている余白領域が図7にて設定した値に一致するのであれば、3ページ目に配置されるべきデータを2ページ目3202に配置することになる。しかし、図32の場合、新たに2ページ目3202に配置されるデータはブレイクキーの項目が「A」から「B」に変化している。このような場合は、ユーザに問い合わせることで次の処理を実行するようにしてもよい。なお、図32では図28の3ページ目(2203)は省略してある。   If the “Continue” button 2401 is selected in the UI of FIG. 31 and the “output as it is” setting 1801 is set in the margin area setting UI shown in FIG. 14, the result is as shown in FIG. That is, as shown in FIG. 32, data is arranged up to the margin area 13201 set for the page, and the remaining data is arranged on the next page. If the blank area generated in FIG. 32 matches the value set in FIG. 7, the data to be arranged on the third page is arranged on the second page 3202. However, in the case of FIG. 32, the break key item of data newly arranged on the second page 3202 has changed from “A” to “B”. In such a case, the following process may be executed by inquiring the user. In FIG. 32, the third page (2203) of FIG. 28 is omitted.

また、図31のUIにて“続行”ボタン2401が選択され、図14に示した余白領域設定UIにて“ブレイクさせる”設定1802がなされていた場合は、動的ブレイク処理を無効化したブレイク処理を実行する。よって、図28に示したようになる。   If the “Continue” button 2401 is selected in the UI of FIG. 31 and the “break” setting 1802 is set in the margin area setting UI shown in FIG. 14, the break in which the dynamic break processing is disabled is set. Execute the process. Therefore, it becomes as shown in FIG.

また、図31のUIにて“続行”ボタン2401が選択され、図14に示した余白領域設定UIにて“印字領域最大まで出力を行う”設定1803がなされていた場合は、図33に示すようになる。即ち、図33に示すように、ページに設定されている余白領域を無視し、印字可能領域3301までデータを配置して、残りのページは次のページへと配置される。なお、図33では図28の3ページ目(2203)は省略してある。   If the “Continue” button 2401 is selected in the UI shown in FIG. 31 and the “output to the maximum print area” setting 1803 is set in the margin area setting UI shown in FIG. It becomes like this. That is, as shown in FIG. 33, the blank area set for the page is ignored, the data is arranged up to the printable area 3301, and the remaining pages are arranged to the next page. In FIG. 33, the third page (2203) of FIG. 28 is omitted.

以下、図34〜図39のフローチャートを参照して、本実施形態における各種制御処理について説明する。   Hereinafter, various control processes in the present embodiment will be described with reference to the flowcharts of FIGS. 34 to 39.

図34は、本発明における第1の制御処理手順の一例を示すフローチャートであり、余白領域条件設定時の全体の処理に対応する。なお、本願のフローチャートの処理は、図1に示したホストコンピュータ101のCPU10が図4に示したフォーム作成アプリケーションプログラム121を実行することにより実現される。また、図34中、S41〜S46は各ステップを示す。さらに、本フローチャートの実行前に、図7〜図14に示した各種UIによる設定は終了しており、各設定値はRAM12等に保持されている。なお、本願の情報処理装置は、複数のデータ項目からなるデータにおいて、予め定められたデータ項目におけるデータの変化に応じて区切り処理を実行して出力ページを生成することが可能である。   FIG. 34 is a flowchart showing an example of a first control processing procedure according to the present invention, which corresponds to the entire processing when the blank area condition is set. The processing of the flowchart of the present application is realized by the CPU 10 of the host computer 101 shown in FIG. 1 executing the form creation application program 121 shown in FIG. Moreover, in FIG. 34, S41-S46 shows each step. Furthermore, before the execution of this flowchart, the settings using the various UIs shown in FIGS. 7 to 14 have been completed, and each set value is held in the RAM 12 or the like. Note that the information processing apparatus of the present application can generate an output page by executing a separation process in accordance with a change in data in a predetermined data item in data including a plurality of data items.

フォームとコンテンツが指定され、出力処理(プリンタ113への印刷出力処理やディスプレイ17への表示出力処理等)の開始が指示されると、本フローチャートの処理が開始される。   When a form and content are specified and an instruction to start output processing (print output processing to the printer 113, display output processing to the display 17, etc.) is given, the processing of this flowchart is started.

まず、ステップS41において、CPU10により実行されるフォーム作成アプリケーション121は、動的ブレイク条件として「余白領域指定」が選択されているかチェックする。詳細には、動的ブレイク条件の設定は、予め図7に示したUIにより設定されRAM12等に保持されているので、フォーム作成アプリケーション121が、RAM12を参照することにより、確認可能である。つまり、フォーム作成アプリケーション121は、生成される出力ページの制約条件を設定する。   First, in step S41, the form creation application 121 executed by the CPU 10 checks whether “blank area designation” is selected as the dynamic break condition. Specifically, since the setting of the dynamic break condition is set in advance by the UI shown in FIG. 7 and held in the RAM 12 or the like, the form creation application 121 can be confirmed by referring to the RAM 12. That is, the form creation application 121 sets a constraint condition for the generated output page.

ステップS41で、動的ブレイク条件として「余白領域指定」が選択されていない場合、フォーム作成アプリケーション121は、そのまま処理を終了させる。   If “blank area designation” is not selected as the dynamic break condition in step S41, the form creation application 121 ends the process as it is.

一方、ステップS41で、動的ブレイク条件として「余白領域指定」が選択されている場合、フォーム作成アプリケーション121は、ステップS42に処理を進める。そして、フォーム作成アプリケーション121は、オーバーレイ処理の結果、生成された出力ページが図7のUIにて設定された値(出力ページの制約条件)にあてはまるか判定する。オーバーレイ処理については、ユーザがどのフォームデータに対してどのコンテンツデータをレイアウトするかを設定しており、この設定情報がRAM12に記憶されている。よって、フォーム作成アプリケーション121は、RAM12に記憶されている内容に従って、指定されたフォームデータに対して、処理対象となるコンテンツデータを読み出してオーバーレイ処理を実行する。さらに、フォーム作成アプリケーション121は、該オーバーレイ処理結果に基づく出力データを生成してRAM12上に格納する。S42の判定処理の一例としては、出力ページの各ページにおいて、データが配置されていない余白サイズを判定する処理である。そして、この判定処理により、フォーム作成アプリケーション121は、判定された余白サイズが図のUIにて設定された出力ページの余白領域制限を超える場合、データの変化を判定するデータ項目を変更するため、S43への処理へと進む。または、S42の判定処理の一例としては、出力ページのページ数を判定する処理である。そして、この判定処理により、フォーム作成アプリケーション121は、判定された出力ページのページ数がページ数制限を超える場合、データの変化を判定するデータ項目を変更するため、S43へと処理を進める。なお、判定処理の基準となる例えば、制約条件としての余白領域制限や出力ページのページ数制限は、図7のUIにて設定可能である。   On the other hand, if “blank area designation” is selected as the dynamic break condition in step S41, the form creation application 121 advances the process to step S42. Then, the form creation application 121 determines whether the output page generated as a result of the overlay processing is a value (output page restriction condition) set in the UI of FIG. For the overlay processing, the user sets which content data is laid out for which form data, and this setting information is stored in the RAM 12. Therefore, the form creation application 121 reads out the content data to be processed with respect to the designated form data in accordance with the contents stored in the RAM 12, and executes overlay processing. Further, the form creation application 121 generates output data based on the overlay processing result and stores it on the RAM 12. An example of the determination process of S42 is a process of determining a margin size in which no data is arranged in each page of the output page. Then, by this determination processing, the form creation application 121 changes the data item for determining data change when the determined margin size exceeds the margin area limitation of the output page set in the UI of the figure. The process proceeds to S43. Alternatively, an example of the determination process of S42 is a process of determining the number of output pages. Then, by this determination process, the form creation application 121 advances the process to S43 in order to change the data item for determining the data change when the number of output pages determined exceeds the page number limit. Note that, for example, a blank area restriction or a restriction on the number of output pages as a restriction condition, which is a criterion of the determination process, can be set using the UI of FIG.

なお、オーバーレイとは、フォームデータの所定の領域に、所定のコンテンツデータをレイアウトする処理を指す。そして、動的ブレイク処理が設定されていない場合、フォーム作成アプリケーション121は、指定された項目においてデータが変化した場合、改ページ処理を実行する。   The overlay refers to a process of laying out predetermined content data in a predetermined area of form data. When the dynamic break process is not set, the form creation application 121 executes the page break process when the data changes in the designated item.

例えば、図27では、項目「部」が指定項目であるとする。図27の「部」の縦方向の列では、7および8行目間においてデータが変化している。よって、7行目までのデータが1ページ目に配置され、8行目以降のデータは2ページ目に配置される。   For example, in FIG. 27, it is assumed that the item “part” is a designated item. In the vertical column of “part” in FIG. 27, the data changes between the seventh and eighth rows. Therefore, data up to the seventh line is arranged on the first page, and data after the eighth line is arranged on the second page.

そして、上述したようにオーバーレイ処理を実行した結果、フォーム作成アプリケーション121は、各ページにおいて生じた余白量を計算する。計算方法の一例としては、フォーム作成アプリケーション121はフォーム1行分の高さを認識している。そして、改ページ処理が発生するまでに流し込むべきデータ行数が決まると、「データ行数×フォーム1行分の高さ」を計算することによって、オーバーレイ処理済みのフォームサイズが認識できる。この認識したオーバーレイ処理済みのフォームサイズを用紙サイズから減算することにより余白サイズが決定される。そして、決定された余白サイズと動的ブレイク処理を実行するために設定された余白サイズの閾値(RAM12に保持される図7のUI設定値に基づく)を比較することで、ステップS42の処理が可能となる。   Then, as a result of executing the overlay process as described above, the form creation application 121 calculates the amount of margin generated in each page. As an example of the calculation method, the form creation application 121 recognizes the height of one form line. Then, when the number of data lines to be flown before the page break process occurs is determined, the overlay processed form size can be recognized by calculating “the number of data lines × the height of one form line”. The margin size is determined by subtracting the recognized form size after overlay processing from the paper size. Then, by comparing the determined margin size with a margin size threshold value (based on the UI setting value of FIG. 7 held in the RAM 12) set to execute the dynamic break process, the process of step S42 is performed. It becomes possible.

ステップS42の判定処理で、フォーム作成アプリケーション121が、生成された出力ページが図7のUIにて設定された値(出力ページの制約条件)にあてはまる判定された場合、処理を終了させる。なお、この場合、フォーム作成アプリケーション121は、RAM12上に保持された出力データをプリンタ113やディスプレイ17等に出力するように制御する。   If the form creation application 121 determines in step S42 that the generated output page matches the value set in the UI of FIG. 7 (output page constraint), the process ends. In this case, the form creation application 121 controls the output data held on the RAM 12 to be output to the printer 113, the display 17, or the like.

一方、ステップS42の判定処理で、フォーム作成アプリケーション121が、生成された出力ページが図7のUIにて設定された値にあてはまらない場合、ステップS43に処理を進め、選択されている動的ブレイク方法に従って処理を分岐させる。なお、動的ブレイク方法には、図8に示したように、ブレイク設定解除、先頭ブレイク優先、末尾ブレイク優先が挙げられる。つまり、フォーム作成アプリケーション121は、データの変化を判定するデータ項目を変更する方法を図7のUIを介して入力された値を設定する。そして、後述するS43移行の処理において、フォーム作成アプリケーション121は、設定されたデータの変化を判定するデータ項目を変更する方法に基づいて、データの変化を判定するデータ項目を変更する。   On the other hand, if it is determined in step S42 that the form creation application 121 does not match the generated output page with the value set in the UI of FIG. 7, the process proceeds to step S43, and the selected dynamic break is selected. Branch the process according to the method. As shown in FIG. 8, the dynamic break method includes break setting release, head break priority, and tail break priority. That is, the form creation application 121 sets a value input via the UI of FIG. 7 as a method for changing a data item for determining data change. In the process of shifting to S43, which will be described later, the form creation application 121 changes the data item for determining the data change based on the method for changing the data item for determining the set data change.

フォーム作成アプリケーション121は、図8に示した動的ブレイク設定で“選択したブレイクキーのみブレイクをすべて解除”が設定されていると判断した場合には、ステップS44のブレイク解除時動的ブレイク処理(図36)を実行するように制御する。そして、ステップS44のブレイク解除時動的ブレイク処理が終了後、本フローチャートの処理を終了させる。つまり、データの変化を判定するデータ項目を変更する方法は、前記区切り処理を解除するデータ項目を指定し、該区切り処理を解除するように指定されたデータ項目におけるデータの変化に応じた区切り処理を解除する方法が挙げられる。フォーム作成アプリケーション121は、“選択したブレイクキーのみブレイクをすべて解除”が設定された場合、ブレイク処理を解除するように指定されたデータ項目におけるデータの変化に応じた区切り処理を解除する。   If the form creation application 121 determines that “release all breaks for only the selected break key” is set in the dynamic break setting shown in FIG. 8, the dynamic break processing at break release (step S44) FIG. 36) is controlled to be executed. Then, after the break breaking dynamic break process in step S44 is completed, the process of this flowchart is terminated. In other words, the method of changing the data item for determining the data change specifies the data item for which the delimiter processing is to be canceled, and the delimiter processing according to the data change in the data item designated to cancel the delimiter processing The method of canceling is mentioned. When “release all breaks only for the selected break key” is set, the form creation application 121 cancels the separation process according to the data change in the data item designated to cancel the break process.

また、フォーム作成アプリケーション121は、図8に示した動的ブレイク設定で“先頭ブレイクキー優先”が設定されていると判断した場合には、ステップS45の先頭ブレイク優先時動的ブレイク処理(図37)を実行するように制御する。そして、ステップS45の先頭ブレイク優先時動的ブレイク処理が終了後、本フローチャートの処理を終了させる。   If the form creation application 121 determines that “first break key priority” is set in the dynamic break setting shown in FIG. 8, the dynamic break process at the time of the first break priority in step S45 (FIG. 37). ) Is executed. Then, after the head break priority time dynamic break process in step S45 is completed, the process of this flowchart is terminated.

また、フォーム作成アプリケーション121は、図8に示した動的ブレイク設定で“末尾ブレイクキー優先”が設定されていると判断した場合には、ステップS46の末尾ブレイク優先時動的ブレイク処理(図38)を実行するように制御する。そして、ステップS46の末尾ブレイク優先時動的ブレイク処理が終了後、本フローチャートの処理を終了させる。なお、この場合、フォーム作成アプリケーション121は、RAM12上に保持された出力データをプリンタ113やディスプレイ17等に出力するように制御する。   If the form creation application 121 determines that “end break key priority” is set in the dynamic break setting shown in FIG. 8, the dynamic break process at the end break priority in step S46 (FIG. 38). ) Is executed. Then, after the end break priority dynamic break process in step S46 is completed, the process of this flowchart is terminated. In this case, the form creation application 121 controls the output data held on the RAM 12 to be output to the printer 113, the display 17, or the like.

つまり、データの変化を判定するデータ項目変更する方法は、データの変化を判定するデータ項目の優先順位を指定し、該優先順位に基づく順序で該データ項目におけるデータの変化に応じた区切り処理を解除する方法も挙げられる。なお、ここに記述した優先順位とは、図6のUIにて設定した順位でもあり、先頭ブレイク優先が設定された場合は、先頭項目ほど優先順位が高くなる。一方、末尾ブレイク優先が設定された場合は、末尾項目ほど優先順位が高くなる。そしれ、フォーム作成アプリケーション121は、優先順位に基づく順序で該データ項目におけるデータの変化に応じた区切り処理を解除する。   In other words, the method of changing the data item for determining the data change specifies the priority order of the data item for determining the data change, and performs the delimiter processing according to the data change in the data item in the order based on the priority order. The method of canceling is also mentioned. Note that the priority order described here is also the order set in the UI of FIG. 6. When the top break priority is set, the top item has a higher priority. On the other hand, when the tail break priority is set, the priority is higher in the tail item. That is, the form creation application 121 cancels the separation process according to the data change in the data item in the order based on the priority order.

つまり、フォーム作成アプリケーション121は、S42にて生成された出力ページが図7の設定UIにより設定された出力ページの制約条件にあてはまらない場合、S44からS46の処理を用いてデータの変化を判定するデータ項目を変更する。   That is, when the output page generated in S42 does not meet the output page restriction condition set by the setting UI in FIG. 7, the form creation application 121 determines the data change using the processing from S44 to S46. Change the data item.

図35は、本発明における第1の制御処理手順の一例を示すフローチャートであり、ページ数指定条件設定時の全体の処理に対応する。また、図35中、S51〜S56は各ステップを示す。さらに、本フローチャートの実行前に、図7〜図14に示した各種UIによる設定は終了しており、各設定値はRAM12等に保持されている。   FIG. 35 is a flowchart showing an example of a first control processing procedure according to the present invention, which corresponds to the overall processing when the page number designation condition is set. Moreover, in FIG. 35, S51-S56 show each step. Furthermore, before the execution of this flowchart, the settings using the various UIs shown in FIGS. 7 to 14 have been completed, and each set value is held in the RAM 12 or the like.

まず、ステップS51において、CPU10により実行されるフォーム作成アプリケーション121は、動的ブレイク条件として「ページ数制限」が選択されているかチェックする。詳細には、動的ブレイク条件の設定は、予め図7に示したUIにより設定されRAM12等に保持されているので、フォーム作成アプリケーション121が、RAM12を参照することにより、確認可能である。   First, in step S51, the form creation application 121 executed by the CPU 10 checks whether “limit page number” is selected as the dynamic break condition. Specifically, since the setting of the dynamic break condition is set in advance by the UI shown in FIG. 7 and held in the RAM 12 or the like, the form creation application 121 can be confirmed by referring to the RAM 12.

ステップS51で、動的ブレイク条件として「ページ数制限」が選択されていないと判断した場合には、フォーム作成アプリケーション121は、そのまま処理を終了する。   If it is determined in step S51 that “limit page number” is not selected as the dynamic break condition, the form creation application 121 ends the process as it is.

一方、ステップS51で、動的ブレイク条件として「ページ数制限」が選択されている場合、フォーム作成アプリケーション121は、ステップS52に処理を進める。そして、フォーム作成アプリケーション121は、オーバーレイ処理の結果、生成された出力ページが図7のUIにて設定された値(出力ページの制約条件)にあてはまるか判定する。オーバーレイ処理については、上述したため、省略する。そして、フォーム作成アプリケーション121は、該出力データのページ数を計算して、RAM12の制限ページ数と比較することにより、S52の処理が可能となる。   On the other hand, if “page number limit” is selected as the dynamic break condition in step S51, the form creation application 121 advances the process to step S52. Then, the form creation application 121 determines whether the output page generated as a result of the overlay processing is a value (output page restriction condition) set in the UI of FIG. Since the overlay process has been described above, it will be omitted. Then, the form creation application 121 calculates the number of pages of the output data and compares it with the limited number of pages in the RAM 12, thereby enabling the processing of S52.

ステップS52で、オーバーレイ処理後のページ数が図7の設定UIにて設定された値に当てはまる場合、処理を終了させる。なお、この場合、フォーム作成アプリケーション121は、RAM12上に保持された出力データをプリンタ113やディスプレイ17等に出力するように制御する。   If it is determined in step S52 that the number of pages after overlay processing matches the value set in the setting UI of FIG. 7, the processing is terminated. In this case, the form creation application 121 controls the output data held on the RAM 12 to be output to the printer 113, the display 17, or the like.

一方、ステップS52で、フォーム作成アプリケーション121が、オーバーレイ処理後のページ数が図7の設定UIにて設定した値に当てはまらないと判断された場合には、ステップS53に処理を進める。   On the other hand, if the form creation application 121 determines in step S52 that the number of pages after overlay processing does not match the value set in the setting UI of FIG. 7, the process proceeds to step S53.

ステップS53において、フォーム作成アプリケーション121は、選択されている動的ブレイク方法に従って処理を分岐させる。なお、動的ブレイク方法には、図8に示したように、ブレイク設定解除、先頭ブレイク優先、末尾ブレイク優先が挙げられる。なお、S53からS56の処理は、図34のS43からS46の処理と同様であるため詳細な説明は省略する。   In step S53, the form creation application 121 branches the process in accordance with the selected dynamic break method. As shown in FIG. 8, the dynamic break method includes break setting release, head break priority, and tail break priority. Note that the processing from S53 to S56 is the same as the processing from S43 to S46 in FIG.

そして、ステップS57において、フォーム作成アプリケーション121は、動的ブレイク処理の結果、図7にて指定された値に当てはまるかチェックする。なお、ステップS57の処理は、ステップS52の処理と同様である。   In step S57, the form creation application 121 checks whether the value specified in FIG. 7 is applicable as a result of the dynamic break process. The process in step S57 is the same as the process in step S52.

ステップS57で、フォーム作成アプリケーション121が、動的ブレイク処理後のページ数が図7の設定UIにて設定された値に当てはまると判断した場合には、そのまま処理を終了する。   If the form creation application 121 determines in step S57 that the number of pages after the dynamic break process is applicable to the value set in the setting UI of FIG. 7, the process ends.

一方、ステップS57で、フォーム作成アプリケーション121が、動的ブレイク処理後のページ数が図7の設定UIにて設定された値に当てはまらないと判断した場合、データオーバーフロー時処理を行う。詳細には、フォーム作成アプリケーション121は、図11のUIで設定したオーバーフロー時処理指定が“出力”となっていた場合には、図12に示した出力設定に従って処理を行う。例えば、出力設定の“警告ダイアログ表示”が有効に設定されていた場合には、フォーム作成アプリケーション121は、図示しない警告ダイアログをディスプレイ17に表示制御する。また、出力設定の“ログ出力”が有効に設定されていた場合には、フォーム作成アプリケーション121は、ログをHDドライブ15に出力制御する。また、出力設定の“なにもしない”が有効に設定されていた場合には、フォーム作成アプリケーション121は、特に処理は行わない。   On the other hand, if the form creation application 121 determines in step S57 that the number of pages after the dynamic break process does not match the value set in the setting UI in FIG. 7, the process at the time of data overflow is performed. Specifically, the form creation application 121 performs processing according to the output setting shown in FIG. 12 when the overflow processing setting set in the UI of FIG. 11 is “output”. For example, if the output setting “Warning Dialog Display” is set to be valid, the form creation application 121 controls the display 17 to display a warning dialog (not shown). If the “log output” output setting is set to be valid, the form creation application 121 controls the output of the log to the HD drive 15. In addition, when the “do nothing” output setting is set to be valid, the form creation application 121 does not perform any particular processing.

一方、図11に示したオーバーフロー時処理指定が“エラー”となっていた場合には、図13に示したエラー設定に従って処理を行う。例えば、エラー設定の“エラーダイアログ表示”が有効に設定されていた場合には、フォーム作成アプリケーション121は、図示しないエラーダイアログをディスプレイ17に表示制御する。また、エラー設定の“最小ページ数表示”が有効に設定されていた場合には、フォーム作成アプリケーション121は、最小ページ数(オーバーフロー時のページ数)を表示する図示しないダイアログをディスプレイ17に表示制御する。また、エラー設定の“なにもしない”が有効に設定されていた場合には、フォーム作成アプリケーション121は、特に処理は行わない。   On the other hand, when the overflow processing designation shown in FIG. 11 is “error”, the processing is performed according to the error setting shown in FIG. For example, when the error setting “error dialog display” is set to be valid, the form creation application 121 controls display of an error dialog (not shown) on the display 17. Further, when the “minimum page number display” of the error setting is set to be valid, the form creation application 121 controls the display 17 to display a dialog (not shown) that displays the minimum page number (page number at the time of overflow). To do. If the error setting “Do nothing” is set to be valid, the form creation application 121 does not perform any particular processing.

なお、上記オーバーフロー時処理指定が“出力”の場合、本フローチャートの処理終了後、フォーム作成アプリケーション121は、RAM12上に保持された出力データをプリンタ113やディスプレイ17等に出力するように制御する。一方、上記オーバーフロー時処理指定が“エラー”の場合、フォーム作成アプリケーション121は、RAM12上に保持された出力データのプリンタ113やディスプレイ17等への出力は行わない。   If the process specification at overflow is “output”, the form creation application 121 controls the output data stored in the RAM 12 to be output to the printer 113, the display 17, or the like after the processing of this flowchart is completed. On the other hand, when the processing specification at overflow is “error”, the form creation application 121 does not output the output data held in the RAM 12 to the printer 113, the display 17, or the like.

図35に示したように、オーバーレイの処理結果が、図7にて指定された値に当てはまらない場合(S52−No)、動的ブレイク処理を実行して、改ページすべき項目を動的に変更すること出力結果を変更することが可能となる。また、動的ブレイク処理を実行してもユーザが所望とする出力結果を得られない場合(S57−No)は、データオーバーフロー処理を実行することで対応する。このように2段階の判定処理を用いることで、可能な限りユーザが指定したページ数に収まるようにコンテンツデータを配置するため、リソースを浪費する可能性を低減することができる。   As shown in FIG. 35, when the overlay processing result does not apply to the value specified in FIG. 7 (S52-No), the dynamic break processing is executed to dynamically change the item to be paged. Changing The output result can be changed. Further, when the output result desired by the user cannot be obtained even when the dynamic break process is executed (S57-No), the data overflow process is executed. In this way, by using the two-stage determination process, the content data is arranged so as to fit in the number of pages specified by the user as much as possible, so that the possibility of wasting resources can be reduced.

図36は、本発明における第3の制御処理手順の一例を示すフローチャートであり、図34のステップS44に示した動的ブレイク動作条件が余白領域指定時のブレイク解除時動的ブレイク処理に対応する。また、図36中、S61〜S6bは各ステップを示す。   FIG. 36 is a flowchart showing an example of the third control processing procedure in the present invention, and the dynamic break operation condition shown in step S44 of FIG. 34 corresponds to the break breaking dynamic break processing when the blank area is designated. . Moreover, in FIG. 36, S61-S6b show each step.

まず、ステップS61において、フォーム作成アプリケーション121は、設定されている指定ブレイクキーを解析する。指定ブレイクキーは、予め図8に示したUIの選択ボタン1104を指示することにより表示されるUIで選択設定されRAM12に保持されている。よって、フォーム作成アプリケーション121は、RAM12を参照することで指定ブレイクキーを解析することができる。   First, in step S61, the form creation application 121 analyzes the designated break key that has been set. The designated break key is selected and set by the UI displayed in advance by instructing the UI selection button 1104 shown in FIG. Therefore, the form creation application 121 can analyze the designated break key by referring to the RAM 12.

次に、ステップS62において、フォーム作成アプリケーション121は、指定されたブレイクキーがRAM12に記憶されているか否かを判定する。ステップS62で、フォーム作成アプリケーション121は、ブレイクキーが存在しないと判定した場合、本フローチャートの処理を終了させる。   Next, in step S <b> 62, the form creation application 121 determines whether the designated break key is stored in the RAM 12. If the form creation application 121 determines in step S62 that the break key does not exist, it ends the processing of this flowchart.

一方、ステップS62で、ブレイクキーが存在すると判定した場合、ステップS63において、フォーム作成アプリケーション121は、指定されているブレイクキーを全てRAM12内にあるブレイク解除するブレイクキーテーブルに登録する。   On the other hand, if it is determined in step S62 that a break key exists, in step S63, the form creation application 121 registers all the specified break keys in the break key table in the RAM 12 for releasing the break.

次に、ステップS64において、フォーム作成アプリケーション121は、ブレイク解除するブレイクキーテーブルにブレイクキーが登録されている(存在する)か否かを判定する。   Next, in step S64, the form creation application 121 determines whether or not a break key is registered (exists) in the break key table to be broken.

そして、ステップS64で、フォーム作成アプリケーション121は、ブレイク解除するブレイクキーテーブルにブレイクキーが登録されていないと判断した場合には、そのまま本フローチャートの処理を終了させる。   If the form creation application 121 determines in step S64 that the break key is not registered in the break key table to be released, the process of this flowchart is terminated.

一方、ステップS64で、フォーム作成アプリケーション121は、ブレイク解除するブレイクキーテーブルにブレイクキーが登録されている場合には、ステップS65においてブレイクキーテーブルからブレイクを解除するブレイクキーを1つ選択する。詳細には、フォーム作成アプリケーション121が、ブレイク解除するブレイクキーテーブルに登録されているブレイクキーをディスプレイ17に表示して、ユーザによりブレイクキーを選択させる。そして、フォーム作成アプリケーション121が、該ユーザにより選択されたブレイクキーを認識することでステップS65の処理が実行される。   On the other hand, if a break key is registered in the break key table to be released in step S64, the form creation application 121 selects one break key to be released from the break key table in step S65. More specifically, the form creation application 121 displays the break key registered in the break key table to be released on the display 17 and allows the user to select a break key. Then, when the form creation application 121 recognizes the break key selected by the user, the process of step S65 is executed.

次に、ステップS66において、フォーム作成アプリケーション121は、ステップS65で選択されたブレイクキーにおける改ページブレイクを全て解除する。つまり、フォーム作成アプリケーション121は、図34のS42でRAM12内に保持されている出力データを編集し、ステップS65で選択されたブレイクキーに属する項目データで発生するブレイク箇所に挿入された改ページを全て解除(削除)する。即ち、出力するデータにおいて、改ページする箇所を変更する。これにより、ステップS65で選択されたブレイクキーの項目におけるデータにブレイクが発生する(データが変更される箇所があった)としても、ブレイク発生に伴う改ページ処理が行われなくなる。   Next, in step S66, the form creation application 121 cancels all the page breaks in the break key selected in step S65. That is, the form creation application 121 edits the output data held in the RAM 12 in S42 of FIG. 34, and inserts a page break inserted at the break point generated by the item data belonging to the break key selected in Step S65. Release (delete) all. That is, in the data to be output, the page break location is changed. Thus, even if a break occurs in the data in the break key item selected in step S65 (there is a place where the data is changed), the page break process associated with the occurrence of the break is not performed.

次にステップS67において、フォーム作成アプリケーション121は、動的ブレイク実行時処理が指定されているか否かを判断する。なお、動的ブレイク実行時処理の指定は、図9に示したUIにより行われ、RAM12内に格納されているので、フォーム作成アプリケーション121がRAM12を参照することにより、S67の処理が可能となる。   In step S67, the form creation application 121 determines whether dynamic break execution time processing is designated. The specification of the dynamic break execution time process is performed by the UI shown in FIG. 9 and stored in the RAM 12, so that the process of S67 can be performed when the form creation application 121 refers to the RAM 12. .

そして、ステップS67で、フォーム作成アプリケーション121は、動的ブレイク実行時処理が指定されていないと判断した場合には、そのままステップS69に処理を進める。   If the form creation application 121 determines in step S67 that the dynamic break execution time process is not specified, the process proceeds to step S69.

一方、ステップS67で、フォーム作成アプリケーション121は、動的ブレイク実行時処理が指定されていると判断した場合には、ステップS68に処理を進め、該動的ブレイク実行時処理の設定に従って、動的ブレイク実行時処理を実行する。詳細には、動的プレイク実行時処理に“固定空行挿入”が指定されている場合、フォーム作成アプリケーション121は、RAM12内の出力データからステップS66でページブレイクを解除した箇所に指定行数の空行を挿入するように編集制御する。なお、その結果の一例が、図26である。また、動的プレイク実行時処理に“罫線変更”が指定されている場合、フォーム作成アプリケーション121は、RAM12内の出力データからステップS66でページブレイクを解除した箇所の罫線を指定された罫線に変更するように編集制御する。なお、その結果の一例が、図23である。また、動的プレイク実行時処理に“なし”が指定されている場合、フォーム作成アプリケーション121は、特に処理は行わない(その結果の一例が、図20である)。   On the other hand, if the form creation application 121 determines in step S67 that the dynamic break execution time process is designated, the process proceeds to step S68, and the dynamic break execution time process is performed according to the setting of the dynamic break execution time process. Perform break execution processing. Specifically, if “fixed blank line insertion” is specified in the dynamic play execution process, the form creation application 121 sets the specified number of lines at the position where the page break is canceled in step S66 from the output data in the RAM 12. Edit control to insert blank lines. An example of the result is shown in FIG. In addition, when “change ruled line” is designated in the dynamic play execution process, the form creation application 121 changes the ruled line at the position where the page break is canceled in step S66 from the output data in the RAM 12 to the designated ruled line. Control to edit. An example of the result is shown in FIG. In addition, when “none” is specified in the dynamic play execution process, the form creation application 121 does not perform any particular process (an example of the result is FIG. 20).

そして、ステップS69において、フォーム作成アプリケーション121は、ステップS65にて選択されたブレイクキーをブレイク解除テーブルから削除する。   In step S69, the form creation application 121 deletes the break key selected in step S65 from the break release table.

次に、ステップS6aにおいて、フォーム作成アプリケーション121は、ステップS66の改ページブレイクの解除結果、ステップS68の動的ブレイク実行時処理結果に基づいて、RAM12内の出力データの全ページを再編集処理する。この再編集処理では、上記S66,S68の各処理を実行したことにより生じる不具合を修正する。例えば、上記S66,S68の各処理により、全体のページ数情報等と差分が生まれてしまう場合、それらの情報をRAM12上で更新する。この処理により、ステップS65で選択されたブレイクキーに属するデータにおいて、ブレイクが発生するとしても、ブレイク発生に伴う改ページ処理が実行されない出力データがRAM12上に保持されることになる。   Next, in step S6a, the form creation application 121 re-edits all pages of the output data in the RAM 12 based on the page break release result in step S66 and the dynamic break execution time processing result in step S68. . In this re-editing process, problems caused by executing the processes of S66 and S68 are corrected. For example, in the case where a difference from the total page number information or the like is generated by the processes of S66 and S68, the information is updated on the RAM 12. With this process, even if a break occurs in the data belonging to the break key selected in step S65, the output data on which the page break process associated with the break is not executed is held on the RAM 12.

次に、ステップS6bにおいて、フォーム作成アプリケーション121は、ステップS6aの再編集結果の各出力ぺージの余白領域を計算し、図7のUIにて設定された値にあてはまるか否かを判定する。   Next, in step S6b, the form creation application 121 calculates a blank area of each output page as a result of the re-editing in step S6a, and determines whether the value is set to the value set in the UI of FIG.

そして、ステップS6bで、フォーム作成アプリケーション121は、ステップS6aの再編集結果の出力ぺージが、図7のUIにて設定された値にあてはまらないと判定された場合、ステップS64に処理を戻す。そしてステップS64〜S6bの処理を繰り返す。   In step S6b, if the form creation application 121 determines that the output page of the re-edit result in step S6a does not match the value set in the UI of FIG. 7, the process returns to step S64. Then, the processes of steps S64 to S6b are repeated.

一方、ステップS6bで、フォーム作成アプリケーション121は、ステップS6aの再編集結果の出力ページが、図7のUIにて設定された値にあてはまると判断した場合には、そのまま本フローチャートの処理を終了させる。   On the other hand, if the form creation application 121 determines in step S6b that the output page of the re-edit result in step S6a matches the value set in the UI of FIG. 7, the process of this flowchart is terminated as it is. .

なお、図35のステップS54に示した動的ブレイク動作条件がページ数制限時のブレイク解除時動的ブレイク処理は、上記図36に示したフローチャートのステップS6bを、以下のように変更したものとなる。例えば、フォーム作成アプリケーション121が、ステップS6aの再編集結果のページ数を計算し、図7のUIにて設定された値にあてはまるか否かを判定する。そして、フォーム作成アプリケーション121が、ステップS6aの再編集結果が図7のUIにて設定された値にあてはまらないと判断した場合には、ステップS64に処理を戻す。そしてステップS64〜S6bの処理を図7のUIにて設定された値にあてはまるまで繰り返す。一方、フォーム作成アプリケーション121は、ステップS6aの再編集結果が動的ブレイク動作条件での指定ページ数を超えないと判断した場合には、そのままフローチャートの処理を終了させる。以上の変更により、図36のフローチャートは、図35のステップS54に示した動的ブレイク動作条件がページ数制限時のブレイク解除時動的ブレイク処理に適用可能である。   Note that the dynamic break processing at break release when the dynamic break operation condition shown in step S54 of FIG. 35 is the number of pages is changed to step S6b of the flowchart shown in FIG. 36 as follows. Become. For example, the form creation application 121 calculates the number of pages of the re-edit result in step S6a, and determines whether the value is set to the value set in the UI of FIG. If the form creation application 121 determines that the re-edit result in step S6a does not match the value set in the UI of FIG. 7, the process returns to step S64. Then, the processes in steps S64 to S6b are repeated until the value set in the UI of FIG. On the other hand, if the form creation application 121 determines that the re-edit result in step S6a does not exceed the number of pages specified in the dynamic break operation condition, the form creation application 121 ends the process of the flowchart as it is. Due to the above changes, the flowchart of FIG. 36 can be applied to the dynamic break process at break release when the dynamic break operation condition shown in step S54 of FIG.

上述した図15〜図20を用いてブレイク解除時動的ブレイク処理の具体例を示す。   A specific example of the break break dynamic break process will be described with reference to FIGS. 15 to 20 described above.

図15のフォームデータ2801には、項目として「センター」、「部」、「課」、「氏名」があり、ここで、図6に示した動的ブレイクキー選択UIによりブレイクキーとして「部」2802,「課」2803が選択されたものとする。   The form data 2801 in FIG. 15 includes “Center”, “Department”, “Section”, and “Name” as items. Here, “Department” is set as a break key by the dynamic break key selection UI shown in FIG. It is assumed that 2802, “section” 2803 is selected.

図16のコンテンツデータ2901を参照すると、指定されたブレイクキー2802,2803に該当する項目において、2902,2903,2904の位置でブレイク(データの変更)が発生しているため、改ページ処理が実行される。よって、フォームデータ2801にコンテンツデータ2901をオーバーレイ処理した結果は、図17に示すとおりになる。   Referring to the content data 2901 in FIG. 16, since a break (data change) has occurred at the position 2902, 2903, 2904 in the item corresponding to the specified break key 2802, 2803, page break processing is executed. Is done. Therefore, the result of overlay processing of the content data 2901 on the form data 2801 is as shown in FIG.

図17を参照すると、オーバーレイの処理結果、3001〜3004の4ページ分のデータが生成されている。しかしながら、各ページには用紙に対して半分近い余白が発生しているためコストを浪費する恐れがある。   Referring to FIG. 17, as a result of the overlay processing, data for four pages 3001 to 3004 is generated. However, there is a risk of wasting costs because each page has a margin that is nearly half that of the paper.

ここで、図36に示したブレイク解除時動的ブレイク処理を実行する。そして、図36のステップS65において、図15に示した「課」の項目についてのブレイクキー2803を解除するブレイクキーとして選択する。そして、ステップS66において、該選択されたブレイクキーの改ページブレイクが全て解除されると、その結果、図19のように、コンテンツデータ3201では、ブレイク処理が発生する箇所は3202に示す1箇所となる。よって、ステップS6aで再編集された結果は、図20に示すように、3301,3302の2ページ分のデータとなる。この結果、図17に示した用紙の半分近く生じていた余白領域がなくなり、コスト削減を実現することができる。   Here, the break breaking dynamic break process shown in FIG. 36 is executed. In step S65 of FIG. 36, the break key 2803 for the item “section” shown in FIG. 15 is selected as a break key to be released. In step S66, when all the page breaks of the selected break key are canceled, as a result, in the content data 3201, as shown in FIG. Become. Accordingly, the result of re-editing in step S6a is data for two pages 3301 and 3302, as shown in FIG. As a result, the blank area that has occurred in nearly half of the paper shown in FIG. 17 is eliminated, and cost reduction can be realized.

図37は、本発明における第4の制御処理手順の一例を示すフローチャートであり、図34のステップS45に示した動的ブレイク動作条件が余白領域指定時の先頭ブレイク優先時動的ブレイク処理に対応する。なお、図37中、S71〜S7cは各ステップを示す。   FIG. 37 is a flowchart showing an example of a fourth control processing procedure according to the present invention, and corresponds to the dynamic break processing at the time of the first break priority when the dynamic break operation condition shown in step S45 of FIG. To do. In FIG. 37, S71 to S7c indicate steps.

ステップS71において、フォーム作成アプリケーション121は、ブレイクキーを先頭から順番を保持して、動的ブレイクキーテーブルに保持する。なお、先頭とはフォームデータのデータ項目において、所定の設定条件に従い先頭項目を特定する。例えば、図15のようなフォームデータを対象とする場合、左の項目から先頭とすることが指定されていると、先頭項目は「センター」であり、「部」、「課」、「氏名」と続く。   In step S71, the form creation application 121 holds the break keys in order from the top and holds them in the dynamic break key table. The head is a data item of form data, and the head item is specified according to a predetermined setting condition. For example, when the form data as shown in FIG. 15 is targeted, if the top item is specified from the left item, the top item is “center”, and “part”, “section”, “name” It continues with.

次に、ステップS72において、フォーム作成アプリケーション121は、動的ブレイクテーブルにブレイクキーが存在するか否か判断する。   Next, in step S72, the form creation application 121 determines whether or not a break key exists in the dynamic break table.

そして、ステップS72で、フォーム作成アプリケーション121は、動的ブレイクテーブルにブレイクキーが存在しない場合には、そのまま本フローチャートの処理を終了させる。   In step S72, when the break key does not exist in the dynamic break table, the form creation application 121 ends the process of this flowchart as it is.

一方、ステップS72で、フォーム作成アプリケーション121は、動的ブレイクテーブルにブレイクキーが存在する場合、ステップS73において、動的ブレイクテーブルにおいて末尾ブレイクキーとして記憶されているブレイクキーを選択する。つまり、図15の例では「氏名」が末尾ブレイクキーに相当する。   On the other hand, if there is a break key in the dynamic break table in step S72, the form creation application 121 selects a break key stored as a tail break key in the dynamic break table in step S73. That is, in the example of FIG. 15, “name” corresponds to the end break key.

ステップS75において、フォーム作成アプリケーション121は、選択されたフォームデータに配置すべきコンテンツデータを読み出し、ステップS73で選択されたブレイクキーの項目に流し込むべきデータを解析し、ブレイク箇所が存在するか判断する。   In step S75, the form creation application 121 reads the content data to be arranged in the selected form data, analyzes the data to be poured into the item of the break key selected in step S73, and determines whether or not a break location exists. .

そして、ステップS75で、フォーム作成アプリケーション121は、ブレイク箇所が存在しないと判断した場合には、ステップS74において、ステップS73で選択したブレイクキーをテーブルから削除し、ステップS72に処理を戻す。   If the form creation application 121 determines in step S75 that the break location does not exist, the break key selected in step S73 is deleted from the table in step S74, and the process returns to step S72.

一方、ステップS75で、フォーム作成アプリケーション121は、ブレイク箇所が存在すると判断した場合には、ステップS76において、ステップS75で確認されたいずれかの1つのブレイク箇所に対する余白領域処理を実行する。この余白領域処理では、該ブレイク箇所のブレイク解除を実行することによりページ溢れが発生する場合の処理が行われ、該ブレイク箇所のブレイク解除を実行するか否かが決定される。なお、余白領域処理については図39を用いて後述する。   On the other hand, if the form creation application 121 determines in step S75 that a break location exists, in step S76, the form creation application 121 executes a blank area process for any one break location confirmed in step S75. In this blank area processing, processing is performed when page overflow occurs by executing break release at the break location, and it is determined whether or not to perform break release at the break location. The blank area processing will be described later with reference to FIG.

次に、ステップS77において、フォーム作成アプリケーション121は、ステップS76の余白領域処理結果に基づいて、ブレイク解除を実行するか否かを判断する。   Next, in step S77, the form creation application 121 determines whether to perform break release based on the blank area processing result in step S76.

そして、ステップS77で、フォーム作成アプリケーション121は、ブレイク解除を実行しないと判断した場合には、ステップS7cへ処理を進める。   In step S77, when the form creation application 121 determines not to perform break release, the process proceeds to step S7c.

一方、ステップS77で、フォーム作成アプリケーション121は、ブレイク解除を実行すると判断した場合には、ステップS78へ処理を進める。   On the other hand, in step S77, when the form creation application 121 determines to execute break release, the process proceeds to step S78.

次に、ステップS78において、フォーム作成アプリケーション121は、ステップS73で選択されたブレイクキーにおける改ページブレイクを1つ解除する。つまり、フォーム作成アプリケーション121は、RAM12内の出力データを編集し、ステップS76で余白領域処理を実行したブレイク箇所に挿入されている改ページを1つ解除(削除)する。即ち、出力するデータを改ページする箇所を変更する。   Next, in step S78, the form creation application 121 cancels one page break in the break key selected in step S73. In other words, the form creation application 121 edits the output data in the RAM 12 and cancels (deletes) one page break inserted in the break portion that has been subjected to the blank area processing in step S76. In other words, the part where the output data is to be paged is changed.

次にステップS79において、フォーム作成アプリケーション121は、動的ブレイク実行時処理が指定されているか否かを判断する。なお、動的ブレイク実行時処理の指定は、図9に示したUIにより行われ、RAM12内に格納されているので、フォーム作成アプリケーション121がRAM12を参照することにより、S79の処理が可能となる。   In step S79, the form creation application 121 determines whether dynamic break execution time processing is designated. The specification of the dynamic break execution time process is performed by the UI shown in FIG. 9 and stored in the RAM 12, so that the process of S79 can be performed when the form creation application 121 refers to the RAM 12. .

そして、ステップS79で、フォーム作成アプリケーション121は、動的ブレイク実行時処理が指定されていないと判断した場合には、そのままステップS7bに処理を進める。   If the form creation application 121 determines in step S79 that the dynamic break execution time process is not designated, the process directly proceeds to step S7b.

一方、ステップS79で、フォーム作成アプリケーション121は、動的ブレイク実行時処理が指定されていると判断した場合には、ステップS7aに処理を進め、該動的ブレイク実行時処理の設定に従って、動的ブレイク実行時処理を実行する。なお、S7aの詳細は、図36のS68にて説明したため、省略する。   On the other hand, if the form creation application 121 determines in step S79 that the dynamic break execution time process is designated, the process proceeds to step S7a, and the dynamic break execution time process is performed according to the setting of the dynamic break execution time process. Perform break execution processing. The details of S7a have been described in S68 of FIG.

次に、ステップS7bにおいて、フォーム作成アプリケーション121は、ステップS76,S78,S7aの処理の結果に基づいて、RAM12内の出力データの全ページを再編集処理する。この再編集処理では、上記ステップS76,S78,S7aの各処理を実行したことにより生じる不具合を修正する。例えば、上記ステップS76,S78,S7aの各処理により、全体のページ数情報等と差分が生まれてしまう場合、それらの情報をRAM12上で更新する。   Next, in step S7b, the form creation application 121 re-edits all pages of the output data in the RAM 12 based on the processing results of steps S76, S78, and S7a. In this re-editing process, a problem caused by executing the processes in steps S76, S78, and S7a is corrected. For example, when the difference between the total page number information and the like is generated by the processes in steps S76, S78, and S7a, the information is updated on the RAM 12.

次に、ステップS7cにおいて、フォーム作成アプリケーション121は、ステップS7bの再編集結果の各出力ぺージの余白領域を計算し、図7のUIにて設定された値にあてはまるか否かを判定する(末尾(最終ページ)を除く)。   Next, in step S7c, the form creation application 121 calculates a blank area of each output page of the re-edit result of step S7b, and determines whether or not the value is set to the value set in the UI of FIG. Excluding end (last page)).

そして、ステップS7cで、フォーム作成アプリケーション121は、ステップS7bの再編集結果の出力ぺージが、図7のUIにて設定された値にあてはまらないと判断した場合には、次の項目をブレイクキーとする。図15の例では、「氏名」が最初の対象となっていたため、次は「課」がブレイクキーとなる。ステップS75に処理を戻す。そして、ステップS75〜S7cの処理を図7のUIにて設定された値にあてはまるまで繰り返す。なお、ステップS75のブレイク箇所存在の判定処理では、ステップS77で一度、ブレイク解除しないと判定されたブレイク箇所については含めないものとする。   In step S7c, when the form creation application 121 determines that the output page of the re-edit result in step S7b does not match the value set in the UI of FIG. 7, the next item is set as the break key. And In the example of FIG. 15, “name” is the first target, so “section” is the break key next. The process returns to step S75. Then, the processes in steps S75 to S7c are repeated until the value set in the UI of FIG. It should be noted that the break location existence determination process in step S75 does not include the break location that has been determined not to be released once in step S77.

一方、ステップS7cで、フォーム作成アプリケーション121は、ステップS7bの再編集結果の出力ぺージが、図7のUIにて設定された値にあてはまると判断した場合には、そのまま本フローチャートの処理を終了させる。   On the other hand, when the form creation application 121 determines in step S7c that the output page of the re-editing result in step S7b matches the value set in the UI of FIG. 7, the process of this flowchart is ended as it is. Let

以上示した図37の処理を実行することで、ユーザが所望とする項目におけるブレイク処理は有効としながら、改ページ処理により発生する余白領域の無駄を省くことが可能となり、効率的な処理を実行できる。また、動的ブレイク処理により図30のようなページ溢れが発生しても、ユーザにページ溢れを通知することができ、ユーザはページ溢れを防ぎたい場合、異なる動的ブレイク処理に変更することが可能となる。また、先頭項目を優先とするのみで、項目を1つ1つ設定することなく動的ブレイク処理を行うことができるため、例えば項目数が膨大なフォームデータを対象とする場合に便利である。   By executing the processing shown in FIG. 37 as described above, it is possible to eliminate the waste of the blank area generated by the page break processing while executing the break processing for the item desired by the user, and execute efficient processing. it can. Further, even if a page overflow as shown in FIG. 30 occurs due to the dynamic break process, the user can be notified of the page overflow, and when the user wants to prevent the page overflow, the user can change to a different dynamic break process. It becomes possible. Moreover, since the dynamic break process can be performed only by setting the top item as a priority and without setting each item one by one, this is convenient when, for example, form data with a large number of items is targeted.

なお、図35のステップS55に示した動的ブレイク動作条件がページ数制限時の先頭ブレイク優先時動的ブレイク処理は、上記図37に示したフローチャートのステップS76,S77を削除し、ステップS7cを、以下のように変更したものとなる。例えば、フォーム作成アプリケーション121が、ステップS7bの再編集結果のページ数を計算し、図7のUIにて設定された値にあてはまるか否かを判定する。そして、フォーム作成アプリケーション121が、ステップS7bの再編集結果が図7のUIにて設定された値にあてはまらないと判断した場合には、ステップS75に処理を戻す。そしてステップS75〜S7cの処理を繰り返す。一方、フォーム作成アプリケーション121は、ステップS7bの再編集結果が図7のUIにて設定された値にあてはまると判断した場合には、そのまま本フローチャートの処理を終了させる。以上の変更により、図37のフローチャートは、図35のステップS55に示した動的ブレイク動作条件がページ数制限時の先頭ブレイク優先時動的ブレイク処理に適用可能である。   Note that the dynamic break processing at the time of the first break priority when the dynamic break operation condition shown in step S55 of FIG. 35 is the page number limit deletes steps S76 and S77 of the flowchart shown in FIG. The following changes will be made. For example, the form creation application 121 calculates the number of pages of the re-edit result in step S7b, and determines whether the value is set to the value set in the UI of FIG. If the form creation application 121 determines that the re-edit result in step S7b does not match the value set in the UI of FIG. 7, the process returns to step S75. Then, the processes in steps S75 to S7c are repeated. On the other hand, if the form creation application 121 determines that the re-editing result in step S7b applies to the value set in the UI of FIG. 7, the process of this flowchart is terminated as it is. With the above changes, the flowchart of FIG. 37 can be applied to the dynamic break process at the time of the first break priority when the dynamic break operation condition shown in step S55 of FIG.

これにより、ユーザが所望とする項目におけるブレイク処理は有効としながら、指定されたページ数制限に収めることが可能となり、効率的な処理を実行できる。   Thus, the break process for the item desired by the user can be made effective, and the specified number of pages can be limited, and an efficient process can be executed.

なお、図37では、ステップS78において、ステップS73で選択したブレイクキーの改ページブレイクを1つ解除する構成について説明した。しかし、ステップS78において、ステップS73で選択したブレイクキーの改ページブレイクを全て解除するように構成してもよい。   In addition, in FIG. 37, the structure which cancels | releases one page break of the break key selected at step S73 in step S78 was demonstrated. However, in step S78, all page breaks of the break key selected in step S73 may be canceled.

以下、上記図37に示した先頭ブレイク優先時動的ブレイク処理を図21〜図23を用いて説明する。   Hereinafter, the first break priority dynamic break process shown in FIG. 37 will be described with reference to FIGS.

図21に示すように、図6に示した動的ブレイクキー選択UIにより、フォームデータ3401のブレイクキーとして「部」3402および「課」3403が選択され、「部」3402,「課」3403の順に優先順位が設定されているものとする。“先頭ブレイク優先”設定の場合、末尾のブレイクキーから削除(解除)されるため、「課」3403が削除されることとなる。   As shown in FIG. 21, “part” 3402 and “section” 3403 are selected as break keys of the form data 3401 by the dynamic break key selection UI shown in FIG. 6, and “part” 3402 and “section” 3403 are selected. Assume that priorities are set in order. In the case of the “first break priority” setting, since the last break key is deleted (released), “section” 3403 is deleted.

よって、「課」の項目で発生するブレイク処理は無視されるので、図22に示すように、コンテンツデータ3501においてブレイクする箇所は3502の1箇所となる。その結果、動的ブレイク処理を実行しない場合には、上述した図17のように4ページ分のデータが生成されていたが、“先頭ブレイク優先”設定の動的ブレイク処理を実行することで、図23の3601,3601のように、2ページに収めることが可能となる。この結果、効率的な印刷処理を実行することが可能となる。   Therefore, since the break processing that occurs in the item “section” is ignored, the break point in the content data 3501 is one place 3502 as shown in FIG. As a result, when the dynamic break process is not executed, data for four pages is generated as shown in FIG. 17 described above, but by executing the dynamic break process with the “first break priority” setting, As shown by 3601 and 3601 in FIG. As a result, efficient printing processing can be executed.

図38は、本発明における第5の制御処理手順の一例を示すフローチャートであり、図34のステップS46に示した動的ブレイク動作条件が余白領域指定時の末尾ブレイク優先時動的ブレイク処理に対応する。なお、図38中、S81〜S8cは各ステップを示す。   FIG. 38 is a flowchart showing an example of the fifth control processing procedure according to the present invention, and corresponds to the dynamic break processing at the time of the last break priority when the dynamic break operation condition shown in step S46 of FIG. To do. In FIG. 38, S81 to S8c indicate steps.

ステップS81において、フォーム作成アプリケーション121は、ブレイクキーを末尾から順番を保持して、動的ブレイクキーテーブルに保持する。なお、末尾とはフォームデータのデータ項目において、所定の設定条件に従い先頭項目を特定する。例えば、図15のようなフォームデータを対象とする場合、左の項目から先頭とすることが指定されていると、先頭項目は「氏名」であり、「課」、「部」、「センター」と続く。   In step S81, the form creation application 121 holds the break keys in order from the end and holds them in the dynamic break key table. The end is a data item of form data, and specifies the top item according to a predetermined setting condition. For example, in the case of the form data as shown in FIG. 15, if the top item is specified from the left item, the top item is “name”, and “section”, “department”, “center” It continues with.

次に、ステップS82において、フォーム作成アプリケーション121は、動的ブレイクテーブルにブレイクキーが存在するか否か判断する。   Next, in step S82, the form creation application 121 determines whether or not a break key exists in the dynamic break table.

そして、ステップS82で、フォーム作成アプリケーション121は、動的ブレイクテーブルにブレイクキーが存在しない場合には、そのまま本フローチャートの処理を終了させる。   In step S82, if the break key does not exist in the dynamic break table, the form creation application 121 ends the process of this flowchart as it is.

一方、ステップS82で、フォーム作成アプリケーション121は、動的ブレイクテーブルにブレイクキーが存在する場合、ステップS83において、動的ブレイクテーブルにおいて先頭ブレイクキーとして記憶されているブレイクキーを選択する。なお、図15の 例では、「センター」が該当する。   On the other hand, if there is a break key in the dynamic break table in step S82, the form creation application 121 selects a break key stored as the first break key in the dynamic break table in step S83. In the example of FIG. 15, “center” corresponds.

ステップS85において、フォーム作成アプリケーション121は、選択されたフォームデータに配置すべきコンテンツデータを読み出し、ステップS83で選択されたブレイクキーの項目に流し込むべきデータを解析し、ブレイク箇所が存在するか判断する。   In step S85, the form creation application 121 reads the content data to be placed in the selected form data, analyzes the data to be flowed into the break key item selected in step S83, and determines whether a break location exists. .

そして、ステップS85で、フォーム作成アプリケーション121は、ブレイク箇所が存在しないと判断した場合には、ステップS84において、ステップS83で選択したブレイクキーをテーブルから削除し、ステップS82に処理を戻す。   If the form creation application 121 determines in step S85 that the break location does not exist, the break key selected in step S83 is deleted from the table in step S84, and the process returns to step S82.

一方、ステップS85で、フォーム作成アプリケーション121は、ブレイク箇所が存在すると判断した場合には、ステップS86において、ステップS85で確認されたいずれかの1つのブレイク箇所に対する余白領域処理を実行する。なお、詳細な説明は図37のS76と同等であるため省略する。   On the other hand, if the form creation application 121 determines in step S85 that a break location exists, in step S86, the form creation application 121 executes a blank area process for any one break location confirmed in step S85. The detailed description is the same as S76 in FIG.

次に、ステップS87において、フォーム作成アプリケーション121は、ステップS86の余白領域処理結果に基づいて、ブレイク解除を実行するか否かを判断する。   Next, in step S87, the form creation application 121 determines whether to perform break release based on the blank area processing result in step S86.

そして、ステップS87で、フォーム作成アプリケーション121は、ブレイク解除を実行しないと判断した場合には、ステップS8cへ処理を進める。   If the form creation application 121 determines in step S87 that break release is not to be executed, the process proceeds to step S8c.

一方、ステップS87で、フォーム作成アプリケーション121は、ブレイク解除を実行すると判断した場合には、ステップS78へ処理を進める。   On the other hand, if the form creation application 121 determines in step S87 to execute break release, the process proceeds to step S78.

次に、ステップS88において、フォーム作成アプリケーション121は、ステップS83で選択されたブレイクキーにおける改ページブレイクを1つ解除する。つまり、フォーム作成アプリケーション121は、RAM12内の出力データを編集し、ステップS86で余白領域処理したブレイク箇所に挿入されている改ページを1つ解除(削除)する。即ち、出力するデータを改ページする箇所を変更する。   Next, in step S88, the form creation application 121 cancels one page break in the break key selected in step S83. In other words, the form creation application 121 edits the output data in the RAM 12, and releases (deletes) one page break inserted in the break portion that has been subjected to the blank area processing in step S86. That is, the part where the output data is to be page-changed is changed.

次にステップS89において、フォーム作成アプリケーション121は、動的ブレイク実行時処理が指定されているか否かを判断する。なお、動的ブレイク実行時処理の指定は、図9に示したUIにより行われ、RAM12内に格納されているので、フォーム作成アプリケーション121がRAM12を参照することにより、S89の処理が可能となる。   In step S89, the form creation application 121 determines whether or not dynamic break execution time processing is designated. Since the dynamic break execution time process is specified by the UI shown in FIG. 9 and stored in the RAM 12, the process of S89 can be performed by the form creation application 121 referring to the RAM 12. .

そして、ステップS89で、フォーム作成アプリケーション121は、動的ブレイク実行時処理が指定されていないと判断した場合には、そのままステップS7bに処理を進める。   If the form creation application 121 determines in step S89 that the dynamic break execution time process is not designated, the process directly proceeds to step S7b.

一方、ステップS89で、フォーム作成アプリケーション121は、動的ブレイク実行時処理が指定されていると判断した場合には、ステップS8aに処理を進め、該動的ブレイク実行時処理の設定に従って、動的ブレイク実行時処理を実行する。なお、詳細な説明は、図36のS68にて説明したため、省略する。   On the other hand, if the form creation application 121 determines in step S89 that the dynamic break execution time process is designated, the process proceeds to step S8a, and the dynamic break execution time process is performed according to the setting of the dynamic break execution time process. Perform break execution processing. The detailed description has been given in S68 of FIG.

次に、ステップS8bにおいて、フォーム作成アプリケーション121は、ステップS86,S88,S8aの処理の結果に基づいて、RAM12内の出力データの全ページを再編集処理する。S8bの処理は、S7bの処理とほぼ同様である。   Next, in step S8b, the form creation application 121 re-edits all pages of output data in the RAM 12 based on the processing results of steps S86, S88, and S8a. The process of S8b is almost the same as the process of S7b.

次に、ステップS8cにおいて、フォーム作成アプリケーション121は、ステップS7bの再編集結果の各出力ぺージの余白領域を計算し、図7のUIにて設定された値にあてはまるか否かを判定する。   Next, in step S8c, the form creation application 121 calculates the blank area of each output page of the re-edit result of step S7b, and determines whether or not the value is set to the value set in the UI of FIG.

そして、ステップS8cで、フォーム作成アプリケーション121は、ステップS8bの再編集結果の出力ぺージが、図7のUIにて設定された値にあてはまらないと判断した場合には、次の項目をブレイクキーと設定してステップS85に処理を戻す。図15の例では、最初に先頭項目の「センター」をブレイクキーとしたため、次の項目である「部」をブレイクキーとする。そして、ステップS85〜S8cの処理を図7のUIにて設定された値にあてはまるまで繰り返す。なお、ステップS85のブレイク箇所存在の判定処理では、ステップS87で一度、ブレイク解除しないと判定されたブレイク箇所については含めないものとする。   In step S8c, if the form creation application 121 determines that the output page of the re-editing result in step S8b does not match the value set in the UI of FIG. 7, the next item is set as the break key. And the process returns to step S85. In the example of FIG. 15, since the first item “center” is the break key, the next item “part” is the break key. Then, the processes in steps S85 to S8c are repeated until the values set in the UI of FIG. Note that in the break location existence determination process in step S85, the break portion that has been determined not to be released once in step S87 is not included.

一方、ステップS8cで、フォーム作成アプリケーション121は、ステップS8bの再編集結果の出力ぺージが、図7のUIにて設定された値にあてはまると判断された場合には、そのまま本フローチャートの処理を終了させる。   On the other hand, if it is determined in step S8c that the output page of the re-edit result in step S8b matches the value set in the UI of FIG. 7, the process of this flowchart is performed as it is. Terminate.

以上示した図38の処理を実行することで、ユーザが所望とする項目におけるブレイク処理は有効としながら、ユーザが所望とする出力結果を得ることが可能となる。   By executing the processing shown in FIG. 38 described above, it is possible to obtain the output result desired by the user while the break processing for the item desired by the user is valid.

なお、図35のステップS56に示した動的ブレイク動作条件がページ数制限時の末尾ブレイク優先時動的ブレイク処理は、上記図38に示したフローチャートのステップS86,S87を削除し、ステップS8cを、以下のように変更したものとなる。例えば、フォーム作成アプリケーション121が、ステップS8bの再編集結果のページ数を計算し、図7のUIにて設定された値にあてはまるか否かを判定する。そして、フォーム作成アプリケーション121が、ステップS8bの再編集結果が図7のUIにて設定された値にあてはまらないと判断した場合には、ステップS85に処理を戻す。そしてステップS75〜S7cの処理を図7のUIにて設定された値にあてはまるまで繰り返す。一方、フォーム作成アプリケーション121は、ステップS8bの再編集結果が図7のUIにて設定された値にあてはまると判断した場合には、そのまま本フローチャートの処理を終了させる。以上の変更により、図38のフローチャートは、図35のステップS56に示した動的ブレイク動作条件がページ数制限時の末尾ブレイク優先時動的ブレイク処理に適用可能である。   Note that the dynamic break processing at the end break priority when the dynamic break operation condition shown in step S56 of FIG. 35 is the number of pages is deleted in steps S86 and S87 of the flowchart shown in FIG. The following changes will be made. For example, the form creation application 121 calculates the number of pages of the re-edit result in step S8b and determines whether or not the value is set to the value set in the UI of FIG. If the form creation application 121 determines that the re-edit result in step S8b does not match the value set in the UI of FIG. 7, the process returns to step S85. Then, the processes in steps S75 to S7c are repeated until the values set in the UI of FIG. On the other hand, if the form creation application 121 determines that the re-editing result in step S8b applies to the value set in the UI of FIG. 7, the process of this flowchart is terminated as it is. With the above changes, the flowchart of FIG. 38 can be applied to the dynamic break process at the time of tail break priority when the dynamic break operation condition shown in step S56 of FIG.

これにより、ユーザが所望とする項目におけるブレイク処理は有効としながら、指定されたページ数制限に収めることが可能となり、効率的な処理を実行できる。   Thus, the break process for the item desired by the user can be made effective, and the specified number of pages can be limited, and an efficient process can be executed.

なお、図38では、ステップS88において、ステップS83で選択したブレイクキーの改ページブレイクを1つ解除する構成について説明した。しかし、ステップS88において、ステップS83で選択したブレイクキーの改ページブレイクを全て解除するように構成してもよい。   In FIG. 38, the configuration has been described in which one page break of the break key selected in step S83 is canceled in step S88. However, in step S88, all page breaks of the break key selected in step S83 may be canceled.

以下、上記図38に示した末尾ブレイク優先時動的ブレイク処理を図24〜図26を用いてより具体的に説明する。   Hereinafter, the tail break priority dynamic break processing shown in FIG. 38 will be described more specifically with reference to FIGS.

図24に示すように、図6に示した動的ブレイクキー選択UIにより、フォームデータ3701のブレイクキーとして「部」3702および「課」3703が選択され、「部」3702,「課」3703の順に優先順位が設定されているものとする。“末尾ブレイク優先”設定の場合、先頭のブレイクキーから削除(解除)されるため、「部」3702が削除されることとなる。   As shown in FIG. 24, “part” 3702 and “section” 3703 are selected as break keys of the form data 3701 by the dynamic break key selection UI shown in FIG. 6, and “part” 3702 and “section” 3703 are selected. Assume that priorities are set in order. When “end break priority” is set, “part” 3702 is deleted because it is deleted (released) from the first break key.

よって、「部」の項目で発生するブレイク処理は無視されるので、図25に示すように、コンテンツデータ3501においてブレイクする箇所は3802,3803の2箇所となる。その結果、動的ブレイク処理を実行しない場合には、上述した図17のように4ページ分のデータが生成されていた。しかし、“先頭ブレイク優先”設定の動的ブレイク処理を実行することで、図26の3901,3901,3903のように、3ページに収めることが可能となる。この結果、効率的な印刷処理を実行することが可能となる。   Therefore, since the break processing that occurs in the item “part” is ignored, as shown in FIG. 25, there are two places in the content data 3501 that are 3802 and 3803. As a result, when the dynamic break process is not executed, the data for four pages is generated as shown in FIG. However, by executing the dynamic break process with the “first break priority” setting, it is possible to fit into three pages as in 3901, 3901, and 3903 in FIG. As a result, efficient printing processing can be executed.

よって、フォーム作成アプリケーションは、S44以降のいずれかの処理を実行することにより変更されたデータの変化を判定するデータ項目におけるデータの変化に応じて区切り処理を適用した出力ページを生成することが可能となる。   Therefore, the form creation application can generate an output page to which the separation process is applied according to the data change in the data item for determining the change in the data changed by executing any of the processes after S44. It becomes.

なお、図37および図38では、フォームデータの構成から先頭項目と末尾項目を決定していたがこれに限ることはなく、例えば、図6のように優先する項目をユーザが指定することもできる。これにより、各項目の優先順位を設定した状態で、先頭項目優先を選択された場合、優先順位の低い項目からブレイクキーが解除される。また、末尾項目優先を選択した場合、優先順位の高い項目からブレイクキーが解除される。   In FIGS. 37 and 38, the first item and the last item are determined from the configuration of the form data. However, the present invention is not limited to this. For example, the user can specify a priority item as shown in FIG. . As a result, when the first item priority is selected in a state where the priority order of each item is set, the break key is released from the item with the lower priority order. When the end item priority is selected, the break key is released from the item with the higher priority.

図39は、本発明における第6の制御処理手順の一例を示すフローチャートであり、図37のステップS76,図38のステップS86に示した余白領域処理に対応する。なお、図39中、S91〜S95は各ステップを示す。   FIG. 39 is a flowchart showing an example of the sixth control processing procedure according to the present invention, and corresponds to the blank area processing shown in step S76 in FIG. 37 and step S86 in FIG. In FIG. 39, S91 to S95 indicate each step.

ステップS91において、フォーム作成アプリケーション121は、指定されたブレイク箇所において発生するブレイクを無効化することにより、コンテンツデータを挿入したフォームデータを各ページ内に収めることができるか否かを判定する。以下、このステップS91の処理を具体的に説明する。つまり、フォーム作成アプリケーションは、複数のデータ項目からなるデータにおいて、データの変化を判定するデータ項目を変更する。その結果、フォーム作成アプリケーション121は、変更後のデータ項目におけるデータの変化に基づいて、該データの変化前までのデータを所定の領域内に収めることができるかを判定する。なお、S91にてデータの変化前までのデータを所定の領域内に収めることができないと判定された場合の出力処理内容は、図14にて設定可能である。そして、フォーム作成アプリケーションは、S91によりブレイクキーの変更後のデータ項目のデータ変化に応じて、データ変化前までのデータを所定の領域内に収められないと判定した場合、図14にて設定された出力処理内容に基づいて出力ページを生成する。なお、ブレイクキーの変更とは、データの変化を判定するデータ項目を変更する処理に当たる。   In step S91, the form creation application 121 determines whether or not the form data into which the content data has been inserted can be stored in each page by invalidating the break that occurs at the specified break location. Hereinafter, the process of step S91 will be specifically described. That is, the form creation application changes a data item for determining a change in data in data including a plurality of data items. As a result, the form creation application 121 determines, based on the data change in the changed data item, whether the data before the data change can be stored in a predetermined area. Note that the output processing contents when it is determined in S91 that the data before the data change cannot be accommodated in the predetermined area can be set in FIG. If the form creation application determines in S91 that the data before the data change cannot be accommodated in the predetermined area in accordance with the data change of the data item after the break key is changed, it is set in FIG. An output page is generated based on the output processing contents. Note that the break key change corresponds to a process of changing a data item for determining a data change.

フォーム作成アプリケーション121は、動的ブレイク処理を行う前のデータ(この時点でRAM12内の保持されている出力データ)を解析する。そして、フォーム作成アプリケーション121は、図37のS73又は図38のS83で選択されたブレイクキーのブレイク箇所において、改ページブレイクで生成されたページの前ページに生じた余白領域をRAM12内に記憶する。続いて、フォーム作成アプリケーション121は、次にブレイクが発生するまでのデータを上記改ページブレイクで生成されたページの前ページの余白領域に収めることができるか否かにより、ページ溢れが発生するか否かを判定する。例えば、図30では、動的ブレイク処理を行う前において、「部」と「課」の項目がブレイクキーとして指定されていたとする。その場合、「課」の項目においてデータが「1」から「2」に変わる箇所でブレイクが発生し、改ページ処理される。つまり、「A部1課ああ」と「A部1課いい」が1ページ目に配置され、それ以降のデータは2ページ以降に配置される。ここで、フォーム作成アプリケーション121は、「A部1課ああ」と「A部1課いい」を配置するために必要となる領域を算出する。算出方法の一例としては、1行当たりのサイズを予め設定しておき、何行のデータを配置するかにより必要となる領域を算出する。例えば、図30の場合、1行の高さ3cm×横9cmと設定した場合、2行分のデータを配置するため6×9cm分の領域が必要となる。この算出結果と用紙サイズを用いることで余白領域が算出される。   The form creation application 121 analyzes the data before the dynamic break process (output data held in the RAM 12 at this time). Then, the form creation application 121 stores, in the RAM 12, the blank area generated on the previous page of the page generated by the page break at the break location of the break key selected in S73 of FIG. 37 or S83 of FIG. . Subsequently, the form creation application 121 determines whether or not the page overflow occurs depending on whether or not the data until the next break can be stored in the blank area of the previous page of the page generated by the page break break. Determine whether or not. For example, in FIG. 30, it is assumed that the items “part” and “section” have been designated as break keys before the dynamic break process is performed. In that case, a break occurs at a location where the data changes from “1” to “2” in the “section” item, and page break processing is performed. That is, “A section 1 section ah” and “A section 1 section good” are arranged on the first page, and the subsequent data are arranged on the second page and thereafter. Here, the form creation application 121 calculates an area necessary for arranging “A section 1 section ah” and “A section 1 section good”. As an example of the calculation method, a size per line is set in advance, and a necessary area is calculated depending on how many lines of data are arranged. For example, in the case of FIG. 30, when the height of one row is set to 3 cm × width 9 cm, an area of 6 × 9 cm is required to arrange data for two rows. The margin area is calculated by using the calculation result and the paper size.

さらに、次のブレイクが発生するまで5行分のデータがあることから、この5行分のデータを配置するために必要となる領域は15×9となる。よって、算出された余白領域と、次のブレイクが発生するまでのデータを配置するために必要となる領域を比較する。その結果により、フォーム作成アプリケーション121は、次にブレイクが発生するまでのデータを上記ページの余白領域に収めることができるか判定できる。フォーム作成アプリケーション121は、上記処理を実行して、ステップS91の判定処理を行う。   Furthermore, since there are five rows of data until the next break occurs, the area required to arrange the data for these five rows is 15 × 9. Therefore, the calculated blank area is compared with the area necessary for arranging data until the next break occurs. As a result, the form creation application 121 can determine whether the data until the next break can fit in the margin area of the page. The form creation application 121 executes the above process and performs the determination process in step S91.

そして、ステップS91で、フォーム作成アプリケーション121は、ページ溢れが発生しないと判断した場合には、図示しないステップにおいて、ブレイク解除を実行する旨の情報をRAM12上に設定し、処理を終了させる。よって、この場合、図37のステップS77,図38のステップS88では、ブレイク解除を実行すると判定される。   In step S91, when the form creation application 121 determines that no page overflow occurs, in the step (not shown), information indicating that break release is to be executed is set on the RAM 12, and the process ends. Therefore, in this case, it is determined in step S77 in FIG. 37 and step S88 in FIG.

一方、ステップS91で、フォーム作成アプリケーション121は、ページ溢れが発生すると判定した場合には、図示しないステップにおいて、図31に示したUIをディスプレイ17に表示制御する。これにより、ページ溢れが発生することをユーザに通知し、現在選択されている動的ブレイク処理を続行するか、異なる動的ブレイク処理に変更するか等を選択させることができる。   On the other hand, if it is determined in step S91 that the page overflow occurs, the form creation application 121 controls the display of the UI shown in FIG. Accordingly, it is possible to notify the user that page overflow occurs and to select whether to continue the currently selected dynamic break process or to change to a different dynamic break process.

図31のUIで、現在選択されている動的ブレイク処理の“変更”ボタン2402が選択された場合、フォーム作成アプリケーション121は、図示しないステップにおいて、図8に示した動的ブレイク設定UIをディスプレイ17に表示制御する。そして、動的ブレイク設定が行われると、図示しないステップにおいて、該動的ブレイク設定をRAM12内に格納し、図34のステップS42から再度処理を開始させる。   When the “change” button 2402 of the currently selected dynamic break process is selected in the UI of FIG. 31, the form creation application 121 displays the dynamic break setting UI shown in FIG. 17 to display control. When the dynamic break setting is performed, the dynamic break setting is stored in the RAM 12 in a step (not shown), and the process is started again from step S42 in FIG.

一方、図31のUIで、現在選択されている動的ブレイク処理の“続行”ボタン2401が選択された場合、ステップS92に処理を進める。   On the other hand, if the “continue” button 2401 of the currently selected dynamic break process is selected in the UI of FIG. 31, the process proceeds to step S92.

ステップS92において、フォーム作成アプリケーション121は、予め図14のUIで設定されRAM12内の余白領域設定を参照して解析し、処理を分岐させる。   In step S92, the form creation application 121 analyzes with reference to the margin area setting set in advance in the UI of FIG. 14 in the RAM 12, and branches the processing.

ステップS92で、ページ溢れが発生した場合の処理として“そのまま出力”が設定されていると判断した場合、ステップS93において、そのまま出力させるための処理を行う(即ち、ブレイク解除を実行する旨の情報をRAM12上に設定する)。そして、処理を終了させる。よって、この場合、図37のステップS77,図38のステップS88では、ブレイク解除を実行すると判定される。結果として、図32に示すように、ページに設定されている余白領域13201までデータを配置され、残りのデータは次のページへと配置されて出力されることになる。   If it is determined in step S92 that “output as it is” is set as processing when page overflow occurs, in step S93, processing for output as it is is performed (that is, information that break release is executed). Is set on the RAM 12). Then, the process is terminated. Therefore, in this case, it is determined in step S77 in FIG. 37 and step S88 in FIG. As a result, as shown in FIG. 32, data is arranged up to the margin area 13201 set in the page, and the remaining data is arranged and output to the next page.

また、ステップS92で、ページ溢れが発生した場合の処理として“ブレイクさせる”が設定されていると判断した場合、ステップS94において、フォーム作成アプリケーション121は、ブレイクさせるための処理を行う。即ち、ブレイク解除を実行しない旨の情報をRAM12上に設定する。そして、処理を終了させる。よって、この場合、図37のステップS77,図38のステップS88では、ブレイク解除を実行しないと判定される。結果として、図28に示すように各ブレイク箇所で改ページされて出力されることになる。この場合の出力結果は、図28のようなレイアウト結果となる。   If it is determined in step S92 that “break” is set as processing when page overflow occurs, in step S94, the form creation application 121 performs processing for breaking. That is, information indicating that break release is not executed is set on the RAM 12. Then, the process is terminated. Therefore, in this case, in step S77 in FIG. 37 and step S88 in FIG. 38, it is determined not to execute break release. As a result, as shown in FIG. 28, the page break is output at each break location. The output result in this case is a layout result as shown in FIG.

また、ステップS92で、ページ溢れが発生した場合の処理として“印字領域最大まで出力させる”が設定されていると判断した場合、ステップS95において、フォーム作成アプリケーション121は、印字領域最大まで出力させる処理を行う。詳細には、図33に示すように、ページに設定されている余白領域を無視し印字可能領域最大までデータを配置するようにRAM12内の出力データを編集し、さらに、ブレイク解除を実行する旨の情報をRAM12上に設定する。そして、処理を終了させる。よって、この場合、図37のステップS77,図38のステップS88では、ブレイク解除を実行すると判定される。また、結果として、図32に示すように、ページに設定されている余白領域は無視され、印字可能領域3301最大までデータを配置され、残りのデータは次のページへと配置され出力されることになる。   If it is determined in step S92 that “output to the maximum print area” is set as a process when a page overflow occurs, in step S95, the form creation application 121 outputs to the maximum print area. I do. Specifically, as shown in FIG. 33, the output data in the RAM 12 is edited so that the margin area set on the page is ignored and the data is arranged up to the maximum printable area, and the break release is executed. Is set on the RAM 12. Then, the process is terminated. Therefore, in this case, it is determined in step S77 in FIG. 37 and step S88 in FIG. As a result, as shown in FIG. 32, the blank area set on the page is ignored, data is arranged up to the maximum printable area 3301, and the remaining data is arranged and output to the next page. become.

以上のように、ページ溢れが発生する場合の処理を選択しておくことで、選択された動的ブレイク処理を実行するとページ溢れが発生する場合でも、ユーザが所望とする対処方法で処理することが可能となる。   As described above, by selecting the processing when the page overflow occurs, even if the page overflow occurs when the selected dynamic break processing is executed, the processing method desired by the user is processed. Is possible.

以上の処理を用いることで、ユーザが所望とする項目のブレイクキーにて発生するブレイク処理の有効性を保持しながら、図7のUIにてユーザが設定した内容に基づきユーザが所望とする出力結果を得ることが可能となる。   By using the above processing, the output desired by the user based on the contents set by the user in the UI of FIG. 7 while maintaining the effectiveness of the break processing generated by the break key of the item desired by the user. The result can be obtained.

なお、図36に示したブレイク解除時動的ブレイク処理においても、図39に示した余白領域処理を実行するように構成してもよい。即ち、図36のステップS65とステップS66の間に、該ステップS65で選択されたブレイクキーに対応する全てのブレイク箇所に対する余白領域処理を実行するように制御する。さらに、この余白領域処理結果に基づいて、ブレイク解除を実行するか否かを判断し、ブレイク解除すると判断した場合、ステップS66に処理を進め、一方、ブレイク解除しないと判断した場合、ステップS6bに処理を進めるように制御する。以上のように構成してもよい。   Note that the blank area processing shown in FIG. 39 may be executed also in the break-breaking dynamic break processing shown in FIG. That is, control is performed between step S65 and step S66 in FIG. 36 so that blank area processing is executed for all break locations corresponding to the break key selected in step S65. Further, based on the margin area processing result, it is determined whether or not to perform break release. If it is determined that break is to be canceled, the process proceeds to step S66. If it is determined that break is not to be canceled, the process proceeds to step S6b. Control to proceed the process. You may comprise as mentioned above.

次に図41と図42を用いて印刷目的に応じて動的ブレイク処理を実行する処理について説明する。   Next, a process for executing the dynamic break process according to the printing purpose will be described with reference to FIGS. 41 and 42. FIG.

図41は、印刷目的を選択するためのUI図であり、「試し印刷」または「本番印刷」のいずれかを選択することが可能である。   FIG. 41 is a UI diagram for selecting a printing purpose, and it is possible to select either “trial printing” or “production printing”.

次に図42を用いて図41の印刷目的が設定された場合のフローチャートについて説明する。   Next, a flowchart when the printing purpose of FIG. 41 is set will be described with reference to FIG.

フォーム作成アプリケーション121は、図41の設定UIにて設定された内容を解析して、試し印刷が設定されたか否かを判定する(S101)。   The form creation application 121 analyzes the contents set in the setting UI of FIG. 41 and determines whether or not trial printing is set (S101).

フォーム作成アプリケーション121は、S101により試し印刷が設定されていると判定した場合、動的ブレイク処理が設定されているか否かを判定する(S102)。詳細には、動的ブレイク処理を設定する場合、図8の設定UIにて設定した内容がRAMに保存されているため、フォーム作成アプリケーション121が、RAMを参照することにより判定可能である。   If the form creation application 121 determines that the trial printing is set in S101, the form creation application 121 determines whether the dynamic break process is set (S102). Specifically, when dynamic break processing is set, the contents set by the setting UI in FIG. 8 are stored in the RAM, and therefore, the form creation application 121 can determine by referring to the RAM.

S102においてブレイク処理が設定されていると判定された場合、S41へ進む。一方、S102において、ブレイク処理が設定されていないと判定された場合、フォーム作成アプリケーション121は、図7から図14を必要に応じて表示して動的ブレイク処理に必要となる項目の設定値を認識する(S103)。その後、図34のS41へと処理が引き継がれる。なお、図42では、S103において動的ブレイク処理を設定してブレイク項目を変更する処理について説明したがこれに限ることはない。例えば、ブレイク処理内容が改ページブレイクであれば、改行ブレイク処理に変更して、ページ数を節約するように処理しても構わない。なお、詳細な説明は図45にて行う。   If it is determined in S102 that the break process is set, the process proceeds to S41. On the other hand, if it is determined in S102 that the break process is not set, the form creation application 121 displays FIGS. 7 to 14 as necessary and sets the setting values of the items necessary for the dynamic break process. Recognize (S103). Thereafter, the processing is taken over to S41 in FIG. In addition, although FIG. 42 demonstrated the process which sets a dynamic break process and changes a break item in S103, it does not restrict to this. For example, if the break processing content is a page break, the processing may be changed to the line break processing to save the number of pages. Detailed description will be given with reference to FIG.

図42の処理を実行することで、例えば試し印刷などページ数の節約が望まれる環境下では、可能な限りページ数を設定する必要がある。そのため、レイアウト編集アプリケーション121は、試し印刷と判定され、動的ブレイク処理の実行が設定されていない場合、図7から図14のUIを必要に応じて表示する。そして、設定された値を用いて動的ブレイク処理を実行することで、ユーザの環境や目的を反映した出力を行うことが可能となる。   By executing the processing of FIG. 42, it is necessary to set the number of pages as much as possible in an environment where saving of the number of pages is desired, such as trial printing. Therefore, the layout editing application 121 displays the UIs of FIGS. 7 to 14 as necessary when it is determined as trial printing and execution of the dynamic break process is not set. Then, by executing the dynamic break process using the set value, it is possible to perform output reflecting the user's environment and purpose.

一方、図42のS101において、試し印刷でないと判定された場合、つまり、本番印刷の場合、図43のフローチャートが実行される。   On the other hand, if it is determined in S101 in FIG. 42 that the print is not trial printing, that is, in the case of actual printing, the flowchart in FIG. 43 is executed.

フォーム作成アプリケーション121は、動的ブレイク処理が設定されているか否かを判定する(S110)。ここで、動的ブレイク処理が設定されていない場合、通常のブレイク処理が実行されるので、そのまま出力される。一方、S110により動的ブレイク処理が設定されていると判定された場合、フォーム作成アプリケーション121は、動的ブレイク処理設定を解除する(S111)。   The form creation application 121 determines whether or not dynamic break processing is set (S110). Here, when the dynamic break process is not set, the normal break process is executed, so that it is output as it is. On the other hand, when it is determined in S110 that the dynamic break process is set, the form creation application 121 cancels the dynamic break process setting (S111).

フォーム作成アプリケーション121は、S112において生成された出力ページを出力する。   The form creation application 121 outputs the output page generated in S112.

図43の処理を実行することで、例えば本番印刷などデータの高い視認性が求められている環境下では、ユーザが予め指定した項目においてデータの変化が生じることに応じたブレイク処理を行うことで、視認性の高い出力結果を得ることが可能となる。   By executing the process of FIG. 43, for example, in an environment where high data visibility is required, such as production printing, a break process is performed in response to a change in data in an item designated in advance by the user. It is possible to obtain an output result with high visibility.

このように、図41から図43の処理を実行することで、ユーザの環境や目的を反映した出力を行うことが可能となる。なお、図41では、試し印刷と本番印刷を例にあげたがそれ以外の項目であっても構わない。   As described above, by executing the processing of FIGS. 41 to 43, it is possible to perform output reflecting the environment and purpose of the user. In FIG. 41, test printing and actual printing are given as examples, but other items may be used.

つまり、フォーム作成アプリケーション121は、図41から図43の処理を用いて、生成された出力ページの出力設定情報を判定する。具体的には、本番印刷か試し印刷かを判定する。そして、本番印刷であると判定された場合、データの変化を判定するデータ項目の変更処理を実行しない。または、ブレイク処理の内容を変更しない。つまり、フォーム作成アプリケーション121は、予め設定された所定のブレイクキー項目および所定のブレイク処理内容にて出力ページを生成する。一方、試し印刷であると判定された場合、フォーム作成アプリケーション121は、データの変化を判定するデータ項目の変更処理を実行する。または、ブレイク処理の処理内容を変更する。   That is, the form creation application 121 determines the output setting information of the generated output page by using the processes in FIGS. 41 to 43. Specifically, it is determined whether the print is a production print or a test print. Then, when it is determined that the printing is the actual printing, the data item changing process for determining the data change is not executed. Or, the content of the break process is not changed. That is, the form creation application 121 generates an output page with a predetermined break key item set in advance and predetermined break processing content. On the other hand, when it is determined that the print is a test print, the form creation application 121 executes a data item change process for determining a data change. Or, the processing content of the break processing is changed.

また、図44に示すUIにより出力結果の配布先に応じて動的ブレイク処理を実行しても構わない。図44のUIには配布先として、「部長」「課長」が表示されている。これは、ユーザが任意に登録しても、別の方法で登録しても構わない。   Also, the dynamic break process may be executed according to the distribution destination of the output result using the UI shown in FIG. In the UI of FIG. 44, “department manager” and “section manager” are displayed as distribution destinations. This may be arbitrarily registered by the user or may be registered by another method.

ここで、部長が選択された場合、部単位でブレイク処理を行うことにより、利便性の高い出力結果を得ることができると想定できる。よって、選択されているブレイクキーが「部」および「課」の場合、自動的に部単位で動的ブレイク処理が実行されるように「先頭ブレイクキー優先」が選択される。一方、課長が選択された場合は、課単位で動的ブレイク処理が実行されるように「末尾ブレイクキー優先」が選択される。   Here, when the manager is selected, it can be assumed that a highly convenient output result can be obtained by performing the break processing in units of copies. Therefore, when the selected break keys are “part” and “section”, “first break key priority” is selected so that the dynamic break process is automatically executed in units of copies. On the other hand, when the section manager is selected, “tail break key priority” is selected so that the dynamic break process is executed in units of sections.

本願第1実施例のように、オーバーレイ処理により生成された出力結果が図7のUIにて設定された条件に当てはまらない場合、ブレイク処理の判定項目(データの変化を判定するデータ項目)を変更する。この処理により、ユーザが指定したブレイク処理内容(例えば改ページブレイク)を変更することなく、ユーザが図7のUIにて設定した条件に一致した出力結果を得ることが可能となる。   When the output result generated by overlay processing does not meet the conditions set in the UI of FIG. 7 as in the first embodiment of the present application, the determination item (data item for determining data change) of the break processing is changed. To do. By this process, it is possible to obtain an output result that matches the conditions set by the user in the UI of FIG. 7 without changing the break processing content (for example, page break) specified by the user.

〔第2実施形態〕
第1実施形態では、所定の条件(余白領域制限やページ数制限)に一致した場合、ブレイク処理の判定項目を変更してユーザが所望とする出力結果を得ていた。第2実施例では、ブレイク処理の内容を変更することにより、ユーザの所望とする出力結果を得ることを目的とする。なお、第2実施例では、第1実施例と異なる点に着目して記載する。そのため、第2実施例に記載されていない内容は、第1実施例に記載されている内容を用いて処理を進めても良い。
[Second Embodiment]
In the first embodiment, when a predetermined condition (margin area restriction or page number restriction) is met, the determination item of the break process is changed to obtain an output result desired by the user. The second embodiment aims to obtain an output result desired by the user by changing the content of the break processing. Note that the second embodiment will be described with a focus on differences from the first embodiment. Therefore, the content not described in the second embodiment may be processed using the content described in the first embodiment.

フォーム作成アプリケーション121は、予め図7から図14の設定UIを介して必要な項目に入力された値を設定しているものとする。そして、フォーム作成アプリケーション121は、予め定められたデータ項目におけるデータの変化を判定し、予め定められたデータ項目においてデータの変化が生じたと判定された場合、区切り処理を実行する。なお、この処理は、本願において共通の処理である。   It is assumed that the form creation application 121 has previously set values input to necessary items via the setting UIs shown in FIGS. Then, the form creation application 121 determines a change in data in a predetermined data item, and executes a separation process when it is determined that a data change has occurred in a predetermined data item. This process is a common process in the present application.

図45は、第2実施例におけるフォーム作成アプリケーション121の処理内容を示したものである。   FIG. 45 shows the processing contents of the form creation application 121 in the second embodiment.

フォーム作成アプリケーション121は、上述したオーバーレイ処理を実行する(S121)。   The form creation application 121 executes the overlay process described above (S121).

フォーム作成アプリケーション121は、オーバーレイにより生成された出力ページが図7の設定UIにて設定された値にあてはまるか否かを判定する(S122)。   The form creation application 121 determines whether or not the output page generated by the overlay matches the value set in the setting UI of FIG. 7 (S122).

S122により、図7のUIにて設定した値に当てはまらないと判定された場合、レイアウト編集アプリケーション121は、図47のようなUIを表示する。ここで、ブレイク処理内容変更が選択された場合、詳細画面である図48を表示し、ユーザに設定された内容に従ってブレイク処理内容を変更する(S123)。図47および図48について説明する。図47には、ブレイク処理を変更するか否かを設定するためのUIであり、ここで変更することを指定すると、図48のUIが表示され、例えば「改ページ→改行」と表示されている。これは、現在のブレイク処理が改ページブレイクであるため、このような表示になる。もし、現在のブレイク処理が改行ブレイクであれば、「改行→改ページ」と表示されても良い。また、「改ページ→改行」および「改行→改ページ」を表示して選択させるようにしても良い。つまり、S122からS123の処理は、区切り処理を実行して生成された出力ページが図7のUIにて設定された出力ページの制約条件にあてはまらない場合、区切り処理の処理内容を変更することである。そして、フォーム作成アプリケーション121は、変更された区切り処理の処理内容に基づいて出力ページを生成する。なお、区切り処理内容とはブレイク処理内容と同義である。 If it is determined in S122 that the value does not apply to the value set in the UI of FIG. 7, the layout editing application 121 displays a UI as shown in FIG. Here, when the break process content change is selected, the detailed screen of FIG. 48 is displayed, and the break process content is changed according to the content set by the user (S123). 47 and 48 will be described. FIG. 47 shows a UI for setting whether or not to change the break processing. If the change is specified here, the UI of FIG. 48 is displayed, for example, “page break → line feed”. Yes. This is the display because the current break process is a page break. If the current break process is a line break, “new line → new page” may be displayed. Further, “new page → new line” and “new line → new page” may be displayed and selected. That is, the processing from S122 to S123 is performed by changing the processing content of the separation processing when the output page generated by executing the separation processing does not meet the output page restriction conditions set in the UI of FIG. is there. Then, the form creation application 121 generates an output page based on the changed content of the separation process. The delimiter process content is synonymous with the break process content.

以上、図45の処理を実行することによりブレイク処理内容が必要に応じて変更される。そのため、オーバーレイ処理の結果、ユーザが所望とする出力結果を得ることができなくとも、ユーザが予め設定したデータ項目のブレイク処理を反映しつつ、データの高い視認性を保ち、無駄な印刷出力を行うことなくユーザが所望とする出力結果を得られる。   As described above, the break processing content is changed as necessary by executing the processing of FIG. Therefore, even if the output result desired by the user cannot be obtained as a result of the overlay process, the data item break process set in advance by the user is reflected, and high data visibility is maintained, so that unnecessary print output is performed. An output result desired by the user can be obtained without performing the operation.

図46に、第2実施例を用いた場合の出力結果を示す。なお。フォームデータは、図15のデータ、流し込むべきデータは図16を用いた場合を想定している。   FIG. 46 shows the output result when the second embodiment is used. Note that. It is assumed that the form data uses the data shown in FIG. 15 and the data to be inserted uses FIG.

まず、指定されたブレイクキーである「部」および「課」の項目において、ブレイク処理を実行すると図17に示すように4ページの出力結果となる。また、ユーザは図7のUIを用いて、「ページ数制限」として2ページ以内に収めることが指定されているとする。また、図9は改行ブレイク時に使用することができ、図46では、空行挿入が指定されているとする。以上を踏まえて、第2実施例を適用することにより、出力結果は図46のように変更される。   First, when break processing is executed in the items of “part” and “section” which are designated break keys, an output result of 4 pages is obtained as shown in FIG. In addition, it is assumed that the user designates the “page number limit” within 2 pages using the UI of FIG. Also, FIG. 9 can be used at the time of line break, and in FIG. 46, it is assumed that blank line insertion is designated. Based on the above, the output result is changed as shown in FIG. 46 by applying the second embodiment.

なお、図49は、ブレイク処理の処理内容を設定する画面である。オーバーレイ処理を実行するために、フォームデータや該フォームデータに流し込むデータを選択する際に、同様に設定するものである。図49では、改ページブレイクまたは改行ブレイクを設定することが可能となっている。   FIG. 49 is a screen for setting the processing content of the break processing. The same setting is made when selecting form data and data to be inserted into the form data in order to execute overlay processing. In FIG. 49, it is possible to set a page break or a line break.

なお、第2実施例においても出力ページの各ページにおいて、前記データが配置されていない余白サイズを判定することができる。そして、フォーム作成アプリケーション121は、各ページの余白サイズが図7のUIにて設定された出力ページの余白領域制限を超える場合、前記区切り処理の処理内容を変更する。同様に、フォーム作成アプリケーションは、出力ページのページ数を判定し、出力ページのページ数が図7のUIにて設定されたページ数制限を超える場合、区切り処理の処理内容を変更する。   In the second embodiment, the margin size in which the data is not arranged can be determined for each page of the output page. When the margin size of each page exceeds the margin area limit of the output page set in the UI of FIG. 7, the form creation application 121 changes the processing content of the separation process. Similarly, the form creation application determines the number of output pages, and when the number of output pages exceeds the page number limit set in the UI of FIG.

また、フォーム作成アプリケーション121は、S123にて区切り処理の処理内容を改ページ処理から改行処理に変更することができる。そして、フォーム作成アプリケーション121は、予め定められたデータ項目におけるデータの変化に応じてよって変更された改行処理を適用して出力ページを生成する。なお、改行処理を実行する場合は、図9を介して設定された改行処理を実行する箇所に、空行を挿入する処理、区切り処理を解除した箇所の属性を変更する処理、なにも挿入しない処理、のいずれかに基づき出力ページを生成する。また、フォーム作成アプリケーションは、ページ数制限設定の際、該ページ数制限に基づいて前記区切り処理の処理内容を変更しても、生成される出力ページのページ数がページ数制限を超えてしまう場合のページ数制限処理を図14を介して設定できる。その設定内容は、そのまま出力する処理、エラーとする処理が挙げられる。そして、フォーム作成アプリケーション121は、区切り処理の処理内容を変更しても出力ページのページ数が前記ページ数制限を超えてしまうと判定された場合、図14にて設定された情報に基づいて、出力ページを生成する。   In addition, the form creation application 121 can change the processing content of the separation process from the page break process to the line feed process in S123. Then, the form creation application 121 generates an output page by applying the line feed processing changed according to the data change in the predetermined data item. In addition, when executing line break processing, processing for inserting a blank line, processing for changing the attribute of the portion where delimiter processing has been canceled, or anything inserted at the location for executing line breaking processing set via FIG. An output page is generated based on one of the processes that are not performed. In addition, when the form creation application sets the page number limit, even if the content of the separation process is changed based on the page number limit, the number of generated output pages exceeds the page number limit. The page number limiting process can be set via FIG. The setting contents include a process of outputting as it is and a process of making an error. If the form creation application 121 determines that the page number of the output page exceeds the page number limit even if the processing content of the separation process is changed, the form creation application 121, based on the information set in FIG. Generate an output page.

また、ブレイクが発生した時に、小計/集計が出力可能に構成し、さらに、該小計/集計の出力を動的に変更し、表示/非表示を切り替え可能に構成してもよい。以下、その実施形態について説明する。   Further, when a break occurs, the subtotal / aggregate may be output, and the subtotal / aggregate output may be dynamically changed so that display / non-display can be switched. The embodiment will be described below.

図40は、本実施形態における小計/集計設定UIの一例を示す図である。図1に示したCPU10により実行される図4に示したUIコンポーネント103の制御によりディスプレイ17に表示され、キーボード16又はマウス18により入力指示可能に制御される。また、このUIによる設定は、RAM12等に保持される。   FIG. 40 is a diagram illustrating an example of a subtotal / total setting UI in the present embodiment. It is displayed on the display 17 by the control of the UI component 103 shown in FIG. 4 and executed by the CPU 10 shown in FIG. Also, the setting by the UI is held in the RAM 12 or the like.

この小計/集計設定UIでは、ブレイク発生時に小計/集計を表示する/表示しないの設定、及び、小計/集計のみの表示を行う設定を行うことができる。   In this subtotal / total setting UI, a setting for displaying / not displaying the subtotal / total when a break occurs and a setting for displaying only the subtotal / total can be performed.

図40において、1901は“小計/集計を表示する”設定であり、ブレイク時に、結果データの小計/集計を表示する設定である。1902は“小計/集計を表示しない”設定であり、ブレイク時に、結果データの小計/集計を表示しない設定である。   In FIG. 40, 1901 is a setting for “display subtotal / total”, and is a setting for displaying the subtotal / total of result data at the time of a break. Reference numeral 1902 denotes a setting for “not displaying subtotal / total”, and a setting for not displaying subtotal / total for result data at the time of a break.

1903は“小計/集計のみ表示”設定であり、ブレイク時に、結果データの小計/集計のみを表示する設定である。   Reference numeral 1903 denotes a “display only subtotal / total” setting for displaying only the subtotal / total of the result data during a break.

1904はOKボタンで、このOKボタン1904が指示されると、UIコンポーネント103の制御により、このUIによる設定値がRAM12等に保存される。   Reference numeral 1904 denotes an OK button. When this OK button 1904 is instructed, the setting value by this UI is stored in the RAM 12 or the like under the control of the UI component 103.

そして、フォーム作成アプリケーション121は、上記各フローチャートに示したオーバーレイ処理の実行時に、上記図40のUIで設定されRAM12に保持される小計/集計設定に基づく処理を実行する。   The form creation application 121 executes processing based on the subtotal / total setting set by the UI of FIG. 40 and held in the RAM 12 when the overlay processing shown in each flowchart is executed.

即ち、フォーム作成アプリケーション121は、図40のUIの設定が“表示する”であった場合、ブレイク発生時に該ブレイク箇所における帳票データの小計/集計を算出する。そして、フォーム作成アプリケーション121は、該算出された小計/集計を該当するブレイク箇所に出力(印刷や表示)するように、出力データをRAM12内で編集制御する。一方、フォーム作成アプリケーション121は、図40のUIの設定が“表示しない”であった場合、ブレイク発生時に該ブレイク箇所における帳票データの小計/集計を出力(印刷や表示)しないように制御する。   That is, when the UI setting in FIG. 40 is “display”, the form creation application 121 calculates the subtotal / total of the form data at the break location when the break occurs. Then, the form creation application 121 edits and controls the output data in the RAM 12 so as to output (print or display) the calculated subtotal / total to the corresponding break location. On the other hand, when the UI setting in FIG. 40 is “not display”, the form creation application 121 controls to not output (print or display) the subtotal / total of the form data at the break location when the break occurs.

また、フォーム作成アプリケーション121は、図40のUIの設定が“小計/集計のみ表示”であった場合、前記算出された小計/集計のみを出力(印刷や表示)するように、出力データをRAM12内で編集制御する。   Further, when the UI setting of FIG. 40 is “display only subtotal / total”, the form creation application 121 outputs the output data to the RAM 12 so that only the calculated subtotal / total is output (printed or displayed). Edit control within.

つまり、フォーム作成アプリケーション121は、データの変化を判定するデータ項目におけるデータの変化に基づいて、集計処理する集計処理手段を有し、集計処理手段による集計結果を含んだ出力ページを生成する。   That is, the form creation application 121 has a totaling processing unit that performs a totaling process based on a change in data in a data item for determining a change in data, and generates an output page including a totaling result by the totaling processing unit.

以上の処理により、ブレイクを解除するだけでなく、小計/集計の出力を動的に制御することで、更なる用紙スペースの削減を行うことができる。   With the above processing, not only the break is canceled, but also the subtotal / total output is dynamically controlled, so that the paper space can be further reduced.

なお、フォーム作成アプリケーションによって生成される出力ページは、枠情報にデータを流し込んで生成される表形式の出力ページを含む。   The output page generated by the form creation application includes a tabular output page generated by inserting data into the frame information.

なお、図1に示したホストコンピュータ101は、パーソナルコンピュータであってもサーバコンピュータ等であってもよい。   The host computer 101 shown in FIG. 1 may be a personal computer or a server computer.

なお、上述した各種データの構成及びその内容はこれに限定されるものではなく、用途や目的に応じて、様々な構成や内容で構成されることは言うまでもない。   It should be noted that the configuration and contents of the various data described above are not limited to this, and it goes without saying that the various data and configurations are configured according to the application and purpose.

以上、一実施形態について示したが、本発明は、例えば、システム、装置、方法、プログラムもしくは記憶媒体等としての実施態様をとることが可能である。具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。   Although one embodiment has been described 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.

以上、説明したように、フォーム作成アプリケーション121は、ブレイク処理により生成されたページの余白量が閾値以上か判定し、閾値以上であれば動的ブレイク(ブレイクキーの変更)を行って、動的に改ページ箇所を変更制御する。これにより、余分な余白領域をなくし必要なデータだけが記載された印刷物を生成することができる。   As described above, the form creation application 121 determines whether the margin amount of the page generated by the break processing is equal to or greater than the threshold value, and performs dynamic break (change of the break key) if it is equal to or greater than the threshold value. Change the page break location. As a result, it is possible to eliminate the extra blank area and generate a printed matter on which only necessary data is described.

また、フォーム作成アプリケーション121は、ブレイク処理により生成されたページのページ数が閾値以上か判定し、閾値以上であれば動的ブレイク(ブレイクキーの変更)を行って、動的に改ページ箇所を変更制御する。これにより、文字サイズや行間などの見栄えを変更せずユーザが指定する指定数ページに収めることができる。   Also, the form creation application 121 determines whether the number of pages generated by the break processing is greater than or equal to a threshold, and if it is greater than or equal to the threshold, performs a dynamic break (change of the break key) to dynamically change the page break location. Change control. Thereby, it is possible to fit the specified number of pages specified by the user without changing the appearance such as the character size and the line spacing.

このように、条件・制約を外部から与えることで、その条件・制約の元で動的にブレイク設定を変更し、ユーザの望む印刷結果を出力することができる。   In this way, by applying conditions / constraints from the outside, it is possible to dynamically change the break setting based on the conditions / constraints and output the print result desired by the user.

なお、上記各実施形態では、オーバーレイ処理を実行して出力データをRAM12上に生成しておき、該出力データを設定される動的ブレイク動作条件に基づいて編集して、ブレイク箇所や出力領域を変更等する構成を示した。これにより、データを改ページする箇所や出力領域を動的に変更することが可能となった。しかし、以下のように構成してもよい。まず、動的ブレイク動作条件とフォームデータやコンテンツデータに基づいて、実行すべきブレイク変更の箇所や出力領域変更等を決定して、その情報をRAM12内に保持させる。そして、実行すべきブレイク変更の箇所や出力領域変更等の情報に基づいて、オーバーレイ処理を実行して、改ページする箇所は出力領域を動的に変更するように構成してもよい。   In each of the embodiments described above, overlay processing is executed to generate output data on the RAM 12, and the output data is edited based on the set dynamic break operation conditions, so that the break location and the output area are determined. The configuration to be changed is shown. As a result, it is possible to dynamically change the page where data is paginated and the output area. However, you may comprise as follows. First, based on the dynamic break operation condition, form data, and content data, a break change location to be executed, an output area change, and the like are determined, and the information is stored in the RAM 12. Then, an overlay process may be executed based on information such as a break change position to be executed and an output area change, and the output area may be dynamically changed at a page break position.

以下、上述の図2に示したメモリマップを参照して、本発明に係る帳票印刷処理システムに適用可能な情報処理装置で読み取り可能な各種データ処理プログラムを格納する記憶媒体のメモリマップの構成について説明する。   Hereinafter, with reference to the memory map shown in FIG. 2, the configuration of the memory map of the storage medium for storing various data processing programs readable by the information processing apparatus applicable to the form printing processing system according to the present invention will be described. explain.

なお、特に図示しないが、記憶媒体に記憶されるプログラム群を管理する情報、例えばバージョン情報,作成者等も記憶され、かつ、プログラム読み出し側のOS等に依存する情報、例えばプログラムを識別表示するアイコン等も記憶される場合もある。   Although not particularly illustrated, information for managing a program group stored in the storage medium, for example, version information, creator, etc. is also stored, and information depending on the OS on the program reading side, for example, a program is identified and displayed. Icons may also be stored.

さらに、各種プログラムに従属するデータも上記ディレクトリに管理されている。また、各種プログラムをコンピュータにインストールするためのプログラムや、インストールするプログラムが圧縮されている場合に、解凍するプログラム等も記憶される場合もある。   Further, data depending on various programs is also managed in the directory. In addition, a program for installing various programs in the computer, and a program for decompressing when the program to be installed is compressed may be stored.

本実施形態における図34,図35,図36,図37,図38,図39,図42,図43,図45に示す機能が外部からインストールされるプログラムによって、ホストコンピュータにより遂行されていてもよい。そして、その場合、CD-ROMやフラッシュメモリやFD等の記憶媒体により、あるいはネットワークを介して外部の記憶媒体から、プログラムを含む情報群を出力装置に供給される場合でも本発明は適用されるものである。   34, FIG. 35, FIG. 36, FIG. 37, FIG. 38, FIG. 39, FIG. 42, FIG. 43, and FIG. 45 in this embodiment may be performed by a host computer by a program installed from the outside. Good. In this case, the present invention is applied even when an information group including a program is supplied to the output device from a storage medium such as a CD-ROM, a flash memory, or an FD, or from an external storage medium via a network. Is.

以上のように、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給する。そして、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。   As described above, a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to a system or apparatus. It goes without saying that the object of the present invention can also be achieved by the computer (or CPU or MPU) of the system or apparatus reading and executing the program code stored in the storage medium.

この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.

従って、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等、プログラムの形態を問わない。   Therefore, as long as it has the function of a program, the form of the program is not limited, such as an object code, a program executed by an interpreter, and script data supplied to the OS.

プログラムを供給するための記憶媒体としては、例えばフレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD-ROM、CD-R、CD-RW、磁気テープ、不揮発性のメモリカード、ROM、DVDなどを用いることができる。   Examples of storage media for supplying programs include flexible disks, hard disks, optical disks, magneto-optical disks, MOs, CD-ROMs, CD-Rs, CD-RWs, magnetic tapes, nonvolatile memory cards, ROMs, DVDs, etc. Can be used.

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

その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続し、該ホームページから本発明のプログラムそのものをハードディスク等の記憶媒体にダウンロードすることによっても供給できる。また、該ホームページから圧縮され自動インストール機能を含むファイルをハードディスク等の記憶媒体にダウンロードすることによっても供給できる。また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバやFTPサーバ等も本発明の請求項に含まれるものである。   As another program supply method, the program can be supplied by connecting to a home page on the Internet using a browser of a client computer and downloading the program of the present invention from the home page to a storage medium such as a hard disk. It can also be supplied by downloading a file compressed from the home page and including an automatic installation function to a storage 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. In other words, a WWW server, an FTP server, and the like that allow a plurality of users to download a program file for realizing the functional processing of the present invention on a computer are also included in the claims of the present invention.

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

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、以下のような構成も含まれることは言うまでもない。例えば、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but it is needless to say that the following configurations are included. For example, an OS (operating system) operating on a computer performs part or all of actual processing based on an instruction of the program code, and the functions of the above-described embodiments may be realized by the processing. Needless to say, it is included.

さらに、記憶媒体から読み出されたプログラムコードを、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込む。そして、該メモリに書き込まれたプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, the program code read from the storage 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. Based on the instruction of the program code written in the memory, the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing. Needless to say, it is also included.

また、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのソフトウェアによって表されるプログラムを格納した記憶媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。   Further, the present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or apparatus. In this case, by reading a storage medium storing a program represented by software for achieving the present invention into the system or apparatus, the system or apparatus can enjoy the effects of the present invention.

本発明は上記実施形態に限定されるものではなく、本発明の趣旨に基づき種々の変形(各実施形態の有機的な組み合わせを含む)が可能であり、それらを本発明の範囲から排除するものではない。   The present invention is not limited to the above embodiments, and various modifications (including organic combinations of the embodiments) are possible based on the spirit of the present invention, and these are excluded from the scope of the present invention. is not.

本発明の様々な例と実施形態を示して説明したが、当業者であれば、本発明の趣旨と範囲は、本明細書内の特定の説明に限定されるのではない。   While various examples and embodiments of the present invention have been shown and described, the spirit and scope of the present invention are not limited to the specific descriptions in the present specification by those skilled in the art.

なお、上述した各実施形態およびその変形例を組み合わせた構成も全て本発明に含まれるものである。   In addition, all the structures which combined each embodiment mentioned above and its modification are also included in this invention.

以上より、文字サイズや行間等の見栄えを変更せず、また、データ仕分けの利便性も保ちつつ、ユーザの所望のページ数に収めたり、余分な余白領域をなくし、ユーザが望む出力結果を取得できるようにすることができる。   As described above, the appearance of the character size, line spacing, etc. is not changed, and while maintaining the convenience of data sorting, the desired number of pages can be accommodated by the user and the extra blank area can be eliminated to obtain the desired output result. Can be able to.

、本発明の一実施形態を示す帳票印刷処理システムに適用可能な情報処理装置のハードウェアの構成の一例を示すブロック図である。1 is a block diagram illustrating an example of a hardware configuration of an information processing apparatus that can be applied to a form print processing system according to an embodiment of the present invention. 本発明に係る情報処理装置で読み取り可能な各種データ処理プログラムおよび関連データを格納する記憶媒体(記録媒体)のメモリマップを説明する図である。It is a figure explaining the memory map of the storage medium (recording medium) which stores the various data processing program and related data which can be read with the information processing apparatus which concerns on this invention. 図2に示した制御プログラムがRAMにロードされ実行可能となった状態のメモリマップを説明する図である。FIG. 3 is a diagram illustrating a memory map in a state where the control program shown in FIG. 2 is loaded into a RAM and becomes executable. 帳票等のデータを印刷するシステムの一例を示すブロック図である。It is a block diagram which shows an example of the system which prints data, such as a form. フォームデータに対してコンテンツデータを流し込む処理を説明する図である。It is a figure explaining the process which pours content data with respect to form data. 本実施形態における動的ブレイクキー選択UIの一例を示す図である。It is a figure which shows an example of the dynamic break key selection UI in this embodiment. 本実施形態における動的ブレイク動作条件設定UI(ユーザインタフェース)の一例を示す図である。It is a figure which shows an example of the dynamic break operation condition setting UI (user interface) in this embodiment. 本実施形態における動的ブレイク設定UIの一例を示す図である。It is a figure which shows an example of the dynamic break setting UI in this embodiment. 本実施形態における動的ブレイク実行時処理UIの一例を示す図である。It is a figure which shows an example of the process UI at the time of dynamic break execution in this embodiment. 本実施形態における動的ブレイクキー詳細設定UIの一例を示す図である。It is a figure which shows an example of the dynamic break key detailed setting UI in this embodiment. 本実施形態におけるページ数設定UIの一例を示す図である。It is a figure which shows an example of the page number setting UI in this embodiment. 本実施形態の出力設定UIの一例を示す図である。It is a figure which shows an example of the output setting UI of this embodiment. 本実施形態におけるエラー設定UIの一例を示す図である。It is a figure which shows an example of the error setting UI in this embodiment. 本実施形態における余白領域設定UIの一例を示す図である。It is a figure which shows an example of the margin area | region setting UI in this embodiment. 図8に示した動的ブレイク設定で“選択したブレイクキーのみブレイクを全て解除”設定が選択された場合のブレイクキー解除動作を具体的に説明する図である。FIG. 9 is a diagram for specifically explaining a break key release operation when “Release all breaks for only selected break keys” is selected in the dynamic break setting shown in FIG. 8. 図8に示した動的ブレイク設定で“選択したブレイクキーのみブレイクを全て解除”設定が選択された場合のブレイクキー解除動作を具体的に説明する図である。FIG. 9 is a diagram for specifically explaining a break key release operation when “Release all breaks for only selected break keys” is selected in the dynamic break setting shown in FIG. 8. 図8に示した動的ブレイク設定で“選択したブレイクキーのみブレイクを全て解除”設定が選択された場合のブレイクキー解除動作を具体的に説明する図である。FIG. 9 is a diagram for specifically explaining a break key release operation when “Release all breaks for only selected break keys” is selected in the dynamic break setting shown in FIG. 8. 図8に示した動的ブレイク設定で“選択したブレイクキーのみブレイクを全て解除”設定が選択された場合のブレイクキー解除動作を具体的に説明する図である。FIG. 9 is a diagram for specifically explaining a break key release operation when “Release all breaks for only selected break keys” is selected in the dynamic break setting shown in FIG. 8. 図8に示した動的ブレイク設定で“選択したブレイクキーのみブレイクを全て解除”設定が選択された場合のブレイクキー解除動作を具体的に説明する図である。FIG. 9 is a diagram for specifically explaining a break key release operation when “Release all breaks for only selected break keys” is selected in the dynamic break setting shown in FIG. 8. 図8に示した動的ブレイク設定で“選択したブレイクキーのみブレイクを全て解除”設定が選択された場合のブレイクキー解除動作を具体的に説明する図である。FIG. 9 is a diagram for specifically explaining a break key release operation when “Release all breaks for only selected break keys” is selected in the dynamic break setting shown in FIG. 8. 図8に示した動的ブレイク設定で“先頭ブレイクキー優先”設定が選択された場合のブレイクキー解除動作を具体的に説明する図である。FIG. 9 is a diagram for specifically explaining a break key releasing operation when “first break key priority” setting is selected in the dynamic break setting shown in FIG. 8. 図8に示した動的ブレイク設定で“先頭ブレイクキー優先”設定が選択された場合のブレイクキー解除動作を具体的に説明する図である。FIG. 9 is a diagram for specifically explaining a break key releasing operation when “first break key priority” setting is selected in the dynamic break setting shown in FIG. 8. 図8に示した動的ブレイク設定で“先頭ブレイクキー優先”設定が選択された場合のブレイクキー解除動作を具体的に説明する図である。FIG. 9 is a diagram for specifically explaining a break key releasing operation when “first break key priority” setting is selected in the dynamic break setting shown in FIG. 8. 図8に示した動的ブレイク設定で“末尾ブレイクキー優先”設定が選択された場合のブレイクキー解除動作を具体的に説明する図である。FIG. 9 is a diagram for specifically explaining a break key release operation when “end break key priority” setting is selected in the dynamic break setting shown in FIG. 8. 図8に示した動的ブレイク設定で“末尾ブレイクキー優先”設定が選択された場合のブレイクキー解除動作を具体的に説明する図である。FIG. 9 is a diagram for specifically explaining a break key release operation when “end break key priority” setting is selected in the dynamic break setting shown in FIG. 8. 図8に示した動的ブレイク設定で“末尾ブレイクキー優先”設定が選択された場合のブレイクキー解除動作を具体的に説明する図である。FIG. 9 is a diagram for specifically explaining a break key release operation when “end break key priority” setting is selected in the dynamic break setting shown in FIG. 8. 本実施形態における余白領域処理について具体的に説明する図である。It is a figure which demonstrates concretely the blank area | region process in this embodiment. 本実施形態における余白領域処理について具体的に説明する図である。It is a figure which demonstrates concretely the blank area | region process in this embodiment. 本実施形態における余白領域処理について具体的に説明する図である。It is a figure which demonstrates concretely the blank area | region process in this embodiment. 本実施形態における余白領域処理について具体的に説明する図である。It is a figure which demonstrates concretely the blank area | region process in this embodiment. 本実施形態における余白領域処理について具体的に説明する図である。It is a figure which demonstrates concretely the blank area | region process in this embodiment. 本実施形態における余白領域処理について具体的に説明する図である。It is a figure which demonstrates concretely the blank area | region process in this embodiment. 本実施形態における余白領域処理について具体的に説明する図である。It is a figure which demonstrates concretely the blank area | region process in this embodiment. 本発明における第1の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 1st control processing procedure in this invention. 本発明における第2の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 2nd control processing procedure in this invention. 本発明における第3の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 3rd control processing procedure in this invention. 本発明における第4の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 4th control processing procedure in this invention. 本発明における第5の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 5th control processing procedure in this invention. 本発明における第6の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 6th control processing procedure in this invention. 本実施形態における小計/集計設定UIの一例を示す図である。It is a figure which shows an example of the subtotal / total setting UI in this embodiment. 本発明における出力目的を設定するためのUIの一例を示す図である。It is a figure which shows an example of UI for setting the output objective in this invention. 本発明の試し印刷が選択された場合の処理を示すフローチャートである。It is a flowchart which shows a process when the trial printing of this invention is selected. 本発明の本番印刷が選択された場合の処理を示すフローチャートである。It is a flowchart which shows a process when production printing of this invention is selected. 本発明の出力先を指定するためのUIの一例を示す図である。It is a figure which shows an example of UI for designating the output destination of this invention. 本発明のブレイク処理内容を変更するフローチャートである。It is a flowchart which changes the break processing content of this invention. 本発明のブレイク処理内容を変更した場合の出力結果の一例を示す図である。It is a figure which shows an example of the output result at the time of changing the break processing content of this invention. 本発明のブレイク処理内容を変更設定UIの一例を示す図である。It is a figure which shows an example of the change setting UI about the break processing content of this invention. 本発明のブレイク処理内容の変更内容設定UIの一例を示す図である。It is a figure which shows an example of the change content setting UI of the break processing content of this invention. 本発明のブレイク処理内容を設定するUIの一例を示す図である。It is a figure which shows an example of UI which sets the break processing content of this invention.

符号の説明Explanation of symbols

10 CPU
11 ROM
12 RAM
13 FDドライブ
14 FD
15 HDドライブ
16 キーボード
17 ディスプレイ
18 マウス
19 NIC(Network Interface Card)
20 システムバス
103 ユーザインタフェース(USER INTERFASE)
105 ライブラリ(LIBRARY)
121 フォーム作成アプリケーションプログラム(FORM EDITING APPLICATION)
10 CPU
11 ROM
12 RAM
13 FD drive 14 FD
15 HD drive 16 Keyboard 17 Display 18 Mouse 19 NIC (Network Interface Card)
20 System bus 103 User interface (USER INTERFASE)
105 Library (LIBRARY)
121 FORM EDITING APPLICATION

Claims (25)

複数のデータ項目からなるデータにおいて、予め定められたデータ項目におけるデータの変化に応じて区切り処理を実行して出力ページを生成する情報処理装置において、
前記生成される出力ページの制約条件を設定する設定手段と、
前記生成された出力ページが前記設定手段により設定された出力ページの制約条件にあてはまらない場合、前記データの変化を判定するデータ項目を変更する制御手段と、
前記制御手段によって変更された前記データの変化を判定するデータ項目におけるデータの変化に応じて区切り処理を適用した出力ページを生成する生成手段と、
を有することを特徴とする情報処理装置。
In an information processing apparatus that generates an output page by executing a delimiter process according to a change in data in a predetermined data item in data composed of a plurality of data items,
Setting means for setting constraints on the generated output page;
Control means for changing a data item for determining a change in the data when the generated output page does not satisfy the constraint condition of the output page set by the setting means;
Generating means for generating an output page to which delimiter processing is applied in accordance with data change in a data item for determining a change in the data changed by the control means;
An information processing apparatus comprising:
前記出力ページの各ページにおいて、前記データが配置されていない余白サイズを判定する余白サイズ判定手段を有し、
前記設定手段は、制約条件として前記生成される出力ページの余白領域制限を設定可能であり、
前記制御手段は、前記余白判定手段によって判定された余白サイズが前記設定手段によって設定された前記出力ページの余白領域制限を超える場合、前記データの変化を判定するデータ項目を変更することを特徴とする請求項1に記載の情報処理装置。
Each page of the output page has a margin size determining means for determining a margin size in which the data is not arranged;
The setting means can set a margin area limitation of the generated output page as a constraint condition,
When the margin size determined by the margin determination unit exceeds the margin area limit of the output page set by the setting unit, the control unit changes a data item for determining the change of the data. The information processing apparatus according to claim 1.
前記出力ページのページ数を判定する出力ページ数判定手段と、
前記設定手段は、制約条件として前記生成される出力ページのページ数制限を設定可能なものであり、
前記制御手段は、前記出力ページ数判定手段によって判定された出力ページのページ数が前記ページ数制限を超える場合、前記データの変化を判定するデータ項目を変更することを特徴とする請求項1に記載の情報処理装置。
Output page number determination means for determining the number of pages of the output page;
The setting means can set a page number limit of the generated output page as a constraint condition,
2. The control unit according to claim 1, wherein when the page number of the output page determined by the output page number determination unit exceeds the page number limit, the control unit changes a data item for determining the change in the data. The information processing apparatus described.
前記データの変化を判定するデータ項目を変更する方法を設定する変更方法設定手段を有し、
前記制御手段は、前記変更方法設定手段によって設定された前記データの変化を判定するデータ項目を変更する方法に基づいて、前記データの変化を判定するデータ項目を変更することを特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。
A change method setting means for setting a method for changing a data item for determining a change in the data;
The said control means changes the data item which determines the change of the said data based on the method of changing the data item which determines the change of the said data set by the said change method setting means. The information processing apparatus according to any one of 1 to 3.
前記データの変化を判定するデータ項目を変更する方法は、前記区切り処理を解除するデータ項目を指定し、該区切り処理を解除するように指定されたデータ項目におけるデータの変化に応じた区切り処理を解除する第1の方法を含み、
前記制御手段は、前記第1の方法が設定された場合には、前記区切り処理を解除するように指定されたデータ項目におけるデータの変化に応じた区切り処理を解除することを特徴とする請求項4に記載の情報処理装置。
The method of changing a data item for determining a change in the data specifies a data item for canceling the delimiter process, and performs a delimiter process according to a data change in the data item designated to cancel the delimiter process. Including a first method of releasing,
The control means, when the first method is set, cancels a delimiter process according to a change in data in a data item designated to cancel the delimiter process. 5. The information processing apparatus according to 4.
前記データの変化を判定するデータ項目変更する方法は、前記データの変化を判定するデータ項目の優先順位を指定し、該優先順位に基づく順序で該データ項目におけるデータの変化に応じた区切り処理を解除する第2の方法を含み、
前記制御手段は、前記第2の方法が設定された場合には、前記優先順位に基づく順序で該データ項目におけるデータの変化に応じた区切り処理を解除することを特徴とする請求項4または5に記載の情報処理装置。
The method of changing a data item for determining a change in the data specifies a priority order of the data item for determining a change in the data, and performs a delimiter process according to the data change in the data item in an order based on the priority order. Including a second method of releasing,
6. The control unit according to claim 4 or 5, wherein when the second method is set, the delimiting process according to the data change in the data item is canceled in the order based on the priority order. The information processing apparatus described in 1.
前記複数のデータ項目からなるデータにおいて、前記データの変化を判定するデータ項目を変更することにより、変更後のデータ項目におけるデータの変化に基づいて、該データの変化前までのデータを決められた領域内に収めることができるか否かを判定するデータ溢れ判定手段と、
前記データの変化を判定するデータ項目を変更後のデータ項目におけるデータの変化に基づいて、該データの変化前までのデータを決められた領域内に収めることができないと判定された場合の出力処理内容を設定する出力内容設定手段を有し、
前記データ溢れ判定手段により前記データの変化を判定するデータ項目を変更後のデータ項目におけるデータの変化に応じて、該データの変化前までのデータを決められた領域内に収めることができないと判定された場合、前記生成手段は、前記出力内容設定手段によって設定された出力処理内容に基づいて出力ページを生成することを特徴とする請求項1乃至6のいずれか1項に記載の情報処理装置。
In the data composed of the plurality of data items, by changing the data item for determining the change of the data, the data before the change of the data can be determined based on the change of the data in the data item after the change. Data overflow judging means for judging whether or not the area can be accommodated,
Output processing in a case where it is determined that the data before the change of data cannot be stored in the determined area based on the change of data in the data item after the change of the data item for determining the change of the data An output content setting means for setting the content;
A data item for determining a change in the data by the data overflow determining means is determined according to a data change in the data item after the change, and the data before the data change cannot be accommodated in a predetermined area. 7. The information processing apparatus according to claim 1, wherein the generation unit generates an output page based on the output processing content set by the output content setting unit. .
前記出力内容設定手段は、前記データの変化前までのデータを決められた領域内に収めることができないと判定された場合の処理として、決められた出力領域内にそのまま出力する処理、又は、前記決められた出力領域を含む出力可能な領域まで出力する処理を設定可能なものであり、
前記データ溢れ判定手段により前記データの変化を判定するデータ項目を変更後のデータ項目におけるデータの変化に基づいて、該データの変化前までのデータを決められた領域内に収めることができないと判定され、前記出力内容設定手段により前記出力可能な領域まで出力する処理が設定された場合、前記生成手段は、前記複数項目からなるデータを前記出力可能な領域まで配置した出力ページを生成することを特徴とする請求項7に記載の情報処理装置。
The output content setting means, as a process in the case where it is determined that the data before the change of the data can not fit in the determined area, as a process to output as it is in the determined output area, or It is possible to set the process to output up to the output possible area including the determined output area,
Based on the data change in the data item after the change of the data item for determining the data change by the data overflow determining means, it is determined that the data before the data change cannot be accommodated in the determined area And when the output content setting means sets the process to output to the output possible area, the generation means generates an output page in which the data consisting of the plurality of items is arranged up to the output possible area. The information processing apparatus according to claim 7.
前記データの変化を判定するデータ項目を変更することにより前記区切り処理を解除した箇所に、空行を挿入する処理、区切り処理を解除した箇所の属性を変更する処理、なにも挿入しない処理、のいずれかを設定可能な区切り処理箇所設定手段を有し、
前記生成手段は、前記データの変化を判定するデータ項目を変更することにより区切り処理を解除した箇所に対して前記区切り処理箇所設定手段によって設定された処理内容に基づき出力ページを生成することを特徴とする請求項1乃至8のいずれか1項に記載の情報処理装置。
A process for inserting a blank line at a location where the delimiter process is canceled by changing a data item for determining a change in the data, a process for changing an attribute of the location where the delimiter process is canceled, a process for not inserting anything, There is a delimiter processing location setting means that can set either of
The generating means generates an output page based on the processing content set by the delimiter processing location setting means for a location where the delimiter processing is canceled by changing a data item for determining the change in the data. The information processing apparatus according to any one of claims 1 to 8.
前記ページ数制限設定の際、該ページ数制限に基づいて前記データの変化を判定するデータ項目を変更しても、生成される出力ページのページ数が前記ページ数制限を超えてしまう場合のページ数制限処理として、そのまま出力する処理、又は、エラーとする処理を設定可能な出力設定手段を有し、
前記生成手段は、前記出力ページ数判定手段によって、前記データの変化を判定するデータ項目を変更しても出力ページのページ数が前記ページ数制限を超えてしまうと判定された場合、前記出力設定手段によって設定された情報に基づいて、出力ページを生成することを特徴とする請求項3に記載の情報処理装置。
Page when the number of output pages to be generated exceeds the page number limit even when the data item for determining the change in the data is changed based on the page number limit when the page number limit is set As the number limiting process, there is an output setting means capable of setting a process for outputting as it is or a process for making an error,
If the output page number determination means determines that the page number of the output page exceeds the page number limit even if the data item for determining the change in data is changed, the output setting The information processing apparatus according to claim 3, wherein an output page is generated based on information set by the means.
前記生成手段によって生成された出力ページの出力設定情報を判定する出力設定情報判定手段を有し、
前記制御手段は、前記出力設定情報判定手段によって判定された出力設定情報が第1出力設定情報であると判定された場合、前記データの変化を判定するデータ項目の変更処理を実行せず、前記出力設定情報判定手段によって判定された出力設定情報が第1出力設定情報であると判定された場合、前記データの変化を判定するデータ項目の変更処理を実行することを特徴とする請求項1乃至10のいずれか1項に記載の情報処理装置。
Output setting information determining means for determining output setting information of the output page generated by the generating means;
When the output setting information determined by the output setting information determining means is determined to be the first output setting information, the control means does not execute the data item changing process for determining the data change, and The data item changing process for determining a change in the data is executed when the output setting information determined by the output setting information determining means is determined to be the first output setting information. The information processing apparatus according to any one of 10.
複数のデータ項目からなるデータにおいて、予め定められたデータ項目におけるデータの変化に応じて区切り処理を実行して出力ページを生成する情報処理装置において、
前記生成される出力ページの制約条件を設定する設定手段と、
前記予め定められたデータ項目におけるデータの変化を判定するデータ判定手段と、
前記データ判定手段によって、予め定められたデータ項目においてデータの変化が生じたと判定された場合、前記区切り処理を実行する区切り処理実行手段と、
前記区切り処理実行手段による区切り処理を実行して生成された出力ページが前記設定手段により設定された出力ページの制約条件にあてはまらない場合、前記区切り処理の処理内容を変更する制御手段と、
前記制御手段によって変更された前記区切り処理の処理内容に基づいて出力ページを生成する生成手段と、
を有することを特徴とする情報処理装置。
In an information processing apparatus that generates an output page by executing a delimiter process according to a change in data in a predetermined data item in data composed of a plurality of data items,
Setting means for setting constraints on the generated output page;
Data determining means for determining a change in data in the predetermined data item;
Separation processing execution means for executing the separation processing when it is determined by the data determination means that a data change has occurred in a predetermined data item;
Control means for changing the processing content of the delimiter process when the output page generated by executing the delimiter process by the delimiter process execution unit does not meet the output page restriction condition set by the setting unit;
Generating means for generating an output page based on the processing content of the separation process changed by the control means;
An information processing apparatus comprising:
前記出力ページの各ページにおいて、前記データが配置されていない余白サイズを判定する余白サイズ判定手段を有し、
前記設定手段は、制約条件として前記生成される出力ページの余白領域制限を設定可能であり、
前記制御手段は、前記余白判定手段によって判定された余白サイズが前記設定手段によって設定された前記出力ページの余白領域制限を超える場合、前記区切り処理の処理内容を変更することを特徴とする請求項12に記載の情報処理装置。
Each page of the output page has a margin size determining means for determining a margin size in which the data is not arranged;
The setting means can set a margin area limitation of the generated output page as a constraint condition,
The control means changes the processing content of the separation processing when the margin size determined by the margin determination means exceeds the margin area limit of the output page set by the setting means. 12. The information processing apparatus according to 12.
前記出力ページのページ数を判定する出力ページ数判定手段と、
前記設定手段は、制約条件として前記生成される出力ページのページ数制限を設定可能なものであり、
前記制御手段は、前記出力ページ数判定手段によって判定された出力ページのページ数が前記ページ数制限を超える場合、前記区切り処理の処理内容を変更することを特徴とする請求項12に記載の情報処理装置。
Output page number determination means for determining the number of pages of the output page;
The setting means can set a page number limit of the generated output page as a constraint condition,
13. The information according to claim 12, wherein the control unit changes the processing content of the separation processing when the number of output pages determined by the output page number determination unit exceeds the page number limit. Processing equipment.
前記区切り処理の処理内容を改ページ処理から改行処理に変更する変更方法設定手段を有し、
前記生成手段は、前記予め定められたデータ項目におけるデータの変化に応じて前記変更方法設定手段によって変更された改行処理を適用して出力ページを生成することを特徴とする請求項12乃至14のいずれか1項に記載の情報処理装置。
A change method setting means for changing the content of the delimiter process from a page break process to a line feed process,
15. The generation unit according to claim 12, wherein the generation unit generates an output page by applying a line feed process changed by the change method setting unit according to a change in data in the predetermined data item. The information processing apparatus according to any one of claims.
前記改行処理を実行する箇所に、空行を挿入する処理、区切り処理を解除した箇所の属性を変更する処理、なにも挿入しない処理、のいずれかを設定可能な区切り処理箇所設定手段を有し、
前記生成手段は、前記区切り処理箇所設定手段によって設定された処理内容に基づき出力ページを生成することを特徴とする請求項15に記載の情報処理装置。
There is a delimiter processing part setting means that can set either a process for inserting a blank line, a process for changing the attribute of a part for which the delimiter process has been canceled, or a process for not inserting anything at the position where the line feed process is executed. And
The information processing apparatus according to claim 15, wherein the generation unit generates an output page based on the processing content set by the delimiter processing location setting unit.
前記ページ数制限設定の際、該ページ数制限に基づいて前記区切り処理の処理内容を変更しても、生成される出力ページのページ数が前記ページ数制限を超えてしまう場合のページ数制限処理として、そのまま出力する処理、又は、エラーとする処理を設定可能な出力設定手段を有し、
前記生成手段は、前記出力ページ数判定手段によって、前記区切り処理の処理内容を変更しても出力ページのページ数が前記ページ数制限を超えてしまうと判定された場合、前記出力設定手段によって設定された情報に基づいて、出力ページを生成することを特徴とする請求項14に記載の情報処理装置。
When the page number limit setting is performed, even if the processing content of the separation process is changed based on the page number limit, the page number limit process when the page number of the generated output page exceeds the page number limit As an output setting means that can set a process to output as it is or a process to be an error,
The generation unit is set by the output setting unit when the output page number determination unit determines that the page number of the output page exceeds the page number limit even if the processing content of the separation process is changed. The information processing apparatus according to claim 14, wherein an output page is generated based on the processed information.
前記生成手段によって生成された出力ページの出力設定情報を判定する出力設定情報判定手段を有し、
前記制御手段は、前記出力設定情報判定手段によって判定された出力設定情報が第1出力設定情報であると判定された場合、前記区切り処理の処理内容を変更せず、前記出力設定情報判定手段によって判定された出力設定情報が第1出力設定情報であると判定された場合、前記区切り処理の処理内容を変更することを特徴とする請求項12乃至17のいずれか1項に記載の情報処理装置。
Output setting information determining means for determining output setting information of the output page generated by the generating means;
When it is determined that the output setting information determined by the output setting information determination unit is the first output setting information, the control unit does not change the processing content of the separation process, and the output setting information determination unit 18. The information processing apparatus according to claim 12, wherein when it is determined that the determined output setting information is the first output setting information, the processing content of the separation process is changed. .
前記生成される出力ページは、枠情報にデータを流し込んで生成される表形式の出力ページを含むことを特徴とする請求項1乃至18のいずれか1項に記載の情報処理装置。   The information processing apparatus according to any one of claims 1 to 18, wherein the generated output page includes a tabular output page generated by inserting data into frame information. 前記前記データの変化を判定するデータ項目におけるデータの変化に基づいて、集計処理する集計処理手段を有し、
前記生成手段は、前記集計処理手段による集計結果を含んだ出力ページを生成することを特徴とする請求項1乃至11のいずれか1項に記載の情報処理装置。
Based on a change in data in the data item for determining the change in the data, comprising a tally processing means for tally processing;
12. The information processing apparatus according to claim 1, wherein the generation unit generates an output page including a totaling result by the totaling processing unit.
前記変更された区切り処理内容に基づく区切り処理に応じて集計処理する集計処理手段を有し、
前記生成手段は、前記集計処理手段による集計結果を含んだ出力ページを生成することを特徴とする請求項12乃至18のいずれか1項に記載の情報処理装置。
A tally processing means for tally processing according to the delimiter processing based on the changed delimiter processing content;
The information processing apparatus according to any one of claims 12 to 18, wherein the generation unit generates an output page including a total result by the total processing unit.
複数のデータ項目からなるデータにおいて、予め定められたデータ項目におけるデータの変化に応じて区切り処理を実行して出力ページを生成する情報処理装置におけるデータ出力制御方法において、
前記生成される出力ページの制約条件を設定する設定ステップと、
前記生成された出力ページが前記設定手段により設定された出力ページの制約条件にあてはまらない場合、前記データの変化を判定するデータ項目を変更する変更ステップと、
該変更された前記データの変化を判定するデータ項目におけるデータの変化に応じて区切り処理を適用した出力ページを生成する生成ステップと、
を有することを特徴とするデータ出力制御方法。
In a data output control method in an information processing apparatus for generating an output page by executing a delimiter process according to a change in data in a predetermined data item in data composed of a plurality of data items,
A setting step for setting constraints on the generated output page;
A change step of changing a data item for determining a change in the data when the generated output page does not satisfy the constraint condition of the output page set by the setting unit;
A generation step of generating an output page to which delimiter processing is applied in accordance with a change in data in a data item for determining the change in the changed data;
A data output control method comprising:
複数のデータ項目からなるデータにおいて、予め定められたデータ項目におけるデータの変化に応じて区切り処理を実行して出力ページを生成する情報処理装置におけるデータ出力制御方法において、
前記生成される出力ページの制約条件を設定する設定ステップと、
前記予め定められたデータ項目におけるデータの変化を判定するデータ判定ステップと、
該予め定められたデータ項目においてデータの変化が生じたと判定された場合、前記区切り処理を実行する区切り処理実行ステップと、
該区切り処理を実行して生成された出力ページが前記設定手段により設定された出力ページの制約条件にあてはまらない場合、前記区切り処理の処理内容を変更する変更ステップと、
該変更された前記区切り処理の処理内容に基づいて出力ページを生成する生成手段と、
を有することを特徴とするデータ出力制御方法。
In a data output control method in an information processing apparatus for generating an output page by executing a delimiter process according to a change in data in a predetermined data item in data composed of a plurality of data items,
A setting step for setting constraints on the generated output page;
A data determination step of determining a change in data in the predetermined data item;
When it is determined that a data change has occurred in the predetermined data item, a delimiter process execution step for executing the delimiter process;
A change step of changing the processing content of the delimiter process when the output page generated by executing the delimiter process does not meet the output page restriction condition set by the setting unit;
Generating means for generating an output page based on the changed processing content of the separation process;
A data output control method comprising:
請求項22又は23に記載されたデータ出力制御方法をコンピュータに実行させるためのプログラム。   A program for causing a computer to execute the data output control method according to claim 22 or 23. 請求項22又は23に記載されたデータ出力制御方法をコンピュータに実行させるためのプログラムを格納したことを特徴とするコンピュータ読取可能な記憶媒体。   A computer-readable storage medium storing a program for causing a computer to execute the data output control method according to claim 22 or 23.
JP2005363306A 2005-12-16 2005-12-16 Information processing apparatus, data output control method, program and storage medium Withdrawn JP2007164685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005363306A JP2007164685A (en) 2005-12-16 2005-12-16 Information processing apparatus, data output control method, program and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005363306A JP2007164685A (en) 2005-12-16 2005-12-16 Information processing apparatus, data output control method, program and storage medium

Publications (1)

Publication Number Publication Date
JP2007164685A true JP2007164685A (en) 2007-06-28

Family

ID=38247477

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005363306A Withdrawn JP2007164685A (en) 2005-12-16 2005-12-16 Information processing apparatus, data output control method, program and storage medium

Country Status (1)

Country Link
JP (1) JP2007164685A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009088675A (en) * 2007-09-27 2009-04-23 Brother Ind Ltd Image processing device and program
JP2011203774A (en) * 2010-03-24 2011-10-13 Oki Data Corp Printing program, print controller, and image forming apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009088675A (en) * 2007-09-27 2009-04-23 Brother Ind Ltd Image processing device and program
JP2011203774A (en) * 2010-03-24 2011-10-13 Oki Data Corp Printing program, print controller, and image forming apparatus

Similar Documents

Publication Publication Date Title
US8792116B2 (en) Printing controller, GUI display method, printer driver, and recording medium
US8516365B2 (en) Dynamically laying out images and associated text using pre-defined layouts
AU719368B2 (en) Font sharing system and method, and recording medium storing program for executing font sharing method
JP4810282B2 (en) Module installation method, module installation device, and program
JP4796296B2 (en) Web page authoring apparatus, web page authoring method and program
US9013718B2 (en) Print control apparatus, control method thereof, and device driver for converting commands from one format to another
US7793224B1 (en) Methods and apparatus for formatting identified content
US20070276652A1 (en) Display control apparatus, display control method and program
JP4235441B2 (en) Document processing program, document processing method and apparatus
JP2008015558A (en) Authoring system, software and method for creating content
JP2007164685A (en) Information processing apparatus, data output control method, program and storage medium
US20070070412A1 (en) Image forming system, image forming method, and program
JP2007012037A (en) Information processor, display control processing method and program
JP6851853B2 (en) Expansion of redacting function
JP4769565B2 (en) Editing apparatus and control method and program thereof
JP4956259B2 (en) Information processing apparatus, control method therefor, and computer program
JP4944434B2 (en) Layout method and program
JP3969926B2 (en) Form creation device, form creation method, and storage medium
JP2005038149A (en) Form processing method, form processing program and form processing device
JP2009289121A (en) Information processor, output device, output processing method and program
JP4726252B2 (en) Information processing apparatus and method, and control program
JP2005063052A (en) Method and device for creating document
JP2003006183A (en) Information processor, information processing method, program and computer-readable medium storing the program
JP2009223696A (en) Information processor, information processing method, information processing program, and recording medium with information processing program recorded
JP2006268115A (en) Content file creation system and content file creation method

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20080108

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080219

A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20090303