JPH08137869A - Device and method for document processing - Google Patents

Device and method for document processing

Info

Publication number
JPH08137869A
JPH08137869A JP6279577A JP27957794A JPH08137869A JP H08137869 A JPH08137869 A JP H08137869A JP 6279577 A JP6279577 A JP 6279577A JP 27957794 A JP27957794 A JP 27957794A JP H08137869 A JPH08137869 A JP H08137869A
Authority
JP
Japan
Prior art keywords
frame
information
index
stored
document
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.)
Withdrawn
Application number
JP6279577A
Other languages
Japanese (ja)
Inventor
Tsutomu Ito
勤 伊藤
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 JP6279577A priority Critical patent/JPH08137869A/en
Publication of JPH08137869A publication Critical patent/JPH08137869A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE: To determine not only the position of a frame which moves as an index moves, but also the position of a frame which does not move by judging whether a frame moves or does not move as the index moves and adjusting the relative position of the frame to the index. CONSTITUTION: A CPU 6 controls respective parts of the processor according to a control program stored in a ROM 7. When different information is ar ranged in the frames and those frames are combined to create and edit a document, it is decided whether the position of the frame corresponding to the stored index information is fixed or movable; when the position of the index information is changed, stored relative position information is updated according to the kind of the frame corresponding to the index information to adjust the relative position of the frame to the index. Here, when 2nd information is arranged in 1st information as the different information in the frame, the 1st information is preferably document information and the 2nd information preferably includes document information, image information, and figure information. Consequently, the frame and position relation based upon the frame as the index are held in a natural state.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は文書処理装置及び方法、
詳しくは、情報を展開する枠を組み合わせて文書の作成
編集を行う文書処理装置及び方法に関するものである。
BACKGROUND OF THE INVENTION The present invention relates to a document processing apparatus and method,
More specifically, the present invention relates to a document processing apparatus and method for creating and editing a document by combining frames for expanding information.

【0002】[0002]

【従来の技術】昨今、デスクトップパブリッシングが普
及するなか、これまで文字のみのレイアウトを主として
いた環境と異なり、様々な情報を文書と混在させること
が可能になった。
2. Description of the Related Art Recently, with the spread of desktop publishing, it is possible to mix various kinds of information with a document, unlike an environment where a layout of only characters has been mainly used so far.

【0003】一般には、その情報としては、文章はもと
より、図形、イメージ等があるが、今後は映像(動画)
やオーディオ情報等も混在可能になってくる。
Generally, the information includes not only sentences but also figures and images, but in the future, images (moving images) will be provided.
And audio information can be mixed.

【0004】ところで、一般に、形体の異なる情報を1
つの文書に合成させる場合、その情報を張り付ける
“枠”を設定する。
By the way, in general, 1
When combining two documents, set the "frame" to paste the information.

【0005】今、図形のための枠を考えてみる。例え
ば、図17のように、文字列「図2の様に」の近くに配
置させることを意図して、「指標」とそれに対する“図
2”を含む枠を配置させたとする。そして、図18のよ
うに、文字列「図2の様に」の前に文字列を挿入する
と、指標の移動に伴って、それに対する枠も(指標との
位置関係を保って)移動するので、当初の意図である
「文字列「図2の様に」の近くに配置させること」が実
現される。
Now consider a frame for a graphic. For example, as shown in FIG. 17, it is assumed that a frame including “index” and “FIG. 2” corresponding to the index is arranged with the intention of arranging the character string “as in FIG. 2”. Then, as shown in FIG. 18, if a character string is inserted before the character string “as in FIG. 2”, the frame for it also moves (keeping the positional relationship with the index) as the index moves. The original intention of "arranging the character string near the character string" as in FIG. 2 "" is realized.

【0006】[0006]

【発明が解決しようとする課題】一方、指標が移動して
も移動しない枠を利用したい場合がある。
On the other hand, there are cases where it is desired to use a frame that does not move even if the index moves.

【0007】しかし、従来の方法では、指標の移動に伴
って移動する枠の位置を決定するために指標に対する枠
の相対位置が常に保存されているため、指標の移動に伴
って移動しない枠の位置を決定することができない。
However, in the conventional method, since the relative position of the frame with respect to the index is always stored in order to determine the position of the frame that moves with the movement of the index, the frame that does not move with the movement of the index is The position cannot be determined.

【0008】したがって、例えば、従来の枠位置決定方
法を用いて、図19のように、左から順に、“図1を含
む枠”、“図2を含む枠”、“図3を含む枠”が配置さ
れている文書に対して編集を行った場合、その編集内容
によっては、図19における、“図1を含む枠”、“図
2を含む枠”、“図3を含む枠”の位置関係が、図20
のように変更されてしまう。
Therefore, for example, by using the conventional frame position determining method, as shown in FIG. 19, "frame including FIG. 1", "frame including FIG. 2", and "frame including FIG. 3" in order from the left. When a document in which is placed is edited, the positions of “frame including FIG. 1,” “frame including FIG. 2,” and “frame including FIG. 3” in FIG. The relationship is shown in FIG.
Will be changed to.

【0009】[0009]

【課題を解決するための手段】及び[Means for Solving the Problems] and

【作用】本発明はかかる問題点に鑑みなされたものであ
り、枠とその枠を指標とする位置関係が自然な状態を保
つことを可能ならしめる文書処理装置及び方法を提供し
ようとするものである。
The present invention has been made in view of the above problems, and it is an object of the present invention to provide a document processing apparatus and method capable of maintaining a natural state of a positional relationship between a frame and the frame as an index. is there.

【0010】具体的には、指標の移動に伴って移動する
枠か、移動しない枠かを判断して、適切に指標に対する
枠の相対位置を調節することにより、指標の移動に伴っ
て移動する枠だけでなく、指標の移動に伴って移動しな
い枠の位置も決定することができる、文書作成装置及び
方法を提供することにある。
Specifically, it is determined whether the frame moves with the movement of the index or the frame that does not move, and the relative position of the frame with respect to the index is appropriately adjusted, so that the index moves with the index. It is an object of the present invention to provide a document creation device and method that can determine not only the frame but also the position of the frame that does not move with the movement of the index.

【0011】かかる課題を解決するため、例えば本発明
の文書処理装置は以下の構成を備える。すなわち、異な
る情報を枠内に配置し、少なくとも当該枠の組み合わせ
て文書の作成編集を行う文書処理装置であって、第1の
情報中に、第2の情報を格納する枠に対応する指標情報
を格納する記憶する第1の記憶手段と、格納された指標
情報に対応する枠の位置が固定であるか、移動可である
かを判別する判別手段と、前記指標情報に対応する枠の
相対位置情報を記憶する第2の記憶手段と、前記指標情
報の位置が変更された場合、前記判別手段で得られた当
該指標情報に対応する枠の種別に応じて、前記第2の記
憶手段に記憶されている相対位置情報を更新する更新手
段とを備える。
In order to solve such a problem, for example, the document processing apparatus of the present invention has the following configuration. That is, a document processing apparatus that arranges different information in a frame and creates and edits a document by combining at least the frames, and index information corresponding to a frame in which the second information is stored in the first information. Relative of the first storage means for storing, the determination means for determining whether the position of the frame corresponding to the stored index information is fixed or movable, and the frame corresponding to the index information. When the position of the index information is changed and the second storage unit that stores the position information is stored in the second storage unit according to the type of the frame corresponding to the index information obtained by the determination unit. And an updating unit that updates the stored relative position information.

【0012】また、本発明の実施態様に従えば、第1の
情報は文章情報であり、第2の情報は文章情報、イメー
ジ情報、図形情報を含むことが望ましい。これによっ
て、文章をベースにした文書を作成する場合に、特にそ
の効果を大きくできる。
Further, according to the embodiment of the present invention, it is desirable that the first information is text information and the second information includes text information, image information, and graphic information. This makes it possible to increase the effect particularly when a document based on sentences is created.

【0013】また、前記更新手段は、該当する枠が固定
枠であると判別した場合には、当該固定枠と変更された
指標に基づく距離情報で前記第2の記憶手段を更新し、
枠が移動可枠であると判別した場合には、指標を更新す
る以前の状態の相対座標のまま当該枠の位置情報を決定
することが望ましい。これによって、指標情報の位置変
更にかかわらずその位置が固定の枠、或いは移動する枠
の双方に対して適切にその位置を決定することが可能に
なる。
Further, when the updating means determines that the relevant frame is a fixed frame, the updating means updates the second storage means with distance information based on the fixed frame and the changed index,
When it is determined that the frame is a movable frame, it is desirable to determine the position information of the frame with the relative coordinates in the state before the index is updated. This makes it possible to appropriately determine the position of both the fixed frame or the moving frame regardless of the change in the position of the index information.

【0014】[0014]

【実施例】次に、添付図面に従って本発明に係る実施例
を詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

【0015】<概要の説明>まず、実施例における文書
処理装置におけるその動作概要を説明する。
<Description of Outline> First, an outline of the operation of the document processing apparatus according to the embodiment will be described.

【0016】実施例における枠位置決定の手法によれ
ば、図19における各指標(または枠)に、指標の移動
に伴って移動しない枠であることを指示しておきさえす
れば、指標の移動に伴って移動する枠か、移動しない枠
かを判断し、適切に指標に対する枠の相対位置を調節し
て、図21のように、各枠を配置することを可能にす
る。
According to the method of determining the frame position in the embodiment, the movement of the index is only required if each index (or frame) in FIG. 19 is instructed to be a frame that does not move as the index moves. It is possible to arrange each frame as shown in FIG. 21 by determining whether the frame moves with the movement or the frame that does not move and appropriately adjusts the relative position of the frame with respect to the index.

【0017】尚、指標に対しての枠を関連付ける理由
は、例えば、本文中に「下図に示すように」という文字
列(この文字列に指標をセットする)があって、その対
応する図を格納する枠が遠い箇所に位置してしまい、結
果として文字列「下図に示すように」と記載されている
にもかかわらず、ほど遠い箇所にその枠が移動してしま
うことを防ぐためである。つまり、「下図に示すよう
に」という文字列があれば、その文字列から一定の距離
にあるようにさせるために、指標とその指標に対応する
枠を関連付けるものである。
The reason for associating a frame with an index is, for example, that there is a character string "as shown in the figure below" in the text (the index is set in this character string). This is to prevent the frame to be stored from being located at a distant place, and the frame to be moved to a distant place even though the character string “as shown in the figure below” is described as a result. That is, if there is a character string "as shown in the figure below", the index and the frame corresponding to the index are associated so that the character string is located at a certain distance from the character string.

【0018】また、どれかの指標(または枠)に、指標
の移動に伴って移動する枠であることを指示しておけ
ば、その枠を指標の移動に伴って移動させることも可能
である。
If any index (or frame) is instructed to be a frame that moves with the movement of the index, the frame can be moved with the movement of the index. .

【0019】<装置の説明>図1は実施例の文書処理装
置の構成を説明するブロック図である。
<Description of Apparatus> FIG. 1 is a block diagram for explaining the arrangement of a document processing apparatus according to the embodiment.

【0020】図1において、1はCRT表示装置で、編
集中の文書、各種メッセージメニューなどを表示する。
2はビデオRAM(VRAM)で、CRT表示装置1の
画面に表示される文字、イメージ等を展開記憶する。3
はビットムーブユニット(BMU)で、メモリ間あるい
はメモリと各デバイス間のデータ転送をコントロールす
る。4は文書編集などを行なうための各種キーを備えた
キーボードであり、5は画面上のアイコンなどを指し示
すためなどに用いられるポインティングデバイス(P
D)、6はCPUで、ROM7に記憶された制御プログ
ラム(文書編集に係るプログラムやエラー処理プログラ
ムをはじめ、後述する本発明の処理を実現するためのプ
ログラムも記憶されている)に基づいて本装置の各部を
制御する。8は上述した各種プログラムをCPU6が実
行する時にワークエリア、エラー処理時の一時退避エリ
アとして用いられるRAM、9はハードディスクドライ
ブ(HDD)、10はフロッピーディスクドライブ(F
DD)をそれぞれ示し、各ディスクには後述するアプリ
ケーションプログラムやデータ、ライブラリなどの保存
用に用いられる。11はネットワークインターフェイス
(Net‐I/F)を示し、他の文書処理装置との間で
ネットワークを経由してデータ転送を行なうためにネッ
トワーク上のデータ制御、診断を行なう。12は上述し
た各ユニット間を接続するI/Oバス(アドレスバス、
データバスおよび制御バスからなる)である。
In FIG. 1, reference numeral 1 denotes a CRT display device for displaying a document being edited, various message menus and the like.
A video RAM (VRAM) 2 expands and stores characters, images and the like displayed on the screen of the CRT display device 1. Three
Is a bit move unit (BMU) that controls data transfer between memories or between a memory and each device. Reference numeral 4 is a keyboard having various keys for editing a document, and 5 is a pointing device (P) used for pointing an icon on the screen.
D) and 6 are CPUs based on a control program (a program for editing a document, an error processing program, and a program for realizing the process of the present invention described later) stored in the ROM 7 Controls various parts of the device. 8 is a RAM used as a work area when the CPU 6 executes the various programs described above, and a temporary save area for error processing, 9 is a hard disk drive (HDD), and 10 is a floppy disk drive (F).
DD), which is used for storing application programs, data, libraries, etc., which will be described later, on each disk. Reference numeral 11 denotes a network interface (Net-I / F), which performs data control and diagnosis on the network in order to transfer data with another document processing apparatus via the network. Reference numeral 12 denotes an I / O bus (address bus,
It consists of a data bus and a control bus).

【0021】なお、本実施例でROM7に記憶している
プログラムは、装置に直接接続されているハードディス
ク(HD)やフロッピーディスク(FD)などの記憶媒
体にも記憶されていてもよい。さらに、ネットワークで
接続されている他の装置上に記憶されていてもよい。
The program stored in the ROM 7 in this embodiment may also be stored in a storage medium such as a hard disk (HD) or a floppy disk (FD) directly connected to the device. Further, it may be stored on another device connected to the network.

【0022】また、本発明のプログラムは、FDやHD
などの記憶媒体やネットワークを介してシステムや装置
に供給できる。
Further, the program of the present invention is FD or HD.
Can be supplied to the system or device via a storage medium such as or a network.

【0023】<本実施例で必要とする情報>本実施例で
は、枠コマンド位置情報、枠位置情報、オフセッ
ト情報、枠種情報を用いて、上記機能を実現する。
<Information Required in the Present Embodiment> In the present embodiment, the above function is realized by using the frame command position information, the frame position information, the offset information, and the frame type information.

【0024】図2のように、原点をOとし、語方向(語
が配置されてゆく方向)ベクトルと、行方向(行が配置
されてゆく方向)ベクトルとによって編集空間を定義す
る。この空間に、枠コマンド2aと、この枠コマンド2
aに対する枠2bが対を成して、存在し得る。
As shown in FIG. 2, the origin is O, and the edit space is defined by the word direction (direction in which words are arranged) vector and the row direction (direction in which lines are arranged) vector. In this space, the frame command 2a and this frame command 2
The frame 2b for a can be present in pairs.

【0025】以下に、それぞれの情報について述べる。Each piece of information will be described below.

【0026】枠コマンド位置情報 図3に、枠コマンド位置情報を示す。枠コマンド位置情
報は、図2の編集空間における、語方向位置Cx(図3
の符号3aに格納される)と、行方向位置Cy(図3の
符号3bに格納される)で構成される。
Frame Command Position Information FIG. 3 shows frame command position information. The frame command position information is the word direction position Cx (see FIG. 3) in the editing space of FIG.
No. 3a) and a row direction position Cy (stored in No. 3b in FIG. 3).

【0027】枠位置情報 図4に、枠位置情報を示す。枠位置情報は、図2の編集
空間における、語方向位置Fx(4a)と、行方向位置
Fy(4b)で構成される。
Frame Position Information FIG. 4 shows frame position information. The frame position information is composed of a word direction position Fx (4a) and a row direction position Fy (4b) in the editing space of FIG.

【0028】オフセット情報 図5に、オフセット情報を示す。オフセット情報は、枠
コマンドの語方向位置に対する、枠の語方向位置を表す
語方向オフセットOFFSETx(5a)と、枠コマン
ドの行方向位置に対する、枠の行方向位置を表す語方向
オフセットOFFSETy(5b)とで構成される。
Offset Information FIG. 5 shows the offset information. The offset information includes a word direction offset OFFSETx (5a) indicating the word direction position of the frame with respect to the word direction position of the frame command, and a word direction offset OFFSETy (5b) indicating the line direction position of the frame with respect to the line direction position of the frame command. Composed of and.

【0029】枠種情報 図6に、枠種情報を示す。枠種情報は、枠の種類と表す
枠種KIND(6a)で構成される。枠の種類には、枠
コマンドの移動に伴って移動する「移動浮動枠」と、枠
コマンドの移動に伴って移動しない「固定浮動枠」とが
ある。
Frame Type Information FIG. 6 shows the frame type information. The frame type information is composed of a frame type KIND (6a) that represents the type of frame. There are two types of frames: a “moving floating frame” that moves with the movement of the frame command and a “fixed floating frame” that does not move with the movement of the frame command.

【0030】ただし、編集空間内に、枠コマンドと、こ
の枠コマンドに対する枠は対を成して存在する。
However, in the editing space, a frame command and a frame corresponding to this frame command exist as a pair.

【0031】<本実施例における処理の流れ>図7は、
実施例における動作処理手順を示すフローチャートであ
る。図示のフローチャートに基づくプログラムは、RO
M7に格納されているものである。
<Processing Flow in this Embodiment> FIG.
It is a flow chart which shows the operation processing procedure in an example. The program based on the flow chart shown is RO
It is stored in M7.

【0032】さて、本実施例では、枠コマンド位置変更
検出処理(ステップ7a)、枠種判別処理(ステップ7
b)、オフセット計算処理(ステップ7c)、枠位置決
定処理(ステップ7d)を用いて実現する。
In the present embodiment, the frame command position change detection process (step 7a) and the frame type determination process (step 7).
b), offset calculation processing (step 7c), and frame position determination processing (step 7d).

【0033】枠コマンド位置変更検出処理(ステップ7
a)では、枠コマンドの位置が変更されたかどうか(枠
コマンドが移動したかどうか)を常に監視しており、枠
コマンドの位置が変更された(枠コマンドが移動した)
ことが検出されたら、枠種判別処理(ステップ7b)に
進む。
Frame command position change detection processing (step 7)
In a), whether the position of the frame command has been changed (whether the frame command has moved) is constantly monitored, and the position of the frame command has changed (the frame command has moved).
If it is detected, the process proceeds to the frame type determination process (step 7b).

【0034】枠種判別処理(ステップ7b)では、位置
が変更された(移動した)枠コマンドの枠種情報を参照
して、それが移動浮動枠であれば枠位置決定処理(ステ
ップ7d)に進む。
In the frame type discrimination process (step 7b), the frame type information of the frame command whose position has been changed (moved) is referred to, and if it is a moving floating frame, the frame position determination process (step 7d) is carried out. move on.

【0035】一方、それが固定浮動枠であればオフセッ
ト計算処理(ステップ7c)に進む。
On the other hand, if it is a fixed floating frame, the process proceeds to offset calculation processing (step 7c).

【0036】オフセット計算処理(7c)では、位置が
変更された(移動した)枠コマンドの枠コマンド位置情
報と、その枠コマンドに対する枠の枠位置情報から、オ
フセットを計算する。
In the offset calculation process (7c), an offset is calculated from the frame command position information of the frame command whose position has been changed (moved) and the frame position information of the frame corresponding to the frame command.

【0037】枠位置決定処理(7d)では、位置が変更
された(移動した)枠コマンドの枠コマンド位置情報
と、その枠コマンドのオフセット情報から、枠の位置を
決定する。
In the frame position determination process (7d), the position of the frame is determined from the frame command position information of the frame command whose position has been changed (moved) and the offset information of the frame command.

【0038】枠位置決定処理が終了したら、枠コマンド
位置変更検出処理に戻り、再び、枠コマンドの位置が変
更されたかどうか(枠コマンドが移動したかどうか)の
監視を始める。
When the frame position determination process is completed, the process returns to the frame command position change detection process, and the monitoring of whether the position of the frame command has been changed (whether the frame command has moved) is started again.

【0039】以下、図8に示すような文書を編集するこ
とによって(編集後は図11)、固定浮動枠と移動浮動
枠が再配置される例(図14)を用いて、それぞれの処
理について具体的に述べる。
Hereinafter, by using the example (FIG. 14) in which the fixed floating frame and the moving floating frame are rearranged by editing the document shown in FIG. 8 (after editing, FIG. 11), the respective processes will be described. Specifically,

【0040】ここで、図8における枠コマンドC1に関
する枠コマンド位置情報(9a,9b)、枠位置情報
(9c,9d)、オフセット情報(9e,9f)、そし
て枠種情報(9g)は図9のように格納されているもの
とする。また、枠コマンドC2に関する枠コマンド位置
情報(10a,10b)、枠位置情報(10c,10
d)、オフセット情報(10e,10f)、及び枠種情
報(10g)それぞれは図10のように格納されている
ものとする。
Here, the frame command position information (9a, 9b), the frame position information (9c, 9d), the offset information (9e, 9f), and the frame type information (9g) regarding the frame command C1 in FIG. 8 are shown in FIG. It is assumed to be stored as. Further, frame command position information (10a, 10b) and frame position information (10c, 10) regarding the frame command C2.
It is assumed that each of d), the offset information (10e, 10f), and the frame type information (10g) is stored as shown in FIG.

【0041】枠コマンド位置変更検出処理(ステップ7
a) 枠コマンド位置変更検出処理では、各枠コマンドについ
て、枠コマンドの位置が変更されたかどうか(枠コマン
ドが移動したかどうか)を常に監視している。これは、
例えば、各枠コマンドについて、その枠コマンド位置情
報を参照し、その枠コマンド位置情報と、前回に参照し
た時の、その枠コマンド位置情報(RAM8に記憶して
おくものとする)とを比較し、一致していたら枠コマン
ド位置が変更されていない(移動していない)と判断
し、一致していなかったら枠コマンド位置が変更された
(移動した)と判断する。
Frame command position change detection processing (step 7)
a) In the frame command position change detection processing, whether or not the position of the frame command has been changed (whether the frame command has moved) is constantly monitored for each frame command. this is,
For example, with respect to each frame command, the frame command position information is referenced, and the frame command position information is compared with the frame command position information at the time of the previous reference (which is stored in the RAM 8). If they match, it is determined that the frame command position has not been changed (not moved), and if they do not match, it is determined that the frame command position has been changed (moved).

【0042】図8において、文字列「固定浮動枠と移動
浮動枠」の前に文字列「編集で枠コマンド位置が変わ
る」が挿入されて、図11のようになったとする。
In FIG. 8, it is assumed that the character string "fixed floating frame and moving floating frame" is inserted before the character string "frame command position is changed by editing", and the result is as shown in FIG.

【0043】このとき、枠コマンド位置変更検出処理に
よって、枠コマンドC1の枠コマンド位置情報が(2
7,7)(図9参照)から(63,7)(図12参照)
に変ったこと、枠コマンドC2の枠コマンド位置情報が
(46,7)(図10参照)から(17,16)(図1
3参照)に変わったことが検出され、次の枠種判別処理
に進む。
At this time, the frame command position information of the frame command C1 is (2
7,7) (see FIG. 9) to (63,7) (see FIG. 12)
The frame command position information of the frame command C2 changes from (46, 7) (see FIG. 10) to (17, 16) (see FIG. 1).
3) is detected, and the process proceeds to the next frame type discrimination process.

【0044】枠種判別処理(ステップ7b) 枠種判別処理において、枠コマンドの位置が変更された
枠コマンドC1が、その枠種情報(12g)により、対
応する枠が固定浮動枠であると判別され、オフセット計
算処理に進む。
Frame Type Discrimination Processing (Step 7b) In the frame type discrimination processing, the frame command C1 in which the position of the frame command is changed is determined by the frame type information (12g) that the corresponding frame is a fixed floating frame. Then, the process proceeds to offset calculation processing.

【0045】一方、枠コマンドの位置が変更された枠コ
マンドC2が、その枠種情報により、対応する枠が移動
浮動枠(13g)であると判別された場合には枠位置決
定処理に進む。
On the other hand, when the frame command C2 in which the position of the frame command is changed is determined by the frame type information that the corresponding frame is the moving floating frame (13g), the process proceeds to the frame position determining process.

【0046】オフセット計算処理(ステップ7c) 対応する枠が固定浮動枠であると判別された枠コマンド
C1は、オフセット計算処理において、枠コマンド位置
情報と枠位置情報から、オフセット情報が計算される
(図12の符号12e,12fに格納される)。オフセ
ット計算処理が終了したら、枠位置決定処理に進む。
Offset Calculation Process (Step 7c) For the frame command C1 whose corresponding frame is determined to be a fixed floating frame, the offset information is calculated from the frame command position information and the frame position information in the offset calculation process ( It is stored in the reference numerals 12e and 12f in FIG. 12). When the offset calculation process is completed, the process proceeds to the frame position determination process.

【0047】図8の状態では、枠コマンドC1の位置
は、語方向が“27”、行方向が“7”であり、対応す
る固定浮動枠はその枠コマンドC1の位置からの相対的
に語方向に“−22”、行方向に“13”になってい
た。換言すれば、固定浮動枠の左上隅の原点Oに対する
座標は、語方向が“5”、行方向が“20”である。
In the state of FIG. 8, the position of the frame command C1 is "27" in the word direction and "7" in the row direction, and the corresponding fixed floating frame is relatively word-wise from the position of the frame command C1. It was "-22" in the direction and "13" in the row direction. In other words, the coordinates of the upper left corner of the fixed floating frame with respect to the origin O are "5" in the word direction and "20" in the row direction.

【0048】図11に示すように、変更後の枠コマンド
C1の位置は語方向、行方向が63、7となったわけで
あるから、その位置からの固定浮動枠の位置は次の式で
算出できる。すなわち、 語方向=5−63=−58 行方向=20−7=13 この結果を図12の符号12e、12fに書き込むこと
になる。
As shown in FIG. 11, since the position of the changed frame command C1 is 63 and 7 in the word direction and the line direction, the position of the fixed floating frame from that position is calculated by the following formula. it can. That is, word direction = 5-63 = -58 row direction = 20-7 = 13 This result is written in the reference numerals 12e and 12f in FIG.

【0049】枠位置決定処理(ステップ7d) 枠位置決定処理において、枠コマンドの位置が変更され
た枠コマンドについて、それぞれに対する枠の位置が計
算され、枠位置情報に格納される(図15,図16)。
その算出内容は、説明するまでもないであろう。
Frame Position Determining Process (Step 7d) In the frame position determining process, the position of the frame for each frame command whose position is changed is calculated and stored in the frame position information (FIG. 15, FIG. 15). 16).
The contents of the calculation will be needless to say.

【0050】また、説明が前後するが、編集中の文書を
保存する場合には、上記各情報もいっしょにハードディ
スク9やフロッピーディスク10に保存される。
Further, although the explanation will be mixed up, when the document being edited is saved, the above-mentioned respective information is also saved in the hard disk 9 or the floppy disk 10.

【0051】<他の実施例の説明>上記実施例では、対
象文書が横組である場合について説明を行なってきた
が、本発明はこれに限定されず、組方向は縦組であって
も全く同じように実現できることは容易に想到できよ
う。
<Description of Other Embodiments> In the above embodiment, the case where the target document is in horizontal composition has been described. However, the present invention is not limited to this, and the composition direction may be vertical composition. It's easy to imagine that exactly the same thing can be done.

【0052】また、実施例では、指標として枠コマンド
を使う場合について説明を行なってきた。本発明は、指
標が、編集領域の位置やその他の位置を使う場合につい
ても、全く同じ手段で実現することが可能である。
In the embodiment, the case where the frame command is used as the index has been described. The present invention can be realized by exactly the same means even when the index uses the position of the editing area or another position.

【0053】以上説明したように本実施例によれば、指
標の移動に伴って移動する枠や、移動しない枠の位置を
決定することができ、柔軟な枠配置を実現する文書作成
装置における枠位置決定方法を提供することができる効
果がある。
As described above, according to the present embodiment, it is possible to determine the positions of the frame that moves with the movement of the index and the frame that does not move, and the frame in the document creating apparatus that realizes a flexible frame arrangement. There is an effect that a position determination method can be provided.

【0054】また、上記実施例によれば、例えば図8に
おける枠コマンドC2に対して、対応する枠の位置が語
方向に正の場合において、その枠コマンドC2が例えば
行末に位置した場合、その枠は編集領域を超えた位置に
なる。そこで、かかる状況、すなわち、編集領域(例え
ばページ枠等)を超えた場合には、その旨のメッセージ
を表示するようにしても良い。ユーザはこのメッセージ
を受け、その枠(移動浮動枠)の枠コマンドに対する位
置を変更する等の操作を行う。
According to the above embodiment, for example, when the position of the frame corresponding to the frame command C2 in FIG. 8 is positive in the word direction, when the frame command C2 is located at the end of the line, for example, The frame is located beyond the editing area. Therefore, in such a situation, that is, when the editing area (for example, the page frame) is exceeded, a message to that effect may be displayed. The user receives this message and performs an operation such as changing the position of the frame (moving floating frame) with respect to the frame command.

【0055】また、枠の位置が変更されたりして、枠と
文字とが重畳する場合には、その部分の文字をその枠を
避けるように配置させる。
When the position of the frame is changed and the frame and the character overlap each other, the character of the part is arranged so as to avoid the frame.

【0056】また、場合によっては、枠の移動できる範
囲を編集領域内でのみ可能にすることによって、かかる
事態を回避することも可能であろう。但し、その場合に
も、自動的にその位置を変更した旨をユーザに知らしめ
ることが望ましい。
In some cases, such a situation can be avoided by allowing the movable range of the frame only within the editing area. However, even in that case, it is desirable to inform the user that the position has been automatically changed.

【0057】更に、実施例では、枠内部に入る情報につ
いては、格別説明しなかったが、図形、イメージはもと
より、音声や映像(動画等)、文章であっても良い。
Further, in the embodiment, the information contained in the frame is not particularly described, but it may be voice, video (moving picture, etc.), or text as well as figures and images.

【0058】また、枠コマンドを配置する場所は、文章
情報中に限るものではなく、他の種類の情報に付随させ
ても良い。
The location of the frame command is not limited to the text information, but may be attached to other types of information.

【0059】“図1”と“イメージ画像”それぞれの枠
が互いに関連しあって、それぞれが近接するように配置
することが望まれる場合には、一方に枠コマンドを付随
させることで、それらが常に近接するようにもできよ
う。
When the frames of "FIG. 1" and "image image" are related to each other and it is desired to arrange them so that they are close to each other, by attaching a frame command to one of them, they are You could always be in close proximity.

【0060】また、上記実施例の如く、枠コマンドは、
通常は表示画面に表示されず、文字等のレイアウトに影
響を与えない方が望ましい。但し、これでは、どの位置
に枠コマンドがあるのかを知ることができないので、所
定の操作、例えば枠コマンドを挿入する操作を行ったと
き、組み込まれた枠コマンドが目に見えるようにする。
As in the above embodiment, the frame command is
Normally, it is desirable that it is not displayed on the display screen and does not affect the layout of characters. However, in this case, since it is not possible to know at which position the frame command is present, the incorporated frame command is made visible when a predetermined operation, for example, an operation of inserting the frame command is performed.

【0061】[0061]

【発明の効果】以上説明したように本発明によれば、枠
とその枠を指標とする位置関係が自然な状態を保つこと
が可能になる。
As described above, according to the present invention, it is possible to maintain a natural state of the frame and the positional relationship using the frame as an index.

【0062】特に、指標の移動に伴って移動する枠か、
移動しない枠かを判断して、適切に指標に対する枠の相
対位置を調節することにより、指標の移動に伴って移動
する枠だけでなく、指標の移動に伴って移動しない枠の
位置も決定することができるようになる。
In particular, whether the frame moves with the movement of the index,
By determining whether the frame does not move and appropriately adjusting the relative position of the frame with respect to the index, not only the frame that moves with the index move but also the position of the frame that does not move with the index move are determined. Will be able to.

【0063】[0063]

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

【図1】本発明の実施例による文書作成装置の概略構成
を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a document creation device according to an embodiment of the present invention.

【図2】本発明の実施例における、枠コマンドに対する
枠の配置方法を説明するための図である。
FIG. 2 is a diagram illustrating a method of arranging frames with respect to a frame command according to the embodiment of this invention.

【図3】本発明の枠コマンド位置管理手段の実施例であ
る枠コマンド位置情報を示す図である。
FIG. 3 is a diagram showing frame command position information which is an embodiment of the frame command position management means of the present invention.

【図4】本発明の枠位置管理手段の実施例である枠位置
情報を示す図である。
FIG. 4 is a diagram showing frame position information which is an embodiment of the frame position management means of the present invention.

【図5】本発明のオフセット管理手段の実施例であるオ
フセット情報を示す図である。
FIG. 5 is a diagram showing offset information which is an embodiment of the offset management means of the present invention.

【図6】本発明の枠種管理手段の実施例である枠種情報
を示す図である。
FIG. 6 is a diagram showing frame type information which is an example of the frame type management means of the present invention.

【図7】本発明の実施例における、枠配置処理の流れを
示すフローチャートである。
FIG. 7 is a flowchart showing a flow of frame arrangement processing in the embodiment of the present invention.

【図8】本発明の実施例を説明するための文書例を示す
図である。
FIG. 8 is a diagram showing an example of a document for explaining an embodiment of the present invention.

【図9】図8の文書例における、固定浮動枠の枠コマン
ド位置情報、枠位置情報、オフセット情報及び枠種情報
の内容を示す図である。
9 is a diagram showing the contents of frame command position information, frame position information, offset information, and frame type information of a fixed floating frame in the document example of FIG.

【図10】図8の文書例における、移動浮動枠の枠コマ
ンド位置情報、枠位置情報、オフセット情報及び枠種情
報の内容を示す図である。
10 is a diagram showing the contents of frame command position information, frame position information, offset information, and frame type information of a moving floating frame in the document example of FIG.

【図11】図8の文書例において編集が行われた場合の
枠コマンドの位置が変更されている様子を示す図であ
る。
FIG. 11 is a diagram showing a state where the position of a frame command is changed when editing is performed in the document example of FIG.

【図12】図11の文書例における、固定浮動枠に対応
する更新後の枠コマンド位置情報、枠位置情報、オフセ
ット情報及び枠種情報の内容を示す図である。
12 is a diagram showing the contents of updated frame command position information, frame position information, offset information, and frame type information corresponding to a fixed floating frame in the document example of FIG. 11.

【図13】図11の文書例における、移動浮動枠に対応
する更新後の枠コマンド位置情報、枠位置情報、オフセ
ット情報及び枠種情報の内容を示す図である。
13 is a diagram showing the contents of updated frame command position information, frame position information, offset information, and frame type information corresponding to the moving floating frame in the document example of FIG. 11.

【図14】図11の文書例において枠位置決定処理が行
われた直後の状態を示す図である。
14 is a diagram showing a state immediately after a frame position determination process is performed in the document example of FIG.

【図15】図14の文書例における、固定浮動枠の枠位
置情報を示す図である。
15 is a diagram showing frame position information of a fixed floating frame in the document example of FIG.

【図16】図14の文書例における、移動浮動枠の枠位
置情報を示す図である。
16 is a diagram showing frame position information of a moving floating frame in the document example of FIG.

【図17】枠を用いた文書の例を示す図である。FIG. 17 is a diagram showing an example of a document using a frame.

【図18】編集後の枠が移動される例を示す図である。FIG. 18 is a diagram showing an example in which an edited frame is moved.

【図19】枠を用いた他の文書の例を示す図である。FIG. 19 is a diagram showing an example of another document using a frame.

【図20】編集後における不具合の例を示す図である。FIG. 20 is a diagram showing an example of a problem after editing.

【図21】実施例における不具合解消の例を示す図であ
る。
FIG. 21 is a diagram showing an example of solving a problem in the embodiment.

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

1 CRT 2 ビデオRAM 3 BMU 4 キーボード 5 ポインティングデバイス 6 CPU 7 ROM 8 作業用のRAM 9 ハードディスク 10 フロッピィディスク 11 ネットワークインターフェース 12 I/Oバス。 1 CRT 2 Video RAM 3 BMU 4 Keyboard 5 Pointing device 6 CPU 7 ROM 8 Working RAM 9 Hard disk 10 Floppy disk 11 Network interface 12 I / O bus.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 異なる情報を枠内に配置し、少なくとも
当該枠を組み合わせて文書の作成編集を行う文書処理装
置であって、 第1の情報中に、第2の情報を格納する枠に対応する指
標情報を格納する記憶する第1の記憶手段と、 格納された指標情報に対応する枠の位置が固定である
か、移動可であるかを判別する判別手段と、 前記指標情報に対応する枠の相対位置情報を記憶する第
2の記憶手段と、 前記指標情報の位置が変更された場合、前記判別手段で
得られた当該指標情報に対応する枠の種別に応じて、前
記第2の記憶手段に記憶されている相対位置情報を更新
する更新手段とを備えることを特徴とする文書処理装
置。
1. A document processing apparatus for arranging different pieces of information in a frame, and at least combining the frames to create and edit a document, which corresponds to a frame in which the second information is stored in the first information. Corresponding to the index information, a first storage unit for storing the index information to be stored, a determination unit for determining whether the position of the frame corresponding to the stored index information is fixed or movable. Second storage means for storing relative position information of a frame, and when the position of the index information is changed, the second storage means is stored according to the type of the frame corresponding to the index information obtained by the determination means. A document processing apparatus comprising: an updating unit that updates the relative position information stored in the storage unit.
【請求項2】 前記第1の情報は文章情報であり、第2
の情報は文章情報、イメージ情報、図形情報を含むこと
を特徴とする請求項第1項に記載の文書処理装置。
2. The first information is text information, and the second information is text information.
The information processing apparatus according to claim 1, wherein the information includes text information, image information, and graphic information.
【請求項3】 前記更新手段は、 該当する枠が固定枠であると判別した場合には、当該固
定枠と変更された指標に基づく距離情報で前記第2の記
憶手段を更新し、 枠が移動可枠であると判別した場合には、指標を更新す
る以前の状態の相対座標のまま当該枠の位置情報を決定
することを特徴とする請求項第1項に記載の文書処理装
置。
3. The updating unit updates the second storage unit with distance information based on the fixed frame and the changed index, when the frame is determined to be a fixed frame, The document processing apparatus according to claim 1, wherein, when it is determined that the frame is a movable frame, the position information of the frame is determined with the relative coordinates in the state before the index is updated.
【請求項4】 異なる情報を枠内に配置し、少なくとも
当該枠を組み合わせて文書の作成編集を行う文書処理方
法であって、 第1の情報中に、第2の情報を格納する枠に対応する指
標情報を格納する記憶する第1の記憶工程と、 格納された指標情報に対応する枠の位置が固定である
か、移動可であるかを判別する判別工程と、 前記指標情報に対応する枠の相対位置情報を記憶する第
2の記憶工程と、 前記指標情報の位置が変更された場合、前記判別工程で
得られた当該指標情報に対応する枠の種別に応じて、前
記第2の記憶工程で記憶されている相対位置情報を更新
する更新工程とを備えることを特徴とする文書処理方
法。
4. A document processing method for arranging different information in a frame, and at least combining the frames to create and edit a document, which corresponds to a frame in which the second information is stored in the first information. A first storing step of storing the index information to be stored, a determination step of determining whether the position of the frame corresponding to the stored index information is fixed or movable, and corresponding to the index information A second storage step of storing relative position information of a frame, and when the position of the index information is changed, the second storage step is performed according to the type of the frame corresponding to the index information obtained in the determination step. An updating step of updating the relative position information stored in the storing step.
【請求項5】 前記第1の情報は文章情報であり、第2
の情報は文章情報、イメージ情報、図形情報を含むこと
を特徴とする請求項第4項に記載の文書処理方法。
5. The first information is text information, and the second information is text information.
5. The document processing method according to claim 4, wherein the information includes text information, image information, and graphic information.
【請求項6】 前記更新工程は、 該当する枠が固定枠であると判別した場合には、当該固
定枠と変更された指標に基づく距離情報で前記第2の記
憶工程で記憶された情報を更新し、 枠が移動可枠であると判別した場合には、指標を更新す
る以前の状態の相対座標のままで、当該枠の位置情報を
決定することを特徴とする請求項第4項に記載の文書処
理方法。
6. The updating step, when determining that the corresponding frame is a fixed frame, sets the information stored in the second storing step as distance information based on the fixed frame and the changed index. If the frame is updated and it is determined that the frame is movable, the position information of the frame is determined with the relative coordinates of the state before the index is updated. Document processing method described.
JP6279577A 1994-11-14 1994-11-14 Device and method for document processing Withdrawn JPH08137869A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6279577A JPH08137869A (en) 1994-11-14 1994-11-14 Device and method for document processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6279577A JPH08137869A (en) 1994-11-14 1994-11-14 Device and method for document processing

Publications (1)

Publication Number Publication Date
JPH08137869A true JPH08137869A (en) 1996-05-31

Family

ID=17612924

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6279577A Withdrawn JPH08137869A (en) 1994-11-14 1994-11-14 Device and method for document processing

Country Status (1)

Country Link
JP (1) JPH08137869A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008305414A (en) * 2004-01-30 2008-12-18 Canon Inc Layout control method, layout control apparatus, and layout control program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008305414A (en) * 2004-01-30 2008-12-18 Canon Inc Layout control method, layout control apparatus, and layout control program

Similar Documents

Publication Publication Date Title
JPH06274586A (en) Displaying system
JPH09106333A (en) Document processor
JPH11126149A (en) Information processor and method thereof, and memory medium
JPH064607A (en) Data display device
JPH08137869A (en) Device and method for document processing
JPH0760308B2 (en) Image display magnification setting device
JP3781923B2 (en) Line drawing apparatus, line drawing method, and computer-readable recording medium recording line drawing program
JPH0612413A (en) Method and device for processing document
JPH0962451A (en) Character input method
JP2797439B2 (en) Text editing support device
JPH0421153Y2 (en)
JP4266392B2 (en) Document processing apparatus and method
JP2928858B2 (en) Multi-window display control apparatus and method
JPH0442356A (en) Document editing device
JPH11213072A (en) Document processor, its method and recording medium
JPH09305585A (en) Character processor and control method for the same
JPH1027086A (en) Display device
JPH0959360A (en) Document processing apparatus and disposition of modification information on character string
JPH0644251A (en) Menu display method
JPH06236365A (en) Word processor and format setting method
JP2000112608A (en) Information processor, its processing method and computer readable memory
JPH05334285A (en) Document preparing device
JPH0736887A (en) Document processor
JPH0916333A (en) Method and device for inputting character
JPS63276662A (en) Document editing system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020115