JPH0793316A - Document processor - Google Patents

Document processor

Info

Publication number
JPH0793316A
JPH0793316A JP5237762A JP23776293A JPH0793316A JP H0793316 A JPH0793316 A JP H0793316A JP 5237762 A JP5237762 A JP 5237762A JP 23776293 A JP23776293 A JP 23776293A JP H0793316 A JPH0793316 A JP H0793316A
Authority
JP
Japan
Prior art keywords
replacement
character string
character
code
substitution
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
JP5237762A
Other languages
Japanese (ja)
Inventor
Kazumi Nomiya
和美 野宮
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 JP5237762A priority Critical patent/JPH0793316A/en
Publication of JPH0793316A publication Critical patent/JPH0793316A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To provide the document processor which easily perform operation for substituting different words and phrases for all words and phrases (character string) in a document. CONSTITUTION:This processor consists of an input means 200 for inputting characters and editing indications, an editing means 201 for editing the document, an editing object switching means 202 which switches the editing object of the editing means 201 to document data 203 or a substitution coordinate table 204, the substitution coordinate table 204 which contains substitute character strings corresponding to substitution codes, a substituting means 205 which substitutes character strings for substitution codes in the document data according to the substitution coordinate table, a display means 206 which displays the document data after the substituting means 205 substitutes the substitute character strings for the substitution codes, and a printing means 207 which prints the document data after the substituting means 205 substitutes the substitute characters for the substitution codes.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、日本語ワープロ、欧文
ワープロ、その他各種言語ワープロ、パーソナルコンピ
ュータ、電子手帳などの文章処理装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sentence processing device such as a Japanese word processor, a European word processor, other language word processors, personal computers, electronic notebooks and the like.

【0002】[0002]

【従来の技術】従来、ある語句(文字列)を他の語句
(文字列)に置換する方法として以下に示す〜の方
法がある。 特定の語句を検索し全て別の語句に置き換える一括
検索置換方法。 文章中の特定の記号を与えられたデータに基づき特
定の語句に置換する穴埋め方法。 前記の穴埋めを印刷時に実行し結果を印刷にのみ反
映させる差し込み印刷方法。 特開平4ー338871号公報に記載の統一表記に
関する発明。これは置換対象となる語句と置換後の語句
との対応表をメモリー上に設け、操作者による置換語等
の入力操作を代行するものである。置換処理そのものは
一括検索置換方法と同等である。
2. Description of the Related Art Conventionally, the following methods (1) to (3) are available as methods for replacing a certain word (character string) with another word (character string). Batch search and replace method that searches for a specific word and replaces it with another word. A fill-in-the-blank method that replaces a specific symbol in a sentence with a specific word or phrase based on given data. A merge printing method in which the above-mentioned filling is executed at the time of printing and the result is reflected only in the printing. Invention related to the unified notation described in JP-A-4-338871. In this system, a correspondence table of words to be replaced and words after replacement is provided in a memory, and an input operation of a replacement word by an operator is performed on behalf of the operator. The replacement process itself is equivalent to the batch search and replacement method.

【0003】[0003]

【発明が解決しようとする課題】上記〜のいずれの
従来技術も、置換を実行するためには一旦文章編集から
抜け出し、所定の入力操作に移行しなければならず、操
作が繁雑である。例えば、の一括検索置換方法では検
索語及び置換語の入力操作に移行しなければならない。
及びの穴埋め・差し込み印刷方法では差し込みデー
タの作成操作に移行しなければならない。の特開平4
ー338871号公報に記載の方法では知識ベースの入
力及び修正操作に移行しなければならない。
In any of the above-mentioned prior arts, in order to execute the replacement, it is necessary to once exit from the text editing and shift to a predetermined input operation, and the operation is complicated. For example, in the batch search and replacement method of, it is necessary to shift to the input operation of the search word and the replacement word.
In the method of filling in and inserting printing of and, it is necessary to shift to the operation of creating the insertion data. Japanese Patent Laid-Open No. 4
In the method described in Japanese Patent No. 338871, it is necessary to shift to a knowledge base input and correction operation.

【0004】特に、の一括検索置換方法及びの特開
平4ー338871号公報に記載の方法では、以下の問
題点がある。 (1) 文章が長大で処理に時間がかかる。 (2) 期待しない置換が行われる場合がある。 (3) 置換後の語句が他語句と同一になった場合、以
後の検索を利用した処理が困難になることがある。
In particular, the batch search and replace method (1) and the method disclosed in Japanese Patent Laid-Open No. 3-338871 have the following problems. (1) The text is long and takes a long time to process. (2) Unexpected replacement may occur. (3) When the word after replacement becomes the same as another word, the subsequent processing using the search may be difficult.

【0005】図22及び図23は従来の一括検索置換方
法の表示例を示す図である。図22もとに上記(2)に
ついて説明する。例えば、図22の例文2201の語句
「コード」を「符号」に検索置換すると、語句「レコー
ド」も検索対象となり「レ符号」に置換されてしまう
(図22の例文2202)。図23をもとに上記(3)
について説明する。一例として図23の例文2301の
語句「図1」「図2」・・・の番号を繰り下げする場合
を考える。先に語句「図1」を「図2」に一括置換して
しまうと、図23の2302の様になり、「図1」より
置換された「図2」と、次に「図3」に置換すべき「図
2」との区別がつかなくなり、以後の「図2」から「図
3」への置換が難しくなる。
22 and 23 are views showing display examples of the conventional batch search and replace method. The above (2) will be described with reference to FIG. For example, when the word “code” in the example sentence 2201 in FIG. 22 is searched and replaced with “code”, the word “record” is also a search target and is replaced with “resign” (example sentence 2202 in FIG. 22). Based on FIG. 23, the above (3)
Will be described. As an example, consider a case where the numbers of the words “FIG. 1”, “FIG. 2” ... In the example sentence 2301 of FIG. If the word "Fig. 1" is replaced with "Fig. 2" at once, it becomes 2302 in Fig. 23. "Fig. 2" replaced from "Fig. 1" and then "Fig. 3" It becomes indistinguishable from "FIG. 2" to be replaced, and it becomes difficult to replace "FIG. 2" with "FIG. 3" thereafter.

【0006】また、の穴埋め方法は穴埋め用の特定の
記号を導入して検索を容易にしている以外はの一括検
索置換方法と同じであり、一括検索置換と同様の問題点
があり、の差し込み印刷方法では編集画面上で置換結
果を確認することができないという問題がある。
The method of filling in holes is the same as the method of collective search and replacement except that a specific symbol for filling in holes is introduced to facilitate the search, and it has the same problem as the collective search and replacement. The printing method has a problem that the replacement result cannot be confirmed on the edit screen.

【0007】本発明は、文章中の語句(文字列)を全て
別の語句に置換する作業を簡単に実現できる文章処理装
置を提供することを目的とする。
It is an object of the present invention to provide a sentence processing device which can easily realize the work of replacing all the phrases (character strings) in a sentence with another phrase.

【0008】[0008]

【課題を解決するための手段】本発明は上記課題の解決
を目的としてなされたもので、請求項1記載の発明で
は、文章処理装置に特定の文字列への置換を目的とした
置換符号と当該特定の文字列とを対応して格納する置換
対応表と、文章データ中に置換符号を入力する置換符号
入力手段と、前記置換対応表を参照して前記置換符号入
力手段にて入力された置換符号を特定の文字列に置き換
えて表示する表示手段と、前記表示手段にて表示された
文章データの表示画面上で置換符号より置換して表示さ
れた特定の文字列を変更する変更手段と、前記変更手段
による変更に応答して、前記置換対応表を変更すると共
に、文章データ中の同じ置換符号より置換されて表示さ
れている特定の文字列すべてを変更するように制御する
制御手段とを備えるものである。
SUMMARY OF THE INVENTION The present invention has been made for the purpose of solving the above-mentioned problems, and in the invention of claim 1, a replacement code for replacement with a specific character string is provided in a text processing device. A substitution correspondence table for storing the particular character string in correspondence with each other, a substitution code input means for inputting a substitution code in the text data, and the substitution code input means for referring to the substitution correspondence table. Display means for replacing and displaying the replacement code with a specific character string, and changing means for changing the specific character string replaced with the replacement code and displayed on the display screen of the sentence data displayed by the display means. In response to the change by the changing unit, the control unit changes the substitution correspondence table and controls all the specific character strings displayed by being replaced by the same substitution code in the text data. Equipped with Than it is.

【0009】[0009]

【作用】本発明は、特定の文字列への置換を目的とした
置換符号と当該文字列とを対応して格納する置換対応表
を作成し、この置換対応表をもとに文章データ中に入力
された置換符号を対応する特定の文字列に置き換えて表
示する。
According to the present invention, a substitution correspondence table for storing a substitution code for the purpose of substituting for a specific character string and the character string in correspondence is created, and based on this substitution correspondence table, a sentence correspondence data is created. The input replacement code is replaced with the corresponding specific character string and displayed.

【0010】そして、置換符号により置き換えて表示さ
れた特定の文字列が変更されると、置換対応表を変更す
ると共に、同一の置換符号により置き換えて表示された
特定の文字列全てを変更するように制御するものであ
る。
When the specific character string replaced and displayed by the replacement code is changed, the replacement correspondence table is changed and all the specified character strings replaced and displayed by the same replacement code are changed. To control.

【0011】[0011]

【実施例】図1は本発明にかかる文章処理装置のシステ
ム構成図であり、図2は本発明のシステム構成図であ
る。図3〜12は本発明の表示画面、文章データ及び置
換対応表を示す図である。図13は本発明を含む文章編
集プログラムのフローチャート図であり、図14は本発
明の文章中に新たに置換文字列を入力するフローチャー
ト図である。図15は本発明の文字入力を行うフローチ
ャート図であり、図16は本発明のカーソル移動のフロ
ーチャート図である。図17は本発明の領域(範囲)編
集処理のフローチャート図であり、図18は本発明の印
刷のフローチャート図である。図19は本発明の表示更
新のフローチャート図である。図20及び図21は本発
明の置換方法を説明するための図である。
1 is a system configuration diagram of a text processing apparatus according to the present invention, and FIG. 2 is a system configuration diagram of the present invention. 3 to 12 are views showing a display screen, text data and a substitution correspondence table of the present invention. 13 is a flow chart of a text editing program including the present invention, and FIG. 14 is a flow chart of newly inputting a replacement character string in the text of the present invention. FIG. 15 is a flowchart for inputting characters according to the present invention, and FIG. 16 is a flowchart for moving a cursor according to the present invention. FIG. 17 is a flow chart of the area (range) editing process of the present invention, and FIG. 18 is a flow chart of the printing of the present invention. FIG. 19 is a flowchart of the display update of the present invention. 20 and 21 are diagrams for explaining the replacement method of the present invention.

【0012】図1において、本発明にかかわる文章処理
装置は、システム全体の制御を司り、プログラムを実行
するCPU100と、アドレスバス、データバス及び各
種信号線から成るバス110と、プログラム、フォント
データ等を格納するROM101と、文章データ、置換
対応表、各種ワーキングエリア等に使用されるRAM1
02と、磁気ディスク装置などの外部記憶103と、キ
ーボード、タブレットなどの入力装置104と、CR
T、LCDなどの表示装置105と、レーザープリン
タ、サーマルプリンタなどの印刷装置106とから構成
される。
In FIG. 1, a text processing apparatus according to the present invention controls a whole system and executes a program, a CPU 100, a bus 110 including an address bus, a data bus and various signal lines, a program, font data, etc. ROM 101 for storing data, and RAM 1 used for text data, replacement correspondence table, various working areas, etc.
02, an external storage 103 such as a magnetic disk device, an input device 104 such as a keyboard and a tablet, and a CR
A display device 105 such as a T or LCD, and a printing device 106 such as a laser printer or a thermal printer.

【0013】図2において、本発明のシステムは、入力
装置より文字や編集指示を入力する入力手段200と、
文章作成・編集を実現する編集手段201と、編集手段
201の編集対象を、文章データ203、置換対応表2
04のどちらか一方に切り替える編集対象切替手段20
2と、作成・編集される文章のデータの文章データ20
3と、文章データ203に含まれる置換符号に対応する
置換文字列が格納される置換対応表204と、文章デー
タ中の置換符号を、置換対応表に基づき文字列に置換す
る置換手段205と、置換手段205によって置換符号
を置換文字列に置き換えた文章データを表示装置に出力
する表示手段206と、置換手段205によって置換符
号を置換文字列に置き換えた文章データを印刷装置に出
力する印刷手段207とから構成される。
In FIG. 2, the system of the present invention comprises an input means 200 for inputting characters and editing instructions from an input device,
Editing means 201 for realizing sentence creation / editing, and the editing target of the editing means 201 are the sentence data 203 and the substitution correspondence table 2
Edit target switching means 20 for switching to either 04
2 and the text data 20 of the text data to be created / edited
3, a replacement correspondence table 204 in which replacement character strings corresponding to the replacement codes included in the text data 203 are stored, and a replacement unit 205 that replaces the replacement code in the text data with the character string based on the replacement correspondence table, A display unit 206 that outputs the text data in which the replacement code is replaced by the replacement character string to the display device, and a printing unit 207 that outputs the text data in which the replacement code is replaced by the replacement character string to the printing device. Composed of and.

【0014】以下、本発明の動作を図3〜19をもとに
説明する。図3において、文章データ310は文章デー
タの格納状態の概念図である。図の升目が文字情報の1
単位を表し、中に書かれている文字は実際は2進数の文
字コード及び制御コードである。矩形で囲まれた「R
1」,「R2」,「R3」で示されているマークは置換
符号(のコード)である。
The operation of the present invention will be described below with reference to FIGS. In FIG. 3, the sentence data 310 is a conceptual diagram of the storage state of the sentence data. The grid in the figure is the text information 1
The characters that represent units and are actually written are binary character codes and control codes. "R surrounded by a rectangle
Marks indicated by "1", "R2", and "R3" are replacement codes (codes thereof).

【0015】置換対応表320には、各置換符号に対応
する文字列(置換文字列)が格納されている。本実施例
では1つの置換符号に16文字分のメモリが割り当てら
れており、置換符号「R1」には置換文字列「ワープ
ロ」、「R2」には「手帳型」が対応しており、「R
3」に対応する置換文字列はブランク、すなわち未定義
となっている。本実施例では置換符号は3個、各置換符
号に割り当てられる置換文字列は最大15文字(16文
字−終了コード1文字分)となっているが、これらの値
は大きくした方がより実用的である。
The substitution correspondence table 320 stores a character string (replacement character string) corresponding to each substitution code. In the present embodiment, a memory for 16 characters is allocated to one replacement code, the replacement character string “word processor” corresponds to the replacement code “R1”, and the “notebook type” corresponds to “R2”. R
The replacement character string corresponding to "3" is blank, that is, undefined. In this embodiment, there are three replacement codes, and the replacement character string assigned to each replacement code has a maximum of 15 characters (16 characters-1 end code), but it is more practical to increase these values. Is.

【0016】文章データ310が編集画面に表示された
状態が表示画面301である。置換符号は置換対応表に
基づき置換文字列に置き換わって表示されている。置換
文字列は他の文字列と識別できるように表示の状態を変
えてある。本実施例ではアッパーライン(上線)303
を付しているが、色や輝度を変えるようにしてもよい。
The state where the text data 310 is displayed on the edit screen is the display screen 301. The replacement code is displayed in place of the replacement character string based on the replacement correspondence table. The replacement character string has its display state changed so that it can be distinguished from other character strings. In this embodiment, the upper line (upper line) 303
However, the color and brightness may be changed.

【0017】編集画面の下部にガイダンス表示部分30
4が設けられている。ここにはカーソル302の位置等
の情報に加えて、カーソルが置換文字列上にあるか否か
を明示するエリア305がある。図3では置換符号「R
1」より置換された文字列上にカーソルがあるので、
「R1」が表示されている。置換文字列以外の文字列上
にカーソルがある場合はこのエリアは空白となる(図6
の605参照)。
A guidance display portion 30 is provided at the bottom of the editing screen.
4 are provided. In addition to information such as the position of the cursor 302, there is an area 305 that clearly indicates whether or not the cursor is on the replacement character string. In FIG. 3, the replacement code "R
Since the cursor is on the character string replaced from "1",
"R1" is displayed. If the cursor is on a character string other than the replacement character string, this area will be blank (Fig. 6).
605).

【0018】次に、置換文字列の修正について説明す
る。編集画面上で置換文字列を修正した場合、文章デー
タは更新されずに置換対応表が更新される。例えば図3
の表示画面301でカーソル302の位置は置換符号
「R1」より置換された文字列「ワープロ」上にある
が、ここに文字を挿入して「ワープロ」を「ワードプ
ロ」に修正すると、結果は図4の様になる。置換対応表
の「R1」に対応する文字列(図3の321)が「ワー
プロ」より「「ワードプロ」に更新され(図4の42
1)、文章データは未変更のままである(図4の42
1)。また、同一画面上の置換符号「R1」より置換さ
れた文字列すべて(図3の306〜308)が「ワープ
ロ」から「ワードプロ」に更新されて、表示は図4の4
01の様になる(406〜408)。
Next, the correction of the replacement character string will be described. When the replacement character string is corrected on the edit screen, the replacement correspondence table is updated without updating the text data. For example, in FIG.
The position of the cursor 302 on the display screen 301 of is on the character string "word processor" replaced by the replacement code "R1", but if you insert a character here and modify "word processor" to "word processor", the result will be It looks like Figure 4. The character string (321 in FIG. 3) corresponding to “R1” in the substitution correspondence table is updated from “word processor” to ““ word pro ”(42 in FIG. 4).
1), the text data remains unchanged (42 in FIG. 4).
1). Further, all the character strings (306 to 308 in FIG. 3) replaced by the replacement code “R1” on the same screen are updated from “word processing” to “word processing”, and the display is shown in FIG.
It becomes like 01 (406 to 408).

【0019】また、本発明では置換文字列と置換文字列
ではない文字列との間、又は置換文字列と別の置換文字
列との間にカーソルが位置している時、カーソルが両者
のどちらに属しているのかを操作者が指示することがで
きる。例えば図5でカーソルは文字列「分類」の先頭に
あり、ここで文字を挿入すれば文章データ510が更新
される。図6は文字列「分類」の先頭に文字「の」を挿
入した例である。文章データ610中に文字「の」が挿
入されている(図6の611)。一方、特定のキー操作
(ファンクションキーの使用等)によって、カーソルが
置換文字列「ワードプロセッサ」の末尾にあるとシステ
ムに解釈させることにより、入力された文字を置換文字
列の末尾に追加する(置換対応表520を更新する)こ
とができる。図7は置換文字列「ワードプロセッサ」り
末尾に長音文字「−」を追加した例である。置換対応表
720中に長音文字「−」が挿入されている(図7の7
21)。
Further, according to the present invention, when the cursor is positioned between the replacement character string and the character string which is not the replacement character string, or between the replacement character string and another replacement character string, the cursor is positioned on either side of the replacement character string. The operator can instruct whether it belongs to. For example, in FIG. 5, the cursor is located at the beginning of the character string “classification”, and if a character is inserted here, the sentence data 510 is updated. FIG. 6 shows an example in which the character "no" is inserted at the beginning of the character string "classification". The character “no” is inserted in the sentence data 610 (611 in FIG. 6). On the other hand, by causing the system to interpret that the cursor is at the end of the replacement character string "word processor" by a specific key operation (such as using a function key), the input character is added to the end of the replacement character string (replacement). The correspondence table 520 can be updated). FIG. 7 shows an example in which a long sound character "-" is added to the end of the replacement character string "word processor". A long sound character “-” is inserted in the substitution correspondence table 720 (7 in FIG. 7).
21).

【0020】次に、すでに作成された置換対応表をもと
に新たな文章を入力する方法を以下に説明する。図8〜
10は「日本語ワードプロセッサ」という文を、「日本
語」は通常の文字列で、「ワードプロセッサ」は置換文
字列で入力する手順を表したものである。今、カーソル
802が既に入力された文字列「日本語」の末尾にある
(図8)。ここで特定の操作(ファンクションキーの使
用等)で置換文字列入力メニューを呼び出す(図9)。
メニュー画面930に置換符号と置換文字列の一覧が表
示され、番号入力によって所望の置換文字列が選択され
て文章中に入力できるようになる。ここで1番(「R
1」)の「ワードプロセッサ」を選択すると、カーソル
位置にこの置換文字列が入力される(文章データ上は置
換符号「R1」が入力される。図10参照)。
Next, a method of inputting a new sentence based on the already created substitution correspondence table will be described below. Figure 8 ~
Reference numeral 10 represents a procedure for inputting a sentence "Japanese word processor", "Japanese" is a normal character string, and "word processor" is a replacement character string. Now, the cursor 802 is at the end of the already input character string "Japanese" (FIG. 8). Here, the replacement character string input menu is called by a specific operation (using a function key, etc.) (FIG. 9).
A list of replacement codes and replacement character strings is displayed on the menu screen 930, and a desired replacement character string is selected by inputting a number and can be input in a sentence. No. 1 ("R
1)) "word processor" is selected, this replacement character string is input at the cursor position (the replacement code "R1" is input on the text data. See FIG. 10).

【0021】置換文字列が定義されていない置換符号に
新たに置換文字列を定義する方法 置換符号を文章中に入力し、文章編集手段によって置換
文字列を定義する。この方法に基づく操作例を以下に示
す。
Method for newly defining a replacement character string in a replacement code for which a replacement character string is not defined: The replacement code is input into the sentence and the replacement character string is defined by the sentence editing means. An operation example based on this method is shown below.

【0022】図9の置換文字列入力メニュー930よ
り、置換文字列が未定義となっている置換符号「R3」
を選択すると図11の状態となる。置換符号「R3」に
は置換文字列が定義されていないので、編集画面上で置
換符号そのものが表示されている。置換符号の入力直
後、カーソルはこの置換符号上にある。文字入力先は置
換符号「R3」に対応する置換文字列の先頭または文字
列「日本語」の末尾のどちらか選択可能で、デフォルト
では前者になっている。よってこの状態から文字列を入
力することにより、置換符号「R3」に対する置換文字
列が定義される。例えば図11の状態より「処理装置」
と入力すると図12の様に置換符号「R3」の置換文字
列が「処理装置」と定義される。置換符号の定義を終了
するには、文字入力先の設定を切替える(図12の状態
でカーソルは置換文字列の末尾にあるので、入力先を置
換文字列の末尾かその次の文字列の先頭の2者より選択
可能。図12の様に置換文字列の後端が文末である場合
も、これを「次の文字列」と見なす。)か、カーソルを
置換文字列の外へ移動すればよい。
From the replacement character string input menu 930 of FIG. 9, the replacement code "R3" in which the replacement character string is undefined
When is selected, the state shown in FIG. 11 is obtained. Since the replacement character string is not defined in the replacement code “R3”, the replacement code itself is displayed on the edit screen. Immediately after entering the replacement code, the cursor is on this replacement code. The character input destination can be selected from either the beginning of the replacement character string corresponding to the replacement code "R3" or the end of the character string "Japanese", and the former is the default. Therefore, by inputting the character string in this state, the replacement character string for the replacement code "R3" is defined. For example, from the state of FIG.
12 is entered, the replacement character string of the replacement code "R3" is defined as "processing device" as shown in FIG. To end the definition of the replacement code, switch the setting of the character input destination (since the cursor is at the end of the replacement character string in the state of FIG. 12, the input destination is the end of the replacement character string or the beginning of the next character string). It can be selected from the two. Even if the rear end of the replacement character string is the end of the sentence as shown in Fig. 12, this is regarded as the "next character string".) Or, if the cursor is moved outside the replacement character string. Good.

【0023】新たな置換対応表を作成しつつ新たな文章
を入力する操作は上記説明において置換符号「R3」だ
けでなく置換符号「R1」、「R2」についても[未定
義]となっている状態から入力を開始するものである。
The operation for inputting a new sentence while creating a new replacement correspondence table is "undefined" not only for the replacement code "R3" but also for the replacement codes "R1" and "R2". Input is started from the state.

【0024】図13において、まずステップ1301で
システムやメモリーの初期化を行う。次にステップ13
02で入力装置(キーボード等)より入力された内容を
判別し、ステップ1303〜1308に分岐する。
In FIG. 13, first, in step 1301, the system and memory are initialized. Next step 13
In 02, the content input from the input device (keyboard or the like) is determined, and the process branches to steps 1303 to 1308.

【0025】ステップ1303では、入力装置より置換
文字列の入力が指示された場合は、ここに分岐する(詳
細は図14参照)。ステップ1304では、入力装置よ
り文字が入力された場合の分岐先である(詳細は図15
参照)。ステップ1305では、カーソル移動が指示さ
れた場合の分岐先である(詳細は図16参照)。ステッ
プ1306では、領域(範囲)編集、すなわち指定領域
の移動、複写、削除等が指示された場合の分岐先である
(図17参照)。ステップ1307では、入力装置より
印刷された場合の分岐先である(図18参照)。ステッ
プ1308では、上記以外の、本発明にかかわらない編
集機能の指示が入力された場合はここに分岐する。(詳
細は省略)。
In step 1303, when the input device instructs the input of the replacement character string, the process branches to this (see FIG. 14 for details). Step 1304 is a branch destination when a character is input from the input device (see FIG. 15 for details).
reference). In step 1305, it is a branch destination when the cursor movement is instructed (see FIG. 16 for details). In step 1306, the area (range) is edited, that is, the branch destination when an instruction to move, copy, or delete the designated area is issued (see FIG. 17). In step 1307, the branch destination when printing is performed from the input device (see FIG. 18). In step 1308, if an instruction for an editing function that is not related to the present invention other than the above is input, the processing branches to this. (Details omitted).

【0026】文字入力や各種編集処理(ステップ130
3〜1308)の完了後、ステップ1309で画面表示
を更新する(このステップの詳細は図19を参照のこ
と)。このステップの完了後、ステップ1302に戻
る。
Character input and various editing processes (step 130)
3 to 1308), the screen display is updated in step 1309 (see FIG. 19 for details of this step). After completion of this step, the process returns to step 1302.

【0027】図14において、置換対応表をメニュー形
式で図9のように表示する(ステップ1401)。次い
でステップ1402で入力装置よりの入力内容を判断す
る。置換文字列の一つが選択された場合は次のステップ
1403に移行する。キャンセルが指示されたならステ
ップ1403はスキップする。ステップ1403は選択
された置換文字列を文章中に入力する部分である。ここ
では実際は文章データ中に文字列ではなく置換符号を入
力する(図10参照)。
In FIG. 14, the replacement correspondence table is displayed in the menu format as shown in FIG. 9 (step 1401). Next, in step 1402, the input content from the input device is determined. If one of the replacement character strings is selected, the process moves to the next step 1403. If cancellation is instructed, step 1403 is skipped. Step 1403 is a part for inputting the selected replacement character string into the text. Here, actually, a substitution code is input in the text data instead of a character string (see FIG. 10).

【0028】図15において、まずステップ1501に
て入力先を判別する(入力先の設定はカーソル移動ルー
チンで行われる)。入力先が置換文字列でない場合はス
テップ1503へ分岐して、文章データ中に文字データ
を入力する。入力先が置換文字列である場合はステップ
1502に進み、該当置換文字列の字数をチェックす
る。入力によって置換文字列の許容字数(本実施例では
15字)を越えるならばステップ1505に分岐し、エ
ラーメッセージを表示する。それ以外はステップ150
4に進み、置換対応表中に文字データを入力する。ステ
ップ1503、1504、1505の終了後、カーソル
の位置を1つ先へ進める(ステップ1506)。置換文
字列の字数オーバー(ステップ1505)が発生した場
合は文字入力は行われないが、置換文字列の後に続けて
文字を入力できるよう、あえてカーソルを進めている。
In FIG. 15, first, in step 1501, the input destination is determined (the input destination is set by the cursor moving routine). If the input destination is not the replacement character string, the process branches to step 1503 to input the character data in the text data. If the input destination is the replacement character string, the process advances to step 1502 to check the number of characters of the replacement character string. If the input exceeds the allowable number of replacement character strings (15 characters in this embodiment), the process branches to step 1505 and an error message is displayed. Otherwise, step 150
Proceed to step 4 and enter character data in the substitution correspondence table. After completion of steps 1503, 1504, and 1505, the cursor position is moved forward by one (step 1506). When the number of characters in the replacement character string is exceeded (step 1505), no character is input, but the cursor is intentionally advanced so that a character can be continuously input after the replacement character string.

【0029】図16において、カーソル移動の他に、カ
ーソルが置換文字列と通常の文字列との境界にある場合
等に於ける文字入力先の選択を行う。ステップ1601
でカーソル移動を行った後、ステップ1602〜160
4でカーソル位置とカーソルの1つ前の文字をチェック
する。
In FIG. 16, in addition to moving the cursor, the character input destination is selected when the cursor is at the boundary between the replacement character string and the normal character string. Step 1601
After moving the cursor in step 1602-160
At 4, check the cursor position and the character before the cursor.

【0030】カーソル位置の文字が置換文字列の先頭の
文字で、かつカーソルの前の文字が別の置換文字列の末
尾であった場合、ステップ1605に分岐する。このス
テップでは、一連の操作(ファンクションキーの入力
等)によって文字入力先を、(a)カーソル位置の置換
文字列の先頭(文字入力は置換対応表に反映される)、
(b)カーソルの前の置換文字列の末尾(文字入力は置
換対応表に反映される)、(c)2つの置換文字列の間
(文字入力は文章データに反映される)、から選択す
る。指定なき場合は(a)をデフォルトとする。
If the character at the cursor position is the first character of the replacement character string and the character before the cursor is the end of another replacement character string, the process branches to step 1605. In this step, the character input destination is set to (a) the beginning of the replacement character string at the cursor position (the character input is reflected in the replacement correspondence table) by a series of operations (input of function keys, etc.),
Select from (b) the end of the replacement character string before the cursor (character input is reflected in the replacement correspondence table), or (c) between two replacement character strings (character input is reflected in text data). . If not specified, the default is (a).

【0031】カーソル位置の文字が置換文字列の先頭の
文字で、カーソルの前の文字が通常の文字であった場
合、ステップ1606に分岐し、入力先を(a)カーソ
ル位置の置換文字列の先頭(文字入力は置換対応表に反
映される)、又は、(b)カーソル位置の前に通常の文
字として入力(文字入力は文章データに反映される)の
2者より選択する。尚、デフォルトは(a)である。
When the character at the cursor position is the first character of the replacement character string and the character before the cursor is a normal character, the process branches to step 1606, and the input destination is (a) the replacement character string at the cursor position. It is selected from the two of the beginning (character input is reflected in the substitution correspondence table) or (b) input as a normal character before the cursor position (character input is reflected in text data). The default is (a).

【0032】カーソル位置の文字が置換文字列で、かつ
その置換文字列の先頭でない場合はステップ1607に
分岐する。入力先はカーソル位置の置換文字列に設定さ
れ、選択は行わない。
If the character at the cursor position is the replacement character string and is not the head of the replacement character string, the process branches to step 1607. The input destination is set to the replacement character string at the cursor position, and no selection is made.

【0033】カーソル位置の文字が置換文字列でなく、
カーソルの前の文字が置換文字列の末尾である場合(動
作説明の図5がこれに相当する)、ステップ1608に
分岐し、入力先は(a)カーソル位置に通常の文字とし
て入力(文字入力は文章データに反映される)、(b)
カーソルの前の置換文字列の末尾(文字入力は置換対応
表に反映される)の2者より選択する。デフォルトは
(a)である。
If the character at the cursor position is not the replacement character string,
When the character before the cursor is the end of the replacement character string (this corresponds to FIG. 5 of the operation explanation), the process branches to step 1608, and the input destination is (a) input as a normal character at the cursor position (character input). Is reflected in the text data), (b)
Select from the last two characters of the replacement character string before the cursor (character input is reflected in the replacement correspondence table). The default is (a).

【0034】上記のどれにも該当しない場合、すなわち
カーソル位置の文字もその1つ前の文字もともに置換文
字列でない場合は、ステップ1609に分岐する。入力
先は通常の文字列として、選択は行わない。
If none of the above is true, that is, if neither the character at the cursor position nor the character before it is a replacement character string, the process branches to step 1609. The input destination is a normal character string, and no selection is made.

【0035】図17において、領域(範囲)は文章編集
のその他の処理(図13の1308)で既に指定されて
いるものとする。指定された領域の境界がある置換文字
列上にあり、領域の移動、削除等でこの置換文字列が分
割されてしまうことが起こり得る。一方、置換文字列は
文章データ上では単一の置換符号であり分割不可能であ
るので、この場合は文章データ中で置換符号を置換文字
列に置き換えてしまう(表示上の置き換えではなく、実
際に文章データ上で置き換える)。置き換えられるのは
領域の先頭の境界で分割される置換文字列(に置き換え
られた置換符号)と領域の末尾の境界で分割される置換
文字列(に置き換えられた置換符号)である。領域に完
全に含まれる置換文字列(に置き換えられた置換符号)
は置換符号のままである。
In FIG. 17, it is assumed that the area (range) has already been designated in the other processing of text editing (1308 in FIG. 13). There is a possibility that the boundary of the designated area is on the replacement character string and the replacement character string is divided by moving or deleting the area. On the other hand, the replacement character string is a single replacement code in the text data and is indivisible, so in this case, the replacement code is replaced with the replacement character string in the text data (not the replacement on the display, but actually Replaced on the text data). The replacement is performed by a replacement character string (replacement code replaced by) at the boundary of the beginning of the area and a replacement character string (replacement code replaced by) by the boundary of the end of the area. Replacement string completely contained in the area (replacement code replaced by)
Remains the permutation code.

【0036】これらの前処理はステップ1701〜17
02(領域の先頭の境界の処理)及びステップ1703
〜1704(領域の末尾の境界の処理)で行われる。次
いでステップ1705で領域編集処理(移動、複写、削
除等)を実行する。ステップ1706〜1707は後処
理である。領域編集処理の実行後、指定された領域内の
文章データが消去されていない場合(移動と削除以外の
処理を行った場合)、前処理で置換符号から置換文字列
に置き換えられた部分を元の置換符号に復元する。
These preprocessing steps 1701 to 17
02 (processing of the boundary at the beginning of the area) and step 1703
˜1704 (processing of the boundary at the end of the area). Next, in step 1705, area editing processing (move, copy, delete, etc.) is executed. Steps 1706 to 1707 are post-processing. If the text data in the specified area has not been erased after the area edit processing has been performed (processing other than moving and deleting has been performed), the part that was replaced with the replacement character string from the replacement code in the preprocessing is the original To the replacement code of.

【0037】図18において、文章データ上の、次に印
刷する文字を指し示すポインタを設ける。ステップ18
01でこのポインタの初期値を設定する。初期値は通常
文章データの先頭で、領域の先頭の場合も有り得る。以
後、以下のステップをループ処理する。
In FIG. 18, a pointer is provided which points to the character to be printed next on the text data. Step 18
In 01, the initial value of this pointer is set. The initial value is usually the beginning of the text data, and may be the beginning of the area. After that, the following steps are looped.

【0038】ステップ1802では、ポインタが印刷終
了位置(文章データの末尾、又は領域の末尾)に達した
場合は処理を終了する。それ以外はステップ1803へ
移る。 ステップ1803では、ポインタが置換符号を
指しているならばステップ1805へ、それ以外はステ
ップ1804へ分岐する。ステップ1804では、印刷
装置へポインタの指すデータを出力する(1文字印刷さ
れる)。ステップ1805では、置換符号に対応する置
換文字列を印刷する。詳細は後述のステップ1810〜
1813を参照。ステップ1806では、ポインタを進
めて次の文字を指定する。テップ1806の終了後、ス
テップ1802に戻り処理ループを繰り返す。
In step 1802, if the pointer reaches the print end position (the end of the text data or the end of the area), the process ends. Otherwise, the process moves to step 1803. In step 1803, if the pointer points to the replacement code, the process branches to step 1805; otherwise, the process branches to step 1804. In step 1804, the data pointed to by the pointer is output to the printing device (one character is printed). In step 1805, the replacement character string corresponding to the replacement code is printed. Details will be described later in step 1810.
See 1813. In step 1806, the pointer is advanced to specify the next character. After the end of step 1806, the process returns to step 1802 to repeat the processing loop.

【0039】置換文字列の印刷ルーチン(ステップ18
04)の詳細をステップ1810〜1813に示す。こ
こでは、置換文字列の印刷すべき文字を指し示す。第2
のポインタを設ける。ステップ1810でこの第2ポイ
ンタを初期化する。初期値は文章データのポインタが示
す置換符号に対応する置換文字列(置換対応表上のデー
タ)の先頭である。以後、以下のステップをループ処理
する。
Replacement character string printing routine (step 18)
Details of 04) are shown in steps 1810 to 1813. Here, it indicates the character to be printed in the replacement character string. Second
The pointer of is provided. In step 1810, this second pointer is initialized. The initial value is the beginning of the replacement character string (data on the replacement correspondence table) corresponding to the replacement code indicated by the pointer of the text data. After that, the following steps are looped.

【0040】ステップ1811では、第2ポインタが置
換文字列の終了位置に達した(終了コードを指した)場
合はこのルーチンを抜けて次のステップ(ステップ18
06)へ進む。それ以外はステップ1812へ進む。ス
テップ1812では、印刷装置へ第2ポインタの指すデ
ータを出力する(1文字印刷される)。ステップ181
3では、第2ポインタを進めて次の文字を指定する。ス
テップ1813の終了後、ステップ1811に戻り処理
ループを繰り返す。
In step 1811, if the second pointer reaches the end position of the replacement character string (points to the end code), this routine is exited and the next step (step 18)
Proceed to 06). Otherwise, proceed to step 1812. In step 1812, the data pointed by the second pointer is output to the printing device (one character is printed). Step 181
In 3, the second pointer is advanced to specify the next character. After completion of step 1813, the process returns to step 1811 to repeat the processing loop.

【0041】図19において、文章データ上の、次に表
示する文字を指し示すポインタを設ける。ステップ19
01でこのポインタの初期値を設定する。初期値は画面
のホームポジションに表示される文字である。以後、以
下のステップをループ処理する。
In FIG. 19, a pointer is provided which points to the character to be displayed next on the text data. Step 19
In 01, the initial value of this pointer is set. The initial value is the character displayed at the home position on the screen. After that, the following steps are looped.

【0042】ステップ1902では、ポインタが文章の
末尾に達したか、画面の末尾まで表示し終えた場合はス
テップ1907に分岐する。それ以外はステップ190
3へ移る。ステップ1903では、ポインタが置換符号
を指しているならばステップ1905へ、それ以外はス
テップ1904へ分岐する。ステップ1904では、表
示装置へポインタの指すデータを出力する(1文字表示
される)。ステップ1905では、置換符号に対応する
置換文字列を表示する。詳細は後述のステップ1910
〜1915を参照。ステップ1906では、ポインタを
進めて次の文字を指定する。ステップ1906の終了
後、ステップ1902に戻り処理ループを繰り返す。ス
テップ1907では、ガイダンス表示を更新して、処理
を終了する。
In step 1902, when the pointer reaches the end of the sentence or when the display is completed up to the end of the screen, the process branches to step 1907. Otherwise, step 190
Move to 3. In step 1903, if the pointer points to the replacement code, the process branches to step 1905; otherwise, the process branches to step 1904. In step 1904, the data pointed to by the pointer is output to the display device (one character is displayed). In step 1905, the replacement character string corresponding to the replacement code is displayed. Details will be described later in step 1910.
See -1915. In step 1906, the pointer is advanced to specify the next character. After the end of step 1906, the process returns to step 1902 and the processing loop is repeated. In step 1907, the guidance display is updated and the process ends.

【0043】置換文字列の表示ルーチン(ステップ19
05)の詳細をステップ1910〜1915に示す。こ
こでは、置換文字列の表示すべき文字を指し示す、第2
のポインタを設ける。ステップ1910でこの第2ポイ
ンタを初期化する。初期値は文章データのポインタが示
す置換符号に対応する置換文字列(置換対応表上のデー
タ)の先頭である。以後、以下のステップをループ処理
する。
Replacement character string display routine (step 19)
The details of 05) are shown in steps 1910 to 1915. Here, the second character indicating the character to be displayed in the replacement character string
The pointer of is provided. In step 1910, this second pointer is initialized. The initial value is the beginning of the replacement character string (data on the replacement correspondence table) corresponding to the replacement code indicated by the pointer of the text data. After that, the following steps are looped.

【0044】ステップ1911では、第2ポインタが置
換文字列の終了位置に達した(終了コードを指した)
か、画面の末尾まで表示し終えた場合はループを抜けて
ステップ1914へ分岐する。それ以外はステップ19
12へ進む。ステップ1912では、表示装置へ第2ポ
インタの指すデータを出力する(1文字表示される)。
このとき文字に上線を付加することを指示する。
In step 1911, the second pointer reaches the end position of the replacement character string (points to the end code).
Alternatively, when the display is completed up to the end of the screen, the process exits the loop and branches to step 1914. Otherwise, step 19
Proceed to 12. In step 1912, the data pointed by the second pointer is output to the display device (one character is displayed).
At this time, it is instructed to add an overline to the character.

【0045】ステップ1913では、第2ポインタを進
めて次の文字を指定する。ステップ1911に戻り処理
ループを繰り返す。ステップ1914〜1915では、
第2ポインタが初期値のまま変更されていない場合、す
なわち置換文字列の字数が0文字である場合は、画面に
置換符号をそのまま出力する。これらのステップを終了
した後、ループを抜けて次のステップ(ステップ190
6)へ進む。
In step 1913, the second pointer is advanced to specify the next character. Returning to step 1911, the processing loop is repeated. In steps 1914-1915,
When the second pointer remains unchanged from the initial value, that is, when the number of characters in the replacement character string is 0, the replacement code is output as it is on the screen. After completing these steps, exit the loop and proceed to the next step (step 190
Proceed to 6).

【0046】置換対応表と文章データとの対応について
は、原則として置換対応表は文章データと1対1に対応
する。よって、作成・編集した文章をセーブする場合、
文章データと置換対応表が一括して(1組のデータとし
て)外部記憶に記録される。また、外部記憶に記録され
た文章をロードする場合は、文章データと置換対応表の
両方がRAMに呼び出される。よって、それ以前に存在
した置換対応表の情報は消去され、ロードされたものに
更新される。尚、置換対応表のみ外部記憶に保存してお
き、適宜呼び出すとも可能である。また、RAM上の文
章データを消去しても、置換対応表のデータは消去され
ない。よって、次回に新たに作成する文章にこの置換対
応表を流用できる。置換対応表の最新のデータはバック
アップされる。すなわち、データは不揮発性メモリーに
記憶されているか、又は電源遮断時(又は文章作成プロ
グラム終了時)に外部記憶に記録され、再起動時に外部
記憶より呼び出される。
Regarding the correspondence between the substitution correspondence table and the text data, in principle, the substitution correspondence table corresponds to the text data one to one. Therefore, when saving the created / edited text,
The text data and the replacement correspondence table are collectively recorded (as a set of data) in the external storage. Further, when loading a sentence recorded in the external storage, both the sentence data and the replacement correspondence table are called into the RAM. Therefore, the information in the substitution correspondence table that existed before that time is erased and updated to the loaded one. It is also possible to save only the replacement correspondence table in the external storage and call it as appropriate. Further, even if the text data on the RAM is erased, the data in the substitution correspondence table is not erased. Therefore, this replacement correspondence table can be used for the sentence newly created next time. The latest data in the replacement correspondence table is backed up. That is, the data is stored in the non-volatile memory, or is recorded in the external storage when the power is shut off (or when the text creation program ends), and is recalled from the external storage when restarting.

【0047】置換符号の数を本実施例の3個より大幅に
多く設けた場合は、一部を前述の様に文書毎に固有のも
のとし、他を文章編集装置のシステムに常駐させ、文章
データとは独立したシステム固有の文書間共通データと
する。共通データ扱いの置換対応表は文章セーブ時には
文章データと共にセーブされず、文章ロード時に消去さ
れることはない。文書間共通データ扱いの置換対応表デ
ータはバックアップされる。つまり、不揮発性メモリー
に記憶されているか、システム起動時に外部記憶より呼
び出される。
When the number of replacement codes is set to be significantly larger than the number of three in the present embodiment, a part is made unique to each document as described above, and the other is made resident in the system of the text editing device to make a text. It is common data between documents that is system-specific and independent of data. The replacement correspondence table treated as common data is not saved together with the text data when the text is saved, and is not deleted when the text is loaded. The replacement correspondence table data that is handled as common data between documents is backed up. That is, it is stored in the non-volatile memory or called from the external storage when the system is started.

【0048】本発明の実施は以下の効果をもたらす。 (1) 置換作業を通常の文章編集手段によって実現で
きる。
Implementation of the present invention brings the following effects. (1) The replacement work can be realized by a normal text editing means.

【0049】例えば、文章編集手段にて、文中の「コー
ド」なる語句を「符号」に修正すると、同文書中のすべ
ての語句「コード」が「符号」に更新されることになる
(図20参照)。
For example, when the word “code” in the sentence is corrected to “code” by the text editing means, all the words “code” in the same document are updated to “code” (FIG. 20). reference).

【0050】(2) 処理に要する時間が短い。文章デ
ータの検索置換では、文章が長大である場合や、該当す
る文字列が多数存在する場合処理に長い処理時間を要す
るが、本発明は対応表データのみ更新するため短い所要
時間で対処可能である。
(2) The processing time is short. In the search and replacement of text data, a long processing time is required when the text is long or there are many corresponding character strings, but the present invention updates only the correspondence table data, and therefore can be handled in a short time. is there.

【0051】(3) 不要な置換処理を回避できる。特
定の語句を置換符号として入力することにより、まぎら
わしい他の語句と区別して処理することができる。図2
0の例文2001で、語句「コード」(2002、20
03、2005)をある置換符号で表し、語句「レコー
ド」(2004)を別の置換符号(又は通常の文字列)
で表せば、「コード」を別の文字列に置換しても「レコ
ード」は影響されない(図20の2031)。
(3) Unnecessary replacement processing can be avoided. By inputting a specific word / phrase as a replacement code, it is possible to perform processing while distinguishing it from other misleading words / phrases. Figure 2
In the example sentence 2001 of 0, the phrase “code” (2002, 20
03, 2005) with one substitution code, and the phrase "record" (2004) with another substitution code (or normal character string)
In other words, even if the “code” is replaced with another character string, the “record” is not affected (2031 in FIG. 20).

【0052】(4) 置換結果が他の語句と同じになっ
てしまっても識別できる。置換符号が異なっていれば対
応する文字列が同一でも区別できる。従来技術の問題点
で挙げた例をとると、語句「図1」、「図2」に別個の
置換符号が割り当てられていれば、これらの番号を繰り
下げる際、まず「図1」を「図2」に置換し(結果は図
21の2101)、次いで「図2」を「図3」に置換す
ることができる(図21の2131)。直前に「図1」
より「図2」に置換された語句2103、2105が同
じく「図2」と表示されている語句2101、2104
と異なる置換符号で現されているからである。
(4) It can be identified even if the replacement result is the same as other words. If the replacement codes are different, the corresponding character strings can be distinguished even if they are the same. Taking the examples given in the problems of the prior art, if separate replacement codes are assigned to the phrases "Fig. 1" and "Fig. 2", when the numbers are moved down, "Fig. 1" 2 ”(result is 2101 in FIG. 21), and then“ FIG. 2 ”can be replaced with“ FIG. 3 ”(2131 in FIG. 21). Just before "Figure 1"
The phrases 2103 and 2105 replaced by “FIG. 2” are also displayed as “FIG. 2” 2101 and 2104.
This is because it is expressed by a substitution code different from

【0053】[0053]

【発明の効果】本発明によれば、従来おこりえた問題点
をなくし、より使いかってのよい文章処理装置が提供可
能である。
According to the present invention, it is possible to eliminate the problems that have occurred in the past and to provide a sentence processing device that is more usable.

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

【図1】本発明にかかる文章処理装置のシステム構成図
である。
FIG. 1 is a system configuration diagram of a text processing device according to the present invention.

【図2】本発明のシステム構成図である。FIG. 2 is a system configuration diagram of the present invention.

【図3】本発明の表示画面、文章データ及び置換対応表
を示す図である。
FIG. 3 is a diagram showing a display screen, text data, and a substitution correspondence table of the present invention.

【図4】本発明の表示画面、文章データ及び置換対応表
を示す図である。
FIG. 4 is a diagram showing a display screen, text data, and a substitution correspondence table of the present invention.

【図5】本発明の表示画面、文章データ及び置換対応表
を示す図である。
FIG. 5 is a diagram showing a display screen, text data, and a substitution correspondence table of the present invention.

【図6】本発明の表示画面、文章データ及び置換対応表
を示す図である。
FIG. 6 is a diagram showing a display screen, text data, and a substitution correspondence table of the present invention.

【図7】本発明の表示画面、文章データ及び置換対応表
を示す図である。
FIG. 7 is a diagram showing a display screen, text data, and a substitution correspondence table of the present invention.

【図8】本発明の表示画面、文章データ及び置換対応表
を示す図である。
FIG. 8 is a diagram showing a display screen, text data, and a substitution correspondence table of the present invention.

【図9】本発明の表示画面、文章データ及び置換対応表
を示す図である。
FIG. 9 is a diagram showing a display screen, text data, and a substitution correspondence table of the present invention.

【図10】本発明の表示画面、文章データ及び置換対応
表を示す図である。
FIG. 10 is a diagram showing a display screen, text data, and a substitution correspondence table of the present invention.

【図11】本発明の表示画面、文章データ及び置換対応
表を示す図である。
FIG. 11 is a diagram showing a display screen, text data, and a substitution correspondence table of the present invention.

【図12】本発明の表示画面、文章データ及び置換対応
表を示す図である。
FIG. 12 is a diagram showing a display screen, text data, and a substitution correspondence table of the present invention.

【図13】本発明を含む文章編集プログラムのフローチ
ャート図である。
FIG. 13 is a flowchart of a text editing program including the present invention.

【図14】本発明の文章中に新たに置換文字列を入力す
るフローチャート図である。
FIG. 14 is a flow chart diagram for newly inputting a replacement character string in a sentence of the present invention.

【図15】本発明の文字入力を行うフローチャート図で
ある。
FIG. 15 is a flowchart for inputting characters according to the present invention.

【図16】本発明のカーソル移動のフローチャート図で
ある。
FIG. 16 is a flowchart of cursor movement according to the present invention.

【図17】本発明の領域(範囲)編集処理のフローチャ
ート図である。
FIG. 17 is a flowchart of the area (range) editing processing according to the present invention.

【図18】本発明の印刷のフローチャート図である。FIG. 18 is a flowchart of printing according to the present invention.

【図19】本発明の表示更新のフローチャート図であ
る。
FIG. 19 is a flow chart of display update of the present invention.

【図20】本発明の置換方法を説明するための図であ
る。
FIG. 20 is a diagram for explaining the replacement method of the present invention.

【図21】本発明の置換方法を説明するための図であ
る。
FIG. 21 is a diagram for explaining the replacement method of the present invention.

【図22】従来の一括検索置換方法の表示例を示す図で
ある。
FIG. 22 is a diagram showing a display example of a conventional batch search and replace method.

【図23】従来の一括検索置換方法の表示例を示す図で
ある。
FIG. 23 is a diagram showing a display example of a conventional batch search and replace method.

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

100 CPU 110 バス 101 ROM 102 RAM 103 外部記憶 104 入力装置 105 表示装置 106 印刷装置 200 入力手段 201 編集手段 202 編集対象切替手段 203 文章データ 204 置換対応表 205 置換手段 206 表示手段 207 印刷手段 100 CPU 110 Bus 101 ROM 102 RAM 103 External Storage 104 Input Device 105 Display Device 106 Printing Device 200 Input Means 201 Editing Means 202 Editing Object Switching Means 203 Text Data 204 Replacement Correspondence Table 205 Replacement Means 206 Display Means 207 Printing Means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 特定の文字列への置換を目的とした置換
符号と当該特定の文字列とを対応して格納する置換対応
表と、 文章データ中に置換符号を入力する置換符号入力手段
と、 前記置換対応表を参照して前記置換符号入力手段にて入
力された置換符号を特定の文字列に置き換えて表示する
表示手段と、 前記表示手段にて表示された文章データの表示画面上で
置換符号より置換して表示された特定の文字列を変更す
る変更手段と、 前記変更手段による変更に応答して、前記置換対応表を
変更すると共に文章データ中の同じ置換符号より置換さ
れて表示されている特定の文字列すべてを変更するよう
に制御する制御手段とを備えたことを特徴とする文章処
理装置。
1. A replacement correspondence table for storing a replacement code for the purpose of replacing with a specific character string and the specific character string in correspondence with each other, and a replacement code input means for inputting the replacement code into the text data. On the display screen of the sentence data displayed by the display unit, a display unit that refers to the replacement correspondence table and replaces the replacement code input by the replacement code input unit with a specific character string and displays the replacement string. Changing means for changing a specific character string displayed by replacing with the replacement code, and in response to the change by the changing means, the replacement correspondence table is changed and replaced with the same replacement code in the text data and displayed. And a control means for controlling to change all specified character strings.
JP5237762A 1993-09-24 1993-09-24 Document processor Pending JPH0793316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5237762A JPH0793316A (en) 1993-09-24 1993-09-24 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5237762A JPH0793316A (en) 1993-09-24 1993-09-24 Document processor

Publications (1)

Publication Number Publication Date
JPH0793316A true JPH0793316A (en) 1995-04-07

Family

ID=17020079

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5237762A Pending JPH0793316A (en) 1993-09-24 1993-09-24 Document processor

Country Status (1)

Country Link
JP (1) JPH0793316A (en)

Similar Documents

Publication Publication Date Title
EP0315957B1 (en) Word processor
JPH0793316A (en) Document processor
US4789255A (en) Correction buffer
JPS6320666A (en) Document processor
JPS6318780B2 (en)
JP4189040B2 (en) Sentence proofreading apparatus and proofreading method
EP0204147A2 (en) Word processor capable of automatic titling of documents
JP2713924B2 (en) Document editing device
JP3052339B2 (en) Document data processing device
JP2922372B2 (en) Text processing device in the area
JP2606579B2 (en) Character display device
JPH06214789A (en) Device for supporting fuzzy rule development
JPH0552966B2 (en)
JPH04282755A (en) Word processor
JP2002189716A (en) Document editing device
JPS6320621A (en) Editing printer
JPH0581242A (en) Layout editor
JPH04337861A (en) Document generation device
JPH0744541A (en) Word processor and display method in the word processor
JPH0414169A (en) Document processor
JPS6389980A (en) Processing system for positioning of detail description in logic diagram generation processor
JPH06325111A (en) Cad device
JPH06236375A (en) Word processor and document proofreading method
JPS63101925A (en) Control system for logical graphic control level printing
JPH0619894A (en) Document processor