JPH01114967A - Document editing device - Google Patents

Document editing device

Info

Publication number
JPH01114967A
JPH01114967A JP62271888A JP27188887A JPH01114967A JP H01114967 A JPH01114967 A JP H01114967A JP 62271888 A JP62271888 A JP 62271888A JP 27188887 A JP27188887 A JP 27188887A JP H01114967 A JPH01114967 A JP H01114967A
Authority
JP
Japan
Prior art keywords
character
stroke
pointer
processing
data
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.)
Granted
Application number
JP62271888A
Other languages
Japanese (ja)
Other versions
JPH0740266B2 (en
Inventor
Masayuki Tomizawa
富沢 正之
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

Abstract

PURPOSE:To provide the title device with editing property based upon character codes and easy input based upon hand-written characters by using hand-written character image data and processing in each image data in the succeeding edition processing. CONSTITUTION:After confirming a pen put on a tablet 7, stroke fetching processing for the number D of strokes is started and coordinate data obtained up to pen-up are inputted. At the time of pen-up, the number of dots of the stroke is stored in a memory 2 to execute the succeeding stroke processing. When a character segmenting key is depressed, the input of a character is completed and the number of strokes is stored in the memory 2 to end the data input of one character. The graphic data of a character of an image inputted from the table 7 are pointed out by a pointer and the pointer is processed as a character code to edit the graphic data of the character.

Description

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

〔従来技術〕[Prior art]

従来の日本語編集装置は、印刷装置からの清書出力を得
ることが主目的のため、文字をコード化し、これをキー
ホードから計算機に入力するやり方をとる。
Conventional Japanese language editing devices, whose main purpose is to obtain fair print output from a printing device, take a method of encoding characters and inputting them into a computer from a keyboard.

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

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の日本語編集装置は、文章を考えながら入力する点
については、あまり配慮されていない。
Conventional Japanese language editing devices do not give much consideration to the point of inputting sentences while thinking about them.

従って漢字を入する場合、仮名を入力し漢字に変換する
必要があり、同音異義語の選択や文節の区切り指定など
で人間の介入する必要があり、思考を乱すという問題が
あった。また、仮に仮名だけ入力して漢字への一括変換
を行うやり方もあるが、同様に文章入力途中で人間が観
察した場合、見ずらいとの問題があった。
Therefore, when entering kanji, it is necessary to enter the kana and convert it to kanji, and human intervention is required to select homonyms and specify segment breaks, which can disrupt thinking. There is also a method of inputting only kana and converting it to kanji all at once, but this also has the problem of being difficult to read when a human observes the text while inputting it.

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

〔問題点を解決するための手段] 本発明は、手書き文字入力装置と、この入力装置からの
手書き文字をイメージデータ(1文字を構成するストロ
ーク数とそのストローク毎のドツト数及びドツトデータ
より成る情報)として記憶する文字格納メモリと、この
文字格納メモリの格納文字を文字単位に編集する編集手
段とより成る。
[Means for Solving the Problems] The present invention provides a handwritten character input device and a system that converts handwritten characters from the input device into image data (consisting of the number of strokes constituting one character, the number of dots for each stroke, and dot data). It consists of a character storage memory for storing information (information) and an editing means for editing the characters stored in the character storage memory character by character.

〔作用〕[Effect]

本発明では、手書き文字をイメージデータとして扱い、
以後の編集処理は、イメージデータ単位に処理する。
In the present invention, handwritten characters are treated as image data,
The subsequent editing process is performed in units of image data.

〔実施例〕〔Example〕

第1図は本発明の文書編集装置の実施例図である。この
文書編集装置は、中央処理装置1、メモリ2、表示装置
3、ディスク装置4、キーボード5、プリンタ6、文字
入力装置7より成る。
FIG. 1 is a diagram showing an embodiment of a document editing device of the present invention. This document editing device includes 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 . . . performs character editing processing using a program in 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 external memory.

アプリケーションプログラムを格納したり、編集語の文
書を格納したりする。
Store application programs or edit language documents.

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

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

更に、1ストロークは、このストロークの長さを示すド
ツト長と、ストロークを構成する文字情報(ドツトデー
タ)より成る。
Furthermore, one stroke consists of a dot length indicating the length of this stroke and character information (dot data) that constitutes 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 character input device 7 may be used as a mere piece of information. If the device has only a transmission function, the processing device 1 creates image data.

以下では、此の文字入力装置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 regular intervals when the pen is pressed, and that the interface with the processing device 1 is a serial interface. It is assumed that coordinate values are input to the device 1 by interruption. The processing device 1 takes in the coordinate data and stores it in the memory 2 in this interrupt process. This storage is in an image data format, and the image data format is formed in a manner in which the processing device 1 sequentially forms each coordinate value each time it takes in one coordinate value, and - after storing it in the storage memory 2.
There are two ways to form it through processing.

第1図の構成のもとての動作を以下説明する。The original operation of the configuration shown in FIG. 1 will be explained below.

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

第2図で、先ずステップ21でペンがタブレット上にあ
ることを確認し、ストローク数Oとしてストロークの取
込み処理に入る(ステップ22)、そしてペンアップさ
れるまで座標データを取込む。
In FIG. 2, first, in step 21, it is confirmed that the pen is on the tablet, and the stroke number is set to O, and the process begins to capture strokes (step 22), and coordinate data is captured until the pen is raised.

(ステップ23.24)ペンアップされることのスト 
 ゛ローフのドツト数を記憶し、次のストロークの処理
を行う(ステップ25)0文字区切りキーが押される(
ステップ26)と文字の入力完了して、ストローク数を
記憶して1文字のデータ取込みを終了する(ステップ2
7)。
(Step 23.24) String of being pen up
゛Memorize the number of dots in the loaf and process the next stroke (step 25) The 0 character separator key is pressed (
Step 26) completes character input, memorizes the number of strokes, and completes data import for one character (Step 2
7).

第2図による処理後のデータは、第3図のような構造と
なっており、メモリ2上の文字ポインタエリアに示す内
容と座標データエリアに示す内容とからなる。1文字が
1文字ポインタに対応し、この文字ポインタが従来の文
字コードに相当する。
The data after processing according to FIG. 2 has a structure as shown in FIG. 3, and consists of the contents shown in the character pointer area on the memory 2 and the contents shown in the coordinate data area. 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 the respective character, and the coordinate data area consists of 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 in each stroke, and the dot data contains the coordinate values of each dot with the upper left of the character area as the origin.

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

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

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

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

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

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

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

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

〔発明の効果〕〔Effect of the invention〕

本発明によれば、文字をイメージデータとして取り扱う
ため、このイメージデータのレベルで文書編集が可能と
なった。
According to the present invention, since characters are treated as image data, it is possible to edit documents at the level of this image data.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例図、第2図はイメージデータを
作成する処理フロー図、第3図は文字ポインタエリアと
座標データエリアとを示す図、第4図(イ)、(ロ)は
タブレット及びCRT画面を示す図、第5図は表示画面
を得るための処理フロー図、第6図〜第9図は文字の各
種編集処理フロー図である。 l・・・中央処理装置、2・・・メモリ、7・・・文字
入力装置。 代理人 弁理士  秋 本 正 実 第1図 第2図 3表示状1  6プリンタ 第3図 第4図 30 文主ポインタエリア 4Q  CR741面31
 皮士艷データエリ了 41 ダブμ・7ト第5図 第6図 第8図 第7図 第9図
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 (b). 5 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 editing processes for characters. 1...Central processing unit, 2...Memory, 7...Character input device. Agent Patent Attorney Tadashi Akimoto Figure 1 Figure 2 Figure 3 Letter of Indication 1 6 Printer Figure 3 Figure 4 30 Main pointer area 4Q CR741 page 31
41 Dub μ・7to Figure 5 Figure 6 Figure 8 Figure 7 Figure 9

Claims (1)

【特許請求の範囲】[Claims] 1、文字入力装置と、入力文字を文字単位に格納する入
力文字格納メモリと、編集処理をこのメモリの文字単位
に行う編集手段とより成る文書編集装置において、上記
文字入力装置は手書き文字入力装置とし、上記メモリに
格納する1文字とは、1文字を構成するストローク数と
そのストローク毎のドット数およびドットデータとより
成る情報とする文書編集装置。
1. In a document editing device comprising a character input device, an input character storage memory for storing input characters character by character, and editing means for performing editing processing for each character in this memory, the character input device is a handwritten character input device. In the document editing device, one character stored in the memory is information consisting of the number of strokes constituting one character, the number of dots for each stroke, and dot 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 true JPH01114967A (en) 1989-05-08
JPH0740266B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5698822A (en) * 1994-05-16 1997-12-16 Sharp Kabushiki Kaisha Input and display apparatus for handwritten characters

Citations (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

Patent Citations (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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5698822A (en) * 1994-05-16 1997-12-16 Sharp Kabushiki Kaisha Input and display apparatus for handwritten characters

Also Published As

Publication number Publication date
JPH0740266B2 (en) 1995-05-01

Similar Documents

Publication Publication Date Title
US5220649A (en) Script/binary-encoded-character processing method and system with moving space insertion mode
US6487570B1 (en) Script character processing method for automatically supplementing blank writing space
US6434581B1 (en) Script character processing method for interactively adjusting space between writing element
JPS645344B2 (en)
JPH01114967A (en) Document editing device
JPH0728801A (en) Image data processing method and device therefor
EP0240920B1 (en) Improvements in desk-top publishing apparatus
JPS612560A (en) Conversation typesetting system
JPS61107467A (en) Specification method of framing for character-graphics editing device
JP2640340B2 (en) Document creation and editing device
JPH0769905B2 (en) Document creation / editing device
JPH0574090B2 (en)
JP2821002B2 (en) Character processing device and character processing method
JPS61229161A (en) Documentation and editing device
JP3073226B2 (en) Document processing device
JPS63142389A (en) Document generator
JPH06187486A (en) Handwritten character input device
JPS61267868A (en) Document processor
JPS6381394A (en) Cursor display system for electronic paper
JPH10124514A (en) Method for managing document
JPH07168838A (en) Document processor
JPH0816933B2 (en) Multiple work selection start method
JPS63227369A (en) Information processor
JPS58195266A (en) Picture processor
JPH03116287A (en) Kana/graphic conversion system

Legal Events

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