JPH08137867A - Device and method for document processing - Google Patents

Device and method for document processing

Info

Publication number
JPH08137867A
JPH08137867A JP6279591A JP27959194A JPH08137867A JP H08137867 A JPH08137867 A JP H08137867A JP 6279591 A JP6279591 A JP 6279591A JP 27959194 A JP27959194 A JP 27959194A JP H08137867 A JPH08137867 A JP H08137867A
Authority
JP
Japan
Prior art keywords
attribute
range
designated
specified
specifying
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
JP6279591A
Other languages
Japanese (ja)
Inventor
Shinji Yamashita
真司 山下
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 JP6279591A priority Critical patent/JPH08137867A/en
Publication of JPH08137867A publication Critical patent/JPH08137867A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE: To easily select a range within which document data has a desired attribute. CONSTITUTION: When an operator specifies a desired position according to the document data and also inputs the range specification, an attribute range command instruction acquisition part 1 acquires the position and a specific attribute acquisition part 2 acquires an attribute of an underline, etc., including the specific position. An attribute range detail information acquisition part 3 inputs conditions when plural attributes are included and a range segmentation position condition determination part 4 determines conditions indicating the segmentation position of the acquired attribute. Under the conditions, a range meeting the conditions is determined on the basis of the specific position by an attribute range determination part 5. When the desired range is thus determined according to the document data, the part is displayed distinctively as the selected range at an attribute display part 6. Thus, the desired position is specified without specifying the front or rear of the character string, and the character string can be specified with the attribute of the position.

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 apparatus such as a word processor and a method thereof.

【0002】[0002]

【従来の技術】従来、文書中のアンダーライン等の特定
の属性を有する文字列を範囲指定する為には、文字列の
属性を表示で確認しつつ指定しようとする文字列の先頭
と終了の位置をマウスやカーソル移動で指定する必要が
あった。
2. Description of the Related Art Conventionally, in order to specify a range of a character string having a specific attribute such as an underline in a document, the start and end of the character string to be specified while confirming the attribute of the character string on the display are specified. It was necessary to specify the position using the mouse or moving the cursor.

【0003】[0003]

【発明が解決しようとする課題】上記従来例では、属性
の範囲を指定する際、その属性の開始位置と終了位置と
を指定しなければならないため以下のような欠点があっ
た。
In the above-mentioned conventional example, when the range of the attribute is specified, the start position and the end position of the attribute must be specified, which has the following drawbacks.

【0004】(1)開始位置と終了位置をユーザ自身が
探さなくてはならず、時間と手間を必要とした。特に複
数ページにまたがるときなどはページの切り替え操作な
どが必要となり容易に範囲指定することが出来なかっ
た。
(1) The user himself has to find the start position and the end position, which requires time and effort. In particular, when spanning multiple pages, page switching operations were required, and it was not possible to specify the range easily.

【0005】(2)表示上で同一属性部分の開始・終了
位置がわかりにくい場合、ユーザによる範囲指定は困難
であった。例えば、CRT表示装置の解像度と表示モー
ドによってはゴシックと明朝体のような書体の属性の異
なるものでも、ほとんど同じ様にしか表示されない場合
がある。
(2) When the start / end positions of the same attribute portion are difficult to understand on the display, it is difficult for the user to specify the range. For example, depending on the resolution and display mode of the CRT display device, there may be a case where the fonts such as Gothic font and Mincho font having different attributes are displayed almost the same.

【0006】本発明は上記従来例に鑑みてなされたもの
で、指定しようとする属性の文字列の開始位置や終了位
置を指定する必要が無く、簡単に所望の属性の文字列を
指定でき、表示された文書から属性に応じた文字列の区
切り位置を見極める必要が無く、また、開始位置と終了
位置の2ヶ所を指定することによる効率の悪さから解放
する文書処理装置を提供することを目的とする。
The present invention has been made in view of the above-mentioned conventional example, and it is not necessary to specify the start position and the end position of the character string of the attribute to be specified, and the character string of the desired attribute can be easily specified. An object of the present invention is to provide a document processing device that eliminates the need to determine the delimiter position of a character string according to an attribute from a displayed document, and also eliminates the inefficiency of designating two positions, a start position and an end position. And

【0007】[0007]

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

【作用】上記目的を達成するために、本発明の文書処理
装置は次のような構成からなる。すなわち、文書データ
の属性が掛っている部分のみを範囲指定する際に、属性
範囲指定命令獲得処理、指定位置属性状態獲得処理、属
性範囲詳細情報獲得処理、範囲区切り位置条件決定処
理、属性範囲指定決定処理、属性範囲表示処理を設ける
ことにより、開始位置、終了位置を指定することなく、
簡単な操作で属性の範囲を指定することが可能である。
In order to achieve the above object, the document processing apparatus of the present invention has the following configuration. That is, when the range is specified only for the portion of the document data having the attribute, the attribute range specification command acquisition process, the specified position attribute state acquisition process, the attribute range detailed information acquisition process, the range delimiter position condition determination process, the attribute range specification By providing the determination process and the attribute range display process, without specifying the start position and the end position,
It is possible to specify the range of attributes with a simple operation.

【0008】また、所望の文字列に所望の属性を付与し
た文書データを処理する文書処理装置であって、文書デ
ータ中の所望の位置を指定する指定手段と、該指定手段
により指定された位置を含み、該位置における属性を有
する文字列を指定範囲として決定する範囲決定手段とを
備える。
A document processing apparatus for processing document data in which a desired attribute is added to a desired character string, and a designating unit for designating a desired position in the document data, and a position designated by the designating unit. And a range determining means for determining a character string having an attribute at the position as a specified range.

【0009】また、本発明の文書処理方法は次のような
工程からなる。すなわち、所望の文字列に所望の属性を
付与した文書データを処理する文書処理方法であって、
文書データ中の所望の位置を指定する指定工程と、該指
定工程により指定された位置を含み、該位置における属
性を有する文字列を指定範囲として決定する範囲決定工
程とを備える。
Further, the document processing method of the present invention comprises the following steps. That is, a document processing method for processing document data in which a desired attribute is added to a desired character string,
The method includes a designation step of designating a desired position in the document data, and a range determination step of determining a character string including the position designated by the designation step and having an attribute at the position as a designated range.

【0010】[0010]

【実施例】【Example】

[第1実施例]図1は本発明に係る一実施例の処理構成
例を示す図である。
[First Embodiment] FIG. 1 is a diagram showing a processing configuration example of an embodiment according to the present invention.

【0011】同図において、1は文字列の属性の範囲を
指定する命令を受け取る属性範囲指定命令獲得処理部で
ある。すなわち、オペレータは、文書データにおける所
望の位置を指定した状態で属性範囲指定命令をキーボー
ドやマウス等から入力し、それにより文字列の属性によ
る範囲指定を行うことを宣言する。なお、属性範囲と
は、ある属性を有する文字列の範囲をいう。2は属性範
囲指定命令獲得処理部1で獲得される指定位置における
文字列の属性を獲得する指定位置属性状態獲得処理部で
ある。3は指定位置属性獲得処理部2で獲得した属性情
報に応じて、必要なら指定する範囲の詳細情報をオペレ
ータから獲得する属性範囲詳細情報獲得処理部である。
4は指定位置属性獲得処理部2で獲得した属性情報およ
び属性範囲詳細情報獲得処理部3で獲得した詳細情報に
従って指定すべき文字列の範囲の先頭位置と終了位置の
条件を決定する範囲区切り位置条件決定処理部である。
5は範囲区切り位置条件決定処理部4で決定された条件
に従って文字列の範囲を決定する属性範囲決定処理部で
ある。6は属性範囲決定処理部5によって決定された範
囲をCRT表示装置11上に表示する属性範囲表示処理
部である。
In FIG. 1, reference numeral 1 denotes an attribute range designation command acquisition processing unit that receives a command for designating a range of character string attributes. That is, the operator inputs an attribute range designation command from a keyboard, a mouse or the like while designating a desired position in the document data, thereby declaring that the range is designated by the attribute of the character string. The attribute range is a range of character strings having a certain attribute. Reference numeral 2 denotes a specified position attribute state acquisition processing unit that acquires the attribute of the character string at the specified position acquired by the attribute range specification command acquisition processing unit 1. Reference numeral 3 denotes an attribute range detailed information acquisition processing unit for acquiring detailed information of a specified range from the operator according to the attribute information acquired by the specified position attribute acquisition processing unit 2, if necessary.
Reference numeral 4 is a range delimiter position that determines the conditions of the start position and end position of the range of the character string to be specified according to the attribute information acquired by the specified position attribute acquisition processing unit 2 and the detailed information acquired by the attribute range detailed information acquisition processing unit 3. It is a condition determination processing unit.
Reference numeral 5 denotes an attribute range determination processing unit that determines the range of the character string according to the condition determined by the range division position condition determination processing unit 4. An attribute range display processing unit 6 displays the range determined by the attribute range determination processing unit 5 on the CRT display device 11.

【0012】<装置の説明>図2は本発明の一実施例を
示す文書処理装置の構成を説明するブロック図である。
図1に示した各ブロックは、図2のCPU11によりプ
ログラムを実行することで実現することができる。
<Description of Apparatus> FIG. 2 is a block diagram for explaining the arrangement of a document processing apparatus showing an embodiment of the present invention.
Each block shown in FIG. 1 can be realized by executing a program by the CPU 11 in FIG.

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

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

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

【0016】<処理手順の説明>図3は本実施例の処理
手順の一例を示すフローチャートである。このフローチ
ャートは図1の各ブロックが実現される処理を連ねたも
のだが、図2のCPU11によってROM17に格納さ
れたプログラムを実行することでも実現できる。
<Explanation of Processing Procedure> FIG. 3 is a flow chart showing an example of the processing procedure of the present embodiment. Although this flowchart is a series of processes for realizing each block in FIG. 1, it can also be realized by executing a program stored in the ROM 17 by the CPU 11 in FIG.

【0017】図3において、ステップS1は、ユーザが
キーボード14やPD15の入力装置を用いて、文書デ
ータ中の位置を指定し属性範囲命令を実行する操作であ
る。この操作は開始位置・終了位置を指定することなく
文書データ中における所望の属性の文字列に含まれる任
意の位置でダブルクリックをするなどの簡単な操作で可
能である。あるいは、文書中の所望の位置にカーソルを
移動するなどして位置決めした後、メニューとして表示
させている属性範囲指定命令を選択させるなどしても良
い。この属性範囲命令は属性指定命令獲得処理部1によ
って獲得する。
In FIG. 3, step S1 is an operation in which the user uses the input device of the keyboard 14 or PD 15 to specify the position in the document data and execute the attribute range command. This operation can be performed by a simple operation such as double-clicking at an arbitrary position included in the character string of the desired attribute in the document data without designating the start position and the end position. Alternatively, the cursor may be moved to a desired position in the document to position it, and then the attribute range designation command displayed as a menu may be selected. This attribute range command is acquired by the attribute specification command acquisition processing unit 1.

【0018】ステップS2は、属性指定命令獲得処理部
1で獲得したユーザの指定位置に掛る属性を獲得するス
テップである。本実施例における文書データの構造の一
例を図4に示す。本データ構造では、図4(a)の文書
においては、属性1の開始マークCS1と属性1の終了
マークCE1をデータ中に配置することによって属性1
の範囲が指定されている。本実施例では、属性iの開始
マークをCSi、属性iの終了マークをCEiで示す。図
4(b)は、CS1とCE1とに挟まれた文字列の属性
1がアンダーラインであるとした場合の、図4(a)に
示した文書データの表示例である。この文書データに対
して、例えば図5に示すように、カーソルによって番号
10の位置(以下P10と記す)が指定された場合は、
属性1の文字列に含まれる位置であるから獲得される属
性は「属性1」である。また、指定位置がP19であれ
ば獲得される属性は「属性なし」である。本ステップS
2の処理は指定位置属性獲得処理部2によって実行され
る。
Step S2 is a step of acquiring the attribute acquired by the attribute specification command acquisition processing section 1 and applied to the specified position of the user. FIG. 4 shows an example of the structure of the document data in this embodiment. With this data structure, in the document of FIG. 4A, the start mark CS1 of attribute 1 and the end mark CE1 of attribute 1 are arranged in the data so that the attribute 1
The range is specified. In this embodiment, the start mark of the attribute i is indicated by CSi and the end mark of the attribute i is indicated by CEi. FIG. 4B is a display example of the document data shown in FIG. 4A when the attribute 1 of the character string sandwiched between CS1 and CE1 is underlined. When the position of the number 10 (hereinafter referred to as P10) is designated by the cursor to this document data as shown in FIG. 5, for example,
The attribute acquired from the position included in the character string of attribute 1 is “attribute 1”. If the designated position is P19, the attribute acquired is "no attribute". This step S
The processing of No. 2 is executed by the designated position attribute acquisition processing unit 2.

【0019】ステップS3は、ステップS2によって獲
得された属性情報より指定すべき範囲の開始と終了の区
切り位置条件を決定する処理である。図6に示すように
獲得された属性情報が「属性1」のときは指定範囲の開
始区切り位置条件は「CS1」、終了区切り位置条件は
「CE1」となる。すなわち、指定された位置における
なんらかの属性が与えられている場合にはその開始位置
符号と終了位置符号とを区切り条件とする。また、指定
位置の属性情報が「属性なし」の場合は開始区切り位置
条件は「任意の属性の終了位置(CE)、または文
末」、終了区切り位置条件としては「任意の属性の開始
位置(CS)、または文頭」であることが決定される。
このステップS3は範囲区切り位置条件決定処理部4に
よって実行される。
Step S3 is a process of determining the delimiter position condition for the start and end of the range to be specified based on the attribute information acquired in step S2. As shown in FIG. 6, when the acquired attribute information is “attribute 1”, the start delimiter position condition of the designated range is “CS1” and the end delimiter position condition is “CE1”. That is, when any attribute at the designated position is given, the start position code and the end position code are set as the delimiter condition. If the attribute information of the specified position is “no attribute”, the start delimiter position condition is “end position (CE) of any attribute or end of sentence”, and the end delimiter position condition is “start position of any attribute (CS ), Or the beginning of the sentence ”.
This step S3 is executed by the range division position condition determination processing unit 4.

【0020】ステップS4は、ステップS3で決定され
た条件にしたがって指定する範囲を決定するステップで
ある。ステップS1によって指定された指定位置を基準
に、前方向に開始区切り位置条件を満たすデータを検索
して開始区切り位置を決定する。また、指定位置から後
方に終了区切り位置条件を満たすデータを検索して終了
区切り位置を決定する。例えば、図5において指定位置
がP10の場合は、属性が「属性1」なので開始区切り
位置条件は「CS1」である。したがって、指定位置P
10から前方向にデータ列を検索して行くと「CS1」
はP7で見つかり、開始区切り位置はP7となる。同様
に指定位置P10から後方へ終了位置条件である「CE
1」を検索し終了区切り位置P14を得る。また、図5
において指定開始位置をP18にした場合、属性は「属
性なし」である。この際には、図6に示すとおり、前方
向へ検索して開始区切り位置条件「任意のCEまたは文
頭」を満たすのは「CE1」であるので開始区切り位置
はP13になり、後ろ方向へ検索し終了区切り位置条件
「任意のCSまたは文末」を満たすのは「文末」のP2
1になる。ステップS4の処理は属性範囲決定処理部5
によって実行される。
Step S4 is a step of determining the specified range according to the condition determined in step S3. Based on the designated position designated in step S1, data that satisfies the start delimiter position condition is searched in the forward direction to determine the start delimiter position. Further, the end delimiter position is determined by searching for data that satisfies the end delimiter position backward from the designated position. For example, when the designated position is P10 in FIG. 5, since the attribute is “attribute 1,” the start delimiter position condition is “CS1”. Therefore, the designated position P
When searching for a data string from 10 forward, "CS1"
Is found at P7, and the start delimiter position is P7. Similarly, from the designated position P10 to the rear, the end position condition "CE
“1” is retrieved to obtain the end delimiter position P14. Also, FIG.
When the designated start position in P is set to P18, the attribute is “no attribute”. At this time, as shown in FIG. 6, it is “CE1” that searches in the forward direction and satisfies the start delimiter position condition “arbitrary CE or beginning of sentence”, so the start delimiter position becomes P13 and the backward search is performed. The end delimiter position condition "any CS or end of sentence" satisfies P2 of "end of sentence"
Becomes 1. The process of step S4 is performed by the attribute range determination processing unit 5
Performed by

【0021】ステップS5は、ステップS4によって決
定された範囲をCRT表示装置11に表示するステップ
である。図7(a)は、図5において指定位置をP10
で指定した場合であり、図7(b)は、P18で指定し
た場合の表示結果を示す図である。反転している部分が
範囲指定されたことを表している。
In step S5, the range determined in step S4 is displayed on the CRT display device 11. In FIG. 7A, the designated position in FIG.
7B is a diagram showing a display result in the case of designation in P18. The highlighted part indicates that the range has been specified.

【0022】以上のように、表示されている文書データ
からアンダーラインや文字種等をオペレータが見極めて
その開始位置や終了位置を指定しなくとも、所望の属性
の文字列を指定すれば、指定位置における属性の文字列
を、指定位置を含んで指定することができる。
As described above, even if the operator finds out the underline and the character type from the displayed document data and does not specify the start position and the end position, if the character string having the desired attribute is specified, the specified position can be specified. The character string of the attribute in can be specified including the specified position.

【0023】なお、図3におけるステップS2〜ステッ
プS4の処理は、まず属性を獲得してその後に獲得した
属性の範囲を検索するものとしているが、指定された位
置の前方向及び後方向に属性の範囲を示す符号CS,C
Eを検索し、指定された範囲を含む、CS(CE)とC
E(CS)、または文頭とCS、またはCEと文末とで
挟まれた文字列を指定文字列と見なす処理も可能であ
る。 [第2実施例 本実施例も第1実施例と同様、図1及び図2の構成を有
する文書処理装置似関する。
In the processing of steps S2 to S4 in FIG. 3, the attribute is first acquired, and then the range of the acquired attribute is searched. However, the attribute is moved forward and backward at the designated position. Codes CS and C indicating the range of
Search E and include the specified range, CS (CE) and C
It is also possible to perform a process in which a character string sandwiched between E (CS), the beginning of a sentence and CS, or CE and the end of a sentence is regarded as a designated character string. [Second Embodiment] Similar to the first embodiment, the second embodiment is similar to the document processing apparatus having the configurations of FIGS. 1 and 2.

【0024】第1実施例のステップS2の結果、指定位
置に複数の属性が掛っている場合がある。図8(a)
は、位置P10を指定したとき指定位置に属性が複数あ
る場合の一例を示した図である。この例では位置P10
はCS1とCE1とで挟まれた文字列(属性1)に含ま
れると共に、CS2とCE2とで挟まれた文字列(属性
2)にも含まれる。図7(b)は、図7(a)を表示し
た例である。属性1は圏点付きの文字列を、属性2はア
ンダーライン付きの文字列を示している。このような場
合、範囲指定する領域を一意には決められない。本実施
例では、範囲指定のために必要な詳細情報を獲得し、指
定する範囲を一意に決定する処理を設ける。
As a result of step S2 of the first embodiment, there are cases where a plurality of attributes are applied to the designated position. Figure 8 (a)
FIG. 6 is a diagram showing an example of a case where a plurality of attributes are present at the designated position when the position P10 is designated. In this example, the position P10
Is included in the character string sandwiched between CS1 and CE1 (attribute 1), and also included in the character string sandwiched between CS2 and CE2 (attribute 2). FIG. 7B is an example in which FIG. 7A is displayed. Attribute 1 indicates a character string with emphasis marks and attribute 2 indicates an underlined character string. In such a case, the area for specifying the range cannot be uniquely determined. In the present embodiment, a process of acquiring detailed information necessary for specifying the range and uniquely determining the specified range is provided.

【0025】図9は本実施例のフローチャートを示す図
である。ステップS1〜S5は第1実施例と共通である
ので説明を省略する。
FIG. 9 is a diagram showing a flow chart of this embodiment. Since steps S1 to S5 are the same as those in the first embodiment, description thereof will be omitted.

【0026】ステップS21は、ステップS1によって
入力されたユーザの範囲指定命令の操作を解釈し詳細情
報を獲得するステップである。ステップS21は属性範
囲詳細情報獲得処理部3によって実行される。
Step S21 is a step of interpreting the user's operation of the range designation command input in step S1 and acquiring detailed information. Step S21 is executed by the attribute range detailed information acquisition processing section 3.

【0027】図10は、ステップS1でユーザが行う範
囲指定命令の操作と、そのとき指定される属性範囲の詳
細情報の関係の一例を示す。例えば、図10(a)で
は、ユーザの属性範囲指定命令がダブルクリックの場合
は、詳細情報として「属性の積」を獲得し、またトリプ
ルクリックのときには、詳細情報「属性の和」を獲得す
る。詳細情報が「属性の積」である場合には、区切り位
置として指定位置における属性を全て有する文字列の開
始位置と終了位置とが与えられ、「属性の和」である場
合には、区切り位置として指定位置における属性を少な
くとも1つ有する、指定位置を含んだ文字列の開始位置
と終了位置とが与えられる。
FIG. 10 shows an example of the relationship between the operation of the range designation command performed by the user in step S1 and the detailed information of the attribute range designated at that time. For example, in FIG. 10A, when the user's attribute range designation command is a double click, "detailed product" is acquired as detailed information, and when the user is triple clicked, detailed information "sum of attributes" is acquired. . When the detailed information is "product of attributes", the start position and end position of a character string having all the attributes at the specified position are given as the delimiter position, and when it is "sum of attributes", the delimiter position As, the start position and the end position of the character string including the specified position, which has at least one attribute at the specified position, are given.

【0028】なお、その他の範囲指定命令の操作とし
て、図10(b)のように複数キーの組合せ操作によ
り、詳細属性を一意に解釈し獲得することができる。こ
の例では、「コントロール」キーと下向きの矢印「↓」
キーを同時に押下することによって詳細情報「属性の
積」を、「コントロール」キーと上向きの矢印「↑」キ
ーを同時に押下することによって詳細情報「属性の和」
を獲得する例である。いずれにしても、簡単な操作から
属性範囲詳細情報を獲得する。
As another range designation command operation, a detailed attribute can be uniquely interpreted and acquired by a combination operation of a plurality of keys as shown in FIG. In this example, the "Control" key and the down arrow "↓"
Press the keys at the same time to display detailed information "product of attributes", and press the "Control" key and the upward arrow "↑" key at the same time to display detailed information "sum of attributes".
Is an example of acquiring. In any case, the detailed attribute range information is acquired from a simple operation.

【0029】以下は実施例1と同様の処理である。The following is the same processing as in the first embodiment.

【0030】ステップS3では、ステップS21で獲得
した属性範囲詳細情報に従って、区切り位置条件を決定
する。図11は属性範囲詳細情報と区切り位置条件の関
係の一例を示した図である。すなわち、詳細情報が「属
性の積」の場合には、開始区切り位置条件は、指定位置
に係る属性の開始位置(CS)のうち、最も指定位置に
近いものであり、終了区切り位置条件は、指定位置に係
る属性の終了位置(CE)のうち、最も指定位置に近い
ものである。また、詳細情報が「属性の和」である場合
には、開始区切り位置条件は、指定位置に係る全ての属
性の開始位置(CS)のうち、最も指定位置から遠いも
のであり、終了区切り位置条件は、指定位置に係る全て
の属性の終了位置(CE)のうち、最も指定位置から遠
いものである。
In step S3, the break position condition is determined according to the detailed attribute range information acquired in step S21. FIG. 11 is a diagram showing an example of the relationship between the detailed attribute range information and the break position condition. That is, when the detailed information is “product of attributes”, the start delimiter position condition is the closest to the designated position among the attribute start positions (CS) related to the designated position, and the end delimiter position condition is Among the end positions (CE) of the attribute related to the designated position, the end position is closest to the designated position. When the detailed information is “sum of attributes”, the start delimiter position condition is the farthest from the specified position among the start positions (CS) of all attributes related to the specified position, and the end delimiter position. The condition is the farthest from the specified position among the end positions (CE) of all the attributes related to the specified position.

【0031】ステップS6で表示される本実施例の結果
を図12に示す。図12(a)は、図8において指定位
置P10で、「ダブルクリック」で「属性の積」をユー
ザが命令した場合であり、図12(b)は、「トリプル
クリック」で「属性の和」を命令した場合それぞれの属
性範囲指定結果である。
The result of this embodiment displayed in step S6 is shown in FIG. FIG. 12A shows a case where the user instructs "product of attributes" by "double click" at the designated position P10 in FIG. 8, and FIG. 12B shows "sum of attributes" by "triple click". Is the result of specifying each attribute range.

【0032】このように複数の属性を有する文字列が文
書中に存在している場合であっても、所望の位置を指定
することで、その位置の属性に従って簡単に文字列を指
定することができる。 [第3実施例]第2実施例では、簡単な操作より属性範
囲詳細情報を獲得する例であったが、本実施例は複雑な
詳細情報を得るためにユーザに問い合わせる処理を設け
た例である。
Even when a character string having a plurality of attributes is present in the document, by specifying a desired position, the character string can be easily specified according to the attribute of the position. it can. [Third Embodiment] In the second embodiment, the attribute range detailed information is acquired by a simple operation. However, the present embodiment is an example in which a process for inquiring a user to obtain complicated detailed information is provided. is there.

【0033】図13は本実施例のフローチャートを示す
図である。第2実施例の図3と同じステップは説明を省
略した。ステップS22は、ステップS2によって獲得
した指定位置の属性情報に従ってユーザに問い合わせを
行い、詳細情報を獲得するステップである。このステッ
プは第2実施例と異なり、ユーザからより詳しい情報を
得るものである。
FIG. 13 is a diagram showing a flow chart of this embodiment. The description of the same steps as those in FIG. 3 of the second embodiment is omitted. Step S22 is a step of inquiring the user according to the attribute information of the designated position acquired in step S2 and acquiring detailed information. This step is different from the second embodiment in that more detailed information is obtained from the user.

【0034】図14は、図8(a)の位置P10で属性
範囲指定を命令された時、ステップS22において詳細
情報をユーザに問い合わせる際の表示画面を示した図で
ある。ボタン「属性の積」,「属性の和」がパネル14
1として表示され、オペレータがそれらを指示すること
で指定される。また、指定位置の属性情報を元に個々の
属性を詳細情報として指定することも可能である。例え
ば、指定位置P10における属性情報よりアンダーライ
ンと圏点がその位置に掛っていることがわかる。そのた
め、それらの属性が掛っている範囲を指定するための
「アンダーライン」「圏点」のボタンが問い合わせのパ
ネル141に用意されている。ステップS22の処理は
属性範囲詳細情報獲得処理部3によって実行される。
FIG. 14 is a diagram showing a display screen when the user is inquired about the detailed information in step S22 when the attribute range designation is instructed at the position P10 in FIG. 8A. Buttons "product of attributes" and "sum of attributes" are on panel 14
It is displayed as 1 and designated by the operator instructing them. It is also possible to specify each attribute as detailed information based on the attribute information of the specified position. For example, it can be seen from the attribute information at the designated position P10 that the underline and the emphasis mark lie at that position. Therefore, the inquiry panel 141 is provided with buttons for "underline" and "emphasis point" for designating the range to which those attributes are applied. The processing in step S22 is executed by the attribute range detailed information acquisition processing section 3.

【0035】ステップS22で獲得した詳細情報に従っ
て、ステップでS3において区切り位置条件が決定され
る。図6に示した通り、詳細情報に「圏点」が指定され
ると、開始区切り位置条件は「圏点のCS(CS
2)」、終了区切り位置条件は「圏点のCE(CE
2)」となる。ステップS4でこれらの条件を満たす属
性範囲が決定される。
In accordance with the detailed information obtained in step S22, the break position condition is determined in step S3. As shown in FIG. 6, when “weight point” is specified in the detailed information, the start break position condition is “CS of weight point (CS
2) ”, and the end delimiter position condition is“ CE of the emphasis point (CE
2) ”. In step S4, the attribute range that satisfies these conditions is determined.

【0036】ステップS5で出力される本実施の表示結
果を図15に示す。ステップS22で範囲指定詳細情報
として「圏点」を指定すると、圏点属性が掛っている部
分のみが範囲指定され、「アンダーライン」を指定する
とアンダーラン属性の部分が範囲指定される。なお、
「属性の積」、「属性の和」が指定された場合は、それ
ぞれ図12(a),(b)野用に表示される。
The display result of this embodiment output in step S5 is shown in FIG. If "weight point" is designated as the range designation detailed information in step S22, only the portion having the weight point attribute is designated, and if "underline" is designated, the portion having the underrun attribute is designated. In addition,
When "product of attributes" and "sum of attributes" are designated, they are displayed for the fields of FIGS. 12 (a) and 12 (b), respectively.

【0037】以上のように、文書データの所望の位置を
指定することで、その位置における属性応じて文字列を
指定することができ、所望の属性を有する文字列の指定
を簡単に行うことができる。
As described above, by designating the desired position of the document data, the character string can be designated according to the attribute at that position, and the character string having the desired attribute can be easily designated. it can.

【0038】[0038]

【発明の効果】以上説明したように、本発明に係る文書
処理装置は、文書中の属性の掛り具合によって範囲指定
する操作が非常に簡単になった。また、ユーザは属性の
範囲を自分で探索する必要がないので以下のような効果
もある。
As described above, in the document processing apparatus according to the present invention, the operation for designating the range depending on how the attributes in the document are applied becomes very simple. Further, since the user does not need to search the range of attributes by himself, the following effects can be obtained.

【0039】(1)複数ページにまたがる属性を範囲指
定する際、ページめくりなどの作業が不要になり作業の
効率が向上される (2)細かい属性の区切り位置を見極める必要がないの
で、ユーザの視覚的疲労が軽減される。
(1) When the range of attributes spanning a plurality of pages is specified, work such as page turning is not required and work efficiency is improved. (2) Since it is not necessary to determine the delimiter position of fine attributes, the user Visual fatigue is reduced.

【0040】[0040]

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

【図1】本発明の一実施例にかかわる属性範囲指定装置
の処理構成例を示す図である。
FIG. 1 is a diagram showing a processing configuration example of an attribute range designation device according to an exemplary embodiment of the present invention.

【図2】本発明の一実施例にかかわる属性範囲指定装置
を含む文書作成装置の構成例を示すブロック図である。
FIG. 2 is a block diagram showing a configuration example of a document creation device including an attribute range designation device according to an exemplary embodiment of the present invention.

【図3】実施例1の処理手順を示すフローチャートであ
る。
FIG. 3 is a flowchart showing a processing procedure of the first embodiment.

【図4】属性を含む文書データの一例を示す図である。FIG. 4 is a diagram showing an example of document data including attributes.

【図5】図5に示す文書データに位置情報を記した図で
ある。
5 is a diagram in which position information is added to the document data shown in FIG.

【図6】属性情報と区切り位置条件の関係の一例を示す
図である。
FIG. 6 is a diagram showing an example of a relationship between attribute information and break position conditions.

【図7】属性範囲指定を行った表示結果の一例を示す図
である。
FIG. 7 is a diagram showing an example of a display result in which an attribute range is designated.

【図8】同位置に複数の属性を含む文書データの一例を
示す図である。
FIG. 8 is a diagram showing an example of document data including a plurality of attributes at the same position.

【図9】実施例2の処理手順を示すフローチャートであ
る。
FIG. 9 is a flowchart illustrating a processing procedure of the second embodiment.

【図10】操作と属性範囲詳細情報の関係の一例を示す
図である。
FIG. 10 is a diagram showing an example of a relationship between an operation and detailed attribute range information.

【図11】属性範囲詳細情報と区切り位置条件の関係の
一例を示す図である。
FIG. 11 is a diagram showing an example of a relationship between detailed attribute range information and a break position condition.

【図12】属性範囲指定を行った表示結果の一例を示す
図である。
FIG. 12 is a diagram showing an example of a display result in which an attribute range is designated.

【図13】実施例3の処理手順を示すフローチャートで
ある。
FIG. 13 is a flowchart illustrating a processing procedure of the third embodiment.

【図14】ユーザに属性範囲詳細情報を問い合わせるパ
ネルの一例を示す図である。
FIG. 14 is a diagram illustrating an example of a panel for inquiring a user of detailed attribute range information.

【図15】属性範囲指定を行った表示結果の一例を示す
図である。
FIG. 15 is a diagram showing an example of a display result in which an attribute range is designated.

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

1 属性範囲指定命令獲得処理部 2 指定位置属性獲得処理部 3 属性範囲詳細情報獲得処理部 4 範囲区切り位置条件決定処理部 5 属性範囲決定処理部 6 属性範囲表示処理部 11 CRT 12 ビデオRAM 13 BMU 14 キーボード 15 ポインティングデバイス 16 CPU 17 ROM 18 作業用のRAM 19 ハードディスク 20 フロッピィディスク 21 ネットワークインターフェース 22 I/Oバス 1 Attribute range designation command acquisition processing unit 2 Specified position attribute acquisition processing unit 3 Attribute range detailed information acquisition processing unit 4 Range division position condition determination processing unit 5 Attribute range determination processing unit 6 Attribute range display processing unit 11 CRT 12 Video RAM 13 BMU 14 keyboard 15 pointing device 16 CPU 17 ROM 18 working RAM 19 hard disk 20 floppy disk 21 network interface 22 I / O bus

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 所望の文字列に所望の属性を付与した文
書データを処理する文書処理装置であって、 文書データ中の所望の位置を指定する指定手段と、 該指定手段により指定された位置を含み、該位置におけ
る属性を有する文字列を指定範囲として決定する範囲決
定手段と、を備えることを特徴とする文書処理装置。
1. A document processing device for processing document data in which a desired attribute is added to a desired character string, comprising: specifying means for specifying a desired position in document data; and a position specified by the specifying means. And a range determining unit that determines a character string having an attribute at the position as a specified range.
【請求項2】 前記範囲決定手段は、前記指定手段によ
り指定された位置における属性を獲得する属性獲得手段
と、該属性獲得手段により獲得した属性に基づいて、該
属性の開始位置の条件と終了位置の条件とを獲得する条
件獲得手段と、該条件獲得手段により獲得された条件に
合致する位置を、前記指定手段により指定された位置を
基にして検索する検索手段とを有し、該検索手段により
検索された位置に囲まれる範囲を指定範囲として決定す
ることを特徴とする請求項1に記載の文書処理装置。
2. The range deciding means obtains the attribute at the position designated by the designating means, and the attribute start position condition and end based on the attribute obtained by the attribute obtaining means. And a search unit for searching for a position matching the condition acquired by the condition acquisition unit, based on the position specified by the specifying unit. The document processing apparatus according to claim 1, wherein a range surrounded by the positions searched by the means is determined as a designated range.
【請求項3】 前記属性獲得手段によって獲得された属
性の詳細を指定する詳細指定手段を更に備え、前記指定
手段により指定された位置において複数の属性がある場
合に、前記属性の詳細に従って指定範囲を決定するため
の属性を決めることを特徴とする請求項1または2に記
載の文書処理装置。
3. A detail specification unit for specifying details of the attribute acquired by the attribute acquisition unit, further comprising a specified range according to the details of the attribute when there are a plurality of attributes at the position specified by the specification unit. The document processing apparatus according to claim 1, wherein an attribute for determining is determined.
【請求項4】 前記範囲決定手段により決定された指定
範囲を識別できるように文書データを表示する表示手段
を更に備えることを特徴とする請求項1ないし3いずれ
かに記載の文書処理装置。
4. The document processing apparatus according to claim 1, further comprising display means for displaying document data so that the designated range determined by the range determining means can be identified.
【請求項5】 前記範囲決定手段は、前記指定手段によ
り指定された位置を基にして、該位置における属性の開
始位置を与える符号と、終了位置を与える符号とを検索
する検索手段を有し、該検索手段により検索される開始
位置と終了位置とにより挟まれる範囲を指定範囲として
決定することを特徴とする請求項1に記載の文書処理装
置。
5. The range determining means has a searching means for searching for a code giving a start position of an attribute at the position and a code giving an end position based on the position designated by the designating means. The document processing apparatus according to claim 1, wherein a range sandwiched between the start position and the end position searched by the search means is determined as a designated range.
【請求項6】 所望の文字列に所望の属性を付与した文
書データを処理する文書処理方法であって、 文書データ中の所望の位置を指定する指定工程と、 該指定工程により指定された位置を含み、該位置におけ
る属性を有する文字列を指定範囲として決定する範囲決
定工程と、を備えることを特徴とする文書処理方法。
6. A document processing method for processing document data in which a desired attribute is added to a desired character string, comprising: a designating step of designating a desired position in the document data; and a location designated by the designating step. And a range determining step of determining a character string having an attribute at the position as a designated range.
【請求項7】 前記範囲決定工程は、前記指定工程によ
り指定された位置における属性を獲得する属性獲得工程
と、該属性獲得工程により獲得した属性に基づいて、該
属性の開始位置の条件と終了位置の条件とを獲得する条
件獲得工程と、該条件獲得工程により獲得された条件に
合致する位置を、前記指定工程により指定された位置を
基にして検索する検索工程とを有し、該検索工程により
検索された位置に囲まれる範囲を指定範囲として決定す
ることを特徴とする請求項6に記載の文書処理方法。
7. The range determination step includes an attribute acquisition step of acquiring an attribute at a position designated by the designation step, and a start position condition and an end of the attribute based on the attribute obtained by the attribute acquisition step. The method further includes a condition acquisition step of acquiring a position condition and a search step of searching for a position matching the condition acquired by the condition acquisition step based on the position specified by the specification step. 7. The document processing method according to claim 6, wherein a range surrounded by the positions searched by the process is determined as a designated range.
【請求項8】 前記属性獲得工程によって獲得された属
性の詳細を指定する詳細指定工程を更に備え、前記指定
工程により指定された位置において複数の属性がある場
合に、前記属性の詳細に従って指定範囲を決定するため
の属性を決めることを特徴とする請求項6または7に記
載の文書処理方法。
8. The method further comprises a detail specifying step of specifying details of the attribute acquired by the attribute acquiring step, and when there are a plurality of attributes at a position specified by the specifying step, a specified range according to the details of the attribute. The document processing method according to claim 6 or 7, wherein an attribute for determining is determined.
【請求項9】 前記範囲決定工程により決定された指定
範囲を識別できるように文書データを表示する表示工程
を更に備えることを特徴とする請求項6ないし8いずれ
かに記載の文書処理方法。
9. The document processing method according to claim 6, further comprising a display step of displaying document data so that the designated range determined by the range determining step can be identified.
【請求項10】 前記範囲決定工程は、前記指定工程に
より指定された位置を基にして、該位置における属性の
開始位置を与える符号と、終了位置を与える符号とを検
索する検索工程を有し、該検索工程により検索される開
始位置と終了位置とにより挟まれる範囲を指定範囲とし
て決定することを特徴とする請求項6に記載の文書処理
方法。
10. The range determining step includes a search step of searching for a code that gives a start position of an attribute at the position and a code that gives an end position based on the position specified by the specifying process. 7. The document processing method according to claim 6, wherein a range sandwiched between the start position and the end position searched by the search step is determined as the designated range.
JP6279591A 1994-11-14 1994-11-14 Device and method for document processing Withdrawn JPH08137867A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

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

Family

ID=17613126

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH08137867A (en)

Similar Documents

Publication Publication Date Title
JPS61229168A (en) Generation of graph using computer
JPH07129349A (en) Method for displaying file list, method and processor for starting program
JPH0863346A (en) Program editing method and device therefor
JP2667352B2 (en) Data retrieval apparatus and method
JPH08137867A (en) Device and method for document processing
JP3064323B2 (en) Character string replacement device with attributes
JPH086955A (en) Device and method for retrieving information
JP3493869B2 (en) Image editing device
JP3083552B2 (en) Hierarchy editing processor
JP2823188B2 (en) Information processing apparatus and method
JP2771095B2 (en) Character processing method
JPH1097532A (en) Information processor and method
JPH05216574A (en) Information processor
JP2753015B2 (en) Attribute input method
JP3000625B2 (en) External character editing device
JPH09204457A (en) Display graphic editing system
JPH04322324A (en) Data processor
JPH11265403A (en) Hyperlink drawing system
JP2671978B2 (en) Document processing device
JPH0877167A (en) Document processor
JPH0816555A (en) Device and method for processing document
JPH08137855A (en) Document processor
JPH07219948A (en) Document processor
JPH06231119A (en) Character processor
JPH07200563A (en) Data processing method/device

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