JP3600071B2 - Data processing device, data processing method, and recording medium - Google Patents

Data processing device, data processing method, and recording medium Download PDF

Info

Publication number
JP3600071B2
JP3600071B2 JP19603099A JP19603099A JP3600071B2 JP 3600071 B2 JP3600071 B2 JP 3600071B2 JP 19603099 A JP19603099 A JP 19603099A JP 19603099 A JP19603099 A JP 19603099A JP 3600071 B2 JP3600071 B2 JP 3600071B2
Authority
JP
Japan
Prior art keywords
character
data
writing
area
attribute
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 - Lifetime
Application number
JP19603099A
Other languages
Japanese (ja)
Other versions
JP2001022750A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP19603099A priority Critical patent/JP3600071B2/en
Publication of JP2001022750A publication Critical patent/JP2001022750A/en
Application granted granted Critical
Publication of JP3600071B2 publication Critical patent/JP3600071B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、データ処理装置に関し、特に、PHS(Personal Handy−phone System)端末等の携帯情報端末に用いて好適なものである。
【0002】
【従来の技術】
既存の情報携帯端末には、メールで受信したテキストデータやユーザが作成したテキストデータをメモ領域に一旦コピーし、これを種々のデータ処理時にペーストして使用する機能が搭載されている。例えば、受信したメールデータから会社名や氏名のみをコピーし、これを電話番号表にペーストしたり、あるいは、発信メールの表題領域にペーストしたりすることができる。かかるコピーペースト機能は、文字入力の手間を省略できるので、特に、PHS端末等のように小さなテンキーの操作によってテキストデータを入力する機器においては、必須の機能となっている。
【0003】
【発明が解決しようとする課題】
上記従来の情報携帯端末等にあっては、文字の入力領域においてデータの入力形式(属性)が予め設定されている場合がある。たとえば、発信メールの表題領域には半角のかな文字は入力できない等の制約が予め設定されている場合がある。
【0004】
しかしながら、かかる領域に対し、上記コピーペースト機能によってテキストデータを無造作にペーストすると、誤った形式のデータを含んだ状態でテキストデータが当該領域に入力されることとなってしまう。かかる場合、上記ペーストによる文字データの入力は受け付けられず、このため、ユーザは、再度適切な文字データを入力するか、あるいはペーストによって入力された不適切な文字データを一々削除あるいは修正しなければならなくなり、何れにしても、大層面倒な作業を強いられる結果となってしまう。
【0005】
そこで、本発明は、かかる不都合を解消し、予め入力形式が設定された領域に対しても良好にコピーデータをペーストし得るデータ処理装置を提供しようとするものである。
【0006】
【課題を解決するための手段】
上記課題を解決すべく、本発明は、以下の特徴を有する。
【0007】
請求項1の発明は、文字データから所定の文字範囲のデータを選択する選択手段と、選択された各文字の属性と書き込み領域の入力許容文字の属性とを比較する比較手段と、当該比較手段による比較結果に応じて前記選択された文字範囲の文字データを前記書き込み領域に書き込む書き込み制御手段とを有し、前記書き込み制御手段は、前記選択された文字範囲の各文字の内、前記書き込み領域の入力許容文字の属性に整合する文字の文字データのみを前記書き込み領域に書き込むよう制御することを特徴とするデータ処理装置である。
【0008】
請求項2の発明は、請求項1において、前記文字データは、句点、濁点あるいは改行マーク等のデータを含むことを特徴とする。
【0009】
請求項3の発明は、請求項1または2において、さらに、前記選択範囲の全ての文字の属性が前記書き込み領域の入力許容文字の属性に整合しない場合に、その旨をユーザに報知せしめる報知手段をさらに配したことを特徴とする。
【0010】
請求項4の発明は、請求項1〜3の何れかにおいて、前記選択手段は文字範囲を指定する入力手段と、当該指定された文字範囲の文字データを記憶する文字データ記憶手段とを含むことを特徴とする。
【0011】
請求項5の発明は、請求項4において、前記記憶手段は、複数種類の文字範囲の文字データを記憶し得るものであり、前記選択手段は、かかる記憶手段に記憶された数種の文字データの内、所定のものを選択し得るものであることを特徴とする。
【0012】
請求項6の発明は、請求項1〜5の何れかにおいて、前記比較手段は、書き込み領域の入力許容文字の属性を書き込み領域毎に記憶する属性記憶手段を含むことを特徴とする。
【0013】
請求項7の発明は、コピー領域に記憶された文字データを書き込み領域に書き込むデータ処理方法において、前記コピー領域に記憶された文字データの各文字について当該文字の属性と書き込み領域の入力許容文字の属性とを比較する比較ステップと、当該比較ステップによる比較結果に応じて当該各文字の文字データを前記書き込み領域に書き込む書き込み制御ステップとを有し、前記書き込み制御ステップは、前記コピー領域に記憶された文字データの内、前記書き込み領域の入力許容文字の属性に整合する文字の文字データのみを前記書き込み領域に書き込むよう制御することを特徴とする。
【0014】
請求項8の発明は、請求項7において、前記文字データは、句点、濁点あるいは改行マークのデータを含むことを特徴とする。
【0015】
請求項9の発明は、請求項7または8において、さらに、前記コピー領域に記憶された文字データの全ての文字が前記書き込み領域の入力許容文字の属性に整合しない場合に、その旨をユーザに報知せしめる報知ステップをさらに配したことを特徴とする。
【0016】
請求項10の発明は、請求項7〜9において、前記コピー領域は、複数種類の文字データを記憶し得るものであり、前記比較ステップは、かかるコピー領域に記憶された数種の文字データの内、ユーザによって指定されたものについて当該比較処理を実行することを特徴とする。
【0017】
請求項11の発明は、上記請求項7〜10の何れかの処理ステップに従う処理プログラムを読み出し可能に担持した記録媒体である。
【0018】
【発明の実施の形態】
本発明の実施の形態につき図面を参照して説明する。
【0019】
図1に示すとおり、本データ処理装置は、入力部10と、編集処理部20と、出力部30と、制御部40と、VRAM(Video Read Only Memory)50と、表示処理部60とを有している。
【0020】
入力部10は、文章データの入力やメールの送信、受信メールの表示、ファンクションの切り替え等の各種の指令を入力するためのもので入力キーを含む。編集処理部20は、テキストデータに関する各種編集を行うためのものである。出力部30は、VRAM50に展開されたビットマップデータに従って文字情報を表示するもので、例えばLCD表示器から構成されている。制御部40は、制御プログラムに従って各部の制御を行うもので、ワークエリアとしてのRAM(Random Access Memory)および上記制御ログラムを記録したROM(Read Only Memory)を内蔵する。VRAM50は、出力部30に表示する1画面分のビットマップデータを表示処理部60から受け取り、これを記憶する。表示処理部60は、編集処理部20から転送されたテキストデータ(文字コード)を処理して1画面分のビットマップデータを生成し、これをVRAM50上に書き込む。
【0021】
なお、上記制御部40のROMは、本データ処理装置に内蔵されていても良いし、また、いわゆるCD−ROMのように、外部から装着されてプログラムを当該蔵置内の記憶部にインストールするようなものでも良い。
【0022】
また、上記編集処理部20は、テキスト処理部21、テキストバッファ22、属性バッファ23、コピーペースト処理部24およびコピーデータバッファ25を含む。この内、テキスト処理部21は、テキストバッファ22に対するテキストデータの書き込みおよび消去を制御する。テキストバッファ22は、入力部10から入力されたテキストデータあるいはメール通信によって配信されたテキストデータを、上記テキスト処理部21による制御に応じて記憶する。属性データバッファ23は、電話番号表やメールタイトル等のテキストデータ入力領域の入力形式を入力領域毎に記憶する。コピーペースト処理部24は、入力部10からの入力指令に応じて、テキストバッファ21中の所定のテキストデータをコピーバッファ25に書き込む。コピーバッファ25は、コピーペースト処理部24による制御に応じてテキストデータを更新記憶する。なお、コピーデータバッファ25には、アドレス0から順番に各文字のテキストデータ(文字コード)が順番に記憶される。すなわち、アドレス0にはコピーされる文字の1文字目のテキストデータが書き込まれ、その後、アドレス1、2、3、…にはコピーされる文字の2文字目以降のテキストデータが順番に書き込まれる。
【0023】
また、表示処理部60は、フォント処理部61およびテキスト表示制御部62を含む。この内、フォント処理部61は、テキスト表示制御部62からの制御に応じて、テキストデータをビットマップデータに変換する。テキスト表示制御部60は、出力部40に表示すべき文字の状態に応じた表示となるようにフォント処理部61を制御し、ここで生成されたビットマップデータをVRAM50に書き込む。
【0024】
次に、上記データ表示装置の動作について説明する。
【0025】
(1)コピー処理
入力部10からの入力指令に応じて、テキストバッファ22から表示すべきテキストデータが読み出され、これが表示処理部60に送られる。表示処理部60は、当該テキストデータから1画面分のビットマップデータを生成し、これをVRAM50に書き込む。出力部30は、かかるVRAM50に記憶されたビットマップデータに応じた画像を出力する。
【0026】
かかる状態において、ユーザが入力部10を操作して当該表示画面中の文字情報の一部を選択し、これをコピーする指令を入力すると、制御部40は、かかる選択指令された文字範囲に応じたテキストデータ上の範囲を算出し、これを編集処理部20に送る。かかる算出は、当該選択範囲の開始位置と終了位置が全表示文字中の何文字目に当たるかを算出することにより行われる。たとえば、文字が出力部30に縦8ドット×横80ドットにて1行で表示されている場合、すなわち、8ドット×8ドットの文字が10文字分表示されている場合、選択範囲の開始位置が横32ドットの位置に設定されたのであれば、この開始位置は、32÷8+1=5(文字目)であると算出される。同様に、選択範囲の終了位置が64ドットの位置に設定されたのであれば、この終了位置は、64÷8=8(文字目)であると算出される。制御部40はこのようにして選択文字範囲の開始位置と終了位置がそれぞれ全表示文字中の始めから何文字目にあるかを算出し、これを編集処理部20に送る。
【0027】
テキスト処理部21は、かかる開始位置と終了位置のデータを制御部40から受け取って、当該開始位置から終了位置までの間のテキストデータをテキストバッファ22から読み出し、これをコピーペースト処理部24に送る。コピーペースト処理部24は、かかるテキストデータをコピーデータバッファ25に書き込む。ここで、コピーデータバッファ25に既にテキストデータが記憶されている場合には、これを消去し、上記新たなテキストデータを上書きする。
【0028】
(2)ペースト処理
以上のコピー処理によってコピーデータバッファ25に記憶されたテキストデータを所定の書き込み領域にペーストする場合、ユーザは、まずかかる書き込み領域を指定し、その後、ペースト指令を入力する。かかるペースト指令が入力されると、まず、属性データバッファ23がアクセスされ、当該書き込み領域の属性データが読み出される。しかる後、コピーデータバッファ25に記憶されたテキストデータの各文字が当該書き込み領域の属性データに整合するか否かが制御部40によって判別される。かかる整合の有無は、各文字の文字コードを辞書データと照合することによって行われる。
【0029】
たとえば、書き込み領域の属性が半角カタカナ文字の入力のみを許容するように設定されている場合(たとえば、フリガナ領域)には、各文字の文字コードがシフトJISの“0xa6”から“0xdf”の範囲にあるかが判別される。また、書き込み領域の属性が半角カタカナ文字の入力および改行マークの入力を禁止するように設定されている場合(たとえば、メール表題領域)には、各文字の文字コードがシフトJISの“0xa6”から“0xdf”の範囲(半角カタカナ)および“0x0d0a”(改行マーク)にないかが判別される。
【0030】
このようにして、コピーデータバッファ25に記憶されている各文字の文字コードが書き込み領域の属性に適合するかが判別され、この内、適合するもののみが当該書き込み領域にペーストされる。これにより、不適正な文字を削除あるいは修正するといった無駄な操作を省略でき、操作性および利便性の向上を図ることができる。
【0031】
(3)報知処理
以上のようにしてペースト処理が実行されるが、かかるペースト処理において、コピーデータバッファ25中の全ての文字のテキストデータが当該書き込み領域の属性に整合しない場合も有り得る。また、上記ペースト処理の実行処理をユーザが入力した際にコピーデータバッファ25中にデータが未だ記憶されていない場合も有り得る。かかる場合には、当該書き込み領域に対する適正なペースト処理は実行し得ないので、制御部40は、これを表示すべく出力部30を制御する。たとえば、出力部30に対し、ペーストすべき文字は存在しない旨の文字情報を表示せしめたり、あるいは、音声によりこれを報知するよう制御する。これによりユーザに対し、適正なペースト処理を実行し得なかったことを知らしめることができる。
【0032】
次に、上記のペースト処理および報知処理の具体的流れについて、図2を参照して説明する。
【0033】
まず、ペースト処理がユーザにより入力されると(S1)、初期設定として、コピーデータバッファ25のインデックス(i)が0に設定されると共に、書き込みフラグがOFFに設定される(S2)。ここで、インデックス(i)はコピーバッファ25に記憶された各文字の内、処理対象となっている文字のコピーバッファ25上のアドレスを表すものである。すなわち、インデックス(i)=0に初期設定されると、コピーデータバッファ25のアドレス0に記憶されたテキストデータ、つまりコピーされた文字の内、1番目の文字のテキストデータが処理対象として設定される。
【0034】
このように、インデックス(i)と書き込みフラグが設定されると、次に、処理対象となっている文字のテキストデータがコピーデータバッファ25上に存在しないかが判別される(S3)。ここで、Noと判別されると、当該インデックス(i)のアドレスに記憶されたテキストデータが当該書き込み領域の属性に整合するかが判別され(S4)、整合する場合には当該書き込み領域に対し当該処理対象となったテキストデータを書き込むと共に(S5)、書き込みフラグをONにセットし(S6)、コピーデータバッファインデックス(i)を1カウントアップする(S7)。他方、ステップS4にてNoと判別されると、当該アドレスのテキストデータは書き込み領域にペーストされないまま、ステップS7にてコピーデータバッファインデックス(i)が1カウントアップされる。
【0035】
上記ステップ4〜7のペースト処理は、コピーデータバッファ25に記憶された全ての文字についてのテキストデータについて実行される(S3)。そして、当該全ての文字についてのペースト処理が終了すると、ステップS3にてYesと判別され、ここで、i=0かあるいは書き込みフラグがOFFのままであるかが判別される。ここで、i=0すなわちコピーデータバッファ25にテキストデータが存在しないと判別されると、ステップS9にてその旨の表示がエラー音またはエラーメッセージ表示(音声または画像)によってユーザに報知される。また、ステップS8にてi≠0であるが書き込みフラグがOFFのままであることが判別されると、ステップ9にて、書き込み領域の属性に整合するテキストデータが存在しなかったとされ、その旨の表示がエラー音またはエラーメッセージ表示によってユーザに報知される。
【0036】
ステップS8にて、Noと判別されると、書き込み領域の属性に整合したテキストデータが当該書き込み領域にペーストされたとして、ペースト処理が終了される。
【0037】
図3に、当該ペースト処理の動作例を示す。ここで、コピーデータバッファ25に記憶されたテキストデータ(コピーデータ)は、図示の通り、「山川工業↓(ヤマカワコウギョウ)↓株式会社」である。なお、“↓”は改行マークである。かかるコピーデータを、フリガナ領域(文字コードがシフトJISの“0xa6”から“0xdf”の範囲にあるもののみ入力を許容する領域)にペーストする処理を実行すると、半角カタカナの「ヤマカワコウギョウ」のみが切り出され、これが当該フリガナ領域にペーストされる。また、かかるコピーデータをメール表題領域(文字コードがシフトJISの“0xa6”から“0xdf”の範囲(半角カタカナ)および“0x0d0a”(改行マーク)にあるものの入力を拒否する領域)にペーストする処理を実行すると、「山川工業株式会社」のみが切り出され、これが当該メール表題領域にペーストされる。
【0038】
したがって、本実施の形態では、文字のペースト後に、当該書き込み領域の属性に整合しない文字を削除または修正するといった無駄な操作が不要となり、装置の操作性および利便性を向上させることができるようになる。
【0039】
以上、本発明の実施の形態について説明したが、本発明は、かかる実施の形態に制限されるものではなく、他に、種々の変更が可能であることは言うまでもない。例えば、上記の実施の形態では、書き込み領域の属性として半角カタカナの許容または拒否を例に挙げたが、これに限定されるものではなく、他の属性についても同様に適用し得る。また、コピーデータバッファ25に書き込まれるコピーデータは1種類としたが、これに替えて、数種のコピーデータをコピーデータバッファ25に記憶せしめ、その中から所望のコピーデータを選択して書き込み領域にペーストするようにしても良い。また、上記実施の形態では、処理対象を文字データの他、括弧書きや改行マークを含めたが、その他に、句点や読点も対象となることは言うまでもない。本発明は、その他、当業者自明な技術的思想の範囲内において種々の変更が可能なものである。
【0040】
【発明の効果】
以上、本発明によれば、選択範囲の文字データまたはコピーデータの内、書き込み領域の属性に応じた文字の文字データのみを切り出して当該書き込み領域に書き込むものであるから、文字のペースト後に、当該書き込み領域の属性に整合しない文字を削除または修正するといった無駄な操作が不要となり、装置の操作性および利便性を向上させることができる。
【図面の簡単な説明】
【図1】実施の形態のブロック構成を示す図。
【図2】実施の形態の具体的処理を示すフローチャート。
【図3】実施の形態の動作例を示す図。
【符号の説明】
10 入力部
20 編集処理部
21 テキスト処理部
22 テキストバッファ
23 属性データバッファ
24 コピーペースト処理部
25 コピーデータバッファ
30 出力部
40 制御部
50 VRAM
60 表示処理部
61 フォント処理部
62 テキスト表示処理部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a data processing device, and is particularly suitable for use in a portable information terminal such as a PHS (Personal Handy-phone System) terminal.
[0002]
[Prior art]
Existing portable information terminals have a function of temporarily copying text data received by e-mail or text data created by a user into a memo area, and pasting and using the data in various data processing. For example, only the company name or name can be copied from the received mail data and pasted into the telephone number table or pasted into the title area of the outgoing mail. This copy / paste function is an indispensable function particularly in a device such as a PHS terminal that inputs text data by operating a small numeric keypad, since the trouble of inputting characters can be omitted.
[0003]
[Problems to be solved by the invention]
In the conventional portable information terminals and the like, the data input format (attribute) may be set in advance in the character input area. For example, there may be a case where a restriction is set in advance that a half-width kana character cannot be entered in the title area of an outgoing mail.
[0004]
However, if the text data is casually pasted into such an area by the copy paste function, the text data will be input to the area in a state where the data contains an incorrect format. In such a case, the input of the character data by the paste is not accepted, and therefore, the user must input the appropriate character data again, or delete or correct the inappropriate character data input by the paste one by one. In any case, a large amount of troublesome work is required.
[0005]
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a data processing apparatus which can solve such inconvenience and can paste copy data satisfactorily even in an area where an input format is set in advance.
[0006]
[Means for Solving the Problems]
In order to solve the above problems, the present invention has the following features.
[0007]
The invention according to claim 1, wherein a selecting means for selecting data in a predetermined character range from the character data, a comparing means for comparing an attribute of each selected character with an attribute of an input-permitted character in a writing area, and the comparing means Writing control means for writing the character data of the selected character range to the writing area according to the comparison result by the writing control means, wherein the writing control means The data processing device controls to write only character data of characters matching the attribute of the input allowable character to the writing area.
[0008]
According to a second aspect of the present invention, in the first aspect, the character data includes data such as a punctuation mark, a punctuation mark, and a line feed mark.
[0009]
The invention according to claim 3 is the notification means according to claim 1 or 2, further comprising, when attributes of all characters in the selection range do not match attributes of input-permitted characters in the writing area, notifying the user of the fact. Is further arranged.
[0010]
According to a fourth aspect of the present invention, in any one of the first to third aspects, the selection unit includes an input unit that specifies a character range, and a character data storage unit that stores character data of the specified character range. It is characterized by.
[0011]
According to a fifth aspect of the present invention, in the fourth aspect, the storage means can store character data of a plurality of types of character ranges, and the selection means can store several types of character data stored in the storage means. It is characterized in that a predetermined one can be selected from among them.
[0012]
According to a sixth aspect of the present invention, in any one of the first to fifth aspects, the comparing means includes an attribute storing means for storing an attribute of an input-permitted character of the writing area for each writing area.
[0013]
According to a seventh aspect of the present invention, in the data processing method for writing character data stored in a copy area to a writing area, the attribute of the character and the allowable input characters of the writing area for each character of the character data stored in the copy area. A comparison step of comparing the attribute with an attribute, and a write control step of writing the character data of each character to the write area in accordance with the comparison result of the comparison step, wherein the write control step is stored in the copy area. It is characterized in that, of the character data, only character data of characters matching the attribute of the input-permitted character of the writing area is written to the writing area.
[0014]
According to an eighth aspect of the present invention, in the seventh aspect, the character data includes data of a period, a punctuation mark, or a line feed mark.
[0015]
According to a ninth aspect of the present invention, in the seventh or eighth aspect, when all the characters of the character data stored in the copy area do not match the attributes of the input-permitted character in the writing area, the user is informed that fact. An informing step for informing is further provided.
[0016]
According to a tenth aspect of the present invention, in the seventh to ninth aspects, the copy area is capable of storing a plurality of types of character data, and the comparing step includes a step of comparing several types of character data stored in the copy area. Of these, the comparison process is executed for one designated by the user.
[0017]
According to an eleventh aspect of the present invention, there is provided a recording medium readablely carrying a processing program according to any one of the above-described processing steps.
[0018]
BEST MODE FOR CARRYING OUT THE INVENTION
An embodiment of the present invention will be described with reference to the drawings.
[0019]
As shown in FIG. 1, the data processing apparatus includes an input unit 10, an edit processing unit 20, an output unit 30, a control unit 40, a VRAM (Video Read Only Memory) 50, and a display processing unit 60. are doing.
[0020]
The input unit 10 is used for inputting various commands such as input of text data, transmission of mail, display of received mail, and switching of functions, and includes input keys. The edit processing unit 20 is for performing various edits on text data. The output unit 30 displays character information in accordance with the bitmap data developed in the VRAM 50, and is composed of, for example, an LCD display. The control section 40 controls each section according to a control program, and has a built-in RAM (Random Access Memory) as a work area and a ROM (Read Only Memory) in which the control program is recorded. The VRAM 50 receives bitmap data for one screen to be displayed on the output unit 30 from the display processing unit 60 and stores the bitmap data. The display processing unit 60 processes the text data (character code) transferred from the editing processing unit 20, generates bitmap data for one screen, and writes the bitmap data on the VRAM 50.
[0021]
The ROM of the control unit 40 may be built in the data processing apparatus, or may be installed from the outside such as a so-called CD-ROM to install the program in the storage unit in the storage. May be something.
[0022]
The editing processing unit 20 includes a text processing unit 21, a text buffer 22, an attribute buffer 23, a copy / paste processing unit 24, and a copy data buffer 25. The text processing unit 21 controls writing and erasing of text data to and from the text buffer 22. The text buffer 22 stores text data input from the input unit 10 or text data distributed by e-mail communication according to the control of the text processing unit 21. The attribute data buffer 23 stores an input format of a text data input area such as a telephone number table or a mail title for each input area. The copy / paste processing unit 24 writes predetermined text data in the text buffer 21 to the copy buffer 25 according to an input command from the input unit 10. The copy buffer 25 updates and stores the text data under the control of the copy / paste processing unit 24. The copy data buffer 25 stores the text data (character code) of each character in order from address 0. That is, the text data of the first character of the character to be copied is written to the address 0, and thereafter, the text data of the second character and the subsequent characters of the character to be copied are sequentially written to the addresses 1, 2, 3,. .
[0023]
The display processing unit 60 includes a font processing unit 61 and a text display control unit 62. Among them, the font processing unit 61 converts text data into bitmap data under the control of the text display control unit 62. The text display control unit 60 controls the font processing unit 61 so that the display is in accordance with the state of the character to be displayed on the output unit 40, and writes the bitmap data generated here to the VRAM 50.
[0024]
Next, the operation of the data display device will be described.
[0025]
(1) Text data to be displayed is read from the text buffer 22 in response to an input command from the copy processing input unit 10 and sent to the display processing unit 60. The display processing unit 60 generates bitmap data for one screen from the text data, and writes the bitmap data to the VRAM 50. The output unit 30 outputs an image corresponding to the bitmap data stored in the VRAM 50.
[0026]
In this state, when the user operates the input unit 10 to select a part of the character information on the display screen and inputs a command to copy the character information, the control unit 40 responds to the character range designated by the selection command. The range on the text data is calculated and sent to the edit processing unit 20. This calculation is performed by calculating the position of the start position and the end position of the selection range in all the displayed characters. For example, if the characters are displayed on the output unit 30 in one line of 8 dots vertically by 80 dots horizontally, that is, when 10 characters of 8 dots × 8 dots are displayed, the start position of the selection range Is set to the position of 32 horizontal dots, the start position is calculated as 32/8 + 1 = 5 (the character). Similarly, if the end position of the selection range is set to the position of 64 dots, the end position is calculated as 64/8 = 8 (character). The control unit 40 calculates the starting position and the ending position of the selected character range from the beginning of all displayed characters in this way, and sends this to the editing processing unit 20.
[0027]
The text processing unit 21 receives the data of the start position and the end position from the control unit 40, reads out the text data from the start position to the end position from the text buffer 22, and sends it to the copy / paste processing unit 24. . The copy / paste processing unit 24 writes the text data into the copy data buffer 25. Here, if the text data is already stored in the copy data buffer 25, it is deleted and the new text data is overwritten.
[0028]
(2) Pasting When the text data stored in the copy data buffer 25 is pasted into a predetermined writing area by the above-described copying processing, the user first specifies the writing area, and then inputs a paste command. When such a paste command is input, first, the attribute data buffer 23 is accessed, and the attribute data of the writing area is read. Thereafter, the control unit 40 determines whether each character of the text data stored in the copy data buffer 25 matches the attribute data of the writing area. The presence or absence of such matching is determined by comparing the character code of each character with dictionary data.
[0029]
For example, when the attribute of the writing area is set so as to permit only the input of a half-width katakana character (for example, the reading area), the character code of each character is in the range of “0xa6” to “0xdf” of the shift JIS. Is determined. If the attribute of the writing area is set to prohibit the input of half-width katakana characters and the input of a line feed mark (for example, a mail title area), the character code of each character is changed from “0xa6” of Shift JIS. It is discriminated whether it is outside the range of “0xdf” (half-width katakana) and “0x0d0a” (line feed mark).
[0030]
In this way, it is determined whether the character code of each character stored in the copy data buffer 25 matches the attribute of the writing area, and only the matching code is pasted into the writing area. As a result, useless operations such as deleting or correcting inappropriate characters can be omitted, and operability and convenience can be improved.
[0031]
(3) Notification Processing The paste processing is executed as described above. In such paste processing, the text data of all the characters in the copy data buffer 25 may not match the attribute of the writing area. Further, there may be a case where data is not yet stored in the copy data buffer 25 when the user inputs the execution processing of the paste processing. In such a case, appropriate paste processing cannot be performed on the writing area, and thus the control unit 40 controls the output unit 30 to display the display. For example, it controls the output unit 30 to display character information indicating that there is no character to be pasted, or to notify this by voice. Thus, it is possible to inform the user that the proper paste processing has not been executed.
[0032]
Next, a specific flow of the paste processing and the notification processing will be described with reference to FIG.
[0033]
First, when the paste process is input by the user (S1), as an initial setting, the index (i) of the copy data buffer 25 is set to 0 and the write flag is set to OFF (S2). Here, the index (i) represents the address on the copy buffer 25 of the character to be processed among the characters stored in the copy buffer 25. That is, when the index (i) is initialized to 0, the text data stored at the address 0 of the copy data buffer 25, that is, the text data of the first character among the copied characters is set as the processing target. You.
[0034]
When the index (i) and the write flag are set in this way, it is next determined whether or not the text data of the character to be processed exists in the copy data buffer 25 (S3). Here, if No is determined, it is determined whether the text data stored at the address of the index (i) matches the attribute of the writing area (S4). The text data to be processed is written (S5), the write flag is set to ON (S6), and the copy data buffer index (i) is counted up by one (S7). On the other hand, if No is determined in the step S4, the copy data buffer index (i) is counted up by one in a step S7 without the text data of the address being pasted in the writing area.
[0035]
The paste processing in steps 4 to 7 is executed for text data of all characters stored in the copy data buffer 25 (S3). Then, when the paste processing for all the characters is completed, “Yes” is determined in the step S3, and it is determined here whether i = 0 or the write flag remains OFF. If i = 0, that is, if it is determined that the text data does not exist in the copy data buffer 25, a message to that effect is given to the user by an error sound or error message display (voice or image) in step S9. If it is determined in step S8 that i ≠ 0 but the write flag remains OFF, it is determined in step 9 that there is no text data matching the attribute of the write area. Is notified to the user by an error sound or an error message display.
[0036]
If No is determined in step S8, it is determined that the text data matching the attribute of the writing area has been pasted into the writing area, and the paste process is terminated.
[0037]
FIG. 3 shows an operation example of the paste processing. Here, the text data (copy data) stored in the copy data buffer 25 is “Yamakawa Kogyo ↓ (Yamakawa Kougyo) ↓ Co., Ltd.” as shown in the figure. “↓” is a line feed mark. When the process of pasting such copy data into a reading area (an area in which only the character code in the range of “0xa6” to “0xdf” of the shift JIS is permitted) is executed, only the half-width katakana “Yamakawa Kougyo” is displayed. It is cut out and this is pasted in the reading area. Also, a process of pasting such copy data into a mail title area (an area where character codes are in the range of "0xa6" to "0xdf" (half-width katakana) and "0x0d0a" (line feed mark) of shift JIS are refused to input). Is executed, only "Yamakawa Kogyo Co., Ltd." is cut out, and this is pasted in the mail title area.
[0038]
Therefore, in the present embodiment, unnecessary operations such as deleting or correcting a character that does not match the attribute of the writing area after pasting the character become unnecessary, and the operability and convenience of the apparatus can be improved. Become.
[0039]
Although the embodiment of the present invention has been described above, the present invention is not limited to the embodiment, and it goes without saying that various other modifications are possible. For example, in the above-described embodiment, an example of allowing or rejecting half-width katakana is given as an example of the attribute of the writing area. However, the present invention is not limited to this, and other attributes can be similarly applied. In addition, although one type of copy data is written to the copy data buffer 25, several types of copy data are stored in the copy data buffer 25 instead, and desired copy data is selected from the copy data and the write area is selected. You may paste it in In the above-described embodiment, the processing target includes parentheses and line feed marks in addition to character data, but it goes without saying that punctuation marks and punctuation marks are also targets. The present invention can be variously modified within the scope of technical ideas obvious to those skilled in the art.
[0040]
【The invention's effect】
As described above, according to the present invention, only the character data of the character corresponding to the attribute of the writing area is cut out from the character data or the copy data of the selection range and written into the writing area. Useless operations such as deleting or correcting characters that do not match the attributes of the writing area are not required, and the operability and convenience of the device can be improved.
[Brief description of the drawings]
FIG. 1 is a diagram showing a block configuration of an embodiment.
FIG. 2 is a flowchart showing specific processing according to the embodiment;
FIG. 3 illustrates an operation example of the embodiment.
[Explanation of symbols]
10 Input Unit 20 Editing Processing Unit 21 Text Processing Unit 22 Text Buffer 23 Attribute Data Buffer 24 Copy Paste Processing Unit 25 Copy Data Buffer 30 Output Unit 40 Control Unit 50 VRAM
60 display processing unit 61 font processing unit 62 text display processing unit

Claims (11)

文字データから所定の文字範囲のデータを選択する選択手段と、選択された各文字の属性と書き込み領域の入力許容文字の属性とを比較する比較手段と、当該比較手段による比較結果に応じて前記選択された文字範囲の文字データを前記書き込み領域に書き込む書き込み制御手段とを有し、前記書き込み制御手段は、前記選択された文字範囲の各文字の内、前記書き込み領域の入力許容文字の属性に整合する文字の文字データのみを前記書き込み領域に書き込むよう制御することを特徴とするデータ処理装置。Selecting means for selecting data within a predetermined character range from the character data; comparing means for comparing the attribute of each selected character with the attribute of an input-permitted character in the writing area; Writing control means for writing character data of a selected character range to the writing area, wherein the writing control means sets, among the characters of the selected character range, attributes of input-permitted characters of the writing area. A data processing device which controls so that only character data of matching characters is written in the writing area. 請求項1において、前記文字データは、句点、濁点あるいは改行マーク等のデータを含むことを特徴とするデータ処理装置。2. The data processing device according to claim 1, wherein the character data includes data such as a punctuation mark, a punctuation mark, and a line feed mark. 請求項1または2において、さらに、前記選択範囲の全ての文字の属性が前記書き込み領域の入力許容文字の属性に整合しない場合に、その旨をユーザに報知せしめる報知手段をさらに配したことを特徴とするデータ処理装置。3. The information processing device according to claim 1, further comprising a notifying unit for notifying a user when the attributes of all the characters in the selection range do not match the attributes of the input-permitted characters in the writing area. Data processing device. 請求項1〜3の何れかにおいて、前記選択手段は文字範囲を指定する入力手段と、当該指定された文字範囲の文字データを記憶する文字データ記憶手段とを含むことを特徴とするデータ処理装置。4. The data processing apparatus according to claim 1, wherein the selection unit includes an input unit that specifies a character range, and a character data storage unit that stores character data of the specified character range. . 請求項4において、前記記憶手段は、複数種類の文字範囲の文字データを記憶し得るものであり、前記選択手段は、かかる記憶手段に記憶された数種の文字データの内、所定のものを選択し得るものであることを特徴とするデータ処理装置。5. The storage device according to claim 4, wherein the storage unit is capable of storing character data of a plurality of types of character ranges, and the selection unit is configured to store a predetermined one of several types of character data stored in the storage unit. A data processing device characterized by being selectable. 請求項1〜5の何れかにおいて、前記比較手段は、書き込み領域の入力許容文字の属性を書き込み領域毎に記憶する属性記憶手段を含むことを特徴とするデータ処理装置。6. The data processing apparatus according to claim 1, wherein the comparing unit includes an attribute storing unit that stores an attribute of an input-permitted character of the writing area for each writing area. コピー領域に記憶された文字データを書き込み領域に書き込むデータ処理方法において、前記コピー領域に記憶された文字データの各文字について当該文字の属性と書き込み領域の入力許容文字の属性とを比較する比較ステップと、当該比較ステップによる比較結果に応じて当該各文字の文字データを前記書き込み領域に書き込む書き込み制御ステップとを有し、前記書き込み制御ステップは、前記コピー領域に記憶された文字データの内、前記書き込み領域の入力許容文字の属性に整合する文字の文字データのみを前記書き込み領域に書き込むよう制御することを特徴とするデータ処理方法。In a data processing method for writing character data stored in a copy area to a writing area, a comparing step of comparing, for each character of the character data stored in the copy area, the attribute of the character and the attribute of an input-permitted character in the writing area And a writing control step of writing the character data of each character to the writing area according to the comparison result by the comparison step, wherein the writing control step includes, among the character data stored in the copy area, A data processing method comprising controlling to write only character data of a character matching an attribute of an input allowable character of a writing area to the writing area. 請求項7において、前記文字データは、句点、濁点あるいは改行マーク等のデータを含むことを特徴とするデータ処理方法。8. The data processing method according to claim 7, wherein the character data includes data such as a period, a punctuation mark, and a line feed mark. 請求項7または8において、さらに、前記コピー領域に記憶された文字データの全ての文字が前記書き込み領域の入力許容文字の属性に整合しない場合に、その旨をユーザに報知せしめる報知ステップをさらに配したことを特徴とするデータ処理方法。9. A notifying step according to claim 7, further comprising the step of notifying a user when all the characters of the character data stored in the copy area do not match the attributes of the input-permitted characters in the writing area. A data processing method comprising: 請求項7〜9において、前記コピー領域は、複数種類の文字データを記憶し得るものであり、前記比較ステップは、かかるコピー領域に記憶された数種の文字データの内、ユーザによって指定されたものについて当該比較処理を実行することを特徴とするデータ処理方法。10. The copy area according to claim 7, wherein the copy area is capable of storing a plurality of types of character data, and the comparing step is performed when the user specifies one of several types of character data stored in the copy area. A data processing method characterized by performing the comparison processing for the data. コピー領域に記憶された文字データを書き込み領域に書き込むデータ処理方法において、前記コピー領域に記憶された文字データの各文字について当該文字の属性と書き込み領域の入力許容文字の属性とを比較する比較ステップと、当該比較ステップによる比較結果に応じて当該各文字の文字データを前記書き込み領域に書き込む書き込み制御ステップとを有し、前記書き込み制御ステップは、前記コピー領域に記憶された文字データの内、前記書き込み領域の入力許容文字の属性に整合する文字の文字データのみを前記書き込み領域に書き込むよう制御するデータ処理方法をコンピュータに実行させるプログラムを記録した記録媒体。In a data processing method for writing character data stored in a copy area to a writing area, a comparing step of comparing, for each character of the character data stored in the copy area, the attribute of the character and the attribute of an input-permitted character in the writing area And a writing control step of writing the character data of each character to the writing area according to the comparison result by the comparison step, wherein the writing control step includes, among the character data stored in the copy area, A recording medium storing a program for causing a computer to execute a data processing method of controlling writing of only character data of characters matching an attribute of an input allowable character in a writing area to the writing area.
JP19603099A 1999-07-09 1999-07-09 Data processing device, data processing method, and recording medium Expired - Lifetime JP3600071B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19603099A JP3600071B2 (en) 1999-07-09 1999-07-09 Data processing device, data processing method, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19603099A JP3600071B2 (en) 1999-07-09 1999-07-09 Data processing device, data processing method, and recording medium

Publications (2)

Publication Number Publication Date
JP2001022750A JP2001022750A (en) 2001-01-26
JP3600071B2 true JP3600071B2 (en) 2004-12-08

Family

ID=16351052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19603099A Expired - Lifetime JP3600071B2 (en) 1999-07-09 1999-07-09 Data processing device, data processing method, and recording medium

Country Status (1)

Country Link
JP (1) JP3600071B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5831571B2 (en) * 2014-02-24 2015-12-09 キヤノンマーケティングジャパン株式会社 Information processing apparatus, control method thereof, and program
JP6206463B2 (en) * 2015-10-29 2017-10-04 キヤノンマーケティングジャパン株式会社 Information processing apparatus, control method and program thereof, and information processing system, control method and program thereof

Also Published As

Publication number Publication date
JP2001022750A (en) 2001-01-26

Similar Documents

Publication Publication Date Title
US8554281B2 (en) Handheld electronic device including automatic selection of input language, and associated method
GB2399202A (en) Input of data from keyboard
JP2006331429A (en) Message correction method for mobile communication terminal and mobile communication terminal
US5359708A (en) Dynamic in a document processing system for dynamically locating format controls and determining formatting information in effect before and after each format control
JP3600071B2 (en) Data processing device, data processing method, and recording medium
JPS5913771B2 (en) Editing display method of display device
US20080045249A1 (en) Mobile terminal and method for sending short text message on mobile terminal
JP2638643B2 (en) Electronics
KR100394004B1 (en) Method for writing Characters in Mobile Terminal
KR101259113B1 (en) Mobile Communication Terminal and Character Displaying Method thereof
KR20050054666A (en) Method for using a emoticon made by user
JP4169436B2 (en) Mail data processing apparatus, mail data processing method and recording medium
KR20040110444A (en) Edit apparatus of input information using scree magnification function and method there of
KR101314606B1 (en) Mobile communication terminal and method for displaying information thereof
JPH0744299A (en) Character input device
JP3467318B2 (en) Document information processing apparatus and document information processing method
KR100560911B1 (en) Method for editing letter in mobile phone
JPH01144157A (en) Character processor
JPH03121562A (en) Document preparation device
JPH06236375A (en) Word processor and document proofreading method
JPH11149522A (en) Handwritten character input device and computer readable recording medium recorded with handwritten character input program
JPH06187346A (en) Word processor
JPH04354052A (en) Character processor
JPH04314166A (en) Document preparing device
JPH05257936A (en) Document preparing device

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: 20040907

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040915

R151 Written notification of patent or utility model registration

Ref document number: 3600071

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20070924

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20080924

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090924

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100924

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100924

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110924

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110924

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120924

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120924

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130924

Year of fee payment: 9

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term