JPH09185608A - Information processor - Google Patents

Information processor

Info

Publication number
JPH09185608A
JPH09185608A JP7344212A JP34421295A JPH09185608A JP H09185608 A JPH09185608 A JP H09185608A JP 7344212 A JP7344212 A JP 7344212A JP 34421295 A JP34421295 A JP 34421295A JP H09185608 A JPH09185608 A JP H09185608A
Authority
JP
Japan
Prior art keywords
attribute
character
code
control
information
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
JP7344212A
Other languages
Japanese (ja)
Inventor
Michio Kawabe
道大 川辺
Toshio Tamura
歳雄 田村
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 JP7344212A priority Critical patent/JPH09185608A/en
Publication of JPH09185608A publication Critical patent/JPH09185608A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To suppress the consumption of memory required for attribute processing at an information processor and to improve the utilization efficiency of memory. SOLUTION: In this information processor, corresponding to one control code to be inserted into a text, the operation contents of this control code are separately defined under the control of control means 1 and stored in an attribute definition information storage means 9 and its detailed processing contents, namely, attribute control information is set to an attribute control information storage means 10. Thus, only by inserting the control code to the head of designated character string, attribute processing can be performed to this character string by an attribute processing means 11. Therefore, it is not necessary for this information processor to apply the control code for each character and the utilization efficiency of memory can be improved.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、文字あるいは文字
列に対して、例えば文字の修飾、装飾等の、文字の属性
情報に基づく処理を行う情報処理装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus for processing a character or a character string based on attribute information of the character, such as character decoration and decoration.

【0002】[0002]

【従来の技術】従来、情報処理装置において、文字のア
トリビュート(属性)情報にかかる処理(以下、アトリ
ビュート処理と称する)を行うための方法としては、例
えば、書体コードやカラーコードをテキスト中に挿入す
る方法が一般的に用いられている。
2. Description of the Related Art Conventionally, in an information processing apparatus, as a method for performing processing (hereinafter referred to as attribute processing) concerning attribute information of a character, for example, a typeface code or a color code is inserted into text. The method of doing is generally used.

【0003】このようなアトリビュート処理を行う情報
処理装置として、例えば特開昭63−30894号公報
には、テキストの一文字に対応したアトリビュートデー
タを記憶するアトリビュートメモリーにより、アトリビ
ュート処理を行う情報処理装置が開示されている。
As an information processing apparatus for performing such attribute processing, for example, Japanese Patent Laid-Open No. 63-30894 discloses an information processing apparatus for performing attribute processing by an attribute memory storing attribute data corresponding to one character of text. It is disclosed.

【0004】また、例えば特開平6−35910号公報
では、文字幅に応じて文字修飾の長さを制御する情報処
理装置が開示されている。
Further, for example, Japanese Unexamined Patent Publication (Kokai) No. 6-35910 discloses an information processing apparatus for controlling the length of character modification according to the character width.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来の情報処理装置では、例えば、一文字毎に書体や色を
変えて特殊な効果を出すためには、文字毎に書体コード
あるいはカラーコード等をテキスト中に挿入する必要が
ある。このため、これらの制御コードによる、テキスト
メモリ等のメモリの消費が著しく、メモリの使用効率が
低下するという問題点を有している。
However, in the above-described conventional information processing apparatus, for example, in order to produce a special effect by changing the typeface or color for each character, a typeface code or a color code is written for each character. Must be inserted inside. Therefore, the control code consumes a large amount of memory such as a text memory, resulting in a decrease in memory usage efficiency.

【0006】例えば、上記特開昭63−30894号公
報に記載の情報処理装置のように、一文字毎にアトリビ
ュートデータ専用のメモリを有する場合には、文字にア
トリビュート処理を施さない場合でもテキストメモリの
サイズと同等のアトリビュートデータ用のメモリを必要
とする。このため、上記情報処理装置では、メモリの使
用効率が良くない。
For example, if the information processing apparatus described in the above-mentioned Japanese Patent Laid-Open No. 63-30894 has a memory dedicated to attribute data for each character, the text memory can be stored even if the attribute processing is not applied to the character. Requires memory for attribute data that is equal to size. Therefore, in the above information processing apparatus, the memory usage efficiency is not good.

【0007】また、特開平6−35910号公報に記載
の情報処理装置のように文字幅に応じて文字修飾の長さ
を制御する場合には、文字幅等に係る情報を一文字毎に
メモリ内のワークエリアに記憶するようになっている。
このため、上記情報処理装置では、修飾対象の文字が多
くなると大きなワークエリアを必要とすることになり、
やはりメモリの使用効率が良くない。
Further, in the case of controlling the length of character decoration according to the character width as in the information processing apparatus described in Japanese Patent Laid-Open No. Hei 6-35910, information on the character width and the like is stored in the memory for each character. It is designed to be stored in the work area of.
Therefore, in the above information processing device, a large work area is required as the number of characters to be modified increases.
After all, the use efficiency of memory is not good.

【0008】本発明は、上記従来の問題点に鑑みてなさ
れたものであり、文字の修飾、装飾等の処理を行う際に
必要とするメモリの消費を抑え、メモリの使用効率を向
上させることができる情報処理装置を提供することを目
的とする。
The present invention has been made in view of the above problems of the prior art, and suppresses the consumption of the memory required for processing such as character decoration and decoration, and improves the memory usage efficiency. An object of the present invention is to provide an information processing device capable of performing the above.

【0009】[0009]

【課題を解決するための手段】上記の課題を解決するた
めに、請求項1記載の情報処理装置は、指定された文字
列の先頭に、文字の属性情報に対して割り当てられた制
御コードを付与すると共に、制御コードを付与した文字
列に対して、その制御コードに割り当てられた属性情報
に基づく処理を行う属性情報処理手段を有することを特
徴としている。
In order to solve the above-mentioned problems, an information processing apparatus according to claim 1 has a control code assigned to character attribute information at the beginning of a designated character string. It is characterized by including attribute information processing means for performing processing based on the attribute information assigned to the control code to the character string to which the control code is assigned.

【0010】上記の構成によれば、指定された文字列の
先頭に一つの制御コードを挿入するだけで、上記属性情
報処理の対象となる文字列に対して、その制御コードに
割り当てられた文字の属性情報に基づく処理を行うこと
ができる。
According to the above configuration, by inserting only one control code at the beginning of the designated character string, the character assigned to the control code is assigned to the character string subject to the attribute information processing. It is possible to perform processing based on the attribute information of.

【0011】つまり、従来は、文字の修飾を行う場合、
例えば書体コードやカラーコード等の制御コードを一文
字毎にテキスト内に挿入する必要があった。このため、
テキストメモリ等のメモリの消費が著しく、メモリの使
用効率が良くないという問題があった。
That is, conventionally, when character modification is performed,
For example, it was necessary to insert a control code such as a typeface code or color code into the text for each character. For this reason,
There is a problem that the consumption of the memory such as the text memory is significant and the efficiency of the memory usage is not good.

【0012】これに対し、本発明の情報処理装置では、
テキスト中に制御コードを挿入するが、予め、例えば書
体の変化や色相の変化といった文字の属性情報に対して
制御コードを割り当てておき、制御コードを付与した文
字列に対して属性情報処理を行う。このように、本発明
の情報処理装置では、一つの制御コードで、その制御コ
ードを付与した文字列に対して処理を行うので、制御コ
ードを一文字毎にテキスト内に挿入する場合と比較し
て、上記処理に要するメモリの消費を抑えることがで
き、メモリの使用効率を向上させることができる。
On the other hand, in the information processing apparatus of the present invention,
Although a control code is inserted in the text, a control code is assigned in advance to the attribute information of the character such as the change of the typeface or the change of the hue, and the attribute information processing is performed on the character string with the control code. . As described above, in the information processing apparatus of the present invention, since the processing is performed on the character string to which the control code is added with one control code, compared with the case where the control code is inserted into the text for each character. The memory consumption required for the above processing can be suppressed, and the memory usage efficiency can be improved.

【0013】従って、上記属性情報として、例えば書体
の変化や、指定された書体が存在しない場合に使用する
代替書体の優先順位等を予め定義しておくことによっ
て、一文字毎に書体コードを付加することなく、一文字
毎に書体を変化させることが可能となる。
Therefore, as the attribute information, for example, the change of the typeface, the priority of the alternative typeface to be used when the designated typeface does not exist, and the like are defined in advance, so that the typeface code is added for each character. It is possible to change the typeface for each character without having to.

【0014】また、上記属性情報として、例えば色調や
色相の変化、白黒モードに変換した場合の各カラーのグ
レースケールを予め定義しておくことによって、一文字
毎にカラーコードを付加することなく、一文字毎に文字
の色を変更することが可能となる。
Further, as the attribute information, for example, a change in color tone or hue, and a gray scale of each color when converted to a monochrome mode are defined in advance, so that each character can be written without adding a color code. It is possible to change the color of the character for each.

【0015】さらに、上記属性情報として、例えば、文
字の変形の様式(変形パターン)を予め定義しておくこ
とによって、一文字毎に文字変形コードを付加すること
なく、出力文字列に変形を加えて特殊な効果を出すこと
が可能となる。
Further, as the attribute information, for example, by predefining a character deformation pattern (deformation pattern), it is possible to modify the output character string without adding a character modification code for each character. It is possible to produce special effects.

【0016】請求項2記載の情報処理装置は、請求項1
記載の構成において、上記制御コードには、複数種類の
属性情報が割り当てられていることを特徴としている。
An information processing apparatus according to claim 2 is the information processing apparatus according to claim 1.
In the described structure, a plurality of types of attribute information are assigned to the control code.

【0017】上記の構成によれば、複数種類の属性情報
処理を行う場合でも、一つの制御コードで処理すること
ができ、さらにメモリの利用効率を向上させることがで
きると共に、より複雑な処理を行うことができる。この
場合には、一つの制御コードに、上述した書体の変化
や、色調や色相の変化等の複数種類の属性情報を組み合
わせて割り当ててもよいし、一つの制御コードに、既に
属性情報が割り当てられている他の制御コードを組み合
わせて定義付けすることによって、複数種類の属性情報
を組み合わせて割り当ててもよい。一つの制御コード
に、既に属性情報が割り当てられている他の制御コード
を組み合わせて定義付けする場合には、組み合わせられ
る属性情報の数をより多くすることができるので、さら
に複雑な属性情報処理の指定をも一つの制御コードで指
定することができ、さらにメモリの利用効率を向上させ
ることができる。
According to the above configuration, even when a plurality of types of attribute information processing are performed, the processing can be performed with one control code, the efficiency of memory usage can be improved, and more complicated processing can be performed. It can be carried out. In this case, one control code may be assigned by combining a plurality of types of attribute information such as a change in the above-mentioned typeface, a change in color tone and a hue, or one control code may already be assigned attribute information. A plurality of types of attribute information may be combined and assigned by defining other combined control codes. When one control code is combined with another control code to which attribute information is already assigned and defined, the number of attribute information to be combined can be increased, so that more complicated attribute information processing can be performed. The designation can also be designated with a single control code, and the memory utilization efficiency can be further improved.

【0018】請求項3記載の情報処理装置は、請求項2
記載の構成において、上記複数種類の属性情報の中に
は、指定された文字列において、上記文字列に付与され
た制御コードに基づく属性情報の処理を繰り返し実行す
るための情報が含まれていることを特徴としている。
The information processing apparatus according to claim 3 is the information processing apparatus according to claim 2.
In the described configuration, the plurality of types of attribute information include information for repeatedly executing the processing of the attribute information based on the control code given to the character string in the designated character string. It is characterized by that.

【0019】上記の構成によれば、出力文字列の変化に
連続性を持たせることができ、長い文字列に対しても単
調な属性情報処理となることがなく、一定の周期で特殊
効果を出すことができる。
According to the above configuration, the change of the output character string can be provided with continuity, the monotonous attribute information processing is not performed even for the long character string, and the special effect can be obtained at a constant cycle. Can be issued.

【0020】請求項4記載の情報処理装置は、請求項
1、2または3記載の構成において、上記属性情報処理
手段は、文字列の中に、予め設定した、制御コードに基
づく属性情報処理を停止させる文字を認識したとき、そ
の文字の直前で上記の処理を停止することを特徴として
いる。
According to a fourth aspect of the present invention, in the configuration according to the first, second or third aspect, the attribute information processing means includes attribute information processing based on a preset control code in a character string. When the character to be stopped is recognized, the above process is stopped immediately before the character.

【0021】上記の構成によれば、特別に上記属性情報
処理を終了するための制御コードを必要とせず、上記属
性情報処理を終了することが可能となる。
According to the above arrangement, it is possible to end the attribute information processing without requiring a special control code for ending the attribute information processing.

【0022】[0022]

【発明の実施の形態】本発明の実施の一形態について図
1ないし図9に基づいて説明すれば、以下の通りであ
る。まず、図1に示すブロック図に基づいて、本実施の
形態に係る情報処理装置のシステムの概略構成について
説明する。図1に示すように、本実施の形態に係る情報
処理装置は、制御手段1、入力手段2、テキストデータ
記憶手段3、文字フォントデータ記憶手段4、表示手段
5、印刷手段6、処理プログラム記憶手段7、一時記憶
手段8、アトリビュート定義情報記憶手段9、アトリビ
ュート制御情報記憶手段10、アトリビュート処理手段
11、および、バスライン12を備えており、上記制御
手段1、アトリビュート定義情報記憶手段9、アトリビ
ュート制御情報記憶手段10、アトリビュート処理手段
11により、属性情報処理手段を構成している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIGS. First, the schematic configuration of the system of the information processing apparatus according to the present embodiment will be described based on the block diagram shown in FIG. As shown in FIG. 1, the information processing apparatus according to the present embodiment has a control unit 1, an input unit 2, a text data storage unit 3, a character font data storage unit 4, a display unit 5, a printing unit 6, and a processing program storage unit. Means 7, temporary storage 8, attribute definition information storage 9, attribute control information storage 10, attribute processing 11, and bus line 12 are provided, and the control means 1, attribute definition information storage 9, attribute is provided. The control information storage means 10 and the attribute processing means 11 constitute an attribute information processing means.

【0023】上記制御手段1は、処理プログラム記憶手
段7に記憶されている各種の処理プログラムに従って、
処理システム全体の制御を行うようになっている。尚、
これらの制御には、必要に応じて一時記憶手段8が用い
られる。
The control means 1 follows the various processing programs stored in the processing program storage means 7,
It is designed to control the entire processing system. still,
For these controls, the temporary storage means 8 is used as needed.

【0024】入力手段2は、キーボードやポインティン
グデバイス等で構成され、文字の入力やかな漢字変換処
理、カーソルの制御等、各種の入力操作に用いられる。
The input means 2 is composed of a keyboard, a pointing device, etc., and is used for various input operations such as character input, kana-kanji conversion processing, cursor control, and the like.

【0025】テキストデータ記憶手段3は、入力手段2
から入力された文字データや制御コード等を記憶するよ
うになっている。テキストデータ記憶手段3にて記憶さ
れた文字データは、制御手段1によって表示手段5に表
示することができ、また、制御手段1によって印刷手段
6で印刷することができる。
The text data storage means 3 is the input means 2
It stores the character data, control code, etc. input from. The character data stored in the text data storage means 3 can be displayed on the display means 5 by the control means 1, and can be printed by the printing means 6 by the control means 1.

【0026】文字フォントデータ記憶手段4は、表示手
段5あるいは印刷手段6において表示あるいは印刷され
る各種の文字フォントデータ、即ち、文字書体のデータ
が格納されている。これにより、テキストデータ記憶手
段3に記憶されている文字データの表示あるいは印刷時
に、制御手段1によって必要な文字フォントデータが読
み出されるようになっている。上記文字フォントデータ
記憶手段4としては、例えば、半導体メモリ装置の一つ
であるROMや、磁気記憶装置が用いられる。文字フォ
ントデータ記憶手段4として特に磁気記憶装置を用いた
場合には、任意の文字フォントデータを追加したり、一
つの文字フォントデータを他の文字フォントデータと入
れ替えることができる。
The character font data storage means 4 stores various character font data displayed or printed by the display means 5 or the printing means 6, that is, character font data. As a result, when the character data stored in the text data storage means 3 is displayed or printed, the character font data required by the control means 1 is read out. As the character font data storage means 4, for example, a ROM, which is one of semiconductor memory devices, or a magnetic storage device is used. When a magnetic storage device is used as the character font data storage means 4, it is possible to add arbitrary character font data or replace one character font data with another character font data.

【0027】表示手段5は、例えば、液晶ディスプレイ
装置やCRTディスプレイ装置等からなり、入力手段2
から入力された文字等を表示するようになっている。
尚、上記各ディスプレイ装置は、カラーディスプレイ装
置であっても、モノクロームディスプレイ装置であって
もよい。
The display means 5 comprises, for example, a liquid crystal display device or a CRT display device, and the input means 2
The characters etc. input from are displayed.
The above display devices may be color display devices or monochrome display devices.

【0028】印刷手段6は、例えば、熱転写プリンタや
レーザプリンタ、インクジェットプリンタ等からなり、
テキストデータ記憶手段3に記憶された内容、例えば文
字データ等の各種データを印刷するようになっている。
The printing means 6 comprises, for example, a thermal transfer printer, a laser printer, an ink jet printer,
The contents stored in the text data storage means 3, for example, various data such as character data are printed.

【0029】処理プログラム記憶手段7は、本実施の形
態に係る情報処理装置のシステムを制御するための各種
プログラムが格納されている。これにより、制御手段1
は、このプログラムで示される手順によって、上記シス
テム全体の動作を常に制御するようになっている。
The processing program storage means 7 stores various programs for controlling the system of the information processing apparatus according to this embodiment. Thereby, the control means 1
Is always controlled by the procedure shown in this program.

【0030】一時記憶手段8は、例えば、半導体メモリ
装置や磁気記憶装置からなり、上記システム全体の制御
やアトリビュート処理、つまり、文字の修飾等の属性情
報処理等を行う際に、制御手段1の制御により、必要に
応じて、制御あるいは処理すべき各種データを一時的に
格納するようになっている。
The temporary storage means 8 is composed of, for example, a semiconductor memory device or a magnetic storage device, and is used by the control means 1 when controlling the entire system and performing attribute processing, that is, attribute information processing such as character modification. By control, various data to be controlled or processed is temporarily stored as needed.

【0031】アトリビュート定義情報記憶手段9には、
文字あるいは文字列に対する複数のアトリビュート(属
性)情報の変化を規定するアトリビュート定義情報が制
御コードと共に記憶されている。
In the attribute definition information storage means 9,
Attribute definition information that defines changes in a plurality of attribute information with respect to a character or a character string is stored together with a control code.

【0032】これにより、本情報処理装置では、上記ア
トリビュート定義情報記憶手段9に定義、記憶されてい
る制御コードを、テキストデータ記憶手段3に記憶させ
るか、あるいは、既に記憶されている任意の文字列の先
頭に挿入添付させることによって、表示または印刷処理
の際に、アトリビュート制御情報記憶手段10に格納さ
れている各種のアトリビュート情報を参照し、アトリビ
ュート処理手段11を用いて、文字列に対するアトリビ
ュート処理を実行する。
As a result, in the information processing apparatus, the control code defined and stored in the attribute definition information storage means 9 is stored in the text data storage means 3 or any character already stored is stored. By inserting and attaching at the head of the string, various attribute information stored in the attribute control information storage means 10 is referred to at the time of display or print processing, and the attribute processing means 11 is used to perform attribute processing on a character string. To execute.

【0033】上記アトリビュート制御情報記憶手段10
には、アトリビュート定義情報記憶手段9に定義するア
トリビュート情報の詳細が格納されている。つまり、ア
トリビュート制御情報記憶手段10には、後述する書体
コード、書体変化コード、文字変形コード、カラーコー
ド、拡大装飾コード、色調変化コード、色相変化コー
ド、カラー/グレースケール変換テーブル、制御コード
解除文字セット等の文字の修飾に関するアトリビュート
情報(以下、アトリビュート制御情報と称する)が格納
されている。
The attribute control information storage means 10
Stores the details of the attribute information defined in the attribute definition information storage means 9. That is, in the attribute control information storage means 10, a typeface code, a typeface change code, a character transformation code, a color code, an enlarged decoration code, a color tone change code, a hue change code, a color / grayscale conversion table, a control code release character, which will be described later, will be described. Attribute information (hereinafter referred to as attribute control information) relating to character decoration such as a set is stored.

【0034】アトリビュート処理手段11は、テキスト
データ記憶手段3に記憶されている文字列中に制御コー
ドが含まれている場合に、制御手段1からの指示によっ
て、表示あるいは印刷する文字列に対して、アトリビュ
ート定義情報記憶手段9およびアトリビュート制御情報
記憶手段10に格納されている各種のアトリビュート定
義情報およびアトリビュート制御情報を参照しながらア
トリビュート処理を行うようになっている。尚、上記処
理を行う際には、必要に応じて一時記憶手段8が用いら
れる。
When the character string stored in the text data storage means 3 contains a control code, the attribute processing means 11 responds to the character string to be displayed or printed according to an instruction from the control means 1. The attribute processing is performed while referring to various attribute definition information and attribute control information stored in the attribute definition information storage means 9 and the attribute control information storage means 10. When performing the above processing, the temporary storage means 8 is used as necessary.

【0035】また、上記各手段は、バスライン12で相
互に接続されており、各種のデータや制御情報は、バス
ライン12を経由して各手段の間で授受されるようにな
っている。
The above means are connected to each other by a bus line 12, and various data and control information are transmitted and received between the means via the bus line 12.

【0036】次に、上記アトリビュート制御情報記憶手
段10に格納されている各種アトリビュート制御情報か
らなるコードテーブルの一例を、図2ないし図6を用い
て以下に説明する。本情報処理装置では、上記システム
において固定的に定義されたアトリビュート制御情報
と、ユーザが任意に定義するアトリビュート制御情報と
があり、ユーザが新たなアトリビュート制御情報を設定
することが可能となっている。上記システムにおいて固
定的に定義したアトリビュート制御情報は、ユーザがそ
の定義を変更することはできない。しかしながら、ユー
ザが特別にアトリビュート制御情報を定義しなくても利
用できるという利点がある。一方、ユーザが任意にアト
リビュート制御情報を定義することで、システムで固定
的に定義されたアトリビュート制御情報と異なるアトリ
ビュート制御を行うことができる。
Next, an example of a code table composed of various attribute control information stored in the attribute control information storage means 10 will be described below with reference to FIGS. In this information processing apparatus, there are attribute control information fixedly defined in the system and attribute control information arbitrarily defined by the user, and the user can set new attribute control information. . The attribute control information fixedly defined in the above system cannot be changed by the user. However, there is an advantage that the user can use the attribute control information without specially defining it. On the other hand, when the user arbitrarily defines the attribute control information, it is possible to perform attribute control different from the attribute control information fixedly defined in the system.

【0037】上記アトリビュート制御情報のコードテー
ブルのうち、書体コードテーブル20には、図2(a)
に示すようなアトリビュート制御情報が設定されてい
る。例えば、書体コード番号「0」には基本書体として
の明朝体、書体コード番号「1」には一般的によく使用
されるゴシック体、書体コード番号「2」には楷書体、
書体コード番号「3」には教科書体が固定的に割当てら
れている。さらに、以下、書体コード番号「4」、書体
コード番号「5」、…書体コード番号「n」には、書体
A、書体B、…書体Nで示される、その他の(つまり、
上記明朝体、ゴシック体、楷書体、教科書体以外の)任
意の書体が割当てられるようになっている。このとき、
上記書体コードテーブル20において割当て可能な書体
の数(n+1)は、文字フォントデータ記憶手段4が有
する記憶容量によって決定されるようになっており、ア
トリビュート制御情報としての使用可能書体数に特に制
限はない。
Of the code table of the above attribute control information, the typeface code table 20 is shown in FIG.
The attribute control information as shown in is set. For example, the typeface code number “0” is the Mincho typeface as the basic typeface, the typeface code number “1” is the commonly used Gothic typeface, the typeface code number “2” is the open typeface,
A text typeface is fixedly assigned to the typeface code number “3”. Furthermore, hereinafter, in the typeface code number “4”, the typeface code number “5”, ... The typeface code number “n”, the other types (that is, the typeface A, the typeface B, ...
Any typeface (other than the Mincho typeface, the Gothic typeface, the regular typeface, and the text typeface) can be assigned. At this time,
The number (n + 1) of assignable fonts in the font code table 20 is determined by the storage capacity of the character font data storage means 4, and the number of usable fonts as attribute control information is not particularly limited. Absent.

【0038】書体変化コードテーブル21には、図2
(b)に示すように、アトリビュート処理を行う際に、
例えば、一文字毎に書体を変化させるための書体コード
変化パターンが定義されている。このとき、上記書体コ
ード変化パターンにおいて用いられている書体コード
は、書体コードテーブル20で定義されている書体コー
ドと同一の書体コードである。
The typeface change code table 21 is shown in FIG.
As shown in (b), when performing attribute processing,
For example, a typeface code change pattern for changing the typeface for each character is defined. At this time, the typeface code used in the typeface code change pattern is the same typeface code as the typeface code defined in the typeface code table 20.

【0039】例えば、書体変化コード番号「1」では、
書体コード番号を、「0」、「1」、「2」、「3」、
「4」、「5」、「0」の順で変更するように定義して
いる。つまり、書体変化コード番号「1」では、書体
を、一文字毎に、明朝体、ゴシック体、楷書体、教科書
体、書体A、書体B、明朝体の順で変更するように定義
している。また、書体変化コード番号「0」では、書体
の変化がないことを定義している。
For example, in the font change code number "1",
Typeface code numbers are "0", "1", "2", "3",
It is defined to be changed in the order of "4", "5", "0". That is, in the font change code number "1", the font is defined to be changed character by character in the order of Mincho, Gothic, regular font, text font, font A, font B, and Mincho font. There is. Further, the font change code number "0" defines that there is no font change.

【0040】また、上記書体変化コードテーブル21で
は、書体変化コード番号「0」〜書体変化コード番号
「n」までの書体コード変化パターンが定義可能であ
り、ユーザが、入力手段2により、アトリビュート制御
情報として任意の書体コード変化パターンを入力するこ
とで、例えば、未定義の書体変化コード番号「m」に、
上述したように、アトリビュート制御情報として新たな
書体コード変化パターンを設定することが可能である。
In the typeface change code table 21, a typeface code change pattern from the typeface change code number “0” to the typeface change code number “n” can be defined, and the user controls the attributes by the input means 2. By inputting an arbitrary typeface code change pattern as information, for example, in an undefined typeface change code number "m",
As described above, it is possible to set a new typeface code change pattern as the attribute control information.

【0041】文字変形コードテーブル22には、図3
(a)に示すように、文字列に対する処理の変形パター
ンが定義されている。但し、図3(a)に示す変形パタ
ーンは、ごく一例であって、これに限定されるものでは
ない。上記変形パターンとしては、図3(a)に示す台
形の他に、例えば、波形、凸形、凹形、円形、楕円形、
扇形、短冊形等、多種類の変形パターンを定義すること
ができる。また、書体変化コード番号「0」では、書体
の変化がないことを定義している。
The character transformation code table 22 is shown in FIG.
As shown in (a), a modification pattern of processing for a character string is defined. However, the deformation pattern shown in FIG. 3A is just an example, and the present invention is not limited to this. As the deformation pattern, in addition to the trapezoid shown in FIG. 3A, for example, corrugated, convex, concave, circular, elliptical,
It is possible to define various types of deformation patterns such as a fan shape and a strip shape. Further, the font change code number "0" defines that there is no font change.

【0042】カラーコードテーブル23には、図3
(b)に示すように、文字あるいは背景に着色する場合
のカラーコードが定義されている。上記カラーコードテ
ーブル23には、カラーコード番号「0」〜カラーコー
ド番号「255」まで256種類のカラーが定義可能で
あり、例えば、カラーコード番号「1」には赤、カラー
コード番号「2」には紫が定義されている。また、上記
カラーコード番号「0」はアトリビュート処理では着色
しないことを定義している。つまり、カラーコード番号
「0」が選択された場合において表示あるいは印刷され
る文字の色は、上記システムにおいて初期設定されてい
る文字色および背景色となる。
The color code table 23 is shown in FIG.
As shown in (b), a color code for coloring a character or a background is defined. In the color code table 23, 256 kinds of colors from the color code number “0” to the color code number “255” can be defined. For example, the color code number “1” is red and the color code number “2”. Is defined as purple. Further, the color code number “0” defines that coloring is not performed in the attribute processing. That is, the color of the character displayed or printed when the color code number “0” is selected is the character color and background color that are initially set in the system.

【0043】拡大装飾コードテーブル24には、図4
(a)に示すように、文字を拡大した場合における、例
えば、文字の縁取りや影付け、または、白ヌキ等の種々
の装飾パターンが定義されている。これにより、文字を
拡大した場合に、拡大した文字に対して、拡大装飾コー
ドテーブル24に定義されている種々の装飾を施すこと
ができるようになっている。
The enlarged decoration code table 24 is shown in FIG.
As shown in (a), when a character is enlarged, for example, various decorative patterns such as edging and shading of the character, or white blank are defined. As a result, when a character is enlarged, various decorations defined in the enlarged decoration code table 24 can be applied to the enlarged character.

【0044】色調変化コードテーブル25には、図4
(b)に示すように、文字あるいは背景に着色する場合
における、アトリビュート処理の開始文字から終了文字
までの一文字毎のカラー色調の変化パターンが定義され
ている。例えば、色調変化コード番号「0」では、カラ
ー色調の変化がないことを定義しており、色調変化コー
ド番号「1」では、カラー色調を、濃い色調から淡い色
調へと変更するように定義している。
The color tone change code table 25 is shown in FIG.
As shown in (b), a change pattern of color tone is defined for each character from the start character to the end character of the attribute processing when coloring the character or the background. For example, the color tone change code number "0" defines that there is no change in the color tone, and the color tone change code number "1" defines that the color tone is changed from a dark color tone to a light color tone. ing.

【0045】色相変化コードテーブル26には、図5
(a)に示すように、文字あるいは背景に着色する場合
における、アトリビュート処理の開始文字から終了文字
までの一文字毎のカラー色相の色相変化パターンが定義
されている。例えば、色相変化コード番号「0」では、
カラー色相の変化がないことを定義しており、色相変化
コード番号「1」では、カラー色相を、一文字毎に赤、
黄、緑、青、紫、水、赤の順で変更するように定義して
いる。
The hue change code table 26 is shown in FIG.
As shown in (a), the hue change pattern of the color hue for each character from the start character to the end character of the attribute processing when coloring the character or the background is defined. For example, in the hue change code number "0",
It is defined that there is no change in color hue. With hue change code number "1", the color hue is
It is defined to change in the order of yellow, green, blue, purple, water, and red.

【0046】カラー/グレースケール変換テーブル27
には、図5(b)に示すように、カラーモードにおける
各カラーを白黒モードにおける濃度レベル、つまり、グ
レースケールに変換するための黒濃度データが定義され
ている。
Color / gray scale conversion table 27
5B, the black density data for converting each color in the color mode into the density level in the monochrome mode, that is, the gray scale, is defined in FIG.

【0047】例えば、カラーモードを白黒モードに変更
した場合、カラーモードにおける表示色が黒の場合は、
白黒モードにおける黒濃度レベルを最も高くして表示
し、カラーモードにおける表示色が紫の場合は、白黒モ
ードにおける黒濃度レベルを、カラーモードにおける表
示色が黒の場合に次いで高くなるように表示する。以
下、青、緑、赤、水、黄、白の順で、白黒モードに変更
した場合の黒濃度レベルを、一定の割合で低くして表示
する。
For example, when the color mode is changed to the black and white mode and the display color in the color mode is black,
Display with the highest black density level in the black and white mode, and when the display color in the color mode is purple, the black density level in the black and white mode is displayed so that it becomes the next highest when the display color in the color mode is black. . In the following, the black density level in the case of changing to the black and white mode in the order of blue, green, red, water, yellow, and white is displayed at a constant low rate.

【0048】但し、上記グレースケールに対応する各カ
ラーの並び、つまり、白黒モードに変更した場合に黒濃
度レベルが高い順に並べた各カラーの並びは、図5
(b)に示す順番に限定されるものではない。上記グレ
ースケールに対応する各カラーの並びを変更することに
よって、カラーデータを白黒モードにおけるグレースケ
ールに変換した場合に、各カラーを任意の黒濃度レベル
で表示させることができ、各カラーの並びに応じた特殊
効果を得ることができる。
However, the arrangement of the colors corresponding to the gray scale, that is, the arrangement of the colors arranged in the descending order of the black density level when the mode is changed to the monochrome mode is shown in FIG.
The order is not limited to that shown in (b). By changing the arrangement of each color corresponding to the above gray scale, each color can be displayed at an arbitrary black density level when the color data is converted into the gray scale in the black and white mode. You can get special effects.

【0049】制御コード解除文字セットテーブル28に
は、図6に示すように、アトリビュート処理を施す際
に、制御コードが作用しなくなる文字や記号、つまり、
制御コードに基づくアトリビュート処理を停止させる文
字(以下、制御コード解除文字と称する)が定義されて
いる。これにより、例えば、ユーザが、制御コード解除
文字セットテーブル28に、例えば、「。」や「、」
等、任意の文字や記号等を定義することにより、定義さ
れた文字や記号等を制御コード解除文字として、テキス
トデータの任意の範囲においてアトリビュート処理を施
すことができる。
In the control code release character set table 28, as shown in FIG. 6, when the attribute processing is performed, the characters or symbols that the control code does not act on, that is,
Characters that stop attribute processing based on control codes (hereinafter referred to as control code release characters) are defined. As a result, for example, the user displays, for example, “.” Or “,” in the control code release character set table 28.
By defining arbitrary characters, symbols, etc., the defined characters, symbols, etc. can be used as control code release characters to perform attribute processing in an arbitrary range of text data.

【0050】また、このように、予め制御コード解除文
字が定義されていることで、特別にアトリビュート処理
を終了するための制御コードを必要とせずに、上記アト
リビュート処理を終了することが可能となる。
Since the control code release character is defined in advance in this way, it is possible to end the above attribute processing without requiring a control code for ending the attribute processing. .

【0051】また、アトリビュート定義情報記憶手段9
には、図7に示すように、上記アトリビュート制御情報
記憶手段10に格納されている各種のアトリビュート制
御情報の変化を規定するアトリビュート定義情報が、制
御コードと共に記憶されている。つまり、上記アトリビ
ュート定義情報記憶手段9には、例えば、テキストデー
タ中に挿入添付される制御コードに対する、上記アトリ
ビュート制御情報に割り当てられたコード情報の組み合
わせが定義されている。
Attribute definition information storage means 9
As shown in FIG. 7, the attribute definition information defining the change of various attribute control information stored in the attribute control information storage means 10 is stored together with the control code. That is, in the attribute definition information storage means 9, for example, a combination of the code information assigned to the attribute control information with respect to the control code inserted and attached in the text data is defined.

【0052】これにより、テキストデータの中に制御コ
ードがあれば、制御手段1は、アトリビュート定義情報
記憶手段9に格納されたアトリビュート定義情報テーブ
ル29から該当する制御コードを参照する。そして、こ
の該当する制御コードで示されているアトリビュート定
義情報をアトリビュート制御情報記憶手段10から取り
出して、テキスト情報と共にアトリビュート処理手段1
1へ送る。次いで、アトリビュート処理手段11は、制
御手段1により送りこまれたテキスト情報およびアトリ
ビュート定義情報に基づいて、書体コードで示された文
字フォントデータを文字フォントデータ記憶手段4から
取り出す。取り出した文字フォントデータは、一時記憶
手段8に一時的に格納し、アトリビュート処理を実行し
た後、制御手段1の制御により、表示手段5に表示、あ
るいは、印刷手段6で印刷される。
Thus, if there is a control code in the text data, the control means 1 refers to the corresponding control code from the attribute definition information table 29 stored in the attribute definition information storage means 9. Then, the attribute definition information indicated by the corresponding control code is taken out from the attribute control information storage means 10, and the attribute processing means 1 together with the text information.
Send to 1. Next, the attribute processing means 11 retrieves the character font data indicated by the typeface code from the character font data storage means 4 based on the text information and the attribute definition information sent by the control means 1. The extracted character font data is temporarily stored in the temporary storage means 8, and after the attribute processing is executed, it is displayed on the display means 5 or printed by the printing means 6 under the control of the control means 1.

【0053】アトリビュート処理中、制御コード解除文
字セット(図6参照)が指定されている場合、アトリビ
ュート処理手段11は、テキストデータの中に、指定さ
れた制御コード解除文字セットのうち、何れか一つの制
御コード解除文字が検出された時点でアトリビュート処
理を中止する。これにより、上記制御コード解除文字以
降は、アトリビュート処理が施されないようになってい
る。即ち、テキストデータにおいて、制御コードの次の
文字から、制御コード解除文字の直前の文字までがアト
リビュート処理の対象となる。
When the control code release character set (see FIG. 6) is designated during the attribute processing, the attribute processing means 11 selects one of the designated control code release character sets in the text data. Attribute processing is stopped when one control code release character is detected. As a result, attribute processing is not performed after the control code release character. That is, in the text data, the characters from the character next to the control code to the character immediately before the control code cancellation character are subjected to the attribute processing.

【0054】例えば、テキスト中に挿入された制御コー
ドが制御コード「5」であれば、制御手段1は、アトリ
ビュート定義情報記憶手段9に格納されたアトリビュー
ト定義情報テーブル29から、制御コード「5」で示さ
れるアトリビュート定義情報を取り出す。そして、アト
リビュート制御情報記憶手段10が、上記制御コード以
降の文字列に対して、制御手段1によって取り出された
アトリビュート定義情報に基づくアトリビュート処理を
実行する。
For example, if the control code inserted in the text is the control code "5", the control means 1 reads the control code "5" from the attribute definition information table 29 stored in the attribute definition information storage means 9. The attribute definition information indicated by is extracted. Then, the attribute control information storage means 10 executes the attribute processing based on the attribute definition information extracted by the control means 1 for the character string after the control code.

【0055】例えば、制御コード「5」には、図7に示
すように、書体を書体コード番号「5」に設定すると共
に、書体コード変化パターンを書体変化コード番号
「5」に、代替書体を代替書体コード番号「3」に、変
形パターンを文字変形コード番号「2」に、色をカラー
コード番号「5」に、色調変化パターンを色調変化コー
ド番号「2」に、色相変化パターンを色相変化コード番
号「0」に、装飾パターンを装飾コード番号「3」に、
グレースケール変換を「NO」に、制御コード解除文字
セットコード番号を「2」に、周期性の有無を「NO」
に、制御コードの組み合わせを「NO」に設定すること
が定義されている。
For example, for the control code "5", as shown in FIG. 7, the typeface is set to the typeface code number "5", the typeface code change pattern is set to the typeface change code number "5", and the alternative typeface is set. Alternate typeface code number “3”, transformation pattern to character transformation code number “2”, color to color code number “5”, tone change pattern to tone change code number “2”, hue change pattern to hue change To the code number "0", the decoration pattern to the decoration code number "3",
Grayscale conversion to "NO", control code release character set code number to "2", and presence or absence of periodicity "NO"
It is defined to set the combination of control codes to "NO".

【0056】従って、テキスト中に挿入された制御コー
ドが制御コード「5」であれば、上記制御コード「5」
以降の文字を、書体変化コード番号「5」で示すよう
に、一文字毎に書体B、書体A、書体Bと変化させて表
示し、その後、上記以降の文字を、制御コード解除文字
セットコード「2」に定義した制御コード解除文字(こ
の場合は「、」か「。」)か、あるいは、新たな制御コ
ードが検出されるまで、書体コード番号「5」で示す書
体Bで表示する。
Therefore, if the control code inserted in the text is the control code "5", the control code "5" is given.
As shown by the font change code number “5”, the following characters are displayed by changing them to the font B, the font A, and the font B for each character, and then the following characters are changed to the control code cancellation character set code “ It is displayed in the font B indicated by the font code number "5" until the control code release character defined in 2 "(in this case,", "or". ") Or a new control code is detected.

【0057】尚、指定された文字列(この場合は、上記
制御コード「5」によるアトリビュート処理の対象とな
る文字、つまり、制御コード「5」の次の文字から上記
制御コード解除文字あるいは別の制御コードの直前の文
字までの文字)が2文字しかない場合には、制御コード
「5」の次の文字を書体Bで、その次の文字を書体Aで
表示して、書体変化コードに対するアトリビュート処理
を終了する。
A specified character string (in this case, the character that is the object of the attribute processing by the control code "5", that is, the character next to the control code "5", is the control code release character or another character. If there are only two characters up to the character just before the control code), the character next to the control code "5" is displayed in type B and the next character is displayed in type A, and the attribute for the type change code is displayed. The process ends.

【0058】また、上記制御コード「5」では、周期性
の有無が「NO」、つまり、周期性無しと定義されてい
るが、仮に周期性有りと設定されている場合には、上記
制御コード「5」以降の文字を、制御コード解除文字あ
るいは新たな制御コードが検出されるまで、一文字毎に
書体B、書体A、書体Bと繰り返し変化させて表示す
る。
Further, in the control code "5", the presence or absence of periodicity is defined as "NO", that is, no periodicity, but if it is set to have periodicity, the control code is Characters after "5" are repeatedly changed and displayed as type B, type A, and type B character by character until a control code release character or a new control code is detected.

【0059】また、上記制御コード「5」では、書体を
書体コード番号「5」に設定すると共に、書体コード変
化パターンを書体変化コード番号「5」に、代替書体を
代替書体コード番号「3」に設定しているが、例えば、
アトリビュート制御情報の中の書体コードで示される書
体、即ち、文字フォントが文字フォントデータ記憶手段
4に存在しない場合には、基本書体である明朝体で代替
するか、あるいは、一旦処理を中断する。
With the control code "5", the typeface is set to the typeface code number "5", the typeface code change pattern is set to the typeface change code number "5", and the alternative typeface is set to the alternative typeface code number "3". Set to, for example,
When the typeface indicated by the typeface code in the attribute control information, that is, the character font does not exist in the character font data storage means 4, it is replaced with the Mincho typeface, which is the basic typeface, or the process is temporarily suspended. .

【0060】上記処理を中断する場合には、オペレータ
であるユーザに対して指定書体がないことを報知すると
共に、使用可能な書体の名称を表示手段5の表示画面に
表示し、オペレータに代替書体を選択させる。オペレー
タにより代替書体が選択指定されると、指定された書体
を示すコード番号は、前記アトリビュート定義情報記憶
手段9の制御コードに対する代替書体コードとして、ア
トリビュート定義情報記憶手段9に記憶される。これに
より、上記処理中断時において指定された書体は、代替
書体として、以後、存在しない書体コードが検出された
場合に優先して用いられる。尚、代替書体コードには、
書体コードテーブル20で定義されている書体コードと
同一の書体コードが用いられる。
When the above process is interrupted, the user who is the operator is informed that there is no designated typeface, the names of usable typefaces are displayed on the display screen of the display means 5, and the operator is given a substitute typeface. To select. When the operator selects and specifies the alternative typeface, the code number indicating the specified typeface is stored in the attribute definition information storage means 9 as an alternative typeface code for the control code of the attribute definition information storage means 9. As a result, the typeface designated at the time of the above process interruption is preferentially used as an alternative typeface when a nonexistent typeface code is detected thereafter. The alternative typeface code is
The same typeface code as the typeface code defined in the typeface code table 20 is used.

【0061】従って、この場合は、例えば書体コード番
号「5」に書体Bが定義されていない場合には、代替書
体として、書体コード番号「3」で表される教科書体が
用いられる。
Therefore, in this case, for example, when the typeface B is not defined in the typeface code number "5", the textbook type represented by the typeface code number "3" is used as an alternative typeface.

【0062】また、上記制御コード「5」では、変形パ
ターンが文字変形コード番号「2」に設定されているの
で、上記制御コード「5」以降の文字を、上記制御コー
ド解除文字か、あるいは、新たな制御コードが検出され
るまで、文字変形コード番号「2」に示す変形パターン
に従って、右側ほど上方に広がるような形状に変形させ
る。
Further, in the control code "5", the transformation pattern is set to the character transformation code number "2". Therefore, the characters after the control code "5" are the control code cancellation characters, or Until a new control code is detected, the character is deformed into a shape that spreads upward toward the right side in accordance with the deformation pattern indicated by the character modification code number “2”.

【0063】さらに、色がカラーコード番号「5」に、
色調変化パターンが色調変化コード番号「2」に、色相
変化パターンが色相変化コード番号「0」に設定されて
いるので、制御コード「5」の次の文字を濃い水色で、
その次の文字から、上記制御コード解除文字あるいは新
たな制御コードの直前の文字までを淡い水色で表示す
る。
Further, the color is the color code number "5",
Since the color tone change pattern is set to the color tone change code number "2" and the hue change pattern is set to the hue change code number "0", the character next to the control code "5" is dark blue,
The characters from the next character to the character immediately before the control code cancellation character or the new control code are displayed in light blue.

【0064】尚、この場合にも、仮に周期性有りと設定
されている場合には、上記制御コード「5」以降の文字
の色調を、色調変化コード番号「2」に示す色調変化パ
ターンに従って、一文字毎に濃い色調、淡い色調と繰り
返し変化させて表示する。
Also in this case, if the periodicity is set, the color tones of the characters after the control code "5" are changed according to the color tone change pattern indicated by the color tone change code number "2". Each character is displayed by repeatedly changing its color to dark and light.

【0065】このように、アトリビュート制御情報とし
て、他のアトリビュート制御情報を繰り返し実行するた
めの情報が定義されていることで、アトリビュート処理
に周期性を付与することができる。これにより、出力文
字列の変化に連続性を持たせることができ、長い文字列
に対しても単調なアトリビュート処理となることがな
く、一定の周期で特殊効果を出すことができる。
As described above, since the information for repeatedly executing other attribute control information is defined as the attribute control information, the attribute processing can be given periodicity. As a result, the change in the output character string can be given continuity, and even a long character string is not subjected to monotonous attribute processing, and a special effect can be produced at a constant cycle.

【0066】また、上記制御コード「5」では、装飾パ
ターンが装飾コード番号「3」に設定されているので、
上記制御コード「5」以降の文字を、上記制御コード解
除文字か、あるいは、新たな制御コードが検出されるま
で、装飾コード番号「3」に示す装飾パターンに従っ
て、部分的に線の太さを変えて、立体感が出るような装
飾を行う。
In the control code "5", the decoration pattern is set to the decoration code number "3".
The characters after the control code "5" are partially changed in line thickness according to the decoration pattern indicated by the decoration code number "3" until the control code release character or a new control code is detected. Change it to give a three-dimensional effect.

【0067】さらに、上記制御コード「5」では、グレ
ースケール変換を「NO」に設定しているので、カラー
データを白黒グレースケールに変換しないことを定義し
ている。また、上記制御コード「5」では、制御コード
の組み合わせを「NO」に設定しているので、制御コー
ド「5」に設定されているアトリビュート定義情報にの
み基づいてアトリビュート処理を行う。
Further, in the control code "5", since the gray scale conversion is set to "NO", it is defined that the color data is not converted into the black and white gray scale. Further, in the control code “5”, the combination of control codes is set to “NO”, and therefore the attribute processing is performed only on the basis of the attribute definition information set in the control code “5”.

【0068】このように、各制御コードには、複数種類
のアトリビュート制御情報が割り当てられており、テキ
ストデータの中に制御コードがあれば、上記制御コード
に対応するアトリビュート処理が実行される。
As described above, a plurality of types of attribute control information are assigned to each control code, and if there is a control code in the text data, the attribute processing corresponding to the control code is executed.

【0069】このとき、上記アトリビュート定義情報テ
ーブル29において、例えば制御コード番号「6」が選
択された場合のように、制御コード番号に対する各種の
アトリビュート制御情報に割り当てられたコード情報が
定義されていない場合でも、既に定義されている制御コ
ードの組み合わせが指定してあれば、指定されている制
御コードの組み合わせに従ってアトリビュート処理が行
われる。このように、一つの制御コードに、既にアトリ
ビュート制御情報が割り当てられている他の制御コード
を組み合わせて定義付けする場合には、組み合わせられ
るアトリビュート制御情報の数をより多くすることがで
きるので、より複雑なアトリビュート処理の指定をも一
つの制御コードで指定することができ、さらにメモリの
利用効率を向上させることができる。
At this time, the code information assigned to various attribute control information corresponding to the control code number is not defined in the attribute definition information table 29, as in the case where the control code number "6" is selected. Even in this case, if a combination of control codes already defined is specified, the attribute processing is performed according to the specified combination of control codes. In this way, when one control code is defined by combining other control codes to which the attribute control information is already assigned, the number of attribute control information to be combined can be increased, so It is possible to specify complicated attribute processing with a single control code, and further improve the memory utilization efficiency.

【0070】上記アトリビュート定義情報、即ち、アト
リビュート制御情報に割り当てられたコード情報の組み
合わせには、上記システムにおいて固定的に定義した組
み合わせと、ユーザが任意に定義する組み合わせとがあ
る。つまり、本情報処理装置では、アトリビュート制御
情報のみならず、新たなアトリビュート定義情報をユー
ザが設定することが可能となっている。
The combination of the attribute definition information, that is, the code information assigned to the attribute control information includes a combination fixedly defined in the system and a combination arbitrarily defined by the user. That is, in the information processing apparatus, the user can set new attribute definition information as well as the attribute control information.

【0071】この場合にも、上記システムにおいて固定
的に定義したアトリビュート定義情報は、ユーザがその
定義を変更することはできない。しかしながら、ユーザ
が特別にアトリビュート定義情報を定義しなくても利用
できるという利点がある。
Also in this case, the user cannot change the definition of the attribute definition information fixedly defined in the above system. However, there is an advantage that the user can use the attribute definition information without specially defining it.

【0072】一方、ユーザが任意にアトリビュート定義
情報を定義することで、システムで固定的に定義された
アトリビュート定義情報と異なるアトリビュート制御を
行うことができる。新たなアトリビュート定義情報を定
義する場合には、ユーザが、入力手段2により、アトリ
ビュート定義情報記憶手段9にアトリビュート定義情報
を入力することで、ユーザが任意にアトリビュート定義
情報を設定することが可能である。
On the other hand, when the user arbitrarily defines the attribute definition information, the attribute control different from the attribute definition information fixedly defined in the system can be performed. When defining new attribute definition information, the user can input the attribute definition information into the attribute definition information storage means 9 by the input means 2 so that the user can arbitrarily set the attribute definition information. is there.

【0073】次に、テキストデータ記憶手段3に格納さ
れているテキストに対してアトリビュート処理を行う際
の情報処理手順について、図8を参照しながら以下に説
明する。
Next, an information processing procedure for performing the attribute processing on the text stored in the text data storage means 3 will be described below with reference to FIG.

【0074】先ず、出力しようとするテキストの開始ア
ドレスが設定されると(ステップ1、以下ではS1のよ
うに略記する)、制御手段1は、S1で設定されたアド
レスのテキストデータ一文字を取り出す(S2)。次い
で、制御手段1は、S2で取り出した文字が、通常の文
字コードであるか、それとも制御コードであるかの判定
を行う(S3)。
First, when the start address of the text to be output is set (step 1, hereinafter abbreviated as S1), the control means 1 takes out one character of the text data of the address set at S1 ( S2). Next, the control means 1 determines whether the character extracted in S2 is a normal character code or a control code (S3).

【0075】制御手段1は、S3において、S2で取り
出した文字が文字コードであると判定した場合には、本
システムで初期値となっている書体の文字フォントデー
タを文字フォントデータ記憶手段4から取り出し(S
4)、表示手段5あるいは印刷手段6へと出力する(S
5)。次いで、上記の文字が文末であるか否かを判断し
(S6)、文末であれば上記処理を終了する。文末でな
いと判断した場合には、テキストのアドレスカウントを
1カウントアップし(S7)、S2に戻って次のテキス
トデータの処理を行う。
When the control means 1 determines in S3 that the character fetched in S2 is a character code, the character font data of the typeface which is the initial value in the present system is stored in the character font data storage means 4 from the character font data storage means 4. Take out (S
4), output to the display means 5 or the printing means 6 (S
5). Next, it is determined whether or not the above character is the end of the sentence (S6), and if it is the end of the sentence, the above processing is terminated. If it is determined that it is not the end of the sentence, the text address count is incremented by 1 (S7), and the process returns to S2 to process the next text data.

【0076】一方、制御手段1は、上記S3において、
S2で取り出した文字が制御コードであると判定した場
合には、アトリビュート定義情報記憶手段9から上記制
御コードの示すアトリビュート定義情報を取り出し(S
8)、このアトリビュート定義情報をアトリビュート処
理手段11へと渡す(S9)。このとき、アトリビュー
ト処理対象文字列は上記制御コード以降のテキストデー
タとなるので、制御手段1は、テキストアドレスを1カ
ウントアップし(S10)、次のテキストデータの一文
字を取り出す(S11)。
On the other hand, the control means 1, in S3,
When it is determined that the character extracted in S2 is a control code, the attribute definition information indicated by the control code is extracted from the attribute definition information storage unit 9 (S
8) Pass this attribute definition information to the attribute processing means 11 (S9). At this time, since the attribute processing target character string is the text data after the control code, the control means 1 counts up the text address by 1 (S10) and takes out one character of the next text data (S11).

【0077】次いで、制御手段1は、S11で取り出し
た文字が制御コード解除文字(図中、解除文字と記す)
であるか否かを判定する(S12)。ここで、S11で
取り出した文字が制御コード解除文字でないと判定した
場合には、上記の文字が制御コードであるか否かを判定
する(S13)。
Next, in the control means 1, the character extracted in S11 is the control code cancellation character (in the figure, described as cancellation character).
It is determined whether or not (S12). If it is determined that the character extracted in S11 is not a control code release character, it is determined whether the above character is a control code (S13).

【0078】次いで、S13において、上記の文字が制
御コードでないと判定した場合には、上記の文字が文末
であるか否かを判定する(S14)。
Next, when it is determined in S13 that the above character is not a control code, it is determined whether or not the above character is the end of a sentence (S14).

【0079】上記の文字が文末でないと判定した場合に
は、上記の文字、即ち、S11で取り出した文字をアト
リビュート処理手段11へと渡す(S15)。このと
き、アトリビュート処理手段11は、この文字を一時記
憶手段8に蓄積する。その後、制御手段1は、S10に
戻り、S10〜S15の処理を続行する。
When it is determined that the above character is not the end of the sentence, the above character, that is, the character extracted in S11 is passed to the attribute processing means 11 (S15). At this time, the attribute processing means 11 stores this character in the temporary storage means 8. Then, the control means 1 returns to S10 and continues the processing of S10 to S15.

【0080】一方、S11で取り出した文字が制御コー
ド解除文字であると判定した場合には、S2で取り出し
た制御コードの次の文字から、上記S11で取り出した
制御コード解除文字の直前の文字までの文字列に対し
て、S2で取り出した制御コードに予め定義されている
アトリビュート処理を行い(S16)、その後、S4へ
戻る。
On the other hand, when it is determined that the character retrieved in S11 is the control code release character, from the character next to the control code retrieved in S2 to the character immediately before the control code release character retrieved in S11. The attribute processing defined in advance in the control code extracted in S2 is performed on the character string of (S16), and then the process returns to S4.

【0081】また、上記S13においてS11で取り出
した文字が制御コードであると判定した場合には、新た
な制御コードであるとみなして、S2で取り出した制御
コードの次の文字からS11で取り出した新たな制御コ
ード直前までの文字に対してS2で取り出した制御コー
ドに予め定義されているアトリビュート処理を行い(S
17)、S8へと戻る。
If it is determined in S13 that the character fetched in S11 is a control code, it is regarded as a new control code, and the character next to the control code fetched in S2 is fetched in S11. Characters up to immediately before the new control code are subjected to attribute processing predefined in the control code extracted in S2 (S
17) and returns to S8.

【0082】また、上記S14においてS11で取り出
した文字が文末であると判定した場合には、S11で取
り出した文字以降に文字列が存在しないため、S2で取
り出した制御コードの次の文字からS11で取り出した
文字までの文字列に対してアトリビュート処理を行い
(S18)、その後、アトリビュート処理を終了する。
If it is determined in S14 that the character fetched in S11 is the end of the sentence, there is no character string after the character fetched in S11. Attribute processing is performed on the character string up to the character extracted in step S18, and then the attribute processing ends.

【0083】次に、上記アトリビュート処理手段11に
おけるアトリビュート処理の流れについて、図9を参照
しながら以下に説明する。アトリビュート処理は、アト
リビュート定義情報記憶手段9に格納されている各種の
アトリビュート定義情報並びにアトリビュート制御情報
記憶手段10に格納されている各種のアトリビュート制
御情報を参照しながら、以下のステップにより、アトリ
ビュート処理手段11を用いて実行される。
Next, the flow of attribute processing in the attribute processing means 11 will be described below with reference to FIG. The attribute processing is performed by the following steps while referring to various attribute definition information stored in the attribute definition information storage means 9 and various attribute control information stored in the attribute control information storage means 10. 11 is used.

【0084】先ず、アトリビュート処理手段11は、制
御手段1により送りこまれたアトリビュート処理対象の
文字あるいは文字列に対し、書体の変化(変更)の有無
をチェックする(S21)。
First, the attribute processing means 11 checks whether or not there is a change (change) in the typeface of the character or character string to be attribute-processed sent by the control means 1 (S21).

【0085】S21において書体(書体コード)の変化
がない場合には、そのまま後述するS23へと進み、S
21において書体の変化がある場合には、書体変化コー
ドテーブル21における指定の書体変化コードパターン
を参照して、一文字毎に所定の書体コードあるいは代替
書体コードを付す(S22)。
If there is no change in the typeface (typeface code) in S21, the process directly proceeds to S23, which will be described later, and S
If there is a change in the font at 21, the designated font change code pattern in the font change code table 21 is referred to and a predetermined font code or alternative font code is added to each character (S22).

【0086】続いて、上記書体コードで示された文字フ
ォントデータを文字フォントデータ記憶手段4から取り
出し、一時記憶手段8に格納して出力データとしてのビ
ットマップデータに展開する(S23)。
Subsequently, the character font data indicated by the above-mentioned typeface code is taken out from the character font data storage means 4, stored in the temporary storage means 8 and expanded into bit map data as output data (S23).

【0087】次いで、上記ビットマップデータで示され
る文字に対し、拡大修飾の有無をチェックする(S2
4)。このとき、拡大装飾処理を行わない場合には、そ
のまま後述するS26へと進み、拡大装飾処理を行う場
合には、拡大装飾コードテーブル24における指定の装
飾パターンに従って拡大装飾処理を行う(S25)。
Next, it is checked whether or not the character indicated by the above bit map data is enlarged and modified (S2).
4). At this time, if the enlargement decoration processing is not performed, the process directly proceeds to S26, which will be described later. If the enlargement decoration processing is performed, the enlargement decoration processing is performed according to the specified decoration pattern in the enlargement decoration code table 24 (S25).

【0088】次に、上記の文字に対し、カラー指定の有
無をチェックする(S26)。このとき、カラー指定が
ない場合には、そのまま後述するS28へと進み、カラ
ー指定がある場合には、カラーコードテーブル23を参
照して、文字の表示色を指定されたカラーに設定するこ
とで着色処理を行う(S27)。
Next, it is checked whether or not there is a color designation for the above characters (S26). At this time, if there is no color designation, the process directly proceeds to S28, which will be described later. If there is a color designation, the color code table 23 is referred to and the display color of the character is set to the designated color. Coloring processing is performed (S27).

【0089】さらに、上記の文字に対し、色調変化の有
無をチェックする(S28)。このとき、色調変更処理
を行わない場合には、そのまま後述するS30へと進
み、色調変更処理を行う場合には、色調変化コードテー
ブル25における指定の色調変化パターンに従って、文
字の表示色調を指定された色調に設定することで色調変
更処理を行う(S29)。
Further, it is checked whether or not there is a change in color tone of the above characters (S28). At this time, if the color tone changing process is not performed, the process directly proceeds to S30, which will be described later. If the color tone changing process is performed, the display tone of the character is specified according to the tone change pattern specified in the tone change code table 25. Color tone change processing is performed by setting different color tones (S29).

【0090】次いで、上記の文字に対し、色相変化の有
無をチェックする(S30)。このとき、色相変更処理
を行わない場合には、そのまま後述するS32へと進
み、色相変更処理を行う場合には、色相変化コードテー
ブル26における指定の色相変化パターンに従って、文
字の表示色相を指定された色相に設定することで色相変
更処理を行う(S31)。
Next, it is checked whether or not there is a hue change in the above characters (S30). At this time, if the hue changing process is not performed, the process directly proceeds to S32 described later, and if the hue changing process is performed, the display hue of the character is designated according to the designated hue change pattern in the hue change code table 26. The hue changing process is performed by setting the hue to a different hue (S31).

【0091】続いて、上記の文字に対し、グレースケー
ルへの変換の有無をチェックする(S32)。このと
き、グレースケールへの変換処理を行わない場合には、
そのまま後述するS34へと進み、グレースケールへの
変換処理を行う場合には、カラー/グレースケール変換
テーブル27を参照して、カラーをグレースケールに変
換処理する(S33)。
Then, it is checked whether or not the above character is converted into gray scale (S32). At this time, if the conversion process to grayscale is not performed,
If the process proceeds directly to S34, which will be described later, when the conversion process to the gray scale is performed, the color / gray scale conversion table 27 is referred to and the color is converted to the gray scale (S33).

【0092】その後、上記の文字に対し、文字の変形の
有無をチェックする(S34)。このとき、文字の変形
処理を行わない場合には、そのまま後述するS36へと
進み、文字の変形処理を行う場合には、文字変形コード
テーブル22において、指定の変形パターンに従って文
字(または文字列)の変形処理を行う(S35)。
After that, it is checked whether or not the above characters are deformed (S34). At this time, if the character transformation process is not performed, the process directly proceeds to S36, which will be described later. If the character transformation process is performed, the character transformation code table 22 indicates a character (or a character string) according to the designated transformation pattern. Is performed (S35).

【0093】上記一連の処理が終われば、続いて、上記
一連の処理後のビットマップデータを表示手段5あるい
は印刷手段6へ出力して(S36)、アトリビュート処
理を終了する。
After the above series of processing is completed, the bitmap data after the above series of processing is output to the display means 5 or the printing means 6 (S36), and the attribute processing is ended.

【0094】以上のように、本実施の形態に係る情報処
理装置を用いれば、テキストの指定された文字列の先頭
に、一つの制御コードを挿入するだけで、制御コード以
降の文字列に対して、その制御コードに割り当てられた
各種アトリビュート制御情報に基づく多彩な修飾、装飾
処理を行うことができる。
As described above, by using the information processing apparatus according to the present embodiment, it is only necessary to insert one control code at the beginning of the designated character string of text, and Thus, various decoration and decoration processes can be performed based on various attribute control information assigned to the control code.

【0095】つまり、従来は、アトリビュート処理に係
る文字コードやカラーコード等の制御コードを一文字毎
にテキスト内に挿入する必要があった。このため、テキ
ストメモリ等のメモリの消費が著しく、メモリの使用効
率が良くないという問題があった。
That is, conventionally, it was necessary to insert a control code such as a character code or a color code related to attribute processing into the text for each character. For this reason, there has been a problem that the consumption of the memory such as the text memory is significant and the efficiency of using the memory is poor.

【0096】これに対し、本実施の形態に係る情報処理
装置では、テキスト中に制御コードを挿入するが、制御
手段1の制御により、テキスト中に挿入する一つの制御
コードに対して、上記制御コードの作用する内容を別途
定義し、アトリビュート定義情報記憶手段9に記憶させ
ておくと共に、さらに、その詳細な処理内容、つまり、
アトリビュート制御情報をアトリビュート制御情報記憶
手段10に設定しておくことによって、テキスト中に挿
入される制御コードの数を最小限に抑えながらアトリビ
ュート処理手段11によりアトリビュート処理を行うこ
とができる。このように、本実施の形態に係る情報処理
装置は、アトリビュート処理に係る制御コードを一文字
毎にテキスト内に挿入する必要がないので、アトリビュ
ート処理に要するメモリの消費を抑えることができ、メ
モリの使用効率を向上させることができる。
On the other hand, in the information processing apparatus according to the present embodiment, the control code is inserted in the text, but the control means 1 controls the above control for one control code to be inserted in the text. The contents to which the code acts are separately defined and stored in the attribute definition information storage means 9, and the detailed processing contents, that is,
By setting the attribute control information in the attribute control information storage means 10, the attribute processing means 11 can perform the attribute processing while minimizing the number of control codes inserted in the text. As described above, since the information processing apparatus according to the present embodiment does not need to insert the control code related to attribute processing into the text for each character, it is possible to suppress the memory consumption required for the attribute processing, and The use efficiency can be improved.

【0097】従って、上記アトリビュート制御情報とし
て、例えば書体の変化や、指定された書体が存在しない
場合に使用する代替書体の優先順位等を予め定義してお
くことによって、一文字毎に書体コードを付加すること
なく、一文字毎に書体を変化させることが可能となる。
Therefore, as the attribute control information, for example, by changing the typeface, the priority of the alternative typeface used when the designated typeface does not exist, and the like, a typeface code is added for each character. It is possible to change the typeface for each character without doing so.

【0098】また、アトリビュート制御情報として、例
えば色調や色相の変化、白黒モードに変換した場合の各
カラーのグレースケールを予め定義しておくことによっ
て、一文字毎にカラーコードを付加することなく、一文
字毎に文字の色を変更することが可能となる。
Further, as the attribute control information, for example, a change in color tone or hue, a gray scale of each color when converted to a black and white mode is defined in advance, so that a color code is not added for each character and It is possible to change the color of the character for each.

【0099】さらに、アトリビュート制御情報として、
例えば、文字の変形の様式(変形パターン)を予め定義
しておくことによって、一文字毎に文字変形コードを付
加することなく、出力文字列に変形を加えて特殊な効果
を出すことが可能となる。
Further, as attribute control information,
For example, by predefining a character transformation style (deformation pattern), it is possible to transform the output character string to produce a special effect without adding a character transformation code for each character. .

【0100】そして、上記各制御コードにはこれらアト
リビュート制御情報が複数種類組み合わせて割り当てら
れている。これにより、複数種類のアトリビュート処理
を行う場合でも、一つの制御コードで処理することがで
き、さらにメモリの利用効率を向上させることができ
る。
A plurality of types of attribute control information are combined and assigned to each control code. As a result, even when a plurality of types of attribute processing are performed, the processing can be performed with one control code, and the memory utilization efficiency can be further improved.

【0101】この場合には、一つの制御コードに、上述
した書体の変化や、色調や色相の変化等の複数種類のア
トリビュート制御情報を組み合わせて割り当ててもよい
し、一つの制御コードに、既にアトリビュート制御情報
が割り当てられている他の制御コードを組み合わせて定
義付けすることによって、複数種類のアトリビュート制
御情報を組み合わせて割り当ててもよい。一つの制御コ
ードに、既にアトリビュート制御情報が割り当てられて
いる他の制御コードを組み合わせて定義付けする場合に
は、組み合わせられるアトリビュート制御情報の数をよ
り多くすることができるので、より複雑なアトリビュー
ト処理の指定をも一つの制御コードで指定することがで
き、さらにメモリの利用効率を向上させることができ
る。
In this case, one type of control code may be assigned by combining a plurality of types of attribute control information such as a change in typeface, a change in color tone and a hue, and one control code may already be assigned. A plurality of types of attribute control information may be combined and assigned by combining and defining other control codes to which the attribute control information is assigned. When one control code is defined by combining other control codes to which attribute control information is already assigned, the number of attribute control information to be combined can be increased, so that more complicated attribute processing can be performed. Can be specified by a single control code, and the memory utilization efficiency can be further improved.

【0102】また、上記複数種類のアトリビュート制御
情報の中には、指定された文字列において、上記文字列
に付与された制御コードに基づくアトリビュート処理を
繰り返し実行するための情報が含まれている。
The plurality of types of attribute control information include information for repeatedly executing the attribute processing based on the control code added to the character string in the designated character string.

【0103】このように、アトリビュート制御情報とし
て、他のアトリビュート制御情報を繰り返し実行するた
めの情報が定義されていることで、アトリビュート処理
に周期性を付与することができる。これにより、出力文
字列の変化に連続性を持たせることができ、長い文字列
に対しても単調なアトリビュート処理となることがな
く、一定の周期で特殊効果を出すことができる。
As described above, since the information for repeatedly executing other attribute control information is defined as the attribute control information, periodicity can be added to the attribute processing. As a result, the change in the output character string can be given continuity, and even a long character string is not subjected to monotonous attribute processing, and a special effect can be produced at a constant cycle.

【0104】また、予め制御コード解除文字が定義され
ていることで、制御手段1により、文字列の中に、上記
制御コード解除文字が確認されれば、上記制御コード解
除文字の直前でアトリビュート処理を停止する。これに
より、特別にアトリビュート処理を終了するための制御
コードを必要とせず、上記アトリビュート処理を終了す
ることが可能となる。
Since the control code release character is defined in advance, if the control means 1 confirms the control code release character in the character string, the attribute processing is performed immediately before the control code release character. To stop. This makes it possible to end the attribute processing without requiring a control code for ending the attribute processing.

【0105】尚、上記実施の形態では、文字の修飾、装
飾に係るアトリビュート制御情報として、例えば、書体
コード、書体変化コード、文字変形コード等のアトリビ
ュート制御情報を例示したが、アトリビュート制御情報
としては、上記実施の形態において例示したものに限定
されるものではなく、所望する修飾、装飾を施すための
アトリビュート制御情報を設定することができる。
In the above embodiment, attribute control information such as a typeface code, a typeface change code, and a character transformation code is exemplified as the attribute control information related to character decoration and decoration. However, the attribute control information is not limited to those exemplified in the above-described embodiment, and attribute control information for applying desired decoration and decoration can be set.

【0106】また、アトリビュート処理を終了するに
は、上記制御コード解除文字以外にも、アトリビュート
処理を終了するための制御コードを用いてアトリビュー
ト処理を終了しても構わない。但し、上記制御コード解
除文字を予め定義することで、アトリビュート処理を終
了するための制御コードを必要とせず、さらにメモリの
利用効率を向上させることができると共に、任意の文字
あるいは記号によりアトリビュート処理を終了すること
ができるため、定義された文字や記号等を制御コード解
除文字として、テキストデータの任意の範囲においてア
トリビュート処理を施すことができる。
To end the attribute processing, the attribute processing may be ended by using a control code for ending the attribute processing other than the control code release character. However, by defining the control code release character in advance, a control code for terminating the attribute processing is not required, the memory utilization efficiency can be further improved, and the attribute processing can be performed by an arbitrary character or symbol. Since the processing can be terminated, the attribute processing can be performed in an arbitrary range of the text data by using the defined character or symbol as the control code cancellation character.

【0107】[0107]

【発明の効果】本発明に係る請求項1記載の情報処理装
置は、以上のように、指定された文字列の先頭に、文字
の属性情報に対して割り当てられた制御コードを付与す
ると共に、制御コードを付与した文字列に対して、その
制御コードに割り当てられた属性情報に基づく処理を行
う属性情報処理手段を有する構成である。
As described above, the information processing apparatus according to the first aspect of the present invention adds the control code assigned to the attribute information of the character to the beginning of the designated character string, and This is a configuration including attribute information processing means for performing processing on a character string to which a control code is added, based on the attribute information assigned to the control code.

【0108】上記の構成によれば、指定された文字列の
先頭に一つの制御コードを挿入するだけで、上記属性情
報処理の対象となる文字列に対して、その制御コードに
割り当てられた文字の属性情報に基づく処理を行うこと
ができる。
According to the above configuration, by inserting only one control code at the beginning of the designated character string, the character assigned to the control code is assigned to the character string subject to the attribute information processing. It is possible to perform processing based on the attribute information of.

【0109】つまり、従来は、文字の修飾を行う場合、
例えば書体コードやカラーコード等の制御コードを一文
字毎にテキスト内に挿入する必要があった。このため、
テキストメモリ等のメモリの消費が著しく、メモリの使
用効率が良くないという問題があった。
That is, conventionally, when character decoration is performed,
For example, it was necessary to insert a control code such as a typeface code or color code into the text for each character. For this reason,
There is a problem that the consumption of the memory such as the text memory is significant and the efficiency of the memory usage is not good.

【0110】これに対し、本発明の情報処理装置では、
テキスト中に制御コードを挿入するが、予め、例えば書
体の変化や色相の変化といった文字の属性情報に対して
制御コードを割り当てておき、制御コードを付与した文
字列に対して属性情報処理を行う。このように、本発明
の情報処理装置では、一つの制御コードで、その制御コ
ードを付与した文字列に対して処理を行うので、制御コ
ードを一文字毎にテキスト内に挿入する場合と比較し
て、上記処理に要するメモリの消費を抑えることがで
き、メモリの使用効率を向上させることができるという
効果を奏する。
On the other hand, in the information processing apparatus of the present invention,
Although a control code is inserted in the text, a control code is assigned in advance to the attribute information of the character such as the change of the typeface or the change of the hue, and the attribute information processing is performed on the character string with the control code. . As described above, in the information processing apparatus of the present invention, since the processing is performed on the character string to which the control code is added with one control code, compared with the case where the control code is inserted into the text for each character. Thus, it is possible to suppress the consumption of the memory required for the above processing and to improve the memory usage efficiency.

【0111】本発明に係る請求項2記載の情報処理装置
は、以上のように、請求項1記載の情報処理装置におい
て、上記制御コードには、複数種類の属性情報が割り当
てられている構成である。
As described above, the information processing apparatus according to a second aspect of the present invention is the information processing apparatus according to the first aspect, in which a plurality of types of attribute information are assigned to the control code. is there.

【0112】上記の構成によれば、複数種類の属性情報
処理を行う場合でも、一つの制御コードで処理すること
ができ、さらにメモリの利用効率を向上させることがで
きるという効果を奏する。
According to the above configuration, even when a plurality of types of attribute information processing are performed, the processing can be performed with one control code, and the memory utilization efficiency can be improved.

【0113】本発明に係る請求項3記載の情報処理装置
は、以上のように、請求項2記載の情報処理装置におい
て、上記複数種類の属性情報の中には、指定された文字
列において、上記文字列に付与された制御コードに基づ
く属性情報の処理を繰り返し実行するための情報が含ま
れている構成である。
As described above, the information processing apparatus according to a third aspect of the present invention is the information processing apparatus according to the second aspect, wherein in the plurality of types of attribute information, in the designated character string, The configuration includes information for repeatedly executing the processing of the attribute information based on the control code added to the character string.

【0114】上記の構成によれば、請求項2の効果に加
えて、出力文字列の変化に連続性を持たせることがで
き、長い文字列に対しても単調な属性情報処理となるこ
とがなく、一定の周期で特殊効果を出すことができると
いう効果を奏する。
According to the above configuration, in addition to the effect of the second aspect, it is possible to provide continuity in the change of the output character string, and it is possible to perform monotonous attribute information processing even for a long character string. Instead, it has the effect of being able to produce a special effect at a fixed cycle.

【0115】本発明に係る請求項4記載の情報処理装置
は、以上のように、請求項1、2または3記載の情報処
理装置において、上記属性情報処理手段は、文字列の中
に、予め設定した、制御コードに基づく属性情報の処理
を停止させる文字を認識したとき、その文字の直前で上
記の処理を停止する構成である。
As described above, the information processing apparatus according to a fourth aspect of the present invention is the information processing apparatus according to the first, second or third aspect, wherein the attribute information processing means is previously stored in a character string. When a character for stopping the processing of the set attribute information based on the control code is recognized, the above processing is stopped immediately before the character.

【0116】上記の構成によれば、請求項1、2または
3の効果に加えて、特別に上記属性情報処理を終了する
ための制御コードを必要とせず、上記属性情報処理を終
了することが可能となるという効果を奏する。
According to the above configuration, in addition to the effect of claim 1, 2 or 3, it is possible to end the attribute information processing without requiring a special control code for ending the attribute information processing. It has the effect of being possible.

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

【図1】本発明の一実施の形態に係る情報処理装置の構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an information processing device according to an embodiment of the present invention.

【図2】上記情報処理装置のアトリビュート制御情報記
憶手段に格納されるアトリビュート制御情報からなるコ
ードテーブルの一例を示す説明図であり、(a)は書体
コードテーブルを示す説明図であり、(b)は書体変化
コードテーブルを示す説明図である。
FIG. 2 is an explanatory diagram showing an example of a code table composed of attribute control information stored in an attribute control information storage means of the information processing apparatus, FIG. 2 (a) is an explanatory diagram showing a typeface code table, and FIG. ) Is an explanatory view showing a typeface change code table.

【図3】上記情報処理装置のアトリビュート制御情報記
憶手段に格納される他のアトリビュート制御情報からな
るコードテーブルの一例を示す説明図であり、(a)は
文字変化コードテーブルを示す説明図であり、(b)は
カラーコードテーブルを示す説明図である。
FIG. 3 is an explanatory diagram showing an example of a code table composed of other attribute control information stored in an attribute control information storage means of the information processing apparatus, and FIG. 3 (a) is an explanatory diagram showing a character change code table. , (B) are explanatory views showing a color code table.

【図4】上記情報処理装置のアトリビュート制御情報記
憶手段に格納されるさらに他のアリビュート制御情報か
らなるコードテーブルの一例を示す説明図であり、
(a)は拡大装飾コードテーブルを示す説明図であり、
(b)は色調変化コードテーブルを示す説明図である。
FIG. 4 is an explanatory diagram showing an example of a code table made up of still another attribute control information stored in the attribute control information storage means of the information processing device;
(A) is explanatory drawing which shows an expansion decoration code table,
(B) is an explanatory view showing a color tone change code table.

【図5】上記情報処理装置のアトリビュート制御情報記
憶手段に格納されるさらに他のアトリビュート制御情報
からなるコードテーブルの一例を示す説明図であり、
(a)は色相変化コードテーブルを示す説明図であり、
(b)はカラー/グレースケール変換テーブルを示す説
明図である。
FIG. 5 is an explanatory diagram showing an example of a code table including further attribute control information stored in the attribute control information storage means of the information processing apparatus,
(A) is an explanatory view showing a hue change code table,
(B) is an explanatory view showing a color / gray scale conversion table.

【図6】上記情報処理装置のアトリビュート制御情報記
憶手段に格納されるさらに他のアトリビュート制御情報
からなるコードテーブルとして制御コード解除文字セッ
トテーブルを示す説明図である。
FIG. 6 is an explanatory diagram showing a control code release character set table as a code table including further attribute control information stored in the attribute control information storage means of the information processing apparatus.

【図7】上記情報処理装置のアトリビュート定義情報記
憶手段に格納される、制御コードと上記制御コードに対
応するアトリビュート制御情報の組み合わせとからなる
コードテーブルの一例を示す説明図である。
FIG. 7 is an explanatory diagram showing an example of a code table, which is stored in an attribute definition information storage unit of the information processing apparatus, and includes a control code and a combination of attribute control information corresponding to the control code.

【図8】上記情報処理装置における情報処理の流れを示
すフローチャートである。
FIG. 8 is a flowchart showing a flow of information processing in the information processing apparatus.

【図9】上記情報処理装置におけるアトリビュート処理
手段でのアトリビュート処理の流れを示すフローチャー
トである。
FIG. 9 is a flowchart showing a flow of attribute processing in attribute processing means in the information processing apparatus.

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

1 制御手段 9 アトリビュート定義情報記憶手段(属性情報処理
手段) 10 アトリビュート制御情報記憶手段(属性情報処
理手段) 11 アトリビュート処理手段(属性情報処理手段)
1 Control Means 9 Attribute Definition Information Storage Means (Attribute Information Processing Means) 10 Attribute Control Information Storage Means (Attribute Information Processing Means) 11 Attribute Processing Means (Attribute Information Processing Means)

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】指定された文字列の先頭に、文字の属性情
報に対して割り当てられた制御コードを付与すると共
に、制御コードを付与した文字列に対して、その制御コ
ードに割り当てられた属性情報に基づく処理を行う属性
情報処理手段を有することを特徴とする情報処理装置。
1. A control code assigned to character attribute information is attached to the head of a designated character string, and an attribute assigned to the control code is attached to the character string to which the control code is attached. An information processing apparatus comprising an attribute information processing means for performing processing based on information.
【請求項2】上記制御コードには、複数種類の属性情報
が割り当てられていることを特徴とする請求項1記載の
情報処理装置。
2. The information processing apparatus according to claim 1, wherein a plurality of types of attribute information are assigned to the control code.
【請求項3】上記複数種類の属性情報の中には、指定さ
れた文字列において、上記文字列に付与された制御コー
ドに基づく属性情報の処理を繰り返し実行するための情
報が含まれていることを特徴とする請求項2記載の情報
処理装置。
3. The plurality of types of attribute information include information for repeatedly executing attribute information processing based on a control code assigned to the character string in a designated character string. The information processing apparatus according to claim 2, wherein:
【請求項4】上記属性情報処理手段は、文字列の中に、
予め設定した、制御コードに基づく属性情報の処理を停
止させる文字を認識したとき、その文字の直前で上記の
処理を停止することを特徴とする請求項1、2または3
記載の情報処理装置。
4. The attribute information processing means, in a character string,
4. When recognizing a preset character for stopping the processing of attribute information based on the control code, the above processing is stopped immediately before the character.
The information processing device described.
JP7344212A 1995-12-28 1995-12-28 Information processor Pending JPH09185608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7344212A JPH09185608A (en) 1995-12-28 1995-12-28 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7344212A JPH09185608A (en) 1995-12-28 1995-12-28 Information processor

Publications (1)

Publication Number Publication Date
JPH09185608A true JPH09185608A (en) 1997-07-15

Family

ID=18367502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7344212A Pending JPH09185608A (en) 1995-12-28 1995-12-28 Information processor

Country Status (1)

Country Link
JP (1) JPH09185608A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016118902A (en) * 2014-12-19 2016-06-30 大日本印刷株式会社 Composition providing device, program, composition providing method, and print

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016118902A (en) * 2014-12-19 2016-06-30 大日本印刷株式会社 Composition providing device, program, composition providing method, and print

Similar Documents

Publication Publication Date Title
EP0651347B1 (en) Layout display apparatus for tape printing apparatus, capable of displaying plural-lined characters at high speed
JPH04128970A (en) Document processing system
US5793902A (en) Character information processor
JPH03129397A (en) Document processor
JPH09185608A (en) Information processor
JP3110919B2 (en) Document processing device
JP3850057B2 (en) Character information processing device
JPH03213367A (en) Multicolor printer
US5517610A (en) Portrait drawing apparatus having facial expression designating function
JPS62204956A (en) Document processing system
JP2928512B2 (en) Document processing apparatus and method
JP2815158B2 (en) Character processor
JP3378662B2 (en) Document processing device
JPH01281963A (en) Document processing device
JPH09114439A (en) Information output device
JPH0830775A (en) Document processor
JPH06130930A (en) Method and device for generating bit image data
JPH02151472A (en) Document preparation apparatus
JPH09314921A (en) Printer
JPH08335249A (en) Document reader
JP2000326584A (en) Document processor and document processing method
JPH08194690A (en) Document preparing device and display control method
JPH01217670A (en) Document preparing device
JP2001202075A (en) Device and method for character image generation and computer-readable recording medium stored with program making computer implement same method
JPS63209850A (en) Development display method for character dot pattern