JPH08221411A - Document preparation processor - Google Patents

Document preparation processor

Info

Publication number
JPH08221411A
JPH08221411A JP7025543A JP2554395A JPH08221411A JP H08221411 A JPH08221411 A JP H08221411A JP 7025543 A JP7025543 A JP 7025543A JP 2554395 A JP2554395 A JP 2554395A JP H08221411 A JPH08221411 A JP H08221411A
Authority
JP
Japan
Prior art keywords
character
area
character frame
frame
frames
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
JP7025543A
Other languages
Japanese (ja)
Inventor
Masahiko Sakai
正彦 酒井
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 JP7025543A priority Critical patent/JPH08221411A/en
Publication of JPH08221411A publication Critical patent/JPH08221411A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE: To improve the degree of freedom for rearrangement processing or the like to a superimposed part by excluding a character string in the character frame of the superimposed part, inputting and storing information on the range to be rearranged. CONSTITUTION: When the 'execution' of exclusion and the 'execution' of save are set to respective character frames A and B, a CPU judges whether the superimposed part exists in the character frames A and B and when it is judged that a superimposed part exists, display conditions at the superimposed part of the character frames A and B is set like (a). When the 'execution' of exclusion and the 'execution' of save are set for the character frame A as the respective attributes of the character frames A and B and the 'execution' of exclusion and the 'non-execution' of save are set for the character frame B, the CPU judges whether the superimposed part exists in the character frames A and B or not and when it is judged that the superimposed part exists, the display conditions of the character string at the superimposed part of both the character frames A and B are set like (b). In this case, the state in which the character string in the character frame A is excluded and the character string in the character frame B is displayed, are provided.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は文書の作成,編集を行う
過程で文字枠同士又は文字枠と図形とが重畳している場
合に、重畳部分の文字列を再配置することが可能な文書
作成処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is a document in which a character string in a superposed portion can be rearranged when character frames or character frames and figures overlap each other in the process of creating and editing a document. Creation processing device.

【0002】[0002]

【従来の技術】コンピュータを用いて文書の作成,編集
処理を行なう電子編集システム、所謂DTP(ディスクトッ
プ・パブリッシング) 技術は飛躍的な進歩をとげつつあ
る。このDTP 技術において、或る文字組のページを作成
する場合、文書を展開すべき文字枠内に文字をレイアウ
トする過程で文字枠を移動し、また回転させる必要が生
じた場合、他の文字枠組, 図形等と重畳し、他の文字枠
内の文字, 図形を覆い隠すこととなることがまま発生す
る。このような場合、通常覆い隠される側の文字枠内の
文字列又は覆い隠す側の文字枠内の文字列を再配置す
る。この再配置すべき文字列を決定する手段として、従
来にあってはオペレータがその都度覆い隠される側の文
字枠を手動操作によって移動し、ここに文字列を移し、
また隠される側の文字枠の文字列を隠す側の文字枠を避
ける態様で再配置することが行われている(特開平4−
127356号公報) 。
2. Description of the Related Art An electronic editing system for creating and editing documents using a computer, a so-called DTP (desktop publishing) technology, is making great progress. In this DTP technology, when creating a page of a certain character set, if it is necessary to move or rotate the character frame in the process of laying out the character in the character frame where the document should be expanded, another character frame Therefore, it sometimes happens that the characters and figures in other character frames are overlaid by overlapping with the figures and the like. In such a case, the character string in the character frame on the normally covered side or the character string in the character frame on the covered side is rearranged. As a means for determining the character string to be rearranged, in the conventional case, the operator manually moves the character frame on the covered side each time, and moves the character string here.
Further, rearrangement is performed such that the character string of the hidden character frame is avoided in a manner of avoiding the hidden character frame (Japanese Patent Laid-Open No. Hei 4-
No. 127356).

【0003】[0003]

【発明が解決しようとする課題】しかし前者の方法はオ
ペレータの負担が大きく多くの手間と時間を要すること
となり、また後者の方法は予め定義した文字枠により覆
い隠される側の文字枠内の文字列のみを再配置の対象と
しているため、文字枠と図形とが重畳した場合に適用出
来ず、処理が1パターンに限られることとなり、文書,
図形等の重要度等を配慮した処理が難しいという問題が
あった。
However, the former method requires a great deal of labor and time on the part of the operator, and the latter method requires the characters in the character box covered by the predefined character box. Since only the columns are to be rearranged, it cannot be applied when the character frame and the graphic overlap, and the processing is limited to one pattern.
There is a problem that it is difficult to perform processing considering the importance of figures and the like.

【0004】本発明はかかる事情に鑑みなされたもので
あって、その目的とするところは文字枠, 図形に所定の
属性を付与しておき、その属性が容認されるか、非容認
か、換言すれば重畳部分に対する取り扱い内容をオペレ
ータが予め設定しておくことで、重畳部分に対する再配
置処理等の自由度を高めた文書作成処理装置を提供する
にある。
The present invention has been made in view of such circumstances, and its purpose is to give a predetermined attribute to a character frame or a graphic, and whether the attribute is acceptable, unacceptable, or in other words Then, the operator sets in advance the handling contents for the overlapped portion, thereby providing a document creation processing device with a high degree of freedom in the rearrangement processing and the like for the overlapped portion.

【0005】[0005]

【課題を解決するための手段】本発明に係る文書作成処
理方法は、レイアウト画面上に文字枠、図形を展開して
文書の作成,編集を行う際に、文字枠同士又は文字枠と
図形とが少なくとも一部において重畳しているか否かを
検出する手段と、重畳している場合に重畳部分を再配置
する手段とを備えた文書作成処理装置において、重畳部
分の再配置すべき範囲に関する情報を入力する手段と、
この情報を記憶する手段と、重畳している部分が検出さ
れた際、この情報に基づいて再配置を行う手段とを備え
ることを特徴とする。
According to the document creation processing method of the present invention, when a character frame or a graphic is expanded on a layout screen to create or edit a document, the character frames or the character frame and the graphic are separated from each other. In a document creation processing device provided with a means for detecting whether or not there is overlap in at least a part, and a means for rearranging the overlap part when there is overlap, information regarding the range in which the overlap part should be rearranged. Means to enter
It is characterized by comprising means for storing this information and means for rearranging based on this information when a superposed portion is detected.

【0006】[0006]

【作用】本発明にあっては、これによって文字枠同士又
は文字枠と図形とが重畳している場合において、優先度
を任意に設定入力しておくことで再配置対象を自由に選
択して再配置処理することが可能となる。
According to the present invention, when character frames are overlapped with each other or a character frame and a figure are overlapped with each other, a priority can be arbitrarily set and input to freely select a rearrangement target. The rearrangement process can be performed.

【0007】[0007]

【実施例】以下本発明をその実施例を示す図面に基づき
具体的に説明する。図1は本発明に係る文書作成処理装
置の主要構成部分を示すブロック図であり、図中1はシ
ステム全体を制御するCPU であり、その他文字枠同士、
文字枠と図形,写真等との間に重畳部分が存在するか、
否かを判断する手段、存在する場合に重畳部分について
の文字列について予め定めた再配置等の所定の処理を行
う手段、処理の内容を表示する手段等を備えている。こ
のCPU 1、ROM 2、RAM 3、フォントメモリ4、VRAM
5、磁気記憶装置6、キーボード7、マウス8及び画像
メモリ9は相互にバスにて接続されている。またVRAM5
にはCRT 10が、また画像メモリ9には出力装置11が夫々
接続されている。ROM 2には装置への電源投入時におけ
るブートプログラムが記憶され、RAM 3には外部記憶装
置から読み込んだプログラム、編集中の文字情報を記憶
し、CPU1のワークエリアとして使用される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be specifically described below with reference to the drawings showing the embodiments. FIG. 1 is a block diagram showing the main components of a document creation processing apparatus according to the present invention. In FIG. 1, reference numeral 1 denotes a CPU that controls the entire system, other character frames,
Whether there is an overlapping part between the character frame and the figure, photo, etc.
It is provided with a means for judging whether or not it is present, a means for performing a predetermined process such as a predetermined rearrangement of the character string of the superposed portion when it exists, a device for displaying the content of the process, and the like. This CPU 1, ROM 2, RAM 3, font memory 4, VRAM
5, the magnetic storage device 6, the keyboard 7, the mouse 8 and the image memory 9 are mutually connected by a bus. Also VRAM 5
Is connected to the CRT 10, and the image memory 9 is connected to the output device 11. The ROM 2 stores a boot program when the device is powered on, and the RAM 3 stores a program read from an external storage device and character information being edited, and is used as a work area of the CPU 1.

【0008】フォントメモリ4は文字パターンを生成す
るためのフォントデータを記憶している。VRAM5は画像
を表示するCRT 10に表示するイメージを展開する。磁気
記憶装置6はフレキシブルディスク装置、ハードディス
ク装置等で構成され、文書処理に係る各種プログラム、
文書情報を記憶している。キーボード7は文書を構成す
る文字に所定の指令を与えるための入力手段である。マ
ウス8はCRT 10に表示されたグラフィックカーソルの移
動等を制御する。画像メモリ9は印刷処理に際し、記録
紙1頁分のイメージを展開し、出力装置11へ出力する。
出力装置11は画像メモリ9に展開されたイメージに基づ
いて記録媒体上に可視画像を形成するプリンタ等で構成
される。
The font memory 4 stores font data for generating a character pattern. The VRAM 5 expands the image to be displayed on the CRT 10 which displays the image. The magnetic storage device 6 includes a flexible disk device, a hard disk device, and the like, and various programs related to document processing,
Document information is stored. The keyboard 7 is an input means for giving a predetermined command to characters forming a document. The mouse 8 controls movement of the graphic cursor displayed on the CRT 10. The image memory 9 develops an image for one page of recording paper and outputs it to the output device 11 during the printing process.
The output device 11 is composed of a printer or the like that forms a visible image on a recording medium based on the image developed in the image memory 9.

【0009】図2はRAM 2における各記憶領域の概念図
である。RAM 2は文字枠を、例えばその2又は4箇所の
各角部の座標値等に基づき記憶する文字枠領域記憶部2
1、文字記憶部22及び文字に付与した属性を記憶する文
字属性記憶部23を備えている。そして文字枠領域記憶部
21には文書の頁及び各頁毎に存在する文字枠領域が格納
可能となっている。例えば3頁にわたる文書の場合、ペ
ージ1, 2, 3及び夫々についての連結順序、即ちペー
ジ1の「後」はページ2の「前」に、ページ2の「後」
はページ3の「前」に連なること、また逆にページ3の
「前」はページ2の「後」に、ページ2の「前」はペー
ジ1の「後」に連なることを示している。またページ1
の「前」、ページ3の「後」は夫々NULL、換言すれば終
端であることを示している。
FIG. 2 is a conceptual diagram of each storage area in the RAM 2. The RAM 2 stores a character frame, for example, a character frame area storage unit 2 that stores the character frame based on the coordinate value of each of the two or four corners.
1, a character storage unit 22 and a character attribute storage unit 23 for storing attributes given to characters. And character box area storage
The page 21 of the document and the character frame area existing for each page can be stored in 21. For example, in the case of a three-page document, the concatenation order of pages 1, 2, 3 and each of them, that is, "after" page 1 is "before" page 2 and "after" page 2
Indicates that it is connected to the "front" of page 3, and conversely, "front" of page 3 is connected to the "back" of page 2, and "front" of page 2 is connected to the "back" of page 1. See page 1
“Before” and “After” on page 3 indicate NULL, in other words, the end.

【0010】またページ1に存在する文字枠領域1,
2, 3及び各文字枠領域1,2,3間の連結順序に関す
るデータも格納されている。例えば文字枠領域1, 2,
3間においては文字枠領域1の「後」が文字枠領域2の
「前」に、また文字枠領域2の「後」が文字枠領域3の
「前」に、逆に文字枠領域3の「前」が文字枠領域2の
「後」に、文字枠領域2の「前」が文字枠領域1の
「後」に連なり、文字枠領域3の「後」がNULL、換言す
れば終端であること等を示している。
In addition, the character frame area 1 existing on page 1,
Data relating to the order of connection between the second and third character frame areas 1, 2, and 3 is also stored. For example, character frame areas 1, 2,
Between the three, the "back" of the character frame area 1 is "front" of the character frame area 2, the "back" of the character frame area 2 is "front" of the character frame area 3, and vice versa. "Before" is connected to "rear" of the character frame area 2, "front" of the character frame area 2 is connected to "rear" of the character frame area 1, and "rear" of the character frame area 3 is NULL, in other words, at the end. It indicates that there is something.

【0011】また夫々についての位置を示す座標、他の
文字枠又は図形と重畳する場合に重畳部分における他の
文字枠又は図形を排除するか否か、また重畳する場合に
他の文字枠又は図形により排除されるか否か、換言すれ
ば他の文字枠又は図形領域から退避するか否か等の属性
が格納されている。例えば文字枠領域1についてみる
と、その位置を示す左上座標 (X1, Y1)、右下座標
(X2, Y2 ) 及び他の文字枠領域との間に重畳が生じ
た場合に他の文字枠領域の文字を排除するか否か (オン
/オフ) 、逆に重畳する他の文字枠領域により排除され
るか否か、換言すれば他の文字枠領域から退避するか否
か (オン/オフ) の属性が格納されている。
Further, the coordinates indicating the position of each of them, whether or not to exclude other character frames or figures in the overlapping portion when overlapping with other character frames or figures, and other character frames or figures when overlapping Stored are attributes such as whether to be excluded by, in other words, whether to save from another character frame or graphic area. For example, regarding the character frame area 1, the upper left coordinates (X1, Y1) and the lower right coordinates indicating the position
(X2, Y2 ) And whether or not characters in other character frame areas are excluded when overlapping occurs with other character frame areas (ON / OFF), and whether characters are excluded by other character frame areas that overlap. The attribute of whether or not, in other words, whether to save from another character frame area (on / off) is stored.

【0012】なおここに排除するは一の文字枠が他の文
字枠、又は図形と一部又は全部が重畳する場合に、他の
文字枠内の文字又は図形であって、一の文字枠と重畳す
る部分の文字又は図形を一の文字枠の領域内から排除す
る属性であって、〔オン〕は排除することを、また〔オ
フ〕は排除しないことを夫々意味している。
Excluded here is that when one character frame is partially or wholly superimposed on another character frame or figure, it is a character or figure in another character frame, and It is an attribute for excluding the characters or figures of the overlapping portion from within the area of one character frame, meaning that [ON] excludes and [OFF] does not exclude.

【0013】同様に退避するは一の文字枠が他の文字枠
又は図形と一部又は全部が重畳する場合に、一の文字枠
であって、他の文字枠の範囲又は図形の領域内から排除
されるか否かの属性であり、〔オン〕は退避すること
を、また〔オフ〕は退避しないことを夫々意味してい
る。文字枠の属性情報としては前述した如き文字列を排
除するか否かの情報、排除幅情報等の他に文字枠の左上
座標、右下座標等の位置情報、文字枠のサイズ、余白、
文字枠内の書体、文字サイズ、行端揃え位置、行間、文
字間隔、組方向等がある。
Similarly, when the character frame is partially or wholly overlapped with another character frame or figure, the evacuation is performed from the range of another character frame or the area of the figure. This is an attribute indicating whether or not to be excluded. [ON] means to save, and [OFF] means not to save. As the attribute information of the character frame, information on whether to exclude the character string as described above, position information such as upper left coordinates, lower right coordinates, etc. of the character frame in addition to the exclusion width information, the size of the character frame, the margin,
There are the typeface in the character frame, the character size, the line alignment position, the line spacing, the character spacing, the set direction, etc.

【0014】図3,図4は文字枠A, B夫々の属性、特
に「排除する」,「退避する」が夫々「する」、即ちオ
ンの場合と「しない」、即ちオフの場合とのいずれであ
るかによって文字枠A, Bの一部が重畳された場合にお
ける重畳部分の文字列相互の表示,隠蔽態様を示す説明
図である。図3(a) はその左側に示す如き属性が設定さ
れている場合、即ち文字枠A,B夫々について排除「す
る」、退避「する」が設定されている場合において、CP
U 1が文字枠A,Bに重畳部分が存在するか、否かを判
断し、存在すると判断したときの文字枠A, Bの重畳部
分における表示態様を示す説明図である。この場合には
重畳部分においては文字枠A、文字枠Bのいずれの文字
列も表われない。
In FIGS. 3 and 4, the attributes of the character frames A and B, in particular "exclude" and "save", are "Yes", that is, "On" and "No", that is, "Off". It is explanatory drawing which shows the display and concealment aspect of the character string of the superimposition part mutually when a part of character frame A, B is overlapped depending on whether it is. In FIG. 3 (a), when the attributes as shown on the left side are set, that is, when the exclusion "exit" and the save "exit" are set for each of the character frames A and B, the CP
It is explanatory drawing which shows the display mode in the overlapping part of character frame A, B when it judges whether U1 has the overlapping part in character frame A, B, and whether it exists. In this case, neither the character frame A nor the character frame B is displayed in the overlapping portion.

【0015】同じく図3(b) は文字枠A, Bの各属性と
して文字枠Aについて排除「する」, 退避「する」が、
また文字枠Bについて排除「する」, 退避「しない」が
設定されている場合においてCPU 1が文字枠A,Bに重
畳部分が存在するか、否かを判断し、存在すると判断し
たときの両文字枠A, Bの重畳部分における文字列の表
示態様を示す説明図であり、文字枠Aの文字列が排除さ
れ、文字枠Bの文字列が表示された態様となる。
Similarly, in FIG. 3 (b), the exclusion "execute" and the save "execute" for the character frame A as the respective attributes of the character frames A and B are
Further, when the exclusion “Yes” and the saving “No” are set for the character frame B, the CPU 1 determines whether or not there is an overlapping portion in the character frames A and B, and determines whether there is any overlap. It is explanatory drawing which shows the display mode of the character string in the superimposition part of character frame A, B, and the character string of the character frame A was excluded, and the character string of the character frame B is displayed.

【0016】図3(c) は文字枠A, B夫々の属性として
共に排除「する」、退避「しない」が設定されている場
合を、また図4(a) は両文字枠A, B夫々の属性として
排除「しない」、退避「する」が設定されている場合
を、図4(b) は文字枠Aについて排除「する」、退避
「する」が、また文字枠Bについて排除「しない」、退
避「する」が設定されている場合を、図4(c) は文字枠
A, B夫々の属性として共に排除「しない」、退避「し
ない」が設定されている場合において、CPU 1が文字枠
A,Bに重畳部分が存在するか、否かを判断し、存在す
ると判断したときの夫々の表示された態様を示してい
る。なお排除された文字列の再配置領域は従来の如くそ
の都度新たな領域を設定するか、または従来知られてい
る如く予め定めた回りこみ等の処理により行ってもよ
い。
FIG. 3 (c) shows a case where both exclusion and exclusion are set as the attributes of the character frames A and B respectively, and FIG. 4 (a) shows both character frames A and B respectively. In the case where exclusion “do not” and save “exclude” are set as the attributes of FIG. 4B, in FIG. 4B, exclusion “exclude” and save “exclude” for the character frame A, and exclusion “do not” for character frame B 4 (c) indicates that the exclusion is set to "No" and the save "No" is set as the attributes of the character frames A and B respectively. It is determined whether or not there is an overlapping portion in the frames A and B, and the respective displayed modes when it is determined that they are present are shown. As for the rearranged area of the excluded character string, a new area may be set each time as in the conventional case, or a predetermined wraparound process may be performed as conventionally known.

【0017】図5は属性として排除幅領域を設定してい
る場合の処理内容を示す説明図である。文字枠領域Aに
ついて「排除」が「オン」,「退避」が「オン」、また
文字枠領域Bについて「排除」が「オフ」、「退避」が
「オン」である属性が設定され、図5(a) に示す如く文
字枠領域A,Bに重畳部分F1 が存在する場合に、CPU
1が文字枠A,Bに重畳部分が存在するか、否かを判断
し、存在すると判断したときは、「排除」が「オフ」と
なっている文字枠領域Bについて図5(b) に示す如く文
字枠領域Aの外側にこれを越える所定幅の排除幅F2
自動的に設定される結果、F1 +F2 が排除領域とな
り、ここから排除された文字列は図5(c)にハッチング
を付して示す領域、即ち流し込み領域F3 に再配置され
る。
FIG. 5 is an explanatory diagram showing the processing contents when the exclusion width area is set as an attribute. For the character frame area A, the attributes “exclude” is “on” and “save” is “on”, and for the character box area B is “exclude” is “off” and “save” is “on”. When the overlapping portion F 1 exists in the character frame areas A and B as shown in 5 (a), the CPU
1 determines whether or not there is an overlapping portion in the character frames A and B, and when it is determined that the overlapping portion exists, the character frame area B in which "exclude" is "off" is shown in FIG. 5 (b). As shown in the figure, the exclusion width F 2 having a predetermined width exceeding this is automatically set outside the character frame area A, and as a result, F 1 + F 2 becomes the exclusion area, and the character string excluded from this area is shown in FIG. Are hatched, that is, they are rearranged in a pouring region F 3 .

【0018】この流し込み領域F3 は、文字枠領域Bか
ら文字枠領域Aと重畳した部分の領域F1 (図5(a) 参
照) と排除幅領域F2 を幾何学的に差し引いた領域であ
る。なお文字枠領域と図形,写真領域等との間にに重畳
部分が生ずる場合には重畳部分における文字枠領域の文
字列を再配置対象とする。
The flow-in area F 3 is an area obtained by geometrically subtracting the area F 1 (see FIG. 5 (a)) and the exclusion width area F 2 from the character frame area B overlapping the character frame area A. is there. If a superposed portion occurs between the character frame area and the graphic, photo area, etc., the character string in the character frame area in the superposed portion is to be rearranged.

【0019】次に本発明装置の動作を図6〜図8に示す
フローチャートに基づいて説明する。図6は再組版処理
の過程を示すフローチャート、図7は排除領域集合 Avo
id〔m〕を求める過程を示すサブルーチンのフローチャ
ート、図8はi番目の文字枠領域と排除領域集合 Avoid
〔m〕とから文字流し込み領域(再配置領域)Areaを得
る過程を示すサブルーチンのフローチャートである。
Next, the operation of the device of the present invention will be described with reference to the flow charts shown in FIGS. FIG. 6 is a flowchart showing the process of re-composition processing, and FIG. 7 is an exclusion area set Avo.
FIG. 8 is a flowchart of a subroutine showing the process of obtaining id [m].
9 is a flowchart of a subroutine showing a process of obtaining a character flow area (rearrangement area) Area from [m].

【0020】CPU 1は作成された各文字枠領域,図形,
写真等の各領域についてその座標データ(左上,右下座
標)、その他設定入力された属性データを磁気記憶装置
6から読み出し、これらに基づいて文字枠領域同士、又
は文字枠領域と図形,写真等の領域と重畳部分が生じる
か否かを検出する。そして重畳部分が存在すると、予め
キーボード等の入力手段を通じて入力した、又はその都
度入力した属性に基づいた図3〜図5に示す如き処理を
行う。文字枠領域の集合 (これを Frame〔n〕と記す。
n:文字枠領域の数) より排除 (又は退避) 領域の集合
(これを Avoid〔m〕と記す。m:排除領域集合を構成
する部分ポリゴン領域の数) を求める。具体的には図7
に示すサブルーチンに従って求める (ステップS1) 。
The CPU 1 creates each character frame area, figure,
The coordinate data (upper left and lower right coordinates) of each area such as a photograph and the other attribute data that has been set and input are read out from the magnetic storage device 6, and based on these, the character frame areas, or the character frame areas and figures, a photograph, etc. It is detected whether or not the overlapping area with the area of. When there is a superposed portion, processing as shown in FIGS. 3 to 5 is performed based on the attribute which is input in advance through an input means such as a keyboard or is input each time. A set of character frame areas (this is referred to as Frame [n].
n: Number of character box areas) A set of areas excluded (or saved)
(This will be referred to as Avoid [m]. M: the number of partial polygon areas forming the excluded area set). Specifically, FIG.
It is obtained according to the subroutine shown in (step S1).

【0021】図7においては先ず排除領域集合 Avoid
〔m〕を空集合に初期化し (ステップS11) 、処理した
文字枠を計数するカウンタのカウント値C=1、また排
除領域集合を構成する部分ポリゴン領域の数m=1とす
る。カウント値CがC≦nか否かを判断し (ステップS
12) 、これを満たさない場合はリターンし、また満足す
る場合はカウントされた文字枠領域Cが「排除する」の
属性を持つか否かを判断する (ステップS13) 。この判
断において「排除する」の属性を持たない場合はステッ
プS15に進み、また持つ場合は、C番目の文字枠領域の
情報、即ち位置情報(左上座標,右下座標)、文字枠領
域名等を排除領域集合 Avoid〔m〕に追加してmをm+
1とし (ステップS14) 、またカウンタのカウント値C
をC+1とし (ステップS15) 、ステップS12へ戻る。
以下上記したサイクルを繰り返し、C≦nでなくなると
リターンする。排除領域集合 Avoid〔m〕は図2に示す
文字枠領域記憶部の如くリスト構造で記憶されており、
このリストにC番目の文字枠領域に関しての情報を追加
することとなる。
In FIG. 7, first, the excluded area set Avoid
[M] is initialized to an empty set (step S11), and the count value C of the counter for counting the processed character frames is set to C = 1, and the number of partial polygon areas forming the exclusion area set is set to m = 1. It is determined whether the count value C is C ≦ n (step S
12) If it is not satisfied, the process returns, and if it is satisfied, it is determined whether or not the counted character frame region C has the attribute of "exclude" (step S13). If the attribute of “exclude” is not included in this determination, the process proceeds to step S15. If it has the attribute, the information of the C-th character frame area, that is, position information (upper left coordinate, lower right coordinate), character frame area name, etc. To the excluded area set Avoid [m] and add m to m +
1 (step S14), and count value C of the counter
Is set to C + 1 (step S15), and the process returns to step S12.
The above-described cycle is repeated thereafter, and if C ≦ n is not satisfied, the process returns. The excluded area set Avoid [m] is stored in a list structure like the character box area storage unit shown in FIG.
Information regarding the Cth character frame area is added to this list.

【0022】図6に示すフローチャートのステップS1
に戻って排除領域集合 Avoid〔m〕が求まると現在処理
中の文字枠領域について処理中であるかを示すカウンタ
(図1のRAM 3内に確保されている)のカウント値i=
1とし (ステップS2) 、i≦nか否かを判断する (ス
テップS3) 。この条件を満たさない場合は終了し、ま
た満たす場合はi番目の文字枠領域 Frame〔i〕とm番
目の排除領域 Avoid〔m〕に基づき図8に示すフローチ
ャートに従って文字の再配置領域である文字流し込み領
域Areaを得る (ステップS4) 。図8に示すサブルーチ
ンにおいては1つの文字枠領域と排除領域集合 Avoid
〔m〕を取り込み、カウンタのカウント値j=1とし、
文字流し込み領域Areaに取り込んだ文字領域の領域情報
をセットする (ステップS21) 。カウント値j≦mか否
かを判断し (ステップS22) 、これを満たさない場合は
リターンし (ステップS27) 、またこれを満足する場合
はj番目の排除領域とAreaとが重畳部分を持つか否かを
判断する (ステップS23) 。持たない場合はステップS
26に進み、また持つ場合はj番目の排除領域 Avoid
〔j〕とAreaとが同一文字枠領域でないか否かを判断す
る (ステップS24) 。同一文字枠領域の場合はステップ
S26へ進み、また同一文字枠領域でない場合にはj番目
の排除領域 Avoid〔j〕が重畳する範囲をAreaから幾何
学的に差し引いて残った領域をAreaとして再度設定し
(ステップS25) 、カウンタのカウント値j=j+1と
し (ステップS26) 、ステップS22へ戻る。
Step S1 of the flowchart shown in FIG.
When the excluded area set Avoid [m] is obtained by returning to step 1, the count value i of the counter (which is secured in the RAM 3 in FIG. 1) indicating whether the character frame area currently being processed is being processed i =
It is set to 1 (step S2), and it is determined whether i ≦ n (step S3). If this condition is not satisfied, the process ends. If it does, the character that is the character rearrangement region is displayed according to the flowchart shown in FIG. 8 based on the i-th character frame region Frame [i] and the m-th excluded region Avoid [m]. The flow-in area Area is obtained (step S4). In the subroutine shown in FIG. 8, one character frame area and exclusion area set Avoid
[M] is taken in and the count value j of the counter is set to j = 1,
Area information of the fetched character area is set in the character flow area Area (step S21). It is judged whether or not the count value j is equal to or less than m (step S22), and if it is not satisfied, the process returns (step S27). If it is satisfied, whether the j-th exclusion area and Area have an overlapping portion. It is determined whether or not (step S23). If not, step S
Proceed to step 26, and if you have it again, the jth exclusion area Avoid
It is determined whether [j] and Area are not the same character frame area (step S24). If it is the same character frame area, the process proceeds to step S26. If it is not the same character frame area, geometrically subtracts the area where the j-th excluded area Avoid [j] overlaps from Area, and the remaining area is set as Area again. Set
(Step S25), the count value j of the counter is set to j = j + 1 (step S26), and the process returns to step S22.

【0023】[0023]

【発明の効果】以上の如く本発明装置にあっては重畳し
ている部分の文字枠内文字列についてこれを排除し、再
配置する範囲に関しての情報を入力し、記憶させておく
こととしているから、重畳する部分についてもこの記憶
情報に基づいて各種の処理を選択的に採用することが可
能となり、夫々の重畳部分について適正な処理を採るこ
とでより円滑な再配置等の処理を行い得る等、本発明は
優れた効果を奏する。
As described above, in the apparatus of the present invention, the superposed portion of the character string in the character frame is eliminated, and the information regarding the rearrangement range is input and stored. Therefore, it becomes possible to selectively adopt various processes based on this stored information even for the overlapping part, and smoother rearrangement processing can be performed by adopting proper processing for each overlapping part. Etc., the present invention has excellent effects.

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

【図1】本発明に係る文書作成処理装置の構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a configuration of a document creation processing device according to the present invention.

【図2】磁気記憶装置内の概念図である。FIG. 2 is a conceptual diagram of the inside of a magnetic storage device.

【図3】本発明装置の処理内容を示す説明図である。FIG. 3 is an explanatory diagram showing the processing contents of the device of the present invention.

【図4】本発明装置の処理内容を示す説明図である。FIG. 4 is an explanatory diagram showing the processing contents of the device of the present invention.

【図5】本発明装置の処理内容を示す説明図である。FIG. 5 is an explanatory diagram showing the processing contents of the device of the present invention.

【図6】本発明装置の処理過程を示すフローチャートで
ある。
FIG. 6 is a flowchart showing the processing steps of the device of the present invention.

【図7】本発明装置の処理過程を示すフローチャートで
ある。
FIG. 7 is a flow chart showing the processing steps of the device of the present invention.

【図8】本発明装置の処理過程を示すフローチャートで
ある。
FIG. 8 is a flowchart showing the processing steps of the device of the present invention.

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

1 CPU 2 ROM 3 RAM 4 フォントメモリ 5 VRAM 6 磁気記憶装置 7 キーボード 8 マウス 9 画像メモリ 11 出力装置 1 CPU 2 ROM 3 RAM 4 Font memory 5 VRAM 6 Magnetic storage device 7 Keyboard 8 Mouse 9 Image memory 11 Output device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 レイアウト画面上に文字枠、図形を展開
して文書の作成,編集を行う際に、文字枠同士又は文字
枠と図形とが少なくとも一部において重畳しているか否
かを検出する手段と、重畳している場合に重畳部分を再
配置する手段とを備えた文書作成処理装置において、 重畳部分の再配置すべき範囲に関する情報を入力する手
段と、この情報を記憶する手段と、重畳している部分が
検出された際、この情報に基づいて再配置を行う手段と
を備えることを特徴とする文書作成処理装置。
1. When a character frame or figure is expanded on a layout screen to create or edit a document, it is detected whether or not the character frames are overlapped with each other or at least a part of the character frame and the figure are overlapped. A document creation processing device comprising means and means for rearranging the overlapping portion when overlapping, means for inputting information regarding a range to be rearranged for the overlapping portion, and means for storing this information, A document creation processing apparatus comprising: means for rearranging based on this information when an overlapping portion is detected.
JP7025543A 1995-02-14 1995-02-14 Document preparation processor Pending JPH08221411A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7025543A JPH08221411A (en) 1995-02-14 1995-02-14 Document preparation processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7025543A JPH08221411A (en) 1995-02-14 1995-02-14 Document preparation processor

Publications (1)

Publication Number Publication Date
JPH08221411A true JPH08221411A (en) 1996-08-30

Family

ID=12168909

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7025543A Pending JPH08221411A (en) 1995-02-14 1995-02-14 Document preparation processor

Country Status (1)

Country Link
JP (1) JPH08221411A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011257821A (en) * 2010-06-07 2011-12-22 Profield Co Ltd Information processor, information processing method and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011257821A (en) * 2010-06-07 2011-12-22 Profield Co Ltd Information processor, information processing method and program

Similar Documents

Publication Publication Date Title
JP4010460B2 (en) Image processing method and image processing apparatus
JPH11250271A (en) Layout editing method, device therefor and record medium recorded with program for executing the processing
JPH08221411A (en) Document preparation processor
JP2005094717A (en) Map processing system
JP2635311B2 (en) Document processing device
JPH0675952A (en) Document preparing device
JP2910921B2 (en) Printing control device
JP3101402B2 (en) Document editing method and document editing device
JP3275628B2 (en) Layout correction device
JPH1055431A (en) Image processor
JPH11219441A (en) Image editing device, image editing method and recording medium recording image editing processing program
JP2000076472A (en) Program storage medium
JP2751224B2 (en) Document creation device
JP2001282776A (en) Device and method for processing document, and storage medium
JPH0877337A (en) Image output device
JP3175220B2 (en) Document creation device
JPH06325144A (en) Layout design system
JPH07105212A (en) Layout design device
JPH0713791B2 (en) Document processing method
JPH08287277A (en) Character layout device
JPH08287050A (en) Layout design device
JPH05266015A (en) Word processor
JPH056255A (en) Method and device for displaying image
JPS61275930A (en) Hard copy system
JPH07304148A (en) Character form device