JPH08166951A - Text display editing device - Google Patents

Text display editing device

Info

Publication number
JPH08166951A
JPH08166951A JP6332684A JP33268494A JPH08166951A JP H08166951 A JPH08166951 A JP H08166951A JP 6332684 A JP6332684 A JP 6332684A JP 33268494 A JP33268494 A JP 33268494A JP H08166951 A JPH08166951 A JP H08166951A
Authority
JP
Japan
Prior art keywords
text
character string
data
display
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP6332684A
Other languages
Japanese (ja)
Inventor
Satoru Tatsumi
哲 辰巳
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.)
Nippon Steel Corp
Original Assignee
Nippon Steel 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 Nippon Steel Corp filed Critical Nippon Steel Corp
Priority to JP6332684A priority Critical patent/JPH08166951A/en
Publication of JPH08166951A publication Critical patent/JPH08166951A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE: To dynamically change display contents corresponding to conditions such as operation environment without changing the contents of text data. CONSTITUTION: This device is provided with a word and phrase data storage part 5 storing words and phrase data obtained by coordinating a code and a character string, a code character string converting part 10 converting a code included in text data to a corresponding character string in accordance with data stored in this word and phrase data storage part 5, and a display position calculation part 4 calculating the display position of each character in text data through the use of the converted character string. Thus, the device converts a code read out from a text storage part 1 for text display to a corresponding character string and calculate the proper display position of the converted character string to display on a display part 6 so as to change the storage contents in the word and phrase data storage part 5, e.g. to change the display contents without changing text data itself in the text storage part 1 and without specifying by users the display position of the character string to be converted from a code one by one.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はテキスト表示編集装置に
関し、特に、文字や小図形などの記号および特定の文字
列を表すコードからなるテキストデータを表示装置に表
示する状態を編集するテキスト表示編集装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a text display / editing apparatus, and more particularly to a text display / editing apparatus for editing a state in which text data consisting of symbols such as characters and small figures and codes representing specific character strings is displayed on the display apparatus. It relates to the device.

【0002】[0002]

【従来の技術】従来、テキストデータを画面に表示し、
上記表示中の文字や小図形などの記号、あるいはタブや
改行などの制御コードの追加、変更、削除等を電子計算
機を使用して行い、テキストデータの画面表示を編集す
るテキスト表示編集装置が提案されている。
2. Description of the Related Art Conventionally, text data is displayed on a screen,
A text display editing device that edits the screen display of text data by using a computer to add, change, delete, etc. symbols such as characters and small figures in the above display or control codes such as tabs and line breaks is proposed. Has been done.

【0003】図4に、従来のテキスト表示編集装置の構
成例を示す。図4において、テキスト記憶部41には、
文字や記号からなるテキストデータが種々格納されてい
る。テキスト記憶部41内のテキストデータは、読み出
し部43および表示位置計算部44を介して表示部45
に与えられ、そのテキストが表示されるようになってい
る。
FIG. 4 shows a configuration example of a conventional text display / editing apparatus. In FIG. 4, in the text storage unit 41,
Various text data including characters and symbols are stored. The text data in the text storage unit 41 is displayed on the display unit 45 via the read unit 43 and the display position calculation unit 44.
Is given to the user and the text is displayed.

【0004】すなわち、上記テキスト記憶部41に格納
されているテキストデータは、それに含まれる文字や記
号が読み出し部43により1つずつ順に読み出され、表
示位置計算部44に与えられる。表示位置計算部44で
は、読み出し部43から与えられるテキストデータと、
そこに含まれている個々の文字や記号のデータとに基づ
いて表示部45における表示位置が1文字ずつ計算され
る。そして、このようにして計算された表示部45上の
表示位置にテキストが表示される。
That is, in the text data stored in the text storage unit 41, the characters and symbols included in the text data are sequentially read out one by one by the reading unit 43 and given to the display position calculation unit 44. In the display position calculation unit 44, the text data given from the reading unit 43,
The display position on the display unit 45 is calculated character by character based on the data of each character or symbol contained therein. Then, the text is displayed at the display position on the display unit 45 calculated in this way.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来のテキスト表示編集装置では、テキスト記憶部41内
のテキストデータを変更すると、それに連動して表示部
45における表示が変更されるようになされていた。す
なわち、キーボードやマウス等を使って記憶内容変更部
42に指示を与えてテキスト記憶部41内のテキストデ
ータの内容を変更しなければ、表示部45における表示
を変更することはできなかった。
However, in the above-mentioned conventional text display / editing apparatus, when the text data in the text storage section 41 is changed, the display in the display section 45 is changed in conjunction with the change. . That is, the display on the display unit 45 could not be changed unless the contents of the text data in the text storage unit 41 was changed by giving an instruction to the storage contents change unit 42 using a keyboard, a mouse, or the like.

【0006】このように、従来のテキスト編集装置で
は、テキスト表示を変更しようとする部分をユーザがキ
ーボード等を使って指定する必要があったので、操作環
境などの条件に応じて表示を動的に変更することはでき
なかった。また、テキスト中のある語句を検索しなが
ら、それを他の語句に自動的に変換しようとする場合
に、テキスト中にその語句を含む文字列があると、その
文字列も誤って変換されてしまうということがあった。
As described above, in the conventional text editing apparatus, since the user needs to specify the portion to change the text display by using the keyboard or the like, the display is dynamically changed according to the conditions such as the operating environment. Could not be changed to. Also, when searching for a certain phrase in the text and automatically converting it into another phrase, if there is a character string containing that phrase in the text, the character string will also be converted incorrectly. There was a chance that it would end up.

【0007】本発明は、このような問題を解決するため
になされたものであり、ユーザが表示変更の指示をしな
くても、操作環境などの条件に応じて表示を動的に変更
できるようにするとともに、テキストデータの内容を変
更することなく表示編集を行うことができるようにする
ことを目的とする。
The present invention has been made in order to solve such a problem, and enables a display to be dynamically changed according to a condition such as an operating environment without the user giving a display change instruction. In addition, the purpose is to enable display editing without changing the contents of the text data.

【0008】[0008]

【課題を解決するための手段】本発明のテキスト表示編
集装置は、少なくとも特定の文字列を表すコードを有す
るテキストデータを記憶するテキスト記憶手段と、上記
特定の文字列を表すコードとそのコードの内容である文
字列とを対応付けて記憶する語句データ記憶手段と、上
記語句データ記憶手段に記憶されているデータに従っ
て、上記テキスト記憶手段から読み出されるテキストデ
ータ中のコードを対応する文字列に変換するコード文字
列変換手段と、上記コード文字列変換手段により変換さ
れた文字列を用いて上記テキストデータの各文字の表示
位置を計算する表示位置計算手段とを設けたものであ
る。
A text display / editing device of the present invention includes a text storage unit for storing text data having at least a code representing a specific character string, a code representing the specific character string, and a code for the code. The code in the text data read from the text storage means is converted into a corresponding character string according to the word / phrase data storage means that stores the content and the character string in association with each other, and the data stored in the word / phrase data storage means. The code character string converting means and the display position calculating means for calculating the display position of each character of the text data using the character string converted by the code character string converting means are provided.

【0009】本発明の他の特徴とするところは、上記語
句データ記憶手段には、同一のコードに対して異なる文
字列を対応付けた複数種類のデータが記憶されており、
上記語句データ記憶手段に記憶されている複数種類のデ
ータのうちの何れか1つを選択する選択手段を設けたも
のである。
Another feature of the present invention is that the word data storage means stores a plurality of types of data in which different character strings are associated with the same code.
A selection means for selecting any one of a plurality of types of data stored in the word / phrase data storage means is provided.

【0010】本発明のその他の特徴とするところは、上
記表示位置計算手段による表示位置の計算結果に応じ
て、上記語句データ記憶手段に記憶されている複数種類
のデータのうちの何れか1つを選択するように上記選択
手段を構成したことを特徴とするものである。
Another feature of the present invention is that any one of a plurality of types of data stored in the word / phrase data storage means is selected according to the display position calculation result by the display position calculation means. It is characterized in that the selecting means is configured to select.

【0011】本発明のその他の特徴とするところは、上
記コード文字列変換手段によって上記コードから変換さ
れる文字列の表示態様を他の文字と異ならせて表示させ
るようにしたことを特徴とするものである。
Another feature of the present invention is that the display mode of the character string converted from the code by the code character string converting means is displayed differently from other characters. It is a thing.

【0012】[0012]

【作用】本発明は上記技術手段より成るので、テキスト
表示をする際にテキスト記憶手段から読み出されるテキ
ストデータ中のコードが、コード文字列変換手段によっ
て対応する文字列に変換され、これにより得られる文字
数などの情報に従って上記文字列の適切な表示位置が表
示位置計算手段により計算される。すなわち、テキスト
記憶手段に記憶されているテキストデータ中のコード自
体は変更されず、テキスト表示をするために上記テキス
ト記憶手段からコードが読み出されたときにそのコード
が文字列に変換され、その変換された文字列の適切な表
示位置が計算されて表示されるようになる。
Since the present invention comprises the above technical means, the code in the text data read from the text storage means at the time of displaying the text is converted into the corresponding character string by the code character string conversion means and is obtained by this. An appropriate display position of the character string is calculated by the display position calculation means according to information such as the number of characters. That is, the code itself in the text data stored in the text storage means is not changed, and when the code is read from the text storage means for displaying the text, the code is converted into a character string, The appropriate display position of the converted character string is calculated and displayed.

【0013】また、本発明の他の特徴によれば、コード
とそのコードの内容である文字列を対応付けたデータが
語句データ記憶手段に複数種類記憶されているときは、
それらのうちの何れかのデータが選択手段により選択さ
れて、コード文字列変換手段におけるコードから文字列
への変換処理に使用される。
According to another feature of the present invention, when a plurality of types of data in which a code and a character string that is the content of the code are associated with each other are stored in the phrase data storage means,
Any one of these data is selected by the selecting means and used in the conversion process from the code to the character string in the code character string converting means.

【0014】また、本発明のその他の特徴によれば、語
句データ記憶手段に記憶されている複数種類のデータの
うち、最適なデータが表示位置の計算結果に応じて自動
的に選択され、こうして選択されたデータがコード文字
列変換手段におけるコードから文字列への変換処理に使
用される。
According to another feature of the present invention, the optimum data among the plurality of types of data stored in the phrase data storage means is automatically selected according to the calculation result of the display position. The selected data is used for the conversion process from the code to the character string in the code character string conversion means.

【0015】また、本発明のその他の特徴によれば、コ
ード文字列変換手段により変換される文字列の表示態様
(例えば、表示の大きさ、字体、表示色など)がテキス
トデータ中の他の文字と異なる表示態様で表示される。
Further, according to another feature of the present invention, the display mode (for example, display size, font, display color, etc.) of the character string converted by the code character string converting means is different from that in the text data. It is displayed in a display mode different from that of the characters.

【0016】[0016]

【実施例】以下に、本発明の一実施例を図面を参照して
詳細に説明する。図1は、本実施例によるテキスト表示
編集装置を示す機能ブロック図である。図1において、
1はテキスト記憶部であり、文字(小図形などの記号を
含む)や特定の文字列(語句)を表すコード等からなる
テキストデータが種々格納されている。ここに格納され
ているテキストデータは、後述するように読み出し部
3、文字・コード識別部8、表示位置計算部4および表
示位置保持部7を介して表示部6に与えられ、そのテキ
ストが表示されるようになっている。なお、この表示部
6には、例えばCRTや液晶によるビットマップディス
プレイを使用することが可能である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a functional block diagram showing a text display / editing apparatus according to this embodiment. In FIG.
A text storage unit 1 stores various text data including characters (including symbols such as small figures) and codes representing specific character strings (phrases). The text data stored here is given to the display unit 6 via the reading unit 3, the character / code identifying unit 8, the display position calculating unit 4, and the display position holding unit 7, and the text is displayed. It is supposed to be done. It is possible to use, for example, a CRT or a liquid crystal bitmap display for the display unit 6.

【0017】2は記憶内容変更部であり、ユーザが図示
しないキーボードやマウス等を使ってこの記憶内容変更
部2に指示を与えることにより、テキスト記憶部1に格
納されているテキストデータの内容を変更することが可
能なようになされている。また、上述した読み出し部3
は、テキスト記憶部1に格納されているテキストデータ
を読み出すものであり、テキストデータを構成する文字
やコードを1つずつ順に読み出すようになされている。
Reference numeral 2 denotes a storage content changing unit, which allows the user to give an instruction to the storage content changing unit 2 using a keyboard, a mouse, or the like (not shown) to display the contents of the text data stored in the text storage unit 1. It is possible to change. In addition, the reading unit 3 described above
Reads out the text data stored in the text storage unit 1, and sequentially reads out the characters and codes forming the text data one by one.

【0018】また、表示位置計算部4は、表示部6に表
示すべきテキストの位置をそのテキスト中に含まれる文
字、あるいはコードが表す文字列の各文字のそれぞれに
ついて1つずつ計算するものである。すなわち、表示位
置計算部4は、テキスト中の文字やコードに対応する文
字列を表示部6に表示するために必要な領域およびその
周りの文字や記号との相対位置を計算することによって
表示位置の計算を行う。
The display position calculation unit 4 calculates the position of the text to be displayed on the display unit 6 one by one for each character included in the text or each character of the character string represented by the code. is there. That is, the display position calculation unit 4 calculates the display position by calculating the relative position with respect to the area necessary for displaying the character string corresponding to the character or code in the text on the display unit 6 and the surrounding characters and symbols. Calculate.

【0019】すなわち、表示位置計算部4において、あ
る文字をどこに表示するべきであるかは、 (a)その文字の周りの文字(通常、前の文字)の表示位
置 (b)その文字の大きさ により計算することができる。ここで、(a) の情報は表
示位置保持部7より得ることができ、また、文字列に関
する (b)の情報は、データ交換部9を介して後述するコ
ード文字列変換部10より得ることができる。
That is, in the display position calculation section 4, where a certain character should be displayed is as follows: (a) Display position of characters around the character (usually previous character) (b) Size of the character It can be calculated by Here, the information of (a) can be obtained from the display position holding unit 7, and the information of (b) regarding the character string can be obtained from the code character string conversion unit 10 described later via the data exchange unit 9. You can

【0020】この表示位置計算部4は、文字・コード識
別部8による識別結果に応じて文字もしくはコードに対
応する文字列の表示位置を計算する。すなわち、上記文
字・コード識別部8は、読み出し部3を介してテキスト
記憶部1から読み出されるデータが、通常の文字である
かコードであるかを識別する。ここで、テキスト中に含
まれている文字は、表示部6に表示するための大きさが
決められているため、読み出し部3により読み出された
データが通常の文字である場合は、その文字データをも
とにして表示位置計算部4でその文字の表示位置の計算
をすることが可能である。
The display position calculation unit 4 calculates the display position of the character string corresponding to the character or code according to the identification result by the character / code identification unit 8. That is, the character / code identifying unit 8 identifies whether the data read from the text storage unit 1 via the reading unit 3 is a normal character or a code. Here, since the size of the characters included in the text to be displayed on the display unit 6 is determined, if the data read by the reading unit 3 is a normal character, that character The display position calculation unit 4 can calculate the display position of the character based on the data.

【0021】また、読み出し部3により読み出されたデ
ータがコードである場合は、データ交換部9を介してコ
ード文字列変換部10との間でデータ交換をすることに
より、上記コードに対応する文字列を得る。そして、こ
のようにして得た文字列の文字数および表示の大きさを
もとにして表示位置計算部4でその文字列の表示位置を
計算をする。
When the data read by the reading unit 3 is a code, the data is exchanged with the code character string converting unit 10 via the data exchanging unit 9 to correspond to the code. Get a string. Then, the display position calculation unit 4 calculates the display position of the character string based on the number of characters and the display size of the character string thus obtained.

【0022】上記表示位置計算部4により計算された文
字の表示位置のデータは、その文字のデータとともに表
示位置保持部7に与えられて保持される。そして、この
表示位置保持部7に保持された文字およびその表示位置
のデータに従って、該当するテキストが表示部6に表示
されるようになっている。なお、この表示位置保持部7
に本実施例されているデータは、上記表示位置計算部4
の要求によって必要に応じて読み出される。
The data of the display position of the character calculated by the display position calculation unit 4 is given to the display position holding unit 7 and held together with the data of the character. Then, according to the character held in the display position holding unit 7 and the data of the display position, the corresponding text is displayed on the display unit 6. The display position holding unit 7
The data used in this embodiment is the display position calculation unit 4 described above.
It is read as required by the request of.

【0023】次いで、5は語句データ記憶部であり、上
述したコードとそのコードの内容を表す文字列(語句)
とを対応付けたいわゆる用語辞書が記憶されている。こ
の語句データ記憶部5には、複数種類の用語辞書が記憶
されており(第1のデータA、第2のデータB、…)、
これらのうちの何れかのデータが語句データ選択部11
により選択されてコード文字列変換部10における変換
処理に使用されるようになっている。
Next, 5 is a word / phrase data storage unit, which is a character string (word / phrase) representing the above-mentioned code and the content of the code.
A so-called term dictionary in which is associated with is stored. The term data storage unit 5 stores a plurality of types of term dictionaries (first data A, second data B, ...),
Any of these data is the phrase data selection unit 11
And is used for conversion processing in the code character string conversion unit 10.

【0024】上記コード文字列変換部10は、語句デー
タ選択部11により選択される語句データ記憶部5内の
何れかの用語辞書に基づいて、上記表示位置計算部4か
らデータ交換部9を介して与えられるコードを対応する
文字列に変換するものである。このコード文字列変換部
10により変換された文字列のデータは、データ交換部
9を介して表示位置計算部4に与えられ、表示位置の計
算に使用される。
The code character string conversion unit 10 is based on any of the term dictionaries in the word / phrase data storage unit 5 selected by the word / phrase data selection unit 11 from the display position calculation unit 4 through the data exchange unit 9. The given code is converted into a corresponding character string. The data of the character string converted by the code character string conversion unit 10 is given to the display position calculation unit 4 via the data exchange unit 9 and used for calculation of the display position.

【0025】なお、以上に述べた各ブロック1〜5およ
び7〜11は、CPU、ROMおよびRAMなどからな
るマイクロコンピュータシステムにより構成されている
が、ハード的に構成してもよい。
Although each of the blocks 1 to 5 and 7 to 11 described above is composed of a microcomputer system including a CPU, a ROM, a RAM, etc., it may be structured in hardware.

【0026】ここで、上記のように構成したテキスト表
示編集装置によって行われるテキスト表示の概要を、図
2に示す例を参照しながら説明する。ここでは、図1に
示したテキスト記憶部1に、図2(a)に示すようなコ
ードを含むテキストデータが記憶されており、このテキ
ストデータを用いてテキスト表示を行う場合を例にとっ
て説明する。なお、図2において、四角で囲んだ「NS
C」および「elelab」は、それぞれ特定の文字列に対応
するコードである。
Here, the outline of the text display performed by the text display editing apparatus configured as described above will be described with reference to the example shown in FIG. Here, text data including a code as shown in FIG. 2A is stored in the text storage unit 1 shown in FIG. 1, and a case of performing text display using this text data will be described as an example. . In FIG. 2, the “NS
"C" and "elelab" are codes corresponding to specific character strings.

【0027】この例において、図2(b)に示すような
コードと文字列(語句)との対応関係を示す用語辞書が
語句データ記憶部5内に第1のデータAとして記憶され
ており、この用語辞書が語句データ選択部11により選
択されていたとする。この場合、この選択された用語辞
書に基づいて、テキスト記憶部1から読み出されるコー
ドが、コード文字列変換部10によって対応する文字列
に変換される。これにより、図2(a)のテキストデー
タ中に含まれるそれぞれのコードについて、対応する文
字列を表示するのに必要な文字数および表示の大きさ等
に関する情報が得られる。
In this example, a term dictionary showing the correspondence between codes and character strings (words) as shown in FIG. 2B is stored as the first data A in the word data storage unit 5, It is assumed that this term dictionary has been selected by the term data selection unit 11. In this case, the code read from the text storage unit 1 is converted into a corresponding character string by the code character string conversion unit 10 based on the selected term dictionary. As a result, for each code included in the text data of FIG. 2A, information regarding the number of characters required to display the corresponding character string, the display size, and the like can be obtained.

【0028】表示位置計算部4では、このようにして得
られた文字列の表示に関する情報に従って、文字列の表
示位置が計算される。また、上記テキストデータ中のコ
ード以外の通常の文字部分については、表示部6に表示
するための大きさが決められているため、その文字の大
きさの情報に従って表示位置が計算される。そして、こ
のようにして計算された表示部6における表示位置に上
記の文字および文字列が表示される。これにより、図2
(c)に示すようなテキストが表示部6に表示される。
The display position calculation unit 4 calculates the display position of the character string according to the information on the display of the character string thus obtained. Moreover, since the size of the normal character portion other than the code in the text data to be displayed on the display unit 6 is determined, the display position is calculated according to the information on the character size. Then, the above character and character string are displayed at the display position on the display unit 6 calculated in this way. As a result, FIG.
The text as shown in (c) is displayed on the display unit 6.

【0029】ここで、語句データ記憶部5内に第1のデ
ータAとして格納されている図2(b)のような用語辞
書を、例えば図2(d)に示すように、上記図2(b)
に示した語句の省略形を内容とする用語辞書に変更すれ
ば、表示部6への表示内容を変更することが可能であ
る。
Here, the term dictionary as shown in FIG. 2B stored as the first data A in the word / phrase data storage unit 5 is shown in FIG. b)
By changing the abbreviations of the words and phrases shown in to the term dictionary having the contents, it is possible to change the display contents on the display unit 6.

【0030】すなわち、第1のデータAとしての用語辞
書の内容を図2(d)のように変更することにより、コ
ード文字列変換部10により変換される文字列の内容が
変わる。そして、表示位置計算部4では、こうして変更
された文字列の表示に関する情報に従って適切な表示位
置が計算され、その表示位置にテキストが表示される。
これにより、表示部6におけるテキスト表示は、図2
(c)から図2(e)のように変更される。
That is, by changing the content of the term dictionary as the first data A as shown in FIG. 2D, the content of the character string converted by the code character string conversion unit 10 is changed. Then, the display position calculation unit 4 calculates an appropriate display position according to the information regarding the display of the character string thus changed, and the text is displayed at the display position.
As a result, the text display on the display unit 6 is as shown in FIG.
It is changed from (c) to FIG. 2 (e).

【0031】このように、本実施例によれば、図2
(a)に示したテキストデータを変更することなく表示
部6における表示内容を変更することができる。しか
も、語句データ記憶部5内の用語辞書の内容を変更する
と、その変更した用語辞書に従って変換される文字列に
基づいて適切な表示位置が表示位置計算部4により計算
されるので、コードから変換される文字列の各文字の表
示位置をユーザが指定しなくても、適切な位置に表示さ
せることができる。
Thus, according to this embodiment, as shown in FIG.
The display content on the display unit 6 can be changed without changing the text data shown in (a). Moreover, when the content of the term dictionary in the word / phrase data storage unit 5 is changed, an appropriate display position is calculated by the display position calculation unit 4 based on the character string converted according to the changed term dictionary. Even if the user does not specify the display position of each character of the character string to be displayed, it can be displayed at an appropriate position.

【0032】また、例えば、テキスト中の「日本」とい
う語句を検索しながら、その語句を「米国」という語句
に自動的に変換しようとする場合でも、図2(c)のよ
うに表示されたテキスト中の「新日本製鉄株式会社」と
いう文字列は、「NSC」という1つのコードで表され
るものであるから、「新米国製鉄株式会社」のように誤
って変換されてしまうということもなくなる。
Further, for example, even when searching for the word "Japan" in the text and automatically converting the word into the word "US", it is displayed as shown in FIG. 2 (c). The text string "Nippon Steel Works, Ltd." in the text is represented by a single code "NSC", so it may be erroneously converted to "New American Steel Works Co., Ltd." Disappear.

【0033】本実施例では、語句データ記憶部5に格納
されている複数種類のデータの中から、その時点で適切
なデータを選択することにより、同一のテキストデータ
についての表示内容を様々に変えるようにすることもで
きる。なお、選択するデータの変更は、表示位置計算部
4による表示位置の計算結果に応じて自動的に行うよう
にすることが可能である。また、ユーザが図示しないキ
ーボードやマウス等を用いて外部からコード文字列変換
部10に指示を与えることにより、データの選択を変更
するようにすることも可能である。
In the present embodiment, the display content of the same text data is variously changed by selecting appropriate data at that time from a plurality of types of data stored in the word / phrase data storage unit 5. You can also do so. The selected data can be changed automatically according to the calculation result of the display position by the display position calculation unit 4. It is also possible to change the data selection by the user externally giving an instruction to the code character string conversion unit 10 using a keyboard, a mouse or the like (not shown).

【0034】表示位置計算部4による表示位置の計算結
果に応じて自動的に選択を変更する例としては、以下の
ようなものがある。すなわち、表示位置計算部4が計算
した文字の表示位置が、表示部6に表示するのにふさわ
しくない位置になった場合(例えば、テキスト表示に必
要な面積が大きくなりすぎて、ある文字の表示位置が表
示部6の表示領域外となってしまう場合など)は、その
表示位置計算部4による計算結果に応じて語句データ選
択部11がデータの選択を変更することにより、テキス
ト全体の表示を変更するといったことが考えられる。
The following is an example of automatically changing the selection according to the calculation result of the display position by the display position calculating section 4. That is, when the display position of the character calculated by the display position calculation unit 4 becomes a position that is not suitable for displaying on the display unit 6 (for example, the area required for text display becomes too large, and a certain character is displayed). If the position is out of the display area of the display unit 6), the word / text selection unit 11 changes the data selection according to the calculation result by the display position calculation unit 4 to display the entire text. It is possible to change it.

【0035】例えば、語句データ記憶部5に、図2
(b)に示した用語辞書が第1のデータAとして記憶さ
れるとともに、図2(d)に示した用語辞書が第2のデ
ータBとして記憶されていたとする。このとき、語句デ
ータ選択部11が第1のデータAを選択し、表示位置計
算部4がこの第1のデータAに基づいて変換される文字
列を使用して各文字の表示位置を計算している途中で、
文字数や行数がある程度以上となり、定めされた表示領
域に文字が入らなくなると、語句データ選択部11は選
択するデータを、第1のデータAから第2のデータBに
変更する。
For example, in the phrase data storage unit 5, as shown in FIG.
It is assumed that the term dictionary shown in (b) is stored as the first data A and the term dictionary shown in FIG. 2 (d) is stored as the second data B. At this time, the phrase data selection unit 11 selects the first data A, and the display position calculation unit 4 calculates the display position of each character using the character string converted based on the first data A. In the middle of
When the number of characters or the number of lines exceeds a certain level and the characters cannot fit in the defined display area, the word / phrase data selection unit 11 changes the data to be selected from the first data A to the second data B.

【0036】その後に、表示位置計算部4は、語句デー
タ選択部11により新たに選択された第2のデータBに
基づいて変換される文字列を使用してテキストデータの
最初から各文字の表示位置を計算し直す。これにより、
表示部6におけるテキスト表示は、図2(c)から図2
(e)に操作環境に応じて動的に変更される。このよう
に、本実施例によれば、テキスト記憶部1内のテキスト
データを変更することなく表示部6における表示内容を
操作環境に応じて動的に変化させることができる。
After that, the display position calculation unit 4 uses the character string converted based on the second data B newly selected by the word / phrase data selection unit 11 to display each character from the beginning of the text data. Recalculate position. This allows
The text display on the display unit 6 is changed from FIG.
(E) is dynamically changed according to the operating environment. As described above, according to the present embodiment, the display content on the display unit 6 can be dynamically changed according to the operating environment without changing the text data in the text storage unit 1.

【0037】次に、以上のような機能を実現する図1の
テキスト表示編集装置の動作について簡単に説明する。
図1の装置において、まず、読み出し部3を用いてテキ
スト記憶部1に記憶されているテキストデータを1文字
ずつ読み出す。そして、この読み出したデータが通常の
文字のデータであると文字・コード識別部8により判断
された場合は、表示位置計算部4は、文字に決められて
いる大きさに従ってその文字の表示位置を計算し、計算
結果を表示位置保持部7に格納する。
Next, the operation of the text display / editing apparatus shown in FIG. 1 for realizing the above functions will be briefly described.
In the apparatus of FIG. 1, first, the reading unit 3 is used to read the text data stored in the text storage unit 1 character by character. When the character / code identification unit 8 determines that the read data is normal character data, the display position calculation unit 4 determines the display position of the character according to the size determined for the character. The calculation is performed and the calculation result is stored in the display position holding unit 7.

【0038】一方、上記読み出したデータが特定の文字
列を表すコードであると文字・コード識別部8により判
断された場合は、表示位置計算部4は、そのコードに対
応する文字列の大きさをコード文字列変換部10に問い
合わせる。コード文字列変換部10は、そのとき語句デ
ータ選択部11により選択されている語句データ記憶部
5内の何れかのデータに基づいて、問い合わせのあった
コードを文字列に変換する。そして、このようにして変
換した文字列をデータ交換部9を介して表示位置計算部
4に問い合わせの答えとして返す。表示位置計算部4
は、コード文字列変換部10より得た文字列を用いて、
その各文字の表示位置を計算し、その計算結果を表示位
置保持部7に格納する。
On the other hand, when the character / code identifying unit 8 determines that the read data is a code representing a specific character string, the display position calculating unit 4 determines the size of the character string corresponding to the code. To the code character string conversion unit 10. The code character string conversion unit 10 converts the inquired code into a character string based on any data in the phrase data storage unit 5 selected by the phrase data selection unit 11 at that time. Then, the character string thus converted is returned to the display position calculation unit 4 via the data exchange unit 9 as an answer to the inquiry. Display position calculator 4
Using the character string obtained from the code character string conversion unit 10,
The display position of each character is calculated, and the calculation result is stored in the display position holding unit 7.

【0039】以上のような処理を1文字ずつ順に繰り返
し行うことによって、例えば1画面分のテキスト中に含
まれる全ての文字、およびコードが表す文字列の表示位
置が決定されると、表示位置保持部7に格納された文字
の表示位置のデータに従って表示部6上の適切な位置に
テキストが表示される。
When the display positions of all the characters included in the text for one screen and the character string represented by the code are determined by repeating the above-described processing one character at a time, the display position is held. The text is displayed at an appropriate position on the display unit 6 according to the character display position data stored in the unit 7.

【0040】ここで、語句データ選択部11で選択され
るデータが変更されることによって同一のコードに対応
する文字列の内容が変えられると、その変更された文字
列に基づいて表示位置計算部4により適切な表示位置が
新たに計算される。これにより、コードの内容が動的に
変化する場合においても、そのコードに対応する語句を
適切な位置に表示することができる。
Here, when the content of the character string corresponding to the same code is changed by changing the data selected by the word / phrase data selecting unit 11, the display position calculating unit is based on the changed character string. 4, an appropriate display position is newly calculated. Thereby, even when the content of the code dynamically changes, the word or phrase corresponding to the code can be displayed at an appropriate position.

【0041】なお、以上の実施例では、コードから変換
される文字列も通常の文字も共に同じ大きさで表示部6
に表示されているが、コードから変換される文字列の大
きさを通常の文字の大きさと異ならせて表示させること
も可能である。また、操作環境に応じて文字列が動的に
変更されたときにのみ、その文字列を他の文字の大きさ
と異ならせて表示させることも可能である。さらに、以
上のような場合において、表示の大きさではなく、表示
の字体や色などの種々の表示態様を異ならせて表示させ
ることも可能である。
In the above embodiment, both the character string converted from the code and the normal character are displayed in the same size in the display unit 6.
However, it is also possible to display the size of the character string converted from the code differently from the size of a normal character. Further, only when the character string is dynamically changed according to the operating environment, it is possible to display the character string with a size different from that of other characters. Further, in the above cases, it is possible to display the display in various display modes such as the font and color of the display instead of the display size.

【0042】このようにすることによって、表示部6に
表示されたテキストを見るだけで、テキスト中の各文字
が通常の文字データとしてテキスト記憶部1に記憶され
ているのか、コードとしてテキスト記憶部1に記憶され
ているのかを容易に把握することができるようになる。
By doing so, just by looking at the text displayed on the display unit 6, whether each character in the text is stored in the text storage unit 1 as normal character data, or as a code, the text storage unit is displayed. It becomes possible to easily grasp whether or not it is stored in 1.

【0043】例えば、コードから変換される文字列の大
きさを通常の文字の大きさと異ならせて表示させる場合
は、上述した語句データ記憶部5の他に、文字列の表示
の大きさを表すデータを記憶するための記憶部を設け
る。そして、この記憶部から読み出した大きさのデータ
を上記コード文字列変換部10により変換される文字列
のデータとともにデータ交換部9を介して表示位置計算
部4に供給する。表示位置計算部4は、この文字列とそ
の表示の大きさとのデータを用いて適切な表示位置を計
算するようにする。このようにすることによって、コー
ドから変換される文字列の表示寸法を変えて表示部6に
表示するようにすることができる。
For example, when the size of the character string converted from the code is displayed differently from the size of a normal character, the display size of the character string is displayed in addition to the above-mentioned phrase data storage unit 5. A storage unit for storing data is provided. Then, the data of the size read from this storage unit is supplied to the display position calculation unit 4 via the data exchange unit 9 together with the character string data converted by the code character string conversion unit 10. The display position calculation unit 4 calculates an appropriate display position using the data of the character string and the display size. By doing so, the display size of the character string converted from the code can be changed and displayed on the display unit 6.

【0044】また、操作環境に応じて文字列が動的に変
更されたときにのみ、その文字列を他の文字の大きさと
異ならせて表示させる場合は、例えば図3のような構成
とすればよい。この図3に示したテキスト表示編集装置
の構成を上述した図2の例に沿って説明すると、図2
(b)および(d)に示したような文字列(語句)につ
いて、通常の表示の大きさのデータを表示寸法記憶部1
2に第1のデータaとして記憶するとともに、通常より
も小さいかあるいは大きい表示の大きさのデータを第2
のデータbとして記憶しておく。
Further, when the character string is displayed differently from the size of other characters only when the character string is dynamically changed according to the operating environment, the configuration as shown in FIG. 3 may be adopted. Good. The configuration of the text display / editing device shown in FIG. 3 will be described with reference to the example of FIG. 2 described above.
For the character strings (phrases) as shown in (b) and (d), the display size storage unit 1 stores the data of the normal display size.
2 is stored as the first data a, and the data of the display size smaller or larger than usual is displayed as the second data a.
It is stored as the data b.

【0045】そして、語句データ選択部11による語句
データ記憶部5内のデータの選択が動的に変更されたか
否かに応じて、表示寸法決定部13が上記第1のデータ
aまたは第2のデータbのうちの何れかのデータを選択
することにより、表示部6に表示すべき大きさを決定す
る。そして、このようにして決定した大きさの情報を、
コード文字列変換部10により変換される文字列ととも
にデータ交換部9を介して表示位置計算部4に供給する
ようにする。
Then, depending on whether or not the selection of the data in the phrase data storage unit 5 by the phrase data selection unit 11 is dynamically changed, the display size determination unit 13 causes the display size determination unit 13 to select the first data a or the second data a. By selecting any one of the data b, the size to be displayed on the display unit 6 is determined. And, the information of the size determined in this way,
The character string converted by the code character string conversion unit 10 is supplied to the display position calculation unit 4 via the data exchange unit 9.

【0046】このようにすることによって、語句データ
選択部11により語句データ記憶部5から選択されるデ
ータが、図2(b)のデータから図2(d)のデータ
に、またはその逆に動的に変更された場合に、その変更
されたデータに基づいて変換される文字列のみを他の文
字の大きさと異ならせて表示させることができる。
By doing so, the data selected by the phrase data selection unit 11 from the phrase data storage unit 5 moves from the data of FIG. 2B to the data of FIG. 2D, or vice versa. When a character is changed, only the character string converted based on the changed data can be displayed differently from the size of other characters.

【0047】[0047]

【発明の効果】本発明は上述したように、語句データ記
憶手段に記憶されているコードと文字列とを対応付けた
データに基づいて、テキスト記憶手段から読み出される
テキストデータ中に含まれるコードを対応する文字列に
変換し、この変換した文字列を用いてテキストデータ中
の各文字の表示位置を計算するようにしたので、テキス
ト表示をする際に上記テキスト記憶手段から読み出され
るコードを対応する文字列に変換してそれを適切な位置
に表示させることができ、例えば語句データ記憶手段の
記憶内容を変更することによって、テキスト記憶手段に
記憶されているテキストデータ自体を変更することなく
表示編集を行うことができる。しかも、このとき、コー
ドから変換される文字列の表示位置をユーザが指定しな
くてもその文字列を適切な位置に表示させることができ
る。
As described above, according to the present invention, the code contained in the text data read from the text storage means is determined based on the data stored in the word / phrase data storage means in association with the character string. Since the corresponding character string is converted and the display position of each character in the text data is calculated by using the converted character string, the code read from the text storage means is corresponded when the text is displayed. It can be converted into a character string and displayed at an appropriate position. For example, by changing the storage content of the phrase data storage means, the display / editing can be performed without changing the text data itself stored in the text storage means. It can be performed. Moreover, at this time, even if the user does not specify the display position of the character string converted from the code, the character string can be displayed at an appropriate position.

【0048】また、本発明の他の特徴によれば、コード
とそのコードの内容である文字列とが対応付けられたデ
ータを語句データ記憶手段に複数種類記憶するととも
に、それらのうちの何れかのデータを選択手段により選
択するようにしたので、テキスト編集中のある時点で選
択するデータを変えることによって、テキストデータを
変更することなく表示内容を変更することができる。
According to another feature of the present invention, a plurality of types of data in which a code and a character string that is the content of the code are associated are stored in the phrase data storage means, and any one of them is stored. Since the data is selected by the selecting means, the display content can be changed without changing the text data by changing the selected data at a certain point during text editing.

【0049】また、本発明のその他の特徴によれば、語
句データ記憶手段に記憶されている複数種類のデータの
中から何れかのデータを表示位置計算手段による表示位
置の計算結果に応じて選択するようにしたので、表示位
置の計算結果に応じて最適なデータを自動的に選択する
ようにすることができ、例えば表示可能領域などの操作
環境に応じて表示内容を動的に変更することができる。
According to another feature of the present invention, any one of a plurality of types of data stored in the word / phrase data storage means is selected according to the display position calculation result by the display position calculation means. Since this is done, it is possible to automatically select the optimum data according to the calculation result of the display position, and dynamically change the display content according to the operating environment such as the displayable area. You can

【0050】また、本発明のその他の特徴によれば、コ
ード文字列変換手段によりコードから変換される文字列
の表示態様を他の文字と異ならせて表示させるようにし
たので、ユーザは、テキスト中の各文字が通常の文字で
あるかコードに対応する文字列であるかを容易に判別す
ることができ、テキスト編集を行い易くすることができ
る。
Further, according to another feature of the present invention, since the display mode of the character string converted from the code by the code character string conversion means is displayed differently from other characters, the user can display the text. It is possible to easily determine whether each character in the character string is a normal character or a character string corresponding to a code, and it is possible to facilitate text editing.

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

【図1】本発明のテキスト表示編集装置の一実施例を示
すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a text display editing apparatus of the present invention.

【図2】本実施例のテキスト表示編集装置によって行わ
れるテキスト表示の概要を説明するための図である。
FIG. 2 is a diagram for explaining an outline of text display performed by the text display editing apparatus according to the present embodiment.

【図3】本発明のテキスト表示編集装置の他の実施例を
示すブロック図である。
FIG. 3 is a block diagram showing another embodiment of the text display editing apparatus of the present invention.

【図4】従来のテキスト表示編集装置を示すブロック図
である。
FIG. 4 is a block diagram showing a conventional text display editing device.

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

1 テキスト記憶部 2 記憶内容変更部 3 読み出し部 4 表示位置計算部 5 語句データ記憶部 6 表示部 7 表示位置保持部 8 文字・コード識別部 9 データ交換部 10 コード文字列変換部 11 語句データ選択部 12 表示寸法記憶部 13 表示寸法決定部 1 Text storage unit 2 Storage content change unit 3 Reading unit 4 Display position calculation unit 5 Word / phrase data storage unit 6 Display unit 7 Display position holding unit 8 Character / code identification unit 9 Data exchange unit 10 Code character string conversion unit 11 Word / phrase data selection unit Part 12 Display size storage part 13 Display size determination part

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも特定の文字列を表すコードを
有するテキストデータを記憶するテキスト記憶手段と、 上記特定の文字列を表すコードとそのコードの内容であ
る文字列とを対応付けて記憶する語句データ記憶手段
と、 上記語句データ記憶手段に記憶されているデータに従っ
て、上記テキスト記憶手段から読み出されるテキストデ
ータ中のコードを対応する文字列に変換するコード文字
列変換手段と、 上記コード文字列変換手段により変換された文字列を用
いて上記テキストデータの各文字の表示位置を計算する
表示位置計算手段とを設けたことを特徴とするテキスト
表示編集装置。
1. A text storage unit for storing text data having at least a code representing a specific character string, and a phrase storing a code representing the specific character string and a character string which is the content of the code in association with each other. Data storage means, code character string conversion means for converting a code in the text data read from the text storage means into a corresponding character string in accordance with the data stored in the word data storage means, and the code character string conversion And a display position calculating means for calculating the display position of each character of the text data using the character string converted by the means.
【請求項2】 上記語句データ記憶手段には、同一のコ
ードに対して異なる文字列を対応付けた複数種類のデー
タが記憶されており、 上記語句データ記憶手段に記憶されている複数種類のデ
ータのうちの何れか1つを選択する選択手段を設けたこ
とを特徴とする請求項1に記載のテキスト表示編集装
置。
2. The phrase data storage means stores a plurality of types of data in which different character strings are associated with the same code, and a plurality of types of data stored in the phrase data storage means. The text display editing apparatus according to claim 1, further comprising a selection unit that selects any one of the above.
【請求項3】 上記選択手段は、上記表示位置計算手段
による表示位置の計算結果に応じて、上記語句データ記
憶手段に記憶されている複数種類のデータのうちの何れ
か1つを選択することを特徴とする請求項2に記載のテ
キスト表示編集装置。
3. The selecting means selects any one of a plurality of types of data stored in the word / phrase data storing means according to the display position calculation result by the display position calculating means. The text display editing device according to claim 2.
【請求項4】 上記コード文字列変換手段によって上記
コードから変換される文字列の表示態様を他の文字と異
ならせて表示させるようにしたことを特徴とする請求項
1〜3の何れか1項に記載のテキスト表示編集装置。
4. The display mode of the character string converted from the code by the code character string converting means is displayed differently from other characters. The text display editing device according to item.
JP6332684A 1994-12-13 1994-12-13 Text display editing device Withdrawn JPH08166951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6332684A JPH08166951A (en) 1994-12-13 1994-12-13 Text display editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6332684A JPH08166951A (en) 1994-12-13 1994-12-13 Text display editing device

Publications (1)

Publication Number Publication Date
JPH08166951A true JPH08166951A (en) 1996-06-25

Family

ID=18257730

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6332684A Withdrawn JPH08166951A (en) 1994-12-13 1994-12-13 Text display editing device

Country Status (1)

Country Link
JP (1) JPH08166951A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001359009A (en) * 2000-06-15 2001-12-26 Canon Inc Image display device, its menu display method, image display system, and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001359009A (en) * 2000-06-15 2001-12-26 Canon Inc Image display device, its menu display method, image display system, and storage medium
JP4557374B2 (en) * 2000-06-15 2010-10-06 キヤノン株式会社 Image display apparatus, control method therefor, and storage medium

Similar Documents

Publication Publication Date Title
EP0528421B1 (en) Recording medium and information reading apparatus
JPS6017522A (en) Document forming device
JPS6283787A (en) Output control system for display screen
JPH0620192Y2 (en) Chinese display
US6128632A (en) Methods for applying rubi annotation characters over base text characters
JPH08166951A (en) Text display editing device
JPH05135025A (en) Document editor
JPH05113964A (en) Electronic dictionary
JP4404436B2 (en) Character input device
JPS5814688B2 (en) Kanji-mixed sentence input device that sequentially displays homophones
JP2786260B2 (en) Kana-Kanji conversion device
JPS6097425A (en) Document creating device
JP2714238B2 (en) Character processor
JP3042437B2 (en) How to display conversion candidates for reading input character strings
JPH0640330B2 (en) Chinese input method
JPH06105427B2 (en) Character string display method
JPH0385670A (en) Two-step display system document processor
JPS59165124A (en) Japanese language word processor
JPH0756910A (en) Word processor
JPH01285985A (en) Guidance display device
JPH1011433A (en) Method and device for homonym selection of japanese syllabary-chinese character conversion system
JPS62156768A (en) Word processor with memo function
JPH09223140A (en) Character input device
JPS6298455A (en) Character string processor
JPH04283854A (en) Document processor

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020305