JPS62179051A - Document generating apparatus - Google Patents

Document generating apparatus

Info

Publication number
JPS62179051A
JPS62179051A JP61020456A JP2045686A JPS62179051A JP S62179051 A JPS62179051 A JP S62179051A JP 61020456 A JP61020456 A JP 61020456A JP 2045686 A JP2045686 A JP 2045686A JP S62179051 A JPS62179051 A JP S62179051A
Authority
JP
Japan
Prior art keywords
english
mode
text
address
japanese
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
JP61020456A
Other languages
Japanese (ja)
Inventor
Masamitsu Takahashi
正光 高橋
Hiroki Maruido
博樹 丸井戸
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 JP61020456A priority Critical patent/JPS62179051A/en
Publication of JPS62179051A publication Critical patent/JPS62179051A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily and rapidly perform an editing operation for 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 an input mode designated by a cursor. CONSTITUTION:For example, when the text has been inputted with the Japanese mode, and an input with the English mode is requested, an English alteration key is inputted, and it is inputted to a CPU12. The CPU12 stores an address data designated by the present cursor at the vacant address area (a) of a document data area in a text buffer 3, and sets a flag which represents the English mode at a corresponding text form area (b). When the English mode is set, it is also possible to select the style of an English character, for example, a pica character designation key on an input device 1 is operated, and it is outputted to the CPU12. The CPU12 retrieves an address corresponding to the address where the present cursor is positioned from the address area (a), and stores a code (for example, PiTcH=1) which designates the pica character at a corresponding style area (c).

Description

【発明の詳細な説明】 く技術分野〉 本発明は、ワードプロセッサー等の文書処理装置に関し
、特に和文及び英文が混在する文章を編キ 実処理する際に有用な文書処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a document processing device such as a word processor, and more particularly to a document processing device useful when editing and actually processing texts containing a mixture of Japanese and English texts.

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

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

(2)英文作成における、文末処理が行われないため、
単語が2行にわたってしまう。
(2) Because sentence ending processing is not performed when creating English sentences,
Words span two lines.

従って、和文、英文を混在させようとすると、各々の文
章を別々に作成し、切り貼り等で台底させ作るといった
、非常に煩雑な処理を必要としていた。
Therefore, when attempting to mix Japanese and English texts, it is necessary to create each text separately and create a base 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.

(1)行毎に、和文及び英文の切り換えが行える。(1) Japanese text and English text can be switched 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 previously.

(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 mixed Japanese and English 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 consisting of a keyboard having Japanese and English character keys and various editing keys.

2は和文文字コード及び英文文字コードそして各種編集
コードを入力装@1からのキーコードに対応して出力す
るエンコーダ、3は入力された和文又は英文及び書式情
報を格納する文章バッフ1.4ti文章バッファ3から
転送される印字データを印字パターンとして格納する印
字バッファ、5II′!。
2 is an encoder that outputs Japanese character codes, English character codes, and various editing codes in response to the key codes from input device @1; 3 is a text buffer 1.4ti text that stores input Japanese or English text and format information; A print buffer, 5II'!, stores print data transferred from buffer 3 as a print pattern. .

印字バッフ14に格納された印字パターンを印字するプ
リンター、6は文章バッフ73に格納された文章データ
の内、表示すべき文章データを図示しない表示キャラク
タジェネレータによりパターン化して格納する表示バッ
ファ、7は表示バッフ16に格納された文章パターンを
表示するCRT等の表示装置、8Vi印字用のバイ力文
字CG(キャラクタジェネレータ)、9//i印字用の
エリート文字CG、IOH印字用のグロボーショナルC
G。
6 is a printer that prints the print pattern stored in the print buffer 14; 6 is a display buffer that stores the text data to be displayed out of the text data stored in the text buffer 73 after being patterned by a display character generator (not shown); A display device such as a CRT that displays the text pattern stored in the display buffer 16, a bi-powerful character CG (character generator) for 8Vi printing, an elite character CG for 9//i printing, and a global C for IOH printing.
G.

第1は印字用のかな、カタカナ、漢字等の和文字CG、
+2は本装置全体の制御を行うCPUなどの主制御装置
であり、各種編集識別フラグをも有する。
The first is CG of Japanese characters such as kana, katakana, and kanji for printing.
+2 is a main control device such as a CPU that controls the entire device, and also has various editing identification flags.

第3図は第2図の文章バック73の内部構成を示したも
のである。図に示されている通り、文章バッフ73は大
きく分けて書式データを格納する書式データエリアと、
文章データを格納する文章データエリアによって構成さ
れている。尚、書式データエリアは更に書式変更アドレ
スデータを格納する書式アドレスエリア0及び和文か英
文かの区別を示す文型エリア■、及び英文の書体を区別
する書体エリア0に分割される。
FIG. 3 shows the internal structure of the text bag 73 shown in FIG. As shown in the figure, the text buffer 73 is roughly divided into a format data area for storing format data, and a format data area for storing format data.
It consists of a text data area that stores 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 font area 0 for distinguishing between English fonts.

以上の第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.

(31):入力装置lの図示せぬ英文変更キーを入力す
る。これによって出力される英文変更キーコードは、エ
ンコーダを介して英文変更指示コードに変換されCPU
12に入力される。
(31): 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 then sent to the CPU.
12 is input.

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

(S3):英文モードが設定されると、更に英文字書体
の選択を可能となり、入力装置1の図示しないパイ力文
字指示キーを操作し、・ぐイカ文字指示キーコードをエ
ンコーダ2に出力する。エンコーダ2はこのキーコード
をパイ力文字指示コードに変換し、CPUI2に出力す
る。
(S3): When the English text mode is set, it becomes possible to select an English character font, and by operating the not-illustrated ``Pyro character'' instruction key of the input device 1, ・Output the ``Guika character instruction key code'' to the encoder 2. . The encoder 2 converts this key code into a Python character instruction code and outputs it to the CPU 2.

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

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

(37,S8):更にプロポーショナル文字を指定する
場合も、パイ力、エリート文字と同様に行われ、書体エ
リア■にエリート文字を指示するコード(例えば、Pi
T(H=3)を格納する。以上の様に指定された英文モ
ードでは、英文編集特有の文末処理等がなされ効率的な
英文人力が可能となる。
(37, S8): Furthermore, when specifying proportional characters, it is done in the same way as Pi-jiri and elite characters, and the code that specifies elite characters in the font area ■ (for example, Pi
Store T (H=3). 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より和文変更指示コードに変換され、CPU l 
2に入力される。
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 l
2 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図の如く入力された文
章データの印字田方処理について説明する。
[■] Printing processing power formula for mixed Japanese and English sentences Next, the printing process of text data input as shown in FIG. 1 using the sentence pattern switching process shown in FIG. 4 will be described.

第5図はその処理フローを示すものである。今、入力装
@lの図示しない印字キーが操作されると、入力装置1
より印字キーコードが出力され、エンコーダ2によって
印字指示コードに変換されCPU12に入力される。こ
れによってCPU12はまず、書式データエリアのアド
レスデータエリア0に格納されているアドレスの内、第
1下位アドレスデータと第2下位アドレスデータをサー
チし、読み出すべき文章データアドレスを算出する(つ
まり、読み出し文章データアドレス=第1下位アドレス
〜第2下位アドレス−1アドレス)。
FIG. 5 shows the processing flow. Now, when the print key (not shown) of the input device @l is operated, the input device 1
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 searches for the first lower address data and the second lower address data among the addresses stored in the address data area 0 of the format data area, and calculates the text data address to be read (that is, the read Text data address = 1st lower address - 2nd lower address - 1 address).

次[CPUI2は、第1下位アドレスデータに対応する
文型モードを文型エリア■よりサーチする。この時、サ
ーチした文型モードが和文モード(MODE=1 )で
あれば和文字CGI+を選択し、前回算出した読み出し
文章データアドレスに対応する文章データを文章バッフ
ァ3より読み出し、順次選択した和文字CG、lIK入
力する。和文字CG I IH大入力れてくる文字コー
ドに対応する文字パターンを順次サーチし、印字バッフ
ァ4に格納する。
Next [The CPU 2 searches the sentence pattern area (2) for the sentence pattern mode corresponding to the first lower address data. At this time, if the searched sentence pattern mode is Japanese mode (MODE=1), select Japanese character CGI+, read the sentence data corresponding to the read sentence data address calculated last time from sentence buffer 3, and sequentially select Japanese character CG. , lIK input. Character patterns corresponding to the input character codes of Japanese characters CG I IH are sequentially searched and stored in the print buffer 4.

以上の様にして、il書式文章データ(和文データ)が
読み出されると、次に第2書式文章データ(英文データ
)が読み出される。第2書式文章データのアドレスは前
回読み出した最終アドレスの次のアドレスつまり、書式
データエリアのアドレスエリア■の第2下位アドレスか
らく第3下位アドレス−1アドレス〉を算出する。
When the il 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 as 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 (3rd lower address - 1 address).

次にCPU12は第2アドレスに対応する文型モードを
、書式データエリアの文型エリア■よりサーチし、英文
モード(MODE=2)であれば、更に対応する書体コ
ードを書体エリア0よりサーチし、バイ力文字(P 1
TcH= I )であればバイ力文字CG8を選択し、
またエリート文字(PiTcH=2)であればエリート
文字CG9’i選択し、更にプロポーショナル文字(P
iTcH=3)であればプロボーアgナルCGIOを選
択する。そして前回算出した第2書式文章データアドレ
スに対応する文章データを文章バッファ3より読み出し
、各各選択したCGに入力する。各々のCGt/i入力
されてくる文字コードに対応する文字パターンを順次サ
ーチレ、印字バッフ74に格納する。
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 from the font area 0, and Power character (P 1
If TcH=I), select bi-power character CG8,
Also, if it is an elite character (PiTcH=2), elite character CG9'i is selected, and then a proportional character (P
iTcH=3), select pro-boa signal CGIO. Then, the text data corresponding to the second format text data address calculated last time is read out from the text buffer 3 and input to each selected CG. Character patterns corresponding to each input character code of CGt/i are sequentially searched and stored in a print buffer 74.

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

WJT図はエンコーダ2の内部構成を示したものであり
、TIは和文用キーコードテーブル、I2は英文用キー
コードテーブルであり、FII/i和文モードを示すフ
ラグ、F2は和文モードを示すフラグである。
The WJT diagram shows the internal configuration of the encoder 2, where TI is a Japanese key code table, I2 is an English key code table, a flag indicating FII/i Japanese mode, and F2 is a flag indicating Japanese mode. be.

今、カーソルが第1図Aの位置にあるとすると、CPt
J ] 2はカーフルの位置するアドレスが文章バッフ
ァ3の書式データエリアに格納されたアドレスのどれに
該当するかをサーチする(第6図の520)。そのサー
チしたアドレスに対応する文型モードが例えば和文モー
ド(MODE=1)であった場合、CPU12は表示バ
ッファ6の図示しないガイダンス表示バッフ7エリアに
″和文″という表示パターンデータを格納させ(52+
)、CRT7に第1図りの如き文型モード表示せしめる
。又、CPUI2は文型モードをサーチすることによっ
て、エンコーダ2の和文モードフラグF1をセットする
。これによって入力装置1から入力されてくるキーコー
ドは和文用キーコードテーブルTIに導入され、対応和
文字コードに変換されて文章バッフ73に出力される(
S23)。
Now, if the cursor is at the position A in Figure 1, then CPt
J ] 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 (520 in FIG. 6). If the sentence pattern mode corresponding to the searched address is, for example, Japanese mode (MODE=1), the CPU 12 stores display pattern data “Japanese” in the guidance display buffer 7 area (not shown) of the display buffer 6 (52+
), the CRT 7 displays the sentence pattern mode as shown in the first diagram. Further, the CPU 2 sets the Japanese sentence mode flag F1 of the encoder 2 by searching for the sentence pattern mode. As a result, the key code input from the input 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 73 (
S23).

次にカーソルが第1図Bの位置にあった場合の処理を説
明する。これも前記カーソルがAの位置にあった場合の
処理と同様に処理される。つまり、CPUI2が、カー
ソルの位置するアドレスが文章バッファ3の書式データ
エリアに格納されたアドレスのどれに該当するかのサー
チを行い、サーチしたアドレスに対応する文型モードが
和文であるか英文であるか識別する。Bの位置の場合、
文型モードは英文モード(MODE=2)であるため、
CPU I 2は表示バッフ76の図示しないガイダン
ス表示バッフ7エリアと″英文”という表示パターンデ
ータを格納させ、CRT7に文型モード表示を行わせる
。又、CPUI2は文型モードが英文モードであること
によって、エンコーダ2の英文モードフラグをセットす
る。これによって入力装置1から入力されてくるキーコ
ードは英文用キーコードテーブルT2に導入され、対応
の英文字コードに変換され、文章バッファ3に出力され
る。
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 English sentence mode (MODE=2),
The CPU I 2 stores the guidance display buffer 7 area (not shown) of the display buffer 76 and the display pattern data "English", and causes the CRT 7 to display the sentence pattern mode. 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 1 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図はCPU ] 2の内部構成を示
したものであり、B1は和文書式バッファ、B2け英文
書式バッファを示したものである。これら各々のバッフ
ァには、文頭方向最近接書式又は文末方向最近接書式又
は最新入力書式の各々の処理に対して対応する和文/英
文書式データが格納される。操作者はまず、表示すべき
書式データが文頭方向に最近接する書式を表示するか、
文末方向に最近接する書式を表示するか、最新の入力し
た書式を表示するかの選択を行う。
In the format change process shown in FIG. 4, a process flow for preferentially displaying the previously set format of the same sentence type will be explained with reference to FIGS. 8 and 9. FIG. 9 shows the internal structure of the CPU 2, in which B1 represents a Japanese document format buffer and B2 represents an English document format buffer. Each of these buffers stores Japanese/English document format data corresponding to each process of the sentence beginning direction nearest format, sentence end direction nearest format, or latest input format. The operator first selects whether to display the format in which the format data to be displayed is closest to the beginning of the sentence, or
Select whether to display the format closest to the end of the sentence or the latest input format.

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

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

更に第3図の書式データエリアのアドレスエリア■より
現時点カーソルの位置するアドレスに下位近傍するアド
レスをもつ書式データであって力・つ英文モード書式で
ある書式を読み出し、第9図の英文書式バッフ7B2&
c格納する(531)。
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, which is an English mode format, is read out, and is stored in the English document format buffer in Figure 9. 7B2&
c is stored (531).

更に、上記選択で文末方向最近接書式表示が選択された
場合CPU12.は第3図の書式データエリアのアドレ
スエリア0より現時点カーソルの位置するアドレスに上
位近傍するアドレスに上位近傍するアドレスをもつ書式
データであり、かつ和文モード書式である書式を読み出
し、第9図の和文書式バッフyB1に格納しく582)
、更に第3図の書式データエリアのアドレスエリア■よ
り現時点カーソルの位置するアドレスに上位近傍するア
ドレスをもつ書式データでろって、かつ英文・  モー
ド書式である書式を読み出し、第9図の英文書式バッフ
yB2VC格納す仝(333)。
Furthermore, if the sentence end direction nearest format display is selected in the above selection, the CPU 12. reads the format data that has an address in the upper vicinity of the address where the current cursor is located from address area 0 of the format data area in Figure 3, and is in the Japanese mode format, and reads the format shown in Figure 9. Store it in the Japanese document format buffer yB1 (582)
, 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 the English document format in Figure 9 is read out. Store the buffer yB2VC (333).

以上の様にして和文書式バッファB+、英文書式バック
782に格納された書式データは、混在。
The format data stored in the Japanese document format buffer B+ and the English document format buffer 782 as described above are mixed.

設定しようとする文型により選択的にガイダンスに表示
される。つまり、今、設定しようとする文型が和文であ
った場合(S34)、操作者は第1図の入力袋fQ+の
図示しない和文変更キーを操作し、CPUI2に和文変
更指示を与える。
It is selectively displayed in the guidance depending on the sentence pattern you are trying to set. That is, if the sentence pattern to be set is a Japanese sentence (S34), the operator operates the Japanese sentence change key (not shown) of the input bag fQ+ in FIG. 1 to give a Japanese sentence change instruction to the CPUI 2.

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

又、設定しようとする文型が英文であった場合、操作者
ll−を第1図の入力装置lの図示しない英文変更キー
を操作し、CPUl2vc英文変更指示を与える。これ
によりCPUI2は英文書式バック7B2より英文書式
データを読み出し、第1図Eの書式指定エリアに表示さ
せる(S36)。
If the sentence pattern to be set is English, the operator 11- operates the English text change key (not shown) of the input device 1 shown in FIG. 1 to issue an English text change instruction to the CPU 12vc. As a result, the CPU 2 reads the English document format data from the English document format bag 7B2 and displays it in the format designation area of FIG. 1E (S36).

上記の様に、第1図Eに表示された書式を継続して設定
する場合、操作者は第1図入力装置】の図示しない継続
指示キーを操作し、CPU12にその旨を指示する。C
PtJ12はこの指示により、現表示書式を現時点カー
ソルが位置するアドレスと共VC第3図の書式データエ
リアの空エリアに格納する(338)。
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 in FIG. 1 to instruct the CPU 12 to that effect. C
In response to this instruction, the PtJ 12 stores the current display format together with the address where the cursor is currently located in the empty area of the format data area of the VC figure 3 (338).

又、継続して設定しない場合は、修正等の処理を行った
後、第3図の書式データエリアの空エリアに修正書式と
、現時点カーソルが位置するアドレスを格納する(33
9)。
If you do not want to continue setting, after performing corrections, etc., store the corrected format and the address where the current cursor is located in the empty area of the format data area in Figure 3 (33
9).

〈発明の効果〉 本発明の文書処理装置によれば (1)和文人力モード、英文人力モードを容易に切り換
え可能とし、各々の入力モードではそのモード特有の編
集処理を可能となった。
<Effects of the Invention> According to the document processing device of the present invention, (1) 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.

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

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

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

以上、本実施例では、和文、英文に限定して説明したが
これに限るものではなく、例えば、英文/仏文、英文/
独文、英文/露文などにも適用可能である。又、書体に
ついては、英文のみとして説明したがこれに限るもので
ない。
In the above embodiments, the description has been limited to Japanese and English, but the invention is not limited to these. For example, English/French, English/English/
It can also be applied to 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図はモー
ド表示及びキーボードモード切り換えj処理を示すフロ
ー図、第7図はエンコーダの内−〕 部。構成図、第8図は書式データの継続処理フローを示
す図である。 1・・・キーボード    7・・・CRT2・・・エ
ンコーダ    8・・・バイ力文字cG3・・文章バ
ッファ   9・・・エリート文字CG4・・・印字バ
ッフy    10・・・プロポーショナルCG5・・
プリンタ     第1・・・和文字CG6・・・表示
バッファ   12・・・CPU代理人 弁理士 杉 
山 毅 至(他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 flowchart showing the process of switching the English text mode; Figure 5 is a flowchart showing the printing process of mixed Japanese and English text; Figure 6 is a flowchart showing the mode display and keyboard mode switching process; Figure 7 is the flowchart of the encoder. ] Department. The configuration diagram, FIG. 8, is a diagram showing the continuous processing flow of format data. 1... Keyboard 7... CRT2... Encoder 8... Bi-power character cG3... Sentence buffer 9... Elite character CG4... Print buffer y 10... Proportional CG5...
Printer 1st...Japanese character CG6...Display buffer 12...CPU agent Patent attorney Sugi
Takeshi Yama (and 1 other person) Figure 2 Figure 6 Figure 7 Figure 8

Claims (2)

【特許請求の範囲】[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. Editing according to the language instructed by the language mode instruction means, comprising a language mode instruction means capable of instructing, a text memory for storing the input text information, and a display device for displaying the input text. A document creation device capable of creating a sentence in which a first language sentence and a second language sentence coexist by executing respective processes.
(2)第1言語入力キーとして日本文字を入力するキー
となし、また第2言語入力キーとして英文字を入力する
キーとなすと共に該英文字に対して複数書体の文字パタ
ーンを発生し得る手段を有し、言語モード指示手段で英
文字モードが指定されたときに複数種の英文字書体の中
の所望書体が指示できるようになした特許請求の範囲第
1項記載の文書作成装置。
(2) A means for using a key for inputting Japanese characters as a first language input key, a key for inputting English characters as a second language input key, and generating character patterns in multiple fonts for the English characters. 2. The document creation device according to claim 1, wherein the document creation device has a language mode designating means to designate a desired font among a plurality of types of English character fonts when an English character mode is specified.
JP61020456A 1986-01-31 1986-01-31 Document generating apparatus Pending JPS62179051A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

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

Family

ID=12027573

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS62179051A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01234971A (en) * 1988-03-16 1989-09-20 Brother Ind Ltd Document producing device having multi-lingual function
JPH0264855A (en) * 1988-08-31 1990-03-05 Canon Inc Character processing device
JPH0264856A (en) * 1988-08-31 1990-03-05 Canon Inc Document processing device
JPH0695649A (en) * 1993-05-25 1994-04-08 Canon Inc Output device and output method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01234971A (en) * 1988-03-16 1989-09-20 Brother Ind Ltd Document producing device having multi-lingual function
JPH0264855A (en) * 1988-08-31 1990-03-05 Canon Inc Character processing device
JPH0264856A (en) * 1988-08-31 1990-03-05 Canon Inc Document processing device
JPH0695649A (en) * 1993-05-25 1994-04-08 Canon Inc Output device and output method
JPH081552B2 (en) * 1993-05-25 1996-01-10 キヤノン株式会社 Output device and output method

Similar Documents

Publication Publication Date Title
US4931987A (en) Word processor for locating beginning position of text element and displaying corresponding formatting data and formatting mark separately
JPS62179051A (en) Document generating apparatus
JPS62179053A (en) Document generating apparatus
JPS59221726A (en) Sentence producer
JPS62179052A (en) Document generating apparatus
JP2966656B2 (en) Document creation device
JPH0823744B2 (en) Character string processor
JPS6260657A (en) Character processor
JPS60176137A (en) Sentence generating device
JPS61105666A (en) Document processing device
JP2647679B2 (en) Character processor
JP2592840B2 (en) Character processor
JPH077392B2 (en) Information processing equipment
JPH0373998A (en) Character pattern data generating device
JP2621987B2 (en) Document processing device
JPS60159974A (en) Japanese word processor
JPS605470B2 (en) typesetting system
JPH0264852A (en) Document processing device
JPH07148986A (en) Document preparation device, printing control and display control
JPH0778133A (en) Document preparing device and method for outputting character pattern
JPH02896A (en) Character processor
JPH0244458A (en) Character processor
JPH03127258A (en) Character processor
JPS63289671A (en) Character processor
JPS62203260A (en) Sentence edition processor