JPS62179052A - Document generating apparatus - Google Patents

Document generating apparatus

Info

Publication number
JPS62179052A
JPS62179052A JP61020457A JP2045786A JPS62179052A JP S62179052 A JPS62179052 A JP S62179052A JP 61020457 A JP61020457 A JP 61020457A JP 2045786 A JP2045786 A JP 2045786A JP S62179052 A JPS62179052 A JP S62179052A
Authority
JP
Japan
Prior art keywords
text
japanese
english
format
mode
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
JP61020457A
Other languages
Japanese (ja)
Inventor
Yasuhiro Taguchi
田口 安弘
Satoshi Hirohata
広畑 聡
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 JP61020457A priority Critical patent/JPS62179052A/en
Publication of JPS62179052A publication Critical patent/JPS62179052A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To easily and rapidly perform the editing operation of texts having different text forms by performing automatically a switching between a Japanese input mode and an English input mode, and the switching of the mode of a keyboard fitting for an editing process proper to each input mode, and the input mode designated by a cursor. CONSTITUTION:When the printing process of the text in which a Japanese text and an English text are mixed is performed, a CPU12 calculates a text data address to be read out within an address stored at an address data area (a) in a text data area. Next, it searches a text type mode from a text type area (b), and when a Japanese mode is requested, a Japanese character CG11 is selected, and a text data corresponding to a read text data address is read out from a text buffer 3, and is inputted in order to the Japanese character CG11. The Japanese character CG11 stores a corresponding character pattern at a printing buffer 4. Next, an English data is read out similarly, and its character pattern is stored at the printing buffer 4. In this way, the character pattern in which a Japanese text and an English text are mixed, and stored at the printing buffer is outputted in order to a printer 5, then being printed.

Description

【発明の詳細な説明】 く技術分野〉 本発明はワードプロセッサー等の文書処理装置に関し、
特に和文及び英文が混在する文章を編集キ 処理する際に有用な文系処理装置に関する。
[Detailed Description of the Invention] Technical Field> The present invention relates to a document processing device such as a word processor,
In particular, the present invention relates to a humanities processing device useful when editing and processing texts containing a mixture of Japanese and English texts.

〈従来技術〉 従来、日本語ワープロと称される文書処理装置には、英
文編集機能がなく、従って和文に英文を混在させようと
すると以下の問題があった。
<Prior Art> Conventionally, document processing devices called Japanese word processors do not have an English text editing function, and therefore, when attempting to mix English text with Japanese text, the following problems arise.

(1)英文字の書体が限られているため、多彩な文章を
作ることが出来ない。
(1) Because the fonts for English letters are limited, it is not possible to create a variety of sentences.

(2)英文作成における文末処理が行われないため、単
語が2行にわたってしまう。
(2) Sentence end processing is not performed when creating English sentences, so words end up spanning two lines.

従って和文、英文を混在させようとすると、各々の文章
を別々に作成し、切り貼り等で合成させ作るといった非
常に煩雑は処理を必要としていた。
Therefore, when attempting to mix Japanese and English texts, it is necessary to create each text separately and then combine them by cutting and pasting, which is a very complicated process.

〈発明の概要〉 本発明は英文、和文混在文章の作成に有用な編集処理を
提供するものであり、その細たる所は以下の内容である
<Summary of the Invention> The present invention provides editing processing useful for creating mixed English and Japanese texts, and its details are as follows.

fil  行毎に和文及び英文の切り換えが行える。fil You can switch between Japanese and English for each line.

(2)英文の書体が選択設定できる。(2) You can select and set the English font.

(3)  カーソルが位置するモード(文型)が表示さ
れる。
(3) The mode (sentence pattern) in which the cursor is located is displayed.

(4)  カーソルが位置するモード(文型)により、
キーボードのモードも自動的に切り換えられる。
(4) Depending on the mode (sentence pattern) where the cursor is located,
The keyboard mode can also be switched automatically.

(5)書式変更の際、前回設定した最新の同文型の書式
を表示する。
(5) When changing the format, display the latest same sentence format set last time.

(6)書式変更の際、カーソルの位置する書式に最も近
い位置にある同文型の書式を表示する。
(6) When changing the format, display the format with the same sentence type closest to the format where the cursor is located.

〈発明の具体説明〉 本発明の和文、英文混在文章処理装置の各種動作を図を
追って説明する。
<Specific Description of the Invention> Various operations of the Japanese/English mixed text processing device of the present invention will be explained with reference to the drawings.

第1図は和文、英文混在文章の一例を示すものであり、
第2図は本発明の和文、英文混在文章処理装置の全体動
作ブロック図を示したものである。
Figure 1 shows an example of a mixed Japanese and English sentence.
FIG. 2 is a block diagram showing the overall operation of the mixed Japanese and English text processing apparatus according to the present invention.

1は和文及び英文の文字キーと、各種編集キーを有する
キーボード等の入力装置。
1 is an input device such as a keyboard having Japanese and English character keys and various editing keys.

2は和文1文字コード及び英文9文字コードそして各種
編集コードを入力装置1からのキーコードに対応して出
力するエンコーダ、3は入力された和文又は英文及び書
式情報を格納する文章バッファ、4は文章バッファ3か
ら転送される印字データを印字パターンとして格納する
印字バッファ、5は印字バッファ4に格納された印字パ
ターンを印字するプリンター、6は文章バッファ3に格
納された文章データのうち表示すべき文章データを図示
しない表示キャラクタジェネレータによりパターン化し
て格納する表示バッファ、7は表示バッファ6に格納さ
れた文章パターンを表示するCRT等の表示装置、8は
印字用のバイ力文字CG(キャラクタジェネレータ)、
9は印字用のエリート文字CG、10は印字用のプロポ
ーショナルCG、I+は印字用のかな、カタカナ、漢字
等の和文字CG、+2は本装置全体の制御を行うCPU
などの主制御装置であり、各種編集識別フラグをも有す
る。
2 is an encoder that outputs a Japanese 1-character code, an English 9-character code, and various editing codes in response to a key code from the input device 1; 3 is a text buffer that stores the input Japanese or English text and format information; 4 is a text buffer that stores the input Japanese or English text and format information; A print buffer stores the print data transferred from the text buffer 3 as a print pattern, 5 is a printer that prints the print pattern stored in the print buffer 4, and 6 is a printer to display the text data stored in the text buffer 3. A display buffer in which text data is patterned by a display character generator (not shown) and stored; 7 is a display device such as a CRT that displays the text pattern stored in the display buffer 6; 8 is a bi-power character CG (character generator) for printing. ,
9 is an elite character CG for printing, 10 is a proportional CG for printing, I+ is a CG for Japanese characters such as kana, katakana, and kanji for printing, and +2 is a CPU that controls the entire device.
It is a main control device such as, and also has various editing identification flags.

第3図は第2図の文章バッファ3の内部構成を示したも
のである。図に示されている通り、文章バッファ3は大
きく分けて、書式データを格納する書式データエリアと
、文章データを格納する文章データエリアによって構成
されている。尚、書式データエリアは更に書式変更アド
レスデータを格納する書式アドレスエリア0及び和文か
英文かの区別を示す文型エリア■、及び英文の書体を区
別する書体エリア■に分割される。
FIG. 3 shows the internal structure of the text buffer 3 shown in FIG. As shown in the figure, the text buffer 3 is roughly divided into a format data area for storing format data and a text data area for storing text data. The format data area is further divided into a format address area 0 for storing format change address data, a sentence pattern area (2) for indicating whether the text is Japanese or English, and a typeface area (2) for distinguishing the English text.

以上の第1乃至第3図をもって、以降の処理フローを説
明する。
The subsequent processing flow will be explained with reference to FIGS. 1 to 3 above.

択動作 第4図は文型切り換え処理フローを示したものであり、
この処理動作を順を追って説明する。
Choice action Figure 4 shows the sentence pattern switching process flow.
This processing operation will be explained step by step.

今、第1図にて和文モードで文章を入力しており、カー
ソルが△の位置にあり、英文人力が要求される場合は次
のステップで動作される。
Now, in FIG. 1, if a sentence is being input in the Japanese mode and the cursor is at the △ position, and English proficiency is required, the next step is performed.

(51):入力装置1の図示せぬ英文変更キーを入力す
る。これによって出力される英文変更キーコードは、エ
ンコーダを介して英文変更指示コードに変換され、CP
UI2に入力される。
(51): Input the English text change key (not shown) on the input device 1. The English change key code output by this is converted into an English change instruction code via an encoder, and the CP
Input to UI2.

(S2): CPU I 2は文章バッファ3の書式デ
−タエリアの空きアドレスエリア■に、現時点のカーソ
ルの指示するアドレスデータを格納し、このアドレスエ
リア■に対応する文型エリア■に英文モードを示すフラ
グをセットする(例えば、MODE=2)。
(S2): The CPU I 2 stores the address data indicated by the current cursor in the free address area ■ of the format data area of the text buffer 3, and indicates the English mode in the sentence pattern area ■ corresponding to this address area ■. Set a flag (eg MODE=2).

(Sa):英文モードが設定されると、更に英文字書体
の選択を可能となり、入力装置lの図示しないバイ力文
字指示キーを操作し、バイ力文字指示キーコードをエン
コーダ2に出力する。エンコーダ2はこのキーコードを
バイ力文字指示コードに変換し、CPUI2に出力する
(Sa): When the English mode is set, it becomes possible to further select an English character font, and a bi-character designation key (not shown) of the input device 1 is operated to output a bi-character designation key code to the encoder 2. The encoder 2 converts this key code into a bi-character instruction code and outputs it to the CPUI 2.

(S4):これによってCPU12は現時点のカーソル
の位置するアドレスに該当するアドレスをアドレスエリ
ア■より検索し、対応する書体エリア0にバイ力文字を
指示するコード(例えばPITCH=1)を格納する。
(S4): As a result, the CPU 12 searches the address area (3) for an address corresponding to the address where the cursor is currently located, and stores a code (for example, PITCH=1) indicative of bi-power characters in the corresponding font area 0.

(S5.S6):エリート文字を指定する場合もバイ力
文字指示処理と同様に行われ、書体エリア0にエリート
文字を指示するコード(例えばP I TCH=2)を
格納する。
(S5, S6): When specifying an elite character, the same process as the bias character designation process is performed, and a code (for example, P I TCH = 2) designating an elite character is stored in font area 0.

(S7.S8):更にプロポーショナル文字を指定する
場合も、パイ力、エリート文字と同様に行われ、書体エ
リアのにエリート文字を指示するコード(例えば、PI
TCH=3)を格納する。以上の様に指定された英文モ
ードでは、英文編集特有の文末処理等がなされ効率的な
英文人力が可能となる。
(S7.S8): When specifying proportional characters, it is done in the same way as pie and elite characters, and the code that specifies elite characters in the typeface area (for example, PI
TCH=3) is stored. In the English text mode specified as above, sentence ending processing, etc. peculiar to English text editing is performed, and efficient English writing becomes possible.

(S9):更に第1図の位置にカーソルがあり、和文人
力が要求される場合は入力装置1の図示しない和文変更
キーを入力する。
(S9): Furthermore, if the cursor is located at the position shown in FIG. 1 and Japanese language ability is required, the Japanese language change key (not shown) of the input device 1 is input.

これによって出力された和文変更キーコードは、エンコ
ーダ2より和文変更指示コードに変換され、CPU12
に入力される。
The Japanese text change key code outputted by this is converted into a Japanese text change instruction code by the encoder 2, and the CPU 12
is input.

CPUI2は書式データエリアの空きアドレスエリア0
に現時点のカーソルの位置するアドレスを格納し、対応
する文型エリア■に和文モードを示すフラグをセットす
る(例えばMODE=1)。
CPUI2 is the free address area 0 of the format data area.
The address where the cursor is currently located is stored in , and a flag indicating the Japanese mode is set in the corresponding sentence pattern area (2) (for example, MODE=1).

以上の様に指定された和文モードでは、和文編集特有の
各編集処理がなされる。
In the Japanese text mode designated as described above, various editing processes specific to Japanese text editing are performed.

次に第4図の文型切り換え処理によって、第1図の如く
入力された文章データの印字出力処理について説明する
Next, the printout process of the text data inputted as shown in FIG. 1 using the sentence pattern switching process shown in FIG. 4 will be explained.

第5図はその処理フローを示すものである。今、入力装
置1の図示しない印字キーが操作されると、入力装置I
より印字キーコードが出力され、エンコーダ2によって
印字指示コードに変換されCPU12に入力される。こ
れによってCPU12はまず、書式データエリアのアド
レスデータエリア■に格納されているアドレスの内第1
下位アドレスデータと、第2下位アドレスデータをサー
チし、読み出すべき文章データアドレスを算出する(つ
まり、読み出し文章データアドレス=第1下位アドレス
〜第2下位アドレス=1アドレス)0次にCPUI2は
第1下位アドレスデータに対応する文型モードを文型エ
リア■よりサーチする。
FIG. 5 shows the processing flow. Now, when the print key (not shown) of the input device 1 is operated, the input device I
A print key code is output from the encoder 2, converted into a print instruction code by the encoder 2, and input to the CPU 12. As a result, the CPU 12 first selects the first address stored in the address data area ■ of the format data area.
The lower address data and the second lower address data are searched to calculate the text data address to be read (that is, the read text data address = 1st lower address - 2nd lower address = 1 address). Search for the sentence pattern mode corresponding to the lower address data from the sentence pattern area ■.

この時、サーチした文型モードが和文モード(MODE
=1)であれば和文字CG11を選択し、前回算出した
読み出し文章データアドレスに対応する文章データを文
章バッファ3より読み出し、順次選択した和文字CGI
Iに入力する。和文字CG11は入力されてくる文字コ
ードに対応する文字パターンを順次サーチし、印字バッ
ファ4に格納する。
At this time, the searched sentence pattern mode is Japanese sentence mode (MODE).
= 1), select the Japanese character CG11, read the text data corresponding to the read text data address calculated last time from the text buffer 3, and sequentially select the Japanese character CGI
Enter I. The Japanese character CG 11 sequentially searches for character patterns corresponding to the input character codes and stores them in the print buffer 4.

以上の様にして、第1書式文章データ(和文データ)が
読み出されると、次に第2書式文章データ(英文データ
)が読み出される。第2書式文章データのアドレスは前
回読み出した最終アドレスの次のアドレスつまり書式デ
ータエリアのアドレスエリア■の第2下位アドレスから
〈第3下位アドレス−1アドレス〉を算出する。
When the first format text data (Japanese data) is read out in the manner described above, the second format text data (English data) is then read out. The address of the second format text data is calculated from the address next to the final address read last time, that is, the second lower address of the address area (2) of the format data area (third lower address - 1 address).

次にCPU12は、第2アドレスに対応する文型モード
を書式データエリアの文型エリア■よりサーチし、英文
モード(MODE=2)であれば、更に対応する書体コ
ードを書体エリアのよりサーチし、バイ力文字(PIT
CH=1)であればバイ力文字CG8を選択し、またエ
リート文字(PITCH−2)であればエリート文字C
G9を選択し、更にプロポーショナル文字(PITCH
=3)であればプロポーショナルCGIOを選択する。
Next, the CPU 12 searches the sentence pattern area ■ of the format data area for the sentence pattern mode corresponding to the second address, and if it is the English sentence mode (MODE=2), further searches for the corresponding font code in the font area, and Power character (PIT)
If CH=1), select bi-power character CG8, and if elite character (PITCH-2), select elite character C.
Select G9, and then select the proportional character (PITCH
=3), select proportional CGIO.

そして前回算出した第2書式文章データアドレスに対応
する文章データを文章バッファ3より読み出し、各々選
択したCGに入力する。各々のCGは入力されてくる文
字フードに対応する文字パターンを順次サーチし、印字
バッファ4に格納する。
Then, the text data corresponding to the previously calculated second format text data address is read out from the text buffer 3 and input into the respective selected CGs. Each CG sequentially searches for character patterns corresponding to the input character hood and stores them in the print buffer 4.

上記のステップによって印字バッファに格納された和文
英文混在文字パターンは、順次プリンタ5に出力され、
印字される。
The mixed Japanese and English character patterns stored in the print buffer in the above steps are sequentially output to the printer 5.
It will be printed.

第4図の文型切り換え処理及びこれによって作成された
第1図の如き和文、英文混在文章の修正。
The sentence pattern switching process shown in FIG. 4 and the correction of the mixed Japanese and English sentences created by this process as shown in FIG. 1.

挿入等に現時点のカーソルの位置する文型モード表示及
びキーボードのモード切り換えが行われる。
For insertion, etc., the sentence pattern mode where the cursor is currently located is displayed and the keyboard mode is switched.

このことを第6図及び第7図をもって説明する。This will be explained with reference to FIGS. 6 and 7.

第7図はエンコーダ2の内部構成を示したものであり、
Tlは和文用キーコードテーブル、I2は英文用キーコ
ードテーブルであり、Flは和文モードを示すフラグ、
F2は和文モードを示すフラグである。
FIG. 7 shows the internal configuration of the encoder 2.
Tl is a key code table for Japanese text, I2 is a key code table for English text, Fl is a flag indicating Japanese text mode,
F2 is a flag indicating Japanese mode.

今、カーソルが第1図Aの位置にあるとするとCPUI
2はカーソルの位置するアドレスが文章バッファ3の書
式データエリアに格納されたアドレスのどれに該当する
かをサーチする(第6図の820)。そのサーチしたア
ドレスに対応する文型モードが例えば和文モード(MO
DE=1 )であった場合、CPUI2は表示バッファ
6の図示しないガイダンス表示バッファエリアに1和文
”とい゛う表示パターンデータを格納させ(S2+)、
CRT7に第1図りの如き文型モード表示せしめる。又
、CPUI2は文型モードをサーチすることによって、
エンコーダ2の和文モードフラグFlをセットする。こ
れによって、人力装置lから入力されてくるキーコード
は和文用キーコードテーブルTIに導入され、対応和文
字コードに変換され、文章バッファ3に出力される(5
23)。
Now, if the cursor is at position A in Figure 1, the CPU
2 searches for which address stored in the format data area of the text buffer 3 corresponds to the address where the cursor is located (820 in FIG. 6). The sentence pattern mode corresponding to the searched address is, for example, Japanese mode (MO
DE=1), the CPU 2 stores display pattern data called ``1 Japanese sentence'' in the guidance display buffer area (not shown) of the display buffer 6 (S2+),
Display the sentence pattern mode on the CRT 7 as shown in the first diagram. Also, by searching the sentence pattern mode, CPU2
Set the Japanese mode flag Fl of encoder 2. As a result, the key code input from the human-powered device 1 is introduced into the Japanese text key code table TI, converted into a corresponding Japanese character code, and output to the text buffer 3 (5
23).

次にカーソルが第1図Bの位置にあった場合の処理を説
明する。これも前記カーソルがAの位置にあった場合の
処理と同様に処理される。つまり、CPUI2が、カー
ソルの位置するアドレスが文章バッファ3の書式データ
エリアに格納されたアドレスのどれに該当するかのサー
チを行い、サーチしたアドレスに対応する文型モードが
和文であるか英文であるか識別する。Bの位置の場合、
文型モードは英文モード(−MODE=2)であるため
、CPUI2は表示バッフ76の図示しないガイダンス
表示バッファエリアと1英文”という表示パターンデー
タを格納させ、CRT7に文型モード表示を行わせる。
Next, the processing when the cursor is located at the position shown in FIG. 1B will be explained. This is also processed in the same way as the processing when the cursor is at position A. In other words, the CPU 2 searches to see which of the addresses stored in the format data area of the text buffer 3 corresponds to the address where the cursor is located, and determines whether the text mode corresponding to the searched address is Japanese or English. or identify. In the case of position B,
Since the sentence pattern mode is the English sentence mode (-MODE=2), the CPU 2 stores a guidance display buffer area (not shown) of the display buffer 76 and the display pattern data "1 English sentence", and causes the CRT 7 to display the sentence pattern mode.

又、CPUI2は文型モードが英文モードであることに
よって、エンコーダ2の英文モードフラグをセットする
。これによって入力装置Iから入力されてくるキーコー
ドは英文用キーコードテーブルT2に導入され、対応の
英文字コードに変換され、文章バッファ3に出力される
Further, since the sentence pattern mode is English mode, the CPU 2 sets the English mode flag of the encoder 2. As a result, the key code input from the input device I is introduced into the English text key code table T2, converted into a corresponding English character code, and output to the text buffer 3.

印〕書式情報の継続処理 第4図の書式変更処理において、前回設定した同文型の
書式を優先表示させる処理フローを第8図及び第9図に
より説明する。第9図はCPUI2の内部構成を示した
ものであり、B1は和文書式バッファ、B2は英文書式
バッファを示したものである。これら各々のバッファに
は、文頭方向最近接書式、又は、文末方向最近接書式、
又は最新入力書式の各々の処理に対して対応する和文/
英文書式データが格納される。操作者はまず、表示すべ
き書式データが文頭方向に最近接する書式を表示するか
、文末方向に最近接する書式を表示するか、最新の入力
した書式を表示するかの選択を行う。
[mark] Continuation processing of format information In the format change processing shown in FIG. 4, the processing flow for displaying the format of the same sentence type set last time preferentially will be explained with reference to FIGS. 8 and 9. FIG. 9 shows the internal structure of the CPU 2, in which B1 shows a Japanese document format buffer and B2 shows an English document format buffer. In each of these buffers, the nearest neighbor format in the direction of the beginning of the sentence, the nearest neighbor format in the direction of the end of the sentence,
Or the Japanese text/text corresponding to each process in the latest input format.
English document format data is stored. The operator first selects whether the format data to be displayed should display the format closest to the beginning of the sentence, the format closest to the end of the sentence, or the latest input format.

上記選択で最新入力書式表示が選択された場合、CPU
I2はまず、第3図の書式データエリアに格納された和
文モード書式の内、エリアの最下位に格納されている和
文モード書式を読み出して第9図の和文書式バッファB
1に格納しく328)、更に第3図の書式データエリア
に格納された英文モード書式の内、エリアの最下位に格
納されている英文モード書式を読み出し、第9図の英文
書式バッファB2に格納する(S29)。
If the latest input format display is selected in the above selection, the CPU
I2 first reads the Japanese mode format stored at the bottom of the area from among the Japanese mode formats stored in the format data area of FIG. 3, and stores it in the Japanese document format buffer B of FIG.
1 (328), and further reads out the English mode format stored at the bottom of the area from among the English mode formats stored in the format data area of FIG. 3, and stores it in the English document format buffer B2 of FIG. (S29).

又、上記選択で文頭方向最近接書式表示が選択された場
合CPUI2は、第3図の書式データエリアのアドレス
エリア■より、現時点カーソルの位置するアドレスに下
位近傍するアドレスをもつ書式データであり、かつ和文
モード書式である書式を読み出し第9図の和文書式バッ
ファB1に格納する(SaO)。
In addition, when the nearest format display in the direction of the beginning of the sentence is selected in the above selection, the CPU 2 displays format data that has an address that is lower and nearer to the address where the cursor is located at the current time, from the address area (■) of the format data area in FIG. Then, the format which is the Japanese mode format is read out and stored in the Japanese document format buffer B1 in FIG. 9 (SaO).

更に第3図の書式データエリアのアドレスエリア■より
現時点カーソルの位置するアドレスに下位近傍するアド
レスをもつ書式データであってかつ英文モード書式であ
る書式を読み出し、第9図の英文書式バッファB2に格
納する(S3])。
Furthermore, from the address area ■ of the format data area in Figure 3, the format data that has an address near the lower level of the address where the cursor is currently located and is an English mode format is read out, and is stored in the English document format buffer B2 in Figure 9. Store (S3]).

更に、上記選択で文末方向最近接書式表示が選択された
場合CPUI2は第3図の書式データエリアのアドレス
エリア■より、現時点カーソルの位置するアドレスに上
位近傍するアドレスに上位近傍するアドレスをもつ書式
データであり、かつ和文モード書式である書式を読み出
し、第9図の和文書式バッファB1に格納しく532)
、更に第3図の書式データエリアのアドレスエリア■よ
り現時点カーソルの位置するアドレスに上位近傍するア
ドレスをもつ書式データであって、かつ英文モード書式
である書式を読み出し、第9図の英文書式バッフ7B2
に格納する(533)。
Furthermore, if the display of the nearest format toward the end of the sentence is selected in the above selection, the CPU 2 selects a format that has an address that is close to the top of the address where the cursor is currently located and an address that is close to the top of the address where the cursor is currently located. Read out the format that is both data and Japanese mode format and store it in the Japanese document format buffer B1 in FIG. 9 (532)
, Furthermore, from the address area ■ of the format data area in Figure 3, the format data that has an address near the top of the address where the cursor is currently located and is an English mode format is read out, and is stored in the English document format buffer in Figure 9. 7B2
(533).

以上の様にして、和文書式バッフ7B1、英文書式バッ
ファB2に格納された書式データは、現在設定しようと
する文型により選択的にガイダンスに表示される。つま
り今、設定しようとする文型が和文であった場合(S3
4)、操作者は第1図の入力装置1の図示しない和文変
更キーを操作し、CPU12に和文変更指示を与える。
As described above, the format data stored in the Japanese document format buffer 7B1 and the English document format buffer B2 are selectively displayed in the guidance depending on the sentence pattern to be currently set. In other words, if the sentence pattern you are trying to set now is Japanese (S3
4) The operator operates a Japanese text change key (not shown) of the input device 1 shown in FIG. 1 to give a Japanese text change instruction to the CPU 12.

これによりCPU I 2は和文書式バッファB1より
和文書式データを読み出し、第1図Eの書式指定エリア
に表示させる(S35)。
As a result, the CPU I2 reads the Japanese document format data from the Japanese document format buffer B1 and displays it in the format designation area of FIG. 1E (S35).

又、設定しようとする文型が英文であった場合、操作者
は第1図の入力装置lの図示しない英文変更キーを操作
し、CPUI2に英文変更指示を与える。これによりC
PU12は英文書式バッファB2より英文書式データを
読み出し、第1図Eの書式指定エリアに表示させる(S
36)。
If the sentence pattern to be set is English, the operator operates the English text change key (not shown) of the input device 1 in FIG. 1 to give an English text change instruction to the CPU 2. This allows C
The PU12 reads the English document format data from the English document format buffer B2 and displays it in the format specification area of FIG. 1E (S
36).

上記の様に、第1図Eに表示された書式を継続して設定
する場合、操作者は第1図入力装置lの図示しない継続
指示キーを操作し、CPUI 2にその旨を指示する。
As described above, when continuing to set the format displayed in FIG. 1E, the operator operates the continuation instruction key (not shown) of the input device 1 in FIG. 1 to instruct the CPU 2 to that effect.

CPU I 2はこの指示により、現表示書式を現時点
カーソルが位置するアドレスと共に第3図の書式データ
エリアの空エリアに格納する(338)。
In response to this instruction, the CPU I 2 stores the current display format together with the address where the cursor is currently located in the empty area of the format data area in FIG. 3 (338).

又、継続して設定しない場合は、修正等の処理を行った
後、第3図の書式データエリアの空エリアに修正書式と
、現時点カーソルが位置するアドレスを格納する(S3
9)。
If the setting is not to be continued, the corrected format and the address where the cursor is currently located are stored in the empty area of the format data area shown in Figure 3 after processing such as correction (S3
9).

〈発明の効果〉 本発明の文書処理装置によれば、 (])和文人力モード、英文人力モードを容易に切り換
え可能とし、各々の入力モードではそのモード特有の編
集処理を可能となった。
<Effects of the Invention> According to the document processing device of the present invention, it is possible to easily switch between the Japanese human-powered mode and the English human-powered mode, and in each input mode, editing processing specific to that mode can be performed.

(2)  英文及び和文の書体が多種にわたって指定で
きるため、多彩な文書が作成可能となった。
(2) A wide variety of English and Japanese fonts can be specified, making it possible to create a wide variety of documents.

(3)  カーソルが指示する入力モードが表示され、
更には、そのモードに合せてキーボードのモードも自動
的に切り換えられるため、文章入力、挿入。
(3) The input mode indicated by the cursor will be displayed,
Furthermore, the keyboard mode automatically switches according to the mode, so you can input and insert text.

修正等の際そのモードを気にせず入力可能となった。When making corrections, etc., it is now possible to input without worrying about the mode.

(4)書式変更の際、前回設定した同文型の書式又は、
近傍する同文型の書式を表示するため、同一書式の設定
処理が容易なものとなった。
(4) When changing the format, use the same sentence format previously set, or
Displaying nearby formats of the same sentence type makes it easier to set the same format.

従って、文型が異なる文章の編集操作が容易にかつ迅速
に行なえるものである。
Therefore, editing operations for sentences with different sentence patterns can be performed easily and quickly.

以上、本実施例では和文、英文に限定して説明したがこ
れに限るものではなく、例えば英文/伝文、英文/独文
、英文/露文などにも適用可能である。
Although the present embodiment has been described above, the explanation is limited to Japanese and English, but the present invention is not limited to these, and can also be applied to, for example, English/message, English/German, English/Russian, etc.

又、書体については、英文のみとして説明したがこれに
限るものでない。
Furthermore, although the font has been described as being limited to English, it is not limited to this.

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

第1図は和文、英文混在文章を表示した表示画面を示す
図、第2図は全体動作ブロック図、第3図は文章バッフ
ァの内部構成図、第4図は和文。 英文モード切り換え処理フローを示す図、第5図は和文
、英文混在文章印字処理フローを示す図、第6図はモー
ド表示及びキーボードモード切り換え処理フローを示す
図、第7図はエンコーダの内部構成1図、第8図は書式
データの継続処理フローを示す図である。 1 キーボード   7・・・CRT 2・・エンコーダ   8・・・バイ力文字CG3・・
・文章バッファ  9・・・エリート文字CG4・・・
印字バッファ  10・・・プロポーショナルCG5 
・プリンタ   11・・・和文字CG6・・・表示バ
ッファ 12・・・CPU代理人 弁理士 杉 山 毅
 至(他1名)1!:D 第1図 第2図 第6図 第7図 第8図
Fig. 1 is a diagram showing a display screen displaying a mixed Japanese and English text, Fig. 2 is an overall operational block diagram, Fig. 3 is an internal configuration diagram of a text buffer, and Fig. 4 is a Japanese text. Figure 5 is a diagram showing the flow of processing for switching the English mode; Figure 5 is a diagram showing the flow of printing mixed Japanese and English text; Figure 6 is the flow of mode display and keyboard mode switching; Figure 7 is the internal configuration of the encoder 1. 8 are diagrams showing the continuous processing flow of format data. 1 Keyboard 7...CRT 2...Encoder 8...Bi-power character CG3...
・Text buffer 9...Elite character CG4...
Print buffer 10...Proportional CG5
・Printer 11...Japanese character CG6...Display buffer 12...CPU agent Patent attorney Takeshi Sugiyama (1 other person) 1! :D Figure 1 Figure 2 Figure 6 Figure 7 Figure 8

Claims (1)

【特許請求の範囲】[Claims] (1)日本文字、英文字等を入力するための少なくとも
第1言語入力キー及び第2言語入力キーを有する文字入
力手段と、前記文字入力手段による言語入力が第1言語
又は第2言語かを指示し得る言語モード指示手段と、前
記入力された文章情報を記憶する文章メモリと、前記入
力された文章を表示する表示装置と、前記言語モード指
示手段で指示された言語に応じた編集処理を夫々実行し
て前記第1言語と第2言語が混在する文章の編集処理を
行う編集処理手段と、前記表示装置のカーソルで指示さ
れる現入力位置の前記モード状態を含む書式設定状態を
表示する手段とを備え、前記カーソルで指示される位置
の書式変更のための変更指示時に、前記カーソル指示位
置に対してこの文頭方向又は、文末方向の最も近い同種
言語位置に設定されている書式、或は同種言語の中の最
新に設定された書式のいずれかを検索させて前記書式設
定状態を表示する手段により表示させて書式の変更がで
きるようにしたことを特徴とする文書作成装置。
(1) A character input means having at least a first language input key and a second language input key for inputting Japanese characters, English characters, etc., and whether the language input by the character input means is the first language or the second language. A language mode instruction means capable of instructing, a text memory for storing the input text information, a display device for displaying the input text, and an editing process according to the language instructed by the language mode instruction means. editing processing means for editing a text in which the first language and the second language are mixed; and displaying a formatting state including the mode state at the current input position indicated by a cursor on the display device; and a format set at the nearest similar language position in the direction of the beginning of the sentence or the direction of the end of the sentence with respect to the position indicated by the cursor when instructing a change to change the format at the position indicated by the cursor, or A document creation device, characterized in that the document creation device searches for one of the most recently set formats in the same language and displays the format setting state using means for displaying the format setting state so that the format can be changed.
JP61020457A 1986-01-31 1986-01-31 Document generating apparatus Pending JPS62179052A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61020457A JPS62179052A (en) 1986-01-31 1986-01-31 Document generating apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61020457A JPS62179052A (en) 1986-01-31 1986-01-31 Document generating apparatus

Publications (1)

Publication Number Publication Date
JPS62179052A true JPS62179052A (en) 1987-08-06

Family

ID=12027602

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61020457A Pending JPS62179052A (en) 1986-01-31 1986-01-31 Document generating apparatus

Country Status (1)

Country Link
JP (1) JPS62179052A (en)

Similar Documents

Publication Publication Date Title
JPS62179051A (en) Document generating apparatus
JPS62179052A (en) Document generating apparatus
JPS62179053A (en) Document generating apparatus
JP2966656B2 (en) Document creation device
JPH0823744B2 (en) Character string processor
US6133899A (en) Printing device for displaying a title of a stored text
JPS60176137A (en) Sentence generating device
JP2647679B2 (en) Character processor
JPH0640325B2 (en) Writing device
JP2592840B2 (en) Character processor
JP3236039B2 (en) Character processing apparatus and method
JPS63159974A (en) Information processor
JP2573183B2 (en) Kana-Kanji conversion device
JPH0962670A (en) Automatic ruby adding device
JP2596950B2 (en) Character processor
JPH0440936Y2 (en)
JPH0778133A (en) Document preparing device and method for outputting character pattern
JPS63118973A (en) Japanese word processor
JPS605470B2 (en) typesetting system
JPH0749851A (en) Document shaping device
JPH03127258A (en) Character processor
JPS62186356A (en) Sentence processing unit
JPH0154742B2 (en)
JPH07105219A (en) Machine translating device
JPS63289671A (en) Character processor