JPH07200577A - Document preparation device and document printing method therefor - Google Patents

Document preparation device and document printing method therefor

Info

Publication number
JPH07200577A
JPH07200577A JP5335267A JP33526793A JPH07200577A JP H07200577 A JPH07200577 A JP H07200577A JP 5335267 A JP5335267 A JP 5335267A JP 33526793 A JP33526793 A JP 33526793A JP H07200577 A JPH07200577 A JP H07200577A
Authority
JP
Japan
Prior art keywords
character
data
document
replacement
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP5335267A
Other languages
Japanese (ja)
Inventor
Ikumi Irioka
郁美 入岡
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP5335267A priority Critical patent/JPH07200577A/en
Publication of JPH07200577A publication Critical patent/JPH07200577A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the rewrite operations of character data and to improve operability and practicality by inputting the character data to be replaced, replacing the specified character data with replacing character data and printing them. CONSTITUTION:After a document is prepared, a cursor is moved onto an optional character by using a keyboard 4 and a selection/execution key is pressed. Thus, a replacement object character is established and modification information for the replacement object character is stored in a blank modification buffer 32 inside a RAM 3. Thereafter, a replacing character is inputted by using the keyboard 4. Thus, the replacing character is established and stored in a replacing character storage butter 33 inside the RAM 3. Thereafter, by pressing a printing specifying key on the keyboard 4, a CPU 1 reads the replacing character data from the replacing character storage butter 33 corresponding to the contents of the blank character modification butter 32, replaces original character data (the replacement object characters) with the replacing character data and prints them.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、日本語ワードプロセッ
サ等の文書作成装置及びその文書印刷方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document creating apparatus such as a Japanese word processor and a document printing method thereof.

【0002】[0002]

【従来の技術】日本語ワードプロセッサ等の文書作成装
置を用いて、例えば長文穴埋め問題等の試験問題用紙を
作成する場合、長文全体を一旦作成した後、長文中の解
答を求める部分の文字や文字列を空白や無意味な記号等
に置き換えるといった作業をおこなっていた。
2. Description of the Related Art When preparing a test question sheet such as a fill-in-the-blank question using a document creation device such as a Japanese word processor, the whole long sentence is created once, and then the characters or characters of the part for which the answer is sought in the long sentence. I was working on replacing columns with blanks, meaningless symbols, etc.

【0003】従来、このような文字や文字列の置き換え
はすべて試験問題作者自らが手入力で行っており、要す
るに記憶された文書データそのものを部分的に書き替え
ることによって行われる。
Conventionally, all such replacements of characters and character strings have been manually input by the test question author himself, and in short, they are performed by partially rewriting the stored document data itself.

【0004】したがって、その作業にユーザは負荷を強
いられることになる。また、文書データ自体を書き換え
てしまうため、場合によっては、問題の解答を含んだ文
書データへの復元作業を行う必要も生じる。
Therefore, the user is forced to load the work. Further, since the document data itself is rewritten, it may be necessary to restore the document data including the answer to the question in some cases.

【0005】[0005]

【発明が解決しようとする課題】本発明はこのような課
題を解決するためのものであり、試験問題用紙等の文書
データ中の任意のデータを空白や記号等の無意味なデー
タに置き換えて印刷するときのユーザの作業負担を軽減
でき、且つデータの置き換え忘れを無くして操作性の向
上を図ることのできる文書作成装置及びその文書作成方
法の提供を目的としている。
SUMMARY OF THE INVENTION The present invention is intended to solve such a problem by replacing arbitrary data in document data such as a test sheet with meaningless data such as blanks and symbols. An object of the present invention is to provide a document creation apparatus and a document creation method thereof that can reduce the work load on the user when printing and can improve the operability by not forgetting to replace data.

【0006】[0006]

【課題を解決するための手段】第1の発明の文書作成装
置は上述した目的を達成するために、文字データの集ま
りからなる文書データを格納する文書格納手段と、前記
文書格納手段により格納された文書データ中の任意の文
字データを指定する文字指定手段と、前記文字指定手段
により指定された文字データに対して置換したい文字デ
ータを入力する置換文字入力手段と、前記置換文字入力
手段により入力された文字データを格納する置換文字格
納手段と、前記文書格納手段に格納された文書データ中
の、前記文字指定手段により指定された文字データを前
記置換文字格納手段に格納された置換文字データに置換
して印刷する置換印刷手段とを具備することを特徴とし
ている。
In order to achieve the above-mentioned object, the document creating apparatus of the first invention is a document storing means for storing document data consisting of a collection of character data, and a document storing means for storing the document data. Character designating means for designating arbitrary character data in the document data, replacement character inputting means for inputting character data desired to replace the character data designated by the character designating means, and inputting by the replacement character inputting means Replacing the character data designated by the character designating means in the document data stored in the document storing means with the replacement character storing means for storing the replaced character data. It is characterized in that it is provided with a replacement printing means for replacing and printing.

【0007】また第2の発明の文書作成装置は上述した
目的を達成するために、文字データの集まりからなる文
書データを格納する文書格納手段と、任意の文字コード
を指定する文字指定手段と、前記文字指定手段により指
定された文字コードに対して置換したい文字コードを入
力する置換文字入力手段と、前記置換文字入力手段によ
り入力された文字コードを格納する置換文字格納手段
と、前記文書格納手段に格納された文書データ中の、前
記文字指定手段により指定された文字コードを前記置換
文字格納手段に格納された置換文字コードに置換して印
刷する置換印刷手段とを具備することを特徴としてい
る。
In order to achieve the above-mentioned object, the document creating apparatus of the second invention comprises a document storing means for storing document data consisting of a collection of character data, a character designating means for designating an arbitrary character code, Replacement character input means for inputting a character code desired to be replaced with respect to the character code specified by the character specifying means, replacement character storage means for storing the character code input by the replacement character input means, and the document storage means A replacement printing unit that replaces the character code specified by the character specifying unit in the document data stored in the replacement character code with the replacement character code stored in the replacement character storage unit and prints the replacement character code. .

【0008】[0008]

【作用】第1発明では、第1の記憶部に格納された文書
データ中の任意の文字データを指定し、指定された文字
データに対して置換したい文字データを入力し、入力さ
れた置換文字データを第2の記憶部に格納する。そして
文書印刷時は、文書データ中の、指定された文字データ
を第2の記憶部に格納された置換文字データに置換して
印刷するので、記憶された文書データそのものを変更す
ることなく、一部の文字データを他のデータに置き換え
た文書データの印刷物を得ることができる。 また第2
発明では、任意の文字コードを指定し、指定された文字
コードに対して置換したい文字コードを入力し、入力さ
れた置換文字コードを第2の記憶部に格納する。そして
文書印刷時は、格納された文書データ中の、指定された
文字コードを第2の記憶部に格納された置換文字コード
に置換して印刷するので、記憶された文書データそのも
のを変更することなく、一部の文字データを他のデータ
に置き換えた文書データの印刷物を得ることができる。
According to the first aspect of the invention, any character data in the document data stored in the first storage unit is designated, the character data to be replaced is input to the designated character data, and the input replacement character is input. The data is stored in the second storage unit. Then, when printing a document, the designated character data in the document data is replaced with the replacement character data stored in the second storage unit and printed, so that the stored document data itself is not changed. It is possible to obtain a printed matter of document data in which character data of a set is replaced with other data. The second
In the invention, an arbitrary character code is designated, a character code to be replaced with respect to the designated character code is input, and the input replacement character code is stored in the second storage unit. When printing a document, the specified character code in the stored document data is replaced with the replacement character code stored in the second storage unit and printed, so that the stored document data itself must be changed. Instead, it is possible to obtain a printed matter of document data in which some character data is replaced with other data.

【0009】[0009]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0010】図1は本発明の一実施例に係る文書作成装
置の全体的な構成を示すブロック図である。
FIG. 1 is a block diagram showing the overall configuration of a document creating apparatus according to an embodiment of the present invention.

【0011】同図において、1は装置全体の制御を行う
CPU(マイクロプロセッサ)である。2はCPU1で
実行されるプログラム、かな漢字変換辞書、その他文書
作成に必要な情報を固定的に格納しているROMであ
る。3はRAMであり、入力した文書を記憶する文書バ
ッファ31や、文書中で印刷時に他のデータに置換する
ものとして指定された文字データ(置換対象文字)に対
して付加される修飾情報を記憶する伏せ字修飾バッファ
32、置換対象文字に対して置換すべき文字データが記
憶される置換文字格納バッファ33等を含んでいる。4
はキーボードであり、文書作成のための文字入力や各種
編集処理のための入力操作に供される。5は装置内のシ
ステムバス6とキーボード4との間における各種情報の
入出力を制御するキーボードーインタフェースである。
7はCRT、液晶ディスプレイ等の表示装置である。8
は表示装置7に表示する文書のドットパターンデータを
記憶する表示用ドットメモリである。9は文書表示のた
めの制御を行う表示制御回路であり、RAM3に記憶さ
れた文書、修飾情報、その他の情報に基づいて表示用ド
ットメモリ8上に表示用ドットパターンを生成し、これ
を表示装置7に出力することによって文書表示を実現す
る。10はRAM3に記憶された文書、修飾情報、その
他に基づいて、文書の印刷を行うプリンタである。11
は装置内のシステムバス6とプリンタ10との間におけ
る各種情報の入出力を制御するプリンタインタフェース
である。12はRAM3の文書メモリに記憶された文書
の保存を行う、フロッピーディスク装置やハードディス
ク装置等の外部記憶装置である。そして13は装置内の
システムバス6と外部記憶装置12との間での各種情報
の入出力を制御するディスクインタフェースである。
In the figure, reference numeral 1 is a CPU (microprocessor) for controlling the entire apparatus. A ROM 2 fixedly stores a program executed by the CPU 1, a kana-kanji conversion dictionary, and other information necessary for document creation. Reference numeral 3 denotes a RAM, which stores a document buffer 31 that stores an input document, and modification information that is added to character data (replacement target character) that is designated in the document to be replaced with other data when printing. It includes a hidden character modification buffer 32, a replacement character storage buffer 33 in which character data to be replaced with respect to a replacement target character is stored. Four
Is a keyboard, and is used for character input for document creation and input operations for various editing processes. A keyboard interface 5 controls input / output of various information between the system bus 6 in the apparatus and the keyboard 4.
Reference numeral 7 is a display device such as a CRT or a liquid crystal display. 8
Is a display dot memory for storing dot pattern data of a document to be displayed on the display device 7. Reference numeral 9 denotes a display control circuit for performing control for displaying a document. The display control circuit 9 generates a display dot pattern on the display dot memory 8 based on a document, modification information, and other information stored in the RAM 3, and displays the dot pattern. The document display is realized by outputting to the device 7. A printer 10 prints a document based on the document, the modification information, and the like stored in the RAM 3. 11
Is a printer interface for controlling input / output of various information between the system bus 6 in the apparatus and the printer 10. Reference numeral 12 is an external storage device such as a floppy disk device or a hard disk device for storing the document stored in the document memory of the RAM 3. A disk interface 13 controls the input / output of various information between the system bus 6 in the device and the external storage device 12.

【0012】以上の構成からなる文書作成装置では、文
書データ中で任意に指定した文字や文字列を印刷時に別
のデータに置き換えて処理できるように構成されてい
る。以下この処理を「文字置換印刷処理」と呼ぶ。
The document creating apparatus having the above-described configuration is configured so that a character or character string arbitrarily designated in the document data can be replaced with another data at the time of printing and processed. Hereinafter, this process is referred to as "character replacement printing process".

【0013】次に本実施例の文書作成装置において前記
の文字置換印刷処理の動作について説明する。
Next, the operation of the character replacement printing process in the document creating apparatus of this embodiment will be described.

【0014】図2はこの文字置換印刷処理の動作手順を
示すフローチャート、図3はこの文字置換印刷処理時の
画面例を示す図である。
FIG. 2 is a flow chart showing the operation procedure of this character replacement printing process, and FIG. 3 is a diagram showing an example of a screen during this character replacement printing process.

【0015】文書データとして、ここでは例えば試験問
題を作成する場合を想定する。
As the document data, it is assumed here that a test question is created, for example.

【0016】まず、ユーザは図3(a)に示すように文
書を作成した後(ステップ201)、キーボード4を使
って文字置換印刷処理のための初期操作を行う。これに
より図3(b)に示すように、置換対象文字である伏せ
字の指定を促すためのメッセージG1が画面上に表示さ
れる。ここでユーザは任意の文字(例えば図3(a)で
「承」の文字)の上にカーソルを移動させて選択/実行
キーを押下する。(ステップ202)。これにより置換
対象文字が確定し、図4に示すようにRAM3内の伏せ
字修飾バッファ32にその置換対象文字に対する修飾情
報が格納される。この後、図3(c)に示すように、置
換する文字である置換文字の入力を促すためのメッセー
ジG2が表示される。ここで、ユーザは置換文字(例え
ば図3(c)で「□」)をキーボード4を使って入力す
る(ステップ203)。これにより、置換文字が確定
し、図4に示すようにRAM3内の置換文字格納バッフ
ァ33に格納される。
First, the user creates a document as shown in FIG. 3A (step 201), and then uses the keyboard 4 to perform an initial operation for the character replacement printing process. As a result, as shown in FIG. 3B, a message G1 for prompting the designation of the hidden character that is the replacement target character is displayed on the screen. Here, the user moves the cursor to an arbitrary character (for example, the character “OK” in FIG. 3A) and presses the select / execute key. (Step 202). As a result, the character to be replaced is decided, and the modification information for the character to be replaced is stored in the hidden character modification buffer 32 in the RAM 3 as shown in FIG. After that, as shown in FIG. 3C, a message G2 for prompting the input of the replacement character, which is the character to be replaced, is displayed. Here, the user inputs a replacement character (for example, “□” in FIG. 3C) using the keyboard 4 (step 203). As a result, the replacement character is determined and stored in the replacement character storage buffer 33 in the RAM 3 as shown in FIG.

【0017】その後、キーボード4上の印刷指定キーを
押下することによって(ステップ204)文書データの
印刷が開始される(ステップ205)。文書データの印
刷は少なくとも伏せ字修飾バッファ32の内容に従って
行われる。すなわち、CPU1は個々の文字データに伏
せ字修飾がかけられているか否かを伏せ字修飾バッファ
32の内容を基に判断する(ステップ206)。そし
て、修飾情報によって伏せ字修飾がかかっていれば、置
換文字格納バッファ33から置換文字データを読みだ
し、この置換文字データで元の文字データ(置換対象文
字)を置き換えて印刷する。その際、伏せ字修飾がかけ
られた文字コードが連続している場合は、これらの文字
コードも、その字数文連続して置換文字で印刷が行われ
る(ステップ207)。
Then, by pressing the print designation key on the keyboard 4 (step 204), printing of the document data is started (step 205). The document data is printed at least according to the content of the hidden character modification buffer 32. That is, the CPU 1 determines whether or not each character data is modified by the hidden character modification based on the contents of the hidden character modification buffer 32 (step 206). If the hiding character is modified by the modification information, the replacement character data is read from the replacement character storage buffer 33, the original character data (replacement target character) is replaced with the replacement character data, and printing is performed. At this time, if the character codes to which the hidden character modification is applied are continuous, these character codes are also printed with the replacement character continuously for the number of characters (step 207).

【0018】また、伏せ字修飾がかかっていなければ、
文書バッファ31内の文字データをそのまま印刷し(ス
テップ209)、次の文字データについて再び判定を行
うためにステップ206に戻る。
[0018] Also, if there is no cover letter modification,
The character data in the document buffer 31 is printed as it is (step 209), and the process returns to step 206 to judge again the next character data.

【0019】その後、置換対象文字の次の文字データに
ついて再びステップ206にて伏せ字修飾の有無判定が
行われ、以下同様の処理が文書バッファ中のすべての文
字データについて終了するまで繰り返される。
After that, the presence / absence of hiding character modification is determined again in step 206 for the character data next to the character to be replaced, and the same process is repeated until all character data in the document buffer are completed.

【0020】以上の処理が実行されることによって、図
3(d)に示すように置換文字が混在した印刷物の出力
が可能となる。
By executing the above processing, it is possible to output a printed matter in which replacement characters are mixed as shown in FIG. 3 (d).

【0021】このように本実施例の文書作成装置によれ
ば、文書中の任意の文字(置換対象文字)を指定し、こ
の置換対象文字に対して置換したい文字(置換文字)を
入力するだけで、印刷時、指定した文字を自動的に他の
文字に置き換えることができる。これにより、試験問題
用紙等の文書データ中の任意のデータを空白や記号等の
無意味なデータに置き換えて印刷するときのユーザの作
業負担を軽減でき、且つデータの置き換え忘れを無くし
て操作性の向上を図ることができる。
As described above, according to the document creating apparatus of this embodiment, an arbitrary character (character to be replaced) in the document is designated, and the character to be replaced (replacement character) is input to the character to be replaced. Then, when printing, the specified character can be automatically replaced with another character. This makes it possible to reduce the user's work load when printing arbitrary blank data such as blanks and symbols in the document data such as exam question paper, and to avoid forgetting to replace the data to improve operability. Can be improved.

【0022】次に本発明の他の実施例を説明する。Next, another embodiment of the present invention will be described.

【0023】なお、この実施例のワードプロセッサの構
成はRAM内の構成以外は図1と同一である。すなわ
ち、図5に示すようにメモリには文書バッファ51と置
換対象文字格納バッファ52、及び置換文字格納バッフ
ァ53等が含まれる。ここで置換対象文字格納バッファ
52は置換対象となる文字のコードデータを格納するも
のである。実施例のワードプロセッサは次のようにして
文字置換印刷処理を行う。 図6はこの文字置換印刷処
理の動作手順を示すフローチャート、図7はこの文字置
換印刷処理時の画面例を示す図である。
The configuration of the word processor of this embodiment is the same as that of FIG. 1 except the configuration in the RAM. That is, as shown in FIG. 5, the memory includes a document buffer 51, a replacement target character storage buffer 52, a replacement character storage buffer 53, and the like. Here, the replacement target character storage buffer 52 stores the code data of the character to be replaced. The word processor of the embodiment performs the character replacement printing process as follows. FIG. 6 is a flowchart showing the operation procedure of this character replacement printing process, and FIG. 7 is a diagram showing an example of a screen during this character replacement printing process.

【0024】文書データとして、前実施例と同様に例え
ば長文穴埋め問題等の試験問題を作成する場合を想定す
る。
As the document data, it is assumed that a test question such as a long sentence filling question is created as in the previous embodiment.

【0025】まず、ユーザは図7(a)に示すように文
書を作成した後(ステップ601)、キーボード4上の
印刷指定キーを押下する(ステップ602)。次にキー
ボード4を使って、文字置換印刷処理のための初期操作
を行う。
First, the user creates a document as shown in FIG. 7A (step 601) and then presses the print designation key on the keyboard 4 (step 602). Next, the keyboard 4 is used to perform an initial operation for the character replacement printing process.

【0026】これにより図7(b)に示すように、置換
対象文字である伏せ字の先頭文字の指定を促すためのメ
ッセージG3が画面上に表示される。ここでユーザは置
換対象文字列の先頭の文字(例えば図7(b)で「廃藩
置県」の先頭の「廃」の文字)の上にカーソルCを移動
させて選択/実行キーを押下する。続いて図7(c)に
示すように、置換対象文字列の最後尾文字の指定を促す
ためのメッセージG4が画面上に表示される。そこでユ
ーザは置換対象文字列の最後尾の文字(例えば「廃藩置
県」の最後尾「県」の文字)の上にカーソルCを移動さ
せて選択/実行キーを押下する(ステップ603)。こ
れにより、置換対象文字列が確定し、図5に示すように
RAM3内の文書バッファ51から該当する文字コード
が読み出されてRAM3内の置換対象文字格納バッファ
52に格納される。
As a result, as shown in FIG. 7B, a message G3 is displayed on the screen for prompting the designation of the first character of the hidden character to be replaced. Here, the user moves the cursor C to the first character of the replacement target character string (for example, the first "abused" character of "abandoned domain" in FIG. 7B) and presses the select / execute key. Subsequently, as shown in FIG. 7C, a message G4 for prompting the designation of the last character of the replacement target character string is displayed on the screen. Then, the user moves the cursor C to the last character of the replacement target character string (for example, the last character "prefecture" of "abandoned prefecture") and presses the select / execute key (step 603). As a result, the replacement target character string is determined, and the corresponding character code is read from the document buffer 51 in the RAM 3 and stored in the replacement target character storage buffer 52 in the RAM 3 as shown in FIG.

【0027】次に、図7(d)に示すように、置換文字
の入力を促すためのメッセージG5が画面上に表示され
る。ここで、ユーザは置換文字(例えば図7(d)で
「□」)の上にカーソルCを移動させて選択/実行キー
を押下する(ステップ604)。これにより、置換文字
が確定し、この置換文字データは図5に示すようにRA
M3内の置換文字格納バッファ53に格納される。置換
文字が確定すると、文書データの印刷が開始される(ス
テップ605)。
Next, as shown in FIG. 7 (d), a message G5 for prompting the input of the replacement character is displayed on the screen. Here, the user moves the cursor C to the replacement character (for example, “□” in FIG. 7D) and presses the select / execute key (step 604). As a result, the replacement character is determined, and this replacement character data is RA as shown in FIG.
It is stored in the replacement character storage buffer 53 in M3. When the replacement character is confirmed, printing of the document data is started (step 605).

【0028】そして印刷を行うにあたっては事前に次の
ような処理が行われる。
The following processing is performed before printing.

【0029】まず、文書バッファ51の先頭アドレスか
ら順次、文字データをリードし、その都度このリードし
た文字データと置換対象文字格納バッファ52に格納さ
れた置換対象文字列の1文字目の文字データとを比較し
ていく(ステップ606)。この比較において、文字デ
ータが一致しなければ、通常の印刷を行う(ステップ6
07)。また、文字データが一致したならば、文書中の
次の文字データと置換対象文字列の2文字目の文字との
比較を字数文連続して1文字ごとに行う。この比較にお
いて、文書中の文字データと置換対象文字列がすべて一
致したならば、置換文字格納バッファ53から置換文字
データを読みだし、この置換文字データで元の文字デー
タ列(置換対象文字列)を置き換えて印刷する(ステッ
プ611)。さらに、次の文字データについて再び判定
を行うためにステップ615に戻る。 一方、文書中の
文字データが伏せ字修飾文字の字数に達する前に不一致
となったならば、文書バッファ51内の文字データをそ
のまま印刷する(ステップ607)。以上の処理が実行
されることによって、図7(e)に示すように置換文字
が混在した印刷物の出力が可能となる。
First, the character data is sequentially read from the start address of the document buffer 51, and the read character data and the character data of the first character of the replacement target character string stored in the replacement target character storage buffer 52 are read each time. Are compared (step 606). If the character data do not match in this comparison, normal printing is performed (step 6).
07). If the character data match, the next character data in the document is compared with the second character of the character string to be replaced, character by character, continuously for each character. In this comparison, if the character data in the document and the replacement target character string all match, the replacement character data is read from the replacement character storage buffer 53, and the original character data string (replacement target character string) is read with this replacement character data. Are replaced and printed (step 611). Further, the process returns to step 615 to make a determination again for the next character data. On the other hand, if the character data in the document do not match before reaching the number of hidden character modification characters, the character data in the document buffer 51 is printed as it is (step 607). By executing the above processing, it is possible to output a printed matter in which replacement characters are mixed as shown in FIG.

【0030】このように本実施例の文書作成装置によれ
ば、印刷時に他のデータに置換したい文字や文字列を同
一文書中で一回ユーザが指定するだけで、文書中の該当
する文字や文字列を一括して別のデータに置き換えて印
刷することができる。したがって、印刷前のユーザの置
換対象文字の指定作業に要する手間は先の実施例より軽
減できるという効果が得られる。
As described above, according to the document creating apparatus of this embodiment, the user only needs to specify the character or character string to be replaced with other data at the time of printing once in the same document, and the corresponding character or character in the document can be obtained. The character string can be collectively replaced with another data and printed. Therefore, it is possible to obtain the effect that the labor required for the user to specify the character to be replaced before printing can be reduced as compared with the previous embodiment.

【0031】なお、本発明は前記実施例に限定されな
い。例えば、前記実施例では置換文字の種類を1つとし
たが、複数の置換文字を置換文字格納バッファに格納し
ておき、ユーザの選択で、印刷時どちらかの置換文字で
置換するように構成してもよい。また、第2の実施例で
は、画面に表示された文書の中から、ユーザが置換対象
文字を指定するようにしたが、ユーザがキーボードを使
って任意の文字や文字列のデータを入力し、これをバッ
ファに格納して置換対象文字としてもよい。
The present invention is not limited to the above embodiment. For example, although the type of the replacement character is one in the above-described embodiment, a plurality of replacement characters are stored in the replacement character storage buffer, and the replacement character may be replaced by one of the replacement characters at the time of printing. May be. Further, in the second embodiment, the user specifies the replacement target character from the document displayed on the screen, but the user inputs data of an arbitrary character or character string using the keyboard, This may be stored in a buffer and used as a replacement target character.

【0032】[0032]

【発明の効果】以上説明したように本発明の文書作成装
置及びその文書印刷方法によれば、文書データ中の任意
の文字データを指定し、かつこの文字データに対して置
換したい文字データを入力するだけで印刷時には、指定
した文字データを自動的に、他のデータに置き換えるこ
とができるので、従来と比較して文字データの置き換え
作業が軽減され、操作性・実用性において優れた置換印
刷機能となる。
As described above, according to the document creating apparatus and the document printing method of the present invention, any character data in the document data is designated and the character data to be replaced is input. When printing, the specified character data can be automatically replaced with other data, so the replacement work of character data is reduced compared to the conventional method, and the replacement printing function is excellent in operability and practicality. Becomes

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

【図1】本発明に係る一実施例の文書作成装置及び文書
印刷方法の全体的な構成を示すブロック図である。
FIG. 1 is a block diagram showing an overall configuration of a document creating apparatus and a document printing method according to an embodiment of the present invention.

【図2】置換文字印刷処理のルーチンを示すフローチャ
ートである。
FIG. 2 is a flowchart showing a routine of a replacement character printing process.

【図3】置換文字印刷処理における修飾情報取得時の画
面例及び印刷例である。
FIG. 3 is a screen example and a print example at the time of acquiring decoration information in a replacement character printing process.

【図4】修飾情報取得時のRAM内の情報の移動を示す
ブロック図である。
FIG. 4 is a block diagram showing movement of information in a RAM when acquiring decoration information.

【図5】修飾情報取得時のRAM内の情報の移動を示す
ブロック図である。
FIG. 5 is a block diagram showing a movement of information in a RAM when acquiring decoration information.

【図6】置換文字印刷処理のルーチンを示すフローチャ
ートである。
FIG. 6 is a flowchart showing a routine of a replacement character printing process.

【図7】置換文字印刷処理における修飾情報取得時の画
面例及び印刷例である。
7A and 7B are a screen example and a print example when the decoration information is acquired in the replacement character printing process.

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

1…CPU、2…ROM、3…RAM、4…キーボー
ド、5…キーボードインタフェース、6…システムバ
ス、7…表示装置、8…表示用ドットメモリ、9…表示
制御回路、10…プリンタ、11…プリンタインタフェ
ース、12…外部記憶装置、13…ディスクインタフェ
ース、31…文書バッファ、32…伏せ字修飾バッフ
ァ、33…置換文字格納バッファ
1 ... CPU, 2 ... ROM, 3 ... RAM, 4 ... Keyboard, 5 ... Keyboard interface, 6 ... System bus, 7 ... Display device, 8 ... Display dot memory, 9 ... Display control circuit, 10 ... Printer, 11 ... Printer interface, 12 ... External storage device, 13 ... Disk interface, 31 ... Document buffer, 32 ... Blank character modification buffer, 33 ... Replacement character storage buffer

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 文字データの集まりからなる文書データ
を格納する文書格納手段と、 前記文書格納手段により格納された文書データ中の任意
の文字データを指定する文字指定手段と、 前記文字指定手段により指定された文字データに対して
置換したい文字データを入力する置換文字入力手段と、 前記置換文字入力手段により入力された文字データを格
納する置換文字格納手段と、 前記文書格納手段に格納された文書データ中の、前記文
字指定手段により指定された文字データを前記置換文字
格納手段に格納された置換文字データに置換して印刷す
る置換印刷手段と、 を具備することを特徴とする文書作成装置。
1. A document storage unit for storing document data composed of a collection of character data, a character designation unit for designating arbitrary character data in the document data stored by the document storage unit, and the character designation unit. Replacement character input means for inputting character data to be replaced with respect to specified character data, replacement character storage means for storing the character data input by the replacement character input means, and a document stored in the document storage means A document printing apparatus comprising: a replacement printing unit that replaces the character data specified by the character specifying unit in the data with the replacement character data stored in the replacement character storage unit and prints the replacement character data.
【請求項2】 文字データの集まりからなる文書データ
を格納する文書格納手段と、 任意の文字コードを指定する文字指定手段と、 前記文字指定手段により指定された文字コードに対して
置換したい文字コードを入力する置換文字入力手段と、 前記置換文字入力手段により入力された文字コードを格
納する置換文字格納手段と、 前記文書格納手段に格納された文書データ中の、前記文
字指定手段により指定された文字コードを前記置換文字
格納手段に格納された置換文字コードに置換して印刷す
る置換印刷手段と、 を具備することを特徴とする文書作成装置。
2. A document storing means for storing document data composed of a collection of character data, a character designating means for designating an arbitrary character code, and a character code desired to be replaced with the character code designated by the character designating means. A replacement character input means for inputting the replacement character, a replacement character storage means for storing the character code input by the replacement character input means, and a character data specified by the character specification means in the document data stored in the document storage means. And a replacement printing unit that replaces the character code with the replacement character code stored in the replacement character storage unit and prints the replacement character code.
【請求項3】 文字データの集まりからなる文書データ
を第1の記憶部に格納し、 前記第1の記憶部に格納された文書データ中の任意の文
字データを指定し、 前記指定された文字データに対して置換したい文字デー
タを入力し、 前記入力された置換文字データを第2の記憶部に格納
し、 前記文書データ中の、前記指定された文字データを前記
第2の記憶部に格納された置換文字データに置換して印
刷するようにしたことを特徴とする文書作成方法。
3. Document data consisting of a collection of character data is stored in a first storage unit, and arbitrary character data in the document data stored in the first storage unit is designated, and the designated character Character data to be replaced with respect to data is input, the input replacement character data is stored in a second storage unit, and the designated character data in the document data is stored in the second storage unit. A method of creating a document, which is characterized in that the selected replacement character data is replaced and printed.
【請求項4】 文字データの集まりからなる文書データ
を第1の記憶部に格納し、 任意の文字コードを指定し、 前記指定された文字コードに対して置換したい文字コー
ドを入力し、 前記入力された置換文字コードを第2の記憶部に格納
し、 前記格納された文書データ中の、前記指定された文字コ
ードを前記第2の記憶部に格納された置換文字コードに
置換して印刷するようにしたことを特徴とする文書作成
方法。
4. Document data composed of a collection of character data is stored in a first storage unit, an arbitrary character code is designated, a character code to be replaced with respect to the designated character code is input, and the input is performed. The replaced replacement character code is stored in the second storage unit, the specified character code in the stored document data is replaced with the replacement character code stored in the second storage unit, and printed. A document creation method characterized by the above.
JP5335267A 1993-12-28 1993-12-28 Document preparation device and document printing method therefor Withdrawn JPH07200577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5335267A JPH07200577A (en) 1993-12-28 1993-12-28 Document preparation device and document printing method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5335267A JPH07200577A (en) 1993-12-28 1993-12-28 Document preparation device and document printing method therefor

Publications (1)

Publication Number Publication Date
JPH07200577A true JPH07200577A (en) 1995-08-04

Family

ID=18286612

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5335267A Withdrawn JPH07200577A (en) 1993-12-28 1993-12-28 Document preparation device and document printing method therefor

Country Status (1)

Country Link
JP (1) JPH07200577A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030056593A (en) * 2001-12-28 2003-07-04 삼성전자주식회사 Data printing method using find and replace
JP2007164368A (en) * 2005-12-12 2007-06-28 Sunmoretec Co Ltd Method and device for creating document
JP2016104514A (en) * 2012-12-04 2016-06-09 尚志 福山 Rote learning material and its production method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030056593A (en) * 2001-12-28 2003-07-04 삼성전자주식회사 Data printing method using find and replace
JP2007164368A (en) * 2005-12-12 2007-06-28 Sunmoretec Co Ltd Method and device for creating document
JP2016104514A (en) * 2012-12-04 2016-06-09 尚志 福山 Rote learning material and its production method

Similar Documents

Publication Publication Date Title
JPS6320622A (en) Document editing device
JPH07200577A (en) Document preparation device and document printing method therefor
JPH08335152A (en) Document processor
JP3171557B2 (en) Document creation device
JP2555036B2 (en) Character string input device
JPH0793319A (en) Document processor
JPH01231117A (en) Document generating device
JP2721339B2 (en) Document processing device
JPS63106827A (en) Word processor
JPH0358166A (en) Document preparing device
JPS6263366A (en) Searching system for unwritten part in word processor
JP2000311075A (en) Printer device
JPH0546155A (en) Ruled-line setting mechanism of information processor
JPH0721162A (en) Document preparation device and batch print control document generating method
JPH07182321A (en) Device for documentation and method for generating data
JPH07141359A (en) Document preparation device
JPH06255199A (en) Editing/printing apparatus of document
JPH09305578A (en) Document editing display and printer
JPH06236379A (en) Word processor and printing method
JPH08286867A (en) Information processing unit
JPH10207878A (en) Document editing and printing device
JPH0844712A (en) Device and method for document preparation
JPH03110667A (en) Document processor
JPH08115191A (en) Information processor
JPH04268940A (en) Document preparing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010306