JPH06195331A - Word processor - Google Patents
Word processorInfo
- Publication number
- JPH06195331A JPH06195331A JP4358417A JP35841792A JPH06195331A JP H06195331 A JPH06195331 A JP H06195331A JP 4358417 A JP4358417 A JP 4358417A JP 35841792 A JP35841792 A JP 35841792A JP H06195331 A JPH06195331 A JP H06195331A
- Authority
- JP
- Japan
- Prior art keywords
- character
- input
- modification
- information
- character string
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】
【目的】 本発明はワードプロセッサに関し、所定の文
字列に対し、所望の文字修飾を簡易な操作で行うことを
目的とする。
【構成】 すでに入力された文字列に対する文字修飾情
報を記憶する第一情報記憶手段と、新たに入力する文字
列に対する文字修飾情報を記憶する第二情報記憶手段
と、該第一情報記憶手段及び該第二情報記憶手段に記憶
された各文字修飾情報に基づいて入力する文字列の文字
修飾情報を設定する情報設定手段とを具備し、前記情報
設定手段に設定された文字修飾情報に基づいて前記入力
手段より入力される文字の文字修飾を行うように構成す
る。
(57) [Summary] [Object] The present invention relates to a word processor, and an object thereof is to perform desired character modification on a predetermined character string by a simple operation. A first information storage means for storing character modification information for a character string that has already been input, a second information storage means for storing character modification information for a newly input character string, the first information storage means, and An information setting means for setting character modification information of a character string to be inputted based on each character modification information stored in the second information storage means, and based on the character modification information set in the information setting means. The character input by the input means is modified.
Description
【0001】[0001]
【産業上の利用分野】本発明は、ワードプロセッサに係
り、詳細には、入力文字に対する各種文字修飾の設定に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a word processor, and more particularly to setting various character decorations for input characters.
【0002】[0002]
【従来の技術】ワードプロセッサ(Word Processor:以
下、単にワープロという)とは、OA(Office Automat
ion )用機器の1つで、英文や和文等の文書をCRT
(Catho-de Ray Tube )やLCD(Liquid Crystal Dis
play:液晶表示装置)等の表示装置上に表示し、文書の
作成、編集するとともに、印刷を行うものであり、作成
した文書をファイルとして磁気ディスク等の外部記憶装
置に保存し、このファイルを必要に応じて呼び出すこと
で文書を再度編集し直すことができる。このようにワー
プロでは、保存された文書を再利用でき、文書の作成及
び修正が容易でることから、オフィスでの文書作成に限
らず、家庭での簡単な文書作成用途としても幅広く普及
している。2. Description of the Related Art A word processor (hereinafter, simply referred to as a word processor) is an OA (Office Automat
CRT for documents such as English and Japanese with one of the
(Catho-de Ray Tube) and LCD (Liquid Crystal Dis
(play: liquid crystal display device) is displayed on a display device to create, edit, and print a document. The created document is saved as a file in an external storage device such as a magnetic disk, and this file is saved. You can edit the document again by calling it as needed. As described above, since the stored document can be reused in the word processor and the document can be easily created and modified, it is widely used not only for the document creation in the office but also for the simple document creation at home. .
【0003】ワープロとよく似た仮名漢字混じりの文書
作成の方法として、エディタと呼ばれるソフトウェアに
日本語FEP(Front End Processor )を組み込んで使
用する方法があるが、この日本語FEPを組み込んだエ
ディタとワープロとが最も異なる点、すなわち、ワープ
ロの固有の特長として、入力文字に対する文字修飾機能
がある。As a method of creating a document mixed with kana and kanji that is similar to a word processor, there is a method of incorporating a Japanese FEP (Front End Processor) into software called an editor. The most different point from the word processor, that is, a unique feature of the word processor is a character modification function for input characters.
【0004】文字修飾機能とは、所定の文字列に対し、
種々の修飾を行うものであり、代表的な文字修飾機能と
しては、例えば、文字拡大(文字サイズ)、網掛け、囲
み、文字強調、文字色、添字、下線等がある。ちなみ
に、“文字拡大”とは、基本サイズの全角文字に対し
て、横倍、縦倍、4倍角、あるいはm/n倍角といった
処理を施して文字サイズを設定するもの、“網掛け”と
は、予め用意されたアミパターンを入力文字に被せるも
の、“囲み”とは所定幅の線、あるいは飾り線で入力文
字を囲うもの、“文字強調”とは、入力文字の文字幅を
太くしたり、影をつけたりするもの、“文字色”とは、
入力文字の色を設定するもの、“添字”とは、全角文字
に対して、1/4角処理を施して上付き、あるいは下付
きの文字を設定するもの、“下線”とは、所定幅の線、
あるいは飾り線で入力文字に対して下線を引くものであ
る。The character modification function means that for a predetermined character string,
Various modifications are performed, and typical character modification functions include, for example, character enlargement (character size), hatching, enclosing, character emphasis, character color, subscript, and underline. By the way, "enlarged characters" means that double-width characters, double-height characters, 4-fold characters, or m / n double-width characters are set for double-byte characters of the basic size to set the character size. , That covers the input characters with a pre-prepared halftone pattern, "encloses" encloses the input characters with a line with a predetermined width or decoration line, and "enhances" increases the character width of the input characters , Those that add shadows, and "character color"
"Subscript" is used to set the color of input characters. "Double-byte characters" are used to perform quarter-angle processing and set superscript or subscript characters. "Underline" means a predetermined width. Line of
Alternatively, a decorative line is used to underline the input characters.
【0005】ところで、ワープロ内で処理される文書デ
ータは、通常、文字列を構成する各文字の文字コードか
らなるテキストデータと、テキストデータの各文字に対
する属性、すなわち、文字修飾情報からなる文字属性デ
ータとの二種類のデータを含んでいる。By the way, document data processed in a word processor is usually text data consisting of character codes of respective characters forming a character string, and an attribute for each character of the text data, that is, a character attribute consisting of character modification information. It contains two types of data, data and data.
【0006】このため、ワープロによる文字修飾は、最
初に文字属性データを設定し、文字属性データを備えた
テキストデータとして文字列を入力するもの(以下、先
修飾設定という)と、最初に修飾情報のない単なるテキ
ストデータとして文字列を入力し、確定された文字列の
所定文字に対して後から所定の文字修飾を施すもの(以
下、後修飾設定という)とに分けられる。For this reason, in character modification by a word processor, first, character attribute data is set, and a character string is input as text data having the character attribute data (hereinafter referred to as "preliminary modification setting"), and first modification information. A character string is input as plain text data without a character, and a predetermined character of the determined character string is subsequently subjected to a predetermined character modification (hereinafter, referred to as post-modification setting).
【0007】以下、従来のワープロにおいて、入力文字
列に文字修飾を施す場合の手順について説明する。The procedure for applying character modification to an input character string in a conventional word processor will be described below.
【0008】先修飾設定のワープロでは、まず、オペレ
ータによって所定の文字修飾情報が設定され、設定され
た文字修飾情報に基づいて新規に入力する文字列の文字
属性データが決定される。In the word processor with the first modification setting, first, the operator sets predetermined character modification information, and the character attribute data of the character string to be newly input is determined based on the set character modification information.
【0009】そして、入力手段から入力される文字列が
ワープロ内で文字属性データの付された文字コードとし
て処理され、所定の文字修飾が施された入力文字列が表
示手段上に表示される。Then, the character string input from the input means is processed in the word processor as a character code with character attribute data, and the input character string with a predetermined character modification is displayed on the display means.
【0010】一方、後修飾設定のワープロでは、まず、
入力手段から無修飾の状態で文字列が入力され、文書デ
ータとして一旦確定される。On the other hand, in the word processor with the post-modification setting, first,
A character string is input from the input means in an unqualified state and is once determined as document data.
【0011】そして、確定された文書データの所定の文
字列に対して所望の文字修飾が施されることにより文字
属性データが決定され、所定の文字修飾が施された入力
文字列が表示手段上に表示される。Then, the character attribute data is determined by applying a desired character modification to the predetermined character string of the confirmed document data, and the input character string with the predetermined character modification is displayed on the display means. Is displayed in.
【0012】[0012]
【発明が解決しようとする課題】しかしながら、先修飾
設定のワープロにあっては、新規に入力される文字列に
対する文字修飾情報を予め設定し、この文字修飾情報に
基づいて入力手段から新たに入力される文字列に文字属
性データを付加するという構成となっていたため、新た
な文字修飾を行うたびに設定し直す必要があり、既存文
書側の修飾情報と新規に入力する文字側の修飾情報とが
異なる場合には、新規に文字を入力した部分だけ別の文
字修飾が施されるという問題点があった。However, in the word processor with the first modification setting, the character modification information for the newly input character string is set in advance, and new input is made from the input means based on this character modification information. Since it was configured to add the character attribute data to the character string to be written, it is necessary to reset each time new character modification is performed, and the modification information on the existing document side and the modification information on the newly input character side are If there is a difference, there is a problem that another character modification is applied only to the part where a new character is input.
【0013】また、後修飾設定のワープロにあっては、
新規に入力される文字列には文字修飾が一切なく、後か
ら必要な文字列に対して文字修飾を施すという構成とな
っていたため、以下に示すような問題点があった。Further, in a word processor having a post-modification setting,
Since the newly input character string has no character modification, and the character string is modified afterwards for a necessary character string, the following problems occur.
【0014】すなわち、従来のワードプロセッサにおい
ては、新規に文字列を入力する場合、大別して、既存文
書データの文字列中に新たな文字列を挿入していく「挿
入モード」と、既存文書データの文字列上に新たな文字
列を上書きしていく「上書きモード」という二つの動作
モードが存在するが、例えば、図8(a)に示すよう
に、文字修飾として“網掛け”が施された“1,2,
3,・・・,9,0”までの既存文字列が存在し、カー
ソルが“6”に位置する状態において、文字修飾のない
新規文字列“A,B,C,D”を「挿入モード」で入力
する場合、図8(b)に示すように、挿入された新規入
力文字列部分だけ文字修飾が解除されてしまっていた。That is, in a conventional word processor, when a new character string is input, it is roughly classified into an "insertion mode" for inserting a new character string into the character string of the existing document data, and an existing document data There are two operation modes called “overwrite mode” in which a new character string is overwritten on a character string. For example, as shown in FIG. 8A, “shading” is applied as a character modification. "1, 2,
When there are existing character strings up to 3, ..., 9,0 "and the cursor is located at" 6 ", the new character string" A, B, C, D "without character decoration is set in" insert mode ". 8B, the character modification is canceled only in the inserted new input character string portion, as shown in FIG. 8B.
【0015】一方、文字修飾のない新規文字列“A,
B,C,D”を「上書きモード」で入力する場合、新た
に入力する文字列が前述のテキストデータのみのとき
は、入力位置の文字修飾が生かされるが、新たに入力す
る文字列が前述のテキストデータと文字属性データとを
含むときには、図8(c)に示すように、上書きされた
新規入力文字列部分だけ文字修飾が解除されてしまい、
前述の「挿入モード」時と同様に、新規入力部分の文字
修飾が解除されてしまうことになる。On the other hand, the new character string "A,
When inputting "B, C, D" in the "overwrite mode", when the newly input character string is only the above-mentioned text data, the character modification of the input position is used, but the newly input character string is 8C includes the text data and the character attribute data, the character modification is canceled only for the overwritten new input character string portion, as shown in FIG. 8C.
As in the case of the "insert mode" described above, the character decoration of the new input portion is canceled.
【0016】また、新規文字入力の際に、既存文書デー
タの修飾情報を予め調べることにより入力文字にも既存
文書データの修飾情報と同一の修飾情報を持たせるとい
った手法のものも存在するが、この場合、修飾する必要
がない場合にも文字修飾がなされてしまうという新たな
問題点が生じる。There is also a method in which the input character has the same modification information as the modification information of the existing document data by previously checking the modification information of the existing document data at the time of inputting a new character. In this case, a new problem arises that the character is modified even when it is not necessary to modify it.
【0017】すなわち、従来の文字修飾では、目的とす
る文字列に対して文字修飾がなされず、目的外の文字列
に文字修飾がなされるといったことが起こり得るため、
このような場合、改めて文字修飾の設定をやり直さねば
ならなくなり、手続きが大変面倒なものとなる。That is, in the conventional character modification, character modification may not be performed on a target character string, and character modification may be performed on an unintended character string.
In such a case, it becomes necessary to set the character decoration again and the procedure becomes very troublesome.
【0018】本発明の課題は、所定の文字列に対し、所
望の文字修飾を簡易な操作で行うことである。An object of the present invention is to perform desired character decoration on a predetermined character string by a simple operation.
【0019】[0019]
【課題を解決するための手段】本発明の手段は次の通り
である。The means of the present invention are as follows.
【0020】本発明は、すでに入力された文字列に対す
る文字修飾情報を記憶する第一情報記憶手段と、新たに
入力する文字列に対する文字修飾情報を記憶する第二情
報記憶手段と、該第一情報記憶手段及び該第二情報記憶
手段に記憶された各文字修飾情報に基づいて入力する文
字列の文字修飾情報を設定する情報設定手段と、を具備
し、前記情報設定手段に設定された文字修飾情報に基づ
いて前記入力手段より入力される文字の文字修飾を行う
ことを特徴としている。According to the present invention, first information storage means for storing character modification information for a character string already input, second information storage means for storing character modification information for a newly input character string, and the first information storage means An information storage unit and an information setting unit for setting character decoration information of a character string to be input based on each character decoration information stored in the second information storage unit, and the character set in the information setting unit. It is characterized in that the characters inputted by the input means are modified based on the modification information.
【0021】[0021]
【作用】本発明の手段の作用は次の通りである。The operation of the means of the present invention is as follows.
【0022】本発明によれば、第一情報記憶手段及び第
二情報記憶手段に記憶された各文字修飾情報に基づいて
情報設定手段により入力文字列の修飾情報が設定される
ため、新規に入力される文字列は、すでに入力された文
字列に対する文字修飾情報と新たに入力する文字修飾情
報とが考慮され、所定の文字列に対して所望の文字修飾
が行われる。According to the present invention, since the modification information of the input character string is set by the information setting means based on the respective character modification information stored in the first information storage means and the second information storage means, new input In the character string to be generated, the desired character decoration is performed on the predetermined character string in consideration of the character modification information for the character string already input and the character modification information to be newly input.
【0023】すなわち、所定の文字列に対して所望の文
字修飾が簡易な操作で行われる。That is, desired character decoration is performed on a predetermined character string by a simple operation.
【0024】[0024]
【実施例】以下、図1〜図7を参照して実施例を説明す
る。EXAMPLES Examples will be described below with reference to FIGS.
【0025】図1〜図5は本発明に係るワードプロセッ
サの一実施例を示す図である。1 to 5 are diagrams showing an embodiment of the word processor according to the present invention.
【0026】まず、構成を説明する。図1は、本実施例
のワープロの概略構成を示すブロック図である。図1に
おいて、ワープロ1は、入力装置(入力手段)2、文書
編集装置3、表示装置(表示手段)4、文書バッファ
(第一情報記憶手段)5、入力バッファ6、入力文字修
飾情報格納部(第二情報記憶手段)7、修飾情報比較演
算部8から構成されている。First, the structure will be described. FIG. 1 is a block diagram showing a schematic configuration of a word processor of this embodiment. In FIG. 1, a word processor 1 includes an input device (input means) 2, a document editing device 3, a display device (display means) 4, a document buffer (first information storage means) 5, an input buffer 6, and an input character modification information storage unit. (Second information storage means) 7 and a modification information comparison operation unit 8.
【0027】入力装置2は、文字データの入力及び入力
文字の修飾情報の設定または修飾情報の演算モードの設
定、その他、文書のための各種ファンクションの指定を
行うものである。The input device 2 is used for inputting character data, setting decoration information of an input character or setting a calculation mode of decoration information, and specifying various functions for a document.
【0028】文書編集装置3は、入力装置2からの入力
に基づいて、実際に文書の作成編集を行うものである。The document editing device 3 actually creates and edits a document based on the input from the input device 2.
【0029】表示装置4は、例えば、液晶表示装置から
構成され、入力装置2から入力された文字列や、文書編
集装置3により編集される文書データ等を表示するもの
である。The display device 4 is composed of, for example, a liquid crystal display device, and displays a character string input from the input device 2, document data edited by the document editing device 3, and the like.
【0030】文書バッファ5は、文書編集装置3で編集
中の文書データを蓄えるものであり、文書データ中に
は、文書を構成する各文字毎に修飾情報を含んでいる。The document buffer 5 stores the document data being edited by the document editing apparatus 3, and the document data contains modification information for each character forming the document.
【0031】入力バッファ6は、入力装置2より入力さ
れた文字データを一旦蓄えるものであり、入力バッファ
6に蓄えられた文字データは、修飾情報比較演算部7に
より決定された修飾情報が付加され、文書編集装置3を
介して文書バッファ5に蓄えられる。The input buffer 6 temporarily stores the character data input from the input device 2, and the character data stored in the input buffer 6 is added with the modification information determined by the modification information comparison operation unit 7. , Is stored in the document buffer 5 via the document editing device 3.
【0032】入力文字修飾情報格納部7は、入力装置2
より入力される文字の修飾情報を格納するものである。The input character decoration information storage unit 7 includes an input device 2
It stores the modification information of the characters to be input.
【0033】修飾情報比較演算部8は、入力文字修飾情
報格納部7に格納された文字の修飾情報と、文書バッフ
ァ5から取り出した文字入力位置の修飾情報との比較演
算を行い、新規に入力する文字データに対する修飾情報
の決定を行うものである。The decoration information comparison calculation unit 8 performs a comparison calculation between the character decoration information stored in the input character decoration information storage unit 7 and the character input position modification information extracted from the document buffer 5 and newly input. The modification information for the character data to be processed is determined.
【0034】次に、本実施例の動作を説明する。Next, the operation of this embodiment will be described.
【0035】まず、図1に示すワープロ1における入力
文字に対する文字修飾設定について図2のフローチャー
トに基づいて説明する。First, the character decoration setting for an input character in the word processor 1 shown in FIG. 1 will be described with reference to the flowchart of FIG.
【0036】まず、入力装置2からのキー入力の有無を
検出し(ステップS1)、入力があった場合、入力され
たキーが文字データに対応するキーか、その他のファン
クションを指定するためのキーかのいずれのキーである
かどうかをチェックする(ステップS2)。First, the presence / absence of a key input from the input device 2 is detected (step S1). If there is an input, the input key is a key corresponding to character data, or a key for designating another function. It is checked which of the keys is the key (step S2).
【0037】ここで、入力されたキーが文字データに対
応するキーではなく、その他のファンクションを指定す
るためのキーであった場合、入力されたファンクション
キーが入力文字の修飾情報の設定を指示するものかどう
かをチェックし(ステップS3)、チェックの結果、入
力されたファンクションキーが入力文字の修飾情報の設
定を指示するキーであった場合、入力修飾設定処理を行
う。Here, when the input key is not the key corresponding to the character data but the key for designating another function, the input function key instructs the setting of the modification information of the input character. Whether or not it is a key (step S3) is checked, and as a result of the check, if the input function key is a key for instructing the setting of the modification information of the input character, the input modification setting process is performed.
【0038】入力修飾設定処理では、例えば、図3に示
すような“入力修飾情報設定”メニューの表示を行い、
“網掛け”,“下線”,“囲み”の各項目に対して設定
を行う。図3の例では、“網掛け”,“囲み”は、共に
「なし」で、“下線”として中実線を設定した場合を示
している。In the input modification setting process, for example, an "input modification information setting" menu is displayed as shown in FIG.
Set for each item of "Shading", "Underline", and "Box". In the example of FIG. 3, both “shaded” and “enclosed” are “none”, and a solid line is set as “underline”.
【0039】そして、入力修飾設定処理を終了したら、
上記ステップS1の処理に戻り、キー入力の受付状態と
なる。When the input modification setting process is completed,
Returning to the process of step S1, the key input acceptance state is set.
【0040】上記ステップS3の処理によるファンクシ
ョンキーのチェックの結果、入力されたファンクション
キーが入力文字の修飾情報の設定を指示するキーではな
かった場合、当該ファンクションキーが入力修飾と既存
修飾との演算モードの選択を指示する演算モードキーで
あるかどうかをチェックし(ステップS5)、チェック
の結果、入力されたファンクションキーが演算モードの
選択指示キーであった場合、演算モード選択処理を行う
(ステップS6)。As a result of checking the function key by the processing of step S3, when the input function key is not the key for instructing the setting of the modification information of the input character, the function key calculates the input modification and the existing modification. It is checked whether or not it is a calculation mode key for instructing mode selection (step S5), and if the result of the check is that the input function key is a calculation mode selection instruction key, calculation mode selection processing is performed (step S5). S6).
【0041】演算モード選択処理では、例えば、図4に
示すような“演算モード選択”メニューの表示を行い、
“入力修飾優先”,“既存修飾優先”,“OR”,“A
ND”,“EXOR”,・・・等の各演算モードの中か
ら所望の演算モードを選択する。In the calculation mode selection process, for example, a "calculation mode selection" menu is displayed as shown in FIG.
"Input modification priority", "Existing modification priority", "OR", "A"
A desired operation mode is selected from the operation modes such as ND "," EXOR ", ....
【0042】ここで、文書バッファ5から取り出した文
字入力位置の修飾情報として“網掛け”が設定された、
図5(a)に示すような“1,2,3,・・・,9,
0”までの既存文字列に対し、入力文字修飾情報格納部
7に格納された文字の修飾情報として“下線”が設定さ
れた新規文字列“A,B,C,D”を「上書きモード」
で入力する場合を例に採り、各演算モードについて説明
する。Here, "shading" is set as the modification information of the character input position taken out from the document buffer 5,
As shown in FIG. 5A, “1, 2, 3, ..., 9,
For existing character strings up to 0 ", the new character string" A, B, C, D "in which" underline "is set as the character modification information stored in the input character modification information storage 7 is set to" overwrite mode ".
Each calculation mode will be described by taking as an example the case of inputting with.
【0043】“入力修飾優先”モードは、入力文字修飾
情報格納部7に格納された文字の修飾情報を優先して新
たに入力される入力文字の修飾情報とするモードであ
り、図5(a)に示すように、“網掛け”が設定された
“1,2,3,・・・,9,0”までの既存文字列に対
してカーソルが“6”に位置するときに、新規文字列と
して“A,B,C,D”を入力すると、図5(b)に示
すように、修飾情報として“下線”が設定された文字列
が新たに入力される。The "input modification priority" mode is a mode in which the modification information of the character stored in the input character modification information storage unit 7 is preferentially used as the modification information of the newly input input character, as shown in FIG. ), When the cursor is located at “6” for an existing character string up to “1, 2, 3, ..., 9, 0” for which “shading” is set, a new character When "A, B, C, D" is input as the column, a character string in which "underline" is set as the modification information is newly input as shown in FIG.
【0044】“既存修飾優先”モードは、文書バッファ
5から取り出した文字入力位置の修飾情報を優先して新
たに入力される入力文字の修飾情報とするモードであ
り、前述した“入力修飾優先”モードと同様に、“網掛
け”が設定された“1,2,3,・・・,9,0”まで
の既存文字列に対してカーソルが“6”に位置するとき
に、新規文字列として“A,B,C,D”を入力する
と、図5(c)に示すように、修飾情報として“網掛
け”が設定された文字列が新たに入力される。The "existing modification priority" mode is a mode in which the modification information of the character input position extracted from the document buffer 5 is prioritized as the modification information of the newly input input character, and the "input modification priority" described above is used. Similar to the mode, when the cursor is located at “6” for the existing character strings up to “1, 2, 3, ... When "A, B, C, D" is input as, a character string in which "shading" is set as the modification information is newly input as shown in FIG.
【0045】“OR”モードは、入力文字修飾情報格納
部7に格納された文字の修飾情報と、文書バッファ5か
ら取り出した文字入力位置の修飾情報との間でOR(論
理和)演算を行うことにより新たに入力される入力文字
の修飾情報とするモードであり、前述した“入力修飾優
先”モードと同様に、“網掛け”が設定された“1,
2,3,・・・,9,0”までの既存文字列に対してカ
ーソルが“6”に位置するときに、新規文字列として
“A,B,C,D”を入力すると、図5(d)に示すよ
うに、修飾情報として“網掛け”と“下線”が設定され
た文字列が新たに入力される。In the "OR" mode, an OR (logical sum) operation is performed between the character decoration information stored in the input character decoration information storage unit 7 and the character input position decoration information retrieved from the document buffer 5. This is the mode to use as the modification information of the newly input input character. As with the above-mentioned “input modification priority” mode, “1,” with “shaded” is set.
When the cursor is positioned at “6” for existing character strings up to 2, 3, ..., 9,0 ”, and when“ A, B, C, D ”is input as a new character string, As shown in (d), a character string in which "shading" and "underline" are set as the modification information is newly input.
【0046】“AND”モードは、入力文字修飾情報格
納部7に格納された文字の修飾情報と、文書バッファ5
から取り出した文字入力位置の修飾情報との間でAND
(論理積)演算を行うことにより新たに入力される入力
文字の修飾情報とするモードであり、前述した“入力修
飾優先”モードと同様に、“網掛け”が設定された
“1,2,3,・・・,9,0”までの既存文字列に対
してカーソルが“6”に位置するときに、新規文字列と
して“A,B,C,D”を入力すると、図5(e)に示
すように、修飾情報として何も設定されない文字列が新
たに入力される。In the "AND" mode, the character decoration information stored in the input character decoration information storage 7 and the document buffer 5 are stored.
AND with the modification information of the character input position extracted from
In this mode, which is used as decoration information for a newly input character by performing (logical product) operation, as in the case of the "input modification priority" mode described above, "1, 2, When the cursor is positioned at "6" for the existing character strings up to 3, ..., 9,0 "and" A, B, C, D "is input as a new character string, FIG. ), A character string in which nothing is set as the decoration information is newly input.
【0047】“EXOR”モードは、入力文字修飾情報
格納部7に格納された文字の修飾情報と、文書バッファ
5から取り出した文字入力位置の修飾情報との間でEX
OR(排他的論理和)演算を行うことにより新たに入力
される入力文字の修飾情報とするモードであり、前述し
た“入力修飾優先”モードと同様に、“網掛け”が設定
された“1,2,3,・・・,9,0”までの既存文字
列に対してカーソルが“6”に位置するときに、新規文
字列として“A,B,C,D”を入力すると、この場
合、OR(論理和)処理の場合と同様に、修飾情報とし
て“網掛け”と“下線”が設定された文字列が新たに入
力される。In the "EXOR" mode, the EX between the character decoration information stored in the input character decoration information storage unit 7 and the character input position decoration information extracted from the document buffer 5 is EX.
This mode is used as modification information of an input character newly input by performing an OR (exclusive OR) operation. Like the above-mentioned "input modification priority" mode, "1" with "hatched" is set. , 2, 3, ..., 9, 0 ", when the cursor is positioned at" 6 "for the existing character string, if" A, B, C, D "is entered as a new character string, In this case, as in the case of the OR (logical sum) processing, a character string in which "shading" and "underline" are set as the modification information is newly input.
【0048】すなわち、図5(b)では、演算モードが
入力修飾優先モードであるために下線が付加され、図5
(c)では、既存修飾優先モードであるために網掛けが
付加されている。また、図5(d)では、ORモードで
あるために網掛けと下線とが付加され、図5(e)で
は、ANDモードであるために、入力側と既存側とで同
一種の修飾がないことから修飾がなにも付加されないこ
とになる。That is, in FIG. 5B, since the operation mode is the input modification priority mode, an underline is added, and FIG.
In (c), hatching is added because the mode is the existing modification priority mode. Further, in FIG. 5 (d), since it is the OR mode, hatching and underlining are added, and in FIG. 5 (e), since it is the AND mode, the same type of modification is applied on the input side and the existing side. Since there is no such modification, no modification is added.
【0049】そして、演算モード選択処理を終了した
ら、上記ステップS1の処理に戻り、キー入力の受付状
態となる。When the calculation mode selection process is completed, the process returns to step S1 to enter the key input acceptance state.
【0050】上記ステップS5の処理によるファンクシ
ョンキーのチェックの結果、入力されたファンクション
キーが演算モードの選択指示キーでなかった場合、入力
されたファンクションキーに対応する機能を実行し(ス
テップS7)、上記ステップS1の処理に戻り、キー入
力の受付状態となる。As a result of checking the function keys by the processing of step S5, if the input function key is not the calculation mode selection instruction key, the function corresponding to the input function key is executed (step S7). Returning to the process of step S1, the key input acceptance state is set.
【0051】一方、上記ステップS2の処理に基づい
て、入力されたキーが文字データに対応するキーであっ
た場合、修飾情報比較演算部8によって、文字入力位置
における既存修飾情報の獲得を行うとともに(ステップ
S8)、当該既存修飾情報と入力文字の修飾情報との演
算を実行する(ステップS9)。On the other hand, based on the processing in step S2, when the input key is a key corresponding to character data, the modification information comparison operation unit 8 acquires the existing modification information at the character input position and (Step S8), the existing modification information and the modification information of the input character are calculated (step S9).
【0052】そして、ステップS9で得られた修飾情報
に基づいて新たに入力される文字データを文書データと
して設定する(ステップS10)。Then, the newly input character data is set as the document data based on the modification information obtained in step S9 (step S10).
【0053】以下、上記ステップS1の処理に戻り、前
述の処理を繰り返す。Thereafter, the process returns to the step S1 and the above-mentioned process is repeated.
【0054】このように本実施例では、既存の修飾情報
と入力の修飾情報との間に所定の論理演算を施すといっ
た演算モードを設けることにより、文字入力時に多彩な
修飾情報を設定することができる。As described above, in this embodiment, by providing a calculation mode in which a predetermined logical operation is performed between the existing decoration information and the input decoration information, various decoration information can be set at the time of character input. it can.
【0055】また、既に入力された文字列に対して新規
に文字を追加する場合でも、設定モードに応じて既存の
修飾情報を優先したり、新たな文字列の修飾情報を優先
したりすることができる。Even when a new character is added to a character string that has already been input, it is possible to give priority to the existing decoration information or the decoration information of a new character string according to the setting mode. You can
【0056】図6,図7は本発明に係るワードプロセッ
サの他の実施例を示す図である。FIGS. 6 and 7 are views showing another embodiment of the word processor according to the present invention.
【0057】前述の一実施例では、予め設定した演算モ
ードに基づいて新規入力文字の修飾情報を決定するもの
であったが、本実施例では、前述の一実施例に追加して
“切替キー”を設け、“切替キー”を押下する毎に演算
モードを変更するものである。In the above-mentioned one embodiment, the modification information of the newly input character is determined based on the preset operation mode. In this embodiment, in addition to the above-mentioned one embodiment, the "switch key" is added. "Is provided, and the calculation mode is changed each time the" switch key "is pressed.
【0058】以下、図6に示すフローチャートに基づい
て演算モードの変更処理を説明する。The process of changing the calculation mode will be described below with reference to the flow chart shown in FIG.
【0059】なお、入力条件としては、図5に示す場合
と同様に、文書バッファ5から取り出した文字入力位置
の修飾情報として“網掛け”が設定された“1,2,
3,・・・,9,0”までの既存文字列に対し、入力文
字修飾情報格納部7に格納された文字の修飾情報として
“下線”が設定された新規文字列“A,B,C,D”を
「上書きモード」で入力する場合を考えるものとする。As the input condition, as in the case shown in FIG. 5, "1,2," in which "shading" is set as the modification information of the character input position extracted from the document buffer 5.
New character strings "A, B, C" in which "underline" is set as the character modification information stored in the input character modification information storage 7 for existing character strings up to 3, ..., 9, 0 " , D "are input in the" overwrite mode ".
【0060】演算モードが“入力修飾優先”モードの場
合、“網掛け”が設定された“1,2,3,・・・,
9,0”までの既存文字列に対してカーソルが“6”に
位置するときに、新規文字列として“A,B,C,D”
を入力すると、図7(a)に示すように、修飾情報とし
て“下線”が設定された文字列が新たに入力される。When the operation mode is the “input modification priority” mode, “1, 2, 3, ...
When the cursor is located at "6" for the existing character string up to 9,0 ", the new character string is" A, B, C, D ".
7 is input, a character string in which “underline” is set as the modification information is newly input as shown in FIG.
【0061】ここで、切替キーを押下すると、演算モー
ドが“入力修飾優先”モードから“既存修飾優先”モー
ドに切り替わり(ステップP1)、修飾情報比較演算部
8によって、既存修飾情報と入力文字の修飾情報との演
算を実行し(ステップP2)、“網掛け”の設定された
“1,2,3,・・・,9,0”までの既存文字列に対
して、新規文字列“A,B,C,D”を入力すると、図
7(b)に示すように、修飾情報として“網掛け”が設
定された文字列を入力表示する(ステップP3)。When the switch key is pressed, the operation mode is switched from the "input modification priority" mode to the "existing modification priority" mode (step P1), and the modification information comparison operation unit 8 allows the existing modification information and the input character to be recognized. The calculation with the modification information is executed (step P2), and the new character string "A" is added to the existing character strings up to "1, 2, 3, ... , B, C, D ", a character string in which" shading "is set as the modification information is input and displayed as shown in FIG. 7B (step P3).
【0062】以下、切替キーを押下する度に、“入力修
飾優先”→“既存修飾優先”→“OR”→“AND”→
“EXOR”→“入力修飾優先”→・・・のように、演
算モードの切り替えを行いつつ、表示を変更するもので
ある。Every time the switch key is pressed, "input modification priority" → "existing modification priority" → "OR" → "AND" →
The display is changed while switching the calculation mode as in “EXOR” → “input modification priority” → ...
【0063】これによって、本実施例では、前述の一実
施例に加えて、文字修飾情報の設定を容易に行うことが
できる。As a result, in this embodiment, in addition to the above-described embodiment, the character decoration information can be easily set.
【0064】以上説明したように、本発明では、既存の
修飾情報と入力の修飾情報との間に演算モードを設けた
ので、文字設定時に多彩な修飾情報を容易に実現するこ
とができ、例えば、既に入力された文字列を追加する場
合、設定モードに応じて既存の修飾情報を優先したり、
新たな文字列の修飾情報を優先したりすることができ
る。As described above, according to the present invention, since the arithmetic mode is provided between the existing modification information and the input modification information, various kinds of modification information can be easily realized at the time of character setting. , When adding a character string that has already been input, prioritize existing decoration information according to the setting mode,
The decoration information of a new character string can be given priority.
【0065】なお、上記実施例は論理演算として、O
R,AND,EXORを例としているが、この他の論理
演算を適用するものであってもよいことは勿論である。In the above embodiment, the logical operation is O
Although R, AND, and EXOR are taken as an example, it goes without saying that other logical operations may be applied.
【0066】[0066]
【発明の効果】本発明によれば、第一情報記憶手段及び
第二情報記憶手段に記憶された各文字修飾情報に基づい
て情報設定手段により入力文字列の修飾情報を設定でき
るので、新規に入力される文字列は、すでに入力された
文字列に対する文字修飾情報と新たに入力する文字修飾
情報とが考慮され、所定の文字列に対して所望の文字修
飾を行うことができる。According to the present invention, since the modification information of the input character string can be set by the information setting means based on the respective character modification information stored in the first information storage means and the second information storage means, a new The character string to be input can be subjected to desired character decoration on a predetermined character string in consideration of the character decoration information for the character string already input and the character decoration information to be newly input.
【0067】したがって、本発明では、所定の文字列に
対して所望の文字修飾を簡易な操作で容易に行うことが
できる。Therefore, in the present invention, it is possible to easily perform a desired character modification on a predetermined character string by a simple operation.
【図1】一実施例のワープロの概略構成を示すブロック
図。FIG. 1 is a block diagram showing a schematic configuration of a word processor according to an embodiment.
【図2】新規入力文字に対する文字修飾設定手順を示す
フローチャート。FIG. 2 is a flowchart showing a character decoration setting procedure for a newly input character.
【図3】入力修飾情報設定のメニュー例を示す図。FIG. 3 is a diagram showing an example of a menu for setting input modification information.
【図4】演算モード選択のメニュー例を示す図。FIG. 4 is a diagram showing an example of a menu for selecting a calculation mode.
【図5】一実施例の動作例を説明するための表示例を示
す図。FIG. 5 is a diagram showing a display example for explaining an operation example of the embodiment.
【図6】他の実施例の演算モード変更処理を説明するた
めのフローチャート。FIG. 6 is a flowchart for explaining a calculation mode changing process according to another embodiment.
【図7】他の実施例の動作例を説明するための表示例を
示す図。FIG. 7 is a diagram showing a display example for explaining an operation example of another embodiment.
【図8】従来の動作例を説明するための表示例を示す
図。FIG. 8 is a diagram showing a display example for explaining a conventional operation example.
1 ワープロ 2 入力装置 3 文書編集装置 4 表示装置 5 文書バッファ 6 入力バッファ 7 入力文字修飾情報格納部 8 修飾情報比較演算部 1 word processor 2 input device 3 document editing device 4 display device 5 document buffer 6 input buffer 7 input character decoration information storage unit 8 decoration information comparison operation unit
Claims (1)
情報を記憶する第一情報記憶手段と、 新たに入力する文字列に対する文字修飾情報を記憶する
第二情報記憶手段と、 該第一情報記憶手段及び該第二情報記憶手段に記憶され
た各文字修飾情報に基づいて入力する文字列の文字修飾
情報を設定する情報設定手段と、 を具備し、 前記情報設定手段に設定された文字修飾情報に基づいて
前記入力手段より入力される文字の文字修飾を行うこと
を特徴とするワードプロセッサ。1. A first information storage means for storing character modification information for a character string already input, a second information storage means for storing character modification information for a newly input character string, and the first information storage. Means and information setting means for setting the character decoration information of the character string to be input based on each character decoration information stored in the second information storage means, and the character decoration information set in the information setting means. A character processor for character-modifying a character input by the input means based on the above.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4358417A JPH06195331A (en) | 1992-12-24 | 1992-12-24 | Word processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4358417A JPH06195331A (en) | 1992-12-24 | 1992-12-24 | Word processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH06195331A true JPH06195331A (en) | 1994-07-15 |
Family
ID=18459192
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4358417A Pending JPH06195331A (en) | 1992-12-24 | 1992-12-24 | Word processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06195331A (en) |
-
1992
- 1992-12-24 JP JP4358417A patent/JPH06195331A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA2133874C (en) | Method and system for automatic formatting of user selected text | |
| EP0583030A2 (en) | A method and system for apparent direct editing of transient graphic elements within a data processing system | |
| US8826171B2 (en) | System and method for entry and display of blueprint data | |
| US5867700A (en) | Information processing apparatus and method for displaying a first window displaying a list of names of attribute information and a second window displaying search and substitution command columns | |
| JPH06195331A (en) | Word processor | |
| JPH0366700B2 (en) | ||
| JPH08305687A (en) | Creation method of input field exclusively used for numeral string and cursor positioning method in said field | |
| JP2706558B2 (en) | Ladder program editing method | |
| JP2771095B2 (en) | Character processing method | |
| JP2823188B2 (en) | Information processing apparatus and method | |
| JPH0334098B2 (en) | ||
| JPH04192068A (en) | Editing method | |
| JPH03179553A (en) | Japanese document creation device | |
| CN119126664A (en) | An editing auxiliary method and device for ladder diagram programming | |
| JPH1097532A (en) | Information processing apparatus and method | |
| JPH025177A (en) | Document logical structure editing device | |
| JPH02129760A (en) | character processing device | |
| JPH01100660A (en) | Abbreviated input method for character processing devices | |
| JPH05242080A (en) | Character processor | |
| JPH0721178A (en) | Character modification control method and device | |
| JPH0546376A (en) | How to create a program list | |
| JPH0514579A (en) | Facsimile transmission processing unit by computer | |
| JPH03142657A (en) | document processing device | |
| JPS60159967A (en) | document creation device | |
| JPS60129876A (en) | Document processor |