JP3467318B2 - Document information processing apparatus and document information processing method - Google Patents

Document information processing apparatus and document information processing method

Info

Publication number
JP3467318B2
JP3467318B2 JP15767794A JP15767794A JP3467318B2 JP 3467318 B2 JP3467318 B2 JP 3467318B2 JP 15767794 A JP15767794 A JP 15767794A JP 15767794 A JP15767794 A JP 15767794A JP 3467318 B2 JP3467318 B2 JP 3467318B2
Authority
JP
Japan
Prior art keywords
line
document
character
parenthesis
input
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
JP15767794A
Other languages
Japanese (ja)
Other versions
JPH0822457A (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.)
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 JP15767794A priority Critical patent/JP3467318B2/en
Publication of JPH0822457A publication Critical patent/JPH0822457A/en
Application granted granted Critical
Publication of JP3467318B2 publication Critical patent/JP3467318B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、日本語ワードプロセ
ッサやパーソナルコンピュータ等の文字、図形及び記号
を入力することのできる文書情報処理装置に関し、特
に、複数行又は複数列にわたる文字、図形及び記号の編
集が可能な文書情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document information processing apparatus such as a Japanese word processor or a personal computer capable of inputting characters, figures and symbols, and more particularly, it relates to a plurality of lines or columns of characters, figures and symbols. The present invention relates to an editable document information processing device.

【0002】[0002]

【従来の技術】従来、複数行にわたる括弧を入力する方
法として種々のものが提案されているが、複数の候補の
中から所望の括弧を選択する方法や、一度選択した括弧
を拡大、延長する方法等がある。
2. Description of the Related Art Conventionally, various methods of inputting parentheses over a plurality of lines have been proposed. However, a method of selecting a desired parenthesis from a plurality of candidates or enlarging or extending a parenthesis once selected. There are ways.

【0003】たとえば、特開平5−216877号公報
には、文書中に図形位置コードを持つことによって図形
の位置指定の操作を容易に行う文書作成装置が記載され
ている。特開昭64−74667号公報には、複数の文
字などを組み合わせることにより構成される文字を複数
の候補の中から選択し、入力操作を容易にする文書処理
装置が記載されている。特開平2−297125号公報
は、選択された括弧のパターンを適当な倍率で拡大処理
し、指定した文章の矩形領域に収まるような最適な括弧
を自動的に出力する情報処理装置が記載されている。特
開平5−2581号は、記号を構成する指定文字と対文
字とを設定し、これらの文字間に配置される文字列の行
数から適切な大きさの括弧を生成する文字入力装置が記
載されている。
For example, Japanese Unexamined Patent Publication No. 5-216877 discloses a document creation apparatus which has a graphic position code in a document to facilitate the operation of designating the position of a graphic. Japanese Unexamined Patent Publication No. 64-74667 discloses a document processing device that selects a character formed by combining a plurality of characters from a plurality of candidates and facilitates an input operation. Japanese Unexamined Patent Publication No. 2-297125 describes an information processing apparatus that enlarges a selected parenthesis pattern at an appropriate magnification and automatically outputs an optimal parenthesis that fits in a rectangular area of a designated sentence. There is. Japanese Unexamined Patent Publication No. 5-2581 describes a character input device that sets a designated character and a pair of characters that form a symbol, and generates a bracket of an appropriate size from the number of lines of a character string arranged between these characters. Has been done.

【0004】[0004]

【発明が解決しようとする課題】以上のような従来の文
字処理装置では、複数行にわたる括弧を入力する場合、
あらかじめ、その括弧が入力される領域を確保しておい
たり、文字を入力する前に括弧を入力しておく必要があ
った。
In the conventional character processing device as described above, when the parentheses on a plurality of lines are input,
It was necessary to secure an area for inputting the parentheses in advance, or to input the parentheses before inputting the characters.

【0005】また、すでに文字等が入力されている文書
に対して、複数行にわたる括弧を入力すると、先に入力
されている文字の上に括弧が重なってしまったり、文字
が消去されてしまうという問題点がある。図32、図3
3は、図31のようにすでに文字等が入力されている文
書に、後から複数行にわたる括弧及び拡大文字を入力し
た場合に、文字と括弧あるいは拡大文字が重複してしま
った例を示している。
Further, when a parenthesis extending over a plurality of lines is input to a document in which characters or the like have already been input, the parenthesis may be overlaid on the previously input character or the character may be erased. There is a problem. 32 and 3
3 shows an example in which characters and parentheses or enlarged characters are duplicated when parentheses and enlarged characters over a plurality of lines are entered later in a document in which characters or the like have already been input as shown in FIG. There is.

【0006】また、図30に示すように、文書中に複数
行にわたる括弧を入力する場合には、図28において、
まずこの括弧を入力する位置を指定し、その後図29の
ように括弧の向きを選択入力する必要があり、入力操作
が複雑になるという問題がある。
Further, as shown in FIG. 30, in the case of inputting a plurality of parentheses in a document, in FIG.
First, it is necessary to specify the position for inputting the parentheses, and then select and input the orientation of the parentheses as shown in FIG. 29, which causes a problem that the input operation becomes complicated.

【0007】また、すでに文字、記号等を入力済の文書
中に、複数行にわたる括弧を挿入する場合に、その挿入
する行の末端が改行コードでないときやその行に文字入
力をする余裕がないときには、複数行にわたる括弧を挿
入することによってその行にすでに存在していた文字が
はみ出して次行に影響を及ぼし、さらに文書のレイアウ
トが崩れてしまうという問題がある。
Further, when a parenthesis extending over a plurality of lines is inserted into a document in which characters, symbols, etc. have already been input, there is no room for inputting characters when the end of the inserted line is not a line feed code. Occasionally, inserting a parenthesis extending over a plurality of lines causes characters existing on the line to be extruded, affecting the next line, and further degrading the document layout.

【0008】そこで、この発明は以上のような事項を考
慮してなされたものであり、複数の行や列にわたる文
字、括弧又は図形などからなる記号を入力する際に、そ
の記号と重なる文書の領域を検出し、その領域をスペー
ス空間とすることによって、記号とすでに入力されてい
た文字列との重なりを防止する文書情報処理装置を提供
することを目的とする。
Therefore, the present invention has been made in consideration of the above matters, and when a symbol composed of characters, parentheses or figures extending over a plurality of rows or columns is input, a document overlapping the symbol is input. An object of the present invention is to provide a document information processing apparatus that detects an area and sets the area as a space space to prevent overlapping of a symbol and a character string that has already been input.

【0009】また、向きを持った括弧や図形などの記号
を入力する際に、その入力位置の周辺の文書情報からそ
の記号の向きを決定することによって、入力操作を容易
にすることを目的とする。
Further, when a symbol such as a bracket or a figure having an orientation is input, the orientation of the symbol is determined from the document information around the input position to facilitate the input operation. To do.

【0010】また、複数行にわたる括弧、文字又は図形
などからなる記号を入力する際に次行に影響を及ぼすこ
とがないように行末において空白文字の削除又は禁則処
理を行うことによって、文書のレイアウトがくずれるこ
とを防止する文書情報処理装置を提供することを目的と
する。
Also, when inputting a symbol consisting of parentheses, characters, or figures extending over a plurality of lines, blank characters are deleted or prohibited at the end of a line so as not to affect the next line, thereby laying out the document. It is an object of the present invention to provide a document information processing device that prevents collapse of the document.

【0011】[0011]

【課題を解決するための手段】この発明は、文書情報及
び複数行にわたる括弧記号の情報を入力する入力手段
と、前記括弧記号の情報及び文書情報を記憶する文書記
憶手段と、前記括弧記号の情報から括弧記号を入力する
のに必要な文書領域を求める括弧入力位置演算手段と、
前記括弧入力位置演算手段によって求められた文書領域
にすでに前記文書情報が存在するかどうかを判定する重
複判定手段と、前記重複判定手段がすでに文書情報が存
在すると判定した場合に、括弧記号が入力されるべき文
書領域に空白文字を挿入して、その文書領域に存在して
いた文書情報を移動させる文書移動手段と、前記文書移
動手段によって空白文字を挿入する場合に、前記空白文
字の挿入によって行末からはみ出す文字が次行の文字位
置に影響を及ぼすことがないように行末の文字処理を行
う行末処理手段と、前記括弧記号を入力させる位置の周
辺に存在する空白文字以外の文書情報の量により前記括
弧記号の向きを判定する方向判定手段と、前記方向判定
手段によって判定された向きを持つように前記挿入した
空白文字の領域に前記括弧記号を置換入力する括弧置換
手段と、移動させた文書情報、置換入力された括弧情報
及び行末処理手段によって生成された情報を前記文書記
憶手段に記憶する編集手段とを備えることを特徴とする
文書情報処理装置を提供するものである。図1に、この
発明の基本構成のブロック図を示す。同図において、こ
の発明は、文書情報及び複数行又は複数列にわたる記号
の情報を入力する入力手段81と、前記記号情報及び文書
情報を記憶する文書記憶手段83と、前記記号の情報から
記号が占める文書領域を求める記号位置演算手段82a
と、前記記号位置演算手段82aによって求められた文書
領域にすでに前記文書情報が存在するかどうかを判定す
る重複判定手段82bと、前記重複判定手段82bがすでに
文書情報が存在すると判定した場合に、記号が占める文
書領域を含む文書情報を移動させる文書移動手段82c
と、文書情報を移動させた後にできた空白領域に前記記
号を挿入する記号挿入手段82dと、移動させた文書情報
と挿入された記号の情報を前記文書記憶手段83に記憶さ
せる文書更新手段82eとを備えたことを特徴とする文書
情報処理装置を提供するものである。
According to the present invention, there is provided input means for inputting document information and parenthesized symbol information extending over a plurality of lines, document storage means for storing the parenthesized symbol information and the document information, and the parenthesized symbol information for storing the parenthesized symbol information. A parenthesis input position calculating means for obtaining a document area necessary for inputting a parenthesis symbol from information,
A duplication determination unit that determines whether or not the document information already exists in the document area obtained by the parenthesis input position calculation unit, and a parenthesis symbol is input when the duplication determination unit determines that the document information already exists. A document moving means for inserting a blank character in a document area to be moved and moving the document information existing in the document area, and a blank moving character when the blank character is inserted by the document moving means. An end-of-line processing means for processing the end-of-line character processing so that the characters protruding from the end of the line do not affect the character position of the next line, and the amount of document information other than the space character existing around the position where the parenthesis is entered. Direction determining means for determining the direction of the parentheses by means of, and in the area of the blank character inserted so as to have the direction determined by the direction determining means It is characterized by further comprising: parenthesis replacing means for substituting and inputting parenthesis symbols, and editing means for storing moved document information, substituting and inputting parentheses information, and information generated by the line end processing means in the document storage means. The present invention provides a document information processing device that does. FIG. 1 shows a block diagram of the basic configuration of the present invention. In the figure, the present invention is such that an input unit 81 for inputting document information and symbol information over a plurality of rows or columns, a document storage unit 83 for storing the symbol information and the document information, and a symbol from the symbol information. Symbol position calculation means 82a for obtaining the occupied document area
And a duplication determination unit 82b that determines whether the document information already exists in the document area obtained by the symbol position calculation unit 82a, and if the duplication determination unit 82b determines that the document information already exists, Document moving means 82c for moving the document information including the document area occupied by the symbol
And a symbol inserting means 82d for inserting the symbol into a blank area formed after moving the document information, and a document updating means 82e for storing the moved document information and the information of the inserted symbol in the document storing means 83. The present invention provides a document information processing device characterized by comprising:

【0012】さらに、この発明は、文書情報及び複数行
又は複数列にわたる記号の情報を入力する入力手段81
と、前記記号情報及び文書情報を記憶する文書記憶手段
83と、前記記号を入力させる位置の周辺に存在する空白
文字以外の文書情報の量により前記記号の向きを判定す
る記号方向判定手段84と、前記記号方向判定手段84によ
って判定された向きを持つように前記記号の情報を設定
し前記文書記憶手段83に記憶する編集手段82とを備えた
ことを特徴とする文書情報処理装置を提供するものであ
る。
Further, according to the present invention, input means 81 for inputting document information and symbol information extending over a plurality of lines or a plurality of columns.
And a document storage means for storing the symbol information and the document information
83, a symbol direction determining means 84 for determining the orientation of the symbol based on the amount of document information other than blank characters existing around the position for inputting the symbol, and an orientation determined by the symbol direction determining means 84. As described above, the document information processing apparatus is provided with the editing means 82 for setting the information of the symbol and storing it in the document storage means 83.

【0013】また、前記記号方向判定手段84が、前記入
力手段81によって複数行にわたる括弧が入力されかつ、
前記括弧の入力位置の左側に存在する空白行以外の文書
情報の行数が右側に存在する空白行以外の文書情報の行
数よりも少ない場合には、その括弧の向きを右側に開い
た左開き括弧と判定し、前記入力手段によって複数行に
わたる括弧が入力され、かつ前記括弧の入力された位置
の左側に存在する空白行以外の文書情報の行数が右側に
存在する行以外の文書情報の行数よりも多い場合には、
その括弧の向きを左側に開いた閉じ括弧と判定するよう
にすることが好ましい。
Further, the symbol direction determination means 84 is configured such that the input means 81 inputs parentheses extending over a plurality of lines, and
When the number of lines of document information other than the blank line existing on the left side of the input position of the parentheses is smaller than the number of lines of document information other than the blank line existing on the right side, the direction of the parenthesis is opened to the right. Document information other than a line in which the number of lines of the document information other than the blank line existing on the left side of the input position of the parenthesis is judged to be an open parenthesis, and a plurality of lines of parenthesis are input by the input means If there are more rows than
It is preferable to determine the direction of the parenthesis to be a closing parenthesis opened to the left.

【0014】さらに、この発明は、文書情報及び複数行
又は複数列にわたる記号の情報を入力する入力手段81
と、前記記号情報及び文書情報を記憶する文書記憶手段
83と、前記記号をすでに作成された文書上に挿入する場
合に、記号の挿入によって行末からはみ出す文字が次行
の文字位置に影響を及ぼすことがないように行末の文字
処理を行う行末処理手段85と、行末処理手段85の処理に
よって生成された情報を前記文書記憶手段83に記憶する
編集手段82とを備えたことを特徴とする文書情報処理装
置を提供するものである。
Further, according to the present invention, input means 81 for inputting document information and symbol information extending over a plurality of lines or a plurality of columns.
And a document storage means for storing the symbol information and the document information
83, and a line end processing means for performing character processing at the end of a line so that a character protruding from the end of the line due to the insertion of the symbol does not affect the character position of the next line when the above-mentioned symbol is inserted into a document already created. A document information processing apparatus comprising: a line end processing unit 85; and an editing unit 82 for storing information generated by the processing of the line end processing unit 85 in the document storage unit 83.

【0015】ここで前記行末処理手段85が、前記記号を
挿入する文書位置の行末に前記記号に相当する空白文字
があることを検出した場合に、前記記号に相当する空白
文字を削除するようにしてもよい。
When the line end processing means 85 detects that there is a blank character corresponding to the symbol at the line end of the document position where the symbol is to be inserted, the blank character corresponding to the symbol is deleted. May be.

【0016】また前記行末処理手段85が前記記号を挿入
する文書位置の行末に空白文字以外の文字があることを
検出した場合、次行に影響を及ぼすことがないようにそ
の空白文字以外の文字を禁則処理するようにしてもよ
い。
Further, when the line end processing means 85 detects that there is a character other than a blank character at the line end of the document position where the symbol is inserted, the character other than the blank character is added so as not to affect the next line. May be prohibited.

【0017】ここで、入力手段81としては、通常キーボ
ード、又はペン、マウス、もしくはトラックボール等の
ポインティングデバイスが用いられる。文書記憶手段83
としては、RAMを用いることが好ましいが、ハードデ
ィスクやフロッピーディスクなどの外部記憶装置を用い
てもよい。
Here, as the input means 81, a keyboard or a pointing device such as a pen, a mouse or a trackball is usually used. Document storage means 83
For this, it is preferable to use a RAM, but an external storage device such as a hard disk or a floppy disk may be used.

【0018】編集手段82、記号方向判定手段84、行末処
理手段85、記号位置演算手段82a、重複判定手段82b、
文書移動手段82c、記号挿入手段82d、文書更新手段82
eは、CPUを中心としてRAM、ROM、I/Oイン
タフェース、及びタイマー等からなるいわゆるマイクロ
コンピュータを用いることが好ましく、ROMの中に内
蔵されたソフトウェアによって文書情報処理装置のこれ
らの手段の動作を制御させることが好ましい。
Editing means 82, symbol direction determination means 84, line end processing means 85, symbol position calculation means 82a, duplication determination means 82b,
Document moving means 82c, symbol inserting means 82d, document updating means 82
For e, it is preferable to use a so-called microcomputer including a CPU, a RAM, a ROM, an I / O interface, and a timer, and the software incorporated in the ROM controls the operations of these means of the document information processing apparatus. It is preferable to control.

【0019】[0019]

【作用】この発明によれば、複数行又は複数列にわたる
記号を入力する際に、その記号と重なる領域を検出し、
その領域に空白文字を挿入し、その記号とすでに入力さ
れていた文字列との重なりを防止するようにしているの
で、より効率的で容易な複数行又は複数列にわたる記号
の入力を実現することができる。
According to the present invention, when a symbol over a plurality of rows or a plurality of columns is input, a region overlapping the symbol is detected,
A blank character is inserted in the area to prevent the symbol from overlapping with the character string that has already been input, so that more efficient and easy input of symbols across multiple lines or columns can be realized. You can

【0020】また、この発明によれば、複数行又は複数
列にわたる記号の向きをその記号を入力する位置の周辺
の文書情報の量によって判断するので、複数行又は複数
列にわたる記号の入力操作を容易にすることができる。
Further, according to the present invention, since the direction of a symbol over a plurality of rows or a plurality of columns is determined by the amount of document information around the position where the symbol is input, the input operation of the symbols over a plurality of rows or columns is performed. Can be easy.

【0021】また、この発明によれば、複数行又は複数
列にわたる記号を入力する際に次行に影響を及ぼすこと
がないように記号を入力する位置の行末において空白文
字の削除又は禁則処理を行うようにしているので、文書
のレイアウトがくずれることを防止できる。
Further, according to the present invention, when a symbol over a plurality of lines or a plurality of columns is input, blank characters are deleted or prohibited at the end of the line where the symbol is input so as not to affect the next line. Since this is done, it is possible to prevent the layout of the document from being destroyed.

【0022】[0022]

【実施例】以下、図に示す実施例に基づいて説明する。
なお、これによって、この発明が限定されるものではな
い。また、この発明では、複数行や複数列にわたる括
弧、図形又は拡大文字等を取り扱うが、これらを総称し
て複数行記号と呼ぶ。以下の実施例では、この複数行記
号の代表例である複数行にわたる括弧を主に例として説
明するが、複数行にわたる括弧に限らず、他の複数行記
号に対しても同様に処理できる。
Embodiments will be described below based on the embodiments shown in the drawings.
The present invention is not limited to this. Further, in the present invention, parentheses, figures, enlarged characters and the like extending over a plurality of lines and a plurality of columns are handled, but these are collectively referred to as a multi-line symbol. In the following embodiments, the parentheses extending over a plurality of lines, which is a typical example of the multi-line symbols, will be mainly described as an example, but the present invention is not limited to the parentheses extending over a plurality of lines, and other multi-line symbols can be similarly processed.

【0023】図2は、この発明の1実施例の文書情報装
置の構成を示すブロック図である。図1において、1は
ROM11に格納されているプログラムを実行することに
よって装置全体の制御とデータの受渡しを行う中央処理
装置(CPU),2は装置の各構成要素がデータの受け
渡しを行うアドレス及びデータバス、3は、この装置で
表示/印字可能な文字、記号などのビットマップ及びア
ウトラインフォントデータを保持しているCGROM、
4は表示装置の画面上の座標に1対1で対応するアドレ
ス構成を持ち、表示されている画面をビットマップで保
持しているVRAM、5はVRAM4に保持されている
1画面分の表示データを液晶やCRTなどの表示装置6
にリアルタイムに表示する表示コントローラ、7はフロ
ッピーディスク8を制御して文書データなどの保存と呼
出を行うFDコントローラ、9はプリンタ10をコントロ
ールしてRAM12に保存されている文書データ等をCG
ROM3から呼び出して印字するプリンタコントロー
ラ、11はCPUが装置を制御するために参照する制御プ
ログラムを保持しているROM(リードオンリーメモ
リ)、12は文書データ(図形データ、罫線データ、括弧
データを含む)を保持するテキストバッファ13や、CP
Uが装置の制御や文書で編集を行う際に使用するデータ
などを保持するポインタ/変数バッファ14として使用さ
れるRAM(ランダムアクセスメモリ)、15は、キーボ
ード16より入力されたキーコードをCPU1にわたすキ
ーボードコントローラ、17はペン入力装置18より入力さ
れたペンの状態(ペンで画面を触っているか否か)とペ
ンで画面を触ったときのその座標をCPU1にわたすペ
ンコントローラ、19はブザー20を制御してブザーを鳴ら
すブザーコントローラである。
FIG. 2 is a block diagram showing the configuration of the document information device according to one embodiment of the present invention. In FIG. 1, reference numeral 1 is a central processing unit (CPU) that controls the entire apparatus and transfers data by executing a program stored in the ROM 11, and 2 is an address where each component of the apparatus transfers data. The data bus 3 is a CGROM that holds bitmap and outline font data such as characters and symbols that can be displayed / printed by this device,
Reference numeral 4 is a VRAM that has an address configuration that corresponds to the coordinates on the screen of the display device in a one-to-one manner, and that holds the displayed screen as a bitmap. Reference numeral 5 is display data for one screen that is held in the VRAM 4. Display device 6 such as liquid crystal or CRT
, A FD controller for displaying the document data etc. by controlling the floppy disk 8 and a FD controller 9 for controlling the printer 10 to store and call the document data etc.
A printer controller that calls from the ROM 3 to print, 11 is a ROM (read only memory) that holds a control program that the CPU refers to for controlling the apparatus, and 12 is document data (including graphic data, ruled line data, and bracket data. ) Holding a text buffer 13 or CP
A RAM (random access memory) 15 used as a pointer / variable buffer 14 for holding data used when U controls the device or edits in a document, 15 is a key code input from the keyboard 16 to the CPU 1. The keyboard controller 17 passes the state of the pen (whether the screen is touched by the pen) input from the pen input device 18 and the coordinates when the screen is touched by the pen to the CPU 1, and 19 is the buzzer 20. It is a buzzer controller that controls the sound and sounds the buzzer.

【0024】図3(a)は、本発明における複数行括弧の
入力位置を説明する図である。この図において、21は入
力可能範囲、22は入力文字列の改行マーク、23は空白文
字、24として示すA、B、C、Dは入力された文字、25
は複数行括弧の始点入力位置、26は終点入力位置、27は
カーソル位置を示す。
FIG. 3 (a) is a diagram for explaining the input position of the multi-line bracket in the present invention. In this figure, 21 is a possible input range, 22 is a line feed mark of the input character string, 23 is a blank character, A, B, C and D shown as 24 are the input characters, 25
Indicates a start point input position of a multi-line bracket, 26 indicates an end point input position, and 27 indicates a cursor position.

【0025】図3(b)は本実施例における複数行括弧が
入力された後の状態を説明する図である。括弧が入力さ
れる位置に空白文字が挿入されすでに入力されていた文
字A、B、Cが右へ移動される。また、括弧に限らず通
常の文字列での文字の拡大においても同様の入力が可能
である。図3において、28は括弧制御文字コードのある
位置、30は挿入された空白文字を示す。また、29は入
力された括弧である。
FIG. 3 (b) is a diagram for explaining the state after the input of plural line parentheses in this embodiment. A blank character is inserted at the position where the parenthesis is input, and the characters A, B, and C that have already been input are moved to the right. Further, similar input is possible not only in parentheses but also in normal character expansion of characters. In FIG. 3, 28 indicates a position where the parenthesis control character code exists, and 30 indicates an inserted blank character. Moreover, 29 is the input parentheses.

【0026】図4、5は、文字の拡大においての空白文
字挿入による文字列の移動の様子を示したものである。
このようにすれば図33のように、従来の拡大文字を入
力する際に起こっていた重複をさけるために、手動によ
る空白文字の挿入や文字の移動を行う必要がない。図5
において、31は挿入された空白文字、32は、拡大された
文字を示す。
4 and 5 show how a character string is moved by inserting a blank character when enlarging a character.
In this way, as shown in FIG. 33, it is not necessary to manually insert a blank character or move a character in order to avoid a duplication that occurs when a conventional enlarged character is input. Figure 5
In, 31 indicates an inserted blank character and 32 indicates an enlarged character.

【0027】図6、7は行末が空白文字の場合の複数行
括弧作成時の始点/終点指定の様子を示したものであ
る。このとき、従来の括弧作成では、括弧を挿入したた
めに行末の空白文字が次行に改行されてしまい、文字列
は崩れてしまっていた。しかし、入力される括弧に相当
する空白文字33を削除すれば、図7のように文字列の改
行を行うことなく括弧を挿入することができる。
FIGS. 6 and 7 show how to specify the start point / end point when creating a multi-line bracket when the line end is a blank character. At this time, in the conventional parenthesis creation, the blank character at the end of the line was broken to the next line because the parenthesis was inserted, and the character string was broken. However, if the blank character 33 corresponding to the input parenthesis is deleted, the parenthesis can be inserted without the line break of the character string as shown in FIG.

【0028】このような文字列の削除は空白文字の場合
は可能だが、文字列が行末まであるときはその行末文字
を削除するわけにはいかない。このようなときの操作方
法を図8、9に示す。図8は、行末が文字列(A、B、
C)である場合の複数行括弧入力時の様子を示したもの
である。このとき、括弧を挿入すると従来の方法では自
動的に改行されてしまっていた。図9は複数行括弧入力
時に行末の禁則処理を行った状態を示す図である。図の
ように行末の改行されるべき文字34(A、B、C)を禁
則処理によってそのまま行末に残し、括弧を挿入する。
このようにすれば、文字列のレイアウトを壊さずに文字
を入力することができる。
Such deletion of a character string is possible in the case of a blank character, but when the character string reaches the end of the line, the end-of-line character cannot be deleted. The operation method in such a case is shown in FIGS. In FIG. 8, the end of the line is a character string (A, B,
In the case of C), the state of inputting a plurality of lines of parentheses is shown. At this time, if parentheses were inserted, the line was automatically broken by the conventional method. FIG. 9 is a diagram showing a state in which the prohibition process at the end of a line is performed when inputting a plurality of line parentheses. As shown in the figure, the characters 34 (A, B, C) to be fed at the end of the line are left at the end of the line by the prohibition process, and the parenthesis is inserted.
In this way, characters can be input without breaking the layout of the character string.

【0029】図10、11は、図8の複数行括弧入力と
は逆に、括弧を削除した場合の括弧の位置にあった空白
文字削除と、行末への空白文字の挿入の様子を示したも
のである。図10のように削除したい複数行括弧の制御
文字コード28にカーソル27を持っていき、図11のよう
に複数行括弧を削除すると共に、括弧の位置に挿入され
ていた空白文字を削除し、レイアウトが崩れないように
する。また行末には空白文字35を挿入する。図12のよ
うに禁則処理による行末がはみ出している状態のデータ
があり、括弧を削除する場合には、図13のように禁則
処理を解く。このようにすれば、括弧削除によって文字
列が崩れることはない。
In contrast to the multi-line parenthesis input in FIG. 8, FIGS. 10 and 11 show a state of deleting a blank character at the position of the parenthesis when the parenthesis is deleted and inserting a blank character at the end of the line. It is a thing. Move the cursor 27 to the control character code 28 of the multi-line bracket you want to delete as shown in FIG. 10, delete the multi-line bracket as shown in FIG. 11, and delete the blank character inserted at the position of the bracket. Make sure the layout does not collapse. A blank character 35 is inserted at the end of the line. As shown in FIG. 12, there is data in which the line ends are protruding due to the prohibition processing, and when the parentheses are deleted, the prohibition processing is solved as shown in FIG. In this way, the character string will not be broken by deleting the parentheses.

【0030】図14は文書の各行のデータ構造を示して
いる。図のように文書データ中の1行の情報は行制御コ
ード部36と通常文字または制御文字コード部37に分けら
れ、テキストバッファ13に保持されている。
FIG. 14 shows the data structure of each line of the document. As shown in the figure, the information of one line in the document data is divided into a line control code part 36 and a normal character or control character code part 37 and held in the text buffer 13.

【0031】行制御コード部36では、最大行文字数38、
行文字数39、禁則文字数40などが保持され、通常文字ま
たは制御文字コード部37では、空白文字などの通常文字
41または、複数行括弧コードなどの制御コード42が保持
されている。
In the line control code section 36, the maximum number of line characters is 38,
The line character number 39, the prohibited character number 40, etc. are retained, and the normal character or control character code part 37 is
41 or a control code 42 such as a multi-line bracket code is held.

【0032】図15は、制御文字コード部の制御コード
の情報内容であり、複数行括弧(a)、簡易図形(b)
及び拡大文字(c)の3つの型に分けられ、それぞれの
データ情報が保持されている。同図において、43は複数
行括弧制御文字コードであることを示すヘッダフラグで
あり、44は制御文字コードの長さを示すコード長、45は
図16の表に示される括弧の種類番号、46は図17に示
される方向番号を保持する方向フラグ、47は複数行記号
の縦サイズ、48は横サイズである。49は簡易図形制御文
字コードであることを示すヘッダフラグであり、50は、
図16に示される図形の種類番号である。ここで方向フ
ラグ46=0ならば方向なし図形であることを示し、方向
フラグ=1〜4ならば方向あり図形を示す。51は拡大文
字制御文字コードであることを示すヘッダフラグであ
り、52は文字の種類を示す文字コードである。
FIG. 15 shows the information contents of the control code of the control character code part, and includes plural line parentheses (a) and simple figure (b).
And enlarged character (c) are divided into three types, and the respective data information is held. In the figure, 43 is a header flag that indicates a multi-line parenthesis control character code, 44 is a code length that indicates the length of the control character code, 45 is the type number of the parentheses shown in the table of FIG. 16, 46 Is a direction flag holding the direction number shown in FIG. 17, 47 is the vertical size of the multi-line symbol, and 48 is the horizontal size. 49 is a header flag indicating that it is a simple figure control character code, and 50 is
It is the type number of the figure shown in FIG. Here, the direction flag 46 = 0 indicates that the figure has no direction, and the direction flags = 1 to 4 indicate that the figure has direction. Reference numeral 51 is a header flag indicating that it is an expanded character control character code, and 52 is a character code indicating the type of character.

【0033】図16は、複数行記号の種類を示す種類番
号表である。図17は、方向フラグに対する各複数行記
号の向きの表である。ただし、方向フラグ46が0のとき
は方向なし図形として扱われる。
FIG. 16 is a type number table showing types of multi-line symbols. FIG. 17 is a table of the directions of each multiline symbol with respect to the direction flag. However, when the direction flag 46 is 0, it is treated as a no-direction graphic.

【0034】図18は、文書全体と入力される複数行に
わたる括弧との位置座標の関係を示したものである。53
は、RAM12に保存されている全文書データの1ページ
目から最終ページまでのレイアウトであり、54はページ
境界、55はVRAM4上にビットマップで展開され、表
示装置6に表示されている現在の編集領域、56は入力さ
れた括弧の始点の位置、57は入力された括弧の終点の位
置、58は文書1行あたりの文字数(X)、59は文書の全
行数(Y)、60は文書の1ページあたりの行数(Y
P)、61は現在の編集領域の左上位置すなわち編集原点
の文書全体の左上位置すなわち文書原点を基準とした横
方向座標(X1)、62は編集原点の文書原点を基準とし
た縦方向座標(Y1)、63は編集領域55の横文字数(X
D)、64は編集領域55の縦行数(YD)、65は編集原点
を基準とした括弧の始点の位置の横方向座標(x1)、
66は編集原点を基準とした始点位置の縦方向座標(y
1)である。
FIG. 18 shows a positional coordinate relationship between the entire document and parentheses that are input over a plurality of lines. 53
Is a layout from the first page to the last page of all the document data stored in the RAM 12, 54 is a page boundary, and 55 is a bitmap developed on the VRAM 4 and displayed on the display device 6. The editing area, 56 is the position of the start point of the input parenthesis, 57 is the position of the end point of the input parenthesis, 58 is the number of characters per document line (X), 59 is the total number of lines of the document (Y), and 60 is Number of lines per page of document (Y
P), 61 is the upper left position of the current editing area, that is, the upper left position of the entire document at the editing origin, that is, the horizontal coordinate (X1) with reference to the document origin, and 62 is the vertical coordinate with respect to the document origin of the editing origin ( Y1) and 63 are the number of horizontal characters (X
D), 64 is the number of vertical lines in the editing area 55 (YD), 65 is the horizontal coordinate (x1) of the position of the parenthesis starting point with respect to the editing origin,
66 is the vertical coordinate (y
1).

【0035】図19は、複数行記号を入力する際の編集
領域の文書例を示したものであり、69は文字未入力領
域、70は方向決定に利用する左側領域、71は方向決定に
利用する右側領域、72は方向決定に利用する上側領域、
73は方向決定に利用する下側領域である。
FIG. 19 shows an example of a document in the editing area when a multi-line symbol is input. 69 is a character non-input area, 70 is a left area used for direction determination, 71 is used for direction determination. Right area, 72 is an upper area used for direction determination,
73 is a lower area used for direction determination.

【0036】図20は、この実施例における複数行記号
の表示の処理のフローチャートである。VRAM4のデ
ータはリアルタイムに表示コントローラ5によって表示
装置に表示されるので、ROM11に保持されている表示
プログラムは、RAM12のテキストバッファ13のデータ
からVRAM[4]のビットマップ表示データを構成す
る制御手順であれば良い。
FIG. 20 is a flow chart of the processing for displaying a multi-line symbol in this embodiment. Since the data in the VRAM 4 is displayed on the display device by the display controller 5 in real time, the display program held in the ROM 11 is a control procedure for forming the bitmap display data in the VRAM [4] from the data in the text buffer 13 in the RAM 12. If it is good.

【0037】以下にこの実施例における表示動作のフロ
ーを説明する。まずステップS1にて処理を行う先頭行
をテキストバッファに入力するなどの初期化処理を行
い、ステップS2に進む。ステップS2では、テキスト
バッファの処理中行の行制御コード部36の解析を行い、
処理中行の行文字数39を得てステップS3に進む。
The flow of the display operation in this embodiment will be described below. First, initialization processing such as inputting the first line to be processed in the text buffer is performed in step S1, and the process proceeds to step S2. In step S2, the line control code section 36 of the line being processed in the text buffer is analyzed,
The line character number 39 of the line being processed is obtained and the process proceeds to step S3.

【0038】ステップS3では、1行の表示が終了した
かどうか判断し、終了すなわち現在処理している行の表
示した文字コード数=行文字数39ならばステップS12
に進み、1行の表示が終了していなければステップS4
に進む。ステップS4では処理中行の通常文字又は制御
文字コード部37から1文字を読み出し、通常文字ならば
ステップS14に進み、制御文字ならば、それぞれ制御
文字コードフラグを判別し、複数行括弧ならステップS
5に、簡易図形ならばステップS6に、拡大文字ならば
ステップS7に進む。
In step S3, it is determined whether or not the display of one line is completed. If the display is completed, that is, the number of displayed character codes of the line currently being processed = the number of line characters is 39, step S12.
If the display of one line is not completed, go to step S4.
Proceed to. In step S4, one character is read from the normal character or the control character code section 37 of the line being processed, and if it is a normal character, the process proceeds to step S14. If it is a control character, the control character code flag is discriminated.
5. If it is a simple graphic, proceed to step S6. If it is an enlarged character, proceed to step S7.

【0039】ステップS5では、制御文字コード部情報
の括弧のビットマップをCGROM3から選択しステッ
プS9に進む。ステップS6では、制御文字コード部情
報の図形の種類49、方向フラグ46、縦サイズ47、横サイ
ズ48より、表示する簡易図形のビットマップをCGRO
M3から選択しステップS9に進む。
In step S5, the parenthesis bitmap of the control character code part information is selected from the CGROM 3 and the process proceeds to step S9. In step S6, the bitmap of the simple graphic to be displayed is CGRO based on the graphic type 49, the direction flag 46, the vertical size 47, and the horizontal size 48 of the control character code portion information.
Select from M3 and proceed to step S9.

【0040】ステップS7では、制御文字コード部情報
の文字の種類49、方向フラグ46、縦サイズ47、横サイズ
48より、表示する拡大文字のビットマップをCGROM
3から選択しステップS9に進む。ステップS9では、
選択されたビットマップが表示領域(X1(61),Y1
(62))から(X1(61)+XD(64),Y1(62)+
YD(64))の範囲内に重なっているかを計算し、重な
っていればステップS10に進み、重なっていなければ
ステップS11に進む。
In step S7, the character type 49 of the control character code portion information, the direction flag 46, the vertical size 47, the horizontal size
From 48, CGROM the bitmap of the enlarged characters to be displayed
Select from 3 and go to step S9. In step S9,
The selected bitmap is displayed in the display area (X1 (61), Y1
(62)) to (X1 (61) + XD (64), Y1 (62) +
It is calculated whether or not they overlap within the range of YD (64). If they overlap, the process proceeds to step S10, and if they do not overlap, the process proceeds to step S11.

【0041】ステップS10では、選択されたビットマ
ップの表示領域に重なっている部分をVRAMに転送し
て表示し、ステップS11に進む。ステップS11で
は、処理中行の次の文字に着目するため、ポインタを進
めステップS3に戻る。ステップS12は処理中行が最
終行であるか判断し、最終行であれば表示処理を終了
し、そうでなければステップS13へ進む。ステップS
13では処理行を次の行へ進めステップS2に戻る。
In step S10, the portion of the selected bitmap that overlaps the display area is transferred to the VRAM and displayed, and the flow advances to step S11. In step S11, since the next character on the line being processed is focused on, the pointer is advanced and the process returns to step S3. In step S12, it is determined whether or not the line being processed is the last line, and if it is the last line, the display process is terminated, and if not, the process proceeds to step S13. Step S
At 13, the processing line is advanced to the next line and the process returns to step S2.

【0042】次に、複数行記号の入力の処理を図21の
括弧又は拡大文字等の入力のフローチャートに基づいて
説明する。ステップS16では、方向フラグを0(方向
なし)にして、複数行記号に関する情報を処理するとき
に使用する各種バッファなどの初期化を行い、ステップ
S17に進む。ステップS17では、入力する複数行記
号の分類(複数行括弧、方向なし図形、方向あり図形、
拡大文字)と図16の種類番号(分類が拡大文字の場合
は文字コード)を利用者に入力をうながすための表示を
して設定する。
Next, the process of inputting a multi-line symbol will be described with reference to the flow chart for inputting parentheses or enlarged characters in FIG. In step S16, the direction flag is set to 0 (no direction), and various buffers and the like used when processing the information regarding the plural line symbols are initialized, and the process proceeds to step S17. In step S17, the classification of the input multi-line symbols (multi-line brackets, no direction graphic, direction graphic,
The enlarged character) and the type number of FIG. 16 (character code when the classification is the enlarged character) are displayed and set to prompt the user for input.

【0043】ステップS18では、利用者にカーソル
(27)をキーボードにて移動する操作などを行わせるこ
とにより、指定した複数行記号の始点の編集原点に対す
る位置(x1(65),y1(66))を取り込む。このと
きカーソルは1文字分右に移動し、VRAM4の始点の
位置を反転するなどして利用者に始点の入力位置を知ら
せるとよい。
In step S18, the user operates the keyboard (27) to move the cursor (27), etc., and thereby the position (x1 (65), y1 (66)) of the start point of the designated multiline symbol with respect to the editing origin. ) Is taken in. At this time, the cursor may be moved to the right by one character, and the position of the starting point of the VRAM 4 may be reversed to inform the user of the input position of the starting point.

【0044】ステップS19では、始点の入力と同様
に、利用者にカーソル27をキーボードにて移動する操作
などを行わせることにより、指定した複数行記号の終点
の編集原点に対する位置(x2(65),y2(66))を
取り込む。このときカーソルは1文字分右に移動し、V
RAM4の始点の位置を反転するなどして利用者に始点
の入力位置を知らせるとよい。なお、この状態が図2に
相当する。
In step S19, the position of the end point of the designated multi-line symbol with respect to the editing origin (x2 (65) , Y2 (66)). At this time, the cursor moves to the right by one character and V
It is advisable to inform the user of the input position of the starting point by reversing the position of the starting point of the RAM 4. This state corresponds to FIG.

【0045】ステップS20では、入力された始点と終
点の位置が、ページの境界をまたいでいないか、ハード
的な制約、たとえばプリンタの印字範囲によって複数行
記号を入力できない位置でないかなどを判断し、問題が
あればブザーコントローラ19を制御しブザーを鳴らし、
利用者に入力が不適当である旨を伝え、ステップS18
に戻る。問題がなければ、ステップS22に進み、ステ
ップS17にて決定された複数行記号が複数行括弧等の
方向あり記号であればステップS27に進み、そうでな
ければステップS24に進む。
In step S20, it is determined whether the input start point and end point positions do not cross page boundaries, or are hard constraints such as positions where multiple line symbols cannot be input due to the printer print range. , If there is a problem, control the buzzer controller 19 and sound the buzzer,
Inform the user that the input is inappropriate, and step S18
Return to. If there is no problem, the process proceeds to step S22, and if the multi-line symbol determined in step S17 is a directional symbol such as multi-line brackets, the process proceeds to step S27, and if not, the process proceeds to step S24.

【0046】ステップS24では複数行記号の表示領域
に空白文字の適当な数の空白文字の挿入を行いステップ
S25に進む。ステップS25では複数行記号の挿入に
より、文字のはみ出しがないかチェックし、適当な行末
空白削除及び禁則処理を行いステップS26に進む。
In step S24, an appropriate number of blank characters are inserted in the display area of the multi-line symbol, and the process proceeds to step S25. In step S25, it is checked whether or not there is a character protrusion due to the insertion of a multi-line symbol, appropriate line-end blank deletion and prohibition processing are performed, and the flow advances to step S26.

【0047】ステップS26では、複数行記号の始点の
位置の空白を制御文字コードに置き換えて複数行記号入
力処理を終了する。このとき、置き換えられる空白文字
はステップS24にて挿入されたものであり、制御文字
コードはステップS17にて選択された複数行記号分類
に応じた制御文字コードフラグ、コード長、分類に応じ
た種類番号あるいは文字コード、ステップS27及びス
テップS23にて決定される方向フラグ、|y1−y2
|+1にて求められる縦サイズ、|x1−x2|+1に
て求められる横サイズにて構成される。
In step S26, the blank at the position of the starting point of the multi-line symbol is replaced with the control character code, and the multi-line symbol input process ends. At this time, the blank character to be replaced is the one inserted in step S24, and the control character code is the control character code flag according to the multi-line symbol classification selected in step S17, the code length, and the type according to the classification. Number or character code, direction flag determined in steps S27 and S23, | y1-y2
The vertical size is calculated by | +1 and the horizontal size is calculated by | x1-x2 | +1.

【0048】ステップS27では、複数行記号を入力す
る領域の周辺の文書中の文字列の配置から方向フラグを
決定あるいは決定することができないなら決定せずに、
ステップS28に進む。ステップS28では、方向が決
定、すなわち方向フラグ>0ならばステップS29に進
み、方向が決定されていない場合、すなわち方向フラグ
=0ならばステップS23に進む。
In step S27, if the direction flag cannot be determined or cannot be determined from the arrangement of the character strings in the document around the area for inputting a plurality of line symbols, the direction flag is not determined.
It proceeds to step S28. In step S28, if the direction is determined, that is, the direction flag> 0, the process proceeds to step S29, and if the direction is not determined, ie, the direction flag = 0, the process proceeds to step S23.

【0049】ステップS29では、決定された方向の複
数行記号で良いか利用者に問いかけるための表示を行い
指示待ちとする。ここで利用者がキーボード等により決
定された方向でよいことを示す指示を行えばステップS
24に進み、利用者が方向入力を再度やり直す場合には
ステップS23に進む。
In step S29, a display is displayed to ask the user whether the plural-line symbols in the determined direction are acceptable, and the instruction is awaited. Here, if the user gives an instruction indicating that the direction determined by the keyboard or the like is acceptable, step S
In step 24, if the user inputs the direction again, the process proceeds to step S23.

【0050】図22は、図21のステップS27におけ
る複数行記号の方向決定サブルーチンのフローチャート
である。ステップS30では、|x1−x2|>|y1
−y2|ならば、入力される方向のある複数行記号は列
方向に長いので、その方向決定領域は複数行記号の上下
にあるものとしてステップS35に進む。また|x1−
x2|<|y1−y2|ならば、入力される方向のある
複数行記号は行方向に長いので、その方向決定領域は複
数行記号の左右にあるものとしてステップS31に進
む。
FIG. 22 is a flowchart of the subroutine for determining the direction of a plurality of line symbols in step S27 of FIG. In step S30, | x1-x2 |> | y1
If -y2 |, a plural line symbol having an input direction is long in the column direction, so that the direction determining region is above and below the plural line symbol, and the process proceeds to step S35. Also | x1-
If x2 | <| y1-y2 |, the multi-line symbol having the input direction is long in the row direction, so that the direction determining area is on the left and right of the multi-line symbol, and the process proceeds to step S31.

【0051】また|x1−x2|=|y1−y2|なら
ば入力される方向のある複数行記号の方向決定領域が決
定出来ないとして、方向のある複数行図形が行単位の文
字列要素の関係を示すもの(図17の方向フラグ1又は
2)か、列単位の関係を示すもの(図17の方向フラグ
3又は4)か、利用者に選択を即すなどして問いかけを
し、行単位の場合はステップS31へ、そうでなければ
ステップS35へ進む。
If | x1−x2 | = | y1−y2 |, it is assumed that the direction determining area of the input multi-line symbol cannot be determined, and the directional multi-line figure is a character string element in line units. Whether it indicates the relationship (direction flag 1 or 2 in FIG. 17) or the relationship on a column basis (direction flag 3 or 4 in FIG. 17), asks the user to make a selection, etc. If it is a unit, the process proceeds to step S31, and if not, the process proceeds to step S35.

【0052】ステップS31では、方向決定に利用する
左側領域70((x1−n−1,y1)から(x1−1,
y2)の矩形領域:nは1以上)の空行数(領域(70)
内で改行コード22、文字未入力領域69、空白文字23しか
存在しない行)の数を数え、ステップS32へ進む。
In step S31, the left side area 70 ((x1-n-1, y1) to (x1-1,
y2) rectangular area: n or more blank lines (area (70))
The number of the line feed code 22, the character non-input area 69, and the line in which only the blank character 23 exists) is counted, and the process proceeds to step S32.

【0053】ステップS32では、方向決定に利用する
右側領域71((x1,y1)から(x1+n,y2)の
矩形領域:nは1以上)の空行数(領域(71)内で改行
コード22、文字未入力領域69、空白文字23しか存在しな
い行)の数を数え、ステップS33へ進む。
In step S32, the number of blank lines of the right side area 71 (rectangular area from (x1, y1) to (x1 + n, y2): n is 1 or more) used for direction determination (line feed code 22 within area (71)) , The character non-input area 69, the line in which only the blank character 23 exists) are counted, and the process proceeds to step S33.

【0054】ステップS33では、領域(70)の空行数
と領域(71)の空行数とを比べ、領域(71)の空行数が
大きければステップS34へ進み、そうでなければステ
ップS41へ進む。
In step S33, the number of blank lines in the area (70) is compared with the number of blank lines in the area (71). If the number of blank lines in the area (71) is large, the process proceeds to step S34, and if not, in step S41. Go to.

【0055】ステップS34では、方向フラグを2にし
て方向決定終了する。ステップS35では、方向決定に
利用する上側領域72((x1,y1−n−1)から(x
2,y1−1)の矩形領域:nは1以上)の空列数(領
域(72)内で改行コード22、文字未入力領域69、空白文
字23しか存在しない列)の数を数え、ステップS36へ
進む。
In step S34, the direction flag is set to 2 and the direction determination is completed. In step S35, the upper area 72 ((x1, y1-n-1) to (x
2, y1-1) rectangular area: n is 1 or more) Count the number of empty columns (line feed code 22, character non-input area 69, and blank character 23 in area (72)) Proceed to S36.

【0056】ステップS36では、方向決定に利用する
下側領域73((x1,y2−1)から(x2,y1−n
−1)の矩形領域:nは1以上)の空列数(領域(73)
内で改行コード22、文字未入力領域69、空白文字23しか
存在しない列)の数を数え、ステップS37へ進む。ス
テップS37では、領域(72)の空列数と方向決定領域
(73)の空列数とを比べ、領域(72)の空行数が大きけ
ればステップS38へ進み、そうでなければステップS
39へ進む。
In step S36, the lower area 73 ((x1, y2-1) to (x2, y1-n) used for determining the direction is used.
-1) Rectangular area: n is 1 or more) Number of empty columns (area (73)
The number of the line feed code 22, the character non-input area 69, and the column in which only the blank character 23 exists is counted, and the process proceeds to step S37. In step S37, the number of empty columns in the area (72) is compared with the number of empty columns in the direction determining area (73). If the number of empty rows in the area (72) is large, the process proceeds to step S38, and if not, the step S38.
Proceed to 39.

【0057】ステップS38では方向フラグを4にして
方向決定終了する。ステップS39では、領域(72)の
空列数と領域(73)の空列数とを比べ、方向決定領域
(73)の空行数が大きければステップS40へ進み、そ
うでなければ方向未決定として終了する。ステップS4
0では方向フラグを3にして方向決定終了する。
In step S38, the direction flag is set to 4 and the direction determination is completed. In step S39, the number of empty columns in the area (72) is compared with the number of empty columns in the area (73). If the number of empty rows in the direction determining area (73) is large, the process proceeds to step S40. To end. Step S4
At 0, the direction flag is set to 3 and the direction determination is completed.

【0058】ステップS41では、領域(70)の空行数
と領域(71)の空行数とを比べ、領域(70)の空行数が
大きければステップS42へ進み、そうでなければ方向
未決定として終了する。ステップS42では方向フラグ
を1にして方向決定終了する。
In step S41, the number of blank lines in the area (70) is compared with the number of blank lines in the area (71). If the number of blank lines in the area (70) is large, the process proceeds to step S42. It ends as a decision. In step S42, the direction flag is set to 1 and the direction determination is completed.

【0059】図23は、図21のステップS24におい
て括弧を入力する重複領域へ空白を挿入するサブルーチ
ンのフローチャートである。ステップS43では、複数
行記号入力時に自動的に空白文字を挿入するモードであ
るか確認して、挿入するモードでなければステップS5
1へ進み、挿入するモードであればステップS44へ進
む。ステップS44では、テキストバッファ13中の処理
行を入力する複数行記号の始点25のある行(テキストバ
ッファ中の最初の行からY1(62)+y1(66)行目)
にしてステップS45へ進む。
FIG. 23 is a flow chart of a subroutine for inserting a blank into the overlapping area in which parentheses are input in step S24 of FIG. In step S43, it is confirmed whether or not the mode is to automatically insert a blank character when a multi-line symbol is input, and if it is not the mode to insert, a step S5
If the mode is the insertion mode, the process proceeds to step S44. In step S44, a line having a start point 25 of a multi-line symbol for inputting a process line in the text buffer 13 (Y1 (62) + y1 (66) line from the first line in the text buffer)
Then, the process proceeds to step S45.

【0060】ステップS45では空白を挿入する文字と
行数を、空白文字挿入文字数(x2−x1+1)、空白
文字挿入行数(y2−y1+1)としてステップS46
へ進む。ステップS46では、処理中のx1文字目に空
白文字を挿入し、処理中行の行制御コード部36の行文字
数39に1を加えて、ステップS47へ進む。ステップS
47では処理中行に対する空白文字の挿入数を空白文字
挿入文字数と比べて、等しければステップS48へ進
み、そうでなければステップS46へ戻る。
In step S45, the number of characters and the number of lines into which blanks are inserted are set as the number of blank character insertion characters (x2-x1 + 1) and the number of blank character insertion lines (y2-y1 + 1) in step S46.
Go to. In step S46, a blank character is inserted in the x1 character being processed, 1 is added to the line character number 39 of the line control code section 36 of the line being processed, and the process proceeds to step S47. Step S
In 47, the number of blank characters inserted in the line being processed is compared with the number of blank character inserted characters, and if they are equal, the process proceeds to step S48, and if not, the process returns to step S46.

【0061】ステップS48では、空白挿入処理を行っ
た行数と空白文字挿入行数を比べ、等しければ終了し、
そうでなければステップS49へ進む。ステップS49
では、処理行を次の行に進め、処理行に対する空白文字
の入力文字数のカウンタを初期化して、ステップS46
へ戻る。ステップS50では、テキストバッファの始点
位置に空白文字を挿入し、始点のある行の行制御コード
部36の行文字数39に1を加えて終了する。
In step S48, the number of blank-inserted lines is compared with the number of blank-character-inserted lines.
Otherwise, it proceeds to step S49. Step S49
Then, the processing line is advanced to the next line, the counter of the number of input characters of the blank character for the processing line is initialized, and step S46.
Return to. In step S50, a blank character is inserted at the start point position of the text buffer, 1 is added to the line character number 39 of the line control code section 36 of the line having the start point, and the process ends.

【0062】図24は図21のステップS25における
行末処理のフローチャートである。ステップS52で
は、テキストバッファ13中の処理行を入力する複数行記
号の始点25のある行(テキストバッファ中の最初の行か
らY1(62)+y1(66)行目)に変更して、ステップ
S53へ進む。ステップS53では、処理中行の行文字
数[39])>(最大行文字数[38]+禁則文字数[4
0])ならばステップS54へ進み、そうでなければス
テップS57へ進む。ステップS54では処理行の行末
(通常文字又は制御コード部37の行文字数39文字目)が
空白文字ならステップS55へ進み、そうでなければス
テップS56へ進む。
FIG. 24 is a flowchart of the line end processing in step S25 of FIG. In step S52, the process line in the text buffer 13 is changed to the line having the start point 25 of the input multi-line symbol (the first line in the text buffer to the Y1 (62) + y1 (66) th line), and the step S53 is performed. Go to. In step S53, the line character number of the line being processed [39])> (maximum line character number [38] + prohibited character number [4]
0]), the process proceeds to step S54, and if not, the process proceeds to step S57. In step S54, if the end of the processing line (normal character or 39th line character number of control code portion 37) is a blank character, the process proceeds to step S55. If not, the process proceeds to step S56.

【0063】ステップS55では、処理行の行末空白文
字を削除して、行文字数39を1減らしてステップS53
へ戻る。ステップS56では、禁則文字数40を増やして
ステップS53へ戻る。ステップS57では処理を行っ
た行が(y2−y1+1)に等しいならば終了し、そう
でなければステップS58へ進む。ステップS58で
は、処理行を次の行に進め、ステップS53へ戻る。
In step S55, the blank character at the end of the line of the processing line is deleted, the number of line characters 39 is reduced by 1, and step S53 is performed.
Return to. In step S56, the number of prohibited characters is increased by 40 and the process returns to step S53. In step S57, if the processed line is equal to (y2-y1 + 1), the process ends; otherwise, the process proceeds to step S58. In step S58, the processing line is advanced to the next line, and the process returns to step S53.

【0064】次に、複数行記号削除時の処理を、図25
の括弧又は図形の削除のフローチャートに基づいて説明
する。ステップS59において、利用者にキーボード16
あるいはペン入力装置18で画面上の複数行記号を選択さ
せる。このとき、選択された複数行記号の始点に関する
テキストバッファ中の位置及び表示画面上の位置を得て
ステップS60へ進む。
Next, referring to FIG.
Description will be made based on a flowchart of deleting parentheses or figures. In step S59, the user receives a keyboard 16
Alternatively, the pen input device 18 is used to select a plurality of line symbols on the screen. At this time, the position in the text buffer and the position on the display screen regarding the start point of the selected multi-line symbol are obtained, and the process proceeds to step S60.

【0065】ステップS60では、指定された複数行記
号の始点の位置にある制御文字コードの縦サイズ48か
ら、削除する複数行記号行数、列数を得てステップS6
1へ進む。ステップS61では、選択された始点の位置
にある制御文字コードを空白文字に置き換えてステップ
S62へ進む。
In step S60, the number of lines and the number of columns of the multiline symbol to be deleted is obtained from the vertical size 48 of the control character code at the position of the start point of the designated multiline symbol, and the step S6
Go to 1. In step S61, the control character code at the position of the selected starting point is replaced with a blank character, and the process proceeds to step S62.

【0066】ステップS62では、削除される複数記号
に重なる空白文字を削除してステップS63へ進む。ス
テップS63では必要に応じて、空白削除を行った行の
行末に空白の追加を行ったり、禁則処理を解除したりし
て文書レイアウトを整え終了する。
In step S62, blank characters overlapping the deleted plural symbols are deleted, and the flow advances to step S63. In step S63, a blank is added to the end of the blank-deleted line or the prohibition process is canceled to arrange the document layout and finish the process, if necessary.

【0067】図26は、図25のステップS62におけ
る括弧を入力する重複領域から空白文字を削除するサブ
ルーチンのフローチャートである。ステップS64で
は、複数行記号削除時に自動的に空白文字を削除するモ
ードであるかどうか確認して、空白文字削除モードであ
ればステップS65へ進み、そうでなければステップS
71へ進む。
FIG. 26 is a flow chart of a subroutine for deleting blank characters from the overlapping area in which parentheses are input in step S62 of FIG. In step S64, it is confirmed whether or not the mode is to automatically delete the blank character when deleting the plural line symbols, and if the mode is the blank character deletion mode, the process proceeds to step S65.
Proceed to 71.

【0068】ステップS65では、テキストバッファ13
中の処理行を削除する複数行記号の始点25のある行(テ
キストバッファ中の最初の行からY1(62)+y1(6
6)行目)にしてステップS66へ進む。ステップS6
6では空白を削除する文字と行数を、空白文字削除文字
数(x2−x1+1)、空白文字削除行数(y2−y1
+1)としてステップS67へ進む。
In step S65, the text buffer 13
The line with the start point 25 of the multi-line symbol that deletes the processing line in it (Y1 (62) + y1 (6 from the first line in the text buffer
(6) Line) and proceeds to step S66. Step S6
In 6, the number of characters and the number of lines for deleting the blanks are the number of blank character deletion characters (x2-x1 + 1), the number of blank character deletion lines (y2-y1).
+1) and the process proceeds to step S67.

【0069】ステップS67は、処理行のx1文字目に
て空白文字を削除し、処理行の行制御コード部36の行文
字数39から1を減じて、空白削除処理を行った各行に対
して行空白削除数カウンタをRAM12のポインタ/変数
バッファ14に持ち、削除した空白数を保持する。次に、
ステップS68では、処理行に対する空白文字の削除数
を空白文字削除文字数と比べて、等しければステップS
69へ進み、そうでなければステップS67へ戻る。
In step S67, a blank character is deleted at the x1th character of the processing line, 1 is subtracted from the line character number 39 of the line control code section 36 of the processing line, and a line is deleted for each line for which the blank deletion process is performed. A blank deletion number counter is held in the pointer / variable buffer 14 of the RAM 12 and holds the deleted blank number. next,
In step S68, the number of blank characters deleted for the processing line is compared with the number of blank character deleted characters, and if they are equal, step S68.
If not, the process returns to step S67.

【0070】ステップS69では、空白削除処理を行っ
た行数と空白文字削除行数を比べ、等しければ終了し、
そうでなければステップS70へ進む。ステップS70
では、処理行を次の行に進め、処理行に対する空白文字
の削除文字数のカウンタを初期化して、ステップS67
へ戻る。ステップS71では、テキストバッファの始点
位置の空白文字を削除し、始点のあった行の行制御コー
ド部36の行文字数39から1を減じて終了する。
In step S69, the number of lines subjected to the blank deletion processing is compared with the number of blank character deleted lines.
Otherwise, it proceeds to step S70. Step S70
Then, the process line is advanced to the next line, the counter of the number of blank characters deleted for the process line is initialized, and step S67 is executed.
Return to. In step S71, the blank character at the starting point position of the text buffer is deleted, 1 is subtracted from the line character number 39 of the line control code part 36 of the line where the starting point is, and the process is ended.

【0071】図27は、図25のステップS63におけ
る複数行記号削除時の行末処理のフローチャートであ
る。ステップS73では、テキストバッファ13中の処理
行を削除する複数行記号の始点25のある行(テキストバ
ッファ中の最初の行からY1(62)+y1(66)行目)
として初期化し、空白を削除した行数を、空白文字削除
行数(y2−y1+1)として初期化し、ステップS7
4へ進む。
FIG. 27 is a flowchart of the line end processing when deleting a plurality of line symbols in step S63 of FIG. In step S73, the line having the start point 25 of the multiline symbol for deleting the processed line in the text buffer 13 (Y1 (62) + y1 (66) line from the first line in the text buffer)
And the number of lines with blanks deleted is initialized as the number of blank character deleted lines (y2-y1 + 1), and step S7
Go to 4.

【0072】ステップS74では、処理行の禁則文字数
40から処理行の行空白削除カウンタを減じてステップS
75へ進む。この行空白削除カウンタは、図26の空白
の削除サブルーチンで生成されたものである。ステップ
S75では、処理中行の禁則文字数(40)<0ならばス
テップS76へ進み、そうでなければステップS83へ
進む。ステップS76では、処理中行の通常文字又は制
御文字コード部37の行末が改行文字コードであれば、ス
テップS81へ進み、そうでなければステップS77へ
進む。
In step S74, the number of prohibited characters in the processing line
Subtract the line blank deletion counter of the process line from 40 and step S
Proceed to 75. This row blank deletion counter is generated by the blank deletion subroutine of FIG. In step S75, if the prohibited character number (40) in the line being processed <0, the process proceeds to step S76, and if not, the process proceeds to step S83. In step S76, if the normal character of the line being processed or the line end of the control character code portion 37 is the line feed character code, the process proceeds to step S81. If not, the process proceeds to step S77.

【0073】ステップS77では、処理行の行末に空白
文字を挿入して、行文字数39に1を加えてステップS7
8へ進む。ステップS78では、処理行の禁則文字数40
に1を加えてステップS79へ進む。ステップS79で
は、処理行の禁則文字数(40)=0であればステップS
82に進み、そうでなければステップS80に進む。
In step S77, a blank character is inserted at the end of the processing line, 1 is added to the line character number 39, and step S7 is performed.
Go to 8. In step S78, the number of prohibited characters in the processing line is 40
1 is added to step S79. In step S79, if the number of prohibited characters in the processing line (40) = 0, step S79
If not, the process proceeds to step S80.

【0074】ステップS80では、処理中行の行文字数
39が文書の書式などによって決定される処理行の行最大
文字数38と等しければステップS81へ進み、そうでな
ければステップS77へ戻る。ステップS81では、処
理中行の禁則文字数40を0にしてステップS82へ進
む。
In step S80, the number of line characters of the line being processed
If 39 is equal to the maximum line number 38 of the processing line determined by the document format or the like, the process proceeds to step S81, and if not, the process returns to step S77. In step S81, the prohibited character number 40 of the line being processed is set to 0, and the process proceeds to step S82.

【0075】ステップS82では、空白文字削除行数分
についての処理がすべて終了し対象行が他になければ終
了し、まだ処理を行うべき行があればステップS83へ
進む。ステップS83では、処理行を次の行に進めてス
テップS74へ戻る。なお、図20〜図27の各種処理
は、CPU1がROMに内蔵された制御プログラムに従
って実行するものである。
In step S82, the processing for the number of blank character deleted lines is completed, and if there is no other target line, the process ends. If there is a line to be processed, the process proceeds to step S83. In step S83, the processing line is advanced to the next line and the process returns to step S74. 20 to 27 are executed by the CPU 1 according to the control program stored in the ROM.

【0076】[0076]

【発明の効果】この発明によれば、複数行又は複数列に
わたる記号を入力する際に、その記号と重なる領域を検
出し、その領域に空白文字を挿入し、その記号とすでに
入力されていた文字列との重なりを防止するようにして
いるので、より効率的で容易な複数行又は複数列にわた
る記号の入力を実現することができる。
According to the present invention, when a symbol over a plurality of lines or a plurality of columns is input, an area overlapping the symbol is detected, a blank character is inserted in the area, and the symbol is already input. Since the overlapping with the character string is prevented, it is possible to realize more efficient and easy input of symbols over a plurality of rows or columns.

【0077】また、この発明によれば、複数行又は複数
列にわたる記号の向きをその記号を入力する位置の周辺
の文書情報の量によって判断するので、複数行又は複数
列にわたる記号の入力操作を容易にすることができる。
Further, according to the present invention, the direction of a symbol over a plurality of rows or a plurality of columns is determined by the amount of document information around the position where the symbol is input. Can be easy.

【0078】また、この発明によれば、複数行又は複数
列にわたる記号を入力する際に次行に影響を及ぼすこと
がないように記号を入力する位置の行末において空白文
字の削除又は禁則処理を行うようにしているので、文書
のレイアウトがくずれることを防止できる。
Further, according to the present invention, when a symbol over a plurality of lines or a plurality of columns is input, blank characters are deleted or prohibited at the end of the line where the symbol is input so as not to affect the next line. Since this is done, it is possible to prevent the layout of the document from being destroyed.

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

【図1】この発明の基本構成を示すブロック図である。FIG. 1 is a block diagram showing a basic configuration of the present invention.

【図2】この発明の文書情報処理装置の一実施例におけ
るブロック図である。
FIG. 2 is a block diagram of an embodiment of the document information processing apparatus of the present invention.

【図3】この発明の一実施例において、複数行にわたる
括弧を入力するときの画面表示の説明図である。
FIG. 3 is an explanatory diagram of a screen display when inputting parentheses over a plurality of lines in one embodiment of the present invention.

【図4】カーソルにより1文字を指定したときの画面表
示の説明図である。
FIG. 4 is an explanatory diagram of a screen display when one character is designated by a cursor.

【図5】この発明において、拡大文字を入力したときの
画面表示の説明図である。
FIG. 5 is an explanatory diagram of a screen display when an enlarged character is input in the present invention.

【図6】行末が空白文字の場合の複数行括弧の作成を示
す説明図である。
FIG. 6 is an explanatory diagram showing creation of multi-line brackets when the line end is a blank character.

【図7】行末が空白文字の場合の複数行括弧の作成を示
す説明図である。
FIG. 7 is an explanatory diagram showing the creation of multi-line brackets when the line end is a blank character.

【図8】行末が文字列の場合の複数行括弧の作成を示す
説明図である。
FIG. 8 is an explanatory diagram showing creation of multi-line brackets when a line end is a character string.

【図9】図8において、行末の禁則処理をした場合の説
明図である。
9 is an explanatory diagram of a case where prohibition processing at the end of a line is performed in FIG. 8;

【図10】複数行括弧を削除する場合の説明図である。FIG. 10 is an explanatory diagram of a case where a multiline parenthesis is deleted.

【図11】複数行括弧を削除し、行末へ空白文字を挿入
する場合の説明図である。
FIG. 11 is an explanatory diagram for deleting a plurality of line parentheses and inserting a blank character at the end of a line.

【図12】複数行括弧入力時に行末禁則された括弧の削
除をする場合の説明図である。
FIG. 12 is an explanatory diagram of a case where a parenthesis prohibited at the end of a line is deleted when a plurality of parentheses are input.

【図13】複数行括弧入力時に行末禁則された括弧の削
除をする場合の説明図である。
FIG. 13 is an explanatory diagram of a case where a parenthesis prohibited at the end of a line is deleted when a plurality of parentheses are input.

【図14】テキストバッファに格納される文書データの
データ構造の説明図である。
FIG. 14 is an explanatory diagram of a data structure of document data stored in a text buffer.

【図15】制御文字コード部の制御コードのデータ構造
の説明図である。
FIG. 15 is an explanatory diagram of a data structure of a control code of a control character code section.

【図16】複数行記号の種類を示す種類番号の例を示す
説明図である。
FIG. 16 is an explanatory diagram showing an example of type numbers indicating types of multi-line symbols.

【図17】方向フラグに対する各複数行記号の向きの例
を示した説明図である。
FIG. 17 is an explanatory diagram showing an example of the orientation of each multi-line symbol with respect to the direction flag.

【図18】文書全体と入力される複数行にわたる括弧と
の位置座標の関係を示した説明図である。
FIG. 18 is an explanatory diagram showing a positional coordinate relationship between the entire document and parentheses that are input over a plurality of lines.

【図19】複数行記号を入力する際の編集領域の文書例
を示した説明図である。
FIG. 19 is an explanatory diagram showing an example of a document in an edit area when a multiline symbol is input.

【図20】複数行記号の表示の処理のフローチャートで
ある。
FIG. 20 is a flowchart of a process for displaying a multi-line symbol.

【図21】括弧又は拡大文字等の入力処理フローチャー
トである。
FIG. 21 is a flowchart for inputting parentheses or enlarged characters.

【図22】複数行記号の方向決定サブルーチンのフロー
チャートである。
FIG. 22 is a flowchart of a direction determination subroutine for a multi-line symbol.

【図23】括弧を入力する重複領域へ空白を挿入するサ
ブルーチンのフローチャートである。
FIG. 23 is a flowchart of a subroutine for inserting a blank into an overlapping area for inputting parentheses.

【図24】行末処理のフローチャートである。FIG. 24 is a flowchart of line end processing.

【図25】括弧又は図形の削除処理のフローチャートで
ある。
FIG. 25 is a flowchart of a process of deleting parentheses or figures.

【図26】括弧を入力する重複領域から空白文字を削除
するサブルーチンのフローチャートである。
FIG. 26 is a flowchart of a subroutine for deleting a blank character from an overlapping area where parentheses are input.

【図27】複数行記号削除時の行末処理のフローチャー
トである。
FIG. 27 is a flowchart of line end processing when deleting a plurality of line symbols.

【図28】従来例において、複数行括弧を入力する時の
始点と終点の位置等を示した説明図である。
FIG. 28 is an explanatory diagram showing the positions of the start point and the end point when inputting a plurality of parentheses in the conventional example.

【図29】従来例において、括弧の向きを選択する表示
を示した説明図である。
FIG. 29 is an explanatory diagram showing a display for selecting the orientation of parentheses in the conventional example.

【図30】従来例において、入力された複数行括弧を表
示した説明図である。
FIG. 30 is an explanatory diagram showing input multiple-line brackets in the conventional example.

【図31】従来例において、複数行括弧を入力する時の
始点と終点の位置等を示した説明図である。
FIG. 31 is an explanatory diagram showing positions of a start point and an end point when inputting a plurality of parentheses in a conventional example.

【図32】従来例において、すでに入力された文字に重
なって入力された複数行括弧の状態を示した説明図であ
る。
FIG. 32 is an explanatory diagram showing a state of multiline parentheses that have been input overlapping an already input character in a conventional example.

【図33】従来例において、すでに入力された文字に重
なって入力された拡大文字の状態を示した説明図であ
る。
FIG. 33 is an explanatory diagram showing a state of an enlarged character input overlapping with an already input character in the conventional example.

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

1 中央処理装置(CPU) 2 アドレス及びデータバス 3 CGROM 4 VRAM 5 表示コントローラ 6 表示装置 7 FDコントローラ 8 フロッピーディスク 9 プリンタコントローラ 10 プリンタ 11 ROM 12 RAM 13 テキストバッファ 14 ポインタ/編集バッファ 15 キーボードコントローラ 16 キーボード 17 ペンコントローラ 18 ペン 19 ブザーコントローラ 20 ブザー 1 Central processing unit (CPU) 2 Address and data bus 3 CGROM 4 VRAM 5 Display controller 6 Display device 7 FD controller 8 floppy disks 9 Printer controller 10 Printer 11 ROM 12 RAM 13 text buffer 14 Pointer / Edit buffer 15 keyboard controller 16 keyboard 17 Pen controller 18 pen 19 Buzzer controller 20 buzzer

フロントページの続き (56)参考文献 特開 昭60−17487(JP,A) 特開 平3−156666(JP,A) 特開 平3−30056(JP,A) 特開 平2−110657(JP,A) 特開 平5−2581(JP,A) 特開 平5−216877(JP,A) 特開 平2−297125(JP,A) 特開 昭64−74667(JP,A) NEC PC−9800シリーズ日本語ワ ードプロセッサー太郎Ver.4[解説 編],株式会社ジャストシステム,1989 年,第2版,p220 (58)調査した分野(Int.Cl.7,DB名) G06F 17/21 - 17/24 Continuation of front page (56) Reference JP-A-60-17487 (JP, A) JP-A-3-156666 (JP, A) JP-A-3-30056 (JP, A) JP-A-2-110657 (JP , A) JP 5-2581 (JP, A) JP 5-216877 (JP, A) JP 2-297125 (JP, A) JP 64-74667 (JP, A) NEC PC- 9800 Series Japanese Word Processor Taro Ver. 4 [Commentary], Just System Co., Ltd., 1989, 2nd edition, p220 (58) Fields investigated (Int.Cl. 7 , DB name) G06F 17/21-17/24

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 文書情報及び複数行にわたる括弧記号の
情報を入力する入力手段と、 前記括弧記号の情報及び文書情報を記憶する文書記憶手
段と、 前記括弧記号の情報から括弧記号を入力するのに必要な
文書領域を求める括弧入力位置演算手段と、 前記括弧入力位置演算手段によって求められた文書領域
にすでに前記文書情報が存在するかどうかを判定する重
複判定手段と、 前記重複判定手段がすでに文書情報が存在すると判定し
た場合に、括弧記号が入力されるべき文書領域に空白文
字を挿入して、その文書領域に存在していた文書情報を
移動させる文書移動手段と、 前記文書移動手段によって空白文字を挿入する場合に、
前記空白文字の挿入によって行末からはみ出す文字が次
行の文字位置に影響を及ぼすことがないように行末の文
字処理を行う行末処理手段と、 前記括弧記号を入力させる位置の周辺に存在する空白文
字以外の文書情報の量により前記括弧記号の向きを判定
する方向判定手段と、 前記方向判定手段によって判定された向きを持つように
前記挿入した空白文字の領域に前記括弧記号を置換入力
する括弧置換手段と、 移動させた文書情報、置換入力された括弧情報及び行末
処理手段によって生成された情報を前記文書記憶手段に
記憶する編集手段とを備えることを特徴とする文書情報
処理装置。
1. An input unit for inputting document information and parenthesized symbol information over a plurality of lines, a document storage unit for storing the parenthesized symbol information and the document information, and a parenthesis symbol input from the parenthesized symbol information. A parenthesis input position calculating means for obtaining a necessary document area, a duplication determination means for determining whether or not the document information already exists in the document area obtained by the parenthesis input position computing means, and the duplication determination means already When it is determined that the document information exists, a blank character is inserted in the document area where the parenthesis is to be input, and the document moving means for moving the document information existing in the document area, and the document moving means, When inserting a space character,
An end-of-line processing means for processing the end-of-line character so that a character protruding from the end of the line by inserting the blank character does not affect the character position of the next line, and a blank character existing around the position for inputting the parentheses Direction determining means for determining the orientation of the parenthesis symbol according to the amount of document information other than, and parenthesis substitution for substituting the parenthesis symbol in the area of the inserted blank character so as to have the orientation determined by the direction determining means A document information processing apparatus comprising: means, and moved document information, replacement input parenthesis information, and information generated by the end-of-line processing means in the document storage means.
【請求項2】 前記方向判定手段が、前記入力手段によ
って入力された複数行にわたる括弧記号の入力位置の左
側に存在する空白行以外の文書情報の行数が右側に存在
する空白行以外の文書情報の行数よりも少ない場合に
は、その括弧の向きを右側に開いた左開き括弧と判定
し、 前記入力手段によって入力された複数行にわたる括弧記
号の入力位置の左側に存在する空白行以外の文書情報の
行数が右側に存在する行以外の文書情報の行数よりも多
い場合には、その括弧の向きを左側に開いた閉じ括弧と
判定することを特徴とする請求項記載の文書情報処理
装置。
2. A document other than a blank line in which the number of lines of document information other than a blank line existing on the left side of the input position of the parenthesized symbols extending over a plurality of lines input by the input means is present on the right side by the direction determining means. If the number of lines of information is less than the number of lines of information, the direction of the parenthesis is determined to be a left open parenthesis opened to the right, and a blank line existing on the left side of the input position of the parenthesis symbol over the plurality of lines input by the input means is not included. number of lines document information when larger than the number of rows document information other than the line that is present on the right side, according to claim 1, wherein determining that the closing parenthesis opened orientation of the brackets on the left of Document information processing device.
【請求項3】 入力手段によって複数行にわたる括弧記
号の情報を入力し、括弧入力位置演算手段によって前記
括弧記号の情報から、その括弧記号を入力するのに必要
な文書領域を求め、重複判定手段によってこの文書領域
にすでに文書情報が存在するか否かを判定し、すでに文
書情報が存在すると判定した場合には、文書移動手段に
よって括弧記号が入力されるべき文書領域に空白文字を
挿入し、その文書領域に存在していた文書情報を移動さ
せた後、行末処理手段によって前記空白文字の挿入によ
って行末からはみ出す文字が次行の文字位置に影響を及
ぼすことがないように行末の文字処理を行ない、方向判
定手段によって前記括弧記号を入力させる位置の周辺に
存在する空白文字以外の文書情報の量により前記括弧記
号の向きを判定し、前記判定された括弧記号の向きを持
つように、括弧置換手段によって前記挿入した空白文字
の領域に前記括弧記号を置換入力するようにした文書情
報処理装置の括弧記号の入力方法。
3. The input means inputs the information of the parenthesis symbols over a plurality of lines, and the parenthesis input position calculation means obtains the document area necessary for inputting the parenthesis symbols from the information of the parenthesis symbols, and the duplication determination means. By this, it is determined whether or not the document information already exists in this document area, and when it is determined that the document information already exists, a blank character is inserted in the document area where the parenthesis symbol should be input by the document moving means, After moving the document information existing in the document area, the end-of-line character processing is performed by the end-of-line processing means so that a character protruding from the end of the line due to the insertion of the blank character does not affect the character position of the next line. The direction of the parenthesis symbol is determined by the amount of document information other than blank characters existing around the position for inputting the parenthesis symbol by the direction determining means. A method for inputting a parenthesis symbol of a document information processing apparatus, wherein the parenthesis symbol replacement unit inputs the parenthesis symbol in the area of the inserted blank character so as to have the determined orientation of the parenthesis symbol.
JP15767794A 1994-07-08 1994-07-08 Document information processing apparatus and document information processing method Expired - Fee Related JP3467318B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15767794A JP3467318B2 (en) 1994-07-08 1994-07-08 Document information processing apparatus and document information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15767794A JP3467318B2 (en) 1994-07-08 1994-07-08 Document information processing apparatus and document information processing method

Publications (2)

Publication Number Publication Date
JPH0822457A JPH0822457A (en) 1996-01-23
JP3467318B2 true JP3467318B2 (en) 2003-11-17

Family

ID=15654976

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15767794A Expired - Fee Related JP3467318B2 (en) 1994-07-08 1994-07-08 Document information processing apparatus and document information processing method

Country Status (1)

Country Link
JP (1) JP3467318B2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NEC PC−9800シリーズ日本語ワードプロセッサー太郎Ver.4[解説編],株式会社ジャストシステム,1989年,第2版,p220

Also Published As

Publication number Publication date
JPH0822457A (en) 1996-01-23

Similar Documents

Publication Publication Date Title
EP0051857B1 (en) Method for editing document
JP2975863B2 (en) Document creation device
JPH06274586A (en) Displaying system
JPH0812663B2 (en) Image processing system and method thereof
JP3467318B2 (en) Document information processing apparatus and document information processing method
US5727224A (en) Document image processor for inserting and editing bracket symbols and associated text
JP3118379B2 (en) Layout processing device
JP3100614B2 (en) Document processing apparatus and document processing method
JP3728768B2 (en) Method and apparatus for mixed processing of character string and ruled line
JP3544699B2 (en) Document information processing device
JP4062332B2 (en) Ruled line processing method and apparatus
JPH08185452A (en) Document preparation device
JP3715431B2 (en) Typesetting method, typesetting device, and recording medium recording a program for executing the processing
JP3980085B2 (en) Graphic processing method and graphic processing apparatus
JP3200249B2 (en) Document processing device
EP0360501B1 (en) A text-editing apparatus with real time display function
JP2698348B2 (en) Character processor
JPH07152734A (en) Document information processor
JPH11149522A (en) Handwritten character input device and computer readable recording medium recorded with handwritten character input program
JPH05189424A (en) Device and method for editing document
JPH07325807A (en) Method and device for processing document
JPH08137869A (en) Device and method for document processing
JPH06223059A (en) Word processor
JPH06236365A (en) Word processor and format setting method
JPH0470956A (en) Document processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070829

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080829

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080829

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090829

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090829

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100829

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees