JPH08161517A - Document processor - Google Patents

Document processor

Info

Publication number
JPH08161517A
JPH08161517A JP6330213A JP33021394A JPH08161517A JP H08161517 A JPH08161517 A JP H08161517A JP 6330213 A JP6330213 A JP 6330213A JP 33021394 A JP33021394 A JP 33021394A JP H08161517 A JPH08161517 A JP H08161517A
Authority
JP
Japan
Prior art keywords
data
document
page
graphic data
same page
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
JP6330213A
Other languages
Japanese (ja)
Inventor
Satoru Yashiro
哲 八代
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP6330213A priority Critical patent/JPH08161517A/en
Publication of JPH08161517A publication Critical patent/JPH08161517A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To provide a document processor which can automatically arrange a document and a graphic corresponding to it in the same page and then can speedily create the document. CONSTITUTION: When graphic data 31 in the document 41 are arranged for the 1st time, the data are enlarged, graphic data 32 referred to by a document 42 first are expelled to a document 43 in a next page together with a reference source, and the reference source and the graphic corresponding to it are arranged in the same page.

Description

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

【0001】[0001]

【産業上の利用分野】文書データを、その要素データで
あるテキストデータと図形データとに分離して保持し、
管理する文書処理装置に関する。
[Industrial field of use] Document data is separated into text data and graphic data, which are the element data, and is retained.
The present invention relates to a document processing device to manage.

【0002】[0002]

【従来の技術】従来、文書処理装置は、文書をテキスト
からなる要素データ(以下、「テキストデータ」とい
う)とそれ以外の図形等からなる要素データ(以下、
「図形データ」という)とを分離して管理し、テキスト
データと図形データとが混在する文書を同一頁に配置す
るときには、配置済みの図形データを避けてテキストデ
ータを流し込むことによってレイアウトしていた。した
がって、従来の文書処理装置で、文章と対応する、例え
ば説明図のような図形データを当該文章と同一頁にレイ
アウトするには、手動で他の図を指定して変倍した後
に、テキストデータの流し込みをし直し、その文章およ
び説明図を次頁に追い出す等の手法で、そのレイアウト
を実現していた。
2. Description of the Related Art Conventionally, a document processing apparatus has described a document as element data composed of text (hereinafter referred to as "text data") and element data composed of other figures (hereinafter referred to as "text data").
(Referred to as "graphic data") is managed separately, and when arranging a document in which text data and graphic data are mixed on the same page, the layout is performed by pouring the text data while avoiding the arranged graphic data. . Therefore, in a conventional document processing apparatus, in order to lay out graphic data corresponding to a sentence, such as an explanatory diagram, on the same page as the sentence, manually specify another figure and scale the text data. The layout was realized by the method of reflowing the text and pushing the sentence and the explanatory diagram to the next page.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来の文書処理装置では、ある頁のテキストデータを流し
込みし直したために、今度はそれより後方の別の頁で同
様な不都合が生じる場合があり、修正個所から後方の頁
を再確認する必要があった。このために、迅速に文章を
作成することができないという問題点があった。
However, in the above-mentioned conventional document processing apparatus, since the text data of a certain page is reflowed, the same inconvenience may occur in another page after that, It was necessary to reconfirm the page behind from the correction point. For this reason, there is a problem in that the text cannot be created quickly.

【0004】本発明は、上記問題点に鑑みてなされたも
のであり、自動的に文章とその対応する図形とを同一頁
に配置することができ、これにより、迅速な文章作成を
行うことが可能な文書処理装置を提供することを目的と
する。
The present invention has been made in view of the above problems, and it is possible to automatically arrange a sentence and its corresponding figure on the same page, which enables rapid sentence creation. An object is to provide a possible document processing device.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
本発明は、文書データをその要素データであるテキスト
データと図形データとに分離して保持し、各要素データ
に参照元と参照先とをリンクさせるリンク情報を付与
し、該付与されたリンク情報により各要素データ間を関
連づけることで文書データを処理する文書処理装置であ
って、前記図形データを予め設定された拡大縮小可能な
上下限範囲内で任意に拡大縮小する拡大縮小手段と、前
記参照元と参照先を同一頁に配置する必要があるか否か
を示す同一頁配置有無情報を当該リンク情報に対応して
記憶する記憶手段と、該同一頁配置有無情報を含むリン
ク情報に応じて、前記要素データを予め指定された頁に
配置する配置手段と、該配置手段により配置できない箇
所を検出するエラー検出手段と、該エラー箇所が検出さ
れたときに、前記配置手段による配置処理を中断させる
中断手段と、前記検出されたエラー箇所を、該エラー箇
所より前に配置された図形データの表示領域を前記拡大
縮小可能な範囲内で変倍することにより補正する補正手
段と、該補正された位置を先頭として前記要素データを
再配置するために前記配置手段を起動する起動手段とを
有することを特徴とする文書処理装置。
To achieve the above object, the present invention separates and holds document data into text data and graphic data which are element data thereof, and each element data has a reference source and a reference destination. Is a document processing apparatus for processing document data by providing link information for linking each element data with each other by associating each element data by the provided link information, wherein the graphic data is set to a preset upper and lower limit. Enlarging / reducing means for arbitrarily enlarging / reducing within a range, and storage means for storing the same page arrangement presence / absence information indicating whether or not it is necessary to arrange the reference source and the reference destination in association with the link information. And an arranging means for arranging the element data on a predetermined page according to the link information including the same page arranging presence / absence information, and an error for detecting a portion which cannot be arranged by the arranging means. Output means, interruption means for interrupting the placement processing by the placement means when the error location is detected, and the detected error location in the display area of the graphic data placed before the error location. A correction unit that corrects by changing the magnification within the range in which the scaling is possible; and a start-up unit that activates the arrangement unit to rearrange the element data starting from the corrected position. Document processing device.

【0006】また、好ましくは、前記補正手段は、前記
エラー箇所が検出されたときに、該エラー箇所より前に
配置された図形データを前記拡大可能な範囲内で変倍し
て次の頁に追い出し、または、前記縮小可能な範囲内で
変倍して同一頁に追い込んで補正することを特徴とす
る。
Further, preferably, when the error location is detected, the correction means scales the graphic data arranged in front of the error location within the expandable range and displays it on the next page. It is characterized in that the correction is performed by erasing or changing the magnification within the reducible range and driving the same page.

【0007】[0007]

【作用】本発明の構成に依れば、同一頁配置有無情報を
含むリンク情報に応じて要素データを配置しているとき
に、配置できない箇所であるエラー箇所が検出される
と、その配置処理が中断され、前記エラー箇所より前に
配置された図形データの表示領域が拡大縮小可能な範囲
内で変倍して補正され、その補正された位置を先頭にし
て要素データの再配置がなされるので、参照元と参照先
の要素データを同一頁に配置すべき場合には、自動的に
同一頁に配置される。
According to the structure of the present invention, when an element data is arranged according to the link information including the same page arrangement information, if an error point which cannot be arranged is detected, the arrangement processing is performed. Is interrupted, the display area of the graphic data arranged before the error location is scaled and corrected within a range in which it can be scaled, and the element data is rearranged starting from the corrected position. Therefore, when the reference source element data and the reference destination element data are to be arranged on the same page, they are automatically arranged on the same page.

【0008】[0008]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0009】図1は、本発明の一実施例に係る文書処理
装置の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing the schematic arrangement of a document processing apparatus according to an embodiment of the present invention.

【0010】同図において、本実施例の文書処理装置
は、該装置全体の制御を司るCPU1と、作成中の文書
などを表示する、例えばCRTまたは液晶ディスプレイ
(LCD)等のディスプレイ2と、ユーザによる各種処
理の指令や、文字、記号の入力等を実行するためのキー
ボード3と、各種処理プログラム等を格納するROM4
と、CPU1による演算処理結果や各種情報を一時的に
格納するRAM5と、作成した文書を記録媒体上に印刷
するプリンタ6とにより構成されている。そして、各構
成要素1〜6は、バス7により接続され、相互にデータ
の送受信が可能となっている。
In FIG. 1, the document processing apparatus of this embodiment has a CPU 1 for controlling the entire apparatus, a display 2 for displaying a document being created, and a display 2 such as a CRT or a liquid crystal display (LCD), and a user. A keyboard 3 for executing various processing commands, inputting characters and symbols, and a ROM 4 storing various processing programs
A RAM 5 for temporarily storing the result of arithmetic processing by the CPU 1 and various kinds of information; and a printer 6 for printing the created document on a recording medium. The respective constituent elements 1 to 6 are connected by a bus 7 so that data can be transmitted and received mutually.

【0011】ROM4には、要素データを頁単位で配置
(レイアウト)するための頁レイアウタと呼ばれる処理
プログラム4aが格納され、RAM5には、要素データ
を記憶する要素データ記憶領域5aおよび要素データの
リンク情報を記憶する要素データリンク情報記憶領域5
bが確保されている。
The ROM 4 stores a processing program 4a called a page layouter for arranging (laying out) element data in page units, and the RAM 5 has an element data storage area 5a for storing element data and a link of the element data. Element data link information storage area 5 for storing information
b is secured.

【0012】図2は、前記頁レイアウタ4aの機能構成
を示すブロック図である。
FIG. 2 is a block diagram showing the functional arrangement of the page layouter 4a.

【0013】同図において、頁レイアウタ4aは、各図
形データを頁配置の際に拡大縮小可能な上下限範囲にと
ともに管理する要素データ管理部11と、文書を構成す
る要素データ間のリンク情報を参照先と参照元が同じ頁
に配置する必要があるか否かを示す同一頁配置有無情報
(フラグ)とともに管理する要素データリンク情報管理
部12と、該要素データリンク情報管理部12および図
形データ管理部11により管理される要素データを印刷
するために、予め指定された頁上に配置する配置部13
と、該配置された各要素のうち、要素データリンク情報
管理部12により管理されるリンク情報に基づいて配置
されていない箇所をエラー箇所として検出し、配置部1
3が行う配置処理を中断させるエラー検出部14と、該
エラー検出部14により検出されたエラー箇所を図形デ
ータの表示領域を適当に変倍することにより補正する補
正部15と、該補正部15で補正された頁を先頭にして
配置部13を再起動してそれ以降の頁の再配置を行う起
動部16とにより構成されている。
In the figure, the page layouter 4a stores the link information between the element data management unit 11 that manages each figure data together with the upper and lower limit range that can be scaled when arranging the page, and the element data that forms the document. An element data link information management unit 12 that manages together with the same page layout presence / absence information (flag) indicating whether the reference destination and the reference source need to be arranged on the same page, and the element data link information management unit 12 and graphic data Arrangement unit 13 arranged on a page designated in advance in order to print the element data managed by management unit 11.
Then, among the arranged elements, a portion which is not arranged based on the link information managed by the element data link information management unit 12 is detected as an error portion, and the arrangement unit 1
3, an error detection unit 14 for interrupting the placement process performed by the third embodiment, a correction unit 15 for correcting the error location detected by the error detection unit 14 by appropriately scaling the display area of the graphic data, and the correction unit 15 It is configured by a starting unit 16 that restarts the layout unit 13 with the page corrected in step 1 as the head and rearranges subsequent pages.

【0014】図3は、テキストデータと図形データとを
リンクさせた文書データの一例を示す図である。ここ
で、図形データには、直線や円などで構成されるものに
限らず、写真等の画像データや表データ等も含まれてい
る。
FIG. 3 is a diagram showing an example of document data in which text data and graphic data are linked. Here, the graphic data is not limited to those formed by straight lines and circles, but also includes image data such as photographs and table data.

【0015】本実施例の文書処理装置は、頁に要素デー
タを配置する際に、既に配置されている図形データを避
けるようにしてテキストデータの流し込みを行うととも
に、既に配置されている図形データを相似形に変倍し直
して配置することができる。このため、前記要素データ
管理部11は、図形データを変倍可能な上下限範囲とと
もに管理している。また、要素データリンク情報管理部
12は、各要素データごとに参照先と参照元が同じ頁に
配置されるべきか否かを示すフラグとともに、テキスト
中の図を参照している場所と参照している図を管理して
いる。
When arranging element data on a page, the document processing apparatus according to the present embodiment pours text data so as to avoid graphic data that has already been arranged, and also deletes graphic data that has already been arranged. It can be resized to a similar shape and placed. For this reason, the element data management unit 11 manages the graphic data together with the upper and lower limit ranges in which magnification can be changed. In addition, the element data link information management unit 12 refers to the location in the text where the reference is made, together with a flag indicating whether the reference destination and the reference source should be placed on the same page for each element data. You are managing the diagram.

【0016】以上のように構成された文書処理装置が行
う制御処理を、以下、図4〜9に基づいて説明する。
The control processing performed by the document processing apparatus configured as described above will be described below with reference to FIGS.

【0017】図4は、前記頁レイアウタ4aの処理手順
を示すフローチャートであり、CPU1により実行され
る。この処理は、例えばキーボード3からユーザが文書
中の所定の枠内にテキストデータを流し込む指示を行う
コマンドを入力したときに、起動されるものである。
FIG. 4 is a flow chart showing the processing procedure of the page layouter 4a, which is executed by the CPU 1. This process is started, for example, when the user inputs a command from the keyboard 3 to inject text data into a predetermined frame in the document.

【0018】同図において、まず、ステップS1で、テ
キストデータの流し込みを行う。図6は、ある文書頁の
テキスト領域にテキストデータを流し込んだときの一例
を示す図であり、同図に示すように、文書頁21の余白
領域22などを除いた、太線で示されるテキスト領域2
3内にテキストデータが流し込まれる。
In the figure, first, in step S1, text data is poured. FIG. 6 is a diagram showing an example in which text data is poured into a text area of a certain document page. As shown in FIG. 6, the text area indicated by a thick line excluding the margin area 22 of the document page 21. Two
Text data is poured into 3.

【0019】次に、ステップS2で、本処理を終了する
か否か、即ち全ての頁の配置を終了したか否かを判断
し、終了したときには本処理を終了し、一方、まだ配置
すべき頁が残っているときにはステップS3に進み、テ
キストデータ中に図形データとリンクしている部分があ
るか否かを判断する。
Next, in step S2, it is determined whether or not this processing is completed, that is, whether or not the layout of all pages is completed, and when completed, this processing is completed, while still arranging. When there are pages remaining, the process proceeds to step S3, and it is determined whether or not the text data has a portion linked to the graphic data.

【0020】ステップS3の判断で、図形データとリン
クしていないときには前記ステップS1に戻って、テキ
ストデータの流し込みを継続し、一方、図形データとリ
ンクしているときにはステップS4に進み、配置すべき
図形データがリンク元のテキストデータと同一の頁に配
置するべきか否かを、前記要素データリンク情報中のフ
ラグから判断する。
If it is determined in step S3 that the text data is not linked, the process returns to step S1 to continue the flow of the text data. On the other hand, if the text data is linked, the process proceeds to step S4 to place the text data. Whether or not the graphic data should be arranged on the same page as the text data of the link source is judged from the flag in the element data link information.

【0021】ステップS4の判断で、同一頁に配置不要
であるときにはステップS8に進み、配置処理を行いテ
キストデータの流し込みを継続する。
If it is determined in step S4 that the same page does not need to be arranged, the process proceeds to step S8, where the arrangement process is performed and the pouring of the text data is continued.

【0022】図7は、テキストデータにリンクされた図
形データを配置する様子を説明するための図であり、
(a)は、配置処理を行う前の状態を示し、(b)は、
配置処理を行った後の状態を示す。同図に示すように、
図形データ31が頁に配置され、テキストデータが図形
データ31の領域を避けるように流し込まれる。
FIG. 7 is a diagram for explaining how to arrange graphic data linked to text data.
(A) shows the state before the placement process, and (b) shows
The state after performing arrangement processing is shown. As shown in the figure,
The graphic data 31 is arranged on the page, and the text data is poured so as to avoid the area of the graphic data 31.

【0023】図4に戻り、前記ステップS4の判断の結
果、同一頁に配置する必要がある場合にはステップS5
に進み、頁内で図形データを配置可能な残り面積を算出
する。
Returning to FIG. 4, as a result of the determination in step S4, if it is necessary to arrange the same page, step S5
Then, the remaining area where graphic data can be arranged in the page is calculated.

【0024】続くステップS6では、その結果に基づい
て配置可能か否かを判断し、配置可能であるときにはス
テップS8に進み、配置処理を行った後に、テキストデ
ータの流し込みを継続し、一方、配置可能でないときに
は流し込み処理を中断し、ステップS9の補正処理サブ
ルーチンを起動する。
In the following step S6, it is determined based on the result whether or not the text can be arranged. If the text can be arranged, the process proceeds to step S8, and after the text is arranged, the pouring of the text data is continued, while the text is arranged. When it is not possible, the pouring process is interrupted and the correction process subroutine of step S9 is started.

【0025】図8は、配置可能でない場合の一例を示す
図であり、文書41は、前記図7(b)で説明した配置
処理結果を示し、文書42は、その続きの頁を示す。即
ち、文書42は、参照先の図形データ32(図7(a)
参照)を同一頁に配置する必要があるにも拘わらず、参
照元の位置から当該頁の最後までの面積が図形データ3
2を配置できる程空いていない状態を示している。
FIG. 8 is a diagram showing an example in which the layout is not possible. The document 41 shows the layout processing result described in FIG. 7B, and the document 42 shows the subsequent page. That is, the document 42 includes the reference graphic data 32 (see FIG. 7A).
(Reference) should be placed on the same page, but the area from the position of the reference source to the end of the page is the graphic data 3
2 shows a state in which two are not vacant.

【0026】図5は、前記ステップS9の補正処理サブ
ルーチンの詳細な処理手順を示すフローチャートであ
る。
FIG. 5 is a flow chart showing the detailed processing procedure of the correction processing subroutine of step S9.

【0027】同図において、補正処理が開始されると、
まず、ステップS11で追い出し面積を算出する。この
追い出し面積とは、テキストデータと図形データとのリ
ンク部分を次の頁に追い出すために必要な枠の面積をい
う。
In the figure, when the correction process is started,
First, in step S11, the drive-out area is calculated. The drive-out area means the area of a frame necessary to drive out the link portion between the text data and the graphic data to the next page.

【0028】次に、ステップS12に進み、追い込み面
積を算出する。この追い込み面積とは、リンク先の図形
データを処理中の頁に挿入するために不足している面積
をいう。
Next, in step S12, the drive-in area is calculated. The drive-in area is an area insufficient for inserting the linked graphic data into the page being processed.

【0029】続くステップS13では、現在処理してい
る位置から前方向(即ち、頁番号が若くなる方向)に向
かって拡大縮小可能な図形データが配置されている箇所
をサーチし、拡大縮小可能な図形データが検出されたか
否かを判断する。このとき、該当する図形データが見つ
からない場合には補正不可能であるために、本補正処理
サブルーチンを終了し、一方、該当する図形データが見
つかった場合にはステップS14に進み、その図形デー
タの拡大率の上限範囲内で拡大することにより、前記ス
テップS11で算出した追い出し面積を超えるか否かを
判断する。
In a succeeding step S13, a portion in which graphic data that can be enlarged or reduced is arranged from the currently processed position in the forward direction (that is, in the direction in which the page number becomes younger) is searched, and the image can be enlarged or reduced. It is determined whether graphic data is detected. At this time, if the corresponding figure data is not found, the correction is impossible, so this correction processing subroutine is ended. On the other hand, if the corresponding figure data is found, the process proceeds to step S14, and the figure data By expanding within the upper limit range of the expansion rate, it is determined whether or not it exceeds the ejection area calculated in step S11.

【0030】ステップS14の判断で、追い出し面積を
超える場合にはステップS16に進み、倍率を決定した
後に、ステップS17に進み、当該図形データが配置さ
れる頁からテキストデータの流し込み処理をし直す。一
方、ステップS14の判断で、追い出し面積を超えない
場合にはステップS15に進み、図形データの縮小率の
下限範囲内で縮小することにより前記ステップS12で
算出した追い込み面積を超えるか否かを判断する。
When it is determined in step S14 that the area exceeds the drive-out area, the flow advances to step S16 to determine the magnification, and then the flow advances to step S17 to reflow the text data from the page where the graphic data is arranged. On the other hand, if it is determined in step S14 that the drive-out area is not exceeded, the flow advances to step S15 to determine whether or not the drive-in area calculated in step S12 is exceeded by reducing within the lower limit range of the reduction rate of the graphic data. To do.

【0031】ステップS15の判断で、追い込み面積を
超える場合にはステップS16に進み、上述の処理を行
い、一方、追い込み面積を超えない場合にはステップS
13に戻り、次の図形データをサーチする。
If it is determined in step S15 that the driving-in area is exceeded, the process proceeds to step S16, and the above-described processing is performed.
Returning to step 13, the next graphic data is searched.

【0032】図9は、補正処理を終了し、テキストデー
タを再度流し込みして完成した文書の一例を示す図であ
る。同図に示すように、図8の文書41中の図形データ
31が拡大され、文書42で参照されていた図形データ
32が、その次の頁の文書43に参照元とともに追い出
され、参照元とそれに対応する図とが同一頁に配置され
る。
FIG. 9 is a diagram showing an example of a document completed by completing the correction process and reflowing the text data. As shown in the figure, the graphic data 31 in the document 41 in FIG. 8 is enlarged, and the graphic data 32 referred to in the document 42 is expelled to the document 43 on the next page together with the reference source, and is referred to as the reference source. The corresponding figure is placed on the same page.

【0033】以上説明したように、本実施例に依れば、
参照元のテキストデータとそれにリンクする図形データ
とを同一頁に配置する必要があるか否かをフラグで管理
し、このフラグの状態により参照元のテキストデータと
参照先の図形データを同一頁に配置しなければならない
ときには、その頁より若い頁の図形データを拡大可能な
上限範囲内で変倍して次の頁に追い出し、または、縮小
可能な下限範囲内で変倍して同一頁に追い込み、それ以
降の頁についても同様の処理を行うように構成したの
で、自動的に文章とその対応する図形とを同一頁に配置
することができ、これにより、迅速な文章作成を行うこ
とができる。
As described above, according to this embodiment,
A flag controls whether or not the reference source text data and the graphic data linked to it need to be placed on the same page. Depending on the state of this flag, the reference source text data and the reference destination graphic data can be displayed on the same page. When it must be arranged, the graphic data of a page younger than that page is scaled within the upper limit range that can be expanded and pushed to the next page, or the scaled data is scaled within the lower limit range that can be reduced and driven to the same page. , Since the same processing is performed for the subsequent pages, the sentence and the corresponding figure can be automatically arranged on the same page, and thus the sentence can be quickly created. .

【0034】なお、本発明は、複数の機器から構成され
るシステムに適用しても、1つの機器からなる装置に適
用してもよい。また、本発明は、システムまたは装置に
プログラムを供給することによって達成される場合にも
適用できることは云うまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Moreover, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus.

【0035】また、本実施例では、図形データ記憶領域
5aをRAM5上に置いたが、さらに安価なハードディ
スクや光磁器ディスクなどの2次記憶装置を用いても本
発明の趣旨を変えるものではない。
Further, although the graphic data storage area 5a is placed on the RAM 5 in this embodiment, the spirit of the present invention is not changed even if a secondary storage device such as a hard disk or a magneto-optical disk is used. .

【0036】[0036]

【発明の効果】以上説明したように、本発明の文書処理
装置に依れば、同一頁配置有無情報を含むリンク情報に
応じて要素データを配置しているときに、配置できない
箇所であるエラー箇所が検出されると、その配置処理が
中断され、前記エラー箇所より前に配置された図形デー
タの表示領域が拡大縮小可能な範囲内で変倍して補正さ
れ、その補正された位置を先頭にして要素データの再配
置がなされるので、自動的に文章と対応する図形データ
を同一頁に配置することができ、これにより、迅速な文
章作成を行うことが可能となる効果を奏する。
As described above, according to the document processing apparatus of the present invention, when the element data is arranged in accordance with the link information including the same page arrangement presence / absence information, an error that is a portion that cannot be arranged is generated. When a location is detected, the placement process is interrupted, the display area of the graphic data placed before the error location is scaled and corrected within the range that can be scaled, and the corrected location is set to the top. Since the element data is rearranged in this way, it is possible to automatically arrange the graphic data corresponding to the sentence on the same page, and thus it is possible to quickly create the sentence.

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

【図1】本発明の一実施例に係る文書処理装置の概略構
成を表わすブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a document processing apparatus according to an embodiment of the present invention.

【図2】図1の頁レイアウタの機能構成を示すブロック
図である。
FIG. 2 is a block diagram showing a functional configuration of a page layouter shown in FIG.

【図3】テキストデータと図形データとをリンクさせた
文書データの一例を示す図である。
FIG. 3 is a diagram showing an example of document data in which text data and graphic data are linked.

【図4】図1の頁レイアウタの処理手順を示すフローチ
ャートである。
FIG. 4 is a flowchart showing a processing procedure of the page layouter in FIG.

【図5】図4のステップS9の補正処理サブルーチンの
詳細な処理手順を示すフローチャートである。
5 is a flowchart showing a detailed processing procedure of a correction processing subroutine of step S9 in FIG.

【図6】ある文書頁のテキスト領域にテキストデータを
流し込んだときの一例を示す図である。
FIG. 6 is a diagram showing an example in which text data is poured into a text area of a document page.

【図7】テキストデータにリンクされた図形データを配
置する様子を説明するための図である。。
FIG. 7 is a diagram for explaining how graphic data linked to text data is arranged. .

【図8】同一頁に図形データを配置できない場合の一例
を示す図である。
FIG. 8 is a diagram showing an example in which graphic data cannot be arranged on the same page.

【図9】本実施例の文書処理装置による補正処理を終了
し、テキストデータを再度流し込みして完成した文書の
一例を示す図である。
FIG. 9 is a diagram showing an example of a document completed by completing correction processing by the document processing apparatus according to the present embodiment and reflowing text data.

【符号の説明】 1 CPU(拡大縮小手段、配置手段、エラー検出手
段、中断手段、補正手段、起動手段) 5 RAM(記憶手段)
[Description of Reference Signs] 1 CPU (enlarging / reducing means, arranging means, error detecting means, interrupting means, correcting means, starting means) 5 RAM (storage means)

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 9365−5H 15/62 321 D ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location 9365-5H 15/62 321 D

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 文書データをその要素データであるテキ
ストデータと図形データとに分離して保持し、各要素デ
ータに参照元と参照先とをリンクさせるリンク情報を付
与し、該付与されたリンク情報により各要素データ間を
関連づけることで文書データを処理する文書処理装置で
あって、 前記図形データを予め設定された拡大縮小可能な上下限
範囲内で任意に拡大縮小する拡大縮小手段と、 前記参照元と参照先を同一頁に配置する必要があるか否
かを示す同一頁配置有無情報を当該リンク情報に対応し
て記憶する記憶手段と、 該同一頁配置有無情報を含むリンク情報に応じて、前記
要素データを予め指定された頁に配置する配置手段と、 該配置手段により配置できない箇所を検出するエラー検
出手段と、 該エラー箇所が検出されたときに、前記配置手段による
配置処理を中断させる中断手段と、 前記検出されたエラー箇所を、該エラー箇所より前に配
置された図形データの表示領域を前記拡大縮小可能な範
囲内で変倍することにより補正する補正手段と、 該補正された位置を先頭として前記要素データを再配置
するために前記配置手段を起動する起動手段とを有する
ことを特徴とする文書処理装置。
1. Document data is separated into text data and graphic data, which are element data thereof, and is held, and link information for linking a reference source and a reference destination is given to each element data, and the given link is given. A document processing apparatus for processing document data by associating each element data with information, the enlarging / reducing means for arbitrarily enlarging / reducing the graphic data within a preset upper / lower limit range in which enlargement / reduction is possible, According to the storage means for storing the same page layout presence / absence information indicating whether or not it is necessary to arrange the reference source and the reference destination on the same page, and the link information including the same page layout presence / absence information. Arranging means for arranging the element data on a predesignated page, error detecting means for detecting a portion that cannot be arranged by the arranging means, and when the error portion is detected, Correction means for interrupting the placement processing by the placement means, and correcting the detected error location by scaling the display area of the graphic data placed before the error location within the range in which the scaling can be performed. A document processing apparatus, comprising: a correction unit for performing the operation, and an activation unit for activating the arrangement unit for rearranging the element data with the corrected position as a head.
【請求項2】 前記補正手段は、前記エラー箇所が検出
されたときに、該エラー箇所より前に配置された図形デ
ータを前記拡大可能な範囲内で変倍して次の頁に追い出
し、または、前記縮小可能な範囲内で変倍して同一頁に
追い込んで補正することを特徴とする請求項1記載の文
書処理装置。
2. When the error portion is detected, the correction means scales the graphic data arranged before the error portion within the expandable range and pushes it to the next page, or 2. The document processing apparatus according to claim 1, wherein the document processing apparatus corrects the image by changing the magnification within the reducible range and driving the same page.
JP6330213A 1994-12-06 1994-12-06 Document processor Pending JPH08161517A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6330213A JPH08161517A (en) 1994-12-06 1994-12-06 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6330213A JPH08161517A (en) 1994-12-06 1994-12-06 Document processor

Publications (1)

Publication Number Publication Date
JPH08161517A true JPH08161517A (en) 1996-06-21

Family

ID=18230116

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6330213A Pending JPH08161517A (en) 1994-12-06 1994-12-06 Document processor

Country Status (1)

Country Link
JP (1) JPH08161517A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007149061A (en) * 2005-10-31 2007-06-14 Seiko Epson Corp Layout system, layout program and layout method
US7623716B2 (en) 2005-03-23 2009-11-24 Fuji Xerox Co., Ltd. Language translation device, image processing apparatus, image forming apparatus, language translation method and storage medium
JP2010286904A (en) * 2009-06-09 2010-12-24 Canon Inc Device, method and program for editing layout
WO2012039244A1 (en) * 2010-09-22 2012-03-29 シャープ株式会社 Display device, display method, program, and recordable medium for the same

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7623716B2 (en) 2005-03-23 2009-11-24 Fuji Xerox Co., Ltd. Language translation device, image processing apparatus, image forming apparatus, language translation method and storage medium
JP2007149061A (en) * 2005-10-31 2007-06-14 Seiko Epson Corp Layout system, layout program and layout method
JP2010286904A (en) * 2009-06-09 2010-12-24 Canon Inc Device, method and program for editing layout
US8819543B2 (en) 2009-06-09 2014-08-26 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and storage medium
WO2012039244A1 (en) * 2010-09-22 2012-03-29 シャープ株式会社 Display device, display method, program, and recordable medium for the same
JP2012068859A (en) * 2010-09-22 2012-04-05 Sharp Corp Display device, display method, program and recording medium therefor

Similar Documents

Publication Publication Date Title
JPH06102295B2 (en) Method and apparatus for controlling manufacturing process based on computer
JPH08161517A (en) Document processor
JPH0749760A (en) Word processor
JPH10193735A (en) Method and unit for outputting image data and memory medium
JPH03201024A (en) Document processor
JPH0522933B2 (en)
JP2851840B2 (en) Document processing device
JPH11219439A (en) Image editing device, image editing method, and recording medium recording image editing processing program
JP2974638B2 (en) Document processing apparatus and method
JPH08138032A (en) Picture display device and data display method
JPS62204377A (en) Document producing device
JPH0410163A (en) Document processing device
JPH07334495A (en) Device and method for processing document
JPH103371A (en) Page layout comparator and page layout display device
JPS61241865A (en) Document editing device
JPH0820141A (en) Label making machine
JP2000298471A (en) Processor and method for image processing and computer- readable recording medium stored with program
JPH04118768A (en) Document preparing device
JPH0535731A (en) Document processor
JPH08137858A (en) Character editing device
JPH07225762A (en) Character processor
JPH0589110A (en) Word processor
JPH05342405A (en) Method and device for editing document
JPH0612413A (en) Method and device for processing document
JPH08115315A (en) Print-out image display controller