JPH05101068A - Document processor - Google Patents

Document processor

Info

Publication number
JPH05101068A
JPH05101068A JP3226999A JP22699991A JPH05101068A JP H05101068 A JPH05101068 A JP H05101068A JP 3226999 A JP3226999 A JP 3226999A JP 22699991 A JP22699991 A JP 22699991A JP H05101068 A JPH05101068 A JP H05101068A
Authority
JP
Japan
Prior art keywords
document
search
character size
word
size
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
JP3226999A
Other languages
Japanese (ja)
Inventor
Kouji Kobari
康志 小梁
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Publication of JPH05101068A publication Critical patent/JPH05101068A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

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

Abstract

(57)【要約】 【目的】 文書の置換時に文字サイズの変更を行うこと
のできる文書処理装置を提供する。 【構成】 文書の内容を格納する文書格納手段と、この
文書格納手段に格納された文書に対して検索を行う検索
語句を設定する検索語句設定手段と、文書に対してこの
検索語句の検索を行う検索手段と、検索手段によって検
索された語句に対する変更後の文字サイズを指定する文
字サイズ指定手段と、検索手段で検索した語句をこの文
字サイズ指定手段によって指定した文字サイズに変更す
る文字サイズ変更手段とを文書処理装置に具備させる。
そして、検索語句の置換の際の文字サイズを指定させ、
検索が行われたときその語句について文字サイズの変更
を行うことにする。
(57) [Abstract] [Purpose] To provide a document processing device capable of changing the character size when replacing a document. [Structure] A document storage means for storing the contents of a document, a search word setting means for setting a search word for searching a document stored in the document storage means, and a search for this search word for a document. A search means to perform, a character size designating means for designating the changed character size for the word searched by the search means, and a character size changing for changing the word searched by the search means to the character size specified by the character size designating means. And a document processing device.
Then, let us specify the character size when replacing the search term,
When the search is done, we will change the font size for that word.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば日本語ワードプ
ロセッサや日本語処理機能をもったワークステーション
あるいはコンピュータのように、作成された文書中の特
定の文字や文字列等の語句を検索し、この検索された語
句を他の語句に置き換える機能を持った文書処理装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention searches for a specific character or a character string in a created document, such as a Japanese word processor or a workstation or a computer having a Japanese processing function, The present invention relates to a document processing device having a function of replacing the retrieved word / phrase with another word / phrase.

【0002】[0002]

【従来の技術】ワードプロセッサやワークステーション
あるいはコンピュータ等の文書処理装置が広く普及して
おり、これらを用いて文章や図形を作成する機会が多く
なっている。これらの文書処理装置で作成されたこのよ
うな文書は電子化されているので、特定の語句を容易に
検索することができ、該当する語句をCRT等のディス
プレイに表示したり、あるいは該当する語句を他の語句
に置き換えることができる。例えば、すでに作成された
文書あるいは現在作成中の文書から「ランゲージ」とい
う語句を検索し、これらを文書の先頭あるいは末尾から
順に表示したり、「ランゲージ」という語句を「言語」
という語句に一括して、あるいは選択的に変換すること
ができる。
2. Description of the Related Art Document processing devices such as word processors, workstations, computers, etc. have become widespread, and there are many opportunities to create sentences and figures using them. Since such a document created by these document processing devices is digitized, it is possible to easily search for a specific phrase, display the corresponding phrase on a display such as a CRT, or the corresponding phrase. Can be replaced with other words. For example, you can search for the word "language" in a document that has already been created or in the process of creating it, and display these words in order from the beginning or end of the document, or change the word "language" to "language".
Can be converted collectively or selectively.

【0003】[0003]

【発明が解決しようとする課題】このように従来の文書
処理装置では作成した文章中の所定の語句を検索した
り、検索した語句を他の語句に置き換えることができ
た。この際に、検索のための条件は色々設定することが
できても、置き換える語句は置き換えのときに入力した
置換語句の文字サイズそのままであった。このため、例
えば文書を印刷と同様のイメージで画像メモリ上に表示
する“WYSIWYG View”形式の文書処理装置で、
画面を眺めながら文字サイズの変更を行うといったこと
ができなかった。
As described above, in the conventional document processing apparatus, it is possible to search for a predetermined word / phrase in the created text and replace the searched word / phrase with another word / phrase. At this time, although various conditions for the search can be set, the word to be replaced is the same as the character size of the replacement word input at the time of replacement. For this reason, for example, in a document processing apparatus of the "WYSIWYG View" format which displays a document on the image memory in the same image as printing,
I couldn't change the font size while looking at the screen.

【0004】もちろん、従来の装置でも印刷時に文字サ
イズの変更を行うことができる。しかしながら、このよ
うな文字サイズ変更では、表示画面で確認を行わずにい
きなり印刷を行うことになるので、変更後の文字サイズ
が違いすぎると文書の配置が崩れたり、文字間のバラン
スを欠くような結果を招くことになった。また、印刷時
の書式設定という方法では、文書全体の文字サイズの変
更はできても、例えば特定の語句を強調するためにそれ
らについて文字サイズを変更するといった細かなサイズ
指定を行うことができなかった。
Of course, even the conventional device can change the character size at the time of printing. However, in such a character size change, printing will be performed without confirmation on the display screen, so if the changed character size is too different, the layout of the document may be disturbed or the balance between characters may be lost. It brought about such a result. In addition, with the method of formatting at the time of printing, it is possible to change the character size of the entire document, but it is not possible to make detailed size specifications such as changing the character size for particular words to emphasize them. It was

【0005】そこで本発明の第1の目的は、文書の置換
時に文字サイズの変更を行うことのできる文書処理装置
を提供することにある。
Therefore, a first object of the present invention is to provide a document processing apparatus capable of changing the character size when replacing a document.

【0006】本発明の第2の目的は、ビットマップディ
スプレイで文書の表示を行う際に、指定した範囲の語句
について文字サイズを変更することができるようにした
文書処理装置を提供することにある。
A second object of the present invention is to provide a document processing apparatus capable of changing the character size of words and phrases in a specified range when displaying a document on a bitmap display. ..

【0007】本発明の第3の目的は、変更前の文字サイ
ズの具体的な値を知らなくても文字サイズの変更を行う
ことのできる文書処理装置を提供することにある。
A third object of the present invention is to provide a document processing apparatus capable of changing the character size without knowing the specific value of the character size before the change.

【0008】[0008]

【課題を解決するための手段】請求項1記載の発明で
は、文書の内容を格納する文書格納手段と、この文書格
納手段に格納された文書に対して検索を行う検索語句を
設定する検索語句設定手段と、文書に対してこの検索語
句の検索を行う検索手段と、検索手段によって検索され
た語句に対する変更後の文字サイズを指定する文字サイ
ズ指定手段と、検索手段で検索した語句をこの文字サイ
ズ指定手段によって指定した文字サイズに変更する文字
サイズ変更手段とを文書処理装置に具備させる。
According to a first aspect of the present invention, a document storage means for storing the contents of a document, and a search word for setting a search word for searching the document stored in the document storage means are set. The setting means, the searching means for searching the document for this search word, the character size specifying means for specifying the changed character size for the word searched by the searching means, and the word searched by the searching means for this character The document processing apparatus is provided with character size changing means for changing the character size designated by the size designating means.

【0009】すなわち請求項1記載の発明では、検索語
句の置換の際の文字サイズを指定させ、検索が行われた
ときその語句について文字サイズの変更を行うことにし
て前記した第1の目的を達成する。
That is, according to the first aspect of the present invention, the character size at the time of replacement of a search word is designated, and when the search is performed, the character size is changed for that word, thereby achieving the first object. To achieve.

【0010】請求項2記載の発明では、文書の内容を格
納する文書格納手段と、この文書格納手段に格納された
文書に対して検索を行う検索語句を設定する検索語句設
定手段と、文書に対して前記検索語句の検索を行う検索
手段と、この検索手段によって検索された語句に対する
変更後の文字サイズを指定する文字サイズ指定手段と、
検索手段で検索した語句をこの文字サイズ指定手段によ
って指定した文字サイズに変更する文字サイズ変更手段
と、文書の変更前および変更後の内容を、印刷されるの
と同一イメージで画面表示するビットマップディスプレ
イとを文書処理装置に具備させる。
According to the second aspect of the present invention, the document storage means for storing the contents of the document, the search word / phrase setting means for setting the search word / phrase for searching the document stored in the document storage means, and the document On the other hand, search means for searching the search word and phrase, and character size specifying means for specifying the changed character size for the word searched by this search means,
A character size changing means for changing the word / phrase searched by the searching means to the character size designated by the character size designating means, and a bitmap for displaying the content of the document before and after the modification in the same image as it is printed. A display is provided in the document processing device.

【0011】すなわち請求項2記載の発明では、検索語
句の置換の際の文字サイズを指定させ、検索が行われた
ときその語句について文字サイズの変更を行う一方、ビ
ットマップディスプレイに置換前後の文章の表示を行う
ことにして前記した第2の目的を達成する。
That is, according to the second aspect of the present invention, the character size at the time of replacing the search term is designated, and when the search is performed, the character size is changed for the word, while the text before and after the replacement is displayed on the bitmap display. Is displayed to achieve the second object described above.

【0012】なお、本発明では、請求項1または請求項
2記載の発明で、検索語句の変更前と変更後の文字サイ
ズとの差を表わした情報によって文字サイズの指定を行
うことにすれば、例えば文字サイズを2ポイント大きく
するとか1ポイント小さくするといった相対的な指定が
可能になり、前記した第3の目的を達成することができ
る。
According to the present invention, in the invention according to claim 1 or 2, if the character size is designated by the information showing the difference between the character size before and after the change of the search term. For example, it is possible to make a relative designation such that the character size is increased by 2 points or decreased by 1 point, and the third object described above can be achieved.

【0013】[0013]

【実施例】以下実施例につき本発明を詳細に説明する。EXAMPLES The present invention will be described in detail below with reference to examples.

【0014】図2は、本発明の一実施例における文書処
理装置の外観を表わしたものである。この文書処理装置
は、入力装置としてのキーボード11およびマウス12
と、出力装置としてのビットマップディスプレイ13
と、各種制御を行うための本体装置14から構成されて
いる。キーボード11、マウス12およびビットマップ
ディスプレイ13は、作業用デスク15の上に配置され
ている。この文書処理装置は、図示しないローカルエリ
アネットワーク(LAN)用のケーブルを介して他の文
書処理装置と共用されるプリンタや各種サーバ等の装置
と接続されるようになっている。もちろん、このような
ローカルエリアネットワークを介すことなく、専用のプ
リンタを接続して必要な情報をプリントアウトすること
も可能である。
FIG. 2 shows the external appearance of the document processing apparatus according to the embodiment of the present invention. This document processing device includes a keyboard 11 and a mouse 12 as input devices.
And a bitmap display 13 as an output device
And a main body device 14 for performing various controls. The keyboard 11, mouse 12, and bitmap display 13 are arranged on the work desk 15. This document processing device is connected to a device such as a printer or various servers shared with other document processing devices via a cable for a local area network (LAN) not shown. Of course, it is also possible to connect a dedicated printer and print out necessary information without going through such a local area network.

【0015】ビットマップディスプレイ13上には検索
する文書等をマルチウィンドウ形式で表示することがで
き、グラフィックカーソル16等のカーソルを用いて位
置を定めながら各種処理を実行することができる。マウ
ス12はポインティング・デバイスである。装置本体1
4内には次に説明するようにCPU(中央処理装置)や
大容量の外部記録装置等の回路部品が収納されている。
Documents to be searched and the like can be displayed on the bitmap display 13 in a multi-window format, and various kinds of processing can be executed while the position is determined using a cursor such as the graphic cursor 16. The mouse 12 is a pointing device. Device body 1
As described below, circuit components such as a CPU (central processing unit) and a large-capacity external recording device are housed in the unit 4.

【0016】図1は、この文書処理装置の回路構成の要
部を表わしたものである。この文書処理装置のCPU
(中央処理装置)21はバス22を介して次の回路装置
と接続されており、文章や図形の作成や、作成中の文書
中の文字列の検索や置換等の各種制御を行うようになっ
ている。
FIG. 1 shows the main part of the circuit configuration of this document processing apparatus. CPU of this document processing device
The (central processing unit) 21 is connected to the next circuit device via a bus 22 and is adapted to perform various controls such as creation of sentences and figures, retrieval and replacement of character strings in the document being created. ing.

【0017】(i)コミュニケーションボード23:こ
の文書処理装置がデータの印字等を行うために他の装置
と通信を行う際に使用するボードである。
(I) Communication board 23: This is a board used when this document processing apparatus communicates with another apparatus for printing data or the like.

【0018】(ii)メモリマネジメントユニット(MM
U)24:ランダム・アクセス・メモリからなるメイン
メモリ25からデータを読み出してバス22に転送した
り、反対にデータをメインメモリ25に格納する制御を
行う。
(Ii) Memory management unit (MM
U) 24: Control is performed to read data from the main memory 25, which is a random access memory, and transfer the data to the bus 22, or conversely, store the data in the main memory 25.

【0019】(iii )DMA(直接メモリアクセス)2
6:CPU21を介さずに周辺装置とメインメモリ25
の間でデータを直接転送するための制御を行う。
(Iii) DMA (Direct Memory Access) 2
6: Peripheral device and main memory 25 without going through CPU 21
Control for direct transfer of data between the two.

【0020】(iv)ボーレートジェネレータ・インター
バルタイマ27:基準となるクロックを発生し、通信や
計時動作に用いるための信号を発生する。
(Iv) Baud rate generator / interval timer 27: Generates a reference clock and generates a signal for use in communication and timing operation.

【0021】(v)入力用コミニュケーションボード2
8:インターフェース回路からなり、データ入力用のキ
ーボード11と接続されている。キーボード11にはポ
インティング・デバイスとしてのマウス12が接続され
ている。
(V) Communication board 2 for input
8: Composed of an interface circuit and connected to the keyboard 11 for data input. A mouse 12 as a pointing device is connected to the keyboard 11.

【0022】(vi)2ポートRAM32:バッファメモ
リを備え、ハードディスクコントローラ33を介して5
インチハードディスク34に接続されている。5インチ
ハードディスク53には、このデータ処理装置の制御プ
ログラムが格納されており、これがメインメモリ25に
格納されて装置各部の制御が行われる。5インチハード
ディスク34には必要なデータの格納も行われるように
なっている。
(Vi) Two-port RAM 32: equipped with a buffer memory, and 5 via the hard disk controller 33
It is connected to the inch hard disk 34. A control program for this data processing device is stored in the 5-inch hard disk 53, which is stored in the main memory 25 to control each part of the device. The 5-inch hard disk 34 also stores necessary data.

【0023】(vii )CRTコントローラ35:ビット
マップディスプレイ(CRT)13の表示制御を行うコ
ントローラである。
(Vii) CRT controller 35: A controller for controlling the display of the bit map display (CRT) 13.

【0024】図3は、以上のような構成の文書処理装置
の画面表示の一例を表わしたものである。ビットマップ
ディスプレイ13には、各種のアイコン(絵文字)41
と共に、2つのウィンドウ42、43が表示されてい
る。ビットマップディスプレイ13には初期的にはこれ
らのアイコン41が目録として表示されているだけであ
る。オペレータは、これらのアイコン41のうち所望の
ものを選択していくことで、所望の数のウィンドウを開
くことができる。
FIG. 3 shows an example of a screen display of the document processing apparatus having the above configuration. The bitmap display 13 has various icons (pictograms) 41.
At the same time, two windows 42 and 43 are displayed. Initially, these icons 41 are only displayed as a list on the bitmap display 13. The operator can open a desired number of windows by selecting a desired one of these icons 41.

【0025】図3に示した一方のウィンドウ43には、
すでに作成した文書あるいは作成中の文書が表示されて
いるものとする。このウィンドウ43中の文書について
検索を行ったり、検索した語句を所望の語句に置換する
作業を行うものとする。この場合、オペレータは例えば
ウィンドウ43の上部エリア45に設けられた所定のマ
ークをマウス12で指定することによってメニューウィ
ンドウ46を画面上に表示させる。メニューウィンドウ
46には、各種の作業項目が表示されている。オペレー
タは、この作業項目の中から「検索」という項目をグラ
フィックカーソル16で指定することで、この文書処理
装置を検索モードに設定することができる。
In one window 43 shown in FIG. 3,
It is assumed that the document already created or the document being created is displayed. It is assumed that the document in this window 43 is searched and the searched word is replaced with a desired word. In this case, the operator displays the menu window 46 on the screen by, for example, designating a predetermined mark provided in the upper area 45 of the window 43 with the mouse 12. Various work items are displayed in the menu window 46. The operator can set the document processing apparatus to the search mode by designating the item "search" from the work items with the graphic cursor 16.

【0026】図4は、検索モードにおいてビットマップ
ディスプレイ上に展開されるウィンドウの内容を表わし
たものである。この検索ウィンドウ51の上部エリア5
2には「複数検索オプション」というタイトルと、「閉
じる」、「開始」、「変更」および「リセット」という
各コマンドが表示されている。
FIG. 4 shows the contents of the window developed on the bitmap display in the search mode. Upper area 5 of this search window 51
In 2, a title of "multiple search options" and commands of "close", "start", "change" and "reset" are displayed.

【0027】この検索ウィンドウ51を閉じるとき、オ
ペレータは「閉じる」コマンドをマウス12で指定す
る。また、検索を開始させるときには「開始」コマンド
を指定する。一旦、「開始」コマンドを押して検索を開
始させると、このコマンドは「継続」コマンドに変化す
る。「継続」コマンドは、対象となる語句が検索された
ときその置き換えを行わずに次の語句の検索を継続させ
るためのものである。「変更」コマンドは、これに対し
て検索された語句を対応する置換語句に置き換える指示
を行うものである。「リセット」コマンドは、ウィンド
ウ51で設定する各種条件をリセットするためのもので
ある。
When closing the search window 51, the operator designates a "close" command with the mouse 12. When starting the search, the "start" command is specified. Once the "Start" command is pressed to initiate the search, this command changes to a "Continue" command. The "continue" command is for continuing the search for the next word without replacing the target word when the word is searched. The “change” command gives an instruction to replace the searched word / phrase with the corresponding replacement word / phrase. The “reset” command is for resetting various conditions set in the window 51.

【0028】ところで、検索ウィンドウ51における上
部エリア52の下の領域には、検索態様を指定する項目
がその上半分の部分に配置されている。ここで「機能選
択」という項目では、検索のみを行うのか、あるいは検
索された語句を所望の語句に置換するまでを行うかの選
択を行うようになっている。この例では置換が行われ
る。
By the way, in the area below the upper area 52 in the search window 51, the items designating the search mode are arranged in the upper half portion thereof. Here, in the item of "function selection", it is possible to select whether to perform only the search or to replace the searched word / phrase with a desired word / phrase. In this example, the replacement is done.

【0029】「確認」という項目では、検索された語句
の置換を行う際に逐一確認が必要であるか否かを指定す
ることができるようになっている。この例では確認が必
要となっているので、オペレータが「変更」を押せば置
換が行われ、「継続」を押せば次の語句の検索が行われ
る。
In the item "confirmation", it is possible to specify whether or not confirmation is required for each replacement of the retrieved word / phrase. Since confirmation is required in this example, if the operator presses "change", the replacement is performed, and if "continue" is pressed, the next word is searched.

【0030】「検索条件」という項目では、「削除部分
を含む」という箇所と「大文字小文字を無視」という箇
所のうちの該当する箇所を指定することができる。「削
除部分を含む」という箇所が指定された場合には、文章
中で削除された部分に対しても検索が行われる。この実
施例の文書処理装置では削除された文章部分をデータと
して残しておくようにしているので、削除部分について
も検索することができる。「大文字小文字を無視」とい
う箇所が指定された場合には、英語等の大文字や小文字
の違いを無視して検索が行われる。本実施例では検索条
件として以上説明した2つの条件のいずれをも選択して
いない。
In the item of "search condition", it is possible to specify the relevant part of the part "including the deleted part" and the part "ignoring the case". When the part "including the deleted part" is specified, the part deleted in the sentence is also searched. In the document processing apparatus of this embodiment, the deleted text portion is left as data, so that the deleted portion can be searched. When the "ignore case" is specified, the search is performed by ignoring the difference between uppercase and lowercase letters such as English. In this embodiment, none of the two conditions described above is selected as the search condition.

【0031】「検索範囲」という項目では、4つの範囲
指定を選択することができる。このうち、「文書全体」
とは文書の全体を検索範囲とすることをいう。「文書の
残り」とは、カーソルで指示した箇所以降を検索するこ
とをいう。「選択中」とは、検索の開始位置と終了位置
の双方を指示してその範囲で検索を行うことをいう。
「枠内も検索」とは、図形や文書について枠を設定した
場合に、その内部まで検索を行う場合をいう。本実施例
では、文書全体が検索の対象とされているが、枠内の語
句に対する検索は行われない。
In the item "search range", four range designations can be selected. Of these, "entire document"
Means that the entire document is the search range. “Remaining document” means to search from the portion designated by the cursor. "Selecting" means indicating both the start position and the end position of the search and performing the search within that range.
The "search also in the frame" refers to a case where a frame is set for a figure or a document, and the search is performed inside the frame. In the present embodiment, the entire document is targeted for search, but the words within the frame are not searched.

【0032】検索ウィンドウ51におけるこれらの更に
下の領域には、検索する文字列と置換する文字列、およ
び置換時に文字サイズを変更する場合のサイズ変更量が
入力されるようになっている。図4ではこれらの入力が
まだ行われていない状態を表わしている。
In the area below these in the search window 51, the character string to be searched and the character string to be replaced and the size change amount for changing the character size at the time of replacement are input. FIG. 4 shows a state in which these inputs have not been performed yet.

【0033】図5は、これに対して検索する文字列等の
入力された状態のウィンドウの内容の一例を表わしたも
のである。「検索文字列」および「置換文字列」の欄に
は「*(アスタリスク)」が入力されている。この装置
でアスタリスクは、文書全体という意味を表わしてい
る。すなわち、この例では文書全体が置き換えの対象と
なる。もちろん、オペレータは1文字または数文字の検
索語句を指定して、これらの置換を行うことは可能であ
る。
FIG. 5 shows an example of the contents of the window in a state in which a character string or the like to be searched is input. "* (Asterisk)" is entered in the "search character string" and "replacement character string" fields. In this device, the asterisk means the entire document. That is, in this example, the entire document is the replacement target. Of course, the operator can specify one or several characters of the search term to perform these replacements.

【0034】「置換文字列」の欄の右隣りには、サイズ
変更欄が設けられている。この例では、このサイズ変更
欄に“+4”という数値データがキーボード11(図
1)から入力されている。この文書処理装置では文字サ
イズをポイントで表示するようになっているので、これ
は4ポイントだけ文字サイズを拡大するという意味を表
わしている。
A size change column is provided to the right of the "replacement character string" column. In this example, numerical data "+4" is input to the size change field from the keyboard 11 (FIG. 1). Since this document processing apparatus is designed to display the character size in points, this means that the character size is expanded by 4 points.

【0035】図6は、検索に関する以上のような指示が
行われた際の検索語句の置換作業の流れを表わしたもの
である。図1に示したCPU21は、検索および置換作
業の開始と共に探索する範囲の先頭をポイントする(図
6ステップS101)。この例の場合には文書全体が探
索の対象となるので、文書の先頭が指示されることにな
る。この状態で、ポインタの示す文字列を先頭から順に
見ていった場合、これが探索文字列に該当するかどうか
の判別が行われる(ステップS102)。該当しなけれ
ば、ポインタを進めて(ステップS103)、その進め
た箇所が探察範囲の終了位置に到来していないかぎり
(ステップS104)、ステップS102に戻って探索
文字列の探索が行われる。ステップS104で探索範囲
の下限にポインタが到達した場合には、探索が終了した
ので探索および置換のための制御が終了する(リター
ン)。
FIG. 6 shows a flow of work for replacing a search term when the above-mentioned instructions regarding the search are given. The CPU 21 shown in FIG. 1 points to the beginning of the range to be searched when the search and replacement work is started (step S101 in FIG. 6). In the case of this example, since the entire document is the search target, the beginning of the document is designated. In this state, when the character string indicated by the pointer is viewed in order from the beginning, it is determined whether or not this corresponds to the search character string (step S102). If not, the pointer is advanced (step S103), and unless the advanced position has reached the end position of the search range (step S104), the process returns to step S102 to search for the search character string. When the pointer reaches the lower limit of the search range in step S104, the search has been completed, and the control for the search and replacement is completed (return).

【0036】さて、ステップS102で探索文字列に該
当した場合には(Y)、これを置換文字列に置き換える
かどうかの判別が行われる(ステップS105)。置き
換える必要がない場合には、すなわち「継続」コマンド
が指定された場合には(N)、ステップS103に戻っ
て次の検索位置にポインタが進められ、検索作業が開始
される。
If the search character string is found in step S102 (Y), it is determined whether or not to replace it with the replacement character string (step S105). If there is no need to replace, that is, if the "continue" command is specified (N), the process returns to step S103, the pointer is advanced to the next search position, and the search operation is started.

【0037】これに対して、検索された文字列の置換が
指示された場合には(ステップS105;Y)、次に、
文字サイズの変更が指示されているかどうかの判別が行
われる(ステップS106)。文字サイズの変更が指示
されていない場合には(N)、文書中の検索された文字
列を置換する文字列と置き換える(ステップS10
7)。本実施例の場合には、両者とは文書全体を示して
いるので、結果的には置き換えなかったと同様な結果が
得られる。
On the other hand, if replacement of the retrieved character string is instructed (step S105; Y), then
It is determined whether or not an instruction to change the character size has been given (step S106). When the change of the character size is not instructed (N), the searched character string in the document is replaced with the replacement character string (step S10).
7). In the case of the present embodiment, both of them represent the entire document, and as a result, the same result as if they were not replaced can be obtained.

【0038】一方、ステップS106で文字サイズの変
更が指示されていた場合には(Y)、文書中の文字列の
属性が取り出される(ステップS108)。この属性に
は、現在処理している文書の文字サイズも含まれてい
る。
On the other hand, when the change of the character size is instructed in step S106 (Y), the attribute of the character string in the document is extracted (step S108). This attribute also contains the font size of the document currently being processed.

【0039】CPU21(図1)は、この文字サイズに
「サイズ変更」欄に記入された数値を加算する。そし
て、該当する範囲をこの結果得られた値の文字サイズに
変更する(ステップS109)。そして、ステップS1
07に進んで、文書中の文字列と置き換えを行うことに
なる。
The CPU 21 (FIG. 1) adds the numerical value entered in the "size change" column to this character size. Then, the applicable range is changed to the character size of the value obtained as a result (step S109). And step S1
Proceeding to 07, the character string in the document is replaced.

【0040】図7は、文字サイズの変更が行われる前に
おける文書の内容を表示したウィンドウの状態を表わし
たもである。ウィンドウ43には、6ポイント、8ポイ
ントおよび10ポイントの文字が混在している。オペレ
ータがこのような文書を作成した後、全体的に文字サイ
ズが小さいと感じた場合に、図5で示したような指定が
行われることになる。
FIG. 7 shows the state of the window displaying the contents of the document before the character size is changed. In the window 43, 6-point, 8-point and 10-point characters are mixed. If the operator feels that the character size is generally small after creating such a document, the designation as shown in FIG. 5 is made.

【0041】図8は、図6のステップS106によって
文字サイズが変更された後のウィンドウの表示状態を表
わしたものである。文書内の各文字サイズが4ポイント
ずつ大きくなって、それぞれ10、12、14ポイント
となっている。オペレータは、この画面表示を見て、も
う1ポイント文字サイズを大きくしようと思った場合に
は、図5のサイズ変更欄に“+1”という数値データを
入力して、先と同様の作業を行わさせるようにすればよ
い。同様の操作で文字サイズの縮小も行うことができる
し、“−4”という数値データを入力すれば元の文字サ
イズに戻すこともできる。
FIG. 8 shows the display state of the window after the character size is changed in step S106 of FIG. The size of each character in the document is increased by 4 points to be 10, 12, and 14 points, respectively. If the operator looks at this screen display and decides to increase the point size by another point, he / she inputs the numerical data “+1” in the size change field of FIG. 5 and performs the same operation as above. You can do it. The character size can be reduced by the same operation, or the character size can be restored to the original character size by inputting numerical data "-4".

【0042】また、オペレータが例えば「’89年度の
反省」という文字だけを更に大きくしようと考えた場合
には、図5の検索文字列および置換文字列にこの語句を
入力する。そして、サイズ変更欄に増加させるサイズの
量をポイントで入力すればよい。
Further, when the operator thinks that only the character "Reflection in '89" should be made larger, the operator inputs this word in the search character string and the replacement character string in FIG. Then, the amount of size to be increased may be input in points in the size change field.

【0043】この文書処理装置における以上説明したよ
うな文字サイズの変更は、CRTコントローラ35(図
1)内に配置されたビットマップメモリに書き込む文字
のサイズを実際に変更することによって実現することに
なる。
The change of the character size as described above in the document processing apparatus is realized by actually changing the size of the character written in the bit map memory arranged in the CRT controller 35 (FIG. 1). Become.

【0044】なお、本発明によれば、文字サイズの指定
をサイズの変化量で行うようにすれば、文字サイズに詳
しくない者であってもディスプレイで確認しながら適切
なサイズに設定することができるという利点がある。
According to the present invention, if the character size is designated by the amount of change in size, even a person who is not familiar with the character size can set the proper size while checking the display. There is an advantage that you can.

【0045】[0045]

【発明の効果】以上説明したように請求項1記載の発明
によれば、文字の検索および置換という作業と文字サイ
ズの変更という作業を平行して行うことができるので、
例えば大きい文字に置き換える場合の文字数の制限とい
った文字サイズと文字数に絡んだ問題を同時に解決しな
がら文書の編集を行うことができ、文書の編集を効率化
させることができるという効果がある。
As described above, according to the first aspect of the invention, the work of searching and replacing characters and the work of changing character size can be performed in parallel.
For example, it is possible to edit a document while simultaneously solving problems related to the character size and the number of characters, such as the limitation of the number of characters when replacing with a large character, and it is possible to improve the efficiency of document editing.

【0046】また請求項2記載の発明によれば、文字サ
イズの変更等の状況をビットマップディスプレイに印刷
と同様のイメージで表示し確認させることができるの
で、印刷のやり直しといった事態を避けることができ、
事務効率を図ることができるばかりでなく、省資源に役
立てることができる。
According to the second aspect of the present invention, it is possible to display the situation such as the change of the character size on the bitmap display in the same image as that for printing and to confirm it. Therefore, it is possible to avoid the situation of reprinting. You can
Not only can business efficiency be improved, but it can also be used for resource conservation.

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

【図1】 本発明の一実施例における文書処理装置の回
路構成の要部を表わしたブロック図である。
FIG. 1 is a block diagram showing a main part of a circuit configuration of a document processing apparatus according to an embodiment of the present invention.

【図2】 本実施例における文書処理装置の外観を表わ
した斜視図である。
FIG. 2 is a perspective view showing the external appearance of the document processing apparatus according to this embodiment.

【図3】 本実施例の文書処理装置の画面表示の一例を
表わした斜視図である。
FIG. 3 is a perspective view showing an example of a screen display of the document processing apparatus of this embodiment.

【図4】 本実施例で検索モードにおいてビットマップ
ディスプレイ上に展開されるウィンドウの一例を表わし
た平面図である。
FIG. 4 is a plan view showing an example of a window developed on a bitmap display in a search mode in this embodiment.

【図5】 本実施例で検索する文字列等の入力された状
態のウィンドウの内容を表わした平面図である。
FIG. 5 is a plan view showing the contents of the window in a state where a character string or the like to be searched is input in this embodiment.

【図6】 本実施例で検索語句の置換作業の流れを表わ
した流れ図である。
FIG. 6 is a flowchart showing a flow of a search word replacement operation in the present embodiment.

【図7】 本実施例で文字サイズの変更前の文章の一例
を表わしたウィンドウの平面図である。
FIG. 7 is a plan view of a window showing an example of a sentence before a character size is changed in the present embodiment.

【図8】 本実施例で文字サイズの変更後のこのウィン
ドウの平面図である。
FIG. 8 is a plan view of this window after the character size is changed in this embodiment.

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

11……キーボード、12……マウス、13……ビット
マップディスプレイ、21……CPU、34……5イン
チハードディスク、42、43……ウィンドウ、51…
…検索ウィンドウ
11 ... Keyboard, 12 ... Mouse, 13 ... Bitmap display, 21 ... CPU, 34 ... 5-inch hard disk, 42, 43 ... Window, 51 ...
… Search window

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 文書の内容を格納する文書格納手段と、 この文書格納手段に格納された文書に対して検索を行う
検索語句を設定する検索語句設定手段と、 前記文書に対して前記検索語句の検索を行う検索手段
と、 この検索手段によって検索された語句に対する変更後の
文字サイズを指定する文字サイズ指定手段と、 前記検索手段で検索した語句をこの文字サイズ指定手段
によって指定した文字サイズに変更する文字サイズ変更
手段とを具備することを特徴とする文書処理装置。
1. A document storage means for storing the contents of a document, a search word setting means for setting a search word for searching a document stored in the document storage means, and the search word for the document. And a character size designating means for designating the changed character size for the phrase searched by this searching means, and a word size searched for by the searching means to a character size designated by this character size designating means. A document processing apparatus comprising: a character size changing unit for changing the character size.
【請求項2】 文書の内容を格納する文書格納手段と、 この文書格納手段に格納された文書に対して検索を行う
検索語句を設定する検索語句設定手段と、 前記文書に対して前記検索語句の検索を行う検索手段
と、 この検索手段によって検索された語句に対する変更後の
文字サイズを指定する文字サイズ指定手段と、 前記検索手段で検索した語句をこの文字サイズ指定手段
によって指定した文字サイズに変更する文字サイズ変更
手段と、 前記文書の変更前および変更後の内容を、印刷されるの
と同一イメージで画面表示するビットマップディスプレ
イとを具備することを特徴とする文書処理装置。
2. A document storage unit for storing contents of a document, a search phrase setting unit for setting a search phrase for searching a document stored in the document storage unit, and the search phrase for the document. And a character size designating means for designating the changed character size for the phrase searched by this searching means, and a word size searched for by the searching means to a character size designated by this character size designating means. A document processing apparatus, comprising: a character size changing unit for changing; and a bit map display for displaying the contents of the document before and after the change with the same image as printed.
JP3226999A 1990-10-10 1991-09-06 Document processor Pending JPH05101068A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US59561690A 1990-10-10 1990-10-10
US07/595616 1990-10-10

Publications (1)

Publication Number Publication Date
JPH05101068A true JPH05101068A (en) 1993-04-23

Family

ID=24383977

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3226999A Pending JPH05101068A (en) 1990-10-10 1991-09-06 Document processor

Country Status (1)

Country Link
JP (1) JPH05101068A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0715573A (en) * 1993-06-25 1995-01-17 Sony Corp Terminal device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0715573A (en) * 1993-06-25 1995-01-17 Sony Corp Terminal device

Similar Documents

Publication Publication Date Title
JP3083314B2 (en) Document processing method and apparatus
JP3471854B2 (en) Character processing apparatus and method
JPH05101068A (en) Document processor
JP3100614B2 (en) Document processing apparatus and document processing method
JPH0612543B2 (en) Character string specification method
JP3064323B2 (en) Character string replacement device with attributes
JP3029822B2 (en) Document processing apparatus, document processing method, and computer-readable recording medium recording program for causing computer to execute the method
JPH05120277A (en) Document processor
JP3817871B2 (en) Document processing apparatus and program recording medium thereof
JPH02151972A (en) Document retrieving system
JP2969920B2 (en) Document processing device
JP3404770B2 (en) Document processing device
JP2751224B2 (en) Document creation device
JPH09167157A (en) Editing device
JPS61229161A (en) Document creation and editing device
JP3016949B2 (en) Information processing device
JPS59117621A (en) Document editing and proofreading system
JPS62156768A (en) Word processor with memo function
JPH04137070A (en) Electronic book device
JPS63286965A (en) Document generation device
JPH0895961A (en) Document creating apparatus and document creating method thereof
JPH08137880A (en) Document processing device
JPH04282755A (en) Word processor
JPH08101831A (en) Information processing system for Kana-Kanji conversion
JPH09134355A (en) Document creating apparatus and document layout changing method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 5

Free format text: PAYMENT UNTIL: 20080711

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080711

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090711

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090711

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100711

Year of fee payment: 7