JPH05210680A - Word processor - Google Patents

Word processor

Info

Publication number
JPH05210680A
JPH05210680A JP4202121A JP20212192A JPH05210680A JP H05210680 A JPH05210680 A JP H05210680A JP 4202121 A JP4202121 A JP 4202121A JP 20212192 A JP20212192 A JP 20212192A JP H05210680 A JPH05210680 A JP H05210680A
Authority
JP
Japan
Prior art keywords
format
sentence
english
japanese
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4202121A
Other languages
Japanese (ja)
Other versions
JP2966656B2 (en
Inventor
Koichiro Sakamoto
浩一郎 坂本
Hiroichi Yoshida
広市 吉田
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 JP4202121A priority Critical patent/JP2966656B2/en
Publication of JPH05210680A publication Critical patent/JPH05210680A/en
Application granted granted Critical
Publication of JP2966656B2 publication Critical patent/JP2966656B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To display the format of the latest same sentence pattern set at the last time or the format of the same sentence pattern set in the nearest position in the case of format change. CONSTITUTION:Sentence information including Japanese sentences and English sentences together is stored in a sentence memory 3, and an input means 1 has a sentence pattern instructing key which instructs the sentence patterns of Japanese sentences and English sentences and a format instructing key which designates format information prescribing the output form or the like of each sentence pattern, and sentence pattern information instructed by the sentence pattern instructing key and format information instructed by the format instructing key are stored in a format memory in relation to prescribed positions of sentences, and format information meeting a preliminarily determined condition out of format information stored in the format memory is held in a format buffer. At the time of setting new format information, format information held in the format buffer is displayed as a reference on a display means 7.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はワードプロセッサー等の
文書処理装置に関し、特に和文及び英文が混在する文章
のような書式が異なる文章を編集処理する際に有用な文
書処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processor such as a word processor, and more particularly to a document processor which is useful for editing texts having different formats such as texts in which Japanese and English are mixed.

【0002】[0002]

【従来の技術】従来、日本語ワープロと称される文書処
理装置には、英文編集機能がなく、従って、例えば和文
に英文を混在させようとすると以下の問題点があった。
2. Description of the Related Art Conventionally, a document processing apparatus called a Japanese word processor does not have an English sentence editing function. Therefore, for example, when an English sentence is mixed in a Japanese sentence, the following problems occur.

【0003】(1)英文字の書体が限られているため、
多彩な文章を作ることが出来ない。
(1) Since the typeface of English characters is limited,
I cannot make various sentences.

【0004】(2)英文作成における文末処理が行われ
ないため、単語が2行にわたってしまう。
(2) Since the sentence end processing is not performed in the English sentence creation, the word extends over two lines.

【0005】従って、和文、英文を混在させようとする
と、各々の文章を別々に作成し、切り貼り等で合成させ
作るといった非常に煩雑な処理を必要としていた。
Therefore, when trying to mix Japanese and English sentences, it is necessary to perform a very complicated process in which each sentence is separately prepared and then combined by cutting and pasting.

【0006】[0006]

【発明が解決しようとする課題】本発明は英文、和文混
在文章の作成に有用な編集処理を提供するものであり、
以下の内容である。
SUMMARY OF THE INVENTION The present invention provides an editing process useful for creating mixed sentences in English and Japanese.
The contents are as follows.

【0007】即ち、書式変更の際、前回設定した最新の
同文型の書式、あるいは最も近い位置に設定されている
同文型の書式を表示するものである。
That is, when the format is changed, the latest syntactic pattern format set last time or the syntactic pattern format set at the closest position is displayed.

【0008】[0008]

【課題を解決するための手段】本発明は、上記課題のた
めに和文及び英文が混在する文章情報を記憶する文章メ
モリと、和文及び英文の文型を指示する文型指示キー、
及び文型毎の出力形式等を規定する書式情報を指示する
書式指示キーを有する入力手段と、前記文型指示キーに
より指示された文型情報及び前記書式指示キーより指示
された書式情報を文章の所定位置に関連させて記憶する
書式メモリと、前記書式メモリに記憶された書式情報の
ために内、予め定めた条件に相当する書式情報を保持す
る書式バッファと、新たな書式情報の背設定時、前記書
式バッファに保持された書式情報を参考表示する表示手
段とを備えた文書作成装置である。
To solve the above problems, the present invention provides a sentence memory for storing sentence information in which Japanese sentences and English sentences coexist, and a sentence pattern indicating key for indicating sentence patterns of Japanese sentences and English sentences,
And input means having a format instruction key for instructing format information for defining the output format for each sentence pattern, the sentence pattern information instructed by the sentence pattern instruction key and the format information instructed by the format instruction key at a predetermined position of a sentence. A format memory for storing the format information stored in the format memory, a format buffer for holding the format information corresponding to a predetermined condition among the format information stored in the format memory, and a setting buffer for new format information, The document creating apparatus includes a display unit for displaying the format information held in the format buffer for reference.

【0009】[0009]

【作用】本発明により書式変更の際、前回設定した最新
の同文型の書式、あるいは最も近い位置に設定されてい
る同文型の書式を表示する。
According to the present invention, when the format is changed, the latest syntactic pattern format set last time or the syntactic pattern format set at the closest position is displayed.

【0010】[0010]

【実施例】本発明の和文,英文混在文章処理装置の各種
動作を図を追って説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Various operations of a mixed Japanese / English sentence processing apparatus of the present invention will be described with reference to the drawings.

【0011】図1は和文,英文混在文章の一例を示すも
のであり、図2は本発明の和文,英文混在文章処理装置
の全体動作ブロック図を示したものである。1は和文及
び英文の文字キーと、各種編集キーを有するキーボード
等の入力装置。
FIG. 1 shows an example of a mixed sentence of Japanese and English sentences, and FIG. 2 shows an overall operation block diagram of the mixed sentence and English sentence processing apparatus of the present invention. Reference numeral 1 is an input device such as a keyboard having Japanese and English character keys and various editing keys.

【0012】2は和文,文字コード及び英文,文字コー
ドそして各種編集コードを入力装置1からのキーコード
に対応して出力するエンコーダ、3は入力された和文ま
たは英文及び書式情報を格納する文章バッファ、4は文
章バッファ3から転送される印字データを印字パターン
として格納する印字バッファ、5は印字バッファ4に格
納された印字パターンを印字するプリンター、6は文章
バッファ3に格納された文章データのうち表示すべき文
章データを図示しない表示キャラクタジェネレータによ
りパターン化して格納する表示バッファ、7は表示バッ
ファ6に格納された文章パターンを表示するCRT等の
表示装置、8は印字用のパイカ文字CG(キャラクタジ
ェネレータ)、9は印字用のエリート文字CG、10は
印字用のプロポーショナルCG、11は印字用のかな,
カタカナ,漢字等の和文字CG、12は本装置全体の制
御を行うCPUなどの主制御装置であり、各種編集識別
フラグをも有する。
Reference numeral 2 is an encoder for outputting Japanese text, character code and English text, character code and various editing codes corresponding to the key code from the input device 1, and 3 is a text buffer for storing the input Japanese text or English text and format information. 4 is a print buffer for storing the print data transferred from the text buffer 3 as a print pattern, 5 is a printer for printing the print pattern stored in the print buffer 4, and 6 is the text data stored in the text buffer 3. A display buffer for storing the text data to be displayed after being patterned by a display character generator (not shown), 7 is a display device such as a CRT for displaying the text pattern stored in the display buffer 6, and 8 is a pica character CG (character) for printing. Generator), 9 is an elite character for printing CG, and 10 is a printing proposal. Yonaru CG, 11 is Kana for printing,
Japanese characters CG such as katakana and kanji, 12 are main control devices such as CPU for controlling the entire device, and also have various editing identification flags.

【0013】図3は図2の文章バッファ3の内部構成を
示したものである。図に示されている通り、文章バッフ
ァ3は大きく分けて、書式データを格納する書式データ
エリアと、文章データを格納する文章データエリアによ
って構成されている。尚、書式データエリアは更に書式
変更アドレスデータを格納する書式アドレスエリアa及
び和文か英文かの区別を示す文型エリアb、及び英文の
書体を区別する書体エリアcに分割される。
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 a for storing the format change address data, a sentence pattern area b for distinguishing between Japanese and English, and a typeface area c for distinguishing the typeface of English.

【0014】以上の図1乃至図8をもって、以降の処理
フローを説明する。
The subsequent processing flow will be described with reference to FIGS.

【0015】〔I〕行毎に和文及び英文の切り換え及び
書体の選択動作 図4は文型切り換え処理フローを示したものであり、こ
の処理動作を順を追って説明する。
[I] Operation for switching Japanese and English sentences and selecting a font for each line FIG. 4 shows a flow of processing for switching a sentence pattern. This processing operation will be described step by step.

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

【0017】(S1):入力装置1の図示せぬ英文変更
キーを入力する。これによって出力される英文変更キー
コードは、エンコーダを介して英文変更指示コードに変
更され、CPU12に入力される。
(S1): An English text change key (not shown) of the input device 1 is input. The English-language change key code output thereby is changed into an English-language change instruction code via the encoder and input to the CPU 12.

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

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

【0020】(S4):これによってCPU12は現時
点のカーソルの位置するアドレスに該当するアドレスを
アドレスエリアaより検索し、対応する書体エリアcに
パイカ文字を指示するコード(例えばPITCH=1)
を格納する。
(S4): As a result, the CPU 12 retrieves the address corresponding to the address where the cursor is currently located from the address area a, and designates a pica character in the corresponding font area c (for example, PITCH = 1).
To store.

【0021】(S5,S6):エリート文字を指定する
場合もパイカ文字指示処理と同様に行われ、書体エリア
cにエリート文字を指示するコード(例えばPITCH
=2)を格納する。
(S5, S6): When an elite character is designated, the same process as the pica character designating process is performed, and a code (eg PITCH) for designating an elite character in the typeface area c.
= 2) is stored.

【0022】(S7,S8):更にプロポーショナル文
字を指定する場合も、パイカ,エリート文字と同様に行
われ、書体エリアcにエリート文字を指示するコード
(例えば、PITCH:3)を格納する。以上の様に指
定された英文モードでは、英文編集特有の文末処理等が
なされ効率的な英文入力が可能となる。
(S7, S8): When a proportional character is further specified, the same procedure as for the pica and elite characters is performed, and a code (for example, PITCH: 3) indicating the elite character is stored in the typeface area c. In the English mode designated as described above, sentence end processing peculiar to English editing is performed and efficient English input becomes possible.

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

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

【0025】CPU12は書式データエリアの空きアド
レスエリアaに現時点のカーソルの位置するアドレスを
格納し、対応する文型エリアbに和文モードを示すフラ
グをセットする(例えばMODE:1)。
The CPU 12 stores the address at which the cursor is currently located in the empty address area a of the format data area, and sets a flag indicating the Japanese sentence mode in the corresponding sentence pattern area b (for example, MODE: 1).

【0026】以上の様に指定された和文モードでは、和
文編集特有の各編集処理がなされる。
In the Japanese sentence mode designated as described above, each editing process peculiar to Japanese sentence editing is performed.

【0027】〔II〕和文,英文混在文章の印字処理方
式 次に図4の文型切り換え処理によって、図1の如く入力
された文章データの印字出力処理について説明する。
[II] Print Processing Method for Mixed Japanese and English Text Next, the print output processing of the text data input as shown in FIG. 1 by the sentence pattern switching processing of FIG. 4 will be described.

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

【0029】次にCPU12は第1下位アドレスデータ
に対応する文型モードを文型エリアbよりサーチする。
この時、サーチした文型モードが和文モード(MODE
=1)であれば和文字CG11を選択し、前回算出した
読み出し文章データアドレスに対応する文章データを文
章バッファ3より読み出し、順次選択した和文字CG1
1に入力する。和文字C11は入力されてくる文字コー
ドに対応する文字パターンを順次サーチし、印字バツフ
ァ4に格納する。
Next, the CPU 12 searches the sentence pattern area b for the sentence pattern mode corresponding to the first lower address data.
At this time, the sentence pattern mode searched is the Japanese sentence mode (MODE
= 1), the Japanese character CG11 is selected, the text data corresponding to the read text data address calculated last time is read from the text buffer 3, and the Japanese character CG1 selected sequentially.
Enter 1. For the Japanese character C11, the character pattern corresponding to the input character code is sequentially searched and stored in the print buffer 4.

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

【0031】次にCPU12は、第2アドレスに対応す
る文型モードを書式データエリアの文型エリアbよりサ
ーチし、英文モード(MODE=2)であれば、更に対
応する書体コードを書体エリアcよりサーチし、パイカ
文字(PITCH=1)であればパイカ文字CG8を選
択し、またエリート文字(PITCH=2)であればエ
リート文字CG9を選択し、更にプロポーショナル文字
(PITCH=3)であればプロポーショナルCG10
を選択する。そして前回算出した第2書式文章データア
ドレスに対応する文章データを文章バッファ3より読み
出し、各々選択したCGに入力する。各々のCGは入力
されてくる文字コードに対応する文字パターンを順次サ
ーチし、印字バッファ4に格納する。
Next, the CPU 12 searches the sentence pattern mode corresponding to the second address from the sentence pattern area b of the format data area, and if it is the English sentence mode (MODE = 2), further searches the corresponding font code from the font area c. If the pica character (PITCH = 1) is selected, the pica character CG8 is selected, if the elite character (PITCH = 2) is selected, the elite character CG9 is selected, and if the proportional character (PITCH = 3) is selected, the proportional CG10 is selected.
Select. Then, the text data corresponding to the previously calculated second format text data address is read from the text buffer 3 and input to each selected CG. Each CG sequentially searches for a character pattern corresponding to the input character code and stores it in the print buffer 4.

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

【0033】〈III〉和文/英文モードによるキーボ
ードの切り換え及びモード表示 図4の文型切り換え処理及びこれによって作成された図
1の如き和文,英文混在文章の修正,挿入等に現時点の
カーソルの位置する文型モード表示及びキーモードのモ
ード切り換えが行われる。このことを図6及び図7をも
って説明する。図7はエンコーダ2の内部構成を示した
ものであり、T1は和文用キーコードテーブル、T2は
英文用キーコードテーブルであり、F1は和文モードを
示すフラグ、F2は和文モードを示すフラグである。
<III> Keyboard switching and mode display in Japanese / English mode The cursor is positioned at the present time for the sentence pattern switching process of FIG. 4 and the correction, insertion, etc. of the Japanese sentence and mixed English sentence as shown in FIG. Sentence mode display and key mode switching are performed. This will be described with reference to FIGS. 6 and 7. FIG. 7 shows the internal configuration of the encoder 2. T1 is a Japanese key code table, T2 is an English key code table, F1 is a flag indicating the Japanese mode, and F2 is a flag indicating the Japanese mode. ..

【0034】今、カーソルが図1Aの位置にあるとする
とCPU12はカーソルの位置するアドレスが文章バッ
ファ3の書式データエリアに格納されたアドレスのどれ
に該当するかをサーチする(図6のS20)。そのサー
チしたアドレスに対応する文型モードが例えば和文モー
ド(MODE=1)であった場合、CPU12は表示バ
ッファ6の図示しないガイダンス表示バッファエリアに
“和文”という表示パターンデータを格納させ(S2
1)、CRT7に図1Dの如き文型モード表示せしめ
る。又、CPU12は文型モードをサーチすることによ
って、エンコーダ2の和文モードフラグF1をセットす
る。これによって、入力装置1から入力されてくるキー
コードは和文用キーコードテーブルT1に導入され、対
応和文字コードに変換され、文章バッファ3に出力され
る(S23)。
Now, assuming that the cursor is at the position shown in FIG. 1A, the CPU 12 searches which address the address where the cursor is located corresponds to the address stored in the format data area of the text buffer 3 (S20 in FIG. 6). .. If the sentence pattern mode corresponding to the searched address is, for example, the Japanese sentence mode (MODE = 1), the CPU 12 stores the display pattern data "Japanese sentence" in the guidance display buffer area (not shown) of the display buffer 6 (S2).
1) Display the sentence pattern mode on the CRT 7 as shown in FIG. 1D. Further, the CPU 12 sets the Japanese sentence mode flag F1 of the encoder 2 by searching the sentence pattern mode. As a result, the key code input from the input device 1 is introduced into the Japanese-language key code table T1, converted into the corresponding Japanese character code, and output to the sentence buffer 3 (S23).

【0035】次にカーソルが図1Bの位置にあった場合
の処理を説明する。これも前記カーソルがAの位置にあ
った場合の処理と同様に処理される。つまり、CPU1
2が、カーソルの位置するアドレスが文章バッファ3の
書式データエリアに格納されたアドレスのどれに該当す
るかのサーチを行い、サーチしたアドレスに対応する文
型モードが和文であるか英文であるか識別する。Bの位
置の場合、文型モードは英文モード(MODE=2)で
あるため、CPU12は表示バツファ6の図示しないガ
イダンス表示バッファエリアと“英文”という表示パタ
ーンデータを格納させ、CRT7に文型モード表示を行
わせる。又、CPU12は文型モードが英文モードであ
ることによって、エンコーダ2の英文モードフラグをセ
ットする。これによって入力装置1から入力されてくる
キーコードは英文用キーコードテーブルT2に導入さ
れ、対応の英文字コードに変換され、文章バッファ3に
出力される。
Next, the processing when the cursor is at the position shown in FIG. 1B will be described. This is also processed in the same way as when the cursor is at the position A. That is, CPU1
2 searches for which of the addresses stored in the format data area of the sentence buffer 3 the address where the cursor is located, and identifies whether the sentence pattern mode corresponding to the searched address is Japanese or English. To do. In the case of the position B, since the sentence pattern mode is the English sentence mode (MODE = 2), the CPU 12 stores the guidance display buffer area (not shown) of the display buffer 6 and the display pattern data "English sentence", and the CRT 7 displays the sentence pattern mode display. Let it be done. Further, the CPU 12 sets the English mode flag of the encoder 2 because the sentence pattern mode is the English mode. As a result, the key code input from the input device 1 is introduced into the English key code table T2, converted into a corresponding English character code, and output to the sentence buffer 3.

【0036】〈IV〉書式情報の継続処理 図4の書式変更処理において、前回設定した同文型の書
式を優先表示させる処理フローを図8により説明する。
CPU12の内部構成としては和文書式バッファB1と
英文書式バツファB2からなる。これら各々のバッファ
には、文頭方向最近接書式、又は、文末方向最近接書
式、又は最新入力書式の各々の処理に対して対応する和
文/英文書式データが格納される。操作者はまず、表示
すべき書式データが文頭方向に最近接する書式を表示す
るか、文末方向に最近接する書式を表示するか、最新の
入力した書式を表示するかの選択を行う。
<IV> Continuation Processing of Format Information In the format change processing of FIG. 4, a processing flow for preferentially displaying the previously set syntactic pattern format will be described with reference to FIG.
The internal configuration of the CPU 12 comprises a Japanese document type buffer B1 and an English document type buffer B2. In each of these buffers, the Japanese sentence / English document data corresponding to the processing of the sentence closest direction format, the sentence end direction closest format, or the latest input format is stored. 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, the format closest to the end of the sentence, or the latest input format.

【0037】上記選択で最新入力書式表示が選択された
場合、CPU12はまず、図3の書式データエリアに格
納された和文モード書式の内、エリアの最下位に格納さ
れている和文モード書式を読み出して、CPU12の和
文書式バッファB1に格納し(S28)、更に図3の書
式データエリアに格納された英文モード書式の内、エリ
アの最下位に格納されている英文モード書式を読み出
し、CPU12の英文書式バッファB2に格納する(S
29)。
When the latest input format display is selected in the above selection, the CPU 12 first reads out the Japanese mode format stored in the lowest position of the Japanese mode formats stored in the format data area of FIG. Of the English mode format stored in the format data area of FIG. 3 in the Japanese document buffer B1 of the CPU 12 (S28), and the English mode format stored at the bottom of the area is read out. Store in English document type buffer B2 (S
29).

【0038】又、上記選択で文頭方向最近接書式表示が
選択された場合CPU12は、図3の書式データエリア
のアドレスエリアaより、現時点カーソルの位置するア
ドレスに下位近傍するアドレスをもつ書式データであ
り、かつ和文モード書式である書式を読み出し、その和
文書式バッファB1に格納する(S30)。
When the closest-to-sentence format display is selected in the above selection, the CPU 12 uses format data having an address lower than the address where the cursor is currently located in the address area a of the format data area of FIG. A format that is present and is a Japanese text mode format is read out and stored in the Japanese document expression buffer B1 (S30).

【0039】更に図3の書式データエリアのアドレスエ
リアaより現時点カーソルの位置するアドレスに下位近
傍するアドレスをもつ書式データであってかつ英文モー
ド書式である書式を読み出し、その英文書式バッファB
2に格納する(S31)。更に、上記選択で文末方向最
近接書式表示が選択された場合CPU12は図3の書式
データエリアのアドレスエリアaより、現時点カーソル
の位置するアドレスに上位近傍するアドレスに上位近傍
するアドレスをもつ書式データであり、かつ和文モード
書式である書式を読み出し、CPU12の和文書式バッ
ファB1に格納し(S32)、更に図3の書式データエ
リアのアドレスエリアaより現時点カーソルの位置する
アドレス上位近傍するアドレスをもつ書式データであっ
て、かつ英文モード書式である書式を読み出し、CPU
12の英文書式バッファB2に格納する(S33)。
Further, from the address area a of the format data area shown in FIG. 3, the format data having an address lower than the address at which the cursor is currently located and being an English mode format is read out, and the English document buffer B thereof is read.
2 (S31). Further, when the sentence end direction closest format display is selected by the above selection, the CPU 12 causes the format data having the address near the address where the cursor is currently located to be higher than the address area a of the format data area in FIG. And the Japanese mode format is read and stored in the Japanese document buffer B1 of the CPU 12 (S32), and an address near the address where the cursor is currently located above the address area a of the format data area of FIG. The format data that is also the English mode format is read, and the CPU
It is stored in the 12 English document type buffer B2 (S33).

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

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

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

【0043】上記のように、図1Eに表示された書式を
継続して設定する場合、操作者は図1入力装置1の図示
しない継続指示キーを操作し、CPU12にその旨を指
示する。CPU12はこの指示により、現表示書式を現
時点カーソルが位置するアドレスと共に図3のデータエ
リアの空きエリアに格納する(S38)。
As described above, when the format shown in FIG. 1E is continuously set, the operator operates the continuation instruction key (not shown) of the input device 1 of FIG. 1 to instruct the CPU 12 to that effect. In response to this instruction, the CPU 12 stores the current display format in the empty area of the data area of FIG. 3 together with the address where the cursor is currently located (S38).

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

【0045】[0045]

【発明の効果】本発明の文章処理装置によれば、書式変
更の際、前回設定した最新の同文型の書式、あるいは最
も近い位置に設定されている同文型の書式を表示するの
で (1)行毎に和文及び英文の切り換えが行える。
According to the sentence processing apparatus of the present invention, when the format is changed, the latest syntactic pattern format set last time or the syntactic pattern format set at the closest position is displayed (1). You can switch between Japanese and English for each line.

【0046】(2)英文の書体が選択設定できる。(2) An English typeface can be selected and set.

【0047】(3)カーソルが位置するモード(文型)
が表示される。
(3) Mode in which the cursor is positioned (sentence pattern)
Is displayed.

【0048】(4)カーソルが位置するモード(文型)
により、キーボードのモードも自動的に切り換えられ
る。
(4) Mode in which the cursor is positioned (sentence pattern)
By this, the keyboard mode is automatically switched.

【0049】(5)書式変更の際、前回設定した最新の
同文型の書式を表示する。
(5) When the format is changed, the latest syntactic pattern format set last time is displayed.

【0050】(6)書式変更の際、カーソルの位置する
書式に最も近い位置にある同文型の書式を表示する。
(6) When the format is changed, the syntactic pattern closest to the cursor position is displayed.

【0051】(7)和文入力モード,英文入力モードを
容易に切り換え可能とし、各々の入力モードではそのモ
ード特有の編集処理を可能となった。
(7) It is possible to easily switch between the Japanese sentence input mode and the English sentence input mode, and in each of the input modes, edit processing peculiar to the mode can be performed.

【0052】(8)英文及び和文の書体が多種にわたっ
て指定できるため、多彩な文書が作成可能となった。
(8) Since various typefaces in English and Japanese can be specified, various documents can be created.

【0053】(9)カーソルが指示する入力モードが表
示され、更には、そのモードに合わせてキーモードのモ
ードも自動的に切り換えられるため、文章入力,挿入,
修正等の際、そのモードを気にせず入力可能となった。
(9) The input mode designated by the cursor is displayed, and the key mode is automatically switched in accordance with the input mode.
It became possible to input without modifying the mode when making corrections.

【0054】(10)書式変更の際、前回設定した同文
型の書式又は、近傍する同文型の書式を表示するため、
同一書式の設定処理が容易なものとなった。
(10) When the format is changed, the previously set syntactic pattern format or the nearby syntactic pattern format is displayed.
The setting process of the same format became easy.

【0055】従って、文型が異なる文章の編集操作が容
易にかつ迅速に行えるものである。以上、本実施例では
和文,英文に限定して説明したがこれに限るものではな
く、例えば英文/仏文,英文/独文,英文/露文などに
も適用可能である。
Therefore, the editing operation of the sentences having different sentence patterns can be performed easily and quickly. As described above, in the present embodiment, the description is limited to Japanese and English, but the present invention is not limited to this, and it is also applicable to, for example, English / French, English / German, English / Russian.

【0056】又、書体については、英文のみとして説明
したがこれに限るものではない。
Although the typeface has been described only in English, it is not limited to this.

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

【図1】和文,英文混在文章を表示した表示画面を示す
図である。
FIG. 1 is a diagram showing a display screen displaying a mixed sentence in Japanese and English.

【図2】全体動作ブロック図である。FIG. 2 is an overall operation block diagram.

【図3】文章バッファの内部構成図である。FIG. 3 is an internal configuration diagram of a text buffer.

【図4】和文,英文モード切り換え処理フローを示す図
である。
FIG. 4 is a diagram showing a processing flow for switching between Japanese and English modes.

【図5】和文,英文混在文章印字処理フローを示す図で
ある。
FIG. 5 is a diagram showing a mixed sentence print process flow in Japanese and English.

【図6】モード表示及びキーボードモード切り換えフロ
ーを示す図である。
FIG. 6 is a diagram showing a flow of mode display and keyboard mode switching.

【図7】エンコーダの内部構成図である。FIG. 7 is an internal configuration diagram of an encoder.

【図8】書式データの継続フローを示す図である。FIG. 8 is a diagram showing a continuation flow of format data.

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

1 キーボード 2 エンコーダ 3 文章バッファ 4 印字バッファ 5 プリンタ 6 表示バッファ 7 CRT 8 パイカ文字CG 9 エリート文字CG 10 プロポーショナルCG 11 和文字CG 12 CPU 1 Keyboard 2 Encoder 3 Text Buffer 4 Print Buffer 5 Printer 6 Display Buffer 7 CRT 8 Pica Character CG 9 Elite Character CG 10 Proportional CG 11 Japanese Character CG 12 CPU

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 和文及び英文が混在する文章情報を記憶
する文章メモリと、 和文及び英文の文型を指示する文型指示キー、及び文型
毎の出力形式等を規定する書式情報を指示する書式指示
キーを有する入力手段と、 前記文型指示キーにより指示された文型情報及び前記書
式指示キーより指示された書式情報を文章の所定位置に
関連させて記憶する書式メモリと、 前記書式メモリに記憶された書式情報の内、予め定めた
条件に相当する書式情報を保持する書式バッファと、 新たな書式情報の設定時、前記書式バッファに保持され
た書式情報を参考表示する表示手段とを備えたことを特
徴とする文書作成装置。
1. A sentence memory for storing sentence information in which Japanese and English sentences are mixed, a sentence pattern instruction key for instructing sentence patterns of Japanese sentence and English sentence, and a format instruction key for instructing format information for defining output formats for each sentence pattern. An input unit having: a format memory for storing the sentence pattern information designated by the sentence pattern designating key and the format information designated by the format designating key in association with a predetermined position of a sentence; and a format stored in the format memory Among the information, a format buffer for holding format information corresponding to a predetermined condition and a display unit for displaying the format information held in the format buffer for reference when setting new format information are provided. Document creation device.
【請求項2】 前記書式バッファに保持される書式情報
は、前回設定した最新の同文型の書式情報であることを
特徴とする請求項1記載の文書作成装置。
2. The document creating apparatus according to claim 1, wherein the format information held in the format buffer is the latest syntactic pattern information set last time.
【請求項3】 前記書式バッファに保持される書式情報
は、現在指定位置に最も近い位置に設定された同文型の
書式情報であることを特徴とする請求項1記載の文書作
成装置。
3. The document creating apparatus according to claim 1, wherein the format information held in the format buffer is syntactic pattern information set at a position closest to a currently designated position.
JP4202121A 1992-07-29 1992-07-29 Document creation device Expired - Fee Related JP2966656B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4202121A JP2966656B2 (en) 1992-07-29 1992-07-29 Document creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4202121A JP2966656B2 (en) 1992-07-29 1992-07-29 Document creation device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP61020458A Division JPH0756649B2 (en) 1986-01-31 1986-01-31 Document creation device

Publications (2)

Publication Number Publication Date
JPH05210680A true JPH05210680A (en) 1993-08-20
JP2966656B2 JP2966656B2 (en) 1999-10-25

Family

ID=16452316

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4202121A Expired - Fee Related JP2966656B2 (en) 1992-07-29 1992-07-29 Document creation device

Country Status (1)

Country Link
JP (1) JP2966656B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57178563A (en) * 1981-04-28 1982-11-02 Sharp Corp Document processor
JPS59201129A (en) * 1983-04-28 1984-11-14 Toshiba Corp Document producer
JPS6017525A (en) * 1983-07-08 1985-01-29 Sanyo Electric Co Ltd Processor of mixed sentence in western and japanese language

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57178563A (en) * 1981-04-28 1982-11-02 Sharp Corp Document processor
JPS59201129A (en) * 1983-04-28 1984-11-14 Toshiba Corp Document producer
JPS6017525A (en) * 1983-07-08 1985-01-29 Sanyo Electric Co Ltd Processor of mixed sentence in western and japanese language

Also Published As

Publication number Publication date
JP2966656B2 (en) 1999-10-25

Similar Documents

Publication Publication Date Title
US5864332A (en) Scalable edit window and displayable position indicators for an electronic typewriter
JPH0137783B2 (en)
JP2966656B2 (en) Document creation device
JPS62179051A (en) Document generating apparatus
JP3100614B2 (en) Document processing apparatus and document processing method
JPS62179053A (en) Document generating apparatus
JPS62179052A (en) Document generating apparatus
JPH0823744B2 (en) Character string processor
JPH0991284A (en) Document preparation device and routine document preparation method
JP2815158B2 (en) Character processor
JPH04256065A (en) Document editing device
JP2592840B2 (en) Character processor
JPS61156087A (en) System of correcting and editing expanded/reduced character
JPS605470B2 (en) typesetting system
JPH0744541A (en) Word processor and display method in the word processor
JPH07105219A (en) Machine translating device
JPH0528148A (en) Word processor
JPS6359658A (en) Document processor
JPS62203260A (en) Sentence edition processor
JPH0535725A (en) Character editing device
JPH0793319A (en) Document processor
JPH08329053A (en) Automatic document preparation device
JPH03160557A (en) Document processor
JPH08287282A (en) Image data output device
JPH0567089A (en) Word processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees