JP3247809B2 - Document processing device - Google Patents

Document processing device

Info

Publication number
JP3247809B2
JP3247809B2 JP24268894A JP24268894A JP3247809B2 JP 3247809 B2 JP3247809 B2 JP 3247809B2 JP 24268894 A JP24268894 A JP 24268894A JP 24268894 A JP24268894 A JP 24268894A JP 3247809 B2 JP3247809 B2 JP 3247809B2
Authority
JP
Japan
Prior art keywords
line
input
parenthesis
character
parentheses
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
JP24268894A
Other languages
Japanese (ja)
Other versions
JPH08106452A (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 JP24268894A priority Critical patent/JP3247809B2/en
Priority to TW084103991A priority patent/TW310399B/zh
Priority to US08/428,625 priority patent/US5737618A/en
Priority to CNB951058002A priority patent/CN1149500C/en
Publication of JPH08106452A publication Critical patent/JPH08106452A/en
Application granted granted Critical
Publication of JP3247809B2 publication Critical patent/JP3247809B2/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 Japanese word processor or personal computer capable of inputting characters, figures and symbols, and more particularly to a document processing apparatus capable of editing characters, figures and symbols over a plurality of rows or columns. It is.

【0002】[0002]

【従来の技術】従来、日本語ワードプロセッサのような
文書処理装置では、文字入力及び編集という基本的な機
能に加えて、複数行にわたる括弧の作成や表示等の機能
を有し、括弧つきの文章や複数行にわたる文字列を括弧
で閉じた形式の文書を扱うことができるものがある。ま
た、文書中の図形表示位置を保持する方式として文章中
に図形位置コードを持つ方式がある。
2. Description of the Related Art Conventionally, a document processing apparatus such as a Japanese word processor has a function of creating and displaying parentheses over a plurality of lines in addition to basic functions of character input and editing. Some documents can handle a document in which a character string that spans multiple lines is closed with parentheses. As a method of holding a graphic display position in a document, there is a method of having a graphic position code in a sentence.

【0003】特開平5−216877号公報には、文書
中に図形位置コードを持つことによって図形の位置指定
の操作を容易に行う文書作成装置が記載されている。特
開昭64−74667号公報には、複数の文字などを組
み合わせることにより構成される文字を複数の候補の中
から選択し、入力操作を容易にする文書処理装置が記載
されている。
Japanese Patent Application Laid-Open No. Hei 5-216877 describes a document creating apparatus which has a graphic position code in a document to facilitate the operation of specifying the position of a graphic. Japanese Patent Application Laid-Open No. 64-74667 discloses a document processing apparatus which selects a character formed by combining a plurality of characters from a plurality of candidates and facilitates an input operation.

【0004】特開平2−297125号公報には、選択
された括弧のパターンを適当な倍率で拡大処理し、指定
した文章の矩形領域に収まるような最適な括弧を自動的
に出力する情報処理装置が記載されている。特開平5−
2581号公報には、記号を構成する指定文字と対文字
とを設定し、これらの文字間に配置されている文字列の
行数から適切な大きさの括弧を生成する文字入力装置が
記載されている。
Japanese Patent Laid-Open No. 2-297125 discloses 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 specified text. Is described. Japanese Patent Laid-Open No. 5-
Japanese Patent Publication No. 2581 describes a character input device that sets a designated character and a paired character constituting a symbol and generates a parenthesis of an appropriate size from the number of lines of a character string arranged between these characters. ing.

【0005】[0005]

【発明が解決しようとする課題】従来の文書処理装置で
は、複数行にわたる括弧を入力する際に、あらかじめそ
の括弧が入力される領域を確保しておいたり、括弧を入
力する位置までカーソルを移動するなどして、記号を入
力する位置を指定する必要があった。操作例を図20
(a),(b)に示す。図20(a)においてカーソル
96が図の位置にあるとき、文書を括弧で括ろうとする
と、図20(b)に示される位置までカーソルを移動す
る必要がある。また、複数行にわたる括弧を入力する際
に複数行括弧の長さを延長したり、入力したい長さの複
数行括弧をメニューから選んだりする必要があった。操
作例を図20(c),(d)に示す。図20(c)にお
いて記号を入力する位置を指定後に、以前入力された長
さなどで仮の長さで表示されている複数行括弧97を延
長操作を行って図20(d)の入力したい複数行括弧を
入力する必要がある。
In the conventional document processing apparatus, when inputting parentheses over a plurality of lines, an area for inputting the parentheses is secured or the cursor is moved to a position where the parentheses are input. In such a case, it was necessary to specify the position for inputting the symbol. FIG. 20 shows an operation example.
(A) and (b) show. When the document is to be enclosed in parentheses when the cursor 96 is at the position shown in FIG. 20A, it is necessary to move the cursor to the position shown in FIG. 20B. Further, when inputting parentheses over a plurality of lines, it is necessary to extend the length of the multi-line parentheses, or to select a multi-line parenthesis of a desired length from a menu. Operation examples are shown in FIGS. After specifying the position where the symbol is to be input in FIG. 20 (c), the user wants to extend the multi-line bracket 97 which is displayed in the temporary length with the previously input length or the like, and input in FIG. 20 (d). You must enter multi-line brackets.

【0006】また、特徴点(右開き括弧においては通常
中心にある左側に飛び出た部分、図3の32部分をもつ
複数行括弧を入力する際にその中点の位置を指定する必
要がある。図21は複数行括弧の位置と長さを指定した
後に、仮に中心に表示されている特徴点102を中点に
おきたい文字101の横に移動する必要がある場合の例
である。図21(a)の状態から特徴点の位置を指定図
21(b)する必要がある。以上のように既に入力され
ている文書に対して適切な括弧を入力しようとすると、
位置の指定、長さの指定、特徴点の位置の指定の操作が
必要になり、操作が複雑になるという問題がある。
When a characteristic point (a right-opening parenthesis is a part protruding to the left, which is usually at the center, or a multi-line parenthesis having 32 parts in FIG. 3), it is necessary to specify the position of the midpoint. FIG. 21 is an example of a case where it is necessary to move the feature point 102 displayed at the center to the side of the character 101 which is supposed to be the middle point after specifying the position and length of the multi-line parenthesis. It is necessary to specify the position of the feature point from the state of (a) in Fig. 21 (b).
There is a problem that an operation of specifying a position, a length, and a position of a feature point is required, and the operation is complicated.

【0007】そこで、本発明は以上のような事項を考慮
してなされたものであり、第1の目的は、複数の行や列
にわたる括弧、または図形などからなる記号を入力する
際に、文書情報の配列から、その記号を入力する位置を
検出し、記号を入力する位置の指定操作を容易にする文
書処理装置を提供するものである。第2の目的は、上記
第1の目的において、複数行にわたる括弧を入力する際
に、文書中の文字を検索することによって複数行にわた
る括弧を入力する位置を検出し、複数行括弧を入力する
位置の指定操作を容易にする文書処理装置を提供するも
のである。
Accordingly, the present invention has been made in consideration of the above matters, and a first object is to provide a method for inputting a symbol consisting of parentheses or figures over a plurality of rows or columns, It is an object of the present invention to provide a document processing apparatus which detects a position for inputting a symbol from an array of information and facilitates an operation of designating a position for inputting the symbol. A second object is to input a parenthesis over a plurality of lines by inputting parentheses over a plurality of lines by searching characters in a document when inputting a parenthesis over a plurality of lines in the first object. An object of the present invention is to provide a document processing apparatus that facilitates a position designation operation.

【0008】第3の目的は、複数の行や列にわたる括
弧、または図形などからなる記号を入力する際に、文書
情報の配列から、その記号の設定されるべき長さを検出
することによって、入力操作を容易にする文書処理装置
を提供するものである。第4の目的は、上記第3の目的
において、複数行にわたる括弧を入力する際に、文書中
の文字を検索することによって複数行にわたる入力され
るべき括弧の長さを検出し、入力操作を容易にする文書
処理装置を提供するものである。
[0008] A third object is to detect a length to be set of a symbol from an array of document information when inputting a symbol composed of parentheses or figures extending over a plurality of rows or columns. A document processing device that facilitates an input operation is provided. A fourth object is that, in the third object, when inputting parentheses over a plurality of lines, the length of the parentheses to be input over a plurality of lines is detected by searching for a character in a document, and an input operation is performed. A document processing device for facilitating document processing is provided.

【0009】第5の目的は、複数の行や列にわたる括
弧、または図形などからなる記号を入力する際に、文書
情報の配列から設定されるべき記号の長さを検出する際
にいくつかの候補を上げることによって、記号の長さを
容易に選択する文書処理装置を提供するものである。第
6の目的は、特徴点をもつ複数の行や列にわたる括弧、
または図形などからなる記号を入力する際に、文書情報
の配列から、設定されるべき記号の特徴点を検出するこ
とによって入力操作を容易にする文書処理装置を提供す
るものである。第7の目的は、上記第の目的におい
て、特徴点をもつ複数行にわたる括弧を入力する際に、
文書中の文字を検索することによって入力されるべき特
徴点の位置を判定して入力操作を容易にする文書処理装
置を提供するものである。
A fifth object is to input a symbol composed of parentheses or figures extending over a plurality of rows or columns, and to detect a length of a symbol to be set from an array of document information. It is an object of the present invention to provide a document processing apparatus in which the length of a symbol can be easily selected by increasing candidates. The sixth objective is to use parentheses that span multiple rows or columns with feature points,
Another object of the present invention is to provide a document processing apparatus which facilitates an input operation by detecting a feature point of a symbol to be set from an array of document information when inputting a symbol such as a graphic. A seventh object is that, in the sixth object, when inputting parentheses over a plurality of lines having feature points,
It is an object of the present invention to provide a document processing apparatus which facilitates an input operation by determining a position of a feature point to be input by searching for a character in a document.

【0010】[0010]

【課題を解決するための手段】本発明の文書処理装置
は、文字列が複数点在する文書情報に対して、該文書情
報の複数行にわたって括弧をかける最初の行としての基
準位置を指示するのに用いる入力手段と、前記文書情報
の前記基準位置にある文字種に基づいて、前記基準位置
にある文字種と前記基準位置の左右に隣接する同じ行の
文字種とを順次照合し、異なる文字種が現れた行と列の
位置を、前記括弧の入力位置として設定する括弧入力位
置決定手段と、前記括弧入力位置決定手段で設定された
入力位置から前記基準位置よりに隣接する位置の文字種
と同じ列の下方向の文字種とを順次照合し、異なる文字
種が現れた行の一つ前の行と前記入力位置の列とを前記
括弧がかかる終端位置として設定する括弧長さ判定手段
と、前記入力位置と前記終端位置を記憶する記憶手段
と、前記記憶手段に記憶された前記入力位置と前記終端
位置に基づいて、前記複数行にわたる括弧を前記文書情
報にレイアウトする編集手段と、前記編集手段により複
数行にわたる括弧をレイアウトした前記文書情報を表示
する表示手段とを備えたことを特徴とする。
SUMMARY OF THE INVENTION A document processing apparatus according to the present invention designates a reference position as the first line in parentheses over a plurality of lines of document information for document information having a plurality of character strings. Based on the input means used for the above and the character type at the reference position of the document information, the character type at the reference position and the character type on the same line adjacent to the left and right of the reference position are sequentially collated, and a different character type appears. The position of the row and the column as the input position of the parentheses, a parenthesis input position determining means, and the same column as the character type of a position adjacent to the reference position from the input position set by the parenthesis input position determining means. The character types in the downward direction are sequentially collated, and a parenthesis length determination unit that sets a line immediately before a line where a different character type appears and a column of the input position as an end position where the parentheses are applied, and the input position, Storage means for storing the end position; editing means for laying out the parentheses over the plurality of lines in the document information based on the input position and the end position stored in the storage means; Display means for displaying the document information in which parentheses are laid out.

【0011】また、本発明の文書処理装置において、前
記括弧長さ判定手段は、前記入力位置から前記基準位置
よりに隣接する位置の文字種と同じ列の下方向の文字種
とを順次照合し、異なる文字種が現れる毎に異なる文字
種の現れた行の一つ前の行と前記入力位置の列の位置と
を前記括弧がかかる終端位置候補N(Nは自然数)とし
て設定するとともに、前記入力手段を用いて、前記長さ
判定手段により決定された複数の終端位置候補のうち
任意の候補を選択させ、前記記憶手段は、前記入力
を用いて選択された候補を前記終端位置として記憶す
ることを特徴とする。
Further, in the document processing apparatus according to the present invention, the parenthesis length determining means sequentially compares a character type at a position adjacent to the reference position from the input position with a character type in a downward direction of the same column to determine a different one. Each time a character type appears, a line immediately before a line in which a different character type appears and the position of the column of the input position are set as end position candidates N (N is a natural number) with the parentheses, and the input means is used. Te, or among a plurality of end position candidate decided by the length determining means
To select the Luo any candidate, said storage means, and to store the candidate selected by using the input hand <br/> stage as the end position.

【0012】また、本発明の文書処理装置は、前記記憶
手段に記憶された前記入力位置から前記基準位置とは反
対側に隣接する位置を起点として、同じ列の下方向の文
字種を、前記記憶手段に記憶された前記入力位置の行か
ら前記終端位置の行の範囲内において順次照合し、空白
文字以外の文字種が最初に現れた位置の行を着目点1と
し、次に空白文字が現れた位置のひとつ前の行を着目点
2として設定するとともに、前記着目点1と前記着目点
2との中間地点の行と前記入力位置の列とを特徴点位置
として設定する括弧特徴点判定手段を有し、前記記憶手
段は前記特徴点位置を記憶し、記憶された前記入力位置
と前記終端位置と前記特徴点位置に基づいて、前記編集
手段が複数行にわたる括弧を前記文書情報にレイアウト
することを特徴とする。
Further , the document processing apparatus of the present invention may be configured such that the storage
From the input position stored in the means to the reference position.
From the position adjacent to the opposite side as a starting point, the sentence downward in the same column
Change the character type from the line of the input position stored in the storage means.
From within the line at the end position,
The line at the position where the character type other than the character first appears is the point of interest 1
And the line immediately before the position where the blank character appears next
2 and the point of interest 1 and the point of interest
A feature point position is defined by a line at a halfway point between 2 and a column of the input position.
The parentheses feature point determining means for setting as
A stage stores the feature point position, and the stored input position
And the editing based on the end position and the feature point position.
Means lay out brackets over multiple lines in the document information
It is characterized by doing.

【0013】[0013]

【0014】[0014]

【0015】[0015]

【0016】[0016]

【0017】[0017]

【作用】本発明の文書処理装置の作用として、入力手段
を用いて、文字列が複数点在する文書情報に対して、該
文書情報の複数行にわたって括弧をかける最初の行とし
ての基準位置を指示すると、指示された基準位置にある
文字種に基づいて、括弧入力位置決定手段が、前記基準
位置にある文字種と前記基準位置の左右に隣接する同じ
行の文字種とを順次照合し、異なる文字種が現れた行と
列の位置を、前記括弧の入力位置として設定する。設定
された入力位置から、括弧長さ判定手段が前記基準位置
よりに隣接する位置の文字種と同じ列の下方向の文字種
とを順次照合し、異なる文字種が現れた行の一つ前の行
と前記入力位置の列とを前記括弧がかかる終端位置とし
て設定し、記憶手段が入力位置と終端位置を記憶する。
この入力位置と終端位置に基づいて、編集手段が複数行
にわたる括弧を文書情報にレイアウトし、レイアウトさ
れた文書情報を表示手段が表示する。
According to the operation of the document processing apparatus of the present invention, input means
Is used for document information with multiple character strings.
The first line in parentheses across multiple lines of document information
When all reference positions are indicated, the
Based on the character type, the parenthesis input position determining means
The character type at the position and the same adjacent to the left and right of the reference position
The character type of the line is collated sequentially, and the line where a different character type appears
The position of the column is set as the input position of the parentheses. Configuration
From the input position thus set, the bracket length determining means
The character type in the downward direction of the same column as the character type at the position adjacent to
And the next line before the line where a different character type appears
And the sequence of the input positions are the end positions where the parentheses are applied.
And the storage means stores the input position and the end position.
On the basis of the input position and the end position, the editing means
Over the parentheses in the document information
The display means displays the obtained document information .

【0018】[0018]

【0019】また括弧長さ判定手段が括弧を入力す
る位置を基準に、記憶手段に記憶されている文書情報を
検索し、入力括弧の長さの指示を必要とすることなく、
その周辺の文書情報中の文字の並びなどの情報より、
の長さを判定する。
Further, brackets length determination hand stage, on the basis of the position of bracket is entered searches the document information stored in the serial憶手stage, without requiring an indication of the length of the input brackets ,
Than information such as a sequence of characters in the document information of its surroundings, Batch
Determine the length of the arc .

【0020】また括弧長さ判定手段が、複数行括弧
入力操作が行われると、複数行括弧を入力する位置のレ
イアウトされた文章情報中の位置を基準に、記憶手段に
記憶されている文書情報を複数行括弧入力位置の左右を
下方向(行方向)に検索し、空白以外の文字が現れてか
ら、空白が現れた行の複数行括弧を入力する位置から遠
い方を、複数行括弧の長さと判定する。
Further, brackets length determination hand stage, the input operation of multiple lines parenthesis is performed, based on the position in the text information is positioned in the layout for entering multiple lines braces, the serial憶手stage <br/> Search the stored document information downward (line direction) to the left and right of the multi-line parentheses input position, and after a character other than a blank appears, enter the multi-line bracket of the line where the blank appeared. The one far from the position is determined as the length of the multi-line parenthesis .

【0021】また、括弧長さ判定手段によって検索され
た、括弧入力をする位置から括弧長さの位置(括弧の終
端位置)より、再び括弧長さ判定手段により文書情報の
検索を行って長さの決定が行われたら括弧の新しい候補
とする作用を括弧長さ判定手段による括弧の長さの判定
ができなくなるまで繰り返す。入力手段を用いて、得ら
れた括弧長さの候補の中から候補を選択して入力する
括弧の長さを決定する。
Further, from the position where the parenthesis is input, which is searched by the parenthesis length determining means, and from the position of the parenthesis length (the end position of the parenthesis), the document information is again searched by the parenthesis length determining means to determine the length. Is repeated until the parenthesis length determination means cannot determine the length of the parenthesis. Using the input means, to choose et candidates in the obtained bracketed length of candidates, to determine the length of the brace to be input.

【0022】また括弧特徴点判定手段が括弧を入力
する位置を基準に、記憶手段に記憶されている文書情報
を検索し、括弧の特徴点の位置の指定を必要とすること
なく、その周辺の文書情報中の文字の並びなどの情報よ
り、括弧の特徴点の位置を判定する。
Further, brackets feature point determination hand stage, on the basis of the position of bracket is entered serial searches the document information stored in憶手stage, the need for designation of positions of the feature points of the brackets Instead, the position of the characteristic point of the parenthesis is determined from information such as the arrangement of characters in the surrounding document information.

【0023】また括弧特徴点判定手段が、複数行括弧
の入力操作が行われると、複数行括弧を入力する位置の
レイアウトされた文章情報中の位置を基準に、記憶手
記憶されている文書情報を複数行括弧入力位置の括弧
の開いているほうの反対側(右開き括弧なら左側)を下
方向(行方向)に検索し、空白以外の文字情報が現れた
行と、次に空白文字が現れた行の1行上の行との中間を
特徴点の位置と判定する。
Further, brackets feature point determination hand stage, the input operation of multiple lines parentheses <br/> is performed, based on the position in the text information is positioned in the layout for entering multiple lines parentheses, serial憶手stage
Opposite the more open the document information stored parentheses <br/> multiline braces input position (left if right-opening parenthesis) searching downward (row direction), the character information other than the blank Is determined as the position of the feature point in the middle of the line where the character appears and the line one line above the line where the blank character appears next.

【0024】[0024]

【実施例】本発明の文書処理装置を以下に図面と共に説
明する。図1は本装置の基本構成を示すブロック回路図
である。ここで、入力手段1、入力位置指示手段3、候
補選択手段9としては、通常はキーボード、またはペ
ン、マウス、もしくはトラックボールなどのポインティ
ングデバイスが用いられる。文書記憶手段2としてはR
AMを用いることが好ましいが、ハードディスクやフロ
ッピーディスクなどの外部記憶装置を用いてもよい。出
力手段5としては、通常、CRTディスプレイ、液晶デ
ィスプレイなどの表示装置、あるいはプリンタなどの印
字装置が用いられる。編集手段6、記号入力位置決定手
段4、記号特徴点判定手段10、記号長さ判定手段7、
次候補長さ判定手段8は、CPUを中心としてRAM、
ROM、I/Oインターフェイス、及びタイマーなどか
らなるいわゆるマイクロコンピュータを用いることが好
ましく、ROMの中に内蔵されたソフトウェアによって
文書情報処理装置のこれらの手段の動作を制御させるこ
とが好ましい。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A document processing apparatus according to the present invention will be described below with reference to the drawings. FIG. 1 is a block circuit diagram showing a basic configuration of the present apparatus. Here, a keyboard or a pointing device such as a pen, a mouse, or a trackball is usually used as the input unit 1, the input position indicating unit 3, and the candidate selecting unit 9. As the document storage means 2, R
Although it is preferable to use AM, an external storage device such as a hard disk or a floppy disk may be used. As the output means 5, a display device such as a CRT display or a liquid crystal display, or a printing device such as a printer is usually used. Editing means 6, symbol input position determining means 4, symbol characteristic point determining means 10, symbol length determining means 7,
The next candidate length determination means 8 is mainly composed of a CPU, a RAM,
It is preferable to use a so-called microcomputer including a ROM, an I / O interface, a timer, and the like, and it is preferable to control the operation of these units of the document information processing apparatus by software stored in the ROM.

【0025】次に、複数行括弧の入力の場合について、
図2乃至図19に基づいて説明する。なお、複数列括弧
の入力、括弧以外の複数行、複数列にわたる記号の入力
を行う場合も同様である。
Next, in the case of inputting multi-line parentheses,
This will be described with reference to FIGS. The same applies to the case of inputting parentheses in a plurality of columns and inputting symbols in a plurality of rows and columns other than the parentheses.

【0026】図2は、本発明の一実施例の装置構成図を
示すブロック図である。符号11は装置全体の制御とデ
ータの受け渡しをROM21に格納されているプログラ
ムを実行することによって行う中央処理装置(CP
U)、12は装置の各構成要素がデータの受け渡しを行
うアドレス及びデータバス、13は本装置で表示/印字
可能な文字、記号などのビットマップ及びアウトライン
フォントデータを保持しているCGROM、14は表示
装置の画面上の座標に1対1で対応するアドレス構成を
持ち、表示されている画面をビットマップで保持してい
るVRAM、15はVRAM14に保持されている1画
面分の表示データを、液晶やCRTなどの表示装置16
にリアルタイムに表示する表示コントローラ、17はフ
ロッピーディスクドライブ18を制御して文書データな
どの保存と呼出を行うFDコントローラ、19はプリン
タ20をコントロールしてRAM22に保存されている
文書データ23をフォントDATAをCGROM13か
ら呼び出ししながら印字するプリンタコントローラ、2
1はCPUが装置を制御するために参照する制御プログ
ラムを保持しているROM(リードオンリーメモリ)で
ある。
FIG. 2 is a block diagram showing an apparatus configuration diagram of an embodiment of the present invention. Reference numeral 11 denotes a central processing unit (CP) that controls the entire apparatus and transfers data by executing a program stored in the ROM 21.
U) and 12 are address and data buses for each component of the device to exchange data, 13 is a CGROM holding bitmap and outline font data such as characters and symbols that can be displayed / printed by the device, 14 VRAM has an address structure corresponding to the coordinates on the screen of the display device on a one-to-one basis, and holds a displayed screen in a bitmap. 15 denotes display data for one screen held in the VRAM 14. , Display device 16 such as liquid crystal or CRT
A display controller 17 for controlling the floppy disk drive 18 to store and retrieve document data and the like; and 19 controlling a printer 20 to convert the document data 23 stored in the RAM 22 into font data. A printer controller that prints while calling from the CGROM 13;
Reference numeral 1 denotes a ROM (read only memory) holding a control program referred to by the CPU for controlling the apparatus.

【0027】また、符号22は文書データ(図形デー
タ、罫線データ、括弧データを含む)23や、CPUが
装置の制御や文書で編集を行う際に使用するデータなど
を保持するポインタ/変数バッファ24(図12に示す
複数行括弧の長さ次候補の保持情報、図13に示す括弧
長さ保持テーブルおよび図15〜図19に示すフローチ
ャート中で使用される各種ポインタ、着目文字、着目行
などが保持される領域)として使用するRAM(ランダ
ムアクセスメモリ)、25は、キーボード26より入力
されたキーコードをCPU11にわたすキーボードコン
トローラ、27はペン入力装置28より入力されたペン
の状態(ペンで画面を触っているか否か)とペンで画面
を触ったときのその座標をCPU11にわたすペンコン
トローラ、29はブザー30を制御してブザーを鳴らす
ブザーコントローラである。
Reference numeral 22 is a pointer / variable buffer 24 for storing document data (including graphic data, ruled line data, and parenthesis data) 23 and data used when the CPU controls the apparatus and edits the document. (The holding information of the multiple-line parenthesis next length candidate shown in FIG. 12, the parenthesis length holding table shown in FIG. 13 and the various pointers, characters of interest, lines of interest, etc. used in the flowcharts shown in FIGS. A RAM (random access memory) used as a storage area), a keyboard controller 25 for passing a key code input from a keyboard 26 to the CPU 11, and a pen state 27 (screen by pen) input from a pen input device 28 A pen controller that passes the coordinates of touching the screen with the pen to the CPU 11; A buzzer controller to sound the buzzer to control the over 30.

【0028】図3は、複数行括弧の各部の名称の定義で
ある。符号31は複数行括弧のコード位置(記号を入力
する位置)、32は複数行括弧の特徴点、lは複数行括
弧の長さである。図4は、本発明における複数行括弧の
入力の様子である。図4(a)は複数行括弧を入力する
前、図4(b)は複数行括弧を入力した状態である。本
発明においては図4は(a)の状態から1回の操作(複
数行括弧の入力の指示)で、図4(b)の複数行括弧が
入力される。36は改行コード、37は入力位置を示す
カーソル、38は未入力領域、39は通常文字、40は
複数行括弧コード位置、41は入力された複数行括弧、
42は入力された複数行括弧の特徴点、43は空白文字
である。また、この図4の空白文字(図7の表)及びそ
れ以外の文字の並び(表示)は文書データ23の文字の
並びと1対1に対応している。
FIG. 3 shows the definition of the name of each part of the multi-line brackets. Reference numeral 31 denotes a code position of a multi-line parenthesis (a position for inputting a symbol), 32 denotes a characteristic point of the multi-line parenthesis, and 1 denotes a length of the multi-line parenthesis. FIG. 4 shows a state of inputting a multi-line parenthesis in the present invention. FIG. 4A shows a state before the multi-line bracket is input, and FIG. 4B shows a state after the multi-line bracket is input. In the present invention, the multi-line parentheses shown in FIG. 4B are input by one operation (instruction to input multi-line parentheses) from the state of FIG. 4A. 36 is a line feed code, 37 is a cursor indicating an input position, 38 is a non-input area, 39 is a normal character, 40 is a multi-line bracket code position, 41 is an input multi-line bracket,
42 is a feature point of the input multi-line parenthesis, and 43 is a blank character. The arrangement (display) of the blank characters (table in FIG. 7) and other characters in FIG. 4 corresponds one-to-one with the arrangement of characters in the document data 23.

【0029】図5は、この発明における複数行括弧入力
の様子である。図5(a)のように通常文字の上にカー
ソル46(入力位置)があるとき、複数行括弧の入力操
作を行うと図5(b)に示すように文章領域を括弧で括
った形で、2つの複数行括弧を1回の操作で入力するこ
とができる。47は左側の複数行括弧のコード位置(記
号を入力する位置)、48は左側の複数行括弧、49は
右側の複数行括弧、50は左側の複数行括弧の特徴点、
51は右側の複数行括弧の特徴点の位置である。また、
この図5の空白文字(図7の表)及びそれ以外の文字の
並び(表示)は文書データ23の文字の並びと1対1に
対応している。
FIG. 5 shows a state of inputting a plurality of parentheses in the present invention. When the cursor 46 (input position) is positioned on a normal character as shown in FIG. 5A, when a multi-line parenthesis operation is performed, the text area is enclosed in parentheses as shown in FIG. 5B. , Two multi-line brackets can be entered in a single operation. 47 is the code position of the left multi-line parenthesis (the position where the symbol is input), 48 is the left multi-line parenthesis, 49 is the right multi-line parenthesis, 50 is the feature point of the left multi-line parenthesis,
Reference numeral 51 denotes the position of the characteristic point of the parentheses on the right side. Also,
The arrangement (display) of the blank characters (table in FIG. 7) and other characters in FIG. 5 corresponds to the arrangement of characters in the document data 23 on a one-to-one basis.

【0030】図6は、この発明における複数行括弧の長
さ候補選択の様子である。図6(a)は複数行括弧を入
力する前の状態、図6(b)は1つ目の長さ候補の複数
行括弧が表示されている状態、図6(c)は上記図6
(b)の次の候補の複数行括弧が表示されている状態で
ある。56はカーソル(入力位置)、57は複数行括弧
のコード位置(記号を入力する位置)、58は1つ目の
長さ候補の複数行括弧、59は2つ目の長さ候補の複数
行括弧である。
FIG. 6 shows a state of selecting a length candidate for a plurality of parentheses in the present invention. FIG. 6A shows a state before the multi-line bracket is input, FIG. 6B shows a state in which the first length candidate multi-line bracket is displayed, and FIG.
(B) is a state where parentheses of a plurality of lines of the next candidate are displayed. 56 is the cursor (input position), 57 is the code position of the multi-line bracket (the position where the symbol is input), 58 is the multi-line bracket of the first length candidate, 59 is the multi-line of the second length candidate Parentheses.

【0031】図7は空白文字の例である。文書情報中の
文字情報は、空白文字とそれ以外の文字情報(通常文字
など)に分けられ、空白文字としては、空白文字(空白
コード)、改行コード、未入力コード(未入力領域)な
どがある。
FIG. 7 is an example of a blank character. The character information in the document information is divided into blank characters and other character information (normal characters, etc.). The blank characters include blank characters (blank codes), line feed codes, and uninput codes (uninput areas). is there.

【0032】図8は複数行括弧の情報である。複数行括
弧の情報は文書データ23中の複数行括弧のコード位置
に記憶されている。61は、複数行括弧であることを示
す複数行括弧コード、62は複数行括弧情報のコード
長、63は図10に示す複数行括弧の種類番号、64は
図11に示す方向フラグ、65は複数行括弧の縦サイ
ズ、66は複数行括弧の横サイズ、67は複数行括弧の
特徴点位置(図9)である。
FIG. 8 shows information of parentheses on a plurality of lines. The information of the multi-line bracket is stored in the code position of the multi-line bracket in the document data 23. 61 is a multi-line parenthesis code indicating that it is a multi-line parenthesis, 62 is the code length of the multi-line parenthesis information, 63 is the type number of the multi-line parenthesis shown in FIG. 10, 64 is the direction flag shown in FIG. 11, and 65 is The vertical size of the multi-line parenthesis, 66 is the horizontal size of the multi-line parenthesis, and 67 is the feature point position of the multi-line parenthesis (FIG. 9).

【0033】図9は複数行括弧の長さが5である場合の
各特徴点位置番号における複数行括弧の表示の様子であ
る。複数行括弧の特徴点位置は、特徴点がない複数行括
弧の場合を0として最も上の行に特徴点がある場合を1
として、1行下に下がる毎に2、3…(最大で括弧の長
さ)となる。
FIG. 9 shows how the multi-line brackets are displayed at each feature point position number when the length of the multi-line brackets is 5. The characteristic point position of the multi-line parenthesis is 0 when the multi-line parenthesis has no characteristic point and 1 when the uppermost line has the characteristic point.
(3,... (Maximum length of parentheses) every time one line goes down.

【0034】図10は複数行括弧の種類番号である。複
数行括弧は表のように特徴点のあるものとないものに分
けられる。図11は複数行括弧の方向フラグの表であ
る。方向フラグが3、4の場合は複数桁括弧となる。
FIG. 10 shows the type numbers of the multi-line parentheses. Multi-line brackets are divided into those with characteristic points and those without characteristic points as shown in the table. FIG. 11 is a table of parentheses direction flags. When the direction flag is 3 or 4, parentheses are used for a plurality of digits.

【0035】図12は複数行括弧の長さ次候補の保持の
様子である。複数行括弧においては次候補は左括弧、右
括弧で図12に示す情報をそれぞれ持ち、ポインタ/変
数バッファ24に保持される。71は括弧の候補数、7
2は1つ目の長さ候補の複数行括弧、73は2つ目の長
さ候補の複数行括弧、74は最後(n番目)の長さ候補
の複数行括弧である。
FIG. 12 shows a state of holding the next-length candidate for a plurality of parentheses. In the multi-line parenthesis, the next candidate is left parenthesis and right parenthesis each having the information shown in FIG. 12 and held in the pointer / variable buffer 24. 71 is the number of bracket candidates, 7
2 is a multi-line bracket of the first length candidate, 73 is a multi-line bracket of the second length candidate, and 74 is a multi-line bracket of the last (n-th) length candidate.

【0036】図13は括弧の長さの候補を判定する際
の、括弧の左右の文字の検索結果から得られた括弧長さ
保持テーブルである。なお、このテーブルはポインタ/
変数バッファ24に保持される。76は括弧の左側の文
字検索から得られた左長さ1、77は括弧の右側の文字
検索から得られた右長さ1、78は左長さ1の位置から
更に検索して次に得られた左長さ2、79は右長さ1の
位置から更に検索して次に得られた右長さ2、80はこ
れ以上長さの候補がないことを示す終了コードである。
FIG. 13 is a parenthesis length holding table obtained from the search result of the characters on the left and right sides of the parenthesis when determining the candidate for the parenthesis length. This table uses pointer /
It is held in the variable buffer 24. 76 is the left length 1 obtained from the character search on the left side of the parentheses, 77 is the right length 1 obtained from the character search on the right side of the parentheses, and 78 is the next length obtained by further searching from the position of the left length 1 The left lengths 2 and 79 obtained are further searched from the position of the right length 1 and the right lengths 2 and 80 obtained next are end codes indicating that there are no more length candidates.

【0037】図14は、文書全体と入力される複数行括
弧との位置座標の関係を示したものである。81は、上
記RAM22に保存されている全文書DATAの1ペー
ジ目から最終ページまでのレイアウトであり、82はペ
ージ境界、83は、上記VRAM14上にビットマップ
で展開された表示装置16に表示されている現在の編集
領域、84は入力された始点の位置、85は入力された
終点の位置、86は文書の1行文字数(X)、87は文
書全行数(Y)、88は文書の1ページ行数(YP)、
89は現在の編集領域の左肩(編集原点)の文書全体の
左上(文書原点)を基準としたx座標(x1)、90は
編集原点の文書原点を基準としたy座標(y1)、91
は編集領域83の横文字数(XD)、92は編集領域8
3の縦行数(YD)、93は編集原点を基準とした始点
の位置のx座標(xl)、94は編集原点を基準とした
始点位置のy座標(yl)であり、95は編集原点を基
準とした終点の位置のx座標(x2)、96は編集原点
を基準とした終点位置のy座標(y2)である。
FIG. 14 shows the positional relationship between the whole document and the input multi-line brackets. Reference numeral 81 denotes a layout from the first page to the last page of the entire document DATA stored in the RAM 22, 82 denotes a page boundary, and 83 denotes a layout displayed on the VRAM 14 in a bitmap format on the display device 16. The current editing area, 84 is the position of the input start point, 85 is the position of the input end point, 86 is the number of characters per line (X) of the document, 87 is the total number of lines of the document (Y), and 88 is the number of lines of the document. Number of rows per page (YP),
Reference numeral 89 denotes an x coordinate (x1) based on the upper left (document origin) of the entire document at the left shoulder (edit origin) of the current editing area; 90, a y coordinate (y1) based on the document origin of the editing origin;
Is the number of horizontal characters (XD) in the editing area 83, and 92 is the editing area 8
3, the number of vertical lines (YD), 93 is the x coordinate (xl) of the position of the starting point with respect to the editing origin, 94 is the y coordinate (yl) of the starting point with respect to the editing origin, and 95 is the editing origin. Is the x coordinate (x2) of the position of the end point with reference to, and 96 is the y coordinate (y2) of the end point position with reference to the editing origin.

【0038】本実施例における複数行括弧の入力は図1
5〜図19のフローチャートを実行することによって行
われる。図15は、本実施例における表示処理のフロー
チャートである。上記VRAM14の画面情報はリアル
タイムに表示コントローラ15によって表示装置16に
表示されるので、ROM21に保持されている表示プロ
グラムは、RAM22の文書データ23からCGROM
13に保存されている文字、記号のビットマップあるい
はアウトラインデータを参照しながら、VRAM14の
ビットマップ表示データを構成する制御手順であれば良
い。ステップS1では文書バッファの先頭行を処理中
行、処理中行の先頭文字を処理中文字として(文書バッ
ファ23の先頭文字を示すRAMのアドレスを指し示す
処理中文字ポインタをセットして)ステップS2へ進
む。
In the present embodiment, the input of the multi-line parentheses is shown in FIG.
This is performed by executing the flowcharts of FIGS. FIG. 15 is a flowchart of the display process in the present embodiment. Since the screen information of the VRAM 14 is displayed on the display device 16 by the display controller 15 in real time, the display program held in the ROM 21 reads the CGROM data from the document data 23 of the RAM 22.
A control procedure may be used as long as the bitmap display data of the VRAM 14 is configured while referring to the character or symbol bitmap or outline data stored in the VRAM 13. In step S1, the first line of the document buffer is set as the line being processed, and the first character of the line being processed is set as the character being processed (the processing character pointer indicating the address of the RAM indicating the first character of the document buffer 23 is set), and the process proceeds to step S2.

【0039】ステップS2では、処理中文字ポインタが
処理中行の最終文字+1を示していれば、処理中行の処
理が終わったとしてステップS8へ進み、そうでなけれ
ばステップS3へ進む。ステップS3では処理中文字ポ
インタの指し示す処理中文字が図8の複数行括弧コード
61であればステップS4へ進み、そうでなければステ
ップS10へ進む。
In step S2, if the currently processed character pointer indicates the last character of the currently processed line + 1, it is determined that the processing of the currently processed line is completed, and the process proceeds to step S8. In step S3, if the character being processed indicated by the character-in-processing pointer is the multi-line parenthesis code 61 in FIG. 8, the process proceeds to step S4; otherwise, the process proceeds to step S10.

【0040】ステップS4では、処理中文字ポインタの
示している複数行括弧の情報(図8)より、種類番号6
3の種類、方向フラグ64の向き、縦サイズ65、横サ
イズ66、特徴点位置67であるところの複数行括弧の
ビットマップあるいは、アウトラインデータをCGRO
M13より選択して、表示する括弧データ(ビットマッ
プ)を生成してステップS5へ進む。
At step S4, the type number 6 is obtained from the information of the multi-line brackets indicated by the character pointer being processed (FIG. 8).
3 types, the direction of the direction flag 64, the vertical size 65, the horizontal size 66, and the bit map of the parentheses of the multi-line parenthesis at the feature point position 67 or the outline data is CGRO.
M13 is selected to generate parenthesis data (bitmap) to be displayed, and the process proceeds to step S5.

【0041】ステップS5では、作成した括弧データが
図14の編集領域83にかかっている部分があれば(文
書データ23中の処理中行をys,処理中文字位置をx
sとするとき、複数行括弧の終点位置(xe,ye)
は、(xs+横サイズ66、ys+縦サイズ65にて表
される。このときxe≧x1かつxs≦x1+XDかつ
ye≧y1かつys≦y1+YDならば)ステップS6
へ進み、そうでなければステップS7へ進む。ステップ
S6では作成した括弧データの上記編集領域83にかか
っている部分をVRAM14へ転送表示してステップS
7へ進む。
In step S5, if there is a portion where the created parenthesis data covers the editing area 83 in FIG. 14 (the line being processed in the document data 23 is ys, the character position being processed is x
When s, the end position of the multi-line parenthesis (xe, ye)
Is represented by (xs + horizontal size 66, ys + vertical size 65. At this time, if xe ≧ x1, xs ≦ x1 + XD, ye ≧ y1, and ys ≦ y1 + YD), step S6
Otherwise, the process proceeds to step S7. In step S6, the portion of the created parenthesis data that covers the editing area 83 is transferred to the VRAM 14 for display.
Proceed to 7.

【0042】ステップS7では、処理中文字を次の文字
へ進め(処理中文字が複数行括弧コードならば処理中文
字ポインタ+コード長62、そうでなければ処理中文字
ポインタ+1)、ステップS2へ戻る。ステップS10
では処理中文字が編集領域にかかっているならば(文書
データ23中の処理中行をys,処理中文字位置をxs
とするとき、x1≦xs≦x1+XDかつy1≦ys≦
y1+YDならば)ステップS11へ進み、そうでなけ
ればステップS7へ進む。ステップS11では処理中文
字のビットマップあるいは、アウトラインデータをCG
ROM13より選択して、表示する文字データ(イメー
ジ)を生成しVRAM14へ転送表示してステップS7
へ進む。ステップS8では処理中行が最終行(処理中行
=Y)ならば終了し、そうでなければ処理中行を次の行
へセットしてステップS2へ戻る。
In step S7, the character being processed is advanced to the next character (if the character being processed is a multi-line bracket code, the character pointer being processed + the code length 62, otherwise the character pointer being processed + 1), and the process proceeds to step S2. Return. Step S10
If the character being processed is over the editing area (the line being processed in the document data 23 is ys and the character position being processed is xs
X1 ≦ xs ≦ x1 + XD and y1 ≦ ys ≦
If y1 + YD), proceed to step S11; otherwise, proceed to step S7. In step S11, the bit map of the character being processed or the outline data is
The character data (image) to be displayed is selected from the ROM 13 and transferred to the VRAM 14 for display.
Proceed to. In step S8, if the current line is the last line (current line = Y), the process ends. If not, the current line is set to the next line and the process returns to step S2.

【0043】図16は、本実施例における複数行括弧の
入力の処理のフローチャートである。複数行括弧の入力
はステップS21〜ステップS35を実行することによ
って行われる。ステップS21では、上記操作者がキー
ボード26を操作するなどしてカーソルを動かしたカー
ソル位置、あるいはペン28などによって指定された入
力位置を取り込み、括弧の種類を図10の表の中から操
作者に指定されたものあるいは、以前選択されたものに
設定してステップS22へ進む。ステップS22では、
図17の複数行括弧の入力位置決定処理を行って(複数
行括弧の入力位置は入力位置の左右に2ケ所どちらかあ
るいは両方に決定される)ステップS23へ進む。
FIG. 16 is a flowchart of a process of inputting parentheses of a plurality of lines in this embodiment. The input of the multi-line bracket is performed by executing steps S21 to S35. In step S21, the cursor position where the operator has moved the cursor by operating the keyboard 26 or the input position specified by the pen 28 or the like is fetched, and the type of parentheses is given to the operator from the table of FIG. The designated item or the previously selected item is set, and the process proceeds to step S22. In step S22,
The input position determination processing of the multi-line parenthesis in FIG. 17 is performed (the input position of the multi-line parenthesis is determined at one or both of the left and right of the input position), and the process proceeds to step S23.

【0044】ステップS23では、ステップS22で決
定されたすべての複数行括弧の入力位置について、図1
8の複数行括弧の長さ判定の処理を行ってステップS2
4へ進む。ステップS24ではステップS23で判定さ
れたすべての複数行括弧の入力位置に対するそれぞれの
長さ候補に対して図19の複数行括弧の特徴点決定処理
を行ってステップS25へ進む。ステップS25では入
力位置の右側の括弧入力位置が存在すれば、ステップS
23で判定された右側の入力位置の長さ候補のうち最初
に判定されたもの(図12の括弧候補1(72))に候
補を選択しステップS26へ進む。
In step S23, the input positions of all the multi-line parentheses determined in step S22 are determined as shown in FIG.
8 is performed to determine the length of the multi-line parentheses, and step S2 is performed.
Proceed to 4. In step S24, for each of the length candidates for all the input positions of the multi-line parentheses determined in step S23, the characteristic point determination process of the multi-line parenthesis in FIG. 19 is performed, and the process proceeds to step S25. In step S25, if there is a parenthesis input position on the right side of the input position, step S25 is executed.
Among the length candidates on the right side of the input position determined in step 23, the first candidate (the bracket candidate 1 (72) in FIG. 12) is selected, and the process proceeds to step S26.

【0045】ステップS26では、右側の括弧入力位置
が存在すれば選択された複数行括弧候補の情報よりCG
ROM13のビットマップ及びアウトラインデータを選
択し、右側の括弧入力位置に対応するVRAM14中の
位置に書き込み、図6(b)に示す複数行括弧の候補の
仮表示58を行って操作者の指示を待ち、キーボード2
6などから実行操作が行われたなど、OKの指示があれ
ばステップS29へ進み、そうでなければステップS2
7へ進む。
In step S26, if there is a parenthesis input position on the right side, CG
The bit map and the outline data in the ROM 13 are selected, written in a position in the VRAM 14 corresponding to the right parenthesis input position, and the provisional display 58 of the multi-line parenthesis candidate shown in FIG. Wait, keyboard 2
If there is an OK instruction such as an execution operation performed from step 6 or the like, the process proceeds to step S29, otherwise, to step S2.
Proceed to 7.

【0046】ステップS27では右側の括弧入力位置が
存在しない、あるいは操作者から右側の括弧入力位置に
括弧の入力を行わないという指示が(キーボード26な
どから解除操作を行うなど)あればステップS30へ進
み、そうでなければステップS28へ進む。ステップS
28では括弧候補を次の候補に進め(次の候補が存在し
ないなら最初の候補に戻す)ステップS26へ戻る。ス
テップS29では選択されている右側の入力位置の複数
行括弧の候補の複数行括弧情報を、文書データ23の右
側の入力位置に相当するアドレスに挿入してステップS
30へ進む。ステップS30では入力位置の左側の括弧
入力位置が存在すれば、ステップS23で判定された左
側の入力位置の長さ候補のうち最初に判定されたもの
(図12の括弧候補1(72))に候補を選択しステッ
プS31へ進む。ステップS31では左側の括弧入力位
置が存在すれば選択された複数行括弧候補の情報よりC
GROM13のビットマップ及びアウトラインデータを
選択し左側の括弧入力位置に対応するVRAM14中の
位置に書き込み複数行括弧の候補の仮表示を行って操作
者の指示を待ち、キーボード26などから実行操作が行
われたなど、OKの指示があればステップS34へ進
み、そうでなければステップS32へ進む。ステップS
32では左側の括弧入力位置が存在しない、あるいは操
作者から左側の括弧入力位置に括弧の入力を行わないと
いう指示が(キーボード26などから解除操作を行うな
ど)あればステップS35へ進み、そうでなければステ
ップS33へ進む。ステップS33では括弧候補を次の
候補に進め(次の候補が存在しないなら最初の候補に戻
す)ステップS30へ戻る。ステップS34では選択さ
れている左側の入力位置の複数行括弧の候補の複数行括
弧情報を、文書データ23の左側の入力位置に相当する
アドレスに挿入してステップS35へ進む。ステップS
35では、図15の表示処理を行って終了する。
In step S27, if there is no right parenthesis input position, or if the operator instructs not to enter parentheses in the right parenthesis input position (by performing a release operation from the keyboard 26 or the like), the flow proceeds to step S30. Proceed, otherwise proceed to step S28. Step S
At 28, the parenthesis candidate is advanced to the next candidate (return to the first candidate if the next candidate does not exist), and the process returns to step S26. In step S29, the multi-line parenthesis information of the selected multi-line parenthesis at the selected input position on the right side is inserted into the address corresponding to the input position on the right side of the document data 23.
Proceed to 30. In step S30, if there is a parenthesis input position to the left of the input position, the first candidate among the length candidates for the left input position determined in step S23 (parenthesis candidate 1 (72) in FIG. 12). A candidate is selected, and the process proceeds to step S31. In step S31, if there is a parenthesis input position on the left side, C
The bit map and the outline data of the GROM 13 are selected, written into the position in the VRAM 14 corresponding to the input position on the left side of the parentheses, and the candidates for the multi-line parentheses are provisionally displayed, and an operator's instruction is waited. If there is an instruction such as OK, the process proceeds to step S34, and if not, the process proceeds to step S32. Step S
At 32, if there is no left parenthesis input position, or if the operator instructs not to enter parentheses at the left parenthesis input position (such as performing a release operation from the keyboard 26 or the like), the process proceeds to step S35. If not, the process proceeds to step S33. In step S33, the parenthesis candidate is advanced to the next candidate (return to the first candidate if there is no next candidate), and the process returns to step S30. In step S34, the multi-line bracket information of the selected multi-line bracket at the selected input position on the left is inserted into the address corresponding to the input position on the left of the document data 23, and the process proceeds to step S35. Step S
At 35, the display processing of FIG. 15 is performed, and the process ends.

【0047】図17は、本実施例における複数行括弧の
入力位置決定処理のフローチャートである。複数行括弧
の入力位置の決定はステップS41〜ステップS53を
実行することによって行われる。ステップS41は複数
行括弧の入力位置決定処理が呼び出される前に、図5
(a)のカーソル46などで指定されている入力位置を
基準位置としてステップS42へ進む。ステップS42
では着目文字を基準位置に設置し、基準位置の文字を文
書データ23から取り出してその文字種(空白文字かそ
れ以外か)を基準位置文字種として、ステップS43へ
進む。ステップS43では着目文字を1文字分右へ動か
してステップS44へ進む。
FIG. 17 is a flowchart of a process for determining the input position of a multi-line bracket in this embodiment. The input position of the multi-line bracket is determined by executing steps S41 to S53. In step S41, before the input position determination processing for multi-line parentheses is called, FIG.
The process proceeds to step S42 with the input position specified by the cursor 46 or the like in (a) as a reference position. Step S42
Then, the target character is set at the reference position, the character at the reference position is extracted from the document data 23, and the character type (blank character or other) is set as the reference position character type, and the process proceeds to step S43. In step S43, the character of interest is moved right by one character, and the flow advances to step S44.

【0048】ステップS44では着目文字が文末(着目
文字位置>X)であるか調べ文末ならばステップS52
へ進み、そうでなければステップS45へ進む。ステッ
プS45では着目文字の文字種が基準位置の文字種と同
じであるか調べ、同じであればステップS43へ戻り、
そうでなければステップS46へ進む。ステップS46
では右側の括弧入力位置を着目文字の位置に決定してス
テップS47へ進む。ステップS47では着目文字の位
置を基準位置に戻し、ステップS48へ進む。ステップ
S48では着目文字を1文字分左へ動かしてステップS
49へ進む。
In step S44, it is checked whether the target character is the end of the sentence (target character position> X).
The process proceeds to step S45 if not. In step S45, it is checked whether the character type of the character of interest is the same as the character type of the reference position.
Otherwise, the process proceeds to step S46. Step S46
Then, the right parenthesis input position is determined to be the position of the target character, and the process proceeds to step S47. In step S47, the position of the target character is returned to the reference position, and the process proceeds to step S48. In step S48, the character of interest is moved one character to the left, and
Go to 49.

【0049】ステップS49では着目文字が文頭である
か調べ文頭ならばステップS53へ進み、そうでなけれ
ばステップS50へ進む。ステップS50では着目文字
の文字種が基準位置の文字種と同じであるか調べ、同じ
であればステップS48へ戻り、そうでなければステッ
プS51へ進む。ステップS51では左側の括弧入力位
置を着目文字の位置に決定して終了する。ステップS5
2では右側の括弧入力位置は存在しないとしてステップ
S47へ進む。ステップS53では左側の括弧入力位置
は存在しないとして終了する。左右とも括弧入力位置が
存在する場合は図5のように括弧の入力位置が2ケ所判
定されて、右側にしか入力位置がない場合は、図4のよ
うに判定個所は一ケ所である。
In step S49, it is checked whether or not the character of interest is the beginning of the sentence. If it is the beginning of the sentence, the flow proceeds to step S53; otherwise, the flow proceeds to step S50. In step S50, it is checked whether the character type of the target character is the same as the character type at the reference position. If the character type is the same, the process returns to step S48; otherwise, the process proceeds to step S51. In step S51, the left parenthesis input position is determined as the position of the character of interest, and the process ends. Step S5
In step 2, the right parenthesis input position does not exist, and the process proceeds to step S47. In step S53, it is determined that there is no left parenthesis input position, and the process ends. When the parenthesis input position exists on both the left and right sides, two input positions of the parenthesis are determined as shown in FIG. 5, and when there is only an input position on the right side, only one determination position is provided as shown in FIG.

【0050】図18は、本実施例における複数行括弧の
長さ判定の処理のフローチャートである。複数行括弧の
長さの判定及び長さ候補の判定はステップS61〜ステ
ップS77を実行することによって行われる。ステップ
S61では着目ポインタを長さ判定処理が実行される前
に設定されている複数行括弧の入力位置の左側の文字の
位置に設定して、着目ポインタ位置の文字種が空白文字
ならば、空白モード、そうでなければ文字モードにモー
ド設定してステップS62へ進む。ステップS62では
着目ポインタが頁末の行にあるか(着目ポインタの行=
y1+YD)調べ、頁末行ならばステップS69へ進
み、そうでなければステップS63へ進む。
FIG. 18 is a flowchart of the process of determining the length of the parentheses of a plurality of lines in this embodiment. The determination of the length of the multi-line parenthesis and the determination of the length candidate are performed by executing steps S61 to S77. In step S61, the pointer of interest is set to the position of the character to the left of the input position of the multi-line parenthesis set before the length determination processing is executed. Otherwise, the mode is set to the character mode, and the process proceeds to step S62. In step S62, it is determined whether the pointer of interest is on the last line of the page (the row of the pointer of interest =
y1 + YD) Check, if it is the last line of the page, proceed to step S69, otherwise proceed to step S63.

【0051】ステップS63では着目ポインタを次の行
の同じ桁の文字に移動してステップS64へ進む。ステ
ップS64では着目ポインタの位置の文字の文字種が空
白文字であるか調べ、空白文字ならばステップS65へ
進み、そうでなければステップS67へ進む。ステップ
S65では設定されているモードが空白モードならばス
テップS62に戻り、そうでなければステップS66へ
進む。ステップS66では複数行括弧入力位置から着目
ポインタの位置までの行数−1を複数行括弧の長さ候補
(図13)に追加(着目ポインタが入力位置の左側なら
左長さ76、着目ポインタが入力位置の右側なら右長さ
77から候補を追加していく)し、空白モードにモード
を設定してステップS62へ戻る。
In step S63, the target pointer is moved to the character of the same digit in the next line, and the flow advances to step S64. In step S64, it is checked whether the character type of the character at the position of the pointer of interest is a blank character. If it is a blank character, the process proceeds to step S65; otherwise, the process proceeds to step S67. In step S65, if the set mode is the blank mode, the process returns to step S62; otherwise, the process proceeds to step S66. In step S66, the number of lines -1 from the input position of the multi-line bracket to the position of the pointer of interest is added to the length candidate of the multi-line parenthesis (FIG. 13) (if the target pointer is to the left of the input position, the left length is 76; If it is to the right of the input position, candidates are added from the right length 77), the mode is set to the blank mode, and the process returns to step S62.

【0052】ステップS67では、設定されているモー
ドが文字モードならばステップS62へ戻り、そうでな
ければステップS68に進む。ステップS68では文字
モードにモードを設定してステップS62へ戻る。ステ
ップS69では、複数行括弧の入力位置の両側について
着目ポインタの設定と検索が行われていればステップS
71へ進み、そうでなければ、ステップS70へ進む。
ステップS70では、着目ポインタを複数行括弧入力位
置の右側の文字に設定して、着目ポインタ位置の文字種
が空白文字ならば、空白モード、そうでなければ文字モ
ードにモード設定してステップS62へ戻る。
In step S67, if the set mode is the character mode, the process returns to step S62; otherwise, the process proceeds to step S68. In step S68, the mode is set to the character mode, and the process returns to step S62. In step S69, if the target pointer has been set and searched for on both sides of the input position of the multi-line bracket, step S
Go to 71, otherwise go to step S70.
In step S70, the target pointer is set to the character on the right side of the multi-line parenthesis input position. If the character type at the target pointer position is a blank character, the mode is set to the blank mode, otherwise the mode is set to the character mode, and the process returns to step S62. .

【0053】ステップS71では、図13の括弧長さ保
持テーブルの最後に終了コードを付加し、着目括弧長候
補を括弧長候補1に設定してステップS72へ進む。ス
テップS72では着目括弧長候補の、右長さと左長さを
得てステップS73へ進む。ステップ73では、ステッ
プS72で得られた右長さと、左長さを比べ、右長さ>
左長さならばステップS77へ進み、そうでなければス
テップS74へ進む。ステップS74ではステップS7
2で得られた長さのうち右長さを括弧の長さと決定しス
テップS75へ進む。
In step S71, an end code is added to the end of the parenthesis length holding table in FIG. 13, the parenthesis length candidate of interest is set to parenthesis length candidate 1, and the flow advances to step S72. In step S72, the right and left lengths of the parenthesis length candidate of interest are obtained, and the flow advances to step S73. In step 73, the right length obtained in step S72 is compared with the left length, and the right length>
If it is the left length, the process proceeds to step S77; otherwise, the process proceeds to step S74. In step S74, step S7
The right length of the length obtained in step 2 is determined as the length of the parentheses, and the process proceeds to step S75.

【0054】ステップS75では、図12の複数行括弧
の長さ次候補の保持情報に決定された長さの括弧の候補
情報を追加して、複数行括弧の向き決定手段により決定
された括弧向きフラグを付加して、ステップS76へ進
む。ステップS76では図13の括弧長さ保持テーブル
に長さの次候補があるか調べ、次候補があれば着目括弧
長候補を次の候補に移動してステップS72に戻り、次
候補がなければ処理を終了する。ステップS77ではス
テップS72で得られた長さのうち左長さを括弧の長さ
と決定しステップS75へ進む。
In step S75, parenthesis candidate information having the determined length is added to the holding information of the multiple-line parenthesis next candidate in FIG. After adding the flag, the process proceeds to step S76. In step S76, the parenthesis length holding table of FIG. 13 is checked to see if there is a next candidate for the length. If there is a next candidate, the parenthesis length candidate of interest is moved to the next candidate, and the process returns to step S72. To end. In step S77, the left length of the length obtained in step S72 is determined as the length of the parentheses, and the process proceeds to step S75.

【0055】図19は、本実施例における複数行括弧の
特徴点判定処理のフローチャートである。複数行括弧の
特徴点判定はステップS81〜ステップS93を実行す
ることによって行われる。ステップS81では、図16
のステップS25にて渡された複数行括弧の入力位置に
対する図12の複数行括弧の長さ次候補の保持情報の括
弧候補1(72)に着目候補を設定してステップS82
へ進む。ステップS82では、図12の複数行括弧の長
さ次候補の保持情報の全候補について特徴点の検索・設
定が終了しているか調べ、全候補が終了していれば処理
を終了し、そうでなければステップS83へ進む。
FIG. 19 is a flowchart of a process for determining a characteristic point of a multi-line parenthesis in this embodiment. The determination of the characteristic points of the multi-line parentheses is performed by executing steps S81 to S93. In step S81, FIG.
The target candidate is set to the parenthesis candidate 1 (72) of the holding information of the next candidate of the length of the multi-line parenthesis in FIG. 12 with respect to the input position of the multi-line parenthesis passed in step S25 in step S82.
Proceed to. In step S82, it is checked whether the search / setting of the feature point has been completed for all the candidates of the holding information of the next-length parenthesis candidate in FIG. 12. If all candidates have been completed, the process is terminated. If not, the process proceeds to step S83.

【0056】ステップS83では、着目候補の方向フラ
グの状態を調べて、方向フラグ=1(右開き括弧)なら
ば着目文字を複数行括弧の入力位置の左側の文字に設定
し、方向フラグ=2(左開き括弧)ならば着目文字を複
数行括弧の入力位置の右側の文字に設定しステップS8
4へ進む。ステップS84では、着目文字の文字種が空
白文字であるか調べ、空白文字であるならばステップS
85へ進み、そうでなければステップS88へ進む。ス
テップS85では、着目文字を次の行の同じ桁の文字に
進めてステップS86へ進む。ステップS86では着目
文字が、着目候補の括弧長以上、複数行括弧の入力位置
より下にあればステップS87へ進み、そうでなければ
ステップS84へ戻る。
In step S83, the state of the direction flag of the target candidate is checked, and if the direction flag is 1 (right open parenthesis), the target character is set to the character on the left side of the input position of the multi-line parenthesis, and the direction flag is set to 2 If it is (left open parenthesis), the target character is set to the character on the right side of the input position of the multi-line parenthesis, and step S8 is performed.
Proceed to 4. In step S84, it is checked whether or not the character type of the target character is a blank character.
Proceed to step 85, otherwise proceed to step S88. In step S85, the character of interest is moved to the character of the same digit in the next line, and the flow advances to step S86. In step S86, if the target character is equal to or longer than the parenthesis length of the target candidate and below the input position of the multi-line parenthesis, the process proceeds to step S87; otherwise, the process returns to step S84.

【0057】ステップS87では、着目候補の複数行括
弧には特徴点の位置が決められないとして、着目候補の
特徴点の位置を、括弧の中心位置に設定して(特徴点は
ない括弧に括弧種を変更するようにしても良い)着目候
補を次の複数行括弧の候補に移して、ステップS82に
戻る。ステップS88では着目文字の位置をポインタ1
として記憶しステップS89へ進む。ステップS89で
は着目文字を次の行の同じ桁の文字に進めてステップS
90へ進む。ステップS90では着目文字が、行方向に
複数行括弧の入力位置+着目候補+1の括弧長の位置に
あればステップS92へ進み、そうでなければステップ
S91へ進む。
In step S87, since the position of the feature point cannot be determined in the parentheses of a plurality of lines of interest, the position of the feature point of the interest candidate is set to the center position of the parentheses. The seed may be changed.) The target candidate is moved to the next multiple-line bracket candidate, and the process returns to step S82. In step S88, the position of the character of interest is
And the process proceeds to step S89. In step S89, the character of interest is advanced to the character of the same digit in the next line, and step S89.
Go to 90. In step S90, if the character of interest is located at the position of the parentheses of the input position of the parentheses of a plurality of lines + the candidate of interest + 1 in the line direction, the flow proceeds to step S92; otherwise, the flow proceeds to step S91.

【0058】ステップS91では、着目文字の文字種が
空白文字であるか調べ、空白文字であるならばステップ
S92へ進み、そうでなければステップS89へ戻る。
ステップS92では着目文字の位置の1行上をポインタ
2として記憶してステップS93へ進む。ステップS9
3では着目候補の特徴点位置をポインタ1とポインタ2
の中間の位置に設定して着目候補を次の複数行括弧の候
補に移して、ステップS92に戻る。なお、図15〜図
19の各種処理は、図2に示すCPU11によって自動
的に実行される。
In step S91, it is determined whether or not the character type of the character of interest is a blank character. If it is a blank character, the process proceeds to step S92; otherwise, the process returns to step S89.
In step S92, one line above the position of the character of interest is stored as pointer 2, and the flow advances to step S93. Step S9
In No. 3, pointer 1 and pointer 2
Is set to an intermediate position, and the candidate of interest is moved to the next plural-line bracket candidate, and the process returns to step S92. The various processes in FIGS. 15 to 19 are automatically executed by the CPU 11 shown in FIG.

【0059】[0059]

【発明の効果】発明によれば、複数行又は複数列にわ
たる括弧を入力する際に、その括弧を入力する位置を、
入力位置の周辺の文書情報の並びによって判断するの
で、複数行又は複数列にわたる括弧の入力位置指定操作
を容易にすることができる。また、文書領域を複数行
については左右から複数行括弧で、複数桁括弧につい
ては上下から複数桁括弧で、2度複数行又は複数桁括弧
の入力位置を指定することなく括ることができ、複数行
又は複数桁括弧の入力を簡単化することができる。
According to the present invention, when a parenthesis over a plurality of rows or a plurality of columns is input, the position for inputting the parenthesis is
Since the determination is made based on the arrangement of the document information around the input position, the operation of specifying the input position of parentheses over a plurality of rows or a plurality of columns can be facilitated. In addition, Batch multiple lines document area
In multiline brackets from the left and right for the arc, the Te with <br/> the multi-digit brackets at a plurality of digits brackets from the top and bottom, be enclosed without designating twice the input position of the plurality of rows or a plurality of digits parentheses <br/> Yes, it is possible to simplify the input of multiple lines or multiple digit brackets .

【0060】また、本発明によれば、複数行又は複数列
にわたる括弧を入力する際に、その括弧の長さを、括弧
を入力する位置の周辺の文書情報の並びによって判断す
るので、複数行又は複数列にわたる括弧の長さ指定操作
を容易にする(省略する)ことができる。
Further, according to the present invention, when inputting parentheses across multiple rows or multiple columns, the length of the brackets is determined by the arrangement of the document information around the position for entering the parentheses <br/> Therefore, the operation of specifying the length of parentheses over a plurality of rows or a plurality of columns can be facilitated (omitted).

【0061】また、本発明によれば、複数行又は複数列
にわたる括弧を入力する際に、その括弧の長さを、括弧
を入力する位置の周辺の文書情報の並びによって判断す
る際に複数の候補を判定し候補を選択して入力すること
ができるので、複数行又は複数列にわたる括弧の長さ指
定を容易にかつ、自由度を損なわない。
[0061] Further, according to the present invention, when inputting parentheses across multiple rows or multiple columns, the length of the brackets is determined by the arrangement of the document information around the position for entering the parentheses <br/> At this time, a plurality of candidates can be determined, and a candidate can be selected and input, so that the length of parentheses over a plurality of rows or a plurality of columns can be easily designated without impairing the degree of freedom.

【0062】また、本発明によれば、複数行又は複数列
にわたる括弧を入力する際に、その括弧の特徴点の位置
、括弧を入力する位置の周辺の文書情報の並びによっ
て判断するので、複数行又は複数列にわたる括弧の特徴
点指定操作を容易にする(省略する)ことができる。
[0062] Further, according to the present invention, when inputting parentheses across multiple rows or multiple columns, the positions of the feature points of the brackets, so judged by the arrangement of the document information around the position for entering the parentheses, It is possible to facilitate (omit) the operation of designating the characteristic points of the parentheses over a plurality of rows or a plurality of columns.

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

【図1】本発明による文書処理装置の基本構成を示すブ
ロック回路図である。
FIG. 1 is a block circuit diagram showing a basic configuration of a document processing apparatus according to the present invention.

【図2】本発明による実施例の装置構成を示すブロック
回路図である。
FIG. 2 is a block circuit diagram showing a device configuration of an embodiment according to the present invention.

【図3】複数行括弧の各部の名称の定義を示す図であ
る。
FIG. 3 is a diagram showing the definition of the name of each part of a multi-line parenthesis.

【図4】本装置による複数行括弧の入力の様子を示す図
である。
FIG. 4 is a diagram showing a state of inputting multi-line parentheses by the present apparatus.

【図5】本装置による複数行括弧の他の入力の様子を示
す図である。
FIG. 5 is a diagram showing another input state of multi-line parentheses by the present device.

【図6】本装置による複数行括弧の長さ候補選択の様子
を示す図である。
FIG. 6 is a diagram illustrating a state in which a length candidate for a plurality of parentheses is selected by the present apparatus.

【図7】本装置による空白文字の表を示す図である。FIG. 7 is a diagram showing a table of blank characters by the present apparatus.

【図8】本装置による複数行括弧の情報を示す図であ
る。
FIG. 8 is a diagram showing information of multi-line parentheses by the present apparatus.

【図9】本装置による複数行括弧の長さが5である場合
の各特徴点位置番号における複数括弧の表示を示す図で
ある。
FIG. 9 is a diagram illustrating display of a plurality of parentheses at each feature point position number when the length of a plurality of parentheses is 5 according to the present apparatus.

【図10】本装置による複数行括弧の種類番号表を示す
図である。
FIG. 10 is a diagram showing a type number table of multi-line parentheses by the present apparatus.

【図11】本装置による複数行括弧の方向フラグの表を
示す図である。
FIG. 11 is a diagram showing a table of multi-line parenthesis direction flags according to the present apparatus.

【図12】本装置による複数行括弧の長さ次候補の保持
情報を示す図である。
FIG. 12 is a diagram showing retained information of a next-length parenthesis for a plurality of parentheses by the present apparatus.

【図13】本装置による括弧長さ保持テーブルを示す図
である。
FIG. 13 is a diagram showing a parenthesis length holding table according to the present apparatus.

【図14】本装置による文書全体と入力される複数行括
弧との位置座標の関係を示す図である。
FIG. 14 is a diagram illustrating a relationship between positional coordinates of an entire document and input multi-line parentheses by the present apparatus.

【図15】本装置における表示処理のフローチャートで
ある。
FIG. 15 is a flowchart of a display process in the present apparatus.

【図16】本装置における複数行括弧の入力時の処理の
フローチャートである。
FIG. 16 is a flowchart of a process when inputting a multi-line bracket in the present apparatus.

【図17】本装置における複数行括弧の入力位置決定処
理のフローチャートである。
FIG. 17 is a flowchart of a multi-line parenthesis input position determination process in the present apparatus.

【図18】本装置における複数行括弧の長さ判定の処理
のフローチャートである。
FIG. 18 is a flowchart of a process of determining the length of a multi-line parenthesis in the present apparatus.

【図19】本装置における複数行括弧の特徴点判定処理
のフローチャートである。
FIG. 19 is a flowchart of a multi-line parenthesis feature point determination process in the present apparatus.

【図20】従来装置による複数行括弧入力の操作例を示
す図である。
FIG. 20 is a diagram showing an operation example of multi-line parenthesis input by a conventional device.

【図21】従来装置による複数行括弧の特徴点の位置決
定の様子を示す図である。
FIG. 21 is a diagram showing how a position of a feature point of a multi-line parenthesis is determined by a conventional device.

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

1 入力手段 2 文書記憶手段 3 入力位置指示手段 4 記号入力位置決定手段 5 出力手段 6 編集手段 7 記号長さ判定手段 8 次候補長さ判定手段 9 候補選択手段 10 記号特徴点判定手段 11 CPU 12 アドレス及びデータバス 13 CGROM 14 VRAM 15 表示コントローラ 16 表示装置 17 FDコントローラ 18 フロッピーディスクドライブ 19 プリンタコントローラ 20 プリンタ 21 ROM 22 RAM 23 文書データ 24 ポインタ/変数バッファ 25 キーボードコントローラ 26 キーボード 27 ペンコントローラ 28 ペン 29 ブザーコントローラ 30 ブザー DESCRIPTION OF SYMBOLS 1 Input means 2 Document storage means 3 Input position indicating means 4 Symbol input position determining means 5 Output means 6 Editing means 7 Symbol length determining means 8 Secondary candidate length determining means 9 Candidate selecting means 10 Symbol feature point determining means 11 CPU 12 Address and data bus 13 CGROM 14 VRAM 15 display controller 16 display device 17 FD controller 18 floppy disk drive 19 printer controller 20 printer 21 ROM 22 RAM 23 document data 24 pointer / variable buffer 25 keyboard controller 26 keyboard 27 pen controller 28 pen 29 buzzer Controller 30 Buzzer

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 文字列が複数点在する文書情報に対し
て、該文書情報の複数行にわたって括弧をかける最初の
行としての基準位置を指示するのに用いる入力手段と、 前記文書情報の前記基準位置にある文字種に基づいて、
前記基準位置にある文字種と前記基準位置の左右に隣接
する同じ行の文字種とを順次照合し、異なる文字種が現
れた行と列の位置を、前記括弧の入力位置として設定す
る括弧入力位置決定手段と、 前記括弧入力位置決定手段で設定された入力位置から前
記基準位置よりに隣接する位置の文字種と同じ列の下方
向の文字種とを順次照合し、異なる文字種が現れた行の
一つ前の行と前記入力位置の列とを前記括弧がかかる終
端位置として設定する括弧長さ判定手段と、 前記入力位置と前記終端位置を記憶する記憶手段と、 前記記憶手段に記憶された前記入力位置と前記終端位置
に基づいて、前記複数行にわたる括弧を前記文書情報に
レイアウトする編集手段と、 前記編集手段により複数行にわたる括弧をレイアウトし
た前記文書情報を表示する表示手段とを備えたことを特
徴とする文書処理装置。
1. An input means used for designating a reference position as a first line in parentheses over a plurality of lines of document information for document information in which a plurality of character strings are scattered; Based on the character type at the reference position,
Bracket input position determining means for sequentially comparing the character type at the reference position and the character type on the same line adjacent to the left and right of the reference position, and setting the position of the line and column where a different character type appears as the input position of the parenthesis And sequentially compares the character type in the downward direction of the same column as the character type at a position adjacent to the reference position from the input position set by the parenthesis input position determination means, and immediately before the line where a different character type appears. A parenthesis length determining unit that sets a row and a column of the input position as an end position where the parenthesis is applied, a storage unit that stores the input position and the end position, and the input position that is stored in the storage unit. Editing means for laying out the brackets over the plurality of lines in the document information based on the end position; and displaying the document information with the brackets over the plurality of lines laid out by the editing means. A document processing apparatus comprising a display unit.
【請求項2】 前記括弧長さ判定手段は、前記入力位置
から前記基準位置よりに隣接する位置の文字種と同じ列
の下方向の文字種とを順次照合し、異なる文字種が現れ
る毎に異なる文字種の現れた行の一つ前の行と前記入力
位置の列の位置とを前記括弧がかかる終端位置候補N
(Nは自然数)として設定するとともに、前記入力手段を用いて、 前記長さ判定手段により決定さ
れた複数の終端位置候補のうちから任意の候補を選択
、 前記記憶手段は、前記入力手段を用いて選択された候補
を前記終端位置として記憶することを特徴とする請求項
1に記載の文書処理装置。
2. A method according to claim 1, wherein said parenthesis length determining means sequentially compares a character type at a position adjacent to said input position from said reference position with a character type in a downward direction of the same column, and selects a different character type every time a different character type appears. The end position candidate N with the parentheses is used to determine the position of the previous row and the position of the column of the input position.
With (N is a natural number) is set as, using said input means, of selecting any candidate from among a plurality of end position candidate decided by the length determining means
So, the storage unit, the document processing apparatus according to claim 1, characterized in that storing the candidate selected by using the input means as the end position.
【請求項3】 前記記憶手段に記憶された前記入力位置
から前記基準位置とは反対側に隣接する位置を起点とし
て、同じ列の下方向の文字種を、前記記憶手段に記憶さ
れた前記入力位置の行から前記終端位置の行の範囲内に
おいて順次照合し、空白文字以外の文字種が最初に現れ
た位置の行を着目点1とし、次に空白文字が現れた位置
のひとつ前の行を着目点2として設定するとともに、前
記着目点1と前記着目点2との中間地点の行と前記入力
位置の列とを特徴点位置として設定する括弧特徴点判定
手段を有し、 前記記憶手段は前記特徴点位置を記憶し、記憶された前
記入力位置と前記終端位置と前記特徴点位置に基づい
て、前記編集手段が複数行にわたる括弧を前記文書情報
にレイアウトすることを特徴とする請求項1に記載の文
書処理装置。
3. Starting from a position adjacent to the input position stored in the storage means and opposite to the reference position as a starting point, a downward character type of the same row is stored in the input position stored in the storage means. Are sequentially collated within the range of the line at the end position from the line of, and the line at the position where a character type other than a blank character first appears is point of interest 1, and the line immediately before the position where the blank character appears next is focused. A parenthesis feature point determination unit that sets as a point 2 and sets a row of an intermediate point between the focus point 1 and the focus point 2 and a column of the input position as a feature point position, 2. The method according to claim 1, wherein a feature point position is stored, and based on the stored input position, the end position, and the feature point position, the editing unit lays out brackets over a plurality of lines in the document information. Document processing Location.
JP24268894A 1994-04-28 1994-10-06 Document processing device Expired - Fee Related JP3247809B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP24268894A JP3247809B2 (en) 1994-10-06 1994-10-06 Document processing device
TW084103991A TW310399B (en) 1994-04-28 1995-04-22
US08/428,625 US5737618A (en) 1994-04-28 1995-04-25 Document processing system for displaying brackets
CNB951058002A CN1149500C (en) 1994-04-28 1995-04-28 Document processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24268894A JP3247809B2 (en) 1994-10-06 1994-10-06 Document processing device

Publications (2)

Publication Number Publication Date
JPH08106452A JPH08106452A (en) 1996-04-23
JP3247809B2 true JP3247809B2 (en) 2002-01-21

Family

ID=17092763

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24268894A Expired - Fee Related JP3247809B2 (en) 1994-04-28 1994-10-06 Document processing device

Country Status (1)

Country Link
JP (1) JP3247809B2 (en)

Also Published As

Publication number Publication date
JPH08106452A (en) 1996-04-23

Similar Documents

Publication Publication Date Title
US6289361B1 (en) Document display apparatus for displaying a plurality of multimedia documents
US5835916A (en) Document preparing apparatus capable of relocating cells forming a table and resetting cell size
JPH0812663B2 (en) Image processing system and method thereof
JP3388451B2 (en) Handwriting input device
JP3474961B2 (en) Document information processing device
JP3247809B2 (en) Document processing device
JP3248556B2 (en) Information processing apparatus and method
JPH08202856A (en) Picture processing method
JPH10198695A (en) Information processor
JPH0731671B2 (en) Formula input editing method
JPH0540845A (en) Method and device for character correction
JP2561000B2 (en) String output method
JP2805435B2 (en) Music score creation device
JP2560999B2 (en) String output method
JP3139955B2 (en) Information processing method and apparatus
JP2000076380A (en) Handwritten character input device and storage medium
JP2858581B2 (en) Image processing method and apparatus
JPH08293033A (en) Information processor
JPH04148471A (en) Format setting device
JPH0728790A (en) Method and device for document processing
JPH07129586A (en) Information processor
JP2008305248A (en) Retrieval device and program
JPH10198483A (en) Help picture display device and medium stored with help picture display control program
JPH03113569A (en) Document editing device
JPH04364569A (en) Character enlargement and reduction processing system

Legal Events

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

Free format text: PAYMENT UNTIL: 20081102

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091102

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091102

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101102

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111102

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees