JP2001331480A - Plate composition device, plate composition method and recording medium - Google Patents

Plate composition device, plate composition method and recording medium

Info

Publication number
JP2001331480A
JP2001331480A JP2000150859A JP2000150859A JP2001331480A JP 2001331480 A JP2001331480 A JP 2001331480A JP 2000150859 A JP2000150859 A JP 2000150859A JP 2000150859 A JP2000150859 A JP 2000150859A JP 2001331480 A JP2001331480 A JP 2001331480A
Authority
JP
Japan
Prior art keywords
character string
image
arrangement area
area
arranging
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
JP2000150859A
Other languages
Japanese (ja)
Inventor
Yoshinori Izumi
吉則 和泉
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.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
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 Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP2000150859A priority Critical patent/JP2001331480A/en
Publication of JP2001331480A publication Critical patent/JP2001331480A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To solve the problem that an image and a character string overlap when plate composition using a repeat function is performed in the case of preparing a printed matter for which the layout of arranging the image overlapping with a pouring area is performed. SOLUTION: In the case that the character string and an image arrangement area overlap, a character arrangement means decides whether to arrange the character string on the high order of the image arrangement area or to arrange it by evading the image arrangement area based on an overlap processing condition for setting a processing in the case that the character string and the image overleap included in appearance information and arranges them. Thus, the operability of plate composition work is improved.

Description

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

【0001】[0001]

【産業上の利用分野】コンピュータシステムを用いて文
字列の組版を行う組版装置、および組版方法、並びに記
録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a typesetting apparatus, a typesetting method, and a recording medium for typesetting a character string using a computer system.

【0002】[0002]

【従来の技術】従来から、印刷物における組版処理は、
組版専用コンピュータシステムやパーソナルコンピュー
タ上で動作するDTP(Desk Top Publi
shing)アプリケーション等、組版ソフトウェアを
利用して行われることが多くなっている。このような組
版ソフトウェアにおける組版処理は次のような手順で実
行される。 (1)組版すべき文字列を作成する (2)文字列を配置する領域を作成する (3)(2)で作成された領域に(1)で作成された文
字列を配置する(こうした文字列を領域に配置する処理
を一般に「流し込み」と呼ぶ。また文字列が配置される
領域を「流し込み領域」と呼ぶ) (4)配置された文字列に対して、体裁を設定する 組版ソフトウェアを操作するオペレータがこのような手
順を実行させることにより、組版ソフトウェアによる組
版処理が行われる。
2. Description of the Related Art Conventionally, a typesetting process for a printed material has been performed.
DTP (Desk Top Public) operating on a computer system dedicated to typesetting and a personal computer
(shing) applications and the like are often used. The typesetting process in such typesetting software is executed in the following procedure. (1) Create a character string to be typeset. (2) Create an area for arranging the character string. (3) Arrange the character string created in (1) in the area created in (2). The process of arranging a string in an area is generally called “flow-in.” The area in which a character string is arranged is called “flow-in area.” (4) Formatting software that sets the appearance of the arranged character string When the operating operator executes such a procedure, the typesetting software performs typesetting processing.

【0003】しかし、このような組版ソフトウェアにお
ける組版処理では、組版すべき文字列が多数存在する場
合、手順(2)、手順(3)および手順(4)を繰り返
し行わなければならないため、オペレータに負担がかか
るという問題があった。
However, in the typesetting processing in such typesetting software, when there are many character strings to be typeset, the procedure (2), the procedure (3) and the procedure (4) must be repeatedly performed. There was a problem that it was burdensome.

【0004】そこで、最近の組版ソフトウェアでは、 (1’)組版すべき文字列を作成する (2’)文字列に対して体裁を設定する (3’)文字列を配置する流し込み領域を作成する (4’)(3’)で作成された流し込み領域に(1’)
で作成された文字列を(2’)で設定した体裁を施して
流し込む (5’)文字列がある限り(4’)の処理を繰り返す という手順を実行するリピート機能を備えることによっ
て、前述の問題の解決が図られている。
Therefore, in recent typesetting software, (1 ′) a character string to be typeset is created (2 ′) a format is set for the character string (3 ′) a flow area for arranging the character string is created (4 ') (1') in the pouring area created in (3 ')
The character string created in step (2 ') is applied by applying the appearance set in (2'). (5 ') As long as there is a character string, the process of (4') is repeated. The problem is being solved.

【0005】[0005]

【発明が解決しようとする課題】しかし、流し込み領域
と重複して画像が配置されるようなレイアウトが行われ
ている印刷物の場合、前述のリピート機能を使用した組
版を行うと画像と文字列が重複してしまう。画像の中に
は、文字列が重複してほしくない画像も存在するので、
そのような画像が流し込み領域上に配置されている時に
はリピート機能を使用した組版を行うことはできない。
逆に、文字列が重複してもかまわない画像が配置されて
いる場合には、リピート機能を使用した組版を行うこと
ができる。このような場合、画像と重複して配置された
文字列の可読性を保つために、文字列を構成する文字に
縁取りを施すように、体裁設定を行わなければならな
い。しかし、文字列の色と似た色彩を有する画像と文字
列の色と似ていない色彩を有する画像が混在している場
合、文字列を構成する文字に一律に縁取りを施すような
体裁を設定すると、一方の画像上に配置された文字列は
縁取りによって可読性を維持できるのに対して、他方の
画像上に配置された文字列は不要の縁取りのためレイア
ウト上見苦しくなる、という問題が発生してしまう。ま
た、文字列の流し込み領域上に画像を後から配置するよ
うな場合、配置される画像が文字列と重複して欲しくな
い画像であれば、画像配置後に再度組版処理を行わなけ
ればならない。また、文字列と重複してもよい画像であ
っても、文字列上に画像が配置されてしまうため文字列
が見えなくなってしまう。この場合は、結局再度組版処
理を行わなければならず、その際には改めて縁取り設定
を行わなければならない、という問題がある。さらに、
文字列中に絵柄、線画などの画像データを配置するため
の記述が行われている文字列を流し込む場合において
も、これまで説明してきた問題と同様の問題が起こる。
However, in the case of a printed material having a layout in which an image is arranged so as to overlap with a flow-in area, if the typesetting using the above-described repeat function is performed, the image and the character string are converted. Will be duplicated. Some images do not want character strings to be duplicated,
When such an image is arranged on the pouring area, it is not possible to perform typesetting using the repeat function.
Conversely, when an image in which character strings can be overlapped is arranged, typesetting using the repeat function can be performed. In such a case, in order to maintain the readability of the character string arranged overlapping with the image, it is necessary to set the appearance so as to outline the characters constituting the character string. However, if there is a mixture of images that have colors similar to the color of the character string and images that have a color that is not similar to the color of the character string, set the appearance to uniformly border the characters that make up the character string. Then, the character strings arranged on one image can maintain readability by bordering, whereas the character strings arranged on the other image have unnecessary borders, which makes the layout unsightly. Would. In the case where an image is to be arranged later on the text-flow area, if the image to be arranged does not want to overlap the character string, the typesetting process must be performed again after the image is arranged. Further, even if the image may overlap with the character string, the image is arranged on the character string, so that the character string becomes invisible. In this case, the typesetting process must be performed again, and at that time, there is a problem that the border setting must be performed again. further,
Even when a character string in which a description for arranging image data such as a picture and a line drawing is written in the character string, the same problem as described above occurs.

【0006】この発明は、従来技術における上述の課題
を解決するためのものであり、文字列と画像が重複する
際の処理を自動的に行うことで、組版作業の作業性を高
めることを目的とする。
An object of the present invention is to solve the above-mentioned problems in the prior art, and to improve the workability of typesetting work by automatically performing processing when a character string and an image overlap. And

【0007】[0007]

【課題を解決するための手段】かかる課題を解決する為
に、請求項1に係る発明は、文字列と画像とをレイアウ
トして電子的に組版を行う組版装置であって、前記文字
列に対する体裁と、前記文字列と前記画像とが重複する
場合の処理を設定した重複処理条件とを含む体裁情報を
設定する体裁情報設定手段と、前記文字列を配置するた
めの文字列配置領域を指定する文字列配置領域指定手段
と、画像を配置するための画像配置領域を指定する画像
配置領域指定手段と、前記指定された文字列配置領域に
前記体裁情報に基づいて前記文字列を配置する文字列配
置手段と、を有し、前記文字列配置手段は、前記文字列
を前記画像配置領域と重複する位置に配置する場合、前
記体裁情報に含まれる前記重複処理条件に基づいて、前
記画像配置領域の上位に配置するか前記画像配置領域を
回避して配置するかを決定して、前記文字列を配置する
こと、を特徴としている。
According to a first aspect of the present invention, there is provided a typesetting apparatus for laying out a character string and an image and electronically setting the type of the character string. A format information setting unit configured to set format information including a format, a duplication processing condition in which a process when the character string and the image overlap, and a character string arrangement area for arranging the character string are designated. Character string arrangement area designating means, image arrangement area designating means for designating an image arrangement area for arranging an image, and characters for arranging the character string in the designated character string arrangement area based on the appearance information And a string arrangement unit, wherein the character string arrangement unit, when arranging the character string at a position overlapping the image arrangement area, based on the overlap processing condition included in the appearance information, the image arrangement unit Area To determine whether to place to avoid the image layout area or placed in position, placing the character string, and wherein.

【0008】請求項1の組版装置は、文字列と画像配置
領域とが重複する場合、体裁情報に含まれる文字列と画
像とが重複する場合の処理を設定した重複処理条件に基
づいて、文字列を画像配置領域の上位に配置するか画像
配置領域を回避して配置するかを、文字列配置手段が決
定して配置するので、組版作業の作業性を高めることが
できる。また、文字列毎に体裁情報を設定することによ
り、文字列の画像配置領域回避、文字列の上位配置など
の処理を文字列毎に実行することができるので、表現性
の高い組版処理を行うことができる。
According to the first aspect of the present invention, when a character string and an image arrangement area overlap, a character string included in the format information and an image overlap each other based on an overlapping processing condition set based on an overlapping processing condition. Since the character string arranging means determines whether the column is arranged above the image arranging area or is arranged avoiding the image arranging area, the arranging operation can be improved. In addition, by setting the appearance information for each character string, it is possible to perform processing such as avoiding the image arrangement area of the character string and arranging the upper order of the character string for each character string. be able to.

【0009】請求項2に係る発明は、文字列と画像とを
レイアウトして電子的に組版を行う組版装置であって、
前記文字列に対する体裁情報を設定する体裁情報設定手
段と、前記文字列を配置するための文字列配置領域を指
定する文字列配置領域指定手段と、前記指定された文字
列配置領域に前記体裁情報に基づいて前記文字列を配置
する文字列配置手段と、画像を配置するための画像配置
領域を指定する画像配置領域指定手段と、前記画像配置
領域に前記文字列が重複する場合の処理を設定した重複
処理条件を含む画像領域属性情報を設定する画像配置領
域属性設定手段と、を有し、前記文字列配置手段は、前
記画像配置領域が前記文字列と重複する位置に配置され
た場合、前記画像配置領域属性情報に含まれる前記重複
処理条件に基づいて、前記画像配置領域の上位に配置す
るか前記画像配置領域を回避して配置するかを決定し
て、前記文字列を配置し直すこと、を特徴としている。
According to a second aspect of the present invention, there is provided a typesetting apparatus for laying out a character string and an image and performing electronic typesetting.
Style information setting means for setting style information for the character string; character string layout area designating means for specifying a character string layout area for laying the character string; and the style information in the specified character string layout area Character string arranging means for arranging the character string on the basis of an image arranging area specifying means for specifying an image arranging area for arranging an image, and setting processing when the character string overlaps the image arranging area. Image arrangement area attribute setting means for setting image area attribute information including the overlap processing condition, wherein the character string arrangement means is arranged at a position where the image arrangement area overlaps with the character string. Based on the overlapping processing condition included in the image arrangement area attribute information, it is determined whether to arrange the character string at a position higher than the image arrangement area or to avoid the image arrangement area. Be re-is characterized.

【0010】請求項2の組版装置は、画像配置領域と文
字列とが重複する場合、画像配置領域属性情報に含まれ
る文字列と画像とが重複する場合の処理を設定した重複
処理条件に基づいて、文字列を画像配置領域の上位に配
置するか画像配置領域を回避して配置するかを、文字列
配置手段が決定して配置し直すので、組版作業の作業性
を高めることができる。また、画像配置領域毎に、文字
列の画像配置領域回避、文字列の上位配置などの処理を
設定することができるので、表現性の高い組版処理を行
うことができる。
According to a second aspect of the present invention, when the image arrangement area and the character string overlap, a character string included in the image arrangement area attribute information and the image overlap each other based on the overlap processing condition set. Then, the character string arranging means determines whether to arrange the character string above the image arranging area or to avoid the image arranging area. Further, for each image arrangement area, processing such as avoidance of an image arrangement area of a character string and higher-order arrangement of a character string can be set, so that highly expressive typesetting processing can be performed.

【0011】請求項3に係る発明は、請求項1乃至請求
項2の組版装置において、前記画像配置領域の上位に前
記文字列が配置された場合、前記文字列の文字に縁取り
を施す縁取り手段を有すること、を特徴としている。
According to a third aspect of the present invention, in the typesetting device according to the first or second aspect, when the character string is arranged at a higher position in the image arrangement area, a bordering means for bordering characters of the character string. Having the following.

【0012】請求項3の組版装置は、縁取り手段が、画
像配置領域の上位に配置された文字列の文字に縁取りを
施すので、組版作業の作業性を高めることができる。ま
た、文字列に縁取りが施されるので、文字列の可読性を
保つことができる。
According to the third aspect of the present invention, the bordering means borders the characters of the character string arranged at the upper position of the image arrangement area, so that the workability of the typesetting operation can be improved. Further, since the character string is bordered, the readability of the character string can be maintained.

【0013】請求項4に係わる発明は、請求項1乃至請
求項3の組版装置において、絵柄や線画等の画像データ
を画像データ名を付して格納する画像データ格納手段
と、を有し、前記文字列に画像データを示す画像データ
名が含まれている場合、前記文字列に含まれた画像デー
タ名に基づいて画像データを前記画像データ格納手段か
ら検索し、前記体裁情報に基づいて前記画像データを前
記文字列配置領域に配置する文中画像配置手段を文字列
配置手段が備えていること、を特徴としている。
According to a fourth aspect of the present invention, there is provided the typesetting apparatus according to any one of the first to third aspects, further comprising: image data storage means for storing image data such as pictures and line drawings with image data names. When the character string includes an image data name indicating image data, the image data is searched from the image data storage unit based on the image data name included in the character string, and the image data is searched based on the appearance information. It is characterized in that the character string arranging means is provided with a text image arranging means for arranging image data in the character string arranging area.

【0014】請求項4の組版装置は、文字列配置手段に
備えた文中画像配置手段が、文字列に画像データ名が含
まれていれば、画像データ格納手段から画像データ名に
基づいて画像データを検索し、文字列中に配置する。そ
の時画像配置領域と文字列が重複する時には、重複処理
条件に基づいて文字列中の画像データも配置されるの
で、組版作業の作業性を高めることができる。
According to a fourth aspect of the present invention, there is provided the typesetting apparatus, wherein the in-sentence image arranging means provided in the character string arranging means, if the image data name is included in the character string, from the image data storing means based on the image data name. And place it in the string. At that time, when the image arrangement area and the character string overlap, the image data in the character string is also arranged based on the overlap processing condition, so that the workability of the typesetting work can be improved.

【0015】請求項5に係る発明は、文字列と画像とを
レイアウトして電子的に組版を行う組版方法であって、
前記文字列に対する体裁と、前記文字列と前記画像とが
重複する場合の処理を設定した重複処理条件とを含む体
裁情報を設定する体裁情報設定工程と、前記文字列を配
置するための文字列配置領域を指定する文字列配置領域
指定工程と、画像を配置するための画像配置領域を指定
する画像配置領域指定工程と、前記指定された文字列配
置領域に前記体裁情報に基づいて前記文字列を配置する
文字列配置工程と、を有し、前記文字列を前記画像配置
領域と重複する位置に配置する場合、前記体裁情報に含
まれる前記重複処理条件に基づいて、前記画像配置領域
の上位に配置するか前記画像配置領域を回避して配置す
るかを決定して、前記文字列を配置することを特徴とし
ている。
According to a fifth aspect of the present invention, there is provided a typesetting method for laying out a character string and an image to electronically typeset.
A format information setting step of setting format information including a format for the character string, and an overlap processing condition in which a process is performed when the character string and the image overlap, and a character string for arranging the character string A character string arrangement area designating step of designating an arrangement area; an image arrangement area designating step of designating an image arrangement area for arranging an image; and the character string based on the appearance information in the designated character string arrangement area. A character string arranging step of arranging a character string, and arranging the character string at a position overlapping the image arrangement area, based on the overlapping processing condition included in the appearance information, The character string is arranged by deciding whether to arrange the character string or to avoid the image arrangement area.

【0016】請求項5の組版方法は、文字列と画像配置
領域とが重複する場合、体裁情報に含まれる文字列と画
像とが重複する場合の処理を設定した重複処理条件に基
づいて、画像配置領域の上位に配置するか画像配置領域
を回避して文字列を配置するので、組版作業の作業性を
高めることができる。また、文字列毎に体裁情報を設定
することにより、文字列の画像領域回避、文字列の上位
配置などの処理を文字列毎に実行することができるの
で、表現性の高い組版処理を行うことができる。
According to a fifth aspect of the present invention, there is provided a typesetting method, wherein when a character string and an image arrangement area overlap, a character string included in the format information and an image overlap each other based on an overlapping processing condition set. Since the character string is arranged above the arrangement area or avoiding the image arrangement area, the workability of the typesetting work can be improved. In addition, by setting the appearance information for each character string, it is possible to execute processing such as avoiding the image area of the character string and arranging the character string at a higher rank for each character string. Can be.

【0017】請求項6に係る発明では、文字列と画像と
をレイアウトして電子的に組版を行う組版方法であっ
て、前記文字列に対する体裁情報を設定する体裁情報設
定工程と、前記文字列を配置するための文字列配置領域
を指定する文字列配置領域指定工程と、前記指定された
文字列配置領域に前記体裁情報に基づいて前記文字列を
配置する文字列配置工程と、画像を配置するための画像
配置領域を指定する画像配置領域指定工程と、前記画像
配置領域に前記文字列が重複する場合の処理を設定した
重複処理条件を含む画像領域属性情報を設定する画像配
置領域属性設定工程と、を有し、前記画像配置領域が前
記文字列と重複する位置に配置された場合、前記画像配
置領域属性情報に含まれる前記重複処理条件に基づい
て、前記画像配置領域の上位に配置するか前記画像配置
領域を回避して配置するかを決定して、前記文字列を配
置し直す、ことを特徴としている。
According to a sixth aspect of the present invention, there is provided a typesetting method for electronically setting a character string and an image by laying out the character string and an image. A character string arrangement area designating step of designating a character string arrangement area for arranging a character string, and a character string arrangement step of arranging the character string in the designated character string arrangement area based on the appearance information. Image placement area designating step of designating an image placement area for setting, and image placement area attribute setting for setting image area attribute information including a processing condition for overlapping when the character string overlaps the image placement area And when the image arrangement area is arranged at a position overlapping the character string, the image arrangement area is determined based on the overlap processing condition included in the image arrangement area attribute information. To determine whether to place to avoid the image layout area will be placed in the upper, rearrange the string, and characterized in that.

【0018】請求項6の組版方法は、画像配置領域と文
字列とが重複する場合、画像配置領域属性情報に含まれ
る文字列と画像とが重複する場合の処理を設定した重複
処理条件に基づいて、画像配置領域の上位に配置するか
画像配置領域を回避して文字列を配置し直すので、組版
作業の作業性を高めることができる。また、画像配置領
域毎に、文字列の画像領域回避、文字列の上位配置など
の処理を設定することができるので、表現性の高い組版
処理を行うことができる。
According to a sixth aspect of the present invention, there is provided a typesetting method based on an overlap processing condition which sets a process when an image arrangement area and a character string overlap and a character string included in the image arrangement area attribute information and an image overlap. Thus, the character string is rearranged at a position higher than the image arrangement region or by avoiding the image arrangement region, so that the workability of the typesetting operation can be improved. In addition, for each image arrangement area, processing such as avoiding a character string in an image area and arranging a character string in a higher order can be set, so that a highly expressive typesetting process can be performed.

【0019】さらに、請求項7に係る発明は、請求項5
に記載した発明をコンピュータで実現するためのプログ
ラムを記録した記録媒体である。
Further, the invention according to claim 7 is the invention according to claim 5.
Is a recording medium that records a program for realizing the invention described in (1) by a computer.

【0020】請求項7の記録媒体は、コンピュータで実
現するためのプログラムが記録されているので、このよ
うな記録媒体に記録されているプログラムをコンピュー
タで実行すれば、請求項5に記載の組版方法同様、文字
列と画像配置領域とが重複する場合、体裁情報に含まれ
る文字列と画像とが重複する場合の処理を設定した重複
処理条件に基づいて、画像配置領域の上位に配置するか
画像配置領域を回避して文字列を配置するので、組版作
業の作業性を高めることができる。
[0020] The recording medium of claim 7 records a program to be realized by a computer, and if the program recorded on such a recording medium is executed by a computer, the typesetting of claim 5 is executed. Similarly to the method, when the character string overlaps with the image arrangement area, whether to arrange the character string included in the format information and the image at the upper position of the image arrangement area based on the overlapping processing condition set for the processing when the image overlaps Since the character strings are arranged avoiding the image arrangement area, the workability of the typesetting work can be improved.

【0021】また、請求項8に係る発明は、請求項6に
記載した発明をコンピュータで実現するためのプログラ
ムを記録した記録媒体である。
[0021] The invention according to claim 8 is a recording medium that records a program for realizing the invention described in claim 6 by a computer.

【0022】請求項8の記録媒体は、コンピュータで実
行するためのプログラムが記録されているので、請求項
6記載の組版方法同様、画像配置領域と文字列とが重複
する場合、画像配置領域属性情報に含まれる文字列と画
像とが重複する場合の処理を設定した重複処理条件に基
づいて、画像配置領域の上位に配置するか画像配置領域
を回避して文字列を配置し直すので、組版作業の作業性
を高めることができる。
In the recording medium according to the present invention, since a program to be executed by a computer is recorded, similar to the typesetting method according to the sixth aspect, when an image arrangement area and a character string overlap, an image arrangement area attribute is set. Based on the overlapping processing conditions that set the processing when the character string included in the information and the image overlap, the character string is re-arranged at the upper position of the image arrangement area or avoiding the image arrangement area, so that the typesetting is performed. Work operability can be improved.

【0023】[0023]

【発明の実施の形態】『体裁情報に画像領域と文字列と
の関係を設定』図1は、本発明の実施の形態の一例であ
る組版装置を示すためのブロック図であり、特に体裁情
報に画像領域と文字列との関係を設定するようにした組
版装置のブロック図である。この組版装置1は、一般的
に使用されているパーソナルコンピュータであり、CP
U11、表示部12、入力部13、ネットワークI/F
14、メディアドライブ15、記憶部16、メモリ17
より構成されている。CPU11は、組版装置1全体を
制御し、特にメディアドライブ15に挿入されたメディ
アディスク18に記録されているプログラムをメモリ1
7において実行することによって、組版装置1を実現し
ている。表示部12は、組版処理の際に必要な情報を表
示するためのものであり、後述する文字列作成、文字列
配置領域指定、画像配置領域指定、体裁情報設定に関す
る指示は、この表示部12をオペレータが見ながら行
う。入力部13は、マウスやキーボードで構成されてお
り、組版装置1に対してオペレータが指示を入力するた
めに使用する。後述する文字列作成、文字列配置領域指
定、画像配置領域指定、体裁情報設定に関する指示は、
この入力部13をオペレータが操作することによって行
われる。ネットワークI/F14は、組版装置1と図示
しないネットワークとを接続するためのものである。ネ
ットワークI/F14を介して、組版装置1は図示しな
いネットワーク上に接続されている出力機に組版した結
果を出力する。また、図示しないサーバより、組版装置
1の機能を実現するプログラムをダウンロードすること
も可能である。メディアドライブ15は、メディアディ
スク18に記録されているプログラムを読み取るために
使用する。メディアドライブ15で読み取られたプログ
ラムにより、組版装置1の機能が実現される。記憶部1
6は、メディアドライブ15で読み取られたプログラム
を格納する。また、記憶部16は、文字列作成部171
で作成された文字列データや、体裁情報設定部172で
設定された体裁情報データ、配置領域指定部173で指
定された文字列配置領域データや画像配置領域データ、
また画像配置領域に配置する画像データ、そして、組版
装置1で作成された組版データをも一時的に記憶する
(後述する)。
DESCRIPTION OF THE PREFERRED EMBODIMENTS "Setting of Relationship Between Image Area and Character String in Format Information" FIG. 1 is a block diagram showing a typesetting apparatus which is an example of an embodiment of the present invention. FIG. 3 is a block diagram of a typesetting device for setting a relationship between an image area and a character string. This typesetting device 1 is a personal computer generally used, and has a CP
U11, display unit 12, input unit 13, network I / F
14, media drive 15, storage unit 16, memory 17
It is composed of The CPU 11 controls the entire typesetting device 1, and stores programs recorded on a media disk 18 inserted in a media drive 15 in a memory 1.
7, the typesetting device 1 is realized. The display unit 12 is for displaying information necessary for the typesetting process. Is performed while the operator is watching. The input unit 13 includes a mouse and a keyboard, and is used by an operator to input an instruction to the typesetting device 1. Instructions related to character string creation, character string placement area designation, image placement area designation, and format information setting described below
The input section 13 is operated by an operator. The network I / F 14 connects the typesetting device 1 to a network (not shown). Via the network I / F 14, the typesetting device 1 outputs the result of typesetting to an output device connected to a network (not shown). Further, a program for realizing the function of the typesetting device 1 can be downloaded from a server (not shown). The media drive 15 is used to read a program recorded on a media disk 18. The functions of the typesetting device 1 are realized by the program read by the media drive 15. Storage unit 1
Reference numeral 6 stores a program read by the media drive 15. Further, the storage unit 16 stores a character string creation unit 171.
The character string data created in the above, the appearance information data set by the appearance information setting unit 172, the character string arrangement area data and the image arrangement area data designated by the arrangement area designation unit 173,
Further, the image data to be arranged in the image arrangement area and the typesetting data created by the typesetting device 1 are also temporarily stored (described later).

【0024】メモリ17は、記憶部16によって記憶さ
れたプログラムをCPU11が実行するためのワークエ
リアである。CPU11によってプログラムが実行され
た結果、メモリ17において、文字列作成部171、体
裁情報設定部172、配置領域指定部173、文字列配
置部174、縁取り作成部175の機能が実現する。文
字列作成部171は、組版処理に使用する文字列データ
を作成する。作成された文字列データは、一時的に記憶
部16に記憶する。また、図示しないネットワーク上の
他のパーソナルコンピュータで作成された文字列データ
を、ネットワークI/F14を介して受信し、この文字
列作成部171で組版処理に使用する文字列データとす
るようにしてもよい。体裁情報設定部172は、文字列
を文字列配置領域に配置する際に、文字列に体裁を施す
ための体裁情報データを設定する。ここで文字列に対し
て施される体裁とは、文字サイズ、文字フォント、字
間、行間、さらに大見出し、中見出し、小見出し、本文
などであり、文字列が画像配置領域と重複した際の縁取
り指定なども体裁として取り扱われる。オペレータが、
これら体裁を設定することにより、体裁情報設定部17
2は体裁情報データを作成する。また、画像配置領域と
文字列との重複の関係によって行うべき処理について
も、オペレータが設定することにより、体裁情報設定部
172で作成される体裁情報データに含まれる。体裁情
報設定部172で作成された体裁情報データは、一時的
に記憶部16に記憶する。配置領域指定部173は、文
字列配置領域、画像配置領域を指定する。すなわち、オ
ペレータが、入力部13を操作して作成した図形を、配
置領域指定部173は文字列配置領域、画像配置領域と
して指定する。文字列配置部174は、体裁情報設定部
172で作成された体裁情報データで設定された体裁を
文字列作成部171で作成された文字列に施し、前記体
裁が施された文字列を配置領域部173で指定された文
字列配置領域に配置する。配置した文字列が画像配置領
域と重複する場合、文字列配置部174は、体裁情報設
定部172で作成された体裁情報データの設定に従っ
て、画像配置領域と文字列との関係を決定して文字列を
配置する。
The memory 17 is a work area for the CPU 11 to execute the program stored by the storage unit 16. As a result of the execution of the program by the CPU 11, the functions of the character string creation unit 171, the appearance information setting unit 172, the arrangement area designating unit 173, the character string arrangement unit 174, and the border creation unit 175 are realized in the memory 17. The character string creation unit 171 creates character string data used for typesetting processing. The created character string data is temporarily stored in the storage unit 16. In addition, character string data created by another personal computer on a network (not shown) is received via the network I / F 14, and the character string creation unit 171 uses the character string data to be used for typesetting. Is also good. The appearance information setting unit 172 sets appearance information data for applying appearance to the character string when the character string is arranged in the character string arrangement area. Here, the format applied to the character string is character size, character font, character spacing, line spacing, and also large headings, middle headings, small headings, and text, etc. Border specifications are also treated as appearance. The operator
By setting these appearances, the appearance information setting unit 17
2 creates appearance information data. The processing to be performed based on the overlapping relationship between the image arrangement area and the character string is also included in the format information data created by the format information setting unit 172 by setting by the operator. The appearance information data created by the appearance information setting unit 172 is temporarily stored in the storage unit 16. The arrangement area designating section 173 designates a character string arrangement area and an image arrangement area. That is, the layout area designating section 173 designates the graphic created by the operator operating the input section 13 as a character string layout area and an image layout area. The character string arranging unit 174 applies the appearance set by the appearance information data created by the appearance information setting unit 172 to the character string created by the character string creating unit 171, and stores the applied character string in the arrangement area. It is arranged in the character string arrangement area designated by the unit 173. When the arranged character string overlaps with the image arrangement area, the character string arrangement unit 174 determines the relationship between the image arrangement area and the character string according to the setting of the appearance information data created by the appearance information setting unit 172, and Arrange columns.

【0025】縁取り作成部175は、前記文字列配置部
174が、画像配置領域と文字列との関係を決定して画
像領域の上位に文字列を配置する場合、体裁情報に「縁
取り」を行う旨設定されていれば文字列に対して縁取り
を行う。ここで、縁取りとは、文字列を構成する文字の
外縁を文字色とは異なる色で修飾することである。文字
に対して縁取りを行う手法としては、例えば、文字フォ
ントのアウトラインについて太らせ処理を行い、太らせ
処理を行って得られた領域に対して文字色とは異なる色
で塗りつぶすなどの手法がある。
When the character string arranging section 174 determines the relationship between the image arrangement area and the character string and arranges the character string in the upper part of the image area, the outline creating section 175 performs "edge" on the appearance information. If it is set, the character string is bordered. Here, bordering refers to modifying the outer edge of a character constituting a character string with a color different from the character color. As a method of performing a border on a character, for example, there is a method of performing a fattening process on an outline of a character font, and filling an area obtained by performing the fattening process with a color different from a character color. .

【0026】図2は、組版装置1の動作を説明するため
のフローチャートであり、特に、体裁情報設定部172
で設定される体裁情報データに、画像配置領域と文字列
との関係を設定している場合の動作を示すフローチャー
トである。
FIG. 2 is a flowchart for explaining the operation of the typesetting apparatus 1. In particular, the format information setting section 172
9 is a flowchart showing an operation in a case where a relationship between an image arrangement area and a character string is set in the appearance information data set in FIG.

【0027】ステップS1において、オペレータは入力
部13により入力を行い、文字列作成部171で文字列
データを作成する。図3は、文字列作成部171で作成
された文字列の一例を示す説明図であり、ここで図示さ
れている文字列は入力部13により入力されたものを表
示部12で表示した態様である。作成された文字列は、
図示しているように所定の区切りコードで区切られてい
る。区切りコードとしては、「スペース」「タブ」「,
(コンマ)」等を使用することができる。また、行末に
あるリターンコードで区切られた文字列群は、一群の文
字列として扱われる。リターンコードで区切られた文字
列に含まれる文字列群は、区切りコードの位置によっ
て、それぞれ「大見出し」、「中見出し」、「小見出
し」、「本文」として区別される。ステップS1で作成
された文字列データは、テキストファイルとして、一時
的に記憶部16に記憶される。ここでは、テキストファ
イル名をdog.txtとして、記憶部16に記憶するものと
する。
In step S1, the operator makes an input through the input unit 13 and creates character string data in the character string creating unit 171. FIG. 3 is an explanatory diagram showing an example of a character string created by the character string creating unit 171. The character string shown here is displayed on the display unit 12 as input by the input unit 13. is there. The created string is
As shown in the drawing, they are separated by a predetermined delimiter code. The delimiter codes are "space", "tab", ",
(Comma) "can be used. A group of character strings separated by a return code at the end of the line is treated as a group of character strings. The character strings included in the character strings delimited by the return code are distinguished as “large heading”, “medium heading”, “subheading”, and “body” depending on the position of the delimiting code. The character string data created in step S1 is temporarily stored in the storage unit 16 as a text file. Here, it is assumed that the text file name is stored in the storage unit 16 as dog.txt.

【0028】図2に戻って、ステップS2では、組版処
理に使用される画像データを入力するステップである。
ここで入力される画像データは、後に指定する画像配置
領域に配置する画像データである。画像データは、ネッ
トワークI/F14を介して図示しないネットワーク上
のサーバーからダウンロードすることにより、入力を行
うことができる。あるいは、メディアドライブ15か
ら、メディアディスク18に格納されている画像データ
を読み取るようにしてもよい。ステップS2で入力され
た画像データは、記憶部16に記憶される。
Returning to FIG. 2, step S2 is a step of inputting image data used for typesetting processing.
The input image data is image data to be arranged in an image arrangement area specified later. The image data can be input by downloading it from a server on a network (not shown) via the network I / F 14. Alternatively, image data stored in the media disk 18 may be read from the media drive 15. The image data input in step S2 is stored in the storage unit 16.

【0029】ステップS3は、文字列配置領域や画像配
置領域を指定するステップである。オペレータは、表示
部12の表示を見ながら入力部13を操作することによ
り、このステップS3の処理を行う。図4は、配置領域
を指定する様子を示した説明図である。表示部12に表
示されているのは組版処理を行うページBPであり、こ
のページBP上に文字列配置領域、画像配置領域が指定
される。まず、文字列配置領域を指定する手順では、オ
ペレータは表示部12に表示されている配置領域指定メ
ニューMから「文字列配置指定」を選択する。そこで、
オペレータは入力部13を操作することにより、ページ
BP上の一点を指定する。指定した点PTE1を左上点
として、オペレータがページBP上の他の一点を指定す
ると、指定した点が右下点PTE2として、矩形TE1
が作成される。作成された矩形TE1は、配置領域指定
部173により、文字列配置領域として指定される。オ
ペレータは同様の操作を行ってもう一つ矩形を作成す
る。作成された矩形TE2も、同様に文字列配置領域と
して指定されるので、ページBP上に二つの文字列配置
領域TE1、TE2が指定される。続けて、オペレータ
は配置領域指定メニューMから「画像配置指定」を選択
する。「画像配置指定」が選択されると、配置領域指定
部173は、表示部12上に作成された図形を画像配置
領域として指定する。オペレータは先刻の操作と同様
に、ページBP上の二点を指定することを繰り返して、
矩形IM1、IM2を作成する。作成された矩形IM
1、IM2は、配置領域指定部173により、画像配置
領域として指定されるので、ページBP上に二つの画像
配置領域IM1、IM2が指定される。作成された文字
列配置領域TE1、TE2および画像配置領域IM1、
IM2は、図5に示すようなデータとなる。配置領域指
定部173で指定された文字列配置領域データ並びに画
像配置領域データは記憶部16に記憶される。なお、図
4に示しているように、画像配置領域IM1は文字列配
置領域TE1に重複する位置に指定されており、画像配
置領域IM2は文字列配置領域TE2に重複する位置に
指定されている。
Step S3 is a step of designating a character string arrangement area and an image arrangement area. The operator performs the process of step S3 by operating the input unit 13 while watching the display on the display unit 12. FIG. 4 is an explanatory diagram showing a state in which an arrangement area is specified. Displayed on the display unit 12 is a page BP on which a typesetting process is to be performed, and a character string arrangement area and an image arrangement area are specified on this page BP. First, in the procedure for specifying a character string arrangement area, the operator selects “character string arrangement specification” from the arrangement area specification menu M displayed on the display unit 12. Therefore,
The operator operates the input unit 13 to specify one point on the page BP. When the specified point PTE1 is set as the upper left point and the operator specifies another point on the page BP, the specified point is set as the lower right point PTE2 and the rectangle TE1 is set.
Is created. The created rectangle TE1 is designated as a character string placement area by the placement area designation unit 173. The operator performs another operation to create another rectangle. Since the created rectangle TE2 is also designated as a character string arrangement area, two character string arrangement areas TE1 and TE2 are designated on the page BP. Subsequently, the operator selects “image arrangement designation” from the arrangement area designation menu M. When “image layout specification” is selected, the layout area specifying unit 173 specifies a figure created on the display unit 12 as an image layout area. The operator repeats specifying two points on the page BP in the same manner as the previous operation,
The rectangles IM1 and IM2 are created. Rectangle IM created
1 and IM2 are designated as image placement areas by the placement area designation unit 173, so two image placement areas IM1 and IM2 are designated on the page BP. The created character string arrangement areas TE1, TE2 and the image arrangement area IM1,
IM2 is data as shown in FIG. The character string arrangement area data and the image arrangement area data designated by the arrangement area designation unit 173 are stored in the storage unit 16. As shown in FIG. 4, the image arrangement area IM1 is designated at a position overlapping the character string arrangement area TE1, and the image arrangement area IM2 is designated at a position overlapping the character string arrangement area TE2. .

【0030】ステップS4では、オペレータが、入力部
13を操作して入力を行うことにより、体裁情報設定部
172が体裁情報データを設定する。図6(a)は、体
裁情報設定部172による体裁情報データの作成を説明
するための図である。体裁情報設定部172は、表示部
12に体裁情報設定画面MFを表示する。オペレータ
は、表示されている体裁情報設定画面MFの該当する項
目に入力部13による入力を行うことにより、体裁情報
を設定する。体裁情報設定画面MFには、文字列の位置
を設定する文字位置欄(「文字位置」)、文字列のサイ
ズを設定する文字サイズ欄(「文字サイズ」)、文字列
のフォントを設定する文字フォント欄(「文字フォン
ト」)、文字列の行間を設定する行間欄(「行間」)が
備えられている。また、画像領域と文字列が重複した場
合の関係を設定する重複ボタン(「重複」)、画像領域
と文字列が重複した場合、文字列を上位に配置した際に
文字列に対して縁取りを設定する縁取りボタン(「縁取
り」)が、それぞれ文字位置に対応して備えられてい
る。図6(a)では、図示しているように、オペレータ
は大見出しについて、文字サイズ20Q(Q=0.25
mm)、文字フォントをゴシック、行間を5Qとして設定
している。さらに、オペレータは、入力部13を操作す
ることにより、重複ボタンを入力している(入力された
証として、「レ」で示されるチェックマークが表示され
ている)。ここで行われた体裁情報の設定により、体裁
情報設定部172は、体裁情報データを作成する。体裁
情報データにより、「大見出し」の位置に配置される文
字列は、文字サイズが20Qで、文字フォントがゴシッ
ク、行間が5Qという体裁が施されて配置されることに
なる。そして、重複ボタンが入力されていることによ
り、「大見出し」の位置に配置される文字列は、画像領
域の上位に配置される。続けて、中見出しについても、
オペレータは設定を行う。中見出しについては、文字サ
イズ15Q、文字フォントゴシック、行間3Qとして体
裁を設定し、さらに重複ボタン、縁取りボタンについて
も入力が行われている。重複ボタンに加え、縁取りボタ
ンが入力されていることにより、体裁情報データによっ
て体裁が施された「中見出し」の位置に配置される文字
列は、画像領域の上位に配置され、さらに文字に縁取り
が行われる。オペレータは、体裁情報設定画面MFに対
する入力を繰り返すことにより、文字列に対する体裁情
報を設定する。図6(b)は、設定された体裁情報によ
る体裁情報データの構成を示すための図である。オペレ
ータが入力部13を操作して、体裁情報設定画面MF下
部に表示されている「終了」ボタンを押下すると、体裁
情報データの作成が終了する。作成された体裁情報デー
タは一時的に記憶部16に記憶される。ここでは、体裁
情報データはteisai.datというデータ名を与えられ、記
憶部16に記憶する。
In step S4, the operator operates the input unit 13 to make an input, so that the format information setting unit 172 sets the format information data. FIG. 6A is a diagram for explaining the creation of the appearance information data by the appearance information setting unit 172. The format information setting unit 172 displays a format information setting screen MF on the display unit 12. The operator sets the appearance information by inputting the corresponding items on the displayed appearance information setting screen MF by the input unit 13. The appearance information setting screen MF includes a character position field (“character position”) for setting the position of the character string, a character size field (“character size”) for setting the size of the character string, and a character for setting the font of the character string. A font column ("character font") and a line spacing column ("line spacing") for setting the line spacing of the character string are provided. In addition, an overlap button (“duplication”) for setting a relationship when an image area and a character string overlap, and when an image area and a character string overlap, a border is applied to the character string when the character string is arranged at a higher position. A border button to be set (“border”) is provided corresponding to each character position. In FIG. 6A, as shown in the figure, the operator sets the character size of 20Q (Q = 0.25
mm), the character font is set to Gothic, and the line spacing is set to 5Q. Further, the operator operates the input unit 13 to input a duplicate button (a check mark indicated by “レ” is displayed as a proof of the input). With the setting of the format information performed here, the format information setting unit 172 creates the format information data. According to the format information data, the character string arranged at the position of the "large heading" is arranged in a format in which the character size is 20Q, the character font is Gothic, and the line spacing is 5Q. Then, the character string arranged at the position of the “big headline” is arranged at the upper position of the image area due to the input of the overlap button. Next, for the headline,
The operator makes settings. For the middle heading, the appearance is set as the character size 15Q, the character font Gothic, and the line spacing 3Q, and the overlap button and the border button are also input. By inputting the border button in addition to the duplicate button, the character string placed at the position of the “middle heading” that has been formatted according to the format information data is placed at the top of the image area, and furthermore, the character is framed. Is performed. The operator sets the appearance information for the character string by repeating the input on the appearance information setting screen MF. FIG. 6B is a diagram illustrating a configuration of the format information data based on the set format information. When the operator operates the input unit 13 and presses the “end” button displayed at the bottom of the appearance information setting screen MF, the creation of the appearance information data is completed. The created appearance information data is temporarily stored in the storage unit 16. Here, the format information data is given a data name of teisai.dat and stored in the storage unit 16.

【0031】ステップS5は、ページBPに対するレイ
アウトを実行するステップであり、具体的には、ステッ
プS4で設定された体裁情報データによって体裁が施さ
れた文字列をステップS3で指定した文字列配置領域に
流し込み、ステップS2で入力された画像をステップS
3で指定した画像配置領域に配置するステップである。
このステップS5については、図7のレイアウト動作を
説明するためのフローチャートを用いて詳細な説明を行
う。
Step S5 is a step of laying out the page BP. More specifically, a character string that has been formatted according to the format information data set in step S4 is a character string layout area specified in step S3. And the image input in step S2 is
This is a step of arranging the image in the image arrangement area designated in step 3.
This step S5 will be described in detail with reference to the flowchart for explaining the layout operation in FIG.

【0032】図7のステップS11は、図4で示された
ページBP上の画像配置領域IM1、IM2に所定の画
像データを配置するステップである。画像データを画像
データ配置領域に配置するにはさまざまな手法が存在す
るので、それらを適宜採用する。例えば、入力部13で
画像配置領域を指示した後に、該当する画像配置領域に
配置すべき画像データ名を入力部13によって入力し
て、画像配置領域に画像データを配置するようにしても
良いし、表示部12に所定の画像データを間引き表示し
ておき、入力部13によって所望する画像配置領域まで
所定の画像をドラッグ&ドロップすることによって、画
像配置領域に画像データを配置するようにしてもよい。
ここでは、画像配置領域IM1にMAP.tif、IM2にdo
g.bmpという画像データをそれぞれ配置したものとす
る。
Step S11 in FIG. 7 is a step of arranging predetermined image data in the image arrangement areas IM1 and IM2 on the page BP shown in FIG. There are various methods for arranging image data in the image data arranging area, and these are appropriately adopted. For example, after designating the image arrangement area by the input unit 13, the image data name to be arranged in the corresponding image arrangement area may be input by the input unit 13 to arrange the image data in the image arrangement area. Alternatively, predetermined image data may be thinned out and displayed on the display unit 12, and a predetermined image may be dragged and dropped to a desired image arrangement region by the input unit 13, so that the image data is arranged in the image arrangement region. Good.
Here, MAP.tif is stored in the image arrangement area IM1, and do
It is assumed that image data g.bmp is arranged.

【0033】ステップS12において、オペレータが、
文字列配置領域を入力部13によって指示した後、文字
列配置領域に配置すべき文字列が格納されている文字列
データを指示すると、文字列配置部174は指示された
文字列配置領域に対して指示された文字列データを配置
するために、記憶部16に記憶されている文字列データ
を検索し、ロードする。図8(a)は、文字列データdo
g.txtを文字列配置領域TE1に配置するべく、入力部
13によって指示が行われている状態を示すための図で
ある。まず、オペレータは入力部13を操作することに
よって、ポインタPOを文字列配置領域TE1上の任意
の位置に表示させる。ポインタPOが文字列配置領域T
E1上に表示されたら、オペレータは入力部13をさら
に操作して、文字列配置メニューMOを表示させる。オ
ペレータは、表示された文字列配置メニューMOから、
所望する文字列データ名を選択する。ここでは、文字列
データ名として、先に作成したdog.txtを選択したもの
とする。文字列配置部174が、この指示を受けて、記
憶部16に記憶されているdog.txtを検索しメモリ17
にロードすることで、このステップS12が実行され
る。
In step S12, the operator
After the character string arrangement area is designated by the input unit 13, the character string data storing the character string to be arranged in the character string arrangement area is designated. In order to arrange the designated character string data, the character string data stored in the storage unit 16 is searched and loaded. FIG. 8A shows character string data do
It is a figure for showing the state where an instruction is given by the input unit 13 to arrange g.txt in the character string arrangement area TE1. First, the operator operates the input unit 13 to display the pointer PO at an arbitrary position on the character string arrangement area TE1. When the pointer PO is in the character string arrangement area T
When displayed on E1, the operator further operates the input unit 13 to display the character string arrangement menu MO. From the displayed character string arrangement menu MO, the operator
Select the desired character string data name. Here, it is assumed that dog.txt created earlier is selected as the character string data name. In response to this instruction, the character string arranging unit 174 searches dog.txt stored in the storage unit 16
, The step S12 is executed.

【0034】続くステップS13は、文字列配置領域T
E1に配置される文字列dog.txtの体裁に関する体裁情
報データを、文字列配置部174がロードするステップ
である。ステップS13において、オペレータが文字列
配置部TE1を入力部13によって指示した後、文字列
配置領域TE1に配置される文字列に関する体裁情報デ
ータを指定すると、文字列配置部174は指示された文
字列配置領域に配置される文字列データに体裁を施すた
めの体裁情報データをロードする。図8(b)は、体裁
情報データteisai.datを文字列配置領域TE1に指定す
るべく、入力部13によって指示が行われている状態を
示すための図である。まず、オペレータは入力部13を
操作することによって、ポインタPOを文字列配置領域
TE1上の任意の位置に表示させる。ポインタPOが文
字列配置領域TE1上に表示されたら、オペレータは入
力部13をさらに操作して、体裁情報指定メニューMT
を表示させる。オペレータは、表示された体裁情報指定
メニューMTから、所望する体裁情報データ名を選択す
る。ここでは、体裁情報データ名として、先に設定した
teisai.datを選択したものとする。文字列配置部174
が、この指示を受けて、記憶部16に記憶されているte
isai.datを検索しメモリ17にロードすることで、この
ステップS13が実行される。
In the following step S13, the character string arrangement area T
This is a step in which the character string arrangement unit 174 loads the appearance information data on the appearance of the character string dog.txt arranged in E1. In step S13, after the operator designates the character string arranging unit TE1 by the input unit 13, and then specifies the appearance information data regarding the character string arranged in the character string arranging area TE1, the character string arranging unit 174 sets the designated character string. The style information data for applying the style to the character string data arranged in the arrangement area is loaded. FIG. 8B is a diagram showing a state where an instruction is given by the input unit 13 to specify the style information data teisai.dat in the character string arrangement area TE1. First, the operator operates the input unit 13 to display the pointer PO at an arbitrary position on the character string arrangement area TE1. When the pointer PO is displayed on the character string arrangement area TE1, the operator further operates the input unit 13 to display the style information designation menu MT.
Is displayed. The operator selects a desired format information data name from the displayed format information designation menu MT. Here, as the format information data name,
It is assumed that teisai.dat has been selected. Character string arrangement unit 174
Receives this instruction, te stored in the storage unit 16
This step S13 is executed by retrieving and loading isai.dat into the memory 17.

【0035】ステップS14において、文字列配置部1
74は、ロードされた文字列データに格納されている文
字列の文字列配置開始点PTを決定する。ステップS1
2およびステップS13で文字列配置領域に配置すべき
文字列を格納した文字列データ、文字列に施すべき体裁
を設定した体裁情報データを、オペレータが指示したこ
とにより、文字列配置部174は文字列の配置を開始す
る。図9は、文字列配置領域TE1に対して、体裁情報
データteisai.datに設定された体裁で文字列データdog.
txtに格納されている最初の文字列「日本犬」を、文字
列配置領域TE1の左上点を文字列配置開始点PTとし
て、配置した状態を示すための図である。まず、文字列
配置部174は、文字列配置開始点である文字列配置領
域TE1の左上点を求める。ここでは、文字列配置領域
TE1の左上点の座標をPTE1(x1、y1)とする。な
お、オペレータが入力部13を操作して、文字列配置領
域TE1の左上点を指示するようにしてもよい。続け
て、文字列配置部174は、文字列データdog.txtに格
納されている最初の文字列に、体裁情報データteisai.d
atに設定された体裁を施す。文字列配置部174は、文
字列データdog.txtに格納されている最初の文字列「日
本犬」を取り出し、区切りコードの位置を確認する。最
初の文字列「日本犬」の前には区切りコードがなく、
「日本犬」の後に区切りコードがあることから、文字列
配置部174は、文字列「日本犬」が大見出しの体裁を
施すべき文字列であることを確認する。そこで、文字列
配置部174は、体裁情報データteisai.datから、大見
出しについての設定を取り出す。図6(b)に記載され
ているように、体裁情報データteisai.datにおける大見
出しについての設定は、「文字サイズ」20Q、「フォ
ント」ゴシック、「行間」5Q、「重複」有り、「縁取
り」無し、となっているので、文字列配置部174は、
取り出した文字列「日本犬」に、文字サイズ20Q、ゴ
シックフォント、行間5Qという体裁を施す。そして、
文字列配置部174は、体裁が施された文字列の左上点
と、先に求めた文字列配置領域の左上点とを一致するよ
うに、体裁が施された文字列を文字列配置領域に配置す
る。文字列「日本犬」には、体裁情報によって体裁が施
され、文字サイズおよびフォントが設定されたので、文
字サイズおよびフォントによる文字ボディから、文字列
配置部174は、文字列「日本犬」の左上点を求めるこ
とができる。そして求められた文字列の左上点と文字列
配置領域の左上点を一致するように、文字列を配置す
る。図9では、文字列配置領域TE1の左上点PTE1
と、文字列「日本犬」を構成する文字「日」のフォント
による文字ボディの左上点との一致点を文字列配置開始
点PTとして、文字列「日本犬」が文字列配置領域TE
1に配置されている。
In step S14, the character string arranging unit 1
74 determines a character string arrangement start point PT of a character string stored in the loaded character string data. Step S1
In step 2 and step S13, the character string arranging unit 174 displays the character string data storing the character string to be arranged in the character string arranging area and the appearance information data in which the appearance to be applied to the character string is set by the operator. Begin column alignment. FIG. 9 shows the character string data dog. In the format set in the format information data teisai.dat for the character string arrangement area TE1.
It is a figure for showing the state where the first character string “Japanese dog” stored in txt was arranged with the upper left point of the character string arrangement area TE1 as the character string arrangement start point PT. First, the character string arranging unit 174 obtains the upper left point of the character string arranging area TE1, which is the character string arranging start point. Here, the coordinates of the upper left point of the character string arrangement area TE1 are PTE1 (x1, y1). The operator may operate the input unit 13 to indicate the upper left point of the character string arrangement area TE1. Subsequently, the character string arranging unit 174 adds the appearance information data teisai.d to the first character string stored in the character string data dog.txt.
Applies the style set to at. The character string arranging unit 174 extracts the first character string “Japanese dog” stored in the character string data dog.txt, and checks the position of the delimiter code. There is no delimiter code before the first string "Japanese dog"
Since there is a delimiter code after “Japanese dog”, the character string arranging unit 174 confirms that the character string “Japanese dog” is a character string to be formatted with a large heading. Therefore, the character string arranging unit 174 extracts the setting for the major heading from the style information data teisai.dat. As shown in FIG. 6B, the settings for the major headings in the format information data teisai.dat are "character size" 20Q, "font" Gothic, "line spacing" 5Q, "duplicate", "frame" ”, The character string arranging unit 174
The extracted character string "Japanese dog" is given a style of character size 20Q, Gothic font, and line spacing 5Q. And
The character string arrangement unit 174 stores the formatted character string in the character string arrangement area so that the upper left point of the formatted character string matches the upper left point of the previously determined character string arrangement area. Deploy. Since the character string “Japanese dog” is formatted according to the format information and the character size and font are set, the character string arrangement unit 174 determines the character string “Japanese dog” from the character body based on the character size and font. The upper left point can be determined. Then, the character string is arranged so that the upper left point of the obtained character string coincides with the upper left point of the character string arrangement area. In FIG. 9, the upper left point PTE1 of the character string arrangement area TE1 is shown.
And the character string "Japanese dog" in the character string arrangement area TE, using the point of coincidence with the upper left point of the character body in the font of the character "day" constituting the character string "Japanese dog" as the character string arrangement start point PT.
1.

【0036】ステップS15は、文字列配置領域に対す
る文字列の配置が実行できたか否かを判定するステップ
である。文字列配置領域に体裁が施された文字列を配置
したとき、文字列が文字列配置領域からはみ出してしま
うような場合には、文字列の配置が実行できなかったと
してステップS26へ移行する。ステップS26は次の
文字列配置領域が存在するか否かを識別するステップで
ある。次の文字列配置領域が存在すればステップS27
へ移行して、文字列の配置を次の文字列配置領域から再
実行する。存在しない場合は、図2に示したフローチャ
ートへ帰還して処理を終了する。この際エラー表示を行
うようにしてもよい。
Step S15 is a step for judging whether or not the character string has been successfully arranged in the character string arrangement area. When the formatted character string is arranged in the character string arrangement area and the character string protrudes from the character string arrangement area, it is determined that the character string cannot be arranged, and the process proceeds to step S26. Step S26 is a step of identifying whether or not the next character string arrangement area exists. If the next character string arrangement area exists, step S27
Then, the arrangement of the character string is re-executed from the next character string arrangement area. If not, the process returns to the flowchart shown in FIG. 2 and ends. At this time, an error display may be performed.

【0037】ステップS15において文字列の配置が実
行できたと判定された場合は、ステップS16へ移行
し、文字列配置領域に配置された文字列と画像配置領域
とが重複しているか否かを識別するステップを実行す
る。文字列配置部174は、配置された文字列の座標
と、画像配置領域の座標とを比較することにより、文字
列と画像配置領域が重複しているか否かを識別する。重
複の識別方法は、例えば、体裁が施された文字列を構成
する文字のフォントによる文字ボディの各頂点と、画像
配置領域の各頂点の座標とを比較すればよい。文字列と
画像配置領域が重複していなければ、ステップS20へ
移行する。ここでは、図9に示しているように、文字列
「日本犬」は、画像配置領域IM1と重複しているもの
とする。
If it is determined in step S15 that the arrangement of the character strings has been executed, the flow shifts to step S16 to determine whether or not the character strings arranged in the character string arrangement area and the image arrangement area overlap. Perform the following steps: The character string placement unit 174 identifies whether the character string and the image placement area overlap by comparing the coordinates of the placed character string with the coordinates of the image placement area. The method of identifying the overlap may be, for example, by comparing each vertex of the character body in the font of the character forming the formatted character string with the coordinates of each vertex of the image arrangement area. If the character string and the image arrangement area do not overlap, the process proceeds to step S20. Here, as shown in FIG. 9, it is assumed that the character string "Japanese dog" overlaps with the image arrangement area IM1.

【0038】ステップS17は、文字列と画像配置領域
が重複してもよいかどうかを判定するステップである。
文字列配置部174は、体裁情報設定部172で作成さ
れた体裁情報データの「重複」項目の設定によって、文
字列と画像配置領域が重複してもよいかどうかを判定す
ることができる。文字列「日本犬」と画像配置領域IM
1との重複についての判断は、体裁情報データteisai.d
atに設定されており、体裁情報データteisai.datの大見
出しの部分には「重複」有りという設定が格納されてい
るので、文字列「日本犬」は画像配置領域と重複しても
よい文字列であると判定される。
Step S17 is a step for determining whether or not the character string and the image arrangement area may overlap.
The character string arranging unit 174 can determine whether the character string and the image arranging area may overlap by setting the “duplicate” item of the appearance information data created by the appearance information setting unit 172. Character string "Japanese dog" and image placement area IM
Judgment on duplication with 1 is presented in the format information data teisai.d
The character string "Japanese dog" may be set to "at" and the setting of "duplicate" is stored in the heading of the format information data teisai.dat. Is determined to be a column.

【0039】続くステップS19は、文字列配置部17
4が文字配置位置を画像配置領域の上位に設定するステ
ップである。ここで、「文字配置位置を画像配置領域の
上位に設定する」とは、画像領域と文字列が重なって表
示されたとき、文字列と重複している部分の画像は表示
しない、という意味に等しい。ステップS17におい
て、文字列と画像配置領域が重複してもよいと判定され
た場合、文字列配置部174は、画像、文字列の配置順
序にかかわらず、画像配置領域に配置された画像の上位
に文字列を配置するよう設定をするのである。すなわ
ち、文字列を配置した後に画像を配置したとしても、文
字列配置部174は、画像領域と重複する文字列につい
ては、上位に文字列を配置するよう設定を行う。
The following step S19 is performed in the character string
Step 4 is a step of setting the character arrangement position to a higher position in the image arrangement area. Here, "set the character arrangement position to the upper position of the image arrangement area" means that when the image area and the character string are overlapped and displayed, the image of the part overlapping the character string is not displayed. equal. In step S17, if it is determined that the character string and the image arrangement area may overlap, the character string arrangement unit 174 determines whether the character string and the image arrangement area have a higher rank than the image arranged in the image arrangement area regardless of the arrangement order of the image and the character string. It is set so that the character string is placed in the. In other words, even if the image is arranged after the character string is arranged, the character string arrangement unit 174 sets the character string overlapping the image area so that the character string is arranged at a higher position.

【0040】ステップS20では、ステップS16乃至
17そしてステップS19によるプロセスを経て、体裁
情報データに設定された体裁が施された文字列を、文字
列配置開始点を起点として、文字配置領域に実際に配置
する。図9は、文字列「日本犬」が画像配置領域の上位
に配置される設定が行われた上で配置されたことを説明
するための図である。この図9では、文字サイズ20
Q、ゴシックフォント、行間5Qという体裁が施され、
画像配置領域と重複可能な文字列「日本犬」が、文字列
配置開始点PTを起点として、画像配置領域IM1の上
位に配置されていることを示している。このように、文
字列を構成する文字の下の画像は表示されず、また、文
字列が画像に隠されることもないので、文字列の可読性
は維持されている。なお、文字列配置開始点から配置さ
れた文字列の長さが、文字列配置領域の幅を越えるよう
な場合には、折り返し処理を行う。文字列配置開始点か
ら文字列を配置し、配置された文字列が文字列配置領域
の幅を越える位置で折り返し、文字列開始点の座標から
文字サイズを減じた位置より文字列の残余を配置するの
が、折りかえし処理である。
In step S20, through the processes in steps S16 to S17 and step S19, the character string subjected to the format set in the format information data is actually stored in the character arrangement area starting from the character string arrangement start point. Deploy. FIG. 9 is a diagram for explaining that the character string “Japanese dog” is arranged after being set to be arranged at the upper position of the image arrangement area. In FIG. 9, the character size 20
Q, Gothic font, line spacing 5Q,
This shows that the character string “Japanese dog” that can be overlapped with the image arrangement area is arranged above the image arrangement area IM1 with the character string arrangement start point PT as a starting point. As described above, the image below the characters constituting the character string is not displayed, and the character string is not hidden by the image, so that the readability of the character string is maintained. If the length of the character string arranged from the character string arrangement start point exceeds the width of the character string arrangement area, the return processing is performed. Places a character string from the character string placement start point, wraps at the position where the placed character string exceeds the width of the character string placement area, and places the remainder of the character string from the position where the character size is subtracted from the coordinate of the character string start point This is a folding process.

【0041】ステップS21は、体裁情報データに縁取
り設定が格納されているか否かを判定するステップであ
る。ここで、体裁情報データにおいて「縁取り」有り、
という設定が格納されていれば、ステップS22に移行
して、縁取り作成部175が、画像配置領域と重複して
いる文字列の該当部分に対して、縁取り処理を施す。縁
取り作成部175が、画像配置領域と重複している文字
列の文字に対して太らせ処理を行い、太らせ処理によっ
て得られた文字の外縁部分を、例えば白色で塗りつぶす
ことによって、縁取り処理が実行される。縁取りに関す
る設定が体裁として設定されていなければ、ステップS
22はスキップされる。
Step S21 is a step for judging whether or not a border setting is stored in the appearance information data. Here, there is a "border" in the format information data,
If the setting is stored, the process proceeds to step S22, and the border creating unit 175 performs the border process on the corresponding portion of the character string overlapping the image arrangement area. The border creating unit 175 performs a fattening process on the character of the character string overlapping with the image arrangement area, and fills the outer edge portion of the character obtained by the fattening process with, for example, white, so that the bordering process is performed. Be executed. If the setting related to framing is not set as the appearance, step S
22 is skipped.

【0042】ステップS23において、文字列配置部1
74は、次に配置すべき文字列が有るか否かを判定す
る。文字列配置部174は、ステップS12でロードし
た文字列データに、これまでのステップで配置した文字
列以外の文字列が格納されているか否かを検索する。次
に配置すべき文字列が文字列データに格納されていれ
ば、ステップS24へ移行し、格納されていない場合に
は、図2のフローチャートに帰還して処理を終了する。
ここでは、文字列データdog.txtにおいて、文字列「日
本犬」に続いて区切りコードで区切られた次の文字列
「猟犬」が存在するので、ステップS24へ移行する。
In step S23, the character string arranging unit 1
At 74, it is determined whether or not there is a character string to be arranged next. The character string arranging unit 174 searches the character string data loaded in step S12 for a character string other than the character strings arranged in the previous steps. If the next character string to be laid out is stored in the character string data, the process proceeds to step S24, and if not, the process returns to the flowchart of FIG.
Here, in the character string data dog.txt, the character string "Japanese dog" is followed by the next character string "hunting dog" separated by the delimiter code, so that the process proceeds to step S24.

【0043】ステップS24は、次の文字列を配置する
次文字列配置開始点PTCを決定するステップである。
この決定は、配置された文字列の左下点の座標値に、体
裁情報データに設定されている行間設定を減算すること
により次文字列開始点PTCを得ることができる。図9
において、大見出し文字列「日本犬」が配置された結
果、文字「日」のフォントによる文字ボディの左下点の
座標PG1が得られる。従って、座標PG1のY軸に関
する座標値と、体裁情報データteisai.datに格納されて
いる「行間」5Qを減算することにより、次文字列開始
点PTC1を得ることができる。具体的には、文字
「日」のフォントによる文字ボディの左下点の座標PG
1はPG1(x1、y1−(20Q)となるので、これより
行間5Qを減算して、次文字列開始点PTC1はPTC
1(x1、y1−(20Q+5Q))となる。
Step S24 is a step of determining the next character string arrangement start point PTC at which the next character string is arranged.
In this determination, the next character string start point PTC can be obtained by subtracting the line spacing set in the appearance information data from the coordinate value of the lower left point of the arranged character string. FIG.
As a result, the main heading character string "Japanese dog" is arranged, and as a result, the coordinates PG1 of the lower left point of the character body in the font of the character "day" are obtained. Therefore, the next character string start point PTC1 can be obtained by subtracting the coordinate value on the Y axis of the coordinate PG1 from the “line spacing” 5Q stored in the appearance information data teisai.dat. Specifically, the coordinates PG of the lower left point of the character body in the font of the character “day”
1 is PG1 (x1, y1− (20Q), so 5Q between lines is subtracted from this, and the next character string start point PTC1 is PTC1.
1 (x1, y1-(20Q + 5Q)).

【0044】ステップS25において、文字列配置部1
74が次の文字列を文字列データから取り出す。
In step S25, the character string arranging unit 1
74 extracts the next character string from the character string data.

【0045】ステップS25が実行された後は、ステッ
プS15に帰還し、ステップS15乃至ステップS25
の処理を繰り返すことにより、文字列データに格納され
ている文字列が配置される。この例では、文字列データ
dog.txtに格納されている文字列が、体裁情報データtei
sai.datに格納されている体裁情報によって体裁が施さ
れて、文字列配置領域TE1に繰り返し配置されること
になる。中見出しに該当する文字列「猟犬」は、次文字
列開始位置(=文字「猟」左上点)PTC1(x1、y1−
(20Q+5Q))から配置を開始する文字列となり、文
字サイズ15Q、ゴシックフォント、行間3Qを有する
文字列として、画像領域IM1の上位に配置され、さら
に縁取りが施される。小見出しに該当する文字列「分
布」は、次文字列開始点(=文字「分」左上点)PTC
2(x1、y1−(20Q+5Q+15Q+3Q))から配置
を開始する文字列として、文字サイズ12Q、ゴシック
フォント、行間3Qを有する文字列として、やはり画像
配置領域IM1の上位に配置され、やはり縁取りが施さ
れる。図10は、大見出し、中見出し、小見出しまでが
配置された状態を示すための図である。
After step S25 is executed, the process returns to step S15, and steps S15 to S25
Is repeated, the character string stored in the character string data is arranged. In this example, the string data
The character string stored in dog.txt is the appearance information data tei
The appearance is given by the appearance information stored in sai.dat, and the appearance is repeatedly arranged in the character string arrangement area TE1. The character string “hunting dog” corresponding to the middle heading is the next character string starting position (= the upper left point of the character “hunting”) PTC1 (x1, y1−
(20Q + 5Q)) is a character string whose arrangement starts, and is arranged above the image area IM1 as a character string having a character size of 15Q, a Gothic font, and a line spacing of 3Q, and is further bordered. The character string "distribution" corresponding to the subheading is the starting point of the next character string (= character "minute" upper left point) PTC
2 (x1, y1− (20Q + 5Q + 15Q + 3Q)), as a character string having a character size of 12Q, a Gothic font, and a line spacing of 3Q, is also arranged above the image arrangement area IM1, and is also bordered. You. FIG. 10 is a diagram showing a state in which a large heading, a middle heading, and a small heading are arranged.

【0046】続いて、本文文字列「その特性」の配置を
行うため、ステップS15に帰還し、これまで同様の処
理によりステップS17へ移行する。ここで、体裁情報
データteisai.datには、本文に関する体裁情報として、
「重複」項目に重複なしという設定が行われている。そ
のため、本文文字列「その特性」は画像配置領域IM1
と重複した位置に配置することはできない。そこで、ス
テップS18へ移行し、画像配置領域が重複している部
分以外の文字列配置領域に非重複文字列開始点PTDを
求めるステップを実行する。文字列配置部174は、非
重複文字列開始点PTDを求めるため、画像配置領域I
M1の座標を取得する。画像配置領域IM1は矩形であ
り、図4で指定された画像配置領域IM1の左上点の座
標を(x5、y5)、右下点の座標を(x6、y6)とする。こ
れら座標値の内部には、非重複文字列開始点PTDは存
在できないので、非重複文字列開始点PTDは、文字列
配置領域TE1内部であって、上記座標値外部の位置に
求められることになる。また、この例では、対象の文字
列は本文文字列であるので、大見出し、中見出し、小見
出しの下部の位置に非重複文字列開始点PTDは求めら
れなければならない。従って、本文文字列「その特性」
を配置するための非重複文字列開始点PTDは、画像配
置領域IM1の下辺座標(x6,y5)、(x6,y6)のy座標値よ
り下の文字列配置領域TE1に位置することになる。そ
こで、非重複文字列開始点PTDの座標値は、文字列配
置領域TE1のX軸座標値x1、および画像配置領域IM
1の下辺座標(x6,y5)、(x6,y6)のy座標値より決定され
る。文字列配置部174によって求められた非重複文字
列開始点の座標値は、PTD(x1,y6)となり、ステッ
プS20へ移行して、非重複文字列開始点PTDを起点
として、設定された体裁が施された本文文字列「その特
性」が配置される。
Subsequently, the process returns to step S15 to arrange the body character string "its characteristic", and the process proceeds to step S17 by the same processing until now. Here, the format information data teisai.dat contains format information on the text,
The setting of no duplication is set for the "duplicate" item. Therefore, the body character string “its characteristic” is stored in the image arrangement area IM1
Cannot be placed in an overlapping position. Therefore, the process proceeds to step S18, and a step of obtaining a non-overlapping character string start point PTD in the character string arrangement area other than the portion where the image arrangement area overlaps is executed. The character string arranging unit 174 determines the image arrangement area I
Get the coordinates of M1. The image placement area IM1 is rectangular, and the coordinates of the upper left point of the image placement area IM1 specified in FIG. 4 are (x5, y5), and the coordinates of the lower right point are (x6, y6). Since the non-overlapping character string start point PTD cannot exist inside these coordinate values, the non-overlapping character string start point PTD is determined at a position inside the character string arrangement area TE1 and outside the coordinate values. Become. Also, in this example, since the target character string is a body character string, the non-overlapping character string start point PTD must be obtained at a position below the main heading, middle heading, and subheading. Therefore, the text string "its characteristics"
Is located in the character string arrangement area TE1 below the y-coordinate values of the lower side coordinates (x6, y5) and (x6, y6) of the image arrangement area IM1. . Therefore, the coordinate value of the non-overlapping character string start point PTD is calculated based on the X-axis coordinate value x1 of the character string placement area TE1 and the image placement area IM.
1 is determined from the y-coordinate values of the lower side coordinates (x6, y5) and (x6, y6). The coordinate value of the non-overlapping character string starting point obtained by the character string arranging unit 174 is PTD (x1, y6), and the process proceeds to step S20, where the non-overlapping character string starting point PTD is set as a starting point, and the appearance is set. The body character string “its characteristic” to which is applied is arranged.

【0047】ステップS15乃至ステップS25の動作
を繰り返した結果、ステップS23において、次に配置
すべき文字列がない、と判断された場合には、図2のフ
ローチャートに帰還する。
As a result of repeating the operations of steps S15 to S25, if it is determined in step S23 that there is no next character string to be arranged, the process returns to the flowchart of FIG.

【0048】このように、文字列配置部174がdog.tx
tに格納されている文字列を繰り返し配置することによ
り、組版装置1は、図11に示す組版結果を得ることが
できる。
As described above, the character string arranging unit 174 stores the dog.tx
By repeatedly arranging the character strings stored in t, the typesetting device 1 can obtain the typesetting result shown in FIG.

【0049】このように、図1に示した組版装置は、図
2および図7のフローチャートに示した動作を行うこと
により、下記のような効果を得ることができる。文字列
配置部174が文字列配置領域TEに体裁情報に設定さ
れた体裁を施して文字列データに格納されている文字列
を配置する場合、画像配置領域IMと文字列が重複する
時には、画像配置領域IMと重複する文字列の関係を自
動的に求めて配置を行うので、組版作業の作業性を高め
ることができる。また、画像配置領域IMと文字列が重
複する時には、文字列配置部174が画像配置領域と重
複する位置に配置する文字列を上位に配置するので、画
像配置領域IMと重複する文字列が見えなくなることを
防ぐことができる。
As described above, the typesetting apparatus shown in FIG. 1 can obtain the following effects by performing the operations shown in the flowcharts of FIGS. When the character string arrangement unit 174 applies the appearance set in the appearance information to the character arrangement area TE and arranges the character strings stored in the character string data, when the image arrangement area IM and the character string overlap, Since the arrangement is performed by automatically determining the relationship between the arrangement area IM and the overlapping character string, the workability of the typesetting operation can be improved. Further, when the character string overlaps with the image arrangement area IM, the character string arrangement unit 174 arranges the character string arranged at the position overlapping with the image arrangement area at the upper position. Can be prevented from disappearing.

【0050】さらに、画像配置領域IMと文字列が重複
する時には、文字列配置部174が画像配置領域IMと
重複する位置に配置する文字列を上位に配置する上に、
縁取り作成部175が画像配置領域IMの上位に配置さ
れた文字列に縁取りを施すので、文字列の可読性を保つ
ことができる。
Further, when the character string overlaps with the image arrangement area IM, the character string arrangement unit 174 arranges the character string arranged at the position overlapping with the image arrangement area IM at a higher position, and
Since the border creation unit 175 borders the character string arranged above the image arrangement area IM, the readability of the character string can be maintained.

【0051】加えて、画像配置領域と文字列が重複して
欲しくない時には、指定した文字列は画像配置領域と重
複しないよう体裁情報に設定すれば、文字列配置部17
4が画像配置領域IMを回避して指定された文字列を配
置するので、組版作業の作業性を高めることができる。
In addition, when it is not desired that the image arrangement area and the character string overlap, if the specified character string is set in the appearance information so as not to overlap the image arrangement area, the character string
4, the designated character string is arranged avoiding the image arrangement area IM, so that the workability of the typesetting work can be improved.

【0052】また、画像配置領域IMと文字列が重複す
る時の関係を体裁情報で設定するので、画像配置領域と
重複する文字列の配置を自動的に行うことができ、組版
作業の作業性を高めることができる。また、文字列毎に
体裁情報を設定することにより、文字列の画像領域回
避、文字列の上位配置、文字列の縁取りなどの処理を文
字列毎に実行することができるので、表現性の高い組版
処理を行うことができる。
Further, since the relationship when the character string overlaps with the image arrangement area IM is set by the appearance information, the character string overlapping the image arrangement area can be automatically arranged. Can be increased. Also, by setting the appearance information for each character string, processing such as avoiding the image area of the character string, arranging the character string at a higher position, and framing the character string can be executed for each character string. Typesetting can be performed.

【0053】『画像領域指定時に画像配置領域と文字列
との関係を設定』図12は、本発明の実施の形態の別の
一例である組版装置を示すためのブロック図であり、特
に画像領域指定時に画像配置領域と文字列との関係を設
定する組版装置を示すためのブロック図である。この組
版装置2は、一般的に使用されているパーソナルコンピ
ュータであり、CPU21、表示部22、入力部23、
ネットワークI/F24、メディアドライブ25、記憶
部26、メモリ27より構成されている。CPU21、
表示部22、入力部23、ネットワークI/F24、メ
ディアドライブ25については、図1で説明した組版装
置1の機能と同様なので、ここでの説明は省略する。記
憶部26は、メディアドライブ25で読み取られたプロ
グラムを格納する。また、記憶部26は、文字列作成部
271で作成された文字列データや、文字体裁情報設定
部272で作成された体裁情報データ、配置領域指定部
173で指定された文字列配置領域データや画像配置領
域データ、画像配置領域に配置する画像データ、画像配
置領域属性指定部276で指定された画像配置領域属性
データ、文中画像配置部277で文字列中に配置される
文中画像データ、そして、組版装置2で作成された組版
データをも一時的に記憶する(後述する)。
[Setting of Relationship Between Image Arrangement Area and Character String When Specifying Image Area] FIG. 12 is a block diagram showing a typesetting apparatus as another example of the embodiment of the present invention. FIG. 3 is a block diagram illustrating a typesetting device that sets a relationship between an image arrangement area and a character string when designated. This typesetting device 2 is a personal computer generally used, and includes a CPU 21, a display unit 22, an input unit 23,
It comprises a network I / F 24, a media drive 25, a storage unit 26, and a memory 27. CPU 21,
Since the display unit 22, the input unit 23, the network I / F 24, and the media drive 25 have the same functions as those of the typesetting apparatus 1 described with reference to FIG. 1, the description thereof will be omitted. The storage unit 26 stores the program read by the media drive 25. The storage unit 26 stores the character string data created by the character string creating unit 271, the format information data created by the character format information setting unit 272, the character string placement area data designated by the placement area designating unit 173, and the like. Image placement area data, image data to be placed in the image placement area, image placement area attribute data designated by the image placement area attribute designation unit 276, sentence image data placed in a character string by the sentence image placement unit 277, and The typesetting data created by the typesetting device 2 is also temporarily stored (described later).

【0054】メモリ27は、記憶部26によって記憶さ
れたプログラムをCPU21が実行するためのワークエ
リアである。CPU21によってプログラムが実行され
た結果、メモリ27において、文字列作成部271、文
字体裁情報設定部272、配置領域指定部273、文字
列配置部274、縁取り作成部275の機能が実現す
る。文字列作成部271は、組版処理に使用する文字列
データを作成する。作成された文字列データは、一時的
に記憶部16に記憶する。また、図示しないネットワー
ク上の他のパーソナルコンピュータで作成された文字列
データを、ネットワークI/F24を介して受信し、こ
の文字列作成部271で組版処理に使用する文字列とす
るようにしてもよい。文字体裁情報設定部272は、文
字列を文字列配置領域に配置する際に、文字列に体裁を
施すための体裁情報データを作成する。ここで文字列に
対して施される体裁とは、文字サイズ、文字フォント、
字間、行間、さらに大見出し、中見出し、小見出し、本
文などである。文字体裁情報設定部272で設定される
体裁情報に基づいて、文字列は文字列配置領域に配置さ
れる。オペレータの設定によって文字体裁情報設定部2
72で作成された体裁情報データは、一時的に記憶部2
6に記憶する。配置領域指定部273は、文字列配置領
域、画像配置領域を指定する。オペレータが表示部22
上で作成した図形に対して、配置領域指定部273が文
字列配置領域、画像配置領域として指定する。特に、オ
ペレータは画像配置領域を指定した時、画像配置領域属
性を指定することができる。オペレータが画像配置領域
属性を指定することを選択すると、配置領域指定部27
3に備えている画像配置領域属性指定部276が起動す
る。画像配置領域属性指定部276は、オペレータが画
像配置領域と文字列との重複の関係を設定することによ
って、画像配置領域属性データを作成する。作成された
画像配置領域属性データは、記憶部26に記憶する。文
字列配置部274は、文字体裁情報設定部272で作成
された体裁情報データで設定された体裁を文字列作成部
271で作成された文字列データに施し、前記体裁が施
された文字列を配置領域指定部273で指定された文字
列配置領域に配置する。配置した文字列が画像配置領域
と重複する場合、文字列配置部274は、画像配置領域
属性指定部276で作成された画像配置領域属性データ
によって、画像配置領域と文字列との関係を決定して文
字列を配置する。また、文字列配置部274は、文中画
像配置部277を備えている。文中画像配置部277
は、配置すべき文字列に文中画像データ名が含まれてい
る場合、記憶部26を検索して該当する文中画像データ
を記憶部26からロードし、文字列中の文中画像データ
名が含まれていた位置に、体裁情報に従って配置する。
縁取り作成部275は、前記文字列配置部274が、画
像配置領域と文字列との関係を決定して画像領域の最上
位に文字列を配置する場合、画像配置領域属性指定部2
76で作成された画像配置領域属性データの設定で、文
字列に対して「縁取り」が設定されていれば、当該文字
列に対して縁取りを行う。ここで、縁取りとは、文字列
を構成する文字の外縁を文字色とは異なる色で修飾する
ことである。
The memory 27 is a work area for the CPU 21 to execute the program stored by the storage unit 26. As a result of the execution of the program by the CPU 21, the functions of the character string creation unit 271, the typographic information setting unit 272, the arrangement area designating unit 273, the character string arrangement unit 274, and the border creation unit 275 are realized in the memory 27. The character string creation unit 271 creates character string data used for typesetting processing. The created character string data is temporarily stored in the storage unit 16. Also, character string data created by another personal computer on a network (not shown) may be received via the network I / F 24, and the character string creating unit 271 may use the character string data as a character string to be used for typesetting processing. Good. The typographic information setting unit 272 creates typographic information data for applying a format to a character string when arranging the character string in the character string arranging area. Here, the appearance applied to the character string is the character size, character font,
Character spacing, line spacing, heading, middle heading, subheading, text, etc. The character string is arranged in the character string arrangement area based on the appearance information set by the appearance information setting unit 272. Typographic information setting unit 2 according to operator settings
The format information data created in 72 is temporarily stored in the storage unit 2.
6 is stored. The arrangement area designation unit 273 designates a character string arrangement area and an image arrangement area. The operator operates the display unit 22
The arrangement area designating unit 273 designates the figure created above as a character string arrangement area and an image arrangement area. In particular, when the operator designates the image arrangement area, the operator can designate the image arrangement area attribute. When the operator selects to specify the image placement area attribute, the placement area designation unit 27
3 is started. The image arrangement area attribute designation unit 276 creates image arrangement area attribute data by setting the overlapping relationship between the image arrangement area and the character string by the operator. The created image arrangement area attribute data is stored in the storage unit 26. The character string arranging unit 274 applies the appearance set by the appearance information data created by the appearance information setting unit 272 to the character string data created by the character string creation unit 271, and It is arranged in the character string arrangement area designated by the arrangement area designation section 273. If the placed character string overlaps with the image placement area, the character string placement unit 274 determines the relationship between the image placement area and the character string based on the image placement area attribute data created by the image placement area attribute designation unit 276. To place the string. Further, the character string arranging unit 274 includes a text image arranging unit 277. In-text image placement unit 277
When the character string to be arranged includes the in-text image data name, the storage unit 26 is searched and the corresponding in-text image data is loaded from the storage unit 26, and the in-text image data name in the character string is included. In accordance with the appearance information.
When the character string arranging unit 274 determines the relationship between the image arrangement area and the character string and arranges the character string at the top of the image area, the border creating unit 275 sets the image arrangement area attribute designation unit 2
If "bordering" is set for a character string in the setting of the image arrangement area attribute data created in step 76, the character string is bordered. Here, bordering refers to modifying the outer edge of a character constituting a character string with a color different from the character color.

【0055】図13は、組版装置2の動作を説明するた
めのフローチャートであり、特に、配置領域指定部27
3で指定された画像配置領域に対して、画像配置領域属
性指定部276で作成した画像配置領域属性データ中
に、画像配置領域と文字列との関係を設定している場合
の動作を示すフローチャートである。
FIG. 13 is a flow chart for explaining the operation of the typesetting apparatus 2. In particular, FIG.
3 is a flowchart showing the operation in the case where the relationship between the image layout area and the character string is set in the image layout area attribute data created by the image layout area attribute specifying unit 276 for the image layout area specified in 3 It is.

【0056】ステップS101において、オペレータは
入力部13により入力を行い、文字列作成部271で文
字列データを作成する。図14は、文字列作成部271
で作成された文字列の一例を示す説明図であり、ここで
図示されている文字列は入力部23により入力されたも
のを表示部22で表示した態様である。作成された文字
列データは、図3に図示したのと同様の文字列データで
あるが、識別記号「*」を付加された文中画像データ名
を含んでいる点で、図3に示した文字列データとは異な
っている。識別記号「*」は付加された文中画像データ
名は、文字列として取り扱われず、後述する文中画像配
置部277によって文字列配置領域に文中画像データと
して配置される。また、文字列データに文中画像データ
名が含まれている場合、文字列データの記述位置によっ
て、文中画像データの配置位置が決定する。文中画像デ
ータ名が記述されている文字列が文字列配置領域に配置
された際、配置された文字列の内部に文中画像データも
配置される。あるいは「大見出し」や「本文」など文字
列の配置を決定する区切りコードの位置に応じて文中画
像データの配置を決定することもできる。例えば、本文
を示す区切りコードの後に区切りコードが付されて文中
画像データ名が記述されている場合には、「本文」と同
様の扱いを行うように文中画像データが配置されるよう
にする。ステップS101で作成された文字列データ
は、テキストファイルとして、一時的に記憶部26に記
憶される。ここでは、テキストファイル名をnewdog.txt
として、記憶部26に記憶するものとする。
In step S 101, the operator makes an input through the input unit 13, and the character string creating unit 271 creates character string data. FIG. 14 illustrates a character string creation unit 271.
FIG. 5 is an explanatory diagram showing an example of a character string created in the step (a). The character string shown here is a form in which an input by the input unit 23 is displayed on the display unit 22. The created character string data is the same as the character string data shown in FIG. 3, but includes the in-text image data name to which the identification symbol “*” is added. It is different from column data. The sentence image data name to which the identification symbol “*” is added is not treated as a character string, and is arranged as sentence image data in a character string arrangement area by a sentence image arrangement unit 277 described later. When the character string data includes the in-text image data name, the arrangement position of the in-text image data is determined by the description position of the character string data. When the character string in which the text image data name is described is placed in the character string placement area, the text image data is also placed inside the placed character string. Alternatively, the arrangement of the in-text image data can be determined according to the position of the delimiter code that determines the arrangement of the character string, such as “large headline” or “body”. For example, when a delimiter code indicating a text is followed by a delimiter code to describe the textual image data name, the textual image data is arranged to be treated in the same manner as “text”. The character string data created in step S101 is temporarily stored in the storage unit 26 as a text file. Here, the text file name is newdog.txt
Is stored in the storage unit 26.

【0057】図13に戻って、ステップS102では、
組版処理に使用される画像データを入力するステップで
ある。ここで入力される画像データは、後に指定する画
像配置領域に配置する画像データや、文中画像データで
ある。画像データは、ネットワークI/F14を介して
図示しないネットワーク上のサーバーからダウンロード
することにより、入力を行うことができる。あるいは、
メディアドライブ25から、メディアディスク28に格
納されている画像データを読み取るようにしてもよい。
ステップS2で入力された画像データは、記憶部26に
記憶される。
Returning to FIG. 13, in step S102,
This is a step of inputting image data used for typesetting processing. The image data input here is image data to be arranged in an image arrangement area specified later, or in-text image data. The image data can be input by downloading it from a server on a network (not shown) via the network I / F 14. Or,
The image data stored in the media disk 28 may be read from the media drive 25.
The image data input in step S2 is stored in the storage unit 26.

【0058】ステップS103は、文字列配置領域を指
定するステップである。オペレータは、表示部22の表
示を見ながら入力部23を操作することにより、このス
テップS103の処理を行う。図15は、文字列配置領
域を指定する様子を示した説明図である。表示部22に
表示されているのは組版処理を行うページBPであり、
このページBP上に文字列配置領域が指定される。文字
列配置領域を指定する手順では、オペレータは表示部2
2に表示されている配置領域指定メニューMから「文字
配置指定」を選択する。そこで、オペレータは入力部2
3を操作することにより、ページBP上の一点を指定す
る。指定した点を左下点として、オペレータがページB
P上の他の一点を指定すると、指定した点が右上点とし
て、矩形TE3が作成される。作成された矩形TE3
は、配置領域指定部273により、文字列配置領域とし
て指定される。オペレータは同様の操作を行ってもう一
つ矩形を作成する。作成された矩形TE4も、同様に文
字列配置領域として指定されるので、ページBP上に二
つの文字列配置領域TE3、TE4が指定される。
Step S103 is a step of designating a character string arrangement area. The operator performs the process of step S103 by operating the input unit 23 while watching the display on the display unit 22. FIG. 15 is an explanatory diagram showing how a character string arrangement area is specified. What is displayed on the display unit 22 is a page BP on which a typesetting process is performed.
A character string arrangement area is specified on this page BP. In the procedure for specifying the character string arrangement area, the operator
"Character arrangement designation" is selected from the arrangement area designation menu M displayed in Step 2. Then, the operator enters the input unit 2
By operating No. 3, one point on the page BP is designated. With the specified point as the lower left point, the operator
When another point on P is designated, a rectangle TE3 is created with the designated point as the upper right point. Created rectangle TE3
Is designated as a character string placement area by the placement area designation unit 273. The operator performs another operation to create another rectangle. Since the created rectangle TE4 is also designated as a character string arrangement area, two character string arrangement areas TE3 and TE4 are designated on the page BP.

【0059】ステップS104では、オペレータが、入
力部23を操作して、文字体裁情報設定部272が体裁
情報データを設定する。図16(a)は、文字体裁情報
設定部272による体裁情報データの作成を説明するた
めの図である。文字体裁情報設定部272は、表示部2
2に体裁情報設定画面MFNを表示する。体裁情報設定
画面MFNは、図6(a)に示した体裁情報設定画面M
Fとほぼ同様であるが、画像領域との重複時の処理に係
わる「重複」「縁取り」の項目がないのと、「画像」欄
が加わっている点で体裁情報設定画面MFとは異なって
いる。オペレータは図6(a)を示して説明を行ったの
と同様に、入力部13を操作して体裁情報設定画面MF
Nに入力を行うことにより、体裁情報を設定する。さら
に、オペレータは「画像」欄についても入力を行う。
「画像」欄に入力すべき情報は、「サイズ指定」であ
る。「サイズ指定」は、文中画像データを文字列配置領
域に配置する際の文中画像データの配置サイズを設定す
る項目であり、「オリジナルサイズ」、「サイズ指定」
および「文字列一致」を選択することができる。オペレ
ータが、「画像」欄の「サイズ指定」にて、オリジナル
サイズを選択すれば、文中画像データのオリジナルサイ
ズで、文字列配置領域に文中画像データが配置される。
「サイズ指定」でサイズ指定を選択すれば、オペレータ
が所望するサイズに文中画像データを拡大/縮小して、
文字列配置領域に文中画像データが配置される。「サイ
ズ指定」で文字列一致を選択すれば、文字列データにお
ける文中画像データ名の位置で、文中画像データの配置
サイズを決定する。例えば、大見出しに相当する文字列
の後に、文中画像データ名が区切りコードで区切られて
記述されている場合には、大見出しの文字サイズと同じ
サイズで文中画像データを配置する。あるいは、本文文
字列の内部に文中文字データ名が記述されていたなら
ば、本文の文字サイズと同じサイズで文中画像データを
配置する。図16(b)は、作成された体裁情報データ
のデータ構成を示すための図である。作成された体裁情
報データは一時的に記憶部26に記憶される。ここで
は、newteisai.datというデータ名を与えられ、記憶部
26に記憶される。
In step S104, the operator operates the input unit 23, and the typographic information setting unit 272 sets the typographic information data. FIG. 16A is a diagram for explaining the creation of the appearance information data by the character appearance information setting unit 272. The typographic information setting unit 272 includes a display unit 2
2 displays the appearance information setting screen MFN. The appearance information setting screen MFN includes the appearance information setting screen M shown in FIG.
F is almost the same as F, but differs from the appearance information setting screen MF in that there are no “overlap” and “border” items related to the processing at the time of overlap with the image area, and that an “image” column is added. I have. The operator operates the input unit 13 in the same manner as described with reference to FIG.
By inputting to N, the appearance information is set. Further, the operator also makes an input in the “image” column.
The information to be input in the “image” column is “size specification”. “Size specification” is an item for setting the layout size of the text image data when arranging the text image data in the character string layout area.
And "character string match" can be selected. If the operator selects the original size in the "size designation" of the "image" column, the in-text image data is arranged in the character string arrangement area in the original size of the in-text image data.
If "size specification" is selected for the size specification, the image data in the text is enlarged / reduced to the size desired by the operator,
Sentence image data is arranged in the character string arrangement area. If the character string match is selected in “size specification”, the arrangement size of the text image data is determined based on the position of the text image data name in the character string data. For example, if the text image data name is separated by a delimiter code after the character string corresponding to the headline, the text image data is arranged in the same size as the character size of the headline. Alternatively, if the text data name in the text is described in the text string, the text image data is arranged in the same size as the text size of the text. FIG. 16B is a diagram showing a data configuration of the created appearance information data. The created appearance information data is temporarily stored in the storage unit 26. Here, the data name newteisai.dat is given and stored in the storage unit 26.

【0060】ステップS105は、ページBPに対する
レイアウトを実行するステップであり、具体的には、ス
テップS104で作成した体裁情報データの設定によっ
て体裁が施された文字列をステップS103で指定した
文字列配置領域に流し込み、ステップS2で入力された
画像をページBP上の所定の位置に配置するステップで
ある。このステップS105については、図17のレイ
アウト動作を説明するためのフローチャートを用いて詳
細な説明を行う。
Step S105 is a step of laying out the page BP. Specifically, the character string that has been formatted according to the setting of the format information data created in step S104 is the character string layout specified in step S103. This is a step of pouring the image into the area and arranging the image input in step S2 at a predetermined position on the page BP. Step S105 will be described in detail with reference to the flowchart of FIG. 17 for explaining the layout operation.

【0061】図17のステップS1701からステップ
S1705までのプロセスは、図7で説明したステップ
S12からステップS15のプロセスと同様なので、こ
こでの説明は省略する。
The processes from step S1701 to step S1705 in FIG. 17 are the same as the processes from step S12 to step S15 described with reference to FIG.

【0062】ステップS1706は、文字列配置部27
4が文字列中に文中画像データ名が含まれているかいな
いかを判定するステップである。文字列配置部274
は、文字列データに識別記号「*」が付されている文字
列については、文字列とは見なさず、文中画像データと
してステップS1707に続く処理を行う。文中画像デ
ータが検索されなかった場合は、ステップS1708へ
移行する。なお、文中画像データを検索する手法として
は、拡張子が付されている文字列は文中画像データ名と
見なす、などの手法を使用してもよい。
In step S1706, the character string arranging unit 27
No. 4 is a step of determining whether or not the text image data name is included in the character string. Character string arrangement unit 274
Does not regard a character string in which an identification symbol "*" is attached to the character string data as a character string, and performs processing subsequent to step S1707 as in-sentence image data. If the image data in the sentence is not found, the process moves to step S1708. In addition, as a method of searching for text image data, a method in which a character string with an extension is regarded as a text image data name may be used.

【0063】ステップS1707は、文字列配置部27
4によって発見された文中画像データを文字列配置領域
に配置するステップである。文字列配置部274が文中
画像データ名を発見した場合、文字列配置部274は備
えている文中画像配置部277を起動する。文中画像配
置部277は、発見された文中画像データ名に該当する
文中画像データを、記憶部26から読み出す。記憶部2
6から読み出された文中画像データは、文中画像配置部
277によって、文字列配置領域に配置される。その際
は、文字列データ内の文中画像データ名の記述位置およ
び体裁情報データnewteisai.datの「画像」に関する設
定によって、配置される位置や体裁が決定する。
In step S1707, the character string arranging unit 27
This is a step of arranging the in-sentence image data found in step 4 in the character string arrangement area. When the character string arranging unit 274 finds a text image data name, the character string arranging unit 274 activates the provided sentence image arranging unit 277. The sentence image arrangement unit 277 reads out the sentence image data corresponding to the found sentence image data name from the storage unit 26. Storage unit 2
The in-text image data read from 6 is placed in the character string placement area by the in-text image placement unit 277. In this case, the arrangement position and appearance are determined by the description position of the image data name in the text in the character string data and the setting relating to “image” in the appearance information data newteisai.dat.

【0064】ステップS1708からステップS171
2までのプロセスは、図7で説明したステップS23か
らステップS27のプロセスと同様なので、ここでの説
明は省略する。
Steps S1708 to S171
The processes up to 2 are the same as the processes from step S23 to step S27 described with reference to FIG.

【0065】ステップS1714は、画像配置を行うた
めのステップである。このステップについては、図18
を参照して詳細な説明を行うことにする。図18は、画
像配置を行うためのステップを詳細に説明するためのフ
ローチャートである。まずステップS1801で、画像
配置領域を指定する。図19は、ページBP上に画像配
置領域を指定している状態を説明するための図である。
オペレータは、表示部22に表示されている配置領域指
定メニューMから、入力部23を操作して「画像配置」
を選択する。そのあと、オペレータは入力部23を操作
してポインタPOを動かすことで、ページBP上に画像
配置領域を指定する。図19では、オペレータの操作に
より、ページBP上に画像配置領域IM10、IM1
1、IM12が指定された状態を示している。図示され
ているように、画像配置領域IM10は文字列配置領域
TE3に重複するように指定されており、IM11は文
字列配置領域TE3、TE4にまたがるように重複する
よう指定されており、IM12は文字列配置領域TE4
に重複するように指定されている。なお、この時点で
は、画像配置領域IMは表示部12にその矩形枠のみを
表示している。
Step S1714 is a step for arranging images. This step is described in FIG.
Will be described in detail with reference to FIG. FIG. 18 is a flowchart for explaining in detail the steps for arranging images. First, in step S1801, an image arrangement area is specified. FIG. 19 is a diagram for explaining a state in which an image arrangement area is specified on the page BP.
The operator operates the input unit 23 from the arrangement area designation menu M displayed on the display unit 22 to select “image arrangement”.
Select Thereafter, the operator operates the input unit 23 to move the pointer PO, thereby designating an image arrangement area on the page BP. In FIG. 19, the image placement areas IM10 and IM1 are displayed on the page BP by the operation of the operator.
1, the state where IM12 is designated. As shown in the figure, the image arrangement area IM10 is specified so as to overlap the character string arrangement area TE3, IM11 is specified so as to overlap the character string arrangement areas TE3 and TE4, and IM12 is specified. Character string arrangement area TE4
Is specified to be duplicated. At this point, only the rectangular frame of the image arrangement area IM is displayed on the display unit 12.

【0066】ステップS1802で、オペレータは画像
配置領域に対して画像配置領域属性を設定する。オペレ
ータは、入力部23を操作して、ステップS1801で
指定した画像配置領域IM上にポインタPOを表示させ
る。画像配置領域IM上にポインタPOが表示された
ら、オペレータは、入力部23を操作して、画像配置領
域属性メニューMGを呼び出す。オペレータが、画像配
置領域属性メニューMGを呼び出すと、配置領域指定部
273に備えられている画像配置領域属性指定部276
が起動する。オペレータは、入力部23を操作すること
により、画像配置領域属性メニューMGより所望する属
性を指定し、その指定により、画像配置領域属性指定部
276が画像配置領域属性を指定する。図20(a)
は、画像配置領域IM10上にポインタPOを表示さ
せ、画像配置領域属性メニューMGを呼び出した状態を
説明するための図である。表示されている画像配置領域
属性メニューMGには、「重複」「縁取り」の二つのコ
マンドが表示されている。「重複」コマンドは、画像配
置領域と文字列とが重複した時の関係を決定するための
ものである。オペレータが、入力部23を操作して、画
像配置領域属性メニューMGの「重複」コマンドを選択
すると、画像配置領域属性指定部276は、重複しても
よい文字列の選択を促すため、サブメニューMGSを表
示部22に表示する。サブメニューMGSには、重複可
能な文字列の選択を促すために、「大見出し」「中見出
し」「小見出し」「本文」「画像」という項目がそれぞ
れ表示されている。オペレータは、入力部23を操作し
て、これらの項目から画像配置領域と重複してもよい文
字列を選択する。ここでは、オペレータは、「本文」の
項目を選択したものとする。オペレータが「本文」の項
目を選択すると、サブメニューMGSには選択された印
として「レ」点で示すチェックマークが表示される。
「縁取り」コマンドは、画像配置領域と文字列が重複し
たとき、文字列に対して縁取り処理を行うか否かを決定
するためのものである。画像配置領域と文字列が重複し
たとき、画像の上位に配置される文字列の可読性が低下
する場合には、この「縁取り」コマンドを入力する方が
よい。なお、ここで画像配置領域に属性を設定しなかっ
た場合は、画像配置領域と文字列は重複しないものとし
て、画像配置領域属性指定部276が画像配置領域属性
を決定する。図20(b)は、このステップS1801
のプロセスを経て指定された画像配置領域IM10、I
M11、IM12それぞれの画像配置領域属性データI
MAの構成図である。これら画像配置領域属性データI
MAは、記憶部26に記憶される。
In step S1802, the operator sets an image placement area attribute for the image placement area. The operator operates the input unit 23 to display the pointer PO on the image arrangement area IM specified in step S1801. When the pointer PO is displayed on the image arrangement area IM, the operator operates the input unit 23 to call the image arrangement area attribute menu MG. When the operator calls the image arrangement area attribute menu MG, the image arrangement area attribute designation unit 276 provided in the arrangement area designation unit 273
Starts. The operator operates the input unit 23 to designate a desired attribute from the image arrangement area attribute menu MG, and the image arrangement area attribute designation unit 276 designates the image arrangement area attribute. FIG. 20 (a)
Is a diagram for explaining a state in which the pointer PO is displayed on the image arrangement area IM10 and the image arrangement area attribute menu MG is called. In the displayed image arrangement area attribute menu MG, two commands “overlap” and “border” are displayed. The “duplicate” command is for determining the relationship when the image arrangement area and the character string overlap. When the operator operates the input unit 23 and selects the “duplicate” command in the image arrangement area attribute menu MG, the image arrangement area attribute specification unit 276 prompts the user to select a character string that may overlap. The MGS is displayed on the display unit 22. In the submenu MGS, items of “large heading”, “medium heading”, “subheading”, “body”, and “image” are displayed in order to prompt selection of a character string that can be duplicated. The operator operates the input unit 23 to select a character string that may overlap the image arrangement area from these items. Here, it is assumed that the operator has selected the item “body”. When the operator selects the item of "text", a check mark indicated by "" is displayed as a selected mark on the submenu MGS.
The “border” command is used to determine whether or not to perform a border process on a character string when the image arrangement area and the character string overlap. If the readability of the character string arranged at the top of the image decreases when the image arrangement area and the character string overlap, it is better to input the “border” command. If no attribute is set in the image placement area, the image placement area attribute specifying unit 276 determines the image placement area attribute assuming that the image placement area and the character string do not overlap. FIG. 20B illustrates this step S1801.
Image placement areas IM10, IM designated through the process
Image placement area attribute data I for each of M11 and IM12
It is a block diagram of MA. These image arrangement area attribute data I
The MA is stored in the storage unit 26.

【0067】図18に戻って、ステップS1803は、
ステップS1801で指定した画像配置領域と文字列が
重複するか否かを判定するステップである。文字列配置
部274は、ステップS1801で指定された画像配置
領域IM内に、既に配置されている文字列が存在してい
るか否かを判定することで、画像配置領域と文字列の重
複を判定することができる。画像配置領域IMと文字列
が重複していなければステップS1810へ移行する。
文字列配置部274が、画像配置領域IMと文字列とが
重複していると判断した場合には、ステップS1804
へ移行する。
Returning to FIG. 18, step S1803 is
This is a step of determining whether or not the image arrangement area designated in step S1801 and the character string overlap. The character string arranging unit 274 determines whether the image arrangement area and the character string overlap by determining whether a character string that has already been arranged exists in the image arrangement area IM specified in step S1801. can do. If the image arrangement area IM and the character string do not overlap, the flow shifts to step S1810.
If the character string arrangement unit 274 determines that the image arrangement area IM and the character string overlap, step S1804
Move to.

【0068】ステップS1804では、ステップS18
02で指定された画像配置領域属性に基づいて、画像配
置領域と文字列が重複可能か否かを判定するステップで
ある。文字列配置部274は、ステップS1802で設
定された画像配置領域属性データIMAによって、画像
配置領域と文字列が重複することが可能か否かを判定す
ることができる。画像配置領域属性データIMAには、
「大見出し」「中見出し」「小見出し」「本文」「画
像」の各項目に関する重複の可不可が格納されているの
で、文字列配置部274は、文字列の種別毎に画像配置
領域との重複の可不可を判定する。ここで、画像配置領
域と文字列との重複が不可である場合には、ステップS
1809へ移行する。
In step S1804, step S18
This is a step of determining whether or not the image arrangement area and the character string can be overlapped based on the image arrangement area attribute designated by 02. The character string arranging unit 274 can determine whether the image arrangement area and the character string can overlap with each other, based on the image arrangement area attribute data IMA set in step S1802. The image arrangement area attribute data IMA includes
Since the possibility of duplication for each item of “major heading”, “medium heading”, “subheading”, “body text”, and “image” is stored, the character string arranging unit 274 determines whether or not each character string type has an image arranging area. It is determined whether duplication is possible. Here, if the image arrangement area and the character string cannot be overlapped, step S
Move to 1809.

【0069】ステップS1805は、文字列配置部27
4が文字列配置位置を画像配置領域の上位とするステッ
プである。ここで、「文字配置位置を画像配置領域の上
位とする」とは、画像配置領域と文字列が重なって表示
されたとき、文字列と重複している部分の画像は表示し
ない、という意味に等しい。ステップS1804におい
て、画像配置領域と文字列とが重複してもよいと判定さ
れた場合、文字列配置部274は、画像、文字列にかか
わらず、画像配置領域に配置された画像の上位に文字列
を配置する。
In step S1805, the character string arranging unit 27
4 is a step of setting the character string arrangement position to be higher than the image arrangement area. Here, “the character arrangement position is set to be higher than the image arrangement area” means that, when the image arrangement area and the character string are overlapped and displayed, an image of a portion overlapping with the character string is not displayed. equal. If it is determined in step S1804 that the image placement area and the character string may overlap, the character string placement unit 274 determines whether the character is placed above the image placed in the image placement area regardless of the image or the character string. Arrange columns.

【0070】ステップS1806は、画像配置領域属性
データに縁取り設定が指定されているか否かを判定する
ステップである。ここで、画像配置領域属性データに
「縁取り」項目に「縁取り」有り、という設定が指定さ
れていれば、ステップS1807に移行して、縁取り作
成部275が、画像配置領域と重複している文字列の該
当部分に対して、縁取り処理を施す。縁取り作成部27
5が、画像配置領域と重複している文字列の文字に対し
て太らせ処理を行い、太らせ処理によって得られた文字
の外縁部分を、例えば白色で塗りつぶすことによって、
縁取り処理が実行される。縁取りに関する指定が画像配
置領域属性データに設定されていなければ、ステップS
1807はスキップされる。
Step S1806 is a step for judging whether or not a border setting is specified in the image arrangement area attribute data. Here, if the setting of “bordering” is specified in the “bordering” item in the image placement area attribute data, the process proceeds to step S1807, and the border creation unit 275 determines whether a character overlapping the image placement area is present. A border process is performed on the corresponding part of the row. Border making unit 27
5 performs a fattening process on the character of the character string overlapping the image arrangement area, and fills the outer edge portion of the character obtained by the fattening process with, for example, white,
A border process is performed. If the specification relating to the border is not set in the image arrangement area attribute data, step S
1807 is skipped.

【0071】ステップS1808は、ステップS180
1で指定された画像配置領域における文字列との重複の
処理を全て終了したか否かを判定するステップである。
文字列配置部274が、ステップS1801で指定され
た全ての画像配置領域と文字列との関係を処理し終わっ
たと判断すれば、ステップS1811へ移行する。画像
配置領域と文字列との関係が全て処理し終わっていない
場合には、ステップS1803へ帰還し、これまでのス
テップを繰り返す。
Step S1808 is equivalent to step S180
This is a step of determining whether or not all the overlapping processing with the character string in the image arrangement area designated in step 1 has been completed.
If the character string arranging unit 274 determines that the relationship between all the image arranging areas designated in step S1801 and the character strings has been processed, the process advances to step S1811. If all the relationships between the image arrangement area and the character string have not been processed, the process returns to step S1803, and the steps up to this point are repeated.

【0072】ステップS1804で、文字列配置部27
4が、画像配置領域属性データによって、画像配置領域
と文字列との重複が不可であると判定した場合には、ス
テップS1809へ移行する。
In step S1804, the character string arranging unit 27
4 determines that the image arrangement area and the character string cannot be overlapped based on the image arrangement area attribute data, the process proceeds to step S1809.

【0073】ステップS1809は、画像配置領域と文
字列が重複した場合に、文字列配置位置を変更するステ
ップである。文字列配置部274は、ステップS180
4の判定で画像配置領域と文字列とが重複できないと判
定したならば、文字列の配置位置を変更して、画像配置
領域と文字列とが重複しないようにする。それを説明す
るために、図21に示すフローチャートを用いて説明を
行う。図21のフローチャートは、文字列配置開始点の
位置変更を行うプロセスを説明するためのフローチャー
トである。ステップS1901において、文字列配置部
274は、文字列配置開始点の位置を変更するかしない
かを判定する。例えば、画像配置領域と文字列の行頭と
が重複する場合には、文字列配置開始点を変更しなけれ
ばならないが、画像領域と文字列の行末が重複する場合
には、文字列配置開始点は変更する必要がない。そこ
で、文字列配置部274は、画像配置領域の左上点座標
と文字列配置領域の左上点座標とを比較して、その座標
間の距離に応じて、文字列配置開始点の位置を変更する
かしないかを判定する。その判定のマージンは、例え
ば、文字列の長さと画像配置領域の幅とから求めるよう
にすることができる。なお、配置されている文字列の文
字列配置開始点が、画像配置領域の座標内に位置する場
合には、ステップS1901の判定を待たずにステップ
S1902へ移行する。
Step S1809 is a step of changing the character string arrangement position when the image arrangement area and the character string overlap. The character string arrangement unit 274 determines in step S180
If it is determined in step 4 that the image arrangement area and the character string cannot overlap, the arrangement position of the character string is changed so that the image arrangement area and the character string do not overlap. In order to explain this, an explanation will be given using a flowchart shown in FIG. The flowchart of FIG. 21 is a flowchart for explaining a process of changing the position of the character string arrangement start point. In step S1901, the character string arrangement unit 274 determines whether to change the position of the character string arrangement start point. For example, if the image arrangement area and the beginning of the line of the character string overlap, the character string arrangement start point must be changed. If the image area and the end of the line of the character string overlap, the character string arrangement start point Need not be changed. Therefore, the character string arrangement unit 274 compares the upper left point coordinates of the image arrangement area with the upper left point coordinates of the character string arrangement area, and changes the position of the character string arrangement start point according to the distance between the coordinates. It is determined whether or not to do so. The margin for the determination can be obtained, for example, from the length of the character string and the width of the image arrangement area. If the character string arrangement start point of the arranged character string is located within the coordinates of the image arrangement area, the flow shifts to step S1902 without waiting for the determination in step S1901.

【0074】ステップS1902は文字列配置領域TE
の幅と画像配置領域IMの幅の差を演算し、残余の幅A
Lに文字列が配置できるか否かを判定するステップであ
る。ステップS104で設定された体裁情報によって、
文字列を構成する各文字には文字サイズが与えられてい
るので、各文字の文字サイズを加えることにより、文字
列の長さTLを求めることができる。さらに、文字列配
置部274は、文字列配置領域TEの幅から画像配置領
域IMの幅を減算する。具体的には、画像配置領域IM
の右上点座標のx座標値から文字列配置領域TEの左上
点座標のx座標値を減算して得られた値を残余の幅AL
として、残余の幅ALと文字列の長さTLとを比較す
る。残余の幅ALが文字列の長さTLよりも長ければ、
ステップS1904へ移行して、文字列配置開始点PT
のy座標値を変更せずに、文字列配置開始点PTの位置
を変更するステップへ移行する。図22は、図19に示
した文字列配置領域TE3において、文字列配置開始点
PTの位置を変更しなければならない状態を示した図で
ある。図示するように、文字列配置領域TE3の左上点
付近に画像配置領域IM10が指定されている。この画
像配置領域IM10は、画像配置領域属性データIMA
10として、「本文」文字列以外は重複不可という設定
が行われているため、「大見出し」文字列である文字列
「日本犬」の文字列の位置を移動しなければならないこ
とがわかる。そのため、文字列配置開始点PTの位置を
変更して、文字列「日本犬」の配置を変更する。
In step S1902, the character string arrangement area TE
And the width of the image arrangement area IM are calculated, and the remaining width A is calculated.
This is a step of determining whether a character string can be arranged in L. According to the appearance information set in step S104,
Since each character constituting the character string is given a character size, the length TL of the character string can be obtained by adding the character size of each character. Further, the character string arrangement unit 274 subtracts the width of the image arrangement area IM from the width of the character string arrangement area TE. Specifically, the image arrangement area IM
The value obtained by subtracting the x coordinate value of the upper left point coordinate of the character string arrangement area TE from the x coordinate value of the upper right point coordinate of
Then, the remaining width AL is compared with the length TL of the character string. If the remaining width AL is longer than the string length TL,
Proceeding to step S1904, the character string arrangement start point PT
Without changing the y-coordinate value of step (a), the process proceeds to the step of changing the position of the character string arrangement start point PT. FIG. 22 is a diagram showing a state where the position of the character string arrangement start point PT must be changed in the character string arrangement area TE3 shown in FIG. As shown, the image arrangement area IM10 is specified near the upper left point of the character string arrangement area TE3. This image arrangement area IM10 is the image arrangement area attribute data IMA.
Since the setting is made such that the character string other than the “body” character string cannot be duplicated as 10, the position of the character string “Japanese dog” that is the “large headline” character string must be moved. Therefore, the position of the character string arrangement start point PT is changed to change the arrangement of the character string “Japanese dog”.

【0075】ステップS1902での比較の結果、残余
の幅ALよりも文字列の長さTLが長ければ、ステップ
S1903へ移行し、ステップS18同様の処理を行っ
て、画像配置領域IMの下部に文字列配置開始点PTを
移動する。
As a result of the comparison in step S1902, if the length TL of the character string is longer than the remaining width AL, the flow shifts to step S1903, where the same processing as in step S18 is performed, and the text is displayed below the image arrangement area IM. The column arrangement start point PT is moved.

【0076】ステップS1904は、画像配置領域IM
の右上点座標のx座標値を文字列配置開始点PTのx座
標値とするステップである。図22を再び参照すると、
大見出し文字列「日本犬」の文字列配置開始点PTの座
標は、文字列配置領域TE3の左上点座標PTE3(P
1x、P1y)となっている。ステップS1902の判定
の結果、文字列配置開始点PTのy座標値は変更されな
いので、文字列配置部274は、文字列配置開始点PT
のx座標値のみを変更する。画像配置領域IM10の右
上点座標値のx座標値を基準にすれば、文字列「日本
犬」は画像配置領域IM10と重複することはなくな
る。そこで、文字列配置部274は、文字列配置開始点
PTの座標値をPT(IMx1、P1y)と変更する。文
字列配置開始点PTの位置が変更されたことにより、文
字列「日本犬」は、画像配置領域IM10と重複せずに
配置し直されることになる。なお、ここでは残余の幅A
Lよりも文字列の長さTLが長ければ、画像配置領域I
Mの下部に文字列配置開始点PTを移動するようなプロ
セスを説明したが、ステップ1904のプロセスによっ
て文字列配置開始点PTを先に決定し、文字列配置開始
点PTから配置を開始した文字列が、文字列配置領域の
端部に差しかかったら折り返し処理を行うようにして、
文字列を配置するようにしてもよい。
Step S1904 determines whether the image placement area IM
Is the step of setting the x coordinate value of the upper right point coordinate of the character string as the x coordinate value of the character string arrangement start point PT. Referring again to FIG.
The coordinates of the character string arrangement start point PT of the large headline character string “Japanese dog” are determined by the upper left point coordinate PTE3 (P
1x, P1y). As a result of the determination in step S1902, since the y-coordinate value of the character string arrangement start point PT is not changed, the character string arrangement unit 274 sets the character string arrangement start point PT
Only the x coordinate value of is changed. Based on the x coordinate value of the upper right point coordinate value of the image arrangement area IM10, the character string "Japanese dog" does not overlap with the image arrangement area IM10. Therefore, the character string arrangement unit 274 changes the coordinate value of the character string arrangement start point PT to PT (IMx1, P1y). By changing the position of the character string arrangement start point PT, the character string “Japanese dog” is rearranged without overlapping the image arrangement area IM10. Here, the remaining width A
If the length TL of the character string is longer than L, the image arrangement area I
Although the process of moving the character string arrangement start point PT to the lower part of M has been described, the character string arrangement start point PT is determined first by the process of step 1904, and the character whose arrangement is started from the character string arrangement start point PT is started. When a column reaches the end of the character string placement area, wrap processing is performed,
A character string may be arranged.

【0077】図18に戻って、ステップS1810にお
いて、文字列配置部274は、文字列配置開始点の変更
や、画像配置領域と文字列との重複が不可であるという
画像領域属性データに基づいて、文字列の再配置を行
う。ステップS1809において、文字列配置開始点が
変更された文字列については、文字列配置部274は、
変更された文字列配置開始点から文字列を再配置する。
また、行末部に文字列配置不可の画像配置領域が指定さ
れた場合には、文字列配置部274は、画像配置領域の
座標で文字列の折り返し処理を行い、画像配置領域と文
字列とか重複しないようにする。その結果、次文字列の
文字列配置開始点に変更が生じれば、文字列配置部27
4は、変更した文字列配置開始点より次文字列を再配置
し、ステップS1808の判定を待つ。
Returning to FIG. 18, in step S1810, the character string arranging unit 274 changes the character string arranging start point and based on the image area attribute data indicating that it is impossible to overlap the image arranging area with the character string. , Rearrange the character strings. In step S1809, with respect to the character string whose character string arrangement start point has been changed, the character string
Rearrange the character string from the changed character string arrangement start point.
If an image arrangement area where character strings cannot be arranged is specified at the end of the line, the character string arrangement unit 274 performs a character string wrapping process based on the coordinates of the image arrangement area and overlaps the image arrangement area with the character string. Don't do it. As a result, if a change occurs in the character string arrangement start point of the next character string, the character string arrangement unit 27
No. 4 rearranges the next character string from the changed character string arrangement start point, and waits for the determination in step S1808.

【0078】ステップS1808において、全ての画像
配置領域と文字列との関係が決定したならば、ステップ
S1811において、図7のステップS11同様の手法
によって、画像配置領域IMに画像を配置して、図13
のフローチャートに帰還し、処理を終了する。このよう
な動作を組版装置2が実行することにより、図23に示
すような組版結果を得ることができる。
If the relationship between all the image arrangement areas and the character strings is determined in step S1808, in step S1811, the image is arranged in the image arrangement area IM by the same method as step S11 in FIG. 13
And the process is terminated. When the typesetting device 2 executes such an operation, a typesetting result as shown in FIG. 23 can be obtained.

【0079】このように、図12に示した組版装置は、
図13、図17、18および図21のフローチャートに
示したような動作を行うことにより、下記のような効果
を得ることができる。文字列配置部274が文字列配置
領域TEに体裁情報データに設定された体裁を施して文
字列を配置する場合、画像配置領域IMと文字列が重複
する時には、画像配置領域IMと重複する文字列の関係
を自動的に求めて配置を行うので、組版作業の作業性を
高めることができる。また、画像配置領域IMと文字列
が重複する時には、文字列配置部274が画像配置領域
と重複する位置に配置する文字列を上位に配置するの
で、画像配置領域IMと重複する文字列が見えなくなる
ことを防ぐことができる。
As described above, the typesetting device shown in FIG.
By performing the operations shown in the flowcharts of FIGS. 13, 17, 18, and 21, the following effects can be obtained. When the character string arranging unit 274 performs the appearance set in the appearance information data on the character string arranging area TE and arranges the character string, when the character string overlaps with the image arranging area IM, the character overlapping the image arranging area IM Since the arrangement of the columns is automatically determined and arranged, the workability of the typesetting work can be improved. Further, when the character string overlaps with the image arrangement area IM, the character string arrangement unit 274 arranges the character string arranged at the position overlapping with the image arrangement area at the top, so that the character string overlapping with the image arrangement area IM can be seen. Can be prevented from disappearing.

【0080】さらに、画像配置領域IMと文字列が重複
する時には、文字列配置部274が画像配置領域と重複
する位置に配置する文字列を上位に配置する上に、縁取
り作成部275が画像配置領域IMの上位に配置された
文字列に縁取りを施すので、文字列の可読性を保つこと
ができる。
Further, when the character string overlaps with the image arrangement area IM, the character string arrangement unit 274 arranges the character string arranged at the position overlapping with the image arrangement area at the top, and the border creation unit 275 sets the image arrangement area. Since the character string arranged above the area IM is bordered, the readability of the character string can be maintained.

【0081】加えて、画像配置領域IMと文字列が重複
して欲しくない時には、指定した画像配置領域は文字列
と重複しないよう画像配置領域属性指定部276によっ
て画像配置領域属性データを指定することにより、文字
列配置部274が画像配置領域を回避して指定された文
字列を配置するので、組版作業の作業性を高めることが
できる。
In addition, when it is not desired that the character string overlaps with the image arrangement area IM, the image arrangement area attribute specifying unit 276 specifies the image arrangement area attribute data so that the specified image arrangement area does not overlap with the character string. Accordingly, the character string arranging unit 274 arranges the designated character string avoiding the image arrangement area, so that the workability of the typesetting work can be improved.

【0082】また、画像配置領域IMと文字列が重複す
る時の関係を画像配置領域属性データで指定するので、
画像配置領域と重複する文字列の配置を自動的に行うこ
とができ、組版作業の作業性を高めることができる。ま
た、画像配置領域毎に画像領域属性を設定することによ
り、文字列の画像配置領域回避、文字列の上位配置、文
字列の縁取りなどの処理を文字列毎に実行することがで
きるので、表現性の高い組版処理を行うことができる。
Since the relationship when the character string overlaps with the image arrangement area IM is specified by the image arrangement area attribute data,
Character strings overlapping with the image arrangement area can be automatically arranged, and the workability of the typesetting work can be improved. In addition, by setting the image area attribute for each image arrangement area, it is possible to perform processing such as avoiding the image arrangement area of the character string, arranging the character string at a higher position, and bordering the character string for each character string. It is possible to perform highly typesetting processing.

【0083】さらに、文字列配置部274が文字列配置
領域に体裁情報データに設定された体裁を施して文字列
を配置する場合、文字列に文中画像データ名が含まれて
いれば、文中画像配置部277が記憶部26から文中画
像データ名に基づいて文中画像データを検索し、文字列
中に文中画像データを配置する。その時画像配置領域と
文字列が重複する時には、画像配置領域と文字列と関係
を決定して文字列を配置するため、文字列中の文中画像
データもまた画像領域との関係を決定して配置されるこ
とになるので、組版作業の作業性を高めることができ
る。
Further, when the character string arranging section 274 arranges a character string in the character string arranging area by applying the appearance set in the appearance information data, if the character string includes the in-sentence image data name, the in-sentence image The arranging unit 277 searches the in-text image data from the storage unit 26 based on the in-text image data name, and arranges the in-text image data in the character string. At that time, when the image arrangement area and the character string overlap, the relation between the image arrangement area and the character string is determined and the character string is arranged. Therefore, the text image data in the character string is also determined and arranged with the image area. Therefore, the workability of the typesetting work can be improved.

【0084】なお、これまでの組版装置1乃至2は、縦
書き時についても、同様の手順で動作することができ
る。
The typesetting devices 1 and 2 can operate in the same manner in vertical writing.

【0085】また、画像配置領域と文字列との関係につ
いては、文字列配置領域にて設定するようにしてもよ
い。
Further, the relationship between the image arrangement area and the character string may be set in the character string arrangement area.

【0086】『変形例』実施例では、体裁情報を先に設
定して文字列を配置するように説明を行ったが、文字列
を配置した後に体裁情報を設定するようにしてもよい。
また、画像配置領域と重複している文字列配置領域を削
除して、画像配置領域に文字列が配置されないようにし
てもよい。さらに、組版装置1乃至2の動作を混合する
ようにしてもよい。
[Modification] In the embodiment, the description has been made such that the appearance information is set first and the character strings are arranged. However, the appearance information may be set after the arrangement of the character strings.
Further, the character string arrangement area overlapping the image arrangement area may be deleted so that the character string is not arranged in the image arrangement area. Further, the operations of the typesetting apparatuses 1 and 2 may be mixed.

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

【図1】本発明の実施の態様である組版装置1のブロッ
ク図である。
FIG. 1 is a block diagram of a typesetting apparatus 1 according to an embodiment of the present invention.

【図2】組版装置1の動作プロセスを示すためのフロー
チャートである。
FIG. 2 is a flowchart showing an operation process of the typesetting apparatus 1.

【図3】文字列データを説明するための図である。FIG. 3 is a diagram for explaining character string data.

【図4】表示部12において、文字列配置領域TEおよ
び画像配置領域IMの指定を行う際の説明を行うための
図である。
FIG. 4 is a diagram for describing a case where a character string arrangement area TE and an image arrangement area IM are specified on the display unit 12.

【図5】文字列配置領域TEおよび画像配置領域IMの
データ構成図である。
FIG. 5 is a data configuration diagram of a character string arrangement area TE and an image arrangement area IM.

【図6】体裁情報を設定する際の説明を行うための図で
ある。
FIG. 6 is a diagram for explaining the setting of appearance information.

【図7】画像配置領域と文字列との関係によって、文字
列を配置する際の動作を説明するためのフローチャート
である。
FIG. 7 is a flowchart for explaining an operation when arranging a character string based on a relationship between an image arrangement area and a character string.

【図8】文字列配置領域に文字列データを配置する際の
動作、および体裁情報データを指定する動作を説明する
ための図である。
FIG. 8 is a diagram for explaining an operation when character string data is arranged in a character string arrangement area and an operation for specifying appearance information data.

【図9】画像配置領域と文字列とが重複した際の状態を
説明するための図である。
FIG. 9 is a diagram for describing a state when an image arrangement area and a character string overlap.

【図10】画像配置領域の上位に文字列が配置された状
態を示すための図である。
FIG. 10 is a diagram showing a state in which a character string is arranged in an upper position of an image arrangement area.

【図11】文字列配置領域に文字列が、画像配置領域に
画像が配置された状態を示すための図である。
FIG. 11 is a diagram illustrating a state where a character string is arranged in a character string arrangement area and an image is arranged in an image arrangement area.

【図12】本発明の実施の別の態様の組版装置2のブロ
ック図である。
FIG. 12 is a block diagram of a typesetting device 2 according to another embodiment of the present invention.

【図13】組版装置2の動作を説明するためのフローチ
ャートである。
FIG. 13 is a flowchart for explaining the operation of the typesetting device 2.

【図14】文字列データを示すための図である。FIG. 14 is a diagram showing character string data.

【図15】表示部22に表示された文字列配置領域を指
定を行う際の説明図である。
FIG. 15 is an explanatory diagram when a character string arrangement area displayed on the display unit 22 is designated.

【図16】体裁情報を設定する際の説明を行うための図
である。
FIG. 16 is a diagram for explaining the setting of appearance information.

【図17】画像配置領域と文字列との関係によって、文
字列を配置する際の動作を説明するためのフローチャー
トである。
FIG. 17 is a flowchart for explaining an operation when arranging a character string based on a relationship between an image arrangement area and a character string.

【図18】文字列配置後に画像配置領域を指定した際
の、文字列の再配置の動作を説明するためのフローチャ
ートである。
FIG. 18 is a flowchart illustrating an operation of rearranging a character string when an image arrangement area is designated after character string arrangement.

【図19】文字列配置後に画像配置領域を指定した際の
状態を説明するための図である。
FIG. 19 is a diagram for explaining a state when an image arrangement area is designated after character string arrangement.

【図20】画像配置領域に対して画像配置領域属性を指
定する動作を説明するための図である。
FIG. 20 is a diagram illustrating an operation of designating an image arrangement area attribute for an image arrangement area.

【図21】組版装置2において、画像配置領域に文字列
が重複できないと指定された場合の動作を説明するため
のフローチャートである。
FIG. 21 is a flowchart for explaining an operation in a case where it is specified in the typesetting device 2 that character strings cannot be overlapped in the image arrangement area.

【図22】文字列配置後に画像配置領域を指定した際
の、文字列の再配置の動作を説明するための図である。
FIG. 22 is a diagram for explaining an operation of rearranging a character string when an image arrangement area is specified after character string arrangement.

【図23】文字列配置領域に文字列が、画像配置領域に
画像が配置された状態を示すための図である。
FIG. 23 is a diagram showing a state where a character string is arranged in a character string arrangement area and an image is arranged in an image arrangement area.

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

1、2 組版装置 11、21 CPU 12、22 表示部 13、23 入力部 14、24 外部ネットワークI/F 15、25 メディアドライブ 16、26 記憶部 17、27 メモリ 18、28 メディアディスク 171、271 文字列作成部 172、272 体裁情報設定部 173、273 配置領域指定部 174、274 文字列配置部 175、275 縁取り作成部 276 画像配置領域属性指定部 277 文中画像配置部 BP ページ IM 画像配置領域 M 配置領域指定メニュー MF 体裁情報設定画面 MFN 体裁情報設定画面 MG 画像配置領域属性メニュー MGS サブメニュー MT 体裁情報指定メニュー MO 文字列配置メニュー TE 文字列配置領域 PO ポインタ PT 文字列配置開始点 PTD 非重複文字列開始点 dog.txt、newdog.txt 文字列データ teisai.dat、newteisai.dat 体裁情報データ IMA10、IMA11、IMA12 画像配置領域属
性データ
1, 2 typesetting device 11, 21 CPU 12, 22 display unit 13, 23 input unit 14, 24 external network I / F 15, 25 media drive 16, 26 storage unit 17, 27 memory 18, 28 media disk 171, 271 characters Column creation section 172, 272 Format information setting section 173, 273 Arrangement area designation section 174, 274 Character string arrangement section 175, 275 Border creation section 276 Image arrangement area attribute designation section 277 In-text image arrangement section BP page IM image arrangement area M arrangement Area designation menu MF appearance information setting screen MFN appearance information setting screen MG Image arrangement area attribute menu MGS submenu MT appearance information designation menu MO Character arrangement menu TE Character arrangement area PO pointer PT Character arrangement start point PTD Non-overlapping character string Starting point dog.txt, newdog.t xt Character string data teisai.dat, newteisai.dat Format information data IMA10, IMA11, IMA12 Image placement area attribute data

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06T 11/60 100 G06T 11/60 100A ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) G06T 11/60 100 G06T 11/60 100A

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】文字列と画像とをレイアウトして電子的に
組版を行う組版装置であって、前記文字列に対する体裁
と、前記文字列と前記画像とが重複する場合の処理を設
定した重複処理条件とを含む体裁情報を設定する体裁情
報設定手段と、前記文字列を配置するための文字列配置
領域を指定する文字列配置領域指定手段と、画像を配置
するための画像配置領域を指定する画像配置領域指定手
段と、前記指定された文字列配置領域に前記体裁情報に
基づいて前記文字列を配置する文字列配置手段と、を有
し、前記文字列配置手段は、前記文字列を前記画像配置
領域と重複する位置に配置する場合、前記体裁情報に含
まれる前記重複処理条件に基づいて、前記画像配置領域
の上位に配置するか前記画像配置領域を回避して配置す
るかを決定して、前記文字列を配置すること、を特徴と
する組版装置。
1. A typesetting device for laying out a character string and an image and electronically setting the type of the character string, wherein an appearance of the character string is set and a process is performed when the character string and the image overlap. Format information setting means for setting format information including processing conditions, character string layout area specifying means for specifying a character string layout area for laying out the character string, and designating an image layout area for laying out an image Image arrangement area designating means, and character string arrangement means for arranging the character string in the designated character string arrangement area based on the appearance information, wherein the character string arrangement means When arranging at a position overlapping with the image arrangement area, it is determined whether to arrange the image arrangement area at a higher level or to avoid the image arrangement area based on the overlap processing condition included in the appearance information. do it, Placing the serial string, typesetting apparatus according to claim.
【請求項2】文字列と画像とをレイアウトして電子的に
組版を行う組版装置であって、前記文字列に対する体裁
情報を設定する体裁情報設定手段と、前記文字列を配置
するための文字列配置領域を指定する文字列配置領域指
定手段と、前記指定された文字列配置領域に前記体裁情
報に基づいて前記文字列を配置する文字列配置手段と、
画像を配置するための画像配置領域を指定する画像配置
領域指定手段と、前記画像配置領域に前記文字列が重複
する場合の処理を設定した重複処理条件を含む画像領域
属性情報を設定する画像配置領域属性設定手段と、を有
し、前記文字列配置手段は、前記画像配置領域が前記文
字列と重複する位置に配置された場合、前記画像配置領
域属性情報に含まれる前記重複処理条件に基づいて、前
記画像配置領域の上位に配置するか前記画像配置領域を
回避して配置するかを決定して、前記文字列を配置し直
すこと、を特徴とする組版装置。
2. A typesetting apparatus for laying out a character string and an image to electronically typeset, comprising: a format information setting unit for setting format information for the character string; and a character for arranging the character string. Character string arrangement area designating means for designating a string arrangement area; character string arrangement means for arranging the character string in the designated character string arrangement area based on the appearance information;
An image arrangement area designating unit for designating an image arrangement area for arranging an image, and an image arrangement setting image area attribute information including an overlap processing condition in which a processing when the character string overlaps the image arrangement area is set. And a character string arranging means, wherein the character string arranging means, based on the overlap processing condition included in the image arrangement area attribute information, when the image arrangement area is arranged at a position overlapping the character string. And determining whether the character string is to be positioned above the image layout area or to avoid the image layout area, and rearranging the character string.
【請求項3】前記画像配置領域の上位に前記文字列が配
置された場合、前記文字列の文字に縁取りを施す縁取り
手段を有すること、を特徴とする請求項1乃至請求項2
の組版装置。
3. The image processing apparatus according to claim 1, further comprising a bordering means for bordering a character of the character string when the character string is arranged above the image arrangement area.
Typesetting equipment.
【請求項4】絵柄や線画等の画像データを画像データ名
を付して格納する画像データ格納手段と、を有し、前記
文字列に画像データを示す画像データ名が含まれている
場合、前記文字列に含まれた画像データ名に基づいて画
像データを前記画像データ格納手段から検索し、前記体
裁情報に基づいて前記画像データを前記文字列配置領域
に配置する文中画像配置手段を文字列配置手段が備えて
いること、を特徴とする請求項1乃至3の組版装置。
4. An image data storage means for storing image data such as a picture or a line drawing with an image data name attached thereto, wherein the character string includes an image data name indicating the image data. Searching the image data from the image data storage unit based on the image data name included in the character string, and setting the image data arrangement unit in the sentence to arrange the image data in the character string arrangement area based on the appearance information using a character string 4. The typesetting apparatus according to claim 1, further comprising an arrangement unit.
【請求項5】文字列と画像とをレイアウトして電子的に
組版を行う組版方法であって、前記文字列に対する体裁
と、前記文字列と前記画像とが重複する場合の処理を設
定した重複処理条件とを含む体裁情報を設定する体裁情
報設定工程と、前記文字列を配置するための文字列配置
領域を指定する文字列配置領域指定工程と、画像を配置
するための画像配置領域を指定する画像配置領域指定工
程と、前記指定された文字列配置領域に前記体裁情報に
基づいて前記文字列を配置する文字列配置工程と、を有
し、前記文字列を前記画像配置領域と重複する位置に配
置する場合、前記体裁情報に含まれる前記重複処理条件
に基づいて、前記画像配置領域の上位に配置するか前記
画像配置領域を回避して配置するかを決定して、前記文
字列を配置する、ことを特徴とする組版方法。
5. A typesetting method for electronically formatting a character string by laying out a character string and an image, wherein a format for the character string and a process for setting a process when the character string and the image overlap are set. A format information setting step of setting format information including processing conditions, a character string layout area designating step of designating a character string layout area for laying out the character string, and designating an image layout area for laying out an image And a character string arranging step of arranging the character string in the designated character string arranging area based on the appearance information, wherein the character string overlaps the image arranging area. When arranging at the position, based on the overlap processing condition included in the format information, it is determined whether to arrange at a higher position of the image arrangement area or to avoid the image arrangement area, and to determine the character string. Deploy, Typesetting and wherein the door.
【請求項6】文字列と画像とをレイアウトして電子的に
組版を行う組版方法であって、前記文字列に対する体裁
情報を設定する体裁情報設定工程と、前記文字列を配置
するための文字列配置領域を指定する文字列配置領域指
定工程と、前記指定された文字列配置領域に前記体裁情
報に基づいて前記文字列を配置する文字列配置工程と、
画像を配置するための画像配置領域を指定する画像配置
領域指定工程と、前記画像配置領域に前記文字列が重複
する場合の処理を設定した重複処理条件を含む画像領域
属性情報を設定する画像配置領域属性設定工程と、を有
し、前記画像配置領域が前記文字列と重複する位置に配
置された場合、前記画像配置領域属性情報に含まれる前
記重複処理条件に基づいて、前記画像配置領域の上位に
配置するか前記画像配置領域を回避して配置するかを決
定して、前記文字列を配置し直す、ことを特徴とする組
版装置。
6. A typesetting method for electronically setting a character string and an image by laying out a character string and an image, the method comprising: setting a format information for the character string; and setting a character for arranging the character string. A character string arrangement area specifying step of specifying a line arrangement area, and a character string arrangement step of arranging the character string in the specified character string arrangement area based on the appearance information;
An image arrangement area specifying step of specifying an image arrangement area for arranging an image, and an image arrangement setting of image area attribute information including an overlap processing condition in which a processing when the character string overlaps the image arrangement area is set. Area attribute setting step, and when the image arrangement area is arranged at a position overlapping with the character string, the image arrangement area is set based on the overlap processing condition included in the image arrangement area attribute information. A typesetting device, wherein it is determined whether to arrange the character string at a higher position or to avoid the image arrangement area, and to rearrange the character string.
【請求項7】請求項5に記載した発明をコンピュータで
実現するためのプログラムを記録した記録媒体。
7. A recording medium on which a program for realizing the invention according to claim 5 by a computer is recorded.
【請求項8】請求項6に記載した発明をコンピュータで
実現するためのプログラムを記録した記録媒体。
8. A recording medium recording a program for realizing the invention according to claim 6 on a computer.
JP2000150859A 2000-05-23 2000-05-23 Plate composition device, plate composition method and recording medium Pending JP2001331480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000150859A JP2001331480A (en) 2000-05-23 2000-05-23 Plate composition device, plate composition method and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000150859A JP2001331480A (en) 2000-05-23 2000-05-23 Plate composition device, plate composition method and recording medium

Publications (1)

Publication Number Publication Date
JP2001331480A true JP2001331480A (en) 2001-11-30

Family

ID=18656499

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000150859A Pending JP2001331480A (en) 2000-05-23 2000-05-23 Plate composition device, plate composition method and recording medium

Country Status (1)

Country Link
JP (1) JP2001331480A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009533744A (en) * 2006-04-13 2009-09-17 三星電子株式会社 XHTML data generation method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009533744A (en) * 2006-04-13 2009-09-17 三星電子株式会社 XHTML data generation method and apparatus

Similar Documents

Publication Publication Date Title
JP2547964B2 (en) View area layout on the graphic display screen
JP3429618B2 (en) Image layout device with image component clipping function
JP2003030259A (en) Cad system, design support program for cad system and designing method
JP2001331480A (en) Plate composition device, plate composition method and recording medium
JP3459153B2 (en) Image processing device
JP3658027B2 (en) Graphic editing apparatus and graphic editing method
CN113238749A (en) Working method of visual human-computer interaction design platform
JPH08190636A (en) Image editing and printing system
JPH0883172A (en) Supporting device for development of software
JP3150316B2 (en) Document editing device
JPH11250037A (en) Content editing device and recording medium
JP2971251B2 (en) SFC programming device
CN116225414A (en) Software visual rapid development system based on zero code
JP3004526U (en) Device for creating standard document including figures
JPH03250215A (en) Hierarchical menu editing screen display method and hierarchical menu editing device
JP3246952B2 (en) CAD processing method and apparatus
JP2001283140A (en) Device and method for preparing slip and storage medium
JP3135638B2 (en) Electronic touch panel definition body creation processing device
JPH08115437A (en) Graphic processor
JPH05241808A (en) Data file management system
JP3608921B2 (en) Line drawing processing method and apparatus, and recording medium on which program for executing the processing is recorded
JPH07253864A (en) Image controller
JPH07192032A (en) Cad equipment
JPH0773029A (en) Flow chart display system
JP2002008049A (en) Device and method for laying out page constituting parts, and recording medium