JP2593975B2 - Character string extraction method and character string extraction device in electronic typesetting device - Google Patents

Character string extraction method and character string extraction device in electronic typesetting device

Info

Publication number
JP2593975B2
JP2593975B2 JP3163992A JP16399291A JP2593975B2 JP 2593975 B2 JP2593975 B2 JP 2593975B2 JP 3163992 A JP3163992 A JP 3163992A JP 16399291 A JP16399291 A JP 16399291A JP 2593975 B2 JP2593975 B2 JP 2593975B2
Authority
JP
Japan
Prior art keywords
typesetting
character string
string
circumscribed rectangle
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP3163992A
Other languages
Japanese (ja)
Other versions
JPH04361039A (en
Inventor
秀樹 中
重信 西村
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.)
Screen Holdings Co Ltd
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Screen Holdings Co Ltd
Dainippon Screen Manufacturing 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 Screen Holdings Co Ltd, Dainippon Screen Manufacturing Co Ltd filed Critical Screen Holdings Co Ltd
Priority to JP3163992A priority Critical patent/JP2593975B2/en
Publication of JPH04361039A publication Critical patent/JPH04361039A/en
Application granted granted Critical
Publication of JP2593975B2 publication Critical patent/JP2593975B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Preparing Plates And Mask In Photomechanical Process (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、電子組版装置を用い
て文字組版を行う際に、複数の組版文字列から任意の組
版文字列を抽出して表示するための技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for extracting and displaying an arbitrary typesetting character string from a plurality of typesetting character strings when performing a typesetting using an electronic typesetting device.

【0002】[0002]

【従来の技術】電子製版プロセスにおいては、採字装置
によって採字された文字列(以下「採字文字列」)に、
位置、サイズ等の組版情報を与えて組版文字列とし、こ
れを版下原稿上に配置するための電子組版装置(編集装
置)が用いられる。このような電子組版装置では、あら
かじめ指定されたラフレイアウトを参照しつつ、CRT
等の表示手段上において文字列の配置を行う。そして、
それによって得られた版下原稿は、写真原稿などととも
に集版工程へと移される。
2. Description of the Related Art In an electronic plate making process, a character string (hereinafter referred to as a "character string") obtained by a character input device is added to a character string.
An electronic typesetting device (editing device) is used for giving typesetting information such as a position and size to form a typesetting character string and arranging it on a composition original. In such an electronic typesetting device, a CRT is referred to while referring to a rough layout specified in advance.
Are arranged on the display means such as. And
The underprint manuscript thus obtained is transferred to a plate collection process together with a photo manuscript and the like.

【0003】ところで、このような文字組版工程におい
ては、版下原稿中に配置すべき文章の内容は確定してい
るものの、各文字のサイズや配列規則、それに原稿上の
配置位置についてはラフな指定がなされているのみであ
り、それらが適正であるかどうかはこの文字組版工程に
おいて確認する必要がある。そして、それらが適切さを
欠く場合には適宜の修正が行われる。
[0003] In such a character typesetting process, although the contents of a sentence to be arranged in a composition are fixed, the size and arrangement rules of each character and the arrangement position on the original are rough. Only the designations have been made, and it is necessary to confirm that they are appropriate in this character typesetting process. If they are not appropriate, appropriate corrections are made.

【0004】このような確認作業や決定作業を行うにあ
たって、従来から、ラフレイアウトの指定に従って表示
手段上に表示された組版文字列の視覚的印象を操作者が
判断するという方法をとっている。そして、その配置等
が不適切であると判断した場合には、各組版文字列に対
して回転,移動,倍率変化等のモディファイをかける。
このような処理は、満足できる配置が得られるまで繰返
され、組版文字列の位置・サイズなどが決定される。こ
のような修正の際には、モディファイをかけるべき組版
文字列の指定、即ち組版文字列の抽出を行う必要があ
る。
[0004] In performing such a checking operation or a deciding operation, conventionally, a method has been adopted in which an operator judges a visual impression of a typesetting character string displayed on a display means in accordance with designation of a rough layout. Then, when it is determined that the arrangement is inappropriate, the modification, such as rotation, movement, change in magnification, etc., is applied to each typesetting character string.
Such processing is repeated until a satisfactory arrangement is obtained, and the position and size of the typesetting character string are determined. At the time of such correction, it is necessary to specify a typesetting character string to be modified, that is, to extract a typesetting character string.

【0005】図9は従来の文字列抽出方法の一例を示し
たものである。C1,C3 はそれぞれ文字列「MAIN
FRAME」「COFFEE」を有する組版文字列であ
る。C1 は横組の文字列であり、その組版開始点P1
文字列の左上に設けられる。C3 は縦組の文字列であ
り、その組版開始点P3 は文字列の右上に設けられる。
FIG. 9 shows an example of a conventional character string extracting method. C 1 and C 3 are character strings “MAIN
This is a typesetting character string having “FRAME” and “COFFEE”. C 1 is a horizontal composition string, the typesetting start point P 1 is provided in the upper left of the string. C 3 is a vertical writing character string, the typesetting start point P 3 is provided in the upper right of a string.

【0006】今、モディファイをかけたい、即ち抽出し
たい組版文字列が組版文字列C1 であった場合、操作者
は指示点Sを組版開始点P1 上に指定する。これにより
組版文字列C1 が指定されたものと判断してその後の処
理が進められる。
[0006] Now, we want to apply the modifier, that is if the extracted typesetting string you want to have a typesetting string C 1, the operator specifies the designated point S on typesetting start point P 1. Thus subsequent processing it is determined that the typesetting string C 1 is designated proceeds.

【0007】図10は従来の文字列抽出方法の他の例を
示したものである。組版文字列C1 を構成する各文字は
それぞれ領域W11,W12,…,W18,W19を有し、それ
ぞれの領域は左下に基点Q11,Q12,…,Q18,Q19
有する。指示点Sが指定されると複数の組版文字列を構
成する全ての基点と指示点Sとの距離が判断され、最も
近い基点を有する領域が選ばれる。そしてこの選ばれた
領域を有する文字を含む組版文字列が抽出される。
FIG. 10 shows another example of a conventional character string extracting method. Formatting strings each character, each region constituting the C 1 W 11, W 12, ..., W 18, having a W 19, the base point each region in the lower left Q 11, Q 12, ..., Q 18, Q 19 Having. When the designated point S is designated, the distances between the designated points S and all the base points constituting the plurality of typesetting character strings are determined, and an area having the closest base point is selected. Then, a typesetting character string including the character having the selected area is extracted.

【0008】[0008]

【発明が解決しようとする課題】しかし、図9に示す文
字列抽出方法では、指示点Sを組版開始点に一致させて
指定する必要があり、操作者において迅速な処理が図れ
ない。また、図10に示す文字列抽出方法では、操作者
は抽出すべき組版文字列の近傍を大まかに指定するだけ
でよいために、操作性は向上するが、全ての文字の基点
に対して計算処理を行うため、電子組版装置の内部にお
いて迅速な処理が図れないという問題点があった。
However, in the character string extraction method shown in FIG. 9, it is necessary to designate the designated point S so as to coincide with the typesetting start point, so that the operator cannot perform quick processing. In the character string extraction method shown in FIG. 10, the operability is improved because the operator only needs to roughly specify the vicinity of the typesetting character string to be extracted. Since the processing is performed, there is a problem that quick processing cannot be performed inside the electronic typesetting apparatus.

【0009】この発明は、上記問題点を解消するために
なされたもので、操作性が容易でかつ電子組版装置内で
の計算処理量を抑え、迅速な文字列抽出を可能とする文
字列抽出方法及び文字列抽出装置を提供することを目的
とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has a character string extraction method which is easy to operate, suppresses the amount of calculation processing in an electronic typesetting device, and enables quick character string extraction. It is an object to provide a method and a character string extraction device.

【0010】[0010]

【課題を解決するための手段】請求項1にかかる発明の
方法では、電子組版装置を用いて矩形の版下原稿を作成
する際、表示手段に表示された複数の組版文字列のうち
任意の組版文字列のみを選択して抽出組版文字列を求
め、他の組版文字列と区別して表示する文字列抽出方法
において、(a)予め採字された採字文字列に組版情報
を与えて前記組版文字列を得て、(b)前記組版文字列
に外接し、前記版下原稿の矩形を構成する辺と平行な辺
を有する外接矩形を求め、(c)指示点を指定し、
(d)前記外接矩形と前記組版文字列の組版開始点のデ
ータを記憶し、(e)前記外接矩形内に前記指示点を含
む候補組版文字列を求め、(f)前記候補組版文字列の
うち、その前記組版開始点と前記指示点との距離が最も
短いものを抽出組版文字列として求め、(g)前記抽出
組版文字列を他の前記組版文字列と区別して前記表示手
段上に表示する。
In the method according to the first aspect of the present invention, when creating a rectangular composition using an electronic typesetting device, an arbitrary one of a plurality of typesetting character strings displayed on a display means. In a character string extraction method of selecting only a typesetting character string to obtain an extracted typesetting character string and displaying it separately from other typesetting character strings, (a) providing the typesetting character string to a typesetting character string that has been set in advance, Obtaining a typesetting character string, (b) circumscribing the typesetting character string, obtaining a circumscribed rectangle having sides parallel to the sides constituting the rectangle of the composition original, (c) designating a designated point,
(D) storing data of the typesetting start point of the circumscribed rectangle and the typesetting character string; (e) obtaining a candidate typesetting character string including the designated point in the circumscribed rectangle; Among them, a character having the shortest distance between the typesetting start point and the designated point is obtained as an extracted typesetting character string, and (g) the extracted typesetting character string is displayed on the display means in distinction from the other typesetting character strings. I do.

【0011】また請求項2にかかる発明の装置は、指示
点を指定する入力手段と、組版文字列の情報を格納する
記憶手段と、前記組版文字列に外接し、前記版下原稿の
矩形を構成する辺と平行な辺を有する外接矩形を求め、
前記外接矩形及び組版開始点と前記指示点との位置関係
を求める計算処理手段と、前記指示点並びに抽出すべき
組版文字列を他の組版文字列と区別して表示する表示手
段とを備える。
According to a second aspect of the present invention, there is provided an input device for designating a designated point, a storage device for storing information of a typesetting character string, and a circumscriber of the typesetting character string, and Find a circumscribed rectangle having sides parallel to the constituent sides,
A calculation processing unit for obtaining a positional relationship between the circumscribed rectangle and the typesetting start point and the designated point; and a display unit for displaying the designated point and the typesetting character string to be extracted separately from other typesetting character strings.

【0012】[0012]

【作用】請求項1にかかる発明では、指示点と外接矩形
の位置関係を以て抽出すべき組版文字列を判断するの
で、その判断時の計算処理量は少なく抑えられる。ま
た、大まかに指示点を指定することで所望の組版文字列
を抽出することができる。
According to the first aspect of the present invention, the typesetting character string to be extracted is determined based on the positional relationship between the designated point and the circumscribed rectangle, so that the amount of calculation processing at the time of the determination can be reduced. In addition, a desired typesetting character string can be extracted by roughly specifying the designated point.

【0013】請求項2にかかる発明では、入力手段によ
って指示点が指定され、記憶手段が組版文字列の情報を
格納し、計算処理手段が組版文字列の外接矩形を求めて
指示点との位置関係を把握する。
According to the second aspect of the present invention, the designated point is designated by the input means, the storage means stores information of the typesetting character string, and the calculation processing means obtains a circumscribed rectangle of the typesetting character string, and determines the position of the circumscribed rectangle. Understand the relationship.

【0014】[0014]

【実施例】【Example】

A.全体構成 図3はこの発明の実施例を適用する電子組版装置100
のブロック図である。CPU11,CRT13,第1メ
モリ15,第2メモリ16,デジタイザ7は、バスライ
ン20によって共通に接続されている。CPU11には
位置関係判断装置12が接続されている。
A. Overall Configuration FIG. 3 shows an electronic typesetting apparatus 100 to which an embodiment of the invention is applied.
It is a block diagram of. The CPU 11, the CRT 13, the first memory 15, the second memory 16, and the digitizer 7 are commonly connected by a bus line 20. The CPU 11 is connected to a positional relationship determination device 12.

【0015】第1メモリ15には図示しない採字装置に
よって採字された採字文字列が予め格納されている。ま
た文字列の書体、サイズ、組方向(縦組か横組か)につ
いての選択枝も、採字文字列と関連づけられることなく
格納されている。
The first memory 15 stores in advance a character string to be typed by a typesetting device (not shown). Also, options regarding the typeface, size, and composition direction (vertical composition or horizontal composition) of the character string are stored without being associated with the typesetting character string.

【0016】第2メモリ16には、採字文字列と、後述
する方法によりこれに関連づけて選択された組版情報と
から構成された組版文字列のデータ等が格納される。C
RT13においては、版下原稿上の組版文字列等が表示
される。位置関係判断装置12は、指定された指示点と
組版文字列との位置関係を判断し、後述する方法により
抽出組版文字列を求める。
The second memory 16 stores typesetting character string data composed of a typesetting character string and typesetting information selected in association with the character string by a method described later. C
At RT13, a typesetting character string and the like on the composition original are displayed. The positional relationship determination device 12 determines the positional relationship between the designated designated point and the typesetting character string, and obtains an extracted typesetting character string by a method described later.

【0017】B.組版文字列の作成 本発明に係る文字列抽出方法においては、組版文字列の
抽出前に版下原稿のラフレイアウトを行う。図1に版下
原稿のラフレイアウトのフローチャートを示す。
B. Creation of Typesetting Character String In the character string extraction method according to the present invention, a rough layout of the composition original is performed before extracting the typesetting character string. FIG. 1 shows a flowchart of the rough layout of a composition original.

【0018】採字文字列Li は組版情報Di とともにC
PU11の制御によって第1メモリ15から読み出さ
れ、CRT13上にメニューとして表示される。図4は
CRT13上の表示内容を示したものである。右側に位
置するメニューに採字文字列が表示されており、採字文
字列L1 は「MAINFRAME」、採字文字列L2
「SCROLL」の文字列を有することが示されてい
る。図示されないが、組版情報Di も、メニュー欄に表
示することができる。操作者は採字文字列Li を選択
し、更に前記選択枝から所望の書体、サイズ、組方向等
を選択して、版下原稿における文字列の幾何学的形状に
ついてのデータである組版情報Di を定める(ステップ
S11)。このような選択はデジタイザ7の有するマウ
ス9aやキーボード9bによって容易に行うことができ
る。このように組版情報Di と関連づけることにより、
採字文字列Li は組版文字列Ci となる(ステップS1
1)。
[0018] The closed string L i is C along with the typesetting information D i
The data is read from the first memory 15 under the control of the PU 11 and displayed as a menu on the CRT 13. FIG. 4 shows display contents on the CRT 13. The menu on the right side are displayed closed string, closed string L 1 is "MAINFRAME" closed string L 2 has been shown to have a character string of "SCROLL". Although not shown, typesetting information Di can also be displayed in the menu column. The operator selects the binding string L i, further said desired typeface in the choices, size, and select a set direction and the like, formatting information is data on the geometry of the string in the block copy document Di is determined (step S11). Such a selection can be easily performed by the mouse 9a and the keyboard 9b of the digitizer 7. By associating this way and Type information D i,
Closed string L i is the typesetting string C i (step S1
1).

【0019】次に、操作者は組版開始点Pi の指定を行
う(ステップS12)。これは、組版文字列Ci のレイ
アウトされるべき位置を定めるものである。換言すれば
組版文字列Ci についての絶対座標系上の位置が定めら
れる。つまり、図4に示す直交座標系XY(それぞれ版
下原稿における水平、垂直方向)において組版文字列C
i の位置がXY座標で対応づけられる。組版開始点Pi
のXY座標は(xPi,yPi)として与えられる。
[0019] Next, the operator performs the designation of typesetting start point P i (step S12). This is to determine the position to be laid typesetting string C i. Position on the absolute coordinate system for typesetting string C i in other words is determined. That is, in the orthogonal coordinate system XY (horizontal and vertical directions of the underlay document, respectively) shown in FIG.
The position of i is associated with the XY coordinates. Typesetting start point P i
Are given as (x Pi , y Pi ).

【0020】従って、組版開始点Pi 及び組版文字列C
i のデータから、組版文字列Ci の外接矩形Ti を求め
ることができる(ステップS13)。ここで外接矩形と
は、後に詳述し、また図示するが、簡単には組版文字列
に外接する矩形のうち、その有する辺がXY座標系に平
行なものをいう。具体的には組版情報Di によって決定
される組版文字列Ci の幾何学形状(後で詳述)のx座
標の最大値、最小値をそれぞれxM ,x m,y座標の最
大値、最小値をそれぞれyM,y mとすると、外接矩形
i の4頂点は(x m,y m),(xM ,y m),(x
M ,yM ),(x m,yM )として求まる。外接矩形は
矩形ゆえ、対角関係にある2頂点さえ定めれば一意に決
定されるので、外接矩形Ti の左下点Ri1(x m,y
m)と右上点Ri2(xM,yM )のみ求めれば足りる。
Therefore, the typesetting start point PiAnd typesetting character string C
iFrom the data ofiBounding rectangle TiAsk for
(Step S13). Where the circumscribed rectangle is
Is described in detail later and is shown in the figure.
Of the rectangle circumscribing the rectangle is flat on the XY coordinate system.
What is done. Specifically, typesetting information DiDetermined by
Typesetting string CiX of the geometric shape of the
X and x are the maximum and minimumM, X The maximum of the m and y coordinates
The maximum value and the minimum value are each yM, Y If m, circumscribed rectangle
TiThe four vertices of (x m, y m), (xM, Y m), (x
M, YM), (X m, yM). The bounding rectangle is
Because it is a rectangle, it is uniquely determined if only two diagonal vertices are defined.
Circumscribed rectangle TiLower left point R ofi1(X m, y
m) and upper right point Ri2(XM, YMOnly) is enough.

【0021】次に、組版文字列Ci ,組版開始点Pi
外接矩形Ti 上の2点Ri1,Ri2のデータを第2メモリ
16に格納する(ステップS14)。図5は第2メモリ
16におけるデータの格納の様子を模式的に示したもの
である。組版文字列C1 のデータは採字文字列L1 のデ
ータと組版情報D1 とから成り、組版情報D1 は書体、
サイズ、組方向についての情報を含んでいる。これにつ
づいて組版開始点P1 のXY座標xP1,yP1が、また外
接矩形の2点R11,R12のXY座標が格納される。組版
文字列C2 のデータがこの後つづいて格納される。
Next, the typesetting character string C i , the typesetting start point P i ,
Two points on the circumscribed rectangle T i R i1, stores the data of R i2 in the second memory 16 (step S14). FIG. 5 schematically shows how data is stored in the second memory 16. Data formatting strings C 1 is composed of a data binding string L 1 typesetting information D 1 Prefecture, typesetting information D 1 is the typeface,
Includes information about size and set direction. Subsequently, the XY coordinates x P1 and y P1 of the typesetting start point P 1 and the XY coordinates of the two points R 11 and R 12 of the circumscribed rectangle are stored. Data formatting string C 2 is stored followed thereafter.

【0022】図1にもどり、ステップS15によって、
採字文字列Li に関連づけられた組版情報Di のうち、
組方向についての判断がなされる。後述する文字列抽出
の際には組版開始点と外接矩形の頂点が一致することが
望ましく、組版開始点の位置は組方向によって通常決ま
っているからである。即ち縦組においては組版文字列の
右上に、横組においては組版文字列の左上にそれぞれ組
版開始点を定めるのが通常である(図9参照)。
Returning to FIG. 1, at step S15,
Among the typesetting information D i associated with the closed string L i,
A determination is made as to the set direction. This is because, at the time of extracting a character string, which will be described later, it is desirable that the typographic start point coincides with the vertex of the circumscribed rectangle, and the position of the typographic start point is usually determined depending on the composition direction. That is, it is normal to set the typesetting start point at the upper right of the typesetting character string in the vertical composition and at the upper left of the typesetting character string in the horizontal composition (see FIG. 9).

【0023】従って、組版文字列Ci の組方向が縦組で
あれば組版開始点Pi に外接矩形Ti の右上点Pi2を一
致させて組版文字列Ci をCRT13上に表示する(ス
テップS16)。また、組版文字列Ci の組方向が横組
であれば組版開始点Pi に外接矩形Ti の左上点(これ
はXY座標が(xm ,yM )ゆえ、2点Ri1,Ri2より
容易に求められる)を一致させて組版文字列Ci を表示
する(ステップS17)。但し、この段階、即ちラフレ
イアウトの段階では図4に示す様に組版開始点Pi も外
接矩形Ti も表示しない。
[0023] Thus, typesetting string set direction of C i to display the formatted string C i to match the upper right point P i2 of the vertical typeset starting point if set P i circumscribing rectangles T i on CRT 13 ( Step S16). Further, typesetting string C i upper left point (which XY coordinates (x m sets direction circumscribing the typesetting starting point P i if horizontal writing rectangular T i of, y M) therefore, two points R i1, R i2 to match the more easily determined) to display the formatted string C i (step S17). However, at this stage, that is, at the stage of the rough layout, neither the typesetting start point Pi nor the circumscribed rectangle Ti is displayed as shown in FIG.

【0024】同様の処理を行ない、所望の組版文字列を
全て(i=1〜k)求め、ラフレイアウトが終了する
(ステップS18)。
The same processing is performed to obtain all the desired typesetting character strings (i = 1 to k), and the rough layout ends (step S18).

【0025】この後ラフレイアウトが表示されたCRT
13を見ながら文字列の抽出を行なう。
Thereafter, the CRT on which the rough layout is displayed
The character string is extracted while looking at 13.

【0026】C.文字列の抽出 図2に文字列抽出方法のフローチャートを示す。文字列
の抽出は、接続子J1 に示されるように、図1にそのフ
ローチャートを示した組版文字列の作成に続いて行われ
る。但し、図1のステップS14において必要なデータ
が全て第2メモリ16に格納されているので、必ずしも
組版文字列の作成に続いて文字列の抽出を行なう必要は
ない。
C. FIG. 2 shows a flowchart of a character string extraction method. Character string extraction, as shown in connector J 1, is followed by the creation of typesetting string shows the flow chart in FIG. However, since all the necessary data is stored in the second memory 16 in step S14 in FIG. 1, it is not always necessary to extract the character string after creating the typesetting character string.

【0027】図6にCRT13上に表示された組版文字
列C1 ,C2 と、ラフレイアウトの段階では表示されな
い組版開始点P1 ,P2 、外接矩形T1 ,T2 及びそれ
らの頂点R11,R12,R21,R22、及び文字列領域
1 ,W2 を示した。文字列領域Wi は組版文字列Ci
の幾何学的形状の輪郭を表わす。例えば組版文字列Ci
が白抜き文字の場合には領域Wi は明確にCRT13上
で把握することができる。外接矩形Ti は正確にはこの
領域Wi に外接する矩形であり、その有する辺は版下原
稿の水平方向(X方向)あるいは垂直方向(Y方向)と
平行である。
FIG. 6 shows typesetting character strings C 1 and C 2 displayed on the CRT 13, typesetting start points P 1 and P 2 , circumscribed rectangles T 1 and T 2, and their vertices R, which are not displayed at the stage of rough layout. 11 , R 12 , R 21 , R 22 , and character string areas W 1 , W 2 are shown. The character string area W i is the typesetting character string C i
Represents the contour of the geometric shape of. For example, typesetting character string C i
There area W i in the case of a white character can clearly grasp on CRT13. Enclosing rectangle T i is a rectangle circumscribing exactly This area W i, that having sides is parallel to the horizontal direction of the block copy original (X direction) or the vertical direction (Y-direction).

【0028】従って、組版文字列C1 のように、領域W
1 が版下原稿と平行に位置する場合には、外接矩形T1
は領域W1と一致する。一方組版文字列C2 のように、
領域W2 が版下原稿と平行に位置しない場合には外接矩
形T2 は領域W2が有するXY座標のそれぞれの最大
値、最小値によって決まる。
[0028] Therefore, as of typesetting string C 1, the region W
If 1 is located parallel to the composition, the circumscribed rectangle T 1
Consistent with the area W 1 is. On the other hand, as in the typesetting string C 2,
Each of the maximum value of the XY coordinate circumscribing rectangle T 2 are included in the area W 2 if the area W 2 is not positioned parallel to the layout paper document determined by the minimum value.

【0029】なお、組版開始点Pi と外接矩形Ti の関
係については前述のとおりであり、図6においては組版
文字列C1 ,C2 は共に横組であるので組版開始点
1 ,P2 はそれぞれ外接矩形T1 ,T2 の左上に位置
する頂点と一致する。
[0029] Incidentally, the relationship between the circumscribed rectangle T i and Type starting point P i is defined as above, typesetting start point P 1 so 6 is forme string C 1, C 2 are both horizontal composition, P 2 coincides with the vertices located at the upper left of the circumscribed rectangles T 1 and T 2 , respectively.

【0030】図2に戻り、文字列抽出においてはまず指
示点を指定する(ステップS21)。このような指定
は、組版開始点の指定と同様、マウス9aで容易に操作
できる。
Returning to FIG. 2, in character string extraction, a designated point is first specified (step S21). Such designation can be easily operated with the mouse 9a, similarly to the designation of the typesetting start point.

【0031】次に、指示点を包含する外接矩形Ti が存
在するか否かを判断する(ステップS22,S24)。
この際に初めて組版文字列Ci から外接矩形Ti を求め
ても前記判断は可能である。但し、何度も抽出処理を繰
り返すことが多く、「B.組版文字列の作成」で説明し
たようにラフレイアウトの時点で外接矩形を作成し、か
つそのデータを格納しておくことが望ましい。
Next, it is determined whether or not there is a circumscribed rectangle T i including the designated point (steps S22 and S24).
In this case the first typesetting string the determination from C i seeking circumscribed rectangle T i is possible. However, the extraction process is often repeated many times, and it is desirable to create a circumscribed rectangle at the time of rough layout and store the data as described in “B. Creation of typeset character string”.

【0032】例えば、図6において指示点S1 (位置
(xS1,yS1))を指定した場合を考えると、指示点S
1 は外接矩形T1 内に包含されるが、外接矩形T2 内に
は包含されない。従って、組版文字列C1 が抽出される
べきものであると判断される。このような判断は図7に
示すように位置関係判断装置12中、外接矩形内判別手
段12aにおいてなされる。具体的にはハード上、また
はソフト上において
For example, consider the case where the designated point S 1 (position (x S1 , y S1 )) is designated in FIG.
1 are within the circumscribed rectangle T 1, but in the circumscribed rectangle T 2 not included. Therefore, typesetting string C 1 is determined to be intended to be extracted. Such a determination is made by the circumscribed rectangle inside determination means 12a in the positional relationship determination device 12, as shown in FIG. Specifically, on hardware or software

【0033】[0033]

【数1】 xiisj≦xi2,yi1≦ysj≦yi2 [Number 1] x ii ≦ sj ≦ x i2, y i1 ≦ y sj ≦ y i2

【0034】を満足すれば外接矩形Ti が指示点Sj
包含すると判断するように構成することで実現できる。
The circumscribed rectangles T i is satisfied it can be realized by configured to determine to encompass indication point S j.

【0035】次に、図6において指示点S2 (位置(x
S2,yS2))を指定した場合には、ステップS22,S
24によって外接矩形T1 ,T2 のいずれもが指示点S
2 を含むと判断され、抽出すべき組版文字列が一意に定
まらなくなる。このような事態を避けるため、更にステ
ップS23により、指示点Sj と組版開始点Pi との距
離Hijを求める(図8)。但し、外接矩形Ti が指示点
j を包含しない場合には、組版文字列Ciは抽出され
るべき組版文字列でないとして、距離Hijを求める必要
はない(ステップS22)。
Next, in FIG. 6, the designated point S 2 (position (x
If S2 , yS2 )) is specified, steps S22, S2
24, both of the circumscribed rectangles T 1 and T 2 become the designated point S
2 is determined, and the typesetting character string to be extracted cannot be uniquely determined. In order to avoid such a situation, the distance H ij between the designated point S j and the typesetting start point P i is obtained in step S23 (FIG. 8). However, if the circumscribed rectangle T i does not include the designated point S j , it is not necessary to determine the distance H ij on the assumption that the typesetting character string C i is not a typesetting character string to be extracted (step S22).

【0036】そしてステップS25により、距離Hij
最小となる組版開始点Pi を有する外接矩形Ti を表示
し、抽出すべき組版文字列Ci を他の組版文字列から識
別して表示する。このような判断は図7に示す位置関係
判断装置12中の距離判別手段12bによって行われ
る。図6において指示点S2 を指定した場合には、組版
開始点P1 ,P2 からの距離H12,H22が数2のように
して求められ、数3の関係から組版文字列C2 が抽出さ
れるべきであると判断される。
[0036] Then by step S25, the distance H ij displays a circumscribed rectangle T i with typesetting starting point P i that minimizes, to display the formatting string C i to be extracted to identify the other typesetting string . Such a determination is made by the distance determining means 12b in the positional relationship determining device 12 shown in FIG. If you specify a designated point S 2 in FIG. 6, typesetting starting point P 1, the distance H 12, H 22 from P 2 is determined as the number 2, typesetting string C 2 from the number 3 of relations Is to be extracted.

【0037】[0037]

【数2】 (Equation 2)

【0038】[0038]

【数3】 H12>H22 [Equation 3] H 12 > H 22

【0039】そして、外接矩形T2 が表示される。Then, the circumscribed rectangle T 2 is displayed.

【0040】もし、指示点と複数の組版開始点との距離
が等しい場合には、検索順序の早い組版文字列を抽出す
るなどと決めておけばよい。
If the distance between the designated point and the plurality of typesetting starting points is equal, it may be determined to extract a typesetting character string having a faster search order.

【0041】以上の手順について換言すれば、操作者は
CRT13上に表示された複数の組版文字列から抽出し
たい組版文字列があるときには、その組版文字列の近傍
でラフに指示点を指定するだけでよい。組版文字列C1
を抽出したい場合には外接矩形T1 内に指示点を指定す
ればよい。指定する段階では外接矩形はCRT13上に
表示されないが、外接矩形の範囲には直観的におおよそ
の見当がつくため、操作者による指示点の指定は容易に
なされる。また、外接矩形の範囲が重なった場合でも、
組版開始点と指示点の距離は視覚的に直ちに捉えられる
ので、指示点の指定は容易になされる。その一方、ステ
ップS22,S23,S25における計算量は図10に
示される従来の文字列抽出方法に比べてずっと少ない。
そのため計算処理に要する時間は短い。
In other words, when the operator wants to extract a plurality of formal character strings from the plurality of formal character strings displayed on the CRT 13, the operator simply designates a rough point near the formal character string. Is fine. Typesetting character string C 1
It need be specified instruction point in the circumscribing rectangle T 1 if you want to extract. At the stage of designation, the circumscribed rectangle is not displayed on the CRT 13, but since the approximate range is intuitively approximated in the range of the circumscribed rectangle, the operator can easily designate the designated point. Also, even if the bounding rectangles overlap,
Since the distance between the typesetting start point and the designated point can be immediately grasped visually, designation of the designated point is easily performed. On the other hand, the amount of calculation in steps S22, S23, and S25 is much smaller than the conventional character string extraction method shown in FIG.
Therefore, the time required for the calculation process is short.

【0042】D.変形例 この発明にかかる方法は上記実施例に限られず、更に以
下のような変形例が可能である。 (1)組版開始点を必ずしも外接矩形の頂点にもってく
る必要はない。例えば外接矩形の中心と一致させてもよ
い。ある特定の規則をもって組版開始点と外接矩形の位
置関係を関係づけておけば、操作者は距離Hijを視覚的
に容易に把握できるからである。 (2)抽出すべき組版文字列を他の組版文字列と区別し
て表示するに際してはその外接矩形を表示することに限
られない。例えば抽出すべき組版文字列Ciの領域Wi
を表示することによっても他の組版文字列と区別して表
示される。この場合更に組版文字列の回転、倍率変更等
が視覚的に把握しやすいという効果も奏する。
D. Modifications The method according to the present invention is not limited to the above-described embodiment, and the following modifications are possible. (1) It is not always necessary to bring the typesetting start point to the vertex of the circumscribed rectangle. For example, it may be made coincident with the center of the circumscribed rectangle. By associating the positional relationship between the typesetting start point and the circumscribed rectangle with a specific rule, the operator can easily and visually grasp the distance Hij . (2) When displaying a typesetting character string to be extracted separately from other typesetting character strings, it is not limited to displaying the circumscribed rectangle. For example, the area W i of the typesetting character string C i to be extracted
Is displayed so as to be distinguished from other typesetting character strings. In this case, there is also an effect that the rotation of the typesetting character string, the change in magnification, and the like can be easily visually recognized.

【0043】[0043]

【発明の効果】以上説明したように、請求項1記載の発
明によれば、表示された複数の組版文字列から任意の組
版文字列を抽出する際に、予め組版文字列について外接
矩形を設定し、これと指示点との位置関係を組版開始点
を考慮して判断し、抽出すべき組版文字列を決定するの
で、指示点の指定は大まかでもよく操作性が高い。また
計算処理量も少ないため計算時間が短い。従って、迅速
に組版文字列の抽出ができる。
As described above, according to the first aspect of the present invention, a circumscribed rectangle is set in advance for a typesetting character string when an arbitrary typesetting character string is extracted from a plurality of displayed typesetting character strings. However, since the positional relationship between this and the designated point is determined in consideration of the typesetting start point, and the typesetting character string to be extracted is determined, the designation of the designated point may be rough and the operability is high. Also, the calculation time is short because the amount of calculation processing is small. Therefore, the typesetting character string can be quickly extracted.

【0044】また、請求項2記載の発明によれば、指示
点を入力する入力手段と、組版文字列から外接矩形を求
め、外接矩形と組版開始点と指示点の位置関係を求める
計算処理手段と,組版文字列の情報を格納する記憶手段
と、抽出すべき組版文字列を他の組版文字列と区別して
表示する表示手段とを備えるので、請求項1記載の発明
を容易に実施できる。
According to the second aspect of the present invention, the input means for inputting the designated point, the calculation processing means for obtaining the circumscribed rectangle from the typesetting character string, and obtaining the positional relationship between the circumscribed rectangle, the typesetting start point and the specified point. And storage means for storing the information of the typesetting character string, and display means for displaying the typesetting character string to be extracted separately from other typesetting character strings, so that the invention according to claim 1 can be easily implemented.

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

【図1】この発明の一実施例の流れを示すフローチャー
トである。
FIG. 1 is a flowchart showing the flow of an embodiment of the present invention.

【図2】この発明の一実施例の流れを示すフローチャー
トである。
FIG. 2 is a flowchart showing a flow of one embodiment of the present invention.

【図3】この発明を適用する電子組版装置100の概要
を示すブロック図である。
FIG. 3 is a block diagram showing an outline of an electronic typesetting apparatus 100 to which the present invention is applied.

【図4】CRT13の表示内容を示す説明図である。FIG. 4 is an explanatory diagram showing display contents of a CRT 13;

【図5】第2メモリ16におけるデータ格納の様子の模
式図である。
FIG. 5 is a schematic diagram of a state of data storage in a second memory 16;

【図6】組版文字列と外接矩形と組版開始点と指示点の
位置関係を示す説明図である。
FIG. 6 is an explanatory diagram showing a positional relationship between a typesetting character string, a circumscribed rectangle, a typesetting start point, and a designated point.

【図7】位置関係判断装置12の内部構成を示すブロッ
ク図である。
FIG. 7 is a block diagram showing an internal configuration of the positional relationship determination device 12.

【図8】指示点と組版開始点との距離を示す説明図であ
る。
FIG. 8 is an explanatory diagram showing a distance between a designated point and a typesetting start point.

【図9】従来の技術を示す説明図である。FIG. 9 is an explanatory diagram showing a conventional technique.

【図10】従来の技術を示す説明図である。FIG. 10 is an explanatory diagram showing a conventional technique.

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

7 デジタイザ 9a マウス 9b キーボード 11 CPU 12 位置関係判断装置 12a 外接矩形内判別手段 12b 距離判別手段 13 CRT 15 第1メモリ 16 第2メモリ C1 ,C2 ,C3 組版文字列 S,S1 ,S2 指示点 T1 ,T2 外接矩形 P1 ,P2 組版開始点 H12,H22 距離7 digitizer 9a mouse 9b keyboard 11 CPU 12 positional relation determination unit 12a circumscribing rectangular discrimination means 12b distance discriminating means 13 CRT 15 second memory C 1 first memory 16, C 2, C 3 typesetting string S, S 1, S 2 Designated points T 1 , T 2 Bounding rectangles P 1 , P 2 Typesetting start point H 12 , H 22 Distance

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 電子組版装置を用いて矩形の版下原稿を
作成する際、表示手段に表示された複数の組版文字列の
うち任意の組版文字列のみを選択して抽出組版文字列を
求め、他の組版文字列と区別して表示する文字列抽出方
法において、(a)予め採字された採字文字列に組版情
報を与えて前記組版文字列を得る工程と、(b)各組版
文字列について、当該組版文字列に外接し、前記版下原
稿の矩形を構成する辺と平行な辺を有する外接矩形をそ
れぞれ求める工程と、(c)指示点を指定する工程と、
(d)前記外接矩形と前記組版文字列の組版開始点のデ
ータを記憶する工程と、(e)各組版文字列のうち、そ
の組版文字列について求められた外接矩形内に前記指示
点を含むような組版文字列を特定して候補組版文字列と
する工程と、(f)前記候補組版文字列のうち、その前
記組版開始点と前記指示点との距離が最も短いものを前
記抽出組版文字列として求める工程と、(g)前記抽出
組版文字列を他の前記組版文字列と区別して前記表示手
段上に表示する工程と、を備える電子組版装置における
文字列抽出方法。
When a rectangular composition document is created using an electronic typesetting device, only an arbitrary typesetting character string is selected from a plurality of typesetting character strings displayed on a display means to obtain an extracted typesetting character string. A character string extracting method for displaying a character string distinguished from other typesetting character strings, wherein (a) giving typesetting information to a typesetting character string that has been set in advance to obtain the typesetting character string; A step of obtaining a circumscribed rectangle circumscribing the typesetting character string and having sides parallel to sides constituting a rectangle of the composition original; and (c) designating a designated point;
(D) storing data of the circumscribed rectangle and the typesetting start point of the typesetting character string; and (e) storing the designated point in the circumscribed rectangle obtained for the typesetting character string among the typesetting character strings. Specifying a typesetting character string that includes the typesetting character string as a candidate typesetting character string; and (f) extracting, from the candidate typesetting character string, a character string having the shortest distance between the typesetting start point and the designated point, to the extracted typesetting character string. A character string extracting method for an electronic typesetting device, comprising: a step of obtaining a character string as a character string; and (g) a step of displaying the extracted typesetting character string on the display means so as to be distinguished from the other typesetting character strings.
【請求項2】 電子組版装置における版下原稿に指示点
を指定する入力手段と、組版文字列の情報を格納する記
憶手段と、前記組版文字列に外接し、前記版下原稿の矩
形を構成する辺と平行な辺を有する外接矩形を求め、前
記外接矩形及び組版開始点と前記指示点との位置関係を
求める計算処理手段と、前記指示点並びに、前記計算処
理手段による処理結果に基づいて、抽出すべき組版文字
列を他の組版文字列と区別して表示する表示手段と、を
備える電子組版装置における文字列抽出装置。
2. An input means for designating a designated point on a composition original in an electronic typesetting apparatus, a storage means for storing information of a composition text string, and a rectangle circumscribing the composition text string to form a rectangle of the composition text. Calculating a circumscribed rectangle having a side parallel to the side to be calculated, calculating processing means for obtaining a positional relationship between the circumscribed rectangle and the typesetting start point and the designated point, the designated point, and a processing result by the calculation processing means. A display unit for displaying a typesetting character string to be extracted separately from other typesetting character strings.
JP3163992A 1991-06-06 1991-06-06 Character string extraction method and character string extraction device in electronic typesetting device Expired - Lifetime JP2593975B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3163992A JP2593975B2 (en) 1991-06-06 1991-06-06 Character string extraction method and character string extraction device in electronic typesetting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3163992A JP2593975B2 (en) 1991-06-06 1991-06-06 Character string extraction method and character string extraction device in electronic typesetting device

Publications (2)

Publication Number Publication Date
JPH04361039A JPH04361039A (en) 1992-12-14
JP2593975B2 true JP2593975B2 (en) 1997-03-26

Family

ID=15784706

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3163992A Expired - Lifetime JP2593975B2 (en) 1991-06-06 1991-06-06 Character string extraction method and character string extraction device in electronic typesetting device

Country Status (1)

Country Link
JP (1) JP2593975B2 (en)

Also Published As

Publication number Publication date
JPH04361039A (en) 1992-12-14

Similar Documents

Publication Publication Date Title
JP4183527B2 (en) Form definition data creation method and form processing apparatus
JPS6019227A (en) Document processing method
JP3396404B2 (en) Automatic string editing system
JP2593975B2 (en) Character string extraction method and character string extraction device in electronic typesetting device
JPH11110479A (en) Method and device for processing characters and storage medium
JPH0322014A (en) Menu selecting method
JPH08202856A (en) Picture processing method
JPH08278961A (en) Document information processor
JPH103516A (en) Method and device for processing information
JP2001028032A (en) Image information processor and mark sheet
JP2606563B2 (en) Word processing device and display method in word processing device
JP2896544B2 (en) Character generation method and apparatus
JPH07296023A (en) Dimension plotting method in cad system
JP2760620B2 (en) Ruled line additional creation device
JPH0731671B2 (en) Formula input editing method
JP3608921B2 (en) Line drawing processing method and apparatus, and recording medium on which program for executing the processing is recorded
JP3345142B2 (en) Document processing device with ruled line display function
JP3213047B2 (en) Recognition target area setting method
JP2020144453A (en) Image editing device and image editing method
JPH11219441A (en) Image editing device, image editing method and recording medium recording image editing processing program
JP2005165985A (en) Dtp-editing device provided with region designation function and data logging function
JPS63265374A (en) Character reader
JPH07302322A (en) Picture display device
JPH09231228A (en) File retrieval device
JPH0594507A (en) Method and device for extracting graphic in electronic composing device

Legal Events

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