JPWO2014103024A1 - Table synthesis apparatus and table synthesis program - Google Patents
Table synthesis apparatus and table synthesis program Download PDFInfo
- Publication number
- JPWO2014103024A1 JPWO2014103024A1 JP2014554013A JP2014554013A JPWO2014103024A1 JP WO2014103024 A1 JPWO2014103024 A1 JP WO2014103024A1 JP 2014554013 A JP2014554013 A JP 2014554013A JP 2014554013 A JP2014554013 A JP 2014554013A JP WO2014103024 A1 JPWO2014103024 A1 JP WO2014103024A1
- Authority
- JP
- Japan
- Prior art keywords
- data
- information
- rows
- labels
- format
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- Tourism & Hospitality (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Economics (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Document Processing Apparatus (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
ユーザが見やすい態様の合成データを生成することを課題とする。表形式で作成され、行方向に並ぶ複数のデータラベルに対応した複数のデータ項目を含む表データが複数記憶される記憶部と、前記複数のデータファイルを合成した表データであって、前記複数のデータラベルが表データ毎に設定された行に並べられると共に、表データ間で共通するデータラベルが複数行を結合した領域に配置され、該データラベルに対応したデータ項目が列方向に並べられた表データを生成する生成部と、を備える表合成装置。It is an object to generate composite data in a form that is easy for the user to see. A storage unit for storing a plurality of table data including a plurality of data items corresponding to a plurality of data labels arranged in a row direction and created in a table format, and table data obtained by combining the plurality of data files, Data labels are arranged in rows set for each table data, and data labels common to the table data are arranged in an area where a plurality of rows are combined, and data items corresponding to the data labels are arranged in the column direction. A table synthesizing apparatus comprising: a generating unit that generates the table data.
Description
本発明は、表合成装置、および表合成プログラムに関する。 The present invention relates to a table synthesis device and a table synthesis program.
従来より、コンピュータ上で動作するワープロソフトや表計算ソフト、プレゼンテーションソフト等の汎用ソフトによって、表形式のデータファイルが作成されている。 Conventionally, tabular data files have been created by general-purpose software such as word processing software, spreadsheet software, and presentation software that run on a computer.
これに関連し、表形式のデータファイルを合成したスプレッドシート形式のデータを出力するためのスプレッドシート生成プログラムが知られている(例えば、特許文献1参照)。 In relation to this, a spreadsheet generation program for outputting spreadsheet format data obtained by synthesizing tabular data files is known (for example, see Patent Document 1).
しかしながら、上記したスプレッドシート生成プログラムは、人事管理、営業管理、製造管理等に用いられる、共通するデータ項目を有する可能性が高い複数の帳票を合成することを念頭においたものでは無い。このため、複数のソースファイルに、それぞれ同じ類のデータ項目が含まれる場合に、ユーザが見やすい合成データを出力することができない場合がある。 However, the above-described spreadsheet generation program is not intended to synthesize a plurality of forms that are likely to have common data items, which are used for personnel management, business management, manufacturing management, and the like. For this reason, when the same type of data item is included in each of the plurality of source files, it may be impossible to output composite data that is easy for the user to see.
一つの側面では、ユーザが見やすい態様の合成データを生成することを目的とする。 An object of one aspect is to generate composite data in a form that is easy for a user to view.
一態様の表合成装置は、表形式で作成され、行方向に並ぶ複数のデータラベルに対応した複数のデータ項目を含む表データが複数記憶される記憶部と、前記複数のデータファイルを合成した表データであって、前記複数のデータラベルが表データ毎に設定された行に並べられると共に、表データ間で共通するデータラベルが複数行を結合した領域に配置され、該データラベルに対応したデータ項目が列方向に並べられた表データを生成する生成部と、を備える。 A table composition apparatus according to one aspect combines a plurality of data files with a storage unit that stores a plurality of table data including a plurality of data items created in a table format and corresponding to a plurality of data labels arranged in a row direction. Table data, wherein the plurality of data labels are arranged in a row set for each table data, and a data label common to the table data is arranged in an area where a plurality of rows are combined, and corresponds to the data label A generation unit that generates table data in which data items are arranged in a column direction.
一態様によれば、ユーザが見やすい態様の合成データを生成することができる。 According to one aspect, it is possible to generate composite data in an aspect that is easy for the user to see.
以下、本発明を実施するための形態について、添付図面を参照しながら実施例を挙げて説明する。 DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments for carrying out the present invention will be described with reference to the accompanying drawings.
以下、図面を参照し、表合成装置、および表合成プログラムの実施例について説明する。 Embodiments of a table synthesis apparatus and a table synthesis program will be described below with reference to the drawings.
[ハードウェア構成]
図1は、一実施例に係る表合成装置1のハードウェア構成例である。表合成装置1は、例えば、CPU(Central Processing Unit)10と、メモリ12と、HDD(Hard Disk Drive)14と、ドライブ装置16と、表示制御部20と、表示装置22と、入力装置24と、通信制御部26とを備える。[Hardware configuration]
FIG. 1 is a hardware configuration example of a
CPU10は、例えば、プログラムカウンタや命令デコーダ、各種演算器、LSU(Load Store Unit)、汎用レジスタ等を有するプロセッサである。メモリ12は、例えば、RAM(Random Access Memory)である。HDD14は、CPU10が実行するプログラムその他のデータを格納する。表合成装置1は、HDD14に替えて、SSD(Solid State Drive)等の他の記憶装置を備えてもよい。ドライブ装置16は、記憶媒体18からプログラムやデータを読み込み可能な装置である。プログラムを記録した記憶媒体18がドライブ装置16に装着されると、プログラムが記憶媒体18からドライブ装置16を介してHDD14にインストールされる。記憶媒体18は、例えば、CD(Compact Disc)、DVD(Digital Versatile Disc)、USB(Universal Serial Bus)メモリ等の可搬型の記憶媒体である。プログラムのインストールは、記憶媒体18を用いる他、通信制御部26がネットワークを介して他のコンピュータよりダウンロードし、HDD14にインストールすることによって行うこともできる。また、表合成装置1において実行されるプログラムは、表合成装置1の出荷時に、予めHDD14やROM等に格納されていてもよい。
The
表示制御部20は、例えば、表示装置22が表示する画面を生成するための論理回路である。表示装置22は、例えば、LCD(Liquid Crystal Display)やCRT(Cathode Ray Tube)、有機EL(Electroluminescence)等の表示装置である。入力装置24は、例えば、マウス、キーボード、タッチパネル機構、タッチパッド等を含む。
The
[機能構成]
図2は、表合成装置1の機能構成例である。表合成装置1は、CPU10がHDD14等に格納されたプログラムを実行することにより機能する機能ブロックとして、中間データ生成部10Aと、中間データ管理情報生成部10Bと、明細データ抽出部10Cと、セル定義情報生成部10Dと、ラベルマッピング情報生成部10Eと、明細データ合成部10Fと、印刷データ生成部10Gとを備える。なお、これらの機能ブロックが明確に分離したプログラムによって実現される必要はなく、サブルーチンや関数として他のプログラムによって呼び出されるものであってもよい。また、機能ブロックの一部が、LSI(Large Scale Integrated circuit)、IC(Integrated Circuit)やFPGA(Field Programmable Gate Array)等のハードウェア手段であっても構わない。[Function configuration]
FIG. 2 is a functional configuration example of the
また、表合成装置1は、中間データ12A、中間データ管理情報12B、明細データ12C、セル定義情報(シート毎)12D、ラベルマッピング情報12E、セル定義情報(合成後)12F、セル情報12G等のデータを生成し、メモリ12に格納する。メモリ12には、上記の他、印刷データ12H、フォーマット定義12I、表合成制御情報12J、セル制御情報12K等が格納される。これらのデータは、例えば、ユーザによって入力されたり、デフォルトデータがHDD14からロードされたりしたものである。
The
[処理フロー等]
図3は、表合成装置1が実行する全体的な処理の流れを示すフローチャートの一例である。[Processing flow etc.]
FIG. 3 is an example of a flowchart showing the overall processing flow executed by the
まず、表合成装置1は、HDD14から、又はドライブ装置16を介して記憶媒体18から、或いは通信制御部26を介してネットワークから印刷データ12Hとフォーマット定義12Iを取得し、メモリ12に格納する(S100)。
First, the
印刷データ12Hとフォーマット定義12Iは、一組で表データを構成する。印刷データ12Hは、表データの罫線内の領域(以下ではパーティションと称する)に埋め込まれる文字、数字、記号等を示すデータである。フォーマット定義情報12Hは、印刷データ12Iに含まれるデータを表データに埋め込む際のフォーマットを定義したデータである。印刷データ12Iは、ワープロソフトや表計算ソフト、プレゼンテーションソフト等の汎用ソフトによって作成されたデータから抽出され、フォーマット定義情報12Hは、例えば帳票定義ツールの処理結果として取得される。
The
図4は、フォーマット定義12Iと印刷データ12Hのデータ構造の一例を示す図である。印刷データ12Iは、表中の各項目に対応する文字列データがシリアルに格納されているレコードである。また、フォーマット定義情報12Hは、パーティションごとに、<1>項目情報、<2>罫線情報、を含むデータ構造となっている。図5は、<1>項目情報のデータ構造の一例を示す図である。また、図6は、<2>罫線情報のデータ構造の一例を示す図である。
FIG. 4 is a diagram illustrating an example of the data structure of the format definition 12I and the
図5に示すように、<1>項目情報は、(1)項目名、(2)項目の位置情報、(3)項目領域長、(4)データ長、(5)データ形式、(6)フォント情報、(7)配置情報、(8)編集形式、(9)レコード内位置、(10)文字列データ、(11)パーティション種別、(12)項目種別等の情報を含む。 As shown in FIG. 5, <1> item information includes (1) item name, (2) item position information, (3) item area length, (4) data length, (5) data format, (6) It includes information such as font information, (7) arrangement information, (8) editing format, (9) position in record, (10) character string data, (11) partition type, and (12) item type.
(1)項目名は、項目を識別するための名前であり、フォーマット定義内で一意の情報となっている。(2)項目の位置情報は、項目の位置を示す座標位置(例えば項目の最左下の座標)である。(3)項目領域長は、項目の範囲を示す値である。(4)データ長さは、データの長さを示す値(単位:バイト数)である。(5)データ形式は、データの種類を示す値(テキストデータ、数値データ等)である。(6)フォント情報は、フォント名やフォントサイズを示す情報である。(7)配置情報は、中央揃え等、文字の配置に関する情報である。(8)編集形式は、最終的に生成されるスプレッドシートにおける表示形式を指定するための情報である。図7は、フォーマット定義12Iにおける編集形式と、編集形式とスプレッドシート(ここではExcel)の書式(表示形式)の対応を示す図である。(9)レコード内位置は、レコード形式のデータである印刷データの先頭から何バイト目かを示す情報である。例えば、図4において、項目Aのレコード内位置は、印刷データ内の「あいうえお」を格納している位置が、印刷データの先頭から何バイト目かを示す情報である。(10)文字列データには、項目種別が「リテラル」の場合のみ、文字列データが格納される。(11)パーティション種別は、所属するパーティションの種別を表す。パーティションの種別には、例えば、ページヘッダを示す「PH」、明細を示す「DE」等が含まれる。(12)項目種別は、文字列が定義されている場合の「リテラル」、レコードを参照する場合の「テキスト」等、項目の種別を表す情報である。 (1) The item name is a name for identifying the item, and is unique information in the format definition. (2) The item position information is a coordinate position indicating the position of the item (for example, the lower left coordinate of the item). (3) The item area length is a value indicating the range of items. (4) The data length is a value (unit: number of bytes) indicating the length of the data. (5) The data format is a value (text data, numerical data, etc.) indicating the type of data. (6) The font information is information indicating a font name and a font size. (7) Arrangement information is information relating to the arrangement of characters such as center alignment. (8) The edit format is information for designating a display format in the finally generated spreadsheet. FIG. 7 is a diagram showing the correspondence between the editing format in the format definition 12I, and the format (display format) of the editing format and spreadsheet (here Excel). (9) The position in the record is information indicating the number of bytes from the top of the print data that is data in the record format. For example, in FIG. 4, the position in the record of item A is information indicating the number of bytes from the top of the print data at which the “aiueo” is stored in the print data. (10) The character string data is stored in the character string data only when the item type is “literal”. (11) The partition type represents the type of the partition to which it belongs. The partition type includes, for example, “PH” indicating a page header, “DE” indicating details, and the like. (12) The item type is information representing the item type, such as “literal” when a character string is defined and “text” when referring to a record.
ここで、合成される表データである請求書や納品書は、伝票のタイトルや発行日、発注などの伝票部分、また小計や合計などで構成され、1つの明細書となっている。「明細」とは、ラベルの下に並べられた1又は複数の項目を意味する。 Here, the invoice or delivery note, which is the table data to be synthesized, is composed of a slip title such as a slip title, an issue date, an order, a subtotal, a total, etc., and forms a single specification. “Detail” means one or more items arranged under a label.
フォーマット定義12Iの<2>罫線情報のデータ構造は、(1)種別、(2)位置情報などの情報を含む。図6に示す(1)種別とは、罫線、枠、網掛けを識別する情報である。また、(2)位置情報とは、罫線、枠、網掛けの位置や範囲を示す情報で、開始位置(X1, Y1)と終了位置(X2, Y2)を含む。 The data structure of <2> ruled line information in the format definition 12I includes information such as (1) type and (2) position information. The type (1) shown in FIG. 6 is information for identifying ruled lines, frames, and shading. Further, (2) position information is information indicating the positions and ranges of ruled lines, frames, and shading, and includes a start position (X1, Y1) and an end position (X2, Y2).
印刷データ12Hおよびフォーマット定義12Iがメモリ12に格納されると、中間データ生成部10Aが、中間データ生成処理を行う(S110)。中間データ12Aとは、項目の出力位置、文字属性情報や出力データなどの情報を解析したバイナリデータである。図8は、中間データ生成部10Aにより実行される中間データ生成処理の流れを示すフローチャートの一例である。また、図9は、中間データ12Aのデータ構造の一例である。
When the
まず、中間データ生成部10Aは、1組のフォーマット定義12Iと印刷データ12Hを読み込む(S111)。次に、中間データ生成部10Aは、文字データを出力し(S112)、項目位置を論理座標情報に設定し(S113)、罫線データを出力し(S114)、枠データを出力し(S115)、網掛けデータを出力する(S116)。次に、中間データ生成部10Aは、中間データ12Aを中間データ管理情報に設定する(S117)。中間データ生成部10Aは、以上の処理を、全てのフォーマット定義12Iと印刷データ12Hの組について実行する(S118)。
First, the intermediate
図10は、<1>文字列情報のデータ構造の一例である。<1>文字列情報における(1)項目位置は、文字列の位置を示す座標位置(例えば左下を示す座標)である。(2)データ形式は、データの種類を示す値(テキストデータ、数値データ、etc.)である。(3)データ長は、文字列の長さを示す値(単位:バイト数)である。(4)文字列範囲は、X方向とY方向のそれぞれの文字列範囲を示す値である。(5)配置情報は、中央揃え、右揃え等、文字の配置に関する情報である。(6)フォント情報は、フォント名やフォントサイズを示す情報である。(7)編集形式は、データを編集して出力する場合の編集形式を示す情報である。(8)文字列データは、文字列を示す情報である。(9)パーティション種別は、所属するパーティションの種別を表す情報である。(10)項目種別は、文字列が定義されている場合の「リテラル」、レコードを参照する場合の「テキスト」等、項目の種別を表す情報である。 FIG. 10 shows an example of the data structure of <1> character string information. <1> The item position (1) in the character string information is a coordinate position indicating the position of the character string (for example, coordinates indicating the lower left). (2) The data format is a value indicating the type of data (text data, numerical data, etc.). (3) The data length is a value (unit: number of bytes) indicating the length of the character string. (4) The character string range is a value indicating each character string range in the X direction and the Y direction. (5) Arrangement information is information relating to the arrangement of characters, such as center alignment and right alignment. (6) The font information is information indicating a font name and a font size. (7) The edit format is information indicating an edit format when data is edited and output. (8) Character string data is information indicating a character string. (9) The partition type is information indicating the type of partition to which the partition belongs. (10) The item type is information representing the item type, such as “literal” when a character string is defined and “text” when referring to a record.
<2>罫線情報については、図6を参照することとして、説明を省略する。図11は、<3>論理座標情報のデータ構造の一例である。<3>論理座標情報における(1)登録数は、文字列情報の数である。(2)項目位置のX座標は、各文字列情報のX座標である。(3)項目位置のY座標は、各文字列情報のY座標である。図12は、<4>縦横サイズのデータ構造の一例である。<4>縦横サイズには、対象となる表データの縦サイズと横サイズが格納される。 <2> The ruled line information will be described with reference to FIG. FIG. 11 shows an example of the data structure of <3> logical coordinate information. <3> The number of registrations in the logical coordinate information (1) is the number of character string information. (2) The X coordinate of the item position is the X coordinate of each character string information. (3) The Y coordinate of the item position is the Y coordinate of each character string information. FIG. 12 shows an example of a data structure of <4> vertical and horizontal sizes. <4> Vertical and horizontal sizes store the vertical and horizontal sizes of the target table data.
中間データ12Aが生成されると、中間データ管理情報生成部10Bが、表合成制御情報12Jを中間データ管理情報12Bに設定する中間データ管理情報生成処理を行う(S120)。図13は、表合成制御情報12Jの一例である。表合成制御情報12Jにおける(1)用紙サイズ種別は、合成した表データを印刷する際に利用する用紙サイズを指定する情報である。(2)用紙方向は、合成した表データを印刷する際に利用する用紙方向を指定する情報である。(3)合成数は、合成する表データの数を指定する情報である。
When the
図14は、表合成制御情報12Jが反映される中間データ管理情報12Bのデータ構造の一例である。中間データ管理情報12Bにおける(1)用紙サイズ種別、(2)用紙方向、(3)合成数は、表合成制御情報12Jからコピーされる。また、中間データ管理情報12Bにおける(4)ページ幅は、(1)用紙サイズ種別の最大幅から余白等を差し引いて導出されるページ幅である。(5)中間データへの参照情報には、各中間データ12Aへの参照情報が登録される。(6)明細データへの参照情報には、各明細データ12Cへの参照情報が登録される。(7)セル定義情報への参照情報には、各セル定義情報12Fへの参照情報が登録される。中間データ管理情報12Bは、セル定義情報(シート毎)12Dの生成等に用いられる。図15は、生成された中間データ管理情報12Bの一例である。
FIG. 14 shows an example of the data structure of the intermediate
中間データ管理情報12Bが生成されると、明細データ抽出部10Cが、明細データ抽出処理を行う(S130)。図16は、明細データ抽出処理の流れを示すフローチャートの一例である。なお、明細データ12Cのデータ構造は、中間データ12Aと同じであり、明細データ12Cは、中間データ12Aからパーティション種別が明細を示す「DE」であるデータのみが抽出されたものである。
When the intermediate
明細データ抽出部10Cは、中間データ10Cを1つ取り出し(S131)、項目種別が「リテラル」であり、且つパーティション種別が「DE」であるか否かを判定する(S132)。項目種別が「リテラル」であり、且つパーティション種別が「DE」である場合、明細データ抽出部10Cは、当該中間データ10Cを明細データ12Cの1つとして出力する(S133)。明細データ抽出部10Cは、このような処理を全ての中間データ10Cについて行う(S134)。 The detail data extraction unit 10C extracts one piece of intermediate data 10C (S131), and determines whether the item type is “literal” and the partition type is “DE” (S132). When the item type is “literal” and the partition type is “DE”, the detail data extraction unit 10C outputs the intermediate data 10C as one of the detail data 12C (S133). The detail data extraction unit 10C performs such processing for all the intermediate data 10C (S134).
明細データ12Cが抽出されると、セル定義情報生成部10Dが、セル定義情報生成処理を行う(S140)。セル定義情報生成処理によって、各表データについて行および列が設定される。 When the detail data 12C is extracted, the cell definition information generation unit 10D performs a cell definition information generation process (S140). A row and a column are set for each table data by the cell definition information generation process.
セル定義情報生成部10Dは、例えば図17に示すようなセル定義情報12Dを生成する。図17は、セル定義情報12Dのデータ構造例である。セル定義情報12Dにおける(1)基本セル幅には、セル制御情報12Kの基本セル幅が設定される。(2)基本セル高さには、セル制御情報12Kの基本セル高さが設定される。(3)セル幅には、各表データにおけるそれぞれの列の列幅が、例えばカンマ区切りで並べられて記述される。(4)セル高さには、各表データにおけるそれぞれの行の行高さが、例えばカンマ区切りで並べられて記述される。図18は、セル制御情報12Kのデータ構造例である。
The cell definition information generation unit 10D generates
セル定義情報生成処理が行われると、ラベルマッピング情報生成部10Eが、ラベルマッピング情報生成処理を行う(S150)。
When the cell definition information generation process is performed, the label mapping
図19は、ラベルマッピング情報生成処理の流れを示すフローチャートの一例である。また、図20は、ラベルマッピング情報12Eのデータ構造例である。
FIG. 19 is an example of a flowchart showing the flow of label mapping information generation processing. FIG. 20 is a data structure example of the
まず、ラベルマッピング情報生成部10Eは、明細データと対応するセル定義情報を読み込み(S151、S152)、その中から列位置を1つ取得する(S153)。
First, the label mapping
そして、ラベルマッピング情報生成部10Eは、ラベル名を登録し(S154)、合成前の列位置を登録し(S155)、合成前の列幅を登録する(S156)。
Then, the label mapping
ラベルマッピング情報12Eにおける(2)合成後の列番号は、ラベルマッピング情報生成処理においてはブランクとされ、後述する明細データ合成処理の処理結果が書き込まれる。
The column number after (2) composition in the
ラベルマッピング情報12Eが生成されると、明細データ合成部10Fが、明細データ合成処理を行う(S160)。図21は、明細データ合成処理の流れを示すフローチャートの一例である。
When the
まず、明細データ合成部10Fは、ラベルマッピング情報12Eを読み込み(S161)、その合成前の列幅に基づき、各表データに対応する複数行分のセル定義情報を生成する(S162)。
First, the detailed
次に、明細データ合成部10Fは、キー項目を決定し、各行のキー項目を左端に移動させる(S163)。ここで、キー項目とは、各表データにおける共通するラベルであり、ユーザによる指定を受け付けてもよいし、各表データにおける左端の項目を自動的にキー項目に設定してもよい。
Next, the detail
次に、明細データ合成部10Fは、全体横幅の最も大きい表データのレイアウトを、基本レイアウトに設定し(S164)、各レイアウトの左端位置を合わせる(S165)。
Next, the detail
次に、明細データ合成部10Fは、パラメータnを2に設定する(S166)。そして、明細データ合成部10Fは、左端が、基本レイアウトの左端に合うように、基本レイアウトでない表データのn番目のセルを移動させる(S167)。ここで、明細データ合成部10Fは、n−1番目のセルに付随してn番目のセルを移動させた結果、基本レイアウトのセル内に収まる場合は移動させない。
Next, the detail
次に、明細データ合成部10Fは、基本レイアウトでない表データのn番目のセルの右端位置を、基本レイアウトの最も近い境界位置に合わせる(S168)。ここで、明細データ合成部10Fは、右端位置を左に移動する場合、当該セルの列幅が最小列幅よりも小さくならないかどうかを判定し、小さくなる場合は、右へ移動するよう変更する。
Next, the detail
そして、明細データ合成部10Fは、全ての列についてS167およびS168の処理を実行したか否かを判定し(S169)、全ての列についてS167およびS168の処理を実行していない場合は、パラメータnを1増加させ(S170)、S167に戻る。
Then, the detailed
一方、全ての列についてS167およびS168の処理を実行した場合、明細データ合成部10Fは、基本レイアウトでない表データの方が全体幅が大きくなったか否かを判定し、基本レイアウトでない表データの方が全体幅が大きくなった場合、再補正を行う(S171)。明細データ合成部10Fは、基本レイアウトでない表データのn番目のセルの右端位置を右に移動するのに代えて、基本レイアウトである表データの最も近い境界線を左に移動させる処理を行う。
On the other hand, when the processing of S167 and S168 is executed for all the columns, the detailed
そして、明細データ合成部10Fは、キー項目に該当する上下段のセルを結合し(S172)、処理結果をラベルマッピング情報12Eおよびセル定義情報(合成後)12Fに反映させる(S173)。
Then, the detail
なお、図示を省略したが、S166〜S171の処理は、基本レイアウトでない各表データについて行われる。 Although not shown, the processes in S166 to S171 are performed for each table data that is not the basic layout.
図22〜26および図27〜33は、明細データ合成部10Fの処理によってレイアウトが合成される様子を示す図である。図22〜26は、表データ1の全体幅が表データ2の全体幅よりも狭い場合を示し、図27〜33は、表データ1の全体幅が表データ2の全体幅よりも広い場合を示している。
22 to 26 and FIGS. 27 to 33 are diagrams illustrating how layouts are combined by the processing of the detailed data combining unit 10F. 22 to 26 show a case where the overall width of the
図22は、表データ1、2のレイアウトの一例である。明細データ合成部10Fが図21のS161〜S165の処理を行うと、図23に示す合成レイアウトが生成される。次に、合成レイアウトに対して明細データ合成部10Fが図21のS166〜S171の処理を行うと、図24、図25に示すように合成レイアウトが変化する。そして、明細データ合成部10Fが図21のS172の処理を行うと、図26に示す合成レイアウトが生成される。
FIG. 22 is an example of the layout of the
図27は、表データ1、2のレイアウトの他の例である。明細データ合成部10Fが図21のS161〜S165の処理を行うと、図28に示す合成レイアウトが生成される。次に、合成レイアウトに対して明細データ合成部10Fが図21のS166〜S171の処理を行うと、図29、図30、図31、図32のように合成レイアウトが変化する。そして、明細データ合成部10Fが図21のS172の処理を行うと、図33に示す合成レイアウトが生成される。
FIG. 27 is another example of the layout of the
明細データ合成処理が行われると、印刷データ生成部10Gが印刷データ生成処理を行う(S180)。印刷データ生成部10Gは、ラベルマッピング情報12E、セル定義情報(合成後)12F、およびセル情報12Gに基づき、例えばユーザによって選択された形式のファイルを生成して出力する。図34は、セル情報12Gのデータ構造例である。セル情報12Gは、中間データ12Aや明細データ12Cから必要な情報を抜き出すことにより生成される。
When the detail data composition process is performed, the print
図35は、表合成装置1による処理の流れとデータ構造の変化を模式的に示す図である。図示するように、異なるレイアウトを有する表データ1、2は、セル定義情報生成処理、ラベルマッピング情報生成処理、明細データ合成処理(合成、調整)、印刷データ生成処理を経て、合成された表として出力される。
FIG. 35 is a diagram schematically showing a process flow and a data structure change by the
係る処理によって、表合成装置1は、合成前の列幅のレイアウトをできるだけ維持しつつ、合成後の列境界を上下の表でできるだけ合わせ、更に異なる表データで共通する項目については結合したセルで表示することができる。
By such processing, the
この結果、表合成装置1は、ユーザが見やすい態様の合成データを生成して出力することができる。
As a result, the
なお、中間データ生成部10A、中間データ管理情報生成部10B、明細データ抽出部10C、セル定義情報生成部10D、ラベルマッピング情報生成部10E、明細データ合成部10F、および印刷データ生成部10Gは、「生成部」の一例である。また、メモリ12、およびHDD(Hard Disk Drive)14は、「記憶部」の一例である。
The intermediate
以上、表合成装置および表合成プログラムを実施するための形態について実施例を用いて説明したが、本発明はこうした実施例に何等限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々の変形及び置換を加えることができる。 As mentioned above, although the form for implementing a table | surface synthesis | combination apparatus and a table | surface synthesis | combination program was demonstrated using the Example, this invention is not limited to such an Example at all, and in the range which does not deviate from the summary of this invention. Various modifications and substitutions can be made.
例えば、表合成装置および表合成プログラムは、上記実施例における「行」と「列」をそのまま入れ替えた構成としてもよい。 For example, the table synthesizing apparatus and the table synthesizing program may have a configuration in which “row” and “column” in the above-described embodiment are interchanged as they are.
本発明は、コンピュータソフトウェア産業等に利用することができる。 The present invention can be used in the computer software industry and the like.
1 表合成装置
10 CPU
10A 中間データ生成部
10B 中間データ管理情報生成部
10C 明細データ抽出部
10D セル定義情報生成部
10E ラベルマッピング情報生成部
10F 明細データ合成部
10G 印刷データ生成部
12 メモリ
12A 中間データ
12B 中間データ管理情報
12C 明細データ
12D セル定義情報(シート毎)
12E ラベルマッピング情報
12F セル定義情報(合成後)
12G セル情報
12H 印刷データ
12I フォーマット定義
12J 表合成制御情報
12K セル制御情報
14 HDD
16 ドライブ装置
20 表示制御部
22 表示装置
24 入力装置
26 通信制御部1
10A Intermediate
12E
16
Claims (8)
前記複数のデータファイルを合成した表データであって、前記複数のデータラベルが表データ毎に設定された行に並べられると共に、表データ間で共通するデータラベルが複数行を結合した領域に配置され、該データラベルに対応したデータ項目が列方向に並べられた表データを生成する生成部と、
を備える表合成装置。A storage unit for storing a plurality of table data including a plurality of data items corresponding to a plurality of data labels created in a table format and arranged in a row direction;
The table data obtained by combining the plurality of data files, wherein the plurality of data labels are arranged in rows set for each table data, and a common data label among the table data is arranged in an area where the plurality of rows are combined. A generation unit that generates table data in which data items corresponding to the data labels are arranged in a column direction;
A table synthesizing apparatus.
前記生成部は、前記各表データに対応し、前記複数のデータラベルが並べられた行の列方向の境界線を、上下の行で一致させる処理を行う、
表合成装置。The table synthesizing apparatus according to claim 1,
The generation unit performs processing for matching the boundary lines in the column direction of the rows in which the plurality of data labels are arranged corresponding to the respective table data in the upper and lower rows,
Table synthesizer.
前記生成部は、各データラベルを格納する領域が、予め定められた最小幅未満とならないように、前記境界線を上下の行で一致させる処理を行う、
表合成装置。A table synthesizing apparatus according to claim 2,
The generation unit performs a process of matching the boundary lines in upper and lower rows so that an area for storing each data label does not become less than a predetermined minimum width.
Table synthesizer.
表形式で作成され、行方向に並ぶ複数のデータラベルに対応した複数のデータ項目を含む表データを記憶部に複数記憶させ、
前記複数のデータファイルを合成した表データであって、前記複数のデータラベルが表データ毎に設定された行に並べられると共に、表データ間で共通するデータラベルが複数行を結合した領域に配置され、該データラベルに対応したデータ項目が列方向に並べられた表データを生成させる、
を備える表合成プログラム。On the computer,
A plurality of table data including a plurality of data items corresponding to a plurality of data labels created in a table format and arranged in the row direction are stored in the storage unit,
The table data obtained by combining the plurality of data files, wherein the plurality of data labels are arranged in rows set for each table data, and a common data label among the table data is arranged in an area where the plurality of rows are combined. Generating table data in which data items corresponding to the data labels are arranged in the column direction.
A table synthesis program comprising
前記コンピュータに、前記各表データに対応し、前記複数のデータラベルが並べられた行の列方向の境界線を、上下の行で一致させる処理を行わせる、
表合成プログラム。A table synthesis program according to claim 5,
Causing the computer to perform processing for matching the boundary lines in the column direction of the rows in which the plurality of data labels are arranged corresponding to the respective table data in the upper and lower rows;
Table synthesis program.
前記コンピュータに、各データラベルを格納する領域が、予め定められた最小幅未満とならないように、前記境界線を上下の行で一致させる処理を行わせる、
表合成プログラム。A table synthesis program according to claim 6,
Causing the computer to perform processing for matching the boundary lines in the upper and lower rows so that an area for storing each data label is not less than a predetermined minimum width;
Table synthesis program.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2012/084116 WO2014103024A1 (en) | 2012-12-28 | 2012-12-28 | Chart synthesizing device and chart synthesizing program |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2014103024A1 true JPWO2014103024A1 (en) | 2017-01-12 |
JP6131962B2 JP6131962B2 (en) | 2017-05-24 |
Family
ID=51020174
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014554013A Active JP6131962B2 (en) | 2012-12-28 | 2012-12-28 | Table synthesis apparatus and table synthesis program |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6131962B2 (en) |
WO (1) | WO2014103024A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6557987B2 (en) * | 2015-02-13 | 2019-08-14 | 富士通株式会社 | Output control program, output control method, and output control apparatus |
JP7486112B2 (en) * | 2019-06-21 | 2024-05-17 | 辻・本郷税理士法人 | Accounting support device, accounting support program, and accounting support method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009001462A1 (en) * | 2007-06-28 | 2008-12-31 | Fujitsu Limited | Spread sheet generation program, recording medium storing its program, spread sheet generation device, and spread sheet generation method |
JP2009265814A (en) * | 2008-04-23 | 2009-11-12 | Nec Corp | Information presentation device, information presentation method, and information presentment program |
JP2011053725A (en) * | 2007-11-26 | 2011-03-17 | Nec Corp | Display device for table, display method for table, and display control program for table |
-
2012
- 2012-12-28 JP JP2014554013A patent/JP6131962B2/en active Active
- 2012-12-28 WO PCT/JP2012/084116 patent/WO2014103024A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009001462A1 (en) * | 2007-06-28 | 2008-12-31 | Fujitsu Limited | Spread sheet generation program, recording medium storing its program, spread sheet generation device, and spread sheet generation method |
JP2011053725A (en) * | 2007-11-26 | 2011-03-17 | Nec Corp | Display device for table, display method for table, and display control program for table |
JP2009265814A (en) * | 2008-04-23 | 2009-11-12 | Nec Corp | Information presentation device, information presentation method, and information presentment program |
Also Published As
Publication number | Publication date |
---|---|
JP6131962B2 (en) | 2017-05-24 |
WO2014103024A1 (en) | 2014-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7853869B2 (en) | Creation of semantic objects for providing logical structure to markup language representations of documents | |
CA2773152C (en) | A method for users to create and edit web page layouts | |
US7750924B2 (en) | Method and computer-readable medium for generating graphics having a finite number of dynamically sized and positioned shapes | |
CN102779118B (en) | Paper typesetting method and system | |
US20150052157A1 (en) | Data transfer content selection | |
US20160026646A1 (en) | Recording medium having data recorded therein in data file format structure for visualization of large capacity cfd parallel data and method for generating said data file format structure | |
JP2013246644A (en) | Software object correction support device, software object correction support method and program | |
JP6131962B2 (en) | Table synthesis apparatus and table synthesis program | |
US10241899B2 (en) | Test input information search device and method | |
US8041688B2 (en) | Data search device, data search method, and recording medium | |
JP6638739B2 (en) | Analysis method for tabular data, analysis program for tabular data, and information processing apparatus | |
US8479143B1 (en) | Signature based duplicate extraction | |
US20140282246A1 (en) | List for touch screens | |
JP6549786B2 (en) | Data cleansing system, method and program | |
JP2008141496A (en) | Document editing device and program | |
US11886513B2 (en) | Data analysis system, data analysis method, and computer program product | |
JP5702265B2 (en) | Program automatic generation apparatus and program automatic generation method | |
JP2011154608A (en) | Form input/output apparatus | |
JP2009193298A (en) | Information processing unit, information processing method and program | |
KR20210060808A (en) | Document editing device to check whether the font applied to the document is a supported font and operating method thereof | |
JP6040990B2 (en) | Form creation support device, form creation support method, and form creation support program | |
WO2017009900A1 (en) | Document processing system and document processing method | |
JP6475288B2 (en) | Program comparison method, program comparison device, and program comparison program | |
JP5375256B2 (en) | Form creation device, form creation method, and form creation program | |
JP6986928B2 (en) | Information processing equipment, information processing methods and information processing programs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20161019 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20170321 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170403 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6131962 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |