JPH0740266B2 - Document editing device - Google Patents

Document editing device

Info

Publication number
JPH0740266B2
JPH0740266B2 JP62271888A JP27188887A JPH0740266B2 JP H0740266 B2 JPH0740266 B2 JP H0740266B2 JP 62271888 A JP62271888 A JP 62271888A JP 27188887 A JP27188887 A JP 27188887A JP H0740266 B2 JPH0740266 B2 JP H0740266B2
Authority
JP
Japan
Prior art keywords
character
input
pointer
image data
document editing
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
JP62271888A
Other languages
Japanese (ja)
Other versions
JPH01114967A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP62271888A priority Critical patent/JPH0740266B2/en
Publication of JPH01114967A publication Critical patent/JPH01114967A/en
Publication of JPH0740266B2 publication Critical patent/JPH0740266B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、文字をイメージ情報として扱う文書編集装置
に関する。
The present invention relates to a document editing apparatus that handles characters as image information.

〔従来技術〕[Prior art]

従来の日本語編集装置は、印刷装置からの清書出力を得
ることが主目的のため、文字をコード化し、これをキー
ボードから計算機に入力するやり方をとる。
The conventional Japanese editing device has a main purpose of obtaining a clear copy output from a printing device, and takes a method of encoding a character and inputting it into a computer from a keyboard.

この種の技術の参考になるものとしては、特開昭61-145
630号、特開昭61-67125号がある。
As a reference for this type of technology, there is JP-A-61-145.
630 and JP-A-61-67125.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

従来の日本語編集装置は、文章を考えながら入力する点
については、あまり配慮されていない。従って漢字を入
する場合、仮名を入力し漢字に変換する必要があり、同
音異義語の選択や文節の区切り指定などで人間の介入す
る必要があり、思考を乱すという問題があった。また、
仮に仮名だけ入力して漢字への一括変換を行うやり方も
あるが、同様に文章入力途中で人間が観察した場合、見
ずらいとの問題があった。
The conventional Japanese editing device does not pay much attention to the point of inputting text while considering it. Therefore, when inputting kanji, it is necessary to input kana to convert into kanji, and it is necessary to intervene by humans by selecting homonyms and punctuation of bunsetsu. Also,
There is also a method of entering only kana and performing batch conversion into kanji, but there is a problem that it is hard to see when a human observes during the text input.

本発明の目的は、漢字や仮名等の文字をイメージとして
入力し、このイメージのままで従来と同様な編集機能を
使えるようにする文書編集装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a document editing apparatus that allows characters such as kanji and kana to be input as an image and to use the same editing function as in the conventional image with this image as it is.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、前記目的を達成するため予め大きさが規定さ
れた記入枠内に手書き文字をストローク数及びドットデ
ータとを含むイメージデータとして入力する文字入力装
置と、前記記入枠内に入力されたイメージデータを文字
単位にポインタと対応づけて格納する入力文字格納メモ
リとを備え、前記入力文字の編集処理を行う文書編集装
置であって、前記入力した文字単位分のイメージデータ
のポインタを用い、前記記入枠単位にイメージデータの
挿入,削除,消去及び上書き処理等の編集処理を行うこ
とにより、入力文字をイメージデータのままで編集する
ことを特徴とする。
In order to achieve the above object, the present invention provides a character input device for inputting handwritten characters as image data including a stroke number and dot data in an entry frame of which size is defined in advance, and an input device entered in the entry frame. A document editing apparatus that includes an input character storage memory that stores image data in association with a pointer on a character-by-character basis, and uses the pointer of the image data for the input character unit, which is a document editing device that edits the input character. It is characterized in that the input characters are edited as they are in the image data by performing editing processing such as insertion, deletion, deletion and overwriting processing of the image data in units of the entry frame.

〔作用〕[Action]

この本発明による文書編集装置は、入力したイメージデ
ータを入力文字格納メモリにポインタに対応して格納
し、該ポインタを用いて前記記入枠単位にイメージデー
タの挿入,削除,消去及び上書き処理等の編集処理を行
うことにより、入力文字をイメージデータのままで編集
するものである。
The document editing apparatus according to the present invention stores input image data in an input character storage memory in correspondence with a pointer, and uses the pointer to insert, delete, erase and overwrite image data for each entry frame. By performing the editing process, the input character is edited with the image data as it is.

〔実施例〕〔Example〕

第1図は本発明の文書編集装置の実施例図である。この
文書編集装置は、中央処理装置1、メモリ2、表示装置
3、ディスク装置4、キーボード5、プリンタ6、文字
入力装置7より成る。
FIG. 1 is a diagram showing an embodiment of the document editing apparatus of the present invention. This document editing device comprises a central processing unit 1, a memory 2, a display device 3, a disk device 4, a keyboard 5, a printer 6, and a character input device 7.

中央処理装置1…メモリ2内のプログラムによって文字
編集処理を行う。
Central processing unit 1 ... Character editing processing is performed by a program in the memory 2.

メモリ2…プログラム及び入力文字をイメージデータと
して格納する。
Memory 2 ... Stores programs and input characters as image data.

表示装置3、キーボード5…表示装置3は文字表示を行
い、キーボード5は文書編集等の処理の指示を行う。
Display device 3, keyboard 5 ... The display device 3 displays characters, and the keyboard 5 gives instructions for processing such as document editing.

ディスク装置4…外部メモリとして使用する。アプリケ
ーションプログラムを格納したり、編集語の文書を格納
したりする。
Disk device 4 ... Used as an external memory. Stores application programs and documents with edit words.

プリンタ6…編集後の文書を印刷する。Printer 6 ... Prints the edited document.

文字入力装置7…タブレットである。作業員の手又は指
示用具によってタブレット面が押圧され、その押圧点の
情報を座標として取込む。座標とは、タブレット面上を
X-Yの直交座標系で定義したときの座標(x,y)である。
従って、文字の形状に沿っての座標がタブレットのサン
プル点毎に取込まれる。この文字取込みは、ストローク
単位で行う。ストロークとは指示用具例えばペンで文字
をなぞった場合、ペンを連続して押圧した移動する区間
を云う。従って、漢字入力では、その漢字を正規の書き
順で書いた場合には1漢字当り、漢字の区画数だけのス
トローク数を持つ。いわゆる1筆書きの文字であれば、
ストローク数は1個となる。
Character input device 7 ... Tablet. The tablet surface is pressed by a worker's hand or an instruction tool, and information on the pressing point is captured as coordinates. Coordinates are on the tablet surface
The coordinates (x, y) when defined in the Cartesian coordinate system of XY.
Therefore, coordinates along the shape of the character are captured for each sample point on the tablet. This character capture is performed in stroke units. The stroke refers to a moving section in which a pen is continuously pressed when a character is traced with a pointing tool such as a pen. Therefore, in kanji input, when the kanji is written in the regular writing order, each kanji has the number of strokes equal to the number of kanji divisions. If it is a so-called one-stroke character,
The number of strokes is one.

更に、1ストロークは、このストロークの長さを示すド
ット長と、ストロークを構成する文字情報(ドットデー
タ)より成る。
Further, one stroke is composed of a dot length indicating the length of this stroke and character information (dot data) forming the stroke.

これらのストローク数、各ストローク長さ、各ストロー
クのドットデータとは、イメージデータと呼ぶ。このイ
メージデータの作成は、文字入力装置7で行ってもよ
く、又は、文字入力装置7が単なる情報の伝達機能のみ
を持つ機器であれば処理装置1がイメージデータを作成
する。
The number of strokes, the length of each stroke, and the dot data of each stroke are called image data. This image data may be created by the character input device 7, or the processing device 1 creates the image data if the character input device 7 is a device having only a simple information transmission function.

以下では、此の文字入力装置7は、ペンの押圧時に、そ
の押圧点のX,Y座標値を一定周期で出力するものとし、
且つ処理装置1とのインターフェースは、シリアルイン
ターフェースであって、処理装置1へは割込みで座標値
を入力させるものとする。処理装置1は、この割込み処
理で座標データを取込みメモリ2へ格納する。この格納
は、イメージデータ形式であり、イメージデータ形式の
形成は、処理装置1が1個の座標値取込み毎に次々に形
成してゆくやり方と、一担メモリ2へ格納した後に、処
理によって形成するやり方の2つがある。
In the following, it is assumed that the character input device 7 outputs the X and Y coordinate values of the pressed point at a constant cycle when the pen is pressed,
Moreover, the interface with the processing device 1 is a serial interface, and the coordinate values are input to the processing device 1 by interruption. The processing device 1 takes in the coordinate data in the interrupt processing and stores it in the memory 2. This storage is an image data format, and the image data format is formed by the processing device 1 forming one coordinate value one after another and the processing after storing in the shared memory 2. There are two ways to do it.

第1図の構成のもとでの動作を以下説明する。The operation under the configuration of FIG. 1 will be described below.

第2図は、処理装置1によるイメージデータ作成処理の
フローを示す。この処理は、メモリ2に文字を座標値と
して格納した後に、該メモリ2をアクセスすることによ
って行う。
FIG. 2 shows a flow of image data creation processing by the processing device 1. This processing is performed by storing the character in the memory 2 as coordinate values and then accessing the memory 2.

第2図で、先ずステップ21でペンがタブレット上にある
ことを確認し、ストローク数0としてストロークの取込
み処理に入る(ステップ22)。そしてペンアップされる
まで座標データを取込む。(ステップ23、24)ペンアッ
プされることのストロークのドット数を記憶し、次のス
トロークの処理を行う(ステップ25)。文字区切りキー
が押される(ステップ26)と文字の入力完了して、スト
ローク数を記憶して1文字のデータ取込みを終了する
(ステップ27)。
In FIG. 2, first, in step 21, it is confirmed that the pen is on the tablet, the number of strokes is set to 0, and the stroke capturing process is started (step 22). Then, the coordinate data is taken in until it is pen-up. (Steps 23 and 24) The number of dots of the stroke to be pen-up is stored and the next stroke is processed (step 25). When the character delimiter key is pressed (step 26), the character input is completed, the number of strokes is stored, and the data acquisition for one character is completed (step 27).

第2図による処理後のデータは、第3図のような構造と
なつており、メモリ2上の文字ポインタエリアに示す内
容と座標データエリアに示す内容とからなる。1文字が
1文字ポインタに対応し、この文字ポインタが従来の文
字コードに相当する。各文字ポインタは、それぞれの文
字の座標データエリアを指していて、座標データエリア
は、ストローク数、ドット数、ドットデータからなる。
ストローク数はこの文字の全画数を示し、ドット数は各
ストロークのドット数を示し、ドットデータは、文字エ
リアの左上を原点とする各ドットの座標値が入ってい
る。
The processed data shown in FIG. 2 has a structure as shown in FIG. 3, and is composed of the contents shown in the character pointer area and the contents shown in the coordinate data area on the memory 2. One character corresponds to one character pointer, and this character pointer corresponds to a conventional character code. Each character pointer points to the coordinate data area of each character, and the coordinate data area includes the number of strokes, the number of dots, and dot data.
The number of strokes indicates the total number of strokes of this character, the number of dots indicates the number of dots for each stroke, and the dot data contains the coordinate value of each dot with the origin at the upper left of the character area.

タブレットは、第4図(イ)に示すように盤面41に1文
字分のエリアがあり、この左上の点が原点となってい
る。あらかじめ文字の大きさを定義しておき、画面上に
この文字の大きさで記入枠(点線で指示)を描き画面上
の単位とする。入力した文字データを表示するときは、
第5図のような処理を行い(ステップ50〜54)座標値を
定数倍(ステップ55)ことにより、定義した大きさの枠
に入るように修正する。画面への表示は文字ポンイタエ
リア30をもとに行い、ワクの左上を原点として、文字ポ
インタの示す座標データを描画することによって表示す
る。この表示画面40での表示例を第4図(ロ)に示す。
文字ポインタ、画面の枠に対応してカーソルを設け、こ
れを移動させて編集に用いる。また文字ポインタの示す
座標データエリア31には、第3図に示したように改行、
改頁、空白などの特別の編集用コードをストローク数の
かわりに入れて、データ量を削減する。
As shown in FIG. 4 (a), the tablet has an area for one character on the board 41, and the upper left point is the origin. The size of the character is defined in advance, and an entry frame (indicated by a dotted line) is drawn on the screen in the size of the character and used as a unit on the screen. To display the entered character data,
By performing the processing as shown in FIG. 5 (steps 50 to 54) and multiplying the coordinate value by a constant (step 55), the coordinates are corrected so as to be within the defined size. The display on the screen is performed based on the character pointer area 30, and the coordinate data indicated by the character pointer is drawn with the upper left corner of the frame as the origin. A display example on the display screen 40 is shown in FIG.
A cursor is provided corresponding to the character pointer and the frame of the screen, and this is moved and used for editing. In the coordinate data area 31 indicated by the character pointer, a line feed, as shown in FIG.
Insert special editing codes such as page breaks and blanks instead of the number of strokes to reduce the amount of data.

このように文字の図形データを、ポインタで示し、その
ポインタを文字コードとしてあつかうことにより、文字
の図形データの編集が可能となる。
In this way, the graphic data of a character is indicated by a pointer, and the pointer is used as a character code to edit the graphic data of the character.

第6図に挿入の処理を示す。まず文字ポインタの挿入す
る位置に、1文字文の空きを作り(ステップ60)挿入す
る文字の座標データを、座標データエリアに追加し、
(ステップ61)、文字ポインタを追加したエリアにつな
ぐ(ステップ62)。このような処理を行って文字ポイン
タを挿入した後、文字ポインタの変更された所を再表示
すれば、画面上もメモリ上も1文字挿入される。
FIG. 6 shows the insertion process. First, make a space for one character at the position where the character pointer is inserted (step 60), and add the coordinate data of the character to be inserted to the coordinate data area,
(Step 61), the character pointer is connected to the added area (Step 62). After the character pointer is inserted by performing such processing, if the changed portion of the character pointer is displayed again, one character is inserted on both the screen and the memory.

第7図に削除の処理を示す。文字ポインタの削除する位
置の示す座標データエリアを、開放して(ステップ7
0)、次に他のデータエリアとして使えるようにした
後、削除する位置の文字ポインタの1文字後ろの文字か
ら1文字分前につめて文字ポインタを削除する(ステッ
プ71)。
FIG. 7 shows the deletion process. Open the coordinate data area indicated by the position to delete the character pointer (step 7
0), then, after making it usable as another data area, the character pointer is deleted by closing the character pointer one character behind the character pointer at the position to be deleted by one character before (step 71).

第8図に消去の処理を示す。文字ポインタの消去する位
置の示す座標データエリアの先頭のストローク数の所を
空白コードに変更し(ステップ80)、のこりの座標デー
タエリアは開放する(ステップ81)。空白コードの表示
は、あらかじめ定義された文字の大きさ分の枠内をクリ
アすることによって行う。
FIG. 8 shows the erasing process. The position of the number of strokes at the beginning of the coordinate data area indicated by the position where the character pointer is erased is changed to a blank code (step 80), and the remaining coordinate data area is released (step 81). The display of the blank code is performed by clearing the inside of a frame of a predefined character size.

第9図に上書きの処理を示す。上書きとは、すでにある
文字に、別のストロークを追加することである。上書き
する文字の文字ポインタが示す座標データを、新たな座
標データエリアにコピーし(ステップ90)、その後追加
するストロークデータを追加する。そしてもともと文字
ポインタが示していた座標データエリアは開放して(ス
テップ91)、コピー先の新たなエリアに文字ポインタを
つなぎかえる(ステップ92)。
FIG. 9 shows the overwriting process. Overwriting is the addition of another stroke to an existing character. The coordinate data indicated by the character pointer of the character to be overwritten is copied to a new coordinate data area (step 90), and the stroke data to be added thereafter is added. Then, the coordinate data area originally indicated by the character pointer is released (step 91), and the character pointer is reconnected to a new area of the copy destination (step 92).

以上のような方法で、編集の基本処理ができるので、こ
れらを組合せて、ブロック削除、ムーブコピーなどの処
理が、文字ポインタの移動しつけかえで可能となる。
Since the basic editing process can be performed by the above method, the processes such as block deletion and move copy can be performed by moving the character pointer by changing the character pointer.

本実施例によれば、文字入力装置より入力されたイメー
ジの文字データを、文字ポインタと座標データエリアの
2つのデータ構造に入れることによって、1文字単位で
の編集が可能となるので、文字コードによる編集性と、
手書きによる入力の容易性をかねあわせた、日本語文書
編集装置が実現できるという効果がある。
According to this embodiment, the character data of the image input from the character input device is put into two data structures of the character pointer and the coordinate data area, so that it is possible to edit the character by character. Editability by
There is an effect that it is possible to realize a Japanese document editing device that combines the ease of handwriting input.

〔発明の効果〕〔The invention's effect〕

以上述べた如く本発明による文書編集装置は、入力した
イメージデータを入力文字格納メモリにポインタに対応
して格納し、該ポインタを用いてイメージデータの記入
枠単位に挿入,削除,消去及び上書き処理等の編集処理
を行うことにより、入力文字をイメージデータのままで
編集することができる。これによって入力者の文字変換
による思考の中断を防止することができる。
As described above, the document editing apparatus according to the present invention stores the input image data in the input character storage memory in correspondence with the pointer, and inserts, deletes, erases, and overwrites the image data in the entry frame unit using the pointer. It is possible to edit the input character as the image data by performing the editing process such as. As a result, it is possible to prevent the thinking person from interrupting the thinking due to the character conversion.

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

第1図は本発明の実施例図、第2図はイメージデータを
作成する処理フロー図、第3図は文字ポインタエリアと
座標データエリアとを示す図、第4図(イ)、(ロ)は
タブレット及びCRT画面を示す図、第5図は表示画面を
得るための処理フロー図、第6図〜第9図は文字の各種
編集処理フロー図である。 1……中央処理装置、2……メモリ、7……文字入力装
置。
FIG. 1 is an embodiment of the present invention, FIG. 2 is a process flow diagram for creating image data, FIG. 3 is a diagram showing a character pointer area and a coordinate data area, and FIGS. 4 (a) and 4 (b). Is a diagram showing a tablet and a CRT screen, FIG. 5 is a process flow diagram for obtaining a display screen, and FIGS. 6 to 9 are flow diagrams of various character editing processes. 1 ... Central processing unit, 2 ... Memory, 7 ... Character input device.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】予め大きさが規定された記入枠内に手書き
文字をストローク数及びドットデータとを含むイメージ
データとして入力する文字入力装置と、前記記入枠内に
入力されたイメージデータを文字単位にポインタと対応
づけて格納する入力文字格納メモリとを備え、前記入力
文字の編集処理を行う文書編集装置であって、前記入力
した文字単位分のイメージデータのポインタを用い、前
記記入枠単位にイメージデータの挿入,削除,消去及び
上書き処理等の編集処理を行うことにより、入力文字を
イメージデータのままで編集することを特徴とする文書
編集装置。
1. A character input device for inputting handwritten characters as image data including a stroke number and dot data in an entry frame of which size is defined in advance, and the image data entered in the entry frame in character units. Is a document editing apparatus that includes an input character storage memory that stores the input character in association with a pointer, and uses the pointer of the image data of the input character unit for the input frame unit. A document editing device characterized in that input characters are edited as they are by performing edit processing such as insertion, deletion, deletion and overwriting of image data.
JP62271888A 1987-10-29 1987-10-29 Document editing device Expired - Fee Related JPH0740266B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62271888A JPH0740266B2 (en) 1987-10-29 1987-10-29 Document editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62271888A JPH0740266B2 (en) 1987-10-29 1987-10-29 Document editing device

Publications (2)

Publication Number Publication Date
JPH01114967A JPH01114967A (en) 1989-05-08
JPH0740266B2 true JPH0740266B2 (en) 1995-05-01

Family

ID=17506297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62271888A Expired - Fee Related JPH0740266B2 (en) 1987-10-29 1987-10-29 Document editing device

Country Status (1)

Country Link
JP (1) JPH0740266B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2939119B2 (en) * 1994-05-16 1999-08-25 シャープ株式会社 Handwritten character input display device and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5561884A (en) * 1978-10-31 1980-05-09 Fujitsu Ltd Determination system for number of representative point of stroke
JPS62190565A (en) * 1986-02-18 1987-08-20 Toshiba Corp Device for making fair copy of hand-written pattern

Also Published As

Publication number Publication date
JPH01114967A (en) 1989-05-08

Similar Documents

Publication Publication Date Title
US5220649A (en) Script/binary-encoded-character processing method and system with moving space insertion mode
US6442578B1 (en) Script character processing method for compression encoding and smoothing of ink strokes
US6434581B1 (en) Script character processing method for interactively adjusting space between writing element
US5231698A (en) Script/binary-encoded-character processing method and system
JPS645344B2 (en)
EP0383306B1 (en) Data processing apparatus and method
JPH0740266B2 (en) Document editing device
JPS6190273A (en) Data structuring method
JP2995942B2 (en) Document printing system and method
JP2723109B2 (en) Image processing method
JP2562458B2 (en) Character generation method for computer system
JPH0728801A (en) Image data processing method and device therefor
JP3163577B2 (en) Vector font generation method
JPS612560A (en) Conversation typesetting system
JP2821002B2 (en) Character processing device and character processing method
JP2547797B2 (en) Document processing method
JPH0574090B2 (en)
JPH08137865A (en) Character information processor with address book managing function
JP2870869B2 (en) Document processing apparatus and method
JP2547799B2 (en) Document processing method
JPS6359654A (en) Picture processor
JPH07254020A (en) Finishing check system
JPS63142389A (en) Document generator
JPH0696282A (en) Method and device for processing information
JPH06187486A (en) Handwritten character input device

Legal Events

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