JPH0269240A - Ruled table entry of typesetting correction device - Google Patents

Ruled table entry of typesetting correction device

Info

Publication number
JPH0269240A
JPH0269240A JP22073988A JP22073988A JPH0269240A JP H0269240 A JPH0269240 A JP H0269240A JP 22073988 A JP22073988 A JP 22073988A JP 22073988 A JP22073988 A JP 22073988A JP H0269240 A JPH0269240 A JP H0269240A
Authority
JP
Japan
Prior art keywords
data
ruled
rule
area
input
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
JP22073988A
Other languages
Japanese (ja)
Inventor
Kozo Shimokawa
下川 広造
Mitsuru Koizumi
満 小泉
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.)
Ryobi Ltd
Original Assignee
Ryobi 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 Ryobi Ltd filed Critical Ryobi Ltd
Priority to JP22073988A priority Critical patent/JPH0269240A/en
Publication of JPH0269240A publication Critical patent/JPH0269240A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make possible the quick and accurate entry of a ruled table by providing the first step which enters an area for drawing a rule and the second step for entering the interval of a horizontal rule and the frequency of repeating the drawing of a rule. CONSTITUTION:The whole area for rules is entered from an input device 2. This data is entered into an area calculation device 4 and recognized as a rectangular area. Next, data on the intervals of vertical rules and horizontal rules and the frequency of repeating the drawing of a rule is entered. A division data calculation device 6 converts the entered data on the interval and frequency to a data format suited to the creation of rule data. After this, rule data is created based on the outputs of the area calculation device 4 and the division data calculation device 6. This processing is performed by a rule data creation device 8. The rule data is data for specifying the position of each rule in a ruled table. Then a display control signal is created based on the rule data and the ruled table is displayed. These processings are performed by a display control device 12 and a display device 14.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、写植等のデータ入力・校正等に用いられる
組版校正装置に関するものであり、特にその罫線の入力
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a typesetting proofing device used for data input and proofreading of phototypesetting, etc., and particularly relates to the input of ruled lines.

[従来の技術] 従来の組版校正装置において、第9図に示すような罫表
を入力するには、次のようにして行っていた。まず、始
点A、と終点B1を入力して、横罫S、を引く。次に、
始点A2と終点B2を入力して、横罫S2を引く。同様
にして、横罫s3.s4.s、、s、を引く。その後、
始点A1と終点へ〇を入力して、縦罫P。
[Prior Art] In a conventional typesetting proofing device, inputting a ruled table as shown in FIG. 9 is performed as follows. First, input a starting point A and an ending point B1, and draw a horizontal line S. next,
Input the starting point A2 and ending point B2, and draw the horizontal rule S2. Similarly, horizontal line s3. s4. Subtract s,,s. after that,
Enter 〇 for the starting point A1 and ending point, and create a vertical rule P.

を引く。次に、始点C2と終点D1を入力して、縦罫P
2を引く。同様にして、縦罫P、 、P4.P、 、P
、を引き、罫表を完成する。
pull. Next, input the starting point C2 and ending point D1, and
Subtract 2. Similarly, vertical lines P, , P4. P, ,P
, and complete the ruled table.

[発明が解決しようとする課題] しかし、上記のような従来の入力方法では、操作が煩雑
であるため、入力に時間を要するという問題があった。
[Problems to be Solved by the Invention] However, in the conventional input method as described above, the operation is complicated, and therefore, there is a problem that the input takes time.

また、始点、終点の位置指定がすれると、罫線がはみ出
してしまうという問題もあった。
Additionally, there is a problem in that if the starting point and ending point are not specified properly, the ruled lines end up protruding.

この発明は上記の課題を解決し、組版校正装置において
、迅速かつ正確に罫表の入力を行うことのできる方法を
提供することを目的とする。
It is an object of the present invention to solve the above-mentioned problems and to provide a method that can quickly and accurately input a ruled table in a typesetting proofing device.

[課題を解決するための手段] この発明に係る罫表入力方法は、 罫線を引くエリアを入力する第1のステップ、前記エリ
ア内に引こうとする縦罫線の間隔およびその繰り返し回
数を入力し、横罫線の間隔およびその繰り返し回数を入
力する第2のステップ、第1のステップによって入力さ
れたエリアと第2のステップにおいて入力されたデータ
とに基づき、罫線データを演算し、記憶する第3のステ
ップ、 罫線データに基づき罫線を表示する第4のステップ、 を備えたことを特徴としている。
[Means for Solving the Problems] A ruled table input method according to the present invention includes: a first step of inputting an area to draw ruled lines, and inputting the interval between vertical ruled lines to be drawn in the area and the number of repetitions thereof. , a second step of inputting the interval between horizontal ruled lines and the number of repetitions thereof, and a third step of calculating and storing ruled line data based on the area input in the first step and the data input in the second step. and a fourth step of displaying ruled lines based on the ruled line data.

[作用] この発明に係る罫表入力方法を、第1図および第2図を
用いて説明する。第1図は、処理の流れを表したフロー
チャートであり、第2図は当該処理を機能として表した
ブロック図である。
[Operation] The ruled table input method according to the present invention will be explained using FIG. 1 and FIG. 2. FIG. 1 is a flowchart showing the flow of processing, and FIG. 2 is a block diagram showing the processing as functions.

今、第9図に示す罫表を入力するものとして話を進める
。まず、第1図のステップS、において、入力装置2か
ら、罫表の全体のエリアを入力する。
We will now proceed with the discussion assuming that the ruled table shown in FIG. 9 is to be input. First, in step S of FIG. 1, the entire area of the ruled table is input from the input device 2.

ここでは、始点A(0,0)と終点B(100,60)
の座標を入力することにより行っている。このデータは
、エリア演算手段4に入力され、矩形のエリアとして認
識される。
Here, the starting point A (0,0) and the ending point B (100,60)
This is done by inputting the coordinates of This data is input to the area calculation means 4 and recognized as a rectangular area.

次に、ステップS2において、縦罫線・横罫線の間隔と
その繰り返し回数を入力する。分割データ演算手段6は
、入力された間隔と繰り返し回数のデータを、罫線デー
タ作成に適したデータ形式に変換する。
Next, in step S2, the interval between vertical and horizontal ruled lines and the number of repetitions thereof are input. The divided data calculating means 6 converts the input data on the interval and the number of repetitions into a data format suitable for creating ruled line data.

次に、ステップS3において、エリア演算手段4、分割
データ演算手段6の出力に基づいて、罫線データが作成
される。この処理は、罫線データ作成手段8において行
われる。ここで罫線データとは、罫表中の各罫線の位置
を特定するためのデータである。例えば、各罫線の始点
のX、Y座標と、長さのx、y (終点のX、Y座標で
もよい)により構成されるものである。この罫線データ
は、出力されるとともに、罫線データ記憶手段lOにお
いて記憶される。
Next, in step S3, ruled line data is created based on the outputs of the area calculation means 4 and the divided data calculation means 6. This process is performed in the ruled line data creation means 8. Here, the ruled line data is data for specifying the position of each ruled line in the ruled table. For example, it is composed of the X, Y coordinates of the starting point of each ruled line, and the x, y length (the X, Y coordinates of the ending point may also be used). This ruled line data is output and also stored in the ruled line data storage means lO.

次に、ステップS4において、罫線データに基づき、表
示制御信号が作成され、罫表が表示される。
Next, in step S4, a display control signal is created based on the ruled line data, and a ruled table is displayed.

これらの処理は、表示制御手段12、表示装置14にお
いて行われる。
These processes are performed in the display control means 12 and the display device 14.

[実施例] 第3図に、この発明の一実施例による罫表入力方法に用
いた組版校正装置を示す。パスライン49には、ROM
2O,RA M52が接続されている。また、インター
フェイス42゜44.46を介して、ディスクユニット
40.表示装置であるC RT 14、入力装置である
キーボード2a、マウス2b、ベンタッチタブレット2
cが接続されている。CPU48は、ROM50に格納
されたプログラムに基づき、これらの各機器を制御する
ものである。なお、プログラムは、RAM52に格納し
てもよい。
[Embodiment] FIG. 3 shows a typesetting proofing device used in a ruled table input method according to an embodiment of the present invention. The pass line 49 has a ROM
2O, RAM52 is connected. Also, via the interface 42.44.46, the disk unit 40. CRT 14 which is a display device, keyboard 2a which is an input device, mouse 2b, Bentouch tablet 2
c is connected. The CPU 48 controls each of these devices based on a program stored in the ROM 50. Note that the program may be stored in the RAM 52.

ROM50に格納されたプログラムのフローチャートを
第4図に示す。以下、このフローチャートに従って、実
施例を説明する。
A flowchart of the program stored in the ROM 50 is shown in FIG. Hereinafter, an embodiment will be described according to this flowchart.

まず、ステップS、oにおいて、罫表のエリアを入力す
る。この実施例では、罫表の左上角を始点Aとし、右下
角を終点Bとして、マウス2bにより入力するようにし
ている。始点Aと終点Bは、左上角と右下角に限定され
るものではなく、対角上の2点であればよい。また、キ
ーボード2aにより、始点A・終点Bの座標を数値で入
力するようにしてもよい。ステップSIOにおいては、
X方向のエリア長XLENとY方向のエリア長YLEN
が演算される。
First, in steps S and o, the area of the ruled table is input. In this embodiment, the upper left corner of the ruled table is set as the starting point A, the lower right corner is set as the ending point B, and input is made using the mouse 2b. The starting point A and the ending point B are not limited to the upper left corner and the lower right corner, but may be two points on the diagonal. Further, the coordinates of the starting point A and the ending point B may be entered numerically using the keyboard 2a. In step SIO,
Area length in the X direction XLEN and area length in the Y direction YLEN
is calculated.

次に、縦・横の罫線を引くための分割式を、キーボード
2aから入力する。ここで、分割式の基本形式を(1)
式に示す。
Next, a dividing formula for drawing vertical and horizontal ruled lines is input from the keyboard 2a. Here, the basic form of the division formula is (1)
As shown in the formula.

P=Xs*TI、X2*T2 、Xs*Ts 、・・・
・、X、、*T、・・・・(1)上式が縦罫線について
の分割式である。横罫線についての分割式も同様に下記
(2)式のように表される。
P=Xs*TI, X2*T2, Xs*Ts,...
, X, , *T, ... (1) The above equation is a division equation for vertical ruled lines. The division formula for horizontal ruled lines is similarly expressed as in equation (2) below.

5=Y1*T1.Y2*T2.Y3*T3.・・・−、
Y、*T、、・・・−(2)ここでL 、Xn・・・X
nはそれぞれ、罫線の間隔であり、T1.T2・・・T
oは繰り返し回数である。
5=Y1*T1. Y2*T2. Y3*T3. ...-,
Y, *T,...-(2) where L, Xn...X
n is the interval between ruled lines, T1. T2...T
o is the number of repetitions.

(1)式によるエリアの分割を示すと、第5図のように
なる。したがって、第9図の罫線を入力する場合には、 P=lO*2,20*1,30*2・・・・・・・・・
・・・・・・・・・(3)S=25*1.lo*3,5
*1・・・・・・・・・・・・・・・・・・・(4)と
入力すればよい。また、繰り返し回数が1回の場合には
、*lを省略してもよいように定めておけば便利である
。この場合、(3)(4)式は、P=10*Z、20,
30*2・・・・・・・・・・・・・・・・・・・・(
5)S=25JO*3,5・・・・・・・・・・・・・
・・・・・・・・・(6)というふうに、簡素化できる
FIG. 5 shows the area division according to equation (1). Therefore, when inputting the ruled lines in Figure 9, P=lO*2, 20*1, 30*2...
・・・・・・・・・(3) S=25*1. lo*3,5
*1 You can enter (4). Furthermore, when the number of repetitions is one, it is convenient to specify that *l may be omitted. In this case, equations (3) and (4) are P=10*Z, 20,
30*2・・・・・・・・・・・・・・・・・・(
5) S=25JO*3,5・・・・・・・・・・・・
It can be simplified as (6).

また、この実施例では、XoもしくはYlを省略した場
合には、エリア内に残っている間隔を等分にするように
定めている。さらに、(X、*T、 、X2*T2)*
T3により、島*T+ 、X2*T2のパターンをT8
回繰り返すことと定めている。
Furthermore, in this embodiment, when Xo or Yl is omitted, the remaining intervals within the area are set to be equally divided. Furthermore, (X, *T, ,X2*T2)*
By T3, the pattern of island*T+, X2*T2 is changed to T8
It is specified that it will be repeated several times.

」二記について例を示すと、 P=(+、o*2,20*3,10)*2.*3・・・
・・・・・・・・・・(7)は、第6図を表現している
To give an example of the second statement, P=(+, o*2, 20*3, 10)*2. *3...
......(7) expresses FIG. 6.

また、 P=*2. (!0,20.30)*2.*4・・・・
・・・・・・・・・・(8)は、第7図を表現している
。ここで、F、〜F6は、(10,20,30)*2を
行った後の残りを、6等分したものである。Fl、F2
は*2に対応し、F3〜F6は*4に対応している。
Also, P=*2. (!0,20.30)*2. *4...
......(8) expresses Fig. 7. Here, F, to F6 are obtained by dividing the remainder after performing (10, 20, 30)*2 into 6 equal parts. Fl, F2
corresponds to *2, and F3 to F6 correspond to *4.

以上のようにして、分割式が入力されると、次に、この
分割式に基づいて分割データか演算される(ステップS
I2〜516)。今、X方向のエリア長XLENを10
0、Y方向ノエリア長YLENを60として、分割弐P
=LO未2,20.30.*2オ、及びS=*2 、 
IQ*2が入力された場合につき、分割データの演算を
説明する。
When the division formula is input as described above, the division data is then calculated based on this division formula (step S
I2-516). Now, the area length XLEN in the X direction is 10
0, the Y direction area length YLEN is 60, and the division 2P
=LO not yet 2, 20.30. *2o, and S=*2,
The operation of divided data will be explained in the case where IQ*2 is input.

まず、ステップS1□において、分割式P=10*2,
2030、*2から、表1のテーブルが作成され、RA
M52に記憶される。表において、「等分」となってい
るところは、間隔の定まっていないところ(*2に対応
)である。
First, in step S1□, the division formula P=10*2,
From 2030, *2, the table in Table 1 is created and the RA
It is stored in M52. In the table, the areas marked "equally divided" are areas where the intervals are not fixed (corresponding to *2).

表  1 等分 次に、ステップsrsにおいて、未定の間隔があるか否
かが判断される。未定の間隔がなければ、ステップS+
Vに移る。ここでは、未定の間隔があるので、ステップ
S14が実行される。ステップS14においては、次式
により、残りの間隔RLENが求められる。
Table 1 Equal division Next, in step srs, it is determined whether there is an undetermined interval. If there is no undetermined interval, step S+
Move to V. Here, since there is an undetermined interval, step S14 is executed. In step S14, the remaining interval RLEN is calculated using the following equation.

RLEN= 100−2 X 10−20−30=30 ステップ5i11では、この残余RLENを、未定等分
間隔の個数によって割り、間隔を求める。すなわち、こ
の場合には、30/2として、15という間隔が求まる
RLEN=100-2 x 10-20-30=30 In step 5i11, this residual RLEN is divided by the number of undetermined equal intervals to obtain the interval. That is, in this case, an interval of 15 is obtained as 30/2.

次に、この求められた間隔を表1にセットし、分割デー
タとして、表2を求め、再びRAM52に記憶する。
Next, this determined interval is set in Table 1, and Table 2 is determined as divided data and stored in the RAM 52 again.

表  2 なお、横罫線についても同様の処理がなされ、表3の分
割データが求められる。
Table 2 Note that the same process is performed for the horizontal ruled lines, and the divided data in Table 3 is obtained.

表  3 このようにして演算された分割データと、ステップSh
oにおいて設定されたエリアのデータとに基づき、罫線
データが作成される(ステップS、7)。罫線データは
、各罫線の始点と長さからなるデ−夕であり、表4のよ
うになる。
Table 3 Divided data calculated in this way and step Sh
Ruled line data is created based on the data of the area set in o (step S, 7). The ruled line data consists of the starting point and length of each ruled line, as shown in Table 4.

表4 0.20 0.50 0.60 40.0 70.0 100.0 0.60 0.60 0.60 0.60 この罫線データは、RAM52に記憶される(ステップ
S1.)。また、第8図のように、CRT 14におい
て罫線として表示される(ステップS8.)。
Table 4 0.20 0.50 0.60 40.0 70.0 100.0 0.60 0.60 0.60 0.60 This ruled line data is stored in the RAM 52 (step S1). Further, as shown in FIG. 8, the lines are displayed as ruled lines on the CRT 14 (step S8).

なお、上記実施例では、エリアの周囲に罫線を引く場合
について説明したが、周囲には罫線を弓かない場合にも
適用することができる。
In the above embodiment, a case where a ruled line is drawn around the area has been described, but the present invention can also be applied to a case where no ruled line is drawn around the area.

また、第2図の機能を達成するため、マイクロコンピュ
ータとソフトウェアを用いたが、論理回路等のハードウ
ェアによって構成してもよい。
Further, although a microcomputer and software are used to achieve the functions shown in FIG. 2, it may also be configured using hardware such as a logic circuit.

[発明の効果] この発明に係る罫線入力方法は、罫線を引くエリアを入
力する第1のステップ、エリア内に引こうとする縦罫線
の間隔およびその繰り返し回数を入力し、横罫線の間隔
およびその繰り返し回数を入力する第2のステップを備
えている。したがって、簡単な操作により、縦罫線・横
罫線を任意の位置に入力することができる。
[Effects of the Invention] The ruled line input method according to the present invention includes the first step of inputting an area to draw a ruled line, inputting the interval between vertical ruled lines to be drawn in the area and the number of repetitions thereof, and inputting the interval between horizontal ruled lines and the number of repetitions thereof. The second step is to input the number of repetitions. Therefore, vertical ruled lines and horizontal ruled lines can be input at arbitrary positions by a simple operation.

すなわち、この発明によれば、簡易・迅速がっ正確な罫
線入力方法を提供することができる。
That is, according to the present invention, it is possible to provide a simple, quick, and accurate ruled line input method.

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

第1図はこの発明による罫表入力方法を示すフローチャ
ート、第2図は第1図の方法を実施するのに用いる組版
校正装置の機能ブロック図、第3図は一実施例における
ハードウェア構成を示す図、第4図はROM50に格納
されたプログラムのフローチャート、第5図・第6図・
第7図は分割式を説明するための図、第8図はCRT 
14における罫線の表示を示す図、第9図は従来の罫表
の入力方法を示すための図である。 菓 図 第 図 第 図 +01020202010 第 図 第 図 第9 図
Fig. 1 is a flowchart showing a ruled table input method according to the present invention, Fig. 2 is a functional block diagram of a typesetting proofing device used to implement the method of Fig. 1, and Fig. 3 shows the hardware configuration in one embodiment. Figure 4 is a flowchart of the program stored in the ROM 50, Figures 5, 6, and
Figure 7 is a diagram for explaining the division method, and Figure 8 is a diagram for explaining the CRT.
FIG. 9 is a diagram illustrating a conventional ruled table input method. Figure +01020202010 Figure Figure 9

Claims (1)

【特許請求の範囲】[Claims] (1)データを入力するための入力装置、 入力されたデータに基づいて罫線データを演算出力する
罫線データ演算手段、 罫線データを記憶する罫線データ記憶手段、罫線データ
に基づいて罫線を表示するための表示信号を演算する表
示制御手段、 表示信号を受けて罫線を表示する表示手段、を備えてお
り、縦横に罫線を引くことのできる組版校正装置におい
て、 罫線を引くエリアを入力する第1のステップ、前記エリ
ア内に引こうとする縦罫線の間隔およびその繰り返し回
数を入力し、横罫線の間隔およびその繰り返し回数を入
力する第2のステップ、第1のステップによって入力さ
れたエリアと第2のステップにおいて入力されたデータ
とに基づき、罫線データを演算し、記憶する第3のステ
ップ、 罫線データに基づき罫線を表示する第4のステップ、 を備えたことを特徴とする罫表入力方法。
(1) An input device for inputting data, a ruled line data calculation means for calculating and outputting ruled line data based on the input data, a ruled line data storage means for storing the ruled line data, and for displaying ruled lines based on the ruled line data. In a typesetting proofing device that is capable of drawing vertical and horizontal ruled lines and is equipped with a display control means for calculating a display signal, and a display means for displaying ruled lines in response to the display signal, step, enter the interval between vertical ruled lines to be drawn in the area and the number of repetitions thereof, and enter the interval between horizontal ruled lines and the number of repetitions thereof, the area entered in the first step and the second A ruled table input method comprising: a third step of calculating and storing ruled line data based on the data input in step; and a fourth step of displaying ruled lines based on the ruled line data.
JP22073988A 1988-09-02 1988-09-02 Ruled table entry of typesetting correction device Pending JPH0269240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22073988A JPH0269240A (en) 1988-09-02 1988-09-02 Ruled table entry of typesetting correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22073988A JPH0269240A (en) 1988-09-02 1988-09-02 Ruled table entry of typesetting correction device

Publications (1)

Publication Number Publication Date
JPH0269240A true JPH0269240A (en) 1990-03-08

Family

ID=16755770

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22073988A Pending JPH0269240A (en) 1988-09-02 1988-09-02 Ruled table entry of typesetting correction device

Country Status (1)

Country Link
JP (1) JPH0269240A (en)

Similar Documents

Publication Publication Date Title
US4366475A (en) Image display system
EP0137856B1 (en) Method of displaying image
JPH0269240A (en) Ruled table entry of typesetting correction device
JPS63271516A (en) Graphic display data processing system
JPH0549993B2 (en)
JPH06282401A (en) Menu display method
JP2751114B2 (en) Character processing method
JPS6249404A (en) Method and device for editing nc program
JP2904994B2 (en) Coordinate connection display method
US5504498A (en) Control method for moving a specific portion of a graph
JP2660603B2 (en) Control program parameter setting method
JPH0476722A (en) Method for inputting time series data
JPH0212309A (en) Cad/cam device
JPH05119762A (en) Text input system
JPH05246192A (en) Automatic drawing apparatus
JPH01142807A (en) Graphic cursor display system for numerical controller
JPH0527823A (en) Production drawing data generator
JPH03163659A (en) Interactive numerical expression input system
JPS5928911B2 (en) How to output dot patterns
JPS6361305A (en) Laser processing data generating device
JPH0283589A (en) Character size representation system for display device
JPH0371219A (en) Method for specifying cursor position
JPS59116807A (en) Numerical controller
JPS61248720A (en) Injection molding machine indicating set condition of clamp by graph
JPH0414141A (en) Back-up device for fuzzy development