JPH09311857A - Document composing method, electronic composing device and recording medium - Google Patents

Document composing method, electronic composing device and recording medium

Info

Publication number
JPH09311857A
JPH09311857A JP8129821A JP12982196A JPH09311857A JP H09311857 A JPH09311857 A JP H09311857A JP 8129821 A JP8129821 A JP 8129821A JP 12982196 A JP12982196 A JP 12982196A JP H09311857 A JPH09311857 A JP H09311857A
Authority
JP
Japan
Prior art keywords
document
frame
document frame
frames
overlap
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
JP8129821A
Other languages
Japanese (ja)
Inventor
Masahiko Sakai
正彦 酒井
Kouei Kobayashi
宏栄 小林
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.)
Nippon Steel Corp
Original Assignee
Sumitomo Metal Industries 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 Sumitomo Metal Industries Ltd filed Critical Sumitomo Metal Industries Ltd
Priority to JP8129821A priority Critical patent/JPH09311857A/en
Publication of JPH09311857A publication Critical patent/JPH09311857A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To avoid the overlapping of document frames each other and the overlapping of an area fixed to arrange no document frame and a document frame each other by detecting them at the time of arranging the document frame in an editing area. SOLUTION: Setting information of the executing permission of an avoiding technique is prepared for every document frame to discriminate whether the document is superposed with a specific area (S3). At the time of discriminating overlapping (S5), the avoiding technique is selected and executed (S6) by referring to the setting information to discriminate the superposing of all the document frames with a specific area (S8). After then whether a document frame overlaps another document frame is discriminated and at the time of discriminating the overlapping, the avoiding technique is selected and executed by referring to previously fixed set information. After the overlapping of all the document frames and another document frame is discriminated, this processing is finished.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、文書を印刷すべき
領域を規定する文書枠をその配置を規定する配置情報に
従って配置することにより前記文書の組版を行う文書組
版方法並びにその方法の実施に使用する電子組版装置及
び記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document typesetting method for performing the typesetting of a document by arranging a document frame that defines an area where a document is to be printed according to placement information that defines the placement thereof, and a method for implementing the method. The present invention relates to an electronic typesetting device and a recording medium used.

【0002】[0002]

【従来の技術】電子組版装置は文書情報及び図形情報を
組合わせて電子的に作成された原稿の組版を行うもので
ある。この電子組版装置は文書情報,図形情報及び前記
文書情報の配置に係る配置情報の入力を受け付け、この
配置情報に従って一括して組版を行うための一括組版処
理機能を有する。
2. Description of the Related Art An electronic typesetting device is for typesetting an electronically created original by combining document information and graphic information. This electronic typesetting apparatus has a batch typesetting function for receiving input of document information, graphic information, and placement information relating to the placement of the document information, and performing typesetting collectively according to the placement information.

【0003】前記配置情報は、具体的には文書情報を構
成する文字情報毎の書体名,文字サイズ等を指定する情
報、及び文書情報毎にその文書情報を配置する領域即ち
文書枠のサイズ,行間,字間,書体名,文字サイズ,揃
え位置等を指定する情報並びに図形情報毎にその図形情
報の領域に文書枠を重ねて配置することを許可するか否
か等を指定する情報を有しており、オペレータが実際の
配置形態を想定して文書情報毎に適宜定めたものであ
る。
The layout information is, specifically, information for designating a typeface name, character size, etc. for each piece of character information constituting the document information, and an area for arranging the document information for each piece of document information, that is, the size of a document frame, There is information that specifies line spacing, character spacing, typeface name, character size, alignment position, etc., and information that specifies whether or not to allow overlapping of document frames for each figure information area. It is determined by the operator for each document information, assuming the actual arrangement form.

【0004】[0004]

【発明が解決しようとする課題】前述した従来の電子組
版装置の一括組版処理において、文書情報の配置に係る
配置情報は、配置形態を確認して定めたものではないの
で、実際に編集領域内に組版した場合、想定した配置形
態が得られるとは限らない。つまり、想定していなかっ
た文書枠同士の重なり又は文書枠を配置することを禁止
してある領域、例えば特定の図形情報領域若しくは編集
領域外の領域のいずれかと文書枠との重なりを生じるこ
とがある。このような場合、オペレータが適宜にこの重
なりを回避する処置、具体的には互いに重なる2つの領
域のいずれか一方を対象とするサイズ又は配置の変更指
定を行っていた。従って前述の如き重なりが多数生じた
場合、オペレータの手間が煩雑になるという問題があっ
た。
In the batch typesetting process of the above-mentioned conventional electronic typesetting apparatus, since the placement information relating to the placement of the document information is not determined by checking the placement form, it is actually stored in the editing area. When typesetting is done, the expected layout may not always be obtained. In other words, it is possible that an unexpected overlap of document frames or an area in which the placement of document frames is prohibited, for example, a specific graphic information area or an area outside the editing area may overlap with a document frame. is there. In such a case, the operator has appropriately given a measure for avoiding this overlap, specifically, a size or arrangement change designation targeting one of the two areas overlapping each other. Therefore, when a large number of overlaps as described above occur, there is a problem that the operator's labor becomes complicated.

【0005】本発明はかかる事情に鑑みてなされたもの
であって、編集領域内に文書を組版するに際し、文書枠
同士の重なり及び文書枠を配置することを禁止してある
領域と文書枠との重なりを検出し、これを回避する文書
組版方法並びにその方法の実施に使用する電子組版装置
及び記録媒体の提供を目的とする。
The present invention has been made in view of the above circumstances, and when the document is formatted in the editing area, the overlapping of the document frames and the arrangement of the document frames are prohibited. It is an object of the present invention to provide a document typesetting method for detecting the overlap of sheets and avoiding it, an electronic typesetting apparatus and a recording medium used for implementing the method.

【0006】[0006]

【課題を解決するための手段】第1発明に係る文書組版
方法は、文書毎に該文書を印刷すべき領域を規定する文
書枠を予め定めておき、該文書枠をその配置を規定する
配置情報に従って配置することにより、前記文書の組版
を行う文書組版方法において、文書枠の寸法を変更する
寸法変更処理又は文書枠の配置を変更する配置変更処理
を定めて、文書枠を配置情報に従って配置する時、文書
枠同士の重なり及び文書枠を配置することを禁止してあ
る領域と文書枠との重なりを検出し、重なりを回避する
処理を実行すべき文書枠を選択し、前記寸法変更処理又
は前記配置変更処理を前記文書枠に対して実行し、前記
重なりを回避することを特徴とする。
In the document composition method according to the first aspect of the present invention, a document frame defining an area in which the document is to be printed is defined in advance for each document, and the document frame is arranged to define the layout. By arranging according to the information, in the document composition method for composing the document, the dimension changing process for changing the size of the document frame or the arrangement changing process for changing the arrangement of the document frame is defined, and the document frame is arranged according to the arrangement information. When this happens, the overlap between the document frames and the overlap between the document frame and the area where the document frames are prohibited to be arranged are detected, and the document frame to execute the process for avoiding the overlap is selected, and the dimension changing process is performed. Alternatively, the arrangement changing process is executed on the document frame to avoid the overlap.

【0007】第2発明に係る文書組版方法は、文書毎に
該文書を印刷すべき領域を規定する文書枠を予め定めて
おき、該文書枠をその配置を規定する配置情報に従って
配置することにより、前記文書の組版を行う文書組版方
法において、文書枠の寸法を変更する寸法変更処理又は
文書枠の配置を変更する配置変更処理を定めて、文書枠
を配置情報に従って配置する時、文書枠同士の重なりを
検出し、互いに重なる2つの文書枠の一方を選択し、選
択した文書枠に前記寸法変更処理又は前記配置変更処理
を実行し、前記重なりが回避されなかったとき、他方の
文書枠に前記寸法変更処理又は前記配置変更処理を実行
し、前記重なりを回避することを特徴とする。
In the document composition method according to the second aspect of the present invention, a document frame defining an area in which the document is to be printed is determined in advance for each document, and the document frame is arranged according to the arrangement information defining the arrangement. In the document composition method for composition of the document, when the dimension modification processing for changing the dimension of the document frame or the layout modification processing for changing the layout of the document frame is determined and the document frames are arranged according to the arrangement information, Of the two document frames overlapping each other is detected, the dimension change process or the layout change process is executed on the selected document frame, and when the overlap is not avoided, the other document frame is selected. The dimension change process or the layout change process is executed to avoid the overlap.

【0008】第3発明に係る電子組版装置は、文書毎に
該文書を印刷すべき領域を規定する文書枠を予め定めて
おき、該文書枠をその配置を規定する配置情報に従って
配置することにより、前記文書の組版を行う電子組版装
置において、文書枠の寸法を変更する寸法変更処理又は
文書枠の配置を変更する配置変更処理を定める手段と、
文書枠同士の重なり及び文書枠を配置することを禁止し
てある領域と文書枠との重なりを検出する手段と、重な
りを回避する処理を実行すべき文書枠を選択する手段
と、前記寸法変更処理又は前記配置変更処理を前記文書
枠に対して実行し、前記重なりを回避する手段とを備え
ることを特徴とする。
In the electronic typesetting device according to the third aspect of the present invention, a document frame that defines an area in which the document is to be printed is determined in advance for each document, and the document frame is arranged according to the arrangement information that defines the arrangement. A means for defining a size changing process for changing the size of the document frame or a layout changing process for changing the layout of the document frame in the electronic typesetting device for typesetting the document;
A means for detecting the overlap between the document frames and the overlap between the document frame and the area in which the placement of the document frames is prohibited, a means for selecting a document frame for which processing for avoiding the overlap is executed, and the dimension change Means for executing the processing or the layout change processing on the document frame to avoid the overlap.

【0009】第4発明に係る電子組版装置は、文書毎に
該文書を印刷すべき領域を規定する文書枠を予め定めて
おき、該文書枠をその配置を規定する配置情報に従って
配置することにより、前記文書の組版を行う電子組版装
置において、文書枠の寸法を変更する寸法変更処理又は
文書枠の配置を変更する配置変更処理を定める手段と、
文書枠同士の重なりを検出する手段と、互いに重なる2
つの文書枠の一方を選択し、選択した文書枠に前記寸法
変更処理又は前記配置変更処理を実行する手段と、前記
重なりが回避されなかったとき、他方の文書枠に前記寸
法変更処理又は前記配置変更処理を実行する手段とを備
えることを特徴とする。
In the electronic typesetting device according to the fourth aspect of the present invention, a document frame defining an area in which the document is to be printed is predetermined for each document, and the document frame is arranged according to the arrangement information defining the arrangement. A means for defining a size changing process for changing the size of the document frame or a layout changing process for changing the layout of the document frame in the electronic typesetting device for typesetting the document;
A means for detecting the overlap between the document frames, and a means for overlapping the two.
Means for selecting one of the two document frames and executing the dimension changing process or the arrangement changing process on the selected document frame, and the dimension changing process or the arrangement for the other document frame when the overlap is not avoided. And means for executing a changing process.

【0010】第5発明に係る記録媒体は、文書毎に該文
書を印刷すべき領域を規定する文書枠を予め定めてお
き、該文書枠をその配置を規定する配置情報に従って配
置することにより、前記文書の組版を行うためのコンピ
ュータプログラムを記録してある記録媒体において、文
書枠の寸法を変更する寸法変更処理又は文書枠の配置を
変更する配置変更処理を定めるステップと、文書枠同士
の重なり及び文書枠を配置することを禁止してある領域
と文書枠との重なりを検出するステップと、重なりを回
避する処理を実行すべき文書枠を選択するステップと、
前記寸法変更処理又は前記配置変更処理を前記文書枠に
対して実行するステップとを含むコンピュータプログラ
ムを記録してあることを特徴とする。
In the recording medium according to the fifth aspect of the present invention, a document frame defining an area in which the document is to be printed is predetermined for each document, and the document frame is arranged according to the arrangement information defining the arrangement of the document frame. In a recording medium in which a computer program for typesetting the document is recorded, a step of defining a dimension changing process for changing the dimensions of the document frame or a placement changing process for changing the arrangement of the document frame, and the overlapping of the document frames. And a step of detecting an overlap between a document frame and an area in which the placement of the document frame is prohibited, and a step of selecting a document frame for which processing for avoiding the overlap is executed,
And a step of executing the dimension changing process or the arrangement changing process on the document frame.

【0011】以下に文書枠同士の重なり状態を回避する
手法を説明する。図6、図7、図8及び図9は文書枠の
配置状態を示す説明図である。図6(a)において201 は
文書枠を配置するための矩形状の編集領域である。編集
領域201内にはオペレータにより予め定められた設定情
報に従って矩形状の文書枠202,203 が配置されている。
図に示すように文書枠202 の右下部分が文書枠203 と重
なっている。そこで文書枠202 の文書情報の一行当たり
の文字数を少なくする (図6(b))。これを改行位置変更
という。これにより文書枠202 の横寸法が短くなって、
重なり状態が回避される。
A method for avoiding the overlapping state of document frames will be described below. 6, FIG. 7, FIG. 8 and FIG. 9 are explanatory views showing the arrangement state of the document frame. In FIG. 6A, 201 is a rectangular edit area for arranging a document frame. In the editing area 201, rectangular document frames 202, 203 are arranged according to setting information predetermined by the operator.
As shown in the figure, the lower right part of the document frame 202 overlaps with the document frame 203. Therefore, the number of characters per line of the document information in the document frame 202 is reduced (Fig. 6 (b)). This is called a line break position change. This shortens the horizontal dimension of the document frame 202,
Overlapping conditions are avoided.

【0012】図7(a) に示すように編集領域201 内にお
いて文書枠202 の右下部分が文書枠203 と重なっている
とき、文書枠202 の縦寸法はそのままにその横寸法だけ
を短くする (図7(b))。具体的には文書枠の文字, 約物
(文字・数字以外の記号) の横寸法の短縮によって目的
を達する。また横組みのときは字間の短縮、縦組みのと
きは行間の短縮もその手段の1つである。これらのこと
を横縮小という。横縮小により文書枠202 の横寸法が短
くなって、重なり状態が回避される。
As shown in FIG. 7A, when the lower right portion of the document frame 202 overlaps with the document frame 203 in the editing area 201, the vertical dimension of the document frame 202 is left unchanged and only its horizontal dimension is shortened. (Fig. 7 (b)). Specifically, the characters in the document frame, punctuation marks
Achieve the purpose by shortening the lateral dimension (symbols other than letters and numbers). One of the means is to shorten the space between letters in horizontal writing mode and shorten the space between lines in vertical writing mode. These things are called horizontal reduction. The horizontal reduction shortens the horizontal dimension of the document frame 202 to avoid the overlapping state.

【0013】図8(a) に示すように編集領域201 内にお
いて矩形状の文書枠205 が文書枠202 の左下部分と重な
って配置されているとき、文書枠202 の横寸法はそのま
まにその縦寸法だけを短くする (図8(b))。具体的には
文書枠の文字, 約物の縦寸法の短縮によって目的を達す
る。また横組みのときは行間の短縮、縦組みのときは字
間の短縮もその手段の1つである。これらのことを縦縮
小という。縦縮小により文書枠202 の縦寸法が短くなっ
て、重なり状態が回避される。
As shown in FIG. 8A, when a rectangular document frame 205 is arranged in the editing area 201 so as to overlap with the lower left portion of the document frame 202, the horizontal dimension of the document frame 202 remains unchanged. Shorten only the dimensions (Fig. 8 (b)). Specifically, the objective is achieved by shortening the vertical dimension of the letters and punctuation marks in the document frame. Also, shortening the line spacing in horizontal writing mode and shortening the character spacing in vertical writing mode are one of the means. These are called vertical reduction. The vertical reduction shortens the vertical dimension of the document frame 202 to avoid the overlapping state.

【0014】図9(a) に示すように編集領域201 内にお
いて文書枠202 の右下部分が文書枠203 と重なっている
とき、文書枠202 の位置を現在の位置から左下へ移動さ
せる(図9(b))。これを文書枠移動という。こうするこ
とにより文書枠202 の重なり状態が回避される。なお原
稿を横組みする場合はこの例のように文書枠を左下へ移
動させ、縦組みする場合は左上へ移動させる。以上の重
なりを回避する手法のうち、改行位置変更、横縮小及び
縦縮小は寸法変更処理に対応し、また文書枠移動は配置
変更処理に対応する。これらの処理それぞれの実行許可
/不許可を適宜予め設定し電子組版装置に記憶させてお
く。
As shown in FIG. 9A, when the lower right part of the document frame 202 overlaps with the document frame 203 in the editing area 201, the position of the document frame 202 is moved from the current position to the lower left (Fig. 9 (b)). This is called document frame movement. By doing so, the overlapping state of the document frames 202 is avoided. It should be noted that the document frame is moved to the lower left as in this example when the document is horizontally set, and is moved to the upper left when it is vertically set. Among the above methods of avoiding overlap, line feed position change, horizontal reduction, and vertical reduction correspond to dimension change processing, and document frame movement corresponds to layout change processing. Execution permission / non-permission of each of these processes is appropriately set in advance and stored in the electronic typesetting device.

【0015】表1は前述の寸法変更処理及び配置変更処
理(以下これらを重なり状態回避処理という)の実行許
可/不許可の設定情報を例示する表である。
Table 1 is a table exemplifying setting information of permission / non-permission of execution of the above-mentioned dimension change processing and arrangement change processing (hereinafter, these are referred to as overlapping state avoidance processing).

【0016】[0016]

【表1】 [Table 1]

【0017】表において行の項目は上から順に前記寸法
変更処理及び前記配置変更処理の実行許可/不許可の指
定及び寸法変更処理即ち改行位置変更、横縮小、縦縮小
のそれぞれの実行許可/不許可の指定並びに配置変更処
理即ち文書枠移動の実行許可/不許可の指定を定めてあ
る。また表の列の項目には対象文書枠を割当ててあっ
て、行のそれぞれの項目について全文書枠一律の設定情
報と文書枠毎の設定情報とを表している。
In the table, line items are designated from the top in order of permitting / disallowing execution of the dimension changing process and the layout changing process and dimension changing process, that is, permitting / inhibiting execution of each of line feed position change, horizontal reduction, and vertical reduction. The permission is specified and the arrangement change process, that is, the permission / non-permission of execution of the document frame movement is defined. Further, target document frames are assigned to the items in the columns of the table, and the setting information for all the document frames and the setting information for each document frame are represented for each item in the row.

【0018】設定情報は同一文書枠に対して全文書枠一
律の設定情報と文書枠毎の設定情報との2通りある。こ
れによって重なり状態回避処理の対象として全文書枠又
は所定文書枠のどちらかを選択することができる。横縮
小の欄には文書枠の重なり状態を検出した場合に、この
重なり状態を回避するために前述の横縮小の手法を採用
するときのその横寸法の変更前に対する変更後の比率の
設定を表す。また比率ではなく変更後の横寸法そのもの
を設定することもある。縦縮小の欄も横縮小と同様に縦
縮小の手法を採用するときのその縦寸法の変更前に対す
る変更後の比率または変更後の縦寸法そのものを設定す
る。以上のような重なり状態回避処理の実行許可/不許
可の設定情報を電子組版装置に記憶させておき、文書枠
の重なり状態を検出したとき、前記設定情報に基づき処
理を選択、実行して前記重なり状態を回避するのであ
る。
There are two types of setting information: setting information that is uniform for all document frames and setting information for each document frame for the same document frame. As a result, either the entire document frame or the predetermined document frame can be selected as the target of the overlapping state avoidance process. In the horizontal reduction column, when the overlapping state of the document frames is detected, set the ratio of the horizontal dimension before change to that before changing the horizontal dimension in order to avoid this overlapping state. Represent Also, the horizontal dimension after change may be set instead of the ratio. Similarly to horizontal reduction, the vertical reduction column sets the ratio of the changed vertical dimension to that before the change or the changed vertical dimension itself when adopting the vertical reduction method. The setting information for enabling / disabling the execution of the overlapping state avoiding process as described above is stored in the electronic typesetting device, and when the overlapping state of the document frames is detected, the process is selected and executed based on the setting information, and It avoids the overlapping state.

【0019】[0019]

【発明の実施の形態】以下に本発明をその実施例を示す
図面に基づき説明する。図5は本発明に係る電子組版装
置のブロック図である。図において101 はキーボード,
マウス等を用いてなる入力装置である。入力装置101 は
オペレータが入力する以下の情報、即ち配置すべき文書
情報及びその配置に係る配置情報並びに重なり状態回避
処理の設定情報を演算装置102 へ与える。演算装置102
は汎用コンピュータを用いてなる電子組版装置の制御部
であって、本発明に係る文書組版方法を実施するプログ
ラムの記憶領域及び前記プログラムの実行に必要な作業
領域を有している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings showing embodiments thereof. FIG. 5 is a block diagram of an electronic typesetting device according to the present invention. In the figure, 101 is a keyboard,
It is an input device using a mouse or the like. The input device 101 provides the arithmetic device 102 with the following information input by the operator, that is, document information to be arranged, arrangement information related to the arrangement, and setting information for overlapping state avoidance processing. Arithmetic device 102
Is a control unit of an electronic typesetting apparatus using a general-purpose computer, and has a storage area of a program for implementing the document typesetting method according to the present invention and a work area necessary for executing the program.

【0020】演算装置102 は前記プログラムを実行し、
その結果をモニタ, プリンタ等を用いてなる出力装置10
3 へ与える。また演算装置102 は前記プログラム若しく
は前記文書情報または前記配置情報を記録するためのデ
ィスク105 に装填してその情報の読出し又は書込みを行
うためのディスク装置104 と接続している。
The arithmetic unit 102 executes the program,
The output device 10 that uses the monitor and printer
Give to 3. Further, the arithmetic unit 102 is connected to a disc device 104 for loading the disc 105 for recording the program, the document information or the arrangement information and reading or writing the information.

【0021】図1、図2は本発明に係る文書組版処理手
順を示すフローチャートである。処理の開始に先立って
入力装置101 から配置すべき複数の文書情報及びこの文
書情報を配置する領域即ち文書枠のサイズ (縦寸法及び
横寸法) 、その位置を含む配置情報並びに文書情報を配
置すべき編集領域のサイズ及び図形情報の領域のサイ
ズ、その位置の入力を受け付けて、これらを演算装置10
2 の作業領域に予め記憶しておく。また入力装置101 か
ら前記文書情報に前述の如く重なり状態回避処理の実行
許可/不許可の設定情報の入力を受け付けて同様に演算
装置102 の作業領域に記憶しておく。
1 and 2 are flow charts showing a document typesetting processing procedure according to the present invention. Prior to the start of processing, a plurality of pieces of document information to be arranged from the input device 101 and the size (vertical dimension and horizontal dimension) of the area in which this document information is arranged, that is, the document frame, and the arrangement information including that position and the document information are arranged. The size of the editing area to be edited, the size of the area of the graphic information, and the input of the position are accepted, and these are calculated.
It is stored in advance in the second work area. Further, the input of the setting information of the permission / non-permission of execution of the overlapping state avoidance processing from the input device 101 to the document information as described above is received and similarly stored in the work area of the arithmetic device 102.

【0022】前記編集領域はその左上隅を原点とする矩
形状の領域であって、原点から水平右方向をX軸の正方
向とし、原点から垂直下方向をY軸の正方向とする。以
下に示す処理手順によってこの編集領域に受け付けた文
書情報を横組みする。まず文書枠をその位置に応じてY
座標の昇順 (小さい順) にソートする(S1)。次いでY座
標が同じ文書枠をX座標の昇順にソートする(S2)。そし
てソート順の先頭の文書枠が文書枠の非配置を定めた特
定領域, 具体的には図形情報領域又は編集領域外の領域
と重なるか否かを公知の検査手法を用いて検査し(S3)、
重なると判別した場合(S5)、この文書枠に対して重なり
を回避すべく後述の如く重なり状態回避処理を行う(S
6)。これらの処理の結果、他の文書枠との重なりが生じ
たときはこれを後述する座標調整処理によって回避する
(S7)。
The edit area is a rectangular area whose origin is at the upper left corner, and the horizontal right direction from the origin is the positive direction of the X axis, and the vertical downward direction from the origin is the positive direction of the Y axis. The document information received in this editing area is horizontally set by the following processing procedure. First, set the document frame to Y depending on its position.
Sort in ascending order (smallest order) of coordinates (S1). Then, the document frames having the same Y coordinate are sorted in ascending order of the X coordinate (S2). Then, it is inspected by using a known inspection method whether or not the first document frame in the sort order overlaps a specific region in which the document frame is not arranged, specifically, a region outside the graphic information region or the editing region (S3 ),
When it is determined that they overlap (S5), overlap state avoidance processing is performed on this document frame as described below to avoid the overlap (S5).
6). As a result of these processes, when an overlap with another document frame occurs, this is avoided by the coordinate adjustment process described later.
(S7).

【0023】S7の座標調整処理後又はS5において重なる
と判別しなかった場合は全ての文書枠を検査し終えたか
否かを判別する(S8)。未検査の文書枠が存在するときは
次の文書枠が特定領域と重なるか否かを検査する(S4)。
以降、S5に処理を移し前述したステップを繰り返し、全
ての文書枠に対する検査が終了した時点で新しいステッ
プS9に移る。即ち、ソート順の先頭の文書枠が他の文書
枠と重なるか否かを公知の検査手法を用いて検査し(S
9)、重なると判別した場合(S11) 、この文書枠に対して
重なりを回避すべく後述する重なり状態回避処理を行う
(S6)。
After the coordinate adjustment processing of S7 or when it is not determined that they overlap in S5, it is determined whether or not all the document frames have been inspected (S8). If there is an uninspected document frame, it is inspected whether or not the next document frame overlaps the specific area (S4).
After that, the process moves to S5 and the above steps are repeated. When the inspection for all the document frames is completed, the process moves to a new step S9. That is, whether or not the first document frame in the sort order overlaps with other document frames is inspected using a known inspection method (S
9) If it is determined that they overlap (S11), the overlap state avoidance process described later is performed to avoid the overlap for this document frame.
(S6).

【0024】これらの処理の結果、他の文書枠との重な
りが生じたときは、これを後述する座標調整処理によっ
て回避する(S7)。S7の座標調整処理後又はS11 において
重なると判別しなかった場合は全ての文書枠を検査し終
えたか否かを判別する(S14)。未検査の文書枠が存在す
るときは次の文書枠が他の文書枠と重なるか否かを検査
する(S10) 。以降、S11 に処理を移し前述したステップ
を繰り返し、全ての文書枠に対する検査が終了した時点
で文書組版処理を終了する。
As a result of these processes, when an overlap with another document frame occurs, this is avoided by the coordinate adjustment process described later (S7). After the coordinate adjustment processing of S7 or when it is not determined that they overlap in S11, it is determined whether or not all the document frames have been inspected (S14). If there is an uninspected document frame, it is inspected whether the next document frame overlaps another document frame (S10). After that, the processing is moved to S11 and the above steps are repeated, and the document typesetting processing is ended when the inspection for all the document frames is completed.

【0025】図3はS6における重なり状態回避処理の処
理手順を示すフローチャートである。処理手順の中で現
在注目しているある文書枠 (以下第1文書枠という) と
他の文書枠又は特定領域 (以下第2文書枠という) とが
重なっていることを判別したとき、まず前述の如き重な
り状態回避処理の設定情報を参照して第1文書枠に係る
採用可能な回避手法が存在するか否かを判別する(S61)
。存在すると判別した場合は第1文書枠にその回避手
法を施し(S62) 、重なり状態が回避されなかったとき(S
63) 、今度は第2文書枠に係る採用可能な回避手法が存
在するか否かを判別する(S64) 。なおこのとき、特定領
域には回避手法を定めず、その寸法及び位置は固定して
おくものとする。またS61 において第1文書枠に係る採
用可能な回避手法が存在しない場合もS64 へ処理を移
す。S64 において第2文書枠に係る採用可能な回避手法
が存在する場合は第2文書枠にその回避手法を施す(S6
5) 。
FIG. 3 is a flowchart showing the processing procedure of the overlapping state avoidance processing in S6. When it is determined in the processing procedure that a certain document frame (hereinafter referred to as the first document frame) that is currently focused on overlaps with another document frame or a specific area (hereinafter referred to as the second document frame), first, It is determined whether or not there is an adoptable avoidance method related to the first document frame by referring to the setting information of the overlapping state avoidance process such as (S61).
. If it is determined that they exist, the avoidance method is applied to the first document frame (S62), and when the overlapping state is not avoided (S62).
63) Then, it is determined whether there is an avoidable method that can be adopted for the second document frame (S64). At this time, the avoidance method is not set for the specific area, and the size and position of the specific area are fixed. If there is no adoptable avoidance method related to the first document frame in S61, the process proceeds to S64. If there is an avoidable method applicable to the second document frame in S64, the avoidance method is applied to the second document frame (S6
Five) .

【0026】それでもなお重なり状態が回避されなかっ
たとき(S66) 、再び第1文書枠に係る採用可能な他の回
避手法が存在するか否かを判別し(S67) 、存在すると判
別した場合はS62 へ処理を戻し、前述したステップを繰
り返す。またS64 において第2文書枠に係る採用可能な
回避手法が存在しないと判別した場合もS67 へ処理を移
す。
If the overlapping state is still not avoided (S66), it is again determined whether or not there is another avoidable method applicable to the first document frame (S67). The process returns to S62 and the above steps are repeated. Also, if it is determined in S64 that there is no applicable avoidance method for the second document frame, the process proceeds to S67.

【0027】S67 において第1文書枠に係る採用可能な
他の回避手法が存在しないと判別した場合、今度は第2
文書枠に係る採用可能な他の回避手法が存在するか否か
を判別し(S68) 、存在すると判別した場合はS65 へ処理
を戻し、前述したステップを繰り返す。S68 において第
2文書枠に係る採用可能な他の回避手法が存在しないと
判別した場合、又はS63 及びS66 において重なり状態が
回避されたと判別した場合、重なり状態回避処理手順を
終了し、呼出し元へ処理を戻す。以上のように第1文書
枠に係る採用可能な回避手法と第2文書枠に係る採用可
能な回避手法とを交互に1つずつ選択し、実行して重な
り状態を回避するのである。
If it is determined in S67 that there is no other avoidable method applicable to the first document frame, then the second document frame is selected.
It is determined whether or not there is another adoptable avoidance method related to the document frame (S68). If it is determined that there is another avoidance method, the process returns to S65 and the above steps are repeated. If it is determined in S68 that there is no other avoidable method applicable to the second document frame, or if it is determined in S63 and S66 that the overlapping state is avoided, the overlapping state avoidance processing procedure is terminated and the caller is called. Return processing. As described above, the avoidable method applicable to the first document frame and the avoidable method applicable to the second document frame are alternately selected one by one and executed to avoid the overlapping state.

【0028】図4はS7における座標調整処理手順を示す
フローチャートである。座標調整処理は前述した重なり
状態回避処理の後、重なり状態が回避されたか否かに係
わらず行う。まず重なり状態回避処理後の第1文書枠の
横寸法の範囲を影響範囲と確定する(S71) 。次いでこの
影響範囲の領域と重なる文書枠 (以下第3文書枠とい
う) が存在するか否かを判別する(S72) 。第3文書枠が
存在すると判別した場合、これらを一括して第1文書枠
と重ならなくなるまで下方へ移動させた後(S73) 、呼出
し元へ処理を戻す。第3文書枠が存在しないと判別した
場合は何も行わずに呼出し元へ処理を戻す。
FIG. 4 is a flowchart showing the coordinate adjustment processing procedure in S7. The coordinate adjusting process is performed after the above-described overlapping state avoiding process regardless of whether or not the overlapping state is avoided. First, the range of the lateral dimension of the first document frame after the overlapping state avoidance process is determined as the affected range (S71). Next, it is determined whether or not there is a document frame (hereinafter, referred to as a third document frame) that overlaps the area of the influence range (S72). If it is determined that the third document frame is present, these are collectively moved downward until they do not overlap the first document frame (S73), and then the process is returned to the calling source. If it is determined that the third document frame does not exist, nothing is done and the process is returned to the calling source.

【0029】[0029]

【発明の効果】以上のように本発明によれば、配置すべ
き文書情報を印刷する領域を規定する文書枠に予め重な
り状態の回避手法を実行する寸法変更処理及び配置変更
処理を設定しておき、文書枠同士の重なり又は文書枠の
非配置を定めた領域と文書枠との重なりを検出する都
度、前記設定を参照して回避手法を選択、実行して重な
り状態を回避することにより、オペレータが重なり状態
の回避処理を行う手間を省くことができる。
As described above, according to the present invention, the dimension change processing and the arrangement change processing for executing the overlapping state avoiding method are set in advance in the document frame defining the area for printing the document information to be arranged. Every time, every time it detects the overlap between the document frames or the overlap between the document frame and the area that defines the non-arrangement of the document frames, the avoidance method is selected and executed by referring to the setting, thereby avoiding the overlap state. It is possible to save the operator the trouble of performing the avoidance processing of the overlapping state.

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

【図1】本発明に係る文書組版処理手順を示すフローチ
ャートである。
FIG. 1 is a flowchart showing a document typesetting processing procedure according to the present invention.

【図2】本発明に係る文書組版処理手順を示すフローチ
ャートである。
FIG. 2 is a flowchart showing a document typesetting process procedure according to the present invention.

【図3】重なり状態回避処理の処理手順を示すフローチ
ャートである。
FIG. 3 is a flowchart showing a processing procedure of an overlapping state avoidance process.

【図4】座標調整処理手順を示すフローチャートであ
る。
FIG. 4 is a flowchart showing a coordinate adjustment processing procedure.

【図5】電子組版装置のブロック図である。FIG. 5 is a block diagram of an electronic typesetting device.

【図6】文書枠の配置状態を示す説明図である。FIG. 6 is an explanatory diagram showing an arrangement state of document frames.

【図7】文書枠の配置状態を示す説明図である。FIG. 7 is an explanatory diagram showing an arrangement state of document frames.

【図8】文書枠の配置状態を示す説明図である。FIG. 8 is an explanatory diagram showing an arrangement state of document frames.

【図9】文書枠の配置状態を示す説明図である。FIG. 9 is an explanatory diagram showing an arrangement state of document frames.

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

101 入力装置 102 演算装置 103 出力装置 104 ディスク装置 105 ディスク 101 Input device 102 Arithmetic device 103 Output device 104 Disk device 105 Disk

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 文書毎に該文書を印刷すべき領域を規定
する文書枠を予め定めておき、該文書枠をその配置を規
定する配置情報に従って配置することにより、前記文書
の組版を行う文書組版方法において、 文書枠の寸法を変更する寸法変更処理又は文書枠の配置
を変更する配置変更処理を定めて、文書枠を配置情報に
従って配置する時、文書枠同士の重なり及び文書枠を配
置することを禁止してある領域と文書枠との重なりを検
出し、重なりを回避する処理を実行すべき文書枠を選択
し、前記寸法変更処理又は前記配置変更処理を前記文書
枠に対して実行し、前記重なりを回避することを特徴と
する文書組版方法。
1. A document for typesetting the document by predefining a document frame defining an area in which the document is to be printed for each document and arranging the document frame in accordance with layout information defining the layout of the document frame. In the typesetting method, when the size change process for changing the size of the document frame or the change process for changing the position of the document frame is defined and the document frames are arranged according to the arrangement information, the document frames are overlapped and the document frames are arranged. The overlap between the prohibited area and the document frame is detected, the document frame for which the process for avoiding the overlap is to be executed is selected, and the dimension change process or the layout change process is executed for the document frame. A document typesetting method characterized by avoiding the overlap.
【請求項2】 文書毎に該文書を印刷すべき領域を規定
する文書枠を予め定めておき、該文書枠をその配置を規
定する配置情報に従って配置することにより、前記文書
の組版を行う文書組版方法において、 文書枠の寸法を変更する寸法変更処理又は文書枠の配置
を変更する配置変更処理を定めて、文書枠を配置情報に
従って配置する時、文書枠同士の重なりを検出し、互い
に重なる2つの文書枠の一方を選択し、選択した文書枠
に前記寸法変更処理又は前記配置変更処理を実行し、前
記重なりが回避されなかったとき、他方の文書枠に前記
寸法変更処理又は前記配置変更処理を実行し、前記重な
りを回避することを特徴とする文書組版方法。
2. A document for typesetting the document by predefining a document frame defining an area in which the document is to be printed for each document and arranging the document frame in accordance with layout information defining the layout of the document frame. In the typesetting method, when the size change process for changing the size of the document frame or the change process for changing the position of the document frame is defined and the document frames are arranged according to the arrangement information, the overlapping of the document frames is detected and they overlap each other. When one of the two document frames is selected, the dimension change process or the layout change process is performed on the selected document frame, and when the overlap is not avoided, the dimension change process or the layout change is performed on the other document frame. A document typesetting method characterized by executing processing to avoid the overlap.
【請求項3】 文書毎に該文書を印刷すべき領域を規定
する文書枠を予め定めておき、該文書枠をその配置を規
定する配置情報に従って配置することにより、前記文書
の組版を行う電子組版装置において、 文書枠の寸法を変更する寸法変更処理又は文書枠の配置
を変更する配置変更処理を定める手段と、 文書枠同士の重なり及び文書枠を配置することを禁止し
てある領域と文書枠との重なりを検出する手段と、 重なりを回避する処理を実行すべき文書枠を選択する手
段と、 前記寸法変更処理又は前記配置変更処理を前記文書枠に
対して実行し、前記重なりを回避する手段とを備えるこ
とを特徴とする電子組版装置。
3. An electronic device for formatting a document by predefining a document frame defining an area in which the document is to be printed for each document and arranging the document frame in accordance with layout information defining the layout of the document frame. In the typesetting device, means for determining the size change processing for changing the size of the document frame or the layout change processing for changing the arrangement of the document frames, and the area and the document which are prohibited from overlapping the document frames and arranging the document frames A means for detecting an overlap with a frame, a means for selecting a document frame for which a process for avoiding an overlap is executed, and the dimension change process or the layout change process for the document frame to avoid the overlap An electronic typesetting device comprising:
【請求項4】 文書毎に該文書を印刷すべき領域を規定
する文書枠を予め定めておき、該文書枠をその配置を規
定する配置情報に従って配置することにより、前記文書
の組版を行う電子組版装置において、 文書枠の寸法を変更する寸法変更処理又は文書枠の配置
を変更する配置変更処理を定める手段と、 文書枠同士の重なりを検出する手段と、 互いに重なる2つの文書枠の一方を選択し、選択した文
書枠に前記寸法変更処理又は前記配置変更処理を実行す
る手段と、 前記重なりが回避されなかったとき、他方の文書枠に前
記寸法変更処理又は前記配置変更処理を実行する手段と
を備えることを特徴とする電子組版装置。
4. An electronic device for formatting a document by predefining a document frame for defining an area in which the document is to be printed for each document and arranging the document frame in accordance with layout information defining the layout of the document frame. In the typesetting device, a means for determining a size changing process for changing the size of the document frame or a layout changing process for changing the arrangement of the document frames, a means for detecting an overlap between the document frames, and one of the two document frames overlapping each other are provided. Means for executing the dimension changing process or the arrangement changing process on the selected document frame, and means for executing the dimension changing process or the arrangement changing process on the other document frame when the overlap is not avoided. An electronic typesetting device comprising:
【請求項5】 文書毎に該文書を印刷すべき領域を規定
する文書枠を予め定めておき、該文書枠をその配置を規
定する配置情報に従って配置することにより、前記文書
の組版を行うためのコンピュータプログラムを記録して
ある記録媒体において、 文書枠の寸法を変更する寸法変更処理又は文書枠の配置
を変更する配置変更処理を定めるステップと、 文書枠同士の重なり及び文書枠を配置することを禁止し
てある領域と文書枠との重なりを検出するステップと、 重なりを回避する処理を実行すべき文書枠を選択するス
テップと、 前記寸法変更処理又は前記配置変更処理を前記文書枠に
対して実行するステップとを含むコンピュータプログラ
ムを記録してあることを特徴とする記録媒体。
5. A document frame for defining an area in which the document is to be printed is predetermined for each document, and the document frame is arranged in accordance with arrangement information that defines the arrangement of the document frame. In a recording medium in which the computer program described in 1 above is recorded, a step of defining a dimension changing process for changing the dimensions of the document frame or a placement changing process for changing the arrangement of the document frames, and the overlapping of the document frames and the arrangement of the document frames. The step of detecting the overlap between the prohibited area and the document frame, the step of selecting the document frame in which the process of avoiding the overlap is executed, and the dimension change process or the layout change process for the document frame. A recording medium having recorded therein a computer program including steps to be executed.
JP8129821A 1996-05-24 1996-05-24 Document composing method, electronic composing device and recording medium Pending JPH09311857A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8129821A JPH09311857A (en) 1996-05-24 1996-05-24 Document composing method, electronic composing device and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8129821A JPH09311857A (en) 1996-05-24 1996-05-24 Document composing method, electronic composing device and recording medium

Publications (1)

Publication Number Publication Date
JPH09311857A true JPH09311857A (en) 1997-12-02

Family

ID=15019063

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8129821A Pending JPH09311857A (en) 1996-05-24 1996-05-24 Document composing method, electronic composing device and recording medium

Country Status (1)

Country Link
JP (1) JPH09311857A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006154887A (en) * 2004-11-25 2006-06-15 Canon Inc Graphic preparing device and method, recording medium, and program
US7468805B2 (en) 2003-10-15 2008-12-23 Canon Kabushiki Kaisha Selective preview and proofing of documents or layouts containing variable data
US7703011B2 (en) 2005-11-14 2010-04-20 Seiko Epson Corporation Digital content creation system, digital content creation method, and program product
US7900139B2 (en) 2005-03-04 2011-03-01 Canon Kabushiki Kaisha Layout control apparatus, layout control method, and layout control program
JP2019130734A (en) * 2018-01-30 2019-08-08 カシオ計算機株式会社 Printing system, terminal device, printer, printing method and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7468805B2 (en) 2003-10-15 2008-12-23 Canon Kabushiki Kaisha Selective preview and proofing of documents or layouts containing variable data
JP2006154887A (en) * 2004-11-25 2006-06-15 Canon Inc Graphic preparing device and method, recording medium, and program
US7900139B2 (en) 2005-03-04 2011-03-01 Canon Kabushiki Kaisha Layout control apparatus, layout control method, and layout control program
US7703011B2 (en) 2005-11-14 2010-04-20 Seiko Epson Corporation Digital content creation system, digital content creation method, and program product
JP2019130734A (en) * 2018-01-30 2019-08-08 カシオ計算機株式会社 Printing system, terminal device, printer, printing method and program

Similar Documents

Publication Publication Date Title
KR860001071B1 (en) Method for editing document
EP0929184A2 (en) Automatic image layout method and system
JPH09311857A (en) Document composing method, electronic composing device and recording medium
JPH0388087A (en) Document reader
JP3858316B2 (en) Member layout method in NC fusing
JP3270274B2 (en) Evaluation support system
JPH06282401A (en) Menu display method
JPH08202856A (en) Picture processing method
JP2001195432A (en) Cad system
JPH09305782A (en) Layout method for electronic plate setting device, electronic plate setting device and recording medium
JPH02274454A (en) Cad/cam device
JP2635311B2 (en) Document processing device
JPH07110753A (en) Picture display controller
JPH08293033A (en) Information processor
JP2699386B2 (en) Image recording device
JP2789982B2 (en) CAD / CAM equipment
JP2670469B2 (en) Document processing method
JPH0939199A (en) Registering mark printing device, document processing device and recording medium
JPH07271771A (en) Tabulation editing device
JPH06208355A (en) Data editing device
JP3764096B2 (en) Printed circuit board design apparatus and method, and program for executing the method
JPH0194387A (en) Document editing system
JP2002157573A (en) Method for correcting inclination of drawing file, filing method and medium for storing its program
JPH07191721A (en) Device for preparing nc data for sheet metal working
JPS6310433B2 (en)