JP2823188B2 - Information processing apparatus and method - Google Patents
Information processing apparatus and methodInfo
- Publication number
- JP2823188B2 JP2823188B2 JP8092473A JP9247396A JP2823188B2 JP 2823188 B2 JP2823188 B2 JP 2823188B2 JP 8092473 A JP8092473 A JP 8092473A JP 9247396 A JP9247396 A JP 9247396A JP 2823188 B2 JP2823188 B2 JP 2823188B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- replacement
- search
- display
- command
- 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.)
- Expired - Fee Related
Links
Landscapes
- Document Processing Apparatus (AREA)
Description
【発明の詳細な説明】
【0001】
【発明の属する技術分野】本発明は情報処理装置及び方
法に関し、詳しくは、情報を検索する機能を有する情報
処理装置及び方法に関する。
【0002】
【従来の技術】従来の情報処理では、文書中の指定した
文字列あるいは、指定した範囲内の該当する文字列を、
別の文字列へ置換することは可能であった。
【0003】しかし、文字列にかかった見出し、アンダ
ーライン、均等割付け等のコマンド(以下コマンド)を
置換、あるいは、文字列をコマンドへ置換することはで
きなかった。
【0004】
【発明が解決しようとする課題】しかしながら、従来の
ような置換処理では、検索した情報を単に置き換えるこ
としかできなかった。
【0005】例えば、文字の大きさを大きくしたある強
調文字列を見出し文字列に変えたい場合や、文書中のす
べての一本線のアンダーラインを二重線に変えたい場
合、まず現在のマコンドを解除し、その後、変えたいコ
マンドを設定するという処理を、文字列の数分繰り返さ
なければならず、非常に面倒で時間がかかっていた。ま
た、文書中に同じコマンドをたくさん使用する場合、例
えば、ある文字列にはすべて圏点をつけて文書を作成し
たいという場合、その文字列ごとに毎回、圏点をつける
処理を繰り返さなければならず、これも非常に面倒な作
業であった。
【0006】
【課題を解決するための手段】本発明の情報処理装置
は、文字情報を表示手段に表示する情報処理装置であっ
て、文字情報と属性情報とを記憶する記憶手段と、検索
する属性情報を入力する検索情報入力手段と、置換する
属性情報を入力する置換情報入力手段と、検索情報表示
領域を前記表示手段に表示し、該領域に前記入力された
検索属性情報を表示する検索情報表示手段と、置換情報
表示領域を前記表示手段に表示し、該領域に前記置換情
報入力手段により置換属性情報が入力された場合は置換
属性情報を表示し、置換属性情報が入力されなかった場
合は置換属性情報を表示しない置換情報表示手段と、前
記記憶手段に記憶された情報の中から、前記検索情報表
示領域に表示された検索属性情報の開始を示す情報と終
了を示す情報とを検索する検索手段と、前記検索手段で
検索された開始を示す情報と前記終了を示す情報とで挟
まれた文字情報を、他の文字情報と異なる表示形態で前
記表示手段に表示する検索表示手段と、前記置換情報表
示領域に置換属性情報が表示されている場合、前記検索
手段で検索された開始を示す情報と終了を示す情報とを
前記置換属性情報の開始を示す情報と終了を示す情報と
にそれぞれ置き換え、前記置換情報表示領域に置換属性
情報が表示されていない場合、前記検索手段で検索され
た開始を示す情報と終了を示す情報とを前記記憶手段か
ら削除する置換削除手段と、前記置換削除手段で置換或
いは削除された結果に基づき、前記記憶手段に記憶され
ている文字情報を前記表示手段に表示する表示制御手段
とから構成される。
【0007】また、本発明の情報処理方法は、記憶手段
に記憶された文字情報を、前記記憶手段に記憶された属
性情報に基づき表示手段に表示する情報処理方法であっ
て、入力手段から入力された検索属性情報を、前記表示
手段に表示されている検索情報表示領域に表示し、前記
入力手段から置換属性情報が入力された場合、前記表示
手段に表示されている置換情報表示領域に表示し、前記
記憶手段に記憶された属性情報の中から、前記検索情報
表示領域に表示された検索属性情報の開始を示す情報と
終了を示す情報とを検索し、前記検索した開始を示す情
報と終了を示す情報とで挟まれた文字情報を、他の文字
情報と異なる表示形態で前記表示手段に表示し、前記置
換情報表示領域に置換属性情報が表示されている場合、
前記検索手段で検索された開始を示す情報と終了を示す
情報とを前記置換属性情報の開始を示す情報と終了を示
す情報とにそれぞれ置き換え、前記置換情報表示領域に
置換属性情報が表示されていない場合、前記検索手段で
検索された開始を示す情報と終了を示す情報とを前記記
憶手段から削除し、置換或いは削除された結果に基づ
き、前記記憶手段に記憶されている文字情報を前記表示
手段に表示する。
【0008】
【発明の実施の形態】以下、図面を参照しながら、本発
明の実施例を説明する。
【0009】図1は本発明の実施例を実現するシステム
の構成図である。
【0010】1はCPU、2は図14のフローチャート
に従った制御プログラム及び文書編集中に各種編集情報
を格納するメモリ、3は文書データを蓄積するための磁
気ディスク、4は文書編集の際、データや指示を入力す
るためのキーボード(以下KB)である。5は各種作業
画面(以下ウインドウ)を表示する表示装置であり、6
はマウス等のオペレータがカーソルを動かすためのポイ
ンティング・デバイス(以下PD)である。
【0011】図2は文書編集中にメモリに格納されてい
る各種情報を示す。編集ヘッダ情報部には編集中の文書
内の文字データ、図形データ等各種データのメモリ上の
位置や入力カーソルの位置等編集に必要ないろいろな情
報が格納されている。
【0012】書式情報部には、文書の用紙情報、版面情
報等の体裁に関する情報が格納されている。文字データ
部には、文書内の文字データ、コマンドデータが格納さ
れており、書式情報部とこの文字データ部は磁気ディス
クに文書ファイルとして保存される。文字データはJI
SC6226コードで1文字2バイトの大きさで格納さ
れる。コマンドデータは、その中に文字データの入るも
の、文字データの入らないもの、2バイトコード1つだ
けのもの等があるが、コマンド置換の対象となるのは、
その中に文字データの入るものに限られるため、ここで
はそれらのコマンドについてのみ記述する。コマンドの
かかった文字列は、そのコマンドの始まる場所に開始を
示す2バイトコードが存在し、続いて文字列の文字コー
ド、そして、終る場所に終了を示す2バイトのコードが
存在している。
【0013】図3のような文書があった時、メモリ上の
文字データ部は図4のようになっている。図4におい
て、カッコで囲まれたものはコマンドコード、それ以外
は文字コードである。図3の文書中の“データの保存・
管理”は、見出しコマンドにより文字が大きくなってお
り、さらにアンダーラインコマンドにより下線が引かれ
ている。図4のC1は、見出しの開始を示す2バイトコ
ード、C2,C3,C4はアンダーラインの開始および
アンダーラインの線種・線幅を示している。
【0014】見出しコマンドとアンダーラインコマンド
のかかっている“データの保存・管理”の9文字のJI
SC6226コードがC5から続き、その後にアンダー
ラインコマンドの終了を示すコードC6、見出しの終了
を示すコードC7が格納されている。何もコマンドのな
くなった“作成した文書は”から続く文字コードは、見
出しの終了を示すコードの次のC8から格納される。
【0015】この例のように、コマンドを含んだ文字列
をコマンド開始・終了ではさむことにより、2つ以上の
コマンドを重ねることも可能である。
【0016】以下にコマンド置換の手順を説明する。
【0017】コマンド置換処理の開始がオペレータより
指示されると画面上には、すべてのコマンド名が表示さ
れている図5に示すようなウインドウ(以下、コマンド
ウインドウ)、置換されるコマンドを入力する欄(以下
検索コマンド欄)と置換したいコマンドを入力する欄
(以下置換コマンド欄)とがあるウインドウ、そしてオ
ペレータが処理を指示するための置換・検索・一括置換
の3つの図6に示す如きメニューが表示される。
【0018】<コマンドからコマンドへの置換の場合>
まず、コマンドウインドウより、検索コマンド欄に置換
されるコマンドを置換コマンド欄には置換したいコマン
ドをPDまたはKBで選択し、入力する。そして図6の
“検索”メニューを指示する。すると、検索コマンド欄
に入力したコマンドを文書中からさがし出し、その部分
を反転表示する。続いて図6の“置換”メニューを指示
すると、文書中の反転表示された部分の検索コマンド欄
に入力したコマンドが、置換コマンド欄に入力したコマ
ンドに置換される。例をあげて説明する。
【0019】図3の文書において、置換コマンド欄にア
ンダーラインを入力、置換コマンド欄に線種・面種をあ
らかじめ指定した(指定の方法については省略)囲み罫
コマンドをコマンドウインドウ(図5)より入力する。
そして“検索”メニューを指示する。すると図7のよう
に、アンダーラインの引かれた“データの保存・管理”
の部分が反転表示される。続いて“置換”メニューを指
示すると図8のように、アンダーラインが囲み罫に置換
される。
【0020】この時、メモリ上においては、“検索”メ
ニューの指示により文字データの中から、アンダーライ
ンの開始・終了コマンドをさがし出し、“置換”メニュ
ーの指示によりその開始・終了コマンドを削除し、その
代りに、囲み罫開始コマンド、線種・面種情報と終了コ
マンドを挿入する、という処理をする。この流れを図9
に示す。
【0021】文書中のコマンドのすべて、あるいは、あ
る範囲内にあるコマンドすべてをあるコマンドへ置換し
たい時、例えば図3の文書中のアンダーラインコマンド
すべてを囲み罫コマンドに置換したい時は以下のように
する。
【0022】検索コマンド欄と置換コマンド欄と、上記
の例と同様に入力した後、置換したい範囲をPDあるい
はKBにより、図10のように反転表示させる。そして
図6の“一括置換”メニューを指示する。すると図11
のように、“データの保存・管理”と“保管”に引かれ
ていたアンダーラインを囲み罫に置換できる。この時の
メモリ上の処理は、文字データ部からアンダーライン開
始・終了をさがし出し、図9のように削除・挿入をす
る、という処理を繰返し行なっている。
【0023】<コマンド置換用文字からコマンドへの置
換>この場合は、検索コマンド欄にはコマンド置換用文
字として使用する2文字を入力し、置換コマンド欄に
は、コマンドからコマンドへの置換同様、置換したいコ
マンドを入力する。以下の指示はコマンドからコマンド
への置換同様、検索メニューを指示した後、置換メニュ
ーを指示する。
【0024】図12は“!”と“$”をコマンド置換用
文字として使用した例である。“データの保存・管理”
にオーバーラインをつけたい時は、検索コマンド欄には
“!”と“$”の2文字を、置換コマンド欄にはオーバ
ーラインコマンドを入力する。そして、検索メニューに
続いて置換メニューを指示することにより、図13のよ
うに“!”と“$”がなくなり、“データの保存・管
理”の部分にオーバーラインがひかれる。コマンドから
コマンドへの置換の時と同じ操作で、一括置換処理も可
能である。
【0025】メモリ上では、この場合まず“!”と
“$”ではさまれた文字列をさがし出す。そして、
“!”を削除し代りにオーバーラインコマンドの開始、
線種、線幅コードを挿入、“$”を削除し代りにオーバ
ーラインコマンドの終了コードを挿入する。一括置換の
時は、この処理の繰返しとなる。
【0026】<コマンドからコマンド置換用文字への置
換>この場合は、上記のコマンド置換用文字からコマン
ドへの置換の手順とまったく逆である。つまり、検索コ
マンド欄に置換されるコマンドを、置換コマンド欄にコ
マンド置換用文字の2文字を入力し、検索メニューに続
いて置換メニューを指定する。反転表示された部分の置
換されるコマンドはなくなり、代りにコマンドの始まり
の位置に置換コマンド欄に入力したコマンド置換用文字
の1文字目が、終りの位置に2文字目が挿入される。い
ままでの置換と同様、一括置換も可能である。
【0027】通常の置換の手順を図14のフローチャー
トで示す。まず、ステップS1で図5のコマンドウイン
ドウからPDまたは、KBを使い置換させるコマンドあ
るいはコマンド置換用文字を、検索コマンド欄に指定す
る。次に、ステップS2で同じく、置換したいコマンド
あるいはコマンド置換用文字を置換コマンド欄に指定す
る。ステップS3で、図7の検索メニューをPDまたは
KBで指示する。ステップS4で、検索コマンド欄に指
定されたものがコマンドの時はステップS5へ、コマン
ド置換用文字の時はS6へ移る。ステップS5ではメモ
リ上の文字データ部の中から、検索コマンド欄に指定さ
れたコマンドの開始コードおよび終了コードをさがし出
す。上記のコマンドからコマンドへの置換の例では、ア
ンダーラインの開始コード、終了コードをさがしてい
る。ステップS6では、メモリ上の文字データ部の中か
ら、検索コマンド欄に指定された1文字目と2文字目の
文字コードで、他の文字コードがはさまれている部分を
さがす。上記のコマンド置換用文字からコマンドへの置
換の例では“!”と“$”ではさんでいる部分を文字デ
ータ部の中からさがしている。ステップS7で、メモリ
上でさがし出した文字列を表示画面上で反転表示させ
る。ステップS8で図7の置換メニューをPDまたはK
Bで指示する。ステップS9で、検索コマンド欄に指定
されたものがコマンドの時は、ステップS10へ、コマ
ンド置換用文字の時は、ステップS11へ移る。ステッ
プS10では、ステップS5でさがし出されたコマンド
開始・終了コードをメモリ上の文字コード部から削除す
る。ステップS11では、S6でさがし出したコマンド
置換用文字を同じく削除する。
【0028】ステップS12で、ステップS2で指定さ
れた置換コマンド欄がコマンドならステップS13へ、
コマンド置換用文字ならステップS14へ移る。ステッ
プS13では、置換コマンド欄に指定されたコマンドの
開始コードを、S10で削除したコマンドの開始コード
または、S11で削除したコマンド置換用文字の1文字
目の位置へ挿入する。同様に終了コードを、S10で削
除した終了コードまたは、S11で削除した2文字目の
位置へ挿入する。コマンドかららコマンドへの置換の例
では、囲み罫コマンドの開始コード、終了コードを挿入
している。
【0029】ステップS14では、コマンド置換用文字
を、S13と同じように削除された位置にそれぞれ挿入
する。コマンド置換用文字からコマンドへの置換の例で
は、オーバーラインコマンドの開始・終了コードが
“!”,“$”コードが削除された部分にそれぞれ挿入
されている。
【0030】以上の手順で通常のコマンド置換は行なわ
れる。
【0031】(他の実施形態)
検索コマンド欄に、コマンドを入力し、置換コマンド欄
に何も入力せずに置換処理を行なうことにより、そのコ
マンドを削除することができる。置換コマンド欄に何も
入力しないことにより、処理が図14のS11までで終
わることになり、結果的にコマンドが削除できる。
【0032】また、上記処理を一括置換で行なえば、文
書中のすべてあるいは、ある範囲内すべての、指定した
コマンドをなくすことも可能である。
【0033】
【発明の効果】以上説明のように本発明によれば、同一
の構成により情報の置換と情報の削除という異なる処理
を実現でき、特に、属性情報により挟まれた文字情報を
他の文字情報と異なる表示形態で表示するので、属性情
報が付加される文字情報を容易に確認でき、情報を削除
する場合は、入力操作を一部省略することができるの
で、操作性が向上する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus and method, and more particularly, to an information processing apparatus and method having a function of retrieving information. 2. Description of the Related Art In conventional information processing, a specified character string in a document or a corresponding character string within a specified range is
It was possible to substitute another string. However, it has not been possible to replace a command (hereinafter, a command) such as a heading, an underline, or an evenly allocated character string, or replace a character string with a command. [0004] However, in the conventional replacement processing, the searched information can only be replaced. For example, when it is desired to change a certain emphasized character string whose character size is enlarged to a heading character string, or to change all underlines of a single line to double lines in a document, first, the current macon is changed. The process of releasing and then setting the command to be changed had to be repeated for the number of character strings, which was very troublesome and time-consuming. Also, if you use the same command many times in a document, for example, if you want to create a document with emphasis marks on all character strings, you must repeat the process of emphasis marks for each character string. This was also a very cumbersome task. [0006] An information processing apparatus according to the present invention is an information processing apparatus for displaying character information on a display means, comprising a storage means for storing character information and attribute information, and a search means. Search information input means for inputting attribute information, replacement information input means for inputting attribute information to be replaced, and a search for displaying a search information display area on the display means and displaying the input search attribute information in the area The information display means and the replacement information display area are displayed on the display means, and when the replacement attribute information is input to the area by the replacement information input means, the replacement attribute information is displayed, and the replacement attribute information is not input. In the case, replacement information display means that does not display replacement attribute information, and information indicating the start and end of the search attribute information displayed in the search information display area are displayed from among the information stored in the storage means. Search means for searching for information, and character information sandwiched between information indicating the start and information indicating the end searched for by the search means are displayed on the display means in a display form different from other character information. Search and display means, and when replacement attribute information is displayed in the replacement information display area, information indicating the start and information indicating the end searched by the search means, and information indicating the start of the replacement attribute information. Replacing the information with the information indicating the end, and when the replacement attribute information is not displayed in the replacement information display area, deleting the information indicating the start and the information indicating the end searched by the search means from the storage means. The display device includes a deletion unit and a display control unit that displays the character information stored in the storage unit on the display unit based on a result of the replacement or deletion by the replacement deletion unit. Further, an information processing method according to the present invention is an information processing method for displaying character information stored in a storage means on a display means based on attribute information stored in the storage means. The search attribute information displayed is displayed in a search information display area displayed on the display means, and when replacement attribute information is input from the input means, is displayed in a replacement information display area displayed on the display means. Then, from the attribute information stored in the storage unit, information indicating the start and end of the search attribute information displayed in the search information display area is searched, and the information indicating the searched start and Character information sandwiched between information indicating the end, is displayed on the display means in a display form different from other character information, if the replacement attribute information is displayed in the replacement information display area,
The information indicating the start and the information indicating the end searched by the search means are replaced with the information indicating the start and the information indicating the end of the replacement attribute information, and the replacement attribute information is displayed in the replacement information display area. If not, the information indicating the start and the information indicating the end searched by the search means are deleted from the storage means, and the character information stored in the storage means is displayed based on the result of replacement or deletion. Display on the means. Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram of a system for realizing an embodiment of the present invention. 1 is a CPU, 2 is a memory for storing a control program according to the flow chart of FIG. 14 and various editing information during document editing, 3 is a magnetic disk for storing document data, and 4 is a It is a keyboard (hereinafter, KB) for inputting data and instructions. A display device 5 displays various work screens (hereinafter, windows).
Is a pointing device (hereinafter referred to as PD) for an operator such as a mouse to move a cursor. FIG. 2 shows various information stored in the memory during document editing. The editing header information section stores various information necessary for editing, such as the position of various data such as character data and graphic data in the document being edited on the memory and the position of the input cursor. The format information section stores information on the appearance of the document, such as paper information and plate information. The character data section stores character data and command data in the document. The format information section and the character data section are stored as a document file on a magnetic disk. Character data is JI
It is stored in the size of 2 bytes per character in SC6226 code. Command data includes character data, character data-free data, and one-byte code only, among which command replacement is performed.
Only those commands that contain character data are described here. A character string with a command has a two-byte code indicating the start at the start of the command, a character code of the character string, and a two-byte code indicating the end at the end. When there is a document as shown in FIG. 3, the character data portion on the memory is as shown in FIG. In FIG. 4, those enclosed in parentheses are command codes, and the others are character codes. "Data storage /
In "management", the characters are enlarged by the heading command and are underlined by the underline command. In FIG. 4, C1 is a two-byte code indicating the start of the heading, and C2, C3, and C4 are underlining. The line type and line width of the start and underline are shown: JI of 9 characters of "data storage / management" to which a heading command and an underline command are applied
An SC6226 code continues from C5, and thereafter, a code C6 indicating the end of the underline command and a code C7 indicating the end of the headline are stored. The character code following "the created document is" without any command is stored from C8 following the code indicating the end of the heading. As in this example, two or more commands can be overlapped by inserting a character string including a command at the start and end of the command. The procedure of command replacement will be described below. When the start of the command replacement process is instructed by the operator, a window (hereinafter referred to as a command window) as shown in FIG. 5 on which all command names are displayed is input on the screen. A window having a column (hereinafter referred to as a retrieval command column) and a column (hereinafter referred to as a substitution command column) for inputting a command to be replaced, and three menus as shown in FIG. Is displayed. <In the case of replacing a command with a command>
First, from the command window, a command to be replaced is selected in the search command field by PD or KB in the replacement command field and input. Then, the "search" menu in FIG. 6 is designated. Then, the command input in the search command column is searched out from the document, and the portion is highlighted. Subsequently, when the “replace” menu in FIG. 6 is designated, the command input to the search command column in the highlighted portion of the document is replaced with the command input to the replacement command column. This will be described with an example. In the document shown in FIG. 3, an underline is input in the replacement command column, and a line type and a surface type are specified in advance in the replacement command column (the specification method is omitted). input.
Then, a "search" menu is designated. Then, as shown in Fig. 7, "Data storage and management" is underlined.
Is highlighted. Subsequently, when the "replace" menu is designated, the underline is replaced with the surrounding rule as shown in FIG. At this time, in the memory, the start / end command of the underline is searched out from the character data by the instruction of the "search" menu, and the start / end command is deleted by the instruction of the "replace" menu. Instead, a process of inserting an enclosing rule start command, line type / surface type information, and an end command is performed. This flow is shown in FIG.
Shown in When it is desired to replace all commands in a document or all commands within a certain range with a certain command, for example, to replace all underlined commands in the document in FIG. To After inputting the search command field and the replacement command field in the same manner as in the above example, the range to be replaced is highlighted by PD or KB as shown in FIG. Then, the "batch replacement" menu in FIG. 6 is designated. Then Figure 11
, The underline drawn in “data storage / management” and “storage” can be replaced with an enclosing rule. In the process on the memory at this time, the process of finding the start / end of the underline from the character data portion and deleting / inserting it as shown in FIG. 9 is repeated. <Replacement of Command Replacement Character with Command> In this case, two characters to be used as a command replacement character are input in the search command column, and the same as the command-to-command replacement in the replacement command column. Enter the command you want to replace. The following instructions indicate the search menu and then the replacement menu as in the case of the command-to-command replacement. FIG. 12 shows an example in which "!" And "@" are used as command replacement characters. “Data storage and management”
When it is desired to add an overline to the search command field, two characters "!" And "@" are input in the search command field, and an overline command is input in the replacement command field. By instructing the replacement menu following the search menu, "!" And "@" disappear as shown in FIG. 13, and the "data storage / management" portion is overlined. Batch replacement processing is also possible with the same operation as when replacing a command with a command. In this case, a character string sandwiched between "!" And "$" is first found on the memory. And
Remove the “!” And start the overline command instead,
Insert the line type and line width code, delete "@" and insert the end code of the overline command instead. At the time of batch replacement, this process is repeated. <Replacement of Command with Command Replacement Character> In this case, the procedure of replacing the command replacement character with a command is completely opposite. In other words, a command to be replaced is entered in the search command field, and two characters of a command replacement character are entered in the replacement command field, and the replacement menu is specified following the search menu. There is no command to be replaced in the highlighted portion. Instead, the first character of the command replacement character entered in the replacement command column is inserted at the beginning of the command, and the second character is inserted at the end. As with the conventional replacement, batch replacement is also possible. The normal replacement procedure is shown in the flowchart of FIG. First, in step S1, a command to be replaced using PD or KB or a character for command replacement is designated in the search window in the command window of FIG. Next, in step S2, a command to be replaced or a command replacement character is specified in the replacement command column. In step S3, the search menu in FIG. 7 is designated by PD or KB. In step S4, if the command specified in the search command column is a command, the process proceeds to step S5, and if the command is a command replacement character, the process proceeds to S6. In step S5, the start code and the end code of the command specified in the search command column are searched out from the character data portion on the memory. In the above example of the replacement of a command with a command, an underlined start code and end code are searched for. In step S6, the character data portion on the memory is searched for the portion where the other character code is inserted between the first and second character codes specified in the search command column. In the above example of the replacement of the character for command replacement with a command, a portion sandwiched between "!" And "@" is found from the character data portion. In step S7, the character string found on the memory is highlighted on the display screen. In step S8, the replacement menu of FIG.
Instruct B. In step S9, if the command specified in the search command column is a command, the process proceeds to step S10. If the command is a command replacement character, the process proceeds to step S11. In step S10, the command start / end codes found in step S5 are deleted from the character code portion on the memory. In step S11, the command replacement character found in step S6 is also deleted. In step S12, if the replacement command field specified in step S2 is a command, the flow advances to step S13.
If it is a command replacement character, the process proceeds to step S14. In step S13, the start code of the command specified in the replacement command column is inserted into the start code of the command deleted in S10 or the first character position of the command replacement character deleted in S11. Similarly, an end code is inserted at the end code deleted at S10 or at the position of the second character deleted at S11. In the example of replacement from command to command, the start code and end code of the encircling rule command are inserted. In step S14, command replacement characters are inserted into the deleted positions, respectively, as in step S13. In the example of the replacement of the command replacement character with the command, the start and end codes of the overline command are inserted in the portions where the “!” And “$” codes have been deleted. Normal command replacement is performed in the above procedure. (Other Embodiments) A command can be deleted by inputting a command in the search command field and performing replacement processing without inputting anything in the replacement command field. By not entering anything in the replacement command column, the process ends at S11 in FIG. 14, and as a result, the command can be deleted. If the above processing is performed by batch replacement, it is possible to eliminate all the specified commands in the document or all within a certain range. As described above, according to the present invention, different processes such as information replacement and information deletion can be realized by the same configuration. In particular, character information sandwiched between attribute information can be replaced by other information. Since the character information is displayed in a display mode different from that of the character information, the character information to which the attribute information is added can be easily confirmed. When deleting the information, the input operation can be partially omitted, so that the operability is improved.
【図面の簡単な説明】
【図1】本発明の一実施形態を実現するシステムのブロ
ック図
【図2】本実施形態における文書編集情報を示す図
【図3】本実施形態における表示画面における文書の表
示例を示す図
【図4】本実施形態におけるメモリ上の状態を示す概念
図
【図5】本実施形態における表示の例を示す図
【図6】本実施形態における表示の例を示す図
【図7】本実施形態における表示画面における表示例を
示す図
【図8】本実施形態における表示画面における表示例を
示す図
【図9】本実施形態におけるメモリ上の状態を示す概念
図
【図10】本実施形態における表示画面における表示例
を示す図
【図11】本実施形態における表示画面における表示例
を示す図
【図12】本実施形態における表示画面における表示例
を示す図
【図13】本実施形態における表示画面における表示例
を示す図
【図14】本実施形態における処理動作を示すフローチ
ャート
【符号の説明】
1 CPU
2 メモリ
3 磁気ディスク
4 キーボード
5 表示装置
6 ポインティングデバイスBRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a system for realizing an embodiment of the present invention. FIG. 2 is a diagram showing document editing information in the embodiment. FIG. 3 is a document on a display screen in the embodiment. FIG. 4 is a conceptual diagram showing a state in a memory according to the embodiment. FIG. 5 is a diagram showing an example of display in the embodiment. FIG. 6 is a diagram showing an example of display in the embodiment. FIG. 7 is a diagram showing a display example on a display screen in the embodiment; FIG. 8 is a diagram showing a display example on a display screen in the embodiment; FIG. 9 is a conceptual diagram showing a state on a memory in the embodiment; 10 is a diagram showing a display example on a display screen in the present embodiment. FIG. 11 is a diagram showing a display example on a display screen in the present embodiment. FIG. 12 is a diagram showing a display example on a display screen in the present embodiment. FIG. 14 is a view showing a display example on a display screen in the embodiment. FIG. 14 is a flowchart showing a processing operation in the embodiment. [Description of References] 1 CPU 2 Memory 3 Magnetic disk 4 Keyboard 5 Display device 6 Pointing device
フロントページの続き (56)参考文献 特開 昭62−243064(JP,A) 特開 昭61−77981(JP,A) 翔泳社編著,「キーブックス14 らく らくワープロ操作法“新・一太郎" 編」,初版,技術評論社 (昭和61年11 月10日 第3刷発行) P.60〜63 富士ゼロックス(株),「FX−UX ユーザーズマニュアル4」,第1版 (昭和62年8月 第1刷発行) P.2 −4〜2−5 富士ゼロックス(株),「JStar リファレンスガイド」 (1984.11), P.5−24〜5−34,及びP.5−51〜 5−60Continuation of front page (56) References JP-A-62-243064 (JP, A) JP-A-61-77981 (JP, A) Edited by Shoyosha, “Key Books 14 Easy Easy word processor operation method "Shin Ichitaro" Ed. ”, First edition, Technical Review (11 November 1986) The third print is issued on March 10) 60-63 Fuji Xerox Co., Ltd., “FX-UX User's Manual 4 ", 1st edition (The first print was issued in August 1987) 2 -4 to 2-5 Fuji Xerox Co., Ltd., “JStar Reference Guide ”(1984.11), P. 5-24 to 5-34; 5-51 ~ 5-60
Claims (1)
て、 文字情報と属性情報とを記憶する記憶手段と、 検索する属性情報を入力する検索情報入力手段と、 置換する属性情報を入力する置換情報入力手段と、 検索情報表示領域を前記表示手段に表示し、該領域に前
記入力された検索属性情報を表示する検索情報表示手段
と、 置換情報表示領域を前記表示手段に表示し、該領域に前
記置換情報入力手段により置換属性情報が入力された場
合は置換属性情報を表示し、置換属性情報が入力されな
かった場合は置換属性情報を表示しない置換情報表示手
段と、 前記記憶手段に記憶された情報の中から、前記検索情報
表示領域に表示された検索属性情報の開始を示す情報と
終了を示す情報とを検索する検索手段と、 前記検索手段で検索された開始を示す情報と前記終了を
示す情報とで挟まれた文字情報を、他の文字情報と異な
る表示形態で前記表示手段に表示する検索表示手段と、 前記置換情報表示領域に置換属性情報が表示されている
場合、前記検索手段で検索された開始を示す情報と終了
を示す情報とを前記置換属性情報の開始を示す情報と終
了を示す情報とにそれぞれ置き換え、前記置換情報表示
領域に置換属性情報が表示されていない場合、前記検索
手段で検索された開始を示す情報と終了を示す情報とを
前記記憶手段から削除する置換削除手段と、 前記置換削除手段で置換或いは削除された結果に基づ
き、前記記憶手段に記憶されている文字情報を前記表示
手段に表示する表示制御手段とを有することを特徴とす
る情報処理装置。 2.前記検索表示手段は、前記挟まれた文字情報を反転
表示することを特徴とする請求項1に記載の情報処理装
置。 3.前記検索情報入力手段と前記置換情報入力手段は、
前記表示手段に属性情報の一覧を表示し、表示されてい
る属性情報から指示された属性情報を入力することを特
徴とする請求項1又は2に記載の情報処理装置。 4.前記検索情報表示領域と前記置換情報表示領域と前
記属性情報の一覧とが、前記表示手段の同一の表示画面
上に表示されることを特徴とする請求項3に記載の情報
処理装置。 5.記憶手段に記憶された文字情報を、前記記憶手段に
記憶された属性情報に基づき表示手段に表示する情報処
理方法であって、 入力手段から入力された検索属性情報を、前記表示手段
に表示されている検索情報表示領域に表示し、 前記入力手段から置換属性情報が入力された場合、前記
表示手段に表示されている置換情報表示領域に表示し、 前記記憶手段に記憶された属性情報の中から、前記検索
情報表示領域に表示された検索属性情報の開始を示す情
報と終了を示す情報とを検索し、 前記検索した開始を示す情報と終了を示す情報とで挟ま
れた文字情報を、他の文字情報と異なる表示形態で前記
表示手段に表示し、 前記置換情報表示領域に置換属性情報が表示されている
場合、前記検索手段で検索された開始を示す情報と終了
を示す情報とを前記置換属性情報の開始を示す情報と終
了を示す情報とにそれぞれ置き換え、前記置換情報表示
領域に置換属性情報が表示されていない場合、前記検索
手段で検索された開始を示す情報と終了を示す情報とを
前記記憶手段から削除し、 置換或いは削除された結果に基づき、前記記憶手段に記
憶されている文字情報を前記表示手段に表示することを
特徴とする情報処理方法。 6.前記検索した開始を示す情報と終了を示す情報とで
挟まれた文字情報を反転表示することを特徴とする請求
項5に記載の情報処理方法。(57) [Claims] An information processing apparatus for displaying character information on display means, comprising: storage means for storing character information and attribute information; search information input means for inputting attribute information to be searched; and replacement information for inputting attribute information to be replaced. Input means, a search information display area for displaying a search information display area on the display means, and the input search attribute information displayed in the area; and a replacement information display area for displaying the replacement information display area on the display means. A replacement information display unit that displays replacement attribute information when replacement attribute information is input by the replacement information input unit, and does not display replacement attribute information when replacement attribute information is not input; Searching means for searching the information indicating the start and the information indicating the end of the search attribute information displayed in the search information display area from the obtained information, Search information display means for displaying, on the display means, character information interposed between the information indicating the information and the information indicating the end, in a display form different from other character information; and replacement attribute information is displayed in the replacement information display area. In this case, the information indicating the start and the information indicating the end searched by the search means are replaced with the information indicating the start and the information indicating the end of the replacement attribute information, and the replacement attribute information is displayed in the replacement information display area. When not displayed, a replacement deletion unit that deletes the information indicating the start and the information indicating the end searched by the search unit from the storage unit, based on a result of replacement or deletion by the replacement deletion unit, An information processing apparatus comprising: display control means for displaying character information stored in storage means on the display means. 2. 2. The information processing apparatus according to claim 1, wherein the search display unit displays the sandwiched character information in reverse video. 3. The search information input means and the replacement information input means,
The information processing apparatus according to claim 1, wherein a list of attribute information is displayed on the display unit, and the attribute information specified from the displayed attribute information is input. 4. The information processing apparatus according to claim 3, wherein the search information display area, the replacement information display area, and the list of the attribute information are displayed on the same display screen of the display unit. 5. An information processing method for displaying character information stored in a storage unit on a display unit based on attribute information stored in the storage unit, wherein search attribute information input from an input unit is displayed on the display unit. When the replacement attribute information is input from the input means, the replacement information is displayed in the replacement information display area displayed on the display means, and is displayed in the attribute information stored in the storage means. From, the information indicating the start and the information indicating the end of the search attribute information displayed in the search information display area is searched for, character information sandwiched between the information indicating the searched start and the information indicating the end, When the replacement attribute information is displayed on the display means in a display form different from other character information, and the replacement attribute information is displayed in the replacement information display area, the information indicating the start and the information indicating the end searched by the search means Is replaced with information indicating the start of the replacement attribute information and information indicating the end, respectively. If the replacement attribute information is not displayed in the replacement information display area, the information indicating the start and the end searched by the search unit are replaced. And displaying the character information stored in the storage unit on the display unit based on the result of the replacement or deletion. 6. 6. The information processing method according to claim 5, wherein character information sandwiched between the information indicating the searched start and the information indicating the end is highlighted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8092473A JP2823188B2 (en) | 1996-04-15 | 1996-04-15 | Information processing apparatus and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8092473A JP2823188B2 (en) | 1996-04-15 | 1996-04-15 | Information processing apparatus and method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62289164A Division JPH01130260A (en) | 1987-11-16 | 1987-11-16 | Character processor |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9185047A Division JPH1097532A (en) | 1997-07-10 | 1997-07-10 | Information processor and method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH08287066A JPH08287066A (en) | 1996-11-01 |
JP2823188B2 true JP2823188B2 (en) | 1998-11-11 |
Family
ID=14055294
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP8092473A Expired - Fee Related JP2823188B2 (en) | 1996-04-15 | 1996-04-15 | Information processing apparatus and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2823188B2 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0812663B2 (en) * | 1984-09-25 | 1996-02-07 | キヤノン株式会社 | Image processing system and method thereof |
JPS62243064A (en) * | 1986-04-16 | 1987-10-23 | Minolta Camera Co Ltd | Document processor |
-
1996
- 1996-04-15 JP JP8092473A patent/JP2823188B2/en not_active Expired - Fee Related
Non-Patent Citations (3)
Title |
---|
富士ゼロックス(株),「FX−UXユーザーズマニュアル4」,第1版 (昭和62年8月 第1刷発行) P.2−4〜2−5 |
富士ゼロックス(株),「JStarリファレンスガイド」 (1984.11),P.5−24〜5−34,及びP.5−51〜5−60 |
翔泳社編著,「キーブックス14 らくらくワープロ操作法"新・一太郎"編」,初版,技術評論社 (昭和61年11月10日 第3刷発行) P.60〜63 |
Also Published As
Publication number | Publication date |
---|---|
JPH08287066A (en) | 1996-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0650129B1 (en) | Method, system, and computer-readable medium for automatic formatting of user selected text | |
US6718518B1 (en) | Non-disruptive search facility | |
JPH077408B2 (en) | Method and system for changing emphasis characteristics | |
JPH08320882A (en) | Document processor and document retrieval device | |
US5867700A (en) | Information processing apparatus and method for displaying a first window displaying a list of names of attribute information and a second window displaying search and substitution command columns | |
JP2823188B2 (en) | Information processing apparatus and method | |
JP2771095B2 (en) | Character processing method | |
JPH1097532A (en) | Information processor and method | |
JP3157917B2 (en) | Data processing method and data processing device | |
JP3444620B2 (en) | Filing system equipment | |
JP2000227914A (en) | Document edition device | |
JP3353309B2 (en) | File selection method | |
JP4109439B2 (en) | Processing device, recording medium, and program | |
JP2004164301A (en) | Information processor, information processing method and program for making computer execute the method | |
JP3160926B2 (en) | Document creation device | |
JPH0756902A (en) | Document editing device | |
JP2922372B2 (en) | Text processing device in the area | |
JP2870869B2 (en) | Document processing apparatus and method | |
JPH0816555A (en) | Device and method for processing document | |
JPH06337862A (en) | Document processor and document processing method using the processor | |
JPS6231470A (en) | Linking system for documentation device | |
JPH03142657A (en) | Document processor | |
JPH05274307A (en) | Device and method for preparing document | |
JPH06231266A (en) | Graph preparing device | |
JPH0528145A (en) | Retrieval, deletion and blank processing method in document processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |