JPH0784699A - Device and method for preparing document - Google Patents

Device and method for preparing document

Info

Publication number
JPH0784699A
JPH0784699A JP18935393A JP18935393A JPH0784699A JP H0784699 A JPH0784699 A JP H0784699A JP 18935393 A JP18935393 A JP 18935393A JP 18935393 A JP18935393 A JP 18935393A JP H0784699 A JPH0784699 A JP H0784699A
Authority
JP
Japan
Prior art keywords
pen
input
coordinate
flag register
touch
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.)
Pending
Application number
JP18935393A
Other languages
Japanese (ja)
Inventor
Kanji Nakajo
完治 中條
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP18935393A priority Critical patent/JPH0784699A/en
Publication of JPH0784699A publication Critical patent/JPH0784699A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To execute various inputs only by pen operation by detecting continuous touch input to the same coordinate position by a pen and executing prescribed processing following the specification of a coordinate position corresponding to the touch input position in accordance with the detected result. CONSTITUTION:A tablet input part 16 is integrated on a liquid crystal display panel 19, and when the pointing operation or writing operation of a stylus pen 17 is executed on the input part 16 on the screen of the panel 19, the input part 16 generates x and y coordinate data corresponding to the operating position. The generated data are converted into corresponding code data by a tablet controller 18 for executing input operation under the control of a CPU 11 and the code data are sent to the CPU 11. When the CPU 11 detects continuous touch inputs to the same coordinate position on the input part 16 by the pen 17 twice by means of a flag register and a pen coordinate register in a RAM 12, prescribed processing following the specification of the coordinate position corresponding to the touch input position is executed based upon the detected result.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ペン入力機能を有する
日本語ワードプロセッサ等の文書作成装置及び方法に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document preparation device and method such as a Japanese word processor having a pen input function.

【0002】[0002]

【従来の技術】従来、日本語ワードプロセッサのほとん
どの機種では、その入力をキーボードでのキー操作によ
り行なっていた。そして、ワードプロセッサとしての機
能が順次向上するのに連れて、限られた数のキーで多く
の各種機能を実行させるために、一般に機能選択キーと
呼ばれるキーを1個乃至複数設け、この機能選択キーと
既存のキーとを組合わせて操作することにより、1つの
キーで複数種のキー入力を可能としていた。
2. Description of the Related Art Conventionally, in most Japanese word processor models, the input is performed by key operation on a keyboard. As the function as a word processor is gradually improved, one or more keys generally called function selection keys are provided to execute many various functions with a limited number of keys. By operating the and existing keys in combination, a plurality of types of key inputs can be made with one key.

【0003】しかるに、例えば文書上に図形を作成する
図形モードで表示画面上の任意点位置を指定するなど、
キーボードによるキー操作が比較的苦手とするポインテ
ィング指示等を補助する方法として、近年、キーボード
に加えてペン入力機能を備えたワードプロセッサが商品
化されている。
However, for example, the position of an arbitrary point on the display screen is designated in the graphic mode for creating a graphic on a document.
As a method for assisting a pointing instruction or the like, which is relatively difficult to operate with a keyboard, a word processor having a pen input function in addition to the keyboard has been commercialized in recent years.

【0004】このペン入力機能を備えたワードプロセッ
サでは、表示部の画面上に透明電極によるタブレット入
力部を一体的に構成し、このタブレット上をスタイラス
ペンと呼ばれる専用のペンでポインティング動作あるい
は筆記動作することにより、画面上の任意点位置や表示
した項目を入力し、あるいは手書き文字入力を可能とす
るものである。
In the word processor having the pen input function, a tablet input section with transparent electrodes is integrally formed on the screen of the display section, and a pointing operation or a writing operation is performed on the tablet with a dedicated pen called a stylus pen. As a result, the position of an arbitrary point on the screen or the displayed item can be input, or handwritten characters can be input.

【0005】[0005]

【発明が解決しようとする課題】しかるに、上記のよう
なペン入力機能を備えたワードプロセッサにあっては、
スタイラスペンにより座標位置の指定や項目の選択等を
行なった後に、キーボード中の一般に「選択/実行」キ
ーと呼ばれるキーを操作して続く入力処理を実行するよ
うになっていた。すなわち、スタイラスペンは一連の入
力処理のうち、座標位置の指定や項目の選択等を行なう
ためのみに使用されており、実際にその入力処理の実行
は「選択/実行」キーの操作により指示されることにな
る。
However, in the word processor having the pen input function as described above,
After the coordinate position is specified and the item is selected with the stylus pen, a key generally called "select / execute" key on the keyboard is operated to execute the subsequent input processing. In other words, the stylus pen is used only for specifying coordinate positions and selecting items in a series of input processes, and the actual execution of the input process is instructed by the operation of the "select / execute" key. Will be.

【0006】したがって、スタイラスペンのみの操作で
一連の入力処理を実行させることはできず、どうしても
操作が繁雑となってしまうという不具合があった。この
ような不具合を解決するために、「選択/実行」キーの
操作を簡略化し、スタイラスペンで座標位置の指定や項
目の選択等を行なうと直ちにその入力処理を実行する方
法や、スタイラスペン自体にマウスと同様のクリックボ
タンを設けてそのクリックボタンの操作に応じてその入
力処理を実行する方法が考えられる。
Therefore, a series of input processes cannot be executed only by operating the stylus pen, and the operation is inevitably complicated. In order to solve such a problem, the operation of the "select / execute" key is simplified, and the input process is executed immediately when the coordinate position is specified or the item is selected with the stylus pen, or the stylus pen itself. There may be a method in which a click button similar to a mouse is provided and the input process is executed according to the operation of the click button.

【0007】しかしながら、上記前者の方法では、スタ
イラスペンで誤った指定を行なってしまった場合でも処
理が自動的に実行されてしまうために入力に対する確認
を行なうことができず、その訂正処理が面倒なものなる
という問題がある。また、上記後者の方法ではスタイラ
スペンの構造が複雑になり、コストの上昇を招いてしま
うこととなる。
However, in the former method, even if the stylus pen is erroneously specified, the process is automatically executed, so that the input cannot be confirmed and the correction process is troublesome. There is a problem that it will become something. Further, in the latter method described above, the structure of the stylus pen becomes complicated and the cost is increased.

【0008】本発明は上記のような実情に鑑みてなされ
たもので、その目的とするところは、ペン入力機能を有
する文書作成装置において、ペンの構造を複雑とするこ
となく、また容易に訂正を行なうことを可能としなが
ら、ペン操作のみで各種入力処理を実行させることが可
能な文書作成装置及び方法を提供することにある。
The present invention has been made in view of the above situation, and an object of the present invention is to easily correct a document creating apparatus having a pen input function without complicating the structure of the pen. It is an object of the present invention to provide a document creating apparatus and method capable of performing various input processes only by pen operations while enabling the above.

【0009】[0009]

【課題を解決するための手段】すなわち本発明は、ペン
による同一座標位置への2回連続したタッチ入力を検出
し、その検出結果に従って上記タッチ入力位置の座標位
置指定に続く所定の処理を実行させるようにしたもので
ある。
That is, the present invention detects two consecutive touch inputs to the same coordinate position by a pen, and executes a predetermined process following the coordinate position designation of the touch input position according to the detection result. It was made to let.

【0010】[0010]

【作用】上記のような構成とすれば、特にペンの構造を
複雑とすることなく、また容易に訂正を行なうことを可
能としながら、簡単なペン操作のみで各種入力処理を実
行させることができる。
With the above-described structure, various input processes can be executed by a simple pen operation without complicating the structure of the pen and enabling easy correction. .

【0011】[0011]

【実施例】以下本発明を日本語ワードプロセッサに適用
した場合の一実施例について図面を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a Japanese word processor will be described below with reference to the drawings.

【0012】図1は全体の回路構成を示すもので、11は
マイクロプロセッサ(CPU)、12は同マイクロプロセ
ッサ11によりアクセスされるRAM、13は同ROMであ
る。
FIG. 1 shows the entire circuit configuration. 11 is a microprocessor (CPU), 12 is a RAM accessed by the microprocessor 11, and 13 is a ROM.

【0013】マイクロプロセッサ(以下CPUと称す)
11は装置全体の制御を行なうもので、上記RAM12及び
ROM13をアクセスして、入力指示に従うプログラムの
起動で、文書作成処理、外字作成処理、さらにはガイド
表示制御処理等を実行する。
Microprocessor (hereinafter referred to as CPU)
Reference numeral 11 controls the entire apparatus. The RAM 12 and the ROM 13 are accessed, and a program according to an input instruction is activated to execute a document creation process, an external character creation process, a guide display control process, and the like.

【0014】RAM12は、文書領域、行イメ―ジ領域
(印字バッファ)、外字登録領域、語句登録領域を始
め、後述するフラグレジスタやペン座標レジスタなどの
各制御情報を記憶する領域からなる。
The RAM 12 comprises a document area, a line image area (print buffer), an external character registration area, a phrase registration area, and an area for storing control information such as a flag register and a pen coordinate register which will be described later.

【0015】ROM13は、CPU11の動作を決定するプ
ログラムやキ―入力及びペン入力に伴う語句変換ル―チ
ン、図形作成ルーチンを含む入力処理プログラム等を格
納したプログラム領域13aをはじめ、表示あるいは印字
文字パタ―ン等を記憶する文字パタ―ン領域13b、仮名
あるいはロ―マ字で入力された読みを漢字に変換するた
めの各種辞書が登録された辞書領域13c等を有してい
る。
The ROM 13 includes a program area 13a in which a program for determining the operation of the CPU 11, a word / phrase conversion routine associated with key input and pen input, an input processing program including a graphic creation routine, and the like, and display or print characters are stored. It has a character pattern area 13b for storing patterns and the like, and a dictionary area 13c and the like in which various dictionaries for converting readings entered in kana or romaji into kanji are registered.

【0016】また、14はキ―ボ―ド、19は表示部である
液晶表示パネル、16は液晶表示パネル19上に一体にして
設けられるタブレット入力部、17はこのタブレット入力
部16上でポインティングあるいは筆記入力を行なうため
のスタイラスペン、22はフロッピィディスク装置(FD
D)、24はプリンタである。
Further, 14 is a keyboard, 19 is a liquid crystal display panel which is a display unit, 16 is a tablet input unit integrally provided on the liquid crystal display panel 19, and 17 is a pointing unit on the tablet input unit 16. Alternatively, a stylus pen for handwriting input, 22 is a floppy disk device (FD
D) and 24 are printers.

【0017】キ―ボ―ド14は、文書作成等に必要な入力
情報をキ―ボ―ドインタフェース(KB−IF)15を介
してCPU11へ入力する。このキ―ボ―ド14には、文字
キ―、カ―ソルキ―等に加えて、これら文字キ―、カ―
ソルキ―等と組合わせて各種機能を実行するための機能
選択キー、各種機能の実行を指示する「選択/実行」キ
ー等を含む各種のファンクションキ―が設けられる。
The keyboard 14 inputs input information necessary for creating a document or the like to the CPU 11 via a keyboard interface (KB-IF) 15. In addition to the character keys, cursor keys, etc., this keyboard 14 has these character keys and keys.
Various function keys are provided, including a function selection key for executing various functions in combination with a Sol key and the like, and a “select / execute” key for instructing execution of various functions.

【0018】液晶表示パネル19は、例えば40字×20
行の表示を行なう透過型液晶表示パネルで構成され、そ
の背面側には図示しないバックライト装置を備える。表
示コントロ―ラ(表示−CNT)20は、CPU11の制御
の下にVRAM21を用いて表示データを展開しながら液
晶表示パネル19の表示制御を行なう。
The liquid crystal display panel 19 is, for example, 40 characters × 20.
It is composed of a transmissive liquid crystal display panel for displaying rows, and has a backlight device (not shown) on the back side thereof. The display controller (display-CNT) 20 controls the display of the liquid crystal display panel 19 while expanding the display data using the VRAM 21 under the control of the CPU 11.

【0019】タブレット入力部16は、上記液晶表示パネ
ル19上に一体にして設けられる透明のもので、スタイラ
スペン17とで例えば電磁誘導方式のディジタイザを構成
する。しかるに、液晶表示パネル19画面上のタブレット
入力部16で該スタイラスペン17のポインティング動作あ
るいは筆記動作を行なうと、タブレット入力部16はその
動作位置に応じたx,y座標データを発生する。このタ
ブレット入力部16で発生したデータはCPU11の制御の
下に入力動作を行なうタブレットコントローラ18内で対
応するコードデータに変換され、CPU11へ送られる。
The tablet input unit 16 is a transparent unit integrally provided on the liquid crystal display panel 19 and constitutes a digitizer of an electromagnetic induction system together with the stylus pen 17, for example. However, when the pointing operation or the writing operation of the stylus pen 17 is performed by the tablet input section 16 on the screen of the liquid crystal display panel 19, the tablet input section 16 generates x, y coordinate data according to the operation position. The data generated by the tablet input section 16 is converted into corresponding code data in the tablet controller 18 which performs an input operation under the control of the CPU 11, and is sent to the CPU 11.

【0020】フロッピィディスク装置22は、ディスクイ
ンタフェース(FDD−IF)23を介してCPU11の制
御の下に、作成された文書を保存したり、外字および第
2水準文字等を記憶する。
The floppy disk device 22 stores the created document and stores the external character and the second level character under the control of the CPU 11 via the disk interface (FDD-IF) 23.

【0021】プリンタ24は、プリンタインタフェース
(PRT−IF)25を介してCPU11の制御の下に、作
成された文書あるいは上記フロッピィディスク装置22か
ら本体内に読込んだ文字情報を印字する。
The printer 24 prints the created document or the character information read from the floppy disk device 22 into the main body under the control of the CPU 11 via the printer interface (PRT-IF) 25.

【0022】次いで上記実施例の動作について説明す
る。
Next, the operation of the above embodiment will be described.

【0023】ここでは、スタイラスペン17を用いて図形
機能により矩形を作成する場合を例にとって説明する。
Here, a case where a rectangle is created by the graphic function using the stylus pen 17 will be described as an example.

【0024】そこで、通常の図形機能において、スタイ
ラスペン17でなくキ―ボ―ド14でのキー操作により矩形
を作成する場合のキー操作を予め説明する。キー操作に
より矩形を作成する場合、まず、所望する矩形の1対角
のうちの一方の点に対応する液晶表示パネル19の画面上
の位置までカーソル(図形機能時には「点」の位置を示
す必要から十字カーソルが用いられることが多い)を上
下左右各方向へのカーソルキーの操作により移動させた
後に、「選択/実行」キーを操作して当該点位置を確定
する。そして、次に上記1対角のうちの他方の点に対応
する液晶表示パネル19の画面上の位置までカーソルをカ
ーソルキーの操作により移動させた後に、再び「選択/
実行」キーを操作して当該点位置を確定する。これら2
点の位置指定により、これら2点を対角とするような矩
形が画面上に表示されることとなる。
Therefore, in the normal figure function, the key operation for forming a rectangle by the key operation with the keyboard 14 instead of the stylus pen 17 will be described in advance. When creating a rectangle by key operation, first, the cursor is moved to the position on the screen of the liquid crystal display panel 19 that corresponds to one point of one diagonal of the desired rectangle (at the time of graphic function, it is necessary to indicate the position of "point"). The cross-shaped cursor is often used) to move up and down, left and right by operating the cursor keys, and then the "select / execute" key is operated to confirm the point position. Then, after the cursor is moved to the position on the screen of the liquid crystal display panel 19 corresponding to the other point of the one diagonal by operating the cursor key, the "selection /
Operate the "Execute" key to confirm the point position. These two
By designating the positions of the points, a rectangle having these two points as diagonals is displayed on the screen.

【0025】したがって、キ―ボ―ド14のキー操作によ
り矩形を作成する場合には、 「カーソルキー×m回」+「選択/実行キー(×1
回)」+「カーソルキー×n回」+「選択/実行キー
(×1回)」 (m,nは共に任意位置までのカーソルキーの操作回数
を示す)のキー操作が必要となる。
Therefore, when a rectangle is created by operating the keys of the keyboard 14, "cursor key x m times" + "select / execute key (x 1
Times) ”+“ cursor key × n times ”+“ selection / execution key (× 1 times) ”(m and n both indicate the number of times the cursor key is operated to an arbitrary position).

【0026】これに対してスタイラスペン17を操作して
矩形を作成する場合、まず、図3に示すように所望する
矩形の1対角のうちの1点に対応する液晶表示パネル19
(タブレット入力部16)の画面上の位置P1をスタイラ
スペン17で2回タッチ操作する。
On the other hand, in the case of operating the stylus pen 17 to create a rectangle, first, as shown in FIG. 3, the liquid crystal display panel 19 corresponding to one point of one diagonal of the desired rectangle.
The position P1 on the screen of the (tablet input unit 16) is touched twice with the stylus pen 17.

【0027】図2はタブレット入力部16上でスタイラス
ペン17を操作する場合の処理内容を示すものであり、R
AM12のフラグレジスタ(図では「flg」と示す)を
初期化してまだスタイラスペン17のタッチ入力がないこ
とを示す値「0」をセット(ステップS1)した後、ス
タイラスペン17によるタッチ座標位置を特定サンプリン
グタイミング(ここでは例えば200点/秒のサンプリ
ングを行なうものとする)に従ってサンプリングする
(ステップS2)。サンプリングの結果、タブレット入
力部16によるタッチがないと判断すると(ステップS
3)、次いで上記フラグレジスタの内容が「0」である
か否か判断すると(ステップS9)、再度ステップS2
からの処理を繰返す。
FIG. 2 shows the processing contents when the stylus pen 17 is operated on the tablet input unit 16.
After initializing the flag register of AM12 (shown as "flg" in the figure) and setting the value "0" indicating that there is no touch input of the stylus pen 17 (step S1), the touch coordinate position by the stylus pen 17 is set. Sampling is performed according to a specific sampling timing (here, sampling is performed at 200 points / second, for example) (step S2). As a result of sampling, if it is determined that there is no touch by the tablet input unit 16 (step S
3) Then, when it is judged whether the content of the flag register is "0" (step S9), the step S2 is executed again.
The process from is repeated.

【0028】こうしてステップS2,S3,S9の処理
を繰返し実行してタブレット入力部16のタッチを待機し
ている状態で、上記点位置P1の1回目のタッチをサン
プリングすると(ステップS2)、次のサンプリングタ
イミングでまだスタイラスペン17がタッチされ続けたま
まの状態であると判断し(ステップS3)、次に上記フ
ラグレジスタの内容が「0」であるか否か判断する(ス
テップS4)。
In this way, when the steps S2, S3, S9 are repeatedly executed and the touch of the tablet input unit 16 is on standby, the first touch of the point position P1 is sampled (step S2). It is determined that the stylus pen 17 is still being touched at the sampling timing (step S3), and then it is determined whether the content of the flag register is "0" (step S4).

【0029】フラグレジスタは上記ステップS1の初期
化により「0」であるので、次にサンプリングした点位
置P1の座標データをRAM12のペン座標レジスタに
(x1,y1 )として保持すると共に、上記フラグレジ
スタにペンがタッチされていることを示す値「1」を新
たにセットし(ステップS11)、再び上記ステップS
2からの処理を繰返す。
Since the flag register is "0" by the initialization of the step S1, the coordinate data of the next sampled point position P1 is held in the pen coordinate register of the RAM 12 as (x1, y1), and at the same time, the flag register. A value "1" indicating that the pen is being touched is newly set (step S11), and the above step S1 is performed again.
The process from 2 is repeated.

【0030】そして、タブレット入力部16の点位置P1
から一旦スタイラスペン17が離された時点で、タッチが
ないと判断し(ステップS3)、次にフラグレジスタの
内容が「0」であるか否か判断する(ステップS9)。
ここでフラグレジスタの内容は「1」であって「0」で
はないので、フラグレジスタにペンがタッチされた後に
一旦離されたことを示す値「2」を新たにセットし(ス
テップS10)、再び上記ステップS2からの処理を繰
返す。
Then, the point position P1 of the tablet input unit 16
When the stylus pen 17 is once released from, it is determined that there is no touch (step S3), and then it is determined whether the content of the flag register is "0" (step S9).
Here, since the content of the flag register is "1" and not "0", a new value "2" indicating that the pen has been touched and then released is newly set in the flag register (step S10), The process from step S2 is repeated again.

【0031】その後、上記点位置P1の2回目のタッチ
をサンプリングすると(ステップS2)、次のサンプリ
ングタイミングでまだスタイラスペン17がタッチされ続
けたままの状態であると判断し(ステップS3)、次に
上記フラグレジスタの内容が「0」であるか否か判断す
る(ステップS4)。
After that, when the second touch of the point position P1 is sampled (step S2), it is determined that the stylus pen 17 is still being touched at the next sampling timing (step S3), and Then, it is determined whether or not the content of the flag register is "0" (step S4).

【0032】ここでフラグレジスタは「2」であって
「0」ではないので、次にフラグレジスタの内容が
「1」であるか否か判断する(ステップS5)。ここで
もフラグレジスタは「2」であって「1」ではないの
で、次に新たにサンプリングした点位置P1の座標デー
タをRAM12のペン座標レジスタに(x2 ,y2 )とし
て保持する(ステップS6)。
Here, since the flag register is "2" and not "0", it is next determined whether or not the content of the flag register is "1" (step S5). Here again, the flag register is "2" and not "1", so the coordinate data of the newly sampled point position P1 is held in the pen coordinate register of the RAM 12 as (x2, y2) (step S6).

【0033】その後、RAM12のペン座標レジスタの値
(x1 ,y1 )と(x2 ,y2 )が等しいか否か、すな
わち同一位置に2回続けてタッチ入力されたか否か判断
する(ステップS7)。これはタブレット入力部16での
検出精度にもよるが実際には特定範囲内での差異は誤差
により同一として判断するもので、ここでは点位置P1
への2回タッチであるので両座標データが等しいと判断
し、「選択/実行」キーが操作された場合と同様の扱い
により、上記点位置P1を矩形の1対角のうちの一方の
点として確定する。この場合、該確定に伴って液晶表示
パネル19画面上の上記点位置P1には例えば十字カーソ
ルを表示させると共に、RAM12のフラグレジスタ及び
ペン座標レジスタをクリアし、上記図2の処理を再びス
テップS1から開始する。
After that, it is determined whether or not the values (x1, y1) in the pen coordinate register of the RAM 12 are equal to (x2, y2), that is, whether or not touch input has been made twice consecutively at the same position (step S7). Although this depends on the detection accuracy of the tablet input unit 16, the difference within the specific range is actually judged to be the same due to an error. Here, the point position P1
Since it is touched twice, it is determined that both coordinate data are the same, and the above-mentioned point position P1 is treated as one of the points on one diagonal of the rectangle by the same treatment as when the "select / execute" key is operated. Confirm as. In this case, along with the confirmation, for example, a cross cursor is displayed at the point position P1 on the screen of the liquid crystal display panel 19, the flag register and the pen coordinate register of the RAM 12 are cleared, and the process of FIG. Start with.

【0034】しかるに、フラグレジスタに「0」をセッ
ト(ステップS1)し、ステップS2,S3,S9の処
理を繰返し実行してタブレット入力部16のタッチを待機
している状態で、図4に示すように新たな点位置P2の
1回のタッチをサンプリングすると(ステップS2)、
次のサンプリングタイミングでまだスタイラスペン17が
タッチされ続けたままの状態であると判断し(ステップ
S3)、次に上記フラグレジスタの内容が「0」である
か否か判断する(ステップS4)。
However, "0" is set in the flag register (step S1), the processes of steps S2, S3 and S9 are repeatedly executed to wait for the touch of the tablet input section 16 as shown in FIG. Thus, if one touch of the new point position P2 is sampled (step S2),
At the next sampling timing, it is determined that the stylus pen 17 is still being touched (step S3), and then it is determined whether the content of the flag register is "0" (step S4).

【0035】フラグレジスタは「0」であるので、次に
サンプリングした点位置P2の座標データをRAM12の
ペン座標レジスタに(x1 ,y1 )として保持すると共
に、上記フラグレジスタにペンがタッチされていること
を示す値「1」を新たにセットし(ステップS11)、
再び上記ステップS2からの処理を繰返す。
Since the flag register is "0", the coordinate data of the next sampled point position P2 is held in the pen coordinate register of the RAM 12 as (x1, y1), and the pen is touched on the flag register. A value "1" indicating that is newly set (step S11),
The process from step S2 is repeated again.

【0036】そして、タブレット入力部16の点位置P1
から一旦スタイラスペン17が離された時点で、タッチが
ないと判断し(ステップS3)、次にフラグレジスタの
内容が「0」であるか否か判断する(ステップS9)。
ここでフラグレジスタの内容は「1」であって「0」で
はないので、フラグレジスタにペンがタッチされた後に
一旦離されたことを示す値「2」を新たにセットし(ス
テップS10)、再び上記ステップS2からの処理を繰
返す。
Then, the point position P1 of the tablet input unit 16
When the stylus pen 17 is once released from, it is determined that there is no touch (step S3), and then it is determined whether the content of the flag register is "0" (step S9).
Here, since the content of the flag register is "1" and not "0", a new value "2" indicating that the pen has been touched and then released is newly set in the flag register (step S10), The process from step S2 is repeated again.

【0037】この場合、図に示す如く図形機能により上
記点位置P1には確定されたことを示す十字カーソルが
表示されると共に、この点位置P1と新たな点位置P2
とを対角とする矩形がまだ確定されていないことを示す
破線により表示される。
In this case, as shown in the drawing, a cross-shaped cursor indicating that it has been confirmed is displayed at the point position P1 by the graphic function, and the point position P1 and the new point position P2 are displayed.
It is displayed by a broken line indicating that a rectangle having diagonals and is not yet determined.

【0038】ここで、図5に示すように上記点位置P2
とは異なる点位置P3をスタイラスペン17で2回タッチ
操作すると、まずその1回目のタッチをサンプリングし
た時点で(ステップS2)、次のサンプリングタイミン
グでまだスタイラスペン17がタッチされ続けたままの状
態であると判断し(ステップS3)、フラグレジスタの
内容が「0」であるか否か判断する(ステップS4)。
Here, as shown in FIG. 5, the point position P2 is set.
When the stylus pen 17 touches a point P3 different from the point P2 twice, the stylus pen 17 is still touched at the next sampling timing when the first touch is sampled (step S2). Is determined (step S3), and it is determined whether the content of the flag register is "0" (step S4).

【0039】ここでフラグレジスタは「2」であるの
で、次にフラグレジスタの内容が「1」であるか否か判
断する(ステップS5)。フラグレジスタの内容は
「2」であって「1」でもないので、サンプリングした
点位置P3の座標データをRAM12のペン座標レジスタ
に(x2 ,y2 )として保持し(ステップS6)、その
後にRAM12のペン座標レジスタの値(x1 ,y1 )と
(x2 ,y2 )が等しいか否か、すなわち同一位置に2
回続けてタッチ入力されたか否か判断する(ステップS
7)。
Since the flag register is "2" here, it is next determined whether or not the content of the flag register is "1" (step S5). Since the content of the flag register is "2" and not "1", the coordinate data of the sampled point position P3 is held as (x2, y2) in the pen coordinate register of the RAM 12 (step S6), and then the RAM 12 of the RAM 12 is stored. Whether the values (x1, y1) in the pen coordinate register are equal to (x2, y2), that is, 2 at the same position
It is determined whether or not touch input has been made consecutively (step S
7).

【0040】この場合、(x2 ,y2 )は点位置P3の
座標データ、(x1 ,y1 )は点位置P2の座標データ
であるので、両座標データは等しくないと判断し、上記
点位置P2のタッチ入力を訂正して新たに点位置P3の
座標データ(x2 ,y2 )をそのまま(x1 ,y1 )に
転送設定すると共にフラグレジスタに「1」をセットし
(ステップS12)、再び上記ステップS2からの処理
を繰返す。
In this case, since (x2, y2) is the coordinate data of the point position P3 and (x1, y1) is the coordinate data of the point position P2, it is judged that both coordinate data are not equal, and the point position P2 The touch input is corrected to newly transfer and set the coordinate data (x2, y2) of the point position P3 to (x1, y1) as it is, and "1" is set in the flag register (step S12). The process of is repeated.

【0041】液晶表示パネル19では、点位置P2のタッ
チ入力が訂正されて新たに点位置P3がタッチ入力され
たことにより、点位置P1と新たな点位置P3とを対角
とする矩形がまだ確定されていないことを示す破線によ
り図5に示すように表示される。
On the liquid crystal display panel 19, since the touch input at the point position P2 is corrected and the point position P3 is newly touched, a rectangle with the point position P1 and the new point position P3 as a diagonal is still formed. It is displayed as shown in FIG. 5 by a broken line indicating that it is not fixed.

【0042】そして、タブレット入力部16の点位置P3
から一旦スタイラスペン17が離された時点で、タッチが
ないと判断し(ステップS3)、次にフラグレジスタの
内容が「0」であるか否か判断する(ステップS9)。
ここでフラグレジスタの内容は「1」であって「0」で
はないので、フラグレジスタにペンがタッチされた後に
一旦離されたことを示す値「2」を新たにセットし(ス
テップS10)、再び上記ステップS2からの処理を繰
返す。
Then, the point position P3 of the tablet input unit 16
When the stylus pen 17 is once released from, it is determined that there is no touch (step S3), and then it is determined whether the content of the flag register is "0" (step S9).
Here, since the content of the flag register is "1" and not "0", a new value "2" indicating that the pen has been touched and then released is newly set in the flag register (step S10), The process from step S2 is repeated again.

【0043】その後、上記点位置P3の2回目のタッチ
をサンプリングすると(ステップS2)、次のサンプリ
ングタイミングでまだスタイラスペン17がタッチされ続
けたままの状態であると判断し(ステップS3)、次に
上記フラグレジスタの内容が「0」であるか否か判断す
る(ステップS4)。
After that, when the second touch of the point position P3 is sampled (step S2), it is determined that the stylus pen 17 is still being touched at the next sampling timing (step S3), and Then, it is determined whether or not the content of the flag register is "0" (step S4).

【0044】ここでフラグレジスタは「2」であって
「0」ではないので、次にフラグレジスタの内容が
「1」であるか否か判断する(ステップS5)。ここで
もフラグレジスタは「2」であって「1」ではないの
で、次に新たにサンプリングした点位置P3の座標デー
タをRAM12のペン座標レジスタに(x2 ,y2 )とし
て保持する(ステップS6)。
Here, since the flag register is "2" and not "0", it is next determined whether or not the content of the flag register is "1" (step S5). Again, since the flag register is "2" and not "1", the coordinate data of the newly sampled point position P3 is held in the pen coordinate register of the RAM 12 as (x2, y2) (step S6).

【0045】その後、RAM12のペン座標レジスタの値
(x1 ,y1 )と(x2 ,y2 )が等しいか否か判断す
る(ステップS7)。ここでは点位置P3への2回タッ
チであるので両座標データが等しいと判断し、「選択/
実行」キーが操作された場合と同様の扱いにより、上記
点位置P3を矩形の1対角のうちの他方の点として確定
する。この場合、該確定に伴って図6に示すように液晶
表示パネル19画面上の上記点位置P1と点位置P3とを
対角とする矩形RCが確定したことを示す実線により表
示され、以上で図形機能による矩形作成の処理を終了す
る。
Then, it is judged whether or not the values (x1, y1) in the pen coordinate register of the RAM 12 are equal to (x2, y2) (step S7). Here, since the point position P3 is touched twice, it is determined that both coordinate data are the same, and "selection /
The point position P3 is determined as the other point of one diagonal of the rectangle by the same handling as when the "execute" key is operated. In this case, along with the confirmation, as shown in FIG. 6, a rectangle RC having the point position P1 and the point position P3 on the screen of the liquid crystal display panel 19 as a diagonal is displayed by a solid line indicating that the rectangle RC is determined. The process of creating a rectangle by the graphic function ends.

【0046】このように、スタイラスペン17のタブレッ
ト入力部16上の同位置への2回タッチ入力により、カー
ソル移動と「選択/実行」キーの操作とを兼ねた入力処
理を行なわせることができ、ペンの構造を複雑とするこ
となく、入力に要する手間を大幅に省くことができる。
In this way, by touching the stylus pen 17 at the same position on the tablet input unit 16 twice, it is possible to perform an input process that is both the movement of the cursor and the operation of the "select / execute" key. , It is possible to greatly reduce the time and effort required for input without complicating the structure of the pen.

【0047】また、上記点位置P2から点位置P3へ矩
形の1対角のうちの他方の点を訂正したように、1回目
のタッチ入力は容易に訂正することが可能であるので、
1回目のタッチ入力で入力内容を確認した後にその内容
を確定することができる。
Further, the first touch input can be easily corrected as if the other point of the one diagonal of the rectangle was corrected from the point position P2 to the point position P3.
After confirming the input content with the first touch input, the content can be confirmed.

【0048】なお、上記実施例では図形機能で矩形を作
成表示させる場合の動作について説明したが、座標位置
の指定や項目の選択等とそれに続く「選択/実行」キー
の入力処理であればどのような入力処理にでも適用可能
であることはいうまでもない。
In the above embodiment, the operation of creating and displaying a rectangle by the graphic function has been described, but any operation can be performed as long as the coordinate position is specified, the item is selected, and the subsequent "select / execute" key is input. It goes without saying that it can be applied to such input processing.

【0049】[0049]

【発明の効果】以上詳記した如く本発明によれば、ペン
入力機能を有する文書作成装置において、特にペンの構
造を複雑とすることなく、また容易に訂正を行なうこと
を可能としながら、簡単なペン操作のみで各種入力処理
を実行させることが可能な文書作成装置及び方法を提供
することができる。
As described above in detail, according to the present invention, in a document creating apparatus having a pen input function, it is possible to easily make corrections without complicating the structure of the pen and easily. It is possible to provide a document creation apparatus and method capable of executing various input processes only with a simple pen operation.

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

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

【図2】同実施例に係るスタイラスペンのタッチ入力に
対する処理内容を示すフローチャート。
FIG. 2 is a flowchart showing processing contents for touch input of the stylus pen according to the embodiment.

【図3】同実施例に係るペン入力と表示画面の状態を例
示する図。
FIG. 3 is a diagram illustrating a state of a pen input and a display screen according to the embodiment.

【図4】同実施例に係るペン入力と表示画面の状態を例
示する図。
FIG. 4 is a diagram exemplifying a state of a pen input and a display screen according to the embodiment.

【図5】同実施例に係るペン入力と表示画面の状態を例
示する図。
FIG. 5 is a view exemplifying a state of a pen input and a display screen according to the embodiment.

【図6】同実施例に係るペン入力と表示画面の状態を例
示する図。
FIG. 6 is a diagram illustrating a state of a pen input and a display screen according to the embodiment.

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

11…マイクロプロセッサ(CPU)、12…RAM、13…
ROM、13a…プログラム領域、13b…文字パタ―ン領
域、13c…辞書領域、14…キ―ボ―ド、15…キ―ボ―ド
インタフェース(KB−IF)、16…タブレット入力
部、17…スタイラスペン、18…タブレットコントローラ
(タブレット−CNT)、19…液晶表示パネル、20…表
示コントロ―ラ(表示CNT)、21…VRAM、22…フ
ロッピィディスク装置(FDD)、23…ディスクインタ
フェース(FDD−IF)、24…プリンタ、25…プリン
タインタフェース。
11 ... Microprocessor (CPU), 12 ... RAM, 13 ...
ROM, 13a ... Program area, 13b ... Character pattern area, 13c ... Dictionary area, 14 ... Keyboard board, 15 ... Keyboard board (KB-IF), 16 ... Tablet input section, 17 ... Stylus pen, 18 ... Tablet controller (tablet-CNT), 19 ... Liquid crystal display panel, 20 ... Display controller (display CNT), 21 ... VRAM, 22 ... Floppy disk device (FDD), 23 ... Disk interface (FDD-) IF), 24 ... Printer, 25 ... Printer interface.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ペン入力機能を有する文書作成装置にお
いて、 上記ペンによる同一座標位置への2回連続したタッチ入
力を検出する検出手段と、 この検出手段の検出結果に従って上記タッチ入力位置の
座標位置指定に続く所定の処理を実行する入力処理手段
とを具備したことを特徴とする文書作成装置。
1. A document creating apparatus having a pen input function, wherein detection means detects two consecutive touch inputs to the same coordinate position by the pen, and coordinate position of the touch input position according to the detection result of the detection means. A document creation apparatus comprising: an input processing unit that executes a predetermined process following designation.
【請求項2】 ペン入力機能を用いた文書作成方法にお
いて、 上記ペンによる同一座標位置への2回連続したタッチ入
力を検出し、 その検出結果に従って上記タッチ入力位置の座標位置指
定に続く所定の処理を実行するようにしたことを特徴と
する文書作成方法。
2. A document creating method using a pen input function, wherein two consecutive touch inputs to the same coordinate position by the pen are detected, and a predetermined position following the coordinate position designation of the touch input position is detected according to the detection result. A document creation method characterized by performing processing.
JP18935393A 1993-06-30 1993-06-30 Device and method for preparing document Pending JPH0784699A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18935393A JPH0784699A (en) 1993-06-30 1993-06-30 Device and method for preparing document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18935393A JPH0784699A (en) 1993-06-30 1993-06-30 Device and method for preparing document

Publications (1)

Publication Number Publication Date
JPH0784699A true JPH0784699A (en) 1995-03-31

Family

ID=16239910

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18935393A Pending JPH0784699A (en) 1993-06-30 1993-06-30 Device and method for preparing document

Country Status (1)

Country Link
JP (1) JPH0784699A (en)

Similar Documents

Publication Publication Date Title
JP3829366B2 (en) Input device and input method
JPH06242885A (en) Document editing method
JPH06131110A (en) Information processor
JP2003323587A (en) Document generation method, device and program for vision-impaired person
JP3052465B2 (en) Panel input device
JPH0784699A (en) Device and method for preparing document
JPH06202794A (en) Information processor of pen input system
JPS61121185A (en) Input and output device for character graphic
JP2637440B2 (en) Cursor control method
JP2851834B2 (en) Information processing device
JPH07287768A (en) Document preparing device and graphic processing method
JPH0473185B2 (en)
JPH0756911A (en) Document preparing device
JPH03282881A (en) Document preparation device
JP3528088B2 (en) Key input assisting method and device
JP2660459B2 (en) Operation procedure input and execution device
JPH087034A (en) Handwritten character recognition and input system
JPH0757107A (en) Device and method for document preparation
JPH07287769A (en) Device and method for preparing document
JP2715812B2 (en) Character processor
JPH07287712A (en) Device and method for preparing document
JP3194406B2 (en) Information processing device
JPH0785032A (en) Device and method for preparing document
JPH06161689A (en) Document preparing device and print control method
JP2991894B2 (en) Character processor with pen input function