JP4144911B2 - Editing processing method and document editing apparatus - Google Patents

Editing processing method and document editing apparatus Download PDF

Info

Publication number
JP4144911B2
JP4144911B2 JP22986196A JP22986196A JP4144911B2 JP 4144911 B2 JP4144911 B2 JP 4144911B2 JP 22986196 A JP22986196 A JP 22986196A JP 22986196 A JP22986196 A JP 22986196A JP 4144911 B2 JP4144911 B2 JP 4144911B2
Authority
JP
Japan
Prior art keywords
character
screen
line drawing
end point
marker
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
JP22986196A
Other languages
Japanese (ja)
Other versions
JPH1074196A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP22986196A priority Critical patent/JP4144911B2/en
Publication of JPH1074196A publication Critical patent/JPH1074196A/en
Application granted granted Critical
Publication of JP4144911B2 publication Critical patent/JP4144911B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、文字(文章)を表示する画面と線画(図形)を表示する画面とを同時に重ねて表示し且つ編集することが可能に構成された文書編集装置における編集処理方法及び文書編集装置に関し、文字と線画とが混在した文書を作成し編集する装置、いわゆるワードプロセッサや図形エディタと呼称される装置などに利用される。
【0002】
一般に、文書編集装置において、文字の位置は文字画面における文章中の行と列の位置で表される。これは、文字の位置を線画画面の二次元座標とは別のテキスト座標系で表したもの言える。このように独立した座標系を持つ文字と線画とを同一の画面に同時に表示する場合に、文字と線画との間で座標の対応付けを行なう必要がある。
【0003】
近年において、文章の一部に手書きで下線を引いてコメントを付け、又は文章の注目すべき部分に手書きで円を描くなど、文字画面上に線画を手書きで入力することが普及している。このような場合には、文字と線画との相対的な位置関係が重要な意味を持つ。もし両者の位置関係が異なって表示された場合には、線画を入力した本来の意味が失われ、誤った表現又は誤った文章となってしまう。そのような不都合の生じない文書編集装置の出現が望まれている。
【0004】
【従来の技術】
従来より、文字と線画を同一の画面で同時に表示可能な文書編集装置は数多く存在する。それらは、例えばマウスを使って線画を入力することが可能であり、キーボードで入力した文字との共存が可能である。マウスの代わりにタブレットとスタイラスペンを用いて線画を入力することにより、文字と筆跡とを共存させることのできる文書編集装置も存在する。
【0005】
このような文書編集装置では、線画を表示するために用いる二次元座標系によって、文字の配置位置を表現する。また、文字を表示する行と列が予め設定され、且つ線画を表示するための座標系が対応付けられているものもある。いずれも、文字を表示する領域全体の位置が線画を表示するための座標系に対応付けられている。しかしこのような文書編集装置では、文字全体と線画の座標が対応付けられているのであって、文字画面中の個々の行や文字との対応付けが行われているわけではない。
【0006】
また、従来の文書編集装置において、「アンカー」と呼称される機能を有するものがある。これは、文章中の行に錨のマークを付け、錨のマークと線画との相対位置を保存する機能である。錨のマークは文章の編集にともなって移動するため、線画も文章の移動に対応して移動する。なお、この錨のマークは編集時だけに表示されるものであり、印刷時には印刷されない。
【0007】
【発明が解決しようとする課題】
上述のように、従来の文書編集装置では、文字と線画との位置関係が行単位で対応付けられており、文字単位では対応付けられていない。したがって、錨のマークが付された行中に文字を挿入し又は削除することによって線画に対応すべき文字の位置がずれた場合には、線画との位置関係がずれてしまって表示が対応しなくなる。
【0008】
この問題を解決するために、錨のマークを行単位ではなく文字単位で設定することが考えられる。しかし、この場合であっても次のような問題が生じる。
すなわち、図17(A)に示すように「手書きコメント」という文字列(文章)CH81に下線UL81を引いた場合には、下線UL81の始端部に錨のマークが付され、これによって文字列CH81と下線UL81との位置の対応付けが行われる。
【0009】
ところが、図17(A)に示す「手書きコメント」という文字列CH81が、図17(B)に示すように「手書き下線」という文字列CH82に修正された場合に、修正後の文字列CH82は修正前の文字列CH81よりも短くなったにも係わらず、下線UL81の長さは一定であるので、下線UL81が「手書き下線」からはみ出して「の例」の部分まで引かれている。これは明らかに操作者の意思に沿わない状態であり不適当である。
【0010】
このように、文字と線画との対応関係は、単に文字単位での位置関係が対応付けられただけでは充分ではない。特に手書きコメントの場合は、文字列の上にコメントが重ねて書き込まれる場合が多く、文字と線画との対応を崩さないことが肝要である。
【0011】
本発明は、上述の問題に鑑みてなされたもので、文字の挿入又は削除などによって線画に対応すべき文字の長さが変わった場合であっても、文字と線画との位置関係の対応を維持することのできる編集処理方法及び文書編集装置を提供することを目的とする。
【0012】
【課題を解決するための手段】
請求項1の発明に係る方法は、文字を表示する画面と線画を表示する画面とを同時に重ねて表示し且つ編集することが可能に構成された文書編集装置における編集処理方法であって、画面に表示された文字に対して手書きで入力された線画をベクトルデータとして記憶しておき、前記線画の画面上の位置を、前記線画の始端点及び終端点の2点について画面上に表示される特定の文字の位置であって前記2点それぞれの特定の文字の位置との位置関係を用いて記憶しておき、画面に表示される文字の編集によって前記特定の文字の位置が変更されたときに、それに応じて変更される前記始端点及び前記終端点の位置を前記位置関係に基づいて求め、求めた前記始端点及び前記終端点の位置に応じて、記憶された前記ベクトルデータを用いて前記線画を変形し、変形された線画を前記始端点と前記終端点との間にわたって表示する。
【0013】
請求項2の発明に係る方法は、文字を表示する画面と線画を表示する画面とを同時に重ねて表示し且つ編集することが可能に構成された文書編集装置における編集処理方法であって、画面に表示された文字に対して手書きで入力された線画をベクトルデータとして図形データ記憶部に記憶しておき、前記線画の画面上の位置を、前記線画の始端点及び終端点の2点について画面上に表示される特定の文字の位置であって前記2点それぞれの特定の文字の位置との位置関係を用いて記憶しておき、画面に表示される文字の編集によって前記特定の文字の位置が変更されたときに、それに応じて変更される前記始端点及び前記終端点の位置を前記位置関係に基づいて求め、求めた前記始端点及び前記終端点の位置に応じて、前記図形データ記憶部に記憶された前記ベクトルデータを用いて各中間点をその位置に応じて均等に移動させることによって前記線画を変形し、変形された線画を前記始端点と前記終端点との間にわたって表示する
請求項3の発明に係る装置は、画面に表示された文字に対して手書きで入力された線画をベクトルデータとして記憶する図形データ記憶部と、前記線画の画面上の位置を、前記線画の始端点及び終端点の2点について画面上に表示される特定の文字の位置であって前記2点それぞれの特定の文字の位置との位置関係を用いて記憶する位置関係記憶手段と、画面に表示される文字の編集によって前記特定の文字の位置が変更されたときに、それに応じて変更される前記始端点及び前記終端点の位置を前記位置関係に基づいて求め、求めた前記始端点及び前記終端点の位置に応じて、前記図形データ記憶部に記憶された前記ベクトルデータを用いて該当する線画を変形する変形処理手段と、変形された前記線画を、前記位置関係にしたがった画面上の位置に表示する線画表示手段と、を有して構成される。
【0014】
請求項4の発明に係る装置は、1つ又は複数の文字によって構成される文字画面と1つ又は複数の線画によって構成される線画画面とを同時に重ねて表示し且つ編集することが可能に構成された文書編集装置であって、画面に表示された文字に対して手書きで入力された線画をベクトルデータとして記憶する図形データ記憶部と、前記線画の画面上の位置を、前記線画の始端点及び終端点の2点について前記文字画面上に表示されるそれぞれ2つの特定の文字の位置との位置関係を用いて記憶する位置関係記憶手段と、前記文字画面に表示される文字の編集によって前記特定の文字の位置が変更されたときに、それに応じて変更される前記始端点及び前記終端点の位置を前記位置関係に基づいて求め、求めた前記始端点及び前記終端点の位置に応じて、前記図形データ記憶部に記憶された前記ベクトルデータを用いて該当する線画を変形する変形処理手段と、変形された前記線画を、前記位置関係にしたがった画面上の位置に表示する線画表示手段と、を有し、前記位置関係記憶手段には、前記2つの特定の文字を示すポインタと、前記2つの特定の文字間の境界位置についての前記線画画面での座標系における座標位置とをそれぞれ記憶する2つの文字マーカーデータと、前記線画を識別するための線画識別データと、前記文字マーカーデータを識別するためのマーカー識別データと、前記文字マーカーデータに記憶される座標位置から前記始端点または前記終端点までの距離を示す距離データとをそれぞれ記憶する2つの線画マーカーデータと、が記憶されて構成される。
【0015】
本発明による編集処理方法を、図1にしたがって説明する。
図1(B)は、図1(A)に示す文字列CH1の中の「テスト」という文字列CH2に手書きの下線UL1を引いた状態を示している。下線UL1を引くことにより、下線UL1の始端点PEsと終端点PEeとに近い位置であって文字と文字との中間に文字マーカーMC1,2が生成される。
【0016】
一方の文字マーカーMC1は、下線UL1の始端点PEsとの位置関係を対応付けて記憶しておくものであり、他の一方の文字マーカーMC2は、下線UL1の終端点PEeとの位置関係を対応付けて記憶しておくものである。これらの文字マーカーMCは、その両側にある2つの文字とのそれぞれの位置関係を示すポインタを有している。つまりここでは、文字マーカーMCの両側の2つの文字が本発明の「特定の文字」に対応し、始端点PEs及び終端点PEeが本発明の「特定の2点」に対応する。
【0017】
図1(C)に示すように、文字列CH2「テスト」が文字列CH3「試験」に変更されたときには、文字マーカーMC2の位置は1文字分左に移動する。
下線UL2は、その始端点PEsが文字マーカーMC1と、終端点PEeが文字マーカーMC2と、それぞれ位置関係が対応付けられているので、その位置関係に応じて表示される。
【0018】
その際に、始端点PEsと終端点PEeとの間の距離が1文字分短くなったのに合わせるため、下線UL1を短縮する変形処理が行われる。
【0019】
【発明の実施の形態】
図1は本発明に係る編集処理方法を説明するための図である。
なお、図1は図示しない文書編集装置の画面に表示された文字列CH及び下線UL1を示すものであるが、図1において文字毎に表示された四角形の枠は文字マーカーMCの位置を説明するためのものであり、実際には画面に表示されるものではない。また文字マーカーMCも画面には表示されない。
【0020】
図1(A)に示すように、「これはテストです」という文字列CH1が画面に表示されている。図1(B)は、文字列CH1の中の「テスト」という文字列CH2に手書きの下線UL1を引いた状態を示している。下線UL1を引くことにより、下線UL1の始端点PEsと終端点PEeとに近い位置であって文字と文字との中間に文字マーカーMC1,2が生成される。
【0021】
一方の文字マーカーMC1は、下線UL1の始端点PEsとの位置関係を対応付けて記憶しておくものであり、他の一方の文字マーカーMC2は、下線UL1の終端点PEeとの位置関係を対応付けて記憶しておくものである。これらの文字マーカーMCは、その両側にある2つの文字とのそれぞれの位置関係を示すポインタを有しており、したがって両側にある2つの文字の位置と対応付けられている。
【0022】
なお、文字列CH1のデータ、文字マーカーMC1,2のデータ、下線UL1のデータ、及び始端点PEs並びに終端点PEeのデータは、文書編集装置の編集メモリ領域に記憶される。
【0023】
そこで、図1(C)に示すように、文字列CH2「テスト」が文字列CH3「試験」に変更されたときには、文字マーカーMC1の位置に変更はないが、文字マーカーMC2の位置は1文字分左に移動する。
【0024】
つまり、文字マーカーMC1は文字列CH2の最初の文字である「テ」及びその前の「は」と対応付けられ、文字マーカーMC2は文字列CH2の最後の文字である「ト」及びその後の「で」と対応付けられているので、文字列CH2「テスト」が文字列CH3「試験」に変更された後では、文字マーカーMC1は文字列CH3の最初の文字である「試」及びその前の「は」と対応付けられ、文字マーカーMC2は文字列CH3の最後の文字である「験」及びその後の「で」と対応付けられることとなる。
【0025】
そして、下線UL2は、その始端点PEsが文字マーカーMC1と、終端点PEeが文字マーカーMC2と、それぞれ位置関係が対応付けられているので、その位置関係に応じて表示される。その際に、文字マーカーMC2の位置が1文字分左に移動し、その結果、始端点PEsと終端点PEeとの間の距離が1文字分短くなったので、下線UL2の長さをそれに合わせるため、下線UL1を均等に短縮する変形処理が行われる。下線UL1の変形処理に当たっては、公知の種々の処理が行われるが、例えば下線UL1がベクトルデータとして記憶されている場合には、下線UL1の特徴点を位置の割合に応じて移動させる。
【0026】
このように、文字列CH2「テスト」を文字列CH3「試験」に変更した場合に、図1(C)に示されるように、下線UL1は短縮されて下線UL2となり、文字列CH3「試験」に対応して正しく引かれることとなる。
【0027】
図2は本発明に係る編集処理方法の他の例を説明するための図である。図2においては、文字の位置を表す枠を削除した。文字マーカーMCは小三角形で示した。
【0028】
図2(A)に示すように、文字列CH1c「これは手書きコメントの例です」が画面に表示されている。図2(B)に示すように、その中の文字列CH4「手書きコメント」に下線UL3が引かれると、下線ULの始端点及び終端点にそれぞれ近い位置に文字マーカーMC3,4が生成される。文字列CH4「手書きコメント」が図2(C)に示すように文字列CH5「手書き下線」に変更されたときには、文字マーカーMC4の位置が移動し、その位置に対応して下線UL3が短縮され、下線UL4が文字列CH5「手書き下線」に対応して引かれる。
【0029】
図3は本発明に係る編集処理方法の他の例を説明するための図である。
図3(A)に示すように、文字列CH1d「これは手書きコメントの例です」が画面に表示されている。図3(B)に示すように、その中の文字列CH6,7,8「手書きコメントの例」にそれぞれ下線UL5,6,7が引かれると、それぞれの下線ULの始端点及び終端点にそれぞれ近い位置に文字マーカーMC5,6,7,8が生成される。文字列CH8「の例」が図3(C)に示すように削除されたときには、文字マーカーMC8と文字マーカーMC0との位置が重なる。したがって、下線UL7は無くなり、他の下線UL5,6が残った文字列CH6,7「手書きコメント」に対応して引かれる。
【0030】
このように、1本の連続した下線であっても、その形態が大きく異なる場合には、それぞれ別々の下線として処理することが可能である。
図4は本発明に係る編集処理方法の他の例を説明するための図である。
【0031】
図4(A)に示すように、文字列CH1f「これは手書きコメントの例です」が画面に表示されている。図4(B)に示すように、その中の文字列CH9「手書きコメント」に下線UL8が引かれると、下線UL8の始端点及び終端点にそれぞれ近い位置に文字マーカーMC9,10が生成される。図4(C)に示すように、文字列CH1fに文字列CH10「文章が改行した場合の」が挿入され且つ改行されることによって、2行の文字列CH1gとなったとする。そうすると、それに応じて文字マーカーMC9,10の位置が左右方向に移動し且つ文字マーカーMC10は行位置が移動するが、下線UL8の始端点及び終端点との対応関係が変わらないので、下線UL8は2行に別れた文字列CH9「手書きコメント」に対応して正しく引かれる。
【0032】
次に、文書編集装置1の実施形態について説明する。
図5は本発明に係る文書編集装置1のブロック図、図6はテキストデータ記憶部24に記憶されるテキストデータのセルCLの構成を示す図、図7は文字マーカーMCの構成を示す図、図8はマーカー移動情報DMMの構成を示す図、図9は図形マーカーMFの構成を示す図である。
【0033】
文書編集装置1は、文字からなるテキストデータを編集するテキスト編集部11、図形データ(線画データ)を編集する図形編集部12、及び文字によって構成される文字画面と図形(線画)によって構成される図形画面とを同時に重ねて表示することが可能な表示部13からなる。
【0034】
テキスト編集部11では、文書中のテキスト部分の編集のみを行なう。図形編集部12では図形のみの編集を行う。テキスト編集部11及び図形編集部12において編集された結果得られるイメージデータが表示部13に出力され、同一の画面上に重ね合わせて表示される。文字画面と図形画面との重ね合わせ方は、表示部13が持っている位置関係のデータに基づいて決定される。
【0035】
テキスト編集部11には、入力部21、テキスト削除挿入部22、ポインタ操作部23、テキストデータ記憶部24、ポインタ記憶部25、及び文字マーカー記憶部26などが設けられている。
【0036】
入力部21は、図示しないキーボード又はマウスの操作に基づいて、ポインタ移動、文字削除、文字挿入などの種々の指令を出力する。また、文字挿入時には、挿入する文字のコードを出力する。例えば、キーボードの英数字、記号などの文字キーが押された場合にはその文字のコードを出力し、矢印キーが押された場合にはポインタ位置を移動する指令を出力し、削除キーが押された場合には文字を削除する指令を出力する。
【0037】
テキストデータ記憶部24には、テキストデータが記憶されている。テキストデータは、少なくとも編集中においては、文字の1つ1つが図6に示すセルCLに記憶される。図6において、セルCLは、データ内容DCT、前のセルのアドレスを示すポインタPTB、後のセルのアドレスを示すポインタPTAからなる。
【0038】
つまり、テキストデータ記憶部24に記憶されたテキストデータの中で、編集の対象となっている文字の位置はポインタとしてポインタ記憶部25に記憶されている。ポインタ記憶部25に記憶されるポインタは、例えば「テキスト中の第n文字目」というように、文章中の位置を示すデータである。通常、ポインタは画面上のカーソルの位置で表現される。テキストデータの編集はこのポインタを参照して行なわれる。
【0039】
テキストデータの編集は、ポインタが示す位置の文字を削除する処理、又はその位置に新たな文字を挿入する処理など、種々の処理を順次実行することによって行なわれる。どのような処理を行なうかは入力部21からの指令による。
【0040】
また、テキストデータ中のポインタの位置も、入力部21からの指令によって変更することができる。ポインタの位置の変更は、ポインタ操作部23によってポインタ記憶部25に記憶されたポインタの値を変更することによって行なわれる。
【0041】
図形編集部12には、入力部31、図形削除挿入移動部32、ポインタ操作部33、図形データ記憶部34、ポインタ記憶部35、図形変形移動部36、及び図形マーカー記憶部37などが設けられている。
【0042】
入力部31には、図示しないスタイラスペン及びタブレットのような座標入力デバイス、マウス、キーボードなどが接続されている。入力部31は、これらの操作に基づいて、ポインタ移動、図形削除、図形挿入、図形移動などの種々の指令を出力する。
【0043】
図形編集部12における図形データの編集の原理はテキスト編集部11と同様である。図形データ記憶部34には、図形データが例えばベクトルデータとして記憶されている。それぞれの図形データには、当該図形を識別するための図形ID(IDF)が付されている。図形データ記憶部34に記憶された図形データの中で編集の対象になっている図形の位置が、ポインタ記憶部35に記憶されたポインタで示されている。入力部31から入力された指令にしたがって、そのデータの削除、挿入、移動などの編集処理を行なう。
【0044】
図形編集部12において、テキスト編集部11の処理と相違する部分がいくつかある。例えば、ポインタ記憶部35に記憶されているポインタは編集対象の位置であるが、ここには図形が描かれている平面上の二次元座標が格納される。また、図形データ記憶部34に記憶された図形データは、直線、曲線、多角形、円など、各々が纏まった図形オブジュエクトの集合で表されている。各図形オブジェクトには、二次元座標上の位置が決められている。
【0045】
例えば、図形が三角形である場合に、その図形の左上の点がこの図形オブジェクトの全体の位置を代表する点である。また図形が線である場合に、その図形の左端の点がこの図形オブジェクトの全体の位置を代表する点である。ポインタ記憶部35に記憶されたポインタの座標点が、いずれかの図形オブジェクトの位置と一致している場合に、そのポインタは位置が一致した図形オブジェクトを示す。もし、位置が一致する図形オブジェクトが存在しなければ、ポインタは座標点そのものを示す。
【0046】
入力部31から図形の削除又は移動の指令が出力された場合に、ポインタ記憶部35に記憶されたポインタが指している図形オブジェクトを削除又は移動させる。ポインタが何も示していない場合は何もしない。入力部31から図形の挿入の指令が出力された場合には、ポインタが示す座標位置に、指示された図形が挿入される。これらのデータ編集処理は、図形削除挿入移動部32によって行われる。ポインタ移動のキーが押された場合には、ポインタ操作部33によって、座標入力デバイスが指示した位置にポインタが移動する。
【0047】
文書編集装置1における上述の構成要素及び処理内容は、公知の文書編集装置と同様である。次に、本発明に係る編集処理方法に特有の処理について説明する。
【0048】
本実施形態の文書編集装置1には、本発明に係る編集処理を行うために、文字マーカー記憶部26、図形マーカー記憶部37、及び図形変形移動部36が特に設けられており、テキスト編集部11から図形編集部12に対してマーカー移動情報DMMを渡すようになっている。
【0049】
テキスト編集部11において、文字マーカー記憶部26は、文字と図形との位置関係を規定するための文字マーカーMCを記憶する。テキスト文書が編集された場合に、文字マーカーMCの位置が変更される場合があるので、その場合に、文字マーカー記憶部26から図形編集部12の図形変形移動部36に対してマーカー移動情報DMMが出力される。
【0050】
図7に示すように、文字マーカーMCは、データ内容DCT、前のセルのアドレスを示すポインタPTB、後のセルのアドレスを示すポインタPTA、テキスト座標系における文字マーカーMCの位置を示す行及び列の番号VLC、二次元座標系における文字マーカーMCの位置を示す座標VCDからなる。つまり、文字マーカーMCの基本的な構成はテキストデータにおける各文字のセルCLと同じ構成であり、それに行及び列の番号VLC及び座標VCDが付加されている。文字マーカーMCは、テキストデータを表示した画面で図形を書き込むことにより、図形の基準点(特定の点)に近い文字と文字との中間に自動的に生成される。
【0051】
このように、文字マーカーMCが2つの文字の中間に設けられ、それぞれの文字と関連付けられているのは、1つの文字とのみ関連付けた場合にはその文字が削除されたときに文字マーカーMCの位置が失われてしまうからである。
【0052】
図8に示すように、マーカー移動情報DMMは、関連する文字マーカーMCを識別するための文字マーカーID(IDC)、移動前の文字マーカーMCの座標VCE、及び移動後の座標VCFからなる。
【0053】
図形編集部12において、図形変形移動部36は、マーカー移動情報DMMと図形マーカー記憶部37に記憶されている図形マーカーMFとを比較し、文字マーカーMCの座標VCDを移動後の座標VCFに再設定する。さらに、文字マーカーMCの位置の変更によって変形又は移動すべき図形があるか否かを調べ、必要に応じて既存の図形を移動し又は変形する。
【0054】
図9に示すように、図形マーカーMFは、関連する図形を識別するための図形ID(IDF)、関連する文字マーカーMCを識別するための文字マーカーID(IDC)、文字マーカーMCと図形の基準点との間の距離を示す距離DST、及び関連する文字マーカーMCの座標VCDからなる。
【0055】
次に、図形編集部12における図形の移動変形処理及び図形が下線である場合の伸縮処理の例について、図10及び図11に示すフローチャートを参照して説明する。
【0056】
まず、マーカー移動情報DMMを入力する(#11)。マーカー移動情報DMMに基づいて、移動した文字マーカーMCをリストアップする。移動した文字マーカーMCに関連する図形は、それにともなって移動され又は変形される。そこで、移動又は変形の処理を行うべき図形をリストアップする(#12)
1つの図形に対して複数の文字マーカーMCが存在する場合には、複数の文字マーカーMCの間の位置関係が変化した場合に図形の変形が起きる。そこで、1つの図形に関連する複数の文字マーカーMCの位置関係の変化を検出し(#13,14)、必要に応じて図形を変形する(#15)。また必要に応じて図形の全体の位置を移動させる(#16)。
【0057】
伸縮処理においては、まず関連する複数の文字マーカーMC間の行番号をチェックし(#21,22)、行番号の差が変化していればテキストデータの編集によって文章が折り返されたと判断し、その文章に関連付けられた下線を同様に折り返す(#23)。
【0058】
また、複数の文字マーカーMCの間において、文章の行方向における間隔の変化の有無をチェックし(#24)、変化があればそれに応じて下線を伸縮させる(#25)。
【0059】
なお、文字列CHが途中で折り返されたか否かつまり改行されたか否かは、文字マーカーMCの座標VCDのy座標を調べれば分かる。同じ行にある場合にはy座標が同じであるからである。また、y座標の差を調べることによって、下線ULの途中で行が何回折り返されたかが分かる。
【0060】
行が折り返された場合に、2つの文字マーカーMCの間隔(x座標の差)は、単にx座標の値のみでは計算できない。例えば、始端点PEsが終端点PEeよりも右側にある場合には、単にx座標の差を取るとマイナスの値になる。したがって、折り返される以前のx座標の差に、文章の一行の幅を折り返しの数だけ足すことにより、正しいx座標の差が求められる。そうして求めたx座標の変化にしたがって下線ULの長さを伸縮し、それを始端点PEsの文字マーカーMCの位置に合わせる。次に、行が折り返された位置で下線ULを切り、次の行の先頭に残りの部分を移動する。これを必要に応じて繰り返す。
【0061】
また、図形が下線であるか否かは、操作者からの指令に基づいて決定されるが、自動的に判別するようにしてもよい。
次に、図1に示す文書編集処理が行われた場合について、文書編集装置1における処理の具体例を説明する。
【0062】
図12は図1(B)に示す文字列CH1についてのセルCL1及び文字マーカーMC1,2の例を示す図、図13は図12における文字マーカーMC1,2と下線UL1との位置関係を示す図、図14は移動前後の図形マーカーMF2の内容の例を示す図、図15は移動後の文字マーカーMC2の内容の例を示す図、図16はマーカー移動情報DMM1の内容の例を示す図である。
【0063】
図12に示すように、画面には、「これはテストです」という文字列CH1が表示されており、「テスト」という文字列CH2に手書きの下線UL1が引かれている。下線UL1を引くことにより、下線UL1の始端点PEsと終端点PEeとに近い位置であって文字と文字との中間に2つの文字マーカーMC1,2が生成されている。また、2つの図形マーカーMF1,2が生成されている。
【0064】
なお、文字列CH1は、1つの独立した文章として管理されており、この文字列CH1内における最初の文字は第1行第1列とされる。また、ここでは、1文字が16×16ドットで構成されているとし、文字間の間隔はあけないものとする。
【0065】
文字マーカーMC1は、文字「は」と「テ」との間に位置しており、文字マーカーMC2は文字「ト」と「で」との間に位置している。文字「は」についてのセルCL1は、データ内容DCTに「は」のコードデータが、ポインタPTBに「れ」のセルCLを示すアドレスが、ポインタPTAに文字マーカーMC1を示すアドレスが、それぞれ記憶されている。
【0066】
文字マーカーMC1は、データ内容DCTに文字マーカーMC1であることを示すデータが、ポインタPTBに「は」のセルCLを示すアドレスが、ポインタPTAに「テ」のセルCLを示すアドレスが、行及び列の番号VLCに第1行第3列を示す「1,3」が、座標VCDに「48,16」が、それぞれ記憶されている。
【0067】
また、文字マーカーMC2は、データ内容DCTに文字マーカーMC2であることを示すデータが、ポインタPTBに「ト」のセルCLを示すアドレスが、ポインタPTAに「で」のセルCLを示すアドレスが、行及び列の番号VLCに第1行第6列を示す「1,6」が、座標VCDに「96,16」が、それぞれ記憶されている。つまり、文字マーカーMC1,2のそれぞれの座標VCDは、それぞれの両側の文字の境界部分の下端点の座標である。
【0068】
図13に示すように、下線UL1は、その始端点PEsと終端点PEeとの間において、幾つかの中間点PMを有するベクトルデータで表される。2つの図形マーカーMF1,2には、始端点PEsと文字マーカーMC1の座標VCDとの距離DST(dx,dy)、又は終端点PEeと文字マーカーMC2の座標VCDとの距離DST(dx,dy)が記憶される。
【0069】
例えば、図14(A)に示すように、図形マーカーMF2には、図形IDに下線UL1を識別するデータが、文字マーカーIDに文字マーカーMC2を識別するデータが、距離DSTに終端点PEeと文字マーカーMC2の座標VCDとの距離を表す座標が、座標VCDに文字マーカーMC2の座標が、それぞれ記憶されている。
【0070】
ここで、文字列CH2「テスト」が文字列CH3「試験」に変更された場合には、文字マーカーMC1は移動しないが、文字マーカーMC2は移動する。文字マーカーMC2が移動すると、その内容は図15に示すように変更される。
【0071】
また、文字マーカーMC2の移動にともなって、図16に示すマーカー移動情報DMM1が出力される。このマーカー移動情報DMM1によって、図形マーカーMF2の座標VCDが、図14(B)に示すように変更される。
【0072】
図形マーカーMF2が変更されると、その変更内容にしたがって、下線UL1の長さを短縮する処理が行われる。短縮の処理は、下線UL1の終端点PEeの移動に対応して、各中間点PMをその位置に応じて均等に移動させることによって行われる。短縮された下線UL2は図形データ記憶部34に記憶され、且つ、上述のように変更されたデータに基づいて、図1(C)に示されるように画面に表示される。
【0073】
上述の実施形態の文書編集装置1によると、文字の挿入又は削除などによって下線ULに対応すべき文字列CHの長さが変わった場合であっても、文字と下線ULとの位置関係の対応を図ることができ、操作者が下線ULを引く際に本来意図していた状態が維持される。
【0074】
したがって、手書きの下線ULを文書中で使用する際の利便性の向上が図られ、手書きイメージの電子化文書での利用の拡大及び文書編集装置のヒューマンイタフェースの向上が図られる。
【0075】
上述の実施形態において、下線UL1の始端点PEs及び終端点PEeをベクトルデータの始点と終点と一致させたが、下線ULを含む矩形領域の左上端及び右上端と一致させるようにしてもよい。その他、文書編集装置1の各部又は全体の構成、処理内容又は順序、各データの構成、内容、表示方法などは、本発明の主旨に沿って適宜変更することができる。
【0076】
【発明の効果】
請求項1乃至請求項4の発明によると、文字の挿入又は削除などによって線画に対応すべき文字の長さが変わった場合であっても、文字と線画との位置関係の対応を維持することができる。
【0077】
したがって、操作者が線画を書く際に本来意図していた状態が維持され、操作者の意思に沿わない状態の発生することが防止されるとともに、線画の修正などの作業が不要となるので操作性に優れる。
【図面の簡単な説明】
【図1】本発明に係る編集処理方法を説明するための図である。
【図2】本発明に係る編集処理方法の他の例を説明するための図である。
【図3】本発明に係る編集処理方法の他の例を説明するための図である。
【図4】本発明に係る編集処理方法の他の例を説明するための図である。
【図5】本発明に係る文書編集装置のブロック図である。
【図6】テキストデータ記憶部に記憶されるテキストデータのセルの構成を示す図である。
【図7】文字マーカーの構成を示す図である。
【図8】マーカー移動情報の構成を示す図である。
【図9】図形マーカーの構成を示す図である。
【図10】図形の移動変形処理の例を示すフローチャートである。
【図11】図形の伸縮処理の例を示すフローチャートである。
【図12】図1(B)に示す文字列についてのセル及び文字マーカーの例を示す図である。
【図13】図12における文字マーカーと下線との位置関係を示す図である。
【図14】移動前後の図形マーカーの内容の例を示す図である。
【図15】移動後の文字マーカーの内容の例を示す図である。
【図16】マーカー移動情報の内容の例を示す図である。
【図17】従来の編集処理方法を説明する図である。
【符号の説明】
1 文書編集装置
13 表示部(線画表示手段)
26 文字マーカー記憶部(位置関係記憶手段)
36 図形変形移動部(変形処理手段)
37 図形マーカー記憶部(位置関係記憶手段)
CH 文字列(文字)
MC 文字マーカー(文字マーカーデータ)
PTB,PTA ポインタ
VCD 座標(座標位置)
UL 下線(線画)
MF 図形マーカー(線画マーカーデータ)
IDC 文字マーカーID(マーカー識別データ)
IDF 図形ID(線画識別データ)
DST 距離(距離データ)
PEs 始端点
PEe 終端点
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an editing processing method and a document editing apparatus in a document editing apparatus configured to simultaneously display and edit a screen for displaying characters (sentences) and a screen for displaying line drawings (graphics). It is used in a device for creating and editing a document in which characters and line drawings are mixed, such as a device called a word processor or a graphic editor.
[0002]
Generally, in a document editing apparatus, the position of a character is represented by the position of a line and a column in a sentence on a character screen. This can be said to represent the character position in a text coordinate system different from the two-dimensional coordinates of the line drawing screen. When characters and line drawings having independent coordinate systems are displayed on the same screen at the same time, it is necessary to associate coordinates between the characters and line drawings.
[0003]
In recent years, it has become widespread to input a line drawing on a character screen by handwriting, such as drawing a comment by underlining a part of a sentence by hand, or drawing a circle by handwriting on a noticeable part of the sentence. In such a case, the relative positional relationship between the character and the line drawing is important. If the positional relationship between the two is displayed differently, the original meaning of the line drawing input is lost, resulting in an incorrect expression or an incorrect sentence. The appearance of a document editing apparatus that does not cause such inconvenience is desired.
[0004]
[Prior art]
Conventionally, there are many document editing apparatuses that can simultaneously display characters and line drawings on the same screen. They can input line drawings using a mouse, for example, and can coexist with characters input with a keyboard. There is also a document editing apparatus that allows characters and handwriting to coexist by inputting a line drawing using a tablet and a stylus pen instead of a mouse.
[0005]
In such a document editing apparatus, the arrangement position of characters is expressed by a two-dimensional coordinate system used for displaying a line drawing. In some cases, rows and columns for displaying characters are set in advance, and coordinate systems for displaying line drawings are associated with each other. In any case, the position of the entire area for displaying characters is associated with a coordinate system for displaying a line drawing. However, in such a document editing apparatus, the coordinates of the entire character and the line drawing are associated with each other, and are not associated with individual lines or characters on the character screen.
[0006]
Some conventional document editing apparatuses have a function called “anchor”. This is a function that puts a マ ー ク mark on a line in a sentence and saves the relative position between the マ ー ク mark and a line drawing. Since the マ ー ク mark moves as the text is edited, the line drawing also moves in response to the movement of the text. This haze mark is displayed only during editing and is not printed during printing.
[0007]
[Problems to be solved by the invention]
As described above, in the conventional document editing apparatus, the positional relationship between characters and line drawings is associated with each other in units of lines, but not in units of characters. Therefore, if the position of the character that should correspond to the line drawing is shifted by inserting or deleting the character in the line marked with a 錨 mark, the positional relationship with the line drawing is shifted and the display corresponds. Disappear.
[0008]
In order to solve this problem, it is conceivable to set the マ ー ク mark not in units of lines but in units of characters. However, even in this case, the following problems arise.
That is, as shown in FIG. 17A, when an underline UL81 is drawn on a character string (sentence) CH81 of “handwritten comment”, a wrinkle mark is attached to the starting end portion of the underline UL81, thereby the character string CH81. And the underline UL81 are associated with each other.
[0009]
However, when the character string CH81 “handwritten comment” shown in FIG. 17A is corrected to the character string CH82 “handwritten underline” as shown in FIG. 17B, the corrected character string CH82 is Although the length of the underline UL81 is constant despite being shorter than the character string CH81 before correction, the underline UL81 extends beyond the “handwritten underline” to the “example” part. This is clearly unsuitable for the operator's will.
[0010]
As described above, it is not sufficient that the correspondence between the characters and the line drawing is simply associated with the positional relationship in units of characters. In particular, in the case of handwritten comments, comments are often overwritten on a character string, and it is important not to break the correspondence between characters and line drawings.
[0011]
The present invention has been made in view of the above-described problem. Even when the length of a character that should correspond to the line drawing is changed due to insertion or deletion of the character, the correspondence between the positional relationship between the character and the line drawing is achieved. It is an object of the present invention to provide an editing processing method and a document editing apparatus that can be maintained.
[0012]
[Means for Solving the Problems]
  A method according to the invention of claim 1 is an editing processing method in a document editing apparatus configured to be able to simultaneously display and edit a screen for displaying characters and a screen for displaying line drawings,The line drawing input by hand for the characters displayed on the screen is stored as vector data,The position of the line drawing on the screen is the two points of the start point and end point of the line drawing.,The position of a specific character displayed on the screenAnd using the positional relationship with the position of the specific character at each of the two points.When the position of the specific character is changed by editing the character displayed on the screen, the positions of the start point and the end point are changed accordingly.Based on the positional relationshipAccording to the obtained position of the start point and the end point, Using the stored vector dataThe line drawing is deformed, and the deformed line drawing is displayed between the start point and the end point.
[0013]
  The method according to the invention of claim 2 is an editing processing method in a document editing apparatus configured to simultaneously display and edit a screen for displaying characters and a screen for displaying line drawings,The line drawing input by hand with respect to the characters displayed on the screen is stored as vector data in the graphic data storage unit,The position of the line drawing on the screen is the two points of the start point and end point of the line drawing.,The position of a specific character displayed on the screenAnd using the positional relationship with the position of the specific character at each of the two points.When the position of the specific character is changed by editing the character displayed on the screen, the positions of the start point and the end point are changed accordingly.Based on the positional relationshipAccording to the obtained position of the start point and the end point, By moving each intermediate point equally according to its position using the vector data stored in the graphic data storage unitThe line drawing is deformed, and the deformed line drawing is displayed between the start point and the end point..
  An apparatus according to the invention of claim 3 is provided.A graphic data storage unit for storing a line drawing input by hand with respect to characters displayed on the screen as vector data;The position of the line drawing on the screen is the two points of the start point and end point of the line drawing.,The position of a specific character displayed on the screenAnd using the positional relationship with the position of the specific character at each of the two points.The positional relationship storage means for storing, and the position of the start point and the end point that are changed according to the change of the position of the specific character by editing the character displayed on the screenBased on the positional relationshipAccording to the obtained position of the start point and the end pointUsing the vector data stored in the graphic data storage unitDeformation processing means for deforming the corresponding line drawing;TransformedThe line drawingPositionLine drawing display means for displaying at a position on the screen according to the positional relationship.
[0014]
  The device according to the invention of claim 4 is configured such that a character screen composed of one or a plurality of characters and a line drawing screen composed of one or a plurality of line drawings can be simultaneously displayed and edited. A document editing device,A graphic data storage unit for storing a line drawing input by hand with respect to characters displayed on the screen as vector data;The positions on the screen of the line drawing are the positions of two specific characters displayed on the character screen for two points, the start point and the end point of the line drawing, respectively.Using the positional relationship ofPosition relation storage means for storing, and when the position of the specific character is changed by editing the character displayed on the character screen, the positions of the start point and the end point are changed accordingly.Based on the positional relationshipAccording to the obtained position of the start point and the end pointUsing the vector data stored in the graphic data storage unitDeformation processing means for deforming the corresponding line drawing;TransformedThe line drawingPositionLine drawing display means for displaying at a position on the screen according to the positional relationship, and the positional relationship storage means includes a pointer indicating the two specific characters and a boundary position between the two specific characters. About the aboveLine drawingTwo character marker data respectively storing coordinate positions in a coordinate system on the screen, line drawing identification data for identifying the line drawing, marker identification data for identifying the character marker data, and the character marker data And two line drawing marker data respectively storing distance data indicating the distance from the coordinate position stored in the first position to the start point or the end point.
[0015]
An editing processing method according to the present invention will be described with reference to FIG.
FIG. 1B shows a state in which a handwritten underline UL1 is drawn on the character string CH2 “test” in the character string CH1 shown in FIG. By drawing the underline UL1, the character markers MC1 and MC2 are generated in the middle between the characters at positions close to the start point PEs and the end point PEe of the underline UL1.
[0016]
One character marker MC1 stores the positional relationship with the starting point PEs of the underline UL1, and the other character marker MC2 corresponds with the positional relationship with the end point PEe of the underline UL1. It is a thing to remember. These character markers MC have pointers indicating the positional relationship between the two characters on both sides thereof. That is, here, the two characters on both sides of the character marker MC correspond to “specific characters” of the present invention, and the start point PEs and the end point PEe correspond to “specific two points” of the present invention.
[0017]
As shown in FIG. 1C, when the character string CH2 “test” is changed to the character string CH3 “test”, the position of the character marker MC2 moves to the left by one character.
The underline UL2 is displayed in accordance with the positional relationship because the start point PEs is associated with the character marker MC1 and the end point PEe is associated with the character marker MC2.
[0018]
At that time, in order to match the distance between the start point PEs and the end point PEe by one character, a deformation process for shortening the underline UL1 is performed.
[0019]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a diagram for explaining an editing processing method according to the present invention.
FIG. 1 shows a character string CH and an underline UL1 displayed on the screen of a document editing apparatus (not shown). The square frame displayed for each character in FIG. 1 explains the position of the character marker MC. Is not intended to be displayed on the screen. Further, the character marker MC is not displayed on the screen.
[0020]
As shown in FIG. 1A, a character string CH1 “This is a test” is displayed on the screen. FIG. 1B shows a state in which a handwritten underline UL1 is drawn on the character string CH2 “test” in the character string CH1. By drawing the underline UL1, the character markers MC1 and MC2 are generated in the middle between the characters at positions close to the start point PEs and the end point PEe of the underline UL1.
[0021]
One character marker MC1 stores the positional relationship with the starting point PEs of the underline UL1, and the other character marker MC2 corresponds with the positional relationship with the end point PEe of the underline UL1. It is a thing to remember. These character markers MC have pointers indicating the positional relationship between the two characters on both sides thereof, and are thus associated with the positions of the two characters on both sides.
[0022]
The data of the character string CH1, the data of the character markers MC1 and 2, the data of the underline UL1, and the data of the start point PEs and the end point PEe are stored in the edit memory area of the document editing device.
[0023]
Therefore, as shown in FIG. 1C, when the character string CH2 “test” is changed to the character string CH3 “test”, the position of the character marker MC1 is not changed, but the position of the character marker MC2 is one character. Move left one minute.
[0024]
That is, the character marker MC1 is associated with “te”, which is the first character of the character string CH2, and “ha”, which precedes it, and the character marker MC2 is “to”, which is the last character of the character string CH2, and “ Therefore, after the character string CH2 “test” is changed to the character string CH3 “test”, the character marker MC1 is “test” which is the first character of the character string CH3 and the previous one. The character marker MC2 is associated with “experiment”, which is the last character of the character string CH3, and then “de”.
[0025]
The underline UL2 is displayed according to the positional relationship because the starting point PEs is associated with the character marker MC1 and the terminal point PEe is associated with the character marker MC2. At this time, the position of the character marker MC2 is moved to the left by one character, and as a result, the distance between the start point PEs and the end point PEe is shortened by one character, so the length of the underline UL2 is adjusted to that. Therefore, a deformation process for uniformly shortening the underline UL1 is performed. For the deformation process of the underline UL1, various known processes are performed. For example, when the underline UL1 is stored as vector data, the feature point of the underline UL1 is moved according to the position ratio.
[0026]
As described above, when the character string CH2 “test” is changed to the character string CH3 “test”, the underline UL1 is shortened to the underline UL2 as shown in FIG. 1C, and the character string CH3 “test” is displayed. Will be drawn correctly in response to.
[0027]
FIG. 2 is a diagram for explaining another example of the editing processing method according to the present invention. In FIG. 2, the frame representing the character position is deleted. The character marker MC is indicated by a small triangle.
[0028]
As shown in FIG. 2A, a character string CH1c “This is an example of a handwritten comment” is displayed on the screen. As shown in FIG. 2B, when the underline UL3 is drawn in the character string CH4 “handwritten comment” therein, character markers MC3, 4 are generated at positions close to the start point and end point of the underline UL, respectively. . When the character string CH4 “handwritten comment” is changed to the character string CH5 “handwritten underline” as shown in FIG. 2C, the position of the character marker MC4 moves, and the underline UL3 is shortened corresponding to the position. The underline UL4 is drawn corresponding to the character string CH5 “handwritten underline”.
[0029]
FIG. 3 is a diagram for explaining another example of the editing processing method according to the present invention.
As shown in FIG. 3A, a character string CH1d “This is an example of a handwritten comment” is displayed on the screen. As shown in FIG. 3B, when underlines UL5, 6, and 7 are respectively drawn in the character strings CH6, 7, and 8 "examples of handwritten comments" therein, the start and end points of each underline UL are displayed. Character markers MC5, 6, 7, and 8 are generated at positions close to each other. When the “example of character string CH8” is deleted as shown in FIG. 3C, the positions of the character marker MC8 and the character marker MC0 overlap. Therefore, the underline UL7 disappears, and the other underlines UL5, 6 are drawn corresponding to the remaining character strings CH6, 7 "handwritten comment".
[0030]
As described above, even if one continuous underline is greatly different, it can be processed as separate underlines.
FIG. 4 is a diagram for explaining another example of the editing processing method according to the present invention.
[0031]
As shown in FIG. 4A, a character string CH1f “This is an example of a handwritten comment” is displayed on the screen. As shown in FIG. 4B, when an underline UL8 is drawn on the character string CH9 “handwritten comment” therein, character markers MC9 and MC10 are generated at positions close to the start point and end point of the underline UL8, respectively. . As shown in FIG. 4C, it is assumed that a character string CH10 “when a sentence is broken” is inserted into the character string CH1f, and the character string CH1g becomes a two-line character string. Then, the position of the character markers MC9, 10 moves in the horizontal direction and the line position of the character marker MC10 moves accordingly, but the correspondence between the start point and the end point of the underline UL8 does not change, so the underline UL8 is It is drawn correctly corresponding to the character string CH9 “handwritten comment” divided into two lines.
[0032]
Next, an embodiment of the document editing apparatus 1 will be described.
FIG. 5 is a block diagram of the document editing apparatus 1 according to the present invention, FIG. 6 is a diagram showing a configuration of text data cells CL stored in the text data storage unit 24, and FIG. 7 is a diagram showing a configuration of character markers MC. FIG. 8 is a diagram showing the configuration of the marker movement information DMM, and FIG. 9 is a diagram showing the configuration of the graphic marker MF.
[0033]
The document editing apparatus 1 includes a text editing unit 11 that edits text data composed of characters, a graphic editing unit 12 that edits graphic data (line drawing data), and a character screen and a graphic (line drawing) formed of characters. It consists of a display unit 13 capable of displaying a graphic screen in an overlapping manner at the same time.
[0034]
The text editing unit 11 only edits text portions in the document. The graphic editing unit 12 edits only the graphic. Image data obtained as a result of editing in the text editing unit 11 and the graphic editing unit 12 is output to the display unit 13 and displayed superimposed on the same screen. The method of superimposing the character screen and the graphic screen is determined based on the positional relationship data held by the display unit 13.
[0035]
The text editing unit 11 includes an input unit 21, a text deletion / insertion unit 22, a pointer operation unit 23, a text data storage unit 24, a pointer storage unit 25, a character marker storage unit 26, and the like.
[0036]
The input unit 21 outputs various commands such as pointer movement, character deletion, and character insertion based on a keyboard or mouse operation (not shown). When a character is inserted, the code of the character to be inserted is output. For example, when a character key such as an alphanumeric character or a symbol on the keyboard is pressed, the code of the character is output. When the arrow key is pressed, a command to move the pointer position is output, and the delete key is pressed. If so, it outputs a command to delete characters.
[0037]
Text data is stored in the text data storage unit 24. In the text data, at least during editing, each character is stored in a cell CL shown in FIG. In FIG. 6, a cell CL includes data content DCT, a pointer PTB indicating the address of the previous cell, and a pointer PTA indicating the address of the subsequent cell.
[0038]
That is, the position of the character to be edited in the text data stored in the text data storage unit 24 is stored in the pointer storage unit 25 as a pointer. The pointer stored in the pointer storage unit 25 is data indicating a position in a sentence such as “nth character in text”. Usually, the pointer is expressed by the position of the cursor on the screen. The text data is edited with reference to this pointer.
[0039]
Editing of text data is performed by sequentially executing various processes such as a process of deleting a character at a position indicated by a pointer or a process of inserting a new character at the position. What processing is performed depends on a command from the input unit 21.
[0040]
Also, the position of the pointer in the text data can be changed by a command from the input unit 21. The pointer position is changed by changing the value of the pointer stored in the pointer storage unit 25 by the pointer operation unit 23.
[0041]
The graphic editing unit 12 includes an input unit 31, a graphic deletion insertion moving unit 32, a pointer operation unit 33, a graphic data storage unit 34, a pointer storage unit 35, a graphic deformation moving unit 36, a graphic marker storage unit 37, and the like. ing.
[0042]
The input unit 31 is connected to a coordinate input device such as a stylus pen and tablet (not shown), a mouse, a keyboard, and the like. Based on these operations, the input unit 31 outputs various commands such as pointer movement, figure deletion, figure insertion, and figure movement.
[0043]
The principle of graphic data editing in the graphic editing unit 12 is the same as that of the text editing unit 11. The graphic data storage unit 34 stores graphic data as vector data, for example. Each graphic data has a graphic ID (IDF) for identifying the graphic. The position of the graphic to be edited in the graphic data stored in the graphic data storage unit 34 is indicated by a pointer stored in the pointer storage unit 35. In accordance with a command input from the input unit 31, editing processing such as deletion, insertion, and movement of the data is performed.
[0044]
There are some parts of the graphic editing unit 12 that are different from the processing of the text editing unit 11. For example, although the pointer stored in the pointer storage unit 35 is the position to be edited, two-dimensional coordinates on the plane on which the figure is drawn are stored. The graphic data stored in the graphic data storage unit 34 is represented by a set of graphic objects, such as a straight line, a curve, a polygon, and a circle. Each graphic object has a position in two-dimensional coordinates.
[0045]
For example, when the figure is a triangle, the upper left point of the figure is a point representing the entire position of the figure object. When the figure is a line, the leftmost point of the figure is a point representing the entire position of the figure object. When the coordinate point of the pointer stored in the pointer storage unit 35 coincides with the position of any graphic object, the pointer indicates the graphic object with the matched position. If there is no graphic object whose position matches, the pointer indicates the coordinate point itself.
[0046]
When a command to delete or move a graphic is output from the input unit 31, the graphic object pointed to by the pointer stored in the pointer storage unit 35 is deleted or moved. If the pointer does not indicate anything, do nothing. When a figure insertion command is output from the input unit 31, the designated figure is inserted at the coordinate position indicated by the pointer. These data editing processes are performed by the graphic deletion insertion moving unit 32. When the pointer movement key is pressed, the pointer is moved to the position designated by the coordinate input device by the pointer operation unit 33.
[0047]
The above-described components and processing contents in the document editing apparatus 1 are the same as those of a known document editing apparatus. Next, processing unique to the editing processing method according to the present invention will be described.
[0048]
The document editing apparatus 1 according to the present embodiment is particularly provided with a character marker storage unit 26, a graphic marker storage unit 37, and a graphic deformation moving unit 36 in order to perform editing processing according to the present invention. The marker movement information DMM is passed from 11 to the graphic editing unit 12.
[0049]
In the text editing unit 11, the character marker storage unit 26 stores a character marker MC for defining the positional relationship between characters and graphics. When the text document is edited, the position of the character marker MC may be changed. In this case, the marker movement information DMM is sent from the character marker storage unit 26 to the graphic transformation moving unit 36 of the graphic editing unit 12. Is output.
[0050]
As shown in FIG. 7, the character marker MC includes data contents DCT, a pointer PTB indicating the address of the previous cell, a pointer PTA indicating the address of the subsequent cell, and a row and a column indicating the position of the character marker MC in the text coordinate system. Number VLC, and a coordinate VCD indicating the position of the character marker MC in the two-dimensional coordinate system. That is, the basic configuration of the character marker MC is the same as that of each character cell CL in the text data, and the row and column numbers VLC and the coordinates VCD are added thereto. The character marker MC is automatically generated between a character and a character close to a reference point (specific point) of the figure by writing the figure on a screen displaying text data.
[0051]
In this way, the character marker MC is provided in the middle of two characters, and each character is associated with the character marker MC when the character marker MC is deleted when it is associated with only one character. This is because the position is lost.
[0052]
As shown in FIG. 8, the marker movement information DMM includes a character marker ID (IDC) for identifying a related character marker MC, a coordinate VCE of the character marker MC before movement, and a coordinate VCF after movement.
[0053]
In the graphic editing unit 12, the graphic deformation moving unit 36 compares the marker movement information DMM with the graphic marker MF stored in the graphic marker storage unit 37, and resets the coordinate VCD of the character marker MC to the coordinate VCF after the movement. Set. Further, it is checked whether there is a figure to be deformed or moved by changing the position of the character marker MC, and the existing figure is moved or deformed as necessary.
[0054]
As shown in FIG. 9, the graphic marker MF includes a graphic ID (IDF) for identifying a related graphic, a character marker ID (IDC) for identifying a related character marker MC, a character marker MC, and a graphic reference. It consists of a distance DST indicating the distance between the points and the coordinates VCD of the associated character marker MC.
[0055]
Next, an example of the movement / deformation process of the graphic in the graphic editing unit 12 and the expansion / contraction process when the graphic is underlined will be described with reference to the flowcharts shown in FIGS. 10 and 11.
[0056]
First, the marker movement information DMM is input (# 11). Based on the marker movement information DMM, the moved character marker MC is listed. The graphic associated with the moved character marker MC is moved or deformed accordingly. Therefore, the figures to be moved or deformed are listed (# 12).
When there are a plurality of character markers MC for one figure, the figure is deformed when the positional relationship between the plurality of character markers MC changes. Therefore, a change in the positional relationship of the plurality of character markers MC related to one graphic is detected (# 13, 14), and the graphic is deformed as necessary (# 15). Further, the entire position of the figure is moved as necessary (# 16).
[0057]
In the expansion / contraction process, first, the line numbers between a plurality of related character markers MC are checked (# 21, 22), and if the line number difference is changed, it is determined that the sentence is folded by editing the text data, The underline associated with the sentence is similarly folded (# 23).
[0058]
Further, it is checked whether there is a change in the spacing in the line direction of the text between the plurality of character markers MC (# 24), and if there is a change, the underline is expanded or contracted accordingly (# 25).
[0059]
Whether or not the character string CH is folded in the middle, that is, whether or not a line break has occurred, can be determined by examining the y-coordinate of the coordinates VCD of the character marker MC. This is because the y-coordinates are the same when they are in the same row. Further, by examining the difference of the y-coordinates, it can be understood how many lines are folded back in the middle of the underline UL.
[0060]
When the line is folded, the distance between the two character markers MC (difference in x coordinate) cannot be calculated simply by the value of the x coordinate. For example, if the start point PEs is on the right side of the end point PEe, simply taking the x coordinate difference will result in a negative value. Therefore, the correct x-coordinate difference can be obtained by adding the width of one line of the sentence by the number of foldings to the x-coordinate difference before the folding. The length of the underline UL is expanded / contracted according to the change of the x coordinate thus obtained, and is adjusted to the position of the character marker MC at the start point PEs. Next, the underline UL is cut at the position where the line is folded, and the remaining part is moved to the head of the next line. Repeat as necessary.
[0061]
Whether or not the figure is underlined is determined based on a command from the operator, but may be automatically determined.
Next, a specific example of processing in the document editing apparatus 1 will be described in the case where the document editing processing shown in FIG. 1 is performed.
[0062]
12 is a diagram showing an example of the cell CL1 and the character markers MC1 and MC2 for the character string CH1 shown in FIG. 1B, and FIG. 13 is a diagram showing the positional relationship between the character markers MC1 and MC2 and the underline UL1 in FIG. 14 is a diagram showing an example of the contents of the graphic marker MF2 before and after the movement, FIG. 15 is a diagram showing an example of the contents of the character marker MC2 after the movement, and FIG. 16 is a diagram showing an example of the contents of the marker movement information DMM1. is there.
[0063]
As shown in FIG. 12, a character string CH1 “This is a test” is displayed on the screen, and a handwritten underline UL1 is drawn on the character string CH2 “Test”. By drawing the underline UL1, two character markers MC1 and MC2 are generated in the middle of the character and at a position close to the start point PEs and the end point PEe of the underline UL1. Two graphic markers MF1 and MF2 are generated.
[0064]
The character string CH1 is managed as one independent sentence, and the first character in the character string CH1 is the first row and the first column. Here, it is assumed that one character is composed of 16 × 16 dots, and there is no space between characters.
[0065]
The character marker MC1 is located between the characters “ha” and “te”, and the character marker MC2 is located between the characters “g” and “de”. In the cell CL1 for the character “ha”, the code data “ha” is stored in the data content DCT, the address indicating the cell CL “re” is stored in the pointer PTB, and the address indicating the character marker MC1 is stored in the pointer PTA. ing.
[0066]
The character marker MC1 includes data indicating that the data content DCT is the character marker MC1, an address indicating the cell CL of “ha” in the pointer PTB, an address indicating the cell CL of “te” in the pointer PTA, “1, 3” indicating the first row and third column is stored in the column number VLC, and “48, 16” is stored in the coordinate VCD.
[0067]
In the character marker MC2, the data content DCT indicates that the data is the character marker MC2, the address indicating the “CL” cell CL in the pointer PTB, and the address indicating the “CL” cell CL in the pointer PTA, “1, 6” indicating the first row and sixth column is stored in the row and column numbers VLC, and “96, 16” is stored in the coordinate VCD. That is, the respective coordinates VCD of the character markers MC1 and MC2 are the coordinates of the lower end point of the boundary portion between the characters on both sides.
[0068]
As shown in FIG. 13, the underline UL1 is represented by vector data having several intermediate points PM between the start point PEs and the end point PEe. The two graphic markers MF1 and MF2 include a distance DST (dx, dy) between the start point PEs and the coordinate VCD of the character marker MC1, or a distance DST (dx, dy) between the end point PEe and the coordinate VCD of the character marker MC2. Is memorized.
[0069]
For example, as shown in FIG. 14A, the graphic marker MF2 includes data for identifying the underline UL1 as the graphic ID, data for identifying the character marker MC2 as the character marker ID, and the terminal point PEe and the character at the distance DST. Coordinates representing distances from the coordinates VCD of the markers MC2 are stored in the coordinates VCD, respectively.
[0070]
Here, when the character string CH2 “test” is changed to the character string CH3 “test”, the character marker MC1 does not move, but the character marker MC2 moves. When the character marker MC2 moves, its contents are changed as shown in FIG.
[0071]
As the character marker MC2 moves, marker movement information DMM1 shown in FIG. 16 is output. With this marker movement information DMM1, the coordinate VCD of the graphic marker MF2 is changed as shown in FIG.
[0072]
When the graphic marker MF2 is changed, processing for shortening the length of the underline UL1 is performed according to the changed content. The shortening process is performed by moving each intermediate point PM equally according to the position corresponding to the movement of the terminal point PEe of the underline UL1. The shortened underline UL2 is stored in the graphic data storage unit 34 and displayed on the screen as shown in FIG. 1C based on the data changed as described above.
[0073]
According to the document editing device 1 of the above-described embodiment, even when the length of the character string CH that should correspond to the underline UL changes due to insertion or deletion of characters, the correspondence of the positional relationship between the characters and the underline UL The state originally intended when the operator draws the underline UL is maintained.
[0074]
Therefore, the convenience when using the handwritten underline UL in the document is improved, the use of the handwritten image in the electronic document is expanded, and the human interface of the document editing apparatus is improved.
[0075]
In the above embodiment, the start point PEs and the end point PEe of the underline UL1 are made to coincide with the start point and the end point of the vector data. In addition, the configuration of each part or the whole of the document editing apparatus 1, the processing content or order, the configuration, content, display method, and the like of each data can be appropriately changed in accordance with the gist of the present invention.
[0076]
【The invention's effect】
According to the first to fourth aspects of the present invention, even when the length of the character that should correspond to the line drawing is changed due to insertion or deletion of the character, the correspondence of the positional relationship between the character and the line drawing is maintained. Can do.
[0077]
Therefore, the state that the operator originally intended when drawing the line drawing is maintained, and it is possible to prevent the occurrence of a state that does not conform to the operator's intention. Excellent in properties.
[Brief description of the drawings]
FIG. 1 is a diagram for explaining an editing processing method according to the present invention.
FIG. 2 is a diagram for explaining another example of the editing processing method according to the present invention.
FIG. 3 is a diagram for explaining another example of the editing processing method according to the present invention.
FIG. 4 is a diagram for explaining another example of the editing processing method according to the present invention.
FIG. 5 is a block diagram of a document editing apparatus according to the present invention.
FIG. 6 is a diagram showing a configuration of text data cells stored in a text data storage unit;
FIG. 7 is a diagram showing a configuration of a character marker.
FIG. 8 is a diagram illustrating a configuration of marker movement information.
FIG. 9 is a diagram showing a configuration of a graphic marker.
FIG. 10 is a flowchart illustrating an example of a figure movement / deformation process;
FIG. 11 is a flowchart illustrating an example of a figure expansion / contraction process.
12 is a diagram showing an example of cells and character markers for the character string shown in FIG.
13 is a diagram showing a positional relationship between a character marker and an underline in FIG.
FIG. 14 is a diagram illustrating an example of the contents of a graphic marker before and after movement.
FIG. 15 is a diagram illustrating an example of the contents of a character marker after movement.
FIG. 16 is a diagram illustrating an example of the contents of marker movement information.
FIG. 17 is a diagram illustrating a conventional editing processing method.
[Explanation of symbols]
1 Document editing device
13 Display (Line drawing display means)
26 Character marker storage (position relation storage means)
36 figure deformation moving part (deformation processing means)
37 Graphic marker storage unit (positional relationship storage means)
CH Character string (character)
MC Character marker (character marker data)
PTB, PTA pointer
VCD coordinates (coordinate position)
UL underline (line drawing)
MF figure marker (line drawing marker data)
IDC Character marker ID (marker identification data)
IDF Graphic ID (Line drawing identification data)
DST distance (distance data)
PEs start point
PEe termination point

Claims (4)

文字を表示する画面と線画を表示する画面とを同時に重ねて表示し且つ編集することが可能に構成された文書編集装置における編集処理方法であって、
画面に表示された文字に対して手書きで入力された線画をベクトルデータとして記憶しておき、
前記線画の画面上の位置を、前記線画の始端点及び終端点の2点について画面上に表示される特定の文字の位置であって前記2点それぞれの特定の文字の位置との位置関係を用いて記憶しておき、
画面に表示される文字の編集によって前記特定の文字の位置が変更されたときに、それに応じて変更される前記始端点及び前記終端点の位置を前記位置関係に基づいて求め、求めた前記始端点及び前記終端点の位置に応じて、記憶された前記ベクトルデータを用いて前記線画を変形し、変形された線画を前記始端点と前記終端点との間にわたって表示する、
ことを特徴とする編集処理方法。
An editing processing method in a document editing apparatus configured to simultaneously display and edit a screen for displaying characters and a screen for displaying line drawings,
The line drawing input by hand for the characters displayed on the screen is stored as vector data,
The position of the line drawing on the screen is the position of a specific character displayed on the screen with respect to two points of the start point and the end point of the line drawing, and the positional relationship with the position of the specific character at each of the two points To remember,
When the position of the specific character is changed by editing the character displayed on the screen, the start point and the end point changed according to the position are determined based on the positional relationship, and the obtained start point is obtained. The line drawing is deformed using the stored vector data according to the position of the point and the end point, and the deformed line drawing is displayed between the start point and the end point.
An editing processing method characterized by the above.
文字を表示する画面と線画を表示する画面とを同時に重ねて表示し且つ編集することが可能に構成された文書編集装置における編集処理方法であって、
画面に表示された文字に対して手書きで入力された線画をベクトルデータとして図形データ記憶部に記憶しておき、
前記線画の画面上の位置を、前記線画の始端点及び終端点の2点について画面上に表示される特定の文字の位置であって前記2点それぞれの特定の文字の位置との位置関係を用いて記憶しておき、
画面に表示される文字の編集によって前記特定の文字の位置が変更されたときに、それに応じて変更される前記始端点及び前記終端点の位置を前記位置関係に基づいて求め、求めた前記始端点及び前記終端点の位置に応じて、前記図形データ記憶部に記憶された前記ベクトルデータを用いて各中間点をその位置に応じて均等に移動させることによって前記線画を変形し、変形された線画を前記始端点と前記終端点との間にわたって表示する
ことを特徴とする編集処理方法。
An editing processing method in a document editing apparatus configured to simultaneously display and edit a screen for displaying characters and a screen for displaying line drawings,
The line drawing input by hand with respect to the characters displayed on the screen is stored as vector data in the graphic data storage unit,
The position of the line drawing on the screen is the position of a specific character displayed on the screen with respect to two points of the start point and the end point of the line drawing, and the positional relationship with the position of the specific character at each of the two points To remember,
When the position of the specific character is changed by editing the character displayed on the screen, the start point and the end point changed according to the position are determined based on the positional relationship, and the obtained start point is obtained. According to the position of the point and the end point, the line drawing is deformed and deformed by moving each intermediate point equally according to the position using the vector data stored in the graphic data storage unit . Display a line drawing between the start point and the end point ;
An editing processing method characterized by the above.
文字を表示する画面と線画を表示する画面とを同時に重ねて表示し且つ編集することが可能に構成された文書編集装置であって、
画面に表示された文字に対して手書きで入力された線画をベクトルデータとして記憶する図形データ記憶部と、
前記線画の画面上の位置を、前記線画の始端点及び終端点の2点について画面上に表示される特定の文字の位置であって前記2点それぞれの特定の文字の位置との位置関係を用いて記憶する位置関係記憶手段と、
画面に表示される文字の編集によって前記特定の文字の位置が変更されたときに、それに応じて変更される前記始端点及び前記終端点の位置を前記位置関係に基づいて求め、求めた前記始端点及び前記終端点の位置に応じて、前記図形データ記憶部に記憶された前記ベクトルデータを用いて該当する線画を変形する変形処理手段と、
変形された前記線画を、前記位置関係にしたがった画面上の位置に表示する線画表示手段と、
を有してなることを特徴とする文書編集装置。
A document editing apparatus configured to be able to simultaneously display and edit a screen for displaying characters and a screen for displaying line drawings,
A graphic data storage unit for storing a line drawing input by hand with respect to characters displayed on the screen as vector data;
The position of the line drawing on the screen is the position of a specific character displayed on the screen with respect to two points of the start point and the end point of the line drawing, and the positional relationship with the position of the specific character at each of the two points A positional relationship storage means for storing using
When the position of the specific character is changed by editing the character displayed on the screen, the start point and the end point changed according to the position are determined based on the positional relationship, and the obtained start point is obtained. Deformation processing means for deforming a corresponding line drawing using the vector data stored in the graphic data storage unit according to the position of the point and the end point;
The modified the line drawing, line drawing display means for displaying the position of the front Symbol position on the screen according to the location relationship,
A document editing apparatus characterized by comprising:
1つ又は複数の文字によって構成される文字画面と1つ又は複数の線画によって構成される線画画面とを同時に重ねて表示し且つ編集することが可能に構成された文書編集装置であって、
画面に表示された文字に対して手書きで入力された線画をベクトルデータとして記憶する図形データ記憶部と、
前記線画の画面上の位置を、前記線画の始端点及び終端点の2点について前記文字画面上に表示されるそれぞれ2つの特定の文字の位置との位置関係を用いて記憶する位置関係記憶手段と、
前記文字画面に表示される文字の編集によって前記特定の文字の位置が変更されたときに、それに応じて変更される前記始端点及び前記終端点の位置を前記位置関係に基づいて求め、求めた前記始端点及び前記終端点の位置に応じて、前記図形データ記憶部に記憶された前記ベクトルデータを用いて該当する線画を変形する変形処理手段と、
変形された前記線画を、前記位置関係にしたがった画面上の位置に表示する線画表示手段と、を有し、
前記位置関係記憶手段には、
前記2つの特定の文字を示すポインタと、前記2つの特定の文字間の境界位置についての前記線画画面での座標系における座標位置とをそれぞれ記憶する2つの文字マーカーデータと、
前記線画を識別するための線画識別データと、前記文字マーカーデータを識別するためのマーカー識別データと、前記文字マーカーデータに記憶される座標位置から前記始端点または前記終端点までの距離を示す距離データとをそれぞれ記憶する2つの線画マーカーデータと、が記憶されている、
ことを特徴とする文書編集装置。
A document editing apparatus configured to simultaneously display and edit a character screen composed of one or more characters and a line drawing screen composed of one or more line drawings,
A graphic data storage unit for storing a line drawing input by hand with respect to characters displayed on the screen as vector data;
Positional relationship storage means for storing with the positional relationship between a position on the screen of the line drawing, the positions of two specific characters for two points starting point and end point is displayed on the character display of the line drawing When,
When the position of the specific character is changed by editing the character displayed on the character screen, the position of the start point and the end point to be changed according to the position is determined based on the positional relationship, Deformation processing means for deforming a corresponding line drawing using the vector data stored in the graphic data storage unit according to the positions of the start end point and the end point;
The modified the line image, front Symbol position has a line drawing displaying means for displaying the position on the screen according to the location relationship, and
In the positional relationship storage means,
Two character marker data respectively storing a pointer indicating the two specific characters and a coordinate position in the coordinate system on the line drawing screen for a boundary position between the two specific characters;
The line drawing identification data for identifying the line drawing, the marker identification data for identifying the character marker data, and the distance indicating the distance from the coordinate position stored in the character marker data to the start point or the end point Two line drawing marker data for storing data, respectively, are stored.
A document editing apparatus characterized by that.
JP22986196A 1996-08-30 1996-08-30 Editing processing method and document editing apparatus Expired - Fee Related JP4144911B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22986196A JP4144911B2 (en) 1996-08-30 1996-08-30 Editing processing method and document editing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22986196A JP4144911B2 (en) 1996-08-30 1996-08-30 Editing processing method and document editing apparatus

Publications (2)

Publication Number Publication Date
JPH1074196A JPH1074196A (en) 1998-03-17
JP4144911B2 true JP4144911B2 (en) 2008-09-03

Family

ID=16898853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22986196A Expired - Fee Related JP4144911B2 (en) 1996-08-30 1996-08-30 Editing processing method and document editing apparatus

Country Status (1)

Country Link
JP (1) JP4144911B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3795238B2 (en) * 1998-10-01 2006-07-12 シャープ株式会社 Document image processing apparatus and document image processing method
CN113435166B (en) * 2021-06-09 2024-03-19 深圳市世强元件网络有限公司 Underline method and system, computer device and readable storage medium

Also Published As

Publication number Publication date
JPH1074196A (en) 1998-03-17

Similar Documents

Publication Publication Date Title
US4727588A (en) System for automatic adjustment and editing of handwritten text image
US6434581B1 (en) Script character processing method for interactively adjusting space between writing element
US11256946B2 (en) Method of processing and recognizing hand-written characters
US6810147B2 (en) Document image processing apparatus for processing line portions manually input to document image, method therefor, and computer readable recording medium recorded with document image processing program therefor
JP4144911B2 (en) Editing processing method and document editing apparatus
JPH032979A (en) Method and device for correction of image
JPWO2016170691A1 (en) Input processing program, input processing apparatus, input processing method, character specifying program, character specifying apparatus, and character specifying method
JP3422634B2 (en) Handwritten character recognition method and apparatus
JPH0713686A (en) Handwritten information input device
US5737618A (en) Document processing system for displaying brackets
WO2002103619A1 (en) Presentation of a recognition of a handwritten pattern
KR100238814B1 (en) Data processing apparatus and method
JP3167799B2 (en) Online handwritten character recognition device
JPH0728801A (en) Image data processing method and device therefor
JP2504471B2 (en) Text editing device
JPS5985532A (en) Designating system for editing range of sentence
JPH037992B2 (en)
JPS63108453A (en) Electronic equipment
JP3177045B2 (en) Online character recognition device
JP2001184349A (en) Device and method for editing document and recording medium
JPH01292586A (en) Back-up device for recognition of character
JPH06324797A (en) Handwritten input device
JPS6133567A (en) Display method of document processor
JPS62267854A (en) Object processing
JPS61250688A (en) Curve generation system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040525

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040601

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040730

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050913

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051108

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20051115

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20060224

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080522

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080617

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110627

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120627

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120627

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130627

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees