JPH05314103A - Document processing apparatus and area connecting order determination method thereof - Google Patents
Document processing apparatus and area connecting order determination method thereofInfo
- Publication number
- JPH05314103A JPH05314103A JP4121693A JP12169392A JPH05314103A JP H05314103 A JPH05314103 A JP H05314103A JP 4121693 A JP4121693 A JP 4121693A JP 12169392 A JP12169392 A JP 12169392A JP H05314103 A JPH05314103 A JP H05314103A
- Authority
- JP
- Japan
- Prior art keywords
- area
- areas
- order
- document
- coordinates
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】
【目的】 レイアウト編集機能を有する文書処理装置に
おいて、用紙内に複数の領域が存在する場合に、領域が
一杯になると自動的に別の領域に続きが入るようにする
領域連結処理を、自動的に行う。
【構成】 領域連結処理を自動的に行うために、領域の
位置情報から領域の連結順序を決定する領域連結順序決
定手段6を備え、その結果、得られる領域連結順序に従
って領域連結を行うようにした。
【効果】 自動的に領域連結が行われるために、いちい
ち連結処理を行う必要がなく、操作が簡単となる。
(57) [Abstract] [Purpose] In a document processing device having a layout editing function, when a plurality of areas exist in a sheet, an area that automatically continues to another area when the area is full The linking process is performed automatically. In order to automatically perform a region concatenation process, region concatenation order determining means 6 for determining a region concatenation order from region position information is provided, and as a result, region concatenation is performed according to the obtained region concatenation order. did. [Effect] Since the areas are automatically connected, it is not necessary to perform the connection processing one by one, and the operation becomes simple.
Description
【0001】[0001]
【産業上の利用分野】この発明は、レイアウト編集機能
を有する文書処理装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing device having a layout editing function.
【0002】[0002]
【従来の技術】文書処理装置は従来からワードプロセッ
サとして用いられている。図12には、文書処理装置の
一般的な構成が示されている。この図に示される装置
は、処理制御部1、入力部2、データ記憶部3、表示部
4及びプリンタ5から構成されている。2. Description of the Related Art Document processing devices have been used as word processors. FIG. 12 shows a general configuration of the document processing device. The apparatus shown in this figure comprises a processing control unit 1, an input unit 2, a data storage unit 3, a display unit 4 and a printer 5.
【0003】処理制御部1は、マイクロプロセッサ及び
ROMから構成される。マイクロプロセッサは、装置全
体の制御処理を実行する。ROMは、マイクロプロセッ
サが実行するプログラムを記憶する。入力部2は、文書
データ、編集を行うための制御データを入力するデバイ
スであり、例えばキーボードやマウス等である。データ
記憶部3は、入力部2より入力され編集される文書デー
タ等を記憶する。表示部4は、入力あるいは編集中の文
書データを表示するデバイスであり、例えばCRTやL
CD等である。プリンタ5は、作成した文書データを印
刷する。The processing controller 1 comprises a microprocessor and a ROM. The microprocessor executes control processing of the entire device. The ROM stores the program executed by the microprocessor. The input unit 2 is a device that inputs document data and control data for editing, and is, for example, a keyboard or a mouse. The data storage unit 3 stores the document data and the like input and edited by the input unit 2. The display unit 4 is a device that displays document data being input or edited, and is, for example, a CRT or L.
For example, a CD. The printer 5 prints the created document data.
【0004】また、文書処理装置としては、従来から、
1枚の紙の中に文字や図形等を自由に配置できるレイア
ウト機能を有する装置が知られている。図13には、こ
のようなレイアウト編集機能を有する文書処理装置の動
作、特にレイアウト編集処理の動作の流れが示されてい
る。Further, as a document processing apparatus, conventionally,
2. Description of the Related Art There is known a device having a layout function in which characters and figures can be freely arranged on one sheet of paper. FIG. 13 shows the flow of the operation of the document processing apparatus having such a layout editing function, particularly the operation of the layout editing process.
【0005】この装置では、レイアウト編集処理が起動
されると、処理制御部1により表示部4に機能選択のた
めの表示が行われる。例えば、領域作成、領域連結、文
字編集等の機能が選択対象となる。入力部2から機能選
択入力があると、この入力に応じ、各機能処理に移行す
る(ステップ1)。In this apparatus, when the layout editing process is activated, the process control unit 1 displays a display for function selection on the display unit 4. For example, functions such as area creation, area connection, and character editing are selected. When there is a function selection input from the input unit 2, the processing shifts to each function processing according to this input (step 1).
【0006】領域作成が選択された場合には、図14に
示されるように、例えば始点505及び終点506の位
置にカーソル501を移動して領域502の配置決めが
行われる(ステップ2)。この処理は、入力部2からの
入力に基づき行う。さらに、オペレーターは、作成した
領域502に対して図15で示す書式の各項目について
設定を行う(ステップ3)。この設定に係る処理が終了
すると、処理制御部1の動作はステップ1に戻る。複数
の領域を作成する場合には、オペレーターは、再度、領
域作成の機能を選択し、上記の処理を繰り返す。例え
ば、始点及び終点の位置にカーソル501を移動して領
域503の配置決めが行われ、作成した領域503に対
して書式設定が行われる。When the area creation is selected, as shown in FIG. 14, the cursor 501 is moved to the positions of the start point 505 and the end point 506, for example, to arrange the areas 502 (step 2). This process is performed based on the input from the input unit 2. Further, the operator sets each item in the format shown in FIG. 15 in the created area 502 (step 3). When the processing related to this setting ends, the operation of the processing control unit 1 returns to step 1. When creating a plurality of areas, the operator selects the area creation function again and repeats the above processing. For example, the cursor 501 is moved to the start point and the end point to arrange the area 503, and the created area 503 is formatted.
【0007】また、領域連結が選択された場合には、オ
ペレーターは、カーソル501を移動させることにより
連結する始点領域を選択し(ステップ4)、さらにカー
ソル501を移動させることにより連結する終点領域を
選択する(ステップ5)。連結操作中は連結線504が
表示され、データ記憶部3に領域連結情報が記憶される
(ステップ5)。When the area connection is selected, the operator moves the cursor 501 to select the start area to be connected (step 4), and further moves the cursor 501 to select the end area to connect. Select (step 5). The connecting line 504 is displayed during the connecting operation, and the area connecting information is stored in the data storage unit 3 (step 5).
【0008】そして、文字編集が選択された場合には、
オペレーターは、入力を行う領域上にカーソル501を
移動して選択し(ステップ6)、その領域に対してキー
入力等による入力部2からのデータがデータ記憶部に格
納され、表示部4に表示される。これと並行して、処理
制御部1でかな漢字変換や移動・複写・削除等の編集処
理が実行され、文書データが作成される。このとき、領
域が連結されている場合には、選択された領域が一杯に
なると、連結された次の領域に続きの文書データが入力
される(ステップ7)。Then, when the character edit is selected,
The operator moves the cursor 501 to an area for input and selects it (step 6), and the data from the input unit 2 by key input or the like for the area is stored in the data storage unit and displayed on the display unit 4. To be done. In parallel with this, the process control unit 1 executes kana-kanji conversion and editing processes such as moving, copying, and deleting to create document data. At this time, if the areas are connected, when the selected area becomes full, the succeeding document data is input to the next connected area (step 7).
【0009】[0009]
【発明が解決しようとする課題】しかし、このような構
成では、用紙内に複数の領域が存在する場合に、領域に
入力されるテキストデータが一杯になると自動的に別の
領域に続きが入るようにするためには、いちいち領域を
選択して領域と領域を結ぶ連結という操作を行うことが
必要であり、その操作が煩わしいという問題点があっ
た。However, in such a structure, when there are a plurality of areas on the paper, when the text data input to the area becomes full, another area automatically enters. In order to do so, it is necessary to select each area and perform an operation of connecting the areas to each other, and there is a problem that the operation is troublesome.
【0010】本発明は上記のような問題点を解決するた
めになされたもので、複数の領域が存在する場合にも領
域の連結操作が必要の無い文書処理装置を得ることを目
的とする。The present invention has been made to solve the above problems, and an object of the present invention is to obtain a document processing apparatus which does not require a region connecting operation even when a plurality of regions exist.
【0011】[0011]
【課題を解決するための手段】このような目的を達成す
るために、請求項1は、各連結対象領域に係る座標値に
基づき領域間の連結順序を決定する領域連結順序決定手
段を備えたことを特徴とする。In order to achieve such an object, the first aspect of the present invention comprises area connecting order determining means for determining the connecting order between areas based on the coordinate value of each area to be connected. It is characterized by
【0012】請求項2は、図形データにより分割された
領域を連結対象として、上記領域連結順序決定を実行す
ることを特徴とする。A second aspect of the present invention is characterized in that the area connection order determination is executed with an area divided by graphic data as an object of connection.
【0013】請求項3は、同一書式設定の領域を連結対
象として、上記領域連結順序決定を実行することを特徴
とする。A third aspect of the present invention is characterized in that the region concatenation order determination is executed for regions having the same format setting as a concatenation target.
【0014】請求項4は、連結対象領域をその始点又は
終点の行座標によりソートし、行座標が等しい複数の領
域についてはさらに始点又は終点の列座標によりソート
することにより領域間の連結順序を決定することを特徴
とする。According to a fourth aspect of the present invention, the regions to be connected are sorted by the row coordinates of the start point or the end point, and the plurality of regions having the same row coordinates are further sorted by the column coordinates of the start point or the end point so that the connecting order between the regions is determined. It is characterized by making a decision.
【0015】そして、請求項5は、連結対象領域のうち
互いに行又は列座標の範囲が重複しない領域については
行又は列座標の順にソートし、重複する領域については
始点又は終点の列座標によりソートすることにより領域
間の連結順序を決定することを特徴とする。According to a fifth aspect of the present invention, among the areas to be connected, the areas in which the ranges of row or column coordinates do not overlap are sorted in the order of row or column coordinates, and the overlapping areas are sorted by the column coordinates of the start point or the end point. It is characterized in that the connection order between the regions is determined by performing the following.
【0016】[0016]
【作用】本発明の請求項1においては、領域間の連結順
序がその座標値に基づき決定される。従って、領域連結
が自動的に行われるため、連結操作が不要となり、操作
が簡易になる。また、請求項2に示されるように、図形
データにより分割された領域を連結対象領域としてこの
作用を得ることができる。In the first aspect of the present invention, the order of connecting the regions is determined based on the coordinate values. Therefore, since the area connection is automatically performed, the connection operation is not necessary and the operation is simplified. Further, as described in claim 2, it is possible to obtain this effect by setting the area divided by the graphic data as the connection target area.
【0017】請求項3においては、同一書式設定の領域
が連結対象領域とされる。従って、ある書式の領域のみ
を連結対象としたい場合にこれらを自動連結でき、使用
性が向上する。In the third aspect, the areas having the same format setting are the areas to be connected. Therefore, when it is desired to connect only the areas of a certain format, these areas can be automatically connected and the usability is improved.
【0018】請求項4においては、領域連結順序決定
が、始点又は終点の行座標のソートにより行われる。そ
の際、行座標が等しい複数の領域については始点又は終
点の列座標によりソートが行われる。これにより、連結
順序が好適に決定される。According to another aspect of the present invention, the area connecting order is determined by sorting the row coordinates of the start point or the end point. At that time, the plurality of areas having the same row coordinates are sorted by the column coordinates of the start point or the end point. Thereby, the connection order is suitably determined.
【0019】そして、請求項5においては、領域連結順
序決定が、行又は列座標のソートにより行われる。この
請求項の場合、ソートに当たって行又は列座標の範囲が
考慮される。すなわち、行又は列座標の範囲が重複する
領域については始点又は終点の列座標によりソートが行
われる。これにより、連結順序が好適に決定される。Further, in the present invention, the region connection order is determined by sorting the row or column coordinates. In the case of this claim, a range of row or column coordinates is taken into consideration when sorting. In other words, for areas where row or column coordinate ranges overlap, sorting is performed according to the column coordinates of the start point or end point. Thereby, the connection order is suitably determined.
【0020】[0020]
【実施例】以下、本発明の好適な実施例について図面に
基づき説明する。なお、図12乃至15に示される従来
例と同様の構成には同一の符号を付し、説明を省略す
る。実施例1 図1には、本発明の第1実施例に係る文書処理装置の構
成が示されている。この実施例においては、処理制御部
1が、領域連結順序決定手段6を内蔵している。領域連
結順序決定手段6は、図2に示される領域連結順序決定
処理を実行する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the drawings. The same components as those in the conventional example shown in FIGS. 12 to 15 are designated by the same reference numerals and the description thereof will be omitted. First Embodiment FIG. 1 shows the configuration of a document processing apparatus according to the first embodiment of the present invention. In this embodiment, the processing control section 1 has a region concatenation order determining means 6 built therein. The area connection order determination means 6 executes the area connection order determination processing shown in FIG.
【0021】この実施例では、まず、領域連結順序決定
手段6が、ページ内あるいは段組内に存在する領域を探
し、領域が複数存在する場合には領域の始点の行座標に
ついて昇順にソートを行う(ステップ10)。始点の行
座標について等しい領域が存在する場合には(ステップ
11)、領域連結順序決定手段6は、その始点座標が等
しい領域を対象に、始点の列座標について昇順にソート
し、連結順序とする(ステップ12)。In this embodiment, first, the area concatenation order determining means 6 searches for an area existing within a page or a column, and when there are a plurality of areas, sorts the row coordinates of the starting points of the areas in ascending order. Perform (step 10). When there are areas having the same row coordinates of the starting points (step 11), the area concatenation order determining means 6 sorts the areas having the same starting point coordinates in ascending order of the column coordinates of the starting points to obtain the concatenation order. (Step 12).
【0022】例えば、図3(a)に示される領域10
1、102にステップ10を適用すると、連結順序は領
域102、101の順序となる。図3(b)に示される
領域201〜203にステップ10を適用すると、連結
順序は203、202、201の順序となる。図3
(c)に示される領域301〜304にステップ10を
適用すると、領域301と304の始点行座標が等しい
ため、この2領域に対してはステップ12が適用され、
連結順序は301、304、302、303の順序とな
る。For example, the area 10 shown in FIG.
When step 10 is applied to 1 and 102, the connection order becomes the order of the areas 102 and 101. When step 10 is applied to the areas 201 to 203 shown in FIG. 3B, the connecting order becomes 203, 202, and 201. Figure 3
When step 10 is applied to the areas 301 to 304 shown in (c), since the starting point row coordinates of the areas 301 and 304 are equal, step 12 is applied to these two areas,
The connection order is 301, 304, 302, 303.
【0023】このように、本実施例によれば、用紙内に
複数の領域が存在する場合に、いちいち領域を選択して
領域と領域を結ぶ連結という操作を行う必要がない。従
って、操作が簡便になり、オペレーターの負荷が軽減さ
れる。As described above, according to the present embodiment, when a plurality of areas are present in the paper, it is not necessary to select the areas one by one and perform the operation of connecting the areas. Therefore, the operation is simplified and the load on the operator is reduced.
【0024】実施例2 図4には、本発明の第2実施例に係る文書処理装置、特
にその領域連結順序決定手段6の動作の流れが示されて
いる。 Embodiment 2 FIG. 4 shows the flow of operations of the document processing apparatus according to the second embodiment of the present invention, particularly the area concatenation order determining means 6.
【0025】この実施例では、まず、領域連結順序決定
手段6が、ページ内あるいは段組内に存在する領域を探
し、領域が複数存在する場合には領域の終点の行座標に
ついて昇順にソートを行う(ステップ20)。終点の行
座標について等しい領域が存在する場合には(ステップ
21)、領域連結順序決定手段6は、その終点座標が等
しい領域を対象に、終点の列座標について昇順にソート
し、連結順序とする(ステップ22)。In this embodiment, first, the area concatenation order determining means 6 searches for an area existing within a page or a column, and if there are a plurality of areas, sorts the row coordinates of the end points of the areas in ascending order. Perform (step 20). When there are areas having the same end point row coordinates (step 21), the area concatenation order determining means 6 sorts the areas having the same end point coordinates in ascending order with respect to the end point column coordinates, and sets the concatenation order. (Step 22).
【0026】例えば、図5(a)に示される領域10
1、102にステップ20を適用すると、連結順序は領
域102、101の順序となる。図5(b)に示される
領域201〜203にステップ20を適用すると、連結
順序は203、202、201の順序となる。図5
(c)に示される領域301〜304にステップ20を
適用すると、領域301と304の終点行座標が等しい
ため、この2領域に対してはステップ22が適用され、
連結順序は301、302、304、303の順序とな
る。For example, the area 10 shown in FIG.
When step 20 is applied to 1 and 102, the connection order becomes the order of the areas 102 and 101. When step 20 is applied to the areas 201 to 203 shown in FIG. 5B, the connection order becomes 203, 202, and 201. Figure 5
When step 20 is applied to the areas 301 to 304 shown in (c), since the end point row coordinates of the areas 301 and 304 are equal, step 22 is applied to these two areas,
The connection order is 301, 302, 304, 303.
【0027】このように、本実施例によっても、同様に
操作が簡便になり、オペレーターの負荷が軽減される。As described above, according to this embodiment as well, the operation is similarly simplified and the load on the operator is reduced.
【0028】実施例3 図6には、本発明の第3実施例に係る文書処理装置、特
にその領域連結順序決定手段6の動作の流れが示されて
いる。 Third Embodiment FIG. 6 shows a flow of operations of the document processing apparatus according to the third embodiment of the present invention, particularly the area concatenation order determining means 6.
【0029】この実施例では、まず、領域連結順序決定
手段6が、ページ内あるいは段組内に存在する領域を探
し、領域が複数存在する場合には領域の始点の行座標に
ついて昇順にソートを行う(ステップ30)。行座標に
ついて始点から終点の範囲が重なる領域が存在する場合
には(ステップ31)、領域連結順序決定手段6は、行
座標が重なる領域に対してはその始点の列座標について
昇順にソートし直し、連結順序とする(ステップ3
2)。In this embodiment, first, the area concatenation order determining means 6 searches for an area existing within a page or a column, and when there are a plurality of areas, sorts the row coordinates of the starting points of the areas in ascending order. Perform (step 30). When there is an area where the range from the start point to the end point overlaps with respect to the row coordinates (step 31), the area concatenation order determination means 6 re-sorts the area where the row coordinates overlap with respect to the column coordinates of the starting point in ascending order. , Concatenation order (step 3
2).
【0030】例えば、図7(a)に示される領域10
1、102にステップ30を適用すると、領域102、
101の順序となる。ステップ31でその行座標は重な
らないため、連結順序は領域102、101の順序とな
る。図7(b)に示される領域201〜203にステッ
プ30を適用すると、領域203、202、201の順
となる。このとき、ステップ31で行座標の重なりを判
定すると、領域203と202が重なり、また、領域2
02と201が重なるため、ステップ32では領域20
3、202、201について、その始点の列座標につい
て昇順にソートし直す(領域203と201は直接には
重ならないが間接的に重なるものとして扱う)。その結
果、連結順序は201、202、203の順序となる。
図7(c)に示される領域301〜304にステップ3
0を適用すると、領域301、304、302、303
(領域301、304については行座標は等しいので、
列座標の小さいものを優先している)の順序となる。ス
テップ31で行座標の重なりを判定すると、領域301
と304が重なり、また、領域302と304が重なる
ため、ステップ32では領域301、304、302に
ついて始点の列座標につきソートし直す。その結果、連
結順序は301、302、304、303の順序とな
る。For example, the area 10 shown in FIG.
Applying step 30 to 1, 102, region 102,
The order is 101. Since the row coordinates do not overlap in step 31, the connecting order is the order of the areas 102 and 101. When step 30 is applied to the areas 201 to 203 shown in FIG. 7B, the areas 203, 202 and 201 are arranged in this order. At this time, when it is determined in step 31 that the row coordinates overlap, the areas 203 and 202 overlap and the area 2
Since 02 and 201 overlap, in step 32, the area 20
For 3, 202 and 201, the column coordinates of the starting point are re-sorted in ascending order (the areas 203 and 201 do not directly overlap but are treated as indirectly overlapping). As a result, the connection order is 201, 202, 203.
Step 3 is performed in areas 301 to 304 shown in FIG.
When 0 is applied, the areas 301, 304, 302, 303
(Regarding the regions 301 and 304, since the row coordinates are the same,
The one with the smaller column coordinate is given priority). If it is determined in step 31 that the row coordinates overlap, the area 301
And 304 overlap each other and the areas 302 and 304 overlap each other, so that in step 32, the column coordinates of the starting points of the areas 301, 304, and 302 are re-sorted. As a result, the connection order is 301, 302, 304, 303.
【0031】このように、本実施例によっても、同様に
操作が簡便になり、オペレーターの負荷が軽減される。As described above, according to this embodiment as well, the operation is similarly simplified and the load on the operator is reduced.
【0032】実施例4 図8には、本発明の第4実施例に係る文書処理装置、特
にその領域連結順序決定手段6の動作の流れが示されて
いる。 Embodiment 4 FIG. 8 shows the flow of operations of the document processing apparatus according to the fourth embodiment of the present invention, particularly the area concatenation order determining means 6.
【0033】この実施例では、まず、領域連結順序決定
手段6が、ページ内あるいは段組内に存在する領域を探
し、領域が複数存在する場合には領域の始点の行座標に
ついて昇順にソートを行う(ステップ40)。行座標に
ついて始点から終点の範囲が重なる領域が存在する場合
には(ステップ41)、領域連結順序決定手段6は、行
座標が重なる領域に対してはその始点の列座標について
昇順にソートし直す(ステップ42)。領域連結順序決
定手段6は、その後、列座標について始点から終点の範
囲が領域が重なる領域が存在するか判定を行い(ステッ
プ43)、列座標も重なる領域に対してはその始点の行
座標について昇順にソートし直す(ステップ44)。In this embodiment, the area concatenation order determining means 6 first searches for an area existing within a page or a column, and when there are a plurality of areas, sorts the row coordinates of the starting points of the areas in ascending order. Perform (step 40). When there is an area where the range from the start point to the end point overlaps with respect to the row coordinates (step 41), the area concatenation order determination means 6 re-sorts the column coordinates of the start point in ascending order with respect to the area where the row coordinates overlap. (Step 42). Then, the region concatenation order determination means 6 determines whether or not there is a region where the range from the start point to the end point overlaps the column coordinates (step 43). The data is sorted in ascending order (step 44).
【0034】例えば、図9(a)に示される領域10
1、102にステップ40を適用すると、領域102、
101の順序となる。ステップ41でその行座標は重な
らないため、連結順序は領域102、101の順序とな
る。図9(b)に示される領域201〜203にステッ
プ40を適用すると、領域203、202、201の順
となる。このとき、ステップ41で行座標の重なりを判
定すると、領域203と202が重なり、また、領域2
02と201が重なるため、ステップ42では領域20
3、202、201について、その始点の列座標につい
て昇順にソートし直す。ステップ43でその列座標の重
なりを判定すると、その列座標は重ならないため、連結
順序は201、202、203の順序となる。そして、
図9(c)に示される領域301〜304にステップ4
0を適用すると、領域301、304、302、303
(領域301、304については行座標は等しいので、
列座標の小さいものを優先している)の順序となる。ス
テップ41で行座標の重なりを判定すると、領域301
と304が重なり、また、領域302と304が重なる
ため、ステップ42では領域301、304、302に
ついて始点の列座標につきソートし直す。すると、30
1、302、304、303の順序となる。ステップ4
3でその列座標の重なりを判定すると、領域301と3
02が重なるので、ステップ44で領域301と302
について始点の行座標で再度ソートし直す。その結果、
連結順序は301、302、304、303の順序とな
る。For example, the area 10 shown in FIG.
Applying step 40 to 1, 102, region 102,
The order is 101. Since the row coordinates do not overlap in step 41, the connecting order is the order of the areas 102 and 101. When step 40 is applied to the areas 201 to 203 shown in FIG. 9B, the areas 203, 202 and 201 are arranged in this order. At this time, when it is determined in step 41 that the row coordinates overlap, the areas 203 and 202 overlap and the area 2
Since 02 and 201 overlap, the area 20
For 3, 202 and 201, the column coordinates of the starting point are re-sorted in ascending order. When it is determined in step 43 that the column coordinates overlap, the column coordinates do not overlap, so the connection order is 201, 202, 203. And
Step 4 is performed in the areas 301 to 304 shown in FIG.
When 0 is applied, the areas 301, 304, 302, 303
(Regarding the regions 301 and 304, since the row coordinates are the same,
The one with the smaller column coordinate is given priority). If it is determined in step 41 that the row coordinates overlap, the area 301
And 304 overlap each other, and the areas 302 and 304 overlap each other. Therefore, in step 42, the column coordinates of the starting points of the areas 301, 304, and 302 are re-sorted. Then, 30
The order is 1, 302, 304, 303. Step 4
If it is determined in 3 that the column coordinates overlap, regions 301 and 3
02 overlap, so in step 44, areas 301 and 302
Re-sort about the starting point row coordinates. as a result,
The connection order is 301, 302, 304, 303.
【0035】その他の実施例 なお、上記の例ではソートをし直す回数が固定の例を示
したが、ソートをし直す対象となる領域数が減らなくな
るまで、座標の重なりを判定するようにしてもよい。 Other Embodiments In the above example, the number of times of re-sorting is fixed. However, the overlapping of coordinates is determined until the number of areas to be re-sorted is not reduced. Good.
【0036】図10は領域301、302、303、3
04において、領域毎に書式が設定されている場合の一
例を示す図である。領域301は、横書で文字サイズが
11ポイント、フォントが明朝体に設定されている領域
である。領域302は、横書で文字サイズ11ポイント
の明朝体、領域303は、横書で文字サイズ11ポイン
トのゴシック体、領域304は、縦書で文字サイズ12
ポイントの明朝体に設定されている。この場合、設定さ
れている書式が等しい領域301と302だけを領域連
結の対象としてもよい。上記の例では、横書/縦書、文
字サイズ、フォントの全てが等しい領域を連結する対象
領域としたが、特定の書式項目について一致する領域を
連結対象としてもよい。FIG. 10 shows areas 301, 302, 303 and 3
FIG. 4 is a diagram showing an example in which a format is set for each area in 04. An area 301 is an area in which the font size is set to 11 points and the font is set to Mincho font in horizontal writing. A region 302 is a horizontal writing mode with 11-point character size in Mincho type, a region 303 is a horizontal writing mode with 11-point character size, and a region 304 is vertical writing mode with a character size of 12 points.
It is set to Mincho type of point. In this case, only the areas 301 and 302 having the same set format may be subjected to area linking. In the above example, the areas in which the horizontal writing / vertical writing, the character size, and the font are all the same are the target areas to be connected, but the areas that match a specific format item may be the target to be connected.
【0037】また、図11は文字データと図形データが
混在する文書データにおいて、図形データにより文字領
域が分割される場合の一例を示す。図において601は
図形データである円、602は図形データである直線で
あり、603〜606は分割された文字領域である。こ
の文字領域603〜606に対して、上記の領域連結処
理を実行してもよい。なお、領域603と604、ある
いは領域603〜604を一領域として扱うよう領域分
割されてもよい。Further, FIG. 11 shows an example of a case where the character area is divided by the graphic data in the document data in which the character data and the graphic data are mixed. In the figure, 601 is a circle which is graphic data, 602 is a straight line which is graphic data, and 603 to 606 are divided character areas. The above-described area concatenation processing may be executed on the character areas 603 to 606. The regions 603 and 604, or the regions 603 to 604 may be divided into regions so as to be treated as one region.
【0038】[0038]
【発明の効果】以上説明したように、本発明によれば、
領域間の連結順序を各領域の座標値に基づき決定するよ
うにしたため、自動的な領域連結により連結操作が不要
となり、操作が簡易になる。As described above, according to the present invention,
Since the connection order between areas is determined based on the coordinate value of each area, the connection operation is unnecessary by the automatic area connection, and the operation is simplified.
【0039】請求項2によれば、図形データにより分割
された領域を連結対象領域としてこの効果を得ることが
できる。According to the second aspect, this effect can be obtained by using the area divided by the graphic data as the connection target area.
【0040】請求項3によれば、同一書式設定の領域を
連結対象領域として自動連結を行うようにしたため、あ
る書式の領域のみを連結対象としたい場合にこれらを自
動連結でき、使用性が向上する。According to the third aspect, since the areas of the same format setting are automatically connected as the areas to be connected, when only the areas of a certain format are to be connected, these can be automatically connected and the usability is improved. To do.
【0041】請求項4によれば、領域連結順序決定を始
点又は終点の行座標のソートにより行い、行座標が等し
い複数の領域については始点又は終点の列座標によりソ
ートを行うようにしたため、好適に連結順序決定でき
る。According to the fourth aspect, the area connection order is determined by sorting the row coordinates of the start point or the end point, and the plurality of areas having the same row coordinates are sorted by the column coordinates of the start point or the end point. The connection order can be determined.
【0042】そして、請求項5によれば、領域連結順序
決定を行又は列座標のソートにより行い、行又は列座標
の範囲が重複する領域については始点又は終点の列座標
によりソートを行うようにしたため、好適に連結順序決
定できる。According to the fifth aspect, the area concatenation order is determined by sorting the row or column coordinates, and the areas having overlapping row or column coordinate ranges are sorted by the starting or ending column coordinates. Therefore, the connection order can be appropriately determined.
【図1】この発明の実施例に係る文書処理装置の構成を
示すブロック図である。FIG. 1 is a block diagram showing the configuration of a document processing apparatus according to an embodiment of the present invention.
【図2】第1実施例に係る領域連結順序決定処理の流れ
を示すフローチャートである。FIG. 2 is a flowchart showing a flow of region connection order determination processing according to the first embodiment.
【図3】図2の領域連結順序決定処理を適用した結果例
を示す図である。FIG. 3 is a diagram showing an example of a result obtained by applying the region connection order determination process of FIG.
【図4】第2実施例に係る領域連結順序決定処理の流れ
を示すフローチャートである。FIG. 4 is a flowchart showing a flow of region connection order determination processing according to the second embodiment.
【図5】図4の領域連結順序決定処理を適用した結果例
を示す図である。5 is a diagram showing an example of a result of applying the region connection order determination process of FIG.
【図6】第3実施例に係る領域連結順序決定処理の流れ
を示すフローチャートである。FIG. 6 is a flowchart showing a flow of region connection order determination processing according to the third embodiment.
【図7】図6の領域連結順序決定処理を適用した結果例
を示す図である。FIG. 7 is a diagram showing an example of a result of applying the region connection order determination process of FIG.
【図8】第4実施例に係る領域連結順序決定処理の流れ
を示すフローチャートである。FIG. 8 is a flowchart showing a flow of region connection order determination processing according to the fourth embodiment.
【図9】図8の領域連結順序決定処理を適用した結果例
を示す図である。9 is a diagram showing an example of a result of applying the region connection order determination process of FIG.
【図10】各領域に対して書式設定がされている場合の
一例を示す図である。FIG. 10 is a diagram showing an example of a case in which each area is formatted.
【図11】図形データと文字データが混在する文書にお
いて、図形データにより文字領域が分割された場合の一
例を示す図である。FIG. 11 is a diagram showing an example of a case where a character area is divided by graphic data in a document in which graphic data and character data are mixed.
【図12】従来の文書処理装置の構成を示すブロック図
である。FIG. 12 is a block diagram showing a configuration of a conventional document processing apparatus.
【図13】従来の文書処理装置のレイアウト編集機能の
流れを示すフローチャートである。FIG. 13 is a flowchart showing a flow of a layout editing function of a conventional document processing apparatus.
【図14】従来の文書処理装置のレイアウト編集機能に
おいて、領域作成および領域連結を行う場合に表示され
るレイアウト表示の一例である。FIG. 14 is an example of a layout display displayed when an area is created and an area is connected in the layout editing function of the conventional document processing apparatus.
【図15】領域の書式設定項目の一例を示す図である。FIG. 15 is a diagram showing an example of area format setting items.
1 処理制御部 2 入力部 3 データ記憶部 4 表示部 5 プリンタ 6 領域連結順序決定手段 1 Processing Control Section 2 Input Section 3 Data Storage Section 4 Display Section 5 Printer 6 Area Linking Order Determining Means
─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───
【手続補正書】[Procedure amendment]
【提出日】平成4年11月6日[Submission date] November 6, 1992
【手続補正1】[Procedure Amendment 1]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】特許請求の範囲[Name of item to be amended] Claims
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【特許請求の範囲】[Claims]
【手続補正2】[Procedure Amendment 2]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0015[Correction target item name] 0015
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0015】そして、請求項5は、連結対象領域のうち
互いに行又は列座標の範囲が重複しない領域については
行又は列座標の順にソートし、重複する領域については
始点又は終点の列又は行座標によりソートすることによ
り領域間の連結順序を決定することを特徴とする。According to a fifth aspect of the present invention, among the areas to be connected, the areas in which the ranges of the row or column coordinates do not overlap are sorted in the order of the row or column coordinates, and the overlapping areas have the column or row coordinates of the start point or the end point. It is characterized in that the connection order between regions is determined by sorting by.
【手続補正3】[Procedure 3]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0019[Name of item to be corrected] 0019
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0019】そして、請求項5においては、領域連結順
序決定が、行又は列座標のソートにより行われる。この
請求項の場合、ソートに当たって行又は列座標の範囲が
考慮される。すなわち、行又は列座標の範囲が重複する
領域については始点又は終点の列又は行座標によりソー
トが行われる。これにより、連結順序が好適に決定され
る。Further, in the present invention, the region connection order is determined by sorting the row or column coordinates. In the case of this claim, a range of row or column coordinates is taken into consideration when sorting. That is, for areas where the row or column coordinate ranges overlap, sorting is performed according to the column or row coordinates of the start point or end point. Thereby, the connection order is suitably determined.
【手続補正4】[Procedure amendment 4]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0037[Name of item to be corrected] 0037
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0037】また、図11は文字データと図形データが
混在する文書データにおいて、図形データにより文字領
域が分割される場合の一例を示す。図において601は
図形データである円、602は図形データである直線で
あり、603〜606は分割された文字領域である。こ
の文字領域603〜606に対して、上記の領域連結処
理を実行してもよい。なお、領域603と605、ある
いは領域603〜604を一領域として扱うよう領域分
割されてもよい。Further, FIG. 11 shows an example of a case where the character area is divided by the graphic data in the document data in which the character data and the graphic data are mixed. In the figure, 601 is a circle which is graphic data, 602 is a straight line which is graphic data, and 603 to 606 are divided character areas. The above-described area concatenation processing may be executed on the character areas 603 to 606. The region 603 and 60 5, or a region from 603 to 604 may be divided into regions so as to be treated as one region.
【手続補正5】[Procedure Amendment 5]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0042[Correction target item name] 0042
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0042】そして、請求項5によれば、領域連結順序
決定を行又は列座標のソートにより行い、行又は列座標
の範囲が重複する領域については始点又は終点の列又は
行座標によりソートを行うようにしたため、好適に連結
順序決定できる。Further, according to the fifth aspect, the area connection order is determined by sorting the row or column coordinates, and for the area where the range of the row or column coordinates overlaps, the start point or end column or
Since the sorting is performed based on the row coordinates , it is possible to suitably determine the connection order.
Claims (5)
ウトする手段と、1ページ内にレイアウトされた複数の
領域を連結する手段と、を備え、ある領域が文書で一杯
になった場合にこれに連結された領域に移行させる文書
処理装置において、各領域に係る座標値に基づき領域間
の連結順序を決定する領域連結順序決定手段を備えたこ
とを特徴とする文書処理装置。1. A means for laying out an area related to a document on a screen and a means for connecting a plurality of areas laid out in one page, which are provided when a certain area is filled with a document. A document processing apparatus for migrating to a connected area, characterized by comprising area connection order determining means for determining a connection order between areas based on coordinate values related to each area.
ータにより分割してレイアウトする手段と、1ページ内
にレイアウトされた複数の領域を連結する手段と、を備
え、ある領域が一杯になった場合にこれに連結された領
域に移行させる文書処理装置において、図形データによ
り分割された各領域に係る座標値に基づき領域間の連結
順序を決定する領域連結順序決定手段を備えたことを特
徴とする文書処理装置。2. A certain area is filled with a means for laying out an area related to a document on the screen by dividing it by graphic data and a means for connecting a plurality of areas laid out in one page. In this case, the document processing apparatus that shifts to the area connected to the area is provided with area connection order determining means for determining the connection order between the areas based on the coordinate value of each area divided by the graphic data. Document processing device.
ウトする手段と、1ページ内にレイアウトされた複数の
領域を連結する手段と、を備え、ある領域が一杯になっ
た場合にこれに連結された領域に移行させる文書処理装
置において、1ページ内にレイアウトされた複数の領域
のうち同一書式設定の領域を連結対象とし、各領域に係
る座標値に基づき領域間の連結順序を決定する領域連結
順序決定手段を備えたことを特徴とする文書処理装置。3. A means for laying out an area related to a document on a screen, and a means for connecting a plurality of areas laid out in one page, which are connected to a certain area when the area is full. In a document processing apparatus that shifts to a different area, areas having the same format setting among a plurality of areas laid out in one page are to be connected, and area connection order is determined based on coordinate values of each area. A document processing apparatus comprising an order determining means.
区画決定され文書に係る領域をレイアウトする手段と、
1ページ内にレイアウトされた複数の領域を連結する手
段と、を備え、ある領域が文書で一杯になった場合にこ
れに連結された領域に移行させる文書処理装置におい
て、各領域をその始点又は終点の行座標によりソート
し、行座標が等しい複数の領域についてはさらに始点又
は終点の列座標によりソートすることにより領域間の連
結順序を決定することを特徴とする領域連結順序決定方
法。4. A means for laying out a region related to a document, which is section-determined by starting point and ending point coordinates on the screen,
In a document processing device, which comprises means for connecting a plurality of areas laid out in one page, and when a certain area is filled with a document, the area is transferred to the connected area. A method for determining a region connection order, characterized in that the order of connection between regions is determined by sorting by the row coordinate of the end point and further by sorting by the column coordinate of the start point or the end point for a plurality of regions having the same row coordinate.
区画決定され文書に係る領域をレイアウトする手段と、
1ページ内にレイアウトされた複数の領域を連結する手
段と、を備え、ある領域が文書で一杯になった場合にこ
れに連結された領域に移行させる文書処理装置におい
て、連結対象とする領域のうち互いに行又は列座標の範
囲が重複しない領域については行又は列座標の順にソー
トし、重複する領域については始点又は終点の列座標に
よりソートすることにより領域間の連結順序を決定する
ことを特徴とする領域連結順序決定方法。5. A means for laying out a region related to a document, which is sectioned on the screen by start point and end point coordinates,
In a document processing device, which comprises means for connecting a plurality of areas laid out in one page, and when a certain area is filled with a document, the area to be connected is changed to an area connected to the area. Among them, the areas in which the range of row or column coordinates do not overlap with each other are sorted in the order of row or column coordinates, and the areas with overlapping are sorted by the column coordinates of the start point or the end point to determine the connection order between areas. A method for determining the region connection order.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4121693A JPH05314103A (en) | 1992-05-14 | 1992-05-14 | Document processing apparatus and area connecting order determination method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4121693A JPH05314103A (en) | 1992-05-14 | 1992-05-14 | Document processing apparatus and area connecting order determination method thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05314103A true JPH05314103A (en) | 1993-11-26 |
Family
ID=14817545
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4121693A Pending JPH05314103A (en) | 1992-05-14 | 1992-05-14 | Document processing apparatus and area connecting order determination method thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH05314103A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006178683A (en) * | 2004-12-21 | 2006-07-06 | Brother Ind Ltd | Label editing apparatus, program, and recording medium |
-
1992
- 1992-05-14 JP JP4121693A patent/JPH05314103A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006178683A (en) * | 2004-12-21 | 2006-07-06 | Brother Ind Ltd | Label editing apparatus, program, and recording medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4608662A (en) | Method for editing document | |
| JPS60189568A (en) | Information processor | |
| US4996640A (en) | Data processing system | |
| JPH05314103A (en) | Document processing apparatus and area connecting order determination method thereof | |
| JPH0366700B2 (en) | ||
| JP3528249B2 (en) | Document processing device | |
| JP2879940B2 (en) | Score editing system | |
| JP2969920B2 (en) | Document processing device | |
| JP2572441B2 (en) | Form-specific figure creation device | |
| JPH08171646A (en) | Graphic creation device | |
| JPH0991454A (en) | Drawing editing system | |
| JPH01318168A (en) | Document forming device | |
| JPS62212838A (en) | Source program editing system | |
| JPH09134355A (en) | Document creating apparatus and document layout changing method | |
| JPH06111025A (en) | Graph making device | |
| JPH0827698B2 (en) | Document processing device | |
| JPH0619892A (en) | Table frame forming method | |
| JPH04309112A (en) | Method and device for processing document | |
| JPH03246755A (en) | Character editing system | |
| JPH06309320A (en) | Method and device for character processing | |
| JPH06342430A (en) | Automatic page divided display editing device | |
| JPH0668080A (en) | Document creation device | |
| JPH0418632A (en) | Character processor | |
| JPH0782488B2 (en) | Document editing device | |
| JPH07200562A (en) | Document formatting method |