JP3544699B2 - Document information processing device - Google Patents

Document information processing device Download PDF

Info

Publication number
JP3544699B2
JP3544699B2 JP09213694A JP9213694A JP3544699B2 JP 3544699 B2 JP3544699 B2 JP 3544699B2 JP 09213694 A JP09213694 A JP 09213694A JP 9213694 A JP9213694 A JP 9213694A JP 3544699 B2 JP3544699 B2 JP 3544699B2
Authority
JP
Japan
Prior art keywords
parenthesis
parentheses
input
document
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP09213694A
Other languages
Japanese (ja)
Other versions
JPH07230450A (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 JP09213694A priority Critical patent/JP3544699B2/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 JPH07230450A publication Critical patent/JPH07230450A/en
Application granted granted Critical
Publication of JP3544699B2 publication Critical patent/JP3544699B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Description

【0001】
【産業上の利用分野】
この発明は、各種言語のワードプロセッサ、パーソナルコンピュータ、又は電子手帳などの文書編集が可能な文書情報処理装置に関し、特に、複数行にわたる括弧を表示することのできる文書情報処理装置に関する。
【0002】
【従来の技術】
従来の日本語ワードプロセッサのような文書情報処理装置では、文字入力及び編集という基本的な機能に加えて、複数行にわたる括弧の作成や表示等の機能を有し、括弧つきの文章や複数行にわたる文字列を括弧で閉じた形式の文書を扱うことのできるものがある。以下に、その主なものを上げる。
【0003】
まず、特開昭63−16367号公報には、左括弧と右括弧をペアで登録することにより、一度の操作で両方の括弧を入力することができ、括弧を選択したあとカーソルを括弧の中に移動し、自動的に挿入モードとなって文字を入力できる日本語処理装置が記載されている。
【0004】
特開昭63−115217号公報には、括弧や囲み記号が入力されたと判断された場合に、一対の囲み記号を記憶して表示し、次に入力された文字を囲み記号の間に挿入するようにした文字入力装置が記載されている。
【0005】
特開昭64−74667号公報には、縦長の括弧等について複数の候補の中から所望の括弧を選択し、指定された位置の文書データを選択された括弧に書き換える文書処理装置が記載されている。
【0006】
特開平3−30056号公報には、利用者が所望の括弧を専用キーを用いて入力した後、その開き括弧と閉じ括弧にはさまれた領域に入力される文字の行数及び桁数に応じて両括弧の縦方向の長さを変化させる文書処理装置が記載されている。
【0007】
特開平2−297125号公報には、複数行にわたる括弧を付ける括弧領域を設定し、選択された括弧のパターンを適当な倍率で拡大処理し、設定された括弧領域に収まるように出力する情報処理装置が記載されている。
【0008】
特開平5−2581号公報には、括弧記号を構成する指定文字と対文字を設定し、これらの文字間に配置される文字列の行数から、括弧記号の適切な大きさを求めて文字列全体を両方向から閉じることができるようにした文字入力装置が記載されている。
【0009】
上記の特開昭63−16367号公報、特開昭63−115217号公報および特開平3−30056号公報においては、一対の開き括弧と閉じ括弧が一度に入力され、次いで両括弧にはさまれた位置に文字を入力することができるため、閉じ括弧の再入力の手間と文字入力のためのカーソル移動の手間を省くことができる。
【0010】
特開昭64−74667号公報は、縦長の括弧を入力する際に何度も同様な入力操作を繰り返すことなく1回の操作だけで入力可能とするものである。
【0011】
特開平2−297125号公報は、縦長あるいは横長の括弧を付与する領域に関する情報を入力して、その領域のサイズに収まるように、括弧の大きさや括弧内の文字のサイズを自動的に調整することができるものである。
【0012】
特開平5−2581号公報では、括弧内に入力される文章が複数行にわたった時でも、その行数に応じて、開き括弧及び閉じ括弧の縦方向の長さを自動的に適当な長さに調整することができるものである。
【0013】
【発明が解決しようとする課題】
しかし、上記のような複数行にわたる括弧の作成及び表示機能を持った文書情報処理装置では、括弧を作成し、その後、括弧内の文章を修正した場合に、括弧内での改行等の配慮がされていないために括弧内の文字の追加・削除によってレイアウトが崩れてしまうという問題点があった。
【0014】
また、すでに入力された文書に対して複数行の括弧をつける場合には、その括弧を入力する操作あるいは括弧の大きさを変更する操作が面倒であった。
また、上記の従来の文書情報処理装置では、入力された複数行にわたる括弧の太さを変化させること、及び複数行にわたる括弧の幅を変化させることについても配慮されておらず、括弧の表現力が単調であり、括弧を用いたインパクトの高い表現力を伴った文書を作成することは容易ではなかった。
【0015】
また、図18のような文章の場合、複数行にわたる括弧の中点が中央にあるものでは、括弧でまとめた文章の内容がどこに関連しているのか一見しただけではわかりにくいということがある。
また、文章の移動、追加、削除をするによって、複数行にわたる括弧の位置の変更、複数行にわたる括弧の始点又は終点の移動、括弧を斜め方向に傾けること、さらに、括弧をある一点を中心に回転させること等、文章の変更に応じて複数行にわたる括弧についても変更をさせたい場合がある。
【0016】
これらのいずれの場合も、従来の方法では括弧の位置情報の設定や倍率の変更など複雑な操作をする必要がある場合や、最初から作成しなおさなければならない場合もあり、この複数行にわたる括弧の変更作業はかなり面倒なものであった。
【0017】
この発明は、以上のような事情を考慮してなされたものであり、複数行にわたる括弧の入力操作を容易にすると共に、見やすい文書となるように括弧の表現を変更できる文書情報処理装置を提供することを目的とする。
【0018】
【課題を解決するための手段】
この発明は、文書情報を入力する入力手段と、前記入力された文書情報を記憶する文書記憶手段と、文書情報を表示する表示手段と、予め定められた形状の複数個の括弧の情報を格納した括弧格納手段と、括弧格納手段に格納された括弧のうち指定された括弧の情報を記憶する指定括弧記憶手段と、指定括弧記憶手段に記憶された括弧を置く始点及び終点を設定する括弧位置設定手段と、括弧位置設定手段によって設定された始点及び終点の文書上の位置情報を記憶する括弧位置記憶手段と、前記括弧位置記憶手段に記憶された位置情報から、前記指定括弧記憶手段に記憶された括弧の文書上へ割り付けるべき大きさを決定してその括弧を生成し文書記憶手段に記憶する括弧生成手段と、生成された括弧を表示手段によって文書上の対応する位置に表示させる編集手段とを備え、入力手段によって括弧の始点が入力された場合に、その始点と所定の対応関係のある位置に既に入力された開き括弧があるとき、括弧生成手段が前記入力された始点を基準とした閉じ括弧を生成することを特徴とする文書情報処理装置を提供するものである。
また、開き括弧及び閉じ括弧とが対応づけて記憶された所定形状の複数個の括弧のうち、入力手段によって所望の括弧を指定させ、指定された括弧を置く文書上の始点及び終点を入力させ、設定情報記憶手段に前記入力された始点及び終点の文書上の位置情報を記憶させ、括弧生成手段によって前記位置情報から前記指定された括弧を文書上に割り付けるべき大きさを決定して括弧を生成する方法であって、入力手段によって括弧の始点が入力された場合に、その始点と所定の対応関係にある位置に既に入力された開き括弧があるとき、括弧生成手段によって前記入力された始点を基準とした閉じ括弧を生成させることを特徴とする文書情報装置の括弧生成方法を提供する。
この発明によれば、指定された括弧の始点及び終点の位置を設定しているので、利用者の意図した位置に意図した大きさの複数行にわたる括弧が容易に入力でき、特に開き括弧が既に入力されている場合において、閉じ括弧の始点を指示するだけで閉じ括弧が作成されるので、閉じ括弧入力の操作性の向上を図ることができる。
また、この発明は、入力された文書情報を記憶する文書記憶手段と、文書情報を表示する表示手段と、前記表示手段に重ねて配置され手書き入力された文書情報を取り込む入力手段と、予め定められた形状の複数個の括弧の情報を格納した括弧格納手段と、前記入力手段によって入力された括弧の軌跡を記憶する括弧軌跡記憶手段と、前記入力された括弧の軌跡に最も近い形状の括弧を前記括弧格納手段に記憶された複数個の括弧の中から認識する括弧認識手段と、前記括弧認識手段によって認識された括弧の情報を記憶する指定括弧記憶手段と、前記入力された括弧の軌跡の始点及び終点に関する位置情報を記憶する括弧位置記憶手段と、前記括弧位置記憶手段に記憶された位置情報から、前記指定括弧記憶手段に記憶された括弧の文書上へ割り付けるべき大きさを決定してその括弧を生成し文書記憶手段に記憶する括弧生成手段と、生成された括弧を表示手段によって文書上の対応する位置に表示させる編集手段とを備え、入力手段によって括弧の始点が入力された場合に、その始点と所定の対応関係のある位置に既に入力された開き括弧があるとき、括弧生成手段が前記入力された始点を基準とした閉じ括弧を生成することを特徴とする文書情報処理装置を提供するものである。
また、予め定められた形状の複数個の括弧の情報を括弧格納手段に格納させ、入力手段によって手書き入力された括弧の軌跡を括弧軌跡記憶手段に記憶させ括弧認識手段によって前記手書き入力された括弧の軌跡に最も近い形状の括弧を前記括弧格納手段に記憶された複数個の括弧の中から認識させ指定括弧記憶手段に認識された括弧を記憶させ括弧生成手段によって前記手書き入力された括弧の軌跡の始点及び終点に関する位置情報から、前記記憶された括弧の文書上へ割り付けるべき大きさを決定してその括弧を生成する方法であって、入力手段によって括弧の始点が入力された場合に、その始点と所定の対応関係のある位置に既に入力された開き括弧があるとき、括弧生成手段によって前記入力された始点を基準とした閉じ括弧を生成させることを特徴とする文書情報処理装置の括弧生成方法を提供する。
この発明によれば、利用者に括弧の形状を所望の位置に手書き入力させて認識するようにしているので、利用者の意思した位置に意図した大きさの複数行にわたる括弧が容易に入力できるとともに、対となる括弧のうち一方の括弧の入力操作性の向上を図ることができる。
さらに、この発明は、文書情報を入力する入力手段と、前記入力された文書情報を記憶する文書記憶手段と、文書情報を表示する表示手段と、予め定められた形状の複数個の括弧を格納した括弧格納手段と、括弧格納手段に格納された括弧のうち指定された括弧を記憶する指定括弧記憶手段と、指定括弧記憶手段に記憶された括弧を置く位置を設定する括弧情報設定手段と、括弧を形成する線分の太さを設定する太さ設定手段と、括弧の幅を設定する幅設定手段と、前記括弧情報設定手段、太さ設定手段、及び幅設定手段によって設定された位置に関する情報、太さ、及び幅を記憶する設定情報記憶手段と、指定括弧記憶手段に記憶された括弧を、前記設定情報記憶手段に記憶された位置、太さ、及び幅に対応するように生成し前記文書記憶手段へ記憶する括弧生成手段と、生成された括弧を表示手段によって文書上の対応する位置へ表示させる編集手段とを備え、入力手段によって括弧の始点が入力された場合に、その始点と所定の対応関係のある位置に既に入力された開き括弧があるとき、括弧生成手段が前記入力された始点を基準とした閉じ括弧を生成し、括弧が一度生成された後も括弧の太さまたは幅を変更できることを特徴とする文書情報処理装置を提供するものである。
また、開き括弧及び閉じ括弧とが対応づけて記憶された所定形状の複数個の括弧のうち、入力手段によって所望の括弧を指定させ設定手段によって指定された括弧の幅及び太さを設定させ、指定された括弧を置く文書上の始点及び終点を入力手段によって入力させ括弧生成手段によって前記指定された括弧を、前記始点及び終点に対応する位置に、設定された太さ及び幅に対応するように生成する方法であって、入力手段によって括弧の始点が入力された場合に、その始点と所定の対応関係にある位置に既に入力された開き括弧があるとき、括弧生成手段によって前記入力された始点を基準とした閉じ括弧を生成させることを特徴とする文書情報装置の括弧生成方法を提供する。
この発明によれば、括弧が一度生成された後も、簡単な入力操作によってその括弧の太さまたは幅を変更することができ、さらに対となる括弧のうち一方の括弧の入力操作性の向上を図ることができる。
図1に、この発明の第1の構成ブロック図を示す。
同図に示すように、この発明は、文書情報を入力する入力手段1と、前記入力された文書情報を記憶する文書記憶手段2と、文書情報を表示する表示手段3と、予め定められた形状の複数個の括弧の情報を格納した括弧格納手段4と、括弧格納手段4に格納された括弧のうち指定された括弧の情報を記憶する指定括弧記憶手段5と、指定括弧記憶手段5に記憶された括弧を置く始点及び終点を設定する括弧位置設定手段6と、括弧位置設定手段6によって設定された始点及び終点の文書上の位置情報を記憶する括弧位置記憶手段7と、前記括弧位置記憶手段7に記憶された位置情報から、前記指定括弧記憶手段5に記憶された括弧の文書上へ割り付けるべき大きさを決定してその括弧を生成し文書記憶手段2に記憶する括弧生成手段8と、生成された括弧を表示手段3によって文書上の対応する位置に表示させる編集手段9とを備えたことを特徴とする文書情報処理装置を提供するものである。
【0019】
図2に、この発明の第2の構成ブロック図を示す。
同図に示すように、この発明は、入力された文書情報を記憶する文書記憶手段2と、文書情報を表示する表示手段3と、前記表示手段3に重ねて配置され手書き入力された文書情報を取り込む入力手段1と、予め定められた形状の複数個の括弧の情報を格納した括弧格納手段4と、前記入力手段1によって入力された括弧の軌跡を記憶する括弧軌跡記憶手段10と、前記入力された括弧の軌跡に最も近い形状の括弧を前記括弧格納手段4に記憶された複数個の括弧の中から認識する括弧認識手段11と、前記括弧認識手段11によって認識された括弧の情報を記憶する指定括弧記憶手段5と、前記入力された括弧の軌跡の始点及び終点に関する位置情報を記憶する括弧位置記憶手段7と、前記括弧位置記憶手段7に記憶された位置情報から、前記指定括弧記憶手段5に記憶された括弧の文書上へ割り付けるべき大きさを決定してその括弧を生成し文書記憶手段2に記憶する括弧生成手段8と、生成された括弧を表示手段3によって文書上の対応する位置に表示させる編集手段9とを備えたことを特徴とする文書情報処理装置を提供するものである。
【0020】
図3に、この発明の第3の構成ブロック図を示す。
同図に示すように、この発明は、文書情報を入力する入力手段1と、前記入力された文書情報を記憶する文書記憶手段2と、文書情報を表示する表示手段3と、予め定められた形状の複数個の括弧を格納した括弧格納手段4と、括弧格納手段4に格納された括弧のうち指定された括弧を記憶する指定括弧記憶手段5と、指定括弧記憶手段5に記憶された括弧を置く位置を設定する括弧情報設定手段12と、括弧を形成する線分の太さを設定する太さ設定手段13と、括弧の幅を設定する幅設定手段14と、前記括弧情報設定手段12、太さ設定手段13、及び幅設定手段14によって設定された位置に関する情報、太さ、及び幅を記憶する設定情報記憶手段15と、指定括弧記憶手段5に記憶された括弧を、前記設定情報記憶手段15に記憶された位置、太さ、及び幅に対応するように生成し前記文書記憶手段2へ記憶する括弧生成手段8と、生成された括弧を表示手段3によって文書上の対応する位置へ表示させる編集手段9とを備え、括弧が一度生成された後も括弧の太さまたは幅を変更できることを特徴とする文書情報処理装置を提供するものである。
【0021】
また、図1の構成ブロック図において、前記指定括弧記憶手段5に記憶された括弧の中点の位置を設定する中点位置設定手段16を備え、前記括弧位置記憶手段7が、中点位置設定手段16によって設定された中点の文書上の位置情報を記憶し、前記括弧生成手段8が、中点位置設定手段16によって設定された位置に中点がくるように当該括弧を生成し文書記憶手段2に記憶するようにすることが好ましい。
【0022】
また、前記括弧位置記憶手段7に記憶された括弧の始点および/または終点の位置情報を更新する位置更新手段17をさらに備え、前記括弧生成手段8が、前記位置更新手段17によって更新された位置にその括弧の始点および/または終点がくるように当該括弧を生成し文書記憶手段2に記憶するようにすることが好ましい。
【0023】
また、括弧上の任意の一点であって、その括弧を回転する中心となる基準点を設定する基準点設定手段18と、括弧の回転条件を設定する回転条件設定手段19とをさらに備え、前記括弧生成手段8が、前記回転条件設定手段19によって設定された条件をもとに、前記基準点を中心として当該括弧を回転するようにすることが好ましい。ここで、括弧の回転条件とは、たとえば回転方向や回転角度などがある。
【0024】
ここで、入力手段1としては、通常キーボード、又はペン、マウス、もしくはトラックボール等のポインティングデバイスが用いられる。
表示手段3としては、CRT又は液晶表示パネル(LCD)等を用いることが好ましい。
【0025】
括弧格納手段4としては、ROMを用いることが好ましいが、ハードディスクやフロッピーディスクなどの外部記憶装置を用いてもよい。
文書記憶手段2、指定括弧記憶手段5、括弧位置記憶手段7、括弧軌跡記憶手段10、設定情報記憶手段15としては、RAMを用いることが好ましいが、ハードディスクやフロッピーディスクなどの外部記憶装置を用いてもよい。
【0026】
括弧位置設定手段6、括弧情報設定手段12、太さ設定手段13、幅設定手段14は、入力手段1と同様にキーボード又はポインティングデバイス等を用いることが好ましい。
括弧生成手段8、編集手段9、及び括弧認識手段11は、CPUを中心としてRAM、ROM、I/Oインタフェース、及びタイマー等からなるいわゆるマイクロコンピュータを用いることが好ましく、ROMの中に内蔵されたソフトウェアによって文書情報処理装置のこれらの手段の動作を制御させることが好ましい。
【0027】
また、中点位置設定手段16、位置更新手段17、基準点設定手段18および回転条件設定手段19も、キーボード又はポインティングデバイス等を用いることが好ましい。
【0028】
【作用】
図1に示した第1の発明に関して、まず、入力手段1によって括弧格納手段4に格納された括弧のうち入力すべき括弧を指定し、その括弧の情報を指定括弧記憶手段5に記憶する。
括弧位置設定手段6によって、指定括弧記憶手段5に記憶された括弧を置く始点及び終点を設定し、この設定された始点及び終点の文書上の位置情報を括弧位置記憶手段7に記憶する。
【0029】
次に括弧生成手段8が、前記括弧位置記憶手段7に記憶された位置情報から、前記指定括弧記憶手段5に記憶された括弧の文書上へ割り付けるべき大きさを決定してその括弧を生成し文書記憶手段2に記憶する。
さらに、編集手段9が、生成された括弧を表示手段3によって文書上の対応する位置に表示させる。
【0030】
図2に示した第2の発明に関して、まず、入力手段1によって、所望の括弧を手書き入力し、その括弧の軌跡を括弧軌跡記憶手段10に記憶する。
次に括弧認識手段11が、入力された括弧の軌跡に最も近い形状の括弧を前記括弧格納手段4に記憶された複数個の括弧の中から認識し、その認識された括弧を指定括弧記憶手段5に記憶する。
一方、括弧位置記憶手段7には、前記入力された括弧の軌跡の始点及び終点に関する位置情報が記憶される。
【0031】
次に括弧生成手段8が、前記括弧位置記憶手段7に記憶された位置情報から、前記指定括弧記憶手段5に記憶された括弧の文書上へ割り付けるべき大きさを決定してその括弧を生成し文書記憶手段2に記憶する。
さらに、編集手段9が、生成された括弧を表示手段3によって文書上の対応する位置に表示させる。
【0032】
図3に示した第3の発明に関して、まず、入力手段1によって括弧格納手段4に格納された括弧のうち入力すべき括弧を指定し、その括弧の情報を指定括弧記憶手段5に記憶する。
括弧情報設定手段12によって、指定括弧記憶手段5に記憶された括弧を置く位置を設定し、この位置に関する情報を設定情報記憶手段15に記憶する。
太さ設定手段13によって、括弧を形成する線分の太さを設定し、設定情報記憶手段15に記憶する。
幅設定手段14によって、括弧の幅を設定し、設定情報記憶手段15に記憶する。
【0033】
次に、括弧生成手段8が、指定括弧記憶手段5に記憶された括弧を、前記設定情報記憶手段15に記憶された位置、太さ、及び幅に対応するように生成し前記文書記憶手段2へ記憶する。
さらに、編集手段9が、生成された括弧を表示手段3によって文書上の対応する位置に表示させる。
【0034】
以上のように、この発明によれば、指定された括弧の始点及び終点の位置を設定し、または利用者に括弧の形状を所望の位置に手書き入力させて認識するようにしているので、利用者の意図した位置に意図した大きさの複数行にわたる括弧が容易に入力できる。
【0035】
また、括弧に関する位置、太さ及び幅を設定できるようにしているので、括弧が一度生成された後も簡単な入力操作によってその括弧の太さまたは幅を変更することができ、したがって、文書を一度作成した後も簡単な操作で見やすい文書となるように括弧の表現を変更することができる。
【0036】
また、この発明によれば、中点位置設定手段16によって指定括弧記憶手段5に記憶された括弧の中点の位置を設定し、括弧位置記憶手段7が中点位置設定手段16によって設定された中点の文書上の位置情報を記憶し、括弧生成手段8が中点位置設定手段16によって設定された位置に中点がくるように当該括弧を生成し文書記憶手段2に記憶するようにしているので、中点の編集作業を簡単に行うことができる。また、中点を任意の位置に設定できるため、表現力のある括弧を作成することができる。
【0037】
また、この発明によれば、位置更新手段17が括弧位置記憶手段7に記憶された括弧の始点および/または終点の位置情報を更新し、括弧生成手段8が前記位置更新手段17によって更新された位置にその括弧の始点および/または終点がくるように当該括弧を生成し文書記憶手段2に記憶するようにしているので、一旦作成した括弧の位置、長さ及び方向を簡単な操作によって変更することができる。
【0038】
また、この発明によれば、基準点設定手段18によって括弧上の任意の一点であってその括弧を回転する中心となる基準点を設定し、回転条件設定手段19によって括弧の回転条件を設定し、前記括弧生成手段8が前記回転条件設定手段19によって設定された条件をもとに、前記基準点を中心として当該括弧を回転するようにするようにしているので、容易に表現力のある括弧を作成することができる。
【0039】
【実施例】
以下、図面に示す実施例に基づいて,この発明を説明する。
なお、これによって,この発明が限定されるものではない。
図4は、この発明の文書処理装置の一実施例の構成ブロック図である。
同図において、この装置は、31〜35、及び46に示した外部入出力機器と、36〜40、及び47に示した外部入出力機器の制御部と、制御部41、ROM50、及びRAM60から構成され、これらは、アドレスバス及びデータバスによって接続される。
【0040】
31はペンであり、データ入力、各種情報の設定、及び編集コマンド等を入力するものである。36はペン31により入力されたペンの状態と入力された座標を生成し、制御部41へ送るペン制御部である。
32はキーボードであり、データ入力、各種情報の設定、編集コマンド等を入力するものである。37は、入力されたキーコードを制御部41へ送るキーボード制御部である。
【0041】
33はプリンタであり、文書情報やその他必要な情報を出力するものである。38は、RAM50に保存されている文書情報等を印刷するために印字するフォントデータを作成しながらプリンタを制御するプリンタ制御部である。
34はCRTであり、各種情報を表示する装置であるが、液晶表示(LCD)等を用いてもよい。39はRAM50に記憶されている表示すべき一画面分のデータをCRT34へ送る表示制御部である。
35は、FD(フロッピードライブ)/HD(ハードディスクドライブ)であり、文書情報を保存するための外部記憶装置である。40は、FD/HD35に対してデータの保存・読み出しの制御を行うFD/HD制御部である。
46は、入力が正しくないことなどを報知するブザーであり、47は、ブザー46の鳴動を制御するブザー制御部である。
【0042】
50は、ROM(Read Only Memory)であるが、制御プログラム50a、括弧データテーブル50b、及びフォントデータメモリ(CGROM)50c等からなる。ここでは図示していないが、かな漢字変換の辞書や、各種情報の設定を行う表示画面のデータも、ROMで供給される場合がある。
【0043】
制御プログラム50aは、制御部41の動作を行うための手順を記述したものであり、これによって種々の機能が実行される。
括弧データテーブル50bは、“(”、“)”、“〔”、“「”、“{”、及び“}”などの括弧の種類と形状を対にして格納したものである。
フォントデータメモリ(CGROM)50cは、表示又は印刷用の文字・記号に関するビットマップフォントやアウトラインフォントのデータを格納したものである。
【0044】
CRT34への表示は、後述するRAM60内の表示用バッファ60bに記憶された文字列に対応する文字のフォントデータをCGROM50cから読み出して、これを表示制御部39が表示用データに変換することによって行われる。
【0045】
60はRAM(Random Access Memory)であるが、文書情報メモリ60a、表示用バッファ60b、指定括弧情報メモリ60c、設定データメモリ60d、括弧軌跡メモリ60e等からなる。
文書情報メモリ60aは、ペン31又はキーボード32等から入力された文字、記号、図形、括弧、及び設定データなどの文書情報を記憶するメモリである。
表示用バッファ60bは、CRT34画面上に表示する文字及び図形等のデータを一時記憶しておくメモリであり、この中に含まれるデータをもとに、表示制御部39によって、表示データが作成される。
【0046】
指定括弧情報メモリ60cは、括弧データテーブル50bに格納された括弧のうち指定された括弧に関するコード値及び形状、括弧を表示する始点及び終点の位置、及び括弧の幅等に関する情報を記憶するメモリである。
設定データメモリ60dは、オペレータが設定した、括弧の太さ、幅、及び入力位置に関する情報を記憶するメモリである。
括弧軌跡メモリ60eは、ペン31によって入力された括弧の軌跡に対応するデータ、たとえば、一定時間ごとにサンプリングされた入力位置の座標値を記憶しておくメモリである。
【0047】
制御部41は、制御プログラム50aの手順に従って、この装置の各種機能を実行し、外部入出力機器を制御するものであり、通常CPU(中央処理装置)が利用される。
【0048】
制御部41が実行する機能のうち、この発明に特に関係のあるものは、次の4つのブロックに分類することができる。
編集部42は、入力された文字、図形等の文書データの編集を行う部分である。ここでいう編集とは、文書の移動、複写、削除、挿入、拡大、縮小、表示、印刷などの基本的機能のほか、この発明におけるような、複数行にわたる括弧の入力・生成処理も含む。
【0049】
括弧生成部43は、指定括弧情報メモリ60cに記憶された括弧の形状や位置等の情報をもとに、オペレータが設定した括弧を生成し、表示するためのデータを作成し文書情報メモリ60aに記憶させるものである。
括弧認識部44は、括弧軌跡メモリ60eに記憶されたデータが括弧データテーブル50bに記憶された括弧のどれに最も近いか判断し、描かれた括弧の種類が何であるかを認識するものである。
かな漢字変換処理部45は、キーボード32から入力されたかな文字列をかな漢字交じり文に変換するものであり、従来用いられている日本語ワードプロセッサとしての基本的な機能の一つである。
【0050】
図5に、この発明における複数行にわたる括弧の入力方法の一実施例を示す。
ここでは、入力したい複数行にわたる括弧の種類の指定がすでにされているものとする。
たとえば、図7のような数種類の括弧からなるテーブルをCRT34に表示させ、ペン31を用いて所望の括弧を選択又はキーボードから所望の括弧の対応番号を入力することによって括弧の種類の指定が行われ、括弧データテーブル50bの中から選択された括弧についての種類及び形状に関する情報が指定括弧情報メモリ60cに記憶される。
【0051】
図5(a)は、文字列のみが入力された状態で、括弧をつけたい位置の左上点の位置にカーソル101を持っていったところを表わすものである。
カーソル101の移動は、通常キーボード32の左右上下の移動用の専用キーを用いるのが望ましい。
【0052】
図5(b)は、キーボードの専用キー入力、又はメニュー選択によるキー入力によって複数行にわたる括弧の始点102を入力した状態である。
図5(c)は、カーソル移動と専用キー入力によって複数行にわたる括弧の終点103を入力した状態である。
図5(d)は、複数行にわたる括弧の始点と終点が確定され、指定された括弧が指定の大きさで表示された状態を示している。ここで、括弧の始点及び終点に関する情報は、指定括弧情報メモリ60cに記憶され、括弧生成部45がこれらの情報をもとに表示すべき括弧のデータを作成する。
【0053】
図6は、複数行にわたる括弧の入力方法の別の実施例であり、ペン31により複数行括弧を入力した場合を示している。
図6(a)は、文字列のみが入力された状態を示している。
図6(b)は、ペン31で表示画面上の複数行にわたる括弧の開始位置を押した状態であり、112は、複数行にわたる括弧の始点の位置を示している。
【0054】
図6(c)は、ペン31で表示画面に触ったまま連続して所望の括弧の形を描き、ペンを表示画面から離す直前の状態を示している。
同図において、113は描かれた複数行にわたる括弧の軌跡を示しており、114は複数行にわたる括弧の終点の位置を示している。
【0055】
図6(d)は、ペン31を表示画面から離した後、描かれた複数行にわたる括弧が認識されて、確定後表示された状態を示している。
111は、確定された複数行にわたる括弧である。
ここで、括弧の始点及び終点に関する情報は、指定括弧情報メモリ60cに記憶され、複数行括弧の軌跡は括弧軌跡メモリ60eに記憶される。
また、括弧の始点、終点及び括弧の軌跡に関するデータは、文書全体の座標原点、たとえば文書の左上位置を基準にして横方向のX座標及び縦方向のY座標で表わされる。
【0056】
また軌跡データは、一定時間間隔でサンプリングしたペンの位置座標の集合からなる。
そして、括弧認識部44がこの軌跡データの集合から構成される括弧の形状が、括弧データテーブル50bの中にある括弧のどれと最も近いかを判断し、描かれた括弧の種類が何であるかを認識する。
【0057】
編集部42は、この括弧認識部44で認識された括弧の種類に関する情報を括弧生成部43に送り、括弧生成部43が、上記した括弧の始点及び終点の座標情報をもとにして作成すべき括弧の大きさを計算し表示すべき括弧のデータを作成する。作成された括弧データは、文書情報メモリ60aの対応する位置に記憶される。
以上が、複数行にわたる括弧の入力方法の概要を示したものであるが、詳細フローについては後述する。
【0058】
次に、図8に生成された複数行括弧の表示処理のフローチャートを示す。
一般に、編集部42はペン31やキーボード32等からの操作により、表示すべき画面の移動等の指示がなされるごとに、表示すべきデータを文書情報メモリ60aから読み出して表示用バッファ60bに書き込む動作を行う。
そして、通常、表示制御部39が表示用バッファ60bに存在する表示用データをリアルタイムにCRT34に表示している。
【0059】
以下に、図8のフローを説明する。
ステップS1において、表示する頁の先頭が文書情報メモリ60aに記憶されている文書データのどの位置に対応するかを計算し記憶する。
次に、ステップS2において、文書データ中の現在の位置から1文字分の文字コードを読み出し、CGROM50Cよりその文字フォントを表示用バッファ60bへ転送して1文字表示して、表示用バッファ60b及び文書データの位置を1文字分進める。
次にステップS3にて1頁分のデータの表示用バッファ60b上の構成が終了したかチェックし、終了していなければステップS2に戻り、終了していればステップS4に進む。
【0060】
ステップS4において、すべての括弧について表示データ作成処理を行ったかチェックし終わっていれば終了し、括弧の表示データの作成を未だ行っていないかまだチェックしていない括弧データが残っていればステップS5に進む。
【0061】
ステップS5では、文書データとして文書情報メモリ60aに保持されている括弧データの1つ1つに注目し、その始点及び終点の位置情報からその括弧が現在表示データを作成しているページ内に存在するかチェックし、存在していなければステップS4に戻り、存在していればステップS6に進む。
【0062】
ステップS6では、注目している1つのデータについて、その括弧の大きさと種類情報から対応する括弧のフォントデータをCGROM50cより読み出して、括弧の表示すべき位置に対応する表示用バッファ60bの中にそのビットマップデータを構成して、ステップS4に戻る。
【0063】
なお、図形などの表示も同時に行う場合はステップS4にて終了をせずに、その後、図形データの表示用バッファ60bへの転送手順を設ければよい。また、印字を行う場合のページ構成手順も同様であって、表示用バッファ60bに表示データを構成する代わりにそのデータをプリンタ制御部38に転送すればよい。
【0064】
図9は、実施例における文書の構造と、複数行にわたる始点と終点の位置座標の関係を表したものである。
71は文書情報メモリ60aに保存されている全文書データの1ページ目から最終ページまでのレイアウトであり、72はページ境界、73は表示用バッファ60b上にビットマップで展開されCRT34に表示されている現在の編集領域、74は入力された括弧の始点の位置、75は入力された括弧の終点の位置、76は文書の1行の文字数(X)、77は文書の全行数(Y)、78は文書の1頁行数(YP)、79は現在の編集領域の左肩(編集原点)の文書全体の左上(文書原点)を基準としたx座標(X1)、80は編集原点の文書原点を基準としたy座標(Y1)、81は編集領域73の横文字数(XD)、82は編集領域73の縦行数(YD)、83は編集原点を基準とした始点の位置のx座標(x1)、84は編集原点を基準とした始点の位置のy座標(y1)、85は編集原点を基準とした終点の位置のx座標(x2)、86は編集原点を基準とした終点の位置のy座標(y2)である。
【0065】
図10は、指定括弧情報メモリ60cに記憶されている括弧データの構造である。
入力された1つの括弧は、それぞれ7つのデータを持ち、文書中のすべての括弧データは、括弧データを入力された括弧の数だけ並べて、最後にこれ以上括弧がないことを示す終了コード98をつけた形でRAM60に保存される。
【0066】
91は図7に示した括弧の種類番号であり、92は括弧の文書原点を基準にした始点のx座標、93は括弧の文書原点を基準にした始点のy座標、94は括弧の文書原点を基準にした終点のx座標、95は括弧の文書原点を基準にした終点のy座標、96は縦方向に長い複数行括弧(縦括弧)なら1を保持し、横方向に長い複数文字括弧(横括弧)なら2を保持する縦横フラグ、97は開き括弧なら1を保持し閉じ括弧なら2を保持する開閉フラグ、98はこれ以上入力された括弧は無いことを示す終了コードである。
【0067】
次に、複数行にわたる括弧の入力処理について、図11を用いて説明する。
ステップS7において、括弧の種類番号と、その向き(開き括弧か、閉じ括弧か)を以前選択されたものか、又はデフォルトに設定して、ステップS8に進む。
ステップS8において、処理をキャンセルする操作が利用者によって行われれば終了し、そうでなければステップS9に進む。
【0068】
ステップS9では、利用者がカーソル101をキーボードで移動するなどの操作をして、指定された複数行にわたる括弧の始点の編集原点に対する位置(x1,y1)を指定括弧情報メモリ60cの中に取り込み(このときカーソルは1文字分右に移動する)、ステップS10に進む。
【0069】
ステップS10では、その指定された始点の位置(x1,y1)に対応する表示用バッファ60bの表示位置に始点マーク102を書き込み、図5(b)のような表示を行って、ステップS11に進む。
【0070】
ステップS11では、始点の位置指定と同様に利用者がカーソル101をキーボードで移動するなどの操作をして、指定された複数行括弧の編集原点に対する終点の位置(x2,y2)を指定括弧情報メモリ60cの中に取り込んで、ステップS12に進む。
【0071】
ステップS12では、その指定された終点の位置(x2,y2)に対応する表示用バッファ60bの表示位置に終点マーク103を書き込み、図5(c)のような表示を行って、ステップS13に進む。
ステップS13では、入力された始点と終点の位置が(x1−x2)〈(y1−y2)ならば、縦並びであるのでステップS21へ進み、そうでなければステップS14へ進む。
【0072】
ステップS14では入力された始点と終点の位置が正しいかどうか判定する。始点及び終点が縦並びでもなく横並びでもない:(x1−x2)=(y1−y2)、あるいは始点及び終点が別ページにある:Y1+y1〈nYP〈Y1+y2またはY1+y1〉nYP〉Y1+y2(n:正の整数)、あるいは始点又は終点が文書のレイアウトの範囲外である:x1〉X,x2〉X,y1〉Y、またはy2〉Yならば、入力が正しくないのでステップS19へ進む。ステップS14において、入力が正しいと判断された場合には、ステップS15へ進む。
【0073】
ステップS15では、始点と終点の距離から括弧のサイズを計算し、すなわち、x1〈x2のとき括弧サイズ=x2−x1、x1〉x2のとき括弧サイズ=x1−x2を計算し、ステップS16へ進む。
ステップS16では、ステップS15で計算した大きさ、現在設定されている種類番号、向きの括弧のビットマップデータをCGROM50cから呼び出し、表示用バッファ60bの始点と終点の間に書き込むことによって表示してステップS17に進む。
【0074】
ステップS17では、現在表示されている括弧でよいかどうかを利用者に確認を求め、良ければステップS20に進み、そうでなければステップS18へ進む。
ステップS18では、利用者に、キーボード32などの入力装置からの括弧の種類、向きを入力するようにうながし、入力された括弧の情報にしたがって、括弧の種類番号、開閉フラグを設定してステップS13に進む。
【0075】
ステップS19では、ブザー制御部47を制御することによってブザー46を鳴らすなどの処理を行い、利用者に始点と終点の入力位置が不適当であることを利用者に伝え、始点及び終点マークを表示用バッファ60bから削除して、ステップS7に戻る。
【0076】
ステップS20では、図10に示す入力された括弧の種類91、文章原点を基準にした始点の座標(X1+x1,Y1+y1)92及び93、文章原点を基準にした終点の座標(X1+x2,Y1+y2)94及び95、縦横フラグ96、括弧の開閉フラグ97という情報を文書情報メモリ60a内の文書データの括弧データの末尾に追加(ただし、縦括弧でy1〉y2あるいは横括弧でx1〉x2のときは始点を終点、終点を始点の保存領域に保存する)、終了コード98を付加し保存して表示用バッファ60bを一度消去した後、図8に示した表示処理を行い処理を終了する。
【0077】
ステップS21では、始点と終点の距離から括弧のサイズを計算して(y1〈y2のとき:括弧サイズ=y2−y1、y1〉y2のとき:括弧サイズ=y1−y2)、ステップS22へ進む。
ステップS22では、ステップS21で計算した大きさ、現在設定されている種類番号、向きの括弧のビットマップデータをCGROM50cから呼び出し、表示用バッファ60bの始点と終点の間に書き込むことによって表示して、ステップS17に進む。
なお、以上の入力処理は制御部41のCPUによって制御プログラム50aに示された手順で実行される。
【0078】
また、図6におけるペン31を用いた複数行にわたる括弧の入力処理については、図11で示した入力処理において、ステップS9からステップS12の代わりに、ペン入力と入力された複数行にわたる括弧の認識の処理を行う。
【0079】
すなわち、ペン31による最初のペンダウン位置112を始点、ペン31を離した位置114を終点として、ペン31により描かれた括弧の形状の認識を行い、認識の結果決定された括弧の種類、向き、及び位置情報等を指定括弧情報メモリ60cに設定する。この後、図11に示したものと同様の処理を行えば、ペン31を用いた複数行にわたる括弧の入力処理が行える。
【0080】
なお、始点と終点の入力単位は文字単位の他、半行、全行、半角、全角等任意の単位を使用することができ、文書データには、文字、括弧の他に図形データ、罫線データ、イメージデータなどを含んでもよい。
【0081】
以上が、複数行にわたる括弧を入力する場合の処理であり、このように、複数行にわたる括弧を置く始点と終点を設定するか又は、ペンを用いて複数行にわたる括弧の形状を文書に対応した表示画面上に直接描き、複数行にわたる括弧の始点と終点、又はをその間の軌跡を入力しているので、利用者が意図した位置に容易に複数行にわたる括弧を入力することが可能である。
【0082】
次に、複数行にわたる括弧の線分の太さ、及び幅を設定・変更する処理の実施例について記述する。
図12に、括弧の状態を設定する表示画面の例を示す。
ここでは、括弧の太さは、“細い”、“普通”、又は“太い”の3通りから選択される。
また、それぞれの括弧の線分の太さは、あらかじめ決められているものとし、括弧格納手段11の中に、各括弧ごとにその種類と共に、括弧の3つの太さに関する情報が記憶されている。
【0083】
図13(1)は括弧の太さを“細い”に設定した場合の表示例である。括弧の幅については、半角文字又は全角文字に換算して何桁分の幅とするかを設定するものとする。すなわち図12で全角文字1文字分すなわち1桁分の幅を持つように括弧の幅を設定した場合には、たとえば図13(1)に示すような幅を持つ括弧が表示される。
【0084】
図13(2)は、図13(1)の括弧が表示された後に、括弧の太さを“太い”に設定変更したものであり、図13(3)は、図13(2)の括弧が表示された後に、括弧の幅を全角3桁に設定変更したものである。
上記した複数行にわたる括弧の太さ、幅に関する情報は、それぞれの括弧ごとに、指定括弧情報メモリ60cの中に記憶される。
【0085】
図10のデータ構造には記載していないが、利用者による設定の後、括弧データテーブルの中に記憶されていた太さに関する情報、たとえば“細い”を示す番号値“1”と、幅に関するデータ、たとえば全角/半角の区別を示す数値(0/1)及び桁数“3”が、指定括弧情報メモリ60c内のその括弧に対する記憶位置に記憶される。
【0086】
また、このように設定画面を表示させて、括弧の太さ及び幅を変更するかわりに、変更したい括弧をカーソルで指定し、〔変換/次候補〕などの特定キーを押すことにより、順次“細い”→“普通”→“太い”の順に巡回して変更されるようにしてもよい。
【0087】
また、括弧の幅を変更する場合に、図14に示すように、ペンで括弧の始点又は終点を指定し、画面上でペンを移動させることによって括弧の幅を変更してもよい。この方法は、図12で示したような幅を数値で指定する場合と比較して、視覚性にすぐれ、利用者が意図した幅に設定することができるという利点がある。
以上が、複数行にわたる括弧の太さ及び幅を変更する処理の概要であるが、以下にこの処理の動作フローを示す。
【0088】
図15に、この括弧の太さ及び幅の設定を変更する処理のフローチャートを示す。
以下に示す処理は、制御部41が制御プログラム50aに従って行うものであり、現実にはCPUによって行われるのが好ましい。
【0089】
まず、この処理に入る前に、設定を変更したい括弧をカーソルを用いて指定する。
ステップS31において、図12に示す括弧状態設定の画面を表示させる特定キーの入力があるかどうかを監視する。この特定キーの入力がされたことが検出されると、ステップS32へ進み、図12のウインドウ画面がCRT34上に表示される。
【0090】
次にステップS33において、図12のウインドウ画面が表示された状態で、前記したような太さ及び幅の設定を行う。ここで、設定されたデータは、指定括弧情報メモリ60cに記憶するのではなく、一旦設定データメモリ60dの所定の領域に記憶しておく。
【0091】
ステップS34において、設定が確定されたかどうかの確認を行い、たとえば〔実行〕キーが押されたかどうかの確認を行い、〔実行〕キーが押されたときには、ステップS35において、まず括弧の太さを設定された太さに変更する。この変更は、前記した指定括弧情報メモリ60cの中の、指定された括弧の太さに関する情報値を書き換えることによって行われる。
【0092】
次に、ステップS36からS41において、括弧の幅の変更を行う。
ステップS36において、現在の括弧の幅の設定が“半角”になっているかどうかを確認する。これは指定括弧情報メモリ60cの中の指定された括弧の幅の全角/半角の設定値が現在“半角”になっているかどうかを、制御部41が判断することによって行われる。
【0093】
“半角”である場合にはステップS37へ進み、設定データメモリ60dに記憶された設定データが“半角”になっているかどうかをチェックする。
ここで、設定が“全角”の場合には、ステップS38へ進み、新規設定された括弧の幅の桁数分だけ、幅を拡大又は縮小しさらに“半角”から“全角”の幅へ変換するために2倍する。すなわち、現在の幅をa桁、新規設定桁をn桁とすると、半角幅から全角幅へ変換するために、現在の括弧の幅を2n/a倍する。
【0094】
ステップS36において現在の括弧の幅の設定が“全角”の場合には、ステップS39へ進み、新規設定された括弧の幅が“全角”かどうかチェックする。ここで、ステップS39で“全角”である場合、及びステップS37で“半角”である場合、すなわち“全角”から“全角”への変換及び“半角”から“半角”への変換の場合には、ステップS40へ進み、括弧の幅をn/a倍する。
【0095】
ステップS39において新規設定された括弧の幅が“半角”である場合には、ステップS41へ進み、幅を“全角”から“半角”へ変更するために、括弧の幅をn/2a倍する。
【0096】
ステップS38、ステップS40、及びステップS41では、具体的には、指定括弧情報メモリ60cの中の幅に関するデータが、新規設定値に書き換えられる。
【0097】
以上が、複数行にわたる括弧の太さ及び幅を設定変更する処理であり、これにより、複数行にわたる括弧の表現力をより豊かにすることができ、括弧作成後のレイアウト等に応じて、簡単な操作で括弧の表現を変更することができる。
【0098】
次に、複数行にわたる括弧を作成する際に、開き括弧を設定した後、容易な操作で閉じ括弧を作成する機能について説明する。
図16に、この閉じ括弧の作成機能のフローチャートを示す。
まず、ステップS51において、利用者によって閉じ括弧の始点がキーボード32で又はペン31によって入力されると、この始点の座標情報が指定括弧情報メモリ60cの中に記憶される。
【0099】
次にステップS52において、この始点のY座標と同じ値を持つ他の括弧の始点が存在するかどうかを、指定括弧情報メモリ60cの中のデータをチェックして調べる。
存在しない場合は処理を終了するが、存在する場合には、ステップS53へ進み、その括弧が開き括弧かどうか確認する。ここで閉じ括弧であった場合は、ステップS57において同条件で括弧を作成するかどうか判断し、同条件で括弧を作成する場合には、ステップS58で開き括弧を作成すべきかどうかを判断する。
【0100】
開き括弧を作成する場合には、ステップS59において、ステップS53で見つけられた括弧の終点の位置に合うように、すなわち同じY座標値を持つ終点を求め、開き括弧を作成し、閉じ括弧を作成する場合には、ステップS60において、同様にステップS53で見つけられた括弧の終点の位置に合うように終点を求め、閉じ括弧を作成する。
【0101】
ステップS53において、開き括弧が存在した場合には、ステップS54へ進み、閉じ括弧の終点の位置を求める。
閉じ括弧の終点の位置は、ステップS51で入力された始点のX座標値と、ステップS53で見つけられた開き括弧のY座標値とで決められる。
【0102】
次にステップS55において、この閉じ括弧に関するデータを指定括弧情報メモリ60cの中に作成する。すなわち、閉じ括弧の始点及び終点の座標位置、種類、太さ、幅等について、データを指定括弧情報メモリ60cに記憶する。
【0103】
最後に、ステップS56において、閉じ括弧の表示のために条件を設定し、処理を終了する。
【0104】
図17に、この閉じ括弧作成機能の具体例を示す。
図17(a)は、すでに作成された開き括弧に対して平行な位置に、閉じ括弧の始点をペンで指定したところを示したものである。
図17(b)は、図17(a)で入力された閉じ括弧の始点をもとに、図16の手順に従って、閉じ括弧が作成されて表示された状態を示したものである。
【0105】
以上が開き括弧がすでに入力されている場合において、閉じ括弧を入力する処理であるが、閉じ括弧の始点を指示するだけで、閉じ括弧が作成されるので、閉じ括弧入力の操作性の向上をはかることができる。
【0106】
次に、この発明において図7に示した括弧の種類4又は5の複数行にわたる括弧を作成する場合に、その括弧の中点を変化させる機能について図19を用いて説明する。
【0107】
図19は、複数行にわたる括弧の始点、中点および終点の移動についてのフローチャートである。
ここで、図11に示したようなフローチャートに従って、すでに複数行にわたる括弧が入力されてCRT34上に表示されているものとする。
また、中点の移動を行うために、中点に関する情報が必要であるので、図20に示すように、前記した指定括弧情報メモリ60cに、さらに中点のX座標及びY座標を記憶しておく。たとえば、あらかじめ用意される図7の括弧の種類4では、縦括弧の場合中点のX座標は始点及び終点のX座標と同一であり、Y座標は始点と終点の中央である。
【0108】
この中点の座標は、図11のフローチャートにより複数行にわたる括弧を作成したときに、上記方法により括弧の始点と終点の座標から求めることができる。また、複数行にわたる括弧を作成する際に、ペン又はキーボードを利用して利用者に中点の位置を指示する入力をさせてもよい。
このように、利用者によって中点の位置を入力させる場合には、作成時に、複数行にわたる括弧の中点の位置を利用者の所望の位置に設定することが可能である。
【0109】
まず、ステップS70において、中点の位置を変更しようとする複数行にわたる括弧を選択する指示がなされるかどうかを監視する。
ペン31又はキーボード32によって選択する指示がなされると、ステップS71へ進み、カーソルを選択された複数行にわたる括弧に移動する。このとき、利用者が中点を指示して前記括弧を選択した場合は、中点の位置にカーソルを表示させ、同様に始点又は終点を指示して選択した場合にはそれぞれ始点又は終点にカーソルを表示させることが望ましい。
【0110】
また、利用者の指示が始点・中点・終点のどの位置にも該当しない位置を示して選択された場合も、これらの3つの点のうち最も近い点にカーソル表示をしておき、その後、利用者が位置を変更しようとする点を指示しなおすことも可能である。
【0111】
次に、ステップS72において、利用者からの中点の変更指示、すなわち、ペン又はキーボードから中点を移動する先の位置の入力がされるかどうか監視し、入力がされた場合には、ステップS73へ進む。
このとき、移動する先の位置座標が、RAM60の内部に記憶される。
【0112】
図19のフローチャートでは、ステップS73及びS74にかけて、変更指示が複数行にわたる括弧の中点であるか、始点であるか、又は終点であるかを判断しているが、ここでは、中点の移動の指示入力であるのでステップS74からステップS77へ進む。
【0113】
ステップS77において、RAM60の内部に記憶された中点の移動する先の位置座標をもとに、複数行にわたる括弧の中点の位置座標が計算され、括弧における中点の位置を決定し、新たな括弧の形状を計算し、CRT上に中点が変更された括弧を表示させる。
【0114】
このとき、指示された中点を移動する先の位置座標が括弧の始点および終点を結ぶ直線上にないときでも、中点がこの直線上に乗るように座標値を補正する。
これは、指示された位置を正確に中点の位置とすると、当初の括弧の形状が変形されてしまうのを防ぐためである。
【0115】
この後、ステップS81において、利用者からの表示された括弧でよいかどうかを確定する入力がされるのを判断し、利用者から確定してよい入力がされた場合には、ステップS82へ進み、新たな括弧を確定する。
すなわち、中点が利用者の所望する位置に変更された括弧に関する情報を更新する。ここでは、図20に示す中点のX座標及びY座標が更新される。
【0116】
図21に、以上に示した複数行にわたる括弧の中点の移動機能を説明する図を示す。
ここで、図21(1)の左図は、始点及び終点の中央にある中点をペンで指示しているところを示している。
図21(1)の右図は、指示された中点を移動する先の位置を指示しているところを示している。
また、図21(2)は、移動が確定した後の括弧を示している。
【0117】
図21(1)の右図において、中点を移動する先の指示が多少左右にずれても、前記したような中点の横方向の座標を補正することによって、始点及び終点を結んだ直線上に中点がくるようにでき、括弧の変形を防ぐことができる。
【0118】
以上が複数行にわたる括弧の中点を移動する機能の説明であるが、当該括弧の始点及び終点についても同様にして、その位置を変更することが可能である。
前記した図19のフローチャートにおいて、ステップS72にて、位置を変更する対象として始点又は終点が選ばれたことが検出される。
【0119】
始点が選ばれた場合には、ステップS73からステップS75へ進み、ステップS71で指示された位置に始点を移動するために、始点の新たな変更位置が計算され、次にステップS76において始点が確定されて、CRTに表示される。
【0120】
終点が選ばれた場合には、ステップS74からステップS79へ進み、同様に、ステップS79,S80において終点の新たな位置が計算され、確定されてCRTに表示される。
【0121】
図22及び図23に、複数行にわたる括弧の終点の位置を移動する場合の実施例を示す。
図22において、(1)の左図は複数行にわたる括弧の終点をペンで指示したものであり、(1)の右図はまっすぐ下方へ終点の移動する先の位置を指示したものである。
図22(2)は、移動が確定した後の括弧を示している。
図23において、終点の当初の座標値(X2,Y2)に対して新たな座標値(X2,Y2’)は、終点を横方向にスライドさせた場合を示しており、新たな座標値(X2’,Y2”)は、CRT画面上の任意の位置に終点を移動させた場合を示している。
【0122】
すなわち、終点又は始点を移動させることによって、斜め方向に傾いた複数行にわたる括弧を作成することができる。これによって、一度入力された複数行にわたる括弧を容易に編集することが可能となり、括弧の表現を変更することによって、より見やすい文書となるようにすることができる。
【0123】
以上は、複数行にわたる括弧の始点、中点及び終点の移動機能についての説明であったが、この機能を応用して複数行にわたる括弧そのものの移動、複写及び消去も可能である。
たとえば、図24に示すように、複数行にわたる括弧を移動する場合、移動の対象となる括弧がペン又はキーボードによって指示されたときに、その括弧の始点、中点及び終点の座標値をRAMに記憶し、その後移動する位置が指示されたときに、始点、中点及び終点の位置座標を移動後の対応する座標値にそれぞれ書き換えればよい。
【0124】
以上のように、複数行にわたる括弧の始点、中点及び終点の位置を変えることができるので、一旦作成した括弧の位置、長さ及び方向を簡単な操作によって変更することができる。
【0125】
また、図11において、作成される複数行にわたる括弧は、縦括弧又は横括弧のどちらかを対象とするものであったが、これに限る必要はなく、図25に示すような斜めに傾いた括弧であってもよい。
すなわち、図11における複数行にわたる括弧の作成において、利用者が入力した始点及び終点の位置から判断して、強制的に縦括弧又は横括弧となるように位置座標を計算していたが、利用者が入力した始点及び終点の位置をそのまま採用して括弧の作成を行えば、斜めに傾いた複数行にわたる括弧が作成できる。
【0126】
なお、ペンによる括弧の始点及び終点の入力をする場合には、正確に始点と終点の縦方向又は横方向の位置をそろえて入力することは難しいので、通常は、図11に示したような縦括弧又は横括弧が作成できるようにしておき、斜め括弧を作成したいときは、たとえば斜め括弧を作成するモードに入ることを示す入力を先にすることが好ましい。
【0127】
次に、この発明における作成された複数行にわたる括弧の回転について説明する。
この機能は、図26に示したように、すでに作成された複数行にわたる括弧上の中点又は任意の1点を中心としてその括弧を回転するものである。以下、この括弧の回転中心となる括弧上の任意の点を基準点と呼ぶ。
【0128】
図27に、この回転機能の一実施例における概要フローチャートを示す。
まず、ステップS90において、利用者からの回転機能を実行させる入力がされたかどうかを監視し、この入力があった場合には、ステップS91へ進む。ステップS91において、利用者が回転を行いたい複数行にわたる括弧の回転中心となる基準点を指示する入力があるかどうか判断する。
この基準点の入力は、ペン又はキーボードによるカーソル移動のどちらで行ってもよい。
【0129】
なお、この基準点は括弧の中点に限る必要はなく、指示された点を基準点とすればよい。しかし、ペンによる入力の場合など正確に中点を指示することが難しいが、基準点として中点を指示したい場合には、回転を行いたい括弧の任意の個所を指示するだけで、基準点が、括弧の中点となるように強制的に設定することが好ましい。
【0130】
次に、ステップS92において、入力された回転角度をRAMに記憶し、ステップS43において、入力された回転方向をRAMに記憶する。
ステップS93において、入力された角度及び方向が正しくないときは、ステップS99において何らかのエラー表示を行う。
【0131】
入力された角度及び方向が正しいときステップS95において、入力された設定に誤りがないかどうかの確認入力があるかどうかの判断を行い、確認入力がされた場合には、ステップS96へ進み、回転後の括弧の表示位置についての計算を行う。ここでは、たとえば、座標変換等によって図20に示した、始点、中点及び終点の回転後の位置座標を求める。
【0132】
ステップS97において、上記計算によって求められた回転後の括弧の表示を行う。
以上が、この発明における複数行にわたる括弧の回転機能であるが、これにより、容易に表現力のある複数行にわたる括弧を作成することができ、従ってより見やすい文書作成が可能となる。
【0133】
次に、この発明において、重なりあった複数行括弧の移動、複写又は消去などの編集機能について説明する。
これは、図28に示したように、CRT上に、重なり合って表示されている複数行にわたる括弧があった場合に、それぞれ別々に編集の対象とできるようにするものである。
【0134】
ここでは、2つの重なり合った複数行にわたる括弧A、Bのうち、Aが選択されて、移動する場合を示している。一般に、図28に示すように重複点、すなわち括弧Aの終点と括弧Bの始点を利用者が指示した場合、括弧A又は括弧Bのどちらを指示したか判断できない。そこで、これらの括弧の作成順序を記憶しておき、このような重複点が指示された場合に括弧が作成された順に括弧を選択する。
【0135】
このようにすることによって、まず最初に作成された括弧が選択されるが、これが所望の括弧でない場合には、次に作成された括弧を順次選択するための特定キーの入力操作を目的の括弧が選択されるまで繰り返し行えばよい。
なお、選択された括弧は、他の括弧と区別させるために、点滅表示をさせることが好ましい。
そして、選択された複数行にわたる括弧に対して、前記したような移動、複写、回転、又は消去等の機能を実行することによって、複数行にわたる括弧が重複していても、1つずつ別々に編集することができる。
【0136】
なお、重複した複数行にわたる括弧それぞれに対しても、図20に示したような情報が作成されるが、上記に示した重複括弧の編集機能を実行するためにここに示した情報以外に、作成された順序を示す番号を各括弧ごとに記憶する必要がある。
以上のようにすれば、互いに重なり合った重複括弧をそれぞれ別々に取扱うことができるようになり、文書作成時における複数行にわたる括弧をより容易に編集することができる。
【0137】
【発明の効果】
この発明によれば、指定された括弧の始点及び終点の位置を設定し、または利用者に括弧の形状を所望の位置に手書き入力させて認識するようにしているので、利用者の意図した位置に意図した大きさの複数行にわたる括弧が容易に入力できる。
また、括弧に関する位置、太さ及び幅を設定できるようにしているので、括弧が一度生成された後も簡単な入力操作によってその括弧の太さまたは幅を変更することができ、したがって、文書を一度作成した後も簡単な操作で見やすい文書となるように括弧の表現を変更することができる。
【00138】
また、複数行にわたる括弧の始点、中点及び終点の変更すべき位置を指示することによって一旦作成した括弧の位置、長さ及び方向を簡単な操作によって変更することができ、さらに、複数行にわたる括弧の回転ができるので、容易に表現力のある複数行にわたる括弧を作成することができ、したがって見やすい文書作成が可能となる。
また、この発明によれば、開き括弧が既に入力されている場合において、閉じ括弧の始点を指示するだけで閉じ括弧が作成されるので、閉じ括弧入力の操作性の向上を図ることができる。
【図面の簡単な説明】
【図1】この発明の第1の構成ブロック図である。
【図2】この発明の第2の構成ブロック図である。
【図3】この発明の第3の構成ブロック図である。
【図4】この発明の一実施例における構成ブロック図である。
【図5】複数行にわたる括弧の入力方法の実施例を示した説明図である。
【図6】ペンを用いた複数行にわたる括弧の入力方法の実施例を示した説明図である。
【図7】複数行にわたる括弧の種類を示した説明図である。
【図8】生成された複数行にわたる括弧の表示処理のフローチャートである。
【図9】実施例における文書と複数行にわたる括弧の位置座標の関係を示した説明図である。
【図10】入力された括弧に関する情報のデータ構造を示した説明図である。
【図11】複数行にわたる括弧の入力処理のフローチャートである。
【図12】括弧の状態を設定する表示画面の例を示した説明図である。
【図13】括弧の太さ及び幅を変更する実施例の説明図である。
【図14】ペンにより括弧の幅を変更する実施例の説明図である。
【図15】この発明における括弧の太さ及び幅を設定する機能のフローチャートである。
【図16】閉じ括弧を作成する機能のフローチャートである。
【図17】閉じ括弧を作成する実施例の説明図である。
【図18】従来における複数行にわたる括弧の例の説明図である。
【図19】この発明における複数行にわたる括弧の始点、中点及び終点の移動機能のフローチャートである。
【図20】括弧に関する情報のデータ構造の別の例を示した説明図である。
【図21】複数行にわたる括弧の中点の移動機能の説明図である。
【図22】複数行にわたる括弧の終点の移動機能の説明図である。
【図23】複数行にわたる括弧の終点の移動機能の説明図である。
【図24】複数行にわたる括弧そのものの移動機能の説明図である。
【図25】斜めに傾いた括弧の実施例の説明図である。
【図26】複数行にわたる括弧の回転機能の説明図である。
【図27】複数行にわたる括弧の回転機能のフローチャートである。
【図28】複数行にわたる括弧が重複した場合の実施例の説明図である。
【符号の説明】
31 ペン
32 キーボード
33 プリンタ
34 CRT
35 FD/HD
36 ペン制御部
37 キーボード制御部
38 プリンタ制御部
39 表示制御部
40 FD/HD制御部
41 制御部
42 編集部
43 括弧生成部
44 括弧認識部
45 かな漢字変換処理部
46 ブザー
47 ブザー制御部
50 ROM
50a 制御プログラム
50b 括弧データテーブル
50c CGROM
60 RAM
60a 文書情報メモリ
60b 表示用バッファ
60c 指定括弧情報メモリ
60d 設定データメモリ
60e 括弧軌跡メモリ
[0001]
[Industrial applications]
The present invention relates to a document information processing apparatus capable of editing a document such as a word processor, a personal computer, or an electronic organizer in various languages, and more particularly to a document information processing apparatus capable of displaying parentheses over a plurality of lines.
[0002]
[Prior art]
A document information processing apparatus such as a conventional Japanese word processor has functions of creating and displaying parentheses over multiple lines in addition to the basic functions of character input and editing. Some can handle documents in which the columns are closed with parentheses. Below are the main ones.
[0003]
First, in Japanese Patent Application Laid-Open No. 63-16367, by registering a pair of left parenthesis and right parenthesis, both parentheses can be input by a single operation. Describes a Japanese language processing device that can automatically enter an insertion mode and input characters.
[0004]
Japanese Patent Application Laid-Open No. 63-115217 discloses a method of storing and displaying a pair of enclosing symbols when it is determined that a parenthesis or enclosing symbol has been input, and then inserting the input character between the enclosing symbols. A character input device configured as described above is described.
[0005]
JP-A-64-74667 discloses a document processing apparatus that selects a desired parenthesis from a plurality of candidates for a vertically long parenthesis or the like, and rewrites the document data at a specified position to the selected parenthesis. I have.
[0006]
JP-A-3-30056 discloses that after a user inputs a desired parenthesis using a dedicated key, the number of lines and the number of characters of a character input in an area between the opening parenthesis and the closing parenthesis are set. There is described a document processing device that changes the length of both parentheses in the vertical direction.
[0007]
Japanese Patent Application Laid-Open No. 2-297125 discloses an information processing for setting a parenthesis area for attaching parentheses over a plurality of lines, enlarging a selected parenthesis pattern at an appropriate magnification, and outputting the pattern so as to fit within the set parenthesis area. An apparatus is described.
[0008]
Japanese Patent Application Laid-Open No. Hei 5-25881 discloses a method of setting a designated character and a pair of characters constituting a parenthesis symbol, and obtaining an appropriate size of the parenthesis symbol from the number of lines of a character string arranged between these characters. There is described a character input device capable of closing an entire row from both directions.
[0009]
In the above-mentioned JP-A-63-16367, JP-A-63-115217 and JP-A-3-30056, a pair of open parentheses and a close parenthesis are inputted at once, and then the pair of parentheses is entered. Since a character can be input at a position where the character has been set, it is possible to save the trouble of re-entering the closing parenthesis and the trouble of moving the cursor for character input.
[0010]
Japanese Patent Application Laid-Open No. Sho 64-74667 discloses that a vertically long parenthesis can be input by one operation without repeating the same input operation many times.
[0011]
Japanese Patent Application Laid-Open No. 2-297125 discloses information about a region to which a vertically or horizontally long parenthesis is added, and automatically adjusts the size of the parenthesis and the size of the character in the parenthesis so as to fit in the size of the region. Is what you can do.
[0012]
In Japanese Patent Application Laid-Open No. Hei 5-25881, even when a sentence entered in parentheses extends over a plurality of lines, the length of the opening parenthesis and closing parenthesis in the vertical direction is automatically set to an appropriate length according to the number of lines. It can be adjusted.
[0013]
[Problems to be solved by the invention]
However, in a document information processing apparatus having a function of creating and displaying parentheses over a plurality of lines as described above, when the parentheses are created and then the sentence in the parentheses is corrected, consideration is given to line breaks in the parentheses. There is a problem that the layout is destroyed due to the addition / deletion of the characters in the parentheses since the layout is not performed.
[0014]
In addition, when adding parentheses of a plurality of lines to a document that has already been input, it is troublesome to input the parentheses or to change the size of the parentheses.
Further, in the above-described conventional document information processing apparatus, no consideration is given to changing the thickness of parentheses over a plurality of input lines and changing the width of parentheses over a plurality of lines. However, it was not easy to create a document with high-impact expressive power using parentheses.
[0015]
Also, in the case of a sentence as shown in FIG. 18, if the middle point of the parentheses extending over a plurality of lines is located at the center, it may be difficult to understand at a glance where the contents of the sentences put together in the parentheses are related.
Also, by moving, adding or deleting sentences, changing the position of parentheses over multiple lines, moving the start or end point of parentheses over multiple lines, tilting parentheses diagonally, and putting parentheses around one point In some cases, it is necessary to change parentheses on a plurality of lines in accordance with a change in the sentence such as rotation.
[0016]
In any of these cases, in the conventional method, complicated operations such as setting of the position information of the parentheses or changing the magnification may be required, or it may be necessary to recreate from the beginning. The change was quite tedious.
[0017]
The present invention has been made in view of the above-described circumstances, and provides a document information processing apparatus that facilitates input operation of parentheses over a plurality of lines and that can change the expression of parentheses so that the document is easy to read. The purpose is to do.
[0018]
[Means for Solving the Problems]
According to the present invention, input means for inputting document information, document storage means for storing the input document information, display means for displaying the document information, and information of a plurality of parentheses having a predetermined shape are stored. Parentheses storing means, designated parentheses storing means for storing information of the specified parentheses among the parentheses stored in the parentheses storing means, and a parenthesis position for setting a start point and an end point for placing the parentheses stored in the specified parenthesis storing means Setting means, parenthesis position storage means for storing position information on the document at the start point and end point set by the parenthesis position setting means, and storage in the designated parenthesis storage means from the position information stored in the parenthesis position storage means A parenthesis generating means for determining a size of the generated parenthesis to be allocated on the document, generating the parenthesis, and storing the generated parenthesis in the document storage means, and displaying the generated parenthesis on the document by the display means. And a editing means for displaying the location, if entered is the starting point of the braces by the input means, open already entered in the starting point and the predetermined relationship with the position BatchArcIn some cases, the parenthesis generating means closes based on the input starting point.ArcIt is intended to provide a document information processing apparatus characterized by generating.
Further, among a plurality of parentheses of a predetermined shape stored in association with the opening parenthesis and the closing parenthesis,By input meansSpecify desired parenthesesLetInput the start and end points on the document where the specified parentheses are to be placed,SaidA method of storing position information on a document of an input start point and an end point, determining a size to allocate the designated parenthesis on a document from the position information by parenthesis generation means, and generating parentheses, When the start point of the parenthesis is input by the input means, and there is an open parenthesis already input at a position corresponding to the start point in a predetermined correspondence relationship, the closing parenthesis based on the input start point is detected by the parenthesis generation means. A method of generating parentheses for a document information device, characterized in that the method is generated.
According to the present invention, since the positions of the starting point and the ending point of the specified parentheses are set, the parentheses of a plurality of lines of the intended size can be easily input at the positions intended by the user, and particularly, the opening parentheses are already set. In the case where the closing parenthesis is input, the closing parenthesis is created simply by designating the start point of the closing parenthesis, so that the operability of the closing parenthesis input can be improved.
Also, the present invention provides a document storage means for storing input document information, a display means for displaying the document information, an input means arranged to be superimposed on the display means and for inputting the handwritten input document information, Parenthesis storing means for storing information of a plurality of parentheses of a given shape, parenthesis trajectory storage means for storing a trajectory of the parenthesis input by the input means, and a parenthesis having a shape closest to the input parenthesis trajectory From a plurality of parentheses stored in the parenthesis storage means, a designated parenthesis storage means for storing information on the parentheses recognized by the parenthesis recognition means, and a trajectory of the input parentheses A parenthesis position storage means for storing position information relating to the start point and the end point of the parentheses, and from the position information stored in the parenthesis position storage means, the parentheses stored in the designated parenthesis storage means on the document. A parenthesis generating means for determining a size to be allocated and generating the parentheses and storing the generated parentheses in a document storage means; and an editing means for displaying the generated parentheses at a corresponding position on the document by a display means. When the start point of the parenthesis is input, the opening bracket already input at a position that has a predetermined correspondence with the start pointArcIn some cases, the parenthesis generating means closes based on the input starting point.ArcIt is intended to provide a document information processing apparatus characterized by generating.
In addition, information of a plurality of parentheses having a predetermined shape is stored in the parenthesis storage means.Let, The trajectory of parentheses handwritten by the input meansBracket locus storage meansMemoryLet,By parenthesis recognition meansRecognize a parenthesis having a shape closest to the trajectory of the parentheses input by handwriting from among a plurality of parentheses stored in the parenthesis storage means.Let,In the designated parenthesis storage meansRemember recognized parenthesesLet,By parenthesis generatorA method of determining the size of the stored parenthesis to be allocated on a document from position information on the start point and the end point of the trajectory of the handwritten parenthesis, and generating the parenthesis,By input meansWhen the start point of the parenthesis is input, the opening bracket already input at a position that has a predetermined correspondence with the start pointArcOne day,By parenthesis generatorClosing based on the input start pointArcGenerateLetA method for generating parentheses in a document information processing apparatus.
According to the present invention, since the shape of the parentheses is made to be input by handwriting at a desired position by the user and recognized, the parentheses over a plurality of lines of the intended size can be easily input at the position intended by the user. At the same time, it is possible to improve the operability of inputting one of the paired parentheses.
Further, the present invention stores input means for inputting document information, document storage means for storing the input document information, display means for displaying the document information, and a plurality of parentheses having a predetermined shape. Parenthesis storage means, designated parenthesis storage means for storing a specified parenthesis of the parentheses stored in the parenthesis storage means, parenthesis information setting means for setting the position where the parenthesis stored in the specified parenthesis storage means is placed, Thickness setting means for setting the thickness of the line segment forming the parentheses, width setting means for setting the width of the parentheses, and the position set by the bracket information setting means, the thickness setting means, and the width setting means. Setting information storage means for storing information, thickness, and width; and parentheses stored in designated parenthesis storage means, generated so as to correspond to the position, thickness, and width stored in the setting information storage means. Document storage A parenthesis generating means for storing the parenthesis in a column, and an editing means for displaying the generated parenthesis at a corresponding position on the document by the display means. Opening wrapper already entered at the corresponding locationArcIn some cases, the parenthesis generating means closes based on the input starting point.ArcIt is an object of the present invention to provide a document information processing apparatus characterized in that the thickness or width of the generated parentheses can be changed even after the parentheses are generated once.
Further, among a plurality of parentheses of a predetermined shape stored in association with the opening parenthesis and the closing parenthesis,By input meansSpecify desired parenthesesLet,By setting meansSet the width and thickness of the specified parenthesisLet, Put the specified parenthesis on the documentBy input meansinputLet,By parenthesis generatorA method of generating the specified parentheses at positions corresponding to the start point and the end point so as to correspond to a set thickness and width,By input meansWhen the start point of the parenthesis is input, the opening bracket already input at a position corresponding to the start point in a predetermined correspondence relationshipArcOne day,By parenthesis generatorClosing based on the input start pointArcGenerateLet it beAnd a method for generating parentheses in a document information device.
According to the present invention, even after a parenthesis is generated once, the thickness or width of the parenthesis can be changed by a simple input operation, and the input operability of one parenthesis of a pair of parentheses is further improved. Can be achieved.
FIG. 1 shows a first configuration block diagram of the present invention.
As shown in FIG. 1, the present invention includes an input unit 1 for inputting document information, a document storage unit 2 for storing the input document information, a display unit 3 for displaying the document information, A parenthesis storage unit 4 storing information of a plurality of parentheses of a shape, a designated parenthesis storage unit 5 for storing information of a designated parenthesis among the parentheses stored in the parenthesis storage unit 4, and a designated parenthesis storage unit 5 A parenthesis position setting means 6 for setting a start point and an end point for placing the stored parenthesis; a parenthesis position storage means 7 for storing positional information on the document of the start point and the end point set by the parenthesis position setting means 6; From the position information stored in the storage unit 7, the size of the parentheses stored in the designated parenthesis storage unit 5 to be allocated on the document is determined, and the parentheses are generated and stored in the document storage unit 2. And raw It is to provide a document information processing device characterized by comprising an editing means 9 to be displayed on the corresponding position on the document by the display unit 3 parentheses are.
[0019]
FIG. 2 shows a second configuration block diagram of the present invention.
As shown in FIG. 1, the present invention provides a document storage means 2 for storing input document information, a display means 3 for displaying the document information, and a document information which is arranged on the display means 3 and input by handwriting. Input means 1 for taking in the information, a parenthesis storage means 4 for storing information of a plurality of parentheses of a predetermined shape, a parenthesis trajectory storage means 10 for storing a trajectory of the parenthesis input by the input means 1, A parenthesis recognizing unit 11 for recognizing a parenthesis having a shape closest to the input parentheses trajectory from among a plurality of parentheses stored in the parenthesis storage unit 4, and information on the parentheses recognized by the parenthesis recognizing unit 11. From the designated parenthesis storage means 5 for storing, the parenthesis position storage means 7 for storing position information on the start point and the end point of the input parenthesis trajectory, and the position information stored in the parenthesis position storage means 7, A parenthesis generating means 8 for determining the size of the parentheses stored in the designated parenthesis storage means 5 to be allocated on the document, generating the parentheses, and storing the generated parentheses in the document storage means 2; The document information processing apparatus is provided with editing means 9 for displaying the document at a corresponding position on the document.
[0020]
FIG. 3 shows a third configuration block diagram of the present invention.
As shown in FIG. 1, the present invention includes an input unit 1 for inputting document information, a document storage unit 2 for storing the input document information, a display unit 3 for displaying the document information, A parenthesis storage unit 4 storing a plurality of parentheses of a shape, a designated parenthesis storage unit 5 for storing a designated parenthesis among the parentheses stored in the parenthesis storage unit 4, and a parenthesis stored in the designated parenthesis storage unit 5 Information setting means 12 for setting the position of the parenthesis, thickness setting means 13 for setting the thickness of the line segment forming the parentheses, width setting means 14 for setting the width of the parentheses, and the bracket information setting means 12 , Thickness setting means 13, setting information storage means 15 for storing information about the position set by width setting means 14, thickness and width, and parentheses stored in designated parenthesis storage means 5, Stored in storage means 15 Parenthesis generating means 8 for generating and storing in the document storage means 2 corresponding to the position, thickness and width of the document, and editing means for displaying the generated parentheses at the corresponding position on the document by the display means 3 9 wherein the thickness or width of the parentheses can be changed even after the parentheses have been generated once.
[0021]
In the configuration block diagram of FIG. 1, there is provided a midpoint position setting means 16 for setting the position of the middle point of the parentheses stored in the designated parenthesis storage means 5, and the parenthesis position storage means 7 is provided with a midpoint position setting means. The position information of the middle point set in the document by the means 16 is stored, and the bracket generation means 8 generates the parentheses so that the middle point is located at the position set by the middle point position setting means 16 and stores the document. Preferably, it is stored in the means 2.
[0022]
Further, there is further provided a position updating unit 17 for updating the position information of the start point and / or the end point of the parenthesis stored in the parenthesis position storage unit 7, and the parenthesis generating unit 8 is configured to update the position updated by the position updating unit 17. It is preferable that the parentheses are generated and stored in the document storage means 2 so that the start point and / or the end point of the parentheses are located at the beginning.
[0023]
Further, the apparatus further includes a reference point setting means 18 for setting a reference point which is an arbitrary point on the parentheses and which serves as a center for rotating the parentheses, and a rotation condition setting means 19 for setting a rotation condition of the parentheses. It is preferable that the bracket generation means 8 rotates the parentheses around the reference point based on the conditions set by the rotation condition setting means 19. Here, the rotation conditions in parentheses include, for example, a rotation direction and a rotation angle.
[0024]
Here, as the input means 1, a keyboard or a pointing device such as a pen, a mouse, or a trackball is usually used.
As the display means 3, it is preferable to use a CRT, a liquid crystal display panel (LCD), or the like.
[0025]
As the bracket storage means 4, a ROM is preferably used, but an external storage device such as a hard disk or a floppy disk may be used.
As the document storage unit 2, the designated parenthesis storage unit 5, the parenthesis position storage unit 7, the parenthesis trajectory storage unit 10, and the setting information storage unit 15, it is preferable to use a RAM, but an external storage device such as a hard disk or a floppy disk is used. You may.
[0026]
It is preferable that a keyboard or a pointing device or the like is used for the bracket position setting unit 6, the bracket information setting unit 12, the thickness setting unit 13, and the width setting unit 14, similarly to the input unit 1.
The bracket generating means 8, the editing means 9, and the bracket recognizing means 11 preferably use a so-called microcomputer comprising a CPU, a RAM, a ROM, an I / O interface, a timer, and the like, and are built in the ROM. It is preferable that the operation of these units of the document information processing apparatus be controlled by software.
[0027]
In addition, it is preferable that the midpoint position setting unit 16, the position updating unit 17, the reference point setting unit 18, and the rotation condition setting unit 19 also use a keyboard or a pointing device.
[0028]
[Action]
In the first invention shown in FIG. 1, first, the input means 1 designates a parenthesis to be input among the parentheses stored in the parenthesis storage means 4, and stores the information of the parenthesis in the designated parenthesis storage means 5.
The parenthesis position setting means 6 sets a starting point and an ending point at which the parenthesis stored in the designated parenthesis storage means 5 is placed, and stores the position information of the set starting point and ending point on the document in the parenthesis position storage means 7.
[0029]
Next, the parenthesis generation means 8 determines the size of the parentheses stored in the designated parenthesis storage means 5 to be allocated on the document from the position information stored in the parenthesis position storage means 7 and generates the parentheses. It is stored in the document storage means 2.
Further, the editing means 9 causes the display means 3 to display the generated parenthesis at a corresponding position on the document.
[0030]
In the second invention shown in FIG. 2, first, a desired parenthesis is input by handwriting using the input unit 1, and the trajectory of the parenthesis is stored in the parenthesis trajectory storage unit 10.
Next, the parenthesis recognizing means 11 recognizes the parenthesis having the shape closest to the input parentheses trajectory from the plurality of parentheses stored in the parenthesis storing means 4, and stores the recognized parenthesis in the designated parenthesis storing means. 5 is stored.
On the other hand, the parenthesis position storage means 7 stores position information on the start point and the end point of the input parenthesis trajectory.
[0031]
Next, the parenthesis generation means 8 determines the size of the parentheses stored in the designated parenthesis storage means 5 to be allocated on the document from the position information stored in the parenthesis position storage means 7 and generates the parentheses. It is stored in the document storage means 2.
Further, the editing means 9 causes the display means 3 to display the generated parenthesis at a corresponding position on the document.
[0032]
In the third invention shown in FIG. 3, first, the input means 1 designates a parenthesis to be input among the parentheses stored in the parenthesis storage means 4, and stores the information of the parenthesis in the designated parenthesis storage means 5.
The position where the parenthesis stored in the designated parenthesis storage means 5 is set by the parenthesis information setting means 12, and information on this position is stored in the setting information storage means 15.
The thickness of the line forming the parenthesis is set by the thickness setting unit 13 and stored in the setting information storage unit 15.
The width of the parentheses is set by the width setting means 14 and stored in the setting information storage means 15.
[0033]
Next, the parenthesis generating means 8 generates the parentheses stored in the designated parenthesis storage means 5 so as to correspond to the position, thickness, and width stored in the setting information storage means 15, and generates the document storage means 2. To memorize.
Further, the editing means 9 causes the display means 3 to display the generated parenthesis at a corresponding position on the document.
[0034]
As described above, according to the present invention, the positions of the start and end points of the specified parentheses are set, or the user is allowed to input the shape of the parentheses at a desired position by handwriting and recognize them. Parentheses over multiple lines of the intended size can be easily input at the intended position of the user.
[0035]
In addition, since the position, thickness and width of the parentheses can be set, the thickness or width of the parentheses can be changed by a simple input operation even after the parentheses are once generated. Once created, the expression in parentheses can be changed so that the document is easy to read with a simple operation.
[0036]
According to the present invention, the position of the middle point of the parenthesis stored in the designated parenthesis storage means 5 is set by the middle point position setting means 16, and the parenthesis position storage means 7 is set by the middle point position setting means 16. The position information of the middle point in the document is stored, and the parentheses generating means 8 generates the parentheses so that the middle point is located at the position set by the midpoint position setting means 16 and stores the parentheses in the document storage means 2. Therefore, the editing operation of the midpoint can be easily performed. In addition, since the middle point can be set at an arbitrary position, expressive parentheses can be created.
[0037]
According to the present invention, the position updating means 17 updates the position information of the start point and / or the end point of the parentheses stored in the parenthesis position storage means 7, and the parenthesis generating means 8 is updated by the position updating means 17. Since the parentheses are generated and stored in the document storage means 2 so that the start point and / or the end point of the parentheses are located at the positions, the position, length and direction of the parentheses once created can be changed by a simple operation. be able to.
[0038]
Further, according to the present invention, the reference point setting means 18 sets an arbitrary point on the parentheses and a reference point serving as a center for rotating the parentheses, and the rotation condition setting means 19 sets the rotation conditions of the parentheses. Since the parentheses generating means 8 rotates the parentheses around the reference point based on the conditions set by the rotation condition setting means 19, the parentheses having expressive power can be easily obtained. Can be created.
[0039]
【Example】
Hereinafter, the present invention will be described based on embodiments shown in the drawings.
It should be noted that the present invention is not limited by this.
FIG. 4 is a block diagram showing the configuration of an embodiment of the document processing apparatus according to the present invention.
In this figure, this device is composed of an external input / output device shown at 31 to 35 and 46, a control unit of external input / output device shown at 36 to 40 and 47, a control unit 41, a ROM 50 and a RAM 60. These are connected by an address bus and a data bus.
[0040]
Reference numeral 31 denotes a pen for inputting data, setting various information, and editing commands. Reference numeral 36 denotes a pen control unit that generates a pen state input by the pen 31 and input coordinates and sends the generated coordinates to the control unit 41.
Reference numeral 32 denotes a keyboard for inputting data, setting various information, editing commands, and the like. Reference numeral 37 denotes a keyboard control unit that sends the input key code to the control unit 41.
[0041]
A printer 33 outputs document information and other necessary information. Reference numeral 38 denotes a printer control unit that controls a printer while creating font data to be printed for printing document information and the like stored in the RAM 50.
Reference numeral 34 denotes a CRT, which is a device for displaying various information, but may be a liquid crystal display (LCD) or the like. Reference numeral 39 denotes a display control unit that sends data for one screen to be displayed stored in the RAM 50 to the CRT 34.
Reference numeral 35 denotes an FD (floppy drive) / HD (hard disk drive), which is an external storage device for storing document information. Reference numeral 40 denotes an FD / HD control unit that controls storage and reading of data with respect to the FD / HD 35.
Reference numeral 46 denotes a buzzer for notifying that the input is incorrect, and 47 a buzzer control unit for controlling the sound of the buzzer 46.
[0042]
Reference numeral 50 denotes a ROM (Read Only Memory), which includes a control program 50a, a parenthesis data table 50b, a font data memory (CGROM) 50c, and the like. Although not shown here, a kana-kanji conversion dictionary and data of a display screen for setting various information may also be supplied from the ROM.
[0043]
The control program 50a describes a procedure for performing the operation of the control unit 41, and executes various functions.
The parenthesis data table 50b stores the types and shapes of parentheses such as "(", ")", "[", "", "$", and "$" in pairs.
The font data memory (CGROM) 50c stores bitmap font and outline font data relating to characters and symbols for display or printing.
[0044]
The display on the CRT 34 is performed by reading font data of a character corresponding to a character string stored in a display buffer 60b in the RAM 60 described later from the CGROM 50c, and converting the read font data into display data by the display control unit 39. Be done.
[0045]
Reference numeral 60 denotes a RAM (Random Access Memory), which includes a document information memory 60a, a display buffer 60b, a designated parenthesis information memory 60c, a setting data memory 60d, a parenthesis locus memory 60e, and the like.
The document information memory 60a is a memory for storing document information such as characters, symbols, figures, parentheses, and setting data input from the pen 31, the keyboard 32, or the like.
The display buffer 60b is a memory for temporarily storing data such as characters and graphics to be displayed on the screen of the CRT 34. Display data is created by the display control unit 39 based on the data contained therein. You.
[0046]
The designated parenthesis information memory 60c is a memory that stores information on code values and shapes related to the designated parentheses among the parentheses stored in the parenthesis data table 50b, positions of start and end points for displaying the parentheses, widths of the parentheses, and the like. is there.
The setting data memory 60d is a memory for storing information on the thickness, width, and input position of parentheses set by the operator.
The parenthesis trajectory memory 60e is a memory for storing data corresponding to the parenthesis trajectory input by the pen 31, for example, the coordinate values of the input position sampled at regular intervals.
[0047]
The control unit 41 executes various functions of the device according to the procedure of the control program 50a and controls external input / output devices, and usually uses a CPU (central processing unit).
[0048]
Among the functions executed by the control unit 41, those particularly related to the present invention can be classified into the following four blocks.
The editing unit 42 is a unit that edits input document data such as characters and figures. The term “editing” used herein includes not only basic functions such as moving, copying, deleting, inserting, enlarging, reducing, displaying, and printing a document, but also processing for inputting / generating parentheses over a plurality of lines as in the present invention.
[0049]
The parenthesis generation unit 43 generates parentheses set by the operator based on information such as the shape and position of the parentheses stored in the designated parenthesis information memory 60c, creates data for display, and stores the data in the document information memory 60a. It is something to memorize.
The parenthesis recognition unit 44 determines which of the parentheses stored in the parenthesis data table 50b the data stored in the parenthesis trajectory memory 60e is closest to, and recognizes the type of the drawn parenthesis. .
The kana-kanji conversion processing unit 45 converts a kana character string input from the keyboard 32 into a kana-kanji mixed sentence, and is one of basic functions as a conventionally used Japanese word processor.
[0050]
FIG. 5 shows an embodiment of a method for inputting parentheses over a plurality of lines according to the present invention.
Here, it is assumed that the type of parentheses over a plurality of lines to be input has already been specified.
For example, a table composed of several kinds of parentheses as shown in FIG. 7 is displayed on the CRT 34, and a desired parenthesis is selected by using the pen 31 or a corresponding number of the desired parenthesis is inputted from a keyboard to specify the type of parenthesis. The information on the type and shape of the parenthesis selected from the parenthesis data table 50b is stored in the designated parenthesis information memory 60c.
[0051]
FIG. 5A illustrates a state where the cursor 101 is moved to the position of the upper left point where the parentheses are to be added, in a state where only the character string is input.
It is desirable that the cursor 101 be moved using dedicated keys for moving the keyboard 32 left, right, up, and down.
[0052]
FIG. 5B shows a state in which the parentheses start point 102 over a plurality of lines has been input by a dedicated key input on the keyboard or a key input by menu selection.
FIG. 5C shows a state in which the parenthesis end point 103 over a plurality of lines has been input by moving the cursor and inputting a dedicated key.
FIG. 5D shows a state where the start and end points of the parentheses over a plurality of lines are determined, and the specified parentheses are displayed in the specified size. Here, information on the start point and end point of the parentheses is stored in the designated parenthesis information memory 60c, and the parenthesis generator 45 creates parenthesis data to be displayed based on these pieces of information.
[0053]
FIG. 6 shows another example of a method of inputting parentheses over a plurality of lines, and shows a case where a plurality of lines of parentheses is input by the pen 31.
FIG. 6A shows a state where only a character string is input.
FIG. 6B shows a state where the start position of the parentheses over a plurality of lines on the display screen is pressed with the pen 31. Reference numeral 112 denotes the position of the start point of the parentheses over a plurality of lines.
[0054]
FIG. 6C shows a state immediately before the pen is drawn away from the display screen by drawing a desired shape of a parenthesis continuously while touching the display screen with the pen 31.
In the drawing, reference numeral 113 denotes a locus of parentheses drawn over a plurality of lines, and reference numeral 114 denotes a position of an end point of the parentheses over a plurality of lines.
[0055]
FIG. 6D shows a state in which after the pen 31 is separated from the display screen, the drawn parentheses over a plurality of lines are recognized and displayed after confirmation.
Reference numeral 111 denotes a set of parentheses extending over a plurality of lines.
Here, information on the start point and the end point of the parentheses is stored in the designated parenthesis information memory 60c, and the trajectory of the multi-line parentheses is stored in the parenthesis trajectory memory 60e.
Data relating to the start point and end point of the parentheses and the locus of the parentheses are represented by the coordinate origin of the entire document, for example, the X coordinate in the horizontal direction and the Y coordinate in the vertical direction with reference to the upper left position of the document.
[0056]
The trajectory data is composed of a set of pen position coordinates sampled at fixed time intervals.
Then, the parenthesis recognition unit 44 determines which of the parentheses in the parenthesis data table 50b is closest to the shape of the parentheses formed from the set of the locus data, and determines the type of the drawn parentheses. Recognize.
[0057]
The editing unit 42 sends information on the type of parenthesis recognized by the parenthesis recognition unit 44 to the parenthesis generation unit 43, and the parenthesis generation unit 43 generates the information based on the coordinate information of the start point and the end point of the parenthesis. Calculate the size of power brackets and create data for the parentheses to be displayed. The created parenthesis data is stored at a corresponding position in the document information memory 60a.
The above is an outline of the method for inputting parentheses over a plurality of lines. The detailed flow will be described later.
[0058]
Next, FIG. 8 shows a flowchart of the display processing of the generated multi-line parentheses.
In general, the editing unit 42 reads data to be displayed from the document information memory 60a and writes it to the display buffer 60b every time an instruction such as movement of a screen to be displayed is given by an operation from the pen 31, the keyboard 32, or the like. Perform the operation.
Usually, the display control unit 39 displays the display data existing in the display buffer 60b on the CRT 34 in real time.
[0059]
Hereinafter, the flow of FIG. 8 will be described.
In step S1, the position of the page to be displayed corresponding to the position of the document data stored in the document information memory 60a is calculated and stored.
Next, in step S2, a character code for one character is read from the current position in the document data, the character font is transferred from the CGROM 50C to the display buffer 60b, and one character is displayed. Advances the data position by one character.
Next, in step S3, it is checked whether the configuration of the data for one page on the display buffer 60b has been completed. If not completed, the process returns to step S2, and if completed, the process proceeds to step S4.
[0060]
If it is determined in step S4 that the display data creation processing has been performed for all the parentheses, the process ends. If the parenthesis data for which the display data for the parentheses has not yet been created or unchecked remains, step S5 is performed. Proceed to.
[0061]
In step S5, attention is paid to each of the parenthesis data held in the document information memory 60a as the document data, and the parentheses are present in the page for which the display data is currently being created from the position information of the start point and the end point. It is checked whether or not it is, and if it does not exist, it returns to step S4, and if it does, it proceeds to step S6.
[0062]
In step S6, the font data of the corresponding parenthesis is read from the CGROM 50c from the size and type information of the parenthesis for one data of interest, and stored in the display buffer 60b corresponding to the position where the parenthesis should be displayed. The bitmap data is configured, and the process returns to step S4.
[0063]
If the display of a graphic or the like is also performed at the same time, a procedure for transferring the graphic data to the display buffer 60b may be provided without ending the processing in step S4. The same applies to the page configuration procedure when printing is performed. Instead of configuring the display data in the display buffer 60b, the data may be transferred to the printer control unit 38.
[0064]
FIG. 9 illustrates the relationship between the document structure and the position coordinates of the start point and end point over a plurality of lines in the embodiment.
Reference numeral 71 denotes a layout from the first page to the last page of all document data stored in the document information memory 60a; 72, a page boundary; and 73, a bitmap developed on the display buffer 60b and displayed on the CRT 34. Current editing area, 74 is the position of the starting point of the input parenthesis, 75 is the position of the ending point of the input parenthesis, 76 is the number of characters in one line of the document (X), 77 is the total number of lines in the document (Y) , 78 are the number of lines per page (YP) of the document, 79 is the 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, and 80 is the document at the editing origin Y coordinate (Y1) with reference to the origin, 81 is the number of horizontal characters (XD) in the edit area 73, 82 is the number of vertical lines (YD) in the edit area 73, and 83 is the x coordinate of the position of the start point with respect to the edit origin (X1), 84 is based on the editing origin The y coordinate of the position of the start point (y1), 85 is the x-coordinate of the position of the end point relative to the editing origin (x2), 86 is the y coordinate of the position of the end point relative to the editing origin (y2).
[0065]
FIG. 10 shows the structure of parenthesis data stored in the designated parenthesis information memory 60c.
Each input parenthesis has seven data, and all the parenthesis data in the document are arranged by the number of the input parentheses, and an end code 98 indicating that there is no more parenthesis at the end. The data is stored in the RAM 60 in the attached form.
[0066]
Reference numeral 91 denotes the type number of the parentheses shown in FIG. 7, 92 denotes the x coordinate of the starting point based on the document origin of the parentheses, 93 denotes the y coordinate of the starting point based on the document origin of the parentheses, and 94 denotes the document origin of the parenthesis. , 95 is the y coordinate of the end point based on the document origin of the parentheses, 96 is 1 if it is a multi-line parenthesis (vertical bracket) that is long in the vertical direction, and is a multi-character parenthesis that is long in the horizontal direction. If (open parenthesis), a vertical / horizontal flag holding 2 is set, 97 is an open / close flag holding 1 for open parenthesis, and 2 is held for closed parenthesis, and 98 is an end code indicating that there are no more input parentheses.
[0067]
Next, input processing of parentheses over a plurality of lines will be described with reference to FIG.
In step S7, the type number of the parenthesis and its direction (open parenthesis or closing parenthesis) are previously selected or set to default, and the process proceeds to step S8.
In step S8, if the operation of canceling the process is performed by the user, the process ends; otherwise, the process proceeds to step S9.
[0068]
In step S9, the user operates the keyboard 101 to move the cursor 101 or the like, and fetches the position (x1, y1) of the start point of the parentheses over the specified plural lines with respect to the editing origin into the designated parenthesis information memory 60c. (At this time, the cursor moves rightward by one character), and the process proceeds to step S10.
[0069]
In step S10, the start point mark 102 is written at the display position of the display buffer 60b corresponding to the specified start point position (x1, y1), and the display as shown in FIG. 5B is performed, and the process proceeds to step S11. .
[0070]
In step S11, the user performs an operation such as moving the cursor 101 with the keyboard in the same manner as in specifying the position of the start point, and specifies the position (x2, y2) of the end point (x2, y2) of the specified multi-line parenthesis with respect to the editing origin. The data is stored in the memory 60c, and the process proceeds to step S12.
[0071]
In step S12, the end point mark 103 is written at the display position of the display buffer 60b corresponding to the specified end point position (x2, y2), and a display as shown in FIG. 5C is performed, and the process proceeds to step S13. .
In step S13, the positions of the input start point and end point are (x1-x2)2<(Y1-y2)2If so, the process proceeds to step S21 because of the vertical arrangement, and otherwise proceeds to step S14.
[0072]
In step S14, it is determined whether or not the input start point and end point positions are correct. The start point and end point are neither vertically nor horizontally: (x1-x2)2= (Y1-y2)2Or the start point and end point are on different pages: Y1 + y1 <nYP <Y1 + y2 or Y1 + y1> nYP> Y1 + y2 (n: a positive integer), or the start point or end point is out of the layout of the document: x1> X, x2> If X, y1> Y or y2> Y, the process proceeds to step S19 since the input is not correct. If it is determined in step S14 that the input is correct, the process proceeds to step S15.
[0073]
In step S15, the size of the parentheses is calculated from the distance between the start point and the end point, that is, the size of the parentheses is calculated when x1 <x2 = x2-x1, x1> x2, and the process proceeds to step S16. .
In step S16, the size calculated in step S15, the currently set type number, and the parenthesized bitmap data of the direction are called from the CGROM 50c and written by writing them between the start point and the end point of the display buffer 60b. Proceed to S17.
[0074]
In step S17, the user is asked to confirm whether the currently displayed parenthesis is acceptable. If it is, the process proceeds to step S20; otherwise, the process proceeds to step S18.
In step S18, the user is prompted to input the type and direction of the parentheses from an input device such as the keyboard 32, and the parenthesis type number and open / close flag are set in accordance with the input information of the parentheses. Proceed to.
[0075]
In step S19, processing such as sounding the buzzer 46 by controlling the buzzer control unit 47 is performed to inform the user that the input positions of the start point and the end point are inappropriate, and display the start point and end point marks. Then, the process returns to step S7.
[0076]
In step S20, the input parenthesis type 91 shown in FIG. 10, the coordinates (X1 + x1, Y1 + y1) 92 and 93 of the start point based on the text origin, the coordinates (X1 + x2, Y1 + y2) 94 of the end point based on the text origin, and 95, the vertical / horizontal flag 96, and the opening / closing flag 97 of parentheses are added to the end of the parenthesis data of the document data in the document information memory 60a (however, when the vertical parenthesis is y1> y2 or the horizontal parenthesis is x1> x2, the starting point is added The end point and the end point are stored in the storage area of the start point), the end code 98 is added and stored, and the display buffer 60b is erased once. Then, the display processing shown in FIG.
[0077]
In step S21, the size of the parentheses is calculated from the distance between the start point and the end point (when y1 <y2: parenthesis size = y2-y1, when y1> y2: parenthesis size = y1-y2), and the process proceeds to step S22.
In step S22, the size calculated in step S21, the currently set type number, and the parenthesized bitmap data of the direction are called from the CGROM 50c, and displayed by writing between the start point and the end point of the display buffer 60b. Proceed to step S17.
The above input processing is executed by the CPU of the control unit 41 according to the procedure indicated in the control program 50a.
[0078]
Also, regarding the input processing of parentheses over a plurality of lines using the pen 31 in FIG. 6, instead of steps S9 to S12 in the input processing shown in FIG. Is performed.
[0079]
That is, with the initial pen-down position 112 of the pen 31 as a start point and the position 114 where the pen 31 is released as an end point, the shape of the parenthesis drawn by the pen 31 is recognized, and the type, direction, And the position information and the like are set in the designated parenthesis information memory 60c. Thereafter, if the same processing as that shown in FIG. 11 is performed, input processing of parentheses over a plurality of lines using the pen 31 can be performed.
[0080]
The input unit for the start point and the end point can be any unit such as half line, full line, half width, full width, etc. in addition to the character unit. , Image data, and the like.
[0081]
The above is the processing for inputting parentheses over multiple lines. In this way, the start point and the end point for placing parentheses over multiple lines are set, or the shape of parentheses over multiple lines using a pen is set to correspond to the document. Since the user draws directly on the display screen and inputs the start point and end point of the parentheses over a plurality of lines or the trajectory therebetween, the user can easily enter the parentheses over the multiple lines at the intended position.
[0082]
Next, an embodiment of a process for setting and changing the thickness and width of the line segment of parentheses over a plurality of lines will be described.
FIG. 12 shows an example of a display screen for setting the state of parentheses.
Here, the thickness of the parentheses is selected from three types of “thin”, “normal”, and “thick”.
In addition, the thickness of each parenthesis line is assumed to be predetermined, and the parenthesis storage unit 11 stores information on the thickness of each parenthesis along with the type of each parenthesis. .
[0083]
FIG. 13A shows a display example when the thickness of the parentheses is set to “thin”. Regarding the width of the parentheses, it is set how many digits are to be converted into half-width characters or full-width characters. That is, when the width of the parentheses is set to have a width of one full-width character, that is, one digit in FIG. 12, the parentheses having the width as shown in FIG. 13A are displayed.
[0084]
FIG. 13B shows the parentheses of FIG. 13A displayed after the parentheses of FIG. 13A are displayed, and FIG. 13C shows the parentheses of FIG. Is displayed, and the width of the parentheses is changed to three full-width digits.
The information on the thickness and width of the parentheses over a plurality of lines is stored in the designated parenthesis information memory 60c for each parenthesis.
[0085]
Although not described in the data structure of FIG. 10, after setting by the user, information on the thickness stored in the parenthesis data table, for example, a number value “1” indicating “thin” and a value on the width Data, for example, a numerical value (0/1) indicating the distinction between full-width / half-width and the number of digits “3” are stored in the storage location for the parenthesis in the designated parenthesis information memory 60c.
[0086]
Also, instead of displaying the setting screen and changing the thickness and width of the parentheses, by specifying the parentheses to be changed with the cursor and pressing a specific key such as [conversion / next candidate], “ It may be changed in a cycle of “thin” → “normal” → “thick”.
[0087]
Further, when changing the width of the parentheses, as shown in FIG. 14, the start point or the end point of the parentheses may be designated with a pen, and the width of the parentheses may be changed by moving the pen on the screen. This method has an advantage that the width is excellent in visibility and can be set to the width intended by the user, as compared with the case where the width is designated by a numerical value as shown in FIG.
The above is the outline of the processing for changing the thickness and width of the parentheses over a plurality of lines. The operation flow of this processing is shown below.
[0088]
FIG. 15 shows a flowchart of a process for changing the setting of the thickness and width of the parentheses.
The processing described below is performed by the control unit 41 in accordance with the control program 50a, and is actually preferably performed by the CPU.
[0089]
First, before entering this processing, a parenthesis whose setting is to be changed is designated using a cursor.
In step S31, it is monitored whether or not there is an input of a specific key for displaying a screen for setting a parenthesis state shown in FIG. When the input of the specific key is detected, the process proceeds to step S32, and the window screen of FIG.
[0090]
Next, in step S33, the thickness and width are set as described above while the window screen of FIG. 12 is displayed. Here, the set data is not stored in the designated parenthesis information memory 60c, but is temporarily stored in a predetermined area of the setting data memory 60d.
[0091]
In step S34, it is checked whether the setting has been confirmed. For example, it is checked whether the [Execute] key has been pressed. When the [Execute] key has been pressed, in step S35, first, the thickness of the parentheses is changed. Change to the set thickness. This change is performed by rewriting the information value relating to the specified parenthesis thickness in the specified parenthesis information memory 60c.
[0092]
Next, in steps S36 to S41, the width of the parentheses is changed.
In step S36, it is checked whether the current setting of the width of the parentheses is "half-width". This is performed by the control unit 41 determining whether or not the set value of the full-width / half-width character of the specified parenthesis in the specified parenthesis information memory 60c is currently “half-width”.
[0093]
If it is "half-width", the process proceeds to step S37, and it is checked whether the setting data stored in the setting data memory 60d is "half-width".
If the setting is "full-width", the process proceeds to step S38, in which the width is enlarged or reduced by the number of digits of the newly set parenthesis width, and further converted from "half-width" to "full-width". To double. That is, assuming that the current width is a digit and the newly set digit is n digits, the current parenthesis width is multiplied by 2n / a in order to convert from a half-width to a full-width.
[0094]
If the current parenthesis width setting is “full-width” in step S36, the process proceeds to step S39, and it is checked whether the newly set parenthesis width is “full-width”. Here, in the case of "full-width" in step S39 and in the case of "half-width" in step S37, that is, in the case of conversion from "full-width" to "full-width" and in the case of conversion from "half-width" to "half-width" , The process proceeds to step S40, and the width of the parentheses is multiplied by n / a.
[0095]
If the newly set parenthesis width is “half-width” in step S39, the process proceeds to step S41, and the width of the parenthesis is multiplied by n / 2a to change the width from “full-width” to “half-width”.
[0096]
In step S38, step S40, and step S41, specifically, the data relating to the width in the designated parenthesis information memory 60c is rewritten to the new set value.
[0097]
The above is the processing for changing the setting of the thickness and width of the parentheses over a plurality of lines. This makes it possible to further enhance the expressive power of the parentheses over a plurality of lines. The operation of parentheses can be changed by simple operations.
[0098]
Next, a description will be given of a function of creating an opening parenthesis and creating a closing parenthesis by an easy operation when creating a parenthesis over a plurality of lines.
FIG. 16 shows a flowchart of the function for creating the closing parenthesis.
First, in step S51, when the start point of the closing parenthesis is input by the user using the keyboard 32 or the pen 31, the coordinate information of the starting point is stored in the designated parenthesis information memory 60c.
[0099]
Next, in step S52, it is checked by checking the data in the designated parenthesis information memory 60c whether or not there is another parenthesis start point having the same value as the Y coordinate of this start point.
If it does not exist, the process ends. If it does, the process proceeds to step S53, and it is checked whether the parenthesis is an open parenthesis. If it is a closing parenthesis, it is determined in step S57 whether or not parentheses are to be created under the same conditions. If parentheses are to be created under the same conditions, it is determined in step S58 whether or not opening parentheses should be created.
[0100]
When an open parenthesis is created, in step S59, an end point having the same Y coordinate value is determined so as to match the position of the end point of the parenthesis found in step S53, an open parenthesis is created, and a close parenthesis is created. If so, in step S60, an end point is determined to match the position of the end point of the parenthesis similarly found in step S53, and a closing parenthesis is created.
[0101]
If the open parenthesis exists in step S53, the process proceeds to step S54, and the position of the end point of the close parenthesis is obtained.
The position of the end point of the closing parenthesis is determined by the X coordinate value of the starting point input in step S51 and the Y coordinate value of the opening parenthesis found in step S53.
[0102]
Next, in step S55, data on the closing parenthesis is created in the designated parenthesis information memory 60c. That is, data on the coordinate position, type, thickness, width, and the like of the start point and end point of the closing parenthesis are stored in the designated parenthesis information memory 60c.
[0103]
Finally, in step S56, conditions are set for displaying the closing parenthesis, and the process ends.
[0104]
FIG. 17 shows a specific example of the closing parenthesis creation function.
FIG. 17A shows a state in which the starting point of the closing parenthesis is designated by a pen at a position parallel to the already created opening parenthesis.
FIG. 17B shows a state in which the closing parenthesis is created and displayed according to the procedure of FIG. 16 based on the starting point of the closing parenthesis input in FIG. 17A.
[0105]
The above is the processing of inputting the closing parenthesis when the opening parenthesis has already been input.However, since the closing parenthesis is created simply by specifying the start point of the closing parenthesis, the operability of inputting the closing parenthesis is improved. Can be measured.
[0106]
Next, a function of changing the middle point of the parentheses when the parentheses of the type 4 or 5 shown in FIG. 7 are formed on a plurality of lines will be described with reference to FIG.
[0107]
FIG. 19 is a flowchart of the movement of the start point, the middle point, and the end point of parentheses over a plurality of lines.
Here, it is assumed that parentheses over a plurality of lines have already been input and displayed on the CRT 34 in accordance with the flowchart shown in FIG.
In addition, since information on the midpoint is required to move the midpoint, the X and Y coordinates of the midpoint are further stored in the designated parenthesis information memory 60c as shown in FIG. deep. For example, in parenthesis type 4 of FIG. 7 prepared in advance, in the case of a vertical bracket, the X coordinate of the middle point is the same as the X coordinate of the start point and the end point, and the Y coordinate is the center of the start point and the end point.
[0108]
The coordinates of the middle point can be obtained from the coordinates of the start point and the end point of the parentheses by the above-described method when the parentheses over a plurality of lines are created according to the flowchart of FIG. In addition, when creating parentheses over a plurality of lines, the user may be prompted to input the position of the midpoint using a pen or a keyboard.
As described above, when the user inputs the position of the middle point, the position of the middle point of the parentheses over a plurality of lines can be set to a desired position of the user at the time of creation.
[0109]
First, in step S70, it is monitored whether or not an instruction to select a parenthesis over a plurality of lines for which the position of the midpoint is to be changed is issued.
When an instruction to make a selection is given by the pen 31 or the keyboard 32, the process proceeds to step S71, and the cursor is moved to the parentheses on the selected plurality of lines. At this time, when the user designates the middle point and selects the parentheses, the cursor is displayed at the position of the middle point, and when the user designates the start point or the end point, the cursor is moved to the start point or the end point, respectively. Is desirably displayed.
[0110]
Also, when the user's instruction is selected by indicating a position that does not correspond to any of the start point, middle point, and end point, the cursor is displayed at the closest point among these three points, and thereafter, It is also possible for the user to indicate again the point at which the position is to be changed.
[0111]
Next, in step S72, it is monitored whether or not an instruction to change the midpoint from the user, that is, whether or not an input of a position to move the midpoint from the pen or the keyboard is performed. Proceed to S73.
At this time, the position coordinates of the destination are stored in the RAM 60.
[0112]
In the flowchart of FIG. 19, it is determined whether the change instruction is the middle point, the start point, or the end point of the parentheses extending over a plurality of lines in steps S73 and S74. , The process proceeds from step S74 to step S77.
[0113]
In step S77, the position coordinates of the middle point of the parentheses over a plurality of lines are calculated based on the position coordinates of the movement destination of the middle point stored in the RAM 60, and the position of the middle point in the parentheses is determined. The shape of the parentheses is calculated, and the parentheses whose midpoints have been changed are displayed on the CRT.
[0114]
At this time, even when the position coordinates to which the designated middle point is moved are not on the straight line connecting the start point and the end point of the parentheses, the coordinate values are corrected so that the middle point is on this straight line.
This is to prevent the shape of the initial parentheses from being deformed if the designated position is exactly the position of the midpoint.
[0115]
Thereafter, in step S81, it is determined that an input from the user for confirming whether or not the displayed parenthesis is acceptable is made, and if an input is received from the user for confirming, the process proceeds to step S82. , Determine the new parenthesis.
That is, the information about the parenthesis whose middle point has been changed to the position desired by the user is updated. Here, the X and Y coordinates of the midpoint shown in FIG. 20 are updated.
[0116]
FIG. 21 is a diagram for explaining the function of moving the middle point of parentheses over a plurality of lines as described above.
Here, the left diagram of FIG. 21A shows that the middle point at the center between the start point and the end point is indicated by a pen.
The right diagram of FIG. 21A shows that the position to which the designated midpoint is moved is indicated.
FIG. 21B shows the parentheses after the movement is determined.
[0117]
In the right diagram of FIG. 21 (1), even if the instruction to move the midpoint is slightly shifted left and right, the horizontal coordinate of the midpoint is corrected as described above, so that a straight line connecting the start point and the end point is obtained. The middle point can be set at the top, and the deformation of the parentheses can be prevented.
[0118]
The above is the description of the function of moving the middle point of the parentheses over a plurality of lines. However, the position of the start point and the end point of the parentheses can be similarly changed.
In the flowchart of FIG. 19 described above, it is detected in step S72 that the start point or the end point has been selected as the object whose position is to be changed.
[0119]
When the start point is selected, the process proceeds from step S73 to step S75, and a new change position of the start point is calculated to move the start point to the position specified in step S71, and then the start point is determined in step S76. Then, it is displayed on the CRT.
[0120]
If the end point is selected, the process proceeds from step S74 to step S79. Similarly, in steps S79 and S80, a new position of the end point is calculated, fixed, and displayed on the CRT.
[0121]
FIGS. 22 and 23 show an embodiment in which the position of the end point of the parentheses over a plurality of lines is moved.
In FIG. 22, the left diagram of (1) indicates the end point of the parenthesis over a plurality of lines with a pen, and the right diagram of (1) indicates the position to which the end point moves straight down.
FIG. 22 (2) shows the parentheses after the movement is determined.
In FIG. 23, a new coordinate value (X2, Y2 ′) with respect to the initial coordinate value (X2, Y2) of the end point shows a case where the end point is slid in the horizontal direction, and a new coordinate value (X2, Y2). ', Y2 ") shows a case where the end point is moved to an arbitrary position on the CRT screen.
[0122]
That is, by moving the end point or the start point, parentheses extending over a plurality of lines inclined in an oblique direction can be created. As a result, it is possible to easily edit the parentheses that are input once and extend over a plurality of lines. By changing the expressions of the parentheses, it is possible to make the document more legible.
[0123]
The above is a description of the function of moving the start point, the middle point, and the end point of the parentheses over a plurality of lines. However, by applying this function, the parentheses themselves over a plurality of lines can be moved, copied, and deleted.
For example, as shown in FIG. 24, when moving a parenthesis over a plurality of lines, when the parenthesis to be moved is specified by a pen or a keyboard, the coordinate values of the start point, the middle point, and the end point of the parenthesis are stored in the RAM. The coordinates of the start point, the middle point, and the end point may be rewritten to the corresponding coordinate values after the movement, when the position to be moved and thereafter is designated.
[0124]
As described above, since the positions of the start point, the middle point, and the end point of the parentheses over a plurality of lines can be changed, the position, length, and direction of the parentheses once created can be changed by a simple operation.
[0125]
Also, in FIG. 11, the parentheses that are created over a plurality of lines are intended for either vertical parentheses or horizontal parentheses, but need not be limited to this, and are inclined obliquely as shown in FIG. Parentheses may be used.
That is, in the creation of parentheses on a plurality of lines in FIG. 11, the position coordinates are calculated so as to forcibly become vertical brackets or horizontal brackets by judging from the positions of the start point and the end point input by the user. If the parentheses are created using the positions of the start point and the end point input by the user as they are, the parentheses extending over a plurality of slanted lines can be created.
[0126]
Note that when inputting the start point and end point of the parentheses with a pen, it is difficult to input the start point and end point accurately in the vertical or horizontal direction, so that the input is normally performed as shown in FIG. When it is necessary to make it possible to create vertical brackets or horizontal brackets, and to create oblique parentheses, it is preferable to first input, for example, an instruction to enter a mode for creating oblique parentheses.
[0127]
Next, the rotation of the parentheses over a plurality of lines created in the present invention will be described.
As shown in FIG. 26, this function is to rotate the parenthesis about a middle point or an arbitrary point on the parenthesis over a plurality of lines that have already been created. Hereinafter, an arbitrary point on the parenthesis serving as the rotation center of the parenthesis is referred to as a reference point.
[0128]
FIG. 27 shows a schematic flowchart in one embodiment of this rotation function.
First, in step S90, it is monitored whether or not the user has performed an input for executing the rotation function. If the input has been performed, the process proceeds to step S91. In step S91, it is determined whether or not there is an input indicating a reference point serving as a rotation center of parentheses over a plurality of lines that the user wants to rotate.
The input of the reference point may be performed by moving the cursor with a pen or a keyboard.
[0129]
The reference point does not need to be limited to the middle point of the parentheses, and the designated point may be set as the reference point. However, it is difficult to specify the midpoint accurately, such as when inputting with a pen, but if you want to specify the midpoint as the reference point, simply specify any point in the brackets you want to rotate, and the reference point will , It is preferable to forcibly set the middle point of the parentheses.
[0130]
Next, in step S92, the input rotation angle is stored in the RAM, and in step S43, the input rotation direction is stored in the RAM.
If the input angle and direction are not correct in step S93, some error display is performed in step S99.
[0131]
When the input angle and direction are correct, in step S95, it is determined whether there is a confirmation input for checking whether there is an error in the input setting. If the confirmation input is made, the process proceeds to step S96, and the rotation is performed. A calculation is performed on the display position of the parenthesis later. Here, for example, the position coordinates after rotation of the start point, the middle point, and the end point shown in FIG. 20 are obtained by coordinate conversion or the like.
[0132]
In step S97, parentheses after rotation obtained by the above calculation are displayed.
The above is the function of rotating parentheses over a plurality of lines in the present invention. With this, it is possible to easily create parentheses over a plurality of lines with expressive power, and thus to create a more legible document.
[0133]
Next, in the present invention, an editing function such as moving, copying or erasing of a plurality of overlapping parentheses will be described.
As shown in FIG. 28, in the case where parentheses are displayed on a CRT over a plurality of overlapping lines, the parentheses can be separately edited.
[0134]
Here, a case is shown in which the parentheses A and B of two overlapping plural lines are selected and moved. Generally, when the user designates an overlap point, that is, the end point of parenthesis A and the start point of parenthesis B, as shown in FIG. 28, it cannot be determined whether parenthesis A or parenthesis B has been designated. Therefore, the order in which these parentheses are created is stored, and when such an overlapping point is specified, the parentheses are selected in the order in which the parentheses were created.
[0135]
By doing so, the parentheses created first are selected, but if this is not the desired parenthesis, the input operation of a specific key for sequentially selecting the created parentheses is performed in the parentheses. May be repeated until is selected.
It is preferable that the selected parenthesis be displayed in a blinking manner so as to be distinguished from other parentheses.
Then, by performing the above-described functions such as moving, copying, rotating, or erasing the selected parentheses over a plurality of lines, even if the parentheses over a plurality of lines are overlapped, one by one is separately provided. Can be edited.
[0136]
In addition, information as shown in FIG. 20 is created for each of the parentheses over a plurality of overlapping lines. However, in addition to the information shown here in order to execute the editing function of the overlapping parentheses described above, It is necessary to memorize the number indicating the order of creation for each parenthesis.
In this way, overlapping parentheses that overlap each other can be handled separately, and parentheses over a plurality of lines at the time of document creation can be edited more easily.
[0137]
【The invention's effect】
According to the present invention, the position of the start point and the end point of the specified parenthesis is set, or the user is caused to input the shape of the parenthesis by handwriting at a desired position and recognize the position. You can easily enter parentheses that span multiple lines of the intended size.
In addition, since the position, thickness and width of the parentheses can be set, the thickness or width of the parentheses can be changed by a simple input operation even after the parentheses are once generated. Once created, the expression in parentheses can be changed so that the document is easy to read with a simple operation.
[00138]
In addition, the position, length, and direction of the parentheses once created can be changed by a simple operation by indicating the positions to change the start point, middle point, and end point of the parentheses over a plurality of lines. Since the parentheses can be rotated, it is possible to easily create parentheses over a plurality of lines with expressive power, and thus to create an easy-to-read document.
Further, according to the present invention, when the opening parenthesis has already been input, the closing parenthesis is created simply by indicating the start point of the closing parenthesis, so that the operability of inputting the closing parenthesis can be improved.
[Brief description of the drawings]
FIG. 1 is a first configuration block diagram of the present invention.
FIG. 2 is a block diagram showing a second configuration of the present invention.
FIG. 3 is a block diagram showing a third configuration of the present invention;
FIG. 4 is a block diagram illustrating a configuration according to an embodiment of the present invention;
FIG. 5 is an explanatory diagram showing an embodiment of a method for inputting parentheses over a plurality of lines.
FIG. 6 is an explanatory diagram showing an embodiment of a method for inputting parentheses over a plurality of lines using a pen.
FIG. 7 is an explanatory diagram showing types of parentheses over a plurality of lines.
FIG. 8 is a flowchart of a process for displaying generated parentheses over a plurality of lines.
FIG. 9 is an explanatory diagram showing a relationship between a document and position coordinates of parentheses over a plurality of lines in the embodiment.
FIG. 10 is an explanatory diagram showing a data structure of input information regarding parentheses.
FIG. 11 is a flowchart of parenthesis input processing over a plurality of lines.
FIG. 12 is an explanatory diagram showing an example of a display screen for setting a state of parentheses.
FIG. 13 is an explanatory diagram of an embodiment in which the thickness and width of parentheses are changed.
FIG. 14 is an explanatory diagram of an embodiment in which the width of parentheses is changed by a pen.
FIG. 15 is a flowchart of a function for setting the thickness and width of parentheses according to the present invention.
FIG. 16 is a flowchart of a function for creating a closing parenthesis.
FIG. 17 is an explanatory diagram of an embodiment for creating a closing parenthesis.
FIG. 18 is an explanatory diagram of an example of parentheses over a plurality of lines in the related art.
FIG. 19 is a flowchart of a function for moving a start point, a middle point, and an end point of parentheses over a plurality of lines according to the present invention.
FIG. 20 is an explanatory diagram showing another example of the data structure of information related to parentheses.
FIG. 21 is an explanatory diagram of a function of moving a middle point of parentheses over a plurality of lines.
FIG. 22 is an explanatory diagram of a function of moving a parenthesis end point over a plurality of lines.
FIG. 23 is an explanatory diagram of a function of moving a parenthesis end point over a plurality of lines.
FIG. 24 is an explanatory diagram of a function of moving parentheses themselves over a plurality of lines.
FIG. 25 is an explanatory diagram of an embodiment of parentheses inclined obliquely.
FIG. 26 is an explanatory diagram of a parenthesis rotation function over a plurality of lines.
FIG. 27 is a flowchart of a parenthesis rotation function over a plurality of lines.
FIG. 28 is an explanatory diagram of an embodiment in a case where parentheses on a plurality of lines are overlapped.
[Explanation of symbols]
31 pens
32 keyboard
33 Printer
34 CRT
35 FD / HD
36 Pen control unit
37 Keyboard control unit
38 Printer control unit
39 Display control unit
40 FD / HD control unit
41 Control unit
42 Editorial Department
43 Parenthesis generator
44 Parenthesis recognition unit
45 Kana-Kanji conversion unit
46 Buzzer
47 Buzzer control unit
50 ROM
50a control program
50b Parenthesis data table
50c CGROM
60 RAM
60a Document information memory
60b Display buffer
60c Specified parenthesis information memory
60d setting data memory
60e Bracket locus memory

Claims (6)

文書情報を入力する入力手段と、
前記入力された文書情報を記憶する文書記憶手段と、
文書情報を表示する表示手段と、
予め定められた形状の複数個の括弧の情報を格納した括弧格納手段と、
括弧格納手段に格納された括弧のうち指定された括弧の情報を記憶する指定括弧記憶手段と、
指定括弧記憶手段に記憶された括弧を置く始点及び終点を設定する括弧位置設定手段と、
括弧位置設定手段によって設定された始点及び終点の文書上の位置情報を記憶する括弧位置記憶手段と、
前記括弧位置記憶手段に記憶された位置情報から、前記指定括弧記憶手段に記憶された括弧の文書上へ割り付けるべき大きさを決定してその括弧を生成し文書記憶手段に記憶する括弧生成手段と、生成された括弧を表示手段によって文書上の対応する位置に表示させる編集手段とを備え、
入力手段によって括弧の始点が入力された場合に、その始点と所定の対応関係のある位置に既に入力された開き括弧があるとき、括弧生成手段が前記入力された始点を基準とした閉じ括弧を生成することを特徴とする文書情報処理装置。
Input means for inputting document information;
Document storage means for storing the input document information,
Display means for displaying document information;
A parenthesis storing means for storing information of a plurality of parentheses having a predetermined shape,
A designated parenthesis storage unit that stores information of a designated parenthesis among the parentheses stored in the parenthesis storage unit;
A parenthesis position setting means for setting a start point and an end point for placing parentheses stored in the designated parenthesis storage means;
Bracket position storage means for storing position information on the document of the start point and the end point set by the bracket position setting means,
A parenthesis generating means for determining the size of the parentheses stored in the designated parenthesis storage means to be allocated to the document from the position information stored in the parenthesis position storage means, generating the parentheses, and storing the parentheses in the document storage means; Editing means for displaying the generated parenthesis at a corresponding position on the document by the display means,
When entered the starting point of the braces by the input means, when there is open parenthesis already entered into a certain position thereof starting point and predetermined correspondence relationship, closed with respect to the starting point parentheses generating means is said input Batch A document information processing apparatus for generating an arc .
入力された文書情報を記憶する文書記憶手段と、
文書情報を表示する表示手段と、
前記表示手段に重ねて配置され手書き入力された文書情報を取り込む入力手段と、
予め定められた形状の複数個の括弧の情報を格納した括弧格納手段と、
前記入力手段によって入力された括弧の軌跡を記憶する括弧軌跡記憶手段と、
前記入力された括弧の軌跡に最も近い形状の括弧を前記括弧格納手段に記憶された複数個の括弧の中から認識する括弧認識手段と、
前記括弧認識手段によって認識された括弧の情報を記憶する指定括弧記憶手段と、
前記入力された括弧の軌跡の始点及び終点に関する位置情報を記憶する括弧位置記憶手段と、
前記括弧位置記憶手段に記憶された位置情報から、前記指定括弧記憶手段に記憶された括弧の文書上へ割り付けるべき大きさを決定してその括弧を生成し文書記憶手段に記憶する括弧生成手段と、生成された括弧を表示手段によって文書上の対応する位置に表示させる編集手段とを備え、
入力手段によって括弧の始点が入力された場合に、その始点と所定の対応関係のある位置に既に入力された開き括弧があるとき、括弧生成手段が前記入力された始点を基準とした閉じ括弧を生成することを特徴とする文書情報処理装置。
Document storage means for storing input document information;
Display means for displaying document information;
Input means for capturing the handwritten input document information arranged on the display means,
A parenthesis storing means for storing information of a plurality of parentheses having a predetermined shape,
Parentheses trajectory storage means for storing the trajectory of the parentheses input by the input means,
A parenthesis recognizing means for recognizing a parenthesis having a shape closest to the input parenthesis trajectory from a plurality of parentheses stored in the parenthesis storage means,
Designated parenthesis storage means for storing information of parentheses recognized by the parenthesis recognition means,
Parenthesis position storage means for storing position information about the start point and the end point of the input parenthesis trajectory,
A parenthesis generating means for determining the size of the parentheses stored in the designated parenthesis storage means to be allocated to the document from the position information stored in the parenthesis position storage means, generating the parentheses, and storing the parentheses in the document storage means; Editing means for displaying the generated parenthesis at a corresponding position on the document by the display means,
When entered the starting point of the braces by the input means, when there is open parenthesis already entered into a certain position thereof starting point and predetermined correspondence relationship, closed with respect to the starting point parentheses generating means is said input Batch A document information processing apparatus for generating an arc .
文書情報を入力する入力手段と、
前記入力された文書情報を記憶する文書記憶手段と、
文書情報を表示する表示手段と、
予め定められた形状の複数個の括弧を格納した括弧格納手段と、
括弧格納手段に格納された括弧のうち指定された括弧を記憶する指定括弧記憶手段と、
指定括弧記憶手段に記憶された括弧を置く位置を設定する括弧情報設定手段と、
括弧を形成する線分の太さを設定する太さ設定手段と、
括弧の幅を設定する幅設定手段と、
前記括弧情報設定手段、太さ設定手段、及び幅設定手段によって設定された位置に関する情報、太さ、及び幅を記憶する設定情報記憶手段と、
指定括弧記憶手段に記憶された括弧を、前記設定情報記憶手段に記憶された位置、太さ、及び幅に対応するように生成し前記文書記憶手段へ記憶する括弧生成手段と、生成された括弧を表示手段によって文書上の対応する位置へ表示させる編集手段とを備え、
入力手段によって括弧の始点が入力された場合に、その始点と所定の対応関係のある位置に既に入力された開き括弧があるとき、括弧生成手段が前記入力された始点を基準とした閉じ括弧を生成することを特徴とする文書情報処理装置。
Input means for inputting document information;
Document storage means for storing the input document information,
Display means for displaying document information;
A parenthesis storing means for storing a plurality of parentheses of a predetermined shape,
A designated parenthesis storage unit for storing a designated parenthesis among the parentheses stored in the parenthesis storage unit;
A parenthesis information setting means for setting a position where the parenthesis stored in the designated parenthesis storage means is placed;
Thickness setting means for setting the thickness of a line forming a parenthesis;
Width setting means for setting the width of the parentheses;
Setting information storage means for storing information on the position set by the parenthesis information setting means, thickness setting means, and width setting means, thickness, and width;
A parenthesis generating unit that generates the parentheses stored in the designated parenthesis storage unit so as to correspond to the position, thickness, and width stored in the setting information storage unit and stores the parentheses in the document storage unit; Editing means for displaying the display at a corresponding position on the document by the display means,
When entered the starting point of the braces by the input means, when there is open parenthesis already entered into a certain position thereof starting point and predetermined correspondence relationship, closed with respect to the starting point parentheses generating means is said input Batch A document information processing apparatus for generating an arc .
開き括弧及び閉じ括弧とが対応づけて記憶された所定形状の複数個の括弧のうち、入力手段によって所望の括弧を指定させ、指定された括弧を置く文書上の始点及び終点を入力させ、設定情報記憶手段に前記入力された始点及び終点の文書上の位置情報を記憶させ、括弧生成手段によって前記位置情報から前記指定された括弧を文書上に割り付けるべき大きさを決定して括弧を生成する方法であって、入力手段によって括弧の始点が入力された場合に、その始点と所定の対応関係にある位置に既に入力された開き括弧があるとき、括弧生成手段によって前記入力された始点を基準とした閉じ括弧を生成させることを特徴とする文書情報装置の括弧生成方法。And braces and close bracket opens among the plurality of brackets having a predetermined shape stored in association, by the input means to specify the desired parentheses, by inputting a start point and an end point on the document placing the specified brackets, set The information storage unit stores the position information of the input start point and end point on the document, and the parentheses generation unit determines the size of the designated parentheses on the document from the position information to generate the parentheses. In the method, when a start point of a parenthesis is input by an input unit, and there is an open parenthesis already input at a position corresponding to the start point in a predetermined relationship, the input start point is set as a reference by the parenthesis generation unit. parentheses generation method of the document information and wherein the Rukoto to generate where the the closing parenthesis. 予め定められた形状の複数個の括弧の情報を括弧格納手段に格納させ入力手段によって手書き入力された括弧の軌跡を括弧軌跡記憶手段に記憶させ括弧認識手段によって前記手書き入力された括弧の軌跡に最も近い形状の括弧を前記括弧格納手段に記憶された複数個の括弧の中から認識させ指定括弧記憶手段に認識された括弧を記憶させ括弧生成手段によって前記手書き入力された括弧の軌跡の始点及び終点に関する位置情報から、前記記憶された括弧の文書上へ割り付けるべき大きさを決定してその括弧を生成する方法であって、
入力手段によって括弧の始点が入力された場合に、その始点と所定の対応関係のある位置に既に入力された開き括弧があるとき、括弧生成手段によって前記入力された始点を基準とした閉じ括弧を生成させることを特徴とする文書情報処理装置の括弧生成方法。
Information of a plurality of brackets of the predetermined shape is stored in parentheses storage means stores the locus of brackets that are handwriting input by the input means in parentheses locus storing means, the handwriting input bracketed by parentheses recognition means parentheses closest shape to the locus to be recognized among the plurality of brackets that are stored in the parentheses storage means to store the recognized parentheses specified parentheses storage means, the handwriting input bracketed by parentheses generating means A method of determining the size of the stored parentheses to be allocated on a document from position information on a start point and an end point of a trajectory and generating the parentheses,
When entered the starting point of the braces by the input means, when there is the starting point and the predetermined relationship with the opening already input to the position parentheses, closed with respect to the starting point which is the input by brackets generating means Batch parentheses method of generating a document information processing device according to claim Rukoto to generate arcs.
開き括弧及び閉じ括弧とが対応づけて記憶された所定形状の複数個の括弧のうち、入力手段によって所望の括弧を指定させ設定手段によって指定された括弧の幅及び太さを設定させ、指定された括弧を置く文書上の始点及び終点を入力手段によって入力させ括弧生成手段によって前記指定された括弧を、前記始点及び終点に対応する位置に、設定された太さ及び幅に対応するように生成する方法であって、
入力手段によって括弧の始点が入力された場合に、その始点と所定の対応関係にある位置に既に入力された開き括弧があるとき、括弧生成手段によって前記入力された始点を基準とした閉じ括弧を生成させることを特徴とする文書情報装置の括弧生成方法。
Open parenthesis and close parenthesis and is among the plurality of brackets having a predetermined shape stored in association, by the input means to specify the desired parentheses to set the width and thickness of the specified brackets by setting means, designated Input means for inputting a start point and an end point on the document in which the set parentheses are to be placed so that the parentheses specified by the parenthesis generation means correspond to the set thickness and width at positions corresponding to the start points and the end points. To generate
When entered the starting point of the braces by the input means, when there is an arc already Batch open is input to the position in the start point and the predetermined correspondence relationship, closed with respect to the starting point which is the input by brackets generating means Batch parentheses generation method of the document information and wherein that you generate an arc.
JP09213694A 1993-12-24 1994-04-28 Document information processing device Expired - Fee Related JP3544699B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP09213694A JP3544699B2 (en) 1993-12-24 1994-04-28 Document information 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 (3)

Application Number Priority Date Filing Date Title
JP32889193 1993-12-24
JP5-328891 1993-12-24
JP09213694A JP3544699B2 (en) 1993-12-24 1994-04-28 Document information processing device

Publications (2)

Publication Number Publication Date
JPH07230450A JPH07230450A (en) 1995-08-29
JP3544699B2 true JP3544699B2 (en) 2004-07-21

Family

ID=26433615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09213694A Expired - Fee Related JP3544699B2 (en) 1993-12-24 1994-04-28 Document information processing device

Country Status (1)

Country Link
JP (1) JP3544699B2 (en)

Also Published As

Publication number Publication date
JPH07230450A (en) 1995-08-29

Similar Documents

Publication Publication Date Title
JP2975863B2 (en) Document creation device
KR930007555B1 (en) Context-base input/output system
JP3388451B2 (en) Handwriting input device
JP3544699B2 (en) Document information processing device
JP2692063B2 (en) Document processing device
US5737618A (en) Document processing system for displaying brackets
JP3118379B2 (en) Layout processing device
JPH07141092A (en) Handwritten data input device
JP3343987B2 (en) Image processing device
JP2924682B2 (en) Touch panel data input device
JPH0772855B2 (en) Information processing method
JP2663967B2 (en) Information storage control method
JPH09259295A (en) Cad system
JP3785205B2 (en) Tablet input device and tablet input method
JP2984272B2 (en) Character processing method and apparatus
JP2005234610A (en) Freehand-input pattern editing system
JPH11212968A (en) Document processor and document processing method
JP3467318B2 (en) Document information processing apparatus and document information processing method
JP2005135268A (en) Apparatus, method and program for laying out space
JPH07152734A (en) Document information processor
JPH04148471A (en) Format setting device
JPH11149522A (en) Handwritten character input device and computer readable recording medium recorded with handwritten character input program
JPH04169926A (en) Graphic processor
JPH0258158A (en) Documentation device
JPH05342202A (en) Document processor

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040330

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040406

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080416

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090416

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090416

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100416

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100416

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110416

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120416

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees