JP6121126B2 - Form output device, form output method, and program - Google Patents

Form output device, form output method, and program Download PDF

Info

Publication number
JP6121126B2
JP6121126B2 JP2012218094A JP2012218094A JP6121126B2 JP 6121126 B2 JP6121126 B2 JP 6121126B2 JP 2012218094 A JP2012218094 A JP 2012218094A JP 2012218094 A JP2012218094 A JP 2012218094A JP 6121126 B2 JP6121126 B2 JP 6121126B2
Authority
JP
Japan
Prior art keywords
attribute
item
switching
definition
definition file
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.)
Active
Application number
JP2012218094A
Other languages
Japanese (ja)
Other versions
JP2014071726A (en
Inventor
幸代 川幡
幸代 川幡
政浩 新保
政浩 新保
雅幸 小林
雅幸 小林
英樹 宮本
英樹 宮本
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.)
PFU Ltd
Original Assignee
PFU Ltd
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 PFU Ltd filed Critical PFU Ltd
Priority to JP2012218094A priority Critical patent/JP6121126B2/en
Priority to CN201310442800.4A priority patent/CN103713864B/en
Publication of JP2014071726A publication Critical patent/JP2014071726A/en
Application granted granted Critical
Publication of JP6121126B2 publication Critical patent/JP6121126B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、帳票出力装置、帳票出力方法、および、プログラムに関する。   The present invention relates to a form output device, a form output method, and a program.

従来、業務処理システムの設定や保守、帳票の編集等を行う技術が開発されている。   Conventionally, techniques for setting and maintaining a business processing system, editing a form, and the like have been developed.

例えば、フォームを複数の言語に対応させるため、対応するフォーム定義の使用テンプレートに指定されているテンプレートを、フォーム定義の定義内容で置き換えることにより、フォームの各表示フィールドに複数の言語表現を設定可能にする技術が知られている(特許文献1を参照)。   For example, in order to make a form correspond to multiple languages, multiple language expressions can be set for each display field of the form by replacing the template specified in the corresponding form definition use template with the definition contents of the form definition. The technique of making is known (refer patent document 1).

また、集計行の属性情報を抽出して、該抽出された属性情報とは異なる属性情報を設定するための設定画面を表示し、設定画面上で設定された属性情報を帳票データに反映して出力可能な帳票データを生成する技術が知られている(特許文献2を参照)。このほか、SVFX−Designer(ウイングアーク株式会社製)のダイナミックアトリビュート機能では、アイテムの表示/非表示や、値に応じてアイテムの大きさや色などの属性値を動的に変更する技術が知られている。   Also, the attribute information of the total row is extracted, a setting screen for setting attribute information different from the extracted attribute information is displayed, and the attribute information set on the setting screen is reflected in the form data. A technique for generating form data that can be output is known (see Patent Document 2). In addition, with the dynamic attribute function of SVFX-Designer (manufactured by Wing Arc Co., Ltd.), a technique for displaying / hiding items and dynamically changing attribute values such as item size and color according to the values is known. ing.

特開2006−331356号公報JP 2006-331356 A 特開2007−328670号公報JP 2007-328670 A

しかしながら、従来の技術においては、複数の言語数に対応させたい場合やユーザに合ったカスタマイズを行いたい場合等において、その都度、対応する定義体を作成しなければならず、コストと時間がかかるという問題点を有していた。   However, in the conventional technology, when it is desired to support a plurality of languages or when customization is desired according to the user, a corresponding definition body must be created each time, which is costly and time consuming. It had the problem that.

本発明は、上記問題点に鑑みてなされたもので、帳票定義体の再設定にかかるコストと時間を削減して効率化を図ることができる帳票出力装置、帳票出力方法、および、プログラムを提供することを目的とする。   The present invention has been made in view of the above problems, and provides a form output device, a form output method, and a program capable of reducing the cost and time required for resetting a form definition body and improving efficiency. The purpose is to do.

このような目的を達成するため、本発明の帳票出力装置は、記憶部と制御部を少なくとも備えた帳票出力装置において、上記記憶部は、帳票項目の属性を少なくとも定義する帳票定義体と、上記帳票定義体の上記帳票項目において切替える属性を定義する項目属性切替え定義ファイルと、を記憶し、上記制御部は、上記項目属性切替え定義ファイルに基づいて、上記帳票定義体における上記帳票項目の上記属性を切替える属性切替え手段と、上記帳票定義体、上記項目属性切替え定義ファイル、および、入力データに基づいて、上記属性切替え手段により上記属性が切替えられた上記帳票項目を有する帳票を出力制御する帳票出力制御手段と、を備えたことを特徴とする。   In order to achieve such an object, the form output device of the present invention is a form output device including at least a storage unit and a control unit, wherein the storage unit is a form definition body that defines at least attributes of form items, and An item attribute switching definition file that defines an attribute to be switched in the form item of the form definition body, and the control unit, based on the item attribute switching definition file, stores the attribute of the form item in the form definition body. Attribute switching means for switching the form, and the form output for controlling the form having the form item whose attribute has been switched by the attribute switching means based on the form definition body, the item attribute switching definition file, and the input data And a control means.

また、本発明の帳票出力方法は、記憶部と制御部を少なくとも備えた帳票出力装置において実行される帳票出力方法であって、上記記憶部は、帳票項目の属性を少なくとも定義する帳票定義体と、上記帳票定義体の上記帳票項目において切替える属性を定義する項目属性切替え定義ファイルと、を記憶し、上記制御部において実行される、上記項目属性切替え定義ファイルに基づいて、上記帳票定義体における上記帳票項目の上記属性を切替える属性切替えステップと、上記帳票定義体、上記項目属性切替え定義ファイル、および、入力データに基づいて、上記属性切替え手段により上記属性が切替えられた上記帳票項目を有する帳票を出力制御する帳票出力制御ステップと、を含むことを特徴とする。   Further, the form output method of the present invention is a form output method executed in a form output apparatus including at least a storage unit and a control unit, and the storage unit includes a form definition body that defines at least attributes of form items. An item attribute switching definition file that defines an attribute to be switched in the form item of the form definition body, and is executed in the control unit, based on the item attribute switching definition file, the above in the form definition body An attribute switching step for switching the attribute of the form item, a form having the form item whose attribute has been switched by the attribute switching means based on the form definition body, the item attribute switching definition file, and input data. A form output control step for output control.

また、本発明のプログラムは、記憶部と制御部を少なくとも備えた帳票出力装置に実行させるためのプログラムであって、上記記憶部は、帳票項目の属性を少なくとも定義する帳票定義体と、上記帳票定義体の上記帳票項目において切替える属性を定義する項目属性切替え定義ファイルと、を記憶し、上記制御部において、上記項目属性切替え定義ファイルに基づいて、上記帳票定義体における上記帳票項目の上記属性を切替える属性切替えステップと、上記帳票定義体、上記項目属性切替え定義ファイル、および、入力データに基づいて、上記属性切替え手段により上記属性が切替えられた上記帳票項目を有する帳票を出力制御する帳票出力制御ステップと、を実行させることを特徴とする。   The program of the present invention is a program for causing a form output device including at least a storage unit and a control unit to execute the program, wherein the storage unit includes a form definition body that defines at least attributes of form items, and the form An item attribute switching definition file that defines an attribute to be switched in the form item of the definition body is stored, and the control unit determines the attribute of the form item in the form definition body based on the item attribute switching definition file. An attribute switching step for switching, and a form output control for controlling output of the form having the form item whose attribute is switched by the attribute switching means based on the form definition body, the item attribute switching definition file, and the input data And executing the step.

この発明によれば、帳票項目の属性を少なくとも定義する帳票定義体と、帳票定義体の帳票項目において切替える属性を定義する項目属性切替え定義ファイルと、を記憶し、項目属性切替え定義ファイルに基づいて、帳票定義体における帳票項目の属性を切替え、帳票定義体、項目属性切替え定義ファイル、および、入力データに基づいて、属性が切替えられた帳票項目を有する帳票を出力制御する。これにより、本発明は、帳票出力時に、帳票定義体および入力データとは異なる独立したファイルに定義された項目属性の切替え情報に切替えて出力されるので、人手で実施していた作業が不要となり、帳票定義体の設計や設定変更にかかるコストと時間を削減して効率化を図ることができるという効果を奏する。より具体的には、帳票を出力するシステムにおける多言語展開時やシステムメンテナンス時において、その都度、対応する帳票定義体を作成する必要がないので、帳票定義体を作成および修正する工数が削減でき、帳票定義体の設計を効率化することができる。また、独立した項目属性切替え定義ファイルは、切替え前後の属性が定義されており、帳票定義体を修正するツールの使い方を習得しなくとも、テキストエディタ等により項目属性切替え定義ファイルを直接編集することで、帳票定義体を修正するツールのスキルによらずに帳票の出力結果を変更することができ、操作性および作業効率が向上する。   According to the present invention, a form definition body that defines at least attributes of form items and an item attribute switching definition file that defines attributes to be switched in the form items of the form definition body are stored, and based on the item attribute switching definition file The attribute of the form item in the form definition body is switched, and the form having the form item whose attribute is switched is controlled based on the form definition body, the item attribute switching definition file, and the input data. As a result, the present invention switches and outputs the item attribute switching information defined in an independent file different from the form definition body and input data when outputting the form, so that the work that has been performed manually becomes unnecessary. As a result, it is possible to reduce the cost and time required for the design and setting change of the form definition body, and to improve efficiency. More specifically, it is not necessary to create a corresponding form definition body each time multilingual development or system maintenance is performed in a system that outputs a form, so the man-hour for creating and modifying the form definition body can be reduced. Therefore, the design of the form definition body can be made more efficient. In addition, the independent item attribute switching definition file defines the attributes before and after switching, so you can directly edit the item attribute switching definition file with a text editor etc. without learning how to use the tool to modify the form definition body. Thus, the output result of the form can be changed regardless of the skill of the tool for correcting the form definition body, and the operability and work efficiency are improved.

図1は、帳票出力装置100の構成の一例を示すブロック図である。FIG. 1 is a block diagram illustrating an example of the configuration of the form output device 100. 図2は、帳票定義体により定義される帳票の出力例を示す図である。FIG. 2 is a diagram illustrating an output example of a form defined by a form definition body. 図3は、項目属性切替え定義ファイル106bの構成の一例を示す図である。FIG. 3 is a diagram illustrating an example of the configuration of the item attribute switching definition file 106b. 図4は、入力データの一例を示す図である。FIG. 4 is a diagram illustrating an example of input data. 図5は、本実施の形態における帳票出力装置100の帳票切替え出力処理の一例を示すフローチャートである。FIG. 5 is a flowchart showing an example of the form switching output process of the form output apparatus 100 according to this embodiment. 図6は、帳票を日本語対応から英語対応に切替えるために用いる、項目属性切替え定義ファイル106bの構成の一例を示す図である。FIG. 6 is a diagram showing an example of the configuration of the item attribute switching definition file 106b used for switching the form from Japanese to English. 図7は、図2に例示した帳票定義体と、図4に例示した入力データと、図6に例示した項目属性切替え定義ファイルに基づいて生成される、英語対応の帳票の出力結果の一例を示す図である。7 shows an example of the output result of the English-compatible form generated based on the form definition body exemplified in FIG. 2, the input data exemplified in FIG. 4, and the item attribute switching definition file exemplified in FIG. FIG. 図8は、帳票定義体と項目属性切替え定義ファイルの対応関係の一例を示す図である。FIG. 8 is a diagram illustrating an example of a correspondence relationship between a form definition body and an item attribute switching definition file. 図9は、項目属性切替え定義ファイル106bと、属性切替え部102aにより生成され記憶部106に一時記憶される帳票データの関係を示す図である。FIG. 9 is a diagram showing the relationship between the item attribute switching definition file 106b and the form data generated by the attribute switching unit 102a and temporarily stored in the storage unit 106. 図10は、帳票出力装置100により実行される、帳票出力システム構築処理の一例を示すフローチャートである。FIG. 10 is a flowchart illustrating an example of a form output system construction process executed by the form output apparatus 100. 図11は、属性情報抽出部102cにより表示される設定画面の一例を示す図である。FIG. 11 is a diagram illustrating an example of a setting screen displayed by the attribute information extraction unit 102c. 図12は、編集前と編集後の項目属性切替え定義情報を模式的に示した図である。FIG. 12 is a diagram schematically showing the item attribute switching definition information before and after editing. 図13は、基本となる帳票定義体において定義された帳票、および、当該帳票定義体と項目属性切替え定義情報と入力データに基づいて出力される帳票を対比して示した図である。FIG. 13 is a diagram showing a form defined in a basic form definition body, and a form output based on the form definition body, item attribute switching definition information, and input data. 図14は、帳票出力処理の一例を示すフローチャートである。FIG. 14 is a flowchart illustrating an example of a form output process. 図15は、属性切替え部102aにより実行される、データフローを模式的に示した図である。FIG. 15 is a diagram schematically illustrating a data flow executed by the attribute switching unit 102a.

以下に、本発明に係る帳票出力装置、帳票出力方法、および、プログラムの実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。   DESCRIPTION OF EMBODIMENTS Embodiments of a form output device, form output method, and program according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

[帳票出力装置の構成]
まず、本実施形態にかかる帳票出力装置100の構成の一例について説明し、その後、帳票出力装置100の一例について説明する。ここで、図1は、帳票出力装置100の構成の一例を示すブロック図であり、該構成のうち本発明に関係する部分のみを概念的に示している。
[Configuration of form output device]
First, an example of the configuration of the form output device 100 according to the present embodiment will be described, and then an example of the form output device 100 will be described. Here, FIG. 1 is a block diagram showing an example of the configuration of the form output device 100, and conceptually shows only the portion related to the present invention in the configuration.

図1に示すように、本実施形態の帳票出力装置100は、概略的に、帳票出力装置100の全体を統括的に制御するCPU等の制御部102、入力部112や出力部114に接続される入出力制御インターフェース部108、および、各種のデータやテーブルなどを格納する記憶部106を備えて構成されており、これら各部は任意の通信路を介して通信可能に接続されている。   As shown in FIG. 1, the form output device 100 of this embodiment is generally connected to a control unit 102 such as a CPU, an input unit 112, and an output unit 114 that control the entire form output device 100 in an integrated manner. And an input / output control interface unit 108 and a storage unit 106 for storing various data and tables. These units are communicably connected via an arbitrary communication path.

図1において、記憶部106に格納される各種のデータやテーブル(帳票定義体ファイル106a、項目属性切替え定義ファイル106b、および、データファイル106c)は、固定ディスク装置等のストレージ手段であり、各種処理に用いる各種のプログラムやテーブルやファイルやデータベース等を格納する。   In FIG. 1, various data and tables (form definition body file 106a, item attribute switching definition file 106b, and data file 106c) stored in the storage unit 106 are storage means such as a fixed disk device, and various types of processing. Stores various programs, tables, files, databases, etc. used in

これら記憶部106の各構成要素のうち、帳票定義体ファイル106aは、帳票項目の属性を少なくとも定義する帳票定義体を記憶する帳票定義体記憶手段である。なお、帳票定義体ファイル106aは、一または複数の帳票定義体を記憶してもよい。ここで、図2は、帳票定義体により定義される帳票の出力例を示す図である。図2に示すように、帳票定義体では、帳票項目(帳票名や、会社名、品名や、単価、数量等)が定義されているものの、データ項目には入力データは未だ入力されていない。一例として、帳票定義体は、定義体情報(用紙サイズや区切り編集文字等)、項目情報テーブル(項目名、項目長、小数部桁数、小数点の出力有無、小数部の編集形式等)、フォント名テーブル(フォント名等)、拡張編集形式テーブル(日付編集文字列等)、固定文字列テーブル(文字列等)、ラベル文字列テーブル(ラベル等)、項目属性情報テーブル、および、通貨記号文字テーブル(通貨記号等)等により構成されてもよい。一例として、帳票定義体ファイル106aは、帳票定義体の情報をバイナリーデータとして保持してもよい。なお、帳票定義体の情報は、データ項目の順番や位置を定義する並び情報や、帳票の電子文書に表示されるデータ項目のレイアウト等を定義してもよい。   Among these components of the storage unit 106, the form definition file 106a is a form definition storage unit that stores a form definition that defines at least the attributes of the form items. The form definition file 106a may store one or a plurality of form definition bodies. Here, FIG. 2 is a diagram illustrating an output example of the form defined by the form definition body. As shown in FIG. 2, in the form definition body, form items (form name, company name, product name, unit price, quantity, etc.) are defined, but input data has not yet been entered in the data items. As an example, the form definition body includes definition body information (paper size, delimited edit characters, etc.), item information table (item name, item length, number of decimal part digits, decimal point output, decimal part editing format, etc.), font Name table (font name, etc.), extended edit format table (date edit character string, etc.), fixed character string table (character string, etc.), label character string table (label, etc.), item attribute information table, and currency symbol character table (Currency symbol etc.) etc. may be comprised. As an example, the form definition file 106a may hold the information of the form definition as binary data. Note that the information of the form definition body may define arrangement information that defines the order and position of the data items, the layout of the data items displayed in the electronic document of the form, and the like.

また、項目属性切替え定義ファイル106bは、帳票定義体の帳票項目において切替える属性を定義する項目属性切替え定義ファイルである。なお、図1では、一つの項目属性切替え定義ファイル106bが図示されているが、これに限られず、複数の項目属性切替え定義ファイル106bが記憶部106に格納されてもよい。すなわち、項目属性切替え定義ファイル106bは、帳票定義体の帳票項目の切替え元の属性情報と切替え先の属性情報とを定義するデータを記憶する。好適には、項目属性切替え定義ファイル106bは、テキストエディタ等で編集可能なテキストデータ形式で保存される。一例として、項目属性切替え定義ファイル106bは、帳票定義体の項目名と、切替え元の属性値と、切替え先の属性値とを対応付けて記憶してもよい。なお、属性値は、文字列や記号であってもよく、未入力の空データであってもよい。また、帳票全体において切替え元の属性値を置換する場合、帳票定義体の項目名は指定されなくともよい。ここで、図3は、項目属性切替え定義ファイル106bの構成の一例を示す図である。なお、図3の各行において、左の属性値“○○○”(変更前)から右の属性値“△△△”(変更後)に、切替えることを定義している。   The item attribute switching definition file 106b is an item attribute switching definition file that defines attributes to be switched in the form item of the form definition body. In FIG. 1, one item attribute switching definition file 106 b is illustrated. However, the present invention is not limited to this, and a plurality of item attribute switching definition files 106 b may be stored in the storage unit 106. That is, the item attribute switching definition file 106b stores data defining the switching source attribute information and switching destination attribute information of the form item of the form definition body. Preferably, the item attribute switching definition file 106b is stored in a text data format that can be edited by a text editor or the like. As an example, the item attribute switching definition file 106b may store the item name of the form definition body, the switching source attribute value, and the switching destination attribute value in association with each other. The attribute value may be a character string or a symbol, or may be empty data that has not been input. Further, when replacing the attribute value of the switching source in the entire form, the item name of the form definition body need not be specified. Here, FIG. 3 is a diagram showing an example of the configuration of the item attribute switching definition file 106b. Each line in FIG. 3 defines switching from the left attribute value “◯◯◯” (before change) to the right attribute value “ΔΔΔ” (after change).

図3の第2行〜第3行に示すように、帳票出力時に、変更前の文字列“○○○”全てを変更後の文字列“△△△”に切替える場合は、帳票項目を指定せずに定義してもよい。一方、図3の第5行〜第7行に示すように、帳票出力時に、所望の帳票項目において、変更前の属性値“○○○”から変更後の属性値“△△△”に切替える場合は、帳票項目を“Form1, Item1”のように帳票名と項目名で指定して定義してもよい。なお、文字列を切替えることに限られず、第6行および第7行に示すように、小数点の位置や記号等を変更することも可能である。   As shown in the 2nd to 3rd lines of Fig. 3, when the form is output, if you want to change all the character string "XXX" before the change to the character string "△△△" after the change, specify the form item You may define without. On the other hand, as shown in the 5th to 7th lines in FIG. 3, at the time of outputting the form, in the desired form item, the attribute value “XXX” before the change is switched to the attribute value “ΔΔΔ” after the change. In this case, a form item may be defined by specifying a form name and an item name such as “Form1, Item1”. In addition, it is not restricted to switching a character string, As shown to the 6th line and the 7th line, it is also possible to change the position of a decimal point, a symbol, etc.

また、データファイル106cは、ユーザアプリケーションの実行等により生成される入力データを記憶する入力データ記憶手段である。ここで、図4は、入力データの一例を示す図である。このデータファイル106cに格納される入力データは、図4に示すように、帳票のデータ項目単位の文字列を順番に列挙したデータである。なお、入力データは、このようなCSV(Comma Separated Values)形式に限られず、任意の形態で構成されてもよい。   The data file 106c is an input data storage unit that stores input data generated by executing a user application. Here, FIG. 4 is a diagram illustrating an example of input data. The input data stored in the data file 106c is data in which character strings in units of data items of a form are listed in order as shown in FIG. The input data is not limited to such CSV (Comma Separated Values) format, and may be configured in any form.

この他、記憶部106は、一時的に帳票出力されるデータを格納するメモリとして機能してもよい。その場合、記憶部106は、帳票定義体が定義する帳票出力様式の各項目の属性情報(データ長、フォント情報など)に基づいて、各項目の入力データを保持するためのメモリ上のデータ領域であり、入力データから対応するデータ項目の文字列データが抽出され生成された項目情報を保持する。   In addition, the storage unit 106 may function as a memory that stores data that is temporarily output as a form. In this case, the storage unit 106 stores a data area on the memory for holding input data of each item based on attribute information (data length, font information, etc.) of each item of the form output format defined by the form definition body. And holds the item information generated by extracting the character string data of the corresponding data item from the input data.

また、図1において、入出力制御インターフェース部108は、入力部112や出力部114の制御を行う。ここで、出力部114としては、モニタ(家庭用テレビを含む)の他、プリンタや、外部記憶装置等を用いることができる(なお、以下においては出力部114をモニタとして記載する場合がある)。また、入力部112としては、キーボード、マウス、およびマイク等を用いることができる。   In FIG. 1, the input / output control interface unit 108 controls the input unit 112 and the output unit 114. Here, as the output unit 114, in addition to a monitor (including a home television), a printer, an external storage device, or the like can be used (hereinafter, the output unit 114 may be described as a monitor). . As the input unit 112, a keyboard, a mouse, a microphone, and the like can be used.

また、図1において、制御部102は、OS(Operating System)等の制御プログラム、各種の処理手順等を規定したプログラム、および所要データを格納するための内部メモリを有し、これらのプログラム等により、種々の処理を実行するための情報処理を行う。制御部102は、機能概念的に、属性切替え部102a、帳票出力制御部102b、属性情報抽出部102c、文字列翻訳部102d、項目属性編集部102f、および、アプリケーション部102gを備えて構成されている。   In FIG. 1, the control unit 102 has a control program such as an OS (Operating System), a program defining various processing procedures, and an internal memory for storing required data. Information processing for executing various processes is performed. The control unit 102 is functionally conceptually configured to include an attribute switching unit 102a, a form output control unit 102b, an attribute information extraction unit 102c, a character string translation unit 102d, an item attribute editing unit 102f, and an application unit 102g. Yes.

このうち、属性切替え部102aは、項目属性切替え定義ファイル106bに基づいて、帳票定義体ファイル106aの帳票定義体における帳票項目の属性を切替える属性切替え手段である。例えば、属性切替え部102aは、項目名と切替え前後の属性情報が対応付けられた項目属性切替え定義ファイル106bに基づいて、当該項目名に対応する帳票定義体の帳票項目の属性情報を切替え先の属性情報に置換してもよい。また、属性切替え部102aは、項目属性切替え定義ファイル106bに基づいて、帳票定義体中の対応するテーブルの突合せを行うことにより、切替え対象の属性の対応付けを行って切替え処理を実行してもよい。これにより、属性切替え時にテーブルの突合せを行うので、突合せによって変更対象の項目属性を抽出して、当該項目属性を変更した帳票を自動的に作成することができる。また、属性切替え部102aは、項目名等の帳票項目が指定されていない場合、項目属性切替え定義ファイル106bに基づいて、切替え元の属性情報を検索して、合致した属性情報を切替え先の属性情報に置換してもよい。これにより、属性切替え時に、合致した属性の置換を行うので、帳票項目を指定しなくとも帳票定義体に定義された文字列等の属性を検索して合致した属性を自動的に置換した帳票を作成することができる。なお、属性切替え部102aは、切替え処理に従って、帳票定義体ファイル106aの帳票定義体の書き換えを行ってもよく、帳票定義体ファイル106aの帳票定義体を書き換えることなく、属性を切替えた帳票項目を有する帳票を記憶部106に格納してもよい。   Among these, the attribute switching unit 102a is attribute switching means for switching the attribute of the form item in the form definition body of the form definition body file 106a based on the item attribute switching definition file 106b. For example, the attribute switching unit 102a, based on the item attribute switching definition file 106b in which the item name and the attribute information before and after the switching are associated with each other, changes the attribute information of the form item of the form definition body corresponding to the item name to the switching destination. It may be replaced with attribute information. Further, the attribute switching unit 102a performs the switching process by associating the attributes to be switched by matching the corresponding tables in the form definition body based on the item attribute switching definition file 106b. Good. As a result, table matching is performed at the time of attribute switching, so that an item attribute to be changed can be extracted by matching and a form with the item attribute changed can be automatically created. Further, when a form item such as an item name is not designated, the attribute switching unit 102a searches the attribute information of the switching source based on the item attribute switching definition file 106b, and matches the matching attribute information with the attribute of the switching destination. Information may be substituted. As a result, when the attribute is switched, the matched attribute is replaced. Therefore, even if the form item is not specified, the search is performed for the attribute such as the character string defined in the form definition body, and the matched attribute is automatically replaced. Can be created. The attribute switching unit 102a may rewrite the form definition in the form definition file 106a in accordance with the switching process, and the form item whose attribute has been switched without rewriting the form definition in the form definition file 106a. The forms that the user has may be stored in the storage unit 106.

また、帳票出力制御部102bは、帳票定義体ファイル106aに記憶された帳票定義体、項目属性切替え定義ファイル106b、および、データファイル106cに記憶された入力データに基づいて、属性切替え部102aにより属性が切替えられた帳票項目を有する帳票を出力制御する帳票出力制御手段である。例えば、帳票出力制御部102bは、属性切替え部102aにより記憶部106に一時記憶された、属性が切替えられた帳票項目を有する帳票に、データファイル106cに記憶された入力データを入力して作成した帳票を出力部114に出力してもよい。一例として、帳票出力制御部102bは、モニタとしての出力部114に帳票を表示させてもよく、プリンタとしての出力部114に帳票を印刷出力してもよく、外部記憶装置としての出力部114に帳票を書き出してもよい。なお、帳票出力制御部102bは、ユーザが使用する帳票出力アプリケーションを実行することにより実現される機能であってもよい。一例として、ユーザが使用する帳票出力アプリケーションで、項目属性切替え定義ファイル106bを指定することにより、帳票出力制御部102bは、ユーザにより指定された項目属性切替え定義ファイル106bを読み込むことにより、属性切替え部102aに属性情報を切替えさせて、指定された帳票にて出力することが可能となる。   Also, the form output control unit 102b uses the attribute switching unit 102a to set the attribute based on the form definition stored in the form definition file 106a, the item attribute switching definition file 106b, and the input data stored in the data file 106c. Is a form output control means for controlling the output of the form having the form item switched. For example, the form output control unit 102b is created by inputting the input data stored in the data file 106c into the form having the form item whose attribute is switched temporarily stored in the storage unit 106 by the attribute switching unit 102a. A form may be output to the output unit 114. As an example, the form output control unit 102b may display the form on the output unit 114 as a monitor, print out the form on the output unit 114 as a printer, or output the form to the output unit 114 as an external storage device. A form may be written out. The form output control unit 102b may be a function realized by executing a form output application used by the user. As an example, by specifying the item attribute switching definition file 106b in the form output application used by the user, the form output control unit 102b reads the item attribute switching definition file 106b specified by the user, thereby changing the attribute switching unit. It is possible to switch the attribute information to 102a and output the designated form.

また、属性情報抽出部102cは、帳票定義体ファイル106aに記憶された帳票定義体から帳票項目の属性情報を抽出する属性情報抽出手段である。例えば、属性情報抽出部102cは、帳票定義体ファイル106aに記憶された帳票定義体から、項目名と属性情報を対応付けて抽出して、項目属性切替え定義ファイル106bを作成する。このように、帳票定義体から帳票項目の属性情報を抽出するので、自動的に帳票定義体から項目属性切替え定義ファイル106bを作成することができ、設計や設定変更にかかるコストと時間を軽減させることができる。より具体的には、帳票を出力するシステムにおける多言語展開時やシステムメンテナンス時等において、従来、平均200〜300にも及ぶ複数の帳票定義体を直接修正する必要があったが、本実施の形態によれば、帳票定義体を直接修正する作業が不要になり、修正箇所の抽出漏れや修正ミス、修正漏れ等の人為的ミスが発生する可能性を低減させることができる。なお、属性情報抽出部102cは、帳票定義体において、同じ属性値(固有文字列等)が複数ある場合等において、当該属性値の一括切替え用に、項目を指定せずに属性情報を抽出して項目属性切替え定義ファイル106bを作成してもよい。   The attribute information extraction unit 102c is attribute information extraction means for extracting the attribute information of the form item from the form definition body stored in the form definition file 106a. For example, the attribute information extraction unit 102c extracts the item name and attribute information in association with each other from the form definition stored in the form definition file 106a, and creates the item attribute switching definition file 106b. As described above, since the attribute information of the form item is extracted from the form definition body, the item attribute switching definition file 106b can be automatically created from the form definition body, and the cost and time required for design and setting change can be reduced. be able to. More specifically, it has been necessary to directly modify a plurality of form definition bodies that average 200 to 300 at the time of multilingual development or system maintenance in a system that outputs forms. According to the form, it is not necessary to directly correct the form definition body, and the possibility of occurrence of human error such as omission of extraction of correction parts, correction errors, and correction errors can be reduced. Note that the attribute information extraction unit 102c extracts attribute information without specifying an item for batch switching of the attribute values when there are a plurality of the same attribute values (such as unique character strings) in the form definition body. Thus, the item attribute switching definition file 106b may be created.

また、文字列翻訳部102dは、項目属性切替え定義ファイル106bの切替え元の文字列属性情報(文字列や記号等を含む。)を、指定された言語に翻訳して切替え先の属性に指定する文字列翻訳手段である。例えば、文字列翻訳部102dは、記憶部106に記憶された辞書データベース(図示せず)を参照して、切替え元の文字列に対応する翻訳文字列を取得し、項目属性切替え定義ファイル106bの切替え先の属性情報として格納してもよい。このように、項目属性切替え定義ファイル106bの切替え元の文字列属性情報を、指定された言語に翻訳して切替え先の属性に指定するので、抽出した項目の文字列属性情報を自動的に指定された言語に翻訳した結果をファイル出力することができ、人為的ミスの軽減や翻訳コストの削減を図ることができる。特に、帳票を出力するシステムにおいて、多言語展開時には、従来、帳票定義体から翻訳が必要な文字列を抽出して翻訳する必要があったが、本実施の形態では、翻訳が必要な文字列の抽出から機械翻訳までの流れをプログラムで実現することにより、翻訳コストを削減することができる。   Further, the character string translation unit 102d translates the character string attribute information (including character strings and symbols) of the switching source of the item attribute switching definition file 106b into the specified language and designates it as the attribute of the switching destination. It is a character string translation means. For example, the character string translation unit 102d refers to a dictionary database (not shown) stored in the storage unit 106, acquires a translation character string corresponding to the character string to be switched, and stores the item attribute switching definition file 106b. You may store as attribute information of a switching destination. In this way, the character string attribute information of the switching source in the item attribute switching definition file 106b is translated into the specified language and specified as the switching destination attribute, so the character string attribute information of the extracted item is automatically specified. The result of translation into the selected language can be output as a file, and human error can be reduced and translation costs can be reduced. In particular, in a system that outputs a form, it has been necessary to extract and translate a character string that needs to be translated from a form definition body at the time of multilingual development. In this embodiment, a character string that requires translation is required. Translation flow can be reduced by realizing the flow from extraction to machine translation in a program.

また、項目属性編集部102fは、項目属性切替え定義ファイル106bにおいて切替える属性の情報を編集可能に制御する項目属性編集手段である。例えば、項目属性編集部102fは、テキストエディタ等であって、項目属性切替え定義ファイル106bに基づいて出力部114にテキスト表示を行い、ユーザに入力部112を介して属性情報等を入力または編集させるよう制御し、入力された属性情報を項目属性切替え定義ファイル106bに格納して更新する。このように、項目属性切替え定義ファイル106bにおいて切替える属性の情報を編集可能に制御するので、複雑な帳票定義体とは異なり、切替える属性が定義された項目属性切替え定義ファイル106bを用いて、簡単にカスタマイズすることができる。   The item attribute editing unit 102f is item attribute editing means for controlling editable attribute information in the item attribute switching definition file 106b. For example, the item attribute editing unit 102f is a text editor or the like, displays text on the output unit 114 based on the item attribute switching definition file 106b, and allows the user to input or edit attribute information or the like via the input unit 112. The input attribute information is stored and updated in the item attribute switching definition file 106b. In this way, since the attribute information to be switched is controlled to be editable in the item attribute switching definition file 106b, unlike the complicated form definition body, the item attribute switching definition file 106b in which the attribute to be switched is defined can be easily used. Can be customized.

また、アプリケーション部102gは、業務アプリケーション等のユーザアプリケーションが実行されることにより機能し、帳票の入力データを生成して、データファイル106cに出力するアプリケーション手段である。例えば、アプリケーション部102gは、ユーザアプリケーションが実行されることにより電子文書の格納、検索、閲覧等の管理等の機能を有してもよい。   The application unit 102g functions as a user application such as a business application is executed, and is an application unit that generates form input data and outputs it to the data file 106c. For example, the application unit 102g may have functions such as management of storage, search, browsing, and the like of electronic documents by executing a user application.

以上が、本帳票出力装置の構成の概要である。ここで、本帳票出力装置100は、帳票に関する外部データベースや帳票管理アプリケーション等の外部プログラム等を提供する外部機器200と、ネットワーク300を介して通信可能に接続されて構成してもよい。   The above is the outline of the configuration of the form output device. Here, the form output device 100 may be configured to be communicably connected to an external device 200 that provides an external database or the like such as an external database related to a form or a form management application via the network 300.

この場合、帳票出力装置100は、通信回線等に接続されるルータ等の通信装置(図示せず)に接続される通信制御インターフェース部104を更に備えて構成され、ルータ等の通信装置および専用線等の有線または無線の通信回線を介して、ネットワーク300に通信可能に接続される。すなわち、図1において、通信制御インターフェース部104は、帳票出力装置100とネットワーク300(またはルータ等の通信装置)との間における通信制御を行い、他の端末と通信回線を介してデータを通信する機能を有する。ここで、ネットワーク300は、帳票出力装置100と外部機器200とを相互に接続する機能を有し、例えば、インターネット等である。   In this case, the form output device 100 is configured to further include a communication control interface unit 104 connected to a communication device (not shown) such as a router connected to a communication line or the like. The network 300 is communicably connected via a wired or wireless communication line. That is, in FIG. 1, the communication control interface unit 104 performs communication control between the form output device 100 and the network 300 (or a communication device such as a router), and communicates data with other terminals via a communication line. It has a function. Here, the network 300 has a function of connecting the form output device 100 and the external device 200 to each other, such as the Internet.

また、図1において、外部機器200は、ネットワーク300を介して、帳票出力装置100と相互に接続され、利用者に対して帳票に関する外部データベースや帳票管理アプリケーション等の外部プログラム等を提供する機能を有する。   In FIG. 1, an external device 200 is connected to the form output device 100 via a network 300, and has a function of providing an external program such as an external database related to a form or a form management application to a user. Have.

ここで、外部機器200は、WEBサーバやASPサーバ等として構成していてもよく、そのハードウェア構成は、一般に市販されるワークステーション、パーソナルコンピュータ等の情報処理装置およびその付属装置により構成していてもよい。また、外部機器200の各機能は、外部機器200のハードウェア構成中のCPU、ディスク装置、メモリ装置、入力装置、出力装置、通信制御装置等およびそれらを制御するプログラム等により実現される。   Here, the external device 200 may be configured as a WEB server, an ASP server, or the like, and the hardware configuration thereof is configured by an information processing device such as a commercially available workstation or a personal computer and an accessory device thereof. May be. Each function of the external device 200 is realized by a CPU, a disk device, a memory device, an input device, an output device, a communication control device, and the like in the hardware configuration of the external device 200 and a program for controlling them.

[帳票出力装置の処理]
次に、このように構成された本実施の形態における本帳票出力装置100の処理の一例について、以下に図5〜図15を参照して詳細に説明する。
[Processing of form output device]
Next, an example of processing performed by the form output device 100 according to the present embodiment configured as described above will be described in detail with reference to FIGS.

[帳票切替え出力処理]
まず、本実施の形態の帳票出力装置100により実行される帳票切替え出力処理の詳細について図5を参照して説明する。図5は、本実施の形態における帳票出力装置100の帳票切替え出力処理の一例を示すフローチャートである。
[Form switching output processing]
First, details of the form switching output process executed by the form output apparatus 100 according to the present embodiment will be described with reference to FIG. FIG. 5 is a flowchart showing an example of the form switching output process of the form output apparatus 100 according to this embodiment.

図5に示すように、まず、属性切替え部102aは、項目属性切替え定義ファイル106bに基づいて、帳票定義体ファイル106aにおける帳票項目の属性を切替える(ステップSA−1)。例えば、属性切替え部102aは、項目名と切替え前後の属性情報が対応付けられた項目属性切替え定義ファイル106bに基づいて、当該項目名に対応する帳票定義体の帳票項目の属性情報を切替え先の属性情報に置換してもよい。ここで、図6は、帳票を日本語対応から英語対応に切替えるために用いる、項目属性切替え定義ファイル106bの構成の一例を示す図である。   As shown in FIG. 5, the attribute switching unit 102a first switches the attribute of the form item in the form definition file 106a based on the item attribute switching definition file 106b (step SA-1). For example, the attribute switching unit 102a, based on the item attribute switching definition file 106b in which the item name and the attribute information before and after the switching are associated with each other, changes the attribute information of the form item of the form definition body corresponding to the item name to the switching destination. It may be replaced with attribute information. Here, FIG. 6 is a diagram showing an example of the configuration of the item attribute switching definition file 106b used for switching the form from Japanese to English.

図6に示すように、多言語展開時における英語対応の帳票に切替えを行う場合、文字列翻訳部102dにより自動的に翻訳結果が変更後の属性値として格納された項目属性切替え定義ファイル106bに基づいて、帳票項目の属性切替えを行ってもよい。より具体的には、図6の各行に示すように、“Form1, Static1”のように帳票名と項目名で指定された帳票項目を、帳票定義体ファイル106aから読み出して、当該帳票項目において、変更前の属性値を、変更後の属性値に切替える。なお、文字列を切替えることに限られず、小数点の位置や単位等を切替えてもよい。なお、属性切替え部102aは、項目名等の帳票項目が指定されていない場合、切替え元の属性情報を検索して、合致した属性情報を切替え先の属性情報に置換してもよい。本実施の形態において、属性切替え部102aは、切替え処理に従って、属性を切替えた帳票項目を有する帳票を、帳票定義体ファイル106aの帳票定義体とは別に、記憶部106に格納してもよい。   As shown in FIG. 6, when switching to an English-compatible form at the time of multilingual development, the item translation switching definition file 106b in which the translation result is automatically stored as a changed attribute value by the character string translation unit 102d. Based on this, the attribute of the form item may be switched. More specifically, as shown in each row of FIG. 6, a form item designated by a form name and an item name such as “Form1, Static1” is read from the form definition file 106a, and Switch the attribute value before the change to the attribute value after the change. Note that the position and unit of the decimal point may be switched without being limited to switching the character string. Note that, when a form item such as an item name is not specified, the attribute switching unit 102a may search the switching source attribute information and replace the matched attribute information with the switching destination attribute information. In the present embodiment, the attribute switching unit 102a may store the form having the form item whose attribute has been switched in the storage unit 106 separately from the form definition body of the form definition file 106a according to the switching process.

再び図5に戻り、帳票出力制御部102bは、帳票定義体ファイル106aに記憶された帳票定義体、項目属性切替え定義ファイル106b、および、データファイル106cに記憶された入力データに基づいて、属性切替え部102aにより属性が切替えられた帳票項目を有する帳票を出力制御する(ステップSA−2)。より具体的には、帳票出力制御部102bは、属性切替え部102aにより記憶部106に一時記憶された、属性が切替えられた帳票項目を有する帳票に、データファイル106cに記憶された入力データを入力して作成した帳票を出力部114に出力してもよい。ここで、図7は、図2に例示した帳票定義体と、図4に例示した入力データと、図6に例示した項目属性切替え定義ファイル106bに基づいて生成される、英語対応の帳票の出力結果の一例を示す図である。   Returning to FIG. 5 again, the form output control unit 102b switches the attribute based on the form definition stored in the form definition file 106a, the item attribute switching definition file 106b, and the input data stored in the data file 106c. The output control is performed for the form having the form item whose attribute is switched by the unit 102a (step SA-2). More specifically, the form output control unit 102b inputs the input data stored in the data file 106c into the form having the form item whose attribute has been switched temporarily stored in the storage unit 106 by the attribute switching unit 102a. The generated form may be output to the output unit 114. Here, FIG. 7 shows the output of the form corresponding to English generated based on the form definition body exemplified in FIG. 2, the input data exemplified in FIG. 4, and the item attribute switching definition file 106b exemplified in FIG. It is a figure which shows an example of a result.

図7に示すように、帳票出力制御部102bは、図6に例示されたような、日本語対応から英語対応へ切替えるための項目属性切替え定義ファイル106bに基づいて、帳票切替え部102aにより各帳票項目が切替えられた英語対応の帳票を出力してもよい。なお、出力形態の一例として、帳票出力制御部102bは、モニタとしての出力部114に帳票を表示させてもよく、プリンタとしての出力部114に帳票を印刷出力してもよく、外部記憶装置としての出力部114に帳票を書き出してもよい。また、帳票出力制御部102bは、ユーザが使用する帳票出力アプリケーションを実行することにより実現される機能であってもよい。そして、ユーザが使用する帳票出力アプリケーションで、項目属性切替え定義ファイル106bを指定することにより、帳票出力制御部102bは、ユーザにより指定された項目属性切替え定義ファイル106bを読み込むことにより属性切替え部102aに属性情報を切替えさせ、指定された帳票にて出力を行ってもよい。   As shown in FIG. 7, the form output control unit 102b uses the form switching unit 102a to execute each form based on the item attribute switching definition file 106b for switching from Japanese to English as illustrated in FIG. An English-compatible form in which items are switched may be output. As an example of the output form, the form output control unit 102b may display the form on the output unit 114 as a monitor, print out the form on the output unit 114 as a printer, or as an external storage device. A form may be written to the output unit 114. Further, the form output control unit 102b may be a function realized by executing a form output application used by the user. Then, by specifying the item attribute switching definition file 106b in the form output application used by the user, the form output control unit 102b reads the item attribute switching definition file 106b specified by the user to read the attribute switching unit 102a. The attribute information may be switched and output may be performed using a designated form.

これにて、帳票切替え出力処理が終了する。   This completes the form switching output process.

[突合せ処理]
ここで、上述したステップSA−1において属性切替え部102aにより実行される、帳票定義体と項目属性切替え定義ファイル106bとのテーブルの突合せ処理の一例について、図8および図9を参照して説明する。図8は、帳票定義体と項目属性切替え定義ファイル106bの対応関係の一例を示す図である。
[Matching process]
Here, an example of a table matching process between the form definition body and the item attribute switching definition file 106b, which is executed by the attribute switching unit 102a in step SA-1 described above, will be described with reference to FIGS. . FIG. 8 is a diagram showing an example of the correspondence between the form definition body and the item attribute switching definition file 106b.

項目属性切替え定義ファイル106bのデータ構成例として上述した図3および図6において、“LITERAL_STRING”や“NUM_DECIMAL_PLACES”等は、その後に規定された文字列や数字等の属性値の種別を識別するための属性識別子である。一例として、属性切替え部102aは、この属性識別子を用いて、帳票定義体の各テーブルとの突合せを行う。例えば、図8に両矢印で対応付けられるように、“NUM_DECIMAL_FORMAT”は、定義体情報上の区切り編集文字を指定する。また、“NUM_DECIMAL_PLACES”、“NUM_DECIMAL_PLACES_SUPPRESS”および“NUM_DECIMAL_PLACES_FORMAT”は、それぞれ、項目情報テーブル上の小数部桁数、小数点の出力有無および小数部の編集形式を指定する。また、“FONT_JAPANESE”および“FONT_ENGLISH”は、フォント名テーブル上のフォント名を指定する。また、“DATE_FORMAT_STRING”は、拡張編集形式テーブル上の日付編集文字列を指定する。また、“LITERAL_STRING”は、固定文字列テーブル上の文字列を指定する。また、“LITERAL_LABEL”は、ラベル文字列テーブル上のラベルを指定する。また、“CURRENCY_SYMBOL”は、通貨記号文字テーブル上の通貨記号を指定する。このように、項目属性切替え定義ファイル106bでは、帳票出力時に切替えたい属性ごとに一行ずつ、帳票名と項目名と属性識別子に対応付けて格納される。   In FIG. 3 and FIG. 6 described above as the data configuration example of the item attribute switching definition file 106b, “LITERAL_STRING”, “NUM_DECIMAL_PLACES”, and the like are used to identify the type of attribute values such as character strings and numbers defined thereafter It is an attribute identifier. As an example, the attribute switching unit 102a performs matching with each table of the form definition body using the attribute identifier. For example, “NUM_DECIMAL_FORMAT” designates a delimiter edit character on the definition information, as shown by the double arrows in FIG. “NUM_DECIMAL_PLACES”, “NUM_DECIMAL_PLACES_SUPPRESS”, and “NUM_DECIMAL_PLACES_FORMAT” specify the number of decimal part digits, whether or not to output a decimal point, and the decimal part editing format, respectively. “FONT_JAPANESE” and “FONT_ENGLISH” designate font names on the font name table. “DATE_FORMAT_STRING” designates a date edit character string on the extended edit format table. “LITERAL_STRING” designates a character string on the fixed character string table. “LITERAL_LABEL” designates a label on the label character string table. “CURRENT_SYMBOL” designates a currency symbol on the currency symbol character table. As described above, in the item attribute switching definition file 106b, one line is stored for each attribute to be switched at the time of outputting the form in association with the form name, the item name, and the attribute identifier.

一例として、属性切替え部102aは、項目属性切替え定義ファイル106bに記憶された属性識別子に基づいて、項目属性の種別を識別し、対応する帳票定義体の帳票項目の属性を、属性の種別に従って出力時の属性に変更する。ここで、図9は、項目属性切替え定義ファイル106bと、属性切替え部102aにより生成され記憶部106に一時記憶される帳票データの関係を示す図である。   As an example, the attribute switching unit 102a identifies the item attribute type based on the attribute identifier stored in the item attribute switching definition file 106b, and outputs the attribute of the form item of the corresponding form definition body according to the attribute type. Change to the hour attribute. Here, FIG. 9 is a diagram showing the relationship between the item attribute switching definition file 106b and the form data generated by the attribute switching unit 102a and temporarily stored in the storage unit 106.

図9に示すように、項目属性切替え定義の第1行目の“,,FONT_ENGLISH,明朝, Mincho”に従って、属性切替え部102aは、フォント名テーブルの英文フォントを、全ての項目(Item1,2,・・・)において“明朝”から“Mincho”に変更する。また、項目属性切替え定義の第2行目の“,,LITERAL_STRING,”文字列”,”データ”に従って、属性切替え部102aは、全ての項目(Item1,2,・・・)の固有文字列テーブルの文字列から“文字列”を検索し、合致した“文字列”を“データ”に変更する。また、項目属性切替え定義の第3行目の“Form1,Item2,NUM_DECIMAL_PLACES,0,2”に従って、属性切替え部102aは、帳票名Form1,項目名Item2の項目において、小数部桁数を0から2に変更する。また、項目属性切替え定義の第4行目の“Form1,Item2,CURRENCY_SYMBOL_PLACES,”Yen”,”¥””に従って、属性切替え部102aは、帳票名Form1,項目名Item2の項目において、通貨記号を”Yen”から”¥”に変更する。このように、属性切替え部102aは、属性が切替えられた帳票項目を有する帳票を作成して帳票データを記憶部106に一時記憶させる。   As shown in FIG. 9, in accordance with “,, FONT_ENGLISH, Mincho, Mincho” in the first line of the item attribute switching definition, the attribute switching unit 102a converts the English fonts of the font name table to all items (Item 1, Item 2). ,..., “Mincho” is changed to “Mincho”. Further, according to “, LITERAL_STRING,“ character string ”,“ data ”in the second line of the item attribute switching definition, the attribute switching unit 102a performs the unique character string table of all items (Item 1, 2,...). “Character string” is searched from the character string of “” and the matched “character string” is changed to “data.” Also, according to “Form1, Item2, NUM_DECIMAL_PLACES, 0, 2” on the third line of the item attribute switching definition The attribute switching unit 102a changes the number of decimal part digits from 0 to 2 in the item of the form name Form1, item name Item 2. Also, “Form1, Item2, CURRENCY_SYMBOL_PLACES,” on the fourth line of the item attribute switching definition. According to “Yen”, “¥” ”, the attribute switching unit 102a determines the form name Form1, item. In the Item 2 item, the currency symbol is changed from “Yen” to “¥.” In this way, the attribute switching unit 102 a creates a form having a form item whose attribute has been switched, and stores the form data in the storage unit 106. Temporary storage.

[帳票出力システム構築処理]
つづいて、帳票出力装置100により実行される、帳票出力システム構築処理の一例について図10および図11を参照して説明する。ここで、図10は、帳票出力装置100により実行される、帳票出力システム構築処理の一例を示すフローチャートである。
[Form output system construction process]
Next, an example of a form output system construction process executed by the form output apparatus 100 will be described with reference to FIGS. 10 and 11. Here, FIG. 10 is a flowchart illustrating an example of a form output system construction process executed by the form output apparatus 100.

この帳票出力システム構築処理では、帳票出力を行う実際の運用前に、帳票定義体の確認から帳票出力の確認までを行い、帳票を出力するシステムを構築することを目的とする。   The purpose of this form output system construction processing is to construct a system for outputting a form by confirming the form definition body to confirming the form output before the actual operation of outputting the form.

図10に示すように、まず、帳票出力装置100の制御部102は、基本となる帳票定義体を作成および/または編集する(ステップSB−1)。例えば、制御部102は、帳票定義体ファイル106aに記憶された複数の帳票定義体の中から、目的にあった帳票定義体を、システムの構築者に入力部112を介して選択させることにより、帳票定義体を作成してもよい。また、制御部102は、基本となる帳票定義体のレイアウト等をシステム構築者に入力部112を介して変更させることにより帳票の編集を行ってもよい。   As shown in FIG. 10, first, the control unit 102 of the form output device 100 creates and / or edits a basic form definition body (step SB-1). For example, the control unit 102 causes the system builder to select a form definition body suitable for the purpose from a plurality of form definition bodies stored in the form definition file 106a, via the input unit 112. A form definition body may be created. Further, the control unit 102 may edit the form by causing the system builder to change the layout or the like of the basic form definition body via the input unit 112.

そして、属性情報抽出部102cは、帳票定義体ファイル106aに記憶された帳票定義体から帳票項目の属性情報を抽出し、項目属性切替え定義ファイル106bを作成および/または編集する(ステップSB−2)。例えば、属性情報抽出部102cは、項目属性切替え定義ファイル106bを作成するための抽出対象や翻訳有無等を選択可能な設定画面を表示させてもよい。ここで、図11は、属性情報抽出部102cにより表示される設定画面の一例を示す図である。なお、この例では、切替え先の属性情報を入力する前の雛形となる項目属性切替え定義ファイル106bを雛形ファイルと呼称している。   Then, the attribute information extraction unit 102c extracts the attribute information of the form item from the form definition stored in the form definition file 106a, and creates and / or edits the item attribute switching definition file 106b (step SB-2). . For example, the attribute information extraction unit 102c may display a setting screen that allows selection of an extraction target, translation presence / absence, and the like for creating the item attribute switching definition file 106b. Here, FIG. 11 is a diagram illustrating an example of a setting screen displayed by the attribute information extraction unit 102c. In this example, the item attribute switching definition file 106b serving as a template before inputting the attribute information of the switching destination is referred to as a template file.

図11に示すように、属性情報抽出部102cにより表示される設定画面は、雛形ファイルの形式指定画面MA−1と、出力する項目属性の指定画面MA−2と、多言語に関する切替え情報を出力する画面MA−3を含んで構成される。ここで、雛形ファイルの形式指定画面MA−1において、帳票名/項目名を出力するチェックボックスをクリック等することによりチェックを入れると、属性情報抽出部102cは、帳票/項目毎に項目属性を抽出して雛形ファイル(項目属性切替え定義ファイル106b)を作成する。   As shown in FIG. 11, the setting screen displayed by the attribute information extraction unit 102c outputs a template file format designation screen MA-1, an output item attribute designation screen MA-2, and multilingual switching information. Screen MA-3. Here, when a check is made by clicking a check box for outputting a form name / item name on the template file format designation screen MA-1, the attribute information extraction unit 102c assigns an item attribute for each form / item. A template file (item attribute switching definition file 106b) is created by extraction.

また、出力する項目属性の指定画面MA−2において、項目属性の分類(すべての選択、フォント、リテラル、数値、通貨、日付等)のチェックボックスにチェックを入れると、属性情報抽出部102cは、属性識別子等に従って帳票定義体から、その項目属性の分類の属性を抽出して雛形ファイル(項目属性切替え定義ファイル106b)を作成する。   When the item attribute classification (all selections, font, literal, numerical value, currency, date, etc.) is checked on the item attribute designation screen MA-2 to be output, the attribute information extraction unit 102c A template file (item attribute switching definition file 106b) is created by extracting the attribute of the item attribute classification from the form definition body according to the attribute identifier or the like.

また、多言語に関する切替え情報を出力する画面MA−3において、「リテラルを翻訳する」とのチェックボックスにチェックを入れると、文字列翻訳部102dは、抽出された属性について翻訳を行い、翻訳結果を切替え先の属性値に指定して項目属性切替え定義ファイル106bを作成する。なお、図11に示すように、この例では、文字列翻訳部102dは、指定の翻訳アプリケーションを用いて翻訳を行うため、当該画面MA−3は翻訳アプリケーションの設定画面MA−4を含む。なお、機械翻訳を行わない場合、項目属性編集部102fは、抽出された属性について、利用者に入力部112を介して切替え先の属性情報を入力させることにより、項目属性切替え定義ファイル106bの編集を行ってもよい。ここで、図12は、編集前と編集後の項目属性切替え定義情報を模式的に示した図である。   In addition, in the screen MA-3 for outputting switching information related to multilinguals, when the checkbox “Translate literal” is checked, the character string translation unit 102d translates the extracted attribute, and the translation result Is specified as the attribute value of the switching destination to create the item attribute switching definition file 106b. As shown in FIG. 11, in this example, since the character string translation unit 102d performs translation using a designated translation application, the screen MA-3 includes a translation application setting screen MA-4. When machine translation is not performed, the item attribute editing unit 102f edits the item attribute switching definition file 106b by causing the user to input the attribute information of the switching destination via the input unit 112 for the extracted attribute. May be performed. Here, FIG. 12 is a diagram schematically showing item attribute switching definition information before and after editing.

上述した、出力する項目属性の指定画面MA−2において、リテラルにチェックを入れた場合、図12の矢尻側の矩形に示すように、項目属性切替え定義ファイル106bは、切替え元の属性値(文字列等)のみが格納されており、切替え先の属性値は入力されていない。そこで、項目属性編集部102fは、テキストエディタ機能等を使用して、項目属性切替え定義ファイル106bに格納された当該テキスト形式のデータを表示し、システム構築者に入力部112を介して切替え先の属性値を入力させるよう制御することにより、編集処理を行ってもよい。この例では、図12の矢先側の矩形に示すように、“○○株式会社”の後に“△△株式会社”と入力することにより、帳票上の“○○株式会社”を一括して“△△株式会社”に置き換えるように指定する編集を行っている。   When the literal is checked on the item attribute designation screen MA-2 to be output as described above, the item attribute switching definition file 106b displays the attribute value (character Only the column etc.) is stored, and the attribute value of the switching destination is not input. Therefore, the item attribute editing unit 102f displays the data in the text format stored in the item attribute switching definition file 106b using a text editor function or the like, and notifies the system builder of the switching destination via the input unit 112. Editing processing may be performed by controlling the input of attribute values. In this example, as shown by the rectangle on the side of the arrow in FIG. 12, by inputting “△△ Corporation” after “XX Corporation”, “XX Corporation” on the form is collectively displayed as “ Editing to specify to replace “△△ Corporation”.

再び図10に戻り、帳票出力制御部102bは、システム構築者に確認させるため、ステップSB−1にて作成および/または編集した帳票定義体ファイル106aと、ステップSB−2にて作成および/または編集した項目属性切替え定義ファイル106bに基づいて、入力データが未入力の帳票を出力部112にプレビューとして表示させる(ステップSB−3)。すなわち、プレビュー時のパラメタとして、項目属性切替え定義ファイル106bが指定される。   Returning to FIG. 10 again, the form output control unit 102b creates and / or creates the form definition file 106a created and / or edited in step SB-1 and / or step SB-2 in order to make the system builder check. Based on the edited item attribute switching definition file 106b, a form with no input data is displayed as a preview on the output unit 112 (step SB-3). That is, the item attribute switching definition file 106b is designated as a parameter at the time of preview.

そして、項目属性編集部102fは、項目属性切替え定義ファイル106bに設定の誤りがあり修正が必要か否かをシステム構築者に入力部112を介して選択させる(ステップSB−4)。例えば、項目属性編集部102fは、「切替え内容を再編集しますか?」との文章とともにYES/NOボタンを出力部114に表示させてもよい。   Then, the item attribute editing unit 102f causes the system builder to select whether or not the item attribute switching definition file 106b has a setting error and needs to be corrected via the input unit 112 (step SB-4). For example, the item attribute editing unit 102f may display a YES / NO button on the output unit 114 together with a sentence “Do you want to re-edit the switching content?”.

そして、システム構築者により切替え内容の修正が必要であると指定された場合(ステップSB−4,Yes)、項目属性編集部102fは、ステップSB−2に処理を戻し、上述したステップSB−2およびSB−3の処理を繰返す。   When the system builder designates that the switching content needs to be corrected (Yes in step SB-4), the item attribute editing unit 102f returns the process to step SB-2 and performs the above-described step SB-2. And the process of SB-3 is repeated.

一方、システム構築者により切替え内容の修正が必要ないと指定された場合(ステップSB−4,No)、制御部102は、帳票定義体のレイアウトについて修正が必要か否かをシステム構築者に入力部112を介して選択させる(ステップSB−5)。例えば、制御部102は、「レイアウトを変更しますか?」との文章とともにYES/NOボタンを出力部114に表示させてもよい。   On the other hand, when it is specified by the system builder that correction of switching contents is not necessary (step SB-4, No), the control unit 102 inputs to the system builder whether or not the layout of the form definition body needs to be corrected. The selection is made via the unit 112 (step SB-5). For example, the control unit 102 may display a YES / NO button on the output unit 114 together with a sentence “Do you want to change the layout?”.

そして、システム構築者によりレイアウトの修正が必要であると指定された場合(ステップSB−5,Yes)、制御部102、ステップSB−1に処理を戻し、上述したステップSB−1〜SB−4の処理を繰返す。   When the system builder designates that the layout needs to be corrected (step SB-5, Yes), the process returns to the control unit 102 and step SB-1, and the above-described steps SB-1 to SB-4 are performed. Repeat the process.

一方、システム構築者によりレイアウトの修正が必要ないと指定された場合(ステップSB−5,No)、制御部102は、帳票出力アプリケーションの開発を行う(ステップSB−6)。より具体的には、システム開発者は、インターフェースの選定や、帳票出力制御部102bの機能を含むように、帳票出力アプリケーションの作成を行う。なお、帳票出力アプリケーションのパラメタとして、ステップSB−2で作成および/または編集された項目属性切替え定義ファイル106bを指定する。これにより、ユーザが使用する帳票出力アプリケーションで、パラメタとして項目属性切替え定義ファイルが指定されることにより、基本となる帳票定義体から目的の帳票を、自動的かつ多様に作成することができる。   On the other hand, when it is designated by the system builder that no layout correction is necessary (step SB-5, No), the control unit 102 develops a form output application (step SB-6). More specifically, the system developer creates a form output application so as to include interface selection and the function of the form output control unit 102b. Note that the item attribute switching definition file 106b created and / or edited in step SB-2 is designated as a parameter of the form output application. Thus, by specifying the item attribute switching definition file as a parameter in the form output application used by the user, the target form can be automatically and variously created from the basic form definition body.

そして、作成した帳票出力アプリケーションが実行されることにより機能する帳票出力制御部102bは、帳票出力アプリケーションでパラメタとして指定された項目属性切替え定義ファイル106bと、その項目属性切替え定義情報にて指定された帳票定義体ファイル106aに記憶された帳票定義体と、データファイル106cに記憶された入力データとに基づいて、属性切替え部102aにより属性が切替えられた帳票項目を有する帳票を運用テストとして出力制御する(ステップSB−7)。すなわち、この運用テストでは、ステップSB−3にて上述したプレビューとは異なり、入力データが入力された実際の帳票出力態様で出力される。ここで、図13は、基本となる帳票定義体において定義された帳票、および、当該帳票定義体と項目属性切替え定義情報と入力データに基づいて出力される帳票を対比して示した図である。なお、図13の矢尻側の矩形が基本となる帳票定義体において定義された帳票、矢先側の矩形が運用テストとして出力される帳票をあらわしている。   The form output control unit 102b, which functions by executing the created form output application, is specified by the item attribute switching definition file 106b specified as a parameter in the form output application and the item attribute switching definition information. Based on the form definition stored in the form definition file 106a and the input data stored in the data file 106c, output control is performed for a form having a form item whose attribute is switched by the attribute switching unit 102a as an operation test. (Step SB-7). That is, in this operation test, unlike the preview described above in step SB-3, the input data is output in an actual form output mode. Here, FIG. 13 is a diagram showing a form defined in a basic form definition body, and a form output based on the form definition body, item attribute switching definition information, and input data. . Note that the form defined in the form definition body based on the arrowhead side rectangle in FIG. 13 and the form output as an operation test are shown on the arrowhead side rectangle.

図13に示すように、この例では、図12に項目属性切替え定義情報として示したように、帳票上の“○○株式会社”を一括して“△△株式会社”に置き換えるように定義されているので、属性切替え部102aにより属性が切替えられた帳票項目を有する帳票を作成するとともに、帳票出力制御部102bは、さらに、入力データを入力して、実際の運用場面で表示される表示態様にて出力を行う。   As shown in FIG. 13, in this example, as shown in FIG. 12 as the item attribute switching definition information, it is defined so that “XX Corporation” on the form is collectively replaced with “△△ Corporation”. Therefore, a form having a form item whose attribute is switched by the attribute switching unit 102a is created, and the form output control unit 102b further inputs the input data and is displayed in an actual operation situation. Outputs with.

そして、項目属性編集部102fは、項目属性切替え定義ファイル106bに設定の誤りがあり修正が必要か否かをシステム構築者に入力部112を介して選択させる(ステップSB−8)。上述のように、項目属性編集部102fは、「切替え内容を再編集しますか?」との文章とともにYES/NOボタンを出力部114に表示させてもよい。   Then, the item attribute editing unit 102f causes the system builder to select whether or not the item attribute switching definition file 106b has a setting error and needs to be corrected via the input unit 112 (step SB-8). As described above, the item attribute editing unit 102f may cause the output unit 114 to display the YES / NO button together with the sentence “Do you want to re-edit the switching content?”.

そして、システム構築者により切替え内容の修正が必要であると指定された場合(ステップSB−8,Yes)、項目属性編集部102fは、ステップSB−2に処理を戻し、上述したステップSB−2〜SB−7の処理を繰返す。   When the system builder designates that the switching content needs to be corrected (step SB-8, Yes), the item attribute editing unit 102f returns the process to step SB-2 and performs the above-described step SB-2. Repeat the process of SB-7.

一方、システム構築者により切替え内容の修正が必要ないと指定された場合(ステップSB−8,No)、制御部102は、帳票定義体のレイアウトについて修正が必要か否かをシステム構築者に入力部112を介して選択させる(ステップSB−9)。上述のように、制御部102は、「レイアウトを変更しますか?」との文章とともにYES/NOボタンを出力部114に表示させてもよい。   On the other hand, when it is specified by the system builder that correction of the switching content is not necessary (step SB-8, No), the control unit 102 inputs to the system builder whether or not the layout of the form definition body needs to be corrected. The selection is made via the unit 112 (step SB-9). As described above, the control unit 102 may display the YES / NO button on the output unit 114 together with the sentence “Do you want to change the layout?”.

そして、システム構築者によりレイアウトの修正が必要であると指定された場合(ステップSB−9,Yes)、制御部102は、ステップSB−1に処理を戻し、上述したステップSB−1〜SB−8の処理を繰返す。   When the system builder designates that the layout needs to be corrected (step SB-9, Yes), the control unit 102 returns the process to step SB-1 and performs the above-described steps SB-1 to SB-. The process of 8 is repeated.

一方、システム構築者によりレイアウトの修正が必要ないと指定され、運用テストに合格した場合(ステップSB−9,No)、帳票出力システム構築処理が終了し、帳票を出力するシステムの構築が完了する。これにより、作成した帳票出力システムを運用に供することができる。   On the other hand, when the system builder designates that layout correction is not necessary and the operation test is passed (step SB-9, No), the form output system construction process ends, and the construction of the system for outputting the form is completed. . Thereby, the created form output system can be put into operation.

[帳票出力処理]
つづいて、上述のように構築された帳票出力システムに従って実行される帳票出力処理の一例について図14および図15を参照して説明する。図14は、帳票出力処理の一例を示すフローチャートである。
[Form output processing]
Next, an example of a form output process executed according to the form output system constructed as described above will be described with reference to FIGS. 14 and 15. FIG. 14 is a flowchart illustrating an example of a form output process.

まず、図14に示すように、開発された帳票出力アプリケーションの実行により機能する帳票出力制御部102bは、帳票定義体ファイル106aを参照して、指定された帳票定義体を読み込む(ステップSC−1)。   First, as shown in FIG. 14, the form output control unit 102b that functions by executing the developed form output application reads the specified form definition body with reference to the form definition file 106a (step SC-1). ).

そして、帳票出力制御部102bは、帳票出力アプリケーションにおいてパラメタとして、項目属性切替え定義ファイル106bが指定されているか否かを判定する(ステップSC−2)。項目属性切替え定義ファイル106bが指定されていない場合(ステップSC−2,No)、帳票出力制御部102bは、項目属性切替え定義情報による帳票項目の切替えを行うことなく、帳票定義体と入力データに基づいて帳票出力を行うため、ステップSC−5に処理を移行させる。   Then, the form output control unit 102b determines whether or not the item attribute switching definition file 106b is designated as a parameter in the form output application (step SC-2). When the item attribute switching definition file 106b is not specified (step SC-2, No), the form output control unit 102b converts the form item and the input data without switching the form item based on the item attribute switching definition information. In order to output a form based on this, the process proceeds to step SC-5.

一方、項目属性切替え定義ファイル106bが帳票出力アプリケーションのパラメタとして指定されている場合(ステップSC−2,Yes)、帳票出力制御部102bは、属性切替え部102aの処理により、対応する項目属性切替え定義ファイル106bから項目属性切替え定義情報を読み込む(ステップSC−3)。   On the other hand, when the item attribute switching definition file 106b is specified as a parameter of the form output application (step SC-2, Yes), the form output control unit 102b performs the corresponding item attribute switching definition by the processing of the attribute switching unit 102a. The item attribute switching definition information is read from the file 106b (step SC-3).

そして、帳票出力制御部102bは、ステップSC−1にて読み込んだ帳票定義体の項目属性を、属性切替え部102aの処理により、項目属性切替え定義ファイル106bで指定された属性情報で上書きする(ステップSC−4)。なお、本実施の形態においては、帳票出力制御部102bは、帳票定義体ファイル106aにおいて上書きを行うのではなく、記憶部106のメモリ上に一時記憶された帳票データ上において、属性情報を上書きする。ここで、図15は、属性切替え部102aにより実行される、データフローを模式的に示した図である。   Then, the form output control unit 102b overwrites the item attribute of the form definition body read in Step SC-1 with the attribute information specified in the item attribute switching definition file 106b by the processing of the attribute switching unit 102a (Step S1). SC-4). In the present embodiment, the form output control unit 102b does not overwrite the form definition file 106a, but overwrites the attribute information on the form data temporarily stored in the memory of the storage unit 106. . Here, FIG. 15 is a diagram schematically showing a data flow executed by the attribute switching unit 102a.

図15に示すように、項目属性切替え定義ファイル106bは、変更対象項目の特定情報として帳票名と項目名が記憶されており、項目属性の種類の特定情報として属性種別(属性識別子等)が記憶されており、変更対象の特定情報として、帳票定義体に定義されている変更前のデータ(属性値等)が記憶されている。属性切替え部102aは、項目属性切替え定義ファイル106bに記憶された、これらのデータに基づいて、帳票定義体と突合せを行い変更対象の項目属性を抽出する。そして、抽出した変更対象の項目属性の変更前のデータを、変更するデータに置き換えることにより、帳票項目の属性を切替えた帳票出力が可能となる。   As shown in FIG. 15, in the item attribute switching definition file 106b, the form name and the item name are stored as the specific information of the item to be changed, and the attribute type (attribute identifier, etc.) is stored as the specific information of the item attribute type. The data before change (attribute value etc.) defined in the form definition body is stored as the specific information to be changed. Based on these data stored in the item attribute switching definition file 106b, the attribute switching unit 102a matches the form definition body and extracts the item attribute to be changed. Then, by replacing the extracted data before the change of the item attribute to be changed with the data to be changed, it is possible to output a form in which the attributes of the form item are switched.

再び図14に戻り、帳票出力制御部102bは、属性切替え部102aにより属性が切替えられた帳票項目を有する帳票において、データファイル106cから取得した入力データを入力し、帳票定義体にて定義されるレイアウトを重畳させて、出力態様の帳票を生成する(ステップSC−5)。   Returning to FIG. 14 again, the form output control unit 102b inputs the input data acquired from the data file 106c in the form having the form item whose attribute is switched by the attribute switching unit 102a, and is defined by the form definition body. An output form form is generated by superimposing the layout (step SC-5).

最後に、帳票出力制御部102bは、生成した帳票が出力されるように制御する(ステップSC−6)。例えば、帳票出力制御部102bは、モニタとしての出力部114に帳票を表示させてもよく、プリンタとしての出力部114に帳票を印刷出力してもよく、外部記憶装置としての出力部114に帳票データをファイル出力してもよい。   Finally, the form output control unit 102b performs control so that the generated form is output (step SC-6). For example, the form output control unit 102b may display the form on the output unit 114 as a monitor, print the form on the output unit 114 as a printer, or output the form to the output unit 114 as an external storage device. Data may be output to a file.

以上で、本実施形態の説明を終える。   This is the end of the description of the present embodiment.

[他の実施の形態]
さて、これまで本発明の実施の形態について説明したが、本発明は、上述した実施の形態以外にも、特許請求の範囲に記載した技術的思想の範囲内において種々の異なる実施の形態にて実施されてよいものである。
[Other embodiments]
Although the embodiments of the present invention have been described so far, the present invention is not limited to the above-described embodiments, but can be applied to various different embodiments within the scope of the technical idea described in the claims. It may be implemented.

例えば、帳票出力装置100は、ネットワークを介して接続されたサーバ等であって、帳票出力装置100とは別筐体のクライアント端末からの要求に応じて処理を行い、その処理結果を当該クライアント端末に返却するようにしてもよい。   For example, the form output device 100 is a server or the like connected via a network, and performs processing in response to a request from a client terminal in a separate housing from the form output device 100, and the processing result is transmitted to the client terminal. You may make it return to.

また、実施の形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。   In addition, among the processes described in the embodiment, all or part of the processes described as being automatically performed can be performed manually, or the processes described as being performed manually can be performed. All or a part can be automatically performed by a known method.

このほか、上記文献中や図面中で示した処理手順、制御手順、具体的名称、各処理の登録データや検索条件等のパラメータを含む情報、画面例、データベース構成については、特記する場合を除いて任意に変更することができる。   In addition, unless otherwise specified, the processing procedures, control procedures, specific names, information including registration data for each processing, parameters such as search conditions, screen examples, and database configurations shown in the above documents and drawings Can be changed arbitrarily.

また、帳票出力装置100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。   In addition, regarding the form output device 100, each illustrated component is functionally conceptual and does not necessarily need to be physically configured as illustrated.

例えば、帳票出力装置100の各装置が備える処理機能、特に制御部102にて行われる各処理機能については、その全部または任意の一部を、CPU(Central Processing Unit)および当該CPUにて解釈実行されるプログラムにて実現してもよく、また、ワイヤードロジックによるハードウェアとして実現してもよい。尚、プログラムは、後述する、コンピュータに本発明に係る方法を実行させるためのプログラム化された命令を含む、一時的でないコンピュータ読み取り可能な記録媒体に記録されており、必要に応じて帳票出力装置100に機械的に読み取られる。すなわち、ROMまたはHDD(Hard Disk Drive)などの記憶部106などには、OS(Operating System)と協働してCPUに命令を与え、各種処理を行うためのコンピュータプログラムが記録されている。このコンピュータプログラムは、RAMにロードされることによって実行され、CPUと協働して制御部を構成する。   For example, the processing functions provided in each device of the form output device 100, in particular, the processing functions performed by the control unit 102, all or any part thereof are interpreted and executed by a CPU (Central Processing Unit) and the CPU. It may be realized by a program to be executed, or may be realized as hardware by wired logic. The program is recorded on a non-temporary computer-readable recording medium including a programmed instruction for causing a computer to execute the method according to the present invention, which will be described later, and a form output device as necessary. 100 mechanically read. That is, in the storage unit 106 such as a ROM or an HDD (Hard Disk Drive), a computer program for giving instructions to the CPU and performing various processes in cooperation with the OS (Operating System) is recorded. This computer program is executed by being loaded into the RAM, and constitutes a control unit in cooperation with the CPU.

また、このコンピュータプログラムは、帳票出力装置100に対して任意のネットワークを介して接続されたアプリケーションプログラムサーバに記憶されていてもよく、必要に応じてその全部または一部をダウンロードすることも可能である。   The computer program may be stored in an application program server connected to the form output device 100 via an arbitrary network, and may be downloaded in whole or in part as necessary. is there.

また、本発明に係るプログラムを、コンピュータ読み取り可能な記録媒体に格納してもよく、また、プログラム製品として構成することもできる。ここで、この「記録媒体」とは、メモリーカード、USBメモリ、SDカード、フレキシブルディスク、光磁気ディスク、ROM、EPROM、EEPROM、CD−ROM、MO、DVD、および、Blu−ray Disc等の任意の「可搬用の物理媒体」を含むものとする。   In addition, the program according to the present invention may be stored in a computer-readable recording medium, and may be configured as a program product. Here, the “recording medium” is any memory card, USB memory, SD card, flexible disk, magneto-optical disk, ROM, EPROM, EEPROM, CD-ROM, MO, DVD, Blu-ray Disc, etc. Of “portable physical media”.

また、「プログラム」とは、任意の言語や記述方法にて記述されたデータ処理方法であり、ソースコードやバイナリコード等の形式を問わない。なお、「プログラム」は必ずしも単一的に構成されるものに限られず、複数のモジュールやライブラリとして分散構成されるものや、OS(Operating System)に代表される別個のプログラムと協働してその機能を達成するものをも含む。なお、実施の形態に示した各装置において記録媒体を読み取るための具体的な構成、読み取り手順、あるいは、読み取り後のインストール手順等については、周知の構成や手順を用いることができる。   The “program” is a data processing method described in an arbitrary language or description method, and may be in any format such as source code or binary code. The “program” is not necessarily limited to a single configuration, but is distributed in the form of a plurality of modules and libraries, or in cooperation with a separate program represented by an OS (Operating System). Including those that achieve the function. Note that a well-known configuration and procedure can be used for a specific configuration for reading a recording medium, a reading procedure, an installation procedure after reading, and the like in each device described in the embodiment.

記憶部106に格納される各種のデータベース等(帳票定義体ファイル106a、および、項目属性切替え定義ファイル106b)は、RAM、ROM等のメモリ装置、ハードディスク等の固定ディスク装置、フレキシブルディスク、および、光ディスク等のストレージ手段であり、各種処理やウェブサイト提供に用いる各種のプログラム、テーブル、データベース、および、ウェブページ用ファイル等を格納する。   Various databases and the like (form definition file 106a and item attribute switching definition file 106b) stored in the storage unit 106 are a memory device such as RAM and ROM, a fixed disk device such as a hard disk, a flexible disk, and an optical disk. And stores various programs, tables, databases, web page files, and the like used for various processes and website provision.

また、帳票出力装置100は、既知のパーソナルコンピュータ、ワークステーション等の情報処理装置として構成してもよく、また、該情報処理装置に任意の周辺装置を接続して構成してもよい。また、帳票出力装置100は、該情報処理装置に本発明の方法を実現させるソフトウェア(プログラム、データ等を含む)を実装することにより実現してもよい。   The form output apparatus 100 may be configured as an information processing apparatus such as a known personal computer or workstation, or may be configured by connecting an arbitrary peripheral device to the information processing apparatus. Further, the form output apparatus 100 may be realized by installing software (including programs, data, and the like) that enables the information processing apparatus to implement the method of the present invention.

更に、装置の分散・統合の具体的形態は図示するものに限られず、その全部または一部を、各種の付加等に応じて、または、機能負荷に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。すなわち、上述した実施形態を任意に組み合わせて実施してもよく、実施形態を選択的に実施してもよい。   Furthermore, the specific form of distribution / integration of the devices is not limited to that shown in the figure, and all or a part of them may be functional or physical in arbitrary units according to various additions or according to functional loads. Can be distributed and integrated. That is, the above-described embodiments may be arbitrarily combined and may be selectively implemented.

以上詳述に説明したように、本発明によれば、帳票定義体の設計や設定変更にかかるコストと時間を削減して効率化を図ることができる帳票出力装置、帳票出力方法、および、プログラムを提供することができるので、帳票出力に関する情報端末や情報通信分野等の様々な分野において利用可能である。   As described above in detail, according to the present invention, a form output device, a form output method, and a program capable of reducing the cost and time required for the design and setting change of the form definition body and improving efficiency. Therefore, it can be used in various fields such as information terminals related to form output and information communication fields.

100 帳票出力装置
102 制御部
102a 属性切替え部
102b 帳票出力制御部
102c 属性情報抽出部
102d 文字列翻訳部
102f 項目属性編集部
102g アプリケーション部
106 記憶部
106a 帳票定義体ファイル
106b 項目属性切替え定義ファイル
106c データファイル
104 通信制御インターフェース部
108 入出力制御インターフェース部
112 入力部
114 出力部
300 ネットワーク
200 外部機器
100 form output device
102 Control unit
102a Attribute switching unit
102b Form output control unit
102c Attribute information extraction unit
102d Character string translation part
102f Item attribute editing section
102g application part
106 Storage unit
106a Form definition file
106b Item attribute switching definition file
106c Data file
104 Communication control interface unit
108 Input / output control interface
112 Input section
114 Output unit 300 Network 200 External device

Claims (8)

記憶部と制御部を少なくとも備えた帳票出力装置において、
上記記憶部は、
帳票項目の属性を少なくとも定義する帳票定義体と、
上記帳票定義体の上記帳票項目において切替える属性を定義する項目属性切替え定義ファイルと、
を記憶し、
上記制御部は、
属性切替え時に、上記帳票項目が指定されていない場合、上記項目属性切替え定義ファイルに基づいて、切替え元の上記属性を検索して、合致した上記帳票定義体における上記帳票項目の上記属性を切替え先の属性に切替える属性切替え手段と、
上記帳票定義体、上記項目属性切替え定義ファイル、および、データファイルに記憶された入力データに基づいて、上記属性切替え手段により上記属性が切替えられた上記帳票項目を有する帳票を作成するとともに、上記入力データが入力された当該帳票を表示させる帳票出力制御手段と、
を備えたことを特徴とする帳票出力装置。
In a form output device having at least a storage unit and a control unit,
The storage unit
A form definition body that defines at least the attributes of the form item;
An item attribute switching definition file that defines attributes to be switched in the form item of the form definition body,
Remember
The control unit
If the form item is not specified at the time of attribute switching, the attribute of the switching source is searched based on the item attribute switching definition file, and the attribute of the form item in the matched form definition body is switched to Attribute switching means for switching to the attribute of
Based on the form definition body, the item attribute switching definition file, and the input data stored in the data file, a form having the form item whose attribute is switched by the attribute switching means is created and the input Form output control means for displaying the form in which data is input ;
A form output device characterized by comprising:
請求項1に記載の帳票出力装置において、
上記制御部は、
上記帳票定義体から上記帳票項目の属性情報を抽出する属性情報抽出手段
を更に備えたことを特徴とする帳票出力装置。
In the form output device according to claim 1,
The control unit
A form output device further comprising attribute information extraction means for extracting attribute information of the form item from the form definition body.
請求項1または2に記載の帳票出力装置において、
上記制御部は、
上記項目属性切替え定義ファイルの上記切替え元の文字列属性情報を、指定された言語に翻訳して上記切替え先の属性に指定する文字列翻訳手段
を更に備えたことを特徴とする帳票出力装置。
The form output device according to claim 1 or 2,
The control unit
A form output apparatus, further comprising: character string translation means for translating the character string attribute information of the switching source of the item attribute switching definition file into a specified language and designating it as the attribute of the switching destination.
請求項1乃至3のいずれか一つに記載の帳票出力装置において、
上記制御部は、
上記項目属性切替え定義ファイルにおいて切替える属性の情報を編集可能に制御する項目属性編集手段
を更に備えることを特徴とする帳票出力装置。
In the form output device according to any one of claims 1 to 3,
The control unit
A form output device, further comprising: item attribute editing means for controlling editable attribute information in the item attribute switching definition file.
請求項1乃至4のいずれか一つに記載の帳票出力装置において、
ユーザが使用する帳票出力アプリケーションで、上記項目属性切替え定義ファイルを指定することを特徴とする帳票出力装置。
In the form output device according to any one of claims 1 to 4,
A form output apparatus characterized in that the item attribute switching definition file is specified by a form output application used by a user.
請求項1乃至5のいずれか一つに記載の帳票出力装置において、
上記属性切替え手段は、
上記属性切替え時に、テーブルの突合せを行うことを特徴とする帳票出力装置。
In the form output device according to any one of claims 1 to 5,
The attribute switching means is
A form output device for matching tables when the attribute is switched.
記憶部と制御部を少なくとも備えた帳票出力装置において実行される帳票出力方法であって、
上記記憶部は、
帳票項目の属性を少なくとも定義する帳票定義体と、
上記帳票定義体の上記帳票項目において切替える属性を定義する項目属性切替え定義ファイルと、
を記憶し、
上記制御部において実行される、
属性切替え時に、上記帳票項目が指定されていない場合、上記項目属性切替え定義ファイルに基づいて、切替え元の上記属性を検索して、合致した上記帳票定義体における上記帳票項目の上記属性を切替え先の属性に切替える属性切替えステップと、
上記帳票定義体、上記項目属性切替え定義ファイル、および、データファイルに記憶された入力データに基づいて、上記属性切替えステップにて上記属性が切替えられた上記帳票項目を有する帳票を作成するとともに、上記入力データが入力された当該帳票を表示させる帳票出力制御ステップと、
を含むことを特徴とする帳票出力方法。
A form output method executed in a form output apparatus having at least a storage unit and a control unit,
The storage unit
A form definition body that defines at least the attributes of the form item;
An item attribute switching definition file that defines attributes to be switched in the form item of the form definition body,
Remember
Executed in the control unit,
If the form item is not specified at the time of attribute switching, the attribute of the switching source is searched based on the item attribute switching definition file, and the attribute of the form item in the matched form definition body is switched to An attribute switching step for switching to the attribute of
Based on the form definition body, the item attribute switching definition file, and the input data stored in the data file, create a form having the form item whose attributes are switched in the attribute switching step , and A form output control step for displaying the form in which the input data is input ;
A form output method characterized by including:
記憶部と制御部を少なくとも備えた帳票出力装置に実行させるためのプログラムであって、
上記記憶部は、
帳票項目の属性を少なくとも定義する帳票定義体と、
上記帳票定義体の上記帳票項目において切替える属性を定義する項目属性切替え定義ファイルと、
を記憶し、
上記制御部において、
属性切替え時に、上記帳票項目が指定されていない場合、上記項目属性切替え定義ファイルに基づいて、切替え元の上記属性を検索して、合致した上記帳票定義体における上記帳票項目の上記属性を切替え先の属性に切替える属性切替えステップと、
上記帳票定義体、上記項目属性切替え定義ファイル、および、データファイルに記憶された入力データに基づいて、上記属性切替えステップにて上記属性が切替えられた上記帳票項目を有する帳票を作成するとともに、上記入力データが入力された当該帳票を表示させる帳票出力制御ステップと、
を実行させるためのプログラム。
A program for causing a form output device including at least a storage unit and a control unit to execute the program,
The storage unit
A form definition body that defines at least the attributes of the form item;
An item attribute switching definition file that defines attributes to be switched in the form item of the form definition body,
Remember
In the control unit,
If the form item is not specified at the time of attribute switching, the attribute of the switching source is searched based on the item attribute switching definition file, and the attribute of the form item in the matched form definition body is switched to An attribute switching step for switching to the attribute of
Based on the form definition body, the item attribute switching definition file, and the input data stored in the data file, create a form having the form item whose attributes are switched in the attribute switching step , and A form output control step for displaying the form in which the input data is input ;
A program for running
JP2012218094A 2012-09-28 2012-09-28 Form output device, form output method, and program Active JP6121126B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2012218094A JP6121126B2 (en) 2012-09-28 2012-09-28 Form output device, form output method, and program
CN201310442800.4A CN103713864B (en) 2012-09-28 2013-09-25 Book ticket output device and book ticket output method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012218094A JP6121126B2 (en) 2012-09-28 2012-09-28 Form output device, form output method, and program

Publications (2)

Publication Number Publication Date
JP2014071726A JP2014071726A (en) 2014-04-21
JP6121126B2 true JP6121126B2 (en) 2017-04-26

Family

ID=50406878

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012218094A Active JP6121126B2 (en) 2012-09-28 2012-09-28 Form output device, form output method, and program

Country Status (2)

Country Link
JP (1) JP6121126B2 (en)
CN (1) CN103713864B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015225530A (en) * 2014-05-28 2015-12-14 沖電気工業株式会社 Form format management system, form format management server, form format management method and program
CN106855807B (en) * 2016-12-16 2020-04-21 北京创世乐享科技有限公司 Method and system for presenting multi-language form

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05289857A (en) * 1992-04-06 1993-11-05 Hitachi Ltd Program generating method
JPH0877167A (en) * 1994-09-07 1996-03-22 Fuji Xerox Co Ltd Document processor
JP2002049435A (en) * 2000-08-03 2002-02-15 Naretsuji Moderingu Kenkyusho:Kk Method and device for managing license
JP2004287853A (en) * 2003-03-20 2004-10-14 Toshiba Solutions Corp Form editing device, form editing program and form editing method
JP2007328670A (en) * 2006-06-09 2007-12-20 Canon Inc Information processor, document processing method, storage medium, and program
JP5059529B2 (en) * 2007-09-14 2012-10-24 株式会社リコー Information processing system, information processing apparatus, program, and recording medium
JP2012190314A (en) * 2011-03-11 2012-10-04 Fuji Xerox Co Ltd Image processing device and program

Also Published As

Publication number Publication date
CN103713864A (en) 2014-04-09
JP2014071726A (en) 2014-04-21
CN103713864B (en) 2019-05-03

Similar Documents

Publication Publication Date Title
US7441184B2 (en) System and method for internationalizing the content of markup documents in a computer system
JP2007034813A (en) Software manual generation system in two or more natural languages
WO1998008168A1 (en) Original text generating apparatus and its program storage medium
JP2019021341A (en) Application test support apparatus, data processing method thereof, and program
JP6121126B2 (en) Form output device, form output method, and program
JP6723726B2 (en) Input support device
US20050010548A1 (en) Automatic file generating apparatus, method, program and record medium
JP2006276912A (en) Device, method, and program for editing document
JP2018181073A (en) Information processing apparatus, processing method thereof, and program
JP5214211B2 (en) Form keyword registration device, form keyword registration method, and program
JP3933892B2 (en) Specification creation program and computer-readable medium storing specification creation program
JP7083473B2 (en) Input support device
JP2003099428A (en) Translation supporting device, translator terminal control program and proofreader terminal control program
JP2020135159A (en) Source file generation program, source file generation method, and information processing device
JP2020115246A (en) Generation device, software robot system, generation method and generation program
JP4220439B2 (en) Structured data conversion apparatus and method
JPWO2009038209A1 (en) Machine translation system, machine translation method, and machine translation program
JP6475288B2 (en) Program comparison method, program comparison device, and program comparison program
JP2018005367A (en) Edition support system, edition support device, data substitution device, and edition support method
JP2023056240A (en) Computer system and presentation method for document
JP3569753B2 (en) Dictionary machine for machine translation
JP2017068307A (en) Information retrieval device, control method thereof, and information retrieval program
JP6243619B2 (en) Program analysis apparatus and program analysis method
JPH10105447A (en) Data processor
JP2011018122A (en) Document processing device and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150602

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20151005

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160308

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160510

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160704

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20161122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170216

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20170224

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170328

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170329

R150 Certificate of patent or registration of utility model

Ref document number: 6121126

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150