JP2622120B2 - Document processing device - Google Patents

Document processing device

Info

Publication number
JP2622120B2
JP2622120B2 JP62233170A JP23317087A JP2622120B2 JP 2622120 B2 JP2622120 B2 JP 2622120B2 JP 62233170 A JP62233170 A JP 62233170A JP 23317087 A JP23317087 A JP 23317087A JP 2622120 B2 JP2622120 B2 JP 2622120B2
Authority
JP
Japan
Prior art keywords
document
parentheses
determined
key
character
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.)
Expired - Fee Related
Application number
JP62233170A
Other languages
Japanese (ja)
Other versions
JPS6474667A (en
Inventor
克久 渡辺
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP62233170A priority Critical patent/JP2622120B2/en
Publication of JPS6474667A publication Critical patent/JPS6474667A/en
Application granted granted Critical
Publication of JP2622120B2 publication Critical patent/JP2622120B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は文書処理方法に関し、特に、長さの異なる括
弧記号を入力し得る文書処理方法に関するものである。
Description: BACKGROUND OF THE INVENTION The present invention relates to a document processing method, and more particularly to a document processing method capable of inputting parentheses of different lengths.

[従来の技術] 従来、複数の文字等の組み合わせによつて構成・表現
される文字や記号を表示・印刷する文書処理装置におい
ては、例えば5行分の文字長を有する縦長の記号を入力
・表示する手段として、5か所でそれぞれの記号に該当
する部分を5回にわたって入力して表示していた。
2. Description of the Related Art Conventionally, in a document processing apparatus that displays and prints characters and symbols composed and expressed by a combination of a plurality of characters and the like, for example, a vertically long symbol having a character length of five lines is input and printed. As means for displaying, a part corresponding to each symbol is input and displayed five times at five places.

[従来技術の問題点] このため、上記のような複数の文字等の組み合わせに
よつて構成・表現される文字や記号等を入力するには、
少なくとも構成される文字の数だけカーソル移動も含め
た入力の操作を行わなければならない。
[Problems of the Related Art] For this reason, in order to input characters and symbols composed and expressed by a combination of a plurality of characters and the like as described above,
An input operation including cursor movement must be performed at least for the number of composed characters.

また、上記入力操作においても、どの部分にどの文字
を入力するべきであるかを、入力するものが記憶してお
く必要がある。
Also, in the input operation, it is necessary to memorize which character should be input in which part.

[課題を解決する為の手段] 本発明は、上記従来技術の課題を解決する為に、種類
が同じで長さの異なる括弧記号の複数の候補をウインド
ウ上に表示し、文書中のカーソルの位置と、前記表示さ
れた複数の候補の中から選択された括弧記号とに基づい
て、当該括弧記号を出力する前記文書中の位置を決定
し、前記決定された文書中の位置に前記選択された括弧
記号のコードを格納する文書処理方法を提供する。
[Means for Solving the Problems] In order to solve the above-mentioned problems of the prior art, the present invention displays a plurality of candidates for parentheses of the same type but different lengths on a window, and displays a cursor in the document. Based on the position and the parentheses selected from the displayed plurality of candidates, a position in the document to output the parentheses is determined, and the position in the determined document is selected. A document processing method for storing codes of parentheses is provided.

[実施例] 以下、図面を参照して本発明の一実施例を詳細に説明
する。
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

なお、本実施例における文書、文字、文字列等は、記
号またはイラストを含めてもよい。
It should be noted that documents, characters, character strings, and the like in the present embodiment may include symbols or illustrations.

第1図は、本発明の実施例の文書処理装置の構成を示
すブロツク図である。1はマイクロプロセツサから成る
中央演算処理装置(以下CPUという)であり、キヤラク
タ処理のための演算や論理判断等装置全体の制御を行
う。2は制御メモリとして用いられるリードオンリメモ
リ(以下ROMという)であり、第3図〜第5図に示す編
集文書データ書換処理や、候補選択処理及び編集処理等
の各種処理についてCPU1が行う各種処理手順を予め記憶
している。3は書込み、読みだし可能なランダムアクセ
スメモリ(以下RAMという)であり、上記ROM2に記憶さ
れた処理手順を実行するとき、後述する装置の各構成か
ら送出されてくる各種データの一時記憶及びCPU1の演算
や論理判断におけるワークメモリとして用いられる。4
は文字入力用のキーボード(以下KBという)であり、こ
のKB4上には、CPU1に指令を与える各種キー群が配置さ
れている。5はキーボードコントローラ(以下KBCとい
う)であり、KB4からの入力信号に対するキーコード変
換処理を実行する。6は文書作成や編集用のバツフアメ
モリ(以下DBという)であり、KB4から入力されたキー
コードを文字コード(キヤラクタコード)として保存す
る。
FIG. 1 is a block diagram showing the configuration of a document processing apparatus according to an embodiment of the present invention. Reference numeral 1 denotes a central processing unit (hereinafter, referred to as a CPU) including a microprocessor, which controls the entire apparatus such as calculation for character processing and logical judgment. Reference numeral 2 denotes a read-only memory (hereinafter referred to as a ROM) used as a control memory, and various processes performed by the CPU 1 for various processes such as an editing document data rewriting process, a candidate selection process, and an editing process shown in FIGS. The procedure is stored in advance. Reference numeral 3 denotes a writable and readable random access memory (hereinafter referred to as a RAM). When executing the processing procedure stored in the ROM 2, the CPU 3 temporarily stores various data transmitted from each component of the apparatus described later. It is used as a work memory in arithmetic and logical decisions. 4
Is a keyboard for character input (hereinafter referred to as KB), and various key groups for giving instructions to the CPU 1 are arranged on this KB4. Reference numeral 5 denotes a keyboard controller (hereinafter referred to as KBC), which executes a key code conversion process on an input signal from KB4. Reference numeral 6 denotes a buffer memory (hereinafter referred to as a DB) for document creation and editing, which stores a key code input from the KB 4 as a character code (character code).

7は表示装置(以下CRTという)であり、KB4から入力
された文字等を表示し、また、カーソルを指定位置に表
示する。8はCRT7を駆動制御する表示コントローラ(以
下CRTCという)であり、カーソルによし表示した文字列
の画面上への位置決め制御や内部のキヤラクタジエネレ
ータによりドツトパターンに変換した文字或は記号の表
示等の表示制御を行う。9は画面上で作成された文書を
印刷する印刷装置(以下PRTという)である。10はPRT9
を制御するコントローラ(以下RPTCという)で、CPU1か
らシステムバス11を通して送られた文字データや制御デ
ータ(印字文字、印字後の移動量等)を解析し、PRT9を
駆動する。
Reference numeral 7 denotes a display device (hereinafter referred to as a CRT) which displays characters and the like input from the KB 4 and displays a cursor at a designated position. Reference numeral 8 denotes a display controller (hereinafter referred to as CRTC) for driving and controlling the CRT 7, which controls the positioning of a character string displayed by a cursor on a screen, and displays characters or symbols converted into dot patterns by an internal character generator. And so on. Reference numeral 9 denotes a printing device (hereinafter, referred to as a PRT) that prints a document created on a screen. 10 is PRT9
The controller (hereinafter, referred to as RPTC) analyzes character data and control data (print characters, movement amount after printing, etc.) sent from the CPU 1 through the system bus 11, and drives the PRT 9.

第2図は、ROM2に記憶された該当括弧文字テーブル
で、このテーブルを参照することにより候補番号と該当
括弧記号の相関関係を明らかにし、入力したい括弧記号
を決定することができる。
FIG. 2 shows a corresponding bracket character table stored in the ROM 2. By referring to this table, the correlation between the candidate number and the corresponding bracket symbol can be clarified, and the bracket symbol to be input can be determined.

次に第3図乃至第5図に基づいて本発明の動作につい
て説明する。
Next, the operation of the present invention will be described with reference to FIGS.

第3図は、複数部分の文書データエリアを書き換える
ことによつて括弧記号を入力・表示する処理のフローチ
ヤート図である。まずS31で今回入力されたキーが本発
明を実施しようとしているキー入力であるかどうかを判
断する。本発明を実施しようとしているキー入力である
と判断された場合はS32へ行く。
FIG. 3 is a flowchart of a process for inputting and displaying parentheses by rewriting a plurality of document data areas. First, in S31, it is determined whether or not the key input this time is a key input for implementing the present invention. If it is determined that the key input is to implement the present invention, the process proceeds to S32.

本発明を実施しようとしているキー入力ではないと判
断された場合は、次回入力文字処理の準備を行う。
If it is determined that the input is not a key input for implementing the present invention, preparation for the next input character processing is performed.

S32においては、本発明を実施しようとしている括弧
記号の候補を、例えばウインドウを使用して表示する。
In S32, the candidates for the parentheses for which the present invention is to be implemented are displayed using, for example, a window.

S33では、S32で表示された括弧記号の候補ウインドウ
の中から、ウインドウ内のカーソル等を使用して、候補
の選択を行う。
In S33, a candidate is selected from the parenthesis symbol candidate windows displayed in S32 by using a cursor or the like in the window.

S34では、S33において選択された括弧記号の候補を、
後述する条件をふまえたうえで文書データへ書き換える
ことが可能であるかどうかを判断する。
In S34, the candidate for the bracket symbol selected in S33 is
It is determined whether it is possible to rewrite the document data based on the conditions described later.

S35では、S34によつて判定した文書データ書換処理が
可能であるかどうかの分岐を示す。書換が可能であると
判断されたならばS36へ行く。書換が不可能と判断され
た場合は、その旨のエラーメツセージを、S34で出力さ
れたエラーコードを参照することにより表示して、次回
入力文字処理の準備を行う。
At S35, a branch is made as to whether the document data rewriting process determined at S34 is possible. If it is determined that rewriting is possible, go to S36. If it is determined that rewriting is not possible, an error message to that effect is displayed by referring to the error code output in S34 to prepare for the next input character processing.

S36では、S33によつて選択された括弧記号の候補番号
と、S34によつて求められた、書き換える文書データの
アドレスを参照し、DB6内の文書データの書換を行う。
In S36, the document data in the DB 6 is rewritten by referring to the candidate number of the parentheses selected in S33 and the address of the document data to be rewritten obtained in S34.

S37では、S36で書き換えられた、括弧記号を含む文書
データをROM2内のキヤラクタジエネレータによりドツト
パターンデータに変換して表示する。
At S37, the document data including the parentheses rewritten at S36 is converted into dot pattern data by the character generator in the ROM 2 and displayed.

4 第4図は、本発明を実施しようとしている括弧記号
の候補選択処理のフローチヤート図である。
4. FIG. 4 is a flowchart of a parenthesis symbol candidate selection process for implementing the present invention.

まず、S41で、括弧記号の候補のデフオルト値を設定
する。このときウインドウ内は、設定された括弧記号の
デフオルト値の部分が明らかとなるように、例えばウイ
ンドウ内のカーソル等で示しておく必要がある。
First, in S41, a default value of a bracket symbol candidate is set. At this time, it is necessary to indicate the default value of the set parentheses in the window with, for example, a cursor in the window so that the default value portion becomes clear.

S42では、KB4から入力されたキーコードを、KBC5を通
じて処理する。個々で入力されたキーが、括弧記号の候
補の変更を行うためのキーであるか、または括弧記号の
候補を決定するキーであるかを判断するためのキー入力
の部分である。
In S42, the key code input from KB4 is processed through KBC5. This is a key input portion for determining whether the individually input key is a key for changing the parenthesis symbol candidate or a key for determining the parenthesis symbol candidate.

S43では、S42で行われたキー入力が、括弧記号の候補
の変更を行うためのキーであるかどうかの判断を行う。
In S43, it is determined whether or not the key input performed in S42 is a key for changing a parenthesis symbol candidate.

括弧記号の候補の変更を行うためのキーであると判断
されなかつた場合はS45へ行く。
If it is not determined that the key is a key for changing the parenthesis symbol candidate, the process proceeds to S45.

括弧記号の候補の変更を行うためのキーであると判断
された場合は、S44へ行き、S42で入力されたキーの指示
通りに括弧記号の候補の変更を行い、それにともない、
ウインドウの候補表示も同時に変更する。
If it is determined that the key is a key for changing the bracket symbol candidate, go to S44, change the bracket symbol candidate as instructed by the key entered in S42, along with it,
The candidate display of the window is also changed at the same time.

S45では、S42で入力されたキーコードが括弧記号の候
補を決定するキーであるかどうかの判断を行う。
In S45, it is determined whether or not the key code input in S42 is a key for determining a parenthesis symbol candidate.

括弧記号の候補を決定するキーであると判断されなか
つた場合はS42へ行く。
If it is not determined that the key is a key for determining a bracket symbol candidate, the process proceeds to S42.

括弧記号の候補を決定するキーであると判断された場
合は、S46で、上記決定された括弧記号の候補番号をRAM
3の指定エリアに書込んで終了する。
If it is determined that the key is a key for determining a bracket symbol candidate, in S46, the determined bracket symbol candidate number is stored in RAM.
Write in the designated area of 3 and finish.

第5図は、上記手順で決定された括弧記号を文書デー
タエリアに書込むことが可能であるかどうかを判定する
フローチヤート図である。
FIG. 5 is a flowchart for determining whether or not the parentheses determined in the above procedure can be written in the document data area.

まずS51で、決定された括弧記号の候補(長さ)によ
り、文書データエリアのどの部分を書き換えればよいか
を明確にするため、文書データの書換アドレスを求め
る。
First, in S51, a rewriting address of the document data is obtained based on the determined candidate (length) of the parentheses in order to clarify which part of the document data area should be rewritten.

S52では、S51で決定された文書データの書換アドレス
が指す文書データエリアが存在するかどうかの判断を行
う。上記書換アドレスの文書データが存在すればS56へ
行く。上記書換アドレスの文書データが存在しなけれ
ば、S53へ進み、前記文書データを、書換アドレスが指
す部分まで新たに更新・拡張することが可能であるかど
うかの判断を更に行う。
In S52, it is determined whether or not there is a document data area indicated by the rewrite address of the document data determined in S51. If the document data of the rewriting address exists, the process goes to S56. If the document data of the rewriting address does not exist, the process proceeds to S53, and it is further determined whether or not the document data can be newly updated / extended to the portion indicated by the rewriting address.

文書データエリアを拡張・更新することができないな
らばS55へ行き、書換可能フラグをOFF(書換不可能モー
ド)にセツトし、その旨を示すエラーコードをセツトし
て終了する。
If the document data area cannot be expanded / updated, the process goes to S55, sets the rewritable flag to OFF (non-rewritable mode), sets an error code indicating that, and ends the processing.

文書データエリアを拡張・更新することが可能である
ならばS54で、上記条件を満たすように文書データエリ
アの拡張・更新を行う。
If the document data area can be extended / updated, the document data area is extended / updated in S54 so as to satisfy the above conditions.

S56では、S51で求められた文書データの書換アドレス
に、既にスペース以外の文字が存在するかどうかの判断
を行う。
In S56, it is determined whether a character other than a space already exists at the rewrite address of the document data obtained in S51.

上記アドレスに、既にスペース以外の文字が存在する
ならばS57へ行き、書換可能フラグをOFF(書換不可能モ
ード)にセツトし、その旨を示すエラーコードをセツト
して終了する。
If a character other than a space already exists in the above address, the process goes to S57, sets the rewritable flag to OFF (non-rewritable mode), sets an error code indicating that, and ends the processing.

上記アドレスに、スペース以外の文字が存在しないな
らば、S58へ行き、書換可能フラグをON(書換可能モー
ド)にセツトして終了する。
If there is no character other than a space in the above address, go to S58, set the rewritable flag to ON (rewriteable mode), and end.

なお、上記アドレスにスペース以外の文字が存在して
も、強制的に括弧記号を入力する仕様(強制書換モード
仕様)であるならば、第5図のフローチヤート図のS5
6、S57、S58は不要である。
Even if characters other than space exist in the above address, if the specification is forcibly entering parentheses (forced rewrite mode specification), S5 in the flowchart of FIG.
6, S57 and S58 are unnecessary.

[他の実施例] 前記実施例では、複数行にわたる縦長の括弧記号の入
力操作の例を示したが、本発明は、括弧記号のみではな
く、数字記号(ルート記号√、積分記号∫)等の入力に
も適用することができる。
[Other Embodiments] In the above-described embodiment, an example of input operation of a vertically long parenthesis symbol over a plurality of lines has been described. Can also be applied to the input of.

また、本発明の文書処理装置の使用者が自由に登録し
て使用することができる「外字」等に関しても適用する
ことができる。この場合、前記実施例の説明で、文字パ
ターンを記憶するところはROM2ではなくRAM3となる。
Further, the present invention is also applicable to “external characters” that can be freely registered and used by a user of the document processing apparatus of the present invention. In this case, the character pattern is stored in the RAM 3 instead of the ROM 2 in the description of the embodiment.

[発明の効果] 以上説明したように、本発明によれば、種類が同じで
長さの異なる括弧記号の複数の候補をウインドウ上に表
示し、文書中のカーソルの位置と、前記表示された複数
の候補の中から選択された括弧記号とに基づいて、当該
括弧記号を出力する前記文書中の位置を決定し、前記決
定さた文書中の位置に前記選択された括弧記号のコード
を格納することにより、所望の長さの格好記号が候補と
して表示され、オペレータに選択肢として提供されるの
で、長さの異なる括弧記号を入力する場合にも、始点及
び終点の二点を指示する必要はなく、複数の候補の中か
ら選択するという操作のみで長さの指定をも可能とし、
操作性を向上させることができる。
[Effects of the Invention] As described above, according to the present invention, a plurality of candidates of parentheses of the same type but of different lengths are displayed on the window, and the position of the cursor in the document and the displayed A position in the document to output the parentheses is determined based on a parenthesis selected from a plurality of candidates, and a code of the selected parenthesis is stored in the determined position in the document. By doing so, the appearance symbol of the desired length is displayed as a candidate and provided to the operator as an option. Therefore, even when inputting parentheses symbols having different lengths, it is not necessary to specify the two points of the start point and the end point. Instead, it is possible to specify the length only by selecting from multiple candidates,
Operability can be improved.

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

第1図は、本発明に係る文書処理装置の構成を示すブロ
ツク図、 第2図は、括弧記号/候補記号のテーブルを示す図、 第3図は、編集文書データ書換処理のフローチヤートを
示す図、 第4図は、候補選択処理のフローチヤートを示す図、 第5図は、書換可能判定処理のフローチヤートを示す図
である。 1……CPU、2……ROM、3……RAM、4……キーボー
ド、5……キーボードコントローラ、6……バツフアメ
モリ、7……表示装置、8……表示装置コントローラ、
9……印字装置、10……印字装置コントローラ、11……
システムバス
FIG. 1 is a block diagram showing a configuration of a document processing apparatus according to the present invention, FIG. 2 is a diagram showing a table of parentheses / candidate symbols, and FIG. 3 is a flowchart showing a process of rewriting edited document data. FIG. 4 is a diagram showing a flowchart of a candidate selection process, and FIG. 5 is a diagram showing a flowchart of a rewritable determination process. 1 ... CPU, 2 ... ROM, 3 ... RAM, 4 ... keyboard, 5 ... keyboard controller, 6 ... buffer memory, 7 ... display device, 8 ... display device controller
9 ... printing device, 10 ... printing device controller, 11 ...
System bus

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】種類が同じで長さの異なる括弧記号の複数
の候補をウインドウ上に表示し、文書中のカーソルの位
置と、前記表示された複数の候補の中から選択された括
弧記号とに基づいて、当該括弧記号を出力する前記文書
中の位置を決定し、 前記決定された文書中の位置に前記選択された括弧記号
のコードを格納することを特徴とする文書処理方法。
1. A plurality of candidates for parentheses of the same type but having different lengths are displayed on a window, and a position of a cursor in a document and a parenthesis selected from the displayed candidates are displayed. A position in the document at which the parentheses are to be output, and storing the code of the selected parentheses at the determined position in the document.
【請求項2】前記前記決定された位置に前記括弧記号の
出力が可能な否かを判断し、 前記判断により否と判断される場合に、更に文書エリア
の拡張が可能か否か及びスペース以外の文字が存在する
か否かの第二の判断をし、 前記第二の判断により文書エリアの拡張が可能であっ
て、かつスペース以外の文字が存在しないと判断された
場合に、前記括弧記号のコードを格納することを特徴と
する特許記載の範囲第1項に記載の文書処理方法。
2. It is determined whether or not the parentheses can be output at the determined position. If the determination is negative, whether or not the document area can be further expanded and other than the space are determined. A second determination as to whether or not the character exists, and if it is determined that the document area can be expanded and the character other than the space does not exist by the second determination, the parenthesis symbol The document processing method according to claim 1, wherein the code is stored.
【請求項3】前記格納されたコードに基づいて、前記選
択された括弧記号を選択された長さで文書とともに出力
することを特徴とする特許請求の範囲第1項に記載の文
書処理方法。
3. The document processing method according to claim 1, wherein the selected parentheses are output together with the document at a selected length based on the stored code.
JP62233170A 1987-09-16 1987-09-16 Document processing device Expired - Fee Related JP2622120B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62233170A JP2622120B2 (en) 1987-09-16 1987-09-16 Document processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62233170A JP2622120B2 (en) 1987-09-16 1987-09-16 Document processing device

Publications (2)

Publication Number Publication Date
JPS6474667A JPS6474667A (en) 1989-03-20
JP2622120B2 true JP2622120B2 (en) 1997-06-18

Family

ID=16950824

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62233170A Expired - Fee Related JP2622120B2 (en) 1987-09-16 1987-09-16 Document processing device

Country Status (1)

Country Link
JP (1) JP2622120B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3474961B2 (en) * 1995-04-07 2003-12-08 シャープ株式会社 Document information processing device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0719251B2 (en) * 1987-03-20 1995-03-06 富士通株式会社 Mathematical symbol input display method

Also Published As

Publication number Publication date
JPS6474667A (en) 1989-03-20

Similar Documents

Publication Publication Date Title
USRE34835E (en) Method and apparatus for editing document in colors
JP2622120B2 (en) Document processing device
JPH0522933B2 (en)
JP3378661B2 (en) Document processing device
JP3518306B2 (en) Bitmap display method and apparatus
EP0352065A2 (en) Text editing device
JPH05258044A (en) Method and device for processing document
JP3143503B2 (en) Image processing method and apparatus
JP2513480B2 (en) Document creation device
JPH05143053A (en) Word processor provided with enlarging and smoothing function
JPH02277667A (en) Registering method for character through operating panel of printer
JP2959490B2 (en) String addition method
JPH0820864B2 (en) Display control method
JPS62293286A (en) Word processor
JP2753015B2 (en) Attribute input method
JPH09325754A (en) Processor and method for document processing, and storage medium stored with same method
JPH0635980A (en) Cad device
JPH02896A (en) Character processor
JPH0664447B2 (en) Character processor
JPH05289647A (en) Character drawing control method
JPH0581947B2 (en)
JPH0634160B2 (en) Character processor
JPH0830614A (en) Document processor
JPH11154141A (en) Device and method for displaying graph and recording medium recording graph display program
JPS6310218A (en) Input system for kanji item

Legal Events

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