JPH07200220A - Data output device - Google Patents
Data output deviceInfo
- Publication number
- JPH07200220A JPH07200220A JP5354270A JP35427093A JPH07200220A JP H07200220 A JPH07200220 A JP H07200220A JP 5354270 A JP5354270 A JP 5354270A JP 35427093 A JP35427093 A JP 35427093A JP H07200220 A JPH07200220 A JP H07200220A
- Authority
- JP
- Japan
- Prior art keywords
- area
- data
- output
- storage unit
- overlapping
- 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
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
- Digital Computer Display Output (AREA)
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】
【目的】 複数の領域が部分的に重なり合っているよう
な場合に、その重複部分への出力を望まない領域内のデ
ータを予め削除しておかなくても所望する任意の領域内
のデータのみを当該重複部分に出力する。
【構成】 領域データ記憶部6はデータの出力範囲を示
す領域データを記憶する。CPU1は複数の領域が互い
に重複する場合にその重複部分を検出して重複領域記憶
部8に書き込むと共に、ユーザに重複部分に出力される
べき領域を選択させるために領域選択画面を表示させ
る。データ出力時にCPU1は実データ記憶部5内の文
書データ等を領域データ記憶部6内の領域に対応付けて
出力させるが、その際、重複部分については領域選択画
面上で選択された領域内のデータのみを出力させる。
(57) [Summary] [Purpose] If multiple areas partially overlap, you can delete any desired data without deleting the data in the areas that you do not want to output to the overlapping areas. Only the data in the area is output to the overlapping portion. [Structure] The area data storage unit 6 stores area data indicating an output range of data. When a plurality of areas overlap each other, the CPU 1 detects the overlapping portion and writes it in the overlapping area storage unit 8 and also displays an area selection screen to allow the user to select an area to be output to the overlapping portion. At the time of data output, the CPU 1 outputs the document data and the like in the actual data storage unit 5 in association with the region in the region data storage unit 6, and at that time, the overlapping portion is stored in the region selected on the region selection screen. Output only data.
Description
【0001】[0001]
【産業上の利用分野】この発明は、ワードプロセッサや
パーソナルコンピュータ等において、予めデータの出力
範囲として指定された領域に対応付けて文書データやイ
メージデータ等を出力するデータ出力装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data output device for outputting document data, image data or the like in a word processor, a personal computer or the like in association with an area previously designated as a data output range.
【0002】[0002]
【従来の技術】従来、ワードプロセッサ等において、作
成した文書データやイメージデータを予めデータの出力
範囲として指定された領域に対応付けて出力する場合、
出力媒体上で複数の領域が部分的に重なり合っている
と、出力結果はその重複部分で複数の領域内のデータが
それぞれOR合成されて出力されるため、極めて見難く
なってしまう。このような場合、従来においては、複数
の領域が重なり合わないように各領域位置を編集し直し
たり、あるいは重複部分にいずれか1つの領域内のデー
タのみを出力させるために、重複する他の領域内の当該
部分のデータをそれぞれ削除するようにしていた。2. Description of the Related Art Conventionally, in a word processor or the like, when the created document data or image data is output in association with a region designated in advance as a data output range,
When a plurality of regions partially overlap on the output medium, the output result is extremely difficult to see because the data in the plurality of regions are OR-combined and output at the overlapping portions. In such a case, conventionally, each area position is edited again so that a plurality of areas do not overlap each other, or other overlapping areas are output in order to output only the data in one area to the overlapping area. The data of the part in the area was deleted.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、この種
の編集作業は極めて困難を要し、また、重複部分のデー
タを削除してしまうと、それを元のデータに復元させる
場合には、データ入力を始めからやり直さなければなら
ないという欠点があった。この発明の課題は、複数の領
域が部分的に重なり合っているような場合に、その重複
部分への出力を望まない領域内のデータを予め削除して
おかなくても所望する任意の領域内のデータのみを当該
重複部分に出力できるようにすることである。However, this kind of editing work is extremely difficult, and if the data in the duplicated portion is deleted, it is necessary to input the data when restoring it to the original data. There was a drawback that you had to start over from the beginning. The problem to be solved by the present invention is, in the case where a plurality of areas are partially overlapped with each other, if the data in the area where the output to the overlapping portion is not desired is not deleted in advance in the desired arbitrary area. That is, only the data can be output to the overlapped portion.
【0004】[0004]
【課題を解決するための手段】この発明の手段は次の通
りである。 (1)、領域記憶手段はデータの出力範囲を示す領域を
記憶する。この場合、領域毎にその領域を特定するため
の座標値等が記憶される。 (2)、検出手段はこの領域記憶手段に記憶されている
複数の領域が出力媒体上で互いに重複する場合にその重
複部分を検出する。 (3)、選択手段はこの検出手段によって検出された重
複部分に出力されるべき領域を選択する。なお、この領
域選択手段は領域選択画面上で任意に指定された領域を
選択するようにしてもよい。 (4)、出力制御手段は前記領域記憶手段内の領域に対
応付けてデータを出力すると共に、重複部分にデータを
出力する際に、前記選択手段によって選択された領域に
対応するデータを当該重複部分に出力し、重複する他の
領域についてはその部分へのデータ出力を禁止する。The means of the present invention are as follows. (1) The area storage means stores an area indicating the output range of data. In this case, coordinate values and the like for identifying the area are stored for each area. (2) When the plurality of areas stored in the area storage means overlap each other on the output medium, the detecting means detects the overlapping portions. (3) The selecting means selects the area to be output to the overlapping portion detected by the detecting means. The area selection means may select an area arbitrarily designated on the area selection screen. (4) The output control means outputs the data in association with the area in the area storage means, and outputs the data corresponding to the area selected by the selection means when outputting the data to the overlapping portion. Data is output to a part, and data output to that part is prohibited for other overlapping areas.
【0005】[0005]
【作用】この発明の手段の作用は次の通りである。い
ま、予め任意に設定した複数の領域が部分的に重なり合
っているものとすると、検出手段はこの重複部分の検出
を行う。ここで、例えば領域選択画面上で任意の領域を
指定してその領域を重複部分に出力されるべき領域とし
て選択しておく。すると、出力制御手段は各領域に対応
付けてデータを出力すると共に、重複部分にデータを出
力する際に、予め指定された選択領域に対応するデータ
を当該重複部分に出力し、重複する他の領域については
その部分への出力を禁止する。したがって、複数の領域
が部分的に重なり合っているような場合に、その重複部
分への出力を望まない領域内のデータを予め削除してお
かなくても所望する任意の領域内のデータのみを当該重
複部分に出力することができる。The operation of the means of the present invention is as follows. Now, if it is assumed that a plurality of regions that have been arbitrarily set in advance partially overlap with each other, the detection means detects this overlapping portion. Here, for example, an arbitrary area is designated on the area selection screen, and the area is selected as an area to be output to the overlapping portion. Then, the output control unit outputs the data in association with each area, and when outputting the data to the overlapping portion, outputs the data corresponding to the preselected designated area to the overlapping portion, and the other overlapping portions. Output to that area is prohibited. Therefore, when a plurality of areas are partially overlapped with each other, only the data in any desired area need not be deleted without previously deleting the data in the area where output to the overlapping portion is not desired. It is possible to output to the overlapping part.
【0006】[0006]
【実施例】以下、図1〜図13を参照して一実施例を説
明する。図1はワードプロセッサのブロック構成図であ
る。CPU1はROM2等に格納されている各種プログ
ラムにしたがってこのワードプロセッサの全体動作を制
御する中央演算処理装置であり、キー入力部3から入力
された文書データやイメージデータ入力部4から入力さ
れたイメージデータを取り込んで実データ記憶部5に格
納する。この実データ記憶部5は文書データやイメージ
データを記憶保存するランダムアクセスメモリで、CP
U1はこの文書データやイメージデータを領域データ記
憶部6に予め設定されている領域(各データ毎にその出
力範囲を示す領域)に対応付けて出力させる。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment will be described below with reference to FIGS. FIG. 1 is a block diagram of a word processor. The CPU 1 is a central processing unit that controls the overall operation of this word processor according to various programs stored in the ROM 2 and the like, and the document data input from the key input unit 3 and the image data input from the image data input unit 4 Is stored and stored in the actual data storage unit 5. The actual data storage unit 5 is a random access memory that stores and saves document data and image data.
U1 outputs the document data and the image data in association with a preset area (area indicating the output range of each data) in the area data storage unit 6.
【0007】領域データ記憶部6は図2に示すように構
成されている。即ち、領域データ記憶部6は領域Noに対
応してその出力領域内に出力されるべきデータ種(文字
データであれば“1”、イメージデータであれば
“0”)と、領域の左上角部に対応する左上座標(X
1、Y1)、右下角部に対座標する右下座標(X2、Y
2)と、領域内に出力されるべきデータが実データ記憶
部5内のどこに格納されているかを示す実データアドレ
ス(トップアドレス)とを記憶する構成となっている。
この領域データ記憶部6内のデータ種と左上座標および
右下座標は領域設定時にキー入力部3から任意に設定さ
れたものであり、また、実データアドレスは文書データ
やイメージデータを入力して実データ記憶部5に格納し
た際に、該当する領域に対応付けて実データ記憶部5の
格納位置が実データアドレスとして設定されたものであ
る。このようにして文書データやイメージデータに対応
付けて予めそのデータの出力範囲を示す領域を任意に設
定すると、CPU1は各領域が部分的に重なり合ってい
るかをチェックし、重なり合っている場合にはその重複
部分を検出し、それに応じて表示部7に領域選択画面を
表示出力させる。この領域選択画面は重複部分にどの領
域内のデータのみを出力させるかを選択させるための画
面で、この選択画面にしたがってユーザが任意の領域を
指定すると、CPU1はそれに応じて重複領域データを
作成して重複領域記憶部8に設定する。The area data storage unit 6 is constructed as shown in FIG. That is, the area data storage unit 6 corresponds to the area number, the data type (“1” for character data, “0” for image data) to be output in the output area, and the upper left corner of the area. Upper left coordinate (X
1, Y1), lower right coordinates (X2, Y
2) and an actual data address (top address) indicating where in the actual data storage unit 5 the data to be output in the area are stored.
The data type, the upper left coordinates and the lower right coordinates in this area data storage unit 6 are set arbitrarily from the key input unit 3 when setting the area, and the actual data address is obtained by inputting document data or image data. When stored in the actual data storage unit 5, the storage position of the actual data storage unit 5 is set as the actual data address in association with the corresponding area. In this way, if the area indicating the output range of the data is arbitrarily set in advance in association with the document data or the image data, the CPU 1 checks whether or not the areas partially overlap each other, and if they overlap, the The overlapping portion is detected, and the display unit 7 is caused to display and output the area selection screen accordingly. This area selection screen is a screen for selecting in which area only the data in the overlapping part is to be output. When the user specifies an arbitrary area according to this selection screen, the CPU 1 creates the overlapping area data accordingly. Then, it is set in the overlapping area storage unit 8.
【0008】重複領域記憶部8は図3に示すように構成
されている。即ち、重複領域記憶部8には互いに重なり
合う複数の領域をそれぞれ特定するために領域データ記
憶部6内の領域Noが重複領域Noとして設定されており、
この重複領域Noに対応してこの重複領域記憶部8には重
複部分の範囲を特定するためにその重複部分の左上角部
に対応する左上座標(X3、Y3)と右下角部に対応す
る右下座標(X4、Y4)、更に「出力領域数」、「出
力領域No」を記憶する構成となっている。ここで、図3
に示す重複領域記憶部8においては、重複する領域数が
2つの場合を示したもので、重複領域数が2の場合に、
「出力領域数」は通常と同様に重複部分に双方の領域内
のデータをOR合成して出力させるか、予め選択された
何れか一方の領域についてのみ出力させるか、双方とも
出力させないかを示すもので、「出力領域数」が“2”
の場合には双方共出力すべきことを示し、“1”の場合
には任意に選択された何れか1つの領域のみ出力すべき
ことを示し、“0”の場合には双方共出力すべきではな
いことを示している。また、「出力領域No」は出力対象
として選択された領域Noである。The overlapping area storage section 8 is constructed as shown in FIG. That is, in the overlap area storage unit 8, the area No. in the area data storage unit 6 is set as the overlap area No in order to specify a plurality of areas that overlap each other.
In order to specify the range of the overlapping portion in the overlapping area storage unit 8 corresponding to this overlapping area No, the upper left coordinates (X3, Y3) corresponding to the upper left corner of the overlapping area and the right corresponding to the lower right corner. The lower coordinates (X4, Y4), the “output area number”, and the “output area No” are stored. Here, FIG.
In the overlapping area storage unit 8 shown in FIG. 3, the case where the number of overlapping areas is 2 is shown. When the number of overlapping areas is 2,
The “number of output areas” indicates whether or not the data in both areas is OR-combined and output in the overlapping portion as usual, or only one of the preselected areas is output, or both are not output. "Number of output areas" is "2"
In the case of, it indicates that both should be output, in the case of "1", it indicates that only one of the arbitrarily selected areas should be output, and in the case of "0", both should output. Indicates that it is not. The "output area number" is the area number selected as the output target.
【0009】なお、ワークメモリ9はAレジスタ9−
1、Bレジスタ9−2、領域Noカウンタ9−3等を有
し、上述した領域設定時、重複領域検出時あるいは実デ
ータ記憶部5の内容を予め指定された領域に対応付けて
表示部7や印字部10から出力させるデータ出力時に必
要に応じて使用されるものである。The work memory 9 is an A register 9-
1, a B register 9-2, an area number counter 9-3, and the like, and when the area is set, the overlapping area is detected, or the content of the actual data storage unit 5 is associated with a predetermined area, the display unit 7 is provided. It is used as necessary when outputting data to be output from the print unit 10.
【0010】次に、本実施例の動作を図4〜図13にし
たがって説明する。図4は全体動作の概要を説明するた
めのゼネラルフローチャートであり、領域設定処理(ス
テップA1)は図5のフローチャート、データ入力処理
(ステップA2)は図6のフローチャート、重複領域検
出処理(ステップA3)は図7のフローチャートにそれ
ぞれ対応している。先ず、領域設定処理(ステップA
1)が行われる。この領域設定処理(ステップA1)は
図5に示すように領域Noカウンタ9−3の内容に“0”
をセットするイニシャライズ処理(ステップB1)を行
ったのち、ユーザがデータを出力させる領域を特定する
ためにキー入力部3からその左上位置を指定すると、C
PU1はこの座標位置を検出し、領域No「0」に対応す
る領域データ記憶部6内にこの左上座標(X1、Y1)
を設定する(ステップB2)。同様に、ユーザがキー入
力部3から右下位置を指定すると、CPU1は領域No
「0」に対応する領域データ記憶部6内にこの右下座標
(X2、Y2)を設定する(ステップB3)。このよう
にして領域No「0」に対応付けて任意の領域を特定した
後、この領域内に入力すべきデータの種類を指定する
と、CPU1はこのデータ種を領域データ記憶部6内に
領域No「0」に対応付けて設定する(ステップB4)。
次に、ステップB5に進み、領域Noカウンタ9−3に
「1」を加算して領域Noを更新したのち、領域設定を終
了させる終了指令がキー入力部3から入力されたかを調
べ(ステップB6)、設定終了が指示されなければ、ス
テップB2に戻り、以下、同様の処理が出力領域毎に行
われる。Next, the operation of this embodiment will be described with reference to FIGS. FIG. 4 is a general flowchart for explaining the outline of the entire operation. The area setting process (step A1) is the flowchart of FIG. 5, the data input process (step A2) is the flowchart of FIG. 6, and the overlapping region detection process (step A3). ) Corresponds to the flowchart of FIG. 7, respectively. First, the area setting process (step A
1) is performed. In this area setting process (step A1), the content of the area No counter 9-3 is set to "0" as shown in FIG.
After performing an initialization process (step B1) for setting, the user specifies the upper left position from the key input unit 3 in order to specify the area to output the data.
PU1 detects this coordinate position and stores the upper left coordinates (X1, Y1) in the area data storage unit 6 corresponding to the area No. “0”.
Is set (step B2). Similarly, when the user specifies the lower right position from the key input unit 3, the CPU 1 causes the area No.
The lower right coordinates (X2, Y2) are set in the area data storage unit 6 corresponding to "0" (step B3). In this way, after identifying an arbitrary area by associating it with the area No. “0” and then specifying the type of data to be input in this area, the CPU 1 stores this data type in the area data storage unit 6. The value is set in association with "0" (step B4).
Next, in step B5, "1" is added to the area number counter 9-3 to update the area number, and then it is checked whether an end command for ending the area setting is input from the key input unit 3 (step B6). ), If the end of setting is not instructed, the process returns to step B2, and thereafter, the same processing is performed for each output area.
【0011】次に、このようにして任意に設定した各領
域に対応付けてその領域内に出力すべき文書データやイ
メージデータを入力する。ステップA2はこの場合のデ
ータ入力処理を示したもので、先ず、図6に示すよう
に、領域Noカウンタ9−3に初期値「0」をセットする
イニシャライズ処理が行われる(ステップC1)。次に
この領域Noカウンタ9−3の値で指定される領域は文書
データを入力する文書領域かをチェックし(ステップC
2)、文書領域であれば、キー入力部3から入力された
文書データを実データ記憶部5に格納する文書データの
入力処理が行われ(ステップC3)、またイメージデー
タを入力イメージ領域であれば、イメージデータ入力部
4から入力されたイメージデータを実データ記憶部5に
格納するイメージデータの入力処理が行われる(ステッ
プC4)。そして、このような入力処理によって実デー
タ記憶部5に格納したデータのトップアドレスを抽出し
てこのアドレスを実データアドレスとして領域データ記
憶部6内に領域No「0」に対応付けて設定する(ステッ
プC5)。そして、領域Noカウンタ9−3の値が領域デ
ータ記憶部6内の最終領域Noと等しいかをチェックし
(ステップC6)、最終領域Noに達していなければ、ス
テップC7に進み、領域Noカウンタ9−3に「1」を加
算して領域Noの更新を行ったのちステップC2に戻り、
以下、同様の動作が繰り返される。Next, the document data and the image data to be output are input in the areas in association with the areas arbitrarily set in this way. Step A2 shows the data input process in this case. First, as shown in FIG. 6, an initialization process for setting an initial value "0" to the area No counter 9-3 is performed (step C1). Next, it is checked whether the area designated by the value of the area No counter 9-3 is a document area for inputting document data (step C
2) In the case of the document area, the document data input from the key input unit 3 is stored in the actual data storage unit 5 and the input processing of the document data is performed (step C3). For example, the image data input process of storing the image data input from the image data input unit 4 in the actual data storage unit 5 is performed (step C4). Then, by such an input process, the top address of the data stored in the actual data storage unit 5 is extracted, and this address is set as the actual data address in the region data storage unit 6 in association with the region number "0" ( Step C5). Then, it is checked whether the value of the area No. counter 9-3 is equal to the final area No. in the area data storage unit 6 (step C6). If the value has not reached the final area No., the process proceeds to step C7 and the area No. counter 9 -3 is added with "1" to update the area number, and then the process returns to step C2,
Hereinafter, the same operation is repeated.
【0012】このようにして領域データ記憶部6内に設
定した各領域に対応付けて文書データやイメージデータ
を入力し終ると、CPU1は次の重複領域設定処理(ス
テップA3)を実行する。先ず、図7に示すようにワー
クメモリ9内のAレジスタ9−1に初期値「0」、また
Bレジスタ9−2に初期値「1」をセットしておく(ス
テップD1)。ここで、Aレジスタ9−1、Bレジスタ
9−2は重複の領域が部分的に重なり合っているかを順
次検出するために領域Noがセットされるもので、本実施
例においては1つの領域に着目し、この着目領域と他の
領域とを順次比較しながら重複部分の検出を行うように
しているため、Aレジスタ9−1には着目領域の領域No
がセットされ、Bレジスタ9−2には比較対象の領域No
がセットされる。When the document data and the image data are input in association with each area set in the area data storage unit 6 in this way, the CPU 1 executes the next overlapping area setting process (step A3). First, as shown in FIG. 7, the initial value "0" is set in the A register 9-1 and the initial value "1" is set in the B register 9-2 in the work memory 9 (step D1). Here, the A register 9-1 and the B register 9-2 are set with an area number in order to sequentially detect whether or not overlapping areas partially overlap each other. In this embodiment, attention is paid to one area. However, since the overlap area is detected while sequentially comparing this area of interest with other areas, the area number of the area of interest is stored in the A register 9-1.
Is set, and the area number of the comparison target is set in the B register 9-2.
Is set.
【0013】いま、Aレジスタ9−1、Bレジスタ9−
2に初期値がセットされている状態において、次のステ
ップD2では重複領域演算が行われる。この場合、領域
No「0」に対応する左上座標(X1、Y1)および右下
座標(X2、Y2)を領域データ記憶部6から読み出し
てその2点座標から着目領域の座標範囲を求める。次
に、領域No「1」に対応する左上座標(X1、Y1)お
よび右下座標(X2、Y2)を領域データ記憶部6から
読み出してその2点座標から比較対象領域の四隅座標点
を求める。そして、この比較対象領域の1点(最初は左
上座標点)が着目領域の座標範囲内に含まれるかをチェ
ックし、続いて比較対象領域の次の点(左下座標点)が
着目領域の座標範囲内に含まれるかをチェックする。同
様に、比較対象領域の次の点(右上座標点)、更に次の
点(右下座標点)が着目領域の座標範囲内に含まれるか
を順次チェックする。このようにして4回の比較演算に
よって着目領域と比較対象領域とが互いに重なり合って
いるかの重複領域演算処理が行われる。Now, the A register 9-1 and the B register 9-
In the state where the initial value is set to 2, the overlap area calculation is performed in the next step D2. In this case, the area
The upper left coordinates (X1, Y1) and the lower right coordinates (X2, Y2) corresponding to No "0" are read from the area data storage unit 6 and the coordinate range of the attention area is obtained from the two-point coordinates. Next, the upper left coordinates (X1, Y1) and the lower right coordinates (X2, Y2) corresponding to the area No. “1” are read from the area data storage unit 6 and the four corner coordinate points of the comparison area are obtained from the two point coordinates. . Then, it is checked whether or not one point (first upper left coordinate point) of the comparison target area is included in the coordinate range of the target area, and then the next point (lower left coordinate point) of the comparison target area is the coordinate of the target area. Check whether it is included in the range. Similarly, it is sequentially checked whether the next point (upper right coordinate point) of the comparison target area and the next point (lower right coordinate point) are included in the coordinate range of the target area. In this way, the overlap region arithmetic processing is performed by four comparison operations to determine whether the region of interest and the comparison target region overlap each other.
【0014】ここで、図9は予め任意に設定された領域
の設定状態を示し、図2で示した領域データ記憶部6の
内容と対応付けられており、領域データ記憶部6内の領
域No「0」はイメージデータ領域、領域No「1」は文
書データ領域、領域No「2」はイメージデータ領域
、領域No「3」はイメージデータ領域、領域No
「4」は文書データ領域に対応している。Here, FIG. 9 shows a setting state of an area arbitrarily set in advance, which is associated with the contents of the area data storage unit 6 shown in FIG. 2, and the area No. in the area data storage unit 6 is shown. “0” is the image data area, area No “1” is the document data area, area No “2” is the image data area, area No “3” is the image data area, area No.
"4" corresponds to the document data area.
【0015】いま、領域No「0」のイメージデータ領域
を着目領域とし、領域No「1」の文書データ領域を
比較対象領域として重複領域演算を行った結果、双方の
領域は重なり合っていないので、次のステップD3で着
目領域に対して比較対象領域は重複領域でないことが検
出されてステップD5に移行し、Bレジスタ9−2内の
領域Noが最終領域Noに達したかのチェックが行われる。
この場合、ステップD5でNOと判断されるので、次の
ステップD6に進み、Bレジスタ9−2の値に「1」を
加算することによって比較対象領域を示す領域Noを更新
したのち、ステップD2に戻る。これによって今度は着
目領域(イメージデータ領域)に対して領域No「2」
のイメージデータ領域を比較対象領域として重複領域
演算が行われる。この場合、重複領域であることがステ
ップD3で検出されるので、出力領域選択処理(ステッ
プD4)が行われる。Now, as a result of performing the overlap area calculation with the image data area of the area No. "0" as the area of interest and the document data area of the area No. "1" as the comparison area, both areas do not overlap. In the next step D3, it is detected that the comparison target area is not an overlapping area with respect to the target area, the process proceeds to step D5, and it is checked whether the area No. in the B register 9-2 has reached the final area No.
In this case, since NO is determined in step D5, the process proceeds to the next step D6 to update the area number indicating the comparison area by adding "1" to the value of the B register 9-2, and then to step D2. Return to. As a result, this time the area No. “2” for the area of interest (image data area)
The overlap area calculation is performed by using the image data area of (3) as a comparison target area. In this case, since the overlapping area is detected in step D3, the output area selection process (step D4) is performed.
【0016】図8はこの出力領域選択処理を詳細に示し
たフローチャートである。この出力領域選択処理は2つ
の領域が互いに重なり合う場合に、その重複部分にどの
領域内のデータを出力させるかをユーザに選択させるた
めの処理で、先ず、領域データ記憶部6内に予め設定さ
れている各領域をレイアウト表示させると共に(ステッ
プE1)、重複する部分に網かけ表示を行い(ステップ
E2)、更に重複部分にどの領域内のデータを出力させ
るのかを選択させるためのガイド表示(領域選択表示)
を行う(ステップE3)。FIG. 8 is a flow chart showing in detail this output area selection processing. This output area selection processing is processing for allowing the user to select which area of data is to be output to the overlapping portion when the two areas overlap each other. First, the output area selection processing is preset in the area data storage unit 6. Each area is displayed in a layout (step E1), the overlapping portion is displayed in a shaded area (step E2), and a guide display for selecting which area is to be output as data (area) (Selection display)
Is performed (step E3).
【0017】図10(A)はこの場合の表示状態を示し
ている。即ち、いま、着目領域であるイメージデータ領
域と比較対象領域であるイメージデータ領域とが重
複することが検出された場合であり、このような場合に
は図10の(A)に示すようにその重複部分に網かけ表
示が行われると共に、領域選択表示として重複する各領
域名(イメージデータ領域、イメージデータ領域)
に対応付けてその領域を出力対象とするかしないかを示
す「出力する」、「出力しない」のガイド表示が行われ
る。ここで、このガイド表示には矩形カーソルが表示さ
れ、このカーソル位置を移動させることで、領域選択を
行うが、各領域名に対応するカーソルデフォルト値とし
て双方とも「出力する」の位置にカーソル表示が行われ
ている。FIG. 10A shows a display state in this case. That is, this is the case where it is detected that the image data area which is the attention area and the image data area which is the comparison target area overlap each other. In such a case, as shown in FIG. Area name (image data area, image data area) that overlaps with overlapping display as area selection display
A guide display of “output” or “not output” indicating whether or not the area is to be output in association with is displayed. Here, a rectangular cursor is displayed in this guide display, and the area is selected by moving this cursor position. The cursor default value corresponding to each area name is displayed as the cursor output value in both positions. Is being done.
【0018】この状態において次のステップE4ではカ
ーソルキーを操作して選択すべき領域を指定入力する。
ここで、重複部分にイメージデータ領域を出力し、イ
メージデータ領域を出力しない場合には、図10の
(B)、(C)に示すようなカーソルキーを操作する。
即ち、図10の(A)に示す状態から下カーソルキーを
1回操作して次の領域名「イメージデータ領域」を選
択し、次で、右カーソルキーを1回操作して「出力しな
い」を選択する。すると、次のステップE5に進み、重
複領域記憶部8に書き込むべきデータを1レコード分作
成して重複領域記憶部8に設定する。この場合、図3に
示すように、重複領域Noとして「0」、「2」、また重
複部分の左上座標(X3、Y3)として「210、39
0」、右下座標として「560、440」、出力領域数
として「1」、出力領域Noとして「2」が設定される。In this state, in the next step E4, the cursor key is operated to designate and input the area to be selected.
Here, when the image data area is output to the overlapping portion and the image data area is not output, the cursor keys as shown in FIGS. 10B and 10C are operated.
That is, from the state shown in FIG. 10A, the down cursor key is operated once to select the next area name "image data area", and then the right cursor key is operated once to "not output". Select. Then, the process proceeds to the next step E5, and one record of data to be written in the overlap area storage unit 8 is created and set in the overlap area storage unit 8. In this case, as shown in FIG. 3, the overlapping area numbers are “0” and “2”, and the upper left coordinates (X3, Y3) of the overlapping portion are “210, 39”.
“0”, lower right coordinates “560, 440”, output area number “1”, and output area No. “2” are set.
【0019】このような出力領域選択処理(ステップD
4)が終ると、図7に示すようにBレジスタ9−2の値
が最終領域Noに達していないことを条件にBレジスタ9
−2の値が更新される。この結果、領域No「3」に対応
するイメージデータ領域が比較対象領域となり、この
場合にもイメージデータ領域との重複が検出されるの
で上述と同様の出力領域選択処理(ステップD4)が行
われる。図11はこの場合の領域選択画面を示し、図1
1の(A)に示す初期画面状態から図11の(B)に示
すように右カーソルキーを1回操作すると、重複部分に
イメージデータ領域を出力させず、イメージデータ領
域を出力する領域選択が行われ、これによって図3に
示すように重複領域記憶部8内に2レコード目が設定さ
れる。Such output area selection processing (step D
4) is completed, the B register 9 is provided on condition that the value of the B register 9-2 has not reached the final area No. as shown in FIG.
The value of -2 is updated. As a result, the image data area corresponding to the area No. “3” becomes the comparison area, and in this case as well, the overlap with the image data area is detected, so the same output area selection processing (step D4) as described above is performed. . FIG. 11 shows the area selection screen in this case.
When the right cursor key is operated once as shown in FIG. 11B from the initial screen state shown in FIG. 1A, the image data area is not output to the overlapping portion, and the area selection for outputting the image data area is performed. Then, the second record is set in the overlapping area storage unit 8 as shown in FIG.
【0020】このような動作は図7のステップD5でB
レジスタ9−2の値が最終領域Noに達するまで繰り返さ
れる。つまり、着目領域を領域No「0」に固定し、他の
領域(領域No「1」、「2」、「3」、「4」)を比較
対象として順次指定しながらその最終領域まで上述の動
作が繰り返される。ここで、最終領域に達すると、ステ
ップD7に進み、着目領域の次の領域は最終領域かをチ
ェックする。いま、次の領域は領域No「1」であるか
ら、Aレジスタ9−1の値をプラス「1」して着目領域
を領域No「1」に更新すると共に(ステップD8)、更
新した着目領域の次の領域No「2」をBレジスタ9−2
にセットする(ステップD9)。そして、ステップD2
に戻り、更に上述の動作が繰り返される。したがって、
今度は着目領域を領域No「1」に固定し、他の領域(領
域No「1」、「2」、「3」、「4」)を比較対象とし
て重複領域演算(ステップD2)が行われるが、いま、
着目領域である文書データ領域は他の領域と一切重複
していないので、出力領域選択処理(ステップD4)の
実行はスキップされる。以下、図7の動作は着目領域が
最終領域に達するまで繰り返される。Such operation is performed in step D5 of FIG.
It is repeated until the value of the register 9-2 reaches the final area No. That is, the attention area is fixed to the area No. “0”, and the other areas (area Nos. “1”, “2”, “3”, and “4”) are sequentially specified as the comparison target, and the above-mentioned final area is displayed. The operation is repeated. Here, when the final area is reached, the process proceeds to step D7 to check whether the area next to the attention area is the final area. Since the next area is the area No. “1”, the value of the A register 9-1 is incremented by “1” to update the area of interest to the area No. “1” (step D8) and the updated area of interest. Area No. “2” next to B register 9-2
(Step D9). And step D2
Then, the above operation is repeated. Therefore,
This time, the attention area is fixed to the area No. “1”, and the overlap area calculation (step D2) is performed with other areas (area Nos. “1”, “2”, “3”, and “4”) as comparison targets. But now
Since the document data area, which is the area of interest, does not overlap any other area, the execution of the output area selection process (step D4) is skipped. Hereinafter, the operation of FIG. 7 is repeated until the attention area reaches the final area.
【0021】次に、図12に示すフローチャートにした
がってデータ出力処理を説明する。CPU1はキー入力
部3から表示指令あるいは印字指令が入力されると、実
データ記憶部5内の文書データやイメージデータを対応
する領域内に出力するデータ出力処理を実行する。先
ず、領域Noカウンタ9−3に初期値「0」をセットして
おく(ステップE1)。次に、この領域No「0」に対応
する実データアドレスを領域データ記憶部6から読み出
し、このアドレスで実データ記憶部5をアクセスするこ
とにより、イメージデータ領域に対応する実データを
ワークメモリ9に一時記憶させておく(ステップE
2)。この状態において、この領域No「0」が重複領域
記憶部8にセットされているか、つまり、イメージデー
タ領域は他の領域と重複する重複領域かをチェックす
るが(ステップE3)、いま、図3に示すように領域No
「0」は重複領域記憶部8内の1レコード目にセットさ
れているので、ステップE4に進み、重複領域記憶部8
を参照して出力対象領域かをチェックする。ここで、重
複領域記憶部8内の1レコード目の出力領域Noは
「2」、したがって、出力対象外であるので、ステップ
E4でNOと判断されて次のステップE5に進み、ワー
クメモリ9内の実データから重複部分を削除する。な
お、重複部分は、重複領域記憶部8内の左上および右下
座標によって特定されるので、この重複部分のみを実デ
ータからカットしておく。次に、他の重複部分があるか
をチェックするが(ステップE6)、この場合、重複領
域記憶部8内の他のレコードには領域No「0」はセット
されていないので、ステップE7に進み、ワークメモリ
9内の実データを表示/印字出力させる。次に、領域No
カウンタ9−3の値が最終領域Noに達したかをチェック
するが、いま、「NO」と判断されるので、ステップE
9に進み、領域Noカウンタ9−3に「1」を加算して領
域Noを「1」に更新したのちステップE2に戻る。Next, the data output processing will be described with reference to the flowchart shown in FIG. When a display command or a print command is input from the key input unit 3, the CPU 1 executes a data output process of outputting the document data or image data in the actual data storage unit 5 to the corresponding area. First, an initial value "0" is set in the area No counter 9-3 (step E1). Next, the actual data address corresponding to this area No. “0” is read from the area data storage unit 6, and the actual data storage unit 5 is accessed at this address, so that the actual data corresponding to the image data area is obtained. Temporarily store in (Step E
2). In this state, it is checked whether or not this area number "0" is set in the overlap area storage unit 8, that is, whether the image data area overlaps with another area (step E3). Area No. as shown in
Since "0" is set in the first record in the overlapping area storage unit 8, the process proceeds to step E4, and the overlapping area storage unit 8
Check whether it is the output target area by referring to. Here, the output area No. of the first record in the overlapping area storage unit 8 is “2”, and therefore, it is not an output target, so NO is determined in step E4, the process proceeds to the next step E5, and the work memory 9 Remove the duplicated part from the actual data of. Since the overlapping portion is specified by the upper left and lower right coordinates in the overlapping area storage unit 8, only this overlapping portion is cut from the actual data. Next, it is checked whether or not there is another overlapping portion (step E6). In this case, since the area No. "0" is not set in another record in the overlapping area storage unit 8, the process proceeds to step E7. , Display / print out the actual data in the work memory 9. Next, area No.
It is checked whether the value of the counter 9-3 has reached the final area No. Since it is judged "NO" now, step E
In step 9, the area number counter 9-3 is incremented by "1" to update the area number to "1", and then the process returns to step E2.
【0022】これによって領域No「1」に対応する文書
データ領域の実データがワークメモリ9にセットされ
るが、この領域は他の領域と一切重複していないの
で、ステップE7に進み、この文書データをそのまま表
示/印字出力させる。次に、領域Noが「2」に更新され
ると、イメージデータ領域の実データがワークメモリ
9にセットされる。ここで、先ず重複領域記憶部8の1
レコード目の内容に基づいてこのイメージデータ領域
は重複領域であるが、出力対象領域であることが検出さ
れるので、イメージデータ領域と重複する部分のカッ
トは行われず、そのまま残される。次に、領域No「2」
は重複領域記憶部8の2レコード目にもセットされてい
るので、ステップE6で他にも重複部分ありが検出され
てステップE4に戻るが、この場合、出力対象外である
ことが検出されるので、イメージデータ領域と重複す
る部分のカットが行われる(ステップE5)。このよう
な動作を最終領域まで繰り返すことによってデータ出力
が行われる。図13はこの場合の出力状態図で、イメー
ジデータ領域ととの重複部分には領域のデータの
みが出力され、またイメージデータ領域ととの重複
部分には領域のデータのみが出力されることになる。As a result, the actual data of the document data area corresponding to the area No. "1" is set in the work memory 9, but since this area does not overlap with any other area at all, the process proceeds to step E7, and this document Display / print data as it is. Next, when the area number is updated to "2", the actual data of the image data area is set in the work memory 9. Here, first, 1 of the overlap area storage unit 8
This image data area is an overlapping area based on the contents of the record, but since it is detected that it is an output target area, the portion overlapping the image data area is not cut and is left as it is. Next, area No. "2"
Is also set in the second record of the overlap area storage unit 8, so that there is another overlap in step E6 and the process returns to step E4. In this case, it is detected that it is not an output target. Therefore, the portion overlapping the image data area is cut (step E5). Data is output by repeating such an operation up to the final area. FIG. 13 is an output state diagram in this case, in which only the area data is output in the overlapping portion with the image data area, and only the area data is output in the overlapping portion with the image data area. Become.
【0023】以上のように本実施例においては、複数の
領域が部分的に重なり合っているような場合に、その重
複部分への出力を望まない領域内のデータを予め削除し
ておかなくても所望する任意の領域内のデータのみを当
該重複部分に出力することができる。この場合、重複部
分において双方の領域内のデータを通常通りにOR合成
して出力させたり、双方の領域内のデータを共に出力さ
せないようにすることは、重複領域記憶部8内の「出力
領域数」に“0”、“1”、“2”を任意に設定するこ
とによって選択することができる。As described above, in the present embodiment, when a plurality of areas partially overlap with each other, it is not necessary to previously delete the data in the area which is not desired to be output to the overlapping area. Only the data in the desired arbitrary area can be output to the overlapping portion. In this case, in the overlapping portion, the data in both areas is OR-combined as usual and is output, or the data in both areas is not output together is the "output area in the overlapping area storage unit 8". The number can be selected by arbitrarily setting "0", "1", "2".
【0024】なお、上記実施例は2つの領域が重複する
場合のみ例に挙げたが、勿論、3以上の領域が重なり合
う場合にも適用可能である。また、上記実施例は領域の
形状として矩形を例に挙げたが、丸形、三角形等の領域
であってもよく、その形状は問わない。更に、上記実施
例は実データのみを対応する領域内に割り当てて配置出
力するようにしたが、実データと共に領域を構成する罫
線も表示/印字出力させるようにしてもよい。Although the above embodiment has been described as an example only when two regions overlap each other, of course, it can be applied to a case where three or more regions overlap each other. Further, in the above embodiment, the shape of the area is rectangular, but it may be a shape such as a circle or a triangle, and the shape is not limited. Further, in the above-described embodiment, only the actual data is allocated and output in the corresponding area, but it is also possible to display / print out the ruled lines forming the area together with the actual data.
【0025】[0025]
【発明の効果】この発明によれば、複数の領域が部分的
に重なり合っているような場合に、その重複部分への出
力を望まない領域内のデータを予め削除しておかなくて
も所望する任意の領域内のデータのみを当該重複部分に
出力することができるので、従来のように複数の領域が
重なり合わないように編集し直す必要はなく、簡単に思
い通りの出力が得られ、従来に比べて時間と手間を大幅
に削減することが可能となる。According to the present invention, in the case where a plurality of areas partially overlap with each other, it is desired that the data in the area which is not desired to be output to the overlapping area be deleted in advance. Since only the data in an arbitrary area can be output to the overlapped area, it is not necessary to edit it again so that multiple areas do not overlap as in the past, and you can easily obtain the desired output and Compared with this, it is possible to significantly reduce time and labor.
【図1】ワードプロセッサの全体構成を示したブロック
図。FIG. 1 is a block diagram showing the overall configuration of a word processor.
【図2】領域データ記憶部6の構成図。FIG. 2 is a configuration diagram of an area data storage unit 6.
【図3】重複領域記憶部8の構成を示した図。FIG. 3 is a diagram showing a configuration of an overlap area storage unit 8.
【図4】全体動作の概要を示したゼネラルフローチャー
ト。FIG. 4 is a general flowchart showing an outline of the entire operation.
【図5】図4で示した領域設定処理(ステップA1)を
説明するためのフローチャート。5 is a flowchart for explaining the area setting process (step A1) shown in FIG.
【図6】図4で示したデータ入力処理(ステップA2)
を説明するためのフローチャート。FIG. 6 is a data input process shown in FIG. 4 (step A2).
The flowchart for explaining.
【図7】図4で示した重複領域検出処理を説明するため
のフローチャート。FIG. 7 is a flowchart for explaining the overlapping area detection processing shown in FIG.
【図8】図7で示した出力領域選択処理(ステップD
4)を説明するためのフローチャート。8 is an output area selection process (step D shown in FIG. 7).
4 is a flowchart for explaining 4).
【図9】複数の領域を重なり合って設定した場合の領域
設定状態を示した図。FIG. 9 is a diagram showing a region setting state when a plurality of regions are set to overlap each other.
【図10】領域選択画面と、この画面上で任意の領域を
出力対象領域として選択する場合のキー操作例を示した
図。FIG. 10 is a diagram showing an area selection screen and a key operation example when an arbitrary area on the screen is selected as an output target area.
【図11】更に他の領域選択画面と、この画面上で任意
の領域を出力対象領域として選択する場合のキー操作例
を示した図。FIG. 11 is a diagram showing still another area selection screen and a key operation example when an arbitrary area on this screen is selected as an output target area.
【図12】データ出力処理を示したフローチャート。FIG. 12 is a flowchart showing a data output process.
【図13】データの出力結果を例示した図。FIG. 13 is a diagram exemplifying a data output result.
1 CPU 2 ROM 3 キー入力部 4 イメージデータ入力部 5 実データ記憶部 6 領域データ記憶部 7 表示部 8 重複領域記憶部 9 ワークメモリ 9−1 Aレジスタ 9−2 Bレジスタ 9−3 領域Noカウンタ 10 印字部 1 CPU 2 ROM 3 Key Input Section 4 Image Data Input Section 5 Actual Data Storage Section 6 Area Data Storage Section 7 Display Section 8 Overlap Area Storage Section 9 Work Memory 9-1 A Register 9-2 B Register 9-3 Area No Counter 10 Printing section
Claims (2)
域記憶手段と、 この領域記憶手段に記憶されている複数の領域が出力媒
体上で互いに重複する場合にその重複部分を検出する検
出手段と、 この検出手段によって検出された重複部分に出力される
べき領域を選択する選択手段と、 前記領域記憶手段内の各領域に対応付けてデータを出力
すると共に、重複部分にデータを出力する際に、前記選
択手段によって選択された領域に対応するデータを当該
重複部分に出力し、重複する他の領域についてはその部
分へのデータ出力を禁止する出力制御手段と、 を具備したことを特徴とするデータ出力装置。1. An area storage means for storing an area indicating a data output range, and a detection means for detecting an overlapping portion when a plurality of areas stored in the area storage means overlap each other on an output medium. Selecting means for selecting an area to be output to the overlapping portion detected by the detecting means, and outputting data in association with each area in the area storing means and outputting data to the overlapping portion. And output control means for outputting the data corresponding to the area selected by the selection means to the overlapping portion and prohibiting the data output to the overlapping portion in the overlapping portion. Data output device.
に指定された領域を選択するようにしたことを特徴とす
る請求項(1)記載のデータ出力装置。2. The data output device according to claim 1, wherein the area selection means selects an area arbitrarily designated on the area selection screen.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5354270A JPH07200220A (en) | 1993-12-30 | 1993-12-30 | Data output device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5354270A JPH07200220A (en) | 1993-12-30 | 1993-12-30 | Data output device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07200220A true JPH07200220A (en) | 1995-08-04 |
Family
ID=18436417
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5354270A Pending JPH07200220A (en) | 1993-12-30 | 1993-12-30 | Data output device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07200220A (en) |
-
1993
- 1993-12-30 JP JP5354270A patent/JPH07200220A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH10307574A (en) | Computer with graph display function | |
| JP2008191790A (en) | Plant monitoring control system and plant monitoring control program | |
| JPH07200220A (en) | Data output device | |
| JP2887603B2 (en) | Figure registration control method | |
| JPH0322014A (en) | Menu selecting method | |
| JP4365965B2 (en) | Information processing apparatus, information processing method, and storage medium | |
| JP3111596B2 (en) | Spreadsheet processing method and device | |
| JP2856243B2 (en) | Checkered pattern automatic creation apparatus and method | |
| JP3248556B2 (en) | Information processing apparatus and method | |
| JPH0877337A (en) | Image output device | |
| JP3035126B2 (en) | Information processing device | |
| JPH11282599A (en) | Display method and device for change of file contents and medium recording display program | |
| JPH07287711A (en) | Document creating apparatus and screen input method thereof | |
| JP2595196B2 (en) | Table setting method | |
| JPH02257260A (en) | Document editing processor | |
| JP2575636B2 (en) | Graphic display device | |
| JPH0916746A (en) | Image filing equipment | |
| JP3080105B2 (en) | Ruled line selection device | |
| JP2000207087A (en) | Display figure selection method | |
| JPH0644251A (en) | Menu display method | |
| JPH07230553A (en) | Drawing method | |
| JPH05101044A (en) | Document processor | |
| JPH07200847A (en) | Graphic output device | |
| JPH0436430B2 (en) | ||
| JPH07121570A (en) | How to change the display screen |