JPH03218562A - Definition program creation processing method - Google Patents

Definition program creation processing method

Info

Publication number
JPH03218562A
JPH03218562A JP2014007A JP1400790A JPH03218562A JP H03218562 A JPH03218562 A JP H03218562A JP 2014007 A JP2014007 A JP 2014007A JP 1400790 A JP1400790 A JP 1400790A JP H03218562 A JPH03218562 A JP H03218562A
Authority
JP
Japan
Prior art keywords
item
definition
ruled line
information
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.)
Granted
Application number
JP2014007A
Other languages
Japanese (ja)
Other versions
JPH0690707B2 (en
Inventor
Keiko Nakamura
恵子 中村
Susumu Joho
城寶 進
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP2014007A priority Critical patent/JPH0690707B2/en
Publication of JPH03218562A publication Critical patent/JPH03218562A/en
Publication of JPH0690707B2 publication Critical patent/JPH0690707B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔概 要〕 罫線の情報を含む定義体についての定義体作成処理方式
に関し. 定義体の作成処理を簡略化することを可能とすることを
目的とし, 入力された項目情報及び罫線情報から生成される配置状
態テーブルを設け.当該配置状態テーブルを少なくとも
.一般項目,空白固定リテラル項目及び罫線のみ項目を
示す第1,第2及び第3のフラグからなる構成とし,前
記第1.第2及び第3のフラグによって各々呼び出され
前記格納を行う第1.第2及び第3のプログラムを備え
.定義体格納部が,前記配置状態テーブルを生成すると
共に.これに従って.前記第1.第2及び第3のプログ
ラムを呼び出して前記格納を行うように構成する。
[Detailed Description of the Invention] [Summary] This invention relates to a definition field creation processing method for a definition field including ruled line information. With the aim of simplifying the process of creating a definition field, we have created a layout state table that is generated from input item information and ruled line information. At least the relevant arrangement state table. The configuration is made up of first, second, and third flags indicating general items, fixed blank literal items, and ruled line only items, and the first, second, and third flags indicate general items, fixed-space literal items, and ruled line only items. A first . Equipped with 2nd and 3rd programs. The definition program storage unit generates the arrangement state table. Follow this. Said 1st. The storage is configured to call the second and third programs to perform the storage.

〔産業上の利用分野〕[Industrial application field]

本発明は定義体作成処理方式に関し.更に詳しくは,罫
線の情報を含む定義体についての定義体作成処理方式に
関する。
The present invention relates to a definition field creation processing method. More specifically, the present invention relates to a definition field creation processing method for a definition field including ruled line information.

利用者プログラムの作成を容易にするために,定義体(
所定フォーマットのファイル)が用意される.そして定
義体名をプログラム中に定義することにより.プログラ
ム実行時には.定義体の内容に従った処理が行われる. 〔従来の技術〕 定義体には,例えば表示すべき画面について定義する画
面定義体.印刷したい帳票について定義する帳票定義体
等がある.以下.画面定義体を例に説明する. 画面定義体は.項目についての情報の他に.その用途か
ら.必ず罫線についての情報を含む。この罫線について
の情報は,従来次の如く作成,保持されていた. 第11図ないし第14図は従来技術説明図である。
In order to facilitate the creation of user programs, a definition body (
A file in the specified format) is prepared. And by defining the definition field name in the program. When running the program. Processing is performed according to the contents of the definition field. [Prior Art] Definition bodies include, for example, screen definition bodies that define screens to be displayed. There are form definitions that define the form you want to print. below. This will be explained using a screen definition as an example. The screen definition is. In addition to information about the item. Because of its use. Always includes information about ruled lines. Conventionally, information about this ruled line was created and maintained as follows. FIG. 11 to FIG. 14 are explanatory diagrams of the prior art.

第11図図示の如く.今,画面のn行目において.a桁
目に項目rxxJ,b桁目に項目r99」,C桁目に項
目rNNJが存在し,(a−1)桁自から(b+1)桁
目まで及び(c−1)桁目から所定桁までに罫線(下横
/細線)が存在しているとする。
As shown in Figure 11. Now, on the nth line of the screen. There is an item rxxJ in column a, an item r99 in column b, and an item rNNJ in column C. It is assumed that ruled lines (lower horizontal/thin lines) exist up to this point.

この場合,定義体編集部は.画面上の情報について.項
目管理テーブルと項目/罫線配置状態テーブルを作成し
て管理する。項目管理テーブルは,各項目を管理するた
めに項目毎に設けられ,その詳細情報(例えば.n行a
桁の如き項目の位置や重目長(桁数))を設定する.項
目/罫線配置状態テーブルは.画面分(100行.24
0桁)の大きさの固定されたテーブルであり,項目と罫
線とを共存して管理する。このテーブルは実イメージに
則したものであり.第11図図示の如く,項目が存在す
る桁にはフラグ「K」が,罫線が存在する桁にはフラグ
「L」が設定される.一方.このように項目情報と罫線
情報とから編集された定義体について.定義体格納部が
.所定形式に従って格納し.画面定義体の更新定義体を
得る.ここで.項目のみならず罫線についても,項目テ
ーブル(画面定義体の一部)内に項目として格納する必
要がある。
In this case, the definition body editorial department. About the information on the screen. Create and manage an item management table and an item/rule arrangement status table. The item management table is provided for each item to manage each item, and its detailed information (for example, .n row a
Set the position and weight length (number of digits) of items such as digits. The item/ruled line arrangement status table is. Screen (100 lines.24
This table has a fixed size (0 digits), and manages items and ruled lines together. This table is based on the actual image. As shown in FIG. 11, a flag "K" is set in the column where an item exists, and a flag "L" is set in the column where a ruled line exists. on the other hand. Regarding the definition body edited from item information and ruled line information in this way. Definition field storage section. Store according to the specified format. Obtain the update definition of the screen definition. here. Not only items but also ruled lines need to be stored as items in the item table (part of the screen definition).

この処理を第12図に示す。この処理において,定義体
格納部は.罫線用の共用項目テーブルを作成する.項目
テーブルは,第13図図示の如く,基本,共用及び拡張
の3つのテーブルからなり,更に共用項目テーブルには
,罫線のみ項目用の他,一般項目用や空白固定リテラル
項目用等がある。
This process is shown in FIG. In this process, the definition field storage section is . Create a shared item table for ruled lines. As shown in FIG. 13, the item table consists of three tables: basic, shared, and extended.Furthermore, the shared item table includes items for ruled line only items, general items, fixed blank literal items, etc.

ここで,一般項目とは,前述の項目rxx.,r99J
,rNNJ等を指し.空白固定リテラル項目とは.2桁
以上の罫線を格納するための項目を指す。また罫線のみ
項目は1桁の罫線を格納する。罫線用(罫線のみ項目.
空白固定リテラル項目)共用項目テーブルは.共用項目
テーブルの先頭に設けられ,罫線の種1[(例えば下横
/細線等28種II)分の大きさの固定されたテーブル
である.そして使用される罫線について.所定の情報が
設定される. また.定義体格納部は,先に定義体編集部が作成した項
目/罫線配置状態テーブルを用いて,格納処理を行うプ
ログラム(ルーチン)を呼び出し処理を行わせる.ここ
でフラグ「K」及び「L」の組み合わせから.(i)一
般項目(「KJ)のみ存在.(ii)一般項目及び罫線
(「K」及び「L」)が存在,(i)罫線( ’LJ 
)のみ存在,(iv)一般項目及び罫線とも無し,の4
通りに分類される。(i)及び(ii)の場合.一般項
目用のプログラムが呼び出され,項目テーブルへの格納
処理が行われる.一方.  (ii)の場合,罫線のみ
項目用又は空白固定リテラル項目用のプログラムが呼び
出され.項目テーブルへ.罫線を項目として格納する処
理が行われる. 〔発明が解決しようとする課題〕 前述の従来技術によれば,以下の如き問題がある。
Here, the general items are the aforementioned items rxx. , r99J
, rNNJ, etc. What is a fixed blank literal item? Refers to an item for storing ruled lines of two or more digits. Also, the ruled line only item stores a 1-digit ruled line. For ruled lines (ruled line only item)
Fixed blank literal item) Shared item table. This table is provided at the beginning of the shared item table and has a fixed size for ruled line type 1 (for example, 28 type II such as bottom horizontal/thin line). And regarding the ruled lines used. The specified information is set. Also. The definition program storage section calls the program (routine) that performs the storage process, using the item/ruled line arrangement status table previously created by the definition program editing section. Here, from the combination of flags "K" and "L". (i) Only general items ('KJ) exist. (ii) General items and ruled lines ('K' and 'L') exist; (i) Ruled lines ('LJ) exist.
) only exists, (iv) neither general items nor ruled lines exist, (4)
classified according to street. In the case of (i) and (ii). The program for general items is called and the storage process in the item table is performed. on the other hand. In case (ii), the program for ruled line only items or fixed space literal items is called. Go to item table. The process of storing ruled lines as items is performed. [Problems to be Solved by the Invention] According to the above-mentioned prior art, there are the following problems.

項目/罫線配置状態テーブルが実イメージに則したフラ
グテーブルであるため,定義体格納部が格納処理を行う
際の処理の効率が悪かった。即ちプログラムを呼び出す
ために.フラグが前述の(i)ないし(iv)のいずれ
の場合かを判定しなければならない。また, (山)の
場合には,更に罫線のみ用プログラムを呼び出すのか空
白固定リテラル項目用プログラムを呼び出すのかを判定
しなければならなかった。その上.この時.罫線の存在
する桁の次桁に,罫線及び/又は項目のいずれが存在す
る(しない)のかを確認した上で判定する必要があり,
極めて面倒であった.また項目/罫線配置状態テーブル
の占める領域がかなり大きいという問題があった.例え
ば.1桁分に2ハイトを割り当てると(】00行240
桁として)47●キロハイトもの領域を必要とする。ま
た二〇順目/罫線配置状態テーブルは.定義体編集部が
固定的に持つものであったので,これを省略することは
できなかった.これに加えて定義体編集部において.項
目情報及び罫線情報を管理するために,項目/罫線配置
状態テーブルと項目管理テーブルの2つを用いている.
このため定義体格納部が項目について定義(格納)する
際には.これら2つのテーブルをアクセスする必要があ
り,処理時間が長くなってしまっていた.また,罫線用
の共用項目テーブルは.罫線使用の有無に拘わらず,常
に罫線の種類分だけ固定的な順序で生成されていた.こ
のため.使用しないテーブルまでが生成され,定義体の
サイズを大きくする原因となっていた.このことは罫線
の種類が増す程,大きな問題となる. 本発明は.定義体の作成処理を簡略化することを可能と
した定義体作成処理方式を提供することを目的とする。
Since the item/ruled line arrangement status table is a flag table that conforms to the actual image, the processing efficiency when the definition program storage unit performs storage processing is poor. In other words, to call the program. It is necessary to determine whether the flag is in any of the above cases (i) to (iv). In addition, in the case of (mountain), it was also necessary to determine whether to call a program for only ruled lines or a program for fixed-space literal items. On top of that. At this time. It is necessary to make a judgment after confirming whether a ruled line and/or item exists (or does not exist) in the digit following the digit where a ruled line exists.
It was extremely troublesome. Another problem was that the area occupied by the item/rule placement status table was quite large. for example. Assigning 2 heights to 1 digit (]00 line 240
(as a digit) requires an area of 47 kiloheights. Also, the 20th order/ruled line arrangement status table is. This could not be omitted because it was a fixed feature of the definition editing department. In addition to this, the definition body editorial department. Two items are used to manage item information and ruled line information: an item/ruled line arrangement status table and an item management table.
Therefore, when the definition field storage section defines (stores) an item. It was necessary to access these two tables, which increased processing time. Also, the shared item table for ruled lines is as follows. Regardless of whether or not ruled lines were used, the types of ruled lines were always generated in a fixed order. For this reason. Even unused tables were generated, causing the size of the definition field to increase. This becomes a bigger problem as the number of types of ruled lines increases. The present invention is. An object of the present invention is to provide a definition field creation processing method that makes it possible to simplify the definition field creation process.

また,本発明は,定義体の大きさを縮小化することを可
能とした定義体作成処理方式を提供することを目的とす
る。
Another object of the present invention is to provide a definition field creation processing method that makes it possible to reduce the size of a definition field.

(Iaを解決するための手段〕 第1図は本発明の原理構成図であり,本発明によるデー
タ処理システムを示している。
(Means for Solving Ia) FIG. 1 is a diagram showing the principle configuration of the present invention, and shows a data processing system according to the present invention.

第1図において.1は入出力装置.2は参照定義体,3
は処理装置,4は更新定義体,11はデータ管理部,1
2は項目行管理テーブル.13は!線行管理テーブル.
14は項目セル,15は罫線セル,21は定義体編集部
.31は定義体格納部.32は共用項目スイッチ部,3
3は配置状態テーブル.34ないし36はプログラム,
41は項目テーブル.42は基本項目テーブル,43は
共用項目テーブル,44は拡張項目テーブルである. 定義体編集部21は,入出力装置1から入力された項目
情報及び罫線情報と.読込まれた参照定義体2とから.
更新定義体となるべき新たな定義体を編集する。
In Figure 1. 1 is an input/output device. 2 is a reference definition field, 3
is a processing unit, 4 is an update definition body, 11 is a data management unit, 1
2 is the item line management table. 13 is! Line management table.
14 is an item cell, 15 is a ruled line cell, and 21 is a definition editing section. 31 is a definition field storage section. 32 is a common item switch section, 3
3 is the arrangement state table. 34 to 36 are programs,
41 is an item table. 42 is a basic item table, 43 is a shared item table, and 44 is an extended item table. The definition body editing unit 21 receives item information and ruled line information input from the input/output device 1. From the read reference definition field 2.
Edit the new definition body that should become the update definition body.

人力された項目情報及び罫線情報は,データ管理部11
によって管理される。データ管理部11は.定義体編集
部21によって作成され.以下の構成を有する。即ち各
行の先頭の項目セル14へのポインタを持つ1目用行管
理テーブル12と項目の詳細情報及び同一行の次項目セ
ルl4へのポインタを持つ項目セルl4と.各行の先頭
の罫線セル15へのポインタを持つ罫線用行管理テーブ
ル13と.罫線の詳細情報及び同一行の次罫線セル15
へのポインタを持つ罫線セル15とからなる。
The manually entered item information and ruled line information are stored in the data management section 11.
Managed by. The data management section 11. Created by the definition field editing section 21. It has the following configuration. That is, the first row management table 12 has a pointer to the item cell 14 at the beginning of each row, and the item cell l4 has detailed information of the item and a pointer to the next item cell l4 in the same row. A line management table 13 for ruled lines having a pointer to a ruled line cell 15 at the beginning of each line. Detailed information on ruled line and next ruled line cell 15 in the same row
It consists of a ruled line cell 15 having a pointer to.

定義体格納部31は,このように入力(編集)された項
目情報及び罫線情報を所定の形式の項目テーブル4lに
項目として格納することにより更新定義体4を得る。
The definition body storage unit 31 obtains the updated definition body 4 by storing the inputted (edited) item information and ruled line information as items in the item table 4l in a predetermined format.

配!状態テーブル33は,この格納の際,定義体格納部
31によって.入力された項目情報及び罫線情報から生
成され.少なくとも,一般項目空白固定リテラル項目及
び罫線のみ項目を示す第1,第2及び第3のフラグA,
B及びCからなる。
Delivery! During this storage, the state table 33 is stored by the definition program storage unit 31. It is generated from the input item information and ruled line information. At least first, second, and third flags A indicating general items, fixed-blank literal items, and border-only items;
Consists of B and C.

また.このフラグに対応して,定義体格納部3Iは,第
1.第2及び第3のフラグA, B及びCによって各々
呼び出され前記格納を行う第1,第2及び第3のプログ
ラム34.35及び36を備える. 共用項目スイッチ部32は.前記格納の際に入力された
罫線情報から生成され,罫線の種類の各々に応じたスイ
ッチを備える。このスイッチは,当該罫線の種類が付加
された罫線である時はONとされ,そうでない時はOF
Fとされる。
Also. Corresponding to this flag, the definition program storage unit 3I stores the first. First, second and third programs 34, 35 and 36 are respectively called by second and third flags A, B and C to perform the storage. The shared item switch section 32 is . It is generated from the ruled line information input at the time of storage, and includes a switch corresponding to each type of ruled line. This switch is turned ON when the type of the ruled line is an added ruled line, and turned OFF otherwise.
It is considered F.

〔作 用〕[For production]

項目情報及び罫線情報が入力されると,定義体編集部2
1が,当該入力された項目情報及び罫線情報に基づいて
.前記データ管理部11を作成する。そして.当該入力
されたデータと読込まれた参照定義体2とから.新たな
定義体を編集する。
When the item information and ruled line information are input, the definition editor 2
1 is based on the input item information and ruled line information. The data management section 11 is created. and. From the input data and the read reference definition field 2. Edit the new definition.

このデータ管理部l1において,行管理テーブル12及
び13は固定的ではあるが.セル14及び15は.固定
的でなく入力があった場合にのみこれに応じて作成され
る。従って,セル群16及び17の占める領域は小さく
て済む。この結果従来の項目/罫線配置状態テーブルに
よってデ−夕を管理していた場合に比べ,データ管理部
11の占める領域を小さくできる。
In this data management section l1, the row management tables 12 and 13 are fixed. Cells 14 and 15 are . It is not fixed and is created only in response to input. Therefore, the area occupied by the cell groups 16 and 17 can be small. As a result, the area occupied by the data management section 11 can be made smaller than when data is managed using a conventional item/ruled line arrangement state table.

次に,定義体格納部31が.配置状態テーブル33を生
成すると共に,これに従って,第1.第2及び第3のプ
ログラム34,35.36を呼び出して前記格納を行う
。これにより,更新定義体を得る。
Next, the definition program storage section 31. The arrangement state table 33 is generated, and according to this, the first. The storage is performed by calling the second and third programs 34, 35, and 36. As a result, an update definition body is obtained.

この配置状態テーブル33の生成は.データ管理部11
が前述の如き構成とされているので.容易に行うことが
できる。即ち,データ管理部11が項目と罫線とを別々
に管理しているのでデータの取り扱いが容易である。ま
た,各セル14及び15が詳細情報までを含んでおり.
行管理テーブル12及び13と各セルl4及び15がポ
インタで結ばれているので,一回のアクセスでテーブル
生成に必要なデータを得ることができる。
The generation of this arrangement state table 33 is as follows. Data management section 11
is structured as described above. It can be done easily. That is, since the data management unit 11 manages items and ruled lines separately, data handling is easy. Furthermore, each cell 14 and 15 includes detailed information.
Since the row management tables 12 and 13 and the cells l4 and 15 are connected by pointers, data necessary for table generation can be obtained with a single access.

また プログラム34ないし36の呼び出しにおいては
,配置状態テーブル33が予めプログラム34.35及
び36と一対一に対応するフラグA,B及びCから構成
されるので.プログラム呼び出しのための判定を行う必
要がない。特に,罫線のみ項目と空白固定リテラル項目
とが予め区別されているので,次桁における罫線及び/
又は項目の存在を考える必要がない。従って.単にフラ
グに応じて対応するプログラムを呼び出すのみでよく.
極めて効率良く格納を行うことができる。
Furthermore, when calling the programs 34 to 36, the arrangement state table 33 is composed of flags A, B, and C that correspond one-to-one to the programs 34, 35, and 36 in advance. There is no need to make a determination for program calling. In particular, since ruled line only items and fixed blank literal items are distinguished in advance, the ruled line and /
Or there is no need to consider the existence of the item. Therefore. Simply call the corresponding program according to the flag.
Storage can be performed extremely efficiently.

一方,定義体格納部31が.共用項目用スイッチ部32
に従って.項目テーブル4lの共用項目テーブル43の
うち罫線についてのもの(罫線のみ項目用共用項目テー
ブル)を設ける。即ち,共用項目スイッチ部32のスイ
ッチがONである罫線の種類については罫線のみ項目用
の共用項目テーブル(43)を生成するが,OFFであ
るものについては罫線のみ項目の共用項目テーブル(4
3)を生成しない。
On the other hand, the definition program storage section 31. Common item switch section 32
According to. Among the shared item tables 43 of the item table 4l, a table for ruled lines (a shared item table for items only for ruled lines) is provided. That is, for the types of ruled lines for which the switch of the shared item switch unit 32 is ON, a shared item table (43) for ruled line only items is generated, but for those for which the switch is OFF, a shared item table (43) for ruled line only items is generated.
3) does not generate.

これにより.全ての罫線の種類に応した罫線のみ項目用
共用項目テーブルを固定的に作成していた場合に比べ,
共用項目テーブル43の占める領域を小さくでき.更新
定義体4のサイズを小さくできる。同様なことが.杢白
固定リテラル項目の共用項目テーブルを格納する際にも
いえる.〔実施例〕 (a)  全体の説明 第1図について更に説明する. 参照定義体2は.表示すべき画面又は印刷すべき帳票に
ついて定義する画面又は帳票定義体であり.予め所定の
形式に従って作成され.利用者プログラム作成を容易に
するために提供される.即ち.参照定義体2から更新定
義体4を得て.これを利用者プログラムに組み込むこと
により.所望の処理を行うプログラムを容易に得ること
ができる。
Due to this. Compared to the case where a shared item table for only ruled line items corresponding to all ruled line types was created fixedly,
The area occupied by the shared item table 43 can be reduced. The size of the update definition body 4 can be reduced. Something similar. This also applies when storing a shared item table for heather-white fixed literal items. [Example] (a) Overall explanation Figure 1 will be further explained. Reference definition field 2 is. This is a screen or form definition that defines the screen to be displayed or the form to be printed. It is created in advance according to a predetermined format. Provided to facilitate user program creation. That is. Obtain update definition field 4 from reference definition field 2. By incorporating this into the user program. A program that performs desired processing can be easily obtained.

参照定義体2が処理装置3に読込まれると.その定義内
容に従った画面が,入出力装置1のディスプレイの画面
上に表示される。利用者はこれを見て.例えば所望の行
,桁にカーソルを位置づけて,項目(情報)及び罫線(
情報)を入力する.この入力は.入出力装置lのキーボ
ードから行われる。参照定義体2の読込みは.定義体読
込部(図示せず)が行う. 処理装置3は,中央処理装置(CPU)及びメモリから
なり.参照定義体2から更新定義体4を作成するための
処理を行う.即ち.ファイルから読込んだデータ(参照
定義体2)に入力されたデータ(項目情報及び罫線情報
)を付加し,これを所定のデータ形式に変換してファイ
ルに格納し新たなデータ(更新定義体4)とする. 更新定義体4は.例えば項目情報及び罫線情報を付加し
た画面定義体であり,一旦作成された更新定義体4は再
び参照定義体2として用いられる.参照定義体2及び更
新定義体4は.当該データ処理システム専用のデータと
して用いられるのではなく.定義体開発の労力やデータ
の共用の点から.他のいくつかの異なるシステムにおい
ても用いることができるようにされる.このために定義
体として予め定められた所定のデータ形式を有する.画
面定義体においては,項目及び罫線を項目テーブルに項
目として格納すると共に.項目テーブル4lを基本.共
用及び拡張項目テーブル4243及び44で構成するこ
とが定められている.このため,処理装置3内における
定義体編集部21による定義体の編集の際は当該データ
処理システム固有のデータ構成(例えばデータ管理部1
1の如き)を採用するが.これを定義体格納部31が所
定の形式として格納することによりシステム互換性のあ
る更新定義体4を得ている.なお.帳票定義体において
は.罫線を罫線として.項目とは別に.罫線テーブル(
図示せず)に格納する.本発明は,@票定義体及び画面
定義体の如く,格納処理が異なる場合にも対応可能とす
るものでもある。
When the reference definition body 2 is read into the processing device 3. A screen according to the defined contents is displayed on the display screen of the input/output device 1. Users see this. For example, position the cursor on the desired line and column, and select the item (information) and the ruled line (
information). This input is. This is done from the keyboard of input/output device l. Loading reference definition field 2 is as follows. This is performed by the definition program reading unit (not shown). The processing device 3 consists of a central processing unit (CPU) and memory. Performs processing to create update definition set 4 from reference definition set 2. That is. The input data (item information and ruled line information) is added to the data read from the file (reference definition 2), converted to a predetermined data format, stored in the file, and new data (update definition 4) is added. ). Update definition body 4 is. For example, it is a screen definition with item information and ruled line information added, and the update definition 4 once created is used again as the reference definition 2. The reference definition field 2 and the update definition field 4 are . Rather than being used as data exclusively for the data processing system in question. From the point of view of the labor involved in developing definitions and the sharing of data. It will also be made available for use in several other different systems. For this purpose, it has a predetermined data format as a definition body. In the screen definition, items and ruled lines are stored as items in the item table. Based on item table 4l. It is defined that the table is composed of shared and extended item tables 4243 and 44. Therefore, when editing a definition program by the definition program editing section 21 in the processing device 3, the data structure specific to the data processing system (for example, the data management section
1) will be adopted. By storing this in a predetermined format in the definition storage unit 31, an updated definition 4 having system compatibility is obtained. In addition. In the form definition. Ruled lines as ruled lines. Apart from the items. Ruled table (
(not shown). The present invention is also applicable to cases where storage processing is different, such as the @vote definition and the screen definition.

Φ)項目テーブル(更新定義体)の説明更新定義体4は
.参照定義体2に入力された項目情報及び罫線情報等を
付加したものである.画面定義体においては,項目情報
及び罫線情報は項目テーブル41として付加される. 項目テーブル4lは,第2図図示の如く.3つのテーブ
ルに大別される. 基本項目テーブル42は.各項目(罫線を含む)に固有
の情報(例えば,縦位置,横位置等)を格納すると共に
.共用項目テーブルポインタ及び拡張項目テーブルポイ
ンタを格納する.共用及び拡張項目テーブルポインタは
.各々共用及び拡張項目テーブル43及び44の先頭を
ポイントする. 共用項目テーブル43は,各項目が共用しうる情報(例
えば,項目種別,属性等)を格納する。
Φ) Explanation of item table (update definition body) Update definition body 4 is. Item information and ruled line information input into the reference definition body 2 are added. In the screen definition, item information and ruled line information are added as an item table 41. The item table 4l is as shown in FIG. It is roughly divided into three tables. The basic item table 42 is. It stores information specific to each item (including ruled lines) (e.g. vertical position, horizontal position, etc.). Stores the shared item table pointer and extended item table pointer. Shared and extended item table pointers. Points to the beginning of the shared and extended item tables 43 and 44, respectively. The shared item table 43 stores information that can be shared by each item (for example, item type, attribute, etc.).

拡張項目テーブル44は,固定リテラル項目の文字列,
特殊項目の情報等を格納する.項目テーブル41の詳細
を第3図に示す。なお.この図は第2図図示の如き画面
についてのものである. 即ち画面のn行目において.そのa桁.b桁及びC桁の
各々に填目rXXJ,r99J及び「NN」が存在し(
入力され).また,(a−1)桁から(b+1)桁まで
に第1の罫線(■)が存在し,(c−1)桁から所定の
桁までに第2の罫線(■)が存在している.罫線の種類
は.下横/細線である。
The extended item table 44 contains character strings of fixed literal items,
Stores information on special items, etc. Details of the item table 41 are shown in FIG. In addition. This figure shows the screen shown in Figure 2. That is, on the nth line of the screen. That a digit. Filler marks rXXJ, r99J and "NN" exist in each of the b digit and C digit (
input). Additionally, a first ruled line (■) exists from digit (a-1) to digit (b+1), and a second ruled line (■) exists from digit (c-1) to a predetermined digit. .. What are the types of ruled lines? Bottom horizontal/thin line.

なお.以下の説明においても.この画面と同一の画面に
ついて説明する。
In addition. Also in the explanation below. A screen identical to this screen will be explained.

第3図図示の如く,項目テーブル41を構成する3つの
テーブルは,その各々をまとめた形でテーブル群を構成
する。即ち先頭に複数の基本項目テーブル42が集めら
れ1つの群とされ.次に複数の共用項目テーブル43が
集められ,最後に(1又は)複数の拡張項目テーブル4
4が集められている.そして,全体として項目テーブル
41の群を構成する。
As shown in FIG. 3, the three tables that make up the item table 41 collectively form a table group. That is, a plurality of basic item tables 42 are collected at the beginning and made into one group. Next, multiple shared item tables 43 are collected, and finally, extended item table(s) 4
4 have been collected. As a whole, a group of item tables 41 is formed.

テーブルの種類は,rxx.等の項目についてのもの.
空白固定リテラル項目についてのもの及び罫線のみ項目
についてのものに大別される。
The table type is rxx. Regarding items such as
They are roughly divided into those for fixed-space literal items and those for ruled-line only items.

ここで空白固定リテラル項目とは.2桁以上の罫線を格
納するための項目であり.罫線のみ項目とは5 1桁の
罫線を格納するための項目である。
What is a fixed-space literal item? This is an item for storing ruled lines of 2 or more digits. The ruled line only item is an item for storing 5 1-digit ruled lines.

なお,罫線の種類が全く等しい罫線のみ項目及び空白固
定リテラル項目の間では,項目種別が等しいので,共用
項目テーブル43を共用する。また.全ての空白リテラ
ル項目は1つの拡張項目テ一ブル44を共用する. また第3図(A),(B)に図示の如く.2つの異なる
構成の項目テーブル4lの群が共存する。
Note that since the item types are the same, the shared item table 43 is shared between the ruled line only item and the fixed blank literal item, which have exactly the same type of ruled line. Also. All blank literal items share one extended item table 44. Also, as shown in Figures 3 (A) and (B). Two groups of item tables 4l with different configurations coexist.

これはアトリビュート文字の有無に依存する.アトリビ
ュート文字は.項目の表示属性を制御するためのもので
あり.画面上の項目の直前桁に持つ(第3図(A)の)
場合とプログラム内に持つ(第3図(B)の)場合とが
ある。
This depends on the presence or absence of attribute characters. The attribute character is . This is used to control the display attributes of items. Hold it in the digit immediately before the item on the screen (see Figure 3 (A))
In some cases, it is included in the program (as shown in Fig. 3 (B)).

このアトリビュート文字の有無によって項目テーブル4
1の群構成のみでなく.格納処理そのものも影響される
(後述する).本発明は,このアトリビュート文字の有
無にも柔軟に対応できる格納処理をも可能とするもので
ある。
Item table 4 depending on the presence or absence of this attribute character.
Not only the group composition of 1. The storage process itself is also affected (described later). The present invention also enables storage processing that can flexibly respond to the presence or absence of attribute characters.

次に,罫線のみ項目用の共用項目テーブルについて説明
する。
Next, a shared item table for ruled line only items will be explained.

共用項目テーブル43は.項目種別.即ち項目としての
罫線の場合には罫線の種類を格納するものであり.同一
種類の罫線のみ項目及び空白固定リテラル項目の間で共
用される.従って,その種11(数)は.罫線の種類に
等しい数だけ存在し得る。この実施例においては,第4
図図示の28種(パターン)が定義されている。例えば
roxo100」は,下横/細線である。
The shared item table 43 is . Item type. In other words, in the case of a ruled line as an item, it stores the type of ruled line. The same type of border-only items and fixed-space literal items are shared. Therefore, the kind 11 (number) is . There can be as many lines as there are types of ruled lines. In this example, the fourth
28 types (patterns) shown in the figure are defined. For example, "roxo100" is a lower horizontal/thin line.

本実施例では,後述する共用項目用スイッチ部32によ
り,前記28種のうち使用(入力)された罫線の種類に
対応するテーブルのみが,第3図図示の位置に生成され
る。
In this embodiment, only the table corresponding to the type of ruled line used (input) among the 28 types is generated at the position shown in FIG. 3 by the shared item switch section 32, which will be described later.

(C)  定義体の編集 定義体編集部21は,第5図図示の如きデータ管理部1
1を生成して定義体を編集する。
(C) Editing of the definition body The definition body editing section 21 includes the data management section 1 as shown in FIG.
1 and edit the definition field.

データ管理部11において.項目と罫線とは別々に管理
される。
In the data management section 11. Items and borders are managed separately.

項目及び罫線の行管理テーブル12及び13は各行の先
頭セルへのポインタを.各行について持つ。従ってその
大きさは固定であり.行の順も固定である。当該行に項
目又は罫線がない(セルがない)場合には.ポインタに
代えてrNULLJが格納される。
The row management tables 12 and 13 for items and ruled lines have pointers to the first cell of each row. have for each row. Therefore, its size is fixed. The order of the rows is also fixed. If there are no items or borders in the row (no cells). rNULLJ is stored instead of the pointer.

n行目について見ると,当該行の先頭の項目rxx.に
ついての項目セル14−1の先頭がボイントされ,また
当該行の先頭の罫線(■)についての罫線セル15−1
の先頭がポイントされる.項目セル14−1は.同一行
の次の項目セル14−2を指すポインタを持つ。他の項
目セル14一2.罫線セル15−1も同様である.一方
.最後の項目セル14−3及び罫線セル15−2は.次
セルポインタとしてrNULLJを格納する.また,項
目セル14−1は,その詳細情報として rn行a桁j
なる項目の位置.「項目長:2」なる桁数等についての
情報(属性)を格納する。
Looking at the n-th line, the first item of the line is rxx. The beginning of the item cell 14-1 for , and the ruled line cell 15-1 for the first ruled line (■) of the row
The beginning of is pointed to. Item cell 14-1 is . It has a pointer pointing to the next item cell 14-2 in the same row. Other item cells 14-2. The same applies to the ruled line cell 15-1. on the other hand. The last item cell 14-3 and ruled line cell 15-2 are . Store rNULLJ as the next cell pointer. In addition, item cell 14-1 has detailed information such as rn row a column j
The position of the item. Information (attribute) about the number of digits such as "Item length: 2" is stored.

他のセル14及び15も同様である. 各セル14及び15は,同一行内において桁の小さい順
にポインタでつながっている。
The same goes for the other cells 14 and 15. Each cell 14 and 15 is connected by a pointer in the order of the smallest digit in the same row.

なお このように項目情報は項目セル14で,罫線情報
は罫線セル15で,各々別々に,即ち二元的に管理して
いるので,以下のことが可能となる. 即ち定義体編集画面において.パーティション形式(l
ii!ii面が項目画面と罫線画面の2つからなるよう
に扱われる)の定義体の作成処理が可能となると共に,
表示としては両者が一体となったものを得ることができ
る。例えば,新たに項目,罫線の入力があった場合.互
いに独立に.セル14及び15を作成し,各々既に存在
するセル群16及び17に付加することができる.従っ
て処理が容易である.一方,表示としては.両者が共に
追加された画面が得られる。
In this way, the item information is managed in the item cell 14 and the ruled line information in the ruled line cell 15, and each is managed separately, that is, in a dual manner, so that the following can be done. That is, on the definition field editing screen. Partition format (l
ii! ii screen is treated as consisting of two items screen and ruled line screen).
A display that combines both can be obtained. For example, if a new item or ruled line is input. independently of each other. Cells 14 and 15 can be created and added to already existing cell groups 16 and 17, respectively. Therefore, processing is easy. On the other hand, as a display. A screen with both added together will be obtained.

また罫線情報は,Ii票定義体と画面定義体とでは格納
処理が異なるが.予め罫線情報が項目情報から独立して
いるので.容易に対応できる。例えば画面定義体の場合
,項目セル14及び罫線セル15の双方を用いて,(項
目としての)罫線についての格納処理が行われる。一方
.帳票定義体の場合,罫線セル15のみを用いて,罫線
についての罫線テーブルへの格納処理が行われる。従っ
て異なる格納処理に容昌に対応できるデータ管理を可能
にできる. fdl  定義体の格納 (1)配置状態テーブルの生成 定義体格納部31は,データ管理部l1に従って.配置
状態テーブル33を生成する.配置状態テーブル33は
.第6図図示の如く,2バイト(#0ないし#15の1
6ビット)を,各桁毎に割り当て.当該桁への項目/罫
線の配置の有無を表す。なお第6図は,1桁に対応する
1つのテーブルを示すものであり,説明のために便宜的
に3つに分けて示している. #0ないし#3ビットは,当該桁における項目/罫線の
存在の有無を表す。例えば「1100」は,項目が存在
することを表す。#4ないし#7ビットは,当該桁にお
ける罫線の種類,特に位置を表す。例えばroo01J
は,下線の存在を表す。#8及び#9ビットは.当該桁
における罫線の種類.特に線種を表す。例えば「00」
は細線を表す。
Furthermore, the storage process for ruled line information is different between the Ii form definition and the screen definition. This is because the ruled line information is independent from the item information in advance. Can be easily handled. For example, in the case of a screen definition, storage processing for ruled lines (as items) is performed using both the item cell 14 and the ruled line cell 15. on the other hand. In the case of a form definition, only the ruled line cell 15 is used to store the ruled line in the ruled line table. Therefore, it is possible to perform data management that can adapt to different storage processes. fdl Definition Program Storage (1) Generation of Placement Status Table The definition program storage section 31 stores the definition program according to the data management section l1. Generate the layout state table 33. The arrangement state table 33 is . As shown in Figure 6, 2 bytes (1 of #0 to #15)
6 bits) are assigned to each digit. Indicates whether an item/ruled line is placed in the relevant column. Note that Figure 6 shows one table corresponding to one digit, and is divided into three parts for convenience of explanation. #0 to #3 bits represent the presence or absence of an item/ruled line in the corresponding column. For example, "1100" indicates that the item exists. #4 to #7 bits represent the type of ruled line in the corresponding digit, especially the position. For example roo01J
indicates the presence of an underline. #8 and #9 bits are . Type of ruled line in the relevant digit. In particular, it represents the line type. For example "00"
represents a thin line.

配宜状態テーブル33は,以下のようにして作成される
。
The arrangement state table 33 is created as follows.

まず項目セル14の情報をもとに.項目が存在すれば,
項目存在フラグrll00,を#0ないし#3ビットに
設定する。この時.アトリビュート文字があるならば,
当該項目の直前桁からフラグrll00Jが設定され.
項目長が+1桁分長く設定される。アトリビュート文字
がなければ,当該項目の先頭桁からフラグrlloOJ
が設定される. 次に罫線セル15の情報をもとに.罫線が存在すれば,
罫線の種類の設定も行われ,#4ないし#7ビットに対
応するフラグが設定される.なお既にフラグrlloO
Jが設定されている場合には,これらの設定は行われず
,項目自身が項目セル14に罫線属性の詳細情報を持つ
。
First, based on the information in item cell 14. If the item exists,
Set the item existence flag rll00 to bits #0 to #3. At this time. If there is an attribute character,
The flag rll00J is set from the immediately preceding digit of the item.
The item length is set to be longer by +1 digit. If there is no attribute character, the flag rlloOJ starts from the first digit of the item.
is set. Next, based on the information in the ruled line cell 15. If there are ruled lines,
The type of ruled line is also set, and flags corresponding to bits #4 to #7 are set. Note that the flag rlloO has already been set.
If J is set, these settings are not performed, and the item itself has detailed information of the ruled line attribute in the item cell 14.

次に,#4ないし#7ビットのフラグの状態に基づいて
,当該桁の前後桁との関係から.罫線のみ項目存在フラ
グrlooOJ,空白固定リテラル項目存在フラグr0
100J又は空白固定リテラル項目先頭フラグr001
0」のいずれかを,#0ないし#3ビットに設定する。
Next, based on the state of the flags of bits #4 to #7, the relationship between the digits before and after the digit in question is determined. Ruled line only item existence flag rlooOJ, blank fixed literal item existence flag r0
100J or blank fixed literal item first flag r001
0" to bits #0 to #3.

以上の処理は,第1行から行順に行われ.同一行内にお
いては第1桁から順に行われる。そして同一桁において
は,先に項目の有無を判定し,次に罫線の種類の設定に
より,有無が決まり.フラグrlooo」,r0100
J,’OOIOJの区別を行う. 第2図図示の画面(n行目)についての配置状態テーブ
ル33を第7図に示す. a桁目からの項目rXXJについてみると.アトリビュ
ート文字が存在するので,(a−1)桁目からフラグr
llODJが#0ないし#3ビットに設定され,かつ罫
線についての#4ないし#9ビットへのフラグは設定さ
れない.また罫線のみが連続する桁は,空白固定リテラ
ル項目存在フラグ’OIIOJが設定され,#4ないし
#9ビットへもフラグが設定される.罫線のみが存在す
る桁は.罫線のみ項目存在フラグ「1000」が設定さ
れ,#4ないし#9ビットへもフラグが設定される。ま
た項目,罫線ともに存在しない場合は.全てのビットが
「0」とされる。
The above processing is performed in line order starting from the first line. Within the same line, the operations are performed sequentially starting from the first digit. In the same digit, the presence or absence of an item is determined first, and then the presence or absence is determined by setting the ruled line type. flag rlooo”, r0100
Distinguish between J,'OOIOJ. FIG. 7 shows the arrangement state table 33 for the screen shown in FIG. 2 (line n). Let's look at the item rXXJ starting from the a-th digit. Since there is an attribute character, the flag r starts from the (a-1)th digit.
llODJ is set to bits #0 to #3, and flags to bits #4 to #9 regarding ruled lines are not set. In addition, for columns with only consecutive ruled lines, the blank fixed literal item existence flag 'OIIOJ is set, and the flag is also set in bits #4 to #9. Columns with only ruled lines are. Only the ruled line item existence flag "1000" is set, and flags are also set in bits #4 to #9. Also, if neither the item nor the ruled line exists. All bits are set to "0".

(2)プログラムの呼び出し 定義体格納部31は,次に配置状態テーブル33に基づ
いて,項目テーブル41の群を生成し,格納し.更新定
義体4とする。
(2) The program call definition program storage unit 31 then generates and stores a group of item tables 41 based on the arrangement state table 33. Let it be update definition body 4.

定義体格納部31は.まず配置状態テーブル33の#0
ないし#3ビットにあるフラグを参照する。そしてフラ
グに従って,予め対応させられたプログラムを呼び出す
。例えばフラグrll00」,ro 1 1 o」及び
rl000」の場合,各々に対応して.プログラム34
.35及び36が呼び出される.プログラム34.35
及び36は.各々一般項目の項目テーブル41,空白固
定リテラル項目の項目テーブル41及び罫線のみ項目の
項目テーブル4lを生成し,格納する. 従って単にフラグに対応するプログラム34ないし36
のいずれかを呼び出すのみで.項目テーブル4lを生成
し.格納することができる。
The definition program storage section 31 is . First, #0 of the arrangement state table 33
Refer to the flag in bits #3 to #3. Then, according to the flag, a corresponding program is called. For example, in the case of the flags "rll00", "ro 1 1 o" and "rl000", the . Program 34
.. 35 and 36 are called. Program 34.35
and 36. An item table 41 for general items, an item table 41 for fixed blank literal items, and an item table 4l for ruled line only items are generated and stored. Therefore, programs 34 to 36 simply correspond to the flags.
Just call one of them. Generate item table 4l. Can be stored.

例えば第7図図示のn行目について見ると,まず項目r
xx.の基本及び共用の項目テーブル(必要あれば拡張
項目テーブルも)が生成され,次に空白固定リテラルの
基本,共用及び拡張項目テーブルが生成される。以下,
桁順に対応するテーブルが生成される. また,この項目テーブルの生成.格納において,アトリ
ビュート文字の影響を排除できる.即ち配置状態テーブ
ル33の生成において,定義体格納部31によって.予
めアトリビエート文字の存在が考慮され,当該桁のフラ
グ(#0ないし#3ビット)に反映されている.従って
アトリビュート文字有無のチェックは.配置状態テーブ
ル33の生成の際に.各行につき1回行うのみでよい.
そして項目テーブル41の生成の際はチェックする必要
がない. なお.従来は項目テーブル41の生成において,各項目
毎にアトリビュート文字のチェックを行っていた。
For example, looking at the nth line shown in Figure 7, first the item r
xx. Basic and shared item tables (and extended item tables if necessary) are generated for , and then basic, shared, and extended item tables for fixed-space literals are generated. below,
A table corresponding to the digit order is generated. Also, generate this item table. The influence of attribute characters can be eliminated during storage. That is, in generating the arrangement state table 33, the definition program storage unit 31 uses the . The existence of the tributary character is taken into consideration in advance and reflected in the flag (#0 to #3 bits) of the relevant digit. Therefore, check for the presence of attribute characters. When generating the arrangement state table 33. You only need to do this once for each row.
There is no need to check when generating the item table 41. In addition. Conventionally, when generating the item table 41, attribute characters were checked for each item.

アトリビュート文字が無い場合.第3図(B)図示の項
目テーブル41の群が生成される.この場合も.項目自
体が罫線属性を持つ。更に,  (a1)桁目の罫線を
示す罫線のみ項目の基本項目テーブル(第3図(B)の
先頭のテーブル)が生成される。
When there is no attribute character. The group of item tables 41 shown in FIG. 3(B) is generated. In this case too. The item itself has a border attribute. Furthermore, a basic item table (the first table in FIG. 3(B)) containing only the ruled line item indicating the ruled line in column (a1) is generated.

(3)共用項目テーブルの生成 定義体格納部31は.第3図及び第7図に示される罫線
のみ項目の共用項目テーブルの生成において,必要なテ
ーブルのみを生成する.このために,共用項目用スイッ
チ部32が用いられる.共用項目スイッチ部32は,第
8図図示のスイッチ部とこれを管理するプログラム部(
スイッチ管理部)とからなる. スイッチ部は.各罫線の種類について.罫線のみ項目用
のスイッチと空白固定リテラル項目用のスイッチとを備
える。各スイッチは,ON又はOFFを設定する領域か
らなる。なお第8図において,フラグが設定されている
場合「口」で示し.設定されていない場合「■」で示し
ている。また罫線の種類が第4図図示の28種ある場合
.その各々について.第8図図示の構成が採用される。
(3) The shared item table generation definition program storage section 31 is . In generating the shared item table for ruled line only items shown in Figures 3 and 7, only the necessary tables are generated. For this purpose, a common item switch unit 32 is used. The shared item switch unit 32 includes a switch unit shown in FIG. 8 and a program unit (
It consists of a switch management section). The switch part. About each type of ruled line. It includes a switch for line-only items and a switch for fixed blank literal items. Each switch consists of an area for setting ON or OFF. In Fig. 8, if a flag is set, it is indicated by a "mouth". If it is not set, it is indicated by "■". In addition, there are 28 types of ruled lines as shown in Figure 4. About each of them. The configuration shown in FIG. 8 is adopted.

スインチ管理部は.まず全てについてOFF即ち共用し
ないとしてスイッチ部をクリアする。この後.罫線の有
無及び共用の有無のチエ・冫クを行う。即ち配置状態テ
ーブル33の#4ないし#9ビソトを参照し.罫線の種
類を判定する。
Sinch management department. First, all switches are set to OFF, that is, they are not shared, and the switch section is cleared. After this. Check the presence or absence of ruled lines and the presence or absence of shared use. That is, refer to #4 to #9 bits of the arrangement status table 33. Determine the type of ruled line.

例えば罫線のみ項目において下横線/細線である(00
0100である)場合.これに対応するrOXO100
,について,OFFを通知すると共に,スイッチをON
する.既にONであるときはONを通知する。一旦ON
となった後は.当該llmのスイッチの操作は不要とな
る。共用項目テーブル43は.同−11類の罫線につい
て1つ住成するのみでよいからである。
For example, in a ruled line only item, it is a lower horizontal line/thin line (00
0100). The corresponding rOXO100
, notifies OFF and turns on the switch.
do. If it is already ON, it is notified that it is ON. ON once
After that. It becomes unnecessary to operate the switch of the llm. The shared item table 43 is . This is because it is sufficient to form only one ruled line for Class-11.

なおスイッチ管理部の行う処理を.定義体格納部31が
行ってもよい。
In addition, the processing performed by the switch management section. The definition program storage unit 31 may also perform this.

定義体格納部31は,共用項目用スイッチ部32を参照
してスイッチがOFFである(OFFに「ロゴフラグが
設定されてぃる)種類の罫線についてのみ,共用項目テ
ーブル43を生成し.格納する。一方スイッチがONで
ある(ONに「口」フラグが設定されている)種類の罫
線については共用項目テーブル43は生成されない.(
e)  定義体作成処理フロー 第9図及び第10図に従って.定義体作成処理フローに
ついて説明する。第9図及び第10図は各々第14図及
び第12図に対応するものである.参照定義体2が読込
まれると.これに応じた所定の画面が入出力装置1に表
示される.これを見た利用者が.第9図図示の如く.入
出力装置1から項目情報及び罫線情報を入力する. 定義体編集部21が.入力された項目情報及び罫線情報
を別々に内部データとして保持すると共に,データ管理
部I1を作成する。
The definition program storage unit 31 refers to the shared item switch unit 32, and generates and stores a shared item table 43 only for the type of ruled line whose switch is OFF (“logo flag is set to OFF”). On the other hand, the shared item table 43 is not generated for the type of ruled line whose switch is ON (the "mouth" flag is set to ON). (
e) Follow the definition program creation processing flow in Figures 9 and 10. The definition program creation process flow will be explained. Figures 9 and 10 correspond to Figures 14 and 12, respectively. When reference definition field 2 is read. A predetermined screen corresponding to this is displayed on the input/output device 1. A user saw this. As shown in Figure 9. Input item information and ruled line information from input/output device 1. The definition body editing section 21. The input item information and ruled line information are held separately as internal data, and a data management section I1 is created.

次に定義体格納部31が.以下の処理を行う.項目情報
に罫線情報を付加する(各行毎に対応づける)。
Next, the definition program storage section 31. Perform the following processing. Add ruled line information to item information (correspond to each line).

データ管理部11に基づいて,1つの行について当該行
に相当する項目情報及び罫線情報を収集し 配置状態テ
ーブル33を各桁分順次生成する。
Based on the data management unit 11, item information and ruled line information corresponding to one row are collected, and an arrangement state table 33 is sequentially generated for each digit.

配置状態テーブル33に基づいて,1つの桁について,
当該桁のフラグに従って場合分けし適当な処理を行う. 即ち当該桁が一般墳目.罫線のみ項目又は空白固定リテ
ラル項目のいずれかをフラグによって判定し,当該フラ
グに応したプログラムを呼び出し,これを実行する。こ
れにより,呼び出されたプログラムが当該桁についての
項目情報及び/又は罫線情報を.項目テーブル4lとし
て格納する.例えば一般項目の場合,プログラムA34
が呼び出され,基本項目テーブル42及び共用項目テー
ブル43が生成(格納)される。罫線のみ項目の場合,
プログラム35が呼び出され,略同様の処理がなされる
。この時.共用項目テーブル43については,共用項目
用スイッチ部32が参照され必要なもののみが生成され
る。空白固定リテラル項目の場合.プログラムC36が
呼び出され.基本項目テーブル42,共用項目テーブル
43及び拡張項目テーブル44が生成される。
Based on the arrangement state table 33, for one digit,
The cases are divided according to the flag of the relevant digit and appropriate processing is performed. In other words, the digit in question is a general burial mound. It determines whether it is a line-only item or a fixed-space literal item based on a flag, calls the program corresponding to the flag, and executes it. This allows the called program to retrieve item information and/or ruled line information for the column in question. Store as item table 4l. For example, in the case of general items, program A34
is called, and the basic item table 42 and shared item table 43 are generated (stored). For items with only borders,
The program 35 is called and substantially the same processing is performed. At this time. Regarding the shared item table 43, the shared item switch unit 32 is referred to and only necessary items are generated. For fixed blank literal items. Program C36 is called. A basic item table 42, a shared item table 43, and an extended item table 44 are generated.

以上の処理を.当該行の各桁について繰り返す。The above processing. Repeat for each column in the row.

そして,当該行についての処理を終了したら次行につい
て配置状態テーブル33を生成して同様の処理を行い,
これを各行について繰り返す。
Then, when the processing for the row is finished, the arrangement state table 33 is generated for the next row and the same processing is performed.
Repeat this for each row.

〔発明の効果〕〔Effect of the invention〕

以上説明したように,本発明によれば.罫線の情報を含
む画面定義体についての定義体作成処理において,項目
情報及び罫線情報をデータ管理部によって二元的に管理
することにより,種々の定義体格納処理に対応できると
共に,データ管理部自体の領域を小さくできる。また.
配置状態テーブルを実イメージではなく生成すべき項目
テーブルに則したフラグによって構成することにより定
義体格納処理の簡略化を可能とすると共に,アトリビュ
ート文字に依存しない処理を行うことができる。更に共
用項目用スイッチ部を設けることにより,真に必要な共
用項目の項目テーブルのみを生成することが可能となる
ので,定義体のサイズを小さくすることが可能となる。
As explained above, according to the present invention. In the process of creating definitions for screen definitions that include information about ruled lines, by dually managing item information and ruled line information by the data management unit, it is possible to handle various definitions storage processes, and the data management unit itself area can be reduced. Also.
By configuring the placement state table using flags that match the item table to be generated instead of actual images, it is possible to simplify the definition program storage process and to perform processing that does not depend on attribute characters. Furthermore, by providing a switch section for shared items, it is possible to generate only the item table of truly necessary shared items, thereby making it possible to reduce the size of the definition body.

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

第1図は本発明の原理構成図 第2図及び第3図は項目テーブル説明図第4図は罫線の
種類の説明図 第5図はデータ管理部説明図 第6図及び第7図は配置状態テーブル説明図第8図は共
用項目スイッチ部説明図. 第9図及び第10図は定義体作成処理フロー第11図な
いし第14図は従来技術説明図.1は入出力装置.2は
参照定義体.3は処理装置.4は更新定義体,11はデ
ータ管理部,12は項目行管理テーブル.13は罫線行
管理テーブル,14は項目セル,15は罫線セル,21
は定義体編集部.31は定義体格納部.32は共用項目
用スイッチ部,33は配置状態テーブル.34ないし3
6はフ゜ログラム,41は項目テーフ゛ル.42は基本
項目テーブル.43は共用項目テーブル.44は拡張項
目テーブルである。
Fig. 1 is a diagram showing the basic structure of the present invention Figs. 2 and 3 are illustrations of item tables Fig. 4 is an illustration of types of ruled lines Fig. 5 is an illustration of the data management section Figs. 6 and 7 are layouts An explanatory diagram of the status table. Figure 8 is an explanatory diagram of the common item switch section. 9 and 10 are definition field creation processing flows. FIGS. 11 to 14 are explanatory diagrams of the prior art. 1 is an input/output device. 2 is a reference definition field. 3 is a processing device. 4 is an update definition body, 11 is a data management section, and 12 is an item line management table. 13 is a ruled line management table, 14 is an item cell, 15 is a ruled line cell, 21
is the definition field editorial department. 31 is a definition field storage section. 32 is a common item switch section, and 33 is an arrangement state table. 34 to 3
6 is a program, and 41 is an item table. 42 is a basic item table. 43 is a shared item table. 44 is an extended item table.

Claims (3)

【特許請求の範囲】[Claims] (1)入出力装置(1)から入力された項目情報及び罫
線情報と読込まれた参照定義体(2)とから定義体を編
集する定義体編集部(21)と、当該項目情報及び罫線
情報を所定の形式の項目テーブル(41)に項目として
格納することにより更新定義体(4)を得る定義体格納
部(31)とを備えたデータ処理システムにおいて、 前記入力された項目情報及び罫線情報を管理するデータ
管理部(11)を設け、 当該データ管理部(11)を、各行の先頭の項目セル(
14)へのポインタを持つ項目用行管理テーブル(12
)と、項目の詳細情報及び同一行の次項目セル(14)
へのポインタを持つ項目セル(14)と、各行の先頭の
罫線セル(15)へのポインタを持つ罫線行管理テーブ
ル(13)と、罫線の詳細情報及び同一行の次罫線セル
(15)へのポインタを持つ罫線セル(15)とからな
る構成とし、前記定義体編集部(21)が、前記入力さ
れた項目情報及び罫線情報に基づいて、前記データ管理
部(11)を作成する ことを特徴とする定義体作成処理方式。
(1) A definition body editing unit (21) that edits a definition body from the item information and ruled line information input from the input/output device (1) and the read reference definition body (2), and the item information and ruled line information A data processing system comprising: a definition definition storage unit (31) that obtains an updated definition definition (4) by storing the input item information and ruled line information as items in an item table (41) in a predetermined format; A data management unit (11) is provided to manage the data management unit (11), and the data management unit (11) is connected to the item cell (11) at the beginning of each row.
Item row management table (12) that has a pointer to
), the detailed information of the item, and the next item cell (14) on the same line.
An item cell (14) that has a pointer to the item cell (14), a ruled line row management table (13) that has a pointer to the first ruled line cell (15) of each row, detailed information about the ruled line, and the next ruled line cell (15) in the same row. and a ruled line cell (15) having a pointer, and the definition editing unit (21) creates the data management unit (11) based on the input item information and ruled line information. Characteristic definition field creation processing method.
(2)入出力装置(1)から入力された項目情報及び罫
線情報と読込まれた参照定義体(2)とから定義体を編
集する定義体編集部(21)と、当該項目情報及び罫線
情報を所定の形式の項目テーブル(41)に項目として
格納することにより更新定義体(4)を得る定義体格納
部(31)とを備えたデータ処理システムにおいて、 前記入力された項目情報及び罫線情報から生成される配
置状態テーブル(33)を設け、当該配置状態テーブル
(33)を、少なくとも、一般項目、空白固定リテラル
項目及び罫線のみ項目を示す第1、第2及び第3のフラ
グからなる構成とし、 前記第1、第2及び第3のフラグによって各々呼び出さ
れ前記格納を行う第1、第2及び第3のプログラム(3
4、35、36)を備え、 前記定義体格納部(31)が、前記配置状態テーブル(
33)を生成すると共に、これに従って、前記第1、第
2及び第3のプログラム(34、35、36)を呼び出
して前記格納を行う ことを特徴とする定義体作成処理方式。
(2) A definition body editing unit (21) that edits a definition body from the item information and ruled line information input from the input/output device (1) and the read reference definition body (2), and the item information and ruled line information A data processing system comprising: a definition definition storage unit (31) that obtains an updated definition definition (4) by storing the input item information and ruled line information as items in an item table (41) in a predetermined format; An arrangement state table (33) is provided, and the arrangement state table (33) is composed of at least first, second, and third flags indicating general items, fixed blank literal items, and ruled line only items. and first, second, and third programs (3) each called by the first, second, and third flags to perform the storage;
4, 35, 36), and the definition program storage unit (31) includes the arrangement state table (
33), and calls the first, second, and third programs (34, 35, 36) to perform the storage according to the generated definition program.
(3)入出力装置(1)から入力された項目情報及び罫
線情報と読込まれた参照定義体(2)とから定義体を編
集する定義体編集部(21)と、当該項目情報及び罫線
情報を所定の形式の項目テーブル(41)に項目として
格納することにより更新定義体(4)を得る定義体格納
部(31)とを備えたデータ処理システムにおいて、 前記入力された罫線情報から生成される共用項目スイッ
チ部(32)を設け、 当該共用項目スイッチ部(32)を、罫線の種類の各々
に応じたスイッチを備える構成とし、前記定義体格納部
(31)が、前記共用項目スイッチ部(32)に従って
、前記項目テーブル(41)の共用項目テーブル(43
)のうち罫線についてのものを設ける ことを特徴とする定義体作成処理方式。
(3) A definition body editing unit (21) that edits a definition body from the item information and ruled line information input from the input/output device (1) and the read reference definition body (2), and the item information and ruled line information A data processing system comprising a definition definition storage unit (31) that obtains an updated definition definition (4) by storing the updated definition definition (4) as an item in an item table (41) in a predetermined format. a common item switch unit (32) is provided, the common item switch unit (32) is configured to include a switch corresponding to each type of ruled line, and the definition body storage unit (31) is configured to include a switch corresponding to each type of ruled line; According to (32), the shared item table (43) of the item table (41)
) is provided for ruled lines.
JP2014007A 1990-01-24 1990-01-24 Definition program processing method Expired - Fee Related JPH0690707B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014007A JPH0690707B2 (en) 1990-01-24 1990-01-24 Definition program processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014007A JPH0690707B2 (en) 1990-01-24 1990-01-24 Definition program processing method

Publications (2)

Publication Number Publication Date
JPH03218562A true JPH03218562A (en) 1991-09-26
JPH0690707B2 JPH0690707B2 (en) 1994-11-14

Family

ID=11849156

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014007A Expired - Fee Related JPH0690707B2 (en) 1990-01-24 1990-01-24 Definition program processing method

Country Status (1)

Country Link
JP (1) JPH0690707B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5887616A (en) * 1981-11-20 1983-05-25 Toshiba Corp Managing system for ruled data in word processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5887616A (en) * 1981-11-20 1983-05-25 Toshiba Corp Managing system for ruled data in word processor

Also Published As

Publication number Publication date
JPH0690707B2 (en) 1994-11-14

Similar Documents

Publication Publication Date Title
JP2537482B2 (en) Document processing device
EP0136710B1 (en) Data structure in a document processing system
US4912669A (en) Document-editing system
JPH09134349A (en) Information processing apparatus, document creation method, and book table creation method
JP2000339306A (en) Document creation device
JP2000207396A (en) Document layout device
JP6251860B2 (en) Information management apparatus and file management method
JPS61157971A (en) Document editing device
JPH0528427B2 (en)
JPH0690707B2 (en) Definition program processing method
JP2003223606A (en) Display control program and recording medium
JPS62245286A (en) Character string display system
JP3234718B2 (en) Character information display processing device depending on date and time
JP2701601B2 (en) Component data processing method
JP2700001B2 (en) Character data output device
JP4005108B2 (en) Display control program and recording medium
JP3047400B2 (en) Data processing device
JPS58172770A (en) Japanese word processor
JPS62173565A (en) Data register system in sentence processor
JPH0744446A (en) How to associate grouping information
JPH08314990A (en) Method of creating ruled line table on CAD drawing
JPH05101126A (en) BOM creation and editing method in CAD system
JPH04267423A (en) Screen message editing system
JPS61224070A (en) Internal character calling method for word processor
JPS62212838A (en) Source program editing system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees