JP2009075723A - Document processor, document processing method, program, and data structure of document file - Google Patents

Document processor, document processing method, program, and data structure of document file Download PDF

Info

Publication number
JP2009075723A
JP2009075723A JP2007242252A JP2007242252A JP2009075723A JP 2009075723 A JP2009075723 A JP 2009075723A JP 2007242252 A JP2007242252 A JP 2007242252A JP 2007242252 A JP2007242252 A JP 2007242252A JP 2009075723 A JP2009075723 A JP 2009075723A
Authority
JP
Japan
Prior art keywords
information
file
data information
association
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007242252A
Other languages
Japanese (ja)
Inventor
Takayuki Matsui
孝行 松井
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2007242252A priority Critical patent/JP2009075723A/en
Publication of JP2009075723A publication Critical patent/JP2009075723A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a document processor, a document processing method, a program, and a document file data structure which can store document form information and document data information by associating both information where at least either comprises multiple pieces of information. <P>SOLUTION: The document processor is provided with: a document form information storage means for storing document form information in a document file; a document data information storage means for storing document data information in the document file; and an association information storage means for storing, in the document file, information associating the document form information with the document data information. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は帳票処理装置、帳票処理方法、プログラム、及び帳票ファイルのデータ構造に関する。本発明は、特に、帳票データ情報と帳票フォーム情報とを含む帳票ファイルに関する帳票処理装置、帳票処理方法、プログラム、及び帳票ファイルのデータ構造に関する。   The present invention relates to a form processing apparatus, a form processing method, a program, and a data structure of a form file. The present invention particularly relates to a form processing apparatus, form processing method, program, and form file data structure related to a form file including form data information and form form information.

帳票データと帳票フォーム情報とをマージし、マージしたデータをマージデータファイルに格納する帳票ファームマージ方式の発明の一例が特許文献1に記載されている。   Patent Document 1 discloses an example of a form firm merge invention that merges form data and form form information and stores the merged data in a merge data file.

特開平5-050694JP-A-5-050694

上述した特許文献1においては、帳票データと帳票フォーム情報とを1対1でマージし1つの帳票ファイルとしている。そのため、特許文献1は、少なくとも一方が複数の帳票フォームと帳票データ情報とを対応付けて帳票ファイルに格納することができなかった。   In Patent Document 1 described above, form data and form form information are merged on a one-to-one basis to form one form file. Therefore, in Patent Document 1, at least one of them cannot store a plurality of form forms and form data information in association with each other in the form file.

本発明の目的は、上述した課題を解決する帳票処理装置、帳票処理方法、プログラム、及び帳票ファイルのデータ構造を提供することにある。   An object of the present invention is to provide a form processing apparatus, a form processing method, a program, and a form file data structure that solve the above-described problems.

本発明の帳票処理装置は、帳票フォーム情報を帳票ファイルに格納する帳票フォーム情報格納手段と、帳票データ情報を帳票ファイルに格納する帳票データ情報格納手段と、帳票フォーム情報と帳票データ情報を対応付ける対応付け情報を帳票ファイルに格納する対応付け情報格納手段とを備えることを特徴とする。   The form processing apparatus of the present invention has a form form information storage means for storing form form information in a form file, a form data information storage means for storing form data information in a form file, and a correspondence between form form information and form data information. It is characterized by comprising association information storage means for storing attachment information in a form file.

本発明の帳票処理方法は、帳票フォーム情報を帳票ファイルに格納し、帳票データ情報を帳票ファイルに格納し、帳票フォーム情報と帳票データ情報を対応付ける対応付け情報を帳票ファイルに格納することを特徴とする。   The form processing method of the present invention is characterized in that form form information is stored in a form file, form data information is stored in a form file, and association information for associating form form information and form data information is stored in the form file. To do.

本発明のプログラムは、コンピュータに、帳票フォーム情報を帳票ファイルに格納する手段、帳票データ情報を帳票ファイルに格納する手段、帳票フォーム情報と帳票データ情報を対応付ける対応付け情報を帳票ファイルに格納する手段として機能させることを特徴とする。   The program of the present invention is a means for storing form form information in a form file, means for storing form data information in a form file, and means for storing association information for associating form form information and form data information in a form file. It is made to function as.

本発明の帳票ファイルのデータ構造は、帳票フォーム情報と、帳票データ情報と、帳票フォーム情報と帳票データ情報とを対応付ける対応付け情報とを含むことを特徴とする。   The data structure of the form file of the present invention includes form form information, form data information, and association information that associates form form information with form data information.

本発明は、少なくとも一方が複数の帳票フォーム情報と帳票データ情報とを対応付けて帳票ファイルに格納することができる、という効果を有する。   The present invention has an effect that at least one can store a plurality of form form information and form data information in association with each other in a form file.

まず、本発明の概要について説明する。   First, an outline of the present invention will be described.

図1は、本発明の概要を説明する図であり、(a)は帳票ファイル200の構成を示す図、(b)は帳票処理装置100の構成を示す図、(c)は帳票処理方法を示すフローチャートである。   1A and 1B are diagrams for explaining the outline of the present invention. FIG. 1A is a diagram showing a configuration of a form file 200, FIG. 1B is a diagram showing a configuration of a form processing apparatus 100, and FIG. It is a flowchart to show.

(a)に示される帳票ファイル200は、帳票フォーム情報400と帳票データ情報600と対応付け情報500とを含む。対応付け情報500は、帳票フォーム情報400と帳票データ情報600とを対応付ける情報である。対応付け情報500は、図のように帳票フォーム情報400と帳票データ情報600とは異なる場所に格納されてもよいし、帳票フォーム情報400と帳票データ情報600とに含まれる構成としてもよい。   The form file 200 shown in (a) includes form form information 400, form data information 600, and association information 500. The association information 500 is information for associating the form form information 400 with the form data information 600. The association information 500 may be stored in a location different from the form form information 400 and the form data information 600 as shown in the drawing, or may be included in the form form information 400 and the form data information 600.

(b)に示される帳票処理装置100は、帳票フォーム情報格納手段111と帳票データ情報格納手段112と対応付け情報格納手段113とを含む。帳票フォーム情報格納手段111は、帳票フォーム情報400を帳票ファイル200に格納する。帳票データ情報格納手段112は、帳票データ情報600を帳票ファイル200に格納する。対応付け情報格納手段113は、帳票フォーム情報400と帳票データ情報600を対応付ける対応付け情報500を帳票ファイル200に格納する。   The form processing apparatus 100 shown in (b) includes a form form information storage unit 111, a form data information storage unit 112, and an association information storage unit 113. The form form information storage unit 111 stores the form form information 400 in the form file 200. The form data information storage unit 112 stores the form data information 600 in the form file 200. The association information storage unit 113 stores association information 500 for associating the form form information 400 with the form data information 600 in the form file 200.

(c)に示される帳票処理方法は、まず、帳票フォーム情報400を帳票ファイル200に格納する(ステップX1)。次に、本帳票処理方法は、帳票データ情報600を帳票ファイル200に格納する(ステップX2)。次に、本帳票処理方法は、対応付け情報500を帳票ファイル200に格納する(ステップX3)。   In the form processing method shown in (c), first, the form form information 400 is stored in the form file 200 (step X1). Next, the form processing method stores the form data information 600 in the form file 200 (step X2). Next, the form processing method stores the association information 500 in the form file 200 (step X3).

本発明は、少なくとも一方が複数の帳票フォーム情報400と帳票データ情報600とを対応付けて帳票ファイル200に格納することができる、という効果を有する。その理由は、帳票ファイル200が帳票フォーム情報400と帳票データ情報600とを対応付ける対応付け情報500を含むためである。   The present invention has an effect that at least one of the plurality of form form information 400 and the form data information 600 can be stored in the form file 200 in association with each other. This is because the form file 200 includes association information 500 that associates the form form information 400 with the form data information 600.

次に、本発明の第1の実施の形態の構成について図面を参照して詳細に説明する。   Next, the configuration of the first exemplary embodiment of the present invention will be described in detail with reference to the drawings.

図2は、本発明の第1の実施の形態における帳票ファイル200を示した図であり、(a)は、帳票ファイル200のフォーマットを示した図であり、(b)は、帳票ファイル200をXML言語で具体的に記述した例を示した図である。   FIG. 2 is a diagram showing a form file 200 according to the first embodiment of the present invention, (a) is a diagram showing a format of the form file 200, and (b) is a diagram showing the form file 200. It is the figure which showed the example concretely described by the XML language.

(a)に示される帳票ファイル200は、帳票フォーム部210と帳票データ部220とを備える。   The form file 200 shown in (a) includes a form form part 210 and a form data part 220.

帳票フォーム部210は、単数の又は複数の帳票フォーム情報400(帳票フォーム情報A401、帳票フォーム情報B402、帳票フォーム情報C403)を含む。ここで、各帳票フォーム情報400は帳票ファイル200に格納される前はそれぞれ別のファイルであり、A,B,Cはそのファイル名を示すこととする。帳票フォーム情報400は、例えば、帳票の罫線等のレイアウト情報やデータ構造情報である帳票定義をXML(Extensible Markup Language)で表現したものである帳票定義XMLデータ情報である。帳票フォーム情報400は、帳票ファイル200への格納時以降は、帳票フォーム情報400のID(Identification Data)を示す、XMLタグによって表されたReport IDを格納している。   The form form unit 210 includes one or a plurality of form form information 400 (form form information A401, form form information B402, form form information C403). Here, each form form information 400 is a separate file before being stored in the form file 200, and A, B, and C indicate the file names. The form form information 400 is, for example, form definition XML data information that is a form definition that is layout information such as ruled lines of the form and data structure information expressed in XML (Extensible Markup Language). The form form information 400 stores a Report ID represented by an XML tag that indicates an ID (Identification Data) of the form form information 400 after being stored in the form file 200.

帳票データ部220は、単数の又は複数の帳票データ情報600(帳票データ情報a601、帳票データ情報b602、帳票データ情報c603、帳票データ情報d604)を含む。帳票データ情報600は、帳票定義XMLデータ情報と共に印刷されるCSV形式のデータ情報である。即ち、帳票ファイル200は、XMLファイルにCSV形式のデータがアドオンされている、拡張されたXMLファイルである。ここで、各帳票データ情報600は帳票ファイル200に格納される前はそれぞれ別のCSV形式のファイルであり、a,b,c,dはそのファイル名を示すこととする。帳票データ情報600は、例えば品物の購入明細の帳票の場合は、品名、数量、単価等のデータ情報である。帳票データ情報600は、帳票ファイル200への格納時以降は、レコードの先頭に当該帳票データ情報600が使用する帳票フォーム情報400への対応付け情報500(例、上記Report IDを利用したポインタ)を含む。   The form data unit 220 includes single or plural form data information 600 (form data information a601, form data information b602, form data information c603, form data information d604). The form data information 600 is CSV format data information printed together with the form definition XML data information. That is, the form file 200 is an expanded XML file in which CSV format data is added to the XML file. Here, each form data information 600 is a file in a separate CSV format before being stored in the form file 200, and a, b, c, and d indicate the file names. The form data information 600 is data information such as product name, quantity, unit price, etc., for example, in the case of a form for purchasing purchase items. In the form data information 600, after storage in the form file 200, association information 500 (for example, a pointer using the report ID) to the form form information 400 used by the form data information 600 is used at the beginning of the record. Including.

帳票データ部220は、帳票データ情報600を出力順(例、印刷順)に格納する。(a)では、帳票データ部220は、帳票データ情報600をa,b,c,dの順に格納している。後述の帳票処理装置100(図2(a)では図示せず)は、帳票出力時にはこの順番に帳票データ情報600を読出し、出力する。   The form data unit 220 stores the form data information 600 in the output order (eg, print order). In (a), the form data unit 220 stores the form data information 600 in the order of a, b, c, and d. A form processing apparatus 100 (not shown in FIG. 2A) described later reads out and outputs the form data information 600 in this order when outputting the form.

次に(b)を参照して帳票ファイル200を説明する。(b)に示された帳票ファイル200において、帳票フォーム情報A401はID(Identification)としてReport ID”AAAAAA”を含む。帳票フォーム情報B402はIDとしてReport ID”BBBBBB”を含む。帳票データ情報a601は、レコードの先頭に、帳票データ情報a601のIDを示すXMLタグによって表されたXML_IDを格納している。ここで、XML_IDは、帳票データ情報a601が使用する帳票フォーム情報A401のReport IDと同じ”AAAAAA”である。同じIDを用いることにより、XML_IDは対応付け情報500(帳票フォーム情報A401へのポインタ)となる。帳票データ情報a601に続く帳票データ情報b602は、レコードの先頭に、帳票データ情報b602が使用する帳票フォーム情報B402のReport IDと同じIDであるXML_ID=”BBBBBB”を含む。これにより、XML_IDは対応付け情報500(帳票フォーム情報B402へのポインタ)となる。これらのReport IDとXML_IDは帳票ファイル200に帳票フォーム情報400又は帳票データ情報600が格納されるときに、それぞれのファイル名に替わって付加されたものである。   Next, the form file 200 will be described with reference to (b). In the form file 200 shown in (b), the form form information A401 includes a report ID “AAAAAAA” as an ID (Identification). The form form information B402 includes a report ID “BBBBBBB” as an ID. The form data information a601 stores XML_ID represented by an XML tag indicating the ID of the form data information a601 at the beginning of the record. Here, XML_ID is “AAAAAAA” which is the same as the Report ID of the form form information A401 used by the form data information a601. By using the same ID, XML_ID becomes association information 500 (pointer to form form information A401). The form data information b602 following the form data information a601 includes XML_ID = "BBBBBB" which is the same ID as the report ID of the form form information B402 used by the form data information b602 at the beginning of the record. As a result, the XML_ID becomes the association information 500 (pointer to the form form information B402). These Report ID and XML_ID are added in place of the respective file names when the form form information 400 or the form data information 600 is stored in the form file 200.

図3は、本発明の第1の実施の形態における帳票処理装置100の構成を示した図である。帳票処理装置100は、パソコン(Personal Computer)等の情報処理装置であり、CPU(Central Processing Unit)等でプログラムを実行することによりその機能を実現する。帳票処理装置100は、帳票ファイル生成手段110と帳票ファイル出力手段120とを備える。   FIG. 3 is a diagram showing the configuration of the form processing apparatus 100 according to the first embodiment of the present invention. The form processing apparatus 100 is an information processing apparatus such as a personal computer (PC), and implements its function by executing a program with a CPU (Central Processing Unit) or the like. The form processing apparatus 100 includes a form file generation unit 110 and a form file output unit 120.

帳票ファイル生成手段110は、帳票フォーム情報格納手段111と帳票データ情報格納手段112と対応付け情報格納手段113とを備える。   The form file generation unit 110 includes a form form information storage unit 111, a form data information storage unit 112, and an association information storage unit 113.

帳票フォーム情報格納手段111は、例えば、ユーザがアプリケーションで作成し、対応付け情報格納手段113によってReport IDが付加された帳票フォーム情報400を帳票ファイル200に格納する。例えば、図2(a)は、帳票フォーム情報格納手段111への入力時にファイル名がAであった帳票フォーム情報A401が、帳票フォーム部210に格納されていることを示している。そして、図2(b)に示すように、対応付け情報格納手段113がReport ID=”AAAAAA”を帳票フォーム情報A401に付加している。   The form form information storage unit 111 stores, for example, the form form information 400 created by the user with an application and added with the report ID by the association information storage unit 113 in the form file 200. For example, FIG. 2 (a) shows that form form information A 401 whose file name is A at the time of input to the form form information storage unit 111 is stored in the form form unit 210. Then, as shown in FIG. 2B, the association information storage unit 113 adds Report ID = “AAAAAAA” to the form form information A401.

帳票データ情報格納手段112は、例えば、ユーザがアプリケーションで作成し、対応付け情報格納手段113によってXML_ID(対応付け情報500)が付加された帳票データ情報600を帳票ファイル200に格納する。帳票データ情報格納手段112は、対応付け情報格納手段113の指示に従い、帳票出力順(例、印刷順)に帳票データ情報600を帳票ファイル200に格納する。   The form data information storage unit 112 stores, for example, in the form file 200, the form data information 600 created by the user by the application and added with the XML_ID (association information 500) by the association information storage unit 113. The form data information storage unit 112 stores the form data information 600 in the form file 200 in the form output order (eg, print order) in accordance with the instruction from the association information storage unit 113.

対応付け情報格納手段113は、例えば、ユーザが帳票エディタを用いて帳票処理装置100に入力した印刷対応付け情報501を入手する。対応付け情報格納手段113は、印刷対応付け情報501(図4の説明において後述)を基に、帳票フォーム情報400にReport IDを付加する。また、対応付け情報格納手段113は、帳票データ情報600に帳票データ情報600が使用する帳票フォーム情報400と同じIDをXML_IDとして付加する。これにより、帳票データ情報600のXML_IDは帳票データ情報600が使用する帳票フォーム情報400への対応付け情報500となる。そして、対応付け情報500(XML_ID)が付加された帳票データ情報600を、帳票データ情報格納手段112が帳票ファイル200に格納する。例えば、図2(b)に示すように、対応付け情報格納手段113は、帳票データ情報a601に対応付け情報500としてXML_IDを付加する。このとき、XML_IDは、対応する帳票フォーム情報A401のReport IDと同じIDであるXML_ID=”AAAAAA”とする。XML_ID=”AAAAAA”は帳票データ情報a601のIDであると共に、帳票フォーム情報A401への対応付け情報500として機能する。
The association information storage unit 113 obtains the print association information 501 input by the user to the form processing apparatus 100 using the form editor, for example. The association information storage unit 113 adds a Report ID to the form form information 400 based on the print association information 501 (described later in the description of FIG. 4). Further, the association information storage unit 113 adds the same ID as the form form information 400 used by the form data information 600 to the form data information 600 as XML_ID. As a result, the XML_ID of the form data information 600 becomes the association information 500 to the form form information 400 used by the form data information 600. Then, the form data information storage unit 112 stores the form data information 600 to which the association information 500 (XML_ID) is added in the form file 200. For example, as shown in FIG. 2B, the association information storage unit 113 adds XML_ID as the association information 500 to the form data information a601. At this time, XML_ID is set to XML_ID = “AAAAAAA”, which is the same ID as the Report ID of the corresponding form form information A401. XML_ID = “AAAAAAA” is the ID of the form data information a601 and functions as the association information 500 to the form form information A401.

図4は、印刷対応付け情報501の一例を示した図である。印刷対応付け情報501は、帳票フォーム情報400と帳票データ情報600の対応関係、及び帳票フォーム情報400と帳票データ情報600が帳票出力される際の順番(例、印刷順)を示したテーブルである。A,B,Cは帳票フォーム情報400のファイル名を示す。a,b,c,d,e,fは帳票データ情報600のIDを示す。この例では、ユーザは、帳票フォーム情報400としてファイルA,B,Cを指定している。そして、ユーザは、帳票フォーム情報400Aに対応する帳票データ情報600としてファイルa,dを指定している。又ユーザは、帳票フォーム情報400Bに対応する帳票データ情報600としてb,e、帳票フォーム情報400Cに対応する帳票データ情報600としてc,fを指定している。図3に示された対応付け情報格納手段113は、この印刷対応付け情報501を基に、帳票データ情報600に帳票データ情報600が使用する帳票フォーム情報400への対応付け情報500を付加する。即ち、対応付け情報格納手段113は、帳票データ情報600に帳票データ情報600が使用する帳票フォーム情報400と同じIDを付加する。これに対応して、図2(b)は、帳票データ情報600aが、帳票データ情報600aが使用する帳票フォーム情報400Aへの対応付け情報500であるXML_ID=”AAAAAA”を含むことを示している。   FIG. 4 is a diagram illustrating an example of the print association information 501. The print association information 501 is a table showing the correspondence between the form form information 400 and the form data information 600 and the order (eg, printing order) when the form form information 400 and the form data information 600 are output. . A, B, and C indicate file names of the form form information 400. a, b, c, d, e, and f indicate IDs of the form data information 600. In this example, the user designates files A, B, and C as the form form information 400. Then, the user designates the files a and d as the form data information 600 corresponding to the form form information 400A. The user designates b and e as the form data information 600 corresponding to the form form information 400B, and c and f as the form data information 600 corresponding to the form form information 400C. The association information storage unit 113 shown in FIG. 3 adds the association information 500 to the form form information 400 used by the form data information 600 to the form data information 600 based on the print association information 501. That is, the association information storage unit 113 adds the same ID as the form form information 400 used by the form data information 600 to the form data information 600. Correspondingly, FIG. 2B shows that the form data information 600a includes XML_ID = “AAAAAAA” that is the association information 500 to the form form information 400A used by the form data information 600a. .

また、図4において、ユーザは、A−a,B−b,C−c,A−d,B−b,C−fの組合せ順に印刷することを指定している。図3に示された対応付け情報格納手段113は、帳票データ情報格納手段112に対し、この印刷対応付け情報501に示された印刷順で帳票データ情報600を帳票ファイル200に格納するよう指示を出す。これに対応して、図2(a)に示された帳票ファイル200は,帳票データ情報600をa,b,c,d・・・の順、即ち帳票データ情報a601,b602,c603,d604の順に格納している例を示している。   In FIG. 4, the user designates printing in the order of combinations of A-a, B-b, C-c, A-d, B-b, and C-f. The association information storage unit 113 shown in FIG. 3 instructs the form data information storage unit 112 to store the form data information 600 in the form file 200 in the printing order indicated by the print association information 501. put out. Correspondingly, the form file 200 shown in FIG. 2A has the form data information 600 in the order of a, b, c, d..., That is, the form data information a601, b602, c603, and d604. The example is stored in order.

再び、図3の説明に戻る。帳票ファイル出力手段120は、帳票データ情報読出手段121と帳票フォーム情報読出手段122と出力手段123とを備える。   Returning again to the description of FIG. The form file output unit 120 includes a form data information reading unit 121, a form form information reading unit 122, and an output unit 123.

帳票データ情報読出手段121は、帳票ファイル200の帳票データ部220の中から、格納されている順番に帳票データ情報600を読出す。そして、帳票データ情報読出手段121は、帳票データ情報600が格納する対応付け情報500を確認し、当該帳票データ情報600がどの帳票フォーム情報400と対応するかを確認する。   The form data information reading means 121 reads the form data information 600 from the form data part 220 of the form file 200 in the order in which it is stored. The form data information reading unit 121 confirms the association information 500 stored in the form data information 600 and confirms which form form information 400 the form data information 600 corresponds to.

帳票フォーム情報読出手段122は、対応付け情報500に示された帳票フォーム情報400を読出す。   The form form information reading unit 122 reads the form form information 400 indicated in the association information 500.

出力手段123は、帳票データ情報600と帳票フォーム情報400を帳票300として帳票処理装置100から出力する。   The output unit 123 outputs the form data information 600 and the form form information 400 as a form 300 from the form processing apparatus 100.

以上で、本発明の第1の実施の形態の構成の説明を終了する。   Above, description of the structure of the 1st Embodiment of this invention is complete | finished.

次に、本発明の第1の実施の形態の動作について図面を参照して説明する。   Next, the operation of the first exemplary embodiment of the present invention will be described with reference to the drawings.

図5は、本発明の第1の実施の形態における帳票ファイル生成処理を示すフローチャートである。   FIG. 5 is a flowchart showing a form file generation process according to the first embodiment of the present invention.

帳票フォーム情報格納手段111は、帳票フォーム情報400(Report IDタグ付)を帳票ファイル200に格納する(ステップA1)。帳票データ情報格納手段112は、印刷順nの帳票データ情報600を対応付け情報500(例、Report IDへのポインタ)と共に帳票ファイル200に格納する(ステップA2)。どの帳票データ情報600が印刷順nであるかは、印刷対応付け情報501を参照する対応付け情報格納手段113より指示を受ける。次に、帳票データ情報格納手段112は、n=最大印刷順であるか否かを判断する(ステップA3)。   The form form information storage unit 111 stores the form form information 400 (with a Report ID tag) in the form file 200 (step A1). The form data information storage unit 112 stores the form data information 600 in the printing order n together with the association information 500 (for example, a pointer to the Report ID) in the form file 200 (step A2). Which form data information 600 is in printing order n receives an instruction from the association information storage unit 113 that refers to the print association information 501. Next, the form data information storage unit 112 determines whether n = maximum printing order (step A3).

図4に示した印刷対応付け情報501の例にあてはめると、帳票データ情報格納手段112はn=6であるか否かを判断する。n=最大印刷順でなかった場合(ステップA3,No)、帳票データ情報格納手段112は、n=n+1の処理を行い(ステップA4)、ステップA2に移行する。n=最大印刷順であった場合(ステップA3,Yes)、帳票ファイル生成手段110は、帳票ファイル生成処理を終了する。ステップA2からステップA4の処理を繰り返すことにより、帳票データ情報格納手段112は、帳票データ部220に帳票データ情報600を印刷順に格納することができる。   In the example of the print association information 501 shown in FIG. 4, the form data information storage unit 112 determines whether n = 6. When n is not in the maximum printing order (step A3, No), the form data information storage unit 112 performs the process of n = n + 1 (step A4), and proceeds to step A2. If n = maximum printing order (step A3, Yes), the form file generation unit 110 ends the form file generation process. By repeating the processing from step A2 to step A4, the form data information storage unit 112 can store the form data information 600 in the form data section 220 in the order of printing.

図6は、本発明の第1の実施の形態における帳票ファイル出力処理を示すフローチャートである。   FIG. 6 is a flowchart showing a form file output process according to the first embodiment of the present invention.

帳票データ情報読出手段121は、帳票ファイル200から帳票データ情報600を1つ読出す(ステップB1)。帳票データ情報読出手段121は、読出した当該帳票データ情報600のレコードの先頭に格納された、帳票フォーム情報400への対応付け情報500(XML_ID)を確認する(ステップB2)。図2(a)に示された帳票データ情報a601の場合、帳票データ情報読出手段121は、帳票フォーム情報A401へのポインタ(図2に示されたXML_ID=”AAAAAA”)を読出すことになる。次に、帳票フォーム情報読出手段122が、対応付け情報500に示された帳票フォーム情報400を読出す(ステップB3)。帳票フォーム情報読出手段122は、図2に示されたReport ID=”AAAAAA”を含む帳票フォーム情報A401を読出すことになる。次に、出力手段123が、帳票フォーム情報400と帳票データ情報600を帳票300として帳票処理装置100から出力する(ステップB4)。これにより、例えば、出力手段123は、帳票フォーム情報400Aと帳票データ情報600aから帳票300の印刷プレビューを表示したり、帳票300を印刷出力したりする。   The form data information reading unit 121 reads one form data information 600 from the form file 200 (step B1). The form data information reading unit 121 confirms the association information 500 (XML_ID) to the form form information 400 stored at the beginning of the record of the read form data information 600 (step B2). In the case of the form data information a601 shown in FIG. 2A, the form data information reading unit 121 reads a pointer to the form form information A401 (XML_ID = “AAAAAA” shown in FIG. 2). . Next, the form form information reading means 122 reads out the form form information 400 shown in the association information 500 (step B3). The form form information reading means 122 reads the form form information A401 including the Report ID = “AAAAAAA” shown in FIG. Next, the output means 123 outputs the form form information 400 and the form data information 600 as a form 300 from the form processing apparatus 100 (step B4). Accordingly, for example, the output unit 123 displays a print preview of the form 300 from the form form information 400A and the form data information 600a, and prints out the form 300.

次に、帳票データ情報読出手段121は、帳票ファイル200から全ての帳票データ情報600を読出したか判断する(ステップB5)。全ての帳票データ情報600を読出していない場合(ステップB5,No)、帳票データ情報読出手段121は、次の帳票データ情報600を読出す(ステップB6,B1)。全ての帳票データ情報600を読出している場合(ステップB5,Yes)、帳票ファイル出力手段120は、帳票ファイル出力処理を終了する。ここで、帳票データ情報600は帳票ファイル200にユーザが指定する順に格納されている。このため、全ての帳票データ情報600を読出すまでステップB1からB6の処理を繰り返すことにより、帳票ファイル出力手段120は、ユーザの指定する順に帳票300を出力することができる。   Next, the form data information reading unit 121 determines whether all the form data information 600 has been read from the form file 200 (step B5). When all the form data information 600 has not been read (step B5, No), the form data information reading unit 121 reads the next form data information 600 (steps B6 and B1). When all the form data information 600 has been read (step B5, Yes), the form file output unit 120 ends the form file output process. Here, the form data information 600 is stored in the form file 200 in the order specified by the user. Therefore, by repeating the processing from step B1 to B6 until all the form data information 600 is read, the form file output means 120 can output the form 300 in the order designated by the user.

以上で、本発明の第1の実施の形態の動作の説明を終了する。   Above, description of operation | movement of the 1st Embodiment of this invention is complete | finished.

次に、本発明の第1の実施の形態の効果について説明する。   Next, effects of the first exemplary embodiment of the present invention will be described.

本発明の第1の実施の形態は、少なくとも一方が複数の帳票フォーム情報400と帳票データ情報600とを対応付けて帳票ファイル200に格納することができる、という効果を有する。その理由は、帳票ファイル200が帳票フォーム情報400と帳票データ情報600とを対応付ける対応付け情報500を含むためである。   The first embodiment of the present invention has an effect that at least one of the plurality of form form information 400 and the form data information 600 can be stored in the form file 200 in association with each other. This is because the form file 200 includes association information 500 that associates the form form information 400 with the form data information 600.

その結果、本発明の第1の実施の形態は、複数の帳票フォーム情報400と帳票データ情報600を一元化できる、という効果を有する。このため、本発明の第1の実施の形態は、1つのファイルだけで少なくとも一方が複数の帳票フォーム情報400と帳票データ情報600とを統合して印刷等の帳票出力を行うことができる。これにより、本発明の第1の実施の形態は、別々のファイル格納されているため帳票データ情報600と帳票フォーム情報400を管理するための情報を作成したり、複数のファイルを順次統合しながら帳票出力を行ったりする必要がない。   As a result, the first embodiment of the present invention has an effect that a plurality of form form information 400 and form data information 600 can be unified. For this reason, the first embodiment of the present invention can output a form such as printing by integrating a plurality of form form information 400 and form data information 600, at least one of which is a single file. Thus, in the first embodiment of the present invention, since separate files are stored, information for managing the form data information 600 and the form form information 400 is created, and a plurality of files are sequentially integrated. There is no need to output a form.

また、本発明の第1の実施の形態は、帳票フォーム情報400をXMLで作成しているため、タグによる帳票フォーム情報400の識別が可能となっていることも容易に一元化が可能となった理由の1つである。   In the first embodiment of the present invention, since the form form information 400 is created in XML, it is possible to easily unify the form form information 400 by tags. One of the reasons.

次に、本発明の第2の実施の形態の構成について図面を参照して詳細に説明する。第1の実施の形態との相違点を中心に説明する。   Next, the configuration of the second exemplary embodiment of the present invention will be described in detail with reference to the drawings. The description will focus on the differences from the first embodiment.

図7は、本発明の第2の実施の形態における帳票ファイル200を示した図であり、(a)は、帳票ファイル200のフォーマットを示した図であり、(b)は、帳票ファイル200をXML言語で具体的に記述した例を示した図である。図7(a)は、図2(a)に示された第1の実施の形態の帳票ファイル200と比較して、帳票データ情報600ではなく帳票フォーム情報400が、帳票データ情報600への対応付け情報500(例、ポインタ)を格納している点が異なる。また、帳票フォーム部210と帳票データ部220の位置が反対である。また、帳票ファイル200は、複数の帳票フォーム情報400を印刷順に格納している。   FIG. 7 is a diagram showing a form file 200 according to the second embodiment of the present invention, (a) is a diagram showing a format of the form file 200, and (b) is a diagram showing the form file 200. It is the figure which showed the example concretely described by the XML language. 7A corresponds to the form data information 600, rather than the form data information 600, as compared to the form file 200 of the first embodiment shown in FIG. The difference is that the attached information 500 (eg, pointer) is stored. Further, the positions of the form form unit 210 and the form data unit 220 are opposite. The form file 200 stores a plurality of form form information 400 in the order of printing.

図7(b)は、図2(b)に示された第1の実施の形態の帳票ファイル200と比較して、帳票フォーム部210と帳票データ部220の位置が反対である。そのため、ポインタの方向が異なる。即ち、XML_IDに合わせて、XML_IDと同じIDとなるようにReport IDが決定される。   In FIG. 7B, the positions of the form form unit 210 and the form data unit 220 are opposite to those of the form file 200 of the first embodiment shown in FIG. Therefore, the direction of the pointer is different. That is, the Report ID is determined so as to be the same as the XML_ID in accordance with the XML_ID.

図8は、本発明の第2の実施の形態における帳票処理装置100の構成を示した図である。図3に示された第1の実施の形態の帳票処理装置100と比較して、最初に帳票データ情報読出手段121が帳票ファイル200から帳票データ情報600を読出すのではなく、帳票フォーム情報読出手段122が帳票フォーム情報400を読出す点が異なる。これは、帳票フォーム情報400が対応付け情報500(ポインタ)を格納しているためである。また、これは、帳票フォーム情報読出手段122が帳票フォーム情報400を帳票ファイル200に格納されている順番で読出し、その順番で印刷等の帳票出力が行われるためである。   FIG. 8 is a diagram showing a configuration of the form processing apparatus 100 according to the second embodiment of the present invention. Compared with the form processing apparatus 100 of the first embodiment shown in FIG. 3, the form data information reading means 121 does not read form data information 600 from the form file 200 first, but reads form form information. The difference is that the means 122 reads the form form information 400. This is because the form form information 400 stores the association information 500 (pointer). Further, this is because the form form information reading means 122 reads out the form form information 400 in the order stored in the form file 200, and the form output such as printing is performed in that order.

以上で、本発明の第2の実施の形態の構成の説明を終了する。   Above, description of the structure of the 2nd Embodiment of this invention is complete | finished.

次に、本発明の第2の実施の形態の動作について図面を参照して詳細に説明する。第1の実施の形態との相違点を中心に説明する。   Next, the operation of the second exemplary embodiment of the present invention will be described in detail with reference to the drawings. The description will focus on the differences from the first embodiment.

図9は、本発明の第2の実施の形態における帳票ファイル生成処理を示すフローチャートである。図5のフローチャートと比較して、帳票フォーム情報400と帳票データ情報600が入れ替わっている。そのため、ステップA2からステップA4のループ処理が帳票データ情報600の格納に対して行われるのではなく、帳票フォーム情報400に対して行われる点が異なる。これは、上述の通り、帳票ファイル200が帳票フォーム情報400を格納している順番が印刷等の帳票出力順に対応するためである。   FIG. 9 is a flowchart showing a form file generation process according to the second embodiment of the present invention. Compared with the flowchart of FIG. 5, the form form information 400 and the form data information 600 are interchanged. Therefore, the difference is that the loop processing from step A2 to step A4 is not performed on the storage of the form data information 600 but on the form form information 400. This is because, as described above, the order in which the form file 200 stores the form form information 400 corresponds to the form output order such as printing.

図10は、本発明の第1の実施の形態における帳票ファイル出力処理を示すフローチャートである。図6のフローチャートと比較して、帳票データ情報600と帳票フォーム情報400が入れ替わっている点が異なる。これは、上述の通り、帳票データ情報600ではなく帳票フォーム情報400が帳票データ情報600への対応付け情報500(例、ポインタ)を格納しているためである。   FIG. 10 is a flowchart showing a form file output process according to the first embodiment of the present invention. Compared with the flowchart of FIG. 6, the form data information 600 and the form form information 400 are interchanged. This is because, as described above, not the form data information 600 but the form form information 400 stores the association information 500 (for example, a pointer) to the form data information 600.

以上で、本発明の第2の実施の形態の動作の説明を終了する。   Above, description of operation | movement of the 2nd Embodiment of this invention is complete | finished.

次に、本発明の第2の実施の形態の効果について説明する。   Next, effects of the second exemplary embodiment of the present invention will be described.

本発明の第2の実施の形態は、1つの帳票データ情報600に対し複数の帳票フォーム情報400を対応付けることが可能となる、という効果を有する。その理由は、帳票データ情報600ではなく帳票フォーム情報400が帳票データ情報600への対応付け情報500を格納しているためである。例えば、帳票データ情報a601(XML_ID”AAAAAA”)に対して帳票フォーム情報A401、B402を対応付けることは、第1の実施の形態ではできなかった。その理由は、帳票フォーム情報A401とB402が同じReport ID”AAAAAA”を含むことになり、ポインタの示す先が複数となってしまうためである。これに対し、第2の実施の形態では、ポインタの示す向きが帳票データ情報600から帳票フォーム情報400ではなく、逆になる。そのため、1つの帳票データ情報600に対し複数の帳票フォーム情報400を対応付けることが可能となる。 次に、本発明の第3の実施の形態の構成について図面を参照して詳細に説明する。他の実施の形態(第1,2の実施の形態)との相違点を中心に説明する。   The second embodiment of the present invention has an effect that a plurality of form form information 400 can be associated with one form data information 600. The reason is that the form form information 400, not the form data information 600, stores the association information 500 to the form data information 600. For example, the form form information A401 and B402 cannot be associated with the form data information a601 (XML_ID “AAAAAAA”) in the first embodiment. The reason is that the form form information A401 and B402 include the same Report ID “AAAAAAA”, and there are a plurality of pointers. On the other hand, in the second embodiment, the direction indicated by the pointer is reversed from the form data information 600 to the form form information 400 instead. Therefore, a plurality of form form information 400 can be associated with one form data information 600. Next, the configuration of the third exemplary embodiment of the present invention will be described in detail with reference to the drawings. Differences from the other embodiments (first and second embodiments) will be mainly described.

図11は、本発明の第3の実施の形態における帳票ファイル200を示した図であり、(a)は、帳票ファイル200のフォーマットを示した図であり、(b)は、帳票ファイル200をXML言語で具体的に記述した例を示した図である。図11(a)(b)は、図2(a)(b)、図7(a)(b)に示された他の実施の形態の帳票ファイル200と比較して、帳票ファイル200が、帳票フォーム部210と帳票データ部220とは別に対応付け情報部230を格納している点が異なる。即ち、第3の実施の形態は、対応付け情報500を、帳票フォーム情報400と帳票データ情報600とは異なる場所である対応付け情報部230に格納する。各帳票フォーム情報400はそれぞれのIDであるReport IDを格納し、各帳票データ情報600はそれぞれのIDであるDATA IDを格納する。   FIG. 11 is a diagram showing a form file 200 according to the third embodiment of the present invention, (a) is a diagram showing a format of the form file 200, and (b) is a diagram showing the form file 200. It is the figure which showed the example concretely described by the XML language. 11 (a) and 11 (b) show that the form file 200 is different from the form file 200 of the other embodiments shown in FIGS. 2 (a) and 2 (b) and FIGS. 7 (a) and 7 (b). The difference is that the form information part 230 is stored separately from the form form part 210 and the form data part 220. That is, in the third embodiment, the association information 500 is stored in the association information unit 230, which is a place where the form form information 400 and the form data information 600 are different. Each form information 400 stores a Report ID that is an ID, and each form data information 600 stores a DATA ID that is an ID.

図12は、本発明の第3の実施の形態における帳票処理装置100の構成を示した図である。図3、図8に示された他の実施の形態と比較して、帳票ファイル出力手段120が、対応付け情報読出手段124を含む点が異なる。   FIG. 12 is a diagram showing a configuration of the form processing apparatus 100 according to the third embodiment of the present invention. Compared with the other embodiments shown in FIGS. 3 and 8, the form file output means 120 includes the association information reading means 124.

以上で、本発明の第3の実施の形態の構成の説明を終了する。   Above, description of the structure of the 3rd Embodiment of this invention is complete | finished.

次に、本発明の第3の実施の形態の動作について図面を参照して詳細に説明する。他の実施例との相違点を中心に説明する。   Next, the operation of the third exemplary embodiment of the present invention will be described in detail with reference to the drawings. Differences from other embodiments will be mainly described.

図13は、本発明の第3の実施の形態における帳票ファイル生成処理を示すフローチャートである。図5,9に示された他の実施形態のフローチャートと比較して、ステップA2からA4又はステップC2からステップC4のループ処理が帳票データ情報600や帳票フォーム情報400の格納ではなく、対応付け情報500の格納に対して行われている点が異なる。これは、帳票ファイル200が対応付け情報500を格納している順番が、印刷等の帳票出力順に対応するためである。   FIG. 13 is a flowchart showing a form file generation process according to the third embodiment of the present invention. Compared with the flowcharts of the other embodiments shown in FIGS. 5 and 9, the loop processing from step A2 to A4 or from step C2 to step C4 is not the storage of the form data information 600 or the form form information 400, but the association information The difference is that this is done for 500 stores. This is because the order in which the form file 200 stores the association information 500 corresponds to the form output order such as printing.

図14は、本発明の第3の実施の形態における帳票ファイル生成処理を示すフローチャートである。図6,10に示された他の実施の形態のフローチャートでは、帳票データ情報600若しくは帳票フォーム情報400から対応付け情報500を読出す。そして、図6,10に示された他の実施の形態のフローチャートでは、対応する帳票フォーム情報400若しくは帳票データ情報600を読出す(図6ステップB1からB3、図10ステップD1からD3)。第3の実施の形態では、対応付け情報500を直接読出し、対応する帳票フォーム情報400と帳票データ情報600とを読出す(ステップF1からステップF3)点が異なる。これにより、これにより、第3の実施の形態は、帳票ファイル200が対応付け情報500を格納している順番で印刷等の帳票出力を行う。   FIG. 14 is a flowchart showing a form file generation process according to the third embodiment of the present invention. 6 and 10, the association information 500 is read from the form data information 600 or the form form information 400. In the flowcharts of the other embodiments shown in FIGS. 6 and 10, the corresponding form form information 400 or form data information 600 is read (steps B1 to B3 in FIG. 6, steps D1 to D3 in FIG. 10). The third embodiment is different in that the association information 500 is directly read and the corresponding form form information 400 and the form data information 600 are read (step F1 to step F3). Thereby, in the third embodiment, a form output such as printing is performed in the order in which the form file 200 stores the association information 500.

以上で、本発明の第3の実施の形態の動作の説明を終了する。   Above, description of operation | movement of the 3rd Embodiment of this invention is complete | finished.

次に、本発明の第3の実施の形態の効果について説明する。   Next, effects of the third exemplary embodiment of the present invention will be described.

本発明の第3の実施の形態は、帳票ファイル200を作成後、帳票300の出力順の変更を容易に行える、という効果を有する。その理由は、帳票ファイル200が、帳票フォーム情報400と帳票データ情報600とは異なる場所に対応付け情報500を格納しているためである。即ち、帳票フォーム情報400又は帳票データ情報600が対応付け情報500を含むことなく、対応付け情報500が独立して帳票ファイル200に格納されているためである。これにより、本発明の第3の実施の形態は、対応付け情報500が格納するDATA ID、Report IDを書き換えるだけで、帳票の出力順の変更を行うことができる。   The third embodiment of the present invention has an effect that the output order of the form 300 can be easily changed after the form file 200 is created. The reason is that the form file 200 stores the association information 500 in a place different from the form form information 400 and the form data information 600. That is, the form information 400 or the form data information 600 does not include the association information 500, and the association information 500 is stored in the form file 200 independently. As a result, the third embodiment of the present invention can change the output order of a form simply by rewriting the DATA ID and Report ID stored in the association information 500.

これに対し、第1、第2の実施の形態では、帳票ファイル200を作成後、帳票300の出力順の変更を行う場合、帳票フォーム情報400又は帳票データ情報600自体を変更後の出力順に格納し直す必要が生じてしまう。これは、帳票フォーム情報400又は帳票データ情報600が、対応付け情報500を格納し、かつ帳票ファイル200が帳票フォーム情報400又は帳票データ情報600を帳票300の出力順に格納する必要があるためである。   On the other hand, in the first and second embodiments, when the output order of the form 300 is changed after the form file 200 is created, the form form information 400 or the form data information 600 itself is stored in the changed output order. It becomes necessary to redo. This is because the form form information 400 or the form data information 600 stores the association information 500, and the form file 200 needs to store the form form information 400 or the form data information 600 in the output order of the form 300. .

また、本発明の第3の実施の形態は、複数の帳票フォーム情報400に対して複数の帳票データ情報600を対応付けることができる、という効果を有する。その理由は、対応する帳票フォーム情報400と帳票データ情報600とで異なるIDを用いているためである。第1、第2の実施の形態では、同じIDを用いているため、双方が複数となると、ポインタの示す先が必ず複数となり、ポインタとして機能させることができなかった。   Further, the third embodiment of the present invention has an effect that a plurality of form data information 600 can be associated with a plurality of form form information 400. This is because different IDs are used for the corresponding form form information 400 and the form data information 600. In the first and second embodiments, since the same ID is used, if there are a plurality of both, the pointers always indicate a plurality of points and cannot function as pointers.

本発明は、帳票データ情報と帳票フォーム情報とを含む帳票ファイルに関する帳票処理装置、帳票処理方法、プログラム、及び帳票ファイルのデータ構造に利用可能である。   The present invention can be used for a form processing apparatus, form processing method, program, and form file data structure related to a form file including form data information and form form information.

本発明の概要を説明する図であり、(a)は帳票ファイル200の構成を示す図、(b)は帳票処理装置100の構成を示す図、(c)は帳票処理方法を示すフローチャートである。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram for explaining the outline of the present invention, (a) is a diagram showing a configuration of a form file 200, (b) is a diagram showing a configuration of a form processing apparatus 100, and (c) is a flowchart showing a form processing method. . 本発明の第1の実施の形態における帳票ファイル200を示した図であり、(a)は、帳票ファイル200のフォーマットを示した図であり、(b)は、帳票ファイル200をXML言語で具体的に記述した例を示した図である。FIG. 2 is a diagram showing a form file 200 in the first embodiment of the present invention, (a) is a diagram showing a format of the form file 200, and (b) is a specific example of the form file 200 in the XML language. It is the figure which showed the example described automatically. 本発明の第1の実施の形態における帳票処理装置100の構成を示した図である。It is the figure which showed the structure of the form processing apparatus 100 in the 1st Embodiment of this invention. 印刷対応付け情報501の一例を示した図である。5 is a diagram illustrating an example of print association information 501. FIG. 本発明の第1の実施の形態における帳票ファイル生成処理を示すフローチャートである。It is a flowchart which shows the form file production | generation process in the 1st Embodiment of this invention. 本発明の第1の実施の形態における帳票ファイル出力処理を示すフローチャートである。It is a flowchart which shows the form file output process in the 1st Embodiment of this invention. 本発明の第2の実施の形態における帳票ファイル200を示した図であり、(a)は、帳票ファイル200のフォーマットを示した図であり、(b)は、帳票ファイル200をXML言語で具体的に記述した例を示した図である。FIG. 10 is a diagram showing a form file 200 according to the second embodiment of the present invention, (a) is a diagram showing a format of the form file 200, and (b) is a specific example of the form file 200 in the XML language. It is the figure which showed the example described automatically. 本発明の第2の実施の形態における帳票処理装置100の構成を示した図である。It is the figure which showed the structure of the form processing apparatus 100 in the 2nd Embodiment of this invention. 本発明の第2の実施の形態における帳票ファイル生成処理を示すフローチャートである。It is a flowchart which shows the form file production | generation process in the 2nd Embodiment of this invention. 本発明の第1の実施の形態における帳票ファイル出力処理を示すフローチャートである。It is a flowchart which shows the form file output process in the 1st Embodiment of this invention. 本発明の第3の実施の形態における帳票ファイル200を示した図であり、(a)は、帳票ファイル200のフォーマットを示した図であり、(b)は、帳票ファイル200をXML言語で具体的に記述した例を示した図である。FIG. 10 is a diagram illustrating a form file 200 according to the third embodiment of the present invention, (a) is a diagram illustrating a format of the form file 200, and (b) is a diagram illustrating the form file 200 in the XML language. It is the figure which showed the example described automatically. 本発明の第3の実施の形態における帳票処理装置100の構成を示した図である。It is the figure which showed the structure of the form processing apparatus 100 in the 3rd Embodiment of this invention. 本発明の第3の実施の形態における帳票ファイル生成処理を示すフローチャートである。It is a flowchart which shows the form file production | generation process in the 3rd Embodiment of this invention. 本発明の第3の実施の形態における帳票ファイル生成処理を示すフローチャートである。It is a flowchart which shows the form file production | generation process in the 3rd Embodiment of this invention.

符号の説明Explanation of symbols

100 帳票処理装置
110 帳票ファイル生成手段
111 帳票フォーム情報格納手段
112 帳票データ情報格納手段
113 対応付け情報格納手段
120 帳票ファイル出力手段
121 帳票データ情報読出手段
122 帳票フォーム情報読出手段
123 出力手段
124 対応付け情報読出手段
200 帳票ファイル
210 帳票フォーム部
220 帳票データ部
230 対応付け情報部
400 帳票フォーム情報
401 帳票フォーム情報A
402 帳票フォーム情報B
403 帳票フォーム情報C
500 対応付け情報
501 印刷対応付け情報
600 帳票データ情報
601 帳票データ情報a
602 帳票データ情報b
603 帳票データ情報c
604 帳票データ情報d
DESCRIPTION OF SYMBOLS 100 Form processing apparatus 110 Form file generation means 111 Form form information storage means 112 Form data information storage means 113 Association information storage means 120 Form file output means 121 Form data information reading means 122 Form form information reading means 123 Output means 124 Association Information reading means 200 Form file 210 Form form part 220 Form data part 230 Association information part 400 Form form information 401 Form form information A
402 Form form information B
403 Form form information C
500 Association information 501 Print association information 600 Form data information 601 Form data information a
602 Form data information b
603 Form data information c
604 Form data information d

Claims (16)

帳票フォーム情報を帳票ファイルに格納する帳票フォーム情報格納手段と、
帳票データ情報を前記帳票ファイルに格納する帳票データ情報格納手段と、
前記帳票フォーム情報と前記帳票データ情報を対応付ける対応付け情報を前記帳票ファイルに格納する対応付け情報格納手段と
を備えることを特徴とする帳票処理装置。
Form form information storage means for storing form form information in a form file;
Form data information storage means for storing form data information in the form file;
A form processing apparatus comprising: association information storing means for storing association information for associating the form form information with the form data information in the form file.
前記対応付け情報は、前記帳票データ情報に対応する前記帳票フォーム情報へのポインタ情報であり、
前記対応付け情報格納手段は、前記帳票データ情報に前記帳票フォーム情報へのポインタ情報を格納すること
を特徴とする請求項1に記載の帳票処理装置。
The association information is pointer information to the form form information corresponding to the form data information,
The form processing apparatus according to claim 1, wherein the association information storage unit stores pointer information to the form form information in the form data information.
前記帳票データ情報格納手段は、前記帳票データ情報を帳票出力順に格納することを特徴とする請求項2に記載の帳票処理装置。   The form processing apparatus according to claim 2, wherein the form data information storage unit stores the form data information in the form output order. 前記帳票ファイルから、前記帳票データ情報を読出し、前記帳票データ情報が格納するポインタを確認する帳票データ情報読出手段と、
前記帳票ファイルから、前記ポインタに示された帳票フォーム情報を読出す帳票フォーム情報読出手段と、
前記帳票フォーム情報と前記帳票データ情報を帳票出力する出力手段と
を備えることを特徴とする請求項2又は3に記載の帳票処理装置。
Form data information reading means for reading out the form data information from the form file and confirming a pointer stored in the form data information;
Form form information reading means for reading form form information indicated by the pointer from the form file;
The form processing apparatus according to claim 2, further comprising: an output unit that outputs the form form information and the form data information.
前記帳票データ情報読出手段は、前記帳票データ情報を前記帳票ファイルに格納されている順に読出すことを特徴とする請求項4に記載の帳票処理装置。   5. The form processing apparatus according to claim 4, wherein the form data information reading unit reads the form data information in the order stored in the form file. 前記対応付け情報は、前記帳票フォーム情報に対応する前記帳票データ情報へのポインタ情報であり、
前記対応付け情報格納手段は、前記帳票フォーム情報に前記帳票データ情報へのポインタ情報を格納すること
を特徴とする請求項5に記載の帳票処理装置。
The association information is pointer information to the form data information corresponding to the form form information,
The form processing apparatus according to claim 5, wherein the association information storage unit stores pointer information to the form data information in the form form information.
前記帳票フォーム情報格納手段は、前記帳票フォーム情報を帳票出力順に格納することを特徴とする請求項6に記載の帳票処理装置。   The form processing apparatus according to claim 6, wherein the form form information storage unit stores the form form information in the form output order. 前記帳票ファイルから、前記帳票フォーム情報を読出し、前記帳票フォーム情報が格納するポインタを確認する帳票フォーム情報読出手段と、
前記帳票ファイルから、前記ポインタに示された帳票データ情報を読出す帳票データ情報読出手段と、
前記帳票フォーム情報と前記帳票データ情報を帳票出力する出力手段と
を備えることを特徴とする請求項6又は7に記載の帳票処理装置。
A form form information reading means for reading the form form information from the form file and confirming a pointer stored in the form form information;
Form data information reading means for reading form data information indicated by the pointer from the form file;
The form processing apparatus according to claim 6, further comprising: an output unit that outputs the form form information and the form data information.
前記帳票フォーム情報読出手段は、前記帳票フォーム情報を前記帳票ファイルに格納されている順に読出すことを特徴とする請求項8に記載の帳票処理装置。   9. The form processing apparatus according to claim 8, wherein the form form information reading unit reads the form form information in the order stored in the form file. 前記対応付け情報は、前記帳票フォーム情報のIDと前記帳票データ情報のIDとを含み、
前記対応付け情報格納手段は、前記帳票フォーム情報と前記帳票データ情報とは異なる場所に前記対応付け情報を格納すること
を特徴とする請求項1に記載の帳票処理装置。
The association information includes an ID of the form form information and an ID of the form data information,
The form processing apparatus according to claim 1, wherein the association information storage unit stores the association information in a place different from the form form information and the form data information.
前記対応付け情報格納手段は、前記対応付け情報を帳票出力順に格納することを特徴とする請求項10に記載の帳票処理装置。   The form processing apparatus according to claim 10, wherein the association information storage unit stores the association information in the form output order. 前記帳票ファイルから、前記対応付け情報を読出し、前記帳票フォーム情報のIDと前記帳票データ情報のIDとを確認する対応付け情報読出手段と、
前記帳票ファイルから、前記帳票フォーム情報のIDを持つ前記帳票フォーム情報を読出す帳票フォーム情報読出手段と、
前記帳票データ情報のIDを持つ前記帳票データ情報を読出す帳票データ読出手段と、
前記帳票フォーム情報と前記帳票データ情報を帳票出力する出力手段と
を備えることを特徴とする請求項10又は11に記載の帳票処理装置。
Correlation information reading means for reading the association information from the form file and confirming the ID of the form form information and the ID of the form data information;
Form form information reading means for reading out the form form information having the ID of the form form information from the form file;
Form data reading means for reading out the form data information having an ID of the form data information;
The form processing apparatus according to claim 10 or 11, further comprising: an output unit that outputs the form form information and the form data information.
前記対応付け情報読出し手段は、前記対応付け情報を前記帳票ファイルに格納されている順に読出すことを特徴とする請求項12に記載の帳票処理装置。   13. The form processing apparatus according to claim 12, wherein the association information reading unit reads the association information in the order stored in the form file. 帳票フォーム情報を帳票ファイルに格納し、
帳票データ情報を前記帳票ファイルに格納し、
前記帳票フォーム情報と前記帳票データ情報を対応付ける対応付け情報を前記帳票ファイルに格納すること
を特徴とする帳票処理方法。
Store form form information in a form file,
The form data information is stored in the form file,
A form processing method, wherein association information for associating the form form information with the form data information is stored in the form file.
コンピュータに、
帳票フォーム情報を帳票ファイルに格納する手段、
帳票データ情報を前記帳票ファイルに格納する手段、
前記帳票フォーム情報と前記帳票データ情報を対応付ける対応付け情報を前記帳票ファイルに格納する手段
として機能させることを特徴とするプログラム。
On the computer,
Means for storing form form information in a form file;
Means for storing the form data information in the form file;
A program which causes associating information for associating the form form information and the form data information to be stored in the form file.
帳票フォーム情報と、
帳票データ情報と、
前記帳票フォーム情報と前記帳票データ情報とを対応付ける対応付け情報と
を含むことを特徴とする帳票ファイルのデータ構造。
Form form information,
Form data information,
A form file data structure comprising: association information for associating the form form information with the form data information.
JP2007242252A 2007-09-19 2007-09-19 Document processor, document processing method, program, and data structure of document file Pending JP2009075723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007242252A JP2009075723A (en) 2007-09-19 2007-09-19 Document processor, document processing method, program, and data structure of document file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007242252A JP2009075723A (en) 2007-09-19 2007-09-19 Document processor, document processing method, program, and data structure of document file

Publications (1)

Publication Number Publication Date
JP2009075723A true JP2009075723A (en) 2009-04-09

Family

ID=40610648

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007242252A Pending JP2009075723A (en) 2007-09-19 2007-09-19 Document processor, document processing method, program, and data structure of document file

Country Status (1)

Country Link
JP (1) JP2009075723A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06259456A (en) * 1993-03-04 1994-09-16 Fuji Xerox Co Ltd Interactive general purpose business form designing system
JPH07160449A (en) * 1993-12-06 1995-06-23 Fuji Xerox Co Ltd Decentralized copying system
JP2000122837A (en) * 1998-10-13 2000-04-28 Canon Inc Information processor, information processing method and storage medium with computer readabel program stored therein
JP2004157834A (en) * 2002-11-07 2004-06-03 Canon Inc Print system
JP2004157601A (en) * 2002-11-01 2004-06-03 Canon Inc Processing device for business form file
JP2004171516A (en) * 2002-10-31 2004-06-17 Canon Inc Information processor, printing control method and printing control program
JP2004213075A (en) * 2002-12-26 2004-07-29 Kyocera Mita Corp Business form issuing apparatus, and electronic business form system using the same

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06259456A (en) * 1993-03-04 1994-09-16 Fuji Xerox Co Ltd Interactive general purpose business form designing system
JPH07160449A (en) * 1993-12-06 1995-06-23 Fuji Xerox Co Ltd Decentralized copying system
JP2000122837A (en) * 1998-10-13 2000-04-28 Canon Inc Information processor, information processing method and storage medium with computer readabel program stored therein
JP2004171516A (en) * 2002-10-31 2004-06-17 Canon Inc Information processor, printing control method and printing control program
JP2004157601A (en) * 2002-11-01 2004-06-03 Canon Inc Processing device for business form file
JP2004157834A (en) * 2002-11-07 2004-06-03 Canon Inc Print system
JP2004213075A (en) * 2002-12-26 2004-07-29 Kyocera Mita Corp Business form issuing apparatus, and electronic business form system using the same

Similar Documents

Publication Publication Date Title
US9122669B2 (en) Flat schema integrated document oriented templates
US8806357B2 (en) Plug-ins for editing templates in a business management system
US20100057760A1 (en) Generic data retrieval
JP2009110049A (en) Authoring apparatus, method, and computer program
KR100484728B1 (en) Component based automatic document generation system and method
Muthalagu PLM integration technical challenges with multiple manufacturing applications for Engineering Manufacturing Industries
JP2009075723A (en) Document processor, document processing method, program, and data structure of document file
CN107491466A (en) client device, information processing system and information processing method
WO2015087747A1 (en) Document processing system
JP2004326626A (en) Structured document file management system and structured document file management method
US20150301997A1 (en) Information processing device, information processing method, and non-transitory computer-readable medium
JP2005149269A (en) System for processing structured document
JP5645717B2 (en) Program processing apparatus and program processing method
JP2009301118A (en) Material information retrieval display device and program
JP2014167698A (en) Log file processor and log file processing program
JP5642999B2 (en) csv file output device, csv file output method, and csv file output program
Klein et al. Signposting for Repositories
JP2008165661A (en) Business form output device and business processing apparatus
JP4745777B2 (en) Product data management system and program
JP6699433B2 (en) Data management program, device, and method
JP3900268B2 (en) Form processing device for ERP package
JP2007164707A (en) Data conversion design unit, data conversion system, method therefor, and program therefor
JP5373533B2 (en) Product registration program
JP5430001B2 (en) Information processing apparatus, information processing method, and program
JP2010108206A (en) Method of recording inter-document tracking information and support device

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20090512

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100930

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101005

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101202

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110111