JPH0245217B2 - - Google Patents

Info

Publication number
JPH0245217B2
JPH0245217B2 JP59095840A JP9584084A JPH0245217B2 JP H0245217 B2 JPH0245217 B2 JP H0245217B2 JP 59095840 A JP59095840 A JP 59095840A JP 9584084 A JP9584084 A JP 9584084A JP H0245217 B2 JPH0245217 B2 JP H0245217B2
Authority
JP
Japan
Prior art keywords
card
processing
data
repetition
procedure
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
JP59095840A
Other languages
Japanese (ja)
Other versions
JPS60238971A (en
Inventor
Yasuaki Sato
Fumio Matsumoto
Yoshio Hayakawa
Yoshiki Ikegami
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59095840A priority Critical patent/JPS60238971A/en
Publication of JPS60238971A publication Critical patent/JPS60238971A/en
Publication of JPH0245217B2 publication Critical patent/JPH0245217B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はカードイメージ処理機能を有するデー
タ処理装置におけるデータ処理の表繰り返し制御
方式に係り、表繰り返し処理の範囲を指定するに
あたつて、データを記入済みの最終行または最終
列を指定可能にしたカード処理の表繰り返し制御
方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a table repetition control method for data processing in a data processing device having a card image processing function, and in specifying the range of table repetition processing, The present invention relates to a table repetition control system for card processing in which it is possible to specify the last row or column in which data has been entered.

〔従来の技術〕[Conventional technology]

従来から一般事務処理においては、カード形式
で情報を蓄えておいて、これを利用する態様が広
く採用されており、このカードに代わつて、デイ
スプレイ上に個々のカードイメージを表示して必
要な処理を行い得るようにすることが望まれてい
る。しかし、通常の日本語ワードプロセツサ等に
よつて、カードデータを管理しようとすると、罫
線や固定文字を含むカードの様式情報と、個々の
カードによつて異なるカードデータとが、区別さ
れずに一体化した形で格納されることとなり、記
憶領域に無駄が生じるばかりでなく、カードの記
入フイールドに関する検索処理や計算処理等の各
種処理を実行することができない。そこで本発明
者等は、共通的な様式データと個別のカードデー
タとを分けて管理し、文書処理機能・表作成機
能・計算処理機能・手順登録機能等のカードイメ
ージ処理機能を有するデータ処理装置を提案して
いる。
Conventionally, in general office processing, it has been widely adopted to store information in the form of cards and use this information. It is desirable to be able to do this. However, when trying to manage card data using a regular Japanese word processor, etc., the format information of the card, including ruled lines and fixed characters, and the card data, which differs for each individual card, are not distinguished. Since the information is stored in an integrated form, not only is the storage area wasted, but it is also impossible to perform various processes such as search processing and calculation processing regarding the entry fields of the card. Therefore, the present inventors have developed a data processing device that manages common form data and individual card data separately and has card image processing functions such as document processing functions, table creation functions, calculation processing functions, and procedure registration functions. is proposed.

上記カードイメージ処理機能を有するデータ処
理装置においては、最初にカードに共通な固定情
報からなる様式の定義が、文字キー等により画面
上でカードの様式イメージを作成する態様でなさ
れ、以後のカード作成にあたつては、予め定義さ
れた様式イメージのデータを呼び出して、この様
式によつて定められたフイールドにカード毎の変
動データを記入し、個々のカードを作成するよう
にされる。そして、予め上記フイールドの内容に
ついて計算や検索その他の処理手順を登録し、そ
の登録した処理手順を随時呼び出して実行できる
ようになつている。
In the data processing device having the above-mentioned card image processing function, a format consisting of fixed information common to cards is first defined by creating a format image of the card on the screen using character keys, etc., and subsequent card creation In this case, data of a predefined format image is called up, and variation data for each card is entered in fields defined by this format to create individual cards. Calculation, search, and other processing procedures are registered in advance for the contents of the fields, and the registered processing procedures can be called up and executed at any time.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記カードで扱うデータには、フイールドの並
びにおける各属性が行方向または列方向に共通す
るものが多く、これらはいわゆる「表」として取
り扱うことが可能になつている。しかし、従来方
式によれば、表における処理の繰り返しを指示す
るとき、表全体に対し繰り返し範囲を指定できる
だけであつた。ところが、一般に表のサイズは余
裕をもたせて大きめに作られることが多く、表内
にはデータ未記入のフイールドが存在することが
多い。そのため、表繰り返しにおいてデータ未記
入のフイールドについて、無駄な処理を実行して
しまうという問題や、表における繰り返し処理対
象をデータ未記入の行に設定するということがで
きないという問題があつた。
Many of the data handled by the above-mentioned cards have common attributes in the row or column direction in the arrangement of fields, and these can be handled as a so-called "table". However, according to the conventional method, when instructing repetition of processing on a table, it was only possible to specify a repetition range for the entire table. However, in general, the size of the table is often made larger to allow for some margin, and there are often fields in the table with no data entered. As a result, there are problems in table repetition in which unnecessary processing is performed for fields in which no data has been entered, and in that it is not possible to set the repetition processing target in a table to a row in which no data has been entered.

〔問題点を解決するための手段〕 本発明は上記問題点の解決を図り、カード処理
における表繰り返し範囲の指定において、データ
記入済みの最終行または最終列の指定を可能とし
た表繰り返し機能を提供するため、次のような手
段を備えていることを特徴としている。即ち、本
発明のカード処理の表繰り返し制御方式は、デイ
スプレイと、罫線または固定文字を含むカードの
様式情報を格納する様式情報記憶部と、カードの
記入フイールドに関する定義情報を格納するフイ
ールド定義情報記憶部と、個々のカードにおける
記入フイールドに記入された内容を格納するカー
ドデータ記憶部とを少なくとも備え、上記デイス
プレイ画面上に上記様式情報記憶部の内容と上記
カードデータ記憶部の内容とを上記フイールド定
義情報記憶部の内容に基づいてマージして様式バ
ツフア内にカードイメージを生成し表示すると共
に、当該カードイメージ上の個々のフイールドを
指示して処理態様を与え、カード内容についての
処理を行うカードイメージ処理機能を有するデー
タ処理装置におけるカード処理の表繰り返し制御
方式であつて、上記カード内容に対する処理手順
の登録制御を行う手順登録制御部と、フイールド
の並びにおける属性が行方向または列方向に共通
する表に含まれる行または列について上記処理手
順中において行単位または列単位に処理を繰り返
す表繰り返しを指示すると共にその繰り返し範囲
の位置について少なくともデータ記入済み最終位
置を入力可能とされた表繰り返し指示部と、上記
処理手順を記憶する手順記憶部と、該手順記憶部
に記憶された処理手順の実行制御を行う手順実行
制御部と、上記表繰り返し指示部によつて指示さ
れた表繰り返しを実行すると共に上記データ記入
済み最終位置の指定に対しデータ記入済みの位置
をサーチする手段を有する表繰り返し実行部とを
備えている。以下、図面を参照しつつ、実施例に
従つて説明する。
[Means for Solving the Problems] The present invention aims to solve the above-mentioned problems, and provides a table repetition function that enables specification of the last row or last column in which data has been entered when specifying the table repetition range in card processing. In order to provide this service, it is characterized by the following means: That is, the table repetition control system for card processing of the present invention includes a display, a format information storage section that stores card format information including ruled lines or fixed characters, and a field definition information storage section that stores definition information regarding fields to be filled in on the card. and a card data storage section for storing the contents entered in the entry fields of each card, and displays the contents of the form information storage section and the card data storage section on the display screen in the field. A card that generates and displays a card image in a format buffer by merging based on the contents of a definition information storage unit, and also instructs each field on the card image to give a processing mode and processes the card contents. A table repetition control method for card processing in a data processing device having an image processing function, which includes a procedure registration control unit that controls the registration of processing procedures for the card contents, and an attribute in the arrangement of fields that is common in the row direction or column direction. A table repetition instruction that repeats the process row by row or column by column in the above processing procedure for the rows or columns included in the table to be processed, and also allows input of at least the final position where data has been filled in for the position of the repetition range. a procedure storage section that stores the processing procedure; a procedure execution control section that controls the execution of the processing procedure stored in the procedure storage section; and a procedure execution control section that executes table repetition instructed by the table repetition instruction section. and a table repetition execution unit having means for searching for a position where data has been written in response to the designation of the final data-filled position. Hereinafter, embodiments will be described with reference to the drawings.

〔実施例〕〔Example〕

第1図は本発明の一実施例要部構成図、第2図
および第3図は本発明に関連するカードイメージ
とボツクスとの概念を説明するための図、第4図
および第5図は本発明に関連する処理態様を説明
するための図、第6図は本発明が適用される一実
施例全体概要図、第7図はフイールド定義情報記
憶部に格納される情報の説明図、第8図は様式バ
ツフアと画面コードバツフアとの対応を説明する
ための図、第9図および第10図は本発明に係る
表繰り返し範囲を指定する態様を説明するための
図、第11図は本発明の一実施例処理概要説明図
を示す。
FIG. 1 is a block diagram of the essential parts of an embodiment of the present invention, FIGS. 2 and 3 are diagrams for explaining the concept of card images and boxes related to the present invention, and FIGS. 4 and 5 are FIG. 6 is a diagram for explaining processing aspects related to the present invention. FIG. 6 is an overall outline diagram of an embodiment to which the present invention is applied. FIG. 7 is an explanatory diagram of information stored in the field definition information storage unit. Figure 8 is a diagram for explaining the correspondence between the format buffer and the screen code buffer, Figures 9 and 10 are diagrams for explaining the aspect of specifying the table repetition range according to the present invention, and Figure 11 is a diagram for explaining the mode of specifying the table repetition range according to the present invention. 1 is a diagram illustrating a processing overview of an embodiment of the present invention.

本発明に関連するカードイメージ処理機能を有
するデータ処理装置の場合、所定のカード様式を
持つカードイメージをデイスプレイ上に表示して
処理を実行する。即ち、各カードイメージについ
て、例えば第2図に示すような様式データと、当
該様式イメージ上のフイールド(項目)例えば
「商品名」などに対応して与えられるフイールド
の内容(カードデータ)とを別々に記憶してお
き、必要に応じて両者データをマージしてデイス
プレイ上に表示するようにされる。そして1枚の
カードを代表するものとされる。
In the case of a data processing device having a card image processing function related to the present invention, a card image having a predetermined card format is displayed on a display and processing is executed. That is, for each card image, format data as shown in FIG. 2, for example, and field contents (card data) given corresponding to fields (items) such as "product name" on the format image are separated. The data of both are stored in the data and the data of both are merged and displayed on the display as necessary. And it is considered to represent one card.

カードイメージ上のフイールドには、文字フイ
ールドと数値フイールドとが存在している。そし
て様式データ上では、文字フイールドに対応して
文字挿入個所を示す「・・・・・」が与えられ、
数値フイールドに対応して数値挿入個所を示す
「〓〓〓、〓〓〓」が与えられている。
The fields on the card image include a character field and a numeric field. Then, on the form data, "..." is given to indicate the character insertion point corresponding to the character field,
``〓〓〓, 〓〓〓 are given corresponding to the numeric fields to indicate where to insert the numeric value.

例えば、第2図図示のように、「商品名」・「数
量」・「単価」・「金額」のようなフイールドの並び
が連続する場合、先頭のフイールド群だけを指定
し、同じ属性を持つフイールドの並びの部分につ
いては、先頭のフイールド群の繰り返しを指定す
るだけでよいようになつている。このようなフイ
ールド群の繰り返しは、単独で存在する独立フイ
ールドに対して、「表」と呼ばれる。表に含まれ
るフイールドへのデータの記入・編集・計算・検
索などの手順は、独立フイールドと同じように行
うことができることは勿論であるが、表内の共通
な属性を持つフイールドに対して、表繰り返しに
より一括した処理を実行可能になつている。
For example, as shown in Figure 2, if fields such as "Product Name", "Quantity", "Unit Price", and "Amount" are consecutive, specify only the first field group and have the same attributes. For the field sequence part, you only need to specify the repetition of the first field group. Such a repetition of a group of fields, as opposed to a single independent field, is called a "table". Of course, procedures such as entering, editing, calculating, and searching data in fields included in a table can be performed in the same way as for independent fields, but for fields with common attributes in a table, Table repetition makes it possible to perform batch processing.

第2図に示す様式データを共通に持つカードは
一般に多数存在することから、これらのカードに
対応するカードイメージをまとめて、第3図図示
の如く、「ボツクス」なる概念を導入して管理す
る。図示符号1はカードイメージ、2はボツクス
を表している。ボツクスを1つの処理上のかたま
りとして管理するために、各ボツクスに対応し
て、例えば次のような情報(または記憶部)が用
意される。即ち、 (i) ボツクス管理情報(記憶部)……ボツクス番
号やボツクス名などのプロフイール情報。
Since there are generally many cards that share the format data shown in Figure 2, the card images corresponding to these cards are collected and managed by introducing the concept of "box" as shown in Figure 3. . Reference numeral 1 represents a card image, and reference numeral 2 represents a box. In order to manage boxes as a single processing unit, the following information (or storage unit) is prepared corresponding to each box. That is, (i) Box management information (storage unit): profile information such as box number and box name.

(ii) 様式データ(記憶部)……第2図図示の如き
カード様式(白紙カード)に対応するデータ。
(ii) Format data (storage unit)...Data corresponding to the card format (blank card) as shown in Figure 2.

(iii) フイールド定義情報(記憶部)……個々のフ
イールドについてのフイールド開始座標や属性
(桁数・行数その他)。
(iii) Field definition information (storage part)...Field start coordinates and attributes (number of digits, number of lines, etc.) for each field.

(iv) カードデータ(記憶部)……同一ボツクスに
属する個々のカードイメージに対応する各フイ
ールドの内容であつて、それぞれ頁に対応づけ
られているもの。
(iv) Card data (storage unit): Contents of each field corresponding to each card image belonging to the same box, each associated with a page.

第4図は本実施例において処理される態様の一
例を示しており、図示の如き表示がデイスプレイ
上に表示されて処理実行に移行していくと考えて
よい。デイスプレイ上の画面には、第1枠のカー
ドイメージ表示と、第2枠のカードイメージ表示
と、処理手順などを入力する場合の入力イメージ
表示とを一緒に行い得るようにされている。
FIG. 4 shows an example of the manner in which processing is performed in this embodiment, and it may be considered that the display as shown in the figure is displayed on the display and the processing begins. The screen on the display can simultaneously display a card image in the first frame, a card image in the second frame, and an input image when inputting a processing procedure or the like.

第4図図示の場合、ボツクス「会費請求書」に
属する第7頁目の「富士通太郎」氏あてのカード
イメージの全部または一部3が第1枠に、ボツク
ス「会費入金票」に属する第7頁目の「富士通太
郎」氏のカードイメージの全部または一部4が第
2枠に一緒に表示(スプリツト表示)されてい
る。そして、入力イメージ5が表示されており、
第2枠におけるカードイメージ上のフイールドで
ある「請求額」フイールドの第2行目の内容を第
1枠におけるカードイメージ上のフイールドであ
る「今回御請求額」に転記することを指示してい
る。この入力イメージとして、フイールドに関す
る計算手順を与えることもでき、例えば、第3図
図示「入金伝票」のカードイメージ1に対し、計
算指示をしたのち「×」・「=」・「実行」キーを各
フイールドにカーソルを合わせて打鍵することに
より、「単価×数量」の結果を「合計」欄に記入
する処理手順を表示させ、計算を実行させること
も可能である。
In the case shown in Figure 4, all or part 3 of the card image addressed to Mr. Fujitsu Taro on the 7th page belonging to the box ``Membership Fee Bill'' is placed in the first frame, and the card image 3 belonging to the box ``Membership Fee Deposit Slip'' is placed in the first frame. All or part 4 of the card image of Mr. "Taro Fujitsu" on the 7th page is displayed together in the second frame (split display). Then, input image 5 is displayed,
Instructs to transfer the contents of the second line of the "Billed Amount" field, which is a field on the card image in the second frame, to "Current Billed Amount", which is a field on the card image in the first frame. . As this input image, a calculation procedure regarding the field can be given. For example, after giving a calculation instruction to card image 1 of the "deposit slip" shown in Figure 3, press the "x", "=", and "execute" keys. By placing the cursor on each field and pressing a key, it is also possible to display a processing procedure for entering the result of "unit price x quantity" in the "total" column and execute the calculation.

第5図は同じ処理を複数のカード上の複数フイ
ールドについて実行する態様を示している。この
例の場合、「数量×単価=金額」なる処理を、カ
ード第1頁から第30頁について、品名第1行目か
ら第10行目まで実行し、それぞれ合計を出すこと
を指示している。これらの処理手順は登録して記
憶しておくことができ、呼び出して随時実行させ
ることができる。ほかに検索・ソート・カード照
合等も可能である。
FIG. 5 shows a mode in which the same process is performed for multiple fields on multiple cards. In this example, the process "Quantity x Unit Price = Amount" is executed for the 1st page to 30th page of the card, from the 1st line to the 10th line of the product name, and the instruction is to calculate the total for each. . These processing procedures can be registered and stored, and can be called up and executed at any time. In addition, searching, sorting, card verification, etc. are also possible.

第6図は本発明に関連するカードイメージ処理
機能を有するデータ処理装置の一実施例概要構成
を示している。
FIG. 6 shows a schematic configuration of an embodiment of a data processing device having a card image processing function related to the present invention.

図中の符号8はキーボード、9はキーボード制
御部、10はカードイメージ処理部であつてカー
ドに関する情報を入力しデイスプレイ画面上にカ
ードイメージを表示すると共にカードイメージ上
のフイールドの内容についての処理を実行するも
の、11は様式作成管理部であつて各ボツクスに
対応するカードイメージの様式を入力し管理する
もの、12は様式解析部であつて様式の作成にあ
たつて固定情報や項目属性などの解析を行うも
の、13はカード作成管理部であつて個々のカー
ドデータについての入力および管理を行うもの、
14はデータ記入制御部であつてカードデータや
フイールド名等をいわゆる仮名漢字変換機能を用
いて入力するもの、15は一覧表制御部であつて
カードの特定フイールドについて一覧表示を行う
制御を行うもの、16は手順登録制御部であつて
第5図に示した入力イメージのような処理手順を
登録する制御を行うもの、17は手順記憶部であ
つて登録処理手順を記憶するもの、18は手順実
行制御部であつて指定された処理手順を実行制御
するもの、19は計算制御部であつて数値フイー
ルドについて指定された計算を実行制御するもの
である。
In the figure, reference numeral 8 is a keyboard, 9 is a keyboard control section, and 10 is a card image processing section, which inputs information about the card, displays the card image on the display screen, and processes the contents of the fields on the card image. 11 is a form creation management section that inputs and manages the card image format corresponding to each box; 12 is a form analysis section that inputs fixed information, item attributes, etc. when creating a form. 13 is a card creation management unit that inputs and manages individual card data;
Reference numeral 14 is a data entry control unit which inputs card data, field names, etc. using a so-called kana-kanji conversion function, and 15 is a list control unit which controls display of a list of specific fields of the card. , 16 is a procedure registration control unit that performs control to register a processing procedure such as the input image shown in FIG. 5, 17 is a procedure storage unit that stores the registration processing procedure, and 18 is a procedure An execution control section 19 controls the execution of specified processing procedures, and a calculation control section 19 controls execution of calculations specified for numerical fields.

また、20はボツクス管理部であつて当面処理
対象となるボツクスを選択しそのデータを管理す
るもの、21は格納制御部であつてデータ記憶装
置への書き込み制御を行うもの、22は呼出制御
部であつてデータ記憶装置からボツクスデータを
呼び出す制御を行うもの、23は頁切換部であつ
て1枚分のカードデータを次のカードデータに切
り換えるもの、25は例えばフロツピイ・デイス
ク装置のようなデータ記憶装置、26はボツクス
管理情報記憶部、27は様式データ記憶部、28
はフイールド定義情報記憶部、29はカードデー
タ記憶部である。ボツクス管理情報記憶部26・
様式データ記憶部27・フイールド定義情報記憶
部28等は各ボツクス毎に記憶管理される。
Further, 20 is a box management unit that selects a box to be processed for the time being and manages its data, 21 is a storage control unit that controls writing to the data storage device, and 22 is a call control unit. 23 is a page switching section that switches from one card's worth of data to the next card data; 25 is a section for controlling data such as a floppy disk device; Storage device, 26 is a box management information storage unit, 27 is a form data storage unit, 28
29 is a field definition information storage section, and 29 is a card data storage section. Box management information storage section 26
The form data storage section 27, field definition information storage section 28, etc. are stored and managed for each box.

31は様式バツフアであつて様式データ記憶部
27の内容が読み出されその上にカードデータが
埋め込まれてカードイメージが生成されるバツフ
ア、32はカードデータが読み出されるレコード
バツフア、33はフイールド定義情報バツフア、
34は一覧表様式バツフアであつて一覧表につい
ての様式バツフア31に対応するもの、35は一
覧表レコードバツフアであつて一覧表についての
レコードバツフア32に対応するもの、36は一
覧表フイールド定義情報バツフアを表す。
31 is a format buffer from which the contents of the format data storage section 27 are read and card data is embedded thereon to generate a card image; 32 is a record buffer from which card data is read; 33 is a field definition. information battle,
34 is a list format buffer that corresponds to the format buffer 31 for the list; 35 is a list record buffer that corresponds to the record buffer 32 for the list; 36 is a list field definition. Represents information buffer.

また、40はウインドウ制御部であつて様式バ
ツフア31,31′等から所定の表示枠(ウイン
ドウ)情報に従いデータを切り出す制御を行うも
の、41は画面コードバツフアであつてデイスプ
レイに表示するコード情報が格納されるもの、4
2はデイスプレイ制御部であつて画面コードバツ
フア41の内容をデイスプレイに表示する制御を
行うもの、43は例えばCRT等のデイスプレイ、
44は印刷制御部であつてカードに関する情報を
プリンタに出力する制御を行うもの、45はプリ
ンタを表す。
Further, 40 is a window control unit that controls cutting out data from format buffers 31, 31', etc. according to predetermined display frame (window) information, and 41 is a screen code buffer that stores code information to be displayed on the display. what is done, 4
2 is a display control unit that controls displaying the contents of the screen code buffer 41 on the display; 43 is a display such as a CRT;
Reference numeral 44 represents a print control unit that controls outputting information regarding the card to a printer, and 45 represents a printer.

ボツクスは、第3図に関連して説明した如く、
共通の様式データを持つ一連のカードイメージ全
体からなるものであり、少なくとも様式データと
フイールド定義情報と個々のカードデータとを持
つている。各ボツクスの様式は、オペレータがデ
イスプレイ43の画面上にデータ記入制御部14
における仮名漢字変換機能を用いて文字等を記入
した結果に従つて作成される。様式作成管理部1
1は、様式解析部12によつて各フイールドにつ
いての定義情報やフイールド名を決定し、結果を
ボツクス管理部20により様式データ記憶部2
7、フイールド定義情報記憶部28等に格納す
る。
As explained in connection with Figure 3, the box is
It consists of an entire series of card images having common format data, and includes at least format data, field definition information, and individual card data. The format of each box is determined by the operator using the data entry control section 14 on the screen of the display 43.
It is created according to the results of entering characters etc. using the kana-kanji conversion function in . Form creation management department 1
1, the format analysis section 12 determines definition information and field names for each field, and the box management section 20 stores the results in the format data storage section 2.
7. Store in the field definition information storage unit 28 or the like.

様式データ記憶部27は、例えば第2図に示し
たような様式を記憶する。フイールド定義情報記
憶部28は、例えば第7図に示すような情報50
を持つ。即ち、フイールドには独立項目50Aと
表の項目50Bとがあり、独立項目として項目数
および各項目属性が記憶される。また、表の項目
としては縦方向属性(行数・各Y座標)および横
方向属性(項目数・各項目属性)が記憶される。
上記各項目属性は、例えばレコードバツフアドレ
ス、項目のカード内における先頭座標、桁数と行
数、文字フイールド/数値フイールド等の種別な
どの情報からなる。
The form data storage section 27 stores, for example, a form as shown in FIG. The field definition information storage unit 28 stores information 50 as shown in FIG. 7, for example.
have. That is, the field includes an independent item 50A and a table item 50B, and the number of items and each item attribute are stored as independent items. Further, as table items, vertical attributes (number of rows, each Y coordinate) and horizontal attributes (number of items, each item attribute) are stored.
Each of the item attributes described above includes information such as the record buffer address, the starting coordinates of the item within the card, the number of digits and lines, and the type of character field/numeric field.

カード作成管理部13は、上記様式データおよ
びフイールド定義情報によつて定まる様式イメー
ジに記入されたデータをカードデータ記憶部29
に記憶し管理する。例えばボツクスを呼び出して
カードイメージを表示するにあたつては、様式デ
ータ記憶部27の内容を様式バツフア31にロー
ドし、フイールド定義情報記憶部28の内容をフ
イールド定義情報バツフア33に読み出し、さら
にレコードバツフア32に読み出したカードデー
タ記憶部29の内容を、フイールド定義情報バツ
フア33の内容に従つて様式バツフア31上でマ
ージし、これを画面コードバツフア41に転記す
る。
The card creation management unit 13 stores the data entered in the form image determined by the form data and field definition information in the card data storage unit 29.
be stored and managed. For example, when calling a box to display a card image, the contents of the form data storage section 27 are loaded into the form buffer 31, the contents of the field definition information storage section 28 are read into the field definition information buffer 33, and then the The contents of the card data storage section 29 read into the buffer 32 are merged on the format buffer 31 according to the contents of the field definition information buffer 33, and this is transferred to the screen code buffer 41.

第4図に関連して説明した如く、デイスプレイ
画面には複数の表示枠を設けて複数のカードイメ
ージの一部などを表示することができる。即ち、
第8図図示の如くウインドウ制御部40は、ウイ
ンドウ制御テーブル52の内容に従つて、複数の
様式バツフア31,31′からそれぞれ表示が要
求されているデータ51,51′を切り出し、画
面コードバツフア41に転記する制御を行う。そ
のためウインドウ制御テーブル52は、様式バツ
フア31等におけるデータ51等のアドレスや大
きさなどの情報を保持する。
As explained in connection with FIG. 4, a plurality of display frames can be provided on the display screen to display parts of a plurality of card images. That is,
As shown in FIG. 8, the window control unit 40 extracts data 51 and 51' that are requested to be displayed from the plural format buffers 31 and 31', respectively, according to the contents of the window control table 52, and stores them in the screen code buffer 41. Controls posting. Therefore, the window control table 52 holds information such as addresses and sizes of data 51 and the like in the format buffer 31 and the like.

主として本発明は、上記カードイメージ処理に
おける表繰り返し制御に関連している。
The present invention mainly relates to table repetition control in the above-mentioned card image processing.

第9図は本発明に係る表繰り返し範囲の位置指
定における指定可能な位置の例を示している。図
中、符号55および55′は表マーク、56はカ
ーソルを表している。
FIG. 9 shows an example of positions that can be specified in specifying the position of the table repetition range according to the present invention. In the figure, numerals 55 and 55' represent table marks, and 56 represents a cursor.

例えば、従来の手順登録における表繰り返しで
は、表の1行目から最終行まで処理を行うように
されていたが、本発明では、表を有意義に使うた
め、手順登録における表繰り返しの範囲、即ち、
繰り返しの開始位置および終了位置の指定で次の
ような指定が可能になつている。
For example, in table repetition in conventional procedure registration, processing is performed from the first row to the last row of the table, but in the present invention, in order to use the table meaningfully, the range of table repetition in procedure registration is ,
It is now possible to specify the start and end positions of repetition as follows.

(1) 表の先頭 (2) 表の最終 (3) 記入済みの最終(空白または未記入の前) (4) 記入済みの最終の次 (5) 現カーソル位置(指定のカーソルの位置) ただし、終了位置が開始位置より前になるよう
な指定はできない。
(1) First of the table (2) Last of the table (3) Last filled in (before blank or unfilled) (4) Next to the last filled in (5) Current cursor position (specified cursor position) However, , the end position cannot be specified before the start position.

表は、例えば第9図図示の如く、開始を示す表
マーク55と、終了を示す表マーク55′との間
に定義される。「表の先頭」は、同図に示すよう
に表マーク55が付された行を示す。「表の最終」
は、表マーク55′が付された位置を示す。また
「記入済みの最終」は、この例では「くけこ…」
のデータが記入された行を示し、次行以下がすべ
て未記入になつている行である。「記入済みの最
終の次」は、「くけこ…」が記入された次の行を
示し、この指定は例えば新しいカードデータを追
加記入するような処理手順登録の場合等に用いら
れる。「現カーソル位置」は、カーソル56が存
在する行を示す。
The table is defined, for example, as shown in FIG. 9, between a table mark 55 indicating the start and a table mark 55' indicating the end. The "top of the table" indicates the row to which the table mark 55 is attached, as shown in the figure. "Final of table"
indicates the position where the table mark 55' is attached. In addition, "Final completed" is "Kukeko..." in this example.
This shows the line in which data has been entered, and the following lines are all blank lines. "Next to the last completed entry" indicates the next line in which "Kukeko..." was entered, and this designation is used, for example, in the case of registering a processing procedure such as adding new card data. “Current cursor position” indicates the line where the cursor 56 exists.

第9図に示した例は、いわゆる縦表であつて、
行単位にフイールドの並びが繰り返される場合で
あるが、もちろん列単位にフイールドの並びが繰
り返される横表の場合も同様である。
The example shown in Figure 9 is a so-called vertical table, and
This is a case where the arrangement of fields is repeated on a row-by-row basis, but of course the same applies to horizontal tables where the arrangement of fields is repeated on a column-by-column basis.

手順登録を行う場合、キーボードから作業選択
キーを投入し、「手順登録」を選択する。これに
よつて、デイスプレイ画面には、第10図図示の
如く、手順枠57が画面下に設定されて表示され
る。この手順枠57には、第5図で説明したよう
な処理手順を作成することができ、特に、表繰り
返しの場合には、第10図に示すように、表の開
始および終了位置を指定することができるように
なつている。この例では、開始位置として「表の
先頭」、終了位置として「記入済みの最終」を指
定している。このように指定することによつて、
例えば行単位のフイールド間における計算、複
写、検索等の処理手順を表内においてデータが有
効な部分についてのみ実行させることが可能にな
る。例えば、開始位置として「記入済みの最終の
次」、終了位置として「表の最終」等というよう
に、他の組合わせを指定することも可能である。
When registering a procedure, input the work selection key from the keyboard and select "Register procedure". As a result, a procedure frame 57 is set and displayed on the display screen as shown in FIG. 10. In this procedure frame 57, the processing procedure as explained in FIG. 5 can be created. In particular, in the case of table repetition, the start and end positions of the table can be specified as shown in FIG. It is now possible to do so. In this example, "the beginning of the table" is specified as the starting position, and "the last filled in" is specified as the ending position. By specifying like this,
For example, processing procedures such as calculation, copying, and searching between fields on a row-by-row basis can be executed only for portions of the table where data is valid. For example, it is also possible to specify other combinations, such as "next to the last filled in" as the start position and "last in the table" as the end position.

第1図は、第9図および第10図で説明した処
理を実現するための主要部の構成を示している。
図中、第6図と同符号のものは第6図に対応し、
60は計算指示部、61は検索指示部、62は表
繰り返し指示部、63は計算実行部、64は検索
実行部、65は表繰り返し実行部、66は記入済
み最終位置サーチ部を表す。
FIG. 1 shows the configuration of main parts for realizing the processing explained in FIGS. 9 and 10.
In the figure, the same symbols as in Fig. 6 correspond to Fig. 6,
Reference numeral 60 represents a calculation instruction section, 61 a search instruction section, 62 a table repetition instruction section, 63 a calculation execution section, 64 a search execution section, 65 a table repetition execution section, and 66 a completed final position search section.

計算指示部60および検索指示部61は、処理
手順の登録に手順登録制御部16によつて呼び出
され、それぞれ計算指示および検索指示について
の構文を解析して、手順記憶部17に記憶する処
理を行うものである。同様に表繰り返し指示部6
2は、処理手順中に表繰り返しが指定された場合
に、手順登録制御部16から呼び出される。本発
明では表繰り返し指示部62は、第9図および第
10図で説明したように表繰り返し範囲の指定、
特に記入済み最終行についての繰り返しの指定を
入力可能に構成されている。表繰り返しにおい
て、開始および終了の情報を入力すると、その組
合わせに前後が逆になつているというような予盾
がないかをチエツクし、正しい場合には、手順記
憶部17に格納する。エラーがあればその旨を表
示し、再入力を促す。
The calculation instruction section 60 and the search instruction section 61 are called by the procedure registration control section 16 to register a processing procedure, and execute processing for parsing the syntax of the calculation instruction and search instruction, respectively, and storing them in the procedure storage section 17. It is something to do. Similarly, the table repetition instruction part 6
2 is called by the procedure registration control unit 16 when table repetition is specified during a processing procedure. In the present invention, the table repetition instruction unit 62 specifies the table repetition range as explained in FIGS. 9 and 10,
In particular, it is configured such that it is possible to input a repetition designation for the last line that has already been filled out. In table repetition, when start and end information is input, a check is made to see if there is any pre-warning such as the front and back being reversed in the combination, and if correct, the information is stored in the procedure storage unit 17. If there is an error, it will be displayed and prompt you to re-enter.

適当な処理手順名が付けられて手順登録制御部
16によつて登録された一連の処理手順は、手順
実行の指定により、随時実行される。手順実行が
選択されると、手順実行制御部18が起動され
る。手順実行制御部18は指定された処理手順に
ついて、順次、手順記憶部17から手順を読み出
し、手順種別に従つてそれらの各実行部を呼び出
す。計算実行部63は、手順が計算を示している
ときに、その計算を実行するものである。検索実
行部64は、指定されたカード検索を実行するも
のである。表繰り返しの手順に対しては、表繰り
返し実行部65が呼び出される。
A series of processing procedures that have been given appropriate processing procedure names and registered by the procedure registration control unit 16 are executed at any time upon designation of procedure execution. When procedure execution is selected, the procedure execution control unit 18 is activated. The procedure execution control unit 18 sequentially reads out the designated processing procedure from the procedure storage unit 17 and calls each of the execution units according to the procedure type. The calculation execution unit 63 executes calculation when the procedure indicates calculation. The search execution unit 64 executes a specified card search. For the table repetition procedure, the table repetition execution unit 65 is called.

表繰り返し実行部65は、第11図に従つて後
述する処理により、一連の手順を指定された繰り
返しの開始から終了まで、行(縦表のとき)また
は列(横表のとき)単位に繰り返すものである。
表繰り返し範囲の指定に、「記入済の最終」また
は「記入済の最終の次」が関係するとき、記入済
み最終位置サーチ部66を呼び出し、動的に繰り
返しの範囲を決定する。記入済み最終位置行サー
チ部66は、レコードバツフア32に用意される
カードデータをフイールド定義情報バツフア33
上の情報に従つて参照することにより、少なくと
も1項目が空白または項目マーク以外の行(列)
を表の最下行(最右例)からサーチする処理を行
うものである。
The table repetition execution unit 65 repeats the series of steps from the start to the end of the specified repetition in units of rows (for vertical tables) or columns (for horizontal tables) by processing described later with reference to FIG. It is something.
When the specification of the table repetition range involves "last entry" or "next to the last entry", the entry end position search unit 66 is called to dynamically determine the repeat range. The completed final position line search unit 66 converts the card data prepared in the record buffer 32 into the field definition information buffer 33.
By referring to the information above, you can find rows (columns) where at least one item is blank or does not have an item mark.
The search process starts from the bottom row of the table (rightmost example).

第11図は、第1図図示実施例における表繰り
返し実行部65および記入済み最終位置サーチ部
66の処理概要を示したものである。例えば、処
理手順実行において表繰り返しの指示があり、第
1図図示表繰り返し実行部65が起動されると、
表繰り返し実行部65は、第11図図示処理70
により、表繰り返し範囲の指定に記入済みの最終
が指定されているか否かを判定する。記入済み最
終が指定されているときには、第1図図示記入済
み最終位置サーチ部66を呼び出し、処理71〜
処理75を実行する。
FIG. 11 shows an outline of the processing performed by the table repetition execution section 65 and the completed final position search section 66 in the embodiment shown in FIG. For example, when there is an instruction to repeat a table in the execution of a processing procedure and the illustrated table repetition execution unit 65 in FIG. 1 is activated,
The table repetition execution unit 65 performs the illustrated processing 70 in FIG.
, it is determined whether the final entry is specified in the specification of the table repetition range. When the final completed position is specified, the final completed position search unit 66 shown in FIG.
Process 75 is executed.

処理71では、表の最終行から先頭行に向かつ
て処理72〜処理74を行単位に順番に繰り返す
を行う。処理72では、処理73および処理74
を表のフイールド分だけ繰り返すことを指示す
る。処理73では、現在着目しているフイールド
が空白または項目マーク以外であつて、記入済み
であるか否かを判定する。記入済みであることを
検出したならば、処理74により、その行を記入
済みの最終行として記憶する。そして処理76に
制御を移行する。これによつて、手順登録時には
未確定であつた範囲が確定することになる。処理
71以下の繰り返しにおいて、処理75により、
記入済みの最終行が発見できないときには、エラ
ー終了する。
In process 71, processes 72 to 74 are repeated row by row from the last row to the first row of the table. In process 72, process 73 and process 74
Instructs to repeat as many fields as the table. In process 73, it is determined whether the currently focused field is blank or other than an item mark and has been filled in. If it is detected that the line has been filled in, the process 74 stores that line as the last line that has been filled in. Control then moves to process 76. As a result, the range that was undetermined at the time of procedure registration is determined. In the repetition of process 71 and subsequent steps, process 75 causes
If the last filled line cannot be found, the process ends with an error.

表繰り返し範囲が確定したならば、処理76に
より、開始位置から終了位置の範囲で処理77、
即ち表繰り返しの中で指定されている計算や複写
等の処理も繰り返し実行する。なお、「記入済み
最終の次」の場合も同様であり、また横表の場合
には、処理71を表の最終列から先頭列に向かつ
て繰り返す。記入済み最終に関連する範囲指定以
外の場合には、予め処理手順を繰り返すべき範囲
が固定しているため、実行段階で記入済み最終位
置サーチ部66を呼び出す必要はない。
Once the table repetition range has been determined, processing 77 is performed in the range from the start position to the end position.
That is, processes such as calculation and copying specified in the table repetition are also executed repeatedly. The same applies to the case of "next to the last completed entry", and in the case of a horizontal table, the process 71 is repeated from the last column to the first column of the table. In cases other than specifying a range related to the final completed position, the range in which the processing procedure should be repeated is fixed in advance, so there is no need to call the final completed position search unit 66 at the execution stage.

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

以上説明した如く、本発明によれば、手順登録
段階では未確定な記入済みの最終位置を、表繰り
返し範囲における開始位置または終了位置に指定
できるようになり、カードイメージ処理における
表繰り返し機能を有効に利用できるようになる。
即ち、一般にカードの表におけるデータ量は、漸
次増加していくことが多く、手順登録時には未確
定であるが、記入済みの最終位置を表繰り返し範
囲に指定できることから、表繰り返し処理におい
てデータの追加記入をすること等が可能になり、
また無駄な処理手順の実行を繰り返さなくてもよ
いようになる。
As explained above, according to the present invention, it becomes possible to specify the completed final position, which is undetermined at the procedure registration stage, as the start position or end position in the table repetition range, thereby enabling the table repetition function in card image processing. will be available for use.
In other words, in general, the amount of data on the front of a card often increases gradually, and is undetermined at the time of procedure registration, but since the final position of the completed entry can be specified as the table repetition range, data can be added during table repetition processing. It is now possible to fill out information, etc.
Furthermore, it is no longer necessary to repeat execution of wasteful processing procedures.

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

第1図は本発明の一実施例要部構成図、第2図
および第3図は本発明に関連するカードイメージ
とボツクスとの概念を説明するための図、第4図
および第5図は本発明に関連する処理態様を説明
するための図、第6図は本発明が適用される一実
施例全体概要図、第7図はフイールド定義情報記
憶部に格納される情報の説明図、第8図は様式バ
ツフアと画面コードバツフアとの対応を説明する
ための図、第9図および第10図は本発明に係る
表繰り返し範囲を指定する態様を説明するための
図、第11図は本発明の一実施例処理概要説明図
を示す。 図中、1はカードイメージ、2はボツクス、8
はキーボード、10はカードイメージ処理部、1
6は手順登録制御部、17は手順記憶部、27は
様式データ記憶部、28はフイールド定義情報記
憶部、29はカードデータ記憶部、62は表繰り
返し指示部、65は表繰り返し実行部、66は記
入済み最終位置サーチ部を表す。
FIG. 1 is a block diagram of the essential parts of an embodiment of the present invention, FIGS. 2 and 3 are diagrams for explaining the concept of card images and boxes related to the present invention, and FIGS. 4 and 5 are FIG. 6 is a diagram for explaining processing aspects related to the present invention. FIG. 6 is an overall outline diagram of an embodiment to which the present invention is applied. FIG. 7 is an explanatory diagram of information stored in the field definition information storage unit. Figure 8 is a diagram for explaining the correspondence between the format buffer and the screen code buffer, Figures 9 and 10 are diagrams for explaining the aspect of specifying the table repetition range according to the present invention, and Figure 11 is a diagram for explaining the mode of specifying the table repetition range according to the present invention. 1 is a diagram illustrating a processing overview of an embodiment of the present invention. In the figure, 1 is a card image, 2 is a box, and 8
is the keyboard, 10 is the card image processing section, 1
6 is a procedure registration control section, 17 is a procedure storage section, 27 is a form data storage section, 28 is a field definition information storage section, 29 is a card data storage section, 62 is a table repetition instruction section, 65 is a table repetition execution section, 66 represents the filled-in final position search section.

Claims (1)

【特許請求の範囲】[Claims] 1 デイスプレイと、罫線または固定文字を含む
カードの様式情報を格納する様式情報記憶部と、
カードの記入フイールドに関する定義情報を格納
するフイールド定義情報記憶部と、個々のカード
における記入フイールドに記入された内容を格納
するカードデータ記憶部とを少なくとも備え、上
記デイスプレイ画面上に上記様式情報記憶部の内
容と上記カードデータ記憶部の内容とを上記フイ
ールド定義情報記憶部の内容に基づいてマージし
て様式バツフア内にカードイメージを生成し表示
すると共に、当該カードイメージ上の個々のフイ
ールドを指示して処理態様を与え、カード内容に
ついての処理を行うカードイメージ処理機能を有
するデータ処理装置におけるカード処理の表繰り
返し制御方式であつて、上記カード内容に対する
処理手順の登録制御を行う手順登録制御部と、フ
イールドの並びにおける属性が行方向または列方
向に共通する表に含まれる行または列について上
記処理手順中において行単位または列単位に処理
を繰り返す表繰り返しを指示すると共にその繰り
返し範囲の位置について少なくともデータ記入済
み最終位置を入力可能とされた表繰り返し指示部
と、上記処理手順を記憶する手順記憶部と、該手
順記憶部に記憶された処理手順の実行制御を行う
手順実行制御部と、上記表繰り返し指示部によつ
て指示された表繰り返しを実行すると共に上記デ
ータ記入済み最終位置の指定に対しデータ記入済
みの位置をサーチする手段を有する表繰り返し実
行部とを備えたことを特徴とするカード処理の表
繰り返し制御方式。
1. A display, a format information storage unit that stores format information of a card including ruled lines or fixed characters,
The format information storage section includes at least a field definition information storage section that stores definition information regarding the entry fields of the card, and a card data storage section that stores the contents entered in the entry fields of each card. and the contents of the card data storage section are merged based on the contents of the field definition information storage section to generate and display a card image in the format buffer, as well as specify each field on the card image. A table repetition control method for card processing in a data processing device having a card image processing function for processing card contents by giving a processing mode to the card contents, the method comprising: a procedure registration control section for controlling registration of processing procedures for the card contents; , instructs table repetition in which the process is repeated row by row or column by column in the above processing procedure for rows or columns included in a table whose attributes in the field arrangement are common in the row or column direction, and at least the position of the repetition range. a table repetition instruction section in which the final position of completed data can be input; a procedure storage section for storing the processing procedure; a procedure execution control section for controlling the execution of the processing procedure stored in the procedure storage section; The present invention is characterized by comprising a table repetition execution unit having means for executing the table repetition instructed by the table repetition instruction unit and searching for a data-filled position in response to the designation of the data-filled final position. Table repetition control method for card processing.
JP59095840A 1984-05-14 1984-05-14 List repetition processing system of card processing Granted JPS60238971A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59095840A JPS60238971A (en) 1984-05-14 1984-05-14 List repetition processing system of card processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59095840A JPS60238971A (en) 1984-05-14 1984-05-14 List repetition processing system of card processing

Publications (2)

Publication Number Publication Date
JPS60238971A JPS60238971A (en) 1985-11-27
JPH0245217B2 true JPH0245217B2 (en) 1990-10-08

Family

ID=14148571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59095840A Granted JPS60238971A (en) 1984-05-14 1984-05-14 List repetition processing system of card processing

Country Status (1)

Country Link
JP (1) JPS60238971A (en)

Also Published As

Publication number Publication date
JPS60238971A (en) 1985-11-27

Similar Documents

Publication Publication Date Title
US4435778A (en) Method for editing spatially related data in an interactive text processing system
EP0120977A1 (en) Card image data processing system
JPH0245217B2 (en)
JPH0462269B2 (en)
JPH0438005B2 (en)
JPH0245216B2 (en)
JPS645346B2 (en)
JPH0685170B2 (en) Numerical item digit rounding control method
JPS60238968A (en) Card image document creation processing system
JPS59103122A (en) Table production control system for card image processing data processor
JPH0376491B2 (en)
JPS60238970A (en) Alteration processing system for card format fixation part
JP3914579B2 (en) Information processing device
JPH0128979B2 (en)
JPH04130973A (en) Data registering system for electronic filing
JP2919396B2 (en) Document maker
JPS60178489A (en) Card image data processor
JPS60178488A (en) Card image data processor
JP2001005904A (en) Information processor and form preparing method
JPH0425575B2 (en)
JPH0420501B2 (en)
JPH0743750B2 (en) Multi-table concatenation method in information processing equipment
JPS6323576B2 (en)
JPH08329050A (en) Document data converting device
JPH06266487A (en) Information processor and help information presenting method

Legal Events

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