JP2011043930A - System, server device, apparatus and method for processing business form, and program - Google Patents

System, server device, apparatus and method for processing business form, and program Download PDF

Info

Publication number
JP2011043930A
JP2011043930A JP2009190657A JP2009190657A JP2011043930A JP 2011043930 A JP2011043930 A JP 2011043930A JP 2009190657 A JP2009190657 A JP 2009190657A JP 2009190657 A JP2009190657 A JP 2009190657A JP 2011043930 A JP2011043930 A JP 2011043930A
Authority
JP
Japan
Prior art keywords
data
information
template
unit
arrangement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2009190657A
Other languages
Japanese (ja)
Inventor
Yuji Noguchi
祐司 野口
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.)
Creo Co Ltd
Original Assignee
Creo Co 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 Creo Co Ltd filed Critical Creo Co Ltd
Priority to JP2009190657A priority Critical patent/JP2011043930A/en
Publication of JP2011043930A publication Critical patent/JP2011043930A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem that it is not possible for a user to easily operate the template information of a business form in a conventional business form processing system. <P>SOLUTION: A business form processing server device 10 includes: a data-for-arrangement detection part 104 for acquiring the data for arrangement of received acquisition condition information from a data storage part 102; a business form data creation part 105 for duplicating template information corresponding to received template identification information, and for replacing the data designation information of the duplicated template information with data for arrangement designated by data designation information among the data for arrangement obtained by the data-for-arrangement detection part 104 to create business form data; and a server side transmission part 106 for transmitting the business form data to a business form output client device 20. The business form output client device 20 includes an output part 205 for outputting the business form data received by a client side reception part 203. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、帳票を作成し出力する帳票処理システム等に関するものである。   The present invention relates to a form processing system that creates and outputs a form.

従来、帳票データ生成のためのデータ取得条件を含む帳票テンプレートセットに基づいてデータを取得し、帳票データを生成する帳票処理装置が知られていた。(例えば、特許文献1参照)。   Conventionally, a form processing apparatus that acquires data based on a form template set including data acquisition conditions for generating form data and generates form data has been known. (For example, refer to Patent Document 1).

特開2007−283646号公報(第1頁、第1図等)JP 2007-283646 A (first page, FIG. 1 etc.)

しかしながら、従来の帳票処理システムにおいては、帳票のテンプレートは、ユーザ等に対して最終的に出力される帳票とは異なる、帳票処理システム独自の形式の情報であった、このため、テンプレートを作成したり編集したりするためには、帳票のテンプレートの記述形式等についての知識が要求されるため、テンプレートの作成や編集を行えるものが技術者のみに限られてしまい、テンプレートについて知識のない帳票を出力しようとするユーザが容易にテンプレートを作成したり、変更したりすることができず、使い勝手が悪いという課題があった。   However, in the conventional form processing system, the form template is information in a form unique to the form processing system, which is different from the form that is finally output to the user or the like. In order to edit or edit a template, knowledge of the template description format is required, so that only engineers can create and edit templates. There is a problem that the user who is trying to output cannot easily create or change a template, and is unusable.

本発明の帳票処理システムは、帳票処理サーバ装置と帳票出力クライアント装置とを備えた帳票処理システムであって、帳票処理サーバ装置は、帳票のテンプレートを示す情報であって、テンプレートに配置されるデータを指定する情報であるデータ指定情報を有する情報であるテンプレート情報と、テンプレート情報を識別する情報であるテンプレート識別情報とが対応付けられて格納され得るテンプレート情報格納部と、テンプレート情報が示すテンプレートに配置され得るデータである配置用データが格納され得るデータ格納部と、帳票出力クライアント装置から、テンプレート識別情報と、配置用データを取得する条件を示す情報である取得条件情報とを受信するサーバ側受信部と、データ格納部に格納されているデータの中から、サーバ側受信部が受信した取得条件情報が示す条件に合う配置用データを取得する配置用データ検出部と、サーバ側受信部が受信したテンプレート識別情報に対応するテンプレート情報を複製し、複製したテンプレート情報が有するデータ指定情報を、配置用データ検出部が取得した配置用データのうちの、データ指定情報が指定する配置用データで置換して、帳票データを作成する帳票データ作成部と、帳票データ作成部が作成した帳票データを、帳票出力クライアント装置に送信するサーバ側送信部とを備え、帳票出力クライアント装置は、テンプレート識別情報と、取得条件情報とを受け付ける受付部と、受付部が受け付けたテンプレート識別情報と、取得条件情報とを、帳票処理サーバ装置に送信するクライアント側送信部と、帳票処理サーバから送信される帳票データを受信するクライアント側受信部と、クライアント側受信部が受信した帳票データを出力する出力部とを備えた帳票処理システムである。   The form processing system of the present invention is a form processing system provided with a form processing server device and a form output client device, and the form processing server device is information indicating a template of the form, and data arranged in the template Template information storage unit that can store the template information that is the information having the data specifying information that is the information for specifying the template information and the template identification information that is the information for identifying the template information, and the template indicated by the template information Server side that receives data storage unit that can store placement data, which can be placed, and template identification information and acquisition condition information that is a condition for acquiring placement data from the form output client device From the data stored in the receiver and the data storage unit, The template data corresponding to the template identification information received by the server-side receiving unit and the placement data detecting unit that acquires the placement data that meets the conditions indicated by the acquisition condition information received by the server-side receiving unit are copied and copied. A form data creation unit that creates form data by replacing the data designation information included in the template information with the placement data designated by the data designation information from the placement data acquired by the placement data detection unit, and a form A server-side transmission unit that transmits the form data created by the data creation unit to the form output client device. The form output client device accepts the template identification information and the acquisition condition information; A client-side transmission unit that transmits the template identification information and the acquisition condition information to the form processing server device, and a form And a client side receiving section for receiving form data transmitted from the management server, a form processing system comprising an output unit that outputs the form data which the client-side receiving unit receives.

かかる構成により、テンプレート情報の複製を用いて帳票データを作成することで、帳票の作成に利用されるテンプレート情報と、テンプレート情報を用いて作成される帳票データが同一のファイル形式なので、ユーザが帳票のテンプレート情報を容易に操作することができる。   With this configuration, by creating form data using a copy of the template information, the template information used for creating the form and the form data created using the template information are in the same file format, so the user can create the form data. The template information can be easily manipulated.

また、本発明の帳票処理システムは、前記帳票処理システムにおいて、テンプレート情報は、さらに、データ指定情報が指定する配置用データを用いる演算式または実行モジュールを有しており、帳票データ作成部は、演算式または実行モジュールに対応したデータ指定情報を、配置用データ検出部が取得した配置用データのうちの、データ指定情報が指定する配置用データで置換して、帳票データを作成し、帳票出力クライアント装置は、クライアント側受信部が受信した帳票データに含まれる演算式を用いた演算処理または実行モジュールを、演算式または実行モジュールに対応するデータ指定情報を置換した配置用データを用いて実行する実行部をさらに有し、出力部は、クライアント側受信部が受信した帳票データに、実行部の実行結果の情報を加えた帳票データを出力する帳票処理システムである。   In the form processing system of the present invention, in the form processing system, the template information further includes an arithmetic expression or an execution module that uses arrangement data designated by the data designation information, and the form data creation unit includes: Replaces the data specification information corresponding to the arithmetic expression or the execution module with the placement data specified by the data specification information from the placement data acquired by the placement data detection unit, creates form data, and outputs the form The client device executes the arithmetic processing or execution module using the arithmetic expression included in the form data received by the client-side receiving unit, using the placement data in which the data designation information corresponding to the arithmetic expression or the execution module is replaced. The execution unit further includes an execution unit, and the output unit executes the execution unit on the form data received by the client side reception unit. It is a form processing system for outputting the document data obtained by adding the information of the results.

かかる構成により、テンプレート情報に指定した演算式や実行モジュールを用いて、帳票に配置されるデータを用いて演算やモジュールの実行を自動で行わせることができる。   With such a configuration, it is possible to automatically execute calculations and modules using data arranged in the form using the calculation formulas and execution modules specified in the template information.

また、本発明の帳票処理システムは、前記帳票処理システムにおいて、テンプレート情報は、1以上のシートを有するスプレッドシートの情報であり、データ指定情報は、スプレッドシートのセルに配置されており、帳票データ作成部は、サーバ側受信部が受け付けたテンプレート識別情報に対応するテンプレート情報を複製し、複製したテンプレート情報が示す各スプレッドシートのセルに配置されているデータ指定情報を、配置用データ検出部が取得した配置用データのうちの、データ指定情報が指定する配置用データで置換して、複数シートを有する帳票データを作成する帳票処理システムである。   In the form processing system of the present invention, in the form processing system, the template information is information on a spreadsheet having one or more sheets, and the data designation information is arranged in a cell of the spreadsheet. The creation unit duplicates the template information corresponding to the template identification information received by the server side reception unit, and the placement data detection unit displays the data designation information placed in each spreadsheet cell indicated by the duplicated template information. This is a form processing system that creates form data having a plurality of sheets by replacing the obtained placement data with the placement data designated by the data designation information.

かかる構成により、複数のスプレッドシートで構成されるテンプレート情報を用いて、複数のスプレッドシートで構成される帳票データを作成することができる。   With this configuration, form data composed of a plurality of spreadsheets can be created using template information composed of a plurality of spreadsheets.

また、本発明の帳票処理システムは、前記帳票処理システムにおいて、テンプレート情報は、複数のページを有する情報であり、帳票データ作成部は、サーバ側受信部が受け付けたテンプレート識別情報に対応するテンプレート情報を複製し、複製したテンプレート情報が示す各ページに配置されているデータ指定情報を、配置用データ検出部が取得した配置用データのうちの、データ指定情報が指定する配置用データで置換して、複数ページを有する帳票データを作成する帳票処理システムである。   In the form processing system of the present invention, in the form processing system, the template information is information having a plurality of pages, and the form data creation unit is template information corresponding to the template identification information received by the server-side receiving unit. And the data specification information placed on each page indicated by the duplicated template information is replaced with the placement data specified by the data specification information from the placement data acquired by the placement data detection unit. This is a form processing system for creating form data having a plurality of pages.

かかる構成により、複数ページのテンプレート情報を用いて、複数ページの帳票データを作成することができる。   With this configuration, it is possible to create form data of a plurality of pages using a plurality of pages of template information.

また、本発明の帳票処理システムは、前記帳票処理システムにおいて、テンプレート情報は、一のシートまたはページに、2以上の同じデータ指定情報を有し、帳票データ作成部は、共通する2以上のデータ指定情報により指定された異なる配置用データを共通するデータ指定情報と置き換えて配置し、異なる配置用データの全てが配置できない場合に、一のシートまたはページを複製し、複製したシートまたはページのデータ指定情報と置き換えて、異なる配置用データの配置できなかった残りの配置用データを配置する帳票処理システムである。   In the form processing system according to the present invention, in the form processing system, the template information has two or more pieces of the same data designation information in one sheet or page, and the form data creation unit has two or more pieces of common data. When the different layout data specified by the specified information is replaced with the common data specification information and all of the different layout data cannot be placed, the single sheet or page is duplicated, and the duplicated sheet or page data This is a form processing system that arranges the remaining arrangement data that could not be arranged with different arrangement data in place of the designation information.

かかる構成により、配置用データのデータ数に応じて帳票のページやシートを追加して帳票データを作成することができる。この結果、例えば単票の帳票をデータ数に応じて、適宜ページやシートを増加させて適切に作成することができる。   With this configuration, it is possible to create form data by adding form pages and sheets according to the number of arrangement data. As a result, for example, a single form can be appropriately created by appropriately increasing pages and sheets according to the number of data.

また、本発明の帳票処理システムは、前記帳票処理システムにおいて、テンプレート情報は、指定される1以上の配置用データが複数である場合に、複数の配置用データで置換されるデータ指定情報を指定する情報であるリピート指定情報と、指定される配置用データで一度だけ置換され配置されるデータ指定情報を指定する情報であるシングル指定情報とをさらに有し、帳票データ作成部は、シングル指定情報が指定するデータ指定情報については、配置用データ検出部が取得した配置用データのうちのデータ指定情報が指定する配置用データで、データ指定情報を置換し、リピート指定情報が指定するデータ指定情報については、配置用データ検出部が取得した配置用データのうちのデータ指定情報が指定する1以上の配置用データで、データ指定情報を置換して帳票データを作成する帳票処理システムである。   In the form processing system of the present invention, in the form processing system, the template information specifies data designation information to be replaced with a plurality of pieces of placement data when there are a plurality of pieces of one or more pieces of placement data to be designated. Repeat designation information that is information to be performed, and single designation information that is information that designates data designation information that is replaced once with the designated placement data, and the form data creation unit includes the single designation information. For the data specification information specified by, the data specification information specified by the repeat specification information replaces the data specification information with the placement data specified by the data specification information from the placement data acquired by the placement data detection unit. Is one or more pieces of placement data designated by the data designation information in the placement data acquired by the placement data detection unit, It is a form processing system for creating form data by replacing over data specifying information.

かかる構成により、配置用データのデータ数に応じて、配置用データが配置されるよう、配置用データが配置される領域を増加させ帳票データを作成することができる。この結果、例えば連票の帳票をデータ数に応じて、データが配置させる領域を追加させて適切に作成することができる。   With this configuration, the form data can be created by increasing the area where the placement data is placed so that the placement data is placed according to the number of placement data. As a result, for example, a continuous form can be appropriately created by adding an area where data is arranged according to the number of data.

また、本発明の帳票処理システムは、前記帳票処理システムにおいて、テンプレート情報は、一のシートまたはページに、指定される1以上の配置用データが複数である場合に、複数の配置用データで置換されるデータ指定情報を指定するリピート指定情報と、指定される配置用データで一のシートまたはページ内において一度だけ置換され配置されるデータ指定情報を指定するシングル指定情報とをさらに有し、帳票データ作成部は、シングル指定情報が指定するデータ指定情報を、配置用データ検出部が取得した配置用データのうちのデータ指定情報が指定する配置用データで置換し、リピート指定情報が指定するデータ指定情報を、配置用データ検出部が取得した配置用データのうちのデータ指定情報が指定する1以上の配置用データで置換し、リピート指定情報が指定するデータ指定情報が指定する配置用データが、所定数を超える場合、一のシートまたはページを複製し、所定数を超える配置用データで、複製したシート又はページのリピート指定情報が指定するデータ指定情報を置換する帳票処理システムである。   In the form processing system according to the present invention, in the form processing system, the template information is replaced with a plurality of pieces of arrangement data when one or more pieces of arrangement data specified in one sheet or page are plural. Further comprising: repeat designation information for designating designated data designation information; and single designation information for designating data designation information to be replaced and arranged only once in one sheet or page with designated layout data. The data creation unit replaces the data designation information designated by the single designation information with the arrangement data designated by the data designation information among the arrangement data acquired by the arrangement data detection unit, and the data designated by the repeat designation information One or more pieces of placement data designated by the data designation information in the placement data acquired by the placement data detection unit. If the placement data specified by the data specification information specified by the repeat specification information exceeds a predetermined number, one sheet or page is duplicated, and with the placement data exceeding the predetermined number, the duplicated sheet or page This is a form processing system that replaces data designation information designated by repeat designation information.

かかる構成により、所定数以上の配置用データを配置する場合に、帳票のページやシートを適宜増加させることができる。これにより、例えば、連票の帳票を作成する際に、データが一のスプレッドシートやページに収まり切らない場合に、適宜スプレッドシートやページを追加させることができる。   With this configuration, it is possible to appropriately increase the number of pages and sheets of a form when arranging a predetermined number or more of arrangement data. Thereby, for example, when creating a continuous slip form, if the data does not fit in one spreadsheet or page, a spreadsheet or page can be added as appropriate.

また、本発明の帳票処理システムは、前記帳票処理システムにおいて、テンプレート情報は、配置用データによる置換の対象とならないシートまたはページを指定する情報である除外情報を有しており、帳票データ作成部は、除外情報により指定されるシートまたはページの配置用データによる置換を行わない帳票処理システムである。   In the form processing system of the present invention, in the form processing system, the template information includes exclusion information that is information for designating sheets or pages that are not to be replaced by the placement data, and the form data creation unit Is a form processing system that does not perform replacement by arrangement data of sheets or pages specified by exclusion information.

かかる構成により、テンプレート情報の、配置用データによる置換が不要な部分を、ページ単位やスプレッドシート単位で指定可能として、配置用データで置換しないようにすることができる。   With this configuration, a portion of the template information that does not need to be replaced with the placement data can be designated in units of pages or spreadsheets, and can be prevented from being replaced with the placement data.

また、本発明の帳票処理サーバ装置は、帳票のテンプレートを示す情報であって、テンプレートに配置されるデータを指定する情報であるデータ指定情報を有する情報であるテンプレート情報と、テンプレート情報を識別する情報であるテンプレート識別情報とが対応付けられて格納され得るテンプレート情報格納部と、テンプレート情報が示すテンプレートに配置され得るデータである配置用データが格納され得るデータ格納部と、帳票出力クライアント装置から、テンプレート識別情報と、配置用データを取得する条件を示す情報である取得条件情報とを受信するサーバ側受信部と、データ格納部に格納されているデータの中から、サーバ側受信部が受信した取得条件情報が示す条件に合う配置用データを取得する配置用データ検出部と、サーバ側受信部が受信したテンプレート識別情報に対応するテンプレート情報を複製し、複製したテンプレート情報が有するデータ指定情報を、配置用データ検出部が取得した配置用データのうちの、データ指定情報が指定する配置用データで置換して、帳票データを作成する帳票データ作成部と、帳票データ作成部が作成した帳票データを、帳票出力クライアント装置に送信するサーバ側送信部とを備えた帳票処理サーバ装置である。   Also, the form processing server device of the present invention identifies template information and template information that is information indicating a template of the form and is information having data designation information that is information for designating data arranged in the template. A template information storage unit that can be stored in association with template identification information that is information, a data storage unit that can store placement data that can be placed in a template indicated by the template information, and a form output client device The server-side receiving unit receives the template identification information and the acquisition condition information that is information indicating the conditions for acquiring the placement data, and the server-side receiving unit receives the data stored in the data storage unit. An arrangement data detection unit that acquires arrangement data that meets the conditions indicated by the acquired acquisition condition information; The template information corresponding to the template identification information received by the server-side receiving unit is duplicated, and the data designation information of the arrangement data acquired by the arrangement data detection unit is designated by the data designation information included in the duplicated template information. Form processing server device comprising: a form data creation unit that creates form data by replacing with placement data to be created; and a server-side transmission unit that sends the form data created by the form data creation unit to the form output client device It is.

かかる構成により、テンプレート情報の複製を用いて帳票データを作成することで、帳票の作成に利用されるテンプレート情報と、テンプレート情報を用いて作成される帳票データが同一のファイル形式なので、ユーザが帳票のテンプレート情報を容易に操作することができる。   With this configuration, by creating form data using a copy of the template information, the template information used for creating the form and the form data created using the template information are in the same file format, so the user can create the form data. The template information can be easily manipulated.

また、本発明の帳票処理装置は、帳票のテンプレートを示す情報であって、テンプレートに配置されるデータを指定する情報であるデータ指定情報を有する情報であるテンプレート情報と、テンプレート情報を識別する情報であるテンプレート識別情報とが対応付けられて格納され得るテンプレート情報格納部と、テンプレート情報が示すテンプレートに配置され得るデータである配置用データが格納され得るデータ格納部と、テンプレート識別情報と、配置用データを取得する条件を示す情報である取得条件情報とを受け付ける受付部と、データ格納部に格納されているデータの中から、受付部が受け付けた取得条件情報が示す条件に合う配置用データを取得する配置用データ検出部と、受付部が受け付けたテンプレート識別情報に対応するテンプレート情報を複製し、複製したテンプレート情報が有するデータ指定情報を、配置用データ検出部が取得した配置用データのうちの、データ指定情報が指定する配置用データで置換して、帳票データを作成する帳票データ作成部と、帳票データ作成部が作成した帳票データを出力する出力部とを備えた帳票処理装置である。   In addition, the form processing apparatus of the present invention is information indicating a template of a form, and is information for identifying template information, which is information having data designation information that is information for designating data arranged in the template, and information for identifying the template information A template information storage unit that can be stored in association with the template identification information, a data storage unit that can store placement data that is data that can be placed in the template indicated by the template information, template identification information, placement A receiving unit that receives acquisition condition information that is information indicating a condition for acquiring data for use, and arrangement data that matches the conditions indicated by the acquisition condition information received by the receiving unit among the data stored in the data storage unit Corresponding to the template identification information received by the placement data detecting unit and the receiving unit. Duplicate template information and create form data by replacing the data specification information contained in the duplicated template information with the placement data specified by the data specification information from the placement data acquired by the placement data detector. The form processing apparatus includes a form data creation unit that performs and an output unit that outputs the form data created by the form data creation unit.

かかる構成により、テンプレート情報の複製を用いて帳票データを作成することで、帳票の作成に利用されるテンプレート情報と、テンプレート情報を用いて作成される帳票データが同一のファイル形式なので、ユーザが帳票のテンプレート情報を容易に操作することができる。   With this configuration, by creating form data using a copy of the template information, the template information used for creating the form and the form data created using the template information are in the same file format, so the user can create the form data. The template information can be easily manipulated.

本発明による帳票処理システム等によれば、ユーザが帳票のテンプレート情報を容易に操作することができる。   According to the form processing system and the like according to the present invention, a user can easily operate form template information.

本発明の実施の形態による帳票処理システムのブロック図Block diagram of a form processing system according to an embodiment of the present invention 同帳票処理システムの帳票処理サーバ装置の動作について説明するフローチャートThe flowchart explaining operation | movement of the form processing server apparatus of the form processing system 同帳票処理システムの帳票出力クライアント装置の動作について説明するフローチャートA flowchart for explaining the operation of the form output client device of the form processing system 同帳票処理システムの概念図Conceptual diagram of the form processing system 同帳票処理システムの動作を説明するためのテンプレート情報管理表を示す図The figure which shows the template information management table for demonstrating operation | movement of the form processing system 同帳票処理システムの動作を説明するための、配置用データを管理するテーブル管理表を示す図The figure which shows the table management table which manages the data for arrangement | positioning for demonstrating operation | movement of the form processing system 同帳票処理システムの動作を説明するための、配置用データを管理するテーブルの具体的な内容を示す図The figure which shows the specific content of the table which manages the data for arrangement | positioning for demonstrating operation | movement of the form processing system 同帳票処理システムの動作を説明するための、配置用データ検出部104が取得したレコードを管理する管理テーブルを示す図The figure which shows the management table which manages the record which the arrangement | positioning data detection part 104 for demonstrating operation | movement of the form processing system 同帳票処理システムの動作を説明するための、テンプレート情報の具体的な内容を示す図The figure which shows the specific content of template information for demonstrating operation | movement of the form processing system 同帳票処理システムの動作を説明するための、スプレッドシート形式の帳票データを示す図Diagram showing the form data in spreadsheet format for explaining the operation of the form processing system 同帳票処理システムの動作を説明するための帳票データの例を示す図The figure which shows the example of form data for demonstrating operation | movement of the form processing system 同帳票処理システムの動作を説明するための、テンプレート情報の一例を示す図The figure which shows an example of template information for demonstrating operation | movement of the form processing system 同帳票処理システムの帳票データの出力例を示す図The figure which shows the output example of the form data of the form processing system 同帳票処理システムの動作を説明するためのテンプレート情報の具体例を示す図The figure which shows the specific example of the template information for demonstrating operation | movement of the form processing system 同帳票処理システムの帳票データの出力例を示す図The figure which shows the output example of the form data of the form processing system 同帳票処理システムの帳票データの表示例を示す図The figure which shows the example of a display of the form data of the form processing system 同帳票処理装置のブロック図Block diagram of the form processing device 同実施の形態におけるコンピュータシステムの外観の一例を示す図The figure which shows an example of the external appearance of the computer system in the embodiment 同実施の形態におけるコンピュータシステムの構成の一例を示す図The figure which shows an example of a structure of the computer system in the embodiment

以下、帳票処理システム等の実施形態について図面を参照して説明する。なお、実施の形態において同じ符号を付した構成要素は同様の動作を行うので、再度の説明を省略する場合がある。   Hereinafter, embodiments of a form processing system and the like will be described with reference to the drawings. In addition, since the component which attached | subjected the same code | symbol in embodiment performs the same operation | movement, description may be abbreviate | omitted again.

(実施の形態)
図1は、本実施の形態における帳票処理システム1のブロック図である。
帳票処理システム1は、帳票処理サーバ装置10、および帳票出力クライアント装置20を備える。
(Embodiment)
FIG. 1 is a block diagram of a form processing system 1 in the present embodiment.
The form processing system 1 includes a form processing server apparatus 10 and a form output client apparatus 20.

帳票処理サーバ装置10は、テンプレート情報格納部101、データ格納部102、サーバ側受信部103、配置用データ検出部104、帳票データ作成部105、サーバ側送信部106、およびテンプレート受信部107を備える。   The form processing server apparatus 10 includes a template information storage unit 101, a data storage unit 102, a server side receiving unit 103, an arrangement data detecting unit 104, a form data creating unit 105, a server side transmitting unit 106, and a template receiving unit 107. .

帳票出力クライアント装置20は、受付部201、クライアント側送信部202、クライアント側受信部203、実行部204、出力部205、編集操作受付部206、テンプレート編集部207、およびテンプレート送信部208を備える。   The form output client device 20 includes a reception unit 201, a client side transmission unit 202, a client side reception unit 203, an execution unit 204, an output unit 205, an editing operation reception unit 206, a template editing unit 207, and a template transmission unit 208.

帳票処理サーバ装置10および帳票出力クライアント装置20は、通信回線やネットワーク等を介して、情報の送受信が可能となるよう接続されている。ネットワークは、例えば、インターネットや、無線や有線のLAN等のネットワークである。ただし、各装置間の接続方法は問わない。また、情報の送受信の手段は、通信手段でも、放送手段等でも良い。また、通信に用いられるプロトコル等は問わない。一の帳票処理サーバ装置10に対して複数の帳票出力クライアント装置20が接続されていても良い。   The form processing server device 10 and the form output client device 20 are connected so that information can be transmitted and received via a communication line, a network, and the like. The network is, for example, a network such as the Internet or a wireless or wired LAN. However, the connection method between each apparatus is not ask | required. The information transmission / reception means may be a communication means or a broadcasting means. Moreover, the protocol used for communication is not ask | required. A plurality of form output client devices 20 may be connected to one form processing server device 10.

帳票処理サーバ装置10は、帳票出力クライアント装置20から送信される情報に応じて帳票を作成し、作成した帳票を帳票出力クライアント装置20に送信するサーバ装置である。帳票処理サーバ装置10は、例えば、ネットワーク等を介して帳票出力クライアント装置20に帳票の情報を送信可能なサーバ装置である。帳票処理サーバ装置10は、例えば、データサーバや、WEBサーバである。   The form processing server apparatus 10 is a server apparatus that creates a form according to information transmitted from the form output client apparatus 20 and transmits the created form to the form output client apparatus 20. The form processing server device 10 is a server device capable of transmitting form information to the form output client device 20 via, for example, a network. The form processing server device 10 is, for example, a data server or a WEB server.

帳票出力クライアント装置20は、例えば、ネットワーク接続が可能であって、帳票処理サーバ装置10に対して、帳票のテンプレート等を指定する情報を送信したりし、帳票処理サーバ装置10から送信される帳票の情報を受信したりすることが可能な装置である。帳票出力クライアント装置20は、例えば、コンピュータや、携帯電話や、PDA等である。なお、図1においては、説明の便宜上、帳票出力クライアント装置20が一つの場合について説明しているが、帳票出力クライアント装置20は複数であっても良い。   The form output client device 20 can be connected to a network, for example, and sends information specifying a template of the form to the form processing server device 10 or is sent from the form processing server device 10. It is a device that can receive the information. The form output client device 20 is, for example, a computer, a mobile phone, or a PDA. In FIG. 1, for convenience of explanation, the case where there is one form output client device 20 is described, but there may be a plurality of form output client devices 20.

テンプレート情報格納部101には、帳票のテンプレートを示す情報であって、テンプレートに配置されるデータを指定する情報であるデータ指定情報を有する情報であるテンプレート情報と、テンプレート情報を識別する情報であるテンプレート識別情報とが対応付けられて格納され得る。   The template information storage unit 101 is information indicating a template of a form, and is information for identifying template information and template information that is information having data specification information that is information for specifying data arranged in the template. Template identification information can be stored in association with each other.

帳票とは、例えば、帳簿や伝票等のことである。ここで述べる帳票は、紙等に印刷されるものであっても良いし、モニタ画面等に表示される電子的な帳票であっても良い。また、帳票のデータを入力するための入力フォーム等も帳票と考えても良い。帳簿は、具体的には、取引等に関する事務上の必要事項を記入したもの、例えば、金銭や預金や品物などの動きを記入したものである。また、伝票は、取引等についてその内容を通知するための情報を記入したものである。通常、帳簿は、使用する用途や提出先等に応じて定型の書式が決まっていることが多い。帳票は、レイアウトが決まっているデータ群等と解釈しても良い。   The form is, for example, a book or a slip. The form described here may be printed on paper or the like, or may be an electronic form displayed on a monitor screen or the like. An input form or the like for inputting form data may be considered as a form. Specifically, the book is a table in which necessary information regarding transactions and the like is entered, for example, the movement of money, deposits, goods, and the like. The slip is filled with information for notifying the contents of the transaction or the like. Usually, the book has a fixed format according to the intended use and the destination. The form may be interpreted as a data group having a predetermined layout.

テンプレートとは、いわゆるひな形である。テンプレート情報は、ひな形情報と考えても良い。ここでは、いわゆるスタイルファイル等もテンプレート情報と考えても良い。ここで述べるテンプレート情報は、具体的には、テンプレート情報のファイルと解釈しても良い。テンプレート情報は、複数のページや複数のシートを有していても良い。ここで述べるシートとは、後述するスプレッドシートのシート等を意味する。帳票のテンプレート情報は、帳票に配置されるデータを指定する情報であるデータ指定情報や、帳票のサイズや帳票の外観等を指定する情報を含む情報である。帳票の外観を指定する情報とは、例えば帳票に配置されるデータの配置される領域や座標やセル等の配置位置や、配置されるデータの、色やサイズ等の書式を指定する書式情報等を含む情報である。また、テンプレート情報は、予め用意された罫線や図形や文字列等の情報を有しており、これらの罫線や図形や文字列等がテンプレート上に配置されていても良い。本実施の形態においては、テンプレート情報のデータ形式は問わない。本実施の形態においては、後述するように、テンプレート情報の複製の一部を置換して、帳票データが作成されることから、テンプレート情報は、スプレッドシートのデータのように、帳票出力クライアント装置20において、帳票データを出力するユーザが操作可能なデータであることが好ましい。また、テンプレート情報は、スプレッドシートのように、テンプレートに配置されるデータの位置を指定可能な情報であって、この位置の指定が、帳票出力クライアント装置20のユーザにとって容易なデータであることが好ましい。スプレッドシートとは、情報を配置可能なセルと呼ばれるデータの配置領域をマトリクス上に複数配列した1以上のシートで構成されるデータである。スプレッドシートにおいては、表等を効率的に作成することが可能であり、表等が多用される帳票においては、利便性が高い。また、スプレッドシートのセルに配置したデータを用いて、予め指定された演算を行うことが可能であることから、帳票上の演算を実行させることができる。さらには、スプレッドシートのセルに配置したデータを用いて、予め指定された実行モジュール等を動作させて、帳票内に、適宜グラフ等を表示することが可能である。このため、本実施の形態においては、テンプレート情報が、いわゆるスプレッドシートである場合を例に挙げて説明する。   A template is a so-called template. The template information may be considered as template information. Here, a so-called style file may be considered as template information. The template information described here may be specifically interpreted as a template information file. The template information may have a plurality of pages and a plurality of sheets. The sheet described here means a spreadsheet sheet or the like to be described later. The form template information is information including data designation information that is information for designating data to be arranged in the form, and information that designates the size of the form, the appearance of the form, and the like. The information that specifies the appearance of the form is, for example, the area where the data to be placed on the form is placed, the placement position of coordinates, cells, etc., the format information that specifies the format of the placed data, such as color and size, etc. It is information including. The template information includes information such as ruled lines, figures, and character strings prepared in advance, and these ruled lines, figures, and character strings may be arranged on the template. In the present embodiment, the data format of the template information does not matter. In the present embodiment, as will be described later, form data is created by replacing a part of the copy of the template information, so that the form information is the form output client device 20 like spreadsheet data. In this case, it is preferable that the data can be operated by the user who outputs the form data. The template information is information that can specify the position of data arranged in the template, such as a spreadsheet, and the specification of the position is easy data for the user of the form output client device 20. preferable. A spreadsheet is data composed of one or more sheets in which a plurality of data arrangement areas called cells in which information can be arranged are arranged on a matrix. In a spreadsheet, a table or the like can be created efficiently, and convenience is high in a form that frequently uses a table or the like. In addition, since it is possible to perform a calculation specified in advance using data arranged in a cell of a spreadsheet, it is possible to execute a calculation on a form. Furthermore, it is possible to display a graph or the like as appropriate in a form by operating a pre-designated execution module or the like using data arranged in a spreadsheet cell. For this reason, in this embodiment, a case where the template information is a so-called spreadsheet will be described as an example.

テンプレート識別情報とは、テンプレートを識別可能な情報であればどのような情報であっても良い。テンプレート識別情報は、例えば、テンプレートの名前や、テンプレート情報のファイル名や、テンプレート情報に割り当てられた識別用の記号等である。テンプレート識別情報は、テンプレートの作成日や更新日と、テンプレートの作成者や、更新者の名前や識別番号等との組合せであっても良い。また、テンプレート識別情報は、URL等のテンプレート情報が格納されているアドレス等の情報であっても良い。   The template identification information may be any information as long as the information can identify the template. The template identification information is, for example, a template name, a template information file name, an identification symbol assigned to the template information, or the like. The template identification information may be a combination of a template creation date or an update date, a template creator, an updater name, an identification number, or the like. The template identification information may be information such as an address where template information such as a URL is stored.

テンプレート情報格納部101において、テンプレート情報と、テンプレート識別情報とは、直接対応付けられて格納されていても良いし、間接的に対応付けられて格納されていても良い。間接的に対応付けられているとは、例えば、それぞれに対応する識別情報同士が対応付けられていることや、例えば、それぞれに対応する識別情報同士が対応付けられていることや、一方の情報と他方の情報の識別情報とが対応付けられていること等を意味する。また、テンプレート情報と、テンプレート識別情報とは、物理的に同じ記憶媒体に格納されていても良いが、テンプレート情報格納部101が物理的に異なる記憶媒体により構成される場合、それぞれの記憶媒体にテンプレート情報と、テンプレート識別情報とが別々に格納されていても良い。また、例えば、テンプレート情報と、テンプレート識別情報とは、テンプレート情報と、当該テンプレート情報と対応付けられたテンプレート識別情報との組を、一のレコードの複数の項目として管理する管理情報等を用いて管理されても良い。この管理情報は、例えばテンプレート情報格納部101や図示しない格納部等に格納しておくようにすればよい。なお、かかることは、他の格納部等に互いに対応付けられて格納されている2以上の情報に関しても同様である。   In the template information storage unit 101, the template information and the template identification information may be stored in direct association with each other, or may be stored in association with each other indirectly. Indirect association is, for example, that identification information corresponding to each is associated, for example, that identification information corresponding to each is associated, or one information And the identification information of the other information are associated with each other. Further, the template information and the template identification information may be physically stored in the same storage medium. However, when the template information storage unit 101 is configured by physically different storage media, the template information and the template identification information are stored in the respective storage media. Template information and template identification information may be stored separately. In addition, for example, template information and template identification information are management information that manages a set of template information and template identification information associated with the template information as a plurality of items of one record. It may be managed. This management information may be stored in, for example, the template information storage unit 101 or a storage unit (not shown). This also applies to two or more pieces of information stored in association with each other in other storage units.

テンプレート情報は、当該テンプレート情報が示すテンプレートに配置されるデータを指定するデータ指定情報を1以上有する。一のテンプレート情報が有するデータ指定情報は、例えば、データ格納部102に格納されているデータ等の、テンプレートに配置され得るデータを指定可能なデータである。テンプレートに配置され得るデータを、ここでは配置用データと称す。なお、データ指定情報は、データ格納部102に格納されているデータ等以外のデータを指定可能なデータであっても良い。例えば、予め指定されている情報や、配置用データの検索に用いられるクエリ等に含まれる検索文字列等の情報を指定する情報であっても良い。データ指定情報は、テンプレートに配置されるデータを指定可能な情報であればよい。例えば、配置されるデータに対応付けられた識別情報を指定する情報であっても良い。また、データがデータベース等により、レコード単位で管理されている情報である場合、テンプレートに配置されるデータの属性やデータの項目等を指定する情報であってもよい。テンプレートに配置され得るデータがタグ付のデータである場合、テンプレートに配置されるデータのタグを指定する情報であってもよい。また、テンプレートに配置されるデータが有するキーワード等を指定する情報であっても良い。データ指定情報は検索キーや検索条件等と考えても良い。データ指定情報は、データの属性と、データの表またはビューのレコード番号との組合せであっても良い。一のデータ指定情報は、必ずしも一のデータのみを指定可能なデータでなくてよく、複数のデータを指定可能なデータであっても良い。なお、テンプレート情報に、データ指定情報とは別に、配置用データを指定するための検索キーワード等の検索条件が含まれていてもよく、この場合、例えば、後述する配置用データ検出部104や、帳票データ作成部105等が、この検索条件を用いて、配置用データの検索による絞り込み等を行うようにしても良い。   The template information has one or more data designation information that designates data arranged in the template indicated by the template information. The data designation information included in one template information is data that can designate data that can be arranged in the template, such as data stored in the data storage unit 102, for example. Data that can be arranged in a template is referred to herein as arrangement data. The data designation information may be data that can designate data other than data stored in the data storage unit 102. For example, it may be information that specifies information such as search character strings included in information that is specified in advance or a query that is used to search for placement data. The data designation information may be information that can designate data arranged in the template. For example, it may be information that specifies identification information associated with data to be arranged. In addition, when the data is information managed in units of records by a database or the like, the data may be information specifying data attributes, data items, and the like arranged in the template. When the data that can be arranged in the template is data with a tag, it may be information that specifies the tag of the data arranged in the template. Moreover, the information which designates the keyword etc. which the data arrange | positioned at a template have may be sufficient. The data designation information may be considered as a search key, a search condition, or the like. The data designation information may be a combination of the data attribute and the record number of the data table or view. One data designation information is not necessarily data that can designate only one data, and may be data that can designate a plurality of data. The template information may include a search condition such as a search keyword for designating the placement data separately from the data designation information. In this case, for example, the placement data detection unit 104 described later, The form data creation unit 105 or the like may use this search condition to narrow down by searching the layout data.

データ指定情報は、例えば、テンプレート情報が示すテンプレートのページやスプレッドシート等の、当該データ指定情報が指定するデータが配置される位置に配置される。例えば、テンプレート情報が示すテンプレートが、スプレッドシートのテンプレートであった場合、データ指定情報を、当該データ指定情報が指定するデータが配置されるセルに配置する。この場合、このセルがデータ指定情報により指定されるデータが配置される位置となる。例えば、後述する帳票データ作成部105が、データ指定情報が指定するデータで、テンプレート情報が示すテンプレート上に配置されている当該データ指定情報を置き換えることで、データ指定情報が指定するデータを、ユーザ等が指定した所望の位置に配置した帳票を生成することができる。なお、データ指定情報は、クエリ等の取得条件情報を用いて後述する配置用データ検出部104で検索等により取得された配置用データのレコードに含まれる配置用データの項目を指定する情報と考えても良い。   The data designation information is arranged at a position where data designated by the data designation information is arranged, such as a template page or a spreadsheet indicated by the template information. For example, when the template indicated by the template information is a spreadsheet template, the data designation information is arranged in a cell in which data designated by the data designation information is arranged. In this case, this cell is a position where data designated by the data designation information is arranged. For example, the form data creation unit 105 described later replaces the data designation information arranged on the template indicated by the template information with the data designated by the data designation information, so that the data designated by the data designation information is changed to the user It is possible to generate a form arranged at a desired position designated by, for example. Note that the data designation information is information that designates an item of arrangement data included in the arrangement data record acquired by the arrangement data detection unit 104, which will be described later, by using acquisition condition information such as a query. May be.

また、テンプレート情報は、さらに、テンプレート情報が有するデータ指定情報が指定する配置用データを用いる演算式または実行モジュールを有していても良い。例えば、パラメータとして用いる配置用データを指定するために、データ指定情報が用いられた演算式を有していても良い。この場合、帳票の作成時や出力時に、データ指定情報を用いて取得された配置用データを用いて演算式の演算が後述する実行部204で行われることとなる。また、実行モジュールで用いる配置用データを指定するために、データ指定情報が用いられた実行モジュールを有していても良い。この場合、帳票の作成時や出力時に、データ指定情報を用いて取得された配置用データを用いて実行モジュールの実行が後述する実行部204等で行われることとなる。ここで述べる演算式とは、例えば、数値である配置用データをパラメータとして用いた四則演算を組み合わせた演算式である。例えば、帳票データに含まれる所定の数値の合計を算出する演算式等である。また、実行モジュールとは、例えば、数値である配置用データを用いて、グラフと作成したり、文字列である配置用データを、このグラフのタイトルや凡例として用いる処理を行う実行モジュール等である。例えば、テンプレート情報がスプレッドシートである場合、演算式や実行モジュールに用いられる配置用データを指定するデータ指定情報の指定は、データ指定情報が配置されるセル単位で行われる。なお、テンプレート情報が、スプレッドシートである場合、上記の演算式は、スプレッドシートのセルに対して指定される演算式であっても良い。また、テンプレート情報が、スプレッドシートである場合、上記の実行モジュールは、スプレッドシートの1以上のセルのデータを用いてグラフ等を作成する実行モジュールと考えても良い。   The template information may further include an arithmetic expression or an execution module that uses the placement data specified by the data specification information included in the template information. For example, in order to designate arrangement data used as a parameter, an arithmetic expression using data designation information may be provided. In this case, at the time of creating or outputting a form, the execution unit 204, which will be described later, performs calculation of an arithmetic expression using the placement data acquired using the data designation information. In addition, in order to designate the placement data used in the execution module, an execution module using the data designation information may be provided. In this case, when the form is created or output, the execution module 204 is executed by the execution unit 204, which will be described later, using the placement data acquired using the data designation information. The arithmetic expression described here is, for example, an arithmetic expression obtained by combining four arithmetic operations using numerical arrangement data as parameters. For example, an arithmetic expression for calculating the sum of predetermined numerical values included in the form data. The execution module is, for example, an execution module that creates a graph using arrangement data that is a numerical value, or performs processing that uses arrangement data that is a character string as the title or legend of the graph. . For example, when the template information is a spreadsheet, the designation of data designation information for designating arrangement data used for an arithmetic expression or an execution module is performed in units of cells where the data designation information is arranged. When the template information is a spreadsheet, the above arithmetic expression may be an arithmetic expression specified for a spreadsheet cell. When the template information is a spreadsheet, the execution module may be considered as an execution module that creates a graph or the like using data of one or more cells of the spreadsheet.

テンプレート情報は、配置用データによる置換の対象とならないシートまたはページを指定する情報である除外情報を有していてもよい。例えば、この除外情報は、例えば、テンプレート情報が示すシートのシート名に付与された予め指定された所定の文字列や、テンプレート情報が示すページのヘッダやページ名等に付与された予め指定された所定の文字列等である。あるいは、除外情報は、テンプレート情報が示すシートやページに含まれる予め指定された所定の文字列等のデータであっても良い。   The template information may include exclusion information that is information for designating sheets or pages that are not to be replaced by the placement data. For example, this exclusion information is specified in advance, for example, in a predetermined character string assigned to the sheet name of the sheet indicated by the template information, or in a page header or page name indicated by the template information. A predetermined character string or the like. Alternatively, the exclusion information may be data such as a predetermined character string specified in advance included in the sheet or page indicated by the template information.

テンプレート情報格納部101にテンプレート情報が蓄積される過程は問わない。例えば、記録媒体を介してテンプレート情報がテンプレート情報格納部101に蓄積されてもよく、通信回線等を介して帳票出力クライアント装置20等から送信されたテンプレート情報がテンプレート情報格納部101に蓄積されてもよく、あるいは、入力デバイスを介して入力されたテンプレート情報がテンプレート情報格納部101に蓄積されてもよい。テンプレート情報格納部101は、不揮発性の記録媒体が好適であるが、揮発性の記録媒体でも実現可能である。   The process in which the template information is stored in the template information storage unit 101 does not matter. For example, template information may be stored in the template information storage unit 101 via a recording medium, and template information transmitted from the form output client device 20 or the like via a communication line or the like is stored in the template information storage unit 101. Alternatively, template information input via the input device may be accumulated in the template information storage unit 101. The template information storage unit 101 is preferably a non-volatile recording medium, but can also be realized by a volatile recording medium.

データ格納部102には、テンプレート情報が示すテンプレートに配置され得るデータである配置用データが格納され得る。配置用データは、テンプレートに配置可能なデータであれば、動画像や静止画像等の画像データであっても文字列のデータであっても良く、配置されるデータの形式等は問わない。配置用データは、複数のデータベースや複数のテーブルやファイル等で管理されていても良い。なお、データベースやテーブルやファイル等で配置用データが管理されている場合、例えば、これらのデータベースやテーブルやファイル等には、テーブル名やファイル名やURL等の識別情報を対応付けておくことが好ましい。配置用データは、例えば、当該配置用データの属性を示す情報や、配置用データの項目を示す情報と対応付けて格納されている情報である。また、配置用データは、例えば、タグが付与されている情報である。また,配置用データは、例えば、当該配置用データを識別するための情報であるデータ識別情報と対応付けられている情報である。配置用データは、例えば、これらの情報と対応付けられてデータ格納部102に格納されている。データ格納部102に配置用データが記憶される過程は問わない。データ格納部102は、不揮発性の記録媒体が好適であるが、揮発性の記録媒体でも実現可能である。   The data storage unit 102 can store placement data, which is data that can be placed in the template indicated by the template information. The arrangement data may be image data such as a moving image or a still image or character string data as long as it can be arranged in the template, and the format of the arranged data is not limited. The placement data may be managed by a plurality of databases, a plurality of tables, files, and the like. When arrangement data is managed in a database, table, file, or the like, for example, identification information such as a table name, a file name, or a URL may be associated with the database, table, file, or the like. preferable. The placement data is, for example, information stored in association with information indicating the attributes of the placement data or information indicating the items of the placement data. The arrangement data is information to which a tag is attached, for example. The arrangement data is information associated with data identification information that is information for identifying the arrangement data, for example. The placement data is stored in the data storage unit 102 in association with these pieces of information, for example. The process of storing the placement data in the data storage unit 102 does not matter. The data storage unit 102 is preferably a non-volatile recording medium, but can also be realized by a volatile recording medium.

サーバ側受信部103は、帳票出力クライアント装置20から通信回線等を介して送信される、テンプレート識別情報と、配置用データを取得する条件を示す情報である取得条件情報とを受信する。テンプレート識別情報は、通常、上述したように、テンプレート情報と対応付けられてテンプレート情報格納部101に格納されているテンプレート識別情報のいずれかと同じものである。なお、ここで受信するテンプレート識別情報を、テンプレート情報を指定する情報と考えてもよい。取得条件情報は、例えば、検索条件である。取得条件情報は、複数のデータを検出することが可能な情報であっても良い。取得条件情報は、例えば、クエリや、図示しない格納部等に予め格納されているクエリを指定する情報である。取得条件情報は、例えば、データ格納部102に格納されている配置用データの中から、取得の候補となる配置用データを絞り込むことが可能な1以上の条件を示す情報であっても良い。例えば、取得条件情報は、取得対象となる配置用データが管理されているデータベースやテーブルやファイル等を指定する情報である。この指定する情報は、具体的には、データベースやテーブルやファイル等の識別情報である。また、取得条件情報は、配置用データの属性や項目等を指定する情報であっても良い。また、配置用データの内容を検索するための1以上の検索条件、例えば検索文字列等であっても良い。また、サーバ側受信部103は、通常、送信元の帳票出力クライアント装置20を識別可能なIPアドレスやMACアドレス等の情報等も受信する。サーバ側受信部103は、通常、無線または有線の通信手段で実現されるが、放送を受信する手段で実現されても良い。   The server-side receiving unit 103 receives template identification information and acquisition condition information, which is information indicating a condition for acquiring arrangement data, transmitted from the form output client device 20 via a communication line or the like. As described above, the template identification information is usually the same as any of the template identification information stored in the template information storage unit 101 in association with the template information. The template identification information received here may be considered as information for specifying the template information. The acquisition condition information is, for example, a search condition. The acquisition condition information may be information capable of detecting a plurality of data. The acquisition condition information is information specifying a query or a query stored in advance in a storage unit (not shown), for example. The acquisition condition information may be, for example, information indicating one or more conditions that can narrow down the arrangement data that is candidates for acquisition from the arrangement data stored in the data storage unit 102. For example, the acquisition condition information is information that specifies a database, a table, a file, or the like in which arrangement data to be acquired is managed. Specifically, the information to be specified is identification information such as a database, a table, or a file. Further, the acquisition condition information may be information for designating attributes and items of the placement data. Further, it may be one or more search conditions for searching the contents of the placement data, for example, a search character string. The server-side receiving unit 103 also receives information such as an IP address and a MAC address that can normally identify the source form output client device 20. The server-side receiving unit 103 is usually realized by a wireless or wired communication means, but may be realized by a means for receiving a broadcast.

配置用データ検出部104は、データ格納部102に格納されているデータの中から、サーバ側受信部103が受け付けた取得条件情報が示す条件に合う1以上の配置用データを検出し、取得する。例えば、取得条件情報がクエリや、図示しない記憶媒体等に格納されているクエリを指定する情報である場合、配置用データ検出部104は、このクエリに対応した配置用データ、即ち、クエリにより抽出される配置用データを取得する。例えば、配置用データがデータベース等によりレコード単位で管理されている場合、配置用データ検出部104は、クエリに対応する1以上のレコードを取得しても良い。また、例えば、取得条件情報が、取得対象となる配置用データが管理されているデータベースやテーブルやファイル等を指定する識別情報である場合、この識別情報と一致する識別情報が対応付けられた配置用データのデータベースやテーブルやファイル等を取得する。また、取得条件情報が配置用データの属性や項目等を指定する情報である場合、この属性や項目と対応付けられた配置用データを検出し取得する。また、取得条件情報が配置用データの内容を検索するための1以上の検索条件、例えば検索文字列等である場合、検索条件に一致する配置用データを取得する。なお、ここでの一致は、完全一致としても部分一致としても良い。配置用データ検出部104は、検出した1以上の配置用データを読み出して、メモリやハードディスク等の記憶媒体に一時記憶しても良い。   The arrangement data detection unit 104 detects and acquires one or more arrangement data that matches the condition indicated by the acquisition condition information received by the server-side receiving unit 103 from the data stored in the data storage unit 102. . For example, when the acquisition condition information is information specifying a query or a query stored in a storage medium (not shown), the placement data detection unit 104 extracts the placement data corresponding to the query, that is, the query. Get the placement data. For example, when the placement data is managed in units of records by a database or the like, the placement data detection unit 104 may acquire one or more records corresponding to the query. In addition, for example, when the acquisition condition information is identification information that specifies a database, table, file, or the like in which arrangement data to be acquired is managed, an arrangement associated with identification information that matches the identification information Get data database, table, file etc. Further, when the acquisition condition information is information for designating the attribute or item of the placement data, the placement data associated with the attribute or item is detected and obtained. Further, when the acquisition condition information is one or more search conditions for searching the contents of the arrangement data, for example, a search character string, the arrangement data that matches the search conditions is acquired. The match here may be a complete match or a partial match. The placement data detection unit 104 may read the detected one or more placement data and temporarily store it in a storage medium such as a memory or a hard disk.

配置用データ検出部104は、通常、MPUやメモリ等から実現され得る。配置用データ検出部104の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The arrangement data detection unit 104 can be usually realized by an MPU, a memory, or the like. The processing procedure of the arrangement data detection unit 104 is usually realized by software, and the software is recorded in a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

帳票データ作成部105は、サーバ側受信部103が受け付けたテンプレート識別情報に対応するテンプレート情報を複製し、複製したテンプレート情報が有するデータ指定情報を、配置用データ検出部104が取得した配置用データのうちの、データ指定情報が指定する配置用データで置換して、帳票データを作成する。   The form data creation unit 105 duplicates the template information corresponding to the template identification information received by the server side receiving unit 103, and the placement data detection unit 104 acquires the data designation information included in the duplicated template information. Of these, the data is replaced with the arrangement data specified by the data specification information, and form data is created.

具体的には、帳票データ作成部105は、まず、テンプレート識別情報に対応するテンプレート情報を複製する。この複製は図示しない予め指定されたハードディスク等の不揮発性の記憶媒体への複製であってもよいし、図示しないメモリ等の揮発性の記憶媒体への複製であってもよい。不揮発性の記憶媒体への複製の場合、複製時に、テンプレート情報のファイル名を予め指定されたルール等に従って書き換えることが好ましい。予め指定されたルールは、例えば、予め指定されたファイル名に置き換えることや、予め指定した文字列等をファイル名の前後等に付与したり、削除したりするルールである。予め指定した文字列は、日付等のように、作成される状況やテンプレート情報の状況等によって、予め指定されたルールにより変化するものであっても良い。帳票データ作成部105は、例えば、複製したテンプレート情報に配置されているテンプレートを開いて、複製したテンプレートに配置されているデータ指定情報を順次取得し、当該データ指定情報により指定される配置用データを、配置用データ検出部104が取得した配置用データの中から取得する。順次取得する際の順番等は問わないが、通常は上から順番に取得される。帳票データ作成部105は、例えば、配置用データ検出部104が取得した配置用データが含まれる1以上のレコードから、データ指定情報が指定する属性を有する配置用データや、データ指定情報が指定する項目に属する配置用データを取得する。あるいはデータ指定情報が示すタグと一致するタグが付けられたデータ指定情報を取得しても良い。また、データ指定情報が指定するキーワードを含む配置用データを取得しても良い。そして、帳票データ作成部105は、複製したテンプレート情報に配置されているデータ指定情報を、当該データ指定情報を用いて取得した配置用データで置き換える。なお、上記のハードディスクの複製が、揮発性の記憶媒体への複製であった場合、データ指定情報を配置用データで置き換えられた記憶媒体上のテンプレート情報の複製を、上記と同様のルール等に従ってファイル名を書き換えて、図示しないハードディスク等の不揮発性の記憶媒体に蓄積するようにしても良い。このように配置用データで置き換えられて作成されるテンプレート情報の複製は、テンプレート情報と結果的に同じ形式のデータである。このように置き換えられたテンプレート情報の複製を、ここでは、帳票データと称す。   Specifically, the form data creation unit 105 first duplicates template information corresponding to the template identification information. This duplication may be a duplication to a non-illustrated non-volatile storage medium such as a hard disk or a duplication to a volatile storage medium such as a memory (not shown). In the case of copying to a non-volatile storage medium, it is preferable to rewrite the file name of the template information according to a rule or the like specified in advance at the time of copying. The predesignated rule is, for example, a rule that replaces with a predesignated file name, adds a predesignated character string or the like before or after the file name, or deletes it. The character string designated in advance may be changed according to a rule designated in advance depending on a situation to be created, a situation of template information, or the like, such as a date. The form data creation unit 105 opens, for example, a template arranged in the duplicated template information, sequentially acquires data designation information arranged in the duplicated template, and arrangement data designated by the data designation information Is acquired from the arrangement data acquired by the arrangement data detection unit 104. There is no limitation on the order or the like when acquiring sequentially, but the order is usually acquired from the top. For example, the form data creation unit 105 designates the placement data having the attribute designated by the data designation information or the data designation information from one or more records including the placement data acquired by the placement data detection unit 104. Get the placement data belonging to the item. Or you may acquire the data designation | designated information with the tag corresponding to the tag which data designation | designated information shows. Further, arrangement data including a keyword designated by the data designation information may be acquired. Then, the form data creation unit 105 replaces the data designation information arranged in the copied template information with the arrangement data acquired using the data designation information. If the above-mentioned hard disk copy is a copy to a volatile storage medium, the copy of the template information on the storage medium in which the data designation information is replaced with the placement data is performed according to the same rules as described above. The file name may be rewritten and stored in a non-illustrated nonvolatile storage medium such as a hard disk. The copy of the template information created by being replaced with the placement data in this way is data in the same format as the template information as a result. A copy of the template information replaced in this way is referred to herein as form data.

テンプレート情報の複製のデータ指定情報に対して行われる配置用データによる置き換え処理の詳細は、例えば、テンプレート情報等によって異なるようにして良い。配置用データの置き換えの具体例については後述する。   The details of the replacement process using the placement data performed on the data specification information for copying the template information may differ depending on the template information, for example. A specific example of the replacement of the placement data will be described later.

なお、複製されたテンプレート情報の全てのデータ指定情報に対応する全ての配置用データを取得後、複製されたテンプレート情報の全てのデータ指定情報を取得した配置用データで置き換えるようにしても良いし、一のデータ指定情報に対応する配置用データを取得する毎に、この一のデータ指定情報を、取得した配置用データで置き換えるようにしても良い。なお、ここで述べる置換とは、結果的にデータ指定情報が配置用データで置き換えられる処理であれば良く、例えば、既存のデータ指定情報を、配置用データで上書きすることであっても良いし、既存のデータ指定情報を削除後、配置用データを削除した位置に配置することであっても良い。   In addition, after acquiring all the arrangement data corresponding to all the data designation information of the duplicated template information, all the data designation information of the duplicated template information may be replaced with the obtained arrangement data. Each time the placement data corresponding to one piece of data designation information is acquired, this one piece of data designation information may be replaced with the obtained placement data. Note that the replacement described here may be a process in which the data designation information is eventually replaced with the placement data. For example, the existing data designation information may be overwritten with the placement data. Alternatively, after deleting the existing data designation information, it may be arranged at the position where the arrangement data is deleted.

なお、帳票データ作成部105は、演算式または実行モジュールに対応したデータ指定情報についても、上記と同様に、配置用データ検出部104が取得した配置用データのうちの、データ指定情報が指定する配置用データで置換する。   Note that the form data creation unit 105 also designates the data designation information corresponding to the arithmetic expression or the execution module by the data designation information in the placement data acquired by the placement data detection unit 104 as described above. Replace with placement data.

なお、帳票データ作成部105は、例えば、サーバ側受信部103が受け付けたテンプレート識別情報に対応するテンプレート情報が複数のシートにより構成されるスプレッドシートのテンプレート情報である場合、上記の処理を複数のシートについて、それぞれ実行する。具体的には、帳票データ作成部105は、このテンプレート情報を複製し、複製したテンプレート情報が示す各スプレッドシートのセルに配置されているデータ指定情報を、配置用データ検出部104が取得した配置用データのうちの、このデータ指定情報が指定する配置用データで置換していくことで、複数シートを有する帳票データを作成する。   For example, when the template information corresponding to the template identification information received by the server-side receiving unit 103 is the template information of a spreadsheet composed of a plurality of sheets, the form data creation unit 105 performs the above processing on a plurality of items. Execute for each sheet. Specifically, the form data creation unit 105 duplicates the template information, and the placement data detection unit 104 acquires the data designation information placed in each spreadsheet cell indicated by the duplicated template information. By replacing the layout data with the layout data specified by the data specification information, the form data having a plurality of sheets is created.

また、帳票データ作成部105は、例えば、サーバ側受信部103が受け付けたテンプレート識別情報に対応するテンプレート情報が複数のページにより構成されるテンプレート情報である場合、上記の処理を複数のページについて、それぞれ実行する。具体的には、帳票データ作成部105は、このテンプレート情報を複製し、複製したテンプレート情報が示す各ページに配置されているデータ指定情報を、配置用データ検出部104が取得した配置用データのうちの、データ指定情報が指定する配置用データで置換して、複数ページを有する帳票データを作成する。   Further, for example, when the template information corresponding to the template identification information received by the server-side receiving unit 103 is template information composed of a plurality of pages, the form data creation unit 105 performs the above processing for a plurality of pages. Run each one. Specifically, the form data creation unit 105 duplicates the template information, and the data designation information arranged on each page indicated by the duplicated template information is used for the placement data acquired by the placement data detection unit 104. Of these, it replaces with the arrangement data designated by the data designation information, and forms data having a plurality of pages is created.

ただし、帳票データ作成部105は、テンプレート情報の複製について置換を行う際に、テンプレート情報の複製内のシートやページに除外情報が含まれるか否かを検出し、シートまたやページに除外情報が含まれる場合、この除外情報により指定されるシートまたはページの配置用データによる置換を行わないようにする。即ち、除外情報が示すテンプレート情報のシートまたはページは、置換処理の対象から除外して、単に複製するだけとしてよい。   However, the form data creation unit 105 detects whether or not the exclusion information is included in the sheet or page in the template information copy when replacing the template information copy, and the exclusion information is included in the sheet or page. If it is included, the replacement by the layout data of the sheet or page specified by the exclusion information is not performed. That is, the template information sheet or page indicated by the exclusion information may be excluded from the replacement process target and simply copied.

帳票データ作成部105は、通常、MPUやメモリ等から実現され得る。帳票データ作成部105の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The form data creation unit 105 can usually be realized by an MPU, a memory, or the like. The processing procedure of the form data creation unit 105 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

サーバ側送信部106は、帳票データ作成部105が作成した帳票データを、帳票出力クライアント装置20に送信する。帳票出力クライアント装置20が、複数存在する場合、例えば、サーバ側受信部103が受信したテンプレート識別情報と取得条件情報との送信元となる帳票出力クライアント装置20に対して作成した帳票データを送信する。送信元の帳票出力クライアント装置20は、サーバ側受信部103が受信した送信元を識別するためのIPアドレスやMACアドレス等を用いて指定可能である。サーバ側送信部106は、通常、無線または有線の通信手段で実現されるが、放送手段で実現されても良い。   The server-side transmitting unit 106 transmits the form data created by the form data creating unit 105 to the form output client device 20. When there are a plurality of form output client devices 20, for example, the created form data is transmitted to the form output client device 20 that is the transmission source of the template identification information and the acquisition condition information received by the server-side receiving unit 103. . The source form output client device 20 of the transmission source can be specified by using an IP address, a MAC address, or the like for identifying the transmission source received by the server side receiving unit 103. The server-side transmitting unit 106 is usually realized by a wireless or wired communication unit, but may be realized by a broadcasting unit.

テンプレート受信部107は、帳票出力クライアント装置20から送信された、テンプレート識別情報と対応付けられたテンプレート情報を受信する。テンプレート受信部107は、受信したテンプレート情報とテンプレート識別情報とを対応付けてテンプレート情報格納部101に蓄積する。テンプレート受信部107は、通常、無線または有線の通信手段で実現されるが、放送を受信する手段で実現されても良い。   The template receiving unit 107 receives the template information associated with the template identification information transmitted from the form output client device 20. The template receiving unit 107 stores the received template information and template identification information in the template information storage unit 101 in association with each other. The template receiving unit 107 is usually realized by a wireless or wired communication means, but may be realized by a means for receiving a broadcast.

受付部201は、ユーザ等から入力されるテンプレート識別情報と、取得条件情報とを受け付ける。テンプレート識別情報と取得条件情報とを入力する入力手段は、テンキーやキーボードやマウスやメニュー画面によるもの等、何でも良い。受付部201は、テンキーやキーボード等の入力手段のデバイスドライバーや、メニュー画面の制御ソフトウェア等で実現され得る。   The reception unit 201 receives template identification information and acquisition condition information input from a user or the like. The input means for inputting the template identification information and the acquisition condition information may be anything such as a numeric keypad, a keyboard, a mouse, or a menu screen. The accepting unit 201 can be realized by a device driver for input means such as a numeric keypad or a keyboard, control software for a menu screen, and the like.

クライアント側送信部202は、受付部201が受け付けたテンプレート識別情報と、取得条件情報とを、帳票処理サーバ装置10に送信する。クライアント側送信部202は、通常、無線または有線の通信手段で実現されるが、放送手段で実現されても良い。   The client side transmission unit 202 transmits the template identification information received by the reception unit 201 and the acquisition condition information to the form processing server device 10. The client-side transmitting unit 202 is usually realized by a wireless or wired communication unit, but may be realized by a broadcasting unit.

クライアント側受信部203は、帳票処理サーバから送信される帳票データを受信する。受信した帳票データを、例えば図示しない記憶媒体等に蓄積してもよい。クライアント側受信部203は、通常、無線または有線の通信手段で実現されるが、放送を受信する手段で実現されても良い。   The client side reception unit 203 receives form data transmitted from the form processing server. The received form data may be stored in a storage medium (not shown), for example. The client-side receiving unit 203 is usually realized by a wireless or wired communication means, but may be realized by a means for receiving a broadcast.

実行部204は、帳票データをこの帳票データを扱えるアプリケーションソフトウェアで開き、クライアント側受信部203が受信した帳票データに含まれる演算式を用いた演算処理または実行モジュールを、帳票データに含まれる演算式または実行モジュールに対応するデータ指定情報が置換された配置用データを用いて実行する。例えば、帳票データ内の演算式の演算対象となる配置用データを用いて演算を行う。そして、演算結果を取得する。具体的には、帳票データがスプレッドシートであるとすると、演算式の演算対象として指定されているセルに配置されている配置用データを用いて、演算式が示す演算を行い、演算結果を取得する。あるいは、また、実行モジュールが、グラフを作成するモジュールである場合、帳票データ内の予め指定された範囲のデータを用いてグラフを作成する。具体的には、帳票データがスプレッドシートであるとすると、予め指定されたセルに配置されている配置用データを用いてグラフを作成する。なお、アプリケーションソフトウェアは、図示しない記憶媒体等に予め格納しておく。   The execution unit 204 opens the form data with application software that can handle the form data, and the arithmetic processing or execution module using the arithmetic expression included in the form data received by the client-side receiving unit 203 is changed to the arithmetic expression included in the form data. Alternatively, it is executed using the placement data in which the data designation information corresponding to the execution module is replaced. For example, the calculation is performed using the placement data that is the calculation target of the calculation formula in the form data. Then, the calculation result is acquired. Specifically, assuming that the form data is a spreadsheet, use the placement data placed in the cell specified as the calculation target of the calculation formula to perform the calculation indicated by the calculation formula and obtain the calculation result. To do. Alternatively, when the execution module is a module for creating a graph, a graph is created using data in a predesignated range in the form data. Specifically, assuming that the form data is a spreadsheet, a graph is created using arrangement data arranged in a cell designated in advance. The application software is stored in advance in a storage medium (not shown).

実行部204は、通常、MPUやメモリ等から実現され得る。実行部204の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The execution unit 204 can usually be realized by an MPU, a memory, or the like. The processing procedure of the execution unit 204 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

出力部205は、クライアント側受信部203が受信した帳票データを出力する。出力部205は、例えば、受信した帳票データをそのまま出力する。また、出力部205は、例えば、帳票データを、当該帳票データを扱うことのできるアプリケーションソフトウェア等を用いて開き、開いた帳票データの情報を出力しても良い。なお、帳票データをアプリケーションソフトウェアで開く処理等は、実行部204が行うようにしても良い。帳票データがスプレッドシートである場合、帳票データを扱うことのできるアプリケーションソフトウェアは、例えば、いわゆる表計算ソフトウェアである。開いた帳票データの情報は、例えば、帳票データを用いて作成された帳票の画像データである。また、出力部205は、クライアント側受信部203が受信した帳票データに、実行部204の実行結果の情報を加えた帳票データを出力する。例えば、実行部204において実行された、帳票データが有する演算式の演算の結果を、帳票データの予め指定された位置、例えばセル等に配置した画像データを構成し、出力しても良い。また、実行部204において実行された、帳票データが有する実行モジュールの実行結果を、帳票データの予め指定された位置、例えばセル等に配置した画像データを構成し、出力しても良い。具体的には、実行モジュールを実行して作成したグラフを配置した画像データを構成し出力しても良い。ここで述べる出力とは、ディスプレイへの表示、プロジェクターを用いた投影、プリンタへの印字、音出力、外部の装置への送信、記録媒体への蓄積、他の処理装置や他のプログラム等への処理結果の引渡し等を含む概念である。出力部205は、ディスプレイやプリンタ等の出力デバイスを含むと考えても含まないと考えても良い。出力部205は、出力デバイスのドライバーソフトまたは、出力デバイスのドライバーソフトと出力デバイス等で実現され得る。   The output unit 205 outputs the form data received by the client side receiving unit 203. For example, the output unit 205 outputs the received form data as it is. Further, the output unit 205 may open the form data using application software or the like that can handle the form data, and output the information of the opened form data. Note that the execution unit 204 may perform processing for opening the form data with application software. When the form data is a spreadsheet, application software that can handle the form data is, for example, so-called spreadsheet software. The information on the opened form data is, for example, form image data created using the form data. The output unit 205 outputs form data obtained by adding the execution result information of the execution unit 204 to the form data received by the client side reception unit 203. For example, the result of the arithmetic expression of the form data executed by the execution unit 204 may be configured and output as image data arranged in a predetermined position of the form data, such as a cell. Further, the execution result of the execution module included in the form data executed by the execution unit 204 may be configured and output as image data arranged in a predetermined position of the form data, for example, a cell. Specifically, image data in which a graph created by executing an execution module is arranged may be configured and output. The output described here refers to display on a display, projection using a projector, printing on a printer, sound output, transmission to an external device, storage on a recording medium, and output to other processing devices or other programs. It is a concept including delivery of processing results. The output unit 205 may or may not include an output device such as a display or a printer. The output unit 205 can be realized by output device driver software, or output device driver software and an output device.

編集操作受付部206は、テンプレート情報に対する操作の指示である操作指示を受け付ける。操作指示は、具体的には、テンプレート情報を編集する指示である。ここで述べる編集は、テンプレート情報を新たに作成することも含む概念である。操作指示の入力手段は、テンキーやキーボードやマウスやメニュー画面によるもの等、何でも良い。編集操作受付部206は、テンキーやキーボード等の入力手段のデバイスドライバーや、メニュー画面の制御ソフトウェア等で実現され得る。   The editing operation reception unit 206 receives an operation instruction that is an operation instruction for the template information. The operation instruction is specifically an instruction to edit the template information. The editing described here is a concept that includes creating new template information. The operation instruction input means may be anything such as a numeric keypad, a keyboard, a mouse, or a menu screen. The editing operation accepting unit 206 can be realized by a device driver for input means such as a numeric keypad and a keyboard, control software for a menu screen, and the like.

テンプレート編集部207は、編集操作受付部206が受け付けた操作指示に応じて、テンプレート情報を編集する。例えば操作指示が、テンプレート情報を新たに作成する指示である場合、テンプレート情報を新たに作成する。また、操作指示がテンプレート情報を編集する指示である場合、既存のテンプレート情報や新たに作成されるテンプレート情報に対して、指示に応じた編集、例えば書き換え等を行う。テンプレート編集部207は、例えば、編集を行う際に、テンプレート情報を扱うことができるアプリケーションソフトウェアを適宜実行させる。編集対象となるテンプレート情報や、編集された、あるいは新規に作成されたテンプレート情報は、メモリやハードディスク等の予め指定された図示しない記憶媒体等に蓄積される。   The template editing unit 207 edits the template information according to the operation instruction received by the editing operation receiving unit 206. For example, when the operation instruction is an instruction to newly create template information, the template information is newly created. When the operation instruction is an instruction to edit template information, editing according to the instruction, for example, rewriting is performed on existing template information or newly created template information. For example, when editing, the template editing unit 207 appropriately executes application software capable of handling template information. Template information to be edited and template information that has been edited or newly created is stored in a storage medium (not shown) such as a memory or a hard disk that is designated in advance.

テンプレート編集部207は、通常、MPUやメモリ等から実現され得る。テンプレート編集部207の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The template editing unit 207 can be usually realized by an MPU, a memory, or the like. The processing procedure of the template editing unit 207 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

テンプレート送信部208は、テンプレート編集部207が編集したテンプレート情報を、帳票処理サーバ装置10に送信する。例えば、図示しない受付部や編集操作受付部206が受け付けた指示によってユーザ等により指定された、テンプレート編集部207が編集したテンプレート情報を、帳票処理サーバ装置10に送信する。テンプレート送信部208は、通常、無線または有線の通信手段で実現されるが、放送手段で実現されても良い。   The template transmission unit 208 transmits the template information edited by the template editing unit 207 to the form processing server device 10. For example, the template information edited by the template editing unit 207 specified by the user or the like according to an instruction received by the receiving unit (not shown) or the editing operation receiving unit 206 is transmitted to the form processing server device 10. The template transmission unit 208 is usually realized by a wireless or wired communication unit, but may be realized by a broadcasting unit.

次に、帳票処理システム1の帳票処理サーバ装置10の動作について図2のフローチャートを用いて説明する。   Next, the operation of the form processing server apparatus 10 of the form processing system 1 will be described with reference to the flowchart of FIG.

(ステップS201)サーバ側受信部103は、帳票出力クライアント装置20から送信されるテンプレート識別情報と取得条件情報とを受信したか否かを判断する。受信した場合、ステップS206に進み、受信していない場合、ステップS206に進む。   (Step S201) The server side receiving unit 103 determines whether or not the template identification information and the acquisition condition information transmitted from the form output client device 20 are received. If received, the process proceeds to step S206. If not received, the process proceeds to step S206.

(ステップS202)配置用データ検出部104は、データ格納部102に格納されている配置用データの中から、ステップS201において受信した取得条件情報に対応した配置用データを取得する。例えば、取得条件情報により指定された1以上の配置用データが管理されているレコードを、データ格納部102に格納されている配置用データを管理するデータベースや管理テーブルにおいて検出し、取得する。   (Step S202) The placement data detection unit 104 acquires placement data corresponding to the acquisition condition information received in step S201 from the placement data stored in the data storage unit 102. For example, a record in which one or more pieces of placement data specified by the acquisition condition information are managed is detected and acquired in a database or management table that manages the placement data stored in the data storage unit 102.

(ステップS203)帳票データ作成部105は、ステップS201において受信したテンプレート指定情報と一致するテンプレート指定情報と対応付けられたテンプレート情報を、テンプレート情報格納部101内に格納されているテンプレート情報から検索するする。そして検出したテンプレート情報を複製する。複製時に、テンプレート情報のファイル名等をリネームしても良い。   (Step S203) The form data creation unit 105 searches the template information stored in the template information storage unit 101 for template information associated with the template designation information that matches the template designation information received in step S201. To do. Then, the detected template information is duplicated. When duplicating, the file name of the template information may be renamed.

(ステップS204)帳票データ作成部105は、ステップS203において複製したテンプレート情報が有するデータ指定情報が指定する配置用データを、ステップS202において取得された配置用データの中から取得する。例えば、ステップS202で取得されたレコードから、データ指定情報が指定する項目や属性の配置用データを取得する。そして、取得した配置用データで、当該配置用データを指定したデータ指定情報を置換して帳票データを作成する。なお、最終的に、配置用データで置換されなかったデータ指定情報がある場合、このデータ指定情報は、テンプレート情報の複製から削除する。   (Step S204) The form data creation unit 105 obtains the placement data designated by the data designation information included in the template information copied in Step S203 from the placement data obtained in Step S202. For example, data for arrangement of items and attributes specified by the data specification information is acquired from the record acquired in step S202. Then, form data is created by replacing the data designation information designating the arrangement data with the obtained arrangement data. If there is finally data designation information that has not been replaced with the placement data, this data designation information is deleted from the template information copy.

(ステップS205)サーバ側送信部106は、ステップS204において作成された帳票データを、帳票出力クライアント装置20に送信する。そして、ステップS201に戻る。   (Step S205) The server-side transmitting unit 106 transmits the form data created in step S204 to the form output client device 20. Then, the process returns to step S201.

(ステップS206)テンプレート受信部107は、帳票出力クライアント装置20からテンプレート情報を受信したか否かを判断する。受信した場合、ステップS207に進む。受信していない場合、ステップS201に戻る。   (Step S206) The template receiving unit 107 determines whether template information has been received from the form output client device 20. If received, the process proceeds to step S207. If not received, the process returns to step S201.

(ステップS207)テンプレート受信部107は、ステップS206において受信したテンプレート情報を、テンプレート情報格納部101に蓄積する。そして、ステップS201に戻る。   (Step S207) The template receiving unit 107 accumulates the template information received in step S206 in the template information storage unit 101. Then, the process returns to step S201.

なお、図2のフローチャートにおいて、電源オフや処理終了の割り込みにより処理は終了する。   In the flowchart of FIG. 2, the process is terminated by powering off or a process termination interrupt.

次に、帳票処理システム1の帳票出力クライアント装置20の動作について図3のフローチャートを用いて説明する。   Next, the operation of the form output client device 20 of the form processing system 1 will be described with reference to the flowchart of FIG.

(ステップS301)受付部201は、テンプレート識別情報と取得条件情報とを受け付けたか否かを判断する。受け付けた場合、ステップS302に進み、受け付けていない場合、ステップS303に進む。   (Step S301) The receiving unit 201 determines whether template identification information and acquisition condition information have been received. If accepted, the process proceeds to step S302. If not accepted, the process proceeds to step S303.

(ステップS302)クライアント側送信部202は、ステップS301において受け付けたテンプレート識別情報と取得条件情報とを帳票処理サーバ装置10に送信する。そして、ステップS301に戻る。   (Step S302) The client side transmission unit 202 transmits the template identification information and the acquisition condition information received in step S301 to the form processing server apparatus 10. Then, the process returns to step S301.

(ステップS303)クライアント側受信部203は、帳票データを受信したか否かを判断する。受信した場合、ステップS304に進み、受信していない場合、ステップS309に進む。   (Step S303) The client side receiving unit 203 determines whether or not form data has been received. If received, the process proceeds to step S304. If not received, the process proceeds to step S309.

(ステップS304)実行部204は、ステップS303において受信した帳票データを、当該帳票データに対応したアプリケーションソフトウェアで開き、当該帳票データに演算式が含まれるか否かを判断する。含まれる場合、ステップS305に進み、含まれない場合、ステップS306に進む。   (Step S304) The execution unit 204 opens the form data received in Step S303 with application software corresponding to the form data, and determines whether the form data includes an arithmetic expression. If included, the process proceeds to step S305. If not included, the process proceeds to step S306.

(ステップS305)実行部204は、帳票データに含まれる演算式を用いた演算を、当該演算式が指定する帳票データ中の配置用データを用いて実行する。演算結果を、例えば、図示しない記憶媒体等に一時記憶する。   (Step S305) The execution unit 204 executes a calculation using the calculation formula included in the form data, using the placement data in the form data specified by the calculation formula. The calculation result is temporarily stored in, for example, a storage medium (not shown).

(ステップS306)実行部204は、ステップS304において開いた帳票データに実行モジュールが含まれるか否かを判断する。含まれる場合、ステップS307に進み、含まれない場合、ステップS308に進む。   (Step S306) The execution unit 204 determines whether or not an execution module is included in the form data opened in step S304. If included, the process proceeds to step S307, and if not included, the process proceeds to step S308.

(ステップS307)実行部204は、帳票データが有している配置用データを用いて、帳票データに含まれる実行モジュールを実行する。実行モジュールの実行結果を、例えば、図示しない記憶媒体等に一時記憶する。   (Step S307) The execution unit 204 executes the execution module included in the form data, using the placement data included in the form data. The execution result of the execution module is temporarily stored in, for example, a storage medium (not shown).

(ステップS308)出力部205は、ステップS303において受信した帳票データを出力する。例えば、ステップS303において受信した帳票データを、当該帳票データに対応したアプリケーションソフトウェアを用いて開き、開いた帳票データにステップS305およびステップS307において取得した演算結果および実行結果を配置した帳票の画像情報を構成し、構成した画像情報を図示しないモニタ等に表示したり、図示しないプリンタ等から印刷する。そしてステップS301に戻る。   (Step S308) The output unit 205 outputs the form data received in step S303. For example, the form data received in step S303 is opened using application software corresponding to the form data, and the image information of the form in which the calculation results and execution results obtained in steps S305 and S307 are arranged in the opened form data. The configured image information is displayed on a monitor (not shown) or printed from a printer (not shown). Then, the process returns to step S301.

(ステップS309)編集操作受付部206は、テンプレート情報に対する編集操作を受け付けたか否かを判断する。編集操作は、例えば、編集対象となるテンプレート情報を指定する情報と、編集内容を示す情報を含む。編集操作は、例えば、テンプレート情報を新規に作成する操作も含むと考えて良い。編集操作は操作に応じたコマンド等を出力する処理と考えても良い。   (Step S309) The editing operation reception unit 206 determines whether an editing operation for the template information has been received. The editing operation includes, for example, information specifying template information to be edited and information indicating editing contents. The editing operation may be considered to include an operation for creating new template information, for example. The editing operation may be considered as a process for outputting a command or the like according to the operation.

(ステップS310)テンプレート編集部207は、ステップS309で受け付けた編集操作に応じて、テンプレート情報を編集する。編集したテンプレート情報を、図示しない記憶媒体等に蓄積する。そして、ステップS301に戻る。   (Step S310) The template editing unit 207 edits the template information in accordance with the editing operation accepted in step S309. The edited template information is stored in a storage medium (not shown). Then, the process returns to step S301.

(ステップS311)テンプレート送信部208は、編集操作受付部206等が、図示しない記憶媒体等に格納されているテンプレート情報を送信する指示を受け付けたか否かを判断する。受け付けた場合、ステップS312に進む。受け付けていない場合、ステップS301に戻る。   (Step S311) The template transmission unit 208 determines whether the editing operation reception unit 206 or the like has received an instruction to transmit template information stored in a storage medium (not shown) or the like. If accepted, the process proceeds to step S312. If not accepted, the process returns to step S301.

(ステップS312)テンプレート送信部208は、ステップS311において受け付けた指示により指定されたテンプレート情報を、帳票処理サーバ装置10に送信する。そして、ステップS301に戻る。   (Step S312) The template transmission unit 208 transmits the template information designated by the instruction received in Step S311 to the form processing server device 10. Then, the process returns to step S301.

なお、図3のフローチャートにおいて、電源オフや処理終了の割り込みにより処理は終了する。   In the flowchart of FIG. 3, the process ends when the power is turned off or the process is terminated.

以下、本実施の形態における帳票処理システム1の具体的な動作について説明する。帳票処理システム1の概念図は図4である。   Hereinafter, a specific operation of the form processing system 1 in the present embodiment will be described. A conceptual diagram of the form processing system 1 is shown in FIG.

(具体例1)
この具体例においては、テンプレート情報が、当該テンプレート情報が示すテンプレートの一のシートまたはページに、2以上の同じデータ指定情報を有するものである場合を例に挙げて説明する。ここで述べる同じデータ指定情報とは、実質的に同じ属性や項目、同じタグ等を有するデータを指定可能な情報であれば良く、データ指定情報同士が完全一致しなくても良い。例えば、データ指定情報のうちの一部のみが、実質的に配置されるデータを指定する部分として用いられる場合、この部分が一致していれば、他の部分が一致していなくても、ここでは、同じデータ指定情報と考えてよい。例えば、データ指定情報の末尾や先頭等の一部に連番等の情報が付加されており、この部分がデータを指定する部分として用いられない場合、連番等の情報を除いた部分が一致するデータ指定情報同士を、同じデータ指定情報と考えても良い。なお、同じデータ指定情報は、クエリ等の取得条件情報を用いて配置用データ検出部104で取得された配置用データの1以上のレコードにそれぞれ含まれる同じ項目の配置用データを、取得されるレコード別に指定可能な情報と考えても良い。
(Specific example 1)
In this specific example, a case will be described as an example where the template information has two or more pieces of the same data designation information on one sheet or page of the template indicated by the template information. The same data designation information described here may be information that can designate data having substantially the same attribute, item, and the same tag, and the data designation information may not completely match. For example, when only a part of the data specification information is used as a part that specifies data to be substantially arranged, if this part matches, the other part does not match. Then, it can be considered as the same data designation information. For example, if information such as a serial number is added to the end of the data specification information, such as the serial number, and this part is not used as a part that specifies data, the part excluding information such as the serial number matches Data designation information to be performed may be considered as the same data designation information. Note that the same data designation information is obtained by using the acquisition condition information such as a query for the arrangement data of the same item respectively included in one or more records of the arrangement data acquired by the arrangement data detection unit 104. It can be considered as information that can be specified for each record.

図5は、テンプレート情報格納部101にテンプレート識別情報と対応付けられて格納されているテンプレート情報を管理するためのテンプレート情報管理表である。テンプレート情報管理表は、「テンプレート情報」と、「ファイル名」という項目を有している。「テンプレート情報」は、テンプレート情報である。「ファイル名」は、テンプレート情報ファイルのファイル名である。なお、ファイル名の代わりに他のテンプレート識別情報を用いても良い。   FIG. 5 is a template information management table for managing template information stored in the template information storage unit 101 in association with template identification information. The template information management table has items of “template information” and “file name”. “Template information” is template information. “File name” is the file name of the template information file. Other template identification information may be used instead of the file name.

図6は、データ格納部102に格納されている配置用データを管理するテーブルを管理するテーブル管理表である。テーブル管理表は、「テーブル名」と、「テーブル」という項目を有している。「テーブル名」はテーブル名である。なお、テーブル名の代わりに他のテーブル識別情報を用いても良い。「テーブル」は、配置用データを管理するテーブルのデータである。   FIG. 6 is a table management table for managing a table for managing the placement data stored in the data storage unit 102. The table management table has items of “table name” and “table”. “Table name” is a table name. Other table identification information may be used instead of the table name. The “table” is data of a table that manages the placement data.

まず、ユーザが、自分自身が利用した7月分の経費を精算するための帳票を作成するために、帳票出力クライアント装置20において、メニュー画面やキーボード等を操作して、テンプレート指定情報と、取得条件情報とを入力したとする。例えば、テンプレート情報としては、「経費精算申請書テンプレート」というテンプレート情報のファイル名を入力したとする。また、取得条件情報として、帳票の作成対象となるデータが管理されているテーブル名である「経費テーブル」と、ユーザの識別情報である「J3001」と、経費の精算対象となる月を指定するための「7月」という情報を入力したとする。これらの取得条件情報は例えばクエリと考えて良い。なお、ユーザの識別情報は、例えば、ユーザの社員番号等である。ユーザの識別情報は、帳票出力クライアント装置20にログインする際のユーザID等を用いるようにしても良い。   First, in order to create a form for the user to pay for the July expenses used by the user, the form output client device 20 operates the menu screen, the keyboard, etc., and acquires the template designation information. Assume that condition information is input. For example, assume that the template information file name “expense settlement application form template” is input as the template information. In addition, as the acquisition condition information, “expense table” that is a table name in which data for which a form is to be created is managed, “J3001” that is user identification information, and a month for which expense is to be settled are designated. Suppose that the information “July” is input. These acquisition condition information may be considered as a query, for example. The user identification information is, for example, the employee number of the user. As the user identification information, a user ID or the like when logging in to the form output client device 20 may be used.

受付部201は、ユーザにより入力された上記のようなテンプレート指定情報と取得条件情報とを受け付ける。そして、クライアント側送信部202は、受付部201が受け付けたテンプレート識別情報と取得条件情報とを、帳票処理サーバ装置10に送信する。   The receiving unit 201 receives the above-described template designation information and acquisition condition information input by the user. Then, the client side transmission unit 202 transmits the template identification information and the acquisition condition information received by the reception unit 201 to the form processing server apparatus 10.

帳票処理サーバ装置10のサーバ側受信部103は、ユーザから送信されるテンプレート識別情報と取得条件情報とを受信する。受信した情報は、図示しないメモリ等の記憶媒体に一時記憶される。   The server side receiving unit 103 of the form processing server apparatus 10 receives the template identification information and the acquisition condition information transmitted from the user. The received information is temporarily stored in a storage medium such as a memory (not shown).

配置用データ検出部104は、サーバ側受信部103が受信した取得条件情報が示す条件を満たす配置用情報をデータ格納部102に格納されている配置用データの中から取得する。ここでは、受信した取得条件情報は、「経費テーブル」というテーブル名と、「J3001」というユーザ識別情報と、「7月」という月を指定する情報である。このため、配置用データ検出部104は、図6に示したようなテーブル管理表から、「テーブル名」項目の値が「経費テーブル」であるレコードのテーブルを検出し、このテーブルで管理されている配置用データのレコードの中から、ユーザ識別情報が「J3001」で、月を指定する情報が「7月」であるレコードを検出し、取得する。   The placement data detection unit 104 acquires the placement information satisfying the condition indicated by the acquisition condition information received by the server side receiving unit 103 from the placement data stored in the data storage unit 102. Here, the received acquisition condition information is information specifying a table name “expense table”, user identification information “J3001”, and a month “July”. For this reason, the arrangement data detecting unit 104 detects a table of records whose “table name” item value is “expense table” from the table management table as shown in FIG. The record having the user identification information “J3001” and the information specifying the month “July” is detected and acquired from the arrangement data records.

図7は、「経費テーブル」というテーブル名と対応付けられたテーブルの具体的な内容を示す図である。経費テーブルは、「ID」、「ユーザID」、「日付」、「費用分類」、「費用詳細」、「支払い先」、「摘要」、「本体金額」、「消費税額」、「精算額」、「承認状況」という項目を有している。「ID」は、レコードを管理するための識別情報である。「ユーザID」は、経費を利用したユーザの識別情報である。「日付」経費が発生した日付である。「費用分類」は経費の費用分類である。「費用詳細」は経費の具体的な内容を示す情報である。「支払い先」は経費の支払い先を示す情報である。「摘要」は、経費の主要な内訳を示す情報である。「本体金額」は経費の金額、「消費税額」は、本体金額に対する消費税額、「精算額」は精算される金額である。「承認状況」は経費が会社に承認されたか否かを示す情報である。   FIG. 7 is a diagram illustrating specific contents of a table associated with the table name “expense table”. The expense table includes “ID”, “user ID”, “date”, “expense classification”, “expense details”, “payee”, “description”, “main amount”, “consumption tax amount”, “settlement amount”. , “Approval status” is included. “ID” is identification information for managing records. “User ID” is identification information of a user who uses the expense. “Date” is the date the expense was incurred. “Cost classification” is an expense classification of expenses. “Expense Details” is information indicating specific contents of expenses. “Payment destination” is information indicating a payment destination of expenses. “Summary” is information indicating the main breakdown of expenses. The “main body amount” is the amount of expenses, the “consumption tax amount” is the consumption tax amount with respect to the main body amount, and the “settlement amount” is the amount to be settled. “Approval status” is information indicating whether the expense has been approved by the company.

配置用データ検出部104は、取得条件情報が示す図7に示した「経費テーブル」というテーブルから、他の取得条件情報が示すレコードを検出し、取得する。具体的には、「経費テーブル」から、「ユーザID」項目の値が、取得条件情報が示すユーザ識別情報の値である「J3001」と一致するとともに、「日付」項目の値が、取得条件情報が示す月の値である「7月」が示す範囲の値、即ち7月1日から7月31日までの範囲の値であるレコードを検出する。例えば、「ID」が「10006」から「10010」までのレコード等が、条件を満たすレコードとして検出される。配置用データ検出部104は、検出したレコードの値を読み出し、例えば図示しない記憶媒体等に一時記憶する。   The placement data detection unit 104 detects and acquires a record indicated by other acquisition condition information from the table “expense table” shown in FIG. 7 indicated by the acquisition condition information. Specifically, from the “expense table”, the value of the “user ID” item matches “J3001” which is the value of the user identification information indicated by the acquisition condition information, and the value of the “date” item is the acquisition condition. A record having a value in the range indicated by “July”, which is the value of the month indicated by the information, that is, a value in the range from July 1st to July 31st is detected. For example, records with “ID” from “10006” to “10010” are detected as records satisfying the condition. The arrangement data detection unit 104 reads the value of the detected record and temporarily stores it in, for example, a storage medium (not shown).

図8は、配置用データ検出部104が取得したレコードを管理する管理テーブルを示す図である。図において、テーブルの項目等は、図7と同様である。   FIG. 8 is a diagram illustrating a management table for managing records acquired by the placement data detection unit 104. In the figure, the items in the table are the same as those in FIG.

次に、帳票データ作成部105は、図5に示したテンプレート管理表から、「ファイル名」項目の値が、サーバ側受信部103が受信したテンプレート識別情報「経費精算明細書テンプレート」と一致するレコードを検出し、検出したレコードのテンプレート情報を複製する。複製の際に、複製したテンプレート情報もしくは複製元のテンプレート情報からファイル名(テンプレート識別情報)を読み出し、このファイル名から、「テンプレート」という文字列を削除し、複製時の日付を入れて、新たなファイル名を作成し、このファイル名で、テンプレート情報の複製のファイル名を書き換える。   Next, the form data creation unit 105 matches the value of the “file name” item with the template identification information “expense settlement statement template” received by the server side reception unit 103 from the template management table shown in FIG. Detect the record and duplicate the template information of the detected record. When duplicating, the file name (template identification information) is read from the duplicated template information or the original template information, the character string “template” is deleted from this file name, and the date of duplication is entered. A new file name is created, and the file name of the template information copy is rewritten with this file name.

図9はファイル名が「経費精算明細書テンプレート」であるテンプレート情報の具体的な内容を示す図である。このテンプレート情報は、一例としてスプレッドシートのテンプレートであるとする。一のスプレッドシートにテンプレート情報が構成されているものとする。帳票データ作成部105が複製したテンプレート情報は、図9に示したテンプレート情報と同じ構成の情報である。このテンプレート情報は、「<%ユーザ識別情報%>」、「<%月%>」、「<%計上先部門%>」、「<%日付%>」、「<%費用分類%>」、「<%摘要%>」、「<%本体金額%>」、「<%精算額%>」というデータ指定情報を有している。なお、「<%」と「%>」とで区切られたデータが、ここでは、データ指定情報に定義されている。また、データ指定情報において、「<%日付#1%>」、「<%日付#2%>」等の、末尾が「#番号」であり、その他の部分が一致するデータ指定情報は、同じデータを指定するデータ指定情報、ここでは特に異なるレコードの同じ項目のデータを指定するデータ指定情報であるとする。このような同じ項目を指定するデータ指定情報には、例えば、配置用データ検出部104が取得した複数の配置用データの各レコードの、同じ項目のデータが例えば取得されたレコード順に順次配置される。この場合、「#番号」等の番号は、取得したレコードを特定する番号と考えても良い。例えば、この番号は、取得されたレコードの検出順番やID順の番号等と考えてもよい。例えば、ここでのデータ指定情報は、データの属性と、データの表またはビューのレコード番号との組合せと考えても良い。なお、データ指定情報の数よりも、取得されたレコードに含まれる配置用データの数が多い場合、ここでは、そのレコードのうちの一のデータだけを配置して、その他のデータは配置しないようにする。「<%ユーザ識別情報%>」および「<%月%>」は、取得条件情報に含まれるユーザ識別情報の情報と、月を指定する情報を指定するデータ指定情報であるとする。その他の情報は、配置用データ検出部104が取得したレコードのうちの、同じ項目の配置用データを指定する情報である。例えば、「<%費用分類%>」は、配置用データ検出部104が取得したレコードのうちの、「費用分類」という項目の配置用データを指定する情報である。各データ指定情報はここではテンプレート情報の各セルに配置されているものとする。   FIG. 9 is a diagram showing the specific contents of the template information whose file name is “Expense Report Statement Template”. The template information is assumed to be a spreadsheet template as an example. Assume that template information is configured in one spreadsheet. The template information duplicated by the form data creation unit 105 is information having the same configuration as the template information shown in FIG. This template information includes “<% user identification information%>”, “<% month%>”, “<% accounted department%>”, “<% date%>”, “<% expense classification%>”, It has data designation information such as “<% Summary%>”, “<% Body Amount%>”, and “<% Settlement Amount%>”. Here, data delimited by “<%” and “%>” is defined in the data designation information here. In the data designation information, the data designation information such as “<% date # 1%>”, “<% date # 2%>”, etc., that ends with “# number” and the other parts match is the same. It is assumed that the data designation information for designating data, specifically, data designation information for designating data of the same item in different records. In such data designation information that designates the same item, for example, the data of the same item of each record of the plurality of arrangement data acquired by the arrangement data detection unit 104 is sequentially arranged in the order of the acquired records, for example. . In this case, a number such as “# number” may be considered as a number that identifies the acquired record. For example, this number may be considered as a detection order of acquired records, an ID order number, or the like. For example, the data designation information here may be considered as a combination of data attributes and data table or view record numbers. If the number of placement data included in the acquired record is larger than the number of data specification information, only one piece of data in that record is placed here, and no other data is placed here. To. It is assumed that “<% user identification information%>” and “<% month%>” are data specification information for specifying user identification information included in the acquisition condition information and information for specifying the month. The other information is information for designating arrangement data for the same item in the records acquired by the arrangement data detection unit 104. For example, “<% expense classification%>” is information for designating arrangement data of the item “cost classification” in the records acquired by the arrangement data detection unit 104. Here, each data designation information is assumed to be arranged in each cell of the template information.

また、このテンプレート情報には図9のF列8行目(以下、F8と称す)のセルからF列27行目(以下、F27と称す)のセルの値を合計する演算式が指定されており、図のF列28行目(以下、F28と称す)で示したセルに演算結果が配置されるよう予め指定されているものとする。   Further, this template information specifies an arithmetic expression that sums the values of the cells in the F column 27th row (hereinafter referred to as F27) from the F column 8th row (hereinafter referred to as F8) in FIG. It is assumed that the calculation result is specified in advance in the cell indicated by the F column 28th line (hereinafter referred to as F28) in the figure.

また、テンプレート情報にはF8からF27のセルの情報を用いて棒グラフを作成する実行モジュールが配置されており、当該実行モジュールの実行結果が、図9で示した領域90に配置されるよう予め指定されている。   In addition, an execution module for creating a bar graph using information on cells F8 to F27 is arranged in the template information, and the execution result of the execution module is designated in advance in the area 90 shown in FIG. Has been.

帳票データ作成部105は、図9に示したテンプレート情報の複製に含まれるデータ指定情報を順次読み出し、読み出したデータ指定情報が指定する項目と同じ項目の配置用データを、配置用データ検出部104が取得した図8に示した配置用データのレコードや、サーバ側受信部103が受信した所得条件情報等から取得し、データ指定情報と置換して配置する。   The form data creation unit 105 sequentially reads out the data designation information included in the copy of the template information shown in FIG. 9, and places the placement data of the same items as the items designated by the read data designation information into the placement data detection unit 104. Is acquired from the record of the arrangement data shown in FIG. 8 acquired, the income condition information received by the server-side receiving unit 103, and the like, and is replaced with the data designation information.

例えば、「<%ユーザ識別情報%>」というデータ指定情報が指定する配置用データとして、取得条件情報に含まれるユーザ識別情報である「J3001」を取得し、取得したデータ「J3001」で、「<%ユーザ識別情報%>」というデータ指定情報を置換する。これにより、「<%ユーザ識別情報%>」が配置されていたセルには、「J3001」という情報が配置される。   For example, “J3001”, which is user identification information included in the acquisition condition information, is acquired as the arrangement data specified by the data specification information “<% user identification information%>”, and the acquired data “J3001” The data designation information “<% user identification information%>” is replaced. As a result, information “J3001” is arranged in the cell where “<% user identification information%>” is arranged.

また、<%計上先部門%>というデータ指定情報から「<%」、「%>」という文字列を除外した文字列を作成し、この文字列「計上先部門」と一致する項目を、配置用データ検出部104が取得した図8に示した配置用データの管理テーブルから検索する。そして、検出された「計上先部門」という項目の値である「経理部」を、図8に示した配置用データの管理テーブルの一のレコード(ここでは例として最初のレコード)から取得し、取得したデータ「経理部」で、「<%計上先部門%>」というデータ指定情報を置換する。これにより、「<%計上先部門%>」が配置されていたセルには、「経理部」という情報が配置される。   Also, create a character string that excludes the character strings “<%” and “%>” from the data specification information <% booked department%>, and place an item that matches this character string “Accounted department” A search is performed from the arrangement data management table shown in FIG. Then, the “accounting department” which is the value of the detected item “accounting department” is acquired from one record (here, the first record as an example) of the arrangement data management table shown in FIG. In the acquired data “Accounting Department”, the data designation information “<% accountee department%>” is replaced. As a result, the information “Accounting Department” is arranged in the cell in which “<% booked department%>” is arranged.

また、特に、帳票データ作成部105は、共通する2以上のデータ指定情報により指定された異なる配置用データについては、これらの異なる配置用データで、共通する2以上のデータ指定情報を置き換えて配置する。例えば、「<%日付#1%>」、「<%日付#2%>」、「<%日付#3%>」等の「#数字」が付与された共通する2以上のデータ指定情報については、「<%」、「%>」、「#数字」という文字列を除外した文字列を作成し、この文字列「日付」と一致する項目を、それぞれ、配置用データ検出部104が取得した図8に示した配置用データの管理テーブルの項目から検索する。配置用データ検出部104が取得した図8に示した配置用データのレコードのうちの、「#数字」の数字が示す順番のレコードから、取得された「日付」という項目の値を、データ指定情報「<%日付#数字%>」が指定する配置用データとして、それぞれ取得する。例えば、「<%日付#1%>」が指定する配置用データとして「2009/7/2」、「<%日付#6%>」が指定する配置用データとして「2009/7/5」を取得する。そして、取得した値で、「<%日付#数字%>」で表されるデータ指定情報をそれぞれ置換する。他の「#数字」が付与された共通する2以上のデータ指定情報、例えば「<%費用分類#1%>」や「<%摘要#1%>」等についても同様の処理を行う。   In particular, the form data creation unit 105 replaces two or more pieces of common data designation information with the different pieces of arrangement data for different pieces of arrangement data designated by two or more pieces of common data designation information. To do. For example, two or more common data designation information to which “#number” such as “<% date # 1%>”, “<% date # 2%>”, “<% date # 3%>”, etc. is assigned. Creates a character string excluding the character strings “<%”, “%>”, and “# number”, and the arrangement data detection unit 104 acquires items that match the character string “date”, respectively. Search is made from the items in the management table of the arrangement data shown in FIG. From the record of the arrangement data shown in FIG. 8 acquired by the arrangement data detection unit 104, the value of the item “date” acquired from the record in the order indicated by the number “# number” is designated as data. Each is acquired as arrangement data specified by the information “<% date # number%>”. For example, “2009/7/2” is set as arrangement data designated by “<% date # 1%>”, and “2009/7/5” is arranged as arrangement data designated by “<% date # 6%>”. get. Then, the data designation information represented by “<% date # number%>” is replaced with the acquired value. Similar processing is performed for other two or more common data designation information to which “#number” is assigned, for example, “<% expense classification # 1%>”, “<% description # 1%>”, and the like.

なお、このような共通する2以上のデータ指定情報により指定された異なる配置用データを共通する2以上のデータ指定情報と置き換えて配置する処理は、結果的に、このような置き換えが行われれば良く、上記以外の処理によって実現されても良い。   It should be noted that the processing for replacing different arrangement data designated by two or more pieces of common data designation information with two or more pieces of common data designation information results in such replacement. It may be realized by processing other than the above.

例えば、「<%日付#1%>」、「<%費用分類#1%>」、「<%摘要#1%>」等の「#数字」が共通するデータ指定情報については、「<%」、「%>」、「#1」という文字列を除外した、「日付」、「費用分類」、「摘要」等の文字列を作成する。そして、これらの文字列と一致する項目の値を、配置用データ検出部104が取得した図8に示した配置用データのレコードのうちの、「#1」の数字が示す順番のレコード、ここでは配置用データ検出部104で検出された順番が一番目であるレコードからそれぞれ取得する。例えば、「2009/7/2」、「交通費」、「新宿−府中」を取得する。そして、取得した値で、「<%日付#1%>」、「<%費用分類#1%>」、「<%摘要#1%>」等のデータ指定情報をそれぞれ置換する。なお、対応するデータがない場合にはデータを取得しなくてよい。同様の処理を、「#2」以降の「#数字」が付与されたデータ指定情報について行う。これにより、結果的に、上記と同様の置換を行うことができる。   For example, for the data designation information having the same “# number” such as “<% date # 1%>”, “<% cost classification # 1%>”, “<% description # 1%>”, etc., “<% ”,“%> ”, And“ # 1 ”are excluded, and character strings such as“ date ”,“ cost classification ”, and“ summary ”are created. Then, the values of items that match these character strings are recorded in the order indicated by the numbers “# 1” in the arrangement data records shown in FIG. Then, it acquires from the record in which the order detected by the arrangement data detection unit 104 is first. For example, “2009/7/2”, “transportation cost”, and “Shinjuku-Fuchu” are acquired. Then, the data designation information such as “<% date # 1%>”, “<% expense classification # 1%>”, “<% description # 1%>”, etc. is replaced with the acquired value. If there is no corresponding data, data need not be acquired. The same processing is performed for the data designation information to which “#number” after “# 2” is assigned. As a result, the same substitution as described above can be performed.

なお、データ指定情報に対応するデータがない場合にはデータを取得しなくてよい。例えば、図8に示した配置用データのレコード数が「12」であったとすると、「<%日付#13%>」等に対応する配置用データは存在しないため、データは取得しない。   If there is no data corresponding to the data designation information, the data need not be acquired. For example, if the number of records of the placement data shown in FIG. 8 is “12”, no placement data corresponding to “<% date # 13%>” or the like exists, so no data is acquired.

なお、対応するデータがない場合にはデータを取得しなくてよい。同様の処理を、「#2」以降の「#数字」が付与されたデータ指定情報について行う。なお、データ指定情報に対応するデータがない場合にはデータを取得しなくてよい。例えば、図8に示した配置用データのレコード数が「12」であったとすると、「<%日付#13%>」等に対応する配置用データは存在しないため、データは取得しない。   If there is no corresponding data, data need not be acquired. The same processing is performed for the data designation information to which “#number” after “# 2” is assigned. If there is no data corresponding to the data designation information, the data need not be acquired. For example, if the number of records of the placement data shown in FIG. 8 is “12”, no placement data corresponding to “<% date # 13%>” or the like exists, so no data is acquired.

このような処理を、テンプレート情報の複製が有する全てのデータ指定情報に対して行うことで、帳票データが生成される。なお、指定するデータが取得しなかったデータ指定情報は、テンプレート情報の複製上から削除することが好ましい。   Form data is generated by performing such processing on all data designation information included in the copy of the template information. Note that it is preferable to delete the data designation information that has not been acquired by the designated data from the copy of the template information.

図10は、このようにして作成されたスプレッドシート形式の帳票データを示す図である。なお、作成された帳票データは、帳票処理サーバ装置10において図示しない記憶媒体等に蓄積されて保持されるようにしても良いし、削除してしまうようにしてもよい。   FIG. 10 is a diagram showing the form data in the spreadsheet format created as described above. The created form data may be stored and held in a storage medium (not shown) or the like in the form processing server device 10 or may be deleted.

ここで、上記のようなテンプレート情報を用いて、共通する2以上のデータ指定情報により指定された異なる配置用データを共通するデータ指定情報と置き換えて配置する処理を行う際に、異なる配置用データの数が多いと、異なる配置用データの全てが配置できない場合が考えられる。このような場合、帳票データ作成部105は、テンプレート情報の一のシートまたはページを、所定の位置に、例えば、既存のページの最後の位置に複製し、複製したシートまたはページのデータ指定情報と置き換えて、異なる配置用データの配置できなかった残りの配置用データを配置するようにする。   Here, using the template information as described above, when performing the processing of replacing the different placement data designated by the two or more common data designation information with the common data designation information, the different placement data If the number of data is large, there may be a case where all of different arrangement data cannot be arranged. In such a case, the form data creation unit 105 duplicates one sheet or page of the template information at a predetermined position, for example, at the last position of the existing page, and the data designation information of the duplicated sheet or page Instead, the remaining arrangement data that could not be arranged with different arrangement data is arranged.

例えば、仮に、一のスプレッドシートに設けられたテンプレート情報の複製に、複数の同じデータ指定情報が指定する異なる複数レコードの配置用データが配置できない場合を考える。具体的には、「#番号」が付与されたデータ指定情報に対応する配置用データのレコード数が、一のテンプレート情報の複製に配置されている「#番号」が付与された同じデータ指定情報数よりも多い場合のように、異なるレコードの全ての配置用データを一のテンプレート情報の複製に配置することができなかったとすると、帳票データ作成部105は、テンプレート情報のスプレッドシートを複製して、先に複製したスプレッドシートの最後に追加する。そして、追加したスプレッドシートのデータ指定情報を、複数の同じデータ指定情報が指定する異なるレコードの配置用データのうちの、置き換えられなかった残りの配置用データで置き換えるようにしてもよい。これにより、一の帳票に入りきらない情報を、追加した帳票に配置することができる。たとえば、帳票が単票である場合、このようにしてスプレッドシートやページを追加することで、必要なデータを全て含む帳票を作成することが可能となる。なお、追加されるスプレッドシートは、元のテンプレート情報の複製と同じファイル内に追加することが好ましい。   For example, let us consider a case where arrangement data for different records specified by a plurality of the same data designation information cannot be arranged in a duplicate of template information provided in one spreadsheet. Specifically, the number of records of the placement data corresponding to the data designation information to which the “# number” is assigned is the same data designation information to which the “# number” assigned to the duplicate of the template information is assigned. If all the placement data of different records could not be placed in one copy of the template information as in the case where there are more than the number, the form data creation unit 105 duplicates the template information spreadsheet. , Append to the end of the previously duplicated spreadsheet. Then, the data designation information of the added spreadsheet may be replaced with the remaining arrangement data that has not been replaced among the arrangement data of different records designated by a plurality of the same data designation information. As a result, information that cannot fit in one form can be arranged in the added form. For example, when the form is a single form, it is possible to create a form including all necessary data by adding a spreadsheet or a page in this way. Note that the added spreadsheet is preferably added in the same file as the copy of the original template information.

なお、ここでは、スプレッドシートを追加する場合について説明したが、テンプレート情報のページの複製を追加するようにしても良い。例えば、スプレッドシートにおいては、一のスプレッドシート内 に複数のページが設けられるため、テンプレート情報の複製を、配置用データが入りきらなかったスプレッドシートと同じシート上の異なるページ上に作成するようにしても良い。   Although the case of adding a spreadsheet has been described here, a copy of the template information page may be added. For example, in a spreadsheet, multiple pages are provided in one spreadsheet, so a duplicate of the template information should be created on a different page on the same sheet as the spreadsheet that did not contain the layout data. May be.

例えば、図8に示した配置用データのレコード数が「23」であったとすると、帳票データは2つのスプレッドシートで構成されるようになる。   For example, if the number of records in the layout data shown in FIG. 8 is “23”, the form data is composed of two spreadsheets.

図11はスプレッドシートの複製が追加された場合の、帳票データの例を示す図である。   FIG. 11 is a diagram illustrating an example of form data when a duplicate of a spreadsheet is added.

なお、一のテンプレート情報ファイルが2以上のスプレッドシートやページを有する場合、帳票データ作成部105は、上記のような置換の処理を全てのスプレッドシートはページに対してくり返し行うようにすればよい。なお、2以上のスプレッドシートやページに設けられたテンプレート情報は、異なる帳票のテンプレート情報であっても良いし、一の帳票のテンプレート情報であっても良い。   When one template information file has two or more spreadsheets or pages, the form data creation unit 105 may repeat the above replacement process for all the spreadsheets on the pages. . Note that the template information provided in two or more spreadsheets or pages may be template information of different forms or template information of one form.

また、このように、テンプレート情報が1以上のスプレッドシートやページを有する場合等においては、帳票データ作成部105により置換が不要なスプレッドシートやページのスプレッドシート名や、ページ名に、除外情報として例えば「N」の値を付与しておく。帳票データ作成部105は、複製したテンプレート情報の各スプレッドシートの名前やページの名前にこの除外情報「N」の検出した際には、このスプレッドシートやページについては配置用データによる置換を行わない。これにより、置換が不要なスプレッドシートやページを置換対象から除外することができる。   As described above, when the template information includes one or more spreadsheets or pages, the form data creation unit 105 does not need to replace the spreadsheet name or the page name of the spreadsheet or page as the exclusion information. For example, a value “N” is assigned. The form data creation unit 105 does not replace the spreadsheet or page with the layout data when the exclusion information “N” is detected in the name of each spreadsheet or page name of the copied template information. . As a result, spreadsheets and pages that do not require replacement can be excluded from replacement targets.

例えば、図12に示す模式図のように、一のテンプレート情報のファイルに、テンプレートである複数のスプレッドシート1201〜1203が含まれている場合において、その一のスプレッドシート1202のシート名1205を「N」を含む「保管用精算書N」としておくことで、このスプレッドシート1202に配置されているデータ指定情報に対する置換処理は行われない。   For example, as shown in the schematic diagram of FIG. 12, when a plurality of spreadsheets 1201 to 1203 that are templates are included in one template information file, the sheet name 1205 of the one spreadsheet 1202 is “ By setting the “settlement statement N for storage” including “N”, the replacement processing for the data designation information arranged in the spreadsheet 1202 is not performed.

つぎに、サーバ側送信部106は、作成した帳票データを帳票出力クライアント装置20に送信する。   Next, the server-side transmission unit 106 transmits the created form data to the form output client device 20.

帳票出力クライアント装置20のクライアント側受信部203が帳票データを受信すると、実行部204は、この帳票データに対応したアプリケーションソフトウェア(図示せず)等を用いて、受信した帳票データを開く。そして、演算式が含まれるか否かを判断し、含まれる場合、演算を行う。ここでは、上述したように、帳票データを作成する元となったテンプレート情報には、演算式が設定されていたため、演算を行う。ここでは、図11に示した帳票データのセルF8からF27までの値の合計を算出する。そして、算出した演算結果をセルF28に配置する。   When the client side receiving unit 203 of the form output client device 20 receives the form data, the execution unit 204 opens the received form data using application software (not shown) corresponding to the form data. Then, it is determined whether or not an arithmetic expression is included, and if it is included, an arithmetic operation is performed. Here, as described above, an arithmetic expression is set in the template information that is the basis for creating the form data, so that the calculation is performed. Here, the sum of the values of cells F8 to F27 of the form data shown in FIG. 11 is calculated. Then, the calculated calculation result is arranged in the cell F28.

また、実行部204は、帳票データに実行モジュールが含まれるか否かを判断し、含まれる場合、実行モジュールを実行する。ここでは、上述したように、帳票データを作成する元となったテンプレート情報は、実行モジュールを有するため、実行モジュールを実行させる。ここでは、上述したようにF8からF27のセルの情報を用いて棒グラフを作成する。そして作成したグラフを、帳票データの図9で示した領域90に相当する位置に配置する。   Further, the execution unit 204 determines whether or not an execution module is included in the form data, and if included, executes the execution module. Here, as described above, since the template information that is the basis for creating the form data has an execution module, the execution module is executed. Here, as described above, the bar graph is created using the information of the cells F8 to F27. Then, the created graph is arranged at a position corresponding to the area 90 shown in FIG. 9 of the form data.

出力部205は、帳票データに対応するアプリケーションソフトウェアで開いた帳票データの画像情報を構成する。このとき、上記の演算結果や、実行モジュールの実行結果であるグラフを配置した帳票データの画像情報を構成する。そして、構成した画像情報をモニタ等に表示する。また、クライアント側受信部203が受信した帳票データを、そのまま、図示しない記憶媒体等に蓄積する。   The output unit 205 configures image information of form data opened by application software corresponding to the form data. At this time, the image information of the form data in which the above calculation result and the graph as the execution result of the execution module are arranged is configured. The configured image information is displayed on a monitor or the like. Further, the form data received by the client-side receiving unit 203 is stored in a storage medium or the like (not shown) as it is.

図13は、帳票出力クライアント装置20における帳票データの出力例を示す図である。図において、セル1301は、テンプレート情報に設定された演算式を用いた演算結果が配置されたセルである。グラフ1302は、実行モジュールを実行して作成されたグラフである。例えば、このような帳票データをプリンタ等で出力することで、紙に印刷された帳票を得ることができる。なお、印刷時にはスプレッドシートのセル等や行や列の番号等は印刷しないようにすることが好ましい。   FIG. 13 is a diagram illustrating an output example of the form data in the form output client device 20. In the figure, a cell 1301 is a cell in which a calculation result using the calculation formula set in the template information is arranged. A graph 1302 is a graph created by executing the execution module. For example, a form printed on paper can be obtained by outputting such form data with a printer or the like. It is preferable not to print spreadsheet cells or the like, row or column numbers, or the like during printing.

なお、新たなテンプレート情報を追加したり、既存のテンプレート情報を編集したりする場合、帳票出力クライアント装置20において、テンプレート情報を追加したり編集したりする操作を行うことで、テンプレート編集部207にテンプレート情報を処理可能なアプリケーションソフトウェアを実行させ、テンプレート情報を作成させたり、編集させたりして、テンプレート情報を作成、更新する。そして、このテンプレート情報を帳票処理サーバ装置10に送信して、テンプレート情報格納部101に格納されているテンプレート情報を新規に蓄積したり更新したりするようにすればよい。   When adding new template information or editing existing template information, the form output client device 20 performs an operation of adding or editing template information to the template editing unit 207. Application software capable of processing the template information is executed to create or update the template information by creating or editing the template information. Then, the template information may be transmitted to the form processing server device 10 so that the template information stored in the template information storage unit 101 is newly accumulated or updated.

なお、図示していないが、帳票処理サーバ装置10のテンプレート情報格納部101に格納されているテンプレート情報を、ネットワーク経由等で、帳票出力クライアント装置20が受信できるようにして、受信したテンプレート情報を修正して、再度帳票処理サーバ装置10に送信できるようにしても良い。   Although not shown, the template output stored in the template information storage unit 101 of the form processing server device 10 can be received by the form output client device 20 via a network or the like, and the received template information is It may be modified so that it can be transmitted to the form processing server device 10 again.

(具体例2)
つぎに、具体例1とは異なるテンプレート情報を用いた処理について例を挙げて説明する。
(Specific example 2)
Next, processing using template information different from the specific example 1 will be described with an example.

この具体例によるテンプレート情報は、一のシートまたはページに、指定される1以上の配置用データが複数である場合に、当該複数の配置用データで置換されるデータ指定情報を指定するリピート指定情報と、指定される配置用データで一のシートまたはページ内において一度だけ置換され配置されるデータ指定情報を指定するシングル指定情報とをさらに有するものある。   The template information according to this specific example includes repeat designation information for designating data designation information to be replaced with a plurality of pieces of arrangement data when one or more pieces of arrangement data are designated in one sheet or page. And single designation information that designates the data designation information that is replaced and arranged only once in one sheet or page with the designated arrangement data.

リピート指定情報や、シングル指定情報は、例えば、HTML等のマークアップ言語のタグ等と同様の開始タグと終了タグとを用いて、データ指定情報を指定する情報である。具体的には、リピート指定情報およびシングル指定情報は、テンプレート情報が示すテンプレートに配置される。リピート指定情報の開始タグと終了タグの間に配置されるデータ指定情報は、1以上の配置用データで繰り返して置換されて配置されるデータ指定情報に指定される。また、シングル指定情報の開始タグと終了タグの間に配置されるデータ指定情報は、一度だけ置換されて配置されるデータ指定情報に指定される。   Repeat designation information and single designation information are information for designating data designation information using start tags and end tags similar to tags in markup languages such as HTML, for example. Specifically, repeat designation information and single designation information are arranged in a template indicated by template information. The data designation information arranged between the start tag and the end tag of the repeat designation information is designated as data designation information arranged by being repeatedly replaced with one or more arrangement data. Further, the data designation information arranged between the start tag and the end tag of the single designation information is designated as the data designation information arranged after being replaced once.

なお、ここで述べる「複数の配置用データ置換される」とは、結果的にこのように置換されれば、どのように置換処理が行われても良い。例えば、例えば、複数の配置用データで、対応する一のデータ指定情報を置換して配置することも含む概念と考えても良いし、データ指定情報を、一の配置用データで置換される都度、次の行や列等に複製するようにして、この複製したデータ指定情報を用いて、複数の配置用データでデータ指定情報をくり返し置換するようにしても良い。リピート指定情報が指定するデータ指定情報は、例えば、クエリである取得条件情報を用いて配置用データ検出部104で取得された配置用データの1以上のレコードの、当該データ指定情報が指定する項目のデータが配置されることとなる。   Note that “replacement of a plurality of arrangement data” described here may be performed in any manner as long as replacement is performed as described above. For example, for example, it may be considered as a concept that includes a plurality of pieces of placement data replacing one corresponding data designation information, and each time data designation information is replaced with one placement data. The data designation information may be repeatedly replaced with a plurality of arrangement data using the duplicated data designation information by duplicating it in the next row or column. The data designation information designated by the repeat designation information is, for example, an item designated by the data designation information of one or more records of the arrangement data acquired by the arrangement data detection unit 104 using the acquisition condition information that is a query. Will be arranged.

なお、リピート指定情報により指定されるデータ指定情報は、クエリ等の取得条件情報を用いて配置用データ検出部104で取得された配置用データの1以上のレコードにそれぞれ含まれる項目の配置用データを、各レコードごとに繰り返して指定可能な情報と考えても良いし、配置用データ検出部104で取得された配置用データの1以上のレコードにそれぞれ含まれる項目の配置用データを一度に全て指定可能な情報と考えても良い。   The data designation information designated by the repeat designation information is the arrangement data of items included in one or more records of the arrangement data acquired by the arrangement data detection unit 104 using the acquisition condition information such as a query. May be considered as information that can be repeatedly specified for each record, or all the placement data of items included in one or more records of the placement data acquired by the placement data detection unit 104 at a time. It may be considered as information that can be specified.

なお、リピート指定情報が指定するデータ指定情報以外を、シングル指定情報が指定するデータ指定情報と判断するようにしても良い。この場合、結果的に、リピート指定情報がシングル指定情報を兼用していると考えてよい。また、逆に、シングル指定情報が指定するデータ指定情報以外を、リピート指定情報が指定するデータ指定情報と判断するようにしても良い。この場合、結果的に、シングル指定情報がリピート指定情報を兼用していると考えてよい。   Note that data other than the data designation information designated by the repeat designation information may be determined as the data designation information designated by the single designation information. In this case, as a result, it may be considered that the repeat designation information also serves as the single designation information. Conversely, data other than the data designation information designated by the single designation information may be determined as the data designation information designated by the repeat designation information. In this case, as a result, it may be considered that the single designation information also serves as the repeat designation information.

図14は、テンプレート情報格納部101に格納されているテンプレート情報の具体例を示す図である。ここでは、テンプレート情報は、スプレッドシートのテンプレートであるとする。図において、headerタグ、即ち開始タグ「<header>」と終了タグ「</header>」の組合せで構成されるタグは、シングル指定情報である。即ち開始タグ「<header>」と終了タグ「</header>」とで挟まれた各データ指定情報(以下、headerタグの要素であるデータ指定情報と称す)は、一のシート内またはページ内において、当該データ指定情報で指定される配置用データで一度だけ置換されるデータ指定情報として指定されたこととなる。同様に、footerタグ、即ち開始タグ「<footer>」と終了タグ「</footer>」の組合せで構成されるタグも、シングル指定情報である。ただし、この例においては、開始タグ「<header>」と終了タグ「</header>」とで挟まれたデータ指定情報は存在していないものとする。   FIG. 14 is a diagram illustrating a specific example of template information stored in the template information storage unit 101. Here, it is assumed that the template information is a spreadsheet template. In the figure, a header tag, that is, a tag composed of a combination of a start tag “<header>” and an end tag “</ header>” is single designation information. That is, each data designation information sandwiched between the start tag “<header>” and the end tag “</ header>” (hereinafter referred to as data designation information which is an element of the header tag) is in one sheet or page. Is designated as data designation information that is replaced only once with the placement data designated by the data designation information. Similarly, a footer tag, that is, a tag composed of a combination of a start tag “<footer>” and an end tag “</ footer>” is also single designation information. However, in this example, it is assumed that there is no data designation information sandwiched between the start tag “<header>” and the end tag “</ header>”.

また、detailタグ、即ち開始タグ「<detail>」と終了タグ「</detail>」の組合せで構成されるタグは、リピート指定情報である。即ち開始タグ「<detail>」と終了タグ「</detail>」とで挟まれた各データ指定情報(以下、detailタグの要素であるデータ指定情報と称す)は、一のシート内またはページ内において、当該データ指定情報で指定される1以上の配置用データでくり返し置換されるデータ指定情報として指定されることとなる。   Further, a detail tag, that is, a tag constituted by a combination of a start tag “<detail>” and an end tag “</ detail>” is repeat designation information. That is, each data designation information sandwiched between the start tag “<detail>” and the end tag “</ detail>” (hereinafter referred to as data designation information as an element of the detail tag) is in one sheet or page. In this case, it is designated as data designation information that is repeatedly replaced by one or more pieces of arrangement data designated by the data designation information.

例えば、ユーザが図14に示すテンプレート情報を指定するテンプレート識別情報と、上記の具体例1と同様の取得条件情報とを入力したとすると、配置用データ検出部104は、図8と同様の、配置用データが管理されているレコードを取得する   For example, if the user inputs the template identification information for specifying the template information shown in FIG. 14 and the acquisition condition information similar to the specific example 1 described above, the placement data detection unit 104 is similar to FIG. Get records that manage data for placement

つぎに、帳票データ作成部105は、図14に示したテンプレート情報を複製し、この複製に含まれるデータ指定情報を、例えばテンプレート情報の複製の上から順番に順次読み出し、読み出したデータ指定情報が指定する項目と同じ項目の配置用データを、配置用データ検出部104が取得した図8に示した配置用データのレコードや、サーバ側受信部103が受信した所得条件情報等から取得し、データ指定情報と置換して、当該データ指定情報が配置されていたセルに配置する。   Next, the form data creation unit 105 duplicates the template information shown in FIG. 14 and sequentially reads the data designation information included in the duplicate, for example, in order from the duplicate of the template information. The arrangement data of the same item as the designated item is obtained from the arrangement data record shown in FIG. 8 obtained by the arrangement data detection unit 104, the income condition information received by the server side reception unit 103, and the like. Instead of the designation information, it is arranged in the cell where the data designation information has been arranged.

このとき、帳票データ作成部105は、シングル指定情報が指定するデータ指定情報については、配置用データ検出部104が取得した配置用データのうちの当該データ指定情報が指定する配置用データで一度だけ置換する。即ち、headerタグやfooterタグの要素のデータ指定情報については、これらのデータ指定情報が指定するデータ指定情報で、一度だけ置換する。例えば、一のデータ指定情報が指定する配置用データが複数存在した場合であっても、複数の配置用データで置き換えずに、そのうちの一つの配置用データだけを取得して置換する。配置用データが複数存在する場合にどのように一つの配置用データを取得するかについては予め設定しておくようにすればよい。例えば、最初のレコードの配置用データだけを取得するようにしてもよい。あるいはユニーク処理により処理された配置用データの一つだけを取得するようにしても良い。   At this time, the form data creation unit 105 uses the placement data designated by the data designation information of the placement data acquired by the placement data detection unit 104 for the data designation information designated by the single designation information only once. Replace. That is, the data designation information of the elements of the header tag and the footer tag is replaced only once with the data designation information designated by these data designation information. For example, even when there are a plurality of pieces of placement data designated by one piece of data designation information, only one piece of placement data is acquired and replaced without replacing with a plurality of pieces of placement data. How to obtain one piece of placement data when there are a plurality of pieces of placement data may be set in advance. For example, only the arrangement data for the first record may be acquired. Alternatively, only one piece of arrangement data processed by the unique process may be acquired.

例えば、帳票データ作成部105は、headerタグの要素である<%計上先部門%>というデータ指定情報について、「<%」、「%>」という文字列を除外した文字列「計上先部門」を作成し、この文字列「計上先部門」と一致する項目を、配置用データ検出部104が取得した図8に示した配置用データの管理テーブルから検索する。そして、検出された「計上先部門」という項目の値である「経理部」を、図8に示した配置用データの管理テーブルの一のレコード(ここでは例として最初のレコード)から取得し、取得したデータ「経理部」で、「<%計上先部門%>」というデータ指定情報を置換する。これにより、headerタグの要素である「<%計上先部門%>」というデータ指定情報は、「経理部」という一の配置用データで置換される。   For example, the form data creation unit 105 sets a character string “accounting department” excluding character strings “<%” and “%>” for the data designation information <% accounting department%> which is an element of the header tag. And searches the arrangement data management table shown in FIG. 8 acquired by the arrangement data detection unit 104 for items that match the character string “accounting department”. Then, the “accounting department” which is the value of the detected item “accounting department” is acquired from one record (here, the first record as an example) of the arrangement data management table shown in FIG. In the acquired data “Accounting Department”, the data designation information “<% accountee department%>” is replaced. As a result, the data designation information “<% booked department%>” that is an element of the header tag is replaced with one arrangement data “Accounting Department”.

一方、帳票データ作成部105は、リピート指定情報が指定するデータ指定情報については、配置用データ検出部104が取得した配置用データのうちの当該データ指定情報が指定する1以上の配置用データで置換する。特に、配置用データ検出部104が取得した配置用データの中に、データ指定情報が指定する配置用データが複数存在する場合、この複数の配置用データで、対応するデータ指定情報を置換する。   On the other hand, the form data creation unit 105 uses one or more pieces of arrangement data designated by the data designation information of the arrangement data acquired by the arrangement data detection unit 104 for the data designation information designated by the repeat designation information. Replace. In particular, when there are a plurality of pieces of placement data designated by the data designation information in the placement data acquired by the placement data detection unit 104, the corresponding data designation information is replaced with the plurality of pieces of placement data.

即ち、detailタグの要素のデータ指定情報については、これらのデータ指定情報が指定する配置用データを用いて置換を行うが、一のデータ指定情報が指定する配置用データが複数存在する場合、複数の配置用データでデータ指定情報を置き換える。この置き換え処理は、一のデータ指定情報が指定する複数の配置用データを取得して、一度にデータ指定情報を置き換える処理であっても良いし、データ指定情報を複製しながら、一のデータ指定情報が指定する複数の配置用データを順次取得して、取得した配置用データでデータ指定情報を置換していく処理であっても良い。   That is, the data designation information of the element of the detail tag is replaced by using the arrangement data designated by these data designation information, but if there are a plurality of arrangement data designated by one data designation information, Replace the data specification information with the placement data. This replacement process may be a process of acquiring a plurality of placement data designated by one data designation information and replacing the data designation information at a time, or copying one data designation information while copying the data designation information. A process of sequentially acquiring a plurality of pieces of arrangement data designated by the information and replacing the data designation information with the obtained arrangement data.

例えば、帳票データ作成部105は、detailタグの要素である<%本体金額%>というデータ指定情報について、「<%」、「%>」という文字列を除外した文字列「本体金額」を作成し、この文字列「本体金額」と一致する項目を、配置用データ検出部104が取得した図8に示した配置用データの管理テーブルから検索する。そして、取得された「本体金額」という項目の値を、配置用データ検出部104が配置用データの管理テーブルから取得した図8に示したような複数のレコードからすべて取得し、取得した複数の配置用データで構成される複数行のデータで、「<%本体金額%>」というデータ指定情報を置換する。これにより、detailタグの要素である「<%本体金額%>」というデータ指定情報が複数行の配置用データで置換される。   For example, the form data creation unit 105 creates a character string “main body amount” excluding the character strings “<%” and “%>” for the data designation information <% body amount%> that is an element of the detail tag. Then, the item matching the character string “main body amount” is searched from the arrangement data management table shown in FIG. 8 acquired by the arrangement data detection unit 104. Then, the acquired value of the item “main body amount” is all acquired from the plurality of records as shown in FIG. 8 acquired by the arrangement data detection unit 104 from the arrangement data management table. Data designation information “<% body amount%>” is replaced with data of a plurality of lines composed of arrangement data. As a result, the data designation information “<% body amount%>”, which is an element of the detail tag, is replaced with the arrangement data of a plurality of lines.

なお、図8に示した配置用データの管理テーブルの複数のレコードから一のレコードを順番に読み出し、読み出したレコードに含まれるdetailタグの要素である1以上のデータ指定情報が示す項目のデータを、レコード毎に順次取得していき、図8に示した配置用データの管理テーブルの複数のレコードの全てについて配置用データを取得した時点で、取得した複数の配置用データでdetailタグの要素であるデータ指定情報を置換するようにしても良い。   It should be noted that one record is sequentially read from the plurality of records in the arrangement data management table shown in FIG. 8, and the data of the item indicated by one or more data specification information that is an element of the detail tag included in the read record is read. Are acquired sequentially for each record, and at the time when the placement data is obtained for all of the plurality of records in the placement data management table shown in FIG. Some data designation information may be replaced.

あるいは、detailタグの要素である1以上のデータ指定情報を複製して、テンプレート情報の複製であるスプレッドシート内やページ内に適宜行や列を追加して配置し、図8に示した配置用データの管理テーブルの複数のレコードから一のレコードを読み出し、このレコードから上記で作成したデータ指定情報の複製が示す項目のデータを取得して、このデータ指定情報の複製を置換する。この処理を図8に示した配置用データの管理テーブルの全てのレコードに対して繰り返すことにより、detailタグの要素である1以上のデータ指定情報を複数の配置用データで置換するようにしても良い。   Alternatively, one or more pieces of data specification information that is an element of the detail tag are duplicated, and the rows and columns are appropriately added and arranged in a spreadsheet or page that is a duplicate of the template information. One record is read from a plurality of records in the data management table, the data of the item indicated by the duplicate of the data designation information created above is obtained from this record, and the duplicate of this data designation information is replaced. By repeating this process for all the records in the arrangement data management table shown in FIG. 8, one or more pieces of data designation information as elements of the detail tag may be replaced with a plurality of arrangement data. good.

そして、detailタグの要素であるデータ指定情報の置換が終了した場合、次のfooterタグの要素のデータ指定情報の置換が行われる。このfooterタグは、上述したheaderタグと同じシングル指定情報であるため、footerタグの要素のデータ指定情報も対応する配置用データで一度だけ置換される。ただし、この例においは、footerタグはデータ指定情報を要素として有さないため、置換が行われない。   Then, when the replacement of the data specification information that is an element of the detail tag is completed, the replacement of the data specification information of the element of the next footer tag is performed. Since the footer tag is the same single designation information as the header tag described above, the data designation information of the element of the footer tag is also replaced only once with the corresponding arrangement data. However, in this example, since the footer tag does not have data designation information as an element, no replacement is performed.

このような処理を行うことで、データ指定情報を配置用データで置き換えた帳票データが作成される。なお、リピート指定情報やシングル指定情報は、全てのデータ指定情報を置換した時点等において、適宜削除し、これらが配置されていた行等は適宜削除して詰めるようにすればよい。   By performing such processing, form data in which the data designation information is replaced with arrangement data is created. The repeat designation information and the single designation information may be deleted as appropriate at the time when all the data designation information is replaced, and the lines where these data are arranged may be deleted as appropriate.

このようにして作成された帳票データは上記具体例と同様に、帳票出力クライアント装置20に送信されて出力される。なお、ここでは、テンプレート情報に指定されている演算式や、実行モジュール等についての説明は省略するが、例えば、演算式の演算対象となるセルを、リピート領域内のデータ指定情報が配置されているセルに指定し、演算結果が配置されるセルを、footerタグで挟まれた領域内のセルとすることで、複数のレコードから取得されたリピート領域内のデータ指定情報が指定する配置用データを用いて行われた演算結果が、footerタグで挟まれた領域内に配置されることとなる。   The form data created in this way is transmitted to the form output client device 20 and output, as in the above specific example. In addition, although explanation about the arithmetic expression specified in the template information, the execution module, etc. is omitted here, for example, the cell that is the target of the arithmetic expression is arranged with the data specifying information in the repeat area. Placement data specified by the data specification information in the repeat area obtained from multiple records by setting the cell where the calculation result is placed as the cell in the area sandwiched between footer tags The calculation result performed using is placed in an area sandwiched between footer tags.

図15は、図14に示したテンプレート情報を用いて作成された帳票データの出力例を示す図である。   FIG. 15 is a diagram showing an output example of form data created using the template information shown in FIG.

なお、テンプレート情報の一のスプレッドシートまたはページのリピート指定情報が指定するデータ指定情報うちの一のデータ指定情報が指定する配置用データの数が予め指定された値以上である場合、帳票データ作成部105は、予め指定された数の配置用データで、リピート指定情報が指定するデータ指定情報を置換するとともに、テンプレート情報の置換の対象となっているスプレッドシートまたはページの複製を直後のスプレッドシートまたはページとして追加し、所定数を超える配置用データで、当該複製したシート又はページのリピート指定情報が指定するデータ指定情報を置換するようにしても良い。この場合、追加されたスプレッドシートまたはページの複製には、複製元のシート又はページに含まれていたシングル指定情報で指定されるデータ指定情報が含まれるため、このシングル指定情報で指定されるデータ指定情報も、通常のシングル指定情報で指定されるデータ指定情報と同様に、対応する配置用データで置換される。   If the number of data for placement specified by one of the data specification information of the data specification information specified by the repeat specification information of one spreadsheet or page of the template information is greater than or equal to the value specified in advance, form data creation The unit 105 replaces the data designation information designated by the repeat designation information with a predetermined number of arrangement data, and at the same time the spreadsheet or page duplicate to be replaced with the template information. Alternatively, it may be added as a page, and the data designation information designated by the repeat designation information of the duplicate sheet or page may be replaced with arrangement data exceeding a predetermined number. In this case, the copy of the added spreadsheet or page contains the data specification information specified by the single specification information included in the original sheet or page, so the data specified by this single specification information The designation information is also replaced with the corresponding arrangement data in the same manner as the data designation information designated by the normal single designation information.

例えば、図8に示した配置用データ検出部104が取得したレコードが例えば7000件であり、図15に示したテンプレート情報において、リピート指定情報であるdetailタグの要素の一のデータ指定情報に対応する配置用データの数が、7000件であったとする。このときユーザ等により予め指定された数が6000であったとすると、帳票データ作成部105は、リピート指定情報が指定するデータ指定情報が指定する配置用データ数が、所定数以上であると判断する。このため、図15に示したテンプレート情報のスプレッドシートを複製して追加する。そして、追加したスプレッドシートのリピート指定情報が指定する上記のデータ指定情報を、配置用データのうちの所定数を超えた部分で、置換する。また、シングル指定情報が指定するデータ指定情報については、通常通り、データ指定情報が指定する配置用データで置換する。このようにして、複数のスプレッドシートで構成される帳票データが作成される。   For example, the number of records acquired by the placement data detection unit 104 shown in FIG. 8 is 7000, for example, and corresponds to one piece of data specification information of the detail tag element that is repeat specification information in the template information shown in FIG. It is assumed that the number of arrangement data to be performed is 7000. If the number designated in advance by the user or the like is 6000 at this time, the form data creation unit 105 determines that the number of arrangement data designated by the data designation information designated by the repeat designation information is equal to or greater than a predetermined number. . Therefore, the template information spreadsheet shown in FIG. 15 is duplicated and added. Then, the data designation information designated by the repeat designation information of the added spreadsheet is replaced with a portion of the arrangement data that exceeds a predetermined number. Also, the data designation information designated by the single designation information is replaced with the arrangement data designated by the data designation information as usual. In this way, form data composed of a plurality of spreadsheets is created.

図16は、スプレッドシートが複製された場合の、帳票データの表示例を示す図である。   FIG. 16 is a diagram showing a display example of the form data when the spreadsheet is duplicated.

このように、図14に示すようなテンプレート情報は、リピート指定情報が指定するデータ指定情報が指定する情報を適宜追加していくことが可能であるため、連票の帳票データを作成する場合に適している。   As described above, since the template information as shown in FIG. 14 can appropriately add information designated by the data designation information designated by the repeat designation information, when creating the form data of the continuous form, Is suitable.

以上、本実施の形態によれば、帳票の作成に利用されるテンプレート情報と、テンプレート情報を用いて作成される帳票データが同一のファイル形式なので、テンプレート情報と帳票データとを同一のアプリケーションソフトウェアで編集、印刷等の操作ができる。このため、テンプレート情報を作成したり編集したりするために、開発用プログラム等を操作する必要がなく、プログラムに対する高度な知識や技術が不要となり、ユーザが帳票の出力等に用いるアプリケーションソフトウェアを用いて、容易にテンプレート情報を追加したり編集したりすることが可能となる。これにより、ユーザに任意のフォーマットでの帳票出力を可能とすることができる。また、既にユーザが利用しているアプリケーションソフトウェアを利用することができるため、テンプレート情報を編集するための技術の習熟にかかる時間を短縮できる。また、技術者が帳票開発を行う際の処理も容易となり、帳票開発の工数を短縮することが可能となる。   As described above, according to the present embodiment, since the template information used for creating the form and the form data created using the template information have the same file format, the template information and the form data are processed with the same application software. Operations such as editing and printing are possible. For this reason, it is not necessary to operate a development program to create or edit template information, so advanced knowledge and techniques for the program are not required, and application software used by the user to output forms is used. Thus, template information can be easily added and edited. As a result, the user can output a form in an arbitrary format. In addition, since application software that is already used by the user can be used, the time required to master the technique for editing the template information can be shortened. In addition, the process when the engineer develops the form is facilitated, and the man-hour for the form development can be shortened.

なお、本発明において利用可能なテンプレート情報は、上記の具体例に述べたようなテンプレート情報に限るものではないことはいうまでもない。   Needless to say, the template information that can be used in the present invention is not limited to the template information described in the above specific example.

また、テンプレート情報をスプレッドシート形式の情報とすることで、配置用データを配置する箇所の指定や、罫線等を配置して帳票のレイアウト等を設定する操作を容易に行うことが可能となる。   In addition, by making the template information into spreadsheet format information, it is possible to easily specify the location where the placement data is placed, and set the layout of the form by placing ruled lines and the like.

なお、上記実施の形態においては、帳票出力クライアント装置20において編集したテンプレート情報を帳票処理サーバ装置10に送信する場合について説明したが、本発明においては、例えば、公知技術であるネットワークのファイル共有の仕組み等を利用して、帳票処理サーバ装置10のテンプレート情報格納部101に格納されているテンプレート情報を、帳票出力クライアント装置20が共有できるようにして、テンプレート情報に対応したアプリケーションソフトウェアを用いて直接編集できるようにしても良い。   In the above embodiment, the case where the template information edited in the form output client apparatus 20 is transmitted to the form processing server apparatus 10 has been described. However, in the present invention, for example, network file sharing that is a known technique is performed. The template information stored in the template information storage unit 101 of the form processing server device 10 can be shared by the form output client device 20 using a mechanism or the like, and directly using application software corresponding to the template information. You may be able to edit it.

なお、上記実施の形態においては、サーバ・クライアント型の帳票処理システムにより、帳票データを出力する場合について説明したが、本発明は以下に示すようなスタンドアロンの帳票処理装置においても実現可能である。   In the above embodiment, the case where the form data is output by the server / client form processing system has been described. However, the present invention can also be realized in a stand-alone form processing apparatus as described below.

図17は、スタンドアロン型の帳票処理装置30の構成を示すブロック図である。図において、図1と同一符号は同一又は相当する部分を示している。   FIG. 17 is a block diagram showing a configuration of a stand-alone form processing apparatus 30. As shown in FIG. In the figure, the same reference numerals as those in FIG. 1 denote the same or corresponding parts.

この帳票処理装置30は、図1に示した帳票処理サーバ装置10において、サーバ側受信部103の代わりに受付部201、サーバ側送信部106の代わりに実行部204および出力部205、テンプレート受信部107の代わりに、編集操作受付部206およびテンプレート編集部207をそれぞれ設けるようにしたものである。   The form processing apparatus 30 includes a receiving unit 201 instead of the server-side receiving unit 103, an execution unit 204 and an output unit 205 instead of the server-side transmitting unit 106, and a template receiving unit in the form processing server device 10 shown in FIG. Instead of 107, an editing operation accepting unit 206 and a template editing unit 207 are provided.

なお、この帳票処理装置30においては、配置用データ検出部104は、受付部201が受け付けた取得条件情報を用いて配置用データを取得する。また、帳票データ作成部105は、受付部201が受け付けたテンプレート識別情報を用いてテンプレート情報の複製を作成する。また、実行部204は、帳票データ作成部105が作成した帳票データの演算式や実行モジュールを実行する。出力部205は、帳票データ作成部105が作成した帳票データを出力する。また、編集操作受付部206が受け付けて、テンプレート編集部207で編集されたテンプレート情報をテンプレート情報格納部101に蓄積可能となっている。   In the form processing apparatus 30, the arrangement data detection unit 104 acquires the arrangement data using the acquisition condition information received by the reception unit 201. Further, the form data creation unit 105 creates a copy of the template information using the template identification information received by the reception unit 201. Further, the execution unit 204 executes the calculation formula and execution module of the form data created by the form data creation unit 105. The output unit 205 outputs the form data created by the form data creation unit 105. Further, the template information received by the editing operation receiving unit 206 and edited by the template editing unit 207 can be stored in the template information storage unit 101.

このようなスタンドアロンの帳票処理装置30においても、上述した帳票処理システム1と同様の効果を奏する。   Such a stand-alone form processing apparatus 30 also has the same effect as the form processing system 1 described above.

また、上記実施の形態において、各処理(各機能)は、単一の装置(システム)によって集中処理されることによって実現されてもよく、あるいは、複数の装置によって分散処理されることによって実現されてもよい。   In the above embodiment, each processing (each function) may be realized by centralized processing by a single device (system), or may be realized by distributed processing by a plurality of devices. May be.

また、上記実施の形態において、一の装置に存在する2以上の通信手段(情報送信部など)は、物理的に一の媒体で実現されても良いことは言うまでもない。   In the above embodiment, it goes without saying that two or more communication means (such as an information transmission unit) existing in one apparatus may be physically realized by one medium.

また、上記実施の形態において、各構成要素が実行する処理に関係する情報、例えば、各構成要素が受け付けたり、取得したり、選択したり、生成したり、送信したり、受信したりする情報や、各構成要素が処理で用いるしきい値や数式、アドレス等の情報等は、上記説明で明記していない場合であっても、図示しない記録媒体において、一時的に、あるいは長期にわたって保持されていてもよい。また、その図示しない記録媒体への情報の蓄積を、各構成要素、あるいは、図示しない蓄積部が行ってもよい。また、その図示しない記録媒体からの情報の読み出しを、各構成要素、あるいは、図示しない読み出し部が行ってもよい。   In the above embodiment, information related to processing executed by each component, for example, information received, acquired, selected, generated, transmitted, and received by each component. In addition, information such as threshold values, mathematical formulas, addresses, etc. used by each component in processing is retained temporarily or over a long period of time on a recording medium (not shown) even when not explicitly stated in the above description. It may be. Further, the storage of information in the recording medium (not shown) may be performed by each component or a storage unit (not shown). Further, reading of information from the recording medium (not shown) may be performed by each component or a reading unit (not shown).

また、上記実施の形態では、帳票処理システムがスタンドアロンである場合について説明したが、帳票処理システムは、スタンドアロンの装置であってもよく、サーバ・クライアントシステムにおけるサーバ装置であってもよい。後者の場合には、出力部や受付部は、通信回線を介して入力を受け付けたり、画面を出力したりすることになる。   In the above-described embodiment, the case where the form processing system is a stand-alone has been described. However, the form processing system may be a stand-alone apparatus or a server apparatus in a server / client system. In the latter case, the output unit or the reception unit receives an input or outputs a screen via a communication line.

また、上記実施の形態において、各構成要素は専用のハードウェアにより構成されてもよく、あるいは、ソフトウェアにより実現可能な構成要素については、プログラムを実行することによって実現されてもよい。例えば、ハードディスクや半導体メモリ等の記録媒体に記録されたソフトウェア・プログラムをCPU等のプログラム実行部が読み出して実行することによって、各構成要素が実現され得る。   In the above embodiment, each component may be configured by dedicated hardware, or a component that can be realized by software may be realized by executing a program. For example, each component can be realized by a program execution unit such as a CPU reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory.

なお、上記実施の形態における帳票処理システムを実現するソフトウェアは、以下のようなプログラムである。つまり、このプログラムは、コンピュータを、帳票のテンプレートを示す情報であって、テンプレートに配置されるデータを指定する情報であるデータ指定情報を有する情報であるテンプレート情報を識別する情報であるテンプレート識別情報と、データ格納部に格納されているテンプレート情報が示すテンプレートに配置され得るデータである配置用データを取得する条件を示す情報である取得条件情報とを受信するサーバ側受信部と、データ格納部に格納されているデータの中から、サーバ側受信部が受信した取得条件情報が示す条件に合う配置用データを取得する配置用データ検出部と、テンプレート情報格納部にテンプレート識別情報と対応付けられて格納されているテンプレート情報のうちの、サーバ側受信部が受信したテンプレート識別情報に対応するテンプレート情報を複製し、複製したテンプレート情報が有するデータ指定情報を、配置用データ検出部が取得した配置用データのうちの、データ指定情報が指定する配置用データで置換して、帳票データを作成する帳票データ作成部と、帳票データ作成部が作成した帳票データを、帳票出力クライアント装置に送信するサーバ側送信部として機能させるためのプログラムである。   The software that realizes the form processing system in the above embodiment is the following program. That is, this program is a template identification information that is information for identifying a template, which is information indicating a template of a form and having data designation information that is information for designating data arranged in the template. And a server-side receiving unit that receives acquisition condition information that is information indicating conditions for acquiring arrangement data that can be arranged in the template indicated by the template information stored in the data storage unit, and a data storage unit Among the data stored in the server, the placement data detection unit that acquires the placement data that matches the condition indicated by the acquisition condition information received by the server-side receiving unit, and the template information storage unit is associated with the template identification information. Template information received by the server-side receiver from the stored template information The template information corresponding to the identification information is copied, and the data designation information included in the duplicated template information is replaced with the arrangement data specified by the data designation information from the arrangement data acquired by the arrangement data detection unit. The form data creating unit for creating the form data and the program for causing the form data created by the form data creating unit to function as a server-side transmitting unit for transmitting to the form output client device.

なお、上記プログラムにおいて、上記プログラムが実現する機能には、ハードウェアでしか実現できない機能は含まれない。例えば、情報を取得する取得部や、情報を出力する出力部などにおけるモデムやインターフェースカードなどのハードウェアでしか実現できない機能は、上記プログラムが実現する機能には含まれない。   In the program, the functions realized by the program do not include functions that can be realized only by hardware. For example, a function that can be realized only by hardware such as a modem or an interface card in an acquisition unit that acquires information or an output unit that outputs information is not included in the function realized by the program.

また、このプログラムを実行するコンピュータは、単数であってもよく、複数であってもよい。すなわち、集中処理を行ってもよく、あるいは分散処理を行ってもよい。   Further, the computer that executes this program may be singular or plural. That is, centralized processing may be performed, or distributed processing may be performed.

図18は、上記プログラムを実行して、上記実施の形態による帳票処理サーバ装置10や帳票出力クライアント装置20や、帳票処理装置30等を実現するコンピュータの外観の一例を示す模式図である。上記実施の形態は、コンピュータハードウェア及びその上で実行されるコンピュータプログラムによって実現されうる。   FIG. 18 is a schematic diagram showing an example of the external appearance of a computer that executes the program and realizes the form processing server device 10, the form output client device 20, the form processing device 30, and the like according to the above embodiment. The above-described embodiment can be realized by computer hardware and a computer program executed on the computer hardware.

図18において、コンピュータシステム900は、CD−RW(Compact Disk Rewritable)ドライブ等の光ディスクドライブ905、FD(Floppy(登録商標) Disk)ドライブ906を含むコンピュータ901と、キーボード902と、マウス903と、モニタ904とを備える。   18, a computer system 900 includes an optical disk drive 905 such as a CD-RW (Compact Disk Rewritable) drive, a computer 901 including an FD (Floppy (registered trademark) Disk) drive 906, a keyboard 902, a mouse 903, a monitor. 904.

図19は、コンピュータシステム900の内部構成を示す図である。図19において、コンピュータ901は、光ディスクドライブ905、FDドライブ906に加えて、MPU(Micro Processing Unit)911と、ブートアッププログラム等のプログラムを記憶するためのROM912と、MPU911に接続され、アプリケーションプログラムの命令を一時的に記憶すると共に、一時記憶空間を提供するRAM(Random Access Memory)913と、アプリケーションプログラム、システムプログラム、及びデータを記憶するハードディスク914と、MPU911、ROM912等を相互に接続するバス915とを備える。なお、コンピュータ901は、LANへの接続を提供する図示しないネットワークカードを含んでいてもよい。   FIG. 19 is a diagram showing an internal configuration of the computer system 900. In FIG. 19, in addition to the optical disk drive 905 and the FD drive 906, a computer 901 is connected to an MPU (Micro Processing Unit) 911, a ROM 912 for storing a program such as a bootup program, and an MPU 911. A bus 915 that interconnects a RAM (Random Access Memory) 913 that temporarily stores instructions and a temporary storage space, a hard disk 914 that stores application programs, system programs, and data, an MPU 911, a ROM 912, and the like. With. The computer 901 may include a network card (not shown) that provides connection to the LAN.

コンピュータシステム900に、上記実施の形態による帳票処理サーバ装置10や帳票出力クライアント装置20や、帳票処理装置30等の機能を実行させるプログラムは、CD−ROMや、CD−RW、DVD−ROM、DVD−RW等の光ディスク921、またはFD922に記憶されて、光ディスクドライブ905、またはFDドライブ906に挿入され、ハードディスク914に転送されてもよい。これに代えて、そのプログラムは、図示しないネットワークを介してコンピュータ901に送信され、ハードディスク914に記憶されてもよい。プログラムは実行の際にRAM913にロードされる。なお、プログラムは、光ディスク921やFD922、またはネットワークから直接、ロードされてもよい。   Programs that cause the computer system 900 to execute the functions of the form processing server device 10, form output client device 20, form processing device 30, and the like according to the above-described embodiments are CD-ROM, CD-RW, DVD-ROM, DVD It may be stored in the optical disk 921 or FD 922 such as RW, inserted into the optical disk drive 905 or FD drive 906, and transferred to the hard disk 914. Instead, the program may be transmitted to the computer 901 via a network (not shown) and stored in the hard disk 914. The program is loaded into the RAM 913 when executed. The program may be loaded directly from the optical disc 921, the FD 922, or the network.

プログラムは、コンピュータ901に、上記実施の形態による帳票処理サーバ装置10や帳票出力クライアント装置20や、帳票処理装置30等の機能を実行させるオペレーティングシステム(OS)、またはサードパーティプログラム等を必ずしも含んでいなくてもよい。プログラムは、制御された態様で適切な機能(モジュール)を呼び出し、所望の結果が得られるようにする命令の部分のみを含んでいてもよい。コンピュータシステム900がどのように動作するのかについては周知であり、詳細な説明は省略する。
本発明は、以上の実施の形態に限定されることなく、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。
The program does not necessarily include an operating system (OS) or a third-party program that causes the computer 901 to execute the functions of the form processing server apparatus 10, the form output client apparatus 20, the form processing apparatus 30, and the like according to the above-described embodiment. It does not have to be. The program may include only a part of an instruction that calls an appropriate function (module) in a controlled manner and obtains a desired result. How the computer system 900 operates is well known and will not be described in detail.
The present invention is not limited to the above-described embodiments, and various modifications are possible, and it goes without saying that these are also included in the scope of the present invention.

以上のように、本発明にかかる帳票処理システム等は、帳票を出力するシステム等として適しており、特に、テンプレートによって、様々なファーマットの帳票が出力可能な帳票処理システム等として有用である。   As described above, the form processing system or the like according to the present invention is suitable as a system for outputting a form, and is particularly useful as a form processing system or the like that can output various forms of forms using templates.

1 帳票処理システム
10 帳票処理サーバ装置
20 帳票出力クライアント装置
30 帳票処理装置
101 テンプレート情報格納部
102 データ格納部
103 サーバ側受信部
104 配置用データ検出部
105 帳票データ作成部
106 サーバ側送信部
107 テンプレート受信部
201 受付部
202 クライアント側送信部
203 クライアント側受信部
204 実行部
205 出力部
206 編集操作受付部
207 テンプレート編集部
208 テンプレート送信部
DESCRIPTION OF SYMBOLS 1 Form processing system 10 Form processing server apparatus 20 Form output client apparatus 30 Form processing apparatus 101 Template information storage part 102 Data storage part 103 Server side reception part 104 Arrangement data detection part 105 Form data creation part 106 Server side transmission part 107 Template Reception unit 201 Reception unit 202 Client side transmission unit 203 Client side reception unit 204 Execution unit 205 Output unit 206 Editing operation reception unit 207 Template editing unit 208 Template transmission unit

Claims (12)

帳票処理サーバ装置と帳票出力クライアント装置とを備えた帳票処理システムであって、
前記帳票処理サーバ装置は、
帳票のテンプレートを示す情報であって、当該テンプレートに配置されるデータを指定する情報であるデータ指定情報を有する情報であるテンプレート情報と、当該テンプレート情報を識別する情報であるテンプレート識別情報とが対応付けられて格納され得るテンプレート情報格納部と、
前記テンプレート情報が示すテンプレートに配置され得るデータである配置用データが格納され得るデータ格納部と、
前記帳票出力クライアント装置から、テンプレート識別情報と、前記配置用データを取得する条件を示す情報である取得条件情報とを受信するサーバ側受信部と、
前記データ格納部に格納されているデータの中から、前記サーバ側受信部が受信した取得条件情報が示す条件に合う配置用データを取得する配置用データ検出部と、
前記サーバ側受信部が受信したテンプレート識別情報に対応するテンプレート情報を複製し、当該複製したテンプレート情報が有するデータ指定情報を、前記配置用データ検出部が取得した配置用データのうちの、当該データ指定情報が指定する配置用データで置換して、帳票データを作成する帳票データ作成部と、
前記帳票データ作成部が作成した帳票データを、前記帳票出力クライアント装置に送信するサーバ側送信部とを備え、
前記帳票出力クライアント装置は、
前記テンプレート識別情報と、取得条件情報とを受け付ける受付部と、
前記受付部が受け付けたテンプレート識別情報と、取得条件情報とを、前記帳票処理サーバ装置に送信するクライアント側送信部と、
前記帳票処理サーバから送信される帳票データを受信するクライアント側受信部と、
前記クライアント側受信部が受信した帳票データを出力する出力部とを備えた帳票処理システム。
A form processing system comprising a form processing server device and a form output client device,
The form processing server device
Template information that is information indicating a template of a form and that has data designation information that is information for designating data arranged in the template, and template identification information that is information for identifying the template information correspond to each other A template information storage unit that can be attached and stored;
A data storage unit capable of storing placement data, which is data that can be placed in the template indicated by the template information;
A server-side receiving unit that receives template identification information and acquisition condition information that is a condition for acquiring the placement data from the form output client device;
An arrangement data detection unit that acquires arrangement data that meets the conditions indicated by the acquisition condition information received by the server side reception unit from the data stored in the data storage unit;
The template information corresponding to the template identification information received by the server-side receiving unit is duplicated, and the data designation information included in the duplicated template information is included in the arrangement data acquired by the arrangement data detection unit. A form data creation unit that creates form data by replacing with the placement data specified by the specified information,
A server-side transmission unit that transmits the form data created by the form data creation unit to the form output client device;
The form output client device
A receiving unit that receives the template identification information and the acquisition condition information;
A client-side transmission unit that transmits the template identification information received by the reception unit and the acquisition condition information to the form processing server device;
A client-side receiving unit that receives form data transmitted from the form processing server;
A form processing system comprising: an output unit that outputs form data received by the client side receiving unit.
前記テンプレート情報は、さらに、前記データ指定情報が指定する配置用データを用いる演算式または実行モジュールを有しており、
前記帳票データ作成部は、前記演算式または実行モジュールに対応したデータ指定情報を、前記配置用データ検出部が取得した配置用データのうちの、当該データ指定情報が指定する配置用データで置換して、帳票データを作成し、
前記帳票出力クライアント装置は、
前記クライアント側受信部が受信した帳票データに含まれる前記演算式を用いた演算処理または前記実行モジュールを、当該演算式または実行モジュールに対応するデータ指定情報を置換した配置用データを用いて実行する実行部をさらに有し、
前記出力部は、前記クライアント側受信部が受信した帳票データに、前記実行部の実行結果の情報を加えた帳票データを出力する請求項1記載の帳票処理システム。
The template information further includes an arithmetic expression or an execution module that uses the placement data specified by the data specification information,
The form data creation unit replaces the data designation information corresponding to the arithmetic expression or the execution module with the arrangement data specified by the data designation information among the arrangement data acquired by the arrangement data detection unit. Create the form data,
The form output client device
The arithmetic processing using the arithmetic expression included in the form data received by the client side receiving unit or the execution module is executed using the arrangement data in which the data designation information corresponding to the arithmetic expression or the execution module is replaced. An execution unit,
The form processing system according to claim 1, wherein the output unit outputs form data obtained by adding execution result information of the execution unit to the form data received by the client side receiving unit.
前記テンプレート情報は、1以上のシートを有するスプレッドシートの情報であり、前記データ指定情報は、当該スプレッドシートのセルに配置されており、
前記帳票データ作成部は、前記サーバ側受信部が受け付けたテンプレート識別情報に対応するテンプレート情報を複製し、当該複製したテンプレート情報が示す各スプレッドシートのセルに配置されているデータ指定情報を、前記配置用データ検出部が取得した配置用データのうちの、当該データ指定情報が指定する配置用データで置換して、複数シートを有する帳票データを作成する請求項1記載の帳票処理システム。
The template information is information of a spreadsheet having one or more sheets, and the data designation information is arranged in a cell of the spreadsheet,
The form data creation unit duplicates the template information corresponding to the template identification information received by the server-side receiving unit, and the data designation information arranged in each spreadsheet cell indicated by the duplicated template information, The form processing system according to claim 1, wherein the form data having a plurality of sheets is created by replacing the placement data acquired by the placement data detection unit with the placement data designated by the data designation information.
前記テンプレート情報は、複数のページを有する情報であり、
前記帳票データ作成部は、前記サーバ側受信部が受け付けたテンプレート識別情報に対応するテンプレート情報を複製し、当該複製したテンプレート情報が示す各ページに配置されているデータ指定情報を、前記配置用データ検出部が取得した配置用データのうちの、当該データ指定情報が指定する配置用データで置換して、複数ページを有する帳票データを作成する請求項1記載の帳票処理システム。
The template information is information having a plurality of pages,
The form data creation unit duplicates the template information corresponding to the template identification information received by the server-side receiving unit, and sets the data designation information arranged on each page indicated by the duplicated template information as the placement data The form processing system according to claim 1, wherein the form data having a plurality of pages is created by replacing the placement data acquired by the detection unit with the placement data designated by the data designation information.
前記テンプレート情報は、一のシートまたはページに、2以上の同じデータ指定情報を有し、
前記帳票データ作成部は、
前記共通する2以上のデータ指定情報により指定された異なる配置用データを前記共通するデータ指定情報と置き換えて配置し、前記異なる配置用データの全てが配置できない場合に、前記一のシートまたはページを複製し、当該複製したシートまたはページの前記データ指定情報と置き換えて、前記異なる配置用データの配置できなかった残りの配置用データを配置する請求項1記載の帳票処理システム。
The template information has two or more pieces of the same data designation information on one sheet or page,
The form data creation unit
When the different arrangement data designated by the two or more common data designation information is replaced with the common data designation information and all the different arrangement data cannot be arranged, the one sheet or page is The form processing system according to claim 1, wherein the form data is duplicated and replaced with the data designation information of the duplicated sheet or page, and the remaining arrangement data that could not be arranged with the different arrangement data is arranged.
前記テンプレート情報は、指定される1以上の配置用データが複数である場合に、当該複数の配置用データで置換されるデータ指定情報を指定する情報であるリピート指定情報と、指定される配置用データで一度だけ置換され配置されるデータ指定情報を指定する情報であるシングル指定情報とをさらに有し、
前記帳票データ作成部は、
前記シングル指定情報が指定するデータ指定情報については、前記配置用データ検出部が取得した配置用データのうちのデータ指定情報が指定する配置用データで、当該データ指定情報を置換し、
前記リピート指定情報が指定するデータ指定情報については、前記配置用データ検出部が取得した配置用データのうちのデータ指定情報が指定する1以上の配置用データで、当該データ指定情報を置換して帳票データを作成する請求項1記載の帳票処理システム。
The template information includes repeat designation information which is information for designating data designation information to be replaced with the plurality of pieces of arrangement data when there is a plurality of pieces of one or more pieces of arrangement data designated. And single designation information that is information that designates data designation information that is replaced and arranged only once with data,
The form data creation unit
For the data designation information designated by the single designation information, the data designation information is replaced with the arrangement data designated by the data designation information among the arrangement data acquired by the arrangement data detection unit,
For the data designation information designated by the repeat designation information, the data designation information is replaced with one or more pieces of arrangement data designated by the data designation information among the arrangement data acquired by the arrangement data detection unit. The form processing system according to claim 1, wherein the form data is created.
前記テンプレート情報は、一のシートまたはページに、指定される1以上の配置用データが複数である場合に、当該複数の配置用データで置換されるデータ指定情報を指定するリピート指定情報と、指定される配置用データで当該一のシートまたはページ内において一度だけ置換され配置されるデータ指定情報を指定するシングル指定情報とをさらに有し、
前記帳票データ作成部は、
前記シングル指定情報が指定するデータ指定情報を、前記配置用データ検出部が取得した配置用データのうちのデータ指定情報が指定する配置用データで置換し、
前記リピート指定情報が指定するデータ指定情報を、前記配置用データ検出部が取得した配置用データのうちのデータ指定情報が指定する1以上の配置用データで置換し、
前記リピート指定情報が指定するデータ指定情報が指定する配置用データが、所定数を超える場合、前記一のシートまたはページを複製し、所定数を超える配置用データで、当該複製したシート又はページのリピート指定情報が指定するデータ指定情報を置換する請求項1記載の帳票処理システム。
The template information includes repeat designation information for designating data designation information to be replaced with a plurality of pieces of arrangement data when one or more pieces of arrangement data are designated in one sheet or page. Single designation information for designating data designation information that is replaced and arranged only once in the one sheet or page with the arrangement data to be arranged,
The form data creation unit
Replacing the data designation information designated by the single designation information with the arrangement data designated by the data designation information among the arrangement data acquired by the arrangement data detection unit;
Replacing the data designation information designated by the repeat designation information with one or more arrangement data designated by the data designation information of the arrangement data acquired by the arrangement data detection unit;
When the arrangement data designated by the data designation information designated by the repeat designation information exceeds a predetermined number, the one sheet or page is duplicated, and with the arrangement data exceeding the predetermined number, the duplicated sheet or page The form processing system according to claim 1, wherein the data designation information designated by the repeat designation information is replaced.
前記テンプレート情報は、配置用データによる置換の対象とならないシートまたはページを指定する情報である除外情報を有しており、
前記帳票データ作成部は、当該除外情報により指定されるシートまたはページの配置用データによる置換を行わない請求項1記載の帳票処理システム。
The template information has exclusion information that is information for designating sheets or pages that are not to be replaced by the placement data,
The form processing system according to claim 1, wherein the form data creation unit does not perform replacement with the sheet or page arrangement data specified by the exclusion information.
帳票のテンプレートを示す情報であって、当該テンプレートに配置されるデータを指定する情報であるデータ指定情報を有する情報であるテンプレート情報と、当該テンプレート情報を識別する情報であるテンプレート識別情報とが対応付けられて格納され得るテンプレート情報格納部と、
前記テンプレート情報が示すテンプレートに配置され得るデータである配置用データが格納され得るデータ格納部と、
前記帳票出力クライアント装置から、テンプレート識別情報と、前記配置用データを取得する条件を示す情報である取得条件情報とを受信するサーバ側受信部と、
前記データ格納部に格納されているデータの中から、前記サーバ側受信部が受信した取得条件情報が示す条件に合う配置用データを取得する配置用データ検出部と、
前記サーバ側受信部が受信したテンプレート識別情報に対応するテンプレート情報を複製し、当該複製したテンプレート情報が有するデータ指定情報を、前記配置用データ検出部が取得した配置用データのうちの、当該データ指定情報が指定する配置用データで置換して、帳票データを作成する帳票データ作成部と、
前記帳票データ作成部が作成した帳票データを、前記帳票出力クライアント装置に送信するサーバ側送信部とを備えた帳票処理サーバ装置。
Template information that is information indicating a template of a form and that has data designation information that is information for designating data arranged in the template, and template identification information that is information for identifying the template information correspond to each other A template information storage unit that can be attached and stored;
A data storage unit capable of storing placement data, which is data that can be placed in the template indicated by the template information;
A server-side receiving unit that receives template identification information and acquisition condition information that is a condition for acquiring the placement data from the form output client device;
An arrangement data detection unit that acquires arrangement data that meets the conditions indicated by the acquisition condition information received by the server side reception unit from the data stored in the data storage unit;
The template information corresponding to the template identification information received by the server-side receiving unit is duplicated, and the data designation information included in the duplicated template information is included in the arrangement data acquired by the arrangement data detection unit. A form data creation unit that creates form data by replacing with the placement data specified by the specified information,
A form processing server device comprising a server-side transmission unit that transmits the form data created by the form data creation unit to the form output client device.
帳票のテンプレートを示す情報であって、当該テンプレートに配置されるデータを指定する情報であるデータ指定情報を有する情報であるテンプレート情報と、当該テンプレート情報を識別する情報であるテンプレート識別情報とが対応付けられて格納され得るテンプレート情報格納部と、
前記テンプレート情報が示すテンプレートに配置され得るデータである配置用データが格納され得るデータ格納部と、
テンプレート識別情報と、前記配置用データを取得する条件を示す情報である取得条件情報とを受け付ける受付部と、
前記データ格納部に格納されているデータの中から、前記受付部が受け付けた取得条件情報が示す条件に合う配置用データを取得する配置用データ検出部と、
前記受付部が受け付けたテンプレート識別情報に対応するテンプレート情報を複製し、当該複製したテンプレート情報が有するデータ指定情報を、前記配置用データ検出部が取得した配置用データのうちの、当該データ指定情報が指定する配置用データで置換して、帳票データを作成する帳票データ作成部と、
前記帳票データ作成部が作成した帳票データを出力する出力部とを備えた帳票処理装置。
Template information that is information indicating a template of a form and that has data designation information that is information for designating data arranged in the template, and template identification information that is information for identifying the template information correspond to each other A template information storage unit that can be attached and stored;
A data storage unit capable of storing placement data, which is data that can be placed in the template indicated by the template information;
A receiving unit that receives template identification information and acquisition condition information that is information indicating a condition for acquiring the placement data;
An arrangement data detection unit that acquires arrangement data that meets the conditions indicated by the acquisition condition information received by the reception unit from the data stored in the data storage unit;
The template information corresponding to the template identification information received by the receiving unit is duplicated, and the data designation information included in the arrangement data acquired by the arrangement data detecting unit is the data designation information included in the duplicated template information. A form data creation unit that creates form data by replacing with the layout data specified by
A form processing apparatus comprising: an output unit that outputs form data created by the form data creation unit.
帳票のテンプレートを示す情報であって、当該テンプレートに配置されるデータを指定する情報であるデータ指定情報を有する情報であるテンプレート情報と、当該テンプレート情報を識別する情報であるテンプレート識別情報とが対応付けられて格納され得るテンプレート情報格納部と、前記テンプレート情報が示すテンプレートに配置され得るデータである配置用データが格納され得るデータ格納部と、サーバ側受信部と、配置用データ検出部と、帳票データ作成部と、サーバ側送信部とを用いて行われる帳票処理方法であって、
前記サーバ側受信部が、テンプレート識別情報と、前記配置用データを取得する条件を示す情報である取得条件情報とを受信するサーバ側受信ステップと、
前記配置用データ検出部が、前記データ格納部に格納されているデータの中から、前記サーバ側受信ステップで受信した取得条件情報が示す条件に合う配置用データを取得する配置用データ検出ステップと、
前記帳票データ作成部が、前記サーバ側受信ステップで受信したテンプレート識別情報に対応するテンプレート情報を複製し、当該複製したテンプレート情報が有するデータ指定情報を、前記配置用データ検出ステップで取得した配置用データのうちの、当該データ指定情報が指定する配置用データで置換して、帳票データを作成する帳票データ作成ステップと、
前記サーバ側送信部が、前記帳票データ作成ステップで作成した帳票データを送信するサーバ側送信ステップとを備えた帳票処理方法。
Template information that is information indicating a template of a form and that has data designation information that is information for designating data arranged in the template, and template identification information that is information for identifying the template information correspond to each other A template information storage unit that can be attached and stored; a data storage unit that can store placement data that is data that can be placed in the template indicated by the template information; a server-side reception unit; a placement data detection unit; A form processing method performed using a form data creation unit and a server-side transmission unit,
A server-side receiving step in which the server-side receiving unit receives template identification information and acquisition condition information that is information indicating a condition for acquiring the placement data;
A placement data detection step in which the placement data detection unit acquires placement data that meets the conditions indicated by the acquisition condition information received in the server side reception step from the data stored in the data storage unit; ,
The form data creation unit duplicates the template information corresponding to the template identification information received in the server-side reception step, and the data designation information included in the duplicated template information is acquired in the placement data detection step Of the data, a form data creation step for creating form data by replacing with the placement data designated by the data designation information;
A form processing method, comprising: a server-side transmission step in which the server-side transmission unit transmits the form data created in the form data creation step.
コンピュータを、
帳票のテンプレートを示す情報であって、当該テンプレートに配置されるデータを指定する情報であるデータ指定情報を有する情報であるテンプレート情報を識別する情報であるテンプレート識別情報と、データ格納部に格納されている前記テンプレート情報が示すテンプレートに配置され得るデータである配置用データを取得する条件を示す情報である取得条件情報とを受信するサーバ側受信部と、
前記データ格納部に格納されているデータの中から、前記サーバ側受信部が受信した取得条件情報が示す条件に合う配置用データを取得する配置用データ検出部と、
テンプレート情報格納部に前記テンプレート識別情報と対応付けられて格納されている前記テンプレート情報のうちの、前記サーバ側受信部が受信したテンプレート識別情報に対応するテンプレート情報を複製し、当該複製したテンプレート情報が有するデータ指定情報を、前記配置用データ検出部が取得した配置用データのうちの、当該データ指定情報が指定する配置用データで置換して、帳票データを作成する帳票データ作成部と、
前記帳票データ作成部が作成した帳票データを、前記帳票出力クライアント装置に送信するサーバ側送信部として機能させるためのプログラム。
Computer
Information indicating a template of the form, and is stored in the data storage unit, template identification information that is information for identifying template information that is information having data specification information that is information for specifying data to be arranged in the template. A server-side receiving unit that receives acquisition condition information that is information indicating a condition for acquiring data for arrangement, which is data that can be arranged in a template indicated by the template information.
An arrangement data detection unit that acquires arrangement data that meets the conditions indicated by the acquisition condition information received by the server side reception unit from the data stored in the data storage unit;
Of the template information stored in association with the template identification information in the template information storage unit, the template information corresponding to the template identification information received by the server-side receiving unit is duplicated, and the duplicated template information Replacing the data designation information included in the data for placement acquired by the placement data detection unit with the placement data designated by the data designation information to create form data,
A program for causing the form data created by the form data creating unit to function as a server-side transmitting unit that transmits to the form output client device.
JP2009190657A 2009-08-20 2009-08-20 System, server device, apparatus and method for processing business form, and program Withdrawn JP2011043930A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009190657A JP2011043930A (en) 2009-08-20 2009-08-20 System, server device, apparatus and method for processing business form, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009190657A JP2011043930A (en) 2009-08-20 2009-08-20 System, server device, apparatus and method for processing business form, and program

Publications (1)

Publication Number Publication Date
JP2011043930A true JP2011043930A (en) 2011-03-03

Family

ID=43831327

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009190657A Withdrawn JP2011043930A (en) 2009-08-20 2009-08-20 System, server device, apparatus and method for processing business form, and program

Country Status (1)

Country Link
JP (1) JP2011043930A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5462967B1 (en) * 2013-04-09 2014-04-02 株式会社Osk Data output system
JP2019049886A (en) * 2017-09-11 2019-03-28 株式会社日立システムズ Data maintenance system and data maintenance method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5462967B1 (en) * 2013-04-09 2014-04-02 株式会社Osk Data output system
JP2019049886A (en) * 2017-09-11 2019-03-28 株式会社日立システムズ Data maintenance system and data maintenance method

Similar Documents

Publication Publication Date Title
CN101281526B (en) Information processing apparatus, information processing system, and information processing method
US9361464B2 (en) Versatile log system
JP2006031292A (en) Document processing apparatus, document processing method, and document processing program
JP5407209B2 (en) Document management apparatus, document management program, and document management system
JP5343608B2 (en) Business management support device, business management support program, business management support system, information processing device, and document management device
CN101196896A (en) Document providing system and method
JP2006229670A (en) Image formation device and program
JP2006004298A (en) Document processing apparatus, documents processing method, and document processing program
US20220374249A1 (en) Systems and methods for translation of a digital document to an equivalent interactive user interface
JP4959501B2 (en) Information processing apparatus, information processing method, and program
JP2005284889A (en) Management consulting list revision support apparatus
JP2011043930A (en) System, server device, apparatus and method for processing business form, and program
JP5526991B2 (en) Information processing apparatus, information processing method, program, information processing system
JP2003150762A (en) Cooperation method for project information and its system
JP2008165409A (en) Electronic business form retrieving device, electronic business form retrieving method, and program
JP4279496B2 (en) Electronic delivery support device and program
JP2008165497A (en) Information processor and program
JP2007018364A (en) Form issuance apparatus, form issuance system, form issuance method and form issuance program
JP2009265902A (en) Document management device, document management method, information processing program, and recording medium
JP2008123423A (en) Audit system for storing/retrieving telegram data, audit method for storing/retrieving telegram data, and audit program for storing/retrieving telegram data
JP2007034806A (en) Information processor and program
JP2002117022A (en) Device, system, and method for document data management, document data managing program, and computer-readable storage medium with recorded document data managing program
JP2002342137A (en) Device and method for managing document and recording medium
JP2004240991A (en) Electronic delivery support device and program
JP4805491B2 (en) Dictionary management program and computer system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20121106