JPH0391865A - Form design system - Google Patents

Form design system

Info

Publication number
JPH0391865A
JPH0391865A JP1230213A JP23021389A JPH0391865A JP H0391865 A JPH0391865 A JP H0391865A JP 1230213 A JP1230213 A JP 1230213A JP 23021389 A JP23021389 A JP 23021389A JP H0391865 A JPH0391865 A JP H0391865A
Authority
JP
Japan
Prior art keywords
point
line segment
coordinates
input
design
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
JP1230213A
Other languages
Japanese (ja)
Inventor
Takahito Kanazawa
金沢 貴人
Seiichi Tochihara
聖一 栃原
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing 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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP1230213A priority Critical patent/JPH0391865A/en
Publication of JPH0391865A publication Critical patent/JPH0391865A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To efficiently perform the work of form design to reduce the burden on an operator by indicating a prescribed point as the reference point at the time of input of a rule. CONSTITUTION:A computer system 50 is used to display a spacing chart for form design on a display device 10, and patterns, character strings, and symbols for form design are generated on a display screen by an input device 20, and the operator designs the form while confirming the display design and the entire design on the display screen and registers form data in a file 30. At the time of input of a segment to the close area surrounded with preliminarily determined rules, coordinates of the start point of this segment are determined by coordinates of a first inputted point and the values of an equation of preliminarily determined y-axis or x-axis parallel segments. Coordinates of the end point of this segment are determined by coordinates of the start point and the value of an equation of x-axis of y-axis parallel segments unequivocally determined by a second inputted point.

Description

【発明の詳細な説明】 [産業上の利用分野] 本!明は、コンピュータシステムによって帳票類をデザ
インして出力するための帳票デザインシステムに関する
ものである。
[Detailed description of the invention] [Industrial application field] Books! This invention relates to a form design system for designing and outputting forms using a computer system.

[従来の技術] 帳票のデザインは複雑で精度を要する作業を必要とする
が、従来はこれらの作業が手作業で行われており、印刷
工程に入るまでに多大な労力を要していた。これに対し
て、本出願人は、先に、コンピュータシステムを用いる
ことにより、熟練を要せず、容易に帳票゛デザインを行
える帳票デザインシステムを提案した(例えば、特開昭
61−288269号公報参照)。その構成の概略は第
1図に示すようであり、図中、IOはCRT,20は入
力装置、30はファイル、40は出力装置、41は変換
システム、50はコンピュータシステム、51はスペー
シングチャート表示ルーチン、52は入力コントローラ
、53は命令アナライザ、54はメニュールーチン、5
5はCRT図J[lEルーチン、56はテーブルコント
ローラ、57はファイルコントローラ、58は入力情報
テーブルを示す。
[Prior Art] Designing a form requires complicated and highly accurate work, but in the past, these works were performed manually, requiring a great deal of effort before starting the printing process. In response to this, the present applicant has previously proposed a form design system that uses a computer system to easily design forms without requiring any skill (for example, Japanese Patent Application Laid-Open No. 61-288269 reference). The outline of its configuration is shown in Figure 1, where IO is a CRT, 20 is an input device, 30 is a file, 40 is an output device, 41 is a conversion system, 50 is a computer system, and 51 is a spacing chart. a display routine, 52 an input controller, 53 an instruction analyzer, 54 a menu routine, 5
5 is a CRT diagram J[lE routine, 56 is a table controller, 57 is a file controller, and 58 is an input information table.

第1図に示す構成において、所要のメッセージ、デザイ
ンパターン等を表示するCRT表示装置10と、各種メ
ニューを有し、タブレットで構成されるデータ入力機構
、および、テンキー セットボタン等を含むキーボード
で構成される入力装置20と、データの書き込みまたは
読み出しが可能となされた、フロッピーディスク、磁気
テープ等で構成されるファイル30と、製版フイルム、
刷版等を出力する、レーザドラムプロッタ等からなる出
力装置40と、上記CRT表示装置10、入力装置20
、ファイル30および出力装置40を統合して処理する
コンピュータシステム50とを設け、入力装置20によ
りファイル番号、品名、オペレータ名等の管理情報を入
力すると共に、コンピュータシステム50をイニシャラ
イズしてファイル30をオープン状態とし、デザイン用
のスペーシングチャートをグリッド状にCRT表示装置
10に表示したりし、入力装置20によりファイル30
に既に登録されている帳票デザインを選択してCRT表
示装置IOに表示し、上記いずれの場合も以後、CRT
表示装置IO及び入力装置20により対話式の帳票デザ
イン入力を行って、作業終了後データをファイル30に
登録するようにし、入力装置20によりファイル30に
既に登録されている帳票デザインを選択してCRT表示
装置10に表示すると共に、変換システム41および出
力装置40を介して当該帳票デザインの製版フイルム等
を出力するようにしている。
The configuration shown in FIG. 1 consists of a CRT display device 10 that displays required messages, design patterns, etc., a data input mechanism that has various menus and is composed of a tablet, and a keyboard that includes a numeric keypad set button, etc. an input device 20, a file 30 composed of a floppy disk, magnetic tape, etc., into which data can be written or read; a prepress film;
An output device 40 consisting of a laser drum plotter or the like that outputs printing plates, etc., the CRT display device 10, and an input device 20.
, a computer system 50 that integrates and processes the file 30 and the output device 40, inputs management information such as file number, product name, operator name, etc. through the input device 20, and initializes the computer system 50 to output the file 30. In the open state, a spacing chart for design is displayed in a grid on the CRT display device 10, and a file 30 is displayed using the input device 20.
Select the form design already registered in the CRT display device IO and display it on the CRT display device IO.
Interactive form design input is performed using the display device IO and input device 20, data is registered in the file 30 after the work is completed, and a form design already registered in the file 30 is selected using the input device 20, and the CRT is In addition to displaying it on the display device 10, a plate-making film or the like of the form design is outputted via the conversion system 41 and the output device 40.

ところで、コンピュータシステム50はソフトウェアで
動作処理するものであり、グリッド点が整列されたスペ
ーシングチャートをCRT表示装110に表示するため
のスペーシングチャート表示ルーチン51と、入力装置
20からの入力命令を制御する入力コントローラ52と
、入力コントローラ52を経て入力装置20から伝送さ
れて来る命令を分析する命令アナライザ53と、この命
令アナライザ53から通知される命令に従ってメニュー
を実行するメニュールーチン54と、メニュールーチン
54からのメニューデータに従ってCRT表示装置10
に図形及びデータを表示するためのCRT図形発生ルー
チン55と、入力された情報を整理して記憶しておく入
力情報テーブル58と、入力情報テーブル68をメニュ
ールーチン54の選択出力に従って制御するテーブルコ
ントローラ56と、ファイル30及び入力情報テーブル
58を結合するファイルコントローラ57とを備えてい
る。なお、メニュールーチン54は、直線、円弧等の基
本的な図形を処理する基本図形メニューと、線の移動や
消去等を行うレイアウトメニューと、角丸付矩形等の複
雑な図形を処理するアプリケーシ冒冫メニエーとを有し
ており、アプリケーシ甘ンメニューは角丸付矩形、垂直
罫線、角丸枠付平行罫線等の処理を行うルーチンを有し
ている。また、メニュールーチン54には、この他、文
字を処理するための文字メニューがあり、文字を処理す
るための文字情報テーブルが設けられている。
By the way, the computer system 50 is operated by software, and includes a spacing chart display routine 51 for displaying a spacing chart in which grid points are arranged on the CRT display device 110, and an input command from the input device 20. An input controller 52 to control, an instruction analyzer 53 to analyze instructions transmitted from the input device 20 via the input controller 52, a menu routine 54 to execute a menu according to instructions notified from the instruction analyzer 53, and a menu routine. CRT display device 10 according to menu data from 54
a CRT figure generation routine 55 for displaying figures and data on the screen; an input information table 58 for organizing and storing input information; and a table controller for controlling the input information table 68 according to the selected output of the menu routine 54. 56, and a file controller 57 that connects the file 30 and the input information table 58. The menu routine 54 includes a basic figure menu for processing basic figures such as straight lines and arcs, a layout menu for moving and deleting lines, and an application menu for processing complex figures such as rectangles with rounded corners. The application menu includes routines for processing rectangles with rounded corners, vertical ruled lines, parallel ruled lines with rounded frames, etc. In addition, the menu routine 54 includes a character menu for processing characters, and a character information table for processing characters.

作成された帳票デザインは、ファイル30から読み出さ
れ、変換システム41によりフォーマット変換されて出
力装置40に送られる。これはオンラインで送るように
しても良いものである。
The created form design is read from the file 30, converted into a format by the conversion system 41, and sent to the output device 40. This can also be sent online.

次に、第1図の構成で帳票のデザインを行う場合の作業
手順について、第2図を参照して説明する。
Next, a working procedure for designing a form using the configuration shown in FIG. 1 will be described with reference to FIG. 2.

まず、ステップS1で得意先から入稿した原稿のチェッ
クを行い、多パーツを使用する必要がある場合は、各パ
ートに共通な部分とそうでない部分をチェックし、デザ
インデータを格納するために、フロッピーディスク等の
データ記録媒体を用意する。ステップS2の文字列採字
は、原稿より文字列を単語又は文章ごとに区別して、カ
ナ漢字変換方式等の日本語入力方式を用いてデータ記録
媒体に記録する。次に、ステップS3の品目別管理情報
入力では、個々の帳票を識別するために、帳票名、得意
先名、仕上げサイズ、帳票種別、寸法単位、パート数、
区分等の個別の識別情報をデータ記録媒体に記録する。
First, in step S1, check the manuscript submitted by the customer. If it is necessary to use multiple parts, check the parts that are common to each part and the parts that are not. In order to store the design data, Prepare a data recording medium such as a floppy disk. In the character string recording in step S2, character strings are distinguished from the manuscript into words or sentences, and are recorded on a data recording medium using a Japanese input method such as a kana-kanji conversion method. Next, in the item-specific management information input in step S3, in order to identify each form, the form name, customer name, finished size, form type, dimensional unit, number of parts, etc.
Individual identification information such as classification is recorded on the data recording medium.

また、ステップS5のエレメントリスト入力は、帳票を
構成する部品の一覧表であり、トンボ類等の部品の中の
固定部品は予め登録されている。ステップS2の文字列
採字処理で入力した文字列は、単語又は文章ごとに1つ
の部品として自動的に登録される。他に文字列の追加、
固定部品の追加等もこの段階でも、カナ漢字変換方式等
の日本語入力方式を用いてエレメントリストに登録可能
である。ステップS6のフォームレイアウト作業は帳票
のラフデザインを行うもので、画面対話方式により、基
本図形をメニュー選択しながら帳票の罫線のラフデザイ
ンを試行錯誤的に行い、これらのデータをデータ記録媒
体に記録する。ステップS7のフォームメイクアップ作
業では、帳票を各パート毎に個々にデザインシ、多パー
トの場合は全てのパートに共通な共通パートのデザイン
を最初に行い、次に品目別管理情報で入力したパート数
分のデザインを各パート毎に行う。これらのデータは、
パート毎に区別しデータ記録媒体上に記録され、更に、
上記エレメントリスト入力(ステップS5)、フォーム
レイアウト作業(ステップSS)およびフォームメーク
アップ作業(ステップS7)の終了後に行われるステッ
プS8の変換作業はフォームメイクアップ作業までの作
業を終了したデータ記録媒体を、データ変換装置、即ち
、コンピュータシステム50によって出力装置40で処
理可能なデータ形式に変換し、データ記録媒体上のデー
タはパート毎の単位で変換する。一つのパートの中では
罫線、スクリーン、文字●ロゴ、固定部品の全てについ
て、それぞれの重なりをチェックして優先度に従って変
換する。
Furthermore, the element list input in step S5 is a list of parts constituting the form, and fixed parts among parts such as dragonflies are registered in advance. The character string input in the character string input process of step S2 is automatically registered as one component for each word or sentence. Add other strings,
Even at this stage, additions of fixed parts can be registered in the element list using a Japanese input method such as a kana-kanji conversion method. The form layout work in step S6 is to perform a rough design of the form. Using a screen interactive method, the rough design of the borders of the form is performed by trial and error while selecting basic shapes from the menu, and these data are recorded on the data recording medium. do. In the form makeup work in step S7, the form is designed individually for each part, and in the case of multiple parts, the common part that is common to all parts is first designed, and then the parts entered in the item-specific management information are Each part is designed in just a few minutes. These data are
Each part is distinguished and recorded on a data recording medium, and further,
The conversion work in step S8, which is performed after the above element list input (step S5), form layout work (step SS), and form make-up work (step S7), converts the data recording medium on which the work up to the form make-up work has been completed. , the data converter, that is, the computer system 50 converts the data into a data format that can be processed by the output device 40, and the data on the data recording medium is converted in units of parts. In one part, check the overlap of all ruled lines, screens, text/logos, and fixed parts and convert them according to priority.

なお、上記作業のうちステップS1はオペレータが行う
人手作業であり、ステップ82〜s7は入力装置20で
行われ、ステップS8はコンピュータシステム50で行
われる。
Note that among the above operations, step S1 is a manual operation performed by an operator, steps 82 to s7 are performed by the input device 20, and step S8 is performed by the computer system 50.

以上のようにして、所望の帳票デザインが行われる。In the manner described above, a desired form design is performed.

[発明が解決しようとする課題] しかしながら、従来の帳票デザインシステムにおいては
、罫線の入力の操作が煩雑であるという問題があった。
[Problems to be Solved by the Invention] However, in the conventional form design system, there was a problem in that the operation for inputting ruled lines was complicated.

即ち、従来、帳票デザインにおいて、予め設定されてい
る枠内の所望の位置に罫線を入力する場合には、通常、
目的とする罫線の始点および終点の座標値を入力するよ
うになされているが、その際、閉領域、即ち枠を構成す
る線分と平行にしなければならないのは当然として、コ
ンピュータの出力をプリンタで印字する場合に使用され
る帳票においては、特に、プリンタの構造で定まる送り
のピッチを考慮して罫線の位置を決定しなければならな
い。なぜなら、罫線の位置がプリンタのピッチを考慮し
たものでない場合には印字される文字、数字などが罫線
に掛かってしまうことになるからである。勿論、本出願
人が先に提案した上記の帳票デザインシステムにおいて
は、スベーシングチャートにより、例えば、プリンタの
ピッチ毎にグリッド点を形成し、且つ、入力装置20に
よりある位置を指示した場合には、当該入力位置は、い
わゆる丸め込みにより最寄りのグリッド点の位置に決定
され、当該グリッド点の座標がコンピュータシステム5
0に取り込まれることになるので、座標入力は比較的容
易ではあるが、罫線を所望の長さで所望の位置に、他の
線分と平行に、且つ精度よく入力することはオペレータ
にとって非常な負担となっていた。
That is, in conventional form design, when entering a ruled line at a desired position within a preset frame,
It is designed to input the coordinate values of the starting and ending points of the desired ruled line, but in doing so, it goes without saying that the coordinates must be parallel to the line segments that make up the closed area, that is, the frame. In documents used for printing, the positions of ruled lines must be determined in particular by taking into account the feed pitch determined by the structure of the printer. This is because if the position of the ruled line does not take into account the pitch of the printer, printed characters, numbers, etc. will overlap the ruled line. Of course, in the form design system previously proposed by the present applicant, grid points are formed for each pitch of the printer using a spacing chart, and when a certain position is specified by the input device 20, In this case, the input position is determined to be the position of the nearest grid point by so-called rounding, and the coordinates of the grid point are determined by the computer system 5.
0, so it is relatively easy to input the coordinates, but it is very difficult for the operator to input the ruled line at the desired length, in the desired position, parallel to other line segments, and with high precision. It was becoming a burden.

また、閉領域が入れ子になっている場合は、発生した線
分の端点が接する閉領域の枠を選択する必要があり、操
作が煩雑であった。
Furthermore, when the closed regions are nested, it is necessary to select the frame of the closed region that the end points of the generated line segments touch, making the operation complicated.

従って、本発明の目的は、上述のような問題を改善し、
帳票デザインおよび修正等の効率化を図ると共に、閉領
域内に任意の線分を容易に入力できるようにして、帳票
のデザイン工程から製版工程、または刷版工程までを一
貫して行うことができる帳票デザインシステムを提供す
ることにある。
Therefore, the purpose of the present invention is to improve the above-mentioned problems and
In addition to improving the efficiency of form design and correction, it also makes it possible to easily input any line segment within a closed area, making it possible to perform the entire process from form design to platemaking or printing plate processes. Our goal is to provide a form design system.

[課題を解決するための手段] 上記の目的を達成するために、本発明の帳票デザインシ
ステムは、表示g[と、各種操作メニュ、処理メニュー
を選択表示すると共に必要なデータを入力する入力装置
と、データ書き込みまたは読み出し可能なファイルと、
作成された帳票デザインデータを出力する出力装置と、
前記各装置を結合して処理するコンピュータシステムと
を備え、前記表示装置に帳票デザイン用のスベーシング
チャートを表示し、前記入力装置によって表示画面上に
帳票デザイン用の図形、文字列、記号を発生し、前記表
示画面上で表示デザインと全体のデザインを確認しなが
ら帳票をデザインし、デザインされた帳票データを前記
ファイルに登録するようにした帳票デザインンステムに
おいて、予め決定された罫線で囲まれた閉領域内に線分
を入力する場合、当該線分の始点の座標は入力された第
1の点の座標と、予め決定されているy軸平行線分また
はX軸平行線分の方程式の値により決定され、当該線分
の終点の座標は、始点の座標と、入力された第2の点か
ら一義的に決定されるX軸平行線分またはy軸平行線分
の方程式の値により決定されることを特徴とする。
[Means for Solving the Problems] In order to achieve the above object, the form design system of the present invention includes a display g[ and an input device for selectively displaying various operation menus and processing menus and inputting necessary data. and a file from which data can be written or read,
an output device that outputs the created form design data;
a computer system that connects and processes each of the devices, displays a spacing chart for form design on the display device, and displays figures, character strings, and symbols for form design on the display screen using the input device; In a form design system in which a form is designed while checking the display design and the overall design on the display screen, and the designed form data is registered in the file, the form is surrounded by predetermined ruled lines. When inputting a line segment in a closed region, the coordinates of the starting point of the line segment are the coordinates of the input first point and the equation of the predetermined y-axis parallel line segment or X-axis parallel line segment. The coordinates of the end point of the line segment are determined by the coordinates of the starting point and the value of the equation of the X-axis parallel line segment or the y-axis parallel line segment that is uniquely determined from the input second point. It is characterized by being

[作用および発明の効果コ 本発明においては、基準点、即ち第1点目の入力に関し
ては、従来と同様の精度が要求されるが、第2点目に関
しては、横方向の罫線を入力する場合には、基準点より
右側または左側で、且つ、所望の位置の縦方向罫線の左
側または右側の任意の点を指示すれば自動的に所望の罫
線を入力することができ、また、縦方向の罫線について
は、第2点目は基準点よりも下側または上側で、且つ、
所望の横方向罫線の上側または下側の任意の点をしじす
れば足りるので、第2点目の座標入力には高い精度は全
く要求されない。従って、本発明によれば、罫線、直線
の入力のためには必要最小限の精度が要求されるだけで
あるので,帳票デザインの作業が効率化されると共に、
オペレータの負担が大幅に軽減されるものである。
[Operation and Effects of the Invention] In the present invention, the same accuracy as before is required for inputting the reference point, that is, the first point, but for the second point, a horizontal ruled line is input. In this case, the desired ruled line can be automatically input by specifying an arbitrary point on the right or left side of the reference point and on the left or right side of the vertical ruled line at the desired position. For ruled lines, the second point is below or above the reference point, and
Since it is sufficient to press any point above or below the desired horizontal ruled line, high precision is not required for inputting the coordinates of the second point. Therefore, according to the present invention, only the minimum necessary accuracy is required for inputting ruled lines and straight lines, so the work of form design is streamlined, and
This greatly reduces the burden on the operator.

[実施例コ 以下、図面を参照しつつ実施例を説明する。[Example code] Examples will be described below with reference to the drawings.

本発明に係る帳票デザインシステムのハードウェア構成
は第1図に示す構成と同様であるが、コ冫ピュータシス
テム50、特に、メニューノレーチン54の行う処理が
異なっている。その処理を第3図のフローチャートを参
照して説明する。なお、以下の説明においては、X座標
の大きい場合を右側、小さい場合を左側と称し、y座標
の大きい場合を下側、小さい場合を上側と称す。
The hardware configuration of the form design system according to the present invention is similar to the configuration shown in FIG. 1, but the processing performed by the computer system 50, particularly the menu entry 54, is different. The process will be explained with reference to the flowchart in FIG. In the following description, the case where the X coordinate is large is called the right side, the case where it is small is called the left side, the case where the y coordinate is large is called the lower side, and the case where the y coordinate is small is called the upper side.

いま、第4図に示すように、帳票の枠、即ち閉領域12
および縦の罫線13が決定されてCRTlOの表示画面
ll上に表示されているときに、横の罫線14を入力す
るものとする。従って、このとき、入力情報テーブル5
8には下記の5本の線分の方程式が格納されている。
Now, as shown in FIG. 4, the frame of the form, that is, the closed area 12
It is assumed that the horizontal ruled line 14 is input when the vertical ruled line 13 is determined and displayed on the display screen ll of the CRTlO. Therefore, at this time, input information table 5
8 stores the equations of the following five line segments.

Y = Y +  ( X + ≦X≦Xs )   
 ・”(1)3’:Y*  (XI :aX:aX3 
)    ・”(2)x = X ,( Y 2 ≦y
≦Y+ )    =(3)x ” X *  ( Y
 * ≦y :aY+ )    ・”(4)X”X2
  (Y* ≦y≦Y+)    ・・・(5)なお、
これらの線分方程式は入力情報テーブル58に一纏めに
されて格納されているのではなく、X軸に平行な線分、
即ち上記の(1)式および(2)式で与えられる線分は
X軸平行線分テーブルに、y軸に平行な線分、即ち上記
の(3)式、(4)式および(5)式で与えられる線分
はy軸平行線分テーブルに、それぞれ格納されるように
なされている。
Y = Y + (X + ≦X≦Xs)
・”(1)3’:Y* (XI:aX:aX3
) ・”(2) x = X , ( Y 2 ≦y
≦Y+ ) = (3) x ”
*≦y:aY+) ・”(4)X”X2
(Y* ≦y≦Y+) ... (5) Furthermore,
These line segment equations are not stored together in the input information table 58, but rather line segments parallel to the X axis,
That is, the line segments given by the above equations (1) and (2) are added to the X-axis parallel line segment table, and the line segments parallel to the y-axis, that is, the above equations (3), (4), and (5) The line segments given by the equations are stored in a y-axis parallel line segment table.

まず、オペレータは、ステップSitで基準となる第1
点の入力を行うが、いま、入力装置20により第5図の
点Ppを指示し、更にステップS12で水平線分を指定
したとする。ステップSl1およびステップSL2の操
作は、例えばタブレットで点Ppを指示し、次に、適当
なメニューキーにより水平線分または垂直線分の指定を
行うようにしてもよいが、周知の4ボタンカーソルを使
用し,その中のあるボタンを水平線分に、他のあるボタ
ンを垂直線分に割り当てておけばステップS11の操作
とステップSL2の操作を一つの動作で行うことができ
るので便利である。
First, the operator selects the first
In order to input a point, it is assumed that the input device 20 is used to specify a point Pp in FIG. 5, and furthermore, in step S12, a horizontal line segment is specified. The operations in step SL1 and step SL2 may be performed by, for example, specifying the point Pp on a tablet and then specifying a horizontal line segment or a vertical line segment using an appropriate menu key, but a well-known four-button cursor may be used. However, it is convenient if one of the buttons is assigned to a horizontal line segment and another button is assigned to a vertical line segment, since the operation in step S11 and the operation in step SL2 can be performed in one operation.

このようにして、第1点目の指定、および水平線分の指
定が行われると、メニュールーチン54は点Ppの座標
(a,b)を取り込み、更に、ステップS13で水平線
分が指定されたことを認識して、入力情報テーブル58
内に格納されているY軸平行線分テーブルを検索する(
ステップS15)が、当該検索は次のように行われる。
In this way, when the first point and the horizontal line segment are specified, the menu routine 54 takes in the coordinates (a, b) of the point Pp, and further confirms that the horizontal line segment has been specified in step S13. is recognized and input information table 58
Search the Y-axis parallel line segment table stored in (
In step S15), the search is performed as follows.

メニュールーチン54は、Y軸方向テーブルを検索して
点PpのX座標aより左側にy軸平行線分が存在するか
否かを判断する。検索の結果、第1点目の左側にy軸平
行線分が存在しなければ、メニュールーチン54はステ
ップ31Bで交点無しと判断してステップSllに戻る
と共に再入力を促すメッセージを画面上に表示する。こ
れに対して、検索の結果、第1点目の左側にy軸平行線
分が存在し、第1点から引いたX軸に平行な直線と交わ
るy軸平行線分が存在する場合には、ステップ816で
交点有りと判断してステップS17で当該交点を始点と
して決定する。従って、第5図の場合には始点は点P+
@であり、その座標は(X+ .b)である。このよう
にして始点が決定されると、始点の位rR P +●に
は、所定のマーク、第5図では「+」印が所定の色、例
えば、白色で表示され、これによりオペレータは始点が
決定されたことを認識することができる。
The menu routine 54 searches the Y-axis direction table and determines whether a line segment parallel to the y-axis exists on the left side of the X-coordinate a of point Pp. As a result of the search, if there is no y-axis parallel line segment to the left of the first point, the menu routine 54 determines that there is no intersection in step 31B, returns to step Sll, and displays a message on the screen prompting re-input. do. On the other hand, if the search results show that there is a y-axis parallel line segment to the left of the first point and a y-axis parallel line segment that intersects with a straight line parallel to the X-axis drawn from the first point, then , in step 816, it is determined that there is an intersection, and in step S17, the intersection is determined as the starting point. Therefore, in the case of Figure 5, the starting point is point P+
@, and its coordinates are (X+.b). When the starting point is determined in this way, a predetermined mark, a "+" mark in FIG. 5, is displayed in a predetermined color, for example, white, at the starting point position rR P can be recognized as having been determined.

始点が決定されると、次に、オペレータは終点を決定す
るために第2点目を入力するが(ステップ818)、当
該第2点目は、始点より右側の点で、且つ、終点が存在
すべきy軸平行線分の左側の点であればよい。即ち、こ
の実施例の場合、方程式x = X 2で与えられる線
分までの罫線を引くのであるから、第2点目のX座標は
、XIくxくX2を満足すればよい。そこで、オペレー
タが第2点目として第5図の点Ps(c+  d)(但
し、X1<c<X2)をt旨示したとすると、メニュー
ルーチン54はステップS20でy軸平行線分テーブル
を検索し、第2点目PsのX座標Cより右側にy軸平行
線分が存在するか否かを判断する。検索の結果、第2点
目の右側にy軸平行線分が存在しなければ、メニュール
ーチン54はステップS22で交点無しと判断してステ
ップ818に戻ると共に、再入力を促すメッセージを画
面上に表示する。これに対して、検索の結果、第2点目
の右側にy軸平行線分が存在し、第2点から引いたX軸
に平行な直線と交わるy軸平行線分が存在する場合には
、ステップS22で交点有りと判断し、当該交点のX座
標を終点のX座標とし、始点Peaのy座標を終点のy
座標として終点を決定する(ステップS23)。従って
、第5図の場合には終点は座標(X2.b)を有する点
P.となる。このようにして終点が決定されると、終点
の位IEP1には、所定のマーク、第5図では「*」印
が所定の色、例えば、白色で表示され、これによりオペ
レータは終点が決定されたことを認識することができる
。次に、オペレータが入力装置20により確定の操作を
行うと(ステップS24)、メニュールーチン54は決
定された罫線14(第4図)を所定の色で描画する(ス
テップS25)と共に、当該線分の方程式を入力情報テ
ーブル58のX軸平行線分テーブルに格納し、これで処
理は終了となる。なお、ステップS24の確定の操作は
、入力装置20のメニューで行うようになされてもよい
し、上述した4ボタンカーソルを使用する場合には、あ
るボタンを確定ボタンとして定義しておいてもよいもの
である。また、上記の実施例では、罫線の線幅、線種の
設定については省略したが、これらの設定は従来と同様
に行えるものであることは当然である。
Once the starting point is determined, the operator then inputs a second point to determine the ending point (step 818), but the second point must be a point to the right of the starting point and where the ending point exists. Any point on the left side of the line segment parallel to the y-axis is sufficient. That is, in this embodiment, a ruled line is drawn up to the line segment given by the equation x = X2, so the X coordinate of the second point only needs to satisfy XI x x X2. Therefore, if the operator indicates point Ps(c+d) (where X1<c<X2) in FIG. 5 as the second point, the menu routine 54 searches the y-axis parallel line segment table in step S20. Then, it is determined whether a line segment parallel to the y-axis exists on the right side of the X-coordinate C of the second point Ps. As a result of the search, if there is no y-axis parallel line segment to the right of the second point, the menu routine 54 determines in step S22 that there is no intersection, returns to step 818, and displays a message on the screen prompting re-input. indicate. On the other hand, if the search results show that there is a y-axis parallel line segment to the right of the second point and a y-axis parallel line segment that intersects with a straight line parallel to the X-axis drawn from the second point, , it is determined in step S22 that there is an intersection, the X coordinate of the intersection is set as the X coordinate of the end point, and the y coordinate of the start point Pea is set as the y coordinate of the end point.
The end point is determined as coordinates (step S23). Therefore, in the case of FIG. 5, the end point is point P. with coordinates (X2.b). becomes. When the end point is determined in this way, a predetermined mark, ``*'' mark in FIG. be able to recognize that Next, when the operator performs a confirmation operation using the input device 20 (step S24), the menu routine 54 draws the determined ruled line 14 (FIG. 4) in a predetermined color (step S25), and The equation is stored in the X-axis parallel line segment table of the input information table 58, and the process ends. Note that the confirmation operation in step S24 may be performed using the menu of the input device 20, or if the above-mentioned four-button cursor is used, a certain button may be defined as the confirmation button. It is something. Further, in the above embodiment, the settings of the line width and line type of the ruled lines are omitted, but it goes without saying that these settings can be made in the same manner as in the past.

以上の説明では、X軸平行線分を入力する場合の例であ
るが、y軸平行線分を入力する場合も同様に、始点のX
座標はステップSllで指定された第1点目のX座標が
採用され、y座標はステップS14のX軸平行線分テー
ブル検索の結果得られた、第1点目の直上に存在するX
軸平行線分の方程式の値が採用される。また、終点のX
座標は始点のX座標が採用され、y座標は、ステップ8
18で指定された第2点目の直下に存在するX軸平行線
分の方程式の値が採用される。
The above explanation is an example of inputting an X-axis parallel line segment, but when inputting a y-axis parallel line segment, the starting point X
The coordinates are the X coordinates of the first point specified in step Sll, and the y coordinates are the
The value of the equation of the axis-parallel line segment is adopted. Also, the end point
The coordinates are the X coordinates of the starting point, and the y coordinates are the ones in step 8.
The value of the equation of the X-axis parallel line segment that exists directly below the second point designated in 18 is adopted.

また、第4図において、15で示すような線分を引く場
合には、第2点目は、第5図のP+3で示すように、線
分13め右側で、且つ線分12の左側の点を指定すれば
よい。
In addition, when drawing a line segment such as 15 in Figure 4, the second point is on the right side of line segment 13 and on the left side of line segment 12, as shown at P+3 in Figure 5. Just specify the point.

以上、本発明のl実施例について説明したが、本発明は
上記実施例に限定されるものではなく、種々の変形が可
能である。例えば、上記の実施例ではX軸平行線分の場
合には始点は終点より左側にあり、y軸平行線分の場合
には始点は終点より上側にあるものとしたが、これとは
逆に、X軸平行線分の場合には始点は終点より右側にあ
り、y軸平行線分の場合には始点は終点より下側にある
ようにしてもよいものであり、このようなことは予めコ
ンピュータシステム50に任意に設定することができる
ものである。また、終点を決定するために使用する線分
は、X軸平行線分を入力する場合には第2点目の右側に
あるy軸平行線分としたが、例えば、,第2卓目として
第5図の点P+sを指示し、当該入力点の左側にあるy
軸平行線分を検索するようにしてもよく、このようなこ
ともコンピュータシステム50において任意に設定する
ことが可能である。
Although one embodiment of the present invention has been described above, the present invention is not limited to the above embodiment, and various modifications are possible. For example, in the above example, the starting point is to the left of the end point in the case of a line segment parallel to the , in the case of a line segment parallel to the This can be set arbitrarily in the computer system 50. In addition, when inputting an X-axis parallel line segment, the line segment used to determine the end point was the y-axis parallel line segment to the right of the second point. Point P+s in Figure 5, and y to the left of the input point.
It is also possible to search for line segments parallel to the axis, and this can also be set arbitrarily in the computer system 50.

以上の説明から明らかなように、本発明によれば、第1
点目の指定は、そのX座標またはy座標が始点の座標と
して採用されるために従来と同様の精度は必要であるが
、第2点目については、その座標が終点の座標に採用さ
れることはなく、終点の座標は始点の座標と、X軸平行
線分方程式またはy軸平行線分方程式のみにより決定さ
れるので、第2点目の指定に関しては位置精度は全く要
求されず、オペレータの負担は大幅に軽減されることに
なる。
As is clear from the above description, according to the present invention, the first
When specifying a point, the same accuracy as before is required because its X or Y coordinates are adopted as the coordinates of the starting point, but for the second point, its coordinates are adopted as the coordinates of the end point. The coordinates of the end point are determined only by the coordinates of the start point and the The burden will be significantly reduced.

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

第1図は本発明に係る帳票デザインシステムの1構成例
を示す図、第2図は帳票デザインの操作フローを示す図
、第3図は本発明の帳票デザインシステムにおける罫線
、線分の処理を示すフローチャート、第4図および第5
図は第3図に示すフローチャートにおける処理を説明す
るための図である。 10・・・CRT,20・・・入力装置、30・・・フ
ァイル、40・・・出力装置、41・・・変換システム
、5o・・・コンビュータンステム、51・・・スベー
シングチャート表示ルーチン、52・・・入力コントロ
ーラ、53・・・命令アナライザ、54・・・メニュー
ルーチン、55・・・CRT図形発生ルーチン、56・
・・テーブルコントローラ、 57・・・ファイルコントローラ、 5 8・・・入力情報テーブル。 出 願 人 大日本印刷株式会社
FIG. 1 is a diagram showing one configuration example of a form design system according to the present invention, FIG. 2 is a diagram showing an operation flow of form design, and FIG. 3 is a diagram showing the processing of ruled lines and line segments in the form design system of the present invention. Flowcharts shown in FIGS. 4 and 5
The figure is a diagram for explaining the processing in the flowchart shown in FIG. 3. DESCRIPTION OF SYMBOLS 10... CRT, 20... Input device, 30... File, 40... Output device, 41... Conversion system, 5o... Conbutan stem, 51... Basing chart display routine , 52... Input controller, 53... Command analyzer, 54... Menu routine, 55... CRT figure generation routine, 56...
...Table controller, 57...File controller, 5 8...Input information table. Applicant Dai Nippon Printing Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] (1)表示装置と、各種操作メニュー、処理メニューを
選択表示すると共に必要なデータを入力する入力装置と
、データ書き込みまたは読み出し可能なファイルと、作
成された帳票デザインデータを出力する出力装置と、前
記各装置を結合して処理するコンピュータシステムとを
備え、前記表示装置に帳票デザイン用のスペーシングチ
ャートを表示し、前記入力装置によって表示画面上に帳
票デザイン用の図形、文字列、記号を発生し、前記表示
画面上で表示デザインと全体のデザインを確認しながら
帳票をデザインし、デザインされた帳票データを前記フ
ァイルに登録するようにした帳票デザインシステムにお
いて、予め決定された罫線で囲まれた閉領域内に線分を
入力する場合、当該線分の始点の座標は入力された第1
の点の座標と、予め決定されているy軸平行線分または
x軸平行線分の方程式の値により決定され、当該線分の
終点の座標は、始点の座標と、入力された第2の点から
一義的に決定されるx軸平行線分またはy軸平行線分の
方程式の値により決定されることを特徴とする帳票デザ
インシステム。
(1) A display device, an input device for selectively displaying various operation menus and processing menus and inputting necessary data, a file capable of writing or reading data, and an output device for outputting created form design data; and a computer system that connects and processes each of the devices, displays a spacing chart for form design on the display device, and generates figures, character strings, and symbols for form design on the display screen by the input device. In a form design system, a form is designed while checking the display design and the overall design on the display screen, and the designed form data is registered in the file. When inputting a line segment within a closed area, the coordinates of the starting point of the line segment are the first input
The coordinates of the end point of the line segment are determined by the coordinates of the point and the value of the equation of the y-axis parallel line segment or A form design system characterized by being determined by the value of an equation of an x-axis parallel line segment or a y-axis parallel line segment uniquely determined from a point.
JP1230213A 1989-09-04 1989-09-04 Form design system Pending JPH0391865A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1230213A JPH0391865A (en) 1989-09-04 1989-09-04 Form design system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1230213A JPH0391865A (en) 1989-09-04 1989-09-04 Form design system

Publications (1)

Publication Number Publication Date
JPH0391865A true JPH0391865A (en) 1991-04-17

Family

ID=16904338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1230213A Pending JPH0391865A (en) 1989-09-04 1989-09-04 Form design system

Country Status (1)

Country Link
JP (1) JPH0391865A (en)

Similar Documents

Publication Publication Date Title
JPH0391865A (en) Form design system
JPH0524534B2 (en)
JPH08202856A (en) Picture processing method
JPH0391864A (en) Form design system
JP4774876B2 (en) Data input device and program
JP2561000B2 (en) String output method
JPH0281267A (en) Method of screen generation
JPH02301862A (en) Document preparing device
JP2664165B2 (en) Report design system
JPH0198068A (en) Slip designing system
JPH04157523A (en) Slip designing system
JPH07271548A (en) Character string input method
JPH0198070A (en) Slip designing system
JPH0196761A (en) Slip designing system
JPH0765059A (en) Character string arranging method, character information control method and cad device
JPH0362170A (en) Comment input method in cad system
JPH06318219A (en) Slip design system
JPH06290037A (en) General converter for drawing data
JPH02242423A (en) Data processor
JPH0765050A (en) Batch/continuous changing method for cad input character attribute
JPS63269221A (en) Picture control system
JPH08249416A (en) Optical character reading system and its form preparation
JPH0567108A (en) Character input editor
JPH01116770A (en) Slip design system
JPH01112465A (en) Document design system