JP3033641B2 - Position check method on the editor - Google Patents

Position check method on the editor

Info

Publication number
JP3033641B2
JP3033641B2 JP4228203A JP22820392A JP3033641B2 JP 3033641 B2 JP3033641 B2 JP 3033641B2 JP 4228203 A JP4228203 A JP 4228203A JP 22820392 A JP22820392 A JP 22820392A JP 3033641 B2 JP3033641 B2 JP 3033641B2
Authority
JP
Japan
Prior art keywords
error
information
check
range
checking
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.)
Expired - Lifetime
Application number
JP4228203A
Other languages
Japanese (ja)
Other versions
JPH0676038A (en
Inventor
雅人 山本
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.)
NEC Software Hokuriku Ltd
Original Assignee
NEC Software Hokuriku 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 NEC Software Hokuriku Ltd filed Critical NEC Software Hokuriku Ltd
Priority to JP4228203A priority Critical patent/JP3033641B2/en
Publication of JPH0676038A publication Critical patent/JPH0676038A/en
Application granted granted Critical
Publication of JP3033641B2 publication Critical patent/JP3033641B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明はエディタ上での位置チェ
ック方式、特に帳票レイアウトエディタでレイアウト上
の要素の位置をチェックするためのエディタ上での位置
チェック方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a position check method on an editor, and more particularly to a position check method on an editor for checking the position of an element on a layout in a form layout editor.

【0002】[0002]

【従来の技術】従来、帳票レイアウトエディタでは、要
素を定義したときに定義した要素の構文チェックのみを
行なっていて、定義した要素が定義すべき範囲内に収ま
っているか否かや、定義した要素が他の要素と重なって
いるか否かの位置に関するエラーチェックを行なってい
なく、コンパイル時にエラーを検出するとか、正しく印
字されなかったとき、初めて利用者がエラーを知るよう
になっている。
2. Description of the Related Art Conventionally, a form layout editor only checks the syntax of an element defined at the time of defining the element, and checks whether the defined element is within a range to be defined. Does not perform error checking on the position of whether or not it overlaps with other elements, and the user will know the error only when an error is detected at compile time or when it is not printed correctly.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の帳票レ
イアウトエディタのエラーチェックでは、定義した要素
が定義すべき範囲内に収まっているか否かや、定義した
要素が他の要素と重なっているか否かのエラーチェック
を行っていないため、定義した要素が定義すべき範囲内
に収まっていなかったり、定義した要素が他の要素と重
なっていてもエラーにならないため、利用者はコンパイ
ルしてしまい、コンパイルエラーが発生したり、コンパ
イルがエラーなしで終了しても、実際にプリンターに帳
票を出力してみると、帳票レイアウト画面上のイメージ
と実際の実行イメージとが異なってしまうことがある。
そこで、利用者は再び帳票レイアウトエディタを起動し
て、エラーの発生した要素、または印字されなかった要
素を再定義しなければならないという欠点がある。
In the above-described error check of the conventional form layout editor, it is determined whether or not a defined element falls within a range to be defined, and whether or not a defined element overlaps another element. Since the error check is not performed, the user compiles because the defined element does not fall within the range to be defined or an error does not occur even if the defined element overlaps with other elements, Even if a compile error occurs or the compile is completed without error, when the form is actually output to the printer, the image on the form layout screen may be different from the actual execution image.
Therefore, there is a disadvantage that the user has to re-start the form layout editor and redefine the element in which the error has occurred or the element which has not been printed.

【0004】[0004]

【課題を解決するための手段】本発明のエディタ上での
位置チェック方式は、帳票レイアウトエディタのレイア
ウト上の要素の位置をチェックするエディタ上での位置
チェック方式において、レイアウト上に定義された要素
の指定位置および大きさを含む要素情報を取得する要素
情報取得手段と、この要素情報取得手段が取得した第1
の要素とこの要素にツリー構造的にポインタにより指定
される第2の要素との前記要素情報について範囲の関係
をチェックする要素範囲チェック手段と、前記第1の要
素の要素情報から得られる範囲に他の要素が定義されて
いないかをチェックする要素重なりチェック手段と、前
記要素範囲チェック手段およびこの要素重なりチェック
手段で検出したエラーに関するエラー情報をエディタ画
面上に表示するエラー表示手段とを有して構成され、前
記要素範囲チェック手段及び要素重なりチェック手段は
要素情報含む文をコンパイルする前に事前チェックし、
検出エラー情報を表示することを特徴とする。
According to the present invention, there is provided a position check method on an editor for checking a position of an element on a layout of a form layout editor. Element information acquiring means for acquiring element information including the designated position and size of the first element, and the first information acquired by the element information acquiring means.
Element and designated by tree structurally pointer to this element of
Element range checking means for checking a range relationship of the element information with the second element to be performed, and an element for checking whether another element is not defined in the range obtained from the element information of the first element and check means overlap is constituted by organic and error display means for displaying the element range check means and the error information about errors detected by checking means this element overlapping the editor screen, before
The element range check means and the element overlap check means
Before compiling a statement containing element information,
Characterized that you display the detected error information.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。
Next, the present invention will be described with reference to the drawings.

【0006】図1は本発明の一実施例の構成図である。
図1の実施例は従来の構文的なエラーチェックを行う構
文チェック手段1、要素の指定位置および大きさを含む
要素情報を取得する要素情報取得手段2、定義した要素
Aの要素情報Aと要素Aとツリー構造的に直接ポインタ
で指定されている(以下関係付いているという)要素B
の要素情報Bとの二つの要素情報から、両要素の位置お
よび大きさが妥当であるかの範囲のチェックを行う要素
範囲チェック手段3、定義した要素Aの要素情報Aの範
囲内に、別の要素が重なって定義されていないかをチェ
ックする要素重なりチェック手段4、エラーチェック中
にエラーが発生したとき、エラー情報を記憶するエラー
情報記憶手段5、エラーチェック終了後、エラー情報記
憶手段5によって記憶されたエラー情報を参照して、帳
票レイアウト画面上にエラーメッセージを表示するエラ
ー情報表示手段6、および以上の手段を含む帳票レイア
ウトエディタ10から構成される。
FIG. 1 is a configuration diagram of an embodiment of the present invention.
In the embodiment shown in FIG. 1, a conventional syntax checking means 1 for performing a syntactical error check, an element information obtaining means 2 for obtaining element information including a designated position and a size of an element, element information A and an element of a defined element A An element B that is specified directly by a pointer in the tree structure with A (hereinafter referred to as being related)
Element range checking means 3 for checking whether the position and size of both elements are appropriate based on the two pieces of element information B and element information B. Element overlap checking means 4 for checking whether or not elements are defined overlapping, error information storing means 5 for storing error information when an error occurs during error checking, and error information storing means 5 after error checking. An error information display means 6 for displaying an error message on a form layout screen with reference to the error information stored by the system, and a form layout editor 10 including the above means.

【0007】先ず、以上の構成における全体の処理につ
いて説明すると、利用者は帳票レイアウト画面上に要素
を定義する。すると帳票レイアウトエディタ10は、定
義した要素Aに対して構文チェック手段1により構文チ
ェックを行う。構文チェック手段1でエラーが発生しな
かったときは、要素情報取得手段2によって定義した要
素Aおよび要素Aに関係付いている要素Bのそれぞれの
要素情報Aおよび要素情報Bを取得する。要素範囲チェ
ック手段3は、要素情報取得手段2で取得した二つの要
素情報を参照して、要素Aと要素Bとの範囲をチェック
する。その後、要素重なりチェック手段4により定義し
た要素Aの要素情報Aの範囲内に別の要素が重なって定
義されていないかをチェックする。これらのエラーチェ
ック中にエラーが発生した場合は、エラー情報記憶手段
5によってエラー情報が記憶され、エラーチェックが終
了すると、エラー情報表示手段6がエラー情報設定手段
5によって設定されたエラー情報を参照して帳票レイア
ウト画面上にエラーメッセージを表示する。エラーメッ
セージを表示することにより、利用者はコンパイル時に
エラーが発生するとか、または印字されないかもしれな
いということを知る。 次に、要素間の位置チェックに
ついて更に説明を進める。要素情報取得手段2は定義し
た要素Aの要素情報A(位置指定、大きさ)を取得する
が、取得しようとしている要素がプリンタに印字される
ものである項目、罫線、固定見出し(以下、印字項目と
いう)のときは、印字項目の指定位置、1文字の大き
さ、桁数を求めて要素の大きさを求める。なお、取得し
ようのしている要素が罫線のときは、開始位置、終了位
置、線幅を求めて要素の大きさを求める。また、取得し
ようとしている要素がプリンタに印字されない印字項目
の範囲を表したもの(以下、構成枠という)のときは、
構成枠の開始位置、終了位置を求めて要素の大きさとす
る。更に、定義した要素Aに関係付いている要素があれ
ば、関係付いている要素Bの要素情報B(指定位置、大
きさ)を取得する。次に、要素範囲チェック手段3は取
得した二つの要素情報を参照して二つの要素の範囲のチ
ェックを行う。図2は関係付いている二つの要素のエラ
ーの場合を示していて、この例では構成枠内に入るべき
印字項目が入っていないのでエラー情報記憶手段5によ
ってエラー情報が記憶される。次に、要素重なりチェッ
ク手段4が要素情報取得手段2で取得した要素情報Aの
範囲内(大きさ)をもとに要素の重なりチェックを行
う。要素重なりチェック手段4は、定義した要素Aの要
素情報Aの範囲内に定義されている自分自身以外の要素
があるかを調べ自分自身以外のものがあればそれが重な
っていいのかを調べて、図3に二つの印字項目が重なっ
ている場合を示すように、重なってはいけないものの場
合は、要素範囲チェック手段3と同様にエラー情報記憶
手段5によってエラー情報が記憶される。エラーチェッ
ク終了後、エラー情報表示手段6は、エラー情報記憶手
段5に記憶されたエラー情報を参照して、帳票レイアウ
ト画面上にエラーメッセージを表示する。
First, the overall processing in the above configuration will be described. The user defines elements on a form layout screen. Then, the form layout editor 10 performs a syntax check on the defined element A by the syntax check unit 1. If no error has occurred in the syntax checking means 1, the element information A and the element information B of the element A associated with the element A defined by the element information obtaining means 2 are obtained. The element range checking unit 3 checks the range between the element A and the element B with reference to the two pieces of element information acquired by the element information acquiring unit 2. Thereafter, it is checked whether another element is defined in the range of the element information A of the element A defined by the element overlap checking means 4. If an error occurs during these error checks, the error information is stored in the error information storage means 5, and when the error check is completed, the error information display means 6 refers to the error information set by the error information setting means 5. And display an error message on the form layout screen. By displaying the error message, the user knows that an error has occurred during compilation or may not be printed. Next, the position check between elements will be further described. The element information acquisition means 2 acquires the element information A (position designation, size) of the defined element A. The element, the ruled line, and the fixed heading (hereinafter referred to as “print”) in which the element to be acquired is to be printed on the printer. In this case, the size of the element is determined by determining the designated position of the print item, the size of one character, and the number of digits. If the element to be obtained is a ruled line, the size of the element is obtained by obtaining the start position, the end position, and the line width. Also, when the element to be obtained represents a range of print items that cannot be printed by the printer (hereinafter, referred to as a component frame),
The starting position and the ending position of the component frame are obtained and set as the element size. Further, if there is an element related to the defined element A, the element information B (designated position, size) of the related element B is acquired. Next, the element range checking means 3 checks the range of the two elements with reference to the obtained two element information. FIG. 2 shows a case of an error in two related elements. In this example, the error information is stored by the error information storage means 5 because there is no print item to be included in the configuration frame. Next, the element overlap check unit 4 checks the overlap of the elements based on the range (size) of the element information A acquired by the element information acquisition unit 2. The element overlap checking means 4 checks whether there is an element other than itself defined within the range of the element information A of the defined element A, and if there is something other than itself, checks whether it can overlap. As shown in FIG. 3, when two print items overlap each other, the error information is stored by the error information storage unit 5 in the same manner as the element range check unit 3 if the print items do not overlap. After the error check, the error information display means 6 refers to the error information stored in the error information storage means 5 and displays an error message on the form layout screen.

【0008】[0008]

【発明の効果】以上説明したように本発明は、要素の定
義時に要素の位置チェックを行うことにより、コンパイ
ルエラーや実行時に印字できない要素が発見されること
を未然に検出することができ、実行を含む仕様の作成時
間が短くて済むという効果がある。
As described above, according to the present invention, by checking the position of an element at the time of defining the element, it is possible to detect a compile error or the discovery of an unprintable element at the time of execution. This has the effect of reducing the time required to create a specification including.

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

【図1】本発明の一実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】図1の実施例を説明するための要素の定義例を
示す図である。
FIG. 2 is a diagram showing a definition example of elements for explaining the embodiment of FIG. 1;

【図3】図1の実施例を説明するための要素の定義例を
示す図である。
FIG. 3 is a diagram showing an example of definition of elements for explaining the embodiment of FIG. 1;

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

1 構文チェック手段 2 要素情報取得手段 3 要素範囲チェック手段 4 要素重なりチェック手段 5 エラー情報記憶手段 6 エラー表示手段 7 帳票レイアウトエディタ DESCRIPTION OF SYMBOLS 1 Syntax check means 2 Element information acquisition means 3 Element range check means 4 Element overlap check means 5 Error information storage means 6 Error display means 7 Form layout editor

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 帳票レイアウトエディタのレイアウト上
の要素の位置をチェックするエディタ上での位置チェッ
ク方式において、レイアウト上に定義された要素の指定
位置および大きさを含む要素情報を取得する要素情報取
得手段と、この要素情報取得手段が取得した第1の要素
とこの要素にツリー構造的にポインタにより指定される
第2の要素との前記要素情報について範囲の関係をチェ
ックする要素範囲チェック手段と、前記第1の要素の要
素情報から得られる範囲に他の要素が定義されていない
かをチェックする要素重なりチェック手段と、前記要素
範囲チェック手段およびこの要素重なりチェック手段で
検出したエラーに関するエラー情報をエディタ画面上に
表示するエラー表示手段とを有し、前記要素範囲チェッ
ク手段及び要素重なりチェック手段は要素情報含む文を
コンパイルする前に事前チェックし、検出エラー情報を
表示することを特徴とするエディタ上での位置チェック
方式。
In a position check method on an editor for checking the position of an element on a layout of a form layout editor, element information acquisition for acquiring element information including a designated position and a size of an element defined on the layout. element checking means, the relationship between the range for the element information of the first element and <br/> second element specified by the tree structure to pointer to this element this element information acquisition unit acquires Range checking means, element overlap checking means for checking whether or not another element is defined in the range obtained from the element information of the first element, element range checking means and the element overlap checking means and a error display means for displaying error information about an error in the editor screen, the element range check
Check means and element overlap check means
Before compiling, check in advance to get the detection error information.
Position check method on the editor and said that you display.
JP4228203A 1992-08-27 1992-08-27 Position check method on the editor Expired - Lifetime JP3033641B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4228203A JP3033641B2 (en) 1992-08-27 1992-08-27 Position check method on the editor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4228203A JP3033641B2 (en) 1992-08-27 1992-08-27 Position check method on the editor

Publications (2)

Publication Number Publication Date
JPH0676038A JPH0676038A (en) 1994-03-18
JP3033641B2 true JP3033641B2 (en) 2000-04-17

Family

ID=16872817

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4228203A Expired - Lifetime JP3033641B2 (en) 1992-08-27 1992-08-27 Position check method on the editor

Country Status (1)

Country Link
JP (1) JP3033641B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6391819U (en) * 1986-12-05 1988-06-14
DE68923833T2 (en) * 1988-06-20 1996-06-13 Mitsubishi Electric Corp Optical head with tilt correction servomechanism.

Also Published As

Publication number Publication date
JPH0676038A (en) 1994-03-18

Similar Documents

Publication Publication Date Title
JP3033641B2 (en) Position check method on the editor
CN110543456B (en) Method and device for quickly reading oasis file and computer readable storage medium
JP2004070561A (en) Debugging device
US20230109433A1 (en) Test support method and information processing apparatus
JP3058050B2 (en) Source program modification support device
JP3029368B2 (en) Program error detection method and error detection device
JPH1185536A (en) Device and method for automatically correcting error of source program
JP3608864B2 (en) Typesetting method and apparatus
JPH0916432A (en) Trace data analysis system
JP2752827B2 (en) Debugger processing method
JP2903721B2 (en) Method for assembling test instruction of information processing device
JP2798563B2 (en) Report layout editor error check method
JP2806976B2 (en) Program content inspection device
JPH01187648A (en) Data generating device
JPH05289905A (en) Output system for detailed information of error message at the time of translation
JP2657138B2 (en) Printer
JP5586076B2 (en) Data processing apparatus and program
JP2785567B2 (en) Printer
JPH05334135A (en) Error information display system for abnormal end of program
JPH06259278A (en) System for acquiring debugging information
JPH0836507A (en) Fault investigation system
JPH03255587A (en) Recorder
JPH05189114A (en) Processing method for external filing of operation sequence
JPH07200351A (en) Program debug method and program debug support device
JP2001353939A (en) Image-forming apparatus

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000118

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080218

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090218

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100218

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100218

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110218

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120218

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120218

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130218

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130218

Year of fee payment: 13