JP2002024748A - Method for checking screen document layout - Google Patents

Method for checking screen document layout

Info

Publication number
JP2002024748A
JP2002024748A JP2000203096A JP2000203096A JP2002024748A JP 2002024748 A JP2002024748 A JP 2002024748A JP 2000203096 A JP2000203096 A JP 2000203096A JP 2000203096 A JP2000203096 A JP 2000203096A JP 2002024748 A JP2002024748 A JP 2002024748A
Authority
JP
Japan
Prior art keywords
layout
check
screen
definition data
style guide
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
JP2000203096A
Other languages
Japanese (ja)
Inventor
Yoshitsune Yamamura
喜恒 山村
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 JP2000203096A priority Critical patent/JP2002024748A/en
Publication of JP2002024748A publication Critical patent/JP2002024748A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a method for checking whether a layout set in a screen document file agrees with style guide restrictions or not to improve check efficiency when, in particular, there are a plurality of screen document preparation applications. SOLUTION: A screen document preparation application judging part 03 on a computer 02 accesses a screen document file 01 to distinguish an application forming it. A check element selection part 04 receives a check item selected by a user among a plurality of check items. A screen document definition data sampling part 05 samples data defining a layout from the screen document file 01 by the processing corresponding to the distinguished application to prepare standard type layout definition data. A check processing part 08 checks this layout definition data against the restriction set in style guide restriction information DB11 to check the layout of the screen document file 01.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、表示画面上に表示
するための情報を設定する画面ファイルおよび発行され
る帳票上の情報を設定する帳票ファイルのレイアウトを
チェックする方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for checking a layout of a screen file for setting information to be displayed on a display screen and a form file for setting information on an issued form.

【0002】[0002]

【従来の技術】複数の画面帳票を有するシステムの開発
に際して、多くの場合、システム全体として画面帳票の
レイアウトに統一感を持たせるため、予め画面帳票レイ
アウトに関するガイドラインを作成しておき、画面帳票
作成者は、このガイドラインの内容に従ったデータ形式
で画面帳票を作成する。この場合、画面帳票作成者は予
めガイドラインの内容を把握しておく必要があり、画面
作成者が複数人存在する場合には、ガイドラインの内容
を全員の共通認識としておかなければならない。そのた
め実際に画面帳票を作成する作業においては、画面上の
項目を作成するたびにガイドラインの内容を確認する必
要があり、作業効率を低下させることが多い。またガイ
ドラインの内容に変更が発生した場合には、すべての作
成済み画面帳票の項目を再度一つ一つ確認する必要があ
るため、修正作業にかかる工数が大きかった。
2. Description of the Related Art In the development of a system having a plurality of screen forms, in many cases, guidelines for the screen form layout are prepared in advance in order to make the layout of the screen forms uniform throughout the system, and the screen forms are created. Creates a screen form in a data format according to the contents of these guidelines. In this case, the screen form creator needs to know the contents of the guideline in advance, and when there are a plurality of screen creators, the contents of the guideline must be shared by all the members. Therefore, in the operation of actually creating a screen form, it is necessary to check the contents of the guideline each time an item on the screen is created, often reducing the work efficiency. Further, when the contents of the guideline are changed, it is necessary to check all the items of all the created screen forms again one by one, so that the man-hour required for the correction work is large.

【0003】この問題点を解決するために、あらかじめ
各画面帳票での使用禁止項目、ボタンの配置条件、背景
色などをガイドライン制約として定義し、画面作成時に
グラフィカルユーザインタフェース(以下、GUIと略
称する)画面レイアウト設計を行なうGUIビルダによ
って、各項目がガイドライン制約に沿っているかどうか
を自動的にチェックする技術が特開平10−97415
号公報として開示されている。この技術ではガイドライ
ン制約に変更が生じた場合も、一つ一つの画面を修正す
る際にGUIビルダで変更箇所が明示されるため、画面
作成および修正にかかる工数を短縮することが可能とさ
れている。
In order to solve this problem, use-prohibited items, button layout conditions, background colors, and the like in each screen form are defined in advance as guideline constraints, and a graphical user interface (hereinafter abbreviated as GUI) is used when a screen is created. Japanese Patent Laid-Open No. 10-97415 discloses a technique for automatically checking whether or not each item complies with a guideline constraint by a GUI builder that performs screen layout design.
It is disclosed as an official gazette. With this technology, even when a change occurs in the guideline constraint, the GUI builder specifies the changed portion when correcting each screen, so that the man-hours required for screen creation and correction can be reduced. I have.

【0004】[0004]

【発明が解決しようとする課題】上記従来技術によれ
ば、新規に作成する画面帳票についてはガイドライン制
約に沿ったレイアウトで定義することができるが、既存
のシステムの画面帳票を流用する場合や、複数の作業者
が作成した画面帳票のレイアウトを統一する場合には、
その画面帳票がガイドラインに沿っているかどうかをチ
ェックするために、GUIビルダを使って一つ一つの画
面帳票を確認する必要があるため、既に作成された画面
帳票が多数ある場合には、必ずしも作業効率が向上しな
い。
According to the above-mentioned prior art, a screen form to be newly created can be defined by a layout in accordance with the guideline restrictions. However, when a screen form of an existing system is used, When unifying the layout of screen forms created by multiple workers,
It is necessary to check each screen form using GUI builder to check whether the screen form conforms to the guidelines. Therefore, if there are many screen forms that have already been created, Efficiency does not improve.

【0005】また画面帳票を作成する際、ガイドライン
制約に記載された制約事項が全ての画面の項目に反映さ
れるため、部分的にガイドライン制約と異なるような画
面を作成できず、画面設計の自由度が少ない。例えばG
UI画面を開発する場合、代表的な画面のレイアウトと
して、メニュー画面、一覧表示用画面、詳細表示用画面
などがあげられるが、仮にメニュー画面で使用するボタ
ンのサイズが詳細画面で使用するボタンのサイズより大
きい場合、詳細画面のボタンサイズをガイドライン制約
に定義していると、メニュー画面に大きいボタンを定義
できなくなるなどの障害が生じる。これはガイドライン
制約を複数定義することで回避することができるが、そ
の場合、ガイドライン制約の定義にかかる工数が多くな
り作業効率が悪くなると考えられる。
Also, when creating a screen form, since the restrictions described in the guideline restrictions are reflected in all screen items, a screen partially different from the guideline restrictions cannot be created, and the screen design is free. Less degree. For example, G
When a UI screen is developed, typical screen layouts include a menu screen, a list display screen, a detail display screen, and the like. If the size is larger than the size, if the button size of the detail screen is defined in the guideline constraint, a problem occurs such that a large button cannot be defined on the menu screen. This can be avoided by defining a plurality of guideline constraints, but in that case, the number of steps required to define the guideline constraints is increased, and work efficiency is considered to be reduced.

【0006】その他、複数の画面帳票作成アプリケーシ
ョンを使って画面帳票を作成する場合、ガイドライン制
約をそれぞれの画面作成アプリケーションごとに定義す
る必要があるため、ガイドライン制約の定義にかかる工
数が増え、画面作成及び修正の効率が悪くなると考えら
れる。
In addition, when a screen form is created using a plurality of screen form creation applications, it is necessary to define a guideline constraint for each screen creation application. And the efficiency of the correction is considered to be reduced.

【0007】本発明の目的は、上記のような従来技術の
問題点を解決し、ガイドライン制約に基づく画面帳票の
レイアウト統一にかかる工数を軽減し、システム開発全
体としての生産性、保守性を向上させることにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the problems of the prior art described above, reduce the man-hours required to unify the layout of screen forms based on the guideline constraints, and improve productivity and maintainability as a whole system development. To make it happen.

【0008】[0008]

【課題を解決するための手段】本発明は、電子計算機を
利用して画面ファイルに設定されるレイアウトがレイア
ウトに関する制約を設定するスタイルガイド制約に合致
するか否かチェックする方法において、その画面ファイ
ルを作成したアプリケーションを識別し、識別されたア
プリケーションに対応する処理によって画面ファイルか
らレイアウトを定義する情報を抽出して統一基準に従っ
たレイアウト定義データを作成し、作成されたレイアウ
ト定義データをスタイルガイド制約と突き合わせること
によって対象とする画面ファイルのレイアウトをチェッ
クする画面レイアウトのチェック方法を特徴とする。
According to the present invention, there is provided a method for checking whether or not a layout set in a screen file using a computer matches a style guide constraint for setting a constraint relating to the layout. Identifies the application that created the file, extracts information that defines the layout from the screen file by processing corresponding to the identified application, creates layout definition data in accordance with the unified standards, and uses the created layout definition data in the style guide. It is characterized by a screen layout check method of checking the layout of a target screen file by matching with a constraint.

【0009】[0009]

【発明の実施の形態】以下、本発明の実施形態について
図面を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0010】図1は、本実施形態の計算機の構成とこの
計算機で実行される処理の手順を示すブロック図であ
る。画面帳票のレイアウトチェックを行なう際は、まず
チェック対象となる記憶装置上の画面帳票ファイル01
を計算機02に読み込み、画面帳票作成アプリケーショ
ン判別部03がこの画面帳票を作成したアプリケーショ
ンを特定する。ここでいうアプリケーションとは、GU
IビルダのようなGUI構築ツールである。次にチェッ
ク要素選択部04がユーザによって選択されたチェック
要素を受け付け、アプリケーション別処理振り分け部0
6と画面帳票作成アプリケーションに応じて定義データ
を抽出するレイアウト定義データ抽出部07から構成さ
れる画面帳票定義データ抽出部05によって、画面帳票
ファイル01に定義されたレイアウト定義情報を抽出
し、共通のデータ形式をもつレイアウト定義データを作
成する。
FIG. 1 is a block diagram showing a configuration of a computer according to the present embodiment and a procedure of processing executed by the computer. When the layout check of the screen form is performed, first, the screen form file 01 on the storage device to be checked is checked.
Is read into the computer 02, and the screen form creation application determining unit 03 specifies the application that created this screen form. The application mentioned here is GU
It is a GUI construction tool like I Builder. Next, the check element selection unit 04 receives the check element selected by the user, and the application-specific processing distribution unit 0
6 and a layout definition data extracting unit 07 that extracts definition data according to the screen report creation application, extracts layout definition information defined in the screen report file 01 by a screen report definition data extracting unit 05, Create layout definition data with data format.

【0011】続いて画面帳票のレイアウトに関する標準
的なチェックを行う標準チェック処理部09と、プロジ
ェクト固有の処理を行なう拡張チェック処理部10とか
ら構成されるチェック処理部08において、画面帳票フ
ァイル01から抽出したレイアウト定義データと、記憶
装置上のスタイルガイド制約情報DB11に定義された
スタイルガイド制約情報とを突き合わせてレイアウトチ
ェックを行い、スタイルガイド制約に沿わない定義が作
成されていた場合は、エラーデータ編集部12によっ
て、画面上のデータ項目の位置を特定できる形式にエラ
ーデータを編集し、表示装置又は印刷装置上にエラーデ
ータ14を出力する。なお画面帳票ファイル01が画面
表示のための情報のみであれば、画面ファイルと呼び得
る。あるいは帳票出力のための情報のみであれば、帳票
ファイルと呼び得る。
Subsequently, a check processing unit 08 comprising a standard check processing unit 09 for performing a standard check on the layout of the screen form and an extended check processing unit 10 for performing a process specific to the project, converts the screen form file 01 from the screen form file 01. A layout check is performed by comparing the extracted layout definition data with the style guide constraint information defined in the style guide constraint information DB 11 on the storage device. If a definition that does not comply with the style guide constraint is created, error data is output. The editing unit 12 edits the error data into a format that can specify the position of the data item on the screen, and outputs the error data 14 to a display device or a printing device. If the screen form file 01 is only information for screen display, it can be called a screen file. Alternatively, if there is only information for form output, it can be called a form file.

【0012】なお図示する処理部のプログラムを記憶媒
体に格納し、図示しない駆動装置を介してこの記憶媒体
上のプログラムを計算機02のメモリに読み込み、計算
機02によって実行することが可能である。
It is possible to store the program of the processing section shown in the storage medium, read the program on the storage medium into the memory of the computer 02 via a driving device (not shown), and execute the program by the computer 02.

【0013】図2は、画面帳票ファイル01の定義デー
タが抽出され統一基準に従って作成されたレイアウト定
義データ33のデータ構成を示す図である。各画面帳票
ファイル01対応に作成されるレイアウト定義データ3
3は、画面帳票ファイル01を作成したアプリケーショ
ンに依存しないデータ形式をもち、共通部定義テーブル
46と詳細部定義テーブル47に区分される。共通部定
義テーブル46は、画面帳票全体についてのレイアウト
定義データであり、論理的な画面の縦横サイズを設定す
る画面サイズ、画面帳票の上下左右の余白部分のサイズ
を設定する余白領域などを有する。詳細部定義テーブル
47は、各データ項目ごとに設定されるデータ項目サイ
ズ、データ項目位置などを有する。ファイル名は画面帳
票ファイル01のファイル名、オブジェクトはチェック
対象とするオブジェクト、設定値はその定義内容につい
て画面帳票ファイル01が設定している値である。
FIG. 2 is a diagram showing the data structure of the layout definition data 33 created according to the unified standard by extracting the definition data of the screen form file 01. Layout definition data 3 created for each screen form file 01
3 has a data format independent of the application that created the screen form file 01, and is divided into a common part definition table 46 and a detailed part definition table 47. The common section definition table 46 is layout definition data for the entire screen form, and has a screen size for setting the vertical and horizontal sizes of a logical screen, a margin area for setting the size of the top, bottom, left, and right margins of the screen form. The detailed part definition table 47 has a data item size, a data item position, and the like set for each data item. The file name is the file name of the screen form file 01, the object is the object to be checked, and the setting value is the value set in the screen form file 01 for the definition.

【0014】図3は、スタイルガイド制約情報DB11
及びエラーデータ14のデータ構成並びにレイアウト定
義データ33とスタイルガイド制約情報DB11を突き
合わせてチェック処理を実行し、その結果としてチェッ
ク対象オブジェクトの設定値がスタイルガイド制約の基
準値に合致しない場合にエラーデータ14を出力する処
理を説明する図である。スタイルガイド制約情報DB1
1は、画面帳票全体についてのチェック項目である共通
定義項目とデータ項目についてのチェック項目である詳
細定義項目に区分され、各オブジェクトについて基準値
と許容範囲を設定する。許容範囲は基準値から許容され
るズレの範囲を示す。スタイルガイド制約情報DB11
のオブジェクトは、標準のチェック対象オブジェクト
と、各プロジェクトごとに設定される拡張のチェック対
象オブジェクトとから成る。エラーデータ14は、各エ
ラー項目ごとにファイル名、オブジェクト名、そのオブ
ジェクトがデータ項目である場合の位置及びエラー内容
を示す。
FIG. 3 shows a style guide constraint information DB 11.
The data processing of the error data 14 and the layout definition data 33 are compared with the style guide constraint information DB 11 to execute a check process. As a result, if the set value of the object to be checked does not match the reference value of the style guide constraint, the error data FIG. 14 is a diagram for explaining a process of outputting the information 14; Style guide constraint information DB1
1 is divided into a common definition item which is a check item for the entire screen form and a detailed definition item which is a check item for a data item, and sets a reference value and an allowable range for each object. The allowable range indicates a range of deviation from the reference value. Style guide constraint information DB11
Are composed of a standard check target object and an extension check target object set for each project. The error data 14 indicates, for each error item, a file name, an object name, a position when the object is a data item, and an error content.

【0015】図4及び図5は、計算機02が実行する処
理の流れを示すフローチャートである。本処理のプログ
ラムが起動されると、スタイルガイド制約情報DB11
の有無およびその更新状態を判別する(ステップ1
5)。スタイルガイド制約情報DB11の更新状態は、
スタイルガイド制約情報DB11の更新日付やバージョ
ン番号から自動的にあるいは表示装置への表示とユーザ
による指示を介して判定と決定が可能である。スタイル
ガイド制約情報DB11がない場合または更新されてい
ない場合には、スタイルガイド制約読み込み処理を行い
(ステップ16)、最新のスタイルガイド制約情報をス
タイルガイド制約情報DB11に読み込む。
FIGS. 4 and 5 are flowcharts showing the flow of processing executed by the computer 02. When the program of this processing is started, the style guide constraint information DB 11
(Step 1)
5). The update status of the style guide constraint information DB 11 is
Judgment and determination can be made automatically from the update date and version number of the style guide restriction information DB 11 or through display on the display device and instruction from the user. If the style guide constraint information DB 11 does not exist or has not been updated, a style guide constraint reading process is performed (step 16), and the latest style guide constraint information is read into the style guide constraint information DB 11.

【0016】次にチェック対象である画面帳票ファイル
01にアクセスしてそのファイル名称などを読み込み、
本処理プログラムがその画面帳票ファイル01を処理可
能か否か判別する(ステップ17)。例えば画面帳票フ
ァイル01の保存形式が本処理プログラムでは扱えない
アプリケーションの出力する形式であれば処理できな
い。この判定が否(NO)であれば、表示装置上に画面
帳票ファイル01のファイル名称と処理不可能という内
容のメッセージを出力しプログラムの実行を終了する。
本処理プログラムで取り扱い可能であれば、画面帳票フ
ァイル01を作成したアプリケーションを特定し、表示
装置上にチェックする要素のメニューを表示し、ユーザ
による選択入力を受け付ける(ステップ04)。チェッ
クする要素は、画面サイズ、フォント、罫線、余白、各
データ項目の開始位置、データ項目サイズなどのチェッ
ク項目であり、複数要素を選択可能である。
Next, the user accesses the screen form file 01 to be checked and reads its file name and the like.
It is determined whether the processing program can process the screen form file 01 (step 17). For example, if the storage format of the screen form file 01 is a format output by an application that cannot be handled by this processing program, it cannot be processed. If the determination is negative (NO), a file name of the screen form file 01 and a message indicating that processing is impossible are output to the display device, and the execution of the program is terminated.
If it can be handled by this processing program, the application that created the screen form file 01 is specified, a menu of elements to be checked is displayed on the display device, and a selection input by the user is accepted (step 04). The elements to be checked are check items such as a screen size, a font, a ruled line, a margin, a start position of each data item, and a data item size, and a plurality of elements can be selected.

【0017】次に画面帳票ファイル01を読み込み、認
識したアプリケーションに応じてそのアプリケーション
に関する定義データ抽出部に制御を渡し(ステップ0
6)、その定義データ抽出部によって画面帳票定義デー
タ抽出処理を行ってメモリ上にレイアウト定義データ3
3を作成する(ステップ07)。
Next, the screen form file 01 is read, and control is passed to the definition data extracting unit relating to the recognized application in accordance with the recognized application (step 0).
6) The screen form definition data extraction processing is performed by the definition data extraction unit, and the layout definition data 3 is stored in the memory.
3 is created (step 07).

【0018】次に図5に示すチェック処理部08による
チェック処理を行った後、その結果としてレイアウト定
義データ33に、言い換えればチェック対象の画面帳票
ファイル01にスタイルガイド制約に違反する定義が存
在すれば(ステップ18YES)、エラーデータ編集部
12によりエラー内容をエラー出力形式に編集し、エラ
ーデータ14として表示装置又は印刷装置上に出力し
(ステップ19)、処理を終了する。
Next, after a check process is performed by the check processing unit 08 shown in FIG. 5, as a result, a definition violating the style guide restriction exists in the layout definition data 33, in other words, in the screen form file 01 to be checked. If it is (YES in step 18), the error data editing unit 12 edits the contents of the error into an error output format, outputs it as error data 14 to a display device or a printing device (step 19), and ends the processing.

【0019】図5は、チェック処理部08の処理の流れ
を示すフローチャートである。処理は、残りのチェック
要素がある限りステップ22〜ステップ26の処理を繰
り返し、すなわちチェック要素の数だけ各チェック要素
についてステップ22〜26の処理を実行し、チェック
要素がなくなったときチェック処理部08の処理を終了
する(ステップ21、27)。
FIG. 5 is a flowchart showing the flow of the processing of the check processing unit 08. The processing repeats steps 22 to 26 as long as there are remaining check elements, that is, executes steps 22 to 26 for each check element as many as the number of check elements. Is completed (steps 21 and 27).

【0020】チェック処理部08は、まずスタイルガイ
ド制約情報DB11から当該チェック要素に関する標準
のスタイルガイド制約情報を読み込み(ステップ2
2)、その基準値をメモリ上のレイアウト定義データ3
3のチェック対象オブジェクトの設定値と突き合わせて
合致するか否か判定する(ステップ23)。その結果と
して合致しない定義がある場合には(ステップ23YE
S)、該画面帳票ファイル名、オブジェクトの名称、エ
ラーとなった項目の位置およびエラー内容をメモリに格
納する(ステップ13)。
The check processor 08 first reads standard style guide constraint information on the check element from the style guide constraint information DB 11 (step 2).
2) The reference value is used as layout definition data 3 in the memory.
Then, it is determined whether or not the set value matches the set value of the check target object 3 (step 23). As a result, if there is an unmatched definition (step 23YE
S), the screen form file name, the name of the object, the position of the erroneous item, and the error content are stored in the memory (step 13).

【0021】次に本処理が関係するプロジェクト固有の
処理を行うために、スタイルガイド制約情報DB11か
ら当該チェック要素に関するプロジェクト固有のスタイ
ルガイド制約情報を読み込み(ステップ24)、その基
準値をメモリ上のレイアウト定義データ33のチェック
対象オブジェクトの設定値と突き合わせて拡張チェック
処理を行う(ステップ25)。その結果として合致しな
い定義がある場合には(ステップ25YES)、ステッ
プ23の場合と同様にエラー情報をメモリに格納する
(ステップ13)。次にチェック要素の数を1減じ(ス
テップ26)、次のチェック要素に関するチェック処理
を行う。
Next, in order to perform a project-specific process to which the present process relates, the project-specific style guide constraint information related to the check element is read from the style guide constraint information DB 11 (step 24), and its reference value is stored in a memory. An extended check process is performed by matching the set value of the check target object in the layout definition data 33 (step 25). As a result, if there is an unmatched definition (step 25 YES), the error information is stored in the memory as in step 23 (step 13). Next, the number of check elements is reduced by 1 (step 26), and a check process is performed for the next check element.

【0022】図6は、画面帳票定義データ抽出部05の
処理をさらに詳細に説明する図である。画面帳票ファイ
ル01は、それを作成したアプリケーションが規定する
データ形式に依存している。そこで画面帳票定義データ
抽出部05は、各画面帳票作成アプリケーションに対応
するレイアウト定義データ抽出部07を設け、画面帳票
ファイル01のファイル名称などによって識別されたア
プリケーションに基づいてレイアウト定義データ抽出部
07の処理を振り分ける(ステップ06)。各レイアウ
ト定義データ抽出部07は、読み込まれた画面帳票ファ
イル01から画面帳票作成アプリケーションに依存しな
い共通のデータ形式をもつ定義データを作成し、レイア
ウト定義データ33を出力する。例えば該画面帳票がA
社製の画面帳票作成アプリケーションで作成されていた
場合は、アプリケーション別処理振り分け部06で、そ
の画面帳票ファイルをA社製画面帳票レイアウト定義デ
ータ抽出部07−1で処理するように処理を振り分け、
その画面帳票がB社製の画面帳票作成アプリケーション
で作成されていた場合は、B社製画面帳票レイアウト定
義データ抽出部07−2で処理するように処理を振り分
けることによって、画面帳票作成アプリケーションに依
存しない共通のインタフェースでレイアウト定義データ
の抽出を実現する。レイアウト定義データ抽出部07
は、共通定義データ抽出処理部28と詳細定義データ抽
出処理部29に区分される。共通定義データ抽出処理部
28は画面帳票ファイル01の定義情報及び設定値から
共通部定義テーブル46を生成し、詳細定義データ抽出
処理部29は同定義情報及び設定値から詳細部定義テー
ブル47を生成する。
FIG. 6 is a diagram for explaining the processing of the screen form definition data extraction unit 05 in more detail. The screen form file 01 depends on the data format defined by the application that created it. Therefore, the screen form definition data extraction unit 05 is provided with a layout definition data extraction unit 07 corresponding to each screen form creation application, and based on the application identified by the file name of the screen form file 01 and the like, the layout form data extraction unit 07 The process is distributed (step 06). Each layout definition data extraction unit 07 creates definition data having a common data format independent of the screen form creation application from the read screen form file 01, and outputs the layout definition data 33. For example, if the screen form is A
When the screen form file is created by the company-based screen form creation application, the application-specific processing sorting unit 06 sorts the processing so that the screen form file is processed by the company A screen form layout definition data extraction unit 07-1.
If the screen form is created by the screen form creation application manufactured by Company B, the processing is distributed to be processed by the screen form layout definition data extraction unit 07-2 manufactured by Company B, so that the screen form creation application is dependent on the screen form creation application. Realize extraction of layout definition data with a common interface that does not. Layout definition data extraction unit 07
Are divided into a common definition data extraction processing unit 28 and a detailed definition data extraction processing unit 29. The common definition data extraction processing unit 28 generates a common unit definition table 46 from the definition information and setting values of the screen form file 01, and the detailed definition data extraction processing unit 29 generates a detailed unit definition table 47 from the definition information and setting values. I do.

【0023】図7は、チェック処理部08の構成を示す
図である。チェック処理部08は、標準チェック処理部
09と拡張チェック処理部10とを組み込んでいる。標
準チェック処理部09は、共通部定義テーブル46を参
照し画面帳票全体に関する定義情報をチェックする共通
定義チェック処理部30と、詳細部定義テーブル47を
参照しその画面に配置された各データ項目に関する定義
情報をチェックする詳細定義チェック処理部31から構
成されている。共通定義チェック処理部30は、データ
入出力インタフェースを共通とする単体のチェック処理
コンポーネント34〜38から構成され、チェック処理
への入力データとチェック処理の出力結果の形式を共通
とするため、単体のチェック処理コンポーネントの仕様
変更および追加仕様登録に対応することができる。例え
ば余白の領域チェックを行う余白チェック処理部37の
内容をバージョンアップした場合は、これのみをバージ
ョンアップされた余白チェック処理部37と入れ替える
ことによって、チェック処理の変更を吸収することがで
きる。このように個々のチェック処理を独立させること
で、チェック機能のバージョンアップに容易に対応する
ことが可能である。なおユーザ追加項目処理部38は、
画面帳票全体に関してユーザによって追加されたチェッ
ク項目についてチェック処理する。
FIG. 7 is a diagram showing the configuration of the check processing unit 08. The check processing unit 08 incorporates a standard check processing unit 09 and an extended check processing unit 10. The standard check processing section 09 refers to the common section definition table 46 and checks definition information relating to the entire screen form, and refers to the detailed section definition table 47 and relates to each data item arranged on the screen. It comprises a detailed definition check processing unit 31 for checking definition information. The common definition check processing unit 30 is composed of a single check processing component 34 to 38 having a common data input / output interface, and since the format of the input data to the check processing and the format of the output result of the check processing are common, It is possible to respond to specification change and registration of additional specifications of the check processing component. For example, when the contents of the margin check processing unit 37 that performs a margin area check are upgraded, the change of the check processing can be absorbed by replacing only this with the upgraded margin check processing unit 37. By making the individual check processes independent in this way, it is possible to easily cope with a version upgrade of the check function. The user additional item processing unit 38
Check processing is performed on the check items added by the user for the entire screen form.

【0024】詳細定義チェック処理部31の項目タイプ
チェック処理部42は、データ項目が数字フィールド、
文字フィールドなどの属性についてチェックする。また
表示形式処理部43は、例えば年月日を示す数字の表示
形式、桁数の多い数字のカンマ(,)付きの表示形式な
どについてチェックする。ユーザ追加項目処理部44
は、各データ項目に関してユーザによって追加されたチ
ェック項目についてチェック処理する。詳細定義チェッ
ク処理部31も共通定義チェック処理部30と同様に、
データ入出力インタフェースを共通とする独立チェック
コンポーネント40〜44から構成されており、チェッ
クコンポーネントのバージョンアップに容易に対応する
ことができる。またユーザが新たにチェック機能を追加
する場合も、ユーザ追加項目処理部44を新たなチェッ
ク機能を組み込んだユーザ追加項目処理部44と入れ替
えるか、または別のユーザ追加項目処理部44を追加登
録することによって、チェック機能を容易に追加するこ
とが可能である。
The item type check processing section 42 of the detailed definition check processing section 31 has a data item of a numeric field,
Check for attributes such as character fields. Further, the display format processing unit 43 checks, for example, a display format of a number indicating a date, a display format of a number having a large number of digits with a comma (,), and the like. User additional item processing unit 44
Performs a check process on check items added by the user for each data item. Like the common definition check processing unit 30, the detailed definition check processing unit 31
It is composed of independent check components 40 to 44 having a common data input / output interface, and can easily cope with version upgrade of the check component. Also, when a user newly adds a check function, the user additional item processing section 44 is replaced with a user additional item processing section 44 incorporating a new check function, or another user additional item processing section 44 is additionally registered. This makes it possible to easily add a check function.

【0025】以上述べたように本実施形態によれば、ユ
ーザは出力されたエラーデータ14を参照することによ
って、対象とする画面や帳票についてスタイルガイド制
約に合致しない箇所を容易に把握することができるた
め、画面レイアウトの統一にかかる工数を軽減すること
が可能となる。またスタイルガイド制約情報DB11に
定義されたすべての内容をチェックするのではなく、選
択されたチェック要素についてチェック処理を行うた
め、最初は緩いチェック条件を設定して画面レイアウト
全体を統合する共通定義データのチェック処理を行い、
次にレイアウトが類似する画面について厳密なチェック
要素を選択して詳細定義データのチェック処理を行うこ
とによって、画面帳票の使用目的に応じた自由度の高い
チェックを行うことが可能となり、レイアウト統一を効
率よく進めることができる。
As described above, according to the present embodiment, by referring to the output error data 14, the user can easily grasp a portion of the target screen or form that does not match the style guide restriction. Therefore, it is possible to reduce the number of steps required for unifying the screen layout. Also, since not all the contents defined in the style guide constraint information DB 11 are checked, but a check process is performed for the selected check element, first, a loose check condition is set and common definition data for integrating the entire screen layout. Check processing of
Next, by selecting strict check elements for screens with similar layouts and performing detailed definition data check processing, it is possible to perform checks with a high degree of freedom according to the purpose of use of the screen form. It can proceed efficiently.

【0026】[0026]

【発明の効果】本発明による第1の効果は、複数の画面
帳票作成者によって作成された画面帳票のレイアウトが
スタイルガイド制約に従って作成されているかどうかを
チェックする処理が容易になることである。画面作成時
は、画面作成者はスタイルガイド制約のアウトラインの
み理解した上で画面帳票を作成し、作成終了後、最初は
緩いチェック要素で画面帳票の大まかなレイアウトチェ
ックを行ない、次に詳細なチェック要素を適用して厳密
なレイアウトチェックを行なうことで、効率よくレイア
ウトの統一を図ることができる。
A first effect of the present invention is that the process of checking whether or not the layout of a screen form created by a plurality of screen form creators is created in accordance with the style guide restriction is facilitated. When creating a screen, the screen creator creates a screen form after understanding only the outline of the style guide constraints, and after completing the creation, first performs a rough layout check of the screen form with loose check elements, and then performs a detailed check By performing a strict layout check by applying elements, the layout can be efficiently unified.

【0027】第2の効果として、異なる画面作成アプリ
ケーションを使用して画面帳票を作成した場合も統一基
準に従ってレイアウトを統一することが可能な点であ
る。異なるGUIビルドアプリケーションが混在する環
境においても、設計アプリケーションごとに画面帳票の
定義データを抽出する処理を用意し、定義データを統一
書式で抽出することによって、同一のスタイルガイド制
約情報を適用してレイアウトの統一を図ることができ
る。
A second effect is that the layout can be unified in accordance with the unified standard even when screen forms are created using different screen creation applications. Even in an environment where different GUI build applications are mixed, a process for extracting the definition data of the screen form is prepared for each design application, and the same style guide constraint information is applied by extracting the definition data in a uniform format. Can be unified.

【0028】第3の効果として、既存のシステム資産を
効率良く流用し活用することが可能な点である。従来の
システムでは画面作成時にスタイルガイド制約との整合
性をチェックするため、従来システムの画面が多数存在
する場合には、画面一つ一つを画面作成アプリケーショ
ンで開いてチェックする作業に手間がかかる。本発明で
は、チェック条件を多段階設定し、多数の画面を纏めて
チェックすることが可能であるため、既存のシステム資
産の解析と修正ポイントを速やかに把握することができ
る。
A third effect is that existing system assets can be efficiently diverted and utilized. In the conventional system, since the consistency with the style guide restriction is checked at the time of screen creation, if there are many screens of the conventional system, it takes time to open and check each screen with the screen creation application . According to the present invention, since check conditions can be set in multiple stages and a large number of screens can be checked at once, analysis of existing system resources and correction points can be quickly grasped.

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

【図1】実施形態の画面帳票チェックを行う計算機の構
成を示す図である。
FIG. 1 is a diagram illustrating a configuration of a computer that performs a screen report check according to an embodiment.

【図2】実施形態のレイアウト定義データ33のデータ
構成を示す図である。
FIG. 2 is a diagram illustrating a data configuration of layout definition data 33 according to the embodiment.

【図3】実施形態のチェック処理を説明する図である。FIG. 3 is a diagram illustrating a check process according to the embodiment.

【図4】実施形態の処理の流れを示すフローチャートで
ある。
FIG. 4 is a flowchart illustrating a flow of a process according to the embodiment.

【図5】実施形態の処理の流れを示すフローチャート
(続き)である。
FIG. 5 is a flowchart (continued) showing the flow of processing of the embodiment.

【図6】実施形態の画面帳票定義データ抽出部05の処
理を詳細に説明する図である。
FIG. 6 is a diagram describing in detail a process of a screen form definition data extraction unit 05 of the embodiment.

【図7】実施形態のチェック処理部08の構成を示す図
である。
FIG. 7 is a diagram illustrating a configuration of a check processing unit 08 according to the embodiment.

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

01:画面帳票ファイル、03:画面帳票作成アプリケ
ーション判別部、04:チェック要素選択部、05:画
面帳票定義データ抽出部、06:アプリケーション別処
理振り分け部、07:レイアウト定義データ抽出部、0
8:チェック処理部、11:スタイルガイド制約情報D
B、33:レイアウト定義データ
01: screen form file, 03: screen form creation application discriminating section, 04: check element selecting section, 05: screen form definition data extracting section, 06: application-specific processing distribution section, 07: layout definition data extracting section, 0
8: Check processing unit, 11: Style guide constraint information D
B, 33: layout definition data

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】電子計算機を利用して画面ファイルに設定
されるレイアウトがレイアウトに関する制約を設定する
スタイルガイド制約に合致するか否かチェックする方法
において、前記画面ファイルを作成したアプリケーショ
ンを識別し、識別された前記アプリケーションに対応す
る処理によって前記画面ファイルからレイアウトを定義
する情報を抽出して統一基準に従ったレイアウト定義デ
ータを作成し、作成された前記レイアウト定義データを
前記スタイルガイド制約と突き合わせることによって前
記画面ファイルのレイアウトをチェックすることを特徴
とする画面レイアウトのチェック方法。
1. A method for checking whether a layout set in a screen file using a computer conforms to a style guide constraint for setting a constraint related to a layout, comprising: identifying an application that created the screen file; Information defining a layout is extracted from the screen file by processing corresponding to the identified application to create layout definition data according to a unified standard, and the created layout definition data is matched with the style guide constraint. Checking a layout of the screen file by checking the layout of the screen file.
【請求項2】前記スタイルガイド制約が設定する複数の
チェック項目のうち、ユーザによって指定されたチェッ
ク項目についてチェックすることを特徴とする請求項1
記載の画面レイアウトのチェック方法。
2. The method according to claim 1, wherein a check item specified by a user is checked among a plurality of check items set by the style guide constraint.
How to check the described screen layout.
【請求項3】前記スタイルガイド制約が設定するチェッ
ク項目は、大別して画面全体を対象とするチェック項目
と、データ項目についてのチェック項目とから構成され
ることを特徴とする請求項1記載の画面レイアウトのチ
ェック方法。
3. The screen according to claim 1, wherein the check items set by the style guide constraint are roughly divided into check items for the entire screen and check items for data items. How to check the layout.
【請求項4】計算機読み取り可能な記憶媒体上に格納さ
れ計算機によって実行されるプログラムであり、下記機
能をもつプログラムを格納する記憶媒体: (a)画面情報を格納する画面ファイルにアクセスして
該画面ファイルを作成したアプリケーションを識別する
機能; (b)識別された該アプリケーションに対応する処理に
よって該画面ファイルからレイアウトを定義する情報を
抽出して統一基準に従ったレイアウト定義データを作成
する機能;および (c)作成された該レイアウト定義データとレイアウト
に関する制約を設定するスタイルガイド制約とを突き合
わせることによって該画面ファイルのレイアウトをチェ
ックする機能。
4. A storage medium for storing a program stored on a computer-readable storage medium and executed by the computer, the program having the following functions: (a) accessing a screen file for storing screen information, A function of identifying an application that has created the screen file; (b) a function of extracting information defining a layout from the screen file by a process corresponding to the identified application and creating layout definition data according to a unified standard; And (c) a function of checking the layout of the screen file by matching the created layout definition data with a style guide constraint for setting a constraint on the layout.
【請求項5】さらに前記スタイルガイド制約が設定する
複数のチェック項目のうち、ユーザによって指定された
チェック項目についてチェックする機能を有することを
特徴とする請求項4記載のプログラムを格納する記憶媒
体。
5. A storage medium for storing a program according to claim 4, further comprising a function of checking a check item specified by a user among a plurality of check items set by said style guide constraint.
JP2000203096A 2000-06-30 2000-06-30 Method for checking screen document layout Pending JP2002024748A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000203096A JP2002024748A (en) 2000-06-30 2000-06-30 Method for checking screen document layout

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000203096A JP2002024748A (en) 2000-06-30 2000-06-30 Method for checking screen document layout

Publications (1)

Publication Number Publication Date
JP2002024748A true JP2002024748A (en) 2002-01-25

Family

ID=18700538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000203096A Pending JP2002024748A (en) 2000-06-30 2000-06-30 Method for checking screen document layout

Country Status (1)

Country Link
JP (1) JP2002024748A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019053631A (en) * 2017-09-19 2019-04-04 カシオ計算機株式会社 Program and information processing apparatus
JP2022066562A (en) * 2017-09-19 2022-04-28 カシオ計算機株式会社 Program and information processing apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019053631A (en) * 2017-09-19 2019-04-04 カシオ計算機株式会社 Program and information processing apparatus
JP7043763B2 (en) 2017-09-19 2022-03-30 カシオ計算機株式会社 Programs and information processing equipment
JP2022066562A (en) * 2017-09-19 2022-04-28 カシオ計算機株式会社 Program and information processing apparatus

Similar Documents

Publication Publication Date Title
US6289254B1 (en) Parts selection apparatus and parts selection system with CAD function
US6964010B1 (en) Formatted-item list control
US7882441B2 (en) Apparatus for interoperation between legacy software and screen reader programs
US6243835B1 (en) Test specification generation system and storage medium storing a test specification generation program
US20080195377A1 (en) Method, device, and program product for verifying translation in resource file
US20050005239A1 (en) System and method for automatic insertion of cross references in a document
EP1879106A2 (en) Source code generation method, apparatus and program
JP3521147B2 (en) User interface customizing method and apparatus
US7921138B2 (en) Comment processing
CN113050938A (en) Visual software development system, method, device and computer storage medium
JP5747698B2 (en) Requirements management support device
AU2017218166B2 (en) Method of computerized presentation of a document set view for auditing information and managing sets of multiple documents and pages
US7689911B2 (en) Highlight rendering services component for an extensible editor
JP2002024748A (en) Method for checking screen document layout
US20050216835A1 (en) Drawing input apparatus, drawing input program and drawing input method
US20050010548A1 (en) Automatic file generating apparatus, method, program and record medium
JP6251860B2 (en) Information management apparatus and file management method
JPH1097417A (en) Program assembling device and storage medium
JP4957043B2 (en) Information processing apparatus, program, and business application introduction method
JP3540241B2 (en) Application startup menu definition file generation device and application startup menu generation device
US7222118B2 (en) Computer program product for accessing database, recording medium recording database access program therein, and database access method
JP2002366880A (en) Device and method for frame editing and storage medium stored with computer-readable program
JP3371434B2 (en) Layout editing device
JP2604551B2 (en) File dump output support method
JP2003281123A (en) Electronic application form preparing tool, method and program for preparing electronic application form