[go: up one dir, main page]

JPH05165820A - Information processing equipment - Google Patents

Information processing equipment

Info

Publication number
JPH05165820A
JPH05165820A JP3330545A JP33054591A JPH05165820A JP H05165820 A JPH05165820 A JP H05165820A JP 3330545 A JP3330545 A JP 3330545A JP 33054591 A JP33054591 A JP 33054591A JP H05165820 A JPH05165820 A JP H05165820A
Authority
JP
Japan
Prior art keywords
character
underline
search
replacement
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3330545A
Other languages
Japanese (ja)
Inventor
Kazunori Takamori
和則 高森
Yoshiko Asano
由子 浅野
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 JP3330545A priority Critical patent/JPH05165820A/en
Publication of JPH05165820A publication Critical patent/JPH05165820A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Document Processing Apparatus (AREA)

Abstract

(57)【要約】 【構成】 情報処理装置は、文書中の検索対象文字を指
定置換文字に置換する置換手段を有し、上記検索対象文
字および指定検索文字が、下線の有無を設定する下線情
報を有した文字データからなっている。そして、上記置
換手段は、上記検索対象文字の先頭に位置する文字デー
タの下線情報と同一の下線情報を有する指定置換文字に
よって置換するもの。 【効果】 置換手段が検索対象文字の下線情報と同一の
下線情報を有した指定置換文字によって置換するため、
置換前の文書と置換後の文書とが同一位置に下線を有す
ることになる。よって、検索置換後の文書作成者による
下線付加作業が不要になり、高い訂正効率を得ることが
できる。
(57) [Summary] [Structure] The information processing apparatus has a replacing means for replacing a search target character in a document with a designated replacement character, and the search target character and the designated search character are underlined to set presence / absence of underlining. It consists of character data containing information. The replacing means replaces the specified character with underline information that is the same as the underline information of the character data located at the beginning of the search target character. [Effect] Since the replacing means replaces the specified character with the same underline information as the underline information of the search target character,
The document before replacement and the document after replacement have an underline at the same position. Therefore, the work of adding the underline by the document creator after the search and replacement becomes unnecessary, and high correction efficiency can be obtained.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文書の作成時に使用さ
れる文書処理装置等の情報処理装置に関するものであ
り、詳細には、文字データ記憶領域に格納された文字デ
ータを下線処理と共に検索置換することができる情報処
理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing device such as a document processing device used when a document is created, and more specifically, it searches character data stored in a character data storage area together with underline processing. The present invention relates to a replaceable information processing device.

【0002】[0002]

【従来の技術】一般に、文書は、鉛筆等の筆記用具と紙
とを用いて作成されるが、文書作成時の訂正効率および
編集効率の高さから、近年においては、コンピュータの
演算、記憶、および制御による表示部への画面表示が可
能な文書処理装置等の情報処理装置を用いて作成される
場合が多くなっている。
2. Description of the Related Art Generally, a document is created by using a writing instrument such as a pencil and paper, but in recent years, due to its high correction efficiency and editing efficiency, the calculation, storage, In many cases, it is created using an information processing device such as a document processing device capable of displaying a screen on a display unit under control.

【0003】上記の情報処理装置は、通常、文書を表示
する表示部を有したCRT(Cathode-Ray Tube) 等の表
示ユニットと、文字データの入力に使用されるキーボー
ドと、表示部の表示状態の制御や文字データの記憶を行
う制御部とを有しており、キーボードからキー入力され
た文字データを制御部の文字データ記憶領域に記憶さ
せ、この文字データ記憶領域に格納された文字データ群
の一部を表示部に画面表示させることによって、文書を
作成するようになっている。
The above information processing apparatus usually has a display unit such as a CRT (Cathode-Ray Tube) having a display unit for displaying a document, a keyboard used for inputting character data, and a display state of the display unit. And a character data group stored in the character data storage area of the character data storage area of the control unit. A document is created by displaying a part of the screen on the display unit.

【0004】ところで、文書の作成時には、作成した文
書中の特定の文字列を他の文字列に訂正したい場合があ
る。そこで、従来の情報処理装置は、特定の文字列を指
定検索文字として入力し、他の文字列を指定置換文字と
して入力することによって、文書中の特定の文字列を検
索しながら他の文字列に置換する検索置換処理が可能に
なっている。即ち、図15に示すように、例えば‘印
刷’から‘ドラフト印刷’に訂正したい場合には、‘印
刷’を指定検索文字とし、‘ドラフト印刷’を指定置換
文字とすることによって、‘印刷’の文字列を‘ドラフ
ト印刷’に置換できるようになっている。
By the way, at the time of creating a document, it is sometimes desired to correct a specific character string in the created document to another character string. Therefore, a conventional information processing device inputs a specific character string as a designated search character and inputs another character string as a designated replacement character, thereby searching for a specific character string in a document while other character strings are searched. It is possible to perform a search and replace process to replace with. That is, as shown in FIG. 15, for example, when it is desired to correct from "print" to "draft print", "print" is set as a designated search character and "draft print" is set as a designated replacement character. It is possible to replace the character string of with "draft print".

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来の情報処理装置では、文字列を形成する各文字の文字
データが、文字の種類を示す文字コードデータと下線や
半角等の属性を示す装飾情報データとからなっているに
も拘わらず(図4参照)、文字列となる文字コードデー
タ群のみを検索置換処理の対象としているため、図5参
照の‘印刷’のように、下線が付加されている場合で
も、置換後の‘ドラフト印刷’に下線が付加されること
がない。これにより、従来の情報処理装置は、検索置換
処理を実施した後に下線を新たに付加する下線付加作業
が必要となっている。
However, in the above-mentioned conventional information processing apparatus, the character data of each character forming the character string is the character code data indicating the character type and the decoration information indicating the attributes such as underline and half-width. Despite being composed of data (see FIG. 4), only the character code data group that is a character string is the target of the search and replace process, and therefore an underline is added as in “ print ” in FIG. Even if it is, the underline is not added to the'draft print 'after replacement. As a result, the conventional information processing apparatus needs an underline addition operation for newly adding an underline after performing the search and replace process.

【0006】また、上記の下線は、文書中の特定の文字
列のなかでも、特に強調したい部分にのみ付加される場
合が多いものである。従って、上記の下線付加作業は、
元の文字列に下線が付加されていたか否かの確認も要す
るため、文書作成者に大きな負担になり、文書作成時の
訂正効率の高さが特徴でもある情報処理装置にとって大
きな問題になっている。
In addition, the underline is often added only to a portion of a specific character string in a document that is particularly desired to be emphasized. Therefore, the above underline addition work is
Since it is necessary to check whether the original character string is underlined or not, it puts a heavy burden on the document creator, and becomes a big problem for the information processing device which is characterized by high correction efficiency at the time of document creation. There is.

【0007】従って、本発明においては、検索置換処理
後に下線付加作業を不要にすることによって、訂正効率
を一層高くすることができる情報処理装置を提供するこ
とを目的としている。
Therefore, an object of the present invention is to provide an information processing apparatus capable of further improving the correction efficiency by eliminating the underline addition work after the search and replace processing.

【0008】[0008]

【課題を解決するための手段】請求項1の発明の情報処
理装置は、上記課題を解決するために、文書中の検索対
象文字を指定置換文字に置換する置換手段を有し、上記
検索対象文字および指定検索文字が、下線の有無を設定
する下線情報を有した文字データからなっている。そし
て、上記置換手段は、上記検索対象文字の先頭に位置す
る文字データの下線情報と同一の下線情報を有する指定
置換文字によって置換することを特徴としている。
In order to solve the above-mentioned problems, the information processing apparatus of the present invention has a replacing means for replacing a search target character in a document with a designated replacement character, and the search target The character and the designated search character are composed of character data having underline information for setting presence / absence of underline. The replacing means replaces with a designated replacement character having the same underline information as the underline information of the character data located at the beginning of the search target character.

【0009】また、請求項2の発明の情報処理装置は、
上記課題を解決するために、文書中の検索対象文字を指
定検索文字によって検索して指定置換文字に置換する置
換手段を有し、上記検索対象文字、指定検索文字、およ
び指定置換文字が、下線の有無を設定する下線情報を有
した文字データからなっている。そして、上記置換手段
は、検索および置換の対象に文字データの下線情報を含
んでいることを特徴としている。
An information processing apparatus according to the invention of claim 2 is
In order to solve the above problems, the document includes a replacement unit that searches for a search target character in a document with a specified search character and replaces the specified replacement character with the search target character, the specified search character, and the specified replacement character being underlined. It is composed of character data having underline information for setting the presence or absence of. The replacement means is characterized in that the underline information of the character data is included in the objects to be searched and replaced.

【0010】[0010]

【作用】請求項1の構成によれば、置換手段が、検索対
象文字の下線情報と同一の下線情報を有した指定置換文
字によって置換するため、置換前の文書と置換後の文書
とが同一位置に下線を有することになる。従って、検索
置換後の文書作成者による下線付加作業が不要になり、
高い訂正効率を得ることができることになる。
According to the structure of claim 1, since the replacing means replaces with the designated replacement character having the same underline information as the underline information of the search target character, the document before replacement and the document after replacement are the same. The position will have an underline. Therefore, the work of adding the underline by the document creator after the search and replacement becomes unnecessary,
High correction efficiency can be obtained.

【0011】また、請求項2の構成によれば、置換手段
が検索および置換の対象に文字データの下線情報を含ん
でおり、下線をも含めた検索対象文字の検索置換を可能
にしているため、検索置換後の文書作成者による下線付
加作業が不要になり、高い訂正効率を得ることができる
ことになる。
Further, according to the second aspect of the present invention, the replacing means includes underline information of character data in the objects to be searched and replaced, and it is possible to search and replace the characters to be searched including underlines. Therefore, the work of adding the underline by the document creator after the search and replacement becomes unnecessary, and high correction efficiency can be obtained.

【0012】[0012]

【実施例】本発明の一実施例を図1ないし図14に基づ
いて説明すれば、以下の通りである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The following will describe one embodiment of the present invention with reference to FIGS.

【0013】本実施例に係る情報処理装置は、図3に示
すように、文字データを出力するLCD(Liquid Cryst
al Display) 1と、このLCD1への文字データの出力
等の情報処理装置の制御を行うCPU(Central Proces
sing Unit)2と、文字データの入力時に使用されるキー
ボード(KEY)3と、CPU2の動作時に使用される
ROM(Read Only Memory) 4およびRAM(Random A
ccess Memory)5と、作成した文書や図形、表を印字可
能なプリンター6とを有している。
As shown in FIG. 3, the information processing apparatus according to the present embodiment is an LCD (Liquid Cryst) that outputs character data.
al Display) 1 and a CPU (Central Process) for controlling the information processing device such as output of character data to the LCD 1.
sing unit) 2, a keyboard (KEY) 3 used when inputting character data, a ROM (Read Only Memory) 4 and a RAM (Random A) used when the CPU 2 operates.
ccess memory) 5 and a printer 6 capable of printing the created documents, figures, and tables.

【0014】上記のRAM5には、キーボード3からキ
ー入力された文字データを格納する文字データ記憶領域
や、訂正前の文字列である指定検索文字の文字データを
格納する検索文字データ記憶領域、訂正後の文字列であ
る指定置換文字の文字データを格納する置換文字データ
記憶領域が形成されており、上記の文字データ記憶領域
に格納された文字データ群は、一部が所定の文字数およ
び行数でLCD1に画面表示されるようになっている。
In the RAM 5, a character data storage area for storing character data keyed in from the keyboard 3, a search character data storage area for storing character data of a designated search character which is a character string before correction, and a correction A replacement character data storage area that stores the character data of the specified replacement character that is the subsequent character string is formed. Part of the character data group stored in the above character data storage area is the specified number of characters and lines. The screen is displayed on the LCD 1.

【0015】上記の文字データは、図4に示すように、
文字の種類を示す文字コードデータA1・B1・C1・
D1と、下線の有無を設定する下線情報を有した2バイ
トからなる装飾情報データA2・B2・C2・D2とか
らなっている。そして、上記の装飾情報データA2・B
2・C2・D2は、下線情報や半角情報、全角情報、書
体情報等の文字の属性を示すようになっており、例えば
2バイトの先頭ビットが‘1’に設定されることによっ
て、文字コードデータA1・B1・C1・D1により画
面表示された文字の下方に下線を付加するようになって
いる。
The above character data is, as shown in FIG.
Character code data A1 ・ B1 ・ C1 ・
D1 and decoration information data A2, B2, C2, D2 consisting of 2 bytes having underline information for setting presence / absence of an underline. Then, the above decoration information data A2 and B
2.C2 and D2 indicate the attributes of characters such as underline information, half-width information, full-width information, and typeface information. For example, by setting the first bit of 2 bytes to "1", the character code Underlines are added below the characters displayed on the screen by the data A1, B1, C1, and D1.

【0016】また、ROM4には、プリンター6やLC
D1等の動作を制御するプログラムの他、置換手段であ
る下線付検索置換ルーチンおよび下線指定検索置換ルー
チンが書き込まれており、下線付検索置換ルーチンは、
文書中の検索対象となる文字列である検索対象文字に下
線が付加されている場合に、文書中の置換した文字列で
ある置換結果文字に下線を付加する検索置換処理を実行
させるようになっている。また、下線指定検索置換ルー
チンは、指定検索文字および指定置換文字に下線の有無
を指定することによって、文書中の文字列の下線を含む
検索置換を行う検索置換処理を実行させるようになって
いる。
The ROM 4 also includes a printer 6 and an LC.
In addition to a program for controlling the operation of D1 and the like, an underlined search / replacement routine and an underlined specified search / replacement routine that are replacement means are written.
When an underline is added to the search target character that is the search target character string in the document, the search and replace process that adds the underline to the replacement result character that is the replaced character string in the document is executed. ing. Further, the underline designation search / replacement routine is configured to execute a search / replace process for performing a search / replace including an underline of a character string in a document by designating the presence or absence of an underline in the designated search character and the designated replacement character. ..

【0017】上記の構成において、下線付検索置換ルー
チンおよび下線指定検索置換ルーチンを実行した場合の
情報処理装置の動作について説明する。
The operation of the information processing apparatus when the underlined search / replacement routine and the underline designation search / replacement routine are executed in the above configuration will be described.

【0018】先ず、図3に示すように、キーボード3か
らのキー入力によって文字データがRAM5の文字デー
タ記憶領域に書き込まれると、文字データ記憶領域の文
字データ群の一部がLCD1によって画面表示されるこ
とになる。そして、文書中の特定の文字列を他の文字列
に訂正する場合には、キーボード3の検索キーへの押圧
によって、図7に示すように、検索文字および置換文字
の入力を要求する文字データ入力画面7が呼び出される
ことになる。
First, as shown in FIG. 3, when character data is written in the character data storage area of the RAM 5 by a key input from the keyboard 3, a part of the character data group in the character data storage area is displayed on the LCD 1 screen. Will be. Then, when a specific character string in the document is corrected to another character string, by pressing the search key of the keyboard 3, as shown in FIG. 7, character data requesting the input of the search character and the replacement character. The input screen 7 will be called.

【0019】この際、例えば文書中の特定の文字列を
‘印刷’とし、他の文字列を‘ドラフト印刷’とする
と、‘印刷’が文字データ入力画面7の検索文字の入力
要求部に入力され、‘ドラフト印刷’が文字データ入力
画面7の置換文字の入力要求部に入力されることにな
る。これにより、RAM5の検索文字データ記憶領域に
は、‘印刷’が指定検索文字として格納されることにな
り、置換文字データ記憶領域には、‘ドラフト印刷’が
指定置換文字として格納されることになる。
At this time, for example, if a specific character string in the document is "print" and another character string is "draft print", "print" is input to the search character input request portion of the character data input screen 7. Then, the'draft print 'is input to the replacement character input request portion of the character data input screen 7. As a result, 'print' is stored as the designated search character in the search character data storage area of the RAM 5, and'draft print 'is stored as the designated replacement character in the replacement character data storage area. Become.

【0020】次いで、下線付検索置換ルーチンが実行さ
れると、図1に示すように、指定検索文字の文字データ
を構成する図4の文字コードデータA1群(指定検索文
字コード)と、文字データ記憶領域中に格納された検索
対象文字の文字データを構成する文字コードデータC1
群(検索対象文字コード)とが突き合わせ処理されるこ
とになる。そして、両文字コードデータA1・C1群が
一致しているか否かが判定され、一致していない場合に
は、NOとして、上記の突き合わせ処理および判定が繰
り返されることになる(S1)。
Next, when the underlined search / replacement routine is executed, as shown in FIG. 1, the character code data A1 group (specified search character code) shown in FIG. Character code data C1 forming the character data of the search target character stored in the storage area
The group (search target character code) is matched. Then, it is determined whether or not the two character code data sets A1 and C1 match each other. If they do not match each other, the result of the determination is NO and the above matching process and determination are repeated (S1).

【0021】S1の実行により、指定検索文字の文字コ
ードデータA1群と検索対象文字の文字コードデータC
1群とが一致していると判定された場合には、YESと
してS2が実行されることになり、一致した文字コード
データC1群からなる検索対象文字の先頭の文字データ
の装飾情報データC2が読み出されることになる。そし
て、装飾情報データC2の下線に対応するビット(以
下、下線ビットと称する)の状態が確認され、検索対象
文字の先頭文字に下線が付加されているか否かが判定さ
れることになる(S2)。
By executing S1, the character code data A1 group of the designated search character and the character code data C of the search target character
If it is determined that the first group matches, S2 is executed as YES, and the decoration information data C2 of the first character data of the search target character consisting of the matched character code data C1 is Will be read. Then, the state of the bit corresponding to the underline of the decoration information data C2 (hereinafter referred to as the underline bit) is confirmed, and it is determined whether or not the underline is added to the first character of the search target character (S2). ).

【0022】S2の実行により、先頭文字に下線が付加
されていないと判定された場合には、NOとしてS4が
実行されることによって、検索対象文字が下線無しの指
定置換文字に置換されることになる。これにより、画面
表示された置換結果文字の文字コードデータD1群およ
び装飾情報データD2群は、文字データ入力画面7にお
いて入力された状態の指定置換文字の文字コードデータ
B1群および装飾情報データB2群に等しいものになっ
ている(S4)。
If it is determined by executing S2 that the underline is not added to the first character, NO is executed in S4, and the search target character is replaced by the designated replacement character without underline. become. As a result, the character code data D1 group and the decoration information data D2 group of the replacement result character displayed on the screen are the character code data B1 group and the decoration information data B2 group of the designated replacement character input in the character data input screen 7. Is equal to (S4).

【0023】一方、S2の実行により、先頭文字に下線
が付加されていると判定された場合には、YESとして
S3が実行されることによって、指定置換文字の全ての
装飾情報データB2の下線ビットが下線を付加する状態
に設定変更された後(S3)、検索対象文字が下線付き
の指定検索文字に置換されることになる。これにより、
画面表示された置換結果文字の文字コードデータD1群
および装飾情報データD2群は、文字データ入力画面7
において入力された状態の指定置換文字の文字コードデ
ータB1群と、下線ビットが下線を付加する状態に設定
された装飾情報データB2群に等しいものになっている
(S4)。
On the other hand, if it is determined by executing S2 that an underline has been added to the first character, then YES is selected and S3 is executed, whereby all the underline bits of the decoration information data B2 of the designated replacement character are added. Is changed to a state of adding an underline (S3), and then the search target character is replaced with the designated search character with an underline. This allows
The character code data D1 group and the decoration information data D2 group of the replacement result characters displayed on the screen are displayed on the character data input screen 7
The character code data B1 group of the designated replacement character input in step S1 and the decoration information data B2 group in which the underline bit is set to add an underline are the same (S4).

【0024】そして、上記の下線付検索置換ルーチンが
繰り返して実行されることによって、例えば図5に示す
ように、下線が付加された‘印刷’と下線が付加されて
いない‘印刷’とが同一の文書中に混在していても、図
6に示すように、下線付きの‘印刷’の位置に下線付き
の‘ドラフト印刷’が置換され、下線無しの‘印刷’の
位置に下線無しの‘ドラフト印刷’が置換されることに
なる。従って、本実施例の情報処理装置は、下線付検索
置換ルーチンによって、検索置換処理後の文書作成者に
よる下線付加作業が不要になり、高い訂正効率を得るこ
とができるようになっている。
By repeatedly executing the above-described underlined search and replace routine, for example, as shown in FIG. 5, ' print ' with underline and'print 'without underline are the same. be mixed in in a document, as shown in FIG. 6, underlined 'draft printing' is replaced by the position of the underlined 'printing', without underline position of without underlining 'print'' Draft printing 'will be replaced. Therefore, the information processing apparatus according to the present embodiment does not need the work of adding the underline by the document creator after the search-and-replace process by the search-and-replace routine with the underline, and can obtain high correction efficiency.

【0025】次に、図7に示すように、‘印刷’が文字
データ入力画面7の検索文字の入力要求部に入力され、
‘ドラフト印刷’が文字データ入力画面7の置換文字の
入力要求部に入力された後、下線指定検索置換ルーチン
が実行された場合について説明する。
Next, as shown in FIG. 7, "print" is input to the search character input request portion of the character data input screen 7,
A case will be described in which the underline designation search / replacement routine is executed after “draft printing” is input to the replacement character input request portion of the character data input screen 7.

【0026】先ず、図2に示すように、指定検索文字の
文字データを構成する図4の文字コードデータA1群
(指定検索文字コード)と、文字データ記憶領域中に格
納された検索対象文字の文字データを構成する文字コー
ドデータC1群(検索対象文字コード)とが突き合わせ
処理されることになる。そして、両文字コードデータA
1・C1群が一致しているか否かが判定され、一致して
いない場合には、NOとして、上記の突き合わせ処理お
よび判定が繰り返されることになる(S10)。
First, as shown in FIG. 2, of the character code data A1 group (designated search character code) of FIG. 4 which constitutes the character data of the designated search character and the search target character stored in the character data storage area. The character code data C1 group (search target character code) forming the character data is matched. And both character code data A
It is determined whether or not the 1 / C1 groups match, and if they do not match, NO is set and the above-described matching process and determination are repeated (S10).

【0027】S10の実行により、指定検索文字の文字
コードデータA1群と検索対象文字の文字コードデータ
C1群とが一致していると判定された場合には、YES
としてS11が実行されることになり、一致した文字コ
ードデータA1・C1群からなる指定検索文字および検
索対象文字の装飾情報データA2・C2群(指定検索装
飾情報・検索対象装飾情報)が読み出されることにな
る。そして、装飾情報データC2群の下線ビットの状態
と、指定検索文字の装飾情報データA2群の下線ビット
の状態とが一致しているか否かが判定されることにな
り、両装飾情報データC2・A2群の下線ビットの状態
が一致していないと判定された場合には、NOとしてS
10から再び実行されることになる(S11)。一方、
S11の実行により、両装飾情報データC2・A2群の
下線ビットの状態が一致していると判定された場合に
は、YESとしてS12が実行されることになり、検索
対象文字が指定置換文字に変換されることになる(S1
2)。
If it is determined by executing S10 that the character code data A1 group of the designated search character and the character code data C1 group of the search target character match, YES
As a result, S11 is executed as a result, and the specified search character consisting of the matched character code data A1 and C1 and the decoration information data A2 and C2 of the search target character (specified search decoration information and search target decoration information) are read. It will be. Then, it is determined whether or not the state of the underline bit of the decoration information data C2 group and the state of the underline bit of the decoration information data A2 group of the designated search character match, and both decoration information data C2. If it is determined that the states of the underline bits of the A2 group do not match, NO is returned to S
It will be executed again from 10 (S11). on the other hand,
If it is determined by executing S11 that the states of the underline bits of both the decoration information data C2 and A2 groups match, S12 is executed as YES, and the search target character becomes the designated replacement character. Will be converted (S1
2).

【0028】これにより、上記の下線付検索置換ルーチ
ンが繰り返して実行されることによって、例えば図5に
示すように、下線が付加された‘印刷’と下線が付加さ
れていない‘印刷’とが同一の文書中に混在している場
合には、図8に示すように、下線無しの‘印刷’の位置
にのみ下線無しの‘ドラフト印刷’が置換されることに
なる。即ち、図7・9・11・13に示すように、下線
付きまたは下線無しの‘印刷’を文字データ入力画面7
の検索文字の入力要求部に入力し、下線付きまたは下線
無し‘ドラフト印刷’を文字データ入力画面7の置換文
字の入力要求部に入力して、下線指定検索置換ルーチン
を実行させることによって、図8・10・12・14に
示すように、下線をも含めた検索対象文字の検索置換が
可能になっている。
As a result, the underlined search / replace routine is repeatedly executed, so that, for example, as shown in FIG. 5, ' print ' with underline and'print 'without underline are added. When mixed in the same document, as shown in FIG. 8, the'draft print 'without underline is replaced only at the position of'print' without underline. That is, as shown in FIGS. 7, 9, 11, and 13, the'print 'with or without underline is displayed on the character data input screen 7.
Input the search character input request part of, the underlined or non-underlined'draft print 'to the replacement character input request part of the character data input screen 7, and execute the underline specified search and replace routine. As shown in 8/10/12/14, the search target character including the underline can be searched and replaced.

【0029】従って、本実施例の情報処理装置は、下線
指定検索置換ルーチンによって、下線をも含めた検索対
象文字の検索置換処理が可能になっているため、検索置
換処理後の文書作成者による下線付加作業が不要にな
り、高い訂正効率を得ることができるようになってい
る。
Therefore, the information processing apparatus according to the present embodiment is capable of performing the search and replace process of the search target character including the underline by the underline designation search and replace routine. It is possible to obtain high correction efficiency without the need for underlining work.

【0030】[0030]

【発明の効果】請求項1の発明の情報処理装置は、以上
のように、文書中の検索対象文字を指定置換文字に置換
する置換手段を有し、上記検索対象文字および指定検索
文字が、下線の有無を設定する下線情報を有した文字デ
ータからなっており、上記置換手段が、上記検索対象文
字の先頭に位置する文字データの下線情報と同一の下線
情報を有する指定置換文字によって置換する構成であ
る。
As described above, the information processing apparatus according to the first aspect of the present invention has the replacing means for replacing the search target character in the document with the designated replacement character, and the search target character and the designated search character are It is composed of character data having underline information for setting presence / absence of underline, and the replacing means replaces with the designated replacement character having the same underline information as the underline information of the character data located at the head of the search target character. It is a composition.

【0031】これにより、置換手段が検索対象文字の下
線情報と同一の下線情報を有した指定置換文字によって
置換するため、置換前の文書と置換後の文書とが同一位
置に下線を有することから、検索置換後の文書作成者に
よる下線付加作業が不要になり、高い訂正効率を得るこ
とができるという効果を奏する。
As a result, the replacing means replaces with the designated replacement character having the same underline information as the underline information of the character to be searched, so that the document before replacement and the document after replacement have underlines at the same position. Thus, there is no need for the document creator to add the underline after the search and replacement, and it is possible to obtain high correction efficiency.

【0032】また、請求項2の発明の情報処理装置は、
以上のように、文書中の検索対象文字を指定検索文字に
よって検索して指定置換文字に置換する置換手段を有
し、上記検索対象文字、指定検索文字、および指定置換
文字が、下線の有無を設定する下線情報を有した文字デ
ータからなっており、上記置換手段が、検索および置換
の対象に文字データの下線情報を含んでいる構成であ
る。
An information processing apparatus according to the invention of claim 2 is
As described above, the search target character in the document is searched by the designated search character and replaced with the designated replacement character, and the search target character, the designated search character, and the designated replacement character are underlined. The replacement means is composed of character data having underline information to be set, and the replacing means includes underline information of the character data as an object of search and replacement.

【0033】これにより、置換手段が検索および置換の
対象に文字データの下線情報を含んでおり、下線をも含
めた検索対象文字の検索置換を可能にしているため、検
索置換後の文書作成者による下線付加作業が不要にな
り、高い訂正効率を得ることができるという効果を奏す
る。
As a result, the replacing means includes the underline information of the character data in the objects to be searched and replaced, and it is possible to search and replace the characters to be searched including the underline. Therefore, the document creator after the search and replacement is performed. This eliminates the need for an underline addition work due to, and has an effect that a high correction efficiency can be obtained.

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

【図1】本発明の下線付検索置換ルーチンのフローチャ
ートである。
FIG. 1 is a flowchart of an underlined search and replace routine of the present invention.

【図2】下線指定検索置換ルーチンのフローチャートで
ある。
FIG. 2 is a flowchart of an underline designation search / replacement routine.

【図3】情報処理装置のブロック図である。FIG. 3 is a block diagram of an information processing device.

【図4】文字データの内容を示す説明図である。FIG. 4 is an explanatory diagram showing the contents of character data.

【図5】置換前の文書の画面表示例を示す説明図であ
る。
FIG. 5 is an explanatory diagram showing a screen display example of a document before replacement.

【図6】下線付検索置換ルーチンによる置換後の文書の
画面表示例を示す説明図である。
FIG. 6 is an explanatory diagram showing a screen display example of a document after replacement by an underlined search and replace routine.

【図7】文字データ入力画面の表示例を示す説明図であ
る。
FIG. 7 is an explanatory diagram showing a display example of a character data input screen.

【図8】下線指定検索置換ルーチンによる置換後の文書
の画面表示例を示す説明図である。
FIG. 8 is an explanatory diagram showing a screen display example of a document after replacement by an underline designation search / replacement routine.

【図9】文字データ入力画面の表示例を示す説明図であ
る。
FIG. 9 is an explanatory diagram showing a display example of a character data input screen.

【図10】下線指定検索置換ルーチンによる置換後の文
書の画面表示例を示す説明図である。
FIG. 10 is an explanatory diagram showing a screen display example of a document after replacement by an underline designation search and replacement routine.

【図11】文字データ入力画面の表示例を示す説明図で
ある。
FIG. 11 is an explanatory diagram showing a display example of a character data input screen.

【図12】下線指定検索置換ルーチンによる置換後の文
書の画面表示例を示す説明図である。
FIG. 12 is an explanatory diagram showing a screen display example of a document after replacement by an underline designation search and replacement routine.

【図13】文字データ入力画面の表示例を示す説明図で
ある。
FIG. 13 is an explanatory diagram showing a display example of a character data input screen.

【図14】下線指定検索置換ルーチンによる置換後の文
書の画面表示例を示す説明図である。
FIG. 14 is an explanatory diagram showing a screen display example of a document after replacement by an underline designation search and replacement routine.

【図15】従来例を示すものであり、置換後の文書の画
面表示例を示す説明図である。
FIG. 15 illustrates a conventional example and is an explanatory diagram illustrating a screen display example of a document after replacement.

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

1 LCD 2 CPU 3 キーボード 4 ROM 5 RAM 6 プリンター 7 文字データ入力画面 1 LCD 2 CPU 3 Keyboard 4 ROM 5 RAM 6 Printer 7 Character data input screen

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】文書中の検索対象文字を指定置換文字に置
換する置換手段を有し、上記検索対象文字および指定検
索文字が、下線の有無を設定する下線情報を有した文字
データからなっている情報処理装置において、 上記置換手段は、上記検索対象文字の先頭に位置する文
字データの下線情報と同一の下線情報を有する指定置換
文字によって置換することを特徴とする情報処理装置。
1. A replacement means for replacing a search target character in a document with a designated replacement character, wherein the search target character and the designated search character are character data having underline information for setting presence or absence of an underline. In the information processing apparatus, the replacing unit replaces the character data located at the beginning of the search target character with a designated replacement character having the same underline information as the underline information.
【請求項2】文書中の検索対象文字を指定検索文字によ
って検索して指定置換文字に置換する置換手段を有し、
上記検索対象文字、指定検索文字、および指定置換文字
が、下線の有無を設定する下線情報を有した文字データ
からなっている情報処理装置において、 上記置換手段は、検索および置換の対象に文字データの
下線情報を含んでいることを特徴とする情報処理装置。
2. A replacement means for searching a character to be searched in a document by a specified search character and replacing it with a specified replacement character,
In the information processing device, wherein the search target character, the designated search character, and the designated replacement character are character data having underline information for setting presence / absence of an underline, wherein the replacement means is a character data to be searched and replaced. An information processing device comprising underlined information.
JP3330545A 1991-12-13 1991-12-13 Information processing equipment Pending JPH05165820A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3330545A JPH05165820A (en) 1991-12-13 1991-12-13 Information processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3330545A JPH05165820A (en) 1991-12-13 1991-12-13 Information processing equipment

Publications (1)

Publication Number Publication Date
JPH05165820A true JPH05165820A (en) 1993-07-02

Family

ID=18233839

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3330545A Pending JPH05165820A (en) 1991-12-13 1991-12-13 Information processing equipment

Country Status (1)

Country Link
JP (1) JPH05165820A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63167960A (en) * 1986-12-29 1988-07-12 Brother Ind Ltd document processing device
JPS64148U (en) * 1987-06-18 1989-01-05
JPH023860A (en) * 1988-06-20 1990-01-09 Fuji Xerox Co Ltd Document processor
JPH03171252A (en) * 1989-11-29 1991-07-24 Sharp Corp Character processor
JPH03266066A (en) * 1990-03-16 1991-11-27 Hitachi Ltd Attributed string replacer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63167960A (en) * 1986-12-29 1988-07-12 Brother Ind Ltd document processing device
JPS64148U (en) * 1987-06-18 1989-01-05
JPH023860A (en) * 1988-06-20 1990-01-09 Fuji Xerox Co Ltd Document processor
JPH03171252A (en) * 1989-11-29 1991-07-24 Sharp Corp Character processor
JPH03266066A (en) * 1990-03-16 1991-11-27 Hitachi Ltd Attributed string replacer

Similar Documents

Publication Publication Date Title
US8044961B2 (en) Automatic synthesis of font tables for character layout
JPS62245367A (en) Document processor
JPH07200786A (en) Filing equipment
JPH10124495A (en) Original text generation processing device and its program storage medium
JPS6356575B2 (en)
JPH08161309A (en) Document creation device
JPS6017487A (en) How to automatically set the line pitch of a document creation device
JPH05165820A (en) Information processing equipment
JPS60222270A (en) Table data insertion printer
JP3567299B2 (en) Graph generation output device
JPH03266066A (en) Attributed string replacer
JP2656470B2 (en) Writing method
JPH031271A (en) Automatic setting method for indent character
JPH0721189A (en) Translation support device
JPH0944580A (en) Record creation method
JPH0581242A (en) Layout editor
JP2000348024A (en) Character input device
JPH06243136A (en) Document preparing device
JPH01194061A (en) Display control system for word processor
JPS61285534A (en) Index production system
JPH07168829A (en) Document creation method
JPH06168238A (en) Format information display method for document creation device
JPS63209850A (en) How to expand and display character dot patterns
JPH01259449A (en) Sentence editing device
JPH02257267A (en) Document editing method and document editing device using the same