JPH05151202A - Document processor - Google Patents

Document processor

Info

Publication number
JPH05151202A
JPH05151202A JP3316868A JP31686891A JPH05151202A JP H05151202 A JPH05151202 A JP H05151202A JP 3316868 A JP3316868 A JP 3316868A JP 31686891 A JP31686891 A JP 31686891A JP H05151202 A JPH05151202 A JP H05151202A
Authority
JP
Japan
Prior art keywords
area
floating
setting
floating area
input
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
JP3316868A
Other languages
Japanese (ja)
Inventor
Toshikazu Nagaie
利和 長家
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP3316868A priority Critical patent/JPH05151202A/en
Publication of JPH05151202A publication Critical patent/JPH05151202A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To provide a document processor capable of flexibly and consistently processing a fixed area and a floating area as areas and simplifying operation. CONSTITUTION:The document processor includes an input buffer 11 for inputting whether a prescribed area is a floating area or a fixed area and an area operation processing part 12 for forming and editing an area in accordance with an input from the buffer 11. A floating area setting processing part 14 for setting up a floating area in accordance with data inputted from the buffer 11 and a floating area resetting processing part 15 for resetting the floating area in accordance with data inputted from the buffer 11 are similarly connected to the processing part 12. Data in respective areas are stored in an area management information part 17 together with positional data.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は文書処理装置に関し、
特に文書処理装置の浮動領域設定方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing device,
In particular, it relates to a floating area setting method of a document processing device.

【0002】[0002]

【従来の技術】日本語ワードプロセッサ、DTP、パー
ソナルコンピュータによる文書処理装置において、文書
面上に領域を設け、それら領域内で各々独立に文書・図
形・画像・表などの編集ができるものがある。このよう
な領域には機能的に文書面上での位置が変わらない「固
定領域」と、領域外側の文章中の特定の文字と連係して
その位置を変化させる「浮動領域」の2つがある。
2. Description of the Related Art There is a document processing apparatus using a Japanese word processor, DTP, or personal computer in which areas are provided on the document surface and the text, graphics, images, tables, etc. can be independently edited in these areas. There are two types of areas: a "fixed area" whose position on the document surface does not change functionally, and a "floating area" which changes the position in cooperation with a specific character in the text outside the area. ..

【0003】これら2つの「領域」の設定方法は同じ
「領域」でありながら大きく異なる。固定領域の一般的
な設定方法は図7に示すように、マウスのようなポイン
ティングデバイスを用いて例えば2点を指定することに
より図形的に領域が設定される。
The setting methods of these two "areas" are the same "areas", but differ greatly. As shown in FIG. 7, a general method for setting a fixed area is to graphically set an area by designating, for example, two points using a pointing device such as a mouse.

【0004】一方、浮動領域は、処理上特殊な制御文字
を文書バッファ中に挿入し、文字として扱われるのが一
般的であるので、図8に示すように固定領域の設定とは
別個の手段として連係する文字(図8の場合であれば
「な」)を明確に指示して領域が設定される。
On the other hand, the floating area is generally treated as a character by inserting a special control character in the document buffer for processing, and therefore, as shown in FIG. 8, means different from the fixed area setting is used. An area is set by clearly designating a character (“NA” in the case of FIG. 8) that is linked as “”.

【0005】[0005]

【発明が解決しようとする課題】このように固定領域と
浮動領域で設定方法が大きく異なると領域の設定として
感覚的に不自然である。
As described above, if the setting method is largely different between the fixed area and the floating area, the setting of the area is unnatural.

【0006】さらに、設定方法、管理方法が異なるため
に、任意の領域を固定領域にしたり浮動領域にしたり自
由に設定を変更できず、操作に柔軟性を損なう。
Further, since the setting method and the management method are different, the setting cannot be freely changed such that an arbitrary area can be a fixed area or a floating area, which impairs flexibility in operation.

【0007】また浮動領域が特定の文字と明確に関連す
るような設定方法であるため、移動・複写などの編集操
作を固定領域と同様には行なえないものが多い。
Further, since the floating area is a setting method that is clearly associated with a specific character, many editing operations such as moving and copying cannot be performed in the same manner as the fixed area.

【0008】その結果、固定領域と浮動領域の2つにつ
いて領域としての扱いの柔軟性・一貫性がとれなくな
り、操作が煩雑になるという問題点があった。
As a result, there is a problem in that the flexibility and consistency of the handling of two areas, the fixed area and the floating area, cannot be taken, and the operation becomes complicated.

【0009】この発明は上記のような問題点を解消する
ためになされたもので、固定領域、浮動領域の2つにつ
いて領域としての取扱いの柔軟性・一貫性をもち、操作
が簡単な文書処理装置を提供することを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and has a flexibility and a consistency of handling as a fixed area and a floating area, and a document processing which is easy to operate. The purpose is to provide a device.

【0010】[0010]

【課題を解決するための手段】この発明に係る文書処理
装置は、所定の領域が浮動領域か固定領域かをその位置
データと共に入力する入力手段と、入力手段に接続され
て入力されたデータに応じて領域の作成・編集を行なう
領域操作処理手段と、領域操作処理手段に接続され、入
力手段の入力に応じて浮動領域を設定または解除する浮
動領域設定/解除手段と、領域操作処理手段、浮動領域
設定/解除手段に接続され、領域の種類、位置を含む管
理情報を記憶する記憶手段とを含む。
A document processing apparatus according to the present invention includes an input means for inputting whether a predetermined area is a floating area or a fixed area together with its position data, and data connected to the input means. Area operation processing means for creating / editing an area in response to the area operation processing means; floating area setting / cancellation means connected to the area operation processing means for setting or canceling the floating area according to the input of the input means; And storage means connected to the floating area setting / releasing means for storing management information including the type and position of the area.

【0011】[0011]

【作用】この発明に係る文書処理装置においては、入力
手段からの入力データに応じて所定の領域が浮動領域か
固定領域かにかかわらず、領域操作処理手段によって同
様の処理が行なわれ、各領域がその種類および位置情報
と共に記録される。
In the document processing apparatus according to the present invention, the same operation is performed by the area operation processing means regardless of whether the predetermined area is the floating area or the fixed area according to the input data from the input means, and each area is processed. Is recorded with its type and position information.

【0012】[0012]

【実施例】以下この発明の実施例を図面を参照して説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0013】図1はこの発明に係る文書処理装置の要部
を示すブロック図である。図1を参照して、この発明に
係る文書処理装置は、ユーザからのコマンド入力などの
イベントバッファである入力バッファ11と、入力バッ
ファ11に接続され、領域の作成・編集に関する機能を
実現するエディタ部である領域操作処理部12と、領域
操作処理部12に接続され、指定固定領域をその場で浮
動領域に変換する処理実行部である浮動領域設定処理部
14および指定浮動領域を固定領域に変換する処理実行
部である浮動領域設定解除処理部15と、領域操作処理
部12、浮動領域設定処理部14および浮動領域設定解
除処理部15に接続され、文書中の各領域の管理情報を
各々対応させて記憶する領域管理情報部17、文書デー
タを格納する文書データメモリ16と、領域操作処理部
での処理結果を表示する表示部13とを含む。
FIG. 1 is a main part of a document processing apparatus according to the present invention.
It is a block diagram showing. With reference to FIG.
Such a document processing apparatus is used for command input from the user.
The input buffer 11 which is an event buffer and the input buffer
It is connected to the file 11 and has functions for creating and editing areas.
Area operation processing section 12 which is an editor section to be realized, and area
It is connected to the operation processing unit 12 and floats the designated fixed area on the spot.
Floating region setting processing unit that is a processing execution unit that converts into a moving region
14 and specified floating area is converted to fixed area
Floating region setting cancellation processing unit 15, which is a unit, and region operation processing
Unit 12, floating region setting processing unit 14, and floating region setting solution
It is connected to the removal processing unit 15 and stores management information of each area in the document.
The area management information section 17 and the document data stored in association with each other
Document data memory 16 for storing data and area operation processing unit
And a display unit 13 that displays the processing result of the above.

【0014】図2は領域管理情報部17が作成する領域
管理情報を示す一例である。図2を参照して、領域管理
情報は文書中に設定されている領域を管理する情報で、
その位置(X座標,Y座標)・大きさ(幅,高さ)、内
容データの格納アドレスと共にその領域が固定領域であ
るか浮動領域であるかを示す浮動領域フラグを持つ。
FIG. 2 shows an example of the area management information created by the area management information section 17. Referring to FIG. 2, the area management information is information for managing the areas set in the document,
It has a position (X coordinate, Y coordinate), size (width, height), a storage address of the content data, and a floating area flag indicating whether the area is a fixed area or a floating area.

【0015】浮動領域は文章中の特定の文字と連係して
いる必要があるので、上記の浮動領域フラグの他に文章
データ中に図3に示すような浮動領域制御ブロックを挿
入してその位置を制御する。浮動領域制御ブロックは制
御ブロック前コードと制御ブロック後コードの間に対応
する領域のIDを挟み込んだ形式となっている。
Since the floating area needs to be associated with a specific character in the text, a floating area control block as shown in FIG. 3 is inserted in the text data in addition to the above floating area flag and its position is set. To control. The floating area control block has a format in which the ID of the corresponding area is sandwiched between the code before the control block and the code after the control block.

【0016】以下に浮動領域の設定方法について説明す
る。ユーザは従来の方法に従って固定領域を作成しその
領域を選択した後、図示のない「浮動領域」コマンドを
押下する。ユーザが投入したコマンドは入力バッファ1
1から領域操作処理部12に受け渡され、領域操作処理
部12は浮動領域設定処理部14に制御を移す。
A method of setting the floating area will be described below. The user creates a fixed area according to a conventional method, selects the area, and then presses a "floating area" command (not shown). Commands entered by the user are input buffer 1
1 is transferred to the area operation processing unit 12, and the area operation processing unit 12 transfers control to the floating area setting processing unit 14.

【0017】浮動領域設定処理部12のを動作を図4を
参照して説明する。指定された領域が既に浮動領域であ
る場合には(♯11でYES)、処理の必要がないので
そのままリターンする。選択領域が浮動領域でない場合
は(♯11でNO)、処理領域の領域左上の座標を領域
管理情報部17から求める(♯13)。求めた座標を元
にその点が外側の文章領域のどの行にかかっているかを
検索する「行検索処理」を行なう(♯15)。これによ
って指定領域がどの行の下に配置されるかを求めた後
に、その行の行末の文字を「行末文字検索処理」によっ
て求める(♯17)。次に文章バッファ中で今求められ
た行末文字の後ろに図3に示した浮動領域制御ブロック
を挿入し、そのブロック内の領域IDフィールドに指定
領域のIDを書込む(♯19)。最後に指定領域の領域
管理情報内の浮動領域フラグをONにして(♯11)、
浮動領域の変換処理を終了する。
The operation of the floating area setting processor 12 will be described with reference to FIG. If the designated area is already a floating area (YES in # 11), there is no need for processing, and the process directly returns. If the selected area is not a floating area (NO in # 11), the upper left area coordinates of the processing area are obtained from the area management information section 17 (# 13). Based on the obtained coordinates, a "line search process" is performed to search which line in the outer text area the point is located (# 15). After determining by which line the designated area is arranged, the character at the end of the line is obtained by the "end-of-line character search process"(# 17). Next, the floating area control block shown in FIG. 3 is inserted after the end-of-line character just obtained in the text buffer, and the ID of the designated area is written in the area ID field in the block (# 19). Finally, the floating area flag in the area management information of the specified area is turned on (# 11),
The floating area conversion process ends.

【0018】これによって文書中の固定領域は領域にか
かっている行の最後の文字に連係する浮動領域となる。
As a result, the fixed area in the document becomes a floating area linked to the last character of the line that covers the area.

【0019】次に浮動領域の設定解除方法を説明する。
上記のように設定された浮動領域を選択した後、図示の
ない「固定領域」コマンドを押下する。ユーザが投入し
たコマンドは図1の入力バッファ11から領域操作処理
部12に受け渡され、領域操作処理部12は浮動領域設
定解除処理部に制御を移す。
Next, a method of canceling the setting of the floating area will be described.
After selecting the floating area set as described above, a "fixed area" command (not shown) is pressed. The command input by the user is transferred from the input buffer 11 in FIG. 1 to the area operation processing unit 12, and the area operation processing unit 12 transfers control to the floating area setting cancellation processing unit.

【0020】浮動領域設定解除処理部フローを図5を参
照して説明する。指定された領域が既に固定領域である
場合には(♯31でYES)、処理の必要がないのでそ
のままリターンする。選択領域が固定領域でない場合は
(♯31でNO)、指定領域の領域左上の座標を領域管
理情報部17から求める(♯33)。求めた座標を元に
その点が外側の文書領域のどの行にかかっているかを検
索する「行検索処理」を行なう(♯35)。これによっ
て指定浮動領域がどの行の下に配置されているかを求め
た後に、その行の中から浮動領域制御ブロックを「浮動
領域制御ブロック検索処理」によって求める(♯3
7)。次に文章バッファ中から今求められた浮動領域制
御ブロックを削除する(♯39)。最後に指定領域の領
域管理情報内の浮動領域フラグをOFFにして(♯4
1)、固定領域への変換処理を終了する。
The flow of the floating area setting cancellation processing section will be described with reference to FIG. If the designated area is already a fixed area (YES in # 31), there is no need for processing, and the process directly returns. If the selected area is not the fixed area (NO in # 31), the coordinates of the upper left of the specified area are obtained from the area management information section 17 (# 33). Based on the obtained coordinates, "line search processing" is performed to search which line in the outer document area the point is located (# 35). By this, the line under which the designated floating region is arranged is obtained, and then the floating region control block is obtained from the line by the "floating region control block search process"(# 3
7). Next, the floating area control block just obtained is deleted from the text buffer (# 39). Finally, the floating area flag in the area management information of the specified area is turned off (# 4
1) The conversion processing to the fixed area is completed.

【0021】これによって文書中の浮動領域はその場で
固定領域となる。ここで示した「浮動領域」コマンド、
「固定領域」」コマンドは文書中の領域に関して任意の
時点で何回でも自由に行なえるので、浮動領域と固定領
域について切換えが容易になり柔軟な操作性を提供でき
る。
As a result, the floating area in the document becomes a fixed area on the spot. The "floating region" command shown here,
Since the "fixed area" command can be freely executed with respect to the area in the document as many times as desired, it is easy to switch between the floating area and the fixed area, and flexible operability can be provided.

【0022】また、この「浮動領域設定処理」と「浮動
領域設定解除処理」は特に領域設定時に限られた処理で
はないので、たとえば次のような領域の移動処理におい
ても有効に用いることができる。
Further, since the "floating region setting process" and the "floating region setting canceling process" are not particularly limited to the region setting process, they can be effectively used in the following region moving process, for example. ..

【0023】図6に領域移動処理のフローを示す。最初
に「移動先決定処理」で移動の対象になっている領域を
どこへ移動するのかを図示のないユーザのポインティン
グデバイスの操作によって決定する(♯51)。選択さ
れている領域が浮動領域か固定領域かを判定して(♯5
3)、浮動領域であればその場で「浮動領域設定解除処
理」を行なう(♯55)。「移動先決定処理」で決定し
た新たな位置情報を用いて選択領域の領域管理情報を更
新する(♯57)。選択領域が浮動領域であれば(♯5
9でNO)、更新された情報を元に「浮動領域設定処
理」を行なう(♯61)。これで浮動領域が浮動領域と
して移動されたので処理後全体の描画を行なう(♯6
3)。
FIG. 6 shows a flow of the area moving process. First, in the "destination determination process", where to move the area to be moved is determined by operating a pointing device (not shown) by a user (not shown) (# 51). It is determined whether the selected area is a floating area or a fixed area (# 5
3) If it is a floating area, "floating area setting cancellation processing" is performed on the spot (# 55). The area management information of the selected area is updated using the new position information determined in the "destination determination process"(# 57). If the selected area is a floating area (# 5
If NO in step 9, the "floating area setting process" is performed based on the updated information (# 61). Now that the floating area has been moved as a floating area, the entire drawing is performed after processing (# 6
3).

【0024】このように「浮動領域設定処理」と「浮動
領域設定解除処理」を用いると従来困難であった浮動領
域を浮動領域のまま移動するような処理も、固定領域と
同様に違和感なく実現できるようになる。
In this way, when the "floating region setting process" and the "floating region setting canceling process" are used, the process of moving the floating region which has been difficult, which has been difficult in the past, can be realized without any discomfort as in the fixed region. become able to.

【0025】領域の複写処理についても同様であること
は明らかである。
Obviously, the same applies to the copy processing of the area.

【0026】[0026]

【発明の効果】以上のようにこの発明によれば、入力手
段からの入力データに応じて所定の領域が浮動領域か固
定領域かにかかわらず領域操作手段によって同様の処理
が行なわれ、各領域がその種類および位置情報と共に記
憶される。その結果領域として操作の一貫性が保たれる
ため、操作の容易な文書処理装置が提供できる。
As described above, according to the present invention, the same processing is performed by the area operation means regardless of whether the predetermined area is the floating area or the fixed area according to the input data from the input means, and each area is processed. Are stored along with their type and location information. As a result, the consistency of the operation is maintained as the area, so that the document processing device which is easy to operate can be provided.

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

【図1】この発明の要部を示すブロック図である。FIG. 1 is a block diagram showing a main part of the present invention.

【図2】領域管理情報の内容を示す図である。FIG. 2 is a diagram showing the contents of area management information.

【図3】浮動領域制御ブロックの内容を示す図である。FIG. 3 is a diagram showing the contents of a floating area control block.

【図4】浮動領域設定処理のフローチャートである。FIG. 4 is a flowchart of a floating area setting process.

【図5】浮動領域設定解除処理のフローチャートであ
る。
FIG. 5 is a flowchart of floating area setting cancellation processing.

【図6】領域移動処理のフローチャートである。FIG. 6 is a flowchart of a region moving process.

【図7】従来の固定領域設定方法を示す図である。FIG. 7 is a diagram showing a conventional fixed area setting method.

【図8】従来の浮動領域設定方法を示す図である。FIG. 8 is a diagram showing a conventional floating area setting method.

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

11 入力バッファ 12 領域操作処理部 13 表示部 14 浮動領域設定処理部 15 浮動領域設定解除処理部 16 文書データメモリ 17 領域管理情報 11 Input Buffer 12 Area Operation Processing Section 13 Display Section 14 Floating Area Setting Processing Section 15 Floating Area Setting Release Processing Section 16 Document Data Memory 17 Area Management Information

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 所定の領域が浮動領域か固定領域かをそ
の位置データと共に入力する入力手段と、 前記入力手段に接続され、前記入力されたデータに応じ
て前記領域の作成、編集を行なう領域操作処理手段と、 前記領域操作処理手段に接続され、前記入力手段の入力
に応じて前記浮動領域を設定および解除する浮動領域設
定/解除手段と、 前記領域操作処理手段および浮動領域設定/解除手段に
接続され、前記領域の種類、位置を含む管理情報を記憶
する記憶手段とを含む、文書処理装置。
1. An input unit for inputting whether a predetermined region is a floating region or a fixed region together with its position data, and a region connected to the input unit for creating and editing the region according to the input data. An operation processing means, a floating area setting / releasing means which is connected to the area operation processing means and sets and cancels the floating area according to an input of the input means, and the area operation processing means and the floating area setting / releasing means And a storage unit that stores management information including the type and position of the area.
JP3316868A 1991-11-29 1991-11-29 Document processor Withdrawn JPH05151202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3316868A JPH05151202A (en) 1991-11-29 1991-11-29 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3316868A JPH05151202A (en) 1991-11-29 1991-11-29 Document processor

Publications (1)

Publication Number Publication Date
JPH05151202A true JPH05151202A (en) 1993-06-18

Family

ID=18081811

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3316868A Withdrawn JPH05151202A (en) 1991-11-29 1991-11-29 Document processor

Country Status (1)

Country Link
JP (1) JPH05151202A (en)

Similar Documents

Publication Publication Date Title
US4667248A (en) Document image editing device
JPH05151202A (en) Document processor
JP2785941B2 (en) Window information division / integration processing method
JPH0318224B2 (en)
JP2621486B2 (en) Document editing method and apparatus
JPH05324555A (en) Already executed operation canceller
JP2659092B2 (en) Cursor display control method in logic diagram creation processor
JPS6336362A (en) Ruled line editing device
JP2646518B2 (en) Processing method in graphic data processing device
JP3072516B2 (en) Document editing device
JPH05324556A (en) Already executed operation canceller
JPS6019250A (en) Control system for processed document name record of document processing system
JP2977256B2 (en) Document creation device
JP3243805B2 (en) Document creation device
JPS62197873A (en) Image processor
JPH05266165A (en) Element selection system
JPH01248270A (en) Document preparing device
JPS58215692A (en) Copy indication system
JPH05151330A (en) Image processor
JPH05189505A (en) Method and device for editing of drawing
JPH0721008A (en) Device and method for preparing document
JPH0727520B2 (en) Document processor
JPH01181164A (en) Graphic editing processing system
JPH04118753A (en) Document preparing device
JPH0695939A (en) Information processor

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: 19990204