JPH11126226A - Slip producing device and storage medium - Google Patents

Slip producing device and storage medium

Info

Publication number
JPH11126226A
JPH11126226A JP9289943A JP28994397A JPH11126226A JP H11126226 A JPH11126226 A JP H11126226A JP 9289943 A JP9289943 A JP 9289943A JP 28994397 A JP28994397 A JP 28994397A JP H11126226 A JPH11126226 A JP H11126226A
Authority
JP
Japan
Prior art keywords
display
tree list
information
data
section
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9289943A
Other languages
Japanese (ja)
Inventor
Sachiko Nagai
幸子 永井
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP9289943A priority Critical patent/JPH11126226A/en
Publication of JPH11126226A publication Critical patent/JPH11126226A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a slip producing device which easily and visually grasps the belonging relation of each block and item by an editor which is equipped with a tree list that hierarchically shows blocks set in a slip and items belonging to a block and facilitates an edit operation and a storage medium. SOLUTION: A hierarchical structure of slip data that are stored in data memory in a RAM almost coincides with a hierarchical structure shown on a tree list displaying part 22 of a slip editor screen 21 and hierarchically links item data belonging to each block. A CPU updates slip data stored in the slip data memory in the RAM 4 according to data input by a user's operation such as the selection, deletion, copy and addition of an object (icon) to a layout view displaying part 23 (or the part 22) and further updates display in the part 22 (in the part 23) according to the updated slip data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、データベースに基
づいて帳票を作成する帳票作成装置に係り、詳細には、
帳票エディタの画面上で各種定義を行うことによって帳
票を作成する帳票作成装置及び記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a form creation device for creating a form based on a database.
The present invention relates to a form creation device and a storage medium for creating a form by performing various definitions on a form editor screen.

【0002】[0002]

【従来の技術】近年、大量の情報を効率的に管理する有
効な手段としてデータベースが用いられている。データ
ベースは一般的に、固有のキーと複数の項目データによ
って構成されるレコードを複数有することによって構成
されている。そして、このようなデータベースを操作し
て帳票を作成するためには、必要とする項目を任意の配
置で出力することを設定する帳票エディタを用いる。
2. Description of the Related Art In recent years, a database has been used as an effective means for efficiently managing a large amount of information. The database is generally configured by having a plurality of records each including a unique key and a plurality of item data. In order to create a form by operating such a database, a form editor for setting necessary items to be output in an arbitrary arrangement is used.

【0003】図8に従来の帳票エディタの帳票定義画面
の例を示す。この図8において、51は帳票エディタ画
面、52はレイアウト表示部、53は明細区画ガイド5
4、及び明細レコード区画ガイド55を含む区画ガイ
ド、56はページ区画、57は明細区画、58は明細レ
コード区画である。
FIG. 8 shows an example of a form definition screen of a conventional form editor. 8, 51 is a form editor screen, 52 is a layout display section, and 53 is a detail section guide 5.
4 and a section guide including a detail record section guide 55, 56 is a page section, 57 is a detail section, and 58 is a detail record section.

【0004】図8に示すような帳票エディタでは、階層
化された入力レコードを出力する帳票を定義する際に
は、入力レコードの階層と対応する区画を設定し、各区
画にテキストや罫線等の項目を配置する。そして、各区
画を帳票エディタ上で視覚的に区別しやすいように、明
細区画ガイド54や明細レコード区画ガイド55等の区
画ガイド53が表示されている。
In a form editor as shown in FIG. 8, when defining a form for outputting a hierarchized input record, sections corresponding to the input record hierarchy are set, and text, ruled lines and the like are set in each section. Arrange items. Section guides 53 such as a detail section guide 54 and a detail record section guide 55 are displayed so that each section can be visually distinguished easily on the form editor.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、前述し
たような従来の帳票エディタでは、区画が重なるように
配置された場合に、重なり上の項目がどちらの区画に属
するのかを画面上で確認しにくかった。また、特に明細
レコード区画が重なるように配置されたときに、設定さ
れている区画が画面上で確認しにくかった。また、区画
が重ならずに境界を持って接する場合でも、その境界上
の項目(罫線)が、どちらの区画に属するのかわかりに
くい場合があった。
However, in the conventional form editor as described above, when the sections are arranged so as to overlap, it is difficult to confirm on the screen which section the item on the overlap belongs to. Was. In particular, when the detailed record sections are arranged so as to overlap, it is difficult to confirm the set section on the screen. Further, even when the sections contact each other with a boundary without overlapping, it may be difficult to determine to which section the item (ruled line) on the boundary belongs.

【0006】そこで、本発明の課題は、帳票に設定され
た区画と該区画に属する項目を階層的に表示するツリー
リストを備えた帳票エディタによって、各区画や項目の
所属関係を視覚的に把握しやすく、編集作業を容易にす
ることができる帳票作成装置及び記憶媒体を提供するこ
とである。
Accordingly, an object of the present invention is to visually grasp the affiliation of each section or item by using a form editor having a tree list that hierarchically displays the sections set in the form and the items belonging to the section. It is an object of the present invention to provide a form creation device and a storage medium that can be easily edited and facilitate an editing operation.

【0007】[0007]

【課題を解決するための手段】請求項1記載の発明は、
帳票データを記憶する記憶手段と、この記憶手段に記憶
された帳票データに基づいて帳票のレイアウト表示を行
うレイアウト表示手段と、前記記憶手段に記憶された帳
票データに基づいて帳票の構成要素を階層化したツリー
リスト表示を行うツリーリスト表示手段と、を備えたこ
とを特徴としている。
According to the first aspect of the present invention,
Storage means for storing the form data, layout display means for displaying the layout of the form based on the form data stored in the storage means, and hierarchically constructing the components of the form based on the form data stored in the storage means Tree list display means for displaying a simplified tree list.

【0008】請求項1記載の発明の帳票作成装置によれ
ば、レイアウト表示手段は、記憶手段に記憶された帳票
データに基づいて帳票のレイアウト表示を行い、ツリー
リスト表示手段は、前記記憶手段に記憶された帳票デー
タに基づいて帳票の構成要素を階層化したツリーリスト
表示を行う。
According to the form creation device of the present invention, the layout display means performs layout display of the form based on the form data stored in the storage means, and the tree list display means stores the form in the storage means. Based on the stored form data, a tree list is displayed in which the components of the form are hierarchized.

【0009】したがって、帳票作成のための帳票エディ
タ画面で帳票の構成をツリーリストで表示することによ
り、帳票の区画の構成、区画と項目の所属関係、項目や
区画の出力順序(上層下層の関係)等を視覚的に分かり
やすくすることができ、帳票定義操作の効率を向上させ
ることができる。
Therefore, by displaying the structure of a form in a tree list on the form editor screen for creating a form, the structure of the sections of the form, the affiliation between the sections and the items, the output order of the items and the sections (the relation between the upper and lower layers) ) Can be visually comprehended easily, and the efficiency of the form definition operation can be improved.

【0010】また、請求項2記載の発明のように、請求
項1記載の帳票作成装置において、前記レイアウト表
示、または前記ツリーリスト表示のいずれか一方が更新
された際に、前記記憶手段に記憶された帳票データを更
新し、該帳票データの更新内容に従って、他方の表示内
容を更新する更新手段を更に備えた構成としてもよい。
According to a second aspect of the present invention, when one of the layout display and the tree list display is updated, the form is stored in the storage means. It may be configured to further include an updating unit that updates the form data that has been input, and updates the other display content according to the update content of the form data.

【0011】この請求項2記載の発明によれば、一方の
表示の更新時には帳票データを更新し、該更新内容に基
づいて他方の表示内容を更新するため、いずれの表示内
での編集操作後も、ツリーリスト表示とレイアウト表示
の2つの表示の整合性を保つことができ、ユーザーは、
操作の内容に応じて適宜選択的に2つの表示を使い分け
ることが可能となり、帳票定義操作の柔軟性を高め、操
作効率を向上させることができる。
According to the second aspect of the present invention, the form data is updated at the time of updating one display, and the other display content is updated based on the updated content. Can also maintain the consistency of the two views, tree list view and layout view,
It is possible to selectively use the two displays as appropriate according to the content of the operation, thereby increasing the flexibility of the form definition operation and improving the operation efficiency.

【0012】更に、請求項3記載の発明のように、請求
項2記載の帳票作成装置において、前記記憶手段に記憶
された帳票データは、帳票に設定される各構成要素の階
層構造に基づくデータ構造を有しており、前記ツリーリ
スト表示手段は、該データ構造に従って帳票のツリーリ
スト表示を行うこととしてもよい。
Further, according to a third aspect of the present invention, in the form creation device according to the second aspect, the form data stored in the storage means is based on a hierarchical structure of each component set in the form. The tree list display means may display a form tree list according to the data structure.

【0013】この請求項3記載の発明によれば、レイア
ウトまたはツリーリストのいずれかの表示において、帳
票の構成要素の移動などの変更処理がなされた場合に、
該変更処理の内容を容易に帳票データに反映することが
できる。
According to the third aspect of the present invention, in the display of either the layout or the tree list, when a change process such as moving a component of a form is performed,
The contents of the change processing can be easily reflected on the form data.

【0014】[0014]

【発明の実施の形態】以下、図1〜図7を参照して本発
明に係る帳票作成装置1の実施の形態を詳細に説明す
る。まず、構成を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a form creation device 1 according to the present invention will be described below in detail with reference to FIGS. First, the configuration will be described.

【0015】図1は、本実施の形態における帳票作成装
置1の要部構成を示すブロック図である。図1におい
て、帳票作成装置1は、CPU2、入力装置3、RAM
4、表示装置5、印刷装置6、記憶装置7、及び記憶媒
体8により構成され、各部はバス9により接続されてい
る。
FIG. 1 is a block diagram showing a main configuration of a form creation device 1 according to the present embodiment. In FIG. 1, a form creation device 1 includes a CPU 2, an input device 3, a RAM,
4, a display device 5, a printing device 6, a storage device 7, and a storage medium 8. Each unit is connected by a bus 9.

【0016】CPU(Central Processing Unit )2
は、記憶装置7に記憶されている当該帳票作成装置1に
対応する各種アプリケーションプログラムの中から指定
されたアプリケーションプログラム、入力装置3から入
力される各種指示あるいはデータをRAM4内のワーク
メモリ4aに格納し、この入力指示及び入力データに応
じてRAM4内に格納したアプリケーションプログラム
に従って各種処理を実行し、その処理結果をRAM4内
のワークメモリ4aに格納するとともに、表示装置5に
表示する。そして、ワークメモリ4aに格納した処理結
果を入力装置3から入力指示される記憶装置7内の保存
先に保存する。
CPU (Central Processing Unit) 2
Stores, in the work memory 4a in the RAM 4, an application program designated from among various application programs corresponding to the form creation device 1 stored in the storage device 7, and various instructions or data input from the input device 3. Then, various processes are executed in accordance with the application program stored in the RAM 4 according to the input instruction and the input data, and the processing results are stored in the work memory 4 a in the RAM 4 and displayed on the display device 5. Then, the processing result stored in the work memory 4a is stored in a storage destination in the storage device 7 which is instructed to be input from the input device 3.

【0017】また、CPU2は、ユーザーから入力装置
3を介して入力される指示に従って帳票定義処理(図6
参照)を行う。
The CPU 2 performs a form definition process (FIG. 6) in accordance with an instruction input from the user via the input device 3.
See).

【0018】この帳票定義処理において、後に詳述する
図5に示すレイアウトビュー表示部23内におけるユー
ザーの入力操作としては、オブジェクトを選択する、選
択したオブジェクトを削除、複写する、あるいは新しい
オブジェクトを追加するなどの操作が考えられるが、C
PU2は、これらユーザーの操作によるデータ入力に従
ってRAM4内の帳票データメモリ4bに格納された帳
票データを更新し、更に、該更新された帳票データに従
って図5に示すツリーリスト表示部22内の表示を更新
する。
In the form definition processing, the user's input operation in the layout view display section 23 shown in FIG. 5 described later in detail includes selecting an object, deleting or copying the selected object, or adding a new object. Operation such as
The PU 2 updates the form data stored in the form data memory 4b in the RAM 4 according to the data input by the user's operation, and further displays the display in the tree list display unit 22 shown in FIG. 5 according to the updated form data. Update.

【0019】また、図5に示すツリーリスト表示部22
内におけるユーザーの入力操作としては、アイコンを選
択する、選択したアイコンを削除、複写する、あるいは
新しいアイコンを追加するなどの操作の他に、アイコン
の種類に応じた設定入力、項目アイコン222、または
項目アイコン225の区画間の移動等が考えられる。前
記アイコンの種類に応じた設定入力としては、例えば、
帳票アイコン221に対しては、印刷する用紙のサイ
ズ、余白等の設定、項目アイコン222に対しては、文
字フォント等の設定などRAM4内の帳票データメモリ
4bに格納される帳票データの定義情報部に属する情報
の設定(後述する)がなされる。
The tree list display section 22 shown in FIG.
As input operations of the user in the, in addition to operations such as selecting an icon, deleting or copying the selected icon, or adding a new icon, setting input according to the type of icon, item icon 222, or Movement of the item icon 225 between sections may be considered. As a setting input according to the type of the icon, for example,
For the form icon 221, setting of the size of paper to be printed, margins, etc., for the item icon 222, such as setting of character font, etc., form data definition information section stored in the form data memory 4b in the RAM 4. Is set (to be described later).

【0020】また、項目アイコン222を明細レコード
区画アイコン224下に移動した場合、当該項目が所属
する区画を変更することができるが、該区画の変更はR
AM4内の帳票データメモリ4bに格納される帳票デー
タの項目情報には反映されるが、図5に示すレイアウト
ビュー表示部23内の座標とは切り離して行われる。一
方、同じ区画内での項目アイコンの並べ替えは、描画の
前面/背面を入れ替えることに相当し、ツリーリスト表
示部22内でのアイコンの並びは、印刷時の出力順序に
相当する。
When the item icon 222 is moved below the detailed record section icon 224, the section to which the item belongs can be changed.
Although this is reflected in the item information of the form data stored in the form data memory 4b in the AM 4, it is performed separately from the coordinates in the layout view display section 23 shown in FIG. On the other hand, the rearrangement of the item icons in the same section is equivalent to switching the front / back of the drawing, and the arrangement of the icons in the tree list display unit 22 is equivalent to the output order at the time of printing.

【0021】更に、例えば、選択されたオブジェクトに
対しては、図5に示すツリーリストにおける選択表示2
4のようにハイライト表示が行われるなどして、ユーザ
ーが視認しやすい表示が行われる。
Further, for example, for the selected object, a selection display 2 in the tree list shown in FIG.
For example, a highlight display is performed as shown in FIG.

【0022】そして、CPU2は、これらユーザーの操
作によるデータ入力に従ってRAM4内の帳票データメ
モリ4bに格納された帳票データを更新し、更に、該更
新された帳票データに従って図5に示すレイアウトビュ
ー表示部23内の表示を更新する。
Then, the CPU 2 updates the form data stored in the form data memory 4b in the RAM 4 according to the data input by the user's operation, and further according to the updated form data, a layout view display unit shown in FIG. The display in 23 is updated.

【0023】例えば、図5に示すツリーリスト表示部2
2内のオブジェクトが削除された際には、当該オブジェ
クトに関する制御情報、及び定義情報をRAM4内の帳
票データメモリ4bに格納された前記帳票データから削
除し、該削除されて更新された情報に基づいて図5に示
すレイアウトビュー表示部23内の表示を更新する。
For example, the tree list display unit 2 shown in FIG.
2 is deleted, the control information and the definition information relating to the object are deleted from the form data stored in the form data memory 4b in the RAM 4, and based on the deleted and updated information. Then, the display in the layout view display section 23 shown in FIG. 5 is updated.

【0024】このような処理により、ツリーリスト表示
部22とレイアウトビュー表示部23の2つの表示部の
整合性を保ちつつ、いずれの表示部内での編集操作をも
有効とすることができる。
By such processing, it is possible to make the editing operation in either display unit effective while maintaining the consistency between the two display units, the tree list display unit 22 and the layout view display unit 23.

【0025】入力装置3は、カーソルキー、数字入力キ
ー及び各種機能キー等を備えたキーボードと、ポインテ
ィングデバイスであるマウスと、を備え、キーボードで
押下されたキーの押下信号をCPU2に出力するととも
に、マウスによる操作信号をCPU2に出力する。
The input device 3 includes a keyboard having cursor keys, numeric input keys, various function keys, and the like, and a mouse as a pointing device. The input device 3 outputs to the CPU 2 a signal indicating a key pressed by the keyboard. And outputs an operation signal from the mouse to the CPU 2.

【0026】RAM(Random Access Memory)4は、指
定されたアプリケーションプログラム、入力指示、入力
データ及び処理結果等を格納するワークメモリ4aと、
帳票データ作成に関する帳票データを格納する帳票デー
タメモリ4bを有する。
A RAM (Random Access Memory) 4 includes a work memory 4a for storing a designated application program, input instructions, input data, processing results, and the like.
It has a form data memory 4b for storing form data relating to form data creation.

【0027】以下、図2から図5を参照して、RAM4
の帳票データメモリ4bに格納される帳票データについ
て詳細に説明する。
Hereinafter, referring to FIG. 2 to FIG.
The form data stored in the form data memory 4b will be described in detail.

【0028】図2は、帳票データメモリ4bに格納され
る帳票データの階層構造を示す図であり、図3は、図2
に示す帳票情報、項目情報等の個別の情報構造を示す図
である。そして、図4は、図2、及び図3によって示す
構造を模式的に表形式にまとめた図であり、図5は、本
実施の形態における帳票作成装置1の帳票エディタ画面
を示す図である。
FIG. 2 is a diagram showing the hierarchical structure of the form data stored in the form data memory 4b, and FIG.
4 is a diagram showing an individual information structure such as form information and item information shown in FIG. FIG. 4 is a diagram schematically showing the structure shown in FIGS. 2 and 3 in a tabular form, and FIG. 5 is a diagram showing a form editor screen of the form creation device 1 in the present embodiment. .

【0029】図3に示す情報構造は、制御情報部と定義
情報部とから構成されており、更に、制御情報部は、ツ
リーリスト表示情報、レイアウトビュー表示情報、及び
ステータスによって構成されている。前記制御情報部に
属する情報は、帳票エディタの制御に関する情報であ
り、図4に示すように各情報に共通の表示情報である。
The information structure shown in FIG. 3 includes a control information section and a definition information section. The control information section further includes tree list display information, layout view display information, and status. The information belonging to the control information section is information relating to control of the form editor, and is display information common to each information as shown in FIG.

【0030】すなわち、ツリーリスト表示情報は、図5
に示す帳票エディタ画面21のツリーリスト表示部22
内における表示に関する情報を格納しており、図4に示
すように、アイコン、位置、名称等の情報を帳票情報1
1、項目情報12、・・・・、項目情報15の各構成要素毎
に設定する情報である。
That is, the tree list display information is shown in FIG.
Tree list display section 22 of form editor screen 21 shown in FIG.
The information on the display in the document is stored, and as shown in FIG.
1, item information 12,..., Item information 15 are set for each component.

【0031】また、レイアウトビュー表示情報は、図5
に示す帳票エディタ画面21のレイアウトビュー表示部
23内における表示に関する情報を格納しており、図4
に示すように、表示位置等の情報を各構成要素毎に設定
する情報である。
The layout view display information is shown in FIG.
4 stores information on display in the layout view display section 23 of the form editor screen 21 shown in FIG.
As shown in (1), this is information for setting information such as a display position for each component.

【0032】そして、ステータスは、図5に示す帳票エ
ディタ画面21のツリーリスト表示部22、レイアウト
ビュー表示部23の両方の表示部に共通の情報であり、
当該構成要素が選択中であるか否かに関する情報であ
る。このステータスが選択中であると設定されている構
成要素は、図5に示すツリーリストにおける選択表示2
4、またはレイアウトビューにおける選択表示25のよ
うにその他の構成要素と表示状態を異ならせて表示され
る。
The status is information common to both the tree list display section 22 and the layout view display section 23 of the form editor screen 21 shown in FIG.
Information on whether or not the component is being selected. The component for which this status is set to “selected” is selected in the tree list shown in FIG.
4, or the display state is different from that of other components, such as the selection display 25 in the layout view.

【0033】また、図3に示す情報構造において、前記
定義情報部は、当該構成要素の要素別の定義情報を格納
する部分であり、各構成要素毎に異なる種類の情報を格
納している。
In the information structure shown in FIG. 3, the definition information section is a section for storing definition information for each element of the component, and stores different types of information for each component.

【0034】図2に示すように、帳票データの最上位の
構成要素は帳票情報11である。この帳票情報11の定
義情報部には、図4に示すように、印刷する際の用紙サ
イズ、余白、行列数等の帳票全体に関わる設定が格納さ
れている。
As shown in FIG. 2, the top-level component of the form data is form information 11. As shown in FIG. 4, the definition information section of the form information 11 stores settings relating to the entire form, such as paper size, margins, and the number of rows and columns when printing.

【0035】そして、帳票情報11の直下層には、項目
情報12と明細情報13が設定されている。項目情報1
2は、帳票のタイトル等の明細部に属さない帳票全体に
共通の情報であり、項目数分の配列によって構成され
る。この項目情報12の各々の項目の定義情報部には、
図4に示すように、テキスト、罫線、網掛け、文字フォ
ント等の設定が格納されている。明細情報13は、デー
タベースに格納された複数のレコードを所定の条件に従
って抽出して作成される明細部の情報であり、この明細
情報13の定義情報部には、図4に示すように、明細領
域の位置、大きさ等の設定が格納されている。
Then, immediately below the form information 11, item information 12 and detailed information 13 are set. Item information 1
2 is information common to the entire form that does not belong to the detailed part such as the title of the form, and is configured by an array of the number of items. In the definition information part of each item of this item information 12,
As shown in FIG. 4, settings such as text, ruled lines, hatching, and character font are stored. The specification information 13 is information of a specification part created by extracting a plurality of records stored in the database according to predetermined conditions. The definition information part of the specification information 13 includes, as shown in FIG. Settings such as the position and size of the area are stored.

【0036】更に、明細情報13の直下層には、明細の
括りレベルを定義するセクション情報14が複数設定さ
れている。セクション情報14の定義情報部には、図4
に示すように、レコードレベル、1レコードの長さ等の
設定が格納されている。この複数のセクション情報14
のそれぞれの直下層には、項目情報15が設定されてい
る。項目情報15は、各セクション情報14毎の出力項
目の詳細に関する情報であり、項目数分の配列によって
構成される。この項目情報15の各々の項目の定義情報
部には、図4に示すように、テキスト、罫線、網掛け、
文字フォント等の設定が格納されている。
Further, immediately below the specification information 13, a plurality of section information 14 defining a specification wrapping level are set. In the definition information section of the section information 14, FIG.
As shown in the table, settings such as record level, record length, and the like are stored. This plural section information 14
The item information 15 is set in each layer immediately below. The item information 15 is information on the details of output items for each section information 14, and is configured by an array for the number of items. As shown in FIG. 4, the definition information section of each item of the item information 15 includes text, ruled lines, hatched,
Settings such as character fonts are stored.

【0037】以上のような帳票データの階層構造は、図
5に示す帳票エディタ画面21のツリーリスト表示部2
2に表示される階層構造とほぼ一致したものとなる。
The hierarchical structure of the form data described above is based on the tree list display section 2 of the form editor screen 21 shown in FIG.
This almost matches the hierarchical structure shown in FIG.

【0038】表示装置5は、CRT(Cathode Ray Tub
e)、液晶表示装置等により構成され、CPU2から入
力される表示データを表示する。
The display device 5 is a CRT (Cathode Ray Tub).
e) It is constituted by a liquid crystal display device or the like, and displays display data input from the CPU 2.

【0039】印刷装置6は、帳票作成装置1に対応する
各種アプリケーションプログラムによって作成されたデ
ータ等を印刷する。
The printing device 6 prints data and the like created by various application programs corresponding to the form creation device 1.

【0040】記憶装置7は、プログラムやデータ等が予
め記憶されている記憶媒体8を有しており、この記憶媒
体8は磁気的、光学的記録媒体、若しくは半導体メモリ
で構成されている。この記憶媒体8は記憶装置7に固定
的に設けたもの、若しくは着脱自在に装着するものであ
り、この記憶媒体8には当該帳票作成装置1に対応する
各種アプリケーションプログラム、メニュー表示プログ
ラム、印刷処理プログラム及び各処理プログラムで処理
されたデータ等を記憶する。
The storage device 7 has a storage medium 8 in which programs, data and the like are stored in advance, and this storage medium 8 is constituted by a magnetic or optical recording medium or a semiconductor memory. The storage medium 8 is fixedly provided in the storage device 7 or is removably mounted. The storage medium 8 includes various application programs, menu display programs, and printing processes corresponding to the form creation device 1. A program and data processed by each processing program are stored.

【0041】また、この記憶媒体8に記憶するプログラ
ム、データ等は、通信回線等を介して接続された他の機
器から受信して記憶する構成にしてもよく、更に、通信
回線等を介して接続された他の機器側に上記記憶媒体8
を備えた記憶装置を設け、この記憶媒体8に記憶されて
いるプログラム、データ等を通信回線を介して使用する
構成にしてもよい。
The program, data, and the like stored in the storage medium 8 may be configured to be received and stored from another device connected via a communication line or the like. The storage medium 8 is stored in another connected device.
May be provided, and a program, data, and the like stored in the storage medium 8 may be used via a communication line.

【0042】次に動作を説明する。ユーザーからの入力
指示により、入力装置3を介して帳票定義処理が指示さ
れると、CPU2は、図6のフローチャートに示す帳票
定義処理を開始する。
Next, the operation will be described. When the form definition processing is instructed via the input device 3 by an input instruction from the user, the CPU 2 starts the form definition processing shown in the flowchart of FIG.

【0043】まず、CPU2は、記憶装置7に格納され
た当該帳票作成装置1に関するアプリケーションプログ
ラムの中から帳票エディタプログラムを読み出して起動
し、表示装置5の表示画面に帳票定義画面を表示する
(ステップS1)。そして、CPU2は、入力装置3を
介してユーザーの操作が発生したか否かを判別し(ステ
ップS2)、操作が発生していなければ続けてユーザー
の操作を監視し、操作が発生していれば当該操作のなさ
れた位置を判断する(ステップS3)。
First, the CPU 2 reads out the form editor program from the application programs related to the form creation device 1 stored in the storage device 7 and starts it, and displays the form definition screen on the display screen of the display device 5 (step). S1). Then, the CPU 2 determines whether or not a user operation has occurred via the input device 3 (step S2). If no operation has occurred, the CPU 2 continuously monitors the user operation to determine whether the operation has occurred. For example, the position where the operation has been performed is determined (step S3).

【0044】ステップS3において、ユーザーによって
操作が行われた位置が図5のレイアウトビュー表示部2
3内であると判別された場合には、CPU2は、レイア
ウトビュー表示部23に対応した作業ツールボックスを
表示し(ステップS4)、ユーザーからの入力操作に従
ってレイアウトビュー表示部23内の表示を行う(ステ
ップS5)。ここで、ユーザーの入力操作として、オブ
ジェクトを選択する、選択したオブジェクトを削除、複
写する、あるいは新しいオブジェクトを追加するなどの
操作が考えられるが、例えば、選択されたオブジェクト
に対しては、図5に示すレイアウトビューにおける選択
表示25のようにハイライト表示が行われるなどして、
ユーザーが視認しやすい表示が行われる。
In step S3, the position where the user has performed an operation is the layout view display unit 2 shown in FIG.
If it is determined that the number is within 3, the CPU 2 displays a work tool box corresponding to the layout view display unit 23 (step S4), and displays the contents in the layout view display unit 23 according to an input operation from the user. (Step S5). Here, as an input operation of the user, an operation of selecting an object, deleting or copying the selected object, or adding a new object can be considered. For example, for the selected object, FIG. Highlighting is performed like the selection display 25 in the layout view shown in FIG.
A display that is easy for the user to view is provided.

【0045】次いで、CPU2は、ステップS5におい
てユーザによってなされたデータ入力に従ってRAM4
内の帳票データメモリ4bに格納された帳票データを更
新し(ステップS6)、更に、ステップS6において更
新された帳票データに従って図5に示すツリーリスト表
示部22内の表示を更新する(ステップS7)。
Next, the CPU 2 sets the RAM 4 in accordance with the data input made by the user in step S5.
The form data stored in the form data memory 4b is updated (step S6), and the display in the tree list display unit 22 shown in FIG. 5 is updated according to the form data updated in step S6 (step S7). .

【0046】例えば、図5に示すレイアウトビュー表示
部23内に新しいオブジェクトが追加された際には、当
該オブジェクトに関する前記制御情報、及び定義情報を
RAM4内の帳票データメモリ4bに格納された前記帳
票データに追加し、該追加された情報に基づいて図5に
示すツリーリスト表示部22内の表示を更新する。ま
た、レイアウトビュー表示部23内で選択されているオ
ブジェクトが変更された場合には、帳票データ内のステ
ータスの変化に従って、ツリーリスト表示部22内のハ
イライト表示を変更してツリーリストにおける選択表示
24のような表示を行う。
For example, when a new object is added to the layout view display section 23 shown in FIG. 5, the control information and definition information relating to the object are stored in the form data stored in the form data memory 4b in the RAM 4. The data is added to the data, and the display in the tree list display unit 22 shown in FIG. 5 is updated based on the added information. When the object selected in the layout view display section 23 is changed, the highlight display in the tree list display section 22 is changed according to the status change in the form data, and the selected display in the tree list is changed. 24 is displayed.

【0047】また、ステップS3において、ユーザーに
よって操作が行われた位置が図5のツリーリスト表示部
22内であると判別された場合には、CPU2は、ツリ
ーリスト表示部22に対応した作業ツールボックスを表
示し(ステップS8)、ユーザーからの入力操作に従っ
てツリーリスト表示部22内の表示を行う(ステップS
9)。ここで、ユーザーの入力操作として、アイコンを
選択する、選択したアイコンを削除、複写する、あるい
は新しいアイコンを追加するなどの操作の他に、アイコ
ンの種類に応じた設定入力、項目アイコン222、また
は項目アイコン225の区画間の移動等が考えられる。
If it is determined in step S3 that the position operated by the user is within the tree list display section 22 of FIG. A box is displayed (step S8), and display in the tree list display section 22 is performed according to an input operation from the user (step S8).
9). Here, in addition to operations such as selecting an icon, deleting or copying the selected icon, or adding a new icon as input operations of the user, setting input according to the type of icon, item icon 222, or Movement of the item icon 225 between sections may be considered.

【0048】アイコンの種類に応じた設定入力として
は、例えば、帳票アイコン221に対しては、印刷する
用紙のサイズ、余白等の設定、項目アイコン222に対
しては、文字フォント等の設定などRAM4内の帳票デ
ータメモリ4bに格納される帳票データの定義情報部に
属する情報の設定がなされる。
The setting input corresponding to the type of icon includes, for example, setting of the size of printing paper and margins for the form icon 221 and setting of character font and the like for the item icon 222. The information belonging to the definition information part of the form data stored in the form data memory 4b is set.

【0049】また、項目アイコン222を明細レコード
区画アイコン224下に移動した場合、当該項目が所属
する区画を変更することができるが、該区画の変更はR
AM4内の帳票データメモリ4bに格納される帳票デー
タの項目情報には反映されるが、図5に示すレイアウト
ビュー表示部23内の座標とは切り離して行われる。一
方、同じ区画内での項目アイコンの並べ替えは、描画の
前面/背面を入れ替えることに相当し、ツリーリスト表
示部22内でのアイコンの並びは、印刷時の出力順序に
相当する。
When the item icon 222 is moved below the detailed record section icon 224, the section to which the item belongs can be changed.
Although this is reflected in the item information of the form data stored in the form data memory 4b in the AM 4, it is performed separately from the coordinates in the layout view display section 23 shown in FIG. On the other hand, the rearrangement of the item icons in the same section is equivalent to switching the front / back of the drawing, and the arrangement of the icons in the tree list display unit 22 is equivalent to the output order at the time of printing.

【0050】更に、例えば、選択されたオブジェクトに
対しては、図5に示すツリーリストにおける選択表示2
4のようにハイライト表示が行われるなどして、ユーザ
ーが視認しやすい表示が行われる。
Further, for example, for the selected object, a selection display 2 in the tree list shown in FIG.
For example, a highlight display is performed as shown in FIG.

【0051】次いで、CPU2は、ステップS9におい
てユーザによってなされたデータ入力に従ってRAM4
内の帳票データメモリ4bに格納された帳票データを更
新し(ステップS10)、更に、ステップS10におい
て更新された帳票データに従って図5に示すレイアウト
ビュー表示部23内の表示を更新する(ステップS1
1)。
Next, the CPU 2 sets the RAM 4 in accordance with the data input made by the user in step S9.
The form data stored in the form data memory 4b is updated (step S10), and the display in the layout view display unit 23 shown in FIG. 5 is updated according to the form data updated in step S10 (step S1).
1).

【0052】例えば、図5に示すツリーリスト表示部2
2内のオブジェクトが削除された際には、当該オブジェ
クトに関する前記制御情報、及び定義情報をRAM4内
の帳票データメモリ4bに格納された前記帳票データか
ら削除し、該削除されて更新された情報に基づいて図5
に示すレイアウトビュー表示部23内の表示を更新す
る。
For example, the tree list display unit 2 shown in FIG.
2 is deleted, the control information and the definition information relating to the object are deleted from the form data stored in the form data memory 4b in the RAM 4, and the deleted and updated information is added to the information. FIG. 5 based on
Is updated in the layout view display section 23 shown in FIG.

【0053】このような処理により、ツリーリスト表示
部22とレイアウトビュー表示部23の2つの表示部の
整合性を保ちつつ、いずれの表示部内での編集操作をも
有効とすることができる。
By such processing, the editing operation in any of the display units can be made effective while maintaining the consistency between the two display units, the tree list display unit 22 and the layout view display unit 23.

【0054】また、ステップS3において、ユーザーに
よって操作が行われた位置が図5には図示しないコマン
ド・メニューエリア内であると判別された場合には、指
示されたコマンドが終了であるか否かを判別し(ステッ
プS12)、終了でなければ指示されたコマンドを実行
して(ステップS13)、ステップS2に移行し、終了
であれば一連の帳票定義処理を終了する。
If it is determined in step S3 that the position operated by the user is within the command menu area (not shown in FIG. 5), it is determined whether the designated command is completed. Is determined (step S12), and if not completed, the instructed command is executed (step S13), and the process shifts to step S2. If completed, a series of form definition processing ends.

【0055】なお、本発明の構成は上述した実施の形態
の構成に限定されるものではなく、本発明の趣旨を逸脱
しない範囲で任意に変更可能である。例えば、図5に示
す帳票エディタ画面21のツリーリスト表示部22の階
層構造は、図示、及び上述した構成に限られるものでは
なく、区画と項目の所属関係に特に注目する場合には、
図7に示すような階層構造とすることもできる。すなわ
ち、図7に示す例では、明細と明細レベル1の上層下層
の関係は表現されておらず、各区画と各項目の所属関係
のみが表現されている。そして、帳票の定義構造に基づ
くツリーリスト表示の階層構造は、種々のバリエーショ
ンが考えられるため、複数種の階層構造表示モードを予
め設定し、ユーザーが適宜選択して使用する形態として
もよい。
The configuration of the present invention is not limited to the configuration of the above-described embodiment, and can be arbitrarily changed without departing from the spirit of the present invention. For example, the hierarchical structure of the tree list display section 22 of the form editor screen 21 shown in FIG. 5 is not limited to the configuration shown and described above.
A hierarchical structure as shown in FIG. 7 can also be used. That is, in the example shown in FIG. 7, the relationship between the specification and the upper and lower layers of the specification level 1 is not expressed, but only the affiliation between each section and each item is expressed. Since various variations are conceivable for the hierarchical structure of the tree list display based on the definition structure of the form, a plurality of types of hierarchical structure display modes may be set in advance, and the user may appropriately select and use the mode.

【0056】以上説明したように、本実施の形態におけ
る帳票作成装置1によれば、RAM4内の帳票データメ
モリ4bに格納される図2に示すような帳票データの階
層構造は、図5に示す帳票エディタ画面21のツリーリ
スト表示部22に表示される階層構造とほぼ一致してお
り、各区画に所属する項目データを階層的にリンクさせ
ている。そして、CPU2は、レイアウトビュー表示部
23(または、ツリーリスト表示部22)に対するオブ
ジェクト(アイコン)の選択、削除、複写、追加等のユ
ーザーの操作によるデータ入力に従ってRAM4内の帳
票データメモリ4bに格納された帳票データを更新し、
更に、該更新された帳票データに従って図5に示すツリ
ーリスト表示部22内(レイアウトビュー表示部23
内)の表示を更新する構成とした。
As described above, according to the form creation apparatus 1 of the present embodiment, the hierarchical structure of the form data as shown in FIG. 2 stored in the form data memory 4b in the RAM 4 is shown in FIG. It almost matches the hierarchical structure displayed on the tree list display section 22 of the form editor screen 21, and item data belonging to each section is hierarchically linked. Then, the CPU 2 stores the object (icon) in the form data memory 4b in the RAM 4 in accordance with data input by a user operation such as selection, deletion, copying, and addition of an object (icon) to the layout view display unit 23 (or the tree list display unit 22). Update the entered form data,
Further, according to the updated form data, the tree list display unit 22 (layout view display unit 23) shown in FIG.
The display in () is updated.

【0057】したがって、帳票エディタ画面で帳票の構
成をツリーリストで表示することにより、区画の構成、
区画と項目の所属関係、項目や区画の出力順序(上層下
層の関係)等を視覚的に分かりやすくすることができ、
帳票定義操作の効率を向上させることができる。
Therefore, by displaying the form configuration in a tree list on the form editor screen, the configuration of the sections,
It is possible to make it easier to visually understand the affiliation between blocks and items, the output order of items and blocks (the relationship between upper and lower layers), etc.
The efficiency of the form definition operation can be improved.

【0058】また、共通の帳票データを参照する構成に
より、ツリーリスト表示部22とレイアウトビュー表示
部23の2つの表示部の整合性を保ちつつ、いずれの表
示部内での編集操作をも有効としたため、ユーザーは、
操作の内容に応じて適宜選択的に2つの表示を使い分け
ることができ、帳票定義操作の柔軟性を高め、操作効率
を向上させることができる。
Further, the configuration in which the common form data is referred to enables the editing operation in any of the display units to be effective while maintaining consistency between the two display units of the tree list display unit 22 and the layout view display unit 23. As a result,
The two displays can be selectively used as appropriate according to the content of the operation, so that the flexibility of the form definition operation can be increased and the operation efficiency can be improved.

【0059】[0059]

【発明の効果】請求項1記載の発明によれば、帳票作成
のための帳票エディタ画面で帳票の構成をツリーリスト
で表示することにより、帳票の区画の構成、区画と項目
の所属関係、項目や区画の出力順序(上層下層の関係)
等を視覚的に分かりやすくすることができ、帳票定義操
作の効率を向上させることができる。
According to the first aspect of the present invention, the structure of a form is displayed as a tree list on a form editor screen for creating a form, whereby the structure of the form sections, the affiliation between the sections and the items, and the items are displayed. And output order of sections (relation between upper and lower layers)
Etc. can be visually understood easily, and the efficiency of the form definition operation can be improved.

【0060】請求項2記載の発明によれば、一方の表示
の更新時には帳票データを更新し、該更新内容に基づい
て他方の表示内容を更新するため、いずれの表示内での
編集操作後も、ツリーリスト表示とレイアウト表示の2
つの表示の整合性を保つことができ、ユーザーは、操作
の内容に応じて適宜選択的に2つの表示を使い分けるこ
とが可能となり、帳票定義操作の柔軟性を高め、操作効
率を向上させることができる。
According to the second aspect of the present invention, the form data is updated when one display is updated, and the other display content is updated based on the updated content. , Tree list display and layout display 2
The consistency of the two displays can be maintained, and the user can selectively use the two displays as appropriate according to the content of the operation, thereby increasing the flexibility of the form definition operation and improving the operation efficiency. it can.

【0061】請求項3記載の発明によれば、レイアウト
またはツリーリストのいずれかの表示において、帳票の
構成要素の移動などの変更処理がなされた場合に、該変
更処理の内容を容易に帳票データに反映することができ
る。
According to the third aspect of the present invention, when a change processing such as movement of a form element is performed in displaying either the layout or the tree list, the contents of the change processing can be easily converted to the form data. Can be reflected in

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

【図1】本発明の一実施の形態における帳票作成装置1
の要部構成を示すブロック図である。
FIG. 1 is a form creation device 1 according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a configuration of a main part of FIG.

【図2】図1に示すRAM4内の帳票データメモリ4b
に格納される帳票データの階層構造を示す図である。
FIG. 2 is a form data memory 4b in a RAM 4 shown in FIG.
FIG. 3 is a diagram showing a hierarchical structure of form data stored in the form data.

【図3】図2に示す帳票情報、項目情報等の個別の情報
構造を示す図である。
3 is a diagram showing an individual information structure such as form information and item information shown in FIG. 2;

【図4】図2、及び図3によって示す構造を模式的に表
形式にまとめた図である。
FIG. 4 is a diagram schematically showing the structure shown in FIGS. 2 and 3 in a table format.

【図5】図1に示す帳票作成装置1の帳票エディタ画面
を示す図である。
FIG. 5 is a view showing a form editor screen of the form creation device 1 shown in FIG. 1;

【図6】図1に示すCPU2によって実行される帳票定
義処理について説明するフローチャートである。
FIG. 6 is a flowchart illustrating a form definition process executed by CPU 2 shown in FIG. 1;

【図7】図5に示す帳票エディタ画面21のツリーリス
ト表示部22のその他の階層構造としての一例を示す図
である。
7 is a diagram showing an example of another hierarchical structure of the tree list display section 22 of the form editor screen 21 shown in FIG.

【図8】従来の帳票エディタの帳票定義画面の例を示す
図である。
FIG. 8 is a diagram showing an example of a form definition screen of a conventional form editor.

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

1 帳票作成装置 2 CPU 3 入力装置 4 RAM 4a ワークメモリ 4b 帳票データメモリ 5 表示装置 6 印刷装置 7 記憶装置 8 記憶媒体 9 バス DESCRIPTION OF SYMBOLS 1 Form creation device 2 CPU 3 Input device 4 RAM 4a Work memory 4b Form data memory 5 Display device 6 Printing device 7 Storage device 8 Storage medium 9 Bus

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】帳票データを記憶する記憶手段と、 この記憶手段に記憶された帳票データに基づいて帳票の
レイアウト表示を行うレイアウト表示手段と、 前記記憶手段に記憶された帳票データに基づいて帳票の
構成要素を階層化したツリーリスト表示を行うツリーリ
スト表示手段と、 を備えたことを特徴とする帳票作成装置。
A storage means for storing the form data; a layout display means for displaying a form layout based on the form data stored in the storage means; and a form based on the form data stored in the storage means. And a tree list display means for displaying a tree list in which the constituent elements are hierarchized.
【請求項2】前記レイアウト表示、または前記ツリーリ
スト表示のいずれか一方が更新された際に、前記記憶手
段に記憶された帳票データを更新し、該帳票データの更
新内容に従って、他方の表示内容を更新する更新手段を
更に備えたことを特徴とする請求項1記載の帳票作成装
置。
2. When one of the layout display and the tree list display is updated, the form data stored in the storage means is updated, and the other display content is updated according to the updated contents of the form data. 2. The form creation apparatus according to claim 1, further comprising an updating unit for updating the form.
【請求項3】前記記憶手段に記憶された帳票データは、
帳票に設定される各構成要素の階層構造に基づくデータ
構造を有しており、前記ツリーリスト表示手段は、該デ
ータ構造に従って帳票のツリーリスト表示を行うことを
特徴とする請求項2記載の帳票作成装置。
3. The form data stored in the storage means,
3. The form according to claim 2, wherein the form has a data structure based on a hierarchical structure of each component set in the form, and the tree list display means displays a tree list of the form according to the data structure. Creating device.
【請求項4】コンピュータが実行可能なプログラムを格
納した記憶媒体であって、 記憶手段に記憶された帳票データに基づいて帳票のレイ
アウト表示を行うためのコンピュータが実行可能なプロ
グラムコードと、 前記記憶手段に記憶された帳票データに基づいて帳票の
構成要素を階層化したツリーリスト表示を行うためのコ
ンピュータが実行可能なプログラムコードと、 を含むプログラムを格納したことを特徴とする記憶媒
体。
4. A storage medium storing a computer-executable program, the computer-executable program code for displaying a form layout based on form data stored in storage means, and the storage A storage medium storing a program including: a computer-executable program code for displaying a tree list in which components of a form are hierarchized based on the form data stored in the means.
JP9289943A 1997-10-22 1997-10-22 Slip producing device and storage medium Pending JPH11126226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9289943A JPH11126226A (en) 1997-10-22 1997-10-22 Slip producing device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9289943A JPH11126226A (en) 1997-10-22 1997-10-22 Slip producing device and storage medium

Publications (1)

Publication Number Publication Date
JPH11126226A true JPH11126226A (en) 1999-05-11

Family

ID=17749754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9289943A Pending JPH11126226A (en) 1997-10-22 1997-10-22 Slip producing device and storage medium

Country Status (1)

Country Link
JP (1) JPH11126226A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000222493A (en) * 1999-01-29 2000-08-11 Canon Inc Device and method for editing object, and storage medium storing computer readable program
JP2007179405A (en) * 2005-12-28 2007-07-12 Mitsubishi Electric Corp Device for supporting display data item test
JP2010231527A (en) * 2009-03-27 2010-10-14 Nec Corp Form creating device, form creating method, and form creating program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000222493A (en) * 1999-01-29 2000-08-11 Canon Inc Device and method for editing object, and storage medium storing computer readable program
JP2007179405A (en) * 2005-12-28 2007-07-12 Mitsubishi Electric Corp Device for supporting display data item test
JP2010231527A (en) * 2009-03-27 2010-10-14 Nec Corp Form creating device, form creating method, and form creating program

Similar Documents

Publication Publication Date Title
JPS60230692A (en) Window display control
JP2966420B2 (en) Information processing device
JPS6019227A (en) Document processing method
JPH10214171A (en) Information processor
JPH11126226A (en) Slip producing device and storage medium
JP2785941B2 (en) Window information division / integration processing method
US6879736B1 (en) Apparatus and method of processing characters
JPH10187669A (en) Tool bar display system
JPS58103035A (en) Tab position display
JP3728768B2 (en) Method and apparatus for mixed processing of character string and ruled line
JPH08137645A (en) Information processor and tool bar edit method
JPH08335152A (en) Document processor
JP2008299571A (en) Home page creation device, its home page creation program, and home page creation method
JPH01166103A (en) Numerical controller
JP2873582B2 (en) Copying method of adjacent data in tabular data
JPH08138062A (en) Data processor and graphic data processing method
JPH08137855A (en) Document processor
JPH0675948A (en) Document processor
JPH06203021A (en) Sentence information procesor
JPH07160692A (en) Document display device
JPH08147271A (en) Document preparing device and guide display method
JPH11167644A (en) Design supporting device
JPH02224175A (en) Ruled line inserting processing system for table type data
JPH05158644A (en) Menu processor
JPH01126684A (en) Document processor