[go: up one dir, main page]

JP2003058811A - HTML file generation method, workflow system, and program related to HTML file generation method - Google Patents

HTML file generation method, workflow system, and program related to HTML file generation method

Info

Publication number
JP2003058811A
JP2003058811A JP2001248470A JP2001248470A JP2003058811A JP 2003058811 A JP2003058811 A JP 2003058811A JP 2001248470 A JP2001248470 A JP 2001248470A JP 2001248470 A JP2001248470 A JP 2001248470A JP 2003058811 A JP2003058811 A JP 2003058811A
Authority
JP
Japan
Prior art keywords
electronic form
html file
item
display
items
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
Application number
JP2001248470A
Other languages
Japanese (ja)
Inventor
Koichi Kondo
晃一 近藤
Takayuki Yamaguchi
能之 山口
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2001248470A priority Critical patent/JP2003058811A/en
Publication of JP2003058811A publication Critical patent/JP2003058811A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Document Processing Apparatus (AREA)

Abstract

(57)【要約】 【課題】電子帳票作成時に各項目毎に定義した表示条件
や項目へのデータ入力の有無によって、必要とする項目
のみを表示する電子帳票のHTMLファイルを自動的に
生成する方法及びシステムを提供することを目的とす
る。 【解決手段】電子帳票をHTMLファイルに変換すると
き、電子帳票作成時に定義した条件やXML形式で出力
したデータファイルによって、電子帳票に定義されてい
る項目の中から表示する必要のある項目を抽出する。抽
出した項目のみを表示するHTMLファイルを入力用の
画面として生成する。また、抽出した項目を表示する際
に項目の間が項目を表示しなくなったことで一定の間隔
以上空くと、項目同士の間を一定の間隔になるように詰
めることとする。項目の間隔を詰めることで、電子帳票
のレイアウトを変更し、電子帳票全体の大きさを小さく
する。
(57) [Summary] [Problem] Automatically generate an HTML file of an electronic form that displays only necessary items according to display conditions defined for each item and the presence or absence of data input to the item at the time of electronic form creation. It is intended to provide a method and a system. When an electronic form is converted to an HTML file, items that need to be displayed are extracted from items defined in the electronic form based on conditions defined when the electronic form was created and a data file output in an XML format. I do. An HTML file that displays only the extracted items is generated as an input screen. In addition, when displaying the extracted items, if there is no space between the items and a certain interval or more is left between the items, the items are narrowed so as to have a certain interval. By narrowing the intervals between items, the layout of the electronic form is changed, and the size of the entire electronic form is reduced.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、電子帳票(レイア
ウトデータ)をWWWブラウザに表示するためのHTM
Lファイルを生成する方法及びシステムに関し、特に、
帳票の項目についてデータ入力の有無や帳票作成時に定
義した表示条件を満たしているかによって画面上に表示
するか否かの判断を行い、入力に必要のある項目だけを
表示するHTMLファイルの自動生成方法及びシステム
に関するものである。
TECHNICAL FIELD The present invention relates to an HTM for displaying an electronic form (layout data) on a WWW browser.
A method and system for generating an L file, in particular
How to automatically generate an HTML file that displays only the items required for input by determining whether to display on the screen depending on the presence or absence of data input for the items of the form and whether the display conditions defined when creating the form are satisfied And the system.

【0002】[0002]

【従来の技術】従来、例えば、特開平11−35308
3号公報に記載のように、コンピュータ上に帳票を表示
する際は、電子帳票を作成した時点で決められた項目全
てを表示させていた。ここで、帳票の用途や相手先によ
って必要とする項目が異なる場合は、電子帳票作成時に
各項目毎にレベルを設定しておき、利用時にレベルを指
定することで、レベルに相当する項目のみを入力可能な
状態を示す矩形表示にすることで、効率よくデータを入
力させることとしていた。
2. Description of the Related Art Conventionally, for example, Japanese Patent Laid-Open No. 11-35308.
As described in Japanese Patent Publication No. 3, when displaying a form on a computer, all the items determined at the time of creating the electronic form are displayed. If the required items differ depending on the application of the form and the recipient, a level is set for each item when creating the electronic form, and by specifying the level when using the form, only the items corresponding to the level can be specified. It was supposed that the data can be input efficiently by displaying a rectangular display that shows the input enabled state.

【0003】[0003]

【発明が解決しようとする課題】上記従来技術では、1
枚の帳票についてデータの入力を複数回にわけたり、複
数の人によりそれぞれ入力したりする場合にも、データ
の入力の有無に関わらず、指定したレベルに相当する項
目を全て入力可能な状態を示す矩形として表示する。従
って、帳票の項目が多いと、どの項目にデータを入力し
なければならないかを判断する必要が発生し、入力作業
が困難になる。また、入力作業時にレベルを指定しなけ
ればならないので、該当の入力作業がどのレベルなのか
を知っておかなければならなかった。
In the above-mentioned prior art, 1
Even when data is input multiple times for a single form, or when input by multiple people, make sure that all items corresponding to the specified level can be input regardless of whether data is input. Display as a rectangle. Therefore, if there are many items in the form, it becomes necessary to determine which item the data should be input, and the input work becomes difficult. Also, since the level must be specified at the time of input work, it was necessary to know which level the input work was.

【0004】さらに、携帯端末などの表示領域があまり
大きくない画面上に電子帳票を表示させるということに
対しては考慮がされていなかった。
Further, no consideration has been given to displaying an electronic form on a screen such as a portable terminal whose display area is not so large.

【0005】本発明は、上記従来技術の問題点に鑑み、
レベルを指定しなくてもデータ入力の有無に応じた項目
の表示ができるようにし、入力作業を簡単にすることが
できる電子帳票のHTMLファイルの自動生成方法及び
装置を提供することを目的とする。
The present invention has been made in view of the above problems of the prior art.
An object of the present invention is to provide a method and apparatus for automatically generating an HTML file of an electronic form, which makes it possible to display items according to the presence / absence of data input without specifying a level and simplify the input work. .

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、本発明は、電子帳票をWWWブラウザに表示するた
めのHTMLファイルを生成するワークフローシステム
の電子帳票のHTMLファイル生成方法であって、電子
帳票のレイアウトデータに基づいてWWWブラウザに表
示するHTMLファイルを生成する際、各項目毎の表示
条件と既入力データに応じて画面上に表示する項目を選
定する表示項目判断処理ステップと、前記表示項目判断
処理ステップの判断結果に基づいて、電子帳票をWWW
ブラウザに表示するためのHTMLファイルを生成する
HTMLファイル生成処理ステップとを備えることを特
徴とする。
In order to achieve the above object, the present invention is a method for generating an HTML file for an electronic form of a workflow system for generating an HTML file for displaying an electronic form on a WWW browser. When generating an HTML file to be displayed on a WWW browser based on layout data of a form, a display item determination processing step of selecting an item to be displayed on the screen according to display conditions for each item and already input data; The electronic form is WWW based on the judgment result of the item judgment processing step.
And an HTML file generation processing step for generating an HTML file to be displayed on the browser.

【0007】また本発明は、上述のワークフローシステ
ムの電子帳票のHTMLファイル生成方法において、デ
ータの入力の有無および電子帳票作成時に各項目毎に定
義した表示条件を満たしているかどうかに基づいて、入
力に必要のある項目だけを表示するHTMLファイルを
動的に生成することを特徴とする。
Further, according to the present invention, in the method for generating an HTML file for an electronic form of the above-mentioned workflow system, an input is made based on the presence / absence of data input and whether or not the display condition defined for each item when the electronic form is created is satisfied. It is characterized by dynamically generating an HTML file that displays only the items that are required for.

【0008】また本発明は、電子帳票をWWWブラウザ
に表示するためのHTMLファイルを生成するワークフ
ローシステムであって、電子帳票のレイアウトデータに
基づいてWWWブラウザに表示するHTMLファイルを
生成する際、各項目毎の表示条件と既入力データに応じ
て画面上に表示する項目を選定する表示項目判断処理手
段と、前記表示項目判断処理手段の判断結果に基づい
て、電子帳票をWWWブラウザに表示するためのHTM
Lファイルを生成するHTMLファイル生成処理手段と
を備えることを特徴とする。
Further, the present invention is a workflow system for generating an HTML file for displaying an electronic form on a WWW browser, and when generating an HTML file for displaying on a WWW browser based on layout data of the electronic form, Display item determination processing means for selecting an item to be displayed on the screen according to the display condition for each item and already input data, and displaying the electronic form on the WWW browser based on the determination result of the display item determination processing means. HTM
An HTML file generation processing means for generating an L file is provided.

【0009】また本発明は、電子帳票をWWWブラウザ
に表示するためのHTMLファイルを生成するワークフ
ローシステムの電子帳票のHTMLファイル生成方法に
係るプログラムであって、電子帳票のレイアウトデータ
に基づいてWWWブラウザに表示するHTMLファイル
を生成する際、各項目毎の表示条件と既入力データに応
じて画面上に表示する項目を選定する表示項目判断処理
ステップと、前記表示項目判断処理ステップの判断結果
に基づいて、電子帳票をWWWブラウザに表示するため
のHTMLファイルを生成するHTMLファイル生成処
理ステップとを備えることを特徴とする。
Further, the present invention is a program relating to a method for generating an HTML file of an electronic form of a workflow system for generating an HTML file for displaying an electronic form on a WWW browser, which is a WWW browser based on layout data of the electronic form. Based on the judgment result of the display item judgment processing step of selecting the item to be displayed on the screen according to the display condition of each item and the already input data when the HTML file to be displayed on the screen is generated, And an HTML file generation processing step for generating an HTML file for displaying the electronic form on the WWW browser.

【0010】なお、HTMLファイルとは、WWWブラ
ウザにホームページを表示させるためのテキスト形式の
ファイルである。
The HTML file is a text file for displaying a home page on a WWW browser.

【0011】[0011]

【発明の実施の形態】以下添付図面を参照して本発明の
実施の形態について詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

【0012】図1は、表示する対象である帳票の画面例
である。従来の帳票処理システムでは、データを入力す
る帳票の表示内容は帳票を作成するときに決まってしま
う。従って、一部のデータを入力後一時保留し、再びデ
ータを入力しようと帳票を表示する場合にも、帳票作成
時の全ての項目を表示していた。そのため、再入力時に
未入力の項目を探す必要があり、入力を行うのに不便な
面があった。
FIG. 1 is an example of a screen of a form to be displayed. In the conventional form processing system, the display contents of the form for inputting data are determined when the form is created. Therefore, even when a part of data is temporarily held and the form is displayed again to input the data, all the items at the time of creating the form are displayed. Therefore, it is necessary to search for an item that has not been input at the time of re-inputting, which is inconvenient for inputting.

【0013】本実施の形態では、図1の帳票101のよ
うな画面を作成するときに、各項目毎に項目名や桁数な
どの属性を定義する。図2は、本実施の形態の項目毎に
属性を定義する画面例である。画面201では、項目属
性202をタイトルとして表示し、他の項目と区別する
ための名称である項目名203と、その項目に入力され
るデータが文字なのか数字なのか等を決める属性204
と、入力されるデータの桁数205と、入力用か表示用
かなどを示す種別206とを指定する。さらに、フォン
トボタン209、色定義ボタン210、及び表示条件ボ
タン211によって、それぞれの属性の詳細を新たな画
面を表示させて定義することができる。項目の属性を定
義する画面201でOKボタン207を押下すると、画
面で指定した内容が確定される。キャンセルボタン20
8を押下すると、画面で指定した内容はキャンセルされ
る。
In the present embodiment, when a screen such as the form 101 shown in FIG. 1 is created, attributes such as item name and number of digits are defined for each item. FIG. 2 is an example of a screen for defining attributes for each item according to this embodiment. On the screen 201, an item attribute 202 is displayed as a title, an item name 203 that is a name for distinguishing it from other items, and an attribute 204 that determines whether the data input to the item is a character or a number.
And the number of digits 205 of the input data and the type 206 indicating whether it is for input or for display. Further, by using the font button 209, the color definition button 210, and the display condition button 211, the details of each attribute can be defined by displaying a new screen. When the OK button 207 is pressed on the screen 201 for defining the attribute of the item, the contents specified on the screen are confirmed. Cancel button 20
When 8 is pressed, the contents specified on the screen are canceled.

【0014】図3は、項目の属性を定義する画面201
の表示条件ボタン211を押下することによって表示さ
れる表示条件定義画面である。表示条件定義画面では、
ある項目について、どのようなときに表示するかを示す
表示条件を定義する。表示条件は、図3の画面を用いて
各項目毎に定義を行う。表示条件は、必ずしも定義しな
ければならないわけではない。図3の表示条件定義画面
では、項目名が「所属部署」である項目について、「役
職」が「主任」以上であるユーザがこの電子帳票を表示
しようとしたとき表示することを定義している。その他
に、部長の押印欄項目について「合計の金額が10万円
以上の場合に表示する」などや、配送料項目について
「購入希望メーカが'ABC文具'の場合は表示しない」
や、期日項目について「申込日にデータが入力されてい
る場合は表示しない」などのような定義を行うことがで
きる。上記の例の図3の画面における入力例は、例えば
下記の通りである。
FIG. 3 shows a screen 201 for defining the attributes of items.
It is a display condition definition screen displayed by pressing the display condition button 211 of. In the display condition definition screen,
Define a display condition that indicates when to display an item. The display condition is defined for each item using the screen of FIG. The display conditions do not necessarily have to be defined. In the display condition definition screen of FIG. 3, for the item whose item name is “Department”, it is defined to be displayed when a user whose “Title” is “Chief” or higher tries to display this electronic form. . In addition, "Display when the total amount of money is 100,000 yen or more" for the manager's stamp field item, "Do not display if the manufacturer wishing to purchase is'ABC stationery""for the shipping fee item etc.
Alternatively, for the due date item, it is possible to make a definition such as “not displayed when data is entered on the application date”. An input example on the screen of FIG. 3 in the above example is as follows, for example.

【0015】 「合計≧100000 のとき 表示」 「購入希望メーカ=’ABC文具’のとき 非表示」 「申込日=データ有り のとき 非表示」[0015] “Display when total ≧ 100,000” "Hide when manufacturer wishing to purchase = 'ABC stationery'" "Hide when application date = data available"

【0016】図4は、本実施の形態での帳票の電子デー
タ構造を示す図である。帳票101の電子データは、帳
票上に定義された項目毎のデータ属性と帳票全体のデー
タ属性に大別される。項目毎のデータ属性としては、項
目名401、項目属性402、色403、データ配置4
04、座標位置405、フォント406、及び表示条件
定義407がある。また、色403は、文字色403
1、背景色4032、及び囲み罫線色4033から構成
される。データ配置404は、縦方向のデータ配置40
41、及び横方向のデータ配置4042から構成され
る。座標位置405は、長方形の形式である項目の左上
の座標位置4051と、右下の座標位置4052とから
構成される。帳票全体の属性としては、帳票全体の背景
色408、用紙サイズ409、及びタイトル410があ
る。
FIG. 4 is a diagram showing an electronic data structure of a form in the present embodiment. The electronic data of the form 101 is roughly classified into data attributes for each item defined on the form and data attributes of the entire form. As data attributes for each item, item name 401, item attribute 402, color 403, data arrangement 4
04, coordinate position 405, font 406, and display condition definition 407. The color 403 is the character color 403.
1, a background color 4032, and a surrounding ruled line color 4033. The data arrangement 404 is the vertical data arrangement 40.
41 and a data arrangement 4042 in the horizontal direction. The coordinate position 405 includes a coordinate position 4051 at the upper left and a coordinate position 4052 at the lower right of the item in the rectangular format. The attributes of the entire form include background color 408 of the entire form, paper size 409, and title 410.

【0017】図4のデータ構造における各項目は、左上
の座標位置の値が昇順で、かつ左上の座標位置が同じ場
合は右下の座標位置が昇順になるような順番で、並べる
ものとする。帳票の座標位置とは、X座標は帳票の右へ
行くほど、Y座標は帳票の下へ行くほど、値が大きくな
るものとする。
The items in the data structure of FIG. 4 are arranged in such an order that the values of the upper left coordinate position are in ascending order, and if the upper left coordinate position is the same, the lower right coordinate position is in ascending order. . With respect to the coordinate position of the form, the value increases as the X coordinate moves to the right of the form and the Y coordinate moves to the bottom of the form.

【0018】また、表示された電子帳票の画面で入力さ
れたデータの保存又は入力処理を終了させると、図5の
ようなXML形式のデータファイルを生成する。
When the storage or input processing of the data input on the displayed electronic form screen is completed, an XML format data file as shown in FIG. 5 is generated.

【0019】本実施の形態では、帳票101を表示する
際には、帳票作成時に項目毎にあらかじめ定義した図4
の表示条件定義407と図5のXML形式のデータファ
イルとを用いて、表示する項目か否かを判断する。この
判断結果から画面に表示する項目を決定し、図4の座標
位置405の値を用いて、必要に応じてレイアウト配置
を変更させた帳票のHTMLファイルを動的に生成す
る。これにより、画面に表示する項目を入力に必要のあ
るものだけにすることができ、データ入力時に入力する
項目を探す手間が省け、その結果、ユーザの入力作業効
率の向上を図ることができる。
In the present embodiment, when the form 101 is displayed, each item is defined in advance when the form is created as shown in FIG.
It is determined whether or not the item is to be displayed by using the display condition definition 407 of (1) and the XML format data file of FIG. An item to be displayed on the screen is determined from the result of this determination, and the value of the coordinate position 405 in FIG. 4 is used to dynamically generate an HTML file of the form whose layout arrangement is changed as necessary. As a result, the items to be displayed on the screen can be limited to those necessary for input, and the time and effort for searching for the item to be input at the time of data input can be saved, and as a result, the input work efficiency of the user can be improved.

【0020】また、表示する項目を減らしレイアウトを
変更することで帳票を表示するのに必要な領域を小さく
することが出来るので、携帯端末などの表示領域があま
り大きくないものに帳票を表示しても入力の際の煩雑さ
を軽減させることができる。
Since the area required for displaying the form can be reduced by reducing the items to be displayed and changing the layout, the form can be displayed on a display area such as a mobile terminal which is not so large. Can reduce the complexity of inputting.

【0021】図6は、電子帳票作成時に定義した表示条
件定義及びデータの入力の有無によって、表示する項目
とレイアウトを動的に変更した電子帳票の表示例を示す
図である。
FIG. 6 is a diagram showing a display example of the electronic form in which the items to be displayed and the layout are dynamically changed depending on the presence / absence of the display condition definition and data defined when the electronic form is created.

【0022】図7は、本実施の形態の電子帳票のHTM
Lファイルを動的に生成する計算機701の機能ブロッ
ク図である。計算機701は、電子帳票の生成や表示、
ワークフローの制御などを行うワークフローシステム7
02と、電子帳票のレイアウトデータを格納する電子帳
票レイアウトファイル703と、ワークフローシステム
702により動的に生成される電子帳票HTMLファイ
ル704と、電子帳票に入力されたデータからワークフ
ローシステム702により生成されるXMLデータファ
イル705と、表示項目名テーブル711と、ユーザ情
報テーブル712とを備える。
FIG. 7 shows the HTM of the electronic form of this embodiment.
FIG. 6 is a functional block diagram of a computer 701 that dynamically generates an L file. The calculator 701 generates and displays an electronic form,
Workflow system 7 for controlling workflow, etc.
02, an electronic form layout file 703 for storing layout data of an electronic form, an electronic form HTML file 704 dynamically generated by the workflow system 702, and a workflow system 702 generated from data input to the electronic form. An XML data file 705, a display item name table 711, and a user information table 712 are provided.

【0023】ワークフローシステム702は、電子帳票
のレイアウトを定義する電子帳票デザイン処理部706
と、電子帳票レイアウトファイル703内の項目から表
示する項目か否かを判断する表示項目判断処理部707
と、表示項目判断処理部707の結果から入力に必要な
項目のみを必要に応じてレイアウトを変更して表示する
電子帳票HTMLファイル704を生成する電子帳票H
TMLファイル生成処理部708と、電子帳票HTML
ファイル704に入力されたデータからXML形式のデ
ータファイルを作成するXMLデータファイル生成処理
部709と、電子帳票を扱うユーザの情報の管理や電子
帳票で入力されたデータをワークフローの案件として制
御することなどを行うワークフロー制御部710とを備
える。
The workflow system 702 is an electronic form design processing unit 706 that defines the layout of an electronic form.
And a display item determination processing unit 707 that determines whether or not the item is to be displayed from the items in the electronic form layout file 703.
And an electronic form H that generates an electronic form HTML file 704 in which only the items required for input are changed in layout and displayed from the result of the display item determination processing unit 707.
TML file generation processing unit 708 and electronic form HTML
An XML data file generation processing unit 709 that creates an XML data file from the data input in the file 704, management of information of users who handle electronic forms, and control of data input in electronic forms as a matter of a workflow. And a workflow control unit 710 for performing the above.

【0024】ワークフローシステム702は、電子帳票
デザイン処理部706により、図1の帳票101のよう
な帳票のレイアウトと図2の項目の属性を定義する画面
の定義を電子帳票レイアウトファイル703に格納す
る。次に、表示項目判断処理部707は、電子帳票レイ
アウトファイル703のデータに基づいて、各項目につ
いて、表示する必要があるか否かの判断を行う。このと
き、条件に従ってワークフロー制御部710が生成する
ユーザ情報テーブル712やXMLデータファイル生成
処理部709が生成するXMLデータファイル705が
生成されていた場合は、これらのファイルから必要な情
報を取得して、各項目について表示する必要があるか否
かの判断を行う。表示項目判断処理部707は、判断結
果により表示項目名テーブル711を生成する。電子帳
票HTMLファイル生成処理部708は、表示項目名テ
ーブル711内の項目についてのみ電子帳票レイアウト
ファイル703から該当する項目の情報を取得し、場合
によっては項目の配置及び電子帳票のレイアウトを再計
算して変更し、電子帳票HTMLファイル704を生成
する。
In the workflow system 702, the electronic form design processing unit 706 stores the layout of a form such as the form 101 in FIG. 1 and the definition of the screen defining the attributes of the items in FIG. 2 in the electronic form layout file 703. Next, the display item determination processing unit 707 determines whether or not each item needs to be displayed, based on the data in the electronic form layout file 703. At this time, if the user information table 712 generated by the workflow control unit 710 and the XML data file 705 generated by the XML data file generation processing unit 709 have been generated according to the conditions, necessary information is acquired from these files. , Determine whether it is necessary to display each item. The display item determination processing unit 707 generates the display item name table 711 based on the determination result. The electronic form HTML file generation processing unit 708 acquires the information of the corresponding item from the electronic form layout file 703 only for the items in the display item name table 711, and recalculates the layout of the electronic form and the layout of the item in some cases. To generate an electronic form HTML file 704.

【0025】以下、表示項目判断処理部707が電子帳
票レイアウトファイル703とXMLデータファイル7
05とユーザ情報テーブル712とを用いて表示項目名
テーブル711を生成する処理、及び、電子帳票HTM
Lファイル生成処理部708が電子帳票レイアウトファ
イル703と表示項目名テーブル711とを用いて電子
帳票HTMLファイル704を生成する処理について詳
しく説明する。
Hereinafter, the display item determination processing unit 707 causes the electronic form layout file 703 and the XML data file 7 to be displayed.
05 to generate a display item name table 711 using the user information table 712, and electronic form HTM
The process in which the L file generation processing unit 708 generates the electronic form HTML file 704 using the electronic form layout file 703 and the display item name table 711 will be described in detail.

【0026】まず、表示項目判断処理について説明す
る。ここでは、電子帳票レイアウトファイル703のデ
ータから、電子帳票HTMLファイル704に表示する
項目を判断し、表示項目名テーブル711を生成する電
子帳票表示項目判断処理を、図8のフローチャートを用
いて説明する。
First, the display item determination process will be described. Here, the electronic form display item determination process of determining the items to be displayed in the electronic form HTML file 704 from the data of the electronic form layout file 703 and generating the display item name table 711 will be described using the flowchart of FIG. .

【0027】まず、ステップ801で、ワークフロー制
御部710が生成したユーザ情報テーブル712を取得
する。ユーザ情報テーブル712は、図9のようなデー
タを格納する。すなわち、図9に示すように、ユーザ情
報テーブル712は、ユーザID901、氏名902、
役職903、組織階層904、ニックネーム905、及
びサーバ情報906の各項目の値を格納する。
First, in step 801, the user information table 712 generated by the workflow control unit 710 is acquired. The user information table 712 stores data as shown in FIG. That is, as shown in FIG. 9, the user information table 712 includes a user ID 901, a name 902,
The values of the items of the post 903, the organizational hierarchy 904, the nickname 905, and the server information 906 are stored.

【0028】ステップ802で、電子帳票レイアウトフ
ァイル703に未処理の項目名が存在するかどうかを判
断する。未処理の項目名が存在する場合は、ステップ8
03で電子帳票レイアウトファイル703から項目名を
取得し、ステップ804で取得した項目名の表示条件定
義を取得する。ステップ805では、ステップ804で
表示条件定義が存在していたかどうかを判断する。表示
条件定義が存在していた場合は、その表示条件を満たし
ているかどうかの判断を行う。このとき、まずステップ
806で、表示条件を満たしているかどうかを判断する
のに必要な値をユーザ情報テーブル712又はXMLデ
ータファイル705から取得する。次に、ステップ80
7で、ステップ806で取得した値を基に表示条件を満
たしているかどうかを判断する。
In step 802, it is determined whether or not there is an unprocessed item name in the electronic form layout file 703. If there is an unprocessed item name, step 8
In 03, the item name is acquired from the electronic form layout file 703, and in step 804, the display condition definition of the item name acquired is acquired. In step 805, it is determined whether the display condition definition exists in step 804. If the display condition definition exists, it is determined whether the display condition is satisfied. At this time, first, in step 806, the value necessary for determining whether the display condition is satisfied is acquired from the user information table 712 or the XML data file 705. Next, Step 80
In step 7, it is determined whether the display condition is satisfied based on the value acquired in step 806.

【0029】表示条件を満たしている場合、ステップ8
09でXMLデータファイル705が存在していてかつ
XMLデータファイル705中に取得した項目のデータ
が存在するかどうかの判断を行う。XMLデータファイ
ル705が存在していて、かつXMLデータファイル7
05中に該当の項目のデータが存在する場合は、既に入
力済みと判断できるので、電子帳票HTMLファイル7
04には表示しないものとして、ステップ808の次の
項目へと進む。ステップ809でXMLデータファイル
705が存在しない、又は、XMLデータファイル70
5が存在していてもXMLデータファイル705中に該
当の項目のデータが存在しない場合は、データが未入力
の項目と判断できるので、ステップ810で電子帳票H
TMLファイル704に表示するべく項目名を表示項目
テーブル711に出力する。以上のようにして、特定の
表示条件を満たしている場合のみ、その特定の項目を表
示するようにすることなどが出来る。また、他の項目の
入力状況や値によって、項目を表示するかどうかを、自
動的に判断させることができる。
If the display conditions are satisfied, step 8
At 09, it is determined whether the XML data file 705 exists and the data of the acquired item exists in the XML data file 705. XML data file 705 exists and XML data file 7
If the data of the corresponding item exists in 05, it can be determined that the data has already been input. Therefore, the electronic form HTML file 7
Nothing is displayed in 04, and the process proceeds to the next item in step 808. In step 809, the XML data file 705 does not exist, or the XML data file 70
5 exists, but if the data of the corresponding item does not exist in the XML data file 705, it can be determined that the data has not been input. Therefore, in step 810, the electronic form H
The item name is output to the display item table 711 to be displayed in the TML file 704. As described above, the specific item can be displayed only when the specific display condition is satisfied. Further, it is possible to automatically determine whether or not to display an item, depending on the input status and value of other items.

【0030】ステップ807で表示条件を満たしていな
い場合は、その項目は電子帳票HTMLファイル704
には表示しないので、ステップ808の次の項目へ進
む。ステップ805で表示条件定義が存在しない場合
は、ステップ809へ進む。
If the display conditions are not satisfied in step 807, the item is the electronic form HTML file 704.
Since it is not displayed on the screen, the process proceeds to the next item of step 808. If no display condition definition exists in step 805, the process proceeds to step 809.

【0031】上記処理の流れに従って、ステップ802
により電子帳票レイアウトファイル703内の全ての項
目について、電子帳票HTMLファイル704に表示す
るかどうかの判断を行い、表示する項目のみの項目名を
出力し、表示項目名テーブル711を生成する。表示項
目名テーブル711には、図10のようなデータが出力
される。図10の表示項目名テーブルに登録された項目
名が、表示する項目名である。
In accordance with the above processing flow, step 802
Then, for all the items in the electronic form layout file 703, it is determined whether or not to display in the electronic form HTML file 704, the item names of only the items to be displayed are output, and the display item name table 711 is generated. Data as shown in FIG. 10 is output to the display item name table 711. The item name registered in the display item name table of FIG. 10 is the item name to be displayed.

【0032】次に、電子帳票HTMLファイル生成処理
について説明する。ここでは、電子帳票レイアウトファ
イル703と表示項目名テーブル711から電子帳票H
TMLファイル704を生成する電子帳票HTMLファ
イル生成処理を、図11のフローチャートを用いて、説
明する。
Next, the electronic form HTML file generation process will be described. Here, from the electronic form layout file 703 and the display item name table 711, the electronic form H is displayed.
The electronic form HTML file generation process for generating the TML file 704 will be described with reference to the flowchart of FIG.

【0033】まず、ステップ1101で、前項目座標位
置の初期化をしておく。次に、ステップ1102で、H
TMLファイルのタイトルなどHTMLのヘッダ部情報
を電子帳票HTMLファイル704へ出力する。
First, in step 1101, the previous item coordinate position is initialized. Next, in step 1102, H
The HTML header information such as the title of the TML file is output to the electronic form HTML file 704.

【0034】ステップ1103で、表示項目名テーブル
711に未処理の項目名が存在するかどうかの判断を行
う。表示項目名テーブル711に未処理の項目名が存在
する場合は、ステップ1104で、表示項目名テーブル
711から項目名を取得する。そして、ステップ110
5で、電子帳票レイアウトファイル703から該当の項
目の属性、座標位置などを取得する。
In step 1103, it is determined whether or not there is an unprocessed item name in the display item name table 711. If an unprocessed item name exists in the display item name table 711, the item name is acquired from the display item name table 711 in step 1104. And step 110
In step 5, the attribute, coordinate position, etc. of the corresponding item are acquired from the electronic form layout file 703.

【0035】ステップ1106で、前項目座標位置と処
理中の項目の座標位置とを比較して、電子帳票上に表示
する座標位置を再計算する。前項目座標位置が電子帳票
作成時の値の場合は、再計算結果は電子帳票作成時の座
標位置のままだが、横方向又は縦方向に電子帳票作成時
よりも前の項目と大きく間が空いている場合は、それを
一定の間隔に詰めるようにする。このようにして電子帳
票上の項目のレイアウトを変更する。
In step 1106, the coordinate position of the previous item and the coordinate position of the item being processed are compared to recalculate the coordinate position displayed on the electronic form. If the coordinate position of the previous item is the value at the time of creating the electronic form, the recalculation result remains the coordinate position at the time of creating the electronic form, but there is a large gap in the horizontal or vertical direction from the item before creating the electronic form. If so, try packing it at regular intervals. In this way, the layout of items on the electronic form is changed.

【0036】ステップ1107で、再計算した座標位置
等の項目情報を電子帳票HTMLファイル704へ出力
する。ステップ1108で、電子帳票HTMLファイル
704へ出力した座標位置を前項目座標位置として退避
しておく。ステップ1109で、次の項目へ進み、ステ
ップ1103で表示項目名テーブル711の全ての項目
名に処理を行うまで繰り返す。
In step 1107, the recalculated item information such as the coordinate position is output to the electronic form HTML file 704. In step 1108, the coordinate position output to the electronic form HTML file 704 is saved as the previous item coordinate position. In step 1109, the process proceeds to the next item, and the process is repeated until all item names in the display item name table 711 are processed in step 1103.

【0037】表示項目名テーブル711の全ての項目情
報を電子帳票HTMLファイル704へ出力した後、ス
テップ1110で、HTMLの終了タグなどを電子帳票
HTMLファイル704へ出力する。
After all the item information in the display item name table 711 is output to the electronic form HTML file 704, in step 1110, the HTML end tag and the like are output to the electronic form HTML file 704.

【0038】以上の処理で、電子帳票レイアウトファイ
ル703と表示項目名テーブル711とを用いて、電子
帳票作成時に定義した表示条件を満たしている項目でか
つ未入力の項目のみを表示する電子帳票HTMLファイ
ル704を生成する。
Through the above processing, using the electronic form layout file 703 and the display item name table 711, the electronic form HTML for displaying only the items that satisfy the display conditions defined when the electronic form is created and are not input. The file 704 is generated.

【0039】図12は、電子帳票HTMLファイル生成
処理部708により生成された電子帳票HTMLファイ
ル704の内容例を示す図である。図12のHTMLフ
ァイルを表示すると、図1の帳票101のように作成し
た電子帳票が、図6のような帳票として表示される。
FIG. 12 is a diagram showing an example of contents of the electronic form HTML file 704 generated by the electronic form HTML file generation processing unit 708. When the HTML file shown in FIG. 12 is displayed, the electronic form created like the form 101 shown in FIG. 1 is displayed as a form shown in FIG.

【0040】図13は、本発明の適用例として、電子帳
票HTMLファイルを生成する際に、縦方向のみに項目
を出力するようレイアウトを変更するようにしたこと
で、図1の帳票101のように作成された電子帳票を携
帯電話等の携帯端末の画面にも入力に必要な項目のみを
表示するようにした図である。
As an application example of the present invention, FIG. 13 shows the form 101 shown in FIG. 1 by changing the layout so that the items are output only in the vertical direction when the electronic form HTML file is generated. FIG. 9 is a diagram in which only the items necessary for inputting the electronic form created in FIG. 6 are displayed on the screen of a mobile terminal such as a mobile phone.

【0041】上記実施の形態によれば、定義した表示条
件に応じた項目のみを表示するHTMLファイルを生成
することができる。特に、抽出した項目を表示する際に
項目の間が項目を表示しなくなったことで一定の間隔以
上空くと、項目同士の間を一定の間隔になるように詰め
て表示することができる。項目の間隔を詰めることで、
電子帳票のレイアウトを変更し、電子帳票全体の大きさ
を小さくすることができる。
According to the above embodiment, it is possible to generate an HTML file that displays only the items according to the defined display conditions. In particular, when the extracted items are displayed, if the items are not displayed and the items are not displayed, the items can be displayed at a fixed interval. By reducing the space between items,
It is possible to change the layout of the electronic form and reduce the size of the entire electronic form.

【0042】[0042]

【発明の効果】以上説明したように、本発明によれば、
電子帳票を表示するとき、何も指定をすることなく、表
示条件に沿った、またはデータが未入力の項目のみを表
示し、かつ電子帳票を表示する領域を電子帳票作成時の
帳票よりも小さくした電子帳票HTMLファイルを自動
的に生成することができる。また、これにより画面に表
示された電子帳票から入力を必要とする項目を容易に見
つけることができ、入力作業を軽減することができる。
As described above, according to the present invention,
When displaying an electronic form, only the items that meet the display conditions or have no data entered are displayed without specifying anything, and the area in which the electronic form is displayed is smaller than when creating the electronic form. The electronic form HTML file can be automatically generated. Further, as a result, it is possible to easily find an item requiring input from the electronic form displayed on the screen, and it is possible to reduce the input work.

【0043】さらに、帳票を表示するのに必要な領域を
小さくすることで、携帯端末などの画面があまり大きく
ないものにも適した大きさで電子帳票を表示させること
ができるようになる。
Further, by reducing the area required for displaying the form, it becomes possible to display the electronic form in a size suitable for a device such as a portable terminal whose screen is not so large.

【図面の簡単な説明】[Brief description of drawings]

【図1】帳票の画面例を示す図である。FIG. 1 is a diagram showing a screen example of a form.

【図2】電子帳票上の項目の属性を定義する画面例を示
す図である。
FIG. 2 is a diagram showing an example of a screen for defining attributes of items on an electronic form.

【図3】電子帳票上の項目の表示条件を定義する画面例
を示す図である。
FIG. 3 is a diagram showing an example of a screen for defining display conditions of items on an electronic form.

【図4】電子帳票レイアウトファイルのデータ構造を示
す図である。
FIG. 4 is a diagram showing a data structure of an electronic form layout file.

【図5】表示された電子帳票に入力されたデータをXM
L形式に格納したデータファイルの出力例を示す図であ
る。
FIG. 5: XM data entered in the displayed electronic form
It is a figure which shows the output example of the data file stored in L format.

【図6】表示する項目とレイアウトを動的に変更した電
子帳票の表示例を示す図である。
FIG. 6 is a diagram showing a display example of an electronic form in which items to be displayed and a layout are dynamically changed.

【図7】本実施の形態に係る計算機の機能ブロックを示
す図である。
FIG. 7 is a diagram showing functional blocks of a computer according to the present embodiment.

【図8】表示項目判断処理部の処理の流れを示すフロー
チャートである。
FIG. 8 is a flowchart showing a processing flow of a display item determination processing unit.

【図9】ユーザ情報テーブルのデータ構造を示す図であ
る。
FIG. 9 is a diagram showing a data structure of a user information table.

【図10】表示項目名テーブルデータ構造を示す図であ
る。
FIG. 10 is a diagram showing a display item name table data structure.

【図11】電子帳票HTMLファイル生成処理部の処理
の流れを示すフローチャートである。
FIG. 11 is a flowchart showing a processing flow of an electronic form HTML file generation processing unit.

【図12】表示する項目とレイアウトを変更した電子帳
票HTMLファイルの出力例を示す図である。
FIG. 12 is a diagram showing an output example of an electronic form HTML file in which displayed items and layout are changed.

【図13】表示する項目を動的に変更した電子帳票を携
帯電話に表示した例を示す図である。
FIG. 13 is a diagram showing an example in which an electronic form in which displayed items are dynamically changed is displayed on a mobile phone.

【符号の説明】[Explanation of symbols]

201・・・画面 202・・・タイトル 203・・・項目名 204・・・属性 205・・・桁数 206・・・種別 207・・・OKボタン 208・・・キャンセルボタン 209・・・フォントボタン 210・・・色定義ボタン 211・・・表示条件定義ボタン 701・・・計算機 702・・・ワークフローシステム 703・・・電子帳票レイアウトファイル 704・・・電子帳票HTMLファイル 705・・・XMLデータファイル 706・・・電子帳票デザイン処理部 707・・・表示項目判断処理部 708・・・電子帳票HTMLファイル生成処理部 709・・・XMLデータファイル生成処理部 710・・・ワークフロー制御部 711・・・表示項目名テーブル 712・・・ユーザ情報テーブル 201 ... screen 202 ・ ・ ・ Title 203 ... Item name 204 ... Attribute 205 ・ ・ ・ Number of digits 206 ... Type 207 ... OK button 208 ... Cancel button 209 ... Font button 210 ... Color definition button 211 ... Display condition definition button 701 ... Calculator 702 ... Workflow system 703 ... Electronic form layout file 704 ... Electronic form HTML file 705 ... XML data file 706 ... Electronic form design processing unit 707 ... Display item determination processing unit 708 ... Electronic form HTML file generation processing unit 709 ... XML data file generation processing unit 710 ... Workflow control unit 711 ... Display item name table 712 ... User information table

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】電子帳票をWWWブラウザに表示するため
のHTMLファイルを生成するワークフローシステムの
電子帳票のHTMLファイル生成方法であって、 電子帳票のレイアウトデータに基づいてWWWブラウザ
に表示するHTMLファイルを生成する際、各項目毎の
表示条件と既入力データに応じて画面上に表示する項目
を選定する表示項目判断処理ステップと、 前記表示項目判断処理ステップの判断結果に基づいて、
電子帳票をWWWブラウザに表示するためのHTMLフ
ァイルを生成するHTMLファイル生成処理ステップと
を備えることを特徴とするワークフローシステムの電子
帳票のHTMLファイル生成方法。
1. A method for generating an HTML file for an electronic form of a workflow system for generating an HTML file for displaying an electronic form on a WWW browser, the HTML file being displayed on a WWW browser based on layout data of the electronic form. At the time of generation, a display item determination processing step of selecting an item to be displayed on the screen according to the display condition of each item and already input data, and based on the determination result of the display item determination processing step,
An HTML file generation process step of generating an HTML file for displaying an electronic form on a WWW browser. An HTML file generating method for an electronic form of a workflow system, comprising:
【請求項2】請求項1に記載のワークフローシステムの
電子帳票のHTMLファイル生成方法において、 データの入力の有無および電子帳票作成時に各項目毎に
定義した表示条件を満たしているかどうかに基づいて、
入力に必要のある項目だけを表示するHTMLファイル
を動的に生成することを特徴とするワークフローシステ
ムの電子帳票のHTMLファイル生成方法。
2. The method for generating an HTML file for an electronic form of the workflow system according to claim 1, based on the presence / absence of data input and whether or not the display condition defined for each item at the time of creating the electronic form is satisfied.
An HTML file generation method for an electronic form of a workflow system, which dynamically generates an HTML file that displays only items required for input.
【請求項3】電子帳票をWWWブラウザに表示するため
のHTMLファイルを生成するワークフローシステムで
あって、 電子帳票のレイアウトデータに基づいてWWWブラウザ
に表示するHTMLファイルを生成する際、各項目毎の
表示条件と既入力データに応じて画面上に表示する項目
を選定する表示項目判断処理手段と、 前記表示項目判断処理手段の判断結果に基づいて、電子
帳票をWWWブラウザに表示するためのHTMLファイ
ルを生成するHTMLファイル生成処理手段とを備える
ことを特徴とするワークフローシステム。
3. A workflow system for generating an HTML file for displaying an electronic form on a WWW browser, wherein when an HTML file for displaying on a WWW browser is generated based on layout data of the electronic form Display item judgment processing means for selecting an item to be displayed on the screen according to display conditions and already input data, and an HTML file for displaying an electronic form on a WWW browser based on the judgment result of the display item judgment processing means. And an HTML file generation processing unit for generating the.
【請求項4】電子帳票をWWWブラウザに表示するため
のHTMLファイルを生成するワークフローシステムの
電子帳票のHTMLファイル生成方法に係るプログラム
であって、 電子帳票のレイアウトデータに基づいてWWWブラウザ
に表示するHTMLファイルを生成する際、各項目毎の
表示条件と既入力データに応じて画面上に表示する項目
を選定する表示項目判断処理ステップと、 前記表示項目判断処理ステップの判断結果に基づいて、
電子帳票をWWWブラウザに表示するためのHTMLフ
ァイルを生成するHTMLファイル生成処理ステップと
を備えることを特徴とするワークフローシステムの電子
帳票のHTMLファイル生成方法に係るプログラム。
4. A program relating to an HTML file generation method for an electronic form of a workflow system for generating an HTML file for displaying an electronic form on a WWW browser, which is displayed on a WWW browser based on layout data of the electronic form. When an HTML file is generated, a display item determination processing step of selecting an item to be displayed on the screen according to the display condition of each item and already input data, and based on the determination result of the display item determination processing step,
An HTML file generation processing step for generating an HTML file for displaying an electronic form on a WWW browser, and a program according to an HTML file generating method for an electronic form of a workflow system.
JP2001248470A 2001-08-20 2001-08-20 HTML file generation method, workflow system, and program related to HTML file generation method Pending JP2003058811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001248470A JP2003058811A (en) 2001-08-20 2001-08-20 HTML file generation method, workflow system, and program related to HTML file generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001248470A JP2003058811A (en) 2001-08-20 2001-08-20 HTML file generation method, workflow system, and program related to HTML file generation method

Publications (1)

Publication Number Publication Date
JP2003058811A true JP2003058811A (en) 2003-02-28

Family

ID=19077618

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001248470A Pending JP2003058811A (en) 2001-08-20 2001-08-20 HTML file generation method, workflow system, and program related to HTML file generation method

Country Status (1)

Country Link
JP (1) JP2003058811A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008234243A (en) * 2007-03-20 2008-10-02 Hitachi Koukiyou Syst Eng Kk Electronic application system, communication system, electronic application method and communication method
JP2010026664A (en) * 2008-07-16 2010-02-04 Nomura Research Institute Ltd Transaction mediation device
JP2013084075A (en) * 2011-10-07 2013-05-09 Osk:Kk Data display program
JP2015115037A (en) * 2013-12-16 2015-06-22 株式会社日立システムズ Screen layout generation system, and generating method for the same
WO2015141006A1 (en) * 2014-03-20 2015-09-24 株式会社Pfu Information processing device, display method and control program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008234243A (en) * 2007-03-20 2008-10-02 Hitachi Koukiyou Syst Eng Kk Electronic application system, communication system, electronic application method and communication method
JP2010026664A (en) * 2008-07-16 2010-02-04 Nomura Research Institute Ltd Transaction mediation device
JP2013084075A (en) * 2011-10-07 2013-05-09 Osk:Kk Data display program
JP2015115037A (en) * 2013-12-16 2015-06-22 株式会社日立システムズ Screen layout generation system, and generating method for the same
WO2015141006A1 (en) * 2014-03-20 2015-09-24 株式会社Pfu Information processing device, display method and control program
JPWO2015141006A1 (en) * 2014-03-20 2017-04-06 株式会社Pfu Information processing apparatus, display method, and control program
US10275439B2 (en) 2014-03-20 2019-04-30 Pfu Limited Information processing device, display method and control program

Similar Documents

Publication Publication Date Title
CN101535952B (en) Software architecture for displaying information content from plug-in modules in a user interface
RU2012141567A (en) SYSTEM AND METHOD FOR PROCESSING MULTIMEDIA COMMUNICATION INFORMATION PRODUCTS
JP2012059248A (en) System, method, and program for detecting and creating form field
JP3502754B2 (en) Information supply method and server
CN105590241B (en) Self-adaptive electronic bill implementation method and system
JP2011086050A (en) Information processing terminal and computer program
JP2003058811A (en) HTML file generation method, workflow system, and program related to HTML file generation method
JP2008140090A (en) Information processor, multilayer operation support system and program
JP2001312490A (en) Template automatic generation system and machine- readable recording medium with recorded program
JP6086470B2 (en) Application batch creation system
JP2012014488A (en) Information processing apparatus, information processing method, and program
JP3472089B2 (en) Information display system
JP5209438B2 (en) Document processing device
US20030050790A1 (en) Business card processing system and method
JP3249154U (en) Estimation program for special demolition work and computer-readable recording medium having the program recorded thereon
JP2001147922A (en) Device and method for managing document and storage medium
CN103186543B (en) A kind of disposal route of page-tag and device
JP3616506B2 (en) Portable information terminal device, display screen control method, and recording medium
JP2001005656A (en) Program customizing device and storage medium
JP2001195532A (en) Matrix creation method and display method
JP2003005945A (en) Document display system and input area changing system and document display program
JPH11353083A (en) Data input device and storage medium
JP2011103035A (en) Written information management system, written information management method, and written information management program
TW388017B (en) Graph display method of connection relationship among slides in a presentation
JP2005141463A (en) Method of inputting data, data input support information input device, and data input device