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 PDFInfo
- 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
Links
Images
Abstract
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に記載されている。
上述した特許文献1においては、帳票データと帳票フォーム情報とを1対1でマージし1つの帳票ファイルとしている。そのため、特許文献1は、少なくとも一方が複数の帳票フォームと帳票データ情報とを対応付けて帳票ファイルに格納することができなかった。
In
本発明の目的は、上述した課題を解決する帳票処理装置、帳票処理方法、プログラム、及び帳票ファイルのデータ構造を提供することにある。 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
(a)に示される帳票ファイル200は、帳票フォーム情報400と帳票データ情報600と対応付け情報500とを含む。対応付け情報500は、帳票フォーム情報400と帳票データ情報600とを対応付ける情報である。対応付け情報500は、図のように帳票フォーム情報400と帳票データ情報600とは異なる場所に格納されてもよいし、帳票フォーム情報400と帳票データ情報600とに含まれる構成としてもよい。
The
(b)に示される帳票処理装置100は、帳票フォーム情報格納手段111と帳票データ情報格納手段112と対応付け情報格納手段113とを含む。帳票フォーム情報格納手段111は、帳票フォーム情報400を帳票ファイル200に格納する。帳票データ情報格納手段112は、帳票データ情報600を帳票ファイル200に格納する。対応付け情報格納手段113は、帳票フォーム情報400と帳票データ情報600を対応付ける対応付け情報500を帳票ファイル200に格納する。
The
(c)に示される帳票処理方法は、まず、帳票フォーム情報400を帳票ファイル200に格納する(ステップX1)。次に、本帳票処理方法は、帳票データ情報600を帳票ファイル200に格納する(ステップX2)。次に、本帳票処理方法は、対応付け情報500を帳票ファイル200に格納する(ステップX3)。
In the form processing method shown in (c), first, the
本発明は、少なくとも一方が複数の帳票フォーム情報400と帳票データ情報600とを対応付けて帳票ファイル200に格納することができる、という効果を有する。その理由は、帳票ファイル200が帳票フォーム情報400と帳票データ情報600とを対応付ける対応付け情報500を含むためである。
The present invention has an effect that at least one of the plurality of
次に、本発明の第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
(a)に示される帳票ファイル200は、帳票フォーム部210と帳票データ部220とを備える。
The
帳票フォーム部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
帳票データ部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
帳票データ部220は、帳票データ情報600を出力順(例、印刷順)に格納する。(a)では、帳票データ部220は、帳票データ情報600をa,b,c,dの順に格納している。後述の帳票処理装置100(図2(a)では図示せず)は、帳票出力時にはこの順番に帳票データ情報600を読出し、出力する。
The
次に(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
図3は、本発明の第1の実施の形態における帳票処理装置100の構成を示した図である。帳票処理装置100は、パソコン(Personal Computer)等の情報処理装置であり、CPU(Central Processing Unit)等でプログラムを実行することによりその機能を実現する。帳票処理装置100は、帳票ファイル生成手段110と帳票ファイル出力手段120とを備える。
FIG. 3 is a diagram showing the configuration of the
帳票ファイル生成手段110は、帳票フォーム情報格納手段111と帳票データ情報格納手段112と対応付け情報格納手段113とを備える。
The form
帳票フォーム情報格納手段111は、例えば、ユーザがアプリケーションで作成し、対応付け情報格納手段113によってReport IDが付加された帳票フォーム情報400を帳票ファイル200に格納する。例えば、図2(a)は、帳票フォーム情報格納手段111への入力時にファイル名がAであった帳票フォーム情報A401が、帳票フォーム部210に格納されていることを示している。そして、図2(b)に示すように、対応付け情報格納手段113がReport ID=”AAAAAA”を帳票フォーム情報A401に付加している。
The form form
帳票データ情報格納手段112は、例えば、ユーザがアプリケーションで作成し、対応付け情報格納手段113によってXML_ID(対応付け情報500)が付加された帳票データ情報600を帳票ファイル200に格納する。帳票データ情報格納手段112は、対応付け情報格納手段113の指示に従い、帳票出力順(例、印刷順)に帳票データ情報600を帳票ファイル200に格納する。
The form data
対応付け情報格納手段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
図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
また、図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
再び、図3の説明に戻る。帳票ファイル出力手段120は、帳票データ情報読出手段121と帳票フォーム情報読出手段122と出力手段123とを備える。
Returning again to the description of FIG. The form
帳票データ情報読出手段121は、帳票ファイル200の帳票データ部220の中から、格納されている順番に帳票データ情報600を読出す。そして、帳票データ情報読出手段121は、帳票データ情報600が格納する対応付け情報500を確認し、当該帳票データ情報600がどの帳票フォーム情報400と対応するかを確認する。
The form data information reading means 121 reads the
帳票フォーム情報読出手段122は、対応付け情報500に示された帳票フォーム情報400を読出す。
The form form
出力手段123は、帳票データ情報600と帳票フォーム情報400を帳票300として帳票処理装置100から出力する。
The
以上で、本発明の第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
図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
図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
次に、帳票データ情報読出手段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
以上で、本発明の第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
その結果、本発明の第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
また、本発明の第1の実施の形態は、帳票フォーム情報400をXMLで作成しているため、タグによる帳票フォーム情報400の識別が可能となっていることも容易に一元化が可能となった理由の1つである。
In the first embodiment of the present invention, since the
次に、本発明の第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
図7(b)は、図2(b)に示された第1の実施の形態の帳票ファイル200と比較して、帳票フォーム部210と帳票データ部220の位置が反対である。そのため、ポインタの方向が異なる。即ち、XML_IDに合わせて、XML_IDと同じIDとなるようにReport IDが決定される。
In FIG. 7B, the positions of the
図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
以上で、本発明の第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
図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
以上で、本発明の第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
図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
図12は、本発明の第3の実施の形態における帳票処理装置100の構成を示した図である。図3、図8に示された他の実施の形態と比較して、帳票ファイル出力手段120が、対応付け情報読出手段124を含む点が異なる。
FIG. 12 is a diagram showing a configuration of the
以上で、本発明の第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
図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
以上で、本発明の第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
これに対し、第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
また、本発明の第3の実施の形態は、複数の帳票フォーム情報400に対して複数の帳票データ情報600を対応付けることができる、という効果を有する。その理由は、対応する帳票フォーム情報400と帳票データ情報600とで異なるIDを用いているためである。第1、第2の実施の形態では、同じIDを用いているため、双方が複数となると、ポインタの示す先が必ず複数となり、ポインタとして機能させることができなかった。
Further, the third embodiment of the present invention has an effect that a plurality of
本発明は、帳票データ情報と帳票フォーム情報とを含む帳票ファイルに関する帳票処理装置、帳票処理方法、プログラム、及び帳票ファイルのデータ構造に利用可能である。 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.
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
402 Form form information B
403 Form form information C
500
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又は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.
前記対応付け情報格納手段は、前記帳票フォーム情報に前記帳票データ情報へのポインタ情報を格納すること
を特徴とする請求項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又は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.
前記対応付け情報格納手段は、前記帳票フォーム情報と前記帳票データ情報とは異なる場所に前記対応付け情報を格納すること
を特徴とする請求項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.
前記帳票ファイルから、前記帳票フォーム情報の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.
帳票データ情報を前記帳票ファイルに格納し、
前記帳票フォーム情報と前記帳票データ情報を対応付ける対応付け情報を前記帳票ファイルに格納すること
を特徴とする帳票処理方法。 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.
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)
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 |
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 |
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 |
-
2007
- 2007-09-19 JP JP2007242252A patent/JP2009075723A/en active Pending
Patent Citations (7)
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 |
---|---|---|
US6301592B1 (en) | Method of and an apparatus for displaying version information and configuration information and a computer-readable recording medium on which a version and configuration information display program is recorded | |
US8806357B2 (en) | Plug-ins for editing templates in a business management system | |
US20100058169A1 (en) | Integrated document oriented templates | |
JP2003256202A5 (en) | ||
JP2018106556A (en) | Screen information generating apparatus, screen information generating method, and program | |
JP2009075723A (en) | Document processor, document processing method, program, and data structure of document file | |
JP2009122933A (en) | Definition information-reconstructing device for xml document conversion, method and program for the same | |
JP5682984B1 (en) | Document processing system | |
CN107491466A (en) | client device, information processing system and information processing method | |
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 | |
JP2009289042A (en) | Control method for retrieval device and retrieval device | |
JP2008257510A (en) | Design support system, method and program | |
JP5645717B2 (en) | Program processing apparatus and program processing method | |
JP2014167698A (en) | Log file processor and log file processing program | |
Klein et al. | Signposting for Repositories | |
JP4220439B2 (en) | Structured data conversion apparatus and method | |
JP2010204910A (en) | System, method, and program for displaying reciprocal link | |
JP2010128894A (en) | Database generation device, method of generating database, and computer program | |
JP5642999B2 (en) | csv file output device, csv file output method, and csv file output program | |
JP2008165661A (en) | Business form output device and business processing apparatus | |
JP4745777B2 (en) | Product data management system and program | |
JP2004302868A (en) | Tag compressing method for xml | |
JP2008084015A (en) | Web page browsing program and input form editing apparatus | |
JP2006268716A (en) | Document preparation program and document preparation system |
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 |