JPH06243136A - Document preparing device - Google Patents

Document preparing device

Info

Publication number
JPH06243136A
JPH06243136A JP5025175A JP2517593A JPH06243136A JP H06243136 A JPH06243136 A JP H06243136A JP 5025175 A JP5025175 A JP 5025175A JP 2517593 A JP2517593 A JP 2517593A JP H06243136 A JPH06243136 A JP H06243136A
Authority
JP
Japan
Prior art keywords
character string
buffer
document
character
print
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
JP5025175A
Other languages
Japanese (ja)
Inventor
Katsumi Inoue
克巳 井上
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 JP5025175A priority Critical patent/JPH06243136A/en
Publication of JPH06243136A publication Critical patent/JPH06243136A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To omit the time and the labor needed for the control codes in a document input state by modifying a specific character string without inserting any control code into a document. CONSTITUTION:A control part 1 serves as a CPU which carries out the programs and also gives general control to a modifying character designating means 1a which can designate a character string to be modified when the print conditions are set, a designated modifying character retrieving means 1b which retrieves the designated character string, and a modification code setting means 1c which sets the corresponding modification codes. When a print image 5 is evolved out of a print buffer 7, the data are read out of the buffer 7 and however the specific characters included in sentences and the emphasizing control codes are not stored in a document buffer 10. Therefore a half-size space is never included in a control code part even after printing unlike a conventional case. Thus it is possible to modify he character strings without inserting any control code into the sentences when the characters are emphasized or the character faces are changed.

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 capable of inputting and printing sentences.

【0002】[0002]

【従来の技術】図7は従来装置の要部構成図である。2. Description of the Related Art FIG. 7 is a schematic view of a main part of a conventional device.

【0003】71は制御部であり中央処理装置(CP
U)である。72は入力装置のキーボードである。76
は表示用のデータを蓄えておく表示用バッファ、77は
印刷用のデータを蓄えておく印刷用バッファ、78は文
書バッファからデータを読込み一時蓄えておくデータリ
ードバッファ、79は印刷用バッファ77からデータを
読込み印刷イメージ75を展開する際に参照されるフォ
ントテーブルである。80は文書データを蓄える文書バ
ッファである。73は表示装置のCRTでありLCD等
でも良い、又74はサーマルやインクジェット等のプリ
ンターである。
Reference numeral 71 denotes a control unit which is a central processing unit (CP).
U). Reference numeral 72 is a keyboard of the input device. 76
Is a display buffer for storing display data, 77 is a printing buffer for storing print data, 78 is a data read buffer for temporarily reading data from the document buffer, and 79 is for printing buffer 77. It is a font table that is referred to when data is read and the print image 75 is developed. A document buffer 80 stores document data. Reference numeral 73 is a CRT of a display device, which may be an LCD or the like, and 74 is a printer such as a thermal printer or an inkjet printer.

【0004】図8は従来装置での実施例の説明図であ
る。印刷用バッファ77から印刷イメージ75を展開す
る際、印刷用バッファ77からデータを読込むが文書バ
ッファ80には文中の「せ」を強調する制御コード
「▲」が既に入力されており、該制御コードがそのまま
データリードバッファ78を経由して印刷用バッファ7
7に転送され、印刷結果としては制御コードの部分(文
書バッファ中の「▲」の位置)に半角のスペースが入っ
てしまう。
FIG. 8 is an explanatory diagram of an embodiment of a conventional device. When the print image 75 is expanded from the print buffer 77, data is read from the print buffer 77, but the control code “▲” for emphasizing “se” in the sentence is already input to the document buffer 80. The code is directly passed through the data read buffer 78 and the print buffer 7
7 is transferred, and as a print result, a half-width space is included in the control code portion (the position of “▲” in the document buffer).

【0005】[0005]

【発明が解決しようとする課題】以上のように従来で
は、文字列を修飾(強調、書体の変更)する場合、文書
中に制御コードを挿入し、修飾していたが、これによ
り、文中に半角のスペースが入っていた。このため、文
書に余分なスペースが入ることがあり、文書のレイアウ
トがおかしく感じることがあった。
As described above, in the past, when a character string was modified (emphasized or typeface changed), a control code was inserted in the document to modify it. There was a half-width space. Therefore, the document may have an extra space, and the layout of the document may be strange.

【0006】また、文中の特定文字だけを修飾する際に
も、それらすべての文字列に対して、制御コードを挿入
する必要があった。
Further, when only a specific character in a sentence is modified, it is necessary to insert a control code into all the character strings.

【0007】[0007]

【課題を解決するための手段】本発明は上記課題の解決
を目的としてなされたものであり、文章入力手段と表示
手段及び前記表示内容を印刷する印刷手段とを具備した
文書作成装置に於いて、表示上の特定の文字列を修飾し
て印刷する場合、修飾文字列の指定が印刷条件設定時に
行える修飾文字指定手段と、印刷時に前記手段により指
定した文字列を検索する修飾指定文字列検索手段と、検
索した修飾指定文字について該当する修飾コードを設定
する修飾コード設定手段とを有することを特徴とする文
書作成装置である。
SUMMARY OF THE INVENTION The present invention has been made for the purpose of solving the above-mentioned problems, and provides a document creating apparatus provided with a text input means, a display means, and a printing means for printing the display contents. When modifying and printing a specific character string on the display, a modified character specification means for specifying the modified character string when setting the printing conditions and a modified specified character string search for searching the character string specified by the means at the time of printing The document creating apparatus is characterized by having a means and a modification code setting means for setting a corresponding modification code with respect to the searched modification designated character.

【0008】[0008]

【作用】上記構成により、本発明の文書作成装置によれ
ば、文書中に制御コードを挿入せずに、特定文字列の修
飾ができ、文書入力時の制御コード入力の手間を省く事
ができる。
With the above arrangement, according to the document creating apparatus of the present invention, the specific character string can be modified without inserting the control code into the document, and the labor of inputting the control code at the time of inputting the document can be saved. .

【0009】また、同じ文字列を修飾する際に、文書中
に何回も制御コードを挿入する必要がないこと。さら
に、制御コードは、半角のスペースを取るため、余分な
スペースが入ることを無くすことができる。
Further, when modifying the same character string, it is not necessary to insert the control code into the document many times. Further, since the control code takes up a space of one-byte, it is possible to prevent the extra space from entering.

【0010】[0010]

【実施例】以下図面に示した本発明の実施例に基づき詳
細を説明する。尚これらの実施例に本発明は限定される
ものではないことは勿論である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The details will be described below based on the embodiments of the present invention shown in the drawings. Needless to say, the present invention is not limited to these examples.

【0011】図1は本発明装置の構成図である。FIG. 1 is a block diagram of the device of the present invention.

【0012】1は制御部でありプログラムの実行を行う
中央処理装置(CPU)である。2は入力装置のキーボ
ードであるが入力ペンとタブレットの組合わせでも良
い。6は表示用のデータを蓄えておく表示用バッファ、
7は印刷用のデータを蓄えておく印刷用バッファ、8は
文書バッファからデータを読込み一時蓄えておくデータ
リードバッファ、9は印刷用バッファからデータを読込
み印刷イメージ5を展開する際に参照されるフォントテ
ーブルである。10は文書データを蓄える文書バッファ
である。3は表示装置のCRTでありLCD等でも良
い。又4はサーマルやインクジェット等のプリンタであ
る。尚制御部1は修飾文字列の指定が印刷条件設定時に
行える修飾文字指定手段1aと、指定した文字列を検索
する修飾指定文字検索手段1bと、該当する修飾コード
を設定する修飾コード設定手段1cとを統括制御する。
Reference numeral 1 is a control unit, which is a central processing unit (CPU) for executing a program. Reference numeral 2 is a keyboard of the input device, but a combination of an input pen and a tablet may be used. 6 is a display buffer for storing display data,
Reference numeral 7 is a print buffer for storing print data, 8 is a data read buffer for reading data from the document buffer and temporarily storing the data, and 9 is referenced when reading data from the print buffer and expanding the print image 5. It is a font table. Reference numeral 10 is a document buffer for storing document data. A CRT 3 is a display device, which may be an LCD or the like. Reference numeral 4 is a printer such as a thermal printer or an inkjet printer. The control unit 1 includes a modified character designating unit 1a for designating a modified character string when setting printing conditions, a modified designated character searching unit 1b for searching a designated character string, and a modified code setting unit 1c for setting a corresponding modified code. And control over.

【0013】図2は本発明の実施例の説明図である。FIG. 2 is an explanatory diagram of an embodiment of the present invention.

【0014】印刷用バッファ7から印刷イメージ5を展
開する際、印刷用バッファ7からデータを読込むが文書
バッファ10には文中の「せ」を強調する制御コードは
存在しない。それ故印刷後も従来のように制御コードの
部分に半角のスペースが入ってしまうことがない。
When the print image 5 is developed from the print buffer 7, the data is read from the print buffer 7, but the document buffer 10 has no control code for emphasizing "se" in the sentence. Therefore, even after printing, a half-width space is not included in the control code portion as in the conventional case.

【0015】図3は本発明の実施例の説明図であり、印
刷設定部の概略を示す。ここでは、文字列を強調する方
法、並びに、設定方法を示しており、図より「印刷文字
修飾」のところで、修飾の可否を選択する。この例で
は、文字「せ」を「強調」するように設定している。
(「否」の場合は、文字列・修飾の設定は不可とす
る。)また、文字列は、〜の文字列が選択可能であ
る。
FIG. 3 is an explanatory diagram of an embodiment of the present invention, showing an outline of a print setting section. Here, a method of emphasizing a character string and a setting method are shown, and whether or not to modify is selected in "Print character modification" in the figure. In this example, the character “se” is set to be “emphasized”.
(If "No", setting of character string / decoration is not allowed.) As the character string, a character string of ~ can be selected.

【0016】図4は本発明の実施例の説明図であり、デ
ータリードバッファ8から印刷用バッファ10を作成す
る概略図である。データリードバッファ8のデータを印
刷用バッファ7に転送するが其の際に、修飾文字列であ
るかのチェックを行い、一致したら、その修飾のコード
を挿入し、印刷用バッファ7にセットする。
FIG. 4 is an explanatory view of the embodiment of the present invention, and is a schematic view of forming the print buffer 10 from the data read buffer 8. The data in the data read buffer 8 is transferred to the print buffer 7. At that time, it is checked whether the character string is a modified character string, and if they match, the code of the modified character is inserted and set in the print buffer 7.

【0017】図5は本発明の実施例の説明図であり、印
刷用バッファ7から印刷イメージ5への展開を示したも
のである。印刷用バッファ7からデータをリードし、そ
の文字に当たるフォントテーブル9を参照し、イメージ
データを印刷イメージ5にセットする。修飾コードがあ
れば、その種類のフォントテーブル9を参照する。
FIG. 5 is an explanatory view of the embodiment of the present invention, showing the development from the print buffer 7 to the print image 5. The data is read from the print buffer 7, the font table 9 corresponding to the character is referred to, and the image data is set in the print image 5. If there is a modification code, the font table 9 of that type is referred to.

【0018】図6は本発明の動作を示すフローチャート
である。s1では、図3の印刷設定を行い、各種印刷条
件の設定を行う。s2では、文書バッファ10のデータ
をデータリードバッファ8にリードする。s3は、印刷
設定において、文字列修飾が「要」であるかを問い、
「否」であれば、s8の処理を行う。「要」の場合、s
4へ処理が移り、指定した修飾する文字列がリードした
バッファ上に存在するかを検索する。検索した結果、文
字列があれば、リードデータに強調コードを付加し、そ
の文字列を印刷用バッファ7にセットする。これらのs
4〜s6までの処理を文末まで行う。
FIG. 6 is a flow chart showing the operation of the present invention. In s1, the print settings shown in FIG. 3 are set, and various print conditions are set. In s2, the data in the document buffer 10 is read into the data read buffer 8. s3 asks whether the character string decoration is "necessary" in the print settings.
If "no", the process of s8 is performed. If yes, s
The process moves to step 4 and it is searched whether the specified character string to be modified exists in the read buffer. If there is a character string as a result of the search, an emphasis code is added to the read data and the character string is set in the print buffer 7. These s
The processing from 4 to s6 is performed until the end of the sentence.

【0019】s8、s9では、文書データをリードした
バッファから印刷用バッファ7にすべての文字列データ
を転送し、印刷用データ、イメージを作成する。s10
では、そのデータを印刷する処理を行う。
In s8 and s9, all the character string data is transferred from the buffer that has read the document data to the print buffer 7, and print data and an image are created. s10
Then, the process of printing the data is performed.

【0020】以上のように本発明によれば、文字に対す
る強調・書体変更を行う場合、文中に制御コードを入れ
ずに、印刷時に文字列と強調・書体を指定することによ
り文字列の修飾を行うことが可能となる。
As described above, according to the present invention, when a character is emphasized / typeface changed, the character string and the emphasis / typeface are designated at the time of printing without inserting a control code in the sentence to modify the character string. It becomes possible to do.

【0021】その他本発明は、上記しかつ図面に示した
実施例のみに限定されるものではなく、要旨を逸脱しな
い範囲内で適宜変形して実施出来ることは勿論である。
Others The present invention is not limited to the embodiments described above and shown in the drawings, and it is needless to say that the present invention can be appropriately modified and implemented without departing from the scope of the invention.

【0022】[0022]

【発明の効果】本発明の文書作成装置によれば、文書中
に制御コードを挿入せずに、特定文字列の修飾ができ、
文書入力時の制御コードの手間を省く事ができる。
According to the document creating apparatus of the present invention, a specific character string can be modified without inserting a control code in a document.
It is possible to save the labor of the control code when inputting the document.

【0023】また、同じ文字列を修飾する際に、文書中
に何回も制御コードを挿入する必要がないこと。さら
に、制御コードは、半角のスペースを取るため、印刷時
に余分なスペースがはいることを無くすことができる。
Further, when modifying the same character string, it is not necessary to insert the control code into the document many times. Further, since the control code takes a half-width space, it is possible to prevent the extra space from being inserted during printing.

【0024】以上より操作性の優れた、又印刷時も違和
感のない文書を作成できる等の利点を備えた文書作成装
置を提供することができる。
As described above, it is possible to provide a document creating apparatus having advantages such as excellent operability and being able to create a document that does not feel uncomfortable during printing.

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

【図1】本発明装置の要部構成図である。FIG. 1 is a configuration diagram of a main part of a device of the present invention.

【図2】本発明の実施例の説明図である。FIG. 2 is an explanatory diagram of an example of the present invention.

【図3】本発明の実施例の説明図である。FIG. 3 is an explanatory diagram of an example of the present invention.

【図4】本発明の実施例の説明図である。FIG. 4 is an explanatory diagram of an example of the present invention.

【図5】本発明の実施例の説明図である。FIG. 5 is an explanatory diagram of an example of the present invention.

【図6】本発明の動作を示すフローチャートである。FIG. 6 is a flowchart showing the operation of the present invention.

【図7】従来装置の要部構成図である。FIG. 7 is a configuration diagram of a main part of a conventional device.

【図8】従来装置の実施例の説明図である。FIG. 8 is an explanatory diagram of an example of a conventional device.

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

1 制御部 1a 修飾文字指定手段 1b 修飾指定文字列検索手段 1c 修飾コード設定手段 2 キーボード 3 CRT 4 プリンター 5 印刷イメージ 6 表示用バッファ 7 印刷用バッファ 8 データリードバッファ 9 フォントテーブル 10 文書バッファ 1 Control Unit 1a Modified Character Designating Means 1b Modified Designated Character String Searching Means 1c Modifying Code Setting Means 2 Keyboard 3 CRT 4 Printer 5 Printing Image 6 Display Buffer 7 Printing Buffer 8 Data Read Buffer 9 Font Table 10 Document Buffer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文章入力手段と表示手段及び前記表示内
容を印刷する印刷手段とを具備した文書作成装置に於い
て、表示上の特定の文字列を修飾して印刷する場合、修
飾文字列の指定が印刷条件設定時に行える修飾文字指定
手段と、印刷時に前記手段により指定した文字列を検索
する修飾指定文字列検索手段と、検索した修飾指定文字
について該当する修飾コードを設定する修飾コード設定
手段とを有することを特徴とする文書作成装置。
1. In a document creating apparatus comprising a text input means, a display means, and a printing means for printing the display content, when a specific character string on the display is modified and printed, the modified character string Modification character designation means that can be designated when setting printing conditions, modification designation character string search means that searches the character string designated by the means at the time of printing, and modification code setting means that sets the corresponding modification code for the retrieved modification specification characters. A document creation apparatus comprising:
JP5025175A 1993-02-15 1993-02-15 Document preparing device Pending JPH06243136A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5025175A JPH06243136A (en) 1993-02-15 1993-02-15 Document preparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5025175A JPH06243136A (en) 1993-02-15 1993-02-15 Document preparing device

Publications (1)

Publication Number Publication Date
JPH06243136A true JPH06243136A (en) 1994-09-02

Family

ID=12158677

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5025175A Pending JPH06243136A (en) 1993-02-15 1993-02-15 Document preparing device

Country Status (1)

Country Link
JP (1) JPH06243136A (en)

Similar Documents

Publication Publication Date Title
JPH11316760A (en) Method and system for generating summary of document by using position indication information
JPH05303590A (en) Automatic translating device
JPH076168A (en) Method for editing of structured document giving sbcs font and dbsc font by using dbsc code page
JPH0442704B2 (en)
JPH06243136A (en) Document preparing device
JPH03266066A (en) Attributed string replacer
JP2786260B2 (en) Kana-Kanji conversion device
JP3147947B2 (en) Machine translation equipment
JPH0572270B2 (en)
JPH0778133A (en) Document creating apparatus and character pattern output method
JPH0793303A (en) Document creation device and character modification control method
JPH0721189A (en) Translation support device
JPS6128156A (en) document editing device
JPS6257055A (en) Japanese word processor
JPH03157758A (en) Document preparing device
JP2005309533A (en) Document editing device, document vision method, and program therefor
JPH01217566A (en) character processing device
JPH0512267A (en) Automatic paragraphing system
JPH07105219A (en) Machine translation device
JPS62274459A (en) Sentence expression correction method
JPH08137851A (en) Term file creation system
JPH05257939A (en) Document preparing machine and its method
JPH01194061A (en) Display control system for word processor
JPH10177573A (en) Method and device for processing document
JPH06166235A (en) Character editing device