JP2008269155A - Template display system - Google Patents
Template display system Download PDFInfo
- Publication number
- JP2008269155A JP2008269155A JP2007109520A JP2007109520A JP2008269155A JP 2008269155 A JP2008269155 A JP 2008269155A JP 2007109520 A JP2007109520 A JP 2007109520A JP 2007109520 A JP2007109520 A JP 2007109520A JP 2008269155 A JP2008269155 A JP 2008269155A
- Authority
- JP
- Japan
- Prior art keywords
- file
- computer
- template
- template list
- order
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
【課題】 テンプレート一覧でフォームを表示する際に、使用する可能性が高いフォームを優先的に表示する。
【解決手段】 データの列の並びと、フォーム上のフィールド図形の描画位置の並びが一致したフォームを、優先的に表示する。
【選択図】 図1PROBLEM TO BE SOLVED: To preferentially display a form that is likely to be used when displaying a form in a template list.
A form in which the arrangement of data columns coincides with the arrangement of the drawing positions of field graphics on the form is preferentially displayed.
[Selection] Figure 1
Description
フォームファイルとデータファイルを用いて、オーバレイ印刷を行う際に、ユーザが使用するフォームをテンプレート一覧で表示するシステムに関する。 The present invention relates to a system for displaying a form used by a user in a template list when overlay printing is performed using a form file and a data file.
帳票等を出力する際に、図3のように、出力フォームのレイアウトを示すフォームファイル301(テンプレート)の所定の個所(フィールド)に対し、データファイル302による後付けデータを流し込んで(オーバレイ印刷)出力フォームを得る技術がある。本明細書では、データが流し込まれる個所(フィールド)を示す図形をフィールド図形と呼ぶことにする。
When outputting a form or the like, as shown in FIG. 3, postscript data from the
また、図4のように表形式のフィールド図形をフォーム上に設定することもできる。この場合、表の行数とデータ行数に応じて、1ページ内にフィールド図形が繰り返し描画される。 Further, as shown in FIG. 4, a tabular field figure can be set on the form. In this case, field graphics are repeatedly drawn in one page according to the number of rows in the table and the number of data rows.
従来、任意のデータファイルに対して、ユーザがフォームファイルを選択する際に、アプリケーションがフォームをテンプレート一覧として表示する技術がある。図5の503はテンプレート一覧の一例である。このようにフォームファイルを一覧で表示することにより、ユーザは使用するフォームファイルを確認しながら選択することができる。なお、フォームファイルはあらかじめ用意されているか、またはユーザが適宜作成して追加することができる。 Conventionally, there is a technique in which an application displays a form as a template list when a user selects a form file for an arbitrary data file. 503 in FIG. 5 is an example of a template list. By displaying the form files in a list in this way, the user can select a form file to be used while confirming it. The form file is prepared in advance or can be created and added by the user as appropriate.
しかし、テンプレート一覧に表示されるフォームが非常に多い場合、ユーザは、使用したいフォームを探し出すことが非常に困難になる。 However, when there are a large number of forms displayed in the template list, it becomes very difficult for the user to find a form that the user wants to use.
これを解決する先行技術として、あらかじめフォームに付加情報を加えて、データ内容とフォームの付加情報を関連付けて、DBに保存しておく方法がある。これによりデータ内容を元に、テンプレート一覧表示アプリケーションがDBにアクセスすることで、対応するフォームのみを表示することができる(特開2003−109023)。例えばテンプレートを季節ごとに分類してDBに保存しておき、冬用のデータが来た場合に、DBにアクセスして冬用のテンプレートのみを表示する、というような技術である。
しかし、この方法では、フォーム内におけるフィールド図形の位置は考慮されなかった。帳票では、キー名は等しくても、フィールド図名の描画位置が異なる、という場合が多々ある。そのため、必ずしもデータ順に対して最適な順番で、テンプレートは表示されなかった。例えば図5の例の場合、データファイルでは、「氏名」、「住所」、「金額」の順番にデータが記載されている。この場合、利用するフォームは、フォーム上のフィールド図形の順番が、「氏名」、「住所」、「金額」である可能性が高い。テンプレート一覧503では、2番や3番のフォームである。
However, this method did not consider the position of the field graphic in the form. In the form, there are many cases where the drawing position of the field diagram name is different even though the key names are the same. For this reason, the templates are not necessarily displayed in the optimal order with respect to the data order. For example, in the case of the example in FIG. 5, data is described in the order of “name”, “address”, and “amount” in the data file. In this case, there is a high possibility that the order of the field graphics on the form is “name”, “address”, “money”. The
しかし、フィールド図形の位置までは、現状の技術では考慮されていない。そのため、テンプレート一覧503の1番のように、意図しないフォームが初めに表示されてしまう可能性がある。図5の例でいえば、2番や3番のフォームが初めに(1番として)表示されて欲しい。例えば図7のテンプレート一覧703のようにである。
However, the current technology does not consider the position of the field graphic. For this reason, there is a possibility that an unintended form will be displayed first, such as
本課題を解決するために、本特許では、フォームファイル(テンプレート)と後付けデータファイルを用いてオーバレイ印刷をする場合に、印刷したいデータファイルに対して、テンプレート一覧からフォームファイルを選択するシステムにおいて
テンプレートを表示する際に、データファイルからキー名とその順番を取得するステップと、
上記ステップで取得した順番と、フォームファイル上の各フィールド図形の描画位置順が一致するかどうかを判定するステップと、
上記ステップで一致したフォームを優先的にテンプレート一覧に表示するステップと
を有することを特徴とする。
In order to solve this problem, in this patent, when overlay printing is performed using a form file (template) and a retrofit data file, a template is selected in a system that selects a form file from a template list for a data file to be printed. When displaying the key name and its order from the data file,
Determining whether the order acquired in the above step matches the drawing position order of each field figure on the form file;
And a step of preferentially displaying the forms matched in the above steps on a template list.
本発明によれば、ユーザはテンプレート一覧から、より簡単に使用したいフォームを選択することが可能となる。 According to the present invention, the user can select a form that the user wants to use from the template list more easily.
<システム構成図>
図1は帳票等のデータを印刷するシステム100を図示している。この中で示された方法は図8で詳しく説明される汎用コンピュータモジュール101で実践される。図8で記述されるプロセスは、コンピュータモジュール101内で実行され、システム100上で実施可能となるフォーム作成アプリケーションプログラム121のようにソフトウェアの全体、あるいは一部分で実行される。特にレイアウト編集、設定ファイル編集や必然的に起こる印刷のステップはコンピュータ101によって実行されるソフトウェアの指示によって実施される。ソフトウェアは例えば以下に記述されるような記憶装置を含むコンピュータの可読媒体に格納される。ソフトウェアはコンピュータの可読媒体からコンピュータにロードされ、コンピュータ101によって実行される。そのようなソフトウェアや媒体に記録されたコンピュータプログラムを持つコンピュータの可読媒体はコンピュータプログラム製品である。そのコンピュータでのコンピュータプログラム製品の使用は望ましくもドキュメントのレイアウト編集やデータ印刷に有利な装置をもたらす。
<System configuration diagram>
FIG. 1 illustrates a
コンピュータモジュール101はキーボード132やマウス133のようなポインティングデバイスなどの入力装置をつなぎ、ディスプレイ装置144や状況に応じてはローカルプリンタ145を含む出力装置を連結する。入力/出力インターフェース138はコンピュータモジュール101をネットワーク接続107から接続してシステム100の他のコンピュータ装置につなげることができる。そのネットワーク接続107の典型はローカルエリアネットワーク(LAN)、あるいはワイドエリアネットワーク(WAN)である。
The
コンピュータモジュール101は典型的に少なくとも1つのプロセッサーユニット135、例えば半導体のランダムアクセスメモリ(RAM)やリードオンリーメモリ(ROM)から構成されるメモリユニット136、ビデオインタフェース137を含むINPUT/OUTPUT(I/O)インターフェース、キーボード132やマウス133のためのI/Oインターフェース143を含んでいる。記憶装置139は典型的にハードディスクドライブ140やフレキシブルディスクドライブ141を含んでいる。図には示されていないが磁気テープドライブもまた使用される可能性がある。CD−ROMドライブ142は不揮発性のデータソースとして提供される。コンピュータモジュール101はGNU/LINUXやマイクロソフトウィンドウズ(登録商標)のようなオペレーションシステムや、典型的にはオペレーションシステムに従う形で、あるいは関連のある技術で知られているもので形成されたコンピュータシステムの常套的なオペレーションモードによる方法によって、相互接続バス134を介して通信を行うコンピュータモジュール101のコンポーネント135から143を利用する。
The
図に記述した配置コンピュータの例ではIBM互換PCやSUN社のSPARCSTATION、あるいはそれらを含んだコンピュータシステムが考えられる。 In the example of the placement computer described in the figure, an IBM compatible PC, a SPARCSTATION of SUN, or a computer system including them can be considered.
フォーム作成アプリケーションプログラム121は典型的にハードディスクドライブ140に常駐し、プロセッサ135により実行、読み込み、コントロールされる。プログラム121の媒介記憶装置とネットワーク1020からフェッチされるデータはハードディスクドライブ140に呼応して半導体メモリ136を使用する。いくつかのインスタンスではアプリケーションプログラム121がCD−ROMやフレキシブルディスク上でエンコードされ、対応するドライブ142や141を通じて読み込まれユーザに提供される。あるいはもう一つの方法としてアプリケーションプログラム121はネットワーク接続107からユーザによって読み込まれるかもしれない。さらにソフトウェアは磁気テープまたはROMまたは集積回路、光磁気ディスクまたは無線またはコンピュータモジュール101とその他のデバイス間の赤外線通信、PCMCIAカードのようなコンピュータ可読カード、そしてEメール通信やWEBサイト上の記録情報を持つインターネットやイントラネットを含む、他の適当な大きさのコンピュータ可読媒体からコンピュータモジュール101内にロードされる可能性もある。前述は単に関連するコンピュータ可読メディアの模範である。他のコンピュータ可読媒体も使用される可能性はある。
Form
またフォーム作成と名づけられたアプリケーション121はフォーム作成や印刷を行うよう指示し、2つのソフトウェアコンポーネントを含んでいる。これらのうち1つめのコンポーネントはライブラリ105であり、これはオーバレイ印刷処理等の処理を行うソフトウェアコンポーネントである。2つめのコンポーネントであるユーザインターフェース103はユーザにフォームや設定ファイルを作成させるメカニズムを提供する。ユーザインターフェース103とライブラリ105はコミュニケーションチャネル123を介して通信する。ドキュメント生成のためのデータソースは一般的にデータベースアプリケーションを動かしている他のコンピュータによって構成されたデータベースサーバー117上にある典型的なデータベース119である。ホストコンピュータ101はネットワーク接続107の手段によってデータベースサーバー117と通信する。フォーム作成アプリケーション121はホストコンピュータ101か一般的に他のコンピュータで構成されるファイルサーバー115に保存されるフォームまたは設定ファイルを生成する。これらのドキュメントはホストコンピュータ101のローカルファイルシステムに保存されるか、ファイルサーバー115に保存されるか、あるいはプリンタ113に直接印刷される。プリントサーバー109は直接ネットワークにつながっていないプリンタにネットワーク機能を提供するコンピュータである。プリントサーバー109とプリンタ113は典型的な通信チャネル111を介して接続される。
An
図2はテンプレート一覧アプリケーション130の追加を除き、図1・図8の類似の図である。ファイルサーバー115に保存されたフォームは印刷や他の目的がある際、ライブラリ105によってテンプレート一覧にフォームが表示される。そのようなオペレーションはユーザインターフェース103を介して要求されることにより、可能である。
FIG. 2 is a view similar to FIGS. 1 and 8 except that the
図6は本実施例を示すフローチャートである。図6の処理はテンプレート一覧130において、ユーザがインターフェース103よりデータファイルを指定した場合の、ライブラリ105の処理である。なお分かりやすく説明するため、図7の例を交えて説明する。
FIG. 6 is a flowchart showing this embodiment. The processing of FIG. 6 is processing of the
まず、ステップS601において、ライブラリ105が、ユーザにより指定されたデータファイルを解析する。そして、データファイルからキー名とその順番を取得する。図7の例ではデータファイル702から「氏名」、「住所」、「金額」の3つのキー名を取得する。このキー名は、フォーム上のフィールド図形名に対応している。また「氏名」、「住所」、「金額」の順番であることを保存しておく。
First, in step S601, the
次にステップS602において、ライブラリ105は、全フォームファイルに1から順番に連番を割り当てる。これは今後のステップで、各フォームを1個ずつ処理するために必要な処理である。
In step S602, the
次にステップS603において、ライブラリ105が、内部処理で使用する変数Nを1に初期化する。また全フォーム数を内部変数Mに格納する。
In step S603, the
次にステップS604において、ライブラリ105が、NがM以下であるかどうかを判定する。全てのフォームに対しての処理が完了するまで、ステップS605〜S608が実行される。
In step S604, the
ステップS604でYESを判定された場合、ステップS605において、ライブラリ105が、N番目のフォームを解析して、各フィールド図形の描画位置(x,y)を取得する。フィールド図形の描画位置は例えば、フォームの左上を基準にして、縦軸と横軸にどの程度ずれてるかで表現されている。例えば(100mm、150mm)等である。そのあと描画位置の並び順を計算で求める。並び順の計算は、各フィールドの縦軸および横軸を比較することで行う。例えば「氏名」フィールドの位置が(x1,y1)、「金額」フィールドの位置が(x2,y2)とする。フォームの左上を基準にすると、まずx1とx2の大きさを比較し、等しければy1とy2の大きさを比較することで、フィールドの並び順を得る。これを全フィールド図形に対して行い、全フィールド図形の並び順を取得する。
If YES is determined in step S604, in step S605, the
次にステップS606において、ライブラリ105が、フォームの描画位置と、ステップS601で取得したキーの並びが一致するかどうかを判定する。
In step S606, the
ステップS6060でYESと判定された場合、ライブラリ105が変数Nの値を、内部リストに保存しておく。ここで保存されたN番に相当するフォームが、テンプレート一覧上で優先的に表示される。
If YES is determined in the step S6060, the
次にステップ608において、ライブラリ105が、N+1の値をNに格納する。
Next, in
以上の処理をフォーム数Mの数だけ繰り返す。 The above processing is repeated for the number of forms M.
ステップS604においてNOと判定された場合、ステップS609に進む。ステップ609では、ライブラリ105が、S607で保存された番号に対応するフォームを、順番にテンプレート一覧に表示する。
If it is determined as NO in step S604, the process proceeds to step S609. In
次にステップS610において、ライブラリ105が、残りのフォームをテンプレート一覧に表示する。
In step S610, the
以上の処理により、データファイルのキー順と、フォーム上のフィールド図形の並びが一致したフォームが、テンプレート一覧上に優先的に表示される。 As a result of the above processing, the form in which the key order of the data file and the arrangement of the field graphics on the form match are preferentially displayed on the template list.
Claims (1)
テンプレートを表示する際に、データファイルからキー名とその順番を取得するステップと、
上記ステップで取得した順番と、フォームファイル上の各フィールド図形の描画位置順が一致するかどうかを判定するステップと、
上記ステップで一致したフォームを優先的にテンプレート一覧に表示するステップと
を有することを特徴とするテンプレート表示システム。 When overlay printing is performed using a form file (template) and a retrofit data file, when displaying the template in the system that selects the form file from the template list for the data file to be printed, the key name and A step for obtaining the order;
Determining whether the order acquired in the above step matches the drawing position order of each field figure on the form file;
And a step of preferentially displaying the forms matched in the above steps in a template list.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007109520A JP2008269155A (en) | 2007-04-18 | 2007-04-18 | Template display system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007109520A JP2008269155A (en) | 2007-04-18 | 2007-04-18 | Template display system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2008269155A true JP2008269155A (en) | 2008-11-06 |
Family
ID=40048593
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007109520A Pending JP2008269155A (en) | 2007-04-18 | 2007-04-18 | Template display system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2008269155A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018037069A (en) * | 2016-08-29 | 2018-03-08 | 株式会社 ビーアイマトリックスBi Matrix Co.,Ltd | Metadata-based online analytical processing system for analyzing importance of report |
| JP2019191759A (en) * | 2018-04-20 | 2019-10-31 | 富士通株式会社 | Editing support program and editing support method and editing support device |
-
2007
- 2007-04-18 JP JP2007109520A patent/JP2008269155A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018037069A (en) * | 2016-08-29 | 2018-03-08 | 株式会社 ビーアイマトリックスBi Matrix Co.,Ltd | Metadata-based online analytical processing system for analyzing importance of report |
| JP2019191759A (en) * | 2018-04-20 | 2019-10-31 | 富士通株式会社 | Editing support program and editing support method and editing support device |
| JP7040255B2 (en) | 2018-04-20 | 2022-03-23 | 富士通株式会社 | Editing support program, editing support method and editing support device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7688459B2 (en) | Document processing method | |
| US7634725B2 (en) | Layout adjustment method, apparatus and program for the same | |
| US10353999B2 (en) | Information processing system, server apparatus, control method, and storage medium | |
| US20030070146A1 (en) | Information processing apparatus and method | |
| US10839146B2 (en) | Information processing system, information processing apparatus, control method, and storage medium | |
| US9449126B1 (en) | System and method for displaying content according to a target format for presentation on a target presentation device | |
| US20090323118A1 (en) | Device to edit documents for printout and method thereof | |
| US20100131566A1 (en) | Information processing method, information processing apparatus, and storage medium | |
| CN100389417C (en) | Document processing method and device | |
| JP2005044279A (en) | Form processing method, form processing program, form processing apparatus | |
| CN104715004B (en) | Page description language output is obscured to hinder to be converted to editable format | |
| US20170154022A1 (en) | Information processing apparatus, method for controlling the same, and storage medium | |
| CN1790244A (en) | User interface for displaying selectable software functionality controls that are relevant to a selected object | |
| US20090319468A1 (en) | Information processing apparatus and information processing method | |
| JP2008269155A (en) | Template display system | |
| US8018618B2 (en) | Information processing apparatus that outputs images having same size to single page of recording sheet and computer readable medium | |
| US20050134917A1 (en) | Print controller, print control method and computer program | |
| US8134747B2 (en) | Print control device and print control program | |
| US20160320948A1 (en) | Document and object manipulation | |
| US7957033B2 (en) | Print control operations | |
| US20050015715A1 (en) | Form processing method, form processing program, and form processing apparatus | |
| WO2016080029A1 (en) | Electronic document management device, electronic document management system, and electronic document management program | |
| JP6857277B1 (en) | Information processing device, PDF file generation method, and PDF file generation program | |
| JP2008134859A (en) | Output document preparation device, output document preparation program, output document preparation server, and output document preparation method | |
| JP2013161459A (en) | Document processing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20100201 |