JP3699923B2 - Page image display management method during layout editing - Google Patents

Page image display management method during layout editing Download PDF

Info

Publication number
JP3699923B2
JP3699923B2 JP2001356852A JP2001356852A JP3699923B2 JP 3699923 B2 JP3699923 B2 JP 3699923B2 JP 2001356852 A JP2001356852 A JP 2001356852A JP 2001356852 A JP2001356852 A JP 2001356852A JP 3699923 B2 JP3699923 B2 JP 3699923B2
Authority
JP
Japan
Prior art keywords
page
display
displayed
editing
area
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
JP2001356852A
Other languages
Japanese (ja)
Other versions
JP2002215613A (en
Inventor
禎司 桑原
浩行 是枝
尚道 野中
啓一 中根
真一 橋本
一成 鈴木
正樹 藤原
等 田村
茂樹 谷口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2001356852A priority Critical patent/JP3699923B2/en
Publication of JP2002215613A publication Critical patent/JP2002215613A/en
Application granted granted Critical
Publication of JP3699923B2 publication Critical patent/JP3699923B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、文章や図形などの様々なデータを編集する頁イメージ表示管理方法に関する。
【0002】
【従来の技術】
従来、この種の文書作成装置には、特開平1−234967号公報に記載されているように、頁の印刷イメージ上での編集対象の切り替えにおける操作性を考慮したものがある。これは、ある領域のデータを編集中に、他の領域を指示すると、ただちに指示された領域のデータの編集が可能となるというものである。
【0003】
【発明が解決しようとする課題】
上記従来技術は、領域の位置だけで指示された領域を判定するため、例えば、文章の編集中に、文章の領域内にある図形領域を指示することができず、該図形領域の編集を開始するためには、一旦、文章の編集を終了してから、改めて、図形領域を指示する必要があり、操作性が悪いという問題点があった。
【0004】
また、図形領域の編集中に、編集中の図形領域のサイズを変更したり、移動したりすることができず、そのような処理を行うためには、一旦、編集処理を終了してから、改めて、領域の移動またはサイズ変更を指示しなければならないという問題がある。
【0005】
これに対し、文書作成の操作性を向上するためには、複数の頁の印刷イメージを同時に表示し、それらの頁のうち任意の頁の印刷イメージを任意の大きさに設定して、その上で編集作業を行えるようにすることが考えられる。
しかし、これは、高性能なハードウェアを必要とすることから、実現には至っていない。
【0006】
また、頁の印刷イメージを表示するウィンドウと、個々の編集データに対応した専用ウィンドウを設け、そのどちらでも編集できるようにすることが考えられる。この際、どちらのウィンドウで編集するかを、予め、文書作成装置に対して設定することができると、便利である。さらには、どちらのウィンドウで編集した方が効率が上がるかは、編集対象の文章によって異なるので、文書単位で設定できるほうが、使い勝手が向上すると考えられる。
【0007】
本発明の目的は、文書の作成編集を行うときの使い勝手を向上した頁イメージ表示管理方法を提供することにある。
【0010】
【課題を解決するための手段】
上記課題を解決するために、本願発明は、レイアウト編集時に、表示手段に頁の印刷イメージを表示させて文書の作成編集を行うときの頁イメージ表示管理方法であって、表示手段に1頁を表示させて文章の入力または削除を可能にし、文書の入力または削除の結果による頁の増減が発生したときに表示手段に1頁目の末尾行と2頁目の先頭行とが同一画面に表示されるように連続した2頁を表示するよう管理することを特徴とするものである。
また、レイアウト編集時に、表示手段に頁の印刷イメージを表示させて文書の作成編集を行うときの頁イメージ表示管理方法であって、表示手段に頁の印刷イメージを表示させて文章の入力または削除を可能にし、表示された印刷イメージ上の文章の文字をカーソル手段で指し示し、第n頁だけの印刷イメージが表示されている表示状態Aであるときに文字入力が行われ、入力された文字列が表示されている頁の末尾行を超えて新しい頁が追加される場合に、第n頁及び第n+1頁の連続する2頁の印刷イメージが表示されており、第n頁の末尾行と第n+1頁の先頭行とが表示されている表示状態Bになるように連続する2頁の印刷イメージを表示させ、表示状態Bであるときに文字入力が行われ、入力された文字列が表示できなくなった場合に、第n+1頁だけの印刷イメージが表示されている表示状態Cの1頁の印刷イメージを表示させ、表示状態Cで文字列が削除され、第n+1頁の前のページに存在する文字をカーソル手段が指し示すように変化した場合に、表示状態Bになるように連続する2頁の印刷イメージを表示させ、 表示状態Bで文字が削除され、カーソル手段が表示されていない文字を指し示すようになった場合に、表示状態Aの1頁の印刷イメージを表示させることを特徴とするものである。
【0012】
また、レイアウト編集時に、表示手段に1頁を表示する表示状態または連続した2頁を1頁目の末尾行と2頁目の先頭行とを同一画面に表示する表示状態のいずれかの表示状態を表示させて文書の作成編集を行うときの頁イメージ表示管理方法であって、
文章の入力あるいは削除により非表示部分を表示することが必要となったときに、それまで管理していた状態からもう一つの状態に遷移させて非表示部分を表示することを特徴とするものである。
また、レイアウト編集時に、第n頁だけの印刷イメージが表示されている表示状態Aと、第n頁及び第n+1頁の連続する2頁の印刷イメージが表示されており、第n頁の末尾行と第n+1頁の先頭行とが表示されている表示状態Bと、第n+1頁だけの印刷イメージが表示されている表示状態Cのいずれかの表示状態を表示させて文書の作成編集を行うときの頁イメージ表示管理方法であって、
表示された印刷イメージ上の文章の文字をカーソル手段で指し示し、
表示手段の表示状態及び文章の入力あるいは削除、またはカーソル手段の移動により、
表示状態Aで文字入力が行われ、入力された文字列が表示されている頁の末尾行を超えて新しい頁が追加される場合には、表示状態Bに表示状態を遷移させて連続する2頁の印刷イメージを表示させ、
表示状態Bで文字入力が行われ、入力された文字列が表示できなくなった場合には、表示状態Cに表示状態を遷移させて1頁の印刷イメージを表示させ、
表示状態Cで文字列が削除され、頁の前のページに存在する文字をカーソル手段が指し示すように変化した場合には、表示状態Bに表示状態を遷移させて連続する2頁の印刷イメージを表示させ、
表示状態Bで文字が削除され、カーソル手段が表示されていない文字を指し示すようになった場合には、表示状態Aに表示状態を遷移させて1頁の印刷イメージを表示させることを特徴とするものである。
【0014】
【作用】
本発明によれば、文書の作成編集を行うときの使い勝手を向上した頁イメージ表示管理方法を提供することができる。
【0018】
【発明の実施の形態】
以下、本発明の実施例を図面を用いて説明する。まず、図1〜図17を用いて、本実施例における編集機能や操作について説明する。
【0019】
図2、図4、図5は、本実施例における編集ウィンドウを説明する図である。図2において、200はレイアウト編集ウィンドウであり、このウィンドウ上で、頁のレイアウトの変更や、文章、図形などのデータを編集することができる。
201は編集の終了を指示するための終了ボックス、202はウィンドウに表示されているデータをスクロールするためのスクロールボックス、203はウィンドウのサイズを変更するためのサイズ変更ボックスである。これらのボックス201〜203は、図4および図5で説明する文章や図形などのうち1種類のデータだけを変種するための個別編集ウィンドウにも存在する。
210はガイダンス領域であり、機能を指示するためのアイコン211や、操作ガイダンスなどが表示される。
【0020】
図2は図形データを編集している状態を表しており、アイコン211は図形編集用のものである。
220はスケール領域であり、図3に示すスケール300または310が表示される。
スケール300は、レイアウト編集ウィンドウ200で、レイアウトの変更や図形の編集を行うときに表示される、ミリ単位のメモリを持つスケールであり、スケール310は、文章データの編集を行うときに使用される、文字単位のメモリをもつスケールである。
230は頁を表す領域であり、221は頁の枠である。頁には領域が定義され、対応する領域内で各々のデータを編集することが可能となる。
【0021】
例えば、240は文章データが割当てられる本文領域、250はグラフデータが割当てられるグラフ領域、260は図形データが割当てられる図形領域である。
図形やグラフなどの領域に対しては、領域の属性として、排他/非排他を指定することができる。排他を指定した領域に対しては、文章領域230の文章データは重ならないように配置されるが、非排他を指定した領域と文章データとは重なる。図2のグラフ領域250および図形領域260は、排他が指定されている領域である。
【0022】
図4において、400は本文領域240の文章データだけを編集するために用いられる本文編集ウィンドウである。410はガイダンス領域、420はスケール表示領域、425は本文編集領域である。430は排他領域を表しており、図2のグラフ領域250および図形領域260の位置に対応する。編集プログラムにより、排他領域430に文字が入らないように制御される。
図5において、500は図形領域26の図形データだけを編集するために用いられる図形編集ウィンドウであり、510はそのガイダンス領域である。
【0023】
次に、編集機能などを指示するためのメニューについて、図6〜図8を用いて説明する。
以降の説明で、メニューや領域の指示とは、例えば、マウスを用いて、マウスカーソルを指示対象の上に移動させ、マウスのボタンを押すことを意味する。
【0024】
図6はレイアウトの修正や各領域の編集開始指示を与えるためのメニューなどを表している。
図6において、600は各メニュー601を一列に連ねて表示したメニューバーである。メニュー601が指示されると、指示されたメニュー601に対応するプルダウンメニュー610が表示される。このプルダウンメニュー610の項目を指示することにより、プログラムに編集指示を与えることができる。
【0025】
印刷・登録メニュー601aに対応するプルダウンメニュー610aには、印刷、登録、初期状態変更などを指示するための項目611〜613がある。項目611を指示することにより、編集中の文書の印刷を指示することができ、項目612を指示することにより、編集中の文書をフロッピディスクやハードディスクに文書ファイルとして保存するよう指示を与えることができる。また、項目613を指示することにより、文書の編集開始モードなどを変更することができる。なお、文書の編集開始モードについては、後に、図9により説明する。
【0026】
本文作成メニュー601bを指示することにより、文章の編集を開始することができる。メニュー601bに対応するプルダウンメニューは無い。
領域作成メニュー601cに対応するプルダウンメニュー610cには、領域に割当てるデータの種別を決定する項目614および615などがあり、頁内に新たに領域を作成する場合に用いられる。項目614を指示することにより図形領域を、項目615を指示することによりグラフ領域を作成することができる。
領域編集メニュー601dに対応するプルダウンメニュー610dには、既に作成されている領域のデータを更新するための項目616、領域のサイズを変更するための項目617などがある。
画面操作メニュー601eに対応するプルダウンメニューには、各編集データをレイアウト編集ウィンドウで編集するのか、各々の個別編集ウィンドウで編集するのかを指示するための項目618、表示の大きさを指定する項目619、領域の枠を表示するかしないかを指示する項目620などがある。
【0027】
後述するように、文書マネジャと呼ばれるプログラムが、メニューバー600やプルダウンメニュー610を表示し、指示された項目を処理する。そこで、メニューバー600を文書マネジャのメニューバーと呼ぶことがある。また、メニューバーのことを、単にメニューと呼ぶこともある。
メニュー601bが指示されて、文章の編集開始が指示されると、メニューバー600に代わり、図7のメニューバー700が表示される。このメニューバー700には、文章編集時に指示を与えるためのメニュー701が表示される。
【0028】
印刷・登録メニュー701aに対応するプルダウンメニュー710aには、印刷および登録の項目611および612の他に、文章の編集を終了してレイアウト編集を開始することを指示する項目713、文書編集の終了を指示する項目716などがある。項目716が指示されると、メニューバー700は消去され、メニューバー600が表示される。
また、画面操作メニュー701bに対応するプルダウンメニュー710bには、表示の大きさを指定する項目619の他に、編集中のデータの再表示を指示する項目714、異なる頁の文章を同時に表示するために、本文編集ウィンドウを分割表示するよう指示する項目715などがある。
【0029】
レイアウト編集ウィンドウ200での文章編集においても、本文編集ウィンドウ400や図形編集ウィンドウ500などの個別編集ウィンドウでの文章編集においても、メニューバー700が表示されるが、編集ウィンドウの種類によって、指示することができない項目がある。例えば、項目715の画面分割は、本文編集ウィンドウ400だけに有効な機能であり、レイアウト編集ウィンドウ200での文章編集においては、項目715を指示することができない。このように、指示することができない項目に対しては、例えば、半輝度表示により、指示することができない旨を示す。
メニュー601cが指示されて、図形領域の作成が指示された場合や、メニュー601dが指示されて、図形領域の更新が指示された場合は、メニューバー600に代わり、図8のメニューバー800が表示される。このメニューバー800には、文書編集時に指示を与えるためのメニュー801が表示される。
【0030】
印刷・登録メニュー801aに対応するプルダウンメニュー810aには、印刷および登録の項目611および612、文章の編集を終了してレイアウト編集を開始することを指示する項目713、文書編集の終了を指示する項目716の他に、図形領域の位置やサイズの変更を指示する項目811および812がある。項目811および812は、レイアウト編集ウィンドウ200での図形編集だけに有効な項目であり、図形編集ウィンドウ500上での編集時には、半輝度で表示される。
以降、メニューバー700、800、のことを、それぞれ、本文メニュー、図形メニューと呼ぶことがある。
【0031】
次に、図1により、文書編集における操作の流れを説明する。
まず、電源を投入すると、作業メニュー101が表示される。作業メニュー101には、新しい文書を作成するための新規作成や、既に作成した文書を修正するための文書更新などのメニューが表示される。図1では、文書更新を指示して、修正すべき文書を呼び出した場合の流れが記載されている。
【0032】
文書を呼び出した後の画面の遷移が矢印111で示されているが、編集モードにより、遷移すべき編集初期状態が異なる。例えば、本文自動起動モードが設定されていると、本文メニュー700が表示され、文書の編集が可能となる。この時、レイアウト編集モードが設定されていると、破線130内に示したように、レイアウト編集ウィンドウ200cでの編集状態となり、個別編集モードが設定されていると、破線140内に示したように、本文編集ウィンドウ400での編集状態となる。
また、本文自動起動モードが設定されていない場合には、破線100内に示したように、文書マネジャのメニュー600が表示され、レイアウトの編集などが可能となる。
【0033】
レイアウト編集ウィンドウ200には、頁のレイアウトが表示されており、該頁には、本文領域240と図形領域260とが存在する。
レイアウト編集ウィンドウ200aで、プルダウンメニュー601eの項目620(枠表示しない)を指示すると、レイアウト表示ウィンドウ200aの表示状態が、矢印113に沿って遷移し、本文領域240と図面領域260との間の枠が消去される。逆に、レイアウト編集ウィンドウ200bで、プルダウンメニュー601eの項目620(枠表示する)を指示すると、レイアウト表示ウィンドウ200bの表示状態が、矢印112に沿って遷移し、本文領域240と図形領域260との間の枠が表示される。
【0034】
破線100内の状態から、文章や図形の編集を開始する手順について説明する。
編集開始時に、レイアウト編集モードが設定されているか、個別編集モードが設定されているかによって、操作の流れが異なる。編集モードは、プルダウンメニュー601eの項目618を指示することによって、必要に応じて、変更することができる。
【0035】
まず、最初に、レイアウト編集モードが設定されている場合について説明する。
レイアウト編集ウィンドウ200aまたは200bで、本文作成メニュー601bが指示されると、矢印114に沿って状態が遷移し、本文メニュー700が表示され、本文領域240の枠が太線で表示される。この状態で、文章編集が可能となる。図形領域260の枠は、破線100内での表示状態と同じである。
レイアウト編集ウィンドウ200aまたは200bで、領域編集メニュー610dの項目616(更新)が指示されると、矢印120に沿って状態が遷移し、図形メニュー800が表示され、図形領域260の枠が太線で表示される。この状態で、図形編集が可能となる。
【0036】
破線130内での編集対象(文章データや図形データ)の切替えは、領域を指示することによって行う。
例えば、レイアウト編集ウィンドウ200cで文章を編集しているときに、図形領域260を指示すると、矢印118に沿って状態が遷移し、図形メニュー800が表示され、図形領域260の枠が太線で表示されて、200dに示す状態となる。文章編集中に、領域を指示することによって、編集対象を切り替えることができるのは、切り替えるべき編集対象の領域が排他領域である場合に限られる。
【0037】
また、レイアウト編集ウィンドウ200dで図形を編集しているときに、本文領域240を指示すると、矢印119に沿って状態が遷移し、本文メニュー700が表示され、本文領域240の枠が太線で表示されて、200cに示す状態となる。
レイアウト編集ウィンドウ200c(200d)で、プルダウンメニュー701a(801b)の項目713(レイアウト編集)を指示すると、矢印115(121)に沿って状態が遷移し、文書マネジャのメニュー600が表示され、破線100内に示す状態となる。
【0038】
次に、個別編集モードが設定されている場合について説明する。
個別編集モードでは、レイアウト編集ウィンドウ200aまたは200bで、本文作成メニュー601bが指示されると、矢印116に沿って状態が遷移し、本文編集ウィンドウ400が表示され、本文メニュー700が表示される。この状態で、本文編集ウィンドウ400内での文章編集が可能となる。
本文編集ウィンドウ400の終了ボックス201を指示すると、矢印117に沿って状態が遷移し、本文編集ウィンドウ400が閉じ、文書マネジャのメニュー600が表示され、破線100内に示す状態となる。
【0039】
さて、レイアウト編集ウィンドウ200の表示の大きさを、プルダウンメニュー601e、701b、801bによって変更することができる。項目619に示す倍率は、次のことを意味する。
項目619の2倍、3/2倍、等倍、2/3倍、1/2倍は、それぞれ、標準サイズの文字を、32ドット、24ドット、16ドット、12ドット、8ドットの文字フォントで表示することを意味する。標準サイズの文字とは、印刷された結果の大きさが約10ポイントの大きさの文字のことであり、レーザプリンタ印刷時には、32ドットの文字フォントを、ワイヤドットプリンタ印刷時には、24ドットの文字フォントを用いる。
また、レイアウト標準ウィンドウ200の終了ボックス201を指示するか、プルダウンメニュー201を指示するか、プルダウンメニュー701a、801aの項目716(文書編集終了)を指示することにより、文書の編集を終了することができる。
【0040】
次に、図9〜図13を用いて、レイアウト編集ウィンドウ200での文章編集機能について説明する。
図9は文章編集時に表示されるスケール310を示す図である。
図9(a)は横書きの文章を編集する場合に表示されるスケールであり、図2のスケール表示領域220aに表示される。
図9(b)は縦書きの文章を編集する場合に表示されるスケールであり、図2のスケール表示領域220bに表示される。
【0041】
900はスケール表示用の文字フォントであり、8、16、24ドットの大きさのフォントが用意されている。カーソルが表示されている行の表示文字サイズにより、どの大きさの文字フォントを使用するかが決められる。
表示文字サイズが、8、16、24ドットの場合に使用する文字フォントは、それぞれ、8、16、24ドットの大きさであるが、表示文字サイズが12ドットの場合は、24ドットの文字フォントを半角に縮小して表示し、表示文字サイズが32ドットの場合は、16ドットの文字フォントを倍角に拡大して表示する。
【0042】
910はスケール表示のための文字列を表している。また、pは文字間隔を表しており、カーソルが表示されている行の文字間隔と同じ値をとる。スケールの表示は、後述する表示制御が提供する文字列表示コマンドを用いて行う。文字列表示コマンドのパラメータとしては、表示すべき領域、文字列の起点座標(x,y)、文字間隔p、文字列の幅w、文字の表示位置of、文字列方向を指定する。図9の(a)および(b)は文字列方向が異なるだけである。
【0043】
次に、スクロールの機能について、図10を用いて説明する。
図10において、1210は入力された文字列であり、1200は文字列1210のうち、ウィンドウに表示されている部分を示している。1201は上スクロールキーによる表示状態の遷移を、1202は下スクロールキーによる表示状態の遷移を表している。
図10に示すように、上スクロールキーが押された場合には、表示されている最後の行1211の次の行1212の全体が見えるように、スクロールの量を決定し、下スクロールキーが押された場合には、表示されている先頭の行1213の前の行1214の全体が見えるように、スクロールの量を決定する。
従って、文字サイズや行間などにより、スクロールの量が異なる。図10では横書き時の場合について図示されているが、縦書き時の横スクロールについても同様である。
【0044】
図11はレイアウト編集ウィンドウ200での文章の入力中の表示状態を示す図である。
図11で示されるように、文字入力の操作性の向上を図るため、入力中に頁が追加される場合には、追加される頁の先頭と前の頁の末尾とを同時に表示する。図11(a)は横書き時の表示状態を示している。図11(a)において、レイアウト編集ウィンドウ200には、連続する2頁のレイアウトが表示されている。230は頁を、240は本文領域を表している。1100は文字列である。また、図11(b)は縦書き時の表示状態を示している。ここで、文字列1110は、実線で示されている。
【0045】
以上説明したように、文字の入力中には、1頁だけを表示する場合と、連続した2頁を表示する場合とがあるが、以下、この表示状態の遷移について、図12を用いて説明する。
図12において、1400および1430は、それぞれ、第n頁だけが表示されている状態と、第n+1頁だけが表示されている状態とを示している。1410および1420は、第n頁と第n+1頁とが同時に表示されている状態を示しているが、状態1410では、カーソル1020が第n+1頁に表示されており、状態1420では、カーソル1020が第n頁に表示されている。矢印は、表示状態の遷移を表す。
【0046】
まず、状態1400からの遷移について説明する。
矢印1401で示される遷移は、文字入力により第n+1頁が追加される場合、または、第n頁の最終行が表示されており、上スクロールキーが押された場合に生じる。矢印1402で示される遷移は、改頁キーか次頁キーが押された場合に生じる。
【0047】
次に、状態1410からの遷移について説明する。
矢印1411で示される遷移は、カーソルキーや文字列の削除等によるカーソル1020の移動を示している。矢印1412で示される遷移は、下スクロールキーか前頁キーが押された場合に生じる。また、矢印1413で示される遷移は、上スクロールキーが押された場合、または、入力された文字列を第n+1頁に表示できなくなった場合に生じる。
【0048】
次に、状態1420からの遷移について説明する。
矢印1421で示される遷移は、上スクロールキーか次頁キーが押された場合に生じる。矢印1422で示される遷移は、カーソルキーや文字列の入力(挿入)などによるカーソル1020の移動を示している。矢印1423で示される遷移は、下スクロールキーが押された場合、または、文字列の削除などにより、カーソル1020が第n頁の非表示部分に移動した場合に生じる。
【0049】
次に、状態1430からの遷移について説明する。
矢印1431で示される遷移は、第n+1頁の先頭行が表示されており、下スクロールキーが押された場合、または、文字列の削除などでカーソル1020が第n頁に移動した場合に生じる。また、矢印1432で示される遷移は、前頁キーが押された場合に発生する。
【0050】
なお、図12の例では、横書の文書の場合を説明しており、縦書の文書の場合は、上スクロールキーが右スクロールキーに、下スクロールキーが左スクロールキーに、それぞれ代わるのみで、同様の遷移をたどる。
また、前頁キーまたは、次頁キーが押された場合の遷移は、図12の例に限らず、カーソル位置から1頁分の量を前後に移動する場合や、該当する頁を頁の先頭から表示したり頁の末尾から逆のぼって表示したりする場合も考えられる。
【0051】
最後に、領域の移動/サイズ変更の機能について、移動を例にとり、図13を用いて説明する。
図13は図形領域260を編集中の状態を表しており、図には示していないが、図形メニュー800が表示されている。この状態で、プルダウンメニュー801aの項目811(領域移動)を指示すると、図形領域260の移動が可能となる。
例えば図13(a)の位置から図13(b)の位置に移動すると、移動した図形領域260が、排他属性を持つ場合には、図に示すように、本文領域240の文章と図形領域260とが重ならないように、移動後の文章の配置が変化する。項目812(領域サイズ変更)を指示して、図形領域260サイズ変更を行った後も、同様に、文字列の再配置が行われる。
【0052】
さて、以上で本実施例における機能や操作に関する説明を終了し、以降、今まで説明した機能や操作性の実現手段について説明する。
まず、図14に本実施例におけるハードウェア構成を示す。
本実施例においては、編集や印刷処理を行うホストCPU1800と、表示処理を行うサブCPU1801およびグラフィックプロセッサ(GP)1809とからなるマルチCPU構成をとる。
ホストCPU1800およびサブCPU1801は、共有メモリ1803を介して結合しており、共有メモリ1803には、サブCPU1801が実行すべきプログラムや両CPU間でのコミュニケーション用のデータなどが置かれる。
【0053】
サブCPU1801およびGP1809は、1/0ポートを介して結合されており、サブCPU1801は、GP1809に対して、CRT1810への表示データの生成を指示する。GP1809は、その指示を受け、VRAM1812に表示用のビットマップデータを作成する。また、GP1809は、VRAM1812に生成したビットマップデータをCRT1810に表示するため、ビットマップデータの転送を制御する。
CGROM1811は、表示用の文字フォントを格納するROM(読出し専用メモリ)である。
【0054】
ホストCPU1800のパス1813には、ホストCPU1800が実行すべき、編集、印刷処理などを行うプログラムや編集データを、必要に応じて記憶する主メモリ1802、かな漢字変換処理で使用する辞書ROM1805、プログラムやデータを格納するHD(ハードディスク)1804、文書データなどを格納するFD(フロッピディスク)1806、文字や座標などを入力するキーボード(KB)1816やマウス1817が接続されている。HD1804やFD1806と主メモリ1802との間で、必要に応じて、プログラムやデータの転送が行われる。
【0055】
印刷装置としては、LP(レーザプリンタ)1808を使用する。LD1808は、LPコントローラ1807により制御される。LPコントローラ1807は、ホストCPU1800の指示に基づき、印刷イメージの生成処理と、その結果をLP1808に出力するための制御を行う。
1814および1815は、それぞれ、サブCPU1801およびGP1809のパスである。
【0056】
次に、図15を用いて、本実施例におけるソフトウエア構造について説明する。
図15において、1900は文書の編集処理を行うAP(アプリケーションプログラム)であり、1901は編集された文書を印刷するためのAPである。これらのAPは、複数の独立したAPから構成される。本発明に関わる、文書編集に関するAP1900については、後に、詳細に説明する。
【0057】
また、文書編集/印刷以外にも、張票を行うAP1902などが存在する。これらのAPは、マルチタスクOS(オペレーティングシステム)である基本OS1920により、タスクとして管理され、その動作が制御されるので、APのことをタスクと呼ぶことがある。
1903は初期表示タスクであり、電源投入後、基本OS1920の初期処理終了後、最初に起動されるタスクである。
1910は各APで共通する処理をOSの機能として取り込んだプログラム群であり、キーボード、マウス、メニューなどの制御を行う入力制御1910a、マルチウィンドウの制御を行うウィンドウ管理1910b、CRTへの表示を行うための機能を提供する表示制御1910c、印刷機能を提供する印刷制御1910d、HDやFDに格納される文書データなどをファイルとして管理するファイル管理1910eなどがある。
1930はキーボード、HDなどのハードウェアを制御するドライバ群である。
【0058】
次に、図16および図17を用いて、文書編集タスク1900のプログラム構造と文書データの構造について説明する。
図16に示すように、文書編集用タスク1900は、文書、図形、グラフなどの個々の領域のデータを編集する編集プログラム2010と、編集された個々のデータをレイアウト編集ウィンドウの各領域に表示する表示プログラム2020と、文書のレイアウトなどの構造を管理し、レイアウトの編集などを行い、編集プログラム2010および表示プログラム2020の動作を制御する文書マネジャと呼ばれるプログラム2000aと、文書マネジャ2000aの指示を受け、表示プログラム2020の起動を制御する文書マネジャサブと呼ばれるプログラム2000bとからなる。
これらのプログラムは、基本OS1920により、お互いに独立したタスクとして管理/制御される。2030〜2035の矢印は、各タスク間でのメッセージの送受信を表している。各メッセージの詳細については、後述する。
【0059】
図17に示すように、文書データは、文書の構成や頁のレイアウトに関する情報を保持する文書構成データ2120と、文章や図形などの各領域のデータ2110とからなる。
文書構成データ2120および各領域データ2110は、それぞれ、独立したファイルに格納される。文書構成データ2120は、文書マネジャ2000aにより生成され、管理される。
各領域のデータ2110は、対応する編集プログラム2010によって生成され、管理される。例えば、本文データ2110a、図形データ2110b、グラフデータ2110cは、それぞれ、本文編集タスク2010a、図形編集タスク2010b、グラフ編集タスク2010cにより生成される。一つの文書を構成する文書構成データ2120および各領域データ2110は、同一のディレクトリ2100の下にファイルとして生成され、ディレクトリ2100と文書名とは1対1に対応する。
【0060】
次に、各タスク間で送受信されるメッセージについて、図18を用いて説明する。
メッセージサブ2200は、図18に示すように、メッセージ長2201、メッセージ種別2202ごとに異なる情報2203からなる。
表1に、文書マネジャ2000aから編集タスク2010に送信されるメッセージ2030の種別とその情報を記載し、表4に、文書マネジャ2000aから文書マネジャ2000bに送信されるメッセージ2033の種別とその情報を記載する。
【0061】
また、表3および表2に、それぞれ、編集タスク2010から文書マネジャ2000aに送信されるメッセージ2032の種別とその情報、および、文書マネジャサブ2000bから表示タスク2020に送信されるメッセージ2031の種別とその情報を記載する。
文書マネジャサブ2000bから文書マネジャ2000aに送信されるメッセージ2034、および、表示タスク202から文書マネジャサブ2000bに送信されるメッセージ2035は、処理の終了通知しかなく、通知すべき情報は、送信側のタスク番号だけである。
【0062】
【表1】

Figure 0003699923
【0063】
【表2】
Figure 0003699923
【0064】
【表3】
Figure 0003699923
【0065】
【表4】
Figure 0003699923
【0066】
各編集タスク2010の処理の説明に入る前に、以降の説明で必要となる、図17で示した基本OS1920やプログラム群1910の機能について、簡単に説明する。
先にも述べたように、基本OS1920は、マルチタスクOSであり、各タスク間のメッセージの送受信や、共有メモリの管理機能を持つ。各タスクは、図18に示すメッセージを生成後、基本OS1920に、送信先のタスクを指定して、メッセージの送信を依頼する。
また、基本OS1920にメッセージの受信を依頼すると、基本OS1920は、依頼したタスクにメッセージが送信されていれば、図18に示すメッセージを受信したタスクに通知する。
【0067】
共有メモリの管理機能では、各タスクは、以下のような基本OS1920の機能を使うことができる。
タスクが基本OS1920にメモリの割当てを要求すると、要求されたサイズのメモリ領域を確保して、要求元のタスクに共有メモリ番号を通知する。タスクは、この共有メモリ番号に自分のデータエリアを割付け、データ領域として使用することができる。複数のタスクが同じ共有メモリ番号に対して、それぞれのデータエリアを割り付けることにより、該複数のタスク間でデータを共有することが可能となる。
【0068】
入力制御タスク1910aでは、かな漢字変換を行い、変換結果をタスクに通知する。また、入力制御タスク1910aでは、メニューやプルダウンメニューの表示などの制御を行う。メニューやプルダウンメニューによる入力時には、各タスクには、各メニューに対応するメニュー番号と、プルダウンメニューの各項目に対応する番号が通知される。通知を受けたタスクは、メニューやプルダウンメニューのデータを生成し、入力制御タスク1910aに、メニュー表示を依頼する。この時、タスクは、指示できないメニューやプルダウンメニューの項目を、予め入力制御に通知することができる。
【0069】
ウィンドウ管理タスク1910bでは、ウィンドウのオープンやクローズなどの制御を行う。タスクは、オープンしたウィンドウに対して、複数の表示領域を指定することができる。
表示領域を指定する場合には、表示領域の番号、領域の基点画面座標、領域のサイズ、領域の基点論理座標、座標変換係数を指定する。画面座標は、ウィンドウ内の相対座標であり、画面に対して規定される座標である。論理座標は、用紙に対して規定される座標である。表1および表4の物理座標は基点画面座標に、論理座標は基点論理座標に対応する。
なお、ウィンドウ管理タスク1910では、これらの値に基づいて、画面座標から論理座標への変換、論理座標から画面座標への変換を行うので、論理座標に基づいて編集処理を行えばよく、編集処理において、物理座標を意識する必要はない。
【0070】
表示や入力の要求は最前面にウィンドウを表示しているタスクに対してのみ受け付けられる。従って、通常は、ウィンドウをオープンしたタスクしか表示処理や入力処理を行えない。しかし、ウィンドウをオープンしたタスクAが、ウィンドウ管理タスク1910bが提供するウィンドウ権委譲機能を使用し、ウィンドウを他のタスクBに委譲した場合には、タスクBは、委譲されたウィンドウをオープンした場合と同様に使用することができる。但し、この時、タスクAは、ウィンドウを使用することができず、表示も入力も行えないことになる。
【0071】
各タスクは、表示制御タスク1910cが提供する表示機能により、ウィンドウに指定された領域に対して、文字列や図形などを表示することができる。表示の際には、表示すべき領域の番号やその領域に対する論理座標により、表示位置を指定する必要がある。
【0072】
文書データは、ファイル管理タスク1910eにより提供される機能によって管理される。ファイル管理タスク1910eは、ディレクトリやファイルの生成、削除、フィルへの書き込み/読み出し、ファイルのコピーなどのファイル管理機能を提供する。
【0073】
さて、電源が投入されると、まず、初期表示タスク1903が起動される。文書マネジャ2000aは、初期表示タスク1903により起動される。
図19(A)に初期表示タスク1903の処理の流れを示す。
図19(A)において、初期表示タスク1903は、まず、ステップ2275’で起動モードおよび編集モードを、HD1804の予め定められた場所から読み出し、図19(B)に示す2280および2281に設定する。
【0074】
次に、ステップ2261’で、ウィンドウをオープンし、ステップ2262で’、作業メニュー101を表示する。ステップ2263’で入力を受け付け、ステップ2264’で、その判定処理を行う。
【0075】
入力が新規作成を指示するものであれば、ステップ2270’で、文書マネジャ2000aをタスクとして生成し、起動する。続いて、ステップ2271’で、起動した文書マネジャ2000aに、文書マネジャ2000aのタスク番号、処理モード(新規)、起動モード2280、編集モード2281を内容とするメッセージを送信する。
【0076】
また、入力が文書更新であれば、ステップ2265’で、HD1804やFD1806に格納されている文書の一覧を表示する。続いて、ステップ2267’で、更新対象の文書が指示されると、ステップ2268’で、文書マネジャ2000aを生成して起動し、ステップ2269’で、文書マネジャ2000aにメッセージを送信する。この時のメッセージの内容は、文書マネジャ2000aのタスク番号、処理モード(更新)、ステップ2267’で指示された文書に対応するディレクトリ2100の名称である。
【0077】
メッセージを送信した後は、ステップ2272’で、メッセージの受信処理を行い、ステップ2273’で、文書マネジャ2000aからのメッセージ待ちとなると、起動された文書マネジャ2000aが動作を開始する。ステップ2273’は待ち状態を意味する記号であり、以降、文書マネジャ2000aや編集タスク2010の処理の流れを示す図でも、本記号を使用する。
文書マネジャ2000aからメッセージを受信すると、ステップ2263’の入力処理に戻る。
【0078】
次に、文書マネジャ2000aの制御データについて、図20、図21を用いて説明する。
図20は文書構成データ2120である。文書構成データ2120はは、本文自動起動か否かを示す起動モード2210、レイアウト編集モードか個別編集モードかを示す編集モード2220、頁数2230’、頁管理テーブル2240、領域管理テーブル2150、書式データ2170からなる。
【0079】
頁管理テーブル2240は、頁に含まれる領域の領域管理テーブル2150へのポイントからなる。例えば、ポインタ2241は、第1頁に含まれる領域の領域管理テーブル2150aへのポインタであり、ポインタ2242は、第2頁に含まれる領域の領域管理テーブル2150cへのポインタである。
【0080】
領域管理テーブル2150は、同一頁に含まれる領域に対する領域管理テーブル2150を指すポインタ2151、ポインタ2151と逆方向に領域管理テーブル1250をたどるための逆方向ポインタ2152、領域の左上隅論理座標2153および2154、領域の右下隅論理座標2155および2156、領域に割り当てられたデータが格納されているファイルのファイル名称2157、データの種別(本文、図形、グラフなど)2158、領域の属性(排他/非排他)2159、書式データ2170へのポインタ2160、編集タスク制御テーブル2230(後述)へのポインタ2161からなる。
書式データ2170は、上余白2171、下余白2172、左余白2173、右余白2174、段組数2175、段間隔2176、横書き/縦書きの区別2177からなる。
【0081】
図21の(b)は、本文編集タスク2010aを起動する際に、文書マネジャ2000aが生成する本文生成用データ2130である。
本文生成用データ2130は、頁数2180、頁管理テーブル2190、排他領域管理テーブル2250、書式データ2260からなる。
頁管理テーブル2190aは、排他領域管理テーブル2250へのポインタから構成され、例えば、ポインタ2191aは、第1頁の排他領域管理テーブル2250aへのポインタを格納し、ポインタ2192aは、第2頁の排他領域管理テーブル2250へのポインタを格納する。図20では、第2頁に排他領域がないため、ポインタ2192aには、空記号が設定されている。
頁管理テーブル2190bは、書式データ2260へのポインタから構成され、例えば、ポインタ2191bは、第1頁の頁書式データ2260へのポインタを格納し、ポインタ2192bは、第2頁の頁書式データ2260へのポインタを格納する。
【0082】
排他領域管理テーブル2250は、同一頁の排他領域に対する排他領域管理テーブル2250へのポインタ2251、排他領域の左上隅論理座標2252および2253、排他領域の右下隅論理座標2254および2255からなる。書式データ2260の内容2261〜2267は、文書構成データ2120の書式データ2170における2171〜2177と同じ内容である。
【0083】
図21(c)は起動した編集タスク2010を管理する編集タスク管理テーブル2230を示す。
編集タスク管理テーブル2230は、複数のレコード2231からなり、レコード2231は、起動したタスクの番号2232、共有メモリ番号2233および2234、編集モード2235、領域管理テーブル2150へのポインタ2236からなる。領域管理テーブル2150のポインタ2161は、編集タスク管理テーブル2230の個々のレコード2231の所在を示すものである。
【0084】
2270は文書マネジャサブタスク2000bのタスク番号、2271は文書マネジャサブタスク2000bとの共有メモリの番号である。また、2272および2273は、レイアウト表示の拡大率および枠表示の有無を示すものであり、2274および2275は、表示中の頁番号を示す。2246は、後述するデータ確定処理のために起動されたタスクのタスク番号であり、2247はそのタスクに対応するレコードの所在を示すポインタである。
【0085】
図20の(a)および図21(c)で示されるデータは、同じ共有メモリ上に置かれ、図21(b)で示されるデータは、異なる共有メモリ上に置かれる。
【0086】
図22〜図27の〔A〕〜〔N〕は文書マネジャ2000aの処理の流れを説明する図である。以下、各処理について説明する。
〔A〕メイン処理
文書マネジャ2000aは、起動されると、まず、ステップ2400で、初期処理を行い、ステップ2301で、初期表示タスク1903から受信したメッセージの処理モードを判定し、新規作成であれば、ステップ2500で、新規作成開始処理を行い、文書更新であれば、ステップ2302で、受信メッセージで得た文書データに対応するディレクトリ2100の下の文書構成データ2120を読み出す。そして、ステップ3200で、第1頁のレイアウトを表示する。
【0087】
次に、ステップ2303で、起動モード2210を調べ、本文自動起動モードならば、ステップ2600で、タスク起動処理を行い、そうでないならば、ステップ2304で、入力処理を行う。ステップ2305で、入力を判定し、判定結果に応じて、タスク起動処理(ステップ2600)、領域作成処理(ステップ2306)、登録処理(ステップ2307)、印刷処理(ステップ2309)、領域判定処理(ステップ2308)、初期状態変更処理(ステップ2310)、拡大率変更処理(ステップ3400)、モード変更処理(ステップ2312)、枠表示処理(ステップ3500)、その他の処理(ステップ2314)を行う。
【0088】
ステップ2307の登録処理は、プルダウンメニュー601aの項目612(登録)が指示された場合に行われる処理であり、編集タスク管理テーブル2230に登録されているレコード2231の共有メモリ番号2233の編集データを、ポインタ2141が指す、領域管理テーブル2150のファイル名称2157に記載されているファイル2110に格納する。全てのレコード2231に対して、以上の処理を行った後、文書構成データ2120を、文書構成データファイル2120に格納して、登録処理を終了する。
【0089】
ステップ2309の印刷処理は、プルダウンメニュー601aの項目611(印刷)が指示された場合に行われる処理であり、編集タスク管理テーブル2230に登録されているレコード2231の共有メモリ番号2233の編集データを、ポインタ2141が指す、領域管理テーブル2150のファイル名称2157に記載されているファイル2110に格納する。全てのレコード2231に対して、以上の処理を行った後、文書構成データを、文書構成データファイル2120に格納して、文書印刷タスク1901に印刷を指示する。文書印刷タスク1901には、メッセージにて、印刷すべき文書に対応するディレクトリ2100の名称を通知する。
【0090】
ステップ2310の初期状態変更処理は、プルダウンメニュー601aの項目613(初期状態変更)が指示された場合に行われる処理であり、起動モード2210が本文自動モードならば、そうでない状態に設定し、また、本文自動起動モードでなければ、本文自動起動モードに設定する処理である。
ステップ2312のモード変更処理は、プルダウンメニュー601eの項目618が指示された場合に行われる処理であり、指示された項目(レイアウト/個別)に対応するモードを、編集モード2220に設定する処理である。
【0091】
タスク起動処理(ステップ2600)、登録処理(ステップ2307)、領域作成処理(ステップ2306)、印刷処理(ステップ2309)、初期状態変更処理(ステップ2310)、モード変更処理(ステップ2312)、その他の処理(ステップ2314)の終了後、および、後に説明する拡大率変更処理(ステップ3400)、枠表示処理(ステップ3500)の終了後は、ステップ2320で、メッセージの受信処理を行う。
【0092】
ステップ2304での入力が座標値の場合には、ステップ2308で、編集頁番号2274および2275に記載されている頁番号に対応する、頁管理テーブル2240のポインタから領域管理テーブル2150をたどり、入力された座標と、領域管理テーブル2150の領域左上隅X座標2153、領域左上隅Y座標2154、領域右下隅X座標2155、領域右下隅Y座標2156とを比較することによって、指示された領域を割り出す。続いて、ステップ2315で、入力処理を行い、ステップ2317で入力を判定する。入力が、プルダウンメニュー601dの項目616(更新)または、メニュー601b(本文作成)の場合には、ステップ2600で、タスク起動処理を行い、プルダウンメニュー601dの項目617(サイズ変更)の場合には、ステップ2800で、サイズ変更/移動処理を行い、また、その他の場合には、ステップ2318で、その他の処理を行う。サイズ変更/移動処理(ステップ2800)、その他の処理(ステップ2318)が終了すると、ステップ2320で、メッセージの受信処理を行う。
【0093】
ステップ2305で、プルダウンメニュー601cの項目が指定されたと判定された場合は、ステップ2306で、領域作成処理を行う。
この処理は、ユーザにより、入力された矩形領域を、新しい領域として設定する処理であり、領域が指示された頁に対応する、頁管理テーブル2240のポインタに連結されている領域管理テーブル2150の末尾に、新しく生成された領域に対応する、領域管理テーブル2150を追加する。そして、ユーザが入力した矩形領域の座標を読み取り、領域左上隅X座標2153、領域左上隅Y座標2154、領域右下隅X座標2155、領域右下隅Y座標2156を設定する。データ種別2158には、プルダウンメニュー601cの項目が指示されたデータの種類を設定する。領域属性2159の値は、ユーザの指定により設定される。また、ファイル名称2157には、今まで生成さえれたファイルの名称と異なる値が格納される。ポインタ2160および2161には、空記号が設定される。
【0094】
タスク起動処理(ステップ2600)の後、ステップ2316で、編集モード2220を判定し、個別編集モードならば、ステップ2320で、メッセージの受信処理を行う。
ステップ2320のメッセージ受信処理では、メッセージがなければ、直ちに、ステップ2304で、入力処理を行うが、このときに入力待ちとなることによって、ステップ2600で起動された編集タスクの処理が開始される。メッセージがある場合には、その種類をステップ2321で判定して、ステップ3450の編集終了処理か、ステップ3300の頁数変更処理を行い、ステップ2304の入力処理に戻る。
【0095】
また、ステップ2316の判定で、レイアウト編集モードならば、ステップ2322で、メッセージの受信処理を行う。この処理では、ステップ2600で起動したタスクからのメッセージを受信するまで、ステップ2323で待つことになる。この待ちにより、起動された編集タスクが処理を開始する。
【0096】
メッセージを受信すると、ステップ3000で、受信したメッセージに対応する処理を行い、ステップ2319で、その結果を判定してメッセージが文書編集終了ならば、ステップ3100で、終了処理をして、文書マネジャ2000aの処理を終了し、編集タスクの終了ならば、ステップ2320で、メッセージの受信処理を行う。また、領域切替えならば、ステップ2324で、メッセージで指示された座標から、指示された領域を割り出し、編集領域内であれば、ステップ2600で、対応するタスクの起動処理を行う。該座標が頁領域内にあり、編集領域に含まれないものであれば、ステップ2320で、メッセージの受信処理を行う。その他の場合は、再びステップ2322で、メッセージの受信処理を行い、メッセージの受信待ちとなる。
【0097】
〔B〕初期処理
初期処理では、ステップ2401で、初期表示タスク1903からのメッセージを受信し、ステップ2402で、処理モードを判定して、新規文書作成ならば、メッセージで得た起動モードおよび編集モード2210および2220に設定する。続いて、ステップ2404で、処理に必要なテーブル類を初期化する。この時、メッセージで得た文書マネジャ2000aのタスク番号を2270に設定し、拡大率2272に等倍表示を、枠表示2273に枠表示ありを、2274の編集頁番号1に第1頁を設定する。ステップ2405で、文書構成データ2120用の共有メモリを獲得し、ステップ2406で、ウィンドウをオープンして、ステップ2407で、メニューバー600を表示する。
【0098】
ステップ2408では、ウィンドウ管理タスク1910bに対して、ガイダンス領域210、スケール表示領域220、頁表示領域230を設定する。
頁表示領域230の設定では、ウィンドウ内の物理的な位置/大きさと、用紙上のデータの論理的な位置/大きさとの対応を取るため、領域の物理起点座標(画面上の領域の左上隅座標)と、論理起点座標(物理起点座標に対応する用紙上の座標)および座標変換率とを設定する。これにより、座標入力処理においては、ウィンドウ管理タスク1910bが座標変換を行い、文書マネジャ2000aは、用紙上の論理座標をウィンドウ管理1910bから受け取ることになる。
最後に、ステップ2409で、頁表示領域に用紙枠を表示して、初期処理を終了する。
【0099】
〔C〕新規作成開始処理
新規作成開始処理では、ステップ2501で、新規文書に対応するディレクトリ2100を生成し、ステップ2502で、文書構成データ2120の初期化処理を行う。この時、頁管理テーブル2240のポインタ2241などには、全て空記号が設定される。
続いて、ステップ2503で、ディレクトリ2100の下に、文書構成データ2120用のファイルを生成し、ステップ2504で、初期化した文書構成データ2120を、生成したファイルに書き込み、処理を終了する。
【0100】
〔D〕レイアウト表示処理
レイアウト表示処理では、ステップ3201で、文書マネジャサブタスク2000bを生成し、ステップ3202で、メッセージを生成する。メッセージ種別2202には、タスク起動を設定し、メッセージ情報2203には、文書構成データ2120用にに獲得された共有メモリの番号2271、レイアウトを表示する頁表示領域の番号と頁番号2274、頁表示領域の基点物理座標、起点論理座標、領域サイズを設定する。
【0101】
ステップ3203〜ステップ3205で、文書マネジャサブタスク2000bを起動し、ウィンドウ権を文書マネジャサブタスク2000bに委譲して、ステップ3202で生成したメッセージを文書マネジャサブタスク2000bに送信する。
続いて、ステップ3206で、文書マネジャサブタスク2000bからのメッセージの受信処理を行い、ステップ3207で待ち状態となる。この時、文書マネジャサブタスク2000bが動作を開始する。
メッセージを受信すると、ステップ3208で、文書マネジャサブタスク2000bを削除して、処理を終了する。
【0102】
〔E〕枠表示処理
枠表示処理では、まず、ステップ3501’で、プルダウンメニュー601eで、指示された項目620と、枠表示の有無2273とを比較し、等しければ、処理を終了する。等しくなければ、ステップ3502’で、2273の内容を指示された内容に書換え、ステップ3503’で、頁表示領域230の内容を消去し、改めて用紙枠を表示する。最後に、ステップ3200で、レイアウト表示を行い、処理を終了する。
【0103】
〔F〕拡大率変更/再表示処理
拡大率変更処理では、まず、ステップ3402で、拡大率2272を指定された値に変更し、ウィンドウ管理タスク1910bに対して、拡大率に対応した座標変換率を設定する。続いて、ステップ3403で、頁表示領域230を消去し、用紙枠を表示して、ステップ3200で、頁番号2274で示される頁に対して、レイアウト表示処理を行う。2頁表示時には、頁番号2275で示される頁に対して、再び、ステップ3200で、レイアウト表示処理を行う。
【0104】
〔G〕タスク起動処理
タスク起動処理では、まず、ステップ2601で、メイン処理で指示された領域に対応する編集タスクを生成する。ステップ2602で、本文編集タスク2010aの起動時には、頁管理テーブル2240の表示されている頁に対応するポインタが指す領域管理テーブル2150を取得する。その他の場合には、メイン処理から与えられた座標から、編集対象となる領域を割り出し、対応する領域管理テーブル2150を取得する。
【0105】
領域管理テーブル2150が存在しない場合には、ステップ2604で、領域管理テーブル2150を生成する。領域管理テーブル2150が存在しない場合は、本文編集タスク2010a起動時に限られるので、領域左上隅X座標2153、領域左上隅Y座標2154、領域右下隅X座標2155、領域右下隅Y座標2156は、用紙の予め定められた余白値から計算される。ファイル名称2157には、今まで生成されたファイルの名称と異なる名称が設定され、データ種別2158には、本文が設定される。書式データ2170が生成され、ポインタ2160には、書式データ2170の所在が格納される。2161には、空記号が格納される。ステップ2605では、編集データ2110用のファイルが生成され、本文編集用に2つの共有メモリが獲得される。
【0106】
領域管理テーブル2150が存在する場合には、ステップ2606で、ポインタ2161を調べ、空記号であれば、編集データ2110用の共有メモリを獲得し、領域の更新であれば、獲得した共有メモリの1つに、編集データファイルから該当する編集データ2110を読み出す。空記号でなければ、既に、編集データ2110が読み出されているので、ステップ2607の処理は行わない。本文編集タスク2010a起動時には、ステップ2609で、本文生成用データ2130を、もう1つの共有メモリに生成する。ここで、排他領域管理テーブル2250には、排他属性が指定された領域の左上座標および右下座標が設定される。
【0107】
サイズ変更/移動処理(後述)以外から本処理が呼ばれた場合には、ステップ2610で、ウィンドウ管理タスク1910bに対して、編集領域(図2の240、250、260など)の基点物理座標、物理サイズ、基点論理座標、座標変換率を設定する。続いて、ステップ2611で、表1の編集タスク起動時のメッセージを生成する。領域X(Y)方向サイズは、編集領域の論理座標上での大きさである。起動種別には、新規/更新の区別の他に、確定処理(〔M〕サイズ変更/移動処理から本処理が呼ばれた場合)の区別を格納する。また、編集対象となる領域に他の領域が重なっているか否かをメッセージに設定する。
【0108】
ステップ2612で、編集タスクを起動し、レイアウト編集モードで、かつ、確定処理でない場合は、ステップ2614で、起動したタスクにウィンドウ権を委譲する。ステップ2615で、メッセージを送信する。最後に、ステップ2616で、編集タスク管理テーブル2230の空きレコード2231を獲得し、編集タスク番号2232、共有メモリ番号2232および2234、編集モード2235を設定する。
【0109】
編集モード2235は、編集モード2220と同じ値が設定されるが、2603で編集中であると判定された場合には、それに加え、複数編集状態が設定される。また、この時、新しく起動したタスクの番号を2246に、レコードの所在を2247に設定する。編集中でなかった場合には、編集モード2220に加え、単独編集中が設定される。ポインタ2236には、対応する領域管理テーブル2150の所在、該領域管理テーブル2150のポインタ2161には、獲得したレコードの所在が設定される。
【0110】
〔H〕編集タスク終了処理
編集タスク終了処理は、まず、ステップ3451で、受信したメッセージから、メッセージを送信したタスクの番号を求め、該タスクに対応する、編集タスク管理テーブル2230のレコード2231を取得する。
続いて、ステップ3452で、該タスクを削除し、ステップ3453で、共有メモリ番号2232で示される共有メモリの編集データを、ポインタ2236が示す領域管理テーブル2150のファイル名称2157のファイルに書き込む。その後、ステップ3200で、レイアウトを表示し、ステップ3454で、共有メモリを開放し、ステップ3455で、編集タスク管理テーブル2230から、レコード2231を削除して、ステップ3456で、メニュー600を表示し、処理を終了する。
【0111】
〔I〕頁数変更処理
頁数変更処理では、まず、ステップ3301で、メッセージで通知された変更後の頁数と、頁数2230’とを比較し、後者が大きければ、ステップ3302以降の処理を行い、前者が大きければ、ステップ3306以降の処理を行う。
【0112】
ステップ3302以降の処理では、ステップ3303からステップ330の処理で、頁数(2230’)+1頁目から、変更後の頁数まで、頁管理テーブル2240の対応するポインタ2241などに、空記号を設定する。その後、ステップ3310で、頁数2230’の値を更新する。
【0113】
ステップ3302以降の処理では、ステップ3306からステップ3395の処理で、増加した頁の数だけ、本文編集領域の領域管理テーブル2150を作成し、頁管理テーブル2240の対応するポインタ2241などに、作成した領域管理テーブル2150の所在を設定し、その後、ステップ3310で、頁数2230’の値を更新する。領域管理テーブル2150の内容は、変更前の最終頁のものと同じ値にする。
【0114】
〔J〕メッセージ対応処理
メッセージ対応処理では、まず、ステップ3010で、メッセージ種別2202を判定し、メッセージ種別に対応する処理を行う。
文書編集終了の場合は、本処理では、何も処理を行わず、終了する。
【0115】
指定頁表示の場合には、ステップ3001で、編集頁番号2274をメッセージで与えられた頁数に更新し、該当する頁に対して、頁表示領域230、本文編集領域240の起点物理座標、サイズ起点論理座標を、ウィンドウ管理タスク1910bに通知する。この時、メッセージの表示モードを参照し、頁の先頭から表示するか、末尾を表示するかを決定し、それによって、起点論理座標をどのような値にするかを計算する。続いて、ステップ3002で、頁表示領域を消去し、用紙枠を表示して、ステップ3200で、レイアウト表示を行う。ステップ3005で、メッセージを生成する。この時、メッセージ種別2202に終了通知を設定し、情報2203に、新しく設定した、本文編集領域240の起点物理座標、起点論理座標、論理座標上での領域サイズをメッセージに設定する。ステップ3006で、メッセージを発行したタスクにウィンドウ権を委譲し、ステップ3007で、該タスクに、メッセージを送信して、処理を終了する。
【0116】
メッセージ種別が拡大率変更または再表示の場合には、ステップ3400で、拡大率変更/再表示処理を行う。続いて、ステップ3013で、拡大率変更処理の場合には、拡大率および、座標変換率の変更に伴う、論理座標上の領域サイズをメッセージに設定する。再表示処理の場合には、座標やサイズの設定を行う必要はない。メッセージ種別2202には、処理終了を設定する。ステップ3014で、編集タスクにウィンドウ権を委譲し、ステップ3015で、編集タスクにメッセージを送信して処理を終了する。
【0117】
メッセージ種別が印刷/登録の場合には、ステップ3011で、メッセージ種別2202を判定して、前述した印刷処理か登録処理を行い、ステップ3008で、メッセージを作成する。メッセージ作成では、終了通知をメッセージ種別2202に設定するだけである。ステップ3009で、編集タスクにウィンドウ権を委譲し、ステップ3012で、メッセージを送信する。
【0118】
メッセージ種別が頁更新の場合には、ステップ3300で、頁更新処理を行い、ステップ3008で、メッセージを生成して、ステップ3012で、生成したメッセージを編集タスクに通知する。この場合も、終了通知をメッセージ種別2202に設定するするだけである。
【0119】
メッセージ種別がサイズ変更/移動の場合には、ステップ2800で、後述するサイズ変更/移動処理を行い、ステップ3008で、メッセージを生成し、ステップ3009で、ウィンドウ権を編集タスクに委譲して、ステップ3012で、生成したメッセージを編集タスクに通知する。メッセージ生成では、終了通知をメッセージ種別2202に設定し、情報2203に物理基点座標、サイズ、論理基点座標を設定する。
【0120】
メッセージ種別がスクロール、連続頁表示、編集終了処理の場合には、それぞれ、ステップ3500、ステップ3600、ステップ3400で、対応する処理を行い処理を終了する。
【0121】
〔K〕スクロール処理
スクロール処理では、まず、ステップ3501で、受信したメッセージのXおよびY方向の移動量より、スクロール後の編集タスクの起点論理座標を計算し、ウィンドウ管理タスク1910bに通知する。続いて、ステップ5502で、頁表示領域230のイメージをスクロール量に従って移動し、ステップ3503で、スクロールにより不要となった範囲を消去し、消去した範囲の用紙枠221を表示する。次に、ステップ3200で、レイアウト表示処理を行い、ステップ3504で、メッセージを作成する。メッセージ種別2202に終了通知を設定し、メッセージ情報2203には、起点論理座標と論理座標上の領域サイズを設定する。ステップ3505で、ウィンドウ権を編集タスクに委譲し、ステップ3506で、編集タスクにメッセージを送信して処理を終了する。
【0122】
〔L〕連続頁表示処理
連続頁表示処理では、まず、ステップ3601で、メッセージで与えられた頁を表示するための領域を設定する。図12に示すように、横書き時は頁表示領域230の上半分に、縦書き時は頁表示領域230の右半分に先頭頁を表示する。そのために、頁表示領域230と本文編集領域240の起点論理座標、基点物理座標、領域サイズを決定し、ウィンドウ管理タスク1910bに通知する。頁表示領域230を消去し、先頭頁の用紙枠211を表示する。続いて、ステップ3200で、レイアウト表示処理を行う。その後、ステップ3602で、編集タスクに送信するメッセージ種別2202に終了通知を、メッセージ情報2203に、先頭頁の本文編集領域の領域番号、起点物理座標、起点論理座標、領域サイズを設定する。
【0123】
ステップ3603では、図12に示すように、横書き時は頁表示領域の下半分に、縦書き時は、頁表示領域の左半分に、次の頁を表示するために、頁表示領域、本文編集領域の起点論理座標、基点物理座標、領域サイズを決定し、ウィンドウ管理1910bに通知し、次頁の用紙枠を表示する。ステップ3604で、編集頁番号2244および2245に先頭頁およびその次の頁番号を設定し、ステップ3200で、レイアウト表示処理を行う。ステップ3605で、メッセージ情報2203に、次頁の本文編集領域の領域番号、起点物理座標、起点論理座標、領域サイズを設定する。ステップ3606で、編集タスクにウィンドウ権を委譲し、ステップ3607で、編集タスクにメッセージを送信して、処理を終了する。
【0124】
〔M〕サイズ変更/移動処理
サイズ変更/移動処理では、まず、ステップ2801の入力処理で、領域のサイズ変更/移動後の領域の位置(左上隅座標および右下隅座標)を入力する。ステップ2802で、入力結果の座標を、領域管理テーブル2510の2153から2156に設定する。メッセージ対応処理から本処理が呼ばれた場合には、メッセージで通知された編集タスクの番号から、該編集タスクに対応する管理テーブル2510を取得し、メイン処理から呼ばれた場合には、メイン処理のステップ2308の領域判定処理で、変更すべき領域管理テーブル2510が取得される。
【0125】
ステップ2600で、本文編集タスクを確定処理モードで起動し、ステップ2804で、メッセージの受信処理を行って、ステップ2805で、メッセージの受信待ちとなる。メッセージを受信すると、ステップ2806で、メッセージのタスク番号が2246に登録されているかどうかをチェックし、登録されていなければ、ステップ3450で、編集タスク終了処理を行って、処理を終了する。
【0126】
登録されていれば、ステップ2807で、データ確定処理を行った編集タスクを削除し、ステップ3200で、レイアウト表示処理を行う。そして、ステップ2808で、メッセージのタスク番号から、編集タスク管理テーブル2230のレコード2231を取得し、編集モードを単独処理に変更して、処理を終了する。
【0127】
〔N〕終了処理
終了処理では、編集タスク管理テーブル2230に登録されている全てのレコード2231について、ステップ3102からステップ3105の処理を行う。
【0128】
まず、ステップ3102で、登録されているタスク番号2232を持つタスクをアボードし、削除する。そして、ステップ3103で、共有メモリ番号2233の編集データを、ファイル名称が、ポインタ2236が指し示す領域管理テーブル2150の2157で与えられるファイルに格納し、ステップ3104で、共有メモリを解放する。ステップ3105で、レコード2231を削除する。
【0129】
全てのレコード2231について、ステップ3102からステップ3105の処理が終了すると、ステップ3106で、文書構成データ2120をファイルに格納し、ステップ3107で、文書構成データ2120用の共有メモリを解放し、ステップ3108で、初期表示タスク1903に終了メッセージを送信して、処理を終了する。
【0130】
以上が文書マネジャ2000aの処理である。次に、文書マネジャサブ2000bの処理について説明する。
図28は文書マネジャサブ2000bの処理の流れを示す図である。
文書マネジャサブ2000bは、まず、ステップ3701で、文書マネジャ2000aからのメッセージを受信し、メッセージの共有メモリ番号1で与えられた共有メモリに存在する表示すべき頁の頁管理テーブル2240のポインタから、該頁の領域管理テーブル2150をたどり、全ての領域について、ステップ3703からステップ3716の処理を行い、ステップ3717およびステップ3718で、文書マネジャ2000aにウィンドウ権を委譲し、メッセージを送信して、処理を終了する。
【0131】
ステップ3703では、頁領域管理テーブル2150のポインタ2161を調べ、空であれば、ステップ3704で、共有メモリを獲得し、ステップ3705で、領域管理テーブル2150のファイル名称2157により示される編集データ用ファイル2210から編集データを読み出す。
【0132】
ステップ3706で、領域管理テーブル2150のデータ種別2158に対応するレイアウト表示タスク2020を生成する。ステップ3707では、表示領域座標2153〜2156と、メッセージで通知された、頁表示領域の起点物理座標、起点論理座標、領域サイズから、表示すべき領域の起点物理座標、起点論理座標、領域サイズを計算し、ウィンドウ管理タスク1910bに通知して、表2のメッセージを生成する。続いて、ステップ3708で、レイアウト表示タスク2020を起動し、ステップ3709で、該タスクにウィンドウ権を委譲し、ステップ3710で、メッセージを送信する。ステップ3711で、メッセージ受信処理を行い、ステップ3712で、レイアウト表示タスク2020からのメッセージ受信待ちとなり、レイアウト表示タスク2020が処理を開始する。レイアウト表示タスク2020からのメッセージを受信すると、ステップ3704で、共有メモリを獲得した場合には、ステップ3713で、該共有メモリを解放する。そして、ステップ3714で、レイアウト編集タスク2020を削除し、ステップ3715で、枠表示の有無2273をチェックし、領域枠表示が必要であれば、ステップ3716で表示する。
【0133】
編集タスク管理テーブル2230の編集モード2235が、レイアウト編集になっているレコード2231に対応する領域に対しては、ステップ3703〜ステップ3716の処理は行わない。
表2の共有メモリ番号は、ステップ3704で、獲得したものか、編集タスク管理テーブル2230の共有メモリ番号2233の値が設定される。領域番号は、ステップ3707でウィンドウ管理タスク1910bに通知した領域のものである。
【0134】
レイアウト表示タスク2020は、受信したメッセージの共有メモリ番号で示されるメモリ上にある編集データを、メッセージで与えられた表示領域に表示し、表示終了後、文書マネジャサブタスク2000bにウィンドウ権を委譲し、終了メッセージを送信して、処理を終了する。
【0135】
次に、本文編集タスク2010aの処理について説明する。
まず、図29および図30により、本文編集の制御データについて説明する。図29は本文データ2110aを示す図である。本文データ2110aは、頁数5000、頁単位の頁制御テーブル5100、文字コードテーブル5400からなる。
【0136】
頁制御テーブル5100は、段管理テーブル5200と行管理テーブル5300とからなる。段管理テーブル5200は、頁に含まれる段の数5201、各段毎に含まれる行の行数5202、行間5203、段の先頭行の行管理テーブル5300へのポインタ5204を持つ。行管理テーブル5300は、各行ごとの行情報からなり、行情報は、文字サイズ5301、文字間5302、行先頭の文字コードへのポインタ5303からなる。文字コードテーブル5400は、文字コードと文字属性とを格納するテーブルである。
【0137】
図30は本文の制御データを示す図である。制御データは、現在表示している頁数を格納する表示頁数5501、現在の表示拡大率5502、レイアウト編集か個別編集かを区別する編集モード5503、表示中の頁の論理座標を保持する表示領域管理テーブル5500、段の行座標を保持する行座標テーブル5600がある。
【0138】
表示管理テーブル5500は、表示頁ごとに存在し、頁番号5520、ウィンドウ管理タスク1910bに設定した表示領域の番号5521、頁の段数5522、横/縦書きの区別5523、段座標管理テーブル5510からなる。
段座標管理テーブル5510は、各段の段左上隅論理X座標5511、段の段左上隅論理Y座標5512、段右下隅論理X座標5513、段右下隅論理Y座標5513を保持する。
【0139】
次に、本文編集タスク2010aの処理の流れについて、図31〜図35により説明する。
本実施例においては、レイアウト編集モードでの処理を中心に記載してあり、特に、〔C〕〜〔I〕の各処理については、レイアウト編集モード時の処理だけを取り出して記述してある。レイアウト編集モードと個別編集モードで処理が異なる場合は、編集モード5503により、どちらの処理を行うかを決定する。以下、図31〜図35の〔A〕〜〔K〕の処理について説明する。
【0140】
〔A〕メイン処理
本文編集タスク2010aは、起動されると、まず、ステップ3900で、初期処理を行い、ステップ3801で、入力待ちとなる。ステップ3802で、入力の判定処理を行い、その結果によって、スクロール処理、座標変換処理、再表示処理、印刷/登録処理やその他の処理を行う。
【0141】
スクロールキーが入力されたときには、ステップ4100で、スクロール処理を行い、ステップ3801に戻って、入力待ちとなる。
入力が本文の表示領域240または頁表示領域230の座標であり、かつ、レイアウト編集モードのときには、ステップ4000で、座標変換処理を行い、その結果によって、ステップ3803で、ステップ4600の終了処理を行うか、ステップ3801の入力処理に戻って、処理を続行するかを判断する。
プルダウンメニュー701aの項目713(レイアウト編集)か項目716(文書編集終了)が入力された場合、または、終了ボックス201が指示された場合には、ステップ4600で、終了処理を行い、本文の編集処理を終了する。
【0142】
前頁/次頁キーが押下げられた場合、または、プルダウンメニュー701bの項目714(再表示)か項目715(画面分割)が指示された場合には、ステップ4300で、再表示などの処理を行い、ステップ3801に戻って、入力処理を行う。
プルダウンメニュー701aの項目611(印刷)か項目612(登録)が指示された場合は、ステップ4400で、印刷/登録処理を行い、ステップ3801に戻る。
その他の処理の場合は、入力に応じた編集処理を行い、ステップ4550で、編集の結果頁数に変更が有れば、頁数変更処理を行い、ステップ4500で、編集結果を表示して、ステップ3801に戻って、新たな入力処理を行う。
【0143】
〔B〕初期処理
初期処理では、本文編集タスク2010aは、起動されると、まず、ステップ3901で、文書マネジャからのメッセージを受信する。ステップ3902で、メッセージの起動種別を判定し、確定モードであれば、ステップ4800で、確定処理を行う。確定処理では、終了メッセージを送信し、本文編集タスク2010aの処理は、その時点で終了する。
【0144】
レイアウト編集モードであれば、ステップ3904で、表示管理テーブル5500aを生成する。まず、共有メモリ2に置かれた本文生成用データ2130の第1頁の書式データ2260から、段数2265および横/縦書きの区別2267を読出し、それぞれ、5522および5523に設定する。次に、余白2261〜2264および段間2266より、各段の左上隅座標および右下隅の論理座標を計算する。計算した結果と受信したメッセージの起点論理座標とでサイズを比較し、実際に各段が表示される範囲を計算し、その領域の左上隅座標および右下隅の論理座標を求め、5511〜5514に設定する。頁番号5520には、1を、領域番号5521には、メッセージで得た編集領域番号を設定する。また、表示管理テーブル5500bには、頁番号5520、領域番号5521に、空記号を設定する。
【0145】
個別編集モード時には、ステップ3903で、本文編集ウィンドウ400をオープンし、ステップ3905で、ウィンドウ管理タスク1910bに対して、ガイダンス領域410、スケール表示領域420、本文編集領域425を設定する。本文編集領域425は、論理座標として、行桁座標系が設定されており、本文編集領域425でのマウスによる座標入力の結果は、行桁座標で与えられる。
【0146】
ステップ3906で、もう一度、起動種別を判定し、新規文書作成のときは、ステップ3907で、共有メモリ1に本文データを生成し、初期化する。本文データの初期化では、頁制御テーブル5100の段数5201に、本文生成用データ2130の第1頁の書式データ2260の段数2265を設定し、行数5202、行間5203、文字サイズ5301、文字間5302には、予め定められた標準値を設定し、ポインタ5204および5303には、空記号を設定する。
【0147】
ステップ3908のメニューデータの初期化処理においては、レイアウト編集モード時は、プルダウンメニュー701bの項目715(画面分割)を、個別編集モード時は、プルダウンメニュー701bの項目714(再表示)および619(拡大率)とプルダウンメニュー701aの項目713(レイアウト編集)とを無効項目として、入力制御タスク1910aに登録する。入力制御タスク1910aでは、ユーザが無効項目として登録された項目を指示できないよう制御する。ステップ3910で、メニューバー700を表示し、ステップ4200で、本文データ表示処理を行い、初期処理を終了する。
【0148】
〔C〕座標変換処理
座標変換処理では、レイアウト編集モード時は、本文編集領域240および頁表示領域230のマウスの座標入力は、論理座標系の(X,Y)座標なので、本処理で、この値を行桁座標系に変換する。
まず、ステップ4001で、本文編集領域240内かどうかを判定し、本文編集領域240内でなければ、(すなわち、頁表示領域230)、処理を終了する。本文編集領域240内であれば、ステップ4002で、排他領域内かどうかをチェックする。このチェックは、以下のようにして行う。
【0149】
表示管理テーブル5500の領域番号と、入力された本文の領域を比較し、一致した表示管理テーブル5500の領域番号5520を取得する。本文生成用データ2130の取得した頁内にある排他領域管理テーブル2250の座標2251〜2255と入力した座標とを比較し、排他領域かどうかを判定する。
【0150】
排他領域でなければ、ステップ4003で、行桁座標に変換する。変換の方法は以下の通りである。
まず、入力した座標と、表示管理テーブル5550の段座標管理テーブル5510とを比較し、どの段に含まれるかを判定する。頁番号および段番号により、本文データの頁制御テーブル5100から該当する段の行間5203を求め、入力座標および行間5203より何行目かを計算し、文字サイズ5301、文字間5302および入力座標により何桁目かを計算する。
なお、ステップ4001またはステップ4002の判定により処理を終了した場合には、メイン処理〔A〕のステップ3803とステップ4600では、領域切替えによる終了処理と判断される。
【0151】
〔D〕印刷登録処理
印刷登録処理では、まず、ステップ4301で、表3の印刷などのメッセージを生成する。メッセージ種別2202は、印刷/登録の区別を表す。ステップ4302〜ステップ4305で、ウィンドウ権を文書マネジャ2000aに委譲し、メッセージを送信して、文書マネジャからのメッセージ受信待ちとなる。メッセージを受信すると、処理を終了する。
【0152】
〔E〕再表示、前頁/次頁、拡大率変更処理
拡大率変更処理の場合は、ステップ4301で、指示された拡大率と、表示拡大率とを比較し、等しければ、処理を終了する。ステップ4302では、以下の処理を行う。
【0153】
再表示および拡大率変更の場合には、それぞれ、表3の再表示および拡大率変更のメッセージを生成する。前頁/次頁キーの入力により本処理が呼ばれた場合には、カーソルが存在する頁に対して、前頁/次頁の頁数を計算し、メッセージの頁番号に設定する。この時、表示モードには、頁先頭からを設定する。他の処理から本処理が呼ばれた場合には、他の処理から指定された頁数および表示モードを、メッセージに設定する。
【0154】
ステップ4303〜ステップ430で、文書マネジャ2000aにウィンドウ権を委譲し、メッセージを送信して、文書マネジャ2000aからのメッセージを受信待ちとなる。メッセージを受信すると、再表示以外なら、ステップ4308で、表示管理テーブル5500を変更する。変更の方法は、初期処理で述べた生成処理と、ほぼ同じである。頁は、メッセージに設定した頁、または、本処理以前に設定されていた頁と同じである。その後、ステップ4200で、本文データ表示処理を行い、処理を終了する。
【0155】
〔F〕スクロール処理
スクロール処理では、まず、ステップ4101で、表示頁数5501をチェックし、2頁表示している場合には、ステップ4300で、指定頁の表示処理を行う。この時、設定する頁番号および、表示モードは以下の通りである。
【0156】
カーソルが前頁に表示されており、かつ、上スクロールキー(縦書き時は右スクロールキー)が押された場合は、頁番号に、後頁の頁番号を設定し、表示モードに、頁の先頭を設定する。下スクロールキー(縦書き時は左スクロールキー)または横スクロールキーが押された場合には、頁番号に、前頁の頁番号を設定し、表示モードに、頁の末尾を設定する。
【0157】
また、カーソルが後頁に表示されており、かつ、上スクロールキー(縦書き時は右スクロールキー)または横スクロールキーが押された場合は、頁番号に、後頁の頁番号を設定し、表示モードに、頁の先頭を設定する。上スクロールキー(縦書き時は右スクロールキー)が押された場合には、頁番号に、前頁の頁番号を設定し、表示モードに、頁の末尾を設定する。
【0158】
次に、ステップ4102で、スクロール量を計算する。計算方法は以下の通りである。
まず、スクロールキーが押された場合の移動量について説明する。上スクロール(縦書き時は右スクロール)の場合、表示管理テーブル5500から、カーソルが表示されている段の右下隅Y座標より下にあり、全く表示されていない行で最も上にある行(縦書き時は、左上隅X座標より左にあり、全く表示されていない行で最も右にある行)を完全に表示するための移動量を求める。下スクロール(縦書き時は左スクロール)の場合、表示管理テーブル5500から、カーソルが表示されている段の左上隅Y座標より上にあり、全く表示されていない行で最も下にある行(縦書き時は、右下隅X座標より右にあり、全く表示されていない行で最も左にある行)を完全に表示するための移動量を求める。
【0159】
次に編集結果表示処理から本処理が呼ばれた場合の移動量について述べる。この場合は、表示先頭行が表示範囲の先頭に表示されるよう、スクロールの向きおよび量を決定する。もし、2頁表示中であれば、ステップ4101の判定により、ステップ4300の処理を行うが、指定頁を決定する際のスクロール方向も同様に決定される。
【0160】
この計算の過程で、次頁または前頁に表示頁を切替る必要があることが判った場合には、表3の連続頁表示のメッセージを設定し、そうでない場合には、ステップ4104で、表3のスクロールのメッセージを生成する。
【0161】
連続頁表示での頁番号は、以下のように決定する。上スクロール(縦書き時は右スクロール)の場合は、カーソルが表示された頁の頁番号を、下スクロール(縦書き時は左スクロール)の場合には、カーソルが表示された頁の前頁の頁番号を設定する。
【0162】
ステップ4106〜ステップ4109で、文書マネジャ2000aにウィンドウ権を委譲し、メッセージを送信して、文書マネジャ2000aからのメッセージ受信待ちとなる。メッセージを受信すると、ステップ4110で、表示管理テーブル5500を更新し、ステップ4200で、本文データを表示し、処理を終了する。連続頁表示のメッセージを送信した場合には、メッセージで指定した頁およびその次頁に関して、表示管理テーブル5500aおよび5500bを生成し、スクロールのメッセージを送信した場合には、以前から表示していた頁に関して、表示管理テーブル5500を生成する。
【0163】
〔G〕編集結果表示処理
編集結果表示処理では、表示先頭行が、表示管理テーブル5500の段管理テーブル5510で示される範囲内であれば、ステップ4700の指定行表示処理を行い、処理を終了する。
そうでなければ、ステップ4502で、同一頁かどうかを判定して、同一頁ならば、ステップ4100で、スクロール処理を行い、処理を終了する。
【0164】
ステップ4503では、表示管理テーブル5500から表示状態を判定し、2頁表示で、かつ、表示先頭行が、次頁の先頭か前頁の末尾行の場合は、ステップ4504で、連続表示頁のメッセージを生成する。前者の場合、メッセージの頁番号には、処理の前まで表示されていた頁の頁番号を設定し、後者の場合は、処理の前まで表示されていた頁の前頁の頁番号を設定する。その他の場合には、表示先頭行が表示される頁を指定して、指定頁表示のメッセージを生成する。この場合、表示先頭行が頁の末尾側に有れば、表示モードを頁末尾に設定し、先頭側に有れば、表示モードを頁先頭に設定する。
【0165】
本実施例では、指定頁表示では、頁の先頭から表示するか末尾から表示するかしか指定できないが、頁の任意の位置から表示できるようにすることは簡単であり、そうすることにより、必ず表示先頭行を表示することができるようになる。
【0166】
ステップ4505〜ステップ4509で、文書マネジャ2000aにウィンドウ権を委譲し、メッセージを送信して、文書マネジャ2000aからのメッセージ受信待ちとなる。メッセージを受信すると、ステップ4510で、表示管理テーブル5500を更新し、ステップ4700の指定頁表示処理を行い、処理を終了する。
【0167】
〔H〕本文データ表示処理
初期処理から本処理が呼ばれた場合には、ステップ4201で、受信したメッセージの重なり領域の有無を判定し、重なり領域が無ければ、処理を終了する。ステップ4202では、表示管理テーブル5500から表示範囲(表示先頭行および表示終了行)を計算し、ステップ4700で、指定頁表示を行い、処理を終了する。
【0168】
〔I〕指定頁表示処理
指定された表示先頭行から表示終了行までを含む段を、本文データから求め、その全ての段について、ステップ4601からステップ4603までの処理を行う。
ステップ4601では、段に含まれる行の行座標を、頁管理テーブル5500を参照して計算し、行座標テーブル5600に設定する。ステップ4602およびステップ4603で、行座標を計算した段に含まれる表示対象行を、行座標テーブル5600を参照して表示する。
【0169】
全ての行を表示した後、ステップ4604で、カーソルが表示されている行の文字サイズおよび文字間隔を取得する。そして、ステップ4605で、スケール表示領域の起点物理座標、起点論理座標、座標変換率を、本文編集領域240と同じ値に設定して、図9に示したスケール表示用の文字列910を作成し、ステップ4606で、カーソルが存在する段の左上隅X座標を起点として、文字列を表示する。
【0170】
〔J〕終了処理
終了処理では、まず、ステップ4601’で、終了状態に応じて、文書作成終了処理のメッセージおよび領域編集処理のメッセージのいずれかを生成する。
個別編集モードでは、終了ボックス201が指示された場合は、領域編集終了であり、プルダウンメニュー701bの項目716(文書編集終了)が指示された場合は、文書編集終了である。
【0171】
レイアウト編集モードでは、終了ボックス201が指示された場合およびプルダウンメニュー701bの項目716(文書編集終了)が指示された場合は、文書編集終了であり、項目713(レイアウト編集)が指示された場合、座標変換処理で頁領域230か排他領域430が指示された場合は、領域編集終了である。頁領域230か排他領域430が指示された場合は、領域切替えモードと入力した座標とをメッセージ情報2203に設定する。その他の場合は、編集終了モードをメッセージ種別2202に設定する。
【0172】
レイアウト編集モードの場合は、ステップ4603’で、ウィンドウ権を文書マネジャ2000aに委譲し、個別編集モードの場合は、ステップ4604’で、ウィンドウをクローズする。そして、ステップ4605’で、文書マネジャ2000aにメッセージを送信して、処理を終了する。
【0173】
〔K〕頁数変更処理
頁数変更処理では、まず、ステップ4511で、編集処理の結果、頁数に変更があったかどうかを判定し、あれば、ステップ4552〜ステップ4553で、頁数変更処理のためのメッセージを文書マネジャ2000aに送信し、文書マネジャ2000aからのメッセージ受信待ちとなる。ステップ4554で、メッセージを受信すると、ステップ4555で、文書構成データ2210の頁数2230’を変更して、処理を終了する。
【0174】
〔L〕確定処理
確定処理では、本文データのすべての行について、ステップ4802〜ステップ4807の処理を行う。
まず、ステップ4802で、行が占める矩形領域の行座標を計算する。これを、y1,y2(縦書き時はx1,x2)とする。行の全ての文字について、ステップ4804〜ステップ4807の処理を行う。
ステップ4804で、その文字が占める矩形領域の桁座標x1,x2(縦書き時は、y1,y2)を計算する。ステップ4805で、x1,x2,y1,y2で与えられる矩形領域と、その行が存在する頁の排他領域との重なり具合を、本文生成用データ2130の排他領域管理テーブル2250を用いてチェックする。重なっていれば、ステップ4807で、その文字の前に空記号を挿入する。
全ての行について、以上の処理が終了すると、ステップ4808で、終了メッセージを生成し、ステップ4809で、文書マネジャ2000aにメッセージを送信して、本文編集タスク2010aの処理を終了する。
【0175】
以上で、本文編集タスク2110aの処理の説明を終了する。他の編集タスクには、本文生成用データ2130に対応するデータを持たないものもあるが、本文編集タスク2110aとほぼ同じ処理を行うと考えてよい。
【0176】
ただ、領域の移動/サイズ変更は、本文編集タスク2110a以外のタスクでしか行わない処理なので、図36により、領域の移動/サイズ変更処理について説明する。
本処理は、入力処理により、プルダウンメニュー801aの項目811(領域移動)か項目812(領域サイズ変更)が指示された場合に行われる。
【0177】
ステップ4901で、メッセージを生成する。領域の移動/サイズ変更の区別を、メッセージ種別2202に設定する。ステップ4902で、ウィンドウ権を文書マネジャ2000aに委譲し、ステップ4903で、メッセージを送信する。メッセージを受信すると、ステップ4906で、受信メッセージで通知された領域に、編集タスクのデータを表示して、領域の移動/サイズ変更処理を終了する。
【0178】
以上説明したように、本実施例によると、必要に応じて、レイアウト編集モードおよび個別編集モードのいずれかを選択することができるので、編集対象や編集内容に応じて、常に最適な編集環境を設定できるという効果がある。
【0179】
さらに、文書更新時には、更新する文書に応じた編集モードを自動的に設定するので、一度編集モードを設定すると、更新の度に、編集モードを設定しなければならないという煩わしさから解放されるという効果もある。
【0180】
また、入力や編集中の状態に応じて、連続する2頁を同時に表示したり、1頁だけを表示するといった表示状態の切り換えを行うので、入力/編集操作の効率が飛躍的に向上するといった効果もある。
【0181】
さらに、領域の編集中に、該領域のサイズ変更や移動が行え、また、領域を指示するだけで、編集対象を切り換えることが出きるので、文章、図形、イメージなどが混在した文書を、効率よく編集できるという効果がある。
以上説明したように本実施例によれば、レイアウト編集モード時においては、編集対象文字列の前後の文字列が、他の頁に含まれていても、必要な複数の頁を自動的に表示するので、レイアウト編集モード時の文字列編集/入力の操作性に優れたレイアウト編集時の頁イメージ表示管理方法を得ることができる。
【0182】
本発明によれば、文書の作成編集を行うときの使い勝手を向上した頁イメージ表示管理方法を提供することができる。
【図面の簡単な説明】
【図1】本発明の一実施例における操作体系を示す説明図。
【図2】レイアウト編集ウィンドウの一例を示す説明図。
【図3】スケールの一例を示す説明図。
【図4】個別編集ウィンドウの一例を示す説明図。
【図5】個別編集ウィンドウの一例を示す説明図。
【図6】メニューおよびプルダウンメニューの一例を示す説明図。
【図7】メニューおよびプルダウンメニューの一例を示す説明図。
【図8】メニューおよびプルダウンメニューの一例を示す説明図。
【図9】スケール表示のための文字列の列を示す説明図。
【図10】スクロールの説明図。
【図11】連続頁の表示列を示す説明図。
【図12】頁表示状態の遷移を示す説明図。
【図13】領域の移動処理を示す説明図。
【図14】本発明の一実施例におけるハードウェア構成図およびソフトウェア構成図。
【図15】本発明の一実施例におけるハードウェア構成図およびソフトウェア構成図。
【図16】文書編集タスクのプログラム構成図と文書データの構成図。
【図17】文書編集タスクのプログラム構成図と文書データの構成図。
【図18】メッセージの構造を示す説明図。
【図19】初期表示タスクの処理の流れ図。
【図20】文書構成データ、本文生成用データおよび編集タスク管理テーブルの構造図。
【図21】文書構成データ、本文生成用データおよび編集タスク管理テーブルの構造図。
【図22】文書マネジャの処理の流れ図。
【図23】文書マネジャの処理の流れ図。
【図24】文書マネジャの処理の流れ図。
【図25】文書マネジャの処理の流れ図。
【図26】文書マネジャの処理の流れ図。
【図27】文書マネジャの処理の流れ図。
【図28】文書マネジャサブタスクの処理の流れ図。
【図29】本文データの構造図。
【図30】表示制御データの構造図。
【図31】本文編集タスクとその他の領域編集タスクの処理の流れ図である。
【図32】本文編集タスクとその他の領域編集タスクの処理の流れ図である。
【図33】本文編集タスクとその他の領域編集タスクの処理の流れ図である。
【図34】本文編集タスクとその他の領域編集タスクの処理の流れ図である。
【図35】本文編集タスクとその他の領域編集タスクの処理の流れ図である。
【図36】本文編集タスクとその他の領域編集タスクの処理の流れ図である。
【符号の説明】
200…レイアウト編集ウィンドウ、240…本文領域、260…図形領域、400…本文編集ウィンドウ、500…図形編集ウィンドウ、600,700,800…メニューバー、1800…ホストCPU、1801…サブCPU、1802…主メモリ、1803…共有メモリ、1804…ハードディスク、1805…辞書ROM、1806…フロッピディスク、1807…LPコントローラ、1808…レーザプリンタ、1809…グラフィックプロセッサ、1810…CRT,1811…CGROM、1812…VRAM、1813,1814,1815…パス、1816…キーボード、1817…マウス、1900…文書編集タスク、1901…文書印刷タスク、1902…帳票タスク、1903…初期表示タスク、1910a…入力制御タスク、1910b…ウィンドウ管理タスク、1910c…表示制御タスク、1910d…印刷制御タスク、1910e…ファイル管理タスク、1920…基本OS、1930…ドライバ群、2000a…文書マネジャ、2000b…文書マネジャサブタスク、2010a…本文編集タスク、2020…レイアウト表示タスク、2200…メッセージ、2110a…本文データ、2120…文書構成データ、2130…本文生成用データ、2150…領域管理テーブル、2170…書式データ、2190…頁管理テーブル、2230…編集タスク管理データ、2240…頁管理テーブル、2250…排他領域管理テーブル、5100…頁印刷テーブル、5200…段管理テーブル、5300…行管理テーブル、5400…文字コードテーブル、5500…表示管理テーブル、5510…段座標管理テーブル、5600…行座標テーブル。[0001]
BACKGROUND OF THE INVENTION
  The present invention, SentenceEdit various data such as images and figuresPage image display management methodAbout.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, some document creation apparatuses of this type take account of operability in switching editing objects on a print image of a page, as described in JP-A-1-234967. This is because if data in a certain area is being edited and another area is designated, the data in the designated area can be edited immediately.
[0003]
[Problems to be solved by the invention]
Since the above prior art determines the designated area only by the position of the area, for example, during editing of a sentence, it is not possible to designate a graphic area within the text area, and editing of the graphic area is started. In order to do this, it is necessary to once complete the editing of the text and then specify the graphic area again, which has a problem of poor operability.
[0004]
Also, during editing of the graphic area, the size of the graphic area being edited cannot be changed or moved. To perform such processing, once the editing process is finished, There is a problem that it is necessary to instruct to move or resize the area again.
[0005]
On the other hand, in order to improve the operability of document creation, a print image of a plurality of pages is displayed at the same time, and a print image of an arbitrary page among those pages is set to an arbitrary size, and further, It is conceivable to allow editing work with
However, this has not been realized because it requires high-performance hardware.
[0006]
It is also conceivable to provide a window for displaying a print image of a page and a dedicated window corresponding to each editing data so that both can be edited. At this time, it is convenient if the window for editing can be set in advance for the document creation apparatus. Furthermore, since the efficiency of the editing in which window is different depending on the text to be edited, it is considered that the usability can be improved if it can be set for each document.
[0007]
  The purpose of the present invention is toAnother object of the present invention is to provide a page image display management method with improved usability when creating and editing a document.
[0010]
[Means for Solving the Problems]
  To solve the above problem,Invention of the present applicationIs a page image display management method for creating and editing a document by displaying a print image of a page on the display means at the time of layout editing. It is possible to input or delete text by displaying one page on the display means. When the number of pages increases or decreases as a result of document input or deletion, the display means displays two consecutive pages so that the last line of the first page and the first line of the second page are displayed on the same screen. It is characterized by managing to do.
  Also,This is a page image display management method for creating and editing a document by displaying the page print image on the display means when editing the layout. The page print image can be displayed on the display means and the text can be entered or deleted. The character of the sentence on the displayed print image is pointed by the cursor means, and the character input is performed in the display state A in which the print image of only page n is displayed, and the input character string is displayed. When a new page is added beyond the last line of the current page, a print image of two consecutive pages of page n and page n + 1 is displayed, and the last line of page n and page n + 1 A continuous two-page print image is displayed so that the display state B is displayed with the first line of the character, and character input is performed in the display state B, and the input character string cannot be displayed. In case The print image of one page in the display state C in which only the print image of the (n + 1) th page is displayed is displayed, the character string is deleted in the display state C, and the cursor means moves the character existing in the previous page of the (n + 1) th page. When a change is made to indicate that a continuous two-page print image is displayed so that display state B is displayed, characters are deleted in display state B, and the cursor means no longer displayed In addition, a print image of one page in the display state A is displayed.
[0012]
  Also,When the layout is edited, the display means displays either the display state in which one page is displayed or the display state in which two consecutive pages are displayed on the same screen as the last line of the first page and the first line of the second page. A page image display management method when creating and editing a document,
  When it is necessary to display a hidden part by entering or deleting text, the hidden part is displayed by transitioning from the previously managed state to another state. is there.
  Also,At the time of layout editing, a display state A in which only a print image of the nth page is displayed, and print images of two consecutive pages of the nth page and the (n + 1) th page are displayed. Page when creating and editing a document by displaying either the display state B in which the first line of the (n + 1) page is displayed or the display state C in which only the print image of the (n + 1) th page is displayed. An image display management method,
  Point the text on the displayed print image with the cursor,
  By the display state of the display means and the input or deletion of text, or the movement of the cursor means,
  When a character is input in the display state A and a new page is added beyond the last line of the page on which the input character string is displayed, the display state is changed to the display state B and the continuous 2 Display the print image of the page,
  When characters are input in the display state B and the input character string cannot be displayed, the display state is changed to the display state C to display a print image of one page.
  When the character string is deleted in the display state C and the character on the previous page of the page is changed so that the cursor means points to it, the display state is changed to the display state B and a continuous print image of two pages is displayed. Display
  When a character is deleted in the display state B and the cursor means points to a character that is not displayed, the display state is changed to the display state A and a one-page print image is displayed. Is.
[0014]
[Action]
  According to the present invention, it is possible to provide a page image display management method with improved usability when creating and editing a document.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings. First, editing functions and operations in the present embodiment will be described with reference to FIGS.
[0019]
2, 4 and 5 are diagrams for explaining an editing window in the present embodiment. In FIG. 2, reference numeral 200 denotes a layout editing window. On this window, a page layout can be changed and data such as text and figures can be edited.
201 is an end box for instructing the end of editing, 202 is a scroll box for scrolling the data displayed in the window, and 203 is a size change box for changing the size of the window. These boxes 201 to 203 also exist in the individual editing window for changing only one type of data among sentences and figures described in FIGS. 4 and 5.
A guidance area 210 displays an icon 211 for instructing a function, operation guidance, and the like.
[0020]
FIG. 2 shows a state where graphic data is being edited, and an icon 211 is for graphic editing.
Reference numeral 220 denotes a scale area, which displays the scale 300 or 310 shown in FIG.
The scale 300 is a scale having a memory in millimeters, which is displayed when a layout change or graphic editing is performed in the layout editing window 200, and the scale 310 is used when text data is edited. , A scale with character-based memory.
Reference numeral 230 denotes an area representing a page, and reference numeral 221 denotes a page frame. An area is defined in the page, and each data can be edited in the corresponding area.
[0021]
For example, 240 is a text area to which text data is allocated, 250 is a graph area to which graph data is allocated, and 260 is a graphic area to which graphic data is allocated.
For areas such as figures and graphs, exclusion / non-exclusion can be designated as area attributes. The text data in the text area 230 is arranged so as not to overlap the area designated as exclusive, but the text data and the area designated as non-exclusive overlap. The graph area 250 and the graphic area 260 in FIG. 2 are areas where exclusion is designated.
[0022]
In FIG. 4, reference numeral 400 denotes a text editing window used for editing only text data in the text area 240. Reference numeral 410 is a guidance area, 420 is a scale display area, and 425 is a text editing area. Reference numeral 430 denotes an exclusive area, which corresponds to the positions of the graph area 250 and the graphic area 260 in FIG. The editing program is controlled so that no character enters the exclusive area 430.
In FIG. 5, 500 is a graphic editing window used for editing only graphic data in the graphic area 26, and 510 is the guidance area.
[0023]
Next, a menu for instructing an editing function and the like will be described with reference to FIGS.
In the following description, a menu or area instruction means, for example, using a mouse to move the mouse cursor over an instruction target and pressing a mouse button.
[0024]
FIG. 6 shows a menu for giving a layout correction and an instruction to start editing each area.
In FIG. 6, reference numeral 600 denotes a menu bar that displays the menus 601 in a line. When the menu 601 is designated, a pull-down menu 610 corresponding to the designated menu 601 is displayed. By instructing items in the pull-down menu 610, an editing instruction can be given to the program.
[0025]
The pull-down menu 610a corresponding to the print / registration menu 601a includes items 611 to 613 for instructing printing, registration, initial state change, and the like. By instructing the item 611, it is possible to instruct printing of the document being edited. By instructing the item 612, an instruction is given to save the document being edited as a document file on a floppy disk or a hard disk. it can. Also, by instructing the item 613, the editing start mode of the document can be changed. The document editing start mode will be described later with reference to FIG.
[0026]
By instructing the text creation menu 601b, editing of the text can be started. There is no pull-down menu corresponding to the menu 601b.
The pull-down menu 610c corresponding to the area creation menu 601c includes items 614 and 615 for determining the type of data assigned to the area, and is used when a new area is created in the page. By designating the item 614, a graphic region can be created, and by designating the item 615, a graph region can be created.
The pull-down menu 610d corresponding to the area editing menu 601d includes an item 616 for updating data of an already created area, an item 617 for changing the size of the area, and the like.
In the pull-down menu corresponding to the screen operation menu 601e, an item 618 for instructing whether to edit each editing data in the layout editing window or each individual editing window, and an item 619 for specifying the display size. And an item 620 for instructing whether or not to display a frame of the area.
[0027]
As will be described later, a program called a document manager displays a menu bar 600 and a pull-down menu 610 and processes an instructed item. Therefore, the menu bar 600 may be referred to as a document manager menu bar. The menu bar is sometimes simply called a menu.
When the menu 601b is instructed and the start of text editing is instructed, the menu bar 700 of FIG. The menu bar 700 displays a menu 701 for giving an instruction when editing a sentence.
[0028]
In the pull-down menu 710a corresponding to the print / registration menu 701a, in addition to the print and registration items 611 and 612, an item 713 for instructing to end text editing and start layout editing, and end of document editing There are items 716 to be designated. When the item 716 is designated, the menu bar 700 is deleted and the menu bar 600 is displayed.
In addition, in the pull-down menu 710b corresponding to the screen operation menu 701b, in addition to the item 619 for specifying the display size, an item 714 for instructing redisplay of the data being edited, and sentences on different pages are displayed at the same time. In addition, there is an item 715 for instructing to divide and display the text editing window.
[0029]
The menu bar 700 is displayed both in the text editing in the layout editing window 200 and in the text editing in the individual editing windows such as the text editing window 400 and the figure editing window 500. The menu bar 700 is displayed depending on the type of the editing window. There are items that can not be. For example, the screen division of the item 715 is a function effective only in the text editing window 400, and the item 715 cannot be designated in the text editing in the layout editing window 200. In this way, for an item that cannot be instructed, for example, a semi-luminance display indicates that it cannot be instructed.
When the menu 601c is instructed to instruct the creation of a graphic area, or when the menu 601d is instructed to instruct to update the graphic area, the menu bar 800 of FIG. Is done. The menu bar 800 displays a menu 801 for giving an instruction when editing a document.
[0030]
In the pull-down menu 810a corresponding to the print / registration menu 801a, items 611 and 612 for printing and registration, an item 713 for instructing to finish text editing and starting layout editing, and an item for instructing the end of document editing In addition to 716, there are items 811 and 812 for instructing to change the position and size of the graphic area. Items 811 and 812 are effective only for graphic editing in the layout editing window 200, and are displayed in half-brightness when editing in the graphic editing window 500.
Hereinafter, the menu bars 700 and 800 may be referred to as a text menu and a graphic menu, respectively.
[0031]
Next, the flow of operations in document editing will be described with reference to FIG.
First, when the power is turned on, a work menu 101 is displayed. The work menu 101 displays menus such as new creation for creating a new document and update of a document for correcting an already created document. FIG. 1 shows a flow when a document update is instructed and a document to be corrected is called.
[0032]
The transition of the screen after the document is called is indicated by an arrow 111, but the initial editing state to be changed differs depending on the editing mode. For example, when the automatic text activation mode is set, the text menu 700 is displayed and the document can be edited. At this time, if the layout editing mode is set, the editing state is set in the layout editing window 200c as shown in the broken line 130. If the individual editing mode is set, as shown in the broken line 140, as shown in FIG. The editing state in the text editing window 400 is entered.
Further, when the automatic text activation mode is not set, the document manager menu 600 is displayed as shown in the broken line 100, and the layout can be edited.
[0033]
The layout editing window 200 displays a page layout, and a text area 240 and a graphic area 260 exist on the page.
When an item 620 (no frame display) of the pull-down menu 601e is instructed in the layout editing window 200a, the display state of the layout display window 200a changes along the arrow 113, and a frame between the text area 240 and the drawing area 260 is displayed. Is erased. On the contrary, when the item 620 (frame display) of the pull-down menu 601e is instructed in the layout editing window 200b, the display state of the layout display window 200b transitions along the arrow 112, and the text area 240 and the graphic area 260 are changed. A frame between is displayed.
[0034]
A procedure for starting editing of a sentence or a figure from the state within the broken line 100 will be described.
The operation flow differs depending on whether the layout editing mode is set or the individual editing mode is set at the start of editing. The edit mode can be changed as necessary by instructing an item 618 of the pull-down menu 601e.
[0035]
First, a case where the layout editing mode is set will be described.
When the text creation menu 601b is designated in the layout editing window 200a or 200b, the state transitions along the arrow 114, the text menu 700 is displayed, and the frame of the text area 240 is displayed with a bold line. In this state, text editing is possible. The frame of the graphic area 260 is the same as the display state within the broken line 100.
When an item 616 (update) of the area edit menu 610d is instructed in the layout edit window 200a or 200b, the state transitions along the arrow 120, the figure menu 800 is displayed, and the frame of the figure area 260 is displayed with a bold line. Is done. In this state, graphic editing is possible.
[0036]
Switching of the editing target (text data or graphic data) within the broken line 130 is performed by designating an area.
For example, when editing the text in the layout editing window 200c, if the graphic area 260 is designated, the state transitions along the arrow 118, the graphic menu 800 is displayed, and the frame of the graphic area 260 is displayed with a bold line. Thus, the state shown in 200d is obtained. The editing target can be switched by designating the area during text editing only when the editing target area to be switched is an exclusive area.
[0037]
Further, when editing the figure in the layout editing window 200d, if the text area 240 is designated, the state transitions along the arrow 119, the text menu 700 is displayed, and the frame of the text area 240 is displayed with a bold line. Thus, the state shown in 200c is obtained.
When the item 713 (layout editing) of the pull-down menu 701a (801b) is instructed in the layout editing window 200c (200d), the state transitions along the arrow 115 (121), and the document manager menu 600 is displayed. The state shown in
[0038]
Next, a case where the individual editing mode is set will be described.
In the individual editing mode, when the text creation menu 601b is instructed in the layout editing window 200a or 200b, the state transitions along the arrow 116, the text editing window 400 is displayed, and the text menu 700 is displayed. In this state, the text editing in the text editing window 400 can be performed.
When the end box 201 of the text editing window 400 is designated, the state transitions along the arrow 117, the text editing window 400 is closed, the document manager menu 600 is displayed, and the state shown in the broken line 100 is obtained.
[0039]
Now, the display size of the layout editing window 200 can be changed by pull-down menus 601e, 701b, and 801b. The magnification shown in the item 619 means the following.
For items 619, 2x, 3 / 2x, 1x, 2 / 3x, and 1 / 2x, the standard size characters are 32, 24, 16, 12, 12 and 8 dot fonts, respectively. Means to display with. A standard size character is a character whose printed result is approximately 10 points in size. When printing with a laser printer, a 32-dot character font is used. When using a wire-dot printer, a 24-dot character is used. Use fonts.
Further, the editing of the document may be ended by specifying the end box 201 of the layout standard window 200, the pull-down menu 201, or the item 716 (end of document editing) of the pull-down menus 701a and 801a. it can.
[0040]
Next, the text editing function in the layout editing window 200 will be described with reference to FIGS.
FIG. 9 is a diagram showing a scale 310 displayed during text editing.
FIG. 9A shows a scale displayed when a horizontally written sentence is edited, and is displayed in the scale display area 220a of FIG.
FIG. 9B shows a scale that is displayed when a vertically written sentence is edited, and is displayed in the scale display area 220b of FIG.
[0041]
900 is a character font for scale display, and fonts having sizes of 8, 16, and 24 dots are prepared. The size of the character font to be used is determined by the display character size of the line where the cursor is displayed.
The character fonts used when the display character size is 8, 16, and 24 dots are 8, 16, and 24 dots, respectively. However, when the display character size is 12 dots, the character font is 24 dots. Is reduced to half-width, and when the display character size is 32 dots, a 16-dot character font is enlarged to double-width and displayed.
[0042]
Reference numeral 910 denotes a character string for scale display. Further, p represents a character interval, and takes the same value as the character interval of the line where the cursor is displayed. The scale is displayed using a character string display command provided by display control described later. As parameters of the character string display command, an area to be displayed, a character string starting point coordinate (x, y), a character interval p, a character string width w, a character display position of, and a character string direction are designated. 9 (a) and 9 (b) differ only in the character string direction.
[0043]
Next, the scroll function will be described with reference to FIG.
In FIG. 10, reference numeral 1210 denotes an input character string, and reference numeral 1200 denotes a portion of the character string 1210 displayed in the window. Reference numeral 1201 denotes a display state transition by the up scroll key, and 1202 denotes a display state transition by the down scroll key.
As shown in FIG. 10, when the up scroll key is pressed, the scroll amount is determined so that the entire line 1212 following the last displayed line 1211 can be seen, and the down scroll key is pressed. If it is, the amount of scrolling is determined so that the entire line 1214 before the displayed first line 1213 can be seen.
Therefore, the amount of scrolling varies depending on the character size, line spacing, and the like. Although FIG. 10 illustrates the case of horizontal writing, the same applies to horizontal scrolling during vertical writing.
[0044]
FIG. 11 is a diagram showing a display state during input of text in the layout editing window 200.
As shown in FIG. 11, in order to improve the operability of character input, when a page is added during input, the top of the added page and the end of the previous page are displayed simultaneously. FIG. 11A shows a display state during horizontal writing. In FIG. 11A, the layout editing window 200 displays a continuous two-page layout. 230 represents a page, and 240 represents a body area. Reference numeral 1100 denotes a character string. FIG. 11B shows a display state during vertical writing. Here, the character string 1110 is indicated by a solid line.
[0045]
As described above, there are a case where only one page is displayed and a case where two consecutive pages are displayed while characters are being input. Hereinafter, this display state transition will be described with reference to FIG. To do.
In FIG. 12, 1400 and 1430 indicate a state in which only the nth page is displayed and a state in which only the (n + 1) th page is displayed, respectively. 1410 and 1420 show a state in which the nth page and the (n + 1) th page are displayed at the same time. In the state 1410, the cursor 1020 is displayed on the (n + 1) th page, and in the state 1420, the cursor 1020 is displayed on the first page. Displayed on page n. Arrows represent display state transitions.
[0046]
First, the transition from the state 1400 will be described.
The transition indicated by the arrow 1401 occurs when the (n + 1) th page is added by character input or when the last line of the nth page is displayed and the up scroll key is pressed. The transition indicated by the arrow 1402 occurs when the page break key or the next page key is pressed.
[0047]
Next, the transition from the state 1410 will be described.
A transition indicated by an arrow 1411 indicates movement of the cursor 1020 due to deletion of a cursor key or a character string. The transition indicated by the arrow 1412 occurs when the down scroll key or the previous page key is pressed. The transition indicated by the arrow 1413 occurs when the up scroll key is pressed or when the input character string cannot be displayed on the (n + 1) th page.
[0048]
Next, the transition from the state 1420 will be described.
The transition indicated by the arrow 1421 occurs when the up scroll key or the next page key is pressed. A transition indicated by an arrow 1422 indicates the movement of the cursor 1020 by inputting (inserting) a cursor key or a character string. The transition indicated by the arrow 1423 occurs when the down scroll key is pressed, or when the cursor 1020 moves to a non-display portion on the nth page due to deletion of a character string or the like.
[0049]
Next, the transition from the state 1430 will be described.
The transition indicated by the arrow 1431 occurs when the first line of the (n + 1) th page is displayed and the down scroll key is pressed or the cursor 1020 moves to the nth page due to deletion of a character string or the like. The transition indicated by the arrow 1432 occurs when the previous page key is pressed.
[0050]
In the example of FIG. 12, a horizontal document is described. For a vertical document, the up scroll key is replaced with the right scroll key, and the down scroll key is replaced with the left scroll key. Follow a similar transition.
The transition when the previous page key or the next page key is pressed is not limited to the example in FIG. 12, and when the amount of one page is moved back and forth from the cursor position, or the corresponding page is moved to the top of the page. It is also possible to display from the beginning or from the end of the page.
[0051]
Finally, the function of area movement / size change will be described with reference to FIG. 13, taking movement as an example.
FIG. 13 shows a state in which the graphic area 260 is being edited. Although not shown in the figure, a graphic menu 800 is displayed. In this state, when an item 811 (area movement) of the pull-down menu 801a is instructed, the graphic area 260 can be moved.
For example, when moving from the position shown in FIG. 13A to the position shown in FIG. 13B, if the moved graphic area 260 has an exclusive attribute, as shown in FIG. The arrangement of the sentence after movement changes so that and do not overlap. After the item 812 (area size change) is instructed and the graphic area 260 is changed in size, the character strings are rearranged in the same manner.
[0052]
Now, the description of the functions and operations in the present embodiment is finished, and the functions and operability realizing means described so far will be described below.
First, FIG. 14 shows a hardware configuration in the present embodiment.
In this embodiment, a multi-CPU configuration including a host CPU 1800 that performs editing and printing processing, a sub CPU 1801 that performs display processing, and a graphic processor (GP) 1809 is employed.
The host CPU 1800 and the sub CPU 1801 are coupled via a shared memory 1803, and a program to be executed by the sub CPU 1801, data for communication between both CPUs, and the like are placed in the shared memory 1803.
[0053]
The sub CPU 1801 and the GP 1809 are coupled via a 1/0 port, and the sub CPU 1801 instructs the GP 1809 to generate display data for the CRT 1810. The GP 1809 receives the instruction and creates bitmap data for display in the VRAM 1812. The GP 1809 controls the transfer of bitmap data in order to display the bitmap data generated in the VRAM 1812 on the CRT 1810.
The CGROM 1811 is a ROM (read only memory) that stores character fonts for display.
[0054]
In the path 1813 of the host CPU 1800, a main memory 1802 that stores programs and editing data to be executed by the host CPU 1800 for editing and printing, as necessary, a dictionary ROM 1805 that is used in kana-kanji conversion processing, programs and data Are connected to an HD (hard disk) 1804 for storing the document, an FD (floppy disk) 1806 for storing document data, etc., a keyboard (KB) 1816 for inputting characters and coordinates, and a mouse 1817. Programs and data are transferred between the HD 1804 or FD 1806 and the main memory 1802 as necessary.
[0055]
An LP (laser printer) 1808 is used as the printing apparatus. The LD 1808 is controlled by the LP controller 1807. The LP controller 1807 performs print image generation processing based on an instruction from the host CPU 1800 and control for outputting the result to the LP 1808.
Reference numerals 1814 and 1815 denote paths for the sub CPU 1801 and GP 1809, respectively.
[0056]
Next, the software structure in the present embodiment will be described with reference to FIG.
In FIG. 15, reference numeral 1900 denotes an AP (application program) for performing document editing processing, and 1901 denotes an AP for printing the edited document. These APs are composed of a plurality of independent APs. The AP 1900 related to document editing according to the present invention will be described in detail later.
[0057]
In addition to document editing / printing, there is an AP 1902 for performing a tag. These APs are managed as tasks by the basic OS 1920, which is a multitasking OS (operating system), and their operations are controlled. Therefore, the APs are sometimes referred to as tasks.
Reference numeral 1903 denotes an initial display task, which is a task that is activated first after power-on and after completion of the initial processing of the basic OS 1920.
Reference numeral 1910 denotes a program group that incorporates processing common to each AP as an OS function. The program includes an input control 1910a for controlling a keyboard, a mouse, a menu, etc., a window management 1910b for controlling a multi-window, and a display on a CRT. For example, a display control 1910c that provides a function for printing, a print control 1910d that provides a printing function, and a file management 1910e that manages document data stored in an HD or FD as a file.
Reference numeral 1930 denotes a driver group that controls hardware such as a keyboard and an HD.
[0058]
Next, the program structure of document editing task 1900 and the structure of document data will be described with reference to FIGS.
As shown in FIG. 16, the document editing task 1900 displays an editing program 2010 that edits data in individual areas such as documents, graphics, and graphs, and displays the edited individual data in each area of the layout editing window. The display program 2020 manages the structure of the document layout and the like, edits the layout, and controls the operations of the editing program 2010 and the display program 2020, and receives instructions from the document manager 2000a and the document manager 2000a. It consists of a program 2000b called a document manager sub that controls the activation of the display program 2020.
These programs are managed / controlled by the basic OS 1920 as independent tasks. Arrows 2030 to 2035 represent message transmission / reception between tasks. Details of each message will be described later.
[0059]
As shown in FIG. 17, the document data includes document configuration data 2120 that holds information related to the document configuration and page layout, and data 2110 of each area such as text and graphics.
The document configuration data 2120 and each area data 2110 are stored in independent files. The document configuration data 2120 is generated and managed by the document manager 2000a.
The data 2110 of each area is generated and managed by the corresponding editing program 2010. For example, text data 2110a, graphic data 2110b, and graph data 2110c are generated by text editing task 2010a, graphic editing task 2010b, and graph editing task 2010c, respectively. The document configuration data 2120 and each area data 2110 constituting one document are generated as files under the same directory 2100, and the directory 2100 and the document name have a one-to-one correspondence.
[0060]
Next, messages exchanged between tasks will be described with reference to FIG.
As shown in FIG. 18, the message sub 2200 includes information 2203 that is different for each message length 2201 and message type 2202.
Table 1 describes the type and information of the message 2030 transmitted from the document manager 2000a to the editing task 2010, and Table 4 describes the type and information of the message 2033 transmitted from the document manager 2000a to the document manager 2000b. To do.
[0061]
Tables 3 and 2 respectively show the type of the message 2032 transmitted from the editing task 2010 to the document manager 2000a and its information, and the type of the message 2031 transmitted from the document manager sub 2000b to the display task 2020 and its information. Is described.
The message 2034 transmitted from the document manager sub 2000b to the document manager 2000a and the message 2035 transmitted from the display task 202 to the document manager sub 2000b only have processing end notifications, and the information to be notified is only the task number on the transmission side. It is.
[0062]
[Table 1]
Figure 0003699923
[0063]
[Table 2]
Figure 0003699923
[0064]
[Table 3]
Figure 0003699923
[0065]
[Table 4]
Figure 0003699923
[0066]
Before describing the processing of each editing task 2010, the functions of the basic OS 1920 and the program group 1910 shown in FIG.
As described above, the basic OS 1920 is a multitasking OS, and has a function of transmitting and receiving messages between tasks and a management function of a shared memory. Each task generates the message shown in FIG. 18 and then requests the basic OS 1920 to specify a destination task and send the message.
When the basic OS 1920 is requested to receive a message, the basic OS 1920 notifies the task that has received the message shown in FIG. 18 if the message is transmitted to the requested task.
[0067]
In the shared memory management function, each task can use the following functions of the basic OS 1920.
When the task requests the basic OS 1920 to allocate memory, the task secures a memory area of the requested size and notifies the requesting task of the shared memory number. The task can allocate its own data area to this shared memory number and use it as a data area. A plurality of tasks can share data among the plurality of tasks by allocating respective data areas to the same shared memory number.
[0068]
The input control task 1910a performs kana-kanji conversion and notifies the conversion result to the task. The input control task 1910a controls display of menus and pull-down menus. At the time of input using a menu or pull-down menu, each task is notified of a menu number corresponding to each menu and a number corresponding to each item of the pull-down menu. Upon receiving the notification, the task generates menu or pull-down menu data, and requests the input control task 1910a to display the menu. At this time, the task can notify the input control in advance of items of menus and pull-down menus that cannot be specified.
[0069]
The window management task 1910b performs control such as opening and closing of windows. The task can specify a plurality of display areas for the opened window.
When designating the display area, the display area number, area base screen coordinates, area size, area base logical coordinates, and coordinate conversion coefficient are designated. The screen coordinates are relative coordinates within the window, and are coordinates defined for the screen. The logical coordinates are coordinates defined for the paper. The physical coordinates in Tables 1 and 4 correspond to the base point screen coordinates, and the logical coordinates correspond to the base point logical coordinates.
Since the window management task 1910 performs conversion from screen coordinates to logical coordinates and conversion from logical coordinates to screen coordinates based on these values, editing processing may be performed based on logical coordinates. However, it is not necessary to be aware of physical coordinates.
[0070]
Requests for display and input are accepted only for tasks displaying windows in the foreground. Therefore, normally, only the task that opened the window can perform display processing and input processing. However, when the task A that opened the window uses the window right delegation function provided by the window management task 1910b to delegate the window to another task B, the task B opens the delegated window. Can be used as well. However, at this time, the task A cannot use the window, and cannot display or input.
[0071]
Each task can display a character string, a figure, or the like in an area specified in the window by a display function provided by the display control task 1910c. At the time of display, it is necessary to designate the display position by the number of the area to be displayed and the logical coordinates for the area.
[0072]
The document data is managed by a function provided by the file management task 1910e. The file management task 1910e provides file management functions such as directory and file creation, deletion, file write / read, and file copy.
[0073]
When the power is turned on, first, an initial display task 1903 is activated. The document manager 2000a is activated by an initial display task 1903.
FIG. 19A shows the flow of processing of the initial display task 1903.
In FIG. 19A, the initial display task 1903 first reads the start mode and edit mode from the predetermined location of the HD 1804 in step 2275 'and sets them to 2280 and 2281 shown in FIG. 19B.
[0074]
Next, in step 2261 ', a window is opened. In step 2262', the work menu 101 is displayed. In step 2263 ', input is accepted, and in step 2264', the determination process is performed.
[0075]
If the input indicates a new creation, the document manager 2000a is generated as a task and activated in step 2270 '. In step 2271 ′, a message containing the task number, processing mode (new), activation mode 2280, and editing mode 2281 of the document manager 2000 a is transmitted to the activated document manager 2000 a.
[0076]
If the input is a document update, a list of documents stored in the HD 1804 or FD 1806 is displayed in step 2265 '. Subsequently, when a document to be updated is instructed in step 2267 ', the document manager 2000a is generated and activated in step 2268', and a message is transmitted to the document manager 2000a in step 2269 '. The contents of the message at this time are the task number of the document manager 2000a, the processing mode (update), and the name of the directory 2100 corresponding to the document instructed in step 2267 '.
[0077]
After the message is transmitted, in step 2272 ', a message reception process is performed. In step 2273', when the message from the document manager 2000a is waited, the activated document manager 2000a starts its operation. Step 2273 ′ is a symbol indicating a waiting state, and this symbol is also used in the following diagrams showing the processing flow of the document manager 2000 a and the editing task 2010.
When a message is received from the document manager 2000a, the process returns to the input process in step 2263 '.
[0078]
Next, control data of the document manager 2000a will be described with reference to FIGS.
FIG. 20 shows document configuration data 2120. The document configuration data 2120 includes an activation mode 2210 indicating whether or not the body is automatically activated, an editing mode 2220 indicating whether the layout editing mode is an individual editing mode, a page number 2230 ′, a page management table 2240, an area management table 2150, format data. 2170.
[0079]
The page management table 2240 includes points to the area management table 2150 for areas included in the page. For example, the pointer 2241 is a pointer to the area management table 2150a of the area included in the first page, and the pointer 2242 is a pointer to the area management table 2150c of the area included in the second page.
[0080]
The area management table 2150 includes a pointer 2151 pointing to the area management table 2150 for the area included in the same page, a backward pointer 2152 for tracing the area management table 1250 in the opposite direction to the pointer 2151, and upper left corner logical coordinates 2153 and 2154. , Lower right corner logical coordinates 2155 and 2156 of the area, file name 2157 of the file storing the data assigned to the area, data type (text, figure, graph, etc.) 2158, area attribute (exclusive / non-exclusive) 2159, a pointer 2160 to the format data 2170, and a pointer 2161 to the editing task control table 2230 (described later).
The format data 2170 includes an upper margin 2171, a lower margin 2172, a left margin 2173, a right margin 2174, the number of columns 2175, a step interval 2176, and a horizontal / vertical writing distinction 2177.
[0081]
FIG. 21B shows text generation data 2130 generated by the document manager 2000a when the text editing task 2010a is activated.
The text generation data 2130 includes a page number 2180, a page management table 2190, an exclusive area management table 2250, and format data 2260.
The page management table 2190a includes pointers to the exclusive area management table 2250. For example, the pointer 2191a stores a pointer to the exclusive area management table 2250a of the first page, and the pointer 2192a is an exclusive area of the second page. A pointer to the management table 2250 is stored. In FIG. 20, since there is no exclusive area on the second page, an empty symbol is set in the pointer 2192a.
The page management table 2190b includes a pointer to the format data 2260. For example, the pointer 2191b stores a pointer to the page format data 2260 of the first page, and the pointer 2192b points to the page format data 2260 of the second page. Stores the pointer.
[0082]
The exclusive area management table 2250 includes a pointer 2251 to the exclusive area management table 2250 for the exclusive area of the same page, upper left corner logical coordinates 2252 and 2253 of the exclusive area, and lower right corner logical coordinates 2254 and 2255 of the exclusive area. Contents 2261 to 2267 of the format data 2260 are the same contents as 2171 to 2177 in the format data 2170 of the document configuration data 2120.
[0083]
FIG. 21C shows an editing task management table 2230 for managing the started editing task 2010.
The edit task management table 2230 includes a plurality of records 2231, and the record 2231 includes a started task number 2232, shared memory numbers 2233 and 2234, an edit mode 2235, and a pointer 2236 to the area management table 2150. A pointer 2161 in the area management table 2150 indicates the location of each record 2231 in the editing task management table 2230.
[0084]
2270 is the task number of the document manager subtask 2000b, and 2271 is the number of the shared memory with the document manager subtask 2000b. Reference numerals 2272 and 2273 indicate the enlargement ratio of the layout display and the presence or absence of the frame display, and 2274 and 2275 indicate the page numbers being displayed. Reference numeral 2246 denotes a task number of a task activated for data determination processing described later, and 2247 denotes a pointer indicating the location of a record corresponding to the task.
[0085]
The data shown in FIGS. 20A and 21C is placed on the same shared memory, and the data shown in FIG. 21B is placed on a different shared memory.
[0086]
[A] to [N] in FIGS. 22 to 27 are diagrams for explaining the processing flow of the document manager 2000a. Hereinafter, each process will be described.
[A] Main processing
When the document manager 2000a is activated, first, in step 2400, initial processing is performed. In step 2301, the processing mode of the message received from the initial display task 1903 is determined. If a new creation start process is performed and the document is to be updated, in step 2302, the document configuration data 2120 under the directory 2100 corresponding to the document data obtained by the received message is read. In step 3200, the layout of the first page is displayed.
[0087]
Next, in step 2303, the activation mode 2210 is checked. If the automatic text activation mode is selected, task activation processing is performed in step 2600. Otherwise, input processing is performed in step 2304. In step 2305, input is determined, and task activation processing (step 2600), region creation processing (step 2306), registration processing (step 2307), printing processing (step 2309), region determination processing (steps) according to the determination result. 2308), initial state change processing (step 2310), enlargement rate change processing (step 3400), mode change processing (step 2312), frame display processing (step 3500), and other processing (step 2314).
[0088]
The registration processing in step 2307 is processing performed when the item 612 (registration) of the pull-down menu 601a is instructed. The editing data of the shared memory number 2233 of the record 2231 registered in the editing task management table 2230 is The file is stored in the file 2110 described in the file name 2157 of the area management table 2150 pointed to by the pointer 2141. After performing the above processing for all the records 2231, the document configuration data 2120 is stored in the document configuration data file 2120, and the registration processing is terminated.
[0089]
The print processing in step 2309 is processing performed when an item 611 (print) in the pull-down menu 601a is instructed. The edit data of the shared memory number 2233 of the record 2231 registered in the edit task management table 2230 is The file is stored in the file 2110 described in the file name 2157 of the area management table 2150 pointed to by the pointer 2141. After all the records 2231 are processed as described above, the document configuration data is stored in the document configuration data file 2120 and the document print task 1901 is instructed to print. The document print task 1901 is notified of the name of the directory 2100 corresponding to the document to be printed by a message.
[0090]
The initial state change process in step 2310 is a process performed when an item 613 (initial state change) in the pull-down menu 601a is instructed. If the activation mode 2210 is the automatic text mode, the state is not set, If it is not the automatic text start mode, the automatic text start mode is set.
The mode change process in step 2312 is a process performed when the item 618 of the pull-down menu 601e is designated, and is a process for setting the mode corresponding to the designated item (layout / individual) to the edit mode 2220. .
[0091]
Task start processing (step 2600), registration processing (step 2307), area creation processing (step 2306), print processing (step 2309), initial state change processing (step 2310), mode change processing (step 2312), other processing After completion of (Step 2314), and after completion of the enlargement ratio changing process (Step 3400) and the frame display process (Step 3500), which will be described later, in Step 2320, a message reception process is performed.
[0092]
When the input in step 2304 is a coordinate value, the area management table 2150 is traced and input in step 2308 from the pointer of the page management table 2240 corresponding to the page number described in the edit page numbers 2274 and 2275. The indicated area is determined by comparing the coordinates with the area upper left corner X coordinate 2153, area upper left corner Y coordinate 2154, area lower right corner X coordinate 2155, and area lower right corner Y coordinate 2156 of the area management table 2150. Subsequently, input processing is performed in step 2315, and input is determined in step 2317. If the input is the item 616 (update) of the pull-down menu 601d or the menu 601b (text creation), task activation processing is performed in step 2600, and if the input is the item 617 (size change) of the pull-down menu 601d, In step 2800, the resize / move process is performed, and in other cases, the other process is performed in step 2318. When the resize / move process (step 2800) and other processes (step 2318) are completed, a message reception process is performed in step 2320.
[0093]
If it is determined in step 2305 that an item of the pull-down menu 601c is designated, an area creation process is performed in step 2306.
This process is a process of setting a rectangular area input by the user as a new area. The end of the area management table 2150 connected to the pointer of the page management table 2240 corresponding to the page in which the area is designated. In addition, an area management table 2150 corresponding to the newly generated area is added. Then, the coordinates of the rectangular area input by the user are read, and the area upper left corner X coordinate 2153, area upper left corner Y coordinate 2154, area lower right corner X coordinate 2155, and area lower right corner Y coordinate 2156 are set. In the data type 2158, the type of data designated by the item of the pull-down menu 601c is set. The value of the area attribute 2159 is set by the user's specification. The file name 2157 stores a value different from the name of the file that has been generated so far. An empty symbol is set in the pointers 2160 and 2161.
[0094]
After the task activation process (step 2600), the edit mode 2220 is determined at step 2316, and if it is the individual edit mode, a message reception process is performed at step 2320.
In the message reception process in step 2320, if there is no message, the input process is immediately performed in step 2304. By waiting for input at this time, the process of the editing task started in step 2600 is started. If there is a message, the type is determined in step 2321, the editing end process in step 3450 or the page number change process in step 3300 is performed, and the process returns to the input process in step 2304.
[0095]
If it is determined in step 2316 that the layout edit mode is selected, message reception processing is performed in step 2322. In this process, the process waits in step 2323 until a message from the task activated in step 2600 is received. With this waiting, the activated editing task starts processing.
[0096]
When a message is received, processing corresponding to the received message is performed in step 3000, and in step 2319, the result is determined. If the message has been edited, the termination processing is performed in step 3100, and the document manager 2000a is processed. If the editing process is completed, the message reception process is performed in step 2320. If the area is switched, the designated area is determined from the coordinates designated by the message in step 2324, and if it is within the editing area, the corresponding task is activated in step 2600. If the coordinates are within the page area and are not included in the editing area, in step 2320, a message reception process is performed. In other cases, in step 2322, a message reception process is performed again, and a message reception is waited for.
[0097]
[B] Initial processing
In the initial processing, a message from the initial display task 1903 is received in step 2401, and the processing mode is determined in step 2402. If a new document is created, the start mode and editing modes 2210 and 2220 obtained by the message are set. To do. Subsequently, in step 2404, tables necessary for processing are initialized. At this time, the task number of the document manager 2000a obtained by the message is set to 2270, the same magnification display is set for the enlargement ratio 2272, the frame display is set to the frame display 2273, and the first page is set to the edit page number 1 of 2274. . In step 2405, the shared memory for the document configuration data 2120 is acquired. In step 2406, a window is opened. In step 2407, the menu bar 600 is displayed.
[0098]
In step 2408, a guidance area 210, a scale display area 220, and a page display area 230 are set for the window management task 1910b.
In the setting of the page display area 230, in order to take correspondence between the physical position / size in the window and the logical position / size of data on the paper, the physical origin coordinates of the area (the upper left corner of the area on the screen) Coordinates), logical origin coordinates (coordinates on the paper corresponding to physical origin coordinates), and a coordinate conversion rate. Thus, in the coordinate input process, the window management task 1910b performs coordinate conversion, and the document manager 2000a receives the logical coordinates on the sheet from the window management 1910b.
Finally, in step 2409, a paper frame is displayed in the page display area, and the initial process is terminated.
[0099]
[C] New creation start processing
In the new creation start process, a directory 2100 corresponding to the new document is generated in step 2501, and the document configuration data 2120 is initialized in step 2502. At this time, all of the pointers 2241 and the like of the page management table 2240 are set to empty symbols.
In step 2503, a file for the document configuration data 2120 is generated under the directory 2100. In step 2504, the initialized document configuration data 2120 is written in the generated file, and the process is terminated.
[0100]
[D] Layout display processing
In the layout display process, a document manager subtask 2000b is generated in step 3201, and a message is generated in step 3202. In the message type 2202, task activation is set. In the message information 2203, the shared memory number 2271 acquired for the document configuration data 2120, the page display area number and page number 2274 for displaying the layout, and the page display are displayed. Set the base physical coordinates, origin logical coordinates, and area size of the area.
[0101]
In steps 3203 to 3205, the document manager subtask 2000b is activated, the window right is transferred to the document manager subtask 2000b, and the message generated in step 3202 is transmitted to the document manager subtask 2000b.
Subsequently, in step 3206, a message reception process from the document manager subtask 2000b is performed, and a waiting state is entered in step 3207. At this time, the document manager subtask 2000b starts operating.
When the message is received, in step 3208, the document manager subtask 2000b is deleted, and the process ends.
[0102]
[E] Frame display processing
In the frame display process, first, in step 3501 ′, the instructed item 620 is compared with the presence / absence of frame display 2273 in the pull-down menu 601 e, and the process ends if they are equal. If they are not equal, in step 3502 ', the contents of 2273 are rewritten to the instructed contents, and in step 3503', the contents of the page display area 230 are erased and a paper frame is displayed again. Finally, in step 3200, layout display is performed and the process is terminated.
[0103]
[F] Enlargement ratio change / redisplay processing
In the enlargement ratio changing process, first, in step 3402, the enlargement ratio 2272 is changed to a designated value, and a coordinate conversion ratio corresponding to the enlargement ratio is set for the window management task 1910b. Subsequently, in step 3403, the page display area 230 is erased, a paper frame is displayed, and in step 3200, layout display processing is performed on the page indicated by the page number 2274. At the time of displaying two pages, the layout display process is performed again on the page indicated by the page number 2275 in step 3200.
[0104]
[G] Task start processing
In the task activation process, first, in step 2601, an edit task corresponding to the area designated in the main process is generated. In step 2602, when the text editing task 2010 a is activated, the area management table 2150 pointed to by the pointer corresponding to the displayed page of the page management table 2240 is acquired. In other cases, the area to be edited is determined from the coordinates given from the main process, and the corresponding area management table 2150 is acquired.
[0105]
If the area management table 2150 does not exist, the area management table 2150 is generated in step 2604. If the area management table 2150 does not exist, it is limited to the time when the text editing task 2010a is started, so the area upper left corner X coordinate 2153, area upper left corner Y coordinate 2154, area lower right corner X coordinate 2155, area lower right corner Y coordinate 2156 Is calculated from a predetermined margin value. In the file name 2157, a name different from the name of the file generated so far is set, and in the data type 2158, the text is set. Format data 2170 is generated, and the location of the format data 2170 is stored in the pointer 2160. 2161 stores an empty symbol. In step 2605, a file for editing data 2110 is generated, and two shared memories are acquired for text editing.
[0106]
If the area management table 2150 exists, the pointer 2161 is checked in step 2606. If it is an empty symbol, the shared memory for the edit data 2110 is acquired. If the area is updated, 1 of the acquired shared memory is acquired. First, the corresponding edit data 2110 is read from the edit data file. If it is not an empty symbol, the editing data 2110 has already been read out, so the processing of step 2607 is not performed. When the text editing task 2010a is activated, in step 2609, text generation data 2130 is generated in another shared memory. Here, in the exclusive area management table 2250, the upper left coordinates and the lower right coordinates of the area for which the exclusive attribute is designated are set.
[0107]
If this process is called from other than the resize / move process (to be described later), in step 2610, the base point physical coordinates of the editing area (240, 250, 260 in FIG. 2), Set the physical size, base logical coordinates, and coordinate conversion rate. Subsequently, in step 2611, a message for starting the editing task shown in Table 1 is generated. The area X (Y) direction size is the size of the editing area on the logical coordinates. In addition to the new / update distinction, the activation type stores the distinction of the confirmation process (when this process is called from the [M] size change / movement process). In addition, a message is set as to whether another area overlaps the area to be edited.
[0108]
In step 2612, an editing task is activated. If the editing task is in the layout editing mode and it is not a finalizing process, the window right is transferred to the activated task in step 2614. In step 2615, the message is transmitted. Finally, in step 2616, the empty record 2231 of the editing task management table 2230 is acquired, and the editing task number 2232, the shared memory numbers 2232 and 2234, and the editing mode 2235 are set.
[0109]
The edit mode 2235 is set to the same value as the edit mode 2220, but if it is determined in 2603 that editing is in progress, a multiple editing state is set in addition thereto. At this time, the number of the newly activated task is set to 2246, and the location of the record is set to 2247. If not being edited, in addition to the edit mode 2220, “single editing” is set. The location of the corresponding area management table 2150 is set in the pointer 2236, and the location of the acquired record is set in the pointer 2161 of the area management table 2150.
[0110]
[H] Editing task end processing
In the edit task end process, first, in step 3451, the number of the task that transmitted the message is obtained from the received message, and the record 2231 of the edit task management table 2230 corresponding to the task is acquired.
Subsequently, the task is deleted in step 3452, and in step 3453, the edit data of the shared memory indicated by the shared memory number 2232 is written in the file of the file name 2157 in the area management table 2150 indicated by the pointer 2236. Thereafter, the layout is displayed at step 3200, the shared memory is released at step 3454, the record 2231 is deleted from the edit task management table 2230 at step 3455, the menu 600 is displayed at step 3456, and the processing is performed. Exit.
[0111]
[I] Page number change processing
In the page number changing process, first, in step 3301, the changed page number notified by the message is compared with the page number 2230 ′. If the latter is large, the process from step 3302 is performed. Step 3306 and subsequent steps are performed.
[0112]
In the processing after step 3302, empty symbols are set in the corresponding pointer 2241 of the page management table 2240 from the page number (2230 ′) + 1 page to the changed page number in the processing from step 3303 to step 330. To do. Thereafter, in step 3310, the value of the page number 2230 'is updated.
[0113]
In the processing after step 3302, the region management table 2150 for the text editing region is created by the number of pages increased by the processing from step 3306 to step 3395, and the created region is stored in the corresponding pointer 2241 of the page management table 2240. The location of the management table 2150 is set, and then the value of the number of pages 2230 ′ is updated in step 3310. The content of the area management table 2150 is set to the same value as that of the last page before the change.
[0114]
[J] Message handling processing
In the message handling process, first, in step 3010, the message type 2202 is determined, and the process corresponding to the message type is performed.
If the document editing is completed, the process ends without performing any process.
[0115]
In the case of the designated page display, in step 3001, the edited page number 2274 is updated to the number of pages given in the message, and the physical coordinates and size of the starting point of the page display area 230 and the text editing area 240 for the corresponding page. The starting logical coordinate is notified to the window management task 1910b. At this time, with reference to the message display mode, it is determined whether to display from the top or the bottom of the page, thereby calculating the value of the starting logical coordinate. Subsequently, in step 3002, the page display area is erased, a paper frame is displayed, and in step 3200, layout display is performed. In step 3005, a message is generated. At this time, an end notification is set for the message type 2202, and the origin physical coordinates, the origin logical coordinates, and the area size on the logical coordinates of the text editing area 240 newly set in the information 2203 are set in the message. In step 3006, the window right is delegated to the task that issued the message. In step 3007, the message is transmitted to the task, and the process is terminated.
[0116]
If the message type is enlargement rate change or redisplay, in step 3400, enlargement rate change / redisplay processing is performed. Subsequently, in step 3013, in the case of the enlargement ratio changing process, the area size on the logical coordinates accompanying the change of the enlargement ratio and the coordinate conversion ratio is set in the message. In the case of redisplay processing, it is not necessary to set coordinates and size. The message type 2202 is set to end processing. In step 3014, the window right is delegated to the editing task. In step 3015, a message is transmitted to the editing task, and the process is terminated.
[0117]
If the message type is print / registration, the message type 2202 is determined in step 3011, the above-described printing process or registration process is performed, and a message is created in step 3008. In message creation, the end notification is simply set to the message type 2202. In step 3009, the window right is delegated to the editing task, and in step 3012, a message is transmitted.
[0118]
If the message type is page update, page update processing is performed in step 3300, a message is generated in step 3008, and the generated message is notified to the editing task in step 3012. In this case as well, the end notification is simply set to the message type 2202.
[0119]
If the message type is resize / move, a resize / move process (to be described later) is performed in step 2800, a message is generated in step 3008, and the window right is transferred to the edit task in step 3009. In 3012, the generated message is notified to the editing task. In the message generation, the end notification is set to the message type 2202, and the physical base point coordinates, size, and logical base point coordinates are set to the information 2203.
[0120]
If the message type is scroll, continuous page display, and editing end processing, the corresponding processing is performed in step 3500, step 3600, and step 3400, respectively, and the processing ends.
[0121]
[K] Scroll processing
In the scroll process, first, in step 3501, the starting logical coordinates of the edited task after scrolling are calculated from the amount of movement of the received message in the X and Y directions, and notified to the window management task 1910b. Subsequently, in step 5502, the image in the page display area 230 is moved according to the scroll amount. In step 3503, the range unnecessary by scrolling is deleted, and the paper frame 221 in the deleted range is displayed. Next, layout display processing is performed in step 3200, and a message is created in step 3504. An end notification is set in the message type 2202, and the origin logical coordinates and the area size on the logical coordinates are set in the message information 2203. In step 3505, the window right is delegated to the editing task. In step 3506, a message is transmitted to the editing task, and the process is terminated.
[0122]
[L] Continuous page display processing
In the continuous page display process, first, in step 3601, an area for displaying the page given by the message is set. As shown in FIG. 12, the top page is displayed in the upper half of the page display area 230 during horizontal writing and the right half of the page display area 230 during vertical writing. For this purpose, the starting logical coordinates, base physical coordinates, and area sizes of the page display area 230 and the text editing area 240 are determined and notified to the window management task 1910b. The page display area 230 is erased, and the paper frame 211 of the first page is displayed. Subsequently, in step 3200, layout display processing is performed. Thereafter, in step 3602, an end notification is set for the message type 2202 to be sent to the editing task, and the area number, starting physical coordinates, starting logical coordinates, and area size of the text editing area on the first page are set in the message information 2203.
[0123]
In step 3603, as shown in FIG. 12, in order to display the next page in the lower half of the page display area in horizontal writing and in the left half of the page display area in vertical writing, the page display area and text editing are performed. The origin logical coordinates, base physical coordinates, and area size of the area are determined, notified to the window management 1910b, and the paper frame of the next page is displayed. In step 3604, the first page and the next page number are set in edit page numbers 2244 and 2245, and in step 3200, layout display processing is performed. In step 3605, the area number, starting physical coordinates, starting logical coordinates, and area size of the text editing area on the next page are set in the message information 2203. In step 3606, the window right is delegated to the editing task. In step 3607, a message is transmitted to the editing task, and the process is terminated.
[0124]
[M] Resizing / moving process
In the size changing / moving process, first, in the input process in step 2801, the position (upper left corner coordinates and lower right corner coordinates) of the area after the size changing / moving of the area is input. In step 2802, the coordinates of the input result are set to 2153 to 2156 in the area management table 2510. When this process is called from the message handling process, the management table 2510 corresponding to the editing task is acquired from the number of the editing task notified by the message, and when called from the main process, the main process The area management table 2510 to be changed is acquired in the area determination processing in step 2308.
[0125]
In step 2600, the text editing task is activated in the confirmation processing mode. In step 2804, a message reception process is performed. In step 2805, a message reception wait is performed. When the message is received, it is checked in step 2806 whether or not the task number of the message is registered in 2246. If it is not registered, in step 3450, an edit task end process is performed to end the process.
[0126]
If registered, in step 2807, the editing task for which the data confirmation process has been performed is deleted, and in step 3200, a layout display process is performed. In step 2808, the record 2231 of the editing task management table 2230 is acquired from the task number of the message, the editing mode is changed to single processing, and the processing is terminated.
[0127]
[N] Termination processing
In the end processing, the processing from step 3102 to step 3105 is performed for all the records 2231 registered in the editing task management table 2230.
[0128]
First, in step 3102, the task having the registered task number 2232 is aborted and deleted. In step 3103, the edited data of the shared memory number 2233 is stored in the file whose file name is given by 2157 of the area management table 2150 pointed to by the pointer 2236. In step 3104, the shared memory is released. In step 3105, the record 2231 is deleted.
[0129]
When the processing from step 3102 to step 3105 is completed for all records 2231, the document configuration data 2120 is stored in the file in step 3106, the shared memory for the document configuration data 2120 is released in step 3107, and in step 3108 Then, an end message is transmitted to the initial display task 1903, and the process ends.
[0130]
The above is the processing of the document manager 2000a. Next, processing of the document manager sub 2000b will be described.
FIG. 28 is a diagram showing the flow of processing of the document manager sub 2000b.
First, in step 3701, the document manager sub 2000b receives the message from the document manager 2000a, and from the pointer of the page management table 2240 of the page to be displayed existing in the shared memory given by the shared memory number 1 of the message. The page area management table 2150 is traced, and the process from step 3703 to step 3716 is performed for all areas. In steps 3717 and 3718, the window right is transferred to the document manager 2000a, a message is transmitted, and the process is terminated. To do.
[0131]
In step 3703, the pointer 2161 of the page area management table 2150 is checked. If it is empty, the shared memory is acquired in step 3704. In step 3705, the editing data file 2210 indicated by the file name 2157 of the area management table 2150 is obtained. Read edit data from.
[0132]
In step 3706, a layout display task 2020 corresponding to the data type 2158 of the area management table 2150 is generated. In step 3707, the starting physical coordinates, starting logical coordinates, and area size of the area to be displayed are obtained from the display area coordinates 2153 to 2156 and the page starting area physical coordinates, starting logical coordinates, and area size notified by the message. Calculate and notify the window management task 1910b to generate the message in Table 2. In step 3708, the layout display task 2020 is activated. In step 3709, the window right is delegated to the task. In step 3710, a message is transmitted. In step 3711, message reception processing is performed. In step 3712, the message reception wait from the layout display task 2020 is awaited, and the layout display task 2020 starts processing. When the message from the layout display task 2020 is received, if the shared memory is acquired in step 3704, the shared memory is released in step 3713. In step 3714, the layout editing task 2020 is deleted. In step 3715, the presence / absence of frame display 2273 is checked.
[0133]
The processing in steps 3703 to 3716 is not performed for the area corresponding to the record 2231 in which the editing mode 2235 of the editing task management table 2230 is layout editing.
The shared memory number in Table 2 is acquired in step 3704, or the value of the shared memory number 2233 in the editing task management table 2230 is set. The area number is that of the area notified to the window management task 1910b in step 3707.
[0134]
The layout display task 2020 displays the editing data in the memory indicated by the shared memory number of the received message in the display area given by the message, and after the display is finished, delegates the window right to the document manager subtask 2000b, An end message is transmitted and the process ends.
[0135]
Next, processing of the text editing task 2010a will be described.
First, the text editing control data will be described with reference to FIGS. 29 and 30. FIG. FIG. 29 is a diagram showing the text data 2110a. The body data 2110a includes a page number 5000, a page control table 5100 for each page, and a character code table 5400.
[0136]
The page control table 5100 includes a column management table 5200 and a row management table 5300. The column management table 5200 includes the number of columns 5201 included in the page, the number of rows 5202 included in each column, the line spacing 5203, and a pointer 5204 to the row management table 5300 of the first row of columns. The line management table 5300 includes line information for each line. The line information includes a character size 5301, a character space 5302, and a pointer 5303 to a character code at the head of the line. The character code table 5400 is a table for storing character codes and character attributes.
[0137]
FIG. 30 is a diagram showing the control data of the text. The control data includes a display page number 5501 for storing the number of currently displayed pages, a current display enlargement ratio 5502, an edit mode 5503 for distinguishing between layout editing and individual editing, and a display for holding logical coordinates of the displayed page. There is an area management table 5500 and a line coordinate table 5600 that holds the line coordinates of the stage.
[0138]
The display management table 5500 exists for each display page, and includes a page number 5520, a display area number 5521 set in the window management task 1910b, a page column number 5522, a horizontal / vertical writing distinction 5523, and a column coordinate management table 5510. .
The stage coordinate management table 5510 holds a stage upper left corner logical X coordinate 5511, a stage upper left corner logical Y coordinate 5512, a stage lower right corner logical X coordinate 5513, and a stage lower right corner logical Y coordinate 5513 for each stage.
[0139]
Next, the flow of processing of the text editing task 2010a will be described with reference to FIGS.
In the present embodiment, the processing in the layout editing mode is mainly described. In particular, for each processing [C] to [I], only the processing in the layout editing mode is extracted and described. If the processing is different between the layout editing mode and the individual editing mode, the editing mode 5503 determines which processing is performed. The processes [A] to [K] in FIGS. 31 to 35 will be described below.
[0140]
[A] Main processing
When the text editing task 2010a is started, first, in step 3900, initial processing is performed, and in step 3801, input waiting is performed. In step 3802, input determination processing is performed, and scroll processing, coordinate conversion processing, redisplay processing, printing / registration processing, and other processing are performed based on the result.
[0141]
When the scroll key is input, scroll processing is performed in step 4100, and the process returns to step 3801 to wait for input.
When the input is the coordinates of the text display area 240 or the page display area 230 and the layout edit mode is selected, the coordinate conversion process is performed in step 4000, and the end process of step 4600 is performed in step 3803 based on the result. Alternatively, the process returns to the input process in step 3801 to determine whether or not to continue the process.
When the item 713 (layout editing) or the item 716 (end document editing) of the pull-down menu 701a is input, or when the end box 201 is instructed, the end processing is performed in step 4600, and the body text editing processing is performed. Exit.
[0142]
When the previous page / next page key is pressed, or when the item 714 (redisplay) or the item 715 (screen division) of the pull-down menu 701b is instructed, in step 4300, processing such as redisplay is performed. Return to step 3801 to perform input processing.
When the item 611 (print) or the item 612 (registration) of the pull-down menu 701a is instructed, a print / registration process is performed in step 4400, and the process returns to step 3801.
In the case of other processes, an editing process is performed according to the input, and if there is a change in the page number as a result of editing in step 4550, a page number changing process is performed. In step 4500, the editing result is displayed, Returning to step 3801, new input processing is performed.
[0143]
[B] Initial processing
In the initial process, when the text editing task 2010a is activated, first, in step 3901, a message from the document manager is received. In step 3902, the message activation type is determined. If the message is in the confirmation mode, a confirmation process is performed in step 4800. In the confirmation process, an end message is transmitted, and the process of the text editing task 2010a ends at that time.
[0144]
If it is the layout editing mode, in step 3904, the display management table 5500a is generated. First, the column number 2265 and the horizontal / vertical writing distinction 2267 are read from the format data 2260 of the first page of the text generation data 2130 placed in the shared memory 2 and set to 5522 and 5523, respectively. Next, the logical coordinates of the upper left corner coordinates and the lower right corner of each step are calculated from the margins 2261 to 2264 and the step 2266. The size is compared between the calculated result and the starting logical coordinate of the received message, the range where each stage is actually displayed is calculated, the upper left corner coordinate and the lower right corner logical coordinate of the area are obtained, and 5511 to 5514 Set. The page number 5520 is set to 1, and the region number 5521 is set to the edit region number obtained by the message. In the display management table 5500b, blank symbols are set in the page number 5520 and the region number 5521.
[0145]
In the individual editing mode, the text editing window 400 is opened in step 3903, and the guidance area 410, scale display area 420, and text editing area 425 are set for the window management task 1910b in step 3905. In the text editing area 425, a line digit coordinate system is set as logical coordinates, and the result of coordinate input by the mouse in the text editing area 425 is given in line digit coordinates.
[0146]
In step 3906, the activation type is determined again. When a new document is created, in step 3907, body data is generated in the shared memory 1 and initialized. In the initialization of the body data, the number of rows 2265 of the format data 2260 of the first page of the body generation data 2130 is set in the number of rows 5201 of the page control table 5100, the number of rows 5202, the space between lines 5203, the character size 5301, and the space between characters 5302. Is set to a predetermined standard value, and the pointers 5204 and 5303 are set to empty symbols.
[0147]
In the initialization processing of the menu data in step 3908, the items 715 (screen division) of the pull-down menu 701b are displayed in the layout editing mode, and the items 714 (redisplay) and 619 (enlarged) of the pull-down menu 701b are displayed in the individual editing mode. Rate) and the item 713 (layout edit) of the pull-down menu 701a are registered as invalid items in the input control task 1910a. The input control task 1910a performs control so that the user cannot instruct items registered as invalid items. In step 3910, the menu bar 700 is displayed. In step 4200, text data display processing is performed, and the initial processing is terminated.
[0148]
[C] Coordinate conversion processing
In the coordinate conversion process, in the layout editing mode, the coordinate input of the mouse in the text editing area 240 and the page display area 230 is the (X, Y) coordinates of the logical coordinate system. Convert to
First, in step 4001, it is determined whether or not it is within the text editing area 240. If it is not within the text editing area 240 (that is, the page display area 230), the process is terminated. If it is in the text editing area 240, it is checked in step 4002 if it is in the exclusive area. This check is performed as follows.
[0149]
The area number of the display management table 5500 is compared with the input body area, and the area number 5520 of the matched display management table 5500 is obtained. The coordinates 2251 to 2255 of the exclusive area management table 2250 in the acquired page of the text generation data 2130 are compared with the input coordinates to determine whether the area is an exclusive area.
[0150]
If it is not an exclusive area, in step 4003, it is converted into line digit coordinates. The conversion method is as follows.
First, the input coordinates are compared with the step coordinate management table 5510 of the display management table 5550 to determine which step is included. Based on the page number and column number, the line spacing 5203 of the corresponding column is obtained from the page control table 5100 of the body data, the number of lines from the input coordinates and line spacing 5203 is calculated, and what is determined by the character size 5301, the character spacing 5302, and the input coordinates. Calculate the digit.
When the process is terminated by the determination in step 4001 or 4002, it is determined in steps 3803 and 4600 of the main process [A] that the process is terminated by area switching.
[0151]
[D] Print registration process
In the print registration process, first, in step 4301, a message such as printing of Table 3 is generated. A message type 2202 represents the distinction between printing / registration. In steps 4302 to 4305, the window right is transferred to the document manager 2000a, a message is transmitted, and a message reception waiting from the document manager is awaited. When the message is received, the process is terminated.
[0152]
[E] Redisplay, previous / next page, enlargement ratio change processing
In the case of the enlargement ratio changing process, in step 4301, the instructed enlargement ratio is compared with the display enlargement ratio. If they are equal, the process ends. In step 4302, the following processing is performed.
[0153]
In the case of re-display and enlargement rate change, the re-display and enlargement rate change messages of Table 3 are generated. When this process is called by inputting the previous page / next page key, the number of pages of the previous page / next page is calculated for the page where the cursor exists, and set to the page number of the message. At this time, the display mode is set from the top of the page. When this process is called from another process, the number of pages and the display mode specified by the other process are set in the message.
[0154]
In steps 4303 to 430, the window right is transferred to the document manager 2000a, a message is transmitted, and a message from the document manager 2000a is awaiting reception. When the message is received, if it is not redisplay, the display management table 5500 is changed in step 4308. The change method is almost the same as the generation process described in the initial process. The page is the same as the page set in the message or the page set before this processing. Thereafter, in step 4200, a text data display process is performed, and the process ends.
[0155]
[F] Scroll processing
In the scroll process, first, in step 4101, the display page number 5501 is checked. If two pages are displayed, the specified page is displayed in step 4300. At this time, the page number to be set and the display mode are as follows.
[0156]
When the cursor is displayed on the previous page and the up scroll key (right scroll key in vertical writing) is pressed, the page number of the subsequent page is set as the page number, and the page number is set in the display mode. Set the beginning. When the down scroll key (left scroll key at the time of vertical writing) or the horizontal scroll key is pressed, the page number of the previous page is set as the page number, and the end of the page is set as the display mode.
[0157]
If the cursor is displayed on the next page and the up scroll key (right scroll key for vertical writing) or the horizontal scroll key is pressed, the page number of the subsequent page is set as the page number. Set the top of the page to the display mode. When the up scroll key (right scroll key at the time of vertical writing) is pressed, the page number of the previous page is set as the page number, and the end of the page is set as the display mode.
[0158]
In step 4102, the scroll amount is calculated. The calculation method is as follows.
First, the movement amount when the scroll key is pressed will be described. In the case of upward scrolling (right scrolling during vertical writing), the display management table 5500 is below the Y coordinate at the lower right corner of the stage where the cursor is displayed, and is the uppermost line (vertical line) that is not displayed at all. At the time of writing, the amount of movement for completely displaying the rightmost line in the upper left corner X-coordinate and not displayed at all) is obtained. In the case of downward scrolling (left scrolling during vertical writing), the display management table 5500 is above the Y coordinate of the upper left corner of the stage where the cursor is displayed, and is the lowest line (vertical) that is not displayed at all. At the time of writing, the amount of movement for completely displaying the leftmost line in the lower right corner X coordinate and not displayed at all) is obtained.
[0159]
Next, the movement amount when this processing is called from the editing result display processing will be described. In this case, the scroll direction and amount are determined so that the display top line is displayed at the top of the display range. If two pages are being displayed, the processing of step 4300 is performed according to the determination of step 4101, but the scroll direction when determining the designated page is similarly determined.
[0160]
In the course of this calculation, if it is found that it is necessary to switch the display page to the next page or the previous page, the continuous page display message of Table 3 is set. Otherwise, in step 4104, The scroll message of Table 3 is generated.
[0161]
The page number in the continuous page display is determined as follows. In the case of up scroll (right scroll in vertical writing), the page number of the page on which the cursor is displayed. In the case of down scroll (left scroll in vertical writing), the page number of the previous page of the page on which the cursor is displayed. Set the page number.
[0162]
In steps 4106 to 4109, the window right is delegated to the document manager 2000a, a message is transmitted, and a message reception waiting from the document manager 2000a is awaited. When the message is received, the display management table 5500 is updated in step 4110, the text data is displayed in step 4200, and the process is terminated. When the continuous page display message is transmitted, the display management tables 5500a and 5500b are generated for the page specified by the message and the next page. When the scroll message is transmitted, the previously displayed page is displayed. The display management table 5500 is generated.
[0163]
[G] Editing result display processing
In the editing result display process, if the display top line is within the range indicated by the column management table 5510 of the display management table 5500, the designated line display process of step 4700 is performed, and the process ends.
If not, it is determined in step 4502 whether or not they are the same page. If they are the same page, scroll processing is performed in step 4100 and the process is terminated.
[0164]
In step 4503, the display state is determined from the display management table 5500. If the display is a two-page display and the display top line is the top of the next page or the last line of the previous page, a message of continuously displayed pages is displayed in step 4504. Is generated. In the former case, the page number of the page displayed before the processing is set as the page number of the message, and in the latter case, the page number of the previous page of the page displayed before the processing is set. . In other cases, a page on which the display top line is displayed is designated, and a message for displaying the designated page is generated. In this case, if the display top line is at the end of the page, the display mode is set at the end of the page, and if it is at the top, the display mode is set at the top of the page.
[0165]
In this embodiment, in the designated page display, it can only be specified whether to display from the beginning or the end of the page, but it is easy to enable display from an arbitrary position on the page, and by doing so, The first line of the display can be displayed.
[0166]
In steps 4505 to 4509, the window right is delegated to the document manager 2000a, a message is transmitted, and a message reception waiting from the document manager 2000a is awaited. When the message is received, the display management table 5500 is updated in step 4510, the designated page display process in step 4700 is performed, and the process is terminated.
[0167]
[H] Text data display processing
If this process is called from the initial process, it is determined in step 4201 whether or not there is an overlapping area of the received message. If there is no overlapping area, the process ends. In step 4202, the display range (display top line and display end line) is calculated from the display management table 5500. In step 4700, the designated page is displayed, and the process ends.
[0168]
[I] Specified page display process
Steps including the designated display first line to display end line are obtained from the text data, and the processing from step 4601 to step 4603 is performed for all the steps.
In step 4601, the line coordinates of the lines included in the column are calculated with reference to the page management table 5500 and set in the line coordinate table 5600. In step 4602 and step 4603, the display target lines included in the stage where the line coordinates are calculated are displayed with reference to the line coordinate table 5600.
[0169]
After displaying all the lines, in step 4604, the character size and the character spacing of the line where the cursor is displayed are obtained. In step 4605, the starting point physical coordinates, starting point logical coordinates, and coordinate conversion rate of the scale display area are set to the same values as in the text editing area 240, and the character string 910 for scale display shown in FIG. 9 is created. In step 4606, the character string is displayed starting from the X coordinate of the upper left corner of the stage where the cursor is located.
[0170]
[J] Termination processing
In the end process, first, in step 4601 ', either a message for the document creation end process or a message for the area edit process is generated according to the end state.
In the individual editing mode, when the end box 201 is instructed, the area editing ends, and when the item 716 (end of document editing) in the pull-down menu 701b is instructed, the document editing ends.
[0171]
In the layout editing mode, when the end box 201 is instructed and when the item 716 (end document editing) of the pull-down menu 701b is instructed, the document editing ends, and when the item 713 (layout editing) is instructed, When the page area 230 or the exclusive area 430 is designated in the coordinate conversion process, the area editing is completed. When the page area 230 or the exclusive area 430 is instructed, the area switching mode and the input coordinates are set in the message information 2203. In other cases, the edit end mode is set to the message type 2202.
[0172]
In the layout editing mode, the window right is transferred to the document manager 2000a in step 4603 ', and in the individual editing mode, the window is closed in step 4604'. In step 4605 ', a message is transmitted to the document manager 2000a, and the process ends.
[0173]
[K] Page number change processing
In the page number changing process, first, in step 4511, it is determined whether or not the page number has been changed as a result of the editing process. If there is, the message for the page number changing process is sent to the document manager 2000a in steps 4552 to 4553. To receive a message from the document manager 2000a. When the message is received in step 4554, the page number 2230 'of the document configuration data 2210 is changed in step 4555, and the process is terminated.
[0174]
[L] Finalization process
In the confirmation process, the process from step 4802 to step 4807 is performed for all lines of the body data.
First, in step 4802, the line coordinates of the rectangular area occupied by the line are calculated. This is defined as y1, y2 (x1, x2 at the time of vertical writing). Steps 4804 to 4807 are performed for all characters on the line.
In step 4804, digit coordinates x1 and x2 (y1 and y2 in vertical writing) of the rectangular area occupied by the character are calculated. In step 4805, the overlapping state between the rectangular area given by x 1, x 2, y 1, y 2 and the exclusive area of the page where the row exists is checked using the exclusive area management table 2250 of the text generation data 2130. If they overlap, an empty symbol is inserted in front of the character in step 4807.
When the above processing is completed for all lines, an end message is generated in step 4808, a message is transmitted to the document manager 2000a in step 4809, and the processing of the text editing task 2010a is ended.
[0175]
Above, description of the process of the text edit task 2110a is complete | finished. Some other editing tasks do not have data corresponding to the text generation data 2130, but may be considered to perform substantially the same processing as the text editing task 2110a.
[0176]
However, since the movement / size change of the area is performed only by a task other than the text editing task 2110a, the movement / size change process of the area will be described with reference to FIG.
This processing is performed when an item 811 (region movement) or item 812 (region size change) of the pull-down menu 801a is instructed by the input processing.
[0177]
In step 4901, a message is generated. The distinction between area movement / size change is set in the message type 2202. In step 4902, the window right is transferred to the document manager 2000a, and in step 4903, a message is transmitted. When the message is received, in step 4906, the editing task data is displayed in the area notified by the received message, and the movement / resize processing of the area is terminated.
[0178]
As described above, according to the present embodiment, either the layout editing mode or the individual editing mode can be selected as necessary, so that the optimum editing environment is always set according to the editing target and editing contents. There is an effect that it can be set.
[0179]
Furthermore, since the edit mode corresponding to the document to be updated is automatically set when the document is updated, once the edit mode is set, it is freed from the trouble of having to set the edit mode for each update. There is also an effect.
[0180]
Also, since the display state is switched such that two consecutive pages are displayed at the same time or only one page is displayed according to the state during input or editing, the efficiency of the input / edit operation is greatly improved. There is also an effect.
[0181]
  In addition, while editing an area, the area can be resized and moved, and the editing target can be switched simply by specifying the area, so documents with mixed text, graphics, images, etc. can be used efficiently. It has the effect of being able to edit well.
  As described above, according to the present embodiment, in the layout editing mode, the necessary plural pages are automatically displayed even if the character strings before and after the character string to be edited are included in other pages. Therefore, it is possible to obtain a page image display management method at the time of layout editing which is excellent in operability of character string editing / input in the layout editing mode.
[0182]
  According to the present invention, it is possible to provide a page image display management method with improved usability when creating and editing a document.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram showing an operation system in an embodiment of the present invention.
FIG. 2 is an explanatory diagram showing an example of a layout editing window.
FIG. 3 is an explanatory diagram showing an example of a scale.
FIG. 4 is an explanatory diagram showing an example of an individual editing window.
FIG. 5 is an explanatory diagram showing an example of an individual editing window.
FIG. 6 is an explanatory diagram illustrating an example of a menu and a pull-down menu.
FIG. 7 is an explanatory diagram illustrating an example of a menu and a pull-down menu.
FIG. 8 is an explanatory diagram showing an example of a menu and a pull-down menu.
FIG. 9 is an explanatory diagram showing a string of character strings for scale display.
FIG. 10 is an explanatory diagram of scrolling.
FIG. 11 is an explanatory diagram showing a display row of continuous pages.
FIG. 12 is an explanatory diagram showing transition of a page display state.
FIG. 13 is an explanatory diagram showing a region moving process.
FIG. 14 is a hardware configuration diagram and software configuration diagram according to an embodiment of the present invention.
FIG. 15 is a hardware configuration diagram and software configuration diagram according to an embodiment of the present invention.
FIG. 16 is a program configuration diagram of a document editing task and a configuration diagram of document data.
FIG. 17 is a program configuration diagram of a document editing task and a configuration diagram of document data.
FIG. 18 is an explanatory diagram showing the structure of a message.
FIG. 19 is a flowchart of processing of an initial display task.
FIG. 20 is a structural diagram of document configuration data, text generation data, and an edit task management table.
FIG. 21 is a structural diagram of document configuration data, text generation data, and an edit task management table.
FIG. 22 is a flowchart of processing of a document manager.
FIG. 23 is a flowchart of processing of a document manager.
FIG. 24 is a flowchart of processing of a document manager.
FIG. 25 is a flowchart of processing of a document manager.
FIG. 26 is a flowchart of processing of a document manager.
FIG. 27 is a flowchart of processing of a document manager.
FIG. 28 is a flowchart of processing of a document manager subtask.
FIG. 29 is a structural diagram of text data.
FIG. 30 is a structural diagram of display control data.
FIG. 31 is a flowchart of processing of a text editing task and other area editing tasks.
FIG. 32 is a flowchart of processing of a text editing task and other area editing tasks.
FIG. 33 is a flowchart of processing of a text editing task and other area editing tasks.
FIG. 34 is a flowchart of processing of a text editing task and other area editing tasks.
FIG. 35 is a flowchart of processing of a text editing task and other area editing tasks.
FIG. 36 is a flowchart of processing of a text editing task and other area editing tasks.
[Explanation of symbols]
200 ... Layout edit window, 240 ... Text area, 260 ... Graphic area, 400 ... Text edit window, 500 ... Graphic edit window, 600, 700, 800 ... Menu bar, 1800 ... Host CPU, 1801 ... Sub CPU, 1802 ... Main Memory, 1803 ... Shared memory, 1804 ... Hard disk, 1805 ... Dictionary ROM, 1806 ... Floppy disk, 1807 ... LP controller, 1808 ... Laser printer, 1809 ... Graphic processor, 1810 ... CRT, 1811 ... CGROM, 1812 ... VRAM, 1813, 1814, 1815 ... path, 1816 ... keyboard, 1817 ... mouse, 1900 ... document editing task, 1901 ... document printing task, 1902 ... form task, 1903 ... initial display task, 1910a ... on Control task, 1910b ... Window management task, 1910c ... Display control task, 1910d ... Print control task, 1910e ... File management task, 1920 ... Basic OS, 1930 ... Driver group, 2000a ... Document manager, 2000b ... Document manager subtask, 2010a ... Text editing task, 2020 ... layout display task, 2200 ... message, 2110a ... text data, 2120 ... document configuration data, 2130 ... text generation data, 2150 ... area management table, 2170 ... format data, 2190 ... page management table, 2230 ... Edit task management data, 2240 ... Page management table, 2250 ... Exclusive area management table, 5100 ... Page print table, 5200 ... Column management table, 5300 ... Line management table, 5400 ... Character code table Bull, 5500 ... display management table, 5510 ... stage coordinate management table, 5600 ... row coordinate table.

Claims (4)

レイアウト編集時に、表示手段に頁の印刷イメージを表示させて文書の作成編集を行うときの頁イメージ表示管理方法であって、
表示手段に1頁を表示させて文章の入力または削除を可能にし、
文書の入力または削除の結果による頁の増減が発生したときに上記表示手段に1頁目の末尾行と2頁目の先頭行とが同一画面に表示されるように連続した2頁を表示するよう管理することを特徴とするレイアウト編集時の頁イメージ表示管理方法。
A page image display management method for creating and editing a document by displaying a print image of a page on a display means during layout editing,
One page is displayed on the display means to enable input or deletion of sentences,
When page increase / decrease occurs as a result of inputting or deleting a document, the display means displays two consecutive pages so that the last line of the first page and the first line of the second page are displayed on the same screen. A page image display management method at the time of layout editing, characterized in that management is performed as described above.
レイアウト編集時に、表示手段に頁の印刷イメージを表示させて文書の作成編集を行うときの頁イメージ表示管理方法であって、
表示手段に頁の印刷イメージを表示させて文章の入力または削除を可能にし、
表示された印刷イメージ上の文章の文字をカーソル手段で指し示し、
第n頁だけの印刷イメージが表示されている表示状態Aであるときに文字入力が行われ、入力された文字列が表示されている頁の末尾行を超えて新しい頁が追加される場合に、
第n頁及び第n+1頁の連続する2頁の印刷イメージが表示されており、第n頁の末尾行と第n+1頁の先頭行とが表示されている表示状態Bになるように連続する2頁の印刷イメージを表示させ、
表示状態Bであるときに文字入力が行われ、入力された文字列が表示できなくなった場合に、第n+1頁だけの印刷イメージが表示されている表示状態Cの1頁の印刷イメージを表示させ、
表示状態Cで文字列が削除され、第n+1頁の前のページに存在する文字をカーソル手段が指し示すように変化した場合に、表示状態Bになるように連続する2頁の印刷イメージを表示させ、
表示状態Bで文字が削除され、カーソル手段が表示されていない文字を指し示すようになった場合に、表示状態Aの1頁の印刷イメージを表示させることを特徴とするレイアウト編集時の頁イメージ表示管理方法。
A page image display management method for creating and editing a document by displaying a print image of a page on a display means during layout editing,
Display the print image of the page on the display means to enable input or deletion of sentences,
Point the text on the displayed print image with the cursor,
When character input is performed in the display state A in which a print image of only the nth page is displayed, and a new page is added beyond the last line of the displayed page. ,
Two consecutive print images of the nth page and the (n + 1) th page are displayed, and the continuous 2 so as to be in the display state B in which the last line of the nth page and the first line of the (n + 1) th page are displayed. Display the print image of the page,
When character input is performed in the display state B and the input character string cannot be displayed, the print image of one page in the display state C in which only the print image of the (n + 1) th page is displayed is displayed. ,
When the character string is deleted in the display state C and the character existing on the page before the (n + 1) th page changes so that the cursor means points to it, the print image of two consecutive pages is displayed so as to be in the display state B. ,
A page image display at the time of layout editing, wherein a print image of one page in display state A is displayed when a character is deleted in display state B and the cursor means points to a character that is not displayed. Management method.
レイアウト編集時に、表示手段に1頁を表示する表示状態または連続した2頁を1頁目の末尾行と2頁目の先頭行とを同一画面に表示する表示状態のいずれかの表示状態を表示させて文書の作成編集を行うときの頁イメージ表示管理方法であって、
文章の入力あるいは削除により非表示部分を表示することが必要となったときに、それまで管理していた状態からもう一つの状態に遷移させて非表示部分を表示することを特徴とするレイアウト編集時の頁イメージ表示管理方法。
When the layout is edited, the display means displays either the display state in which one page is displayed or the display state in which two consecutive pages are displayed on the same screen as the last line of the first page and the first line of the second page. A page image display management method when creating and editing a document,
A layout editing feature that displays the hidden part by transitioning from the previously managed state to another state when it becomes necessary to display the hidden part by entering or deleting text Time page image display management method.
レイアウト編集時に、第n頁だけの印刷イメージが表示されている表示状態Aと、第n頁及び第n+1頁の連続する2頁の印刷イメージが表示されており、第n頁の末尾行と第n+1頁の先頭行とが表示されている表示状態Bと、第n+1頁だけの印刷イメージが表示されている表示状態Cのいずれかの表示状態を表示させて文書の作成編集を行うときの頁イメージ表示管理方法であって、
表示された印刷イメージ上の文章の文字をカーソル手段で指し示し、
上記表示手段の表示状態及び文章の入力あるいは削除、または上記カーソル手段の移動により、
表示状態Aで文字入力が行われ、入力された文字列が表示されている頁の末尾行を超えて新しい頁が追加される場合には、表示状態Bに表示状態を遷移させて連続する2頁の印刷イメージを表示させ、
表示状態Bで文字入力が行われ、入力された文字列が表示できなくなった場合には、表示状態Cに表示状態を遷移させて1頁の印刷イメージを表示させ、
表示状態Cで文字列が削除され、頁の前のページに存在する文字をカーソル手段が指し示すように変化した場合には、表示状態Bに表示状態を遷移させて連続する2頁の印刷イメージを表示させ、
表示状態Bで文字が削除され、カーソル手段が表示されていない文字を指し示すようになった場合には、表示状態Aに表示状態を遷移させて1頁の印刷イメージを表示させることを特徴とするレイアウト編集時の頁イメージ表示管理方法。
At the time of layout editing, a display state A in which only a print image of the nth page is displayed, and print images of two consecutive pages of the nth page and the (n + 1) th page are displayed. Page when creating and editing a document by displaying either the display state B in which the first line of the (n + 1) page is displayed or the display state C in which only the print image of the (n + 1) th page is displayed. An image display management method,
Point the text on the displayed print image with the cursor,
By the display state of the display means and the input or deletion of text, or the movement of the cursor means,
When a character is input in the display state A and a new page is added beyond the last line of the page on which the input character string is displayed, the display state is changed to the display state B and the continuous 2 Display the print image of the page,
When characters are input in the display state B and the input character string cannot be displayed, the display state is changed to the display state C to display a print image of one page.
When the character string is deleted in the display state C and the character on the previous page of the page is changed so that the cursor means points to it, the display state is changed to the display state B and a continuous print image of two pages is displayed. Display
When a character is deleted in the display state B and the cursor means points to a character that is not displayed, the display state is changed to the display state A to display a print image of one page. Page image display management method during layout editing.
JP2001356852A 2001-11-22 2001-11-22 Page image display management method during layout editing Expired - Fee Related JP3699923B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001356852A JP3699923B2 (en) 2001-11-22 2001-11-22 Page image display management method during layout editing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001356852A JP3699923B2 (en) 2001-11-22 2001-11-22 Page image display management method during layout editing

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP08839290A Division JP3269623B2 (en) 1990-04-04 1990-04-04 Document creation device

Publications (2)

Publication Number Publication Date
JP2002215613A JP2002215613A (en) 2002-08-02
JP3699923B2 true JP3699923B2 (en) 2005-09-28

Family

ID=19168296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001356852A Expired - Fee Related JP3699923B2 (en) 2001-11-22 2001-11-22 Page image display management method during layout editing

Country Status (1)

Country Link
JP (1) JP3699923B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5110393B2 (en) * 2009-01-07 2012-12-26 テクマトリックス株式会社 Medical report creation terminal, medical report creation method, and program
JP5832076B2 (en) 2010-09-24 2015-12-16 任天堂株式会社 Information processing program, information processing apparatus, information processing system, and information processing method

Also Published As

Publication number Publication date
JP2002215613A (en) 2002-08-02

Similar Documents

Publication Publication Date Title
JPH01234967A (en) Document forming device
JPH0798769A (en) Information processor and its screen editing method
JP2003308310A (en) Display method, display, display program, and recording medium recorded with display program
JP3388451B2 (en) Handwriting input device
JP3699923B2 (en) Page image display management method during layout editing
JP3269623B2 (en) Document creation device
JP3100614B2 (en) Document processing apparatus and document processing method
JPS6244866A (en) Area format setting system
JP2751212B2 (en) Document creation device
JPH0564931A (en) Print spool means
JPS6366630A (en) Input device for print position
JP2825816B2 (en) Document logical structure editing device
JP2816003B2 (en) Document creation device
JPH1055431A (en) Image processor
JPH1069480A (en) Method and processor for document processing, and storage medium
JPH08227420A (en) Document preparation device
JP2879940B2 (en) Score editing system
JPH0470958A (en) Document processor
JP3101402B2 (en) Document editing method and document editing device
JP2004213305A (en) Printing control system, information processor, printing control method, and program
JP2751224B2 (en) Document creation device
JP3754714B2 (en) Document processing method and apparatus
JPH087012A (en) Method and device for editing output mode of data
JP2851840B2 (en) Document processing device
JPH06266706A (en) Word processor with character size changing function

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041005

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041126

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050711

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090715

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees