JP2004086621A - Electronic device, display control method, program, and recording medium - Google Patents

Electronic device, display control method, program, and recording medium Download PDF

Info

Publication number
JP2004086621A
JP2004086621A JP2002247624A JP2002247624A JP2004086621A JP 2004086621 A JP2004086621 A JP 2004086621A JP 2002247624 A JP2002247624 A JP 2002247624A JP 2002247624 A JP2002247624 A JP 2002247624A JP 2004086621 A JP2004086621 A JP 2004086621A
Authority
JP
Japan
Prior art keywords
range
displayed
display
editing
document data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002247624A
Other languages
Japanese (ja)
Inventor
Takayuki Fukushima
福島 孝幸
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2002247624A priority Critical patent/JP2004086621A/en
Publication of JP2004086621A publication Critical patent/JP2004086621A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Document Processing Apparatus (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To realize taking a view of the whole selection range, without specifying the selection range by mistake, so as to expect the exact editing operation. <P>SOLUTION: When selecting a text 55 (characters or figures) displayed on an editing screen 54, if the selection range (an editing range) 56 expands to the extent which is not justified in the editing screen 54, the display of the editing screen 54 is reduced so that the selection range 58 can be justified in the editing screen 54. Even if the editing range is too large to be displayed in the display means, the whole editing range can be viewed by the reduced display so that the editing range is not specified by mistake and the exact editing operation is expected. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、電子機器、表示制御方法、プログラム及び記録媒体に関し、たとえば、ワードプロセッサやテキストエディタなどの文字情報編集に用いて好適な選択範囲表示方法、選択範囲表示装置、プログラム及び記録媒体に関する。
【0002】
【従来の技術】
今日、パーソナルコンピュータなどの情報処理機器の性能向上に伴い、文章を電子化して編集することが一般的に行われており、このような編集機能をパーソナルコンピュータや携帯情報端末、携帯電話機に付与できる様々な応用プログラムが普及している。
【0003】
さて、上記の編集機能の操作テクニックの一つに「選択操作」があるが、これは、ドキュメント(文書データ)内の文字列や図形に対して任意の編集操作を行う際に、その編集対象部分を明示的に指定するための操作である。
図15は従来の編集画面を示すものであるが、編集画面1には、すでに入力済みの文書データ(内容に特段の意味はない。)が表示されている状態を示すものである。
この状態において文書データの一部を選択し、その選択部分に何らかの編集、たとえば、文字属性の変更、削除または移動等を加えようとする場合、作業者は、対象文字列の先頭(または末尾)文字を選択し、カーソルをドラッグして、対象文字列の末尾(または先頭)文字を選択する。このように操作すると、選択範囲2(すなわち対象文字列の先頭から末尾まで)が反転表示(またはその他の方法で識別表示)され、画面上に(選択範囲2が)明示される。
【0004】
【発明が解決しようとする課題】
しかしながら、このような従来の「選択操作」の場合、例えば図16に示すように選択範囲3が次ページに渡るような、選択範囲が表示画面に対して広い場合は、画面スクロールやページ移動により、選択範囲3の開始部分(“弱虫やーい・・・・”)を含む編集画面4と、終了部分(“・・・・受け合った。”)を含む編集画面5が異なってしまうことがある。したがって、選択範囲3の全体を一度に見通すことができないので、作業者は、いちいち選択範囲3の開始位置を覚えておかなければならず、とりわけ、選択操作を頻繁に繰り返す場合に、選択範囲3を誤って指定するおそれを否めない点で、正確な編集操作を期することができないという不都合があり、この問題は携帯情報端末や携帯電話機等、表示画面の小さい電子機器に顕著に表れる。
【0005】
したがって、本発明が解決しようとする課題は、選択範囲が一つの編集画面に収まりきらない程度に広い場合であっても、選択範囲の全体を見通すことができ、以て、選択範囲を誤って指定するおそれがなく、正確な編集操作を期することができる電子機器、表示制御方法、プログラム及び記録媒体を提供することにある。
【0006】
【課題を解決するための手段】
本発明は、文書データを表示する表示手段と、この表示手段に表示された範囲を含む前記文書データの編集範囲を指定する指定手段と、この指定手段によって指定された編集範囲が前記表示手段に全て表示可能か否かを判断する判断手段と、この判断手段によって前記指定された編集範囲が全て表示不可能と判断されると、前記指定された編集範囲を前記表示手段に全て表示されるよう縮小して表示する表示制御手段とを有することを特徴とするものである。
この発明では、文書データの編集範囲が表示手段に全て表示可能か否かが判断され、否判定の場合に、前記の編集範囲が表示手段に全て表示されるよう縮小して表示される。
したがって、編集範囲が表示手段に表示しきれない程度に広い場合であっても、縮小表示により編集範囲の全体を見通すことができ、以て、編集範囲を誤って指定したりするおそれがなく、正確な編集操作を期することができる。
または、本発明は、文書データを表示する表示手段と、この表示手段に表示された範囲を含む前記文書データの編集範囲を複数ページに渡り指定する指定手段と、この指定手段によって指定された編集範囲を含む複数のページをサムネイル表示するよう制御する表示制御手段とを有することを特徴とするものである。
この発明では、指定手段によって指定された編集範囲を含む複数のページをサムネイル表示するので、編集範囲が一つのページに収まりきらない程度に広い場合であっても、サムネイル表示により、編集範囲の全体を見通すことができ、以て、選択範囲を誤って指定したりするおそれがなく、正確な編集操作を期することができる。
【0007】
【発明の実施の形態】
以下、本発明の実施の形態を、ワードプロセッサ機能を有するパーソナルコンピュータへの適用を例にして、図面を参照しながら説明する。なお、以下の説明における様々な細部の特定ないし実例および数値や文字列その他の記号の例示は、本発明の思想を明瞭にするための、あくまでも参考であって、それらのすべてまたは一部によって本発明の思想が限定されないことは明らかである。また、周知の手法、周知の手順、周知のアーキテクチャおよび周知の回路構成等(以下「周知事項」)についてはその細部にわたる説明を避けるが、これも説明を簡潔にするためであって、これら周知事項のすべてまたは一部を意図的に排除するものではない。かかる周知事項は本発明の出願時点で当業者の知り得るところであるので、以下の説明に当然含まれている。
【0008】
図1は、パーソナルコンピュータ10の外観図、及び、そのハードウェア構成の概念図である。パーソナルコンピュータ10は、公知のアーキテクチャ(Dオペレーティングシステム/Vアーキテクチャなど)によって構成された汎用品である。図では、本体部11に、ディスプレイ装置12やキーボード13、及び、ポインティングデバイス(図ではマウス14)並びにプリンタ15などを接続した、いわゆるデスクトップ型のパーソナルコンピュータ10を例示しているが、これに限定されない。ノート型やタワー型などであってもかまわない。
【0009】
なお、パーソナルコンピュータ10の呼称(“パーソナルコンピュータ”や“パソコン”)に特段の意味はなく、単なる一般名称にすぎない。他の呼び方、たとえば、“ワークステーション”や“オフィスコンピュータ(オフコン)”または“ミニコンピュータ(ミニコン)”あるいは“情報処理装置”などであってもよい。
【0010】
パーソナルコンピュータ10は、その機種ごとに規模や安定性等の点で若干の構成上の違いはあるものの、いわゆる“コンピュータ”としての基本的構成(アーキテクチャ)に大差はなく、たとえば、図示のパーソナルコンピュータ10は、本体部11に、CPU16、RAM17、ディスクコントローラ18、ディスク装置19、ディスプレイコントローラ20、キーボードコントローラ21、プリンタポート22、メインバス23、バスインターフェース24および内部バス25などを内装すると共に、その本体部11に、ディスプレイ装置12やキーボード13、及び、マウス14並びにプリンタ15などを外装している。
【0011】
パーソナルコンピュータ10は、ディスク装置19にあらかじめインストールされたオペレーティングシステムや各種のアプリケーションプログラム(以下、これらを総称して「ソフトウェアリソース」という。)をRAM17にロードしてCPU16で実行することにより、CPU16などのハードウェアリソースと上記ソフトウェアリソースとの有機的結合によって様々な処理機能を実現する。
【0012】
処理機能の一つは、当該パーソナルコンピュータ10において実行されるワードプロセッサとしての機能(以下「ワードプロセッサ機能」という)である。以下、このワードプロセッサ機能について詳しく説明する。
【0013】
図2(a)は、パーソナルコンピュータ10のハードウェアリソースとソフトウェアリソースの簡略的な階層モデルを示す図である。この階層モデル20は、オペレーティングシステムI(Open Systems Interconnectionの略。開放型システム間相互接続という。)参照モデルを模しており、ハードウェアリソース層31の上に、オペレーティングシステム層32とアプリケーション層33とを積層した構造になっている。
【0014】
ハードウェアリソース層31は、CPU16などのハードウェアリソース34(図1(b)の構成)を含み、その上のオペレーティングシステム層32に含まれるオペレーティングシステム35を介して、アプリケーション層33からの間接的利用を可能する。アプリケーション層33は、少なくとも、「ワードプロセッサ機能」の主要部をなす所定のアプリケーションプログラム36(たとえば、マイクロソフト社の“Word(R)”など)を含み、これらのソフトウェアリソース(オペレーティングシステム35及びアプリケーションプログラム36)とハードウェアリソース34との有機的結合により、本実施の形態における「ワードプロセッサ機能」を実現する。
【0015】
図2(b)は、本実施の形態における「ワードプロセッサ機能」の概念図である。この図において、ワードプロセッサ38は、既述のとおり、上記のソフトウェアリソース(オペレーティングシステム35及びアプリケーションプログラム36)とハードウェアリソース34との有機的結合によって実現されるものであり、その機能的な構成を概念的に示すと、入力部39、文字処理部40、選択処理部41及び表示制御部42の各部に分けることができる。
【0016】
入力部39は、作業者操作コマンド、すなわち、キーボード13やマウス14からのキーコマンドを取り込み、それらのコマンドを文字処理部40や選択処理部41に出力する。キーボード13からのコマンドには、そのキーボード13がフル規格のJIS配列キーを有しておれば、“A”〜“Z”、“a”〜“z”、“あ”〜“ん”、“ア”〜“ン”の文字コマンド、“0”〜“1”の数字コマンド、“−”、“/”、“*”、“+”、“=”・・・・等の記号コマンド、“ESC”、“TAB”、“SHIFT”、“CTRL”、“ENTER”、“ROLLUP”(次ページ)、“ROLLDOWN”(前ページ)・・・・等の制御コマンド、及び、“f1”〜“f10”などのファンクションコマンドなどが含まれる。また、マウス14からのキーコマンドには、マウスカーソル座標コマンド、左ボタン操作コマンド、右ボタン操作コマンド、及び、その他のコマンド(たとえば、ホイール操作コマンドなど)が含まれる。
【0017】
文字処理部40は、入力部39からのコマンド(主に文字コマンドや数字コマンド)に基づいて、入力文字列の“かな漢字変換”または“ローマ字変換”などを行い、邦文を生成してその生成結果を表示制御部42に出力する。また、選択処理部41は、入力部39からのコマンド(主にマウスカーソル座標コマンド、マウスカーソル座標コマンド及び左ボタン操作コマンド)に基づいて、後述のワープロ画面上における文字列選択範囲の指定処理を行い、その処理結果を表示制御部42に出力する。
【0018】
表示制御部42は、文字列処理部40や選択処理部41から出力された情報に基づいて、ワープロ画面を生成し、その画面をディスプレイ装置12に出力して表示する。
【0019】
図3は、ワープロ画面を示す図である。この図において、ディスプレイ装置12の表示領域12aは、たとえば、XGA(eXtended Graphics Array)の解像度(1024×768ドット)を有しており、パーソナルコンピュータ10でワードプロセッサ38を実行しているときは、表示領域12aにワープロ画面50が表示されるようになっている。
【0020】
ワープロ画面50は、代表的なオペレーティングシステムの一つであるWindows(R)において、その基本的なレイアウトは、図示のとおり、上端にタイトルバー51を配置し、その下にコマンドコントロールエリア52を配置し、さらに、その下に作業者操作エリアとしてのクライアントエリア53を配置するというものである。
【0021】
クライアントエリア53の用途はアプリケーションの機能ごとに異なるが、図示のクライアントエリア53は、ワープロ画面50の子オブジェクトであるから、文字列や図形などの編集画面54として用いられる。作業者は、この編集画面54に所望の文字列や図形を入力して文章などの文書データを作成し、文字列や図形の削除、コピー、移動等の様々な編集作業を実行する。
【0022】
次に、本実施の形態における編集作業の一例を説明する。
図4は、その例を示す図である。編集画面54には、すでに入力済みの文章55(図示の例は、夏目漱石作:小説「坊っちゃん」の一説であるが、この文章の内容に特段の意味はない。)が表示されている。
【0023】
今、この文章55の所望の範囲を選択し、その選択範囲の文字列に対して、何らかの編集操作を行うことを考える。この場合、作業者は、マウス14を操作して、選択範囲の最初の文字列(たとえば、“なぜそんな無闇”の“な”)にカーソルを合わせてマウス14の左ボタンを押し、左ボタンを押したままカーソルを移動させて(ドラッグ操作)、選択範囲の最後の文字列(たとえば、“親類の者から”の“ら”)に到達したらドラッグ操作を解除する。
【0024】
これにより、当該選択範囲56に含まれる全ての文字列が反転表示され、現在、その範囲の文字列に対して任意の操作が可能であることが明示される。
【0025】
さて、本実施の形態におけるワードプロセッサ機能のポイントは、選択範囲56が一つの編集画面54を越えるときに、その選択範囲56全体が一つの編集画面54に収まるように文章55を縮小表示することにある。すなわち、上記の例では、選択範囲56は編集画面54に収まる部分56aと、編集画面54に収まらない(はみ出した)部分56bの二つからなっているため、はみ出した部分56bを表示するためには、スクロールやページ切り換えを行う必要があり、スクロールまたはページ切り換えに伴って、今度は、選択範囲56の開始部分が編集画面54から追い出されてしまう結果、選択範囲56の全体を見通すことができなくなるという不都合がある。このため、作業者は、いちいち選択範囲の開始位置を覚えておかなければならず、不親切である上、頻繁な選択操作を繰り返す場合は、記憶違いなどによる操作ミスを否めず、編集作業の正確性を期することができないという問題点があった。
【0026】
そこで、本実施の形態のワードプロセッサ機能では、上記の不都合を解決するために、選択範囲が一つの編集画面54を越える程度に広くなる場合、同図下段に示すように、編集画面54に、縮小した文章57を表示することにより、選択範囲58の全体(選択開始から終了までの範囲)を一つの編集画面54に表示できるようにしている。これによれば、選択範囲58の全体を一度に確認できるから、いちいち選択開始位置を覚える必要がなく、編集作業の正確性を期することができる。
【0027】
なお、上記の縮小処理は、いわゆるページレイアウト画面(図形イメージなどのオブジェクトを表示する画面で、印刷出力のレイアウトをほぼ正確に保持した画面のこと。)に適用してもよい。
【0028】
図5は、縮小処理後のページレイアウト画面を示す図である。編集画面54に、選択範囲60の全体を見通すことができる程度に縮小したページレイアウトモードの文章59を表示している。
【0029】
なお、上記の縮小処理は、ページ区切り記号を有する画面に適用してもよい。
図6は、その画面例を示す図である。図4との相違は、縮小後の文章61にページ区切り記号63(図では横線)が挿入されている点にある。この例においては、選択範囲62はページ区切り記号63の前後にまたがっており、作業者は、このページ区切り記号63を確認することにより、ページをまたがって選択範囲62の指定を行ったことを認識することができる。
【0030】
また、選択範囲がページをまたがる場合、ページ単位に縮小表示を行ってもよい。
図7は、その画面例を示す図である。編集画面54には、二つの縮小ページ64、65が左右に分かれて表示されており、これらのページ64、65をまたがって選択範囲66a、66bが指定されている。これによれば、ページの違いを直感的に把握することができる。
【0031】
図8は、本実施の形態におけるアプリケーションプログラム36の要部処理(特に、選択範囲指定処理)を示すフローチャートである。このフローチャートでは、まず、選択情報(文章等の選択開始位置と終了位置)を抽出し(ステップS11)、次に、選択範囲が一つの編集画面に収まるか否かを判定する(ステップS12)、そして、収まる場合は文字の表示サイズをそのままにして、分解能チェック(ステップS14)を行う一方、選択範囲が一つの編集画面に収まらない場合は、文字の表示サイズを小さくする方向に計算し(ステップS13)、再び、ステップS12の判定を繰り返す。したがって、このステップS12とステップS13の処理により、「選択範囲が一つの編集画面に収まりきらない程度に広い場合に、その選択範囲が一つの編集画面に収まるように編集画面の表示を縮小する」ことができる。
【0032】
なお、ステップS14における“分解能”とは、ディスプレイ装置12の解像度のことである。たとえば、解像度はVGA(Video Graphics Array:640×480ドット)、SVGA(Super Video Graphics Array:800×600ドット)、XGA(eXtended Graphics Array:1024×768ドット)、SXGA(Super eXtended Graphics Array:1280×1024ドット)などがあるが、これらは、VGA→SVGA→XGA→SXGAの順に分解能が高くなる。分解能が高いほど細かな文字を鮮鋭に表示できる。
【0033】
ここで、ディスプレイ装置12が外付けタイプ(交換可能のタイプ)の場合、必ずしも高分解能(たとえば、XGAやSXGA)のディスプレイ装置12が取り付けられるとは限らず、場合によっては、低分解能(VGAなど)のディスプレイ装置12が取り付けられていることがある。この場合、小さすぎる文字サイズは、そのディスプレイ装置12に不適当(文字がつぶれて判読できない)となるので、何らかの対策が必要になる。
【0034】
そこで、本実施の形態では、ステップS14でディスプレイ装置12の分解能をチェックし、その分解能で表示可能な下限の文字サイズ(便宜的に8P(ポイント)とする)を、上記のステップS13で算出した表示サイズが下回っている場合は、文字の表示サイズをその下限値(8P)に固定(ステップS15)した後、次の表示処理(ステップS16)を実行するという対策を講じている。
【0035】
一方、算出された表示サイズが判読可能な下限サイズと同じまたはそれ以上である場合は、次に、編集画面を縮小表示すべきか否かを判定する(ステップS17)。縮小表示すべき場合とは、上記のステップS13において、表示サイズの変更(縮小方向への変更)が行われ、且つ、ステップS14において、その表示サイズがディスプレイ装置12の分解能に適合していると判定された場合である。このような場合は、まず、縮小方向を抽出し(ステップS18)、その抽出結果が前ページの方向であるか否かを判定する(ステップS19)。そして、前ページの方向であれば、選択範囲の開始位置を編集画面の最下行に設定し(ステップS20)、または、前ページの方向でなければ、選択範囲の開始位置を編集画面の最上行に設定(ステップS21)した後、表示処理(ステップS16)を実行する。
【0036】
このように、以上のフローチャートによれば、選択範囲が一つの編集画面に収まるか否かを判定し(ステップS12)、収まらない場合には、文字列等の表示サイズを小さくなる方向に変更し(ステップS13)、その表示サイズを用いて編集画面を再構築(ステップS18〜ステップS21)した後、表示処理(ステップS16)を実行するから、図4に示すように、編集画面54に縮小した文章57を表示することができ、選択範囲58の全体(選択開始から終了までの範囲)を一つの編集画面54に表示することができる。したがって、選択範囲58の全体を一度に確認することができ、いちいち選択開始位置を覚える必要がないから、編集作業の正確性を期することができる。
【0037】
また、ディスプレイ装置12の分解能に基づいて、その縮小率の下限(上記の例では最小文字サイズ)を設定し、それ以下の縮小を行わないように対策を講じているため、たとえば、VGAなどの低解像度のディスプレイ装置12を用いた場合の不都合(文字のつぶれなど)を回避することができる。
【0038】
なお、以上の実施の形態では、選択範囲が一つの編集画面に収まりきらない場合、編集画面内の文字の表示サイズを小さくし、文章全体を縮小することにより一つの編集画面に収まるようにしている。つまり、編集画面そのものの表示態様を変更することによって、前記の不都合を回避しているが、本発明の思想はこれに限定されない。
【0039】
以下、本発明の好ましい他の実施の形態を説明する。
図9は、本実施の形態におけるワープロ画面50を示す図である。ワープロ画面50のクライアントエリア53には、上記実施の形態と同様の編集画面54が表示されていると共に、さらに、本実施の形態に特有の「レイアウト表示枠70」が表示されている。このレイアウト表示枠70は、たとえば、図示のように“吹き出し”を模した形状としてもよく、あるいは、別の画面(ポップアップ画面など)を開いてそこに表示してもよい。
【0040】
図10(a)は、レイアウト表示枠70の通常の使用状態を示す図であり、この場合、レイアウト表示枠70には、現在、編集画面54で編集中の編集ページ(図では2ページ目)のサムネイル画像72が表示されている。
【0041】
図10(b)は、レイアウト表示枠70の特別な使用状態を示す図である。“特別”とは、選択範囲が一つの編集画面に収まりきらないことを検出した場合のことである。この場合、レイアウト枠70には、複数(図では2ページ目から4ページ目までの三つ)のサムネイル画像74〜76が表示される。サムネイル画像74〜76の中に表示された強調部分(図では塗りつぶし部分)は、現在の選択範囲を表している。したがって、このサムネイル画像74〜76を一瞥するだけで、直感的にその選択範囲の開始位置や終了位置を把握できるから、前記の実施の形態と同様の効果を得ることができる。なお、サムネイル画像74〜76の中に表示する強調部分は、例示の塗りつぶしに限らない。たとえば、色を変えたり、下線を引いたりしてもよく、要するに、周囲との違いを明確にし、できるだけ目立つようにすればよい。
【0042】
上記の実施の形態では、サムネイル画像74〜76の中に選択範囲を示す強調部分を表示している。しかし、サムネイル画像74〜76が相当に小さいときには、文章中の選択範囲の前後関係を把握できず、位置を特定しにくいことがある。この対策としては、次のようにしてもよい。
【0043】
図11(a)は、その対策の一つの例である。この例は、レイアウト枠70に複数のサムネイル画像78〜80が表示されている点で上記の例(図10(b))と共通し、文章中の特定属性文字列(たとえば、見出し属性を有する文字列;以下「見出し語」)を強調表示している点で相違する。文字列の強調表示としては、たとえば、文字サイズの拡大、太文字、色調変更、下線付け、斜体など、または、それらの組み合わせとすることができる。
【0044】
これによれば、サムネイル画像78〜80の文章内の特定文字列(見出し語等)が強調表示されるので、文章内における選択範囲の位置関係を把握しやすくなり、上記の不都合を解消できる。
【0045】
また、図11(b)は、他の対策例である。この例は、レイアウト枠70に複数のサムネイル画像83〜90が表示されている点で上記の例(図10(b))と共通し、文章中の特定属性文字列(たとえば、見出し属性を有する文字列;以下「見出し語」)を別の文字列91a〜91e(図では“1”〜“5”の数値;以下便宜的に「タグ文字」という)に置換表示している点で相違する。
【0046】
これによれば、たとえば、サムネイル画像83〜90が相当に小さく、細かな文字が読みにくい場合であっても、それらの文字(特に見出し語など)を比較的判読容易な数値などのタグ文字に置換して表示するので、このタグ文字を参照することによって文章内における選択範囲の位置関係が把握しやすくなり、上記の不都合を解消できる。
【0047】
図12は、図11(a)及び図11(b)に対応した、本実施の形態におけるアプリケーションプログラム36の要部処理を示すフローチャートである。このフローチャートでは、まず、編集対象となるドキュメント(文書データ)のページ数の抽出(ステップS31)と、選択範囲情報の抽出(ステップS32)を行う。選択範囲情報は、選択範囲の開始位置と終了位置の情報であり、詳しくは、何ページ目の何行目の何桁目から選択範囲が始まり、且つ、何ページ目の何行目の何桁目で選択範囲が終了しているかの情報(ページ情報、行情報及び桁情報)である。
【0048】
次に、上記のページ数と選択範囲情報とに基づいて、ページ単位で表示するか、それとも文章単位で表示するかの表示形態の判定を行う(ステップS33)。文章単位で表示する場合は、全ページ数、表示開始ページ・行・桁及び表示終了ページ・行・桁をセットして表示情報を作成し(ステップS37)、ページ単位で表示する場合は、選択範囲のページ数、選択範囲開始ページ・行・桁及び選択範囲終了ページ・行・桁をセットして表示情報を作成し(ステップS34)、いずれの場合も、見出し語抽出処理(ステップS35)を実行した後、表示処理を実行する(ステップS36)。
【0049】
図13は、見出し語中出処理(図12のステップS35)のフローチャートである。
このフローチャートは、検索範囲(検索開始ページと検索終了ページ)を設定(ステップS41)した後、その検索範囲の全ての行を順にループしながら、各行の属性を取り出し(ステップS43)、その行属性が、たとえば、見出し語であるか否かという判定(ステップS44)を検索範囲の最終行になるまで繰り返し、最終行を越えたとき(ステップS42の判定結果が“YES”となったとき)に処理を終了する。
【0050】
任意行で見出し語が検出された場合(ステップS44の判定結果が“YES”となった場合)は、サムネイル画像の縮小率をチェックし(ステップS45)、見出し語をそのまま表示しても判別可能かどうかを判定する。そして、判別可能(表示OK)の場合は、その見出し語を強調表示文字列としてRAM17に格納し(ステップS46)、一方、判別不可能(表示NG)の場合は、その見出し語の代わりに任意のタグ文字列を強調表示文字列としてRAM17に格納(ステップS47)した後、再びループに復帰する。
【0051】
図14は、RAM17の格納例を示す図である。強調表示文字列テーブル96は、ヘッダーフィールド96a、行番号フィールド96b、バイト数フィールド96c、行属性フィールド96d、書式フィールド95e及び文字列フィールド96fを有しており、各レコードに強調表示文字列ごとの情報を格納する。たとえば、ヘッダーフィールド96aに編集対象の種別(図では“文章”)を格納し、行番号フィールド96bに強調表示文字列の行番号を格納し、バイト数フィールド96cに強調表示文字列のバイト数(文字数情報)を格納し、行属性フィールド96dに強調表示文字列の行属性を格納し、書式フィールド96eに強調表示文字列の書式(フォント種別やポイント数など)を格納し、文字列フィールド96fに強調表示文字列の文字列(たとえば、“第1章”、“第1節”、“第2節”、“第3節”、・・・・)を格納する。
【0052】
このフローチャートによれば、検索範囲内に含まれる、たとえば、見出し語(“第1章”、“第1節”、“第2節”、“第3節”、・・・・)を検出して、その見出し語をサムネイル画像中に強調表示することができ、または、その見出し語の代わりに任意のタグ文字列(数値など)をサムネイル画像中に強調表示することができる。
【0053】
このようにして、前記の図11(a)または図11(b)の表示結果を得ることができる。
【0054】
したがって、以上の各実施の形態によれば、複数ページに渡る広い選択範囲であっても、編集対象文章を縮小して、その選択範囲を一つの編集画面に支障なく表示することができ、または、サムネイル画像内に表示することができ、当該選択範囲の開始から終了までの全体を目視確認することができる。その結果、従来技術のように、選択範囲の開始位置をいちいち覚えておく必要が無く、記憶間違いに起因する選択範囲の設定ミスを防止でき、正確な編集操作を期することができるという格別有益な効果を得ることができる。
【0055】
また、編集対象文章の縮小は、使用されているディスプレイ装置12の解像度に合わせて設定されるため、文字がつぶれて判読不能になる程度の過剰な縮小を回避できる。
【0056】
また、サムネイル画像を用いるときは、そのサムネイル画像内の特定文字列(たとえば、見出し語など)を抽出して、その特定文字列を強調表示するので、サムネイル画像中の選択範囲の前後関係が把握しやすく、その位置を直感的に把握できる。
【0057】
また、サムネイル画像内の特定文字列を、より判読性のよいタグ文字列(数値など)に置換することも可能であるため、小さなサイズのサムネイル画像を使用することができ、多くのサムネイル画像を並べることができる。
【0058】
本実施の形態の主要な機能は、マイクロコンピュータを含むハードウェアリソースと、オペレーティングシステムや各種アプリケーションブログラムなどのソフトウェアリソースとの有機的結合によって機能的に実現されるものであるが、ハードウェアリソースおよびオペレーティングシステムは汎用のものを利用できるから、本発明にとって欠くことのできない必須の事項は、実質的に、前記のアプリケーションプログラム36(図2(a)参照)に集約されているということがいえる。したがって、本発明は、前記のアプリケーションプログラム36のすべてまたはその要部を格納した、磁気ディスク、光ディスク、ハードディスク、半導体記憶デバイスなどの様々な記録媒体(それ自体が流通経路に乗るものはもちろん、ネットワーク上にあって記録内容だけを提供するものも含む)を包含するものである。
【0059】
【発明の効果】
本発明によれば、文書データの編集範囲が表示手段に全て表示可能か否かが判断され、否判定の場合に、前記の編集範囲が表示手段に全て表示されるよう縮小して表示される。したがって、編集範囲が表示手段に表示しきれない程度に広い場合であっても、縮小表示により編集範囲の全体を見通すことができ、以て、編集範囲を誤って指定したりするおそれがなく、正確な編集操作を期することができる。
又は、指定手段によって指定された編集範囲を含む複数のページをサムネイル表示するので、編集範囲が一つのページに収まりきらない程度に広い場合であっても、サムネイル表示により、編集範囲の全体を見通すことができ、以て、選択範囲を誤って指定したりするおそれがなく、正確な編集操作を期することができる。
【図面の簡単な説明】
【図1】パーソナルコンピュータ10の外観図及びそのハードウェア構成の概念図である。
【図2】パーソナルコンピュータ10のハードウェアリソースとソフトウェアリソースの簡略的な階層モデルを示す図及び本実施の形態における「ワードプロセッサ機能」の概念図である。
【図3】ワープロ画面を示す図である。
【図4】本実施の形態における編集作業の一例を示す図である。
【図5】縮小処理後のページレイアウト画面を示す図である。
【図6】ページ区切り記号を有する画面例を示す図である。
【図7】選択範囲がページをまたがる場合のページ単位に縮小表示を行う画面例を示す図である。
【図8】本実施の形態におけるアプリケーションプログラム36の要部処理(特に、選択範囲指定処理)を示すフローチャートである。
【図9】本実施の形態におけるワープロ画面50を示す図である。
【図10】レイアウト表示枠70の通常の使用状態を示す図及びレイアウト表示枠70の特別な使用状態を示す図である。
【図11】サムネイル画像74〜76が相当に小さいときの不都合(文章中の選択範囲の位置を特定しにくい)を回避する対策例を示す図である。
【図12】図11(a)及び図11(b)に対応した、本実施の形態におけるアプリケーションプログラム36の要部処理を示すフローチャートである。
【図13】見出し語中出処理(図12のステップS35)のフローチャートである。
【図14】RAM17の格納例を示す図である。
【図15】従来のワードプロセッサの編集画面を示す図である。
【図16】従来例の問題点を説明するための図である。
【符号の説明】
10・・・・パーソナルコンピュータ(電子機器)
12・・・・ディスプレイ装置(表示手段)
16・・・・CPU(指定手段、判断手段、表示制御手段)
54・・・・編集画面
56、58、60、62、66a、66b・・・・選択範囲
74〜76、78〜80、83〜90・・・・サムネイル画像
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an electronic device, a display control method, a program, and a recording medium, for example, a selection range display method, a selection range display device, a program, and a recording medium suitable for use in editing character information such as a word processor or a text editor.
[0002]
[Prior art]
Today, with the improvement in the performance of information processing devices such as personal computers, it is common to edit sentences by digitizing them. Such editing functions can be provided to personal computers, portable information terminals, and mobile phones. Various application programs are widespread.
[0003]
By the way, one of the operation techniques of the above-mentioned editing function is “selection operation”, which is performed when an arbitrary editing operation is performed on a character string or a graphic in a document (document data). This is an operation to specify the part explicitly.
FIG. 15 shows a conventional editing screen, but shows a state in which already input document data (there is no particular significance in the contents) is displayed on the editing screen 1.
In this state, when a part of the document data is selected and some editing is to be performed on the selected part, for example, a change, deletion, or movement of a character attribute is to be performed, the operator needs to start (or end) the target character string. Select a character and drag the cursor to select the last (or first) character of the target string. With this operation, the selection range 2 (that is, from the beginning to the end of the target character string) is highlighted (or identified and displayed by another method), and the selection range 2 is clearly displayed on the screen.
[0004]
[Problems to be solved by the invention]
However, in the case of such a conventional “selection operation”, for example, as shown in FIG. 16, if the selection range is wider than the display screen such that the selection range 3 extends to the next page, screen scrolling or page movement is performed. The editing screen 4 including the start portion (“Yowamushi ...”) of the selection range 3 and the editing screen 5 including the end portion (“... accepted”) are different from each other. There is. Therefore, the operator cannot see through the entirety of the selection range 3 at a time, so the operator must remember the start position of the selection range 3 each time. There is a disadvantage that accurate editing operation cannot be expected because there is no denying that there is a possibility that the user may mistakenly specify the file name. This problem is noticeable in an electronic device having a small display screen such as a portable information terminal or a portable telephone.
[0005]
Therefore, the problem to be solved by the present invention is that even when the selection range is too large to fit on one editing screen, the entire selection range can be seen through, so that the selection range is erroneously set. An object of the present invention is to provide an electronic device, a display control method, a program, and a recording medium that can perform an accurate editing operation without fear of designation.
[0006]
[Means for Solving the Problems]
The present invention provides a display unit for displaying document data, a designation unit for designating an editing range of the document data including a range displayed on the display unit, and an editing range designated by the designation unit is displayed on the display unit. Determining means for determining whether or not all can be displayed; and when the determining means determines that all of the specified editing ranges cannot be displayed, the specified editing ranges are all displayed on the display means. Display control means for reducing and displaying the image.
According to the present invention, it is determined whether or not the entire edit range of the document data can be displayed on the display means. In the case of a negative determination, the edit range is reduced and displayed so as to be entirely displayed on the display means.
Therefore, even when the editing range is too wide to be displayed on the display means, the entire editing range can be seen through the reduced display, and there is no possibility that the editing range is specified by mistake. Accurate editing operations can be expected.
Alternatively, the present invention provides a display unit for displaying document data, a designation unit for designating an editing range of the document data including a range displayed on the display unit over a plurality of pages, and an editing unit designated by the designation unit. Display control means for controlling a plurality of pages including the range to be displayed as thumbnails.
According to the present invention, a plurality of pages including the editing range specified by the specifying unit are displayed as thumbnails. Therefore, even if the editing range is too large to fit on one page, the entire editing range is displayed by thumbnail display. Therefore, there is no possibility that the selection range is erroneously specified, and an accurate editing operation can be expected.
[0007]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings, taking an example of application to a personal computer having a word processor function. In the following description, the specification or examples of various details and examples of numerical values, character strings, and other symbols are merely reference for clarifying the idea of the present invention, and all or some of them Obviously, the idea of the invention is not limited. In addition, well-known techniques, well-known procedures, well-known architectures, and well-known circuit configurations (hereinafter, “known matters”) will not be described in detail, but this is also for the purpose of simplifying the description, It does not intentionally exclude all or some of the matters. Such a well-known matter can be known to those skilled in the art at the time of filing the present invention, and is naturally included in the following description.
[0008]
FIG. 1 is an external view of a personal computer 10 and a conceptual diagram of a hardware configuration thereof. The personal computer 10 is a general-purpose product having a known architecture (D operating system / V architecture, etc.). In the figure, a so-called desktop personal computer 10 in which a display unit 12, a keyboard 13, a pointing device (a mouse 14 in the figure), a printer 15, and the like are connected to the main body unit 11 is illustrated, but is not limited thereto. Not done. It may be a notebook type or a tower type.
[0009]
It should be noted that the names of the personal computers 10 (“personal computer” and “personal computer”) have no special meaning and are merely general names. Other names such as “workstation”, “office computer (office computer)”, “minicomputer (minicomputer)”, or “information processing device” may be used.
[0010]
The personal computer 10 has a slight difference in configuration in terms of scale, stability and the like for each model, but there is no great difference in a basic configuration (architecture) as a so-called “computer”. Reference numeral 10 denotes a main body 11 in which a CPU 16, a RAM 17, a disk controller 18, a disk device 19, a display controller 20, a keyboard controller 21, a printer port 22, a main bus 23, a bus interface 24, an internal bus 25, and the like are provided. A display device 12, a keyboard 13, a mouse 14, a printer 15, and the like are externally mounted on the main body 11.
[0011]
The personal computer 10 loads an operating system and various application programs (hereinafter, these are collectively referred to as “software resources”) installed in the disk device 19 in advance into the RAM 17 and executes the programs on the CPU 16, thereby enabling the CPU 16 and the like. Various processing functions are realized by the organic combination of the above hardware resources and the above software resources.
[0012]
One of the processing functions is a function as a word processor executed in the personal computer 10 (hereinafter, referred to as “word processor function”). Hereinafter, the word processor function will be described in detail.
[0013]
FIG. 2A is a diagram illustrating a simplified hierarchical model of hardware resources and software resources of the personal computer 10. This hierarchical model 20 simulates an operating system I (Open Systems Interconnection; referred to as open system interconnection) reference model, in which an operating system layer 32 and an application layer 33 are provided on a hardware resource layer 31. Are laminated.
[0014]
The hardware resource layer 31 includes a hardware resource 34 (the configuration of FIG. 1B) such as the CPU 16, and is indirectly transmitted from the application layer 33 via an operating system 35 included in an operating system layer 32 thereon. Enable use. The application layer 33 includes at least a predetermined application program 36 (for example, "Word (R)" of Microsoft Corporation) which is a main part of the "word processor function", and these software resources (the operating system 35 and the application program 36). ) And the hardware resources 34 implement the “word processor function” in the present embodiment.
[0015]
FIG. 2B is a conceptual diagram of the “word processor function” in the present embodiment. In this figure, the word processor 38 is realized by an organic connection between the above-mentioned software resources (the operating system 35 and the application program 36) and the hardware resources 34, as described above. Conceptually, it can be divided into the input unit 39, the character processing unit 40, the selection processing unit 41, and the display control unit 42.
[0016]
The input unit 39 takes in operator operation commands, that is, key commands from the keyboard 13 and the mouse 14, and outputs those commands to the character processing unit 40 and the selection processing unit 41. Commands from the keyboard 13 include “A” to “Z”, “a” to “z”, “A” to “n”, and “A” to “Z” if the keyboard 13 has JIS layout keys of the full standard. Character commands such as "a" to "n", numeric commands "0" to "1", symbol commands such as "-", "/", "*", "+", "=",. Control commands such as “ESC”, “TAB”, “SHIFT”, “CTRL”, “ENTER”, “ROLLUP” (next page), “ROLLDOWN” (previous page), etc., and “f1” to “f1” Function commands such as f10 ″ are included. The key commands from the mouse 14 include a mouse cursor coordinate command, a left button operation command, a right button operation command, and other commands (for example, a wheel operation command).
[0017]
The character processing unit 40 performs “kana-kanji conversion” or “romanization conversion” of the input character string based on a command (mainly a character command or a numeric command) from the input unit 39, generates a Japanese sentence, and generates a generation result. Is output to the display control unit 42. Further, the selection processing unit 41 performs a process of specifying a character string selection range on a word processing screen, which will be described later, based on a command (mainly, a mouse cursor coordinate command, a mouse cursor coordinate command, and a left button operation command) from the input unit 39. Then, the processing result is output to the display control unit 42.
[0018]
The display control unit 42 generates a word processing screen based on the information output from the character string processing unit 40 and the selection processing unit 41, and outputs the screen to the display device 12 for display.
[0019]
FIG. 3 is a diagram showing a word processing screen. In this figure, a display area 12a of the display device 12 has, for example, a resolution of XGA (extended Graphics Array) (1024 × 768 dots), and is displayed when the personal computer 10 executes the word processor 38. The word processing screen 50 is displayed in the area 12a.
[0020]
The basic layout of the word processor screen 50 is Windows (R), which is one of the representative operating systems, with a title bar 51 at the upper end and a command control area 52 under the title bar 51 as shown in the figure. Further, a client area 53 as an operator operation area is arranged below the client area 53.
[0021]
Although the use of the client area 53 differs depending on the function of the application, the illustrated client area 53 is a child object of the word processing screen 50, and thus is used as an edit screen 54 for a character string, a graphic, or the like. The operator inputs desired character strings and figures on the editing screen 54 to create document data such as sentences, and executes various editing operations such as deleting, copying, and moving the character strings and figures.
[0022]
Next, an example of an editing operation according to the present embodiment will be described.
FIG. 4 is a diagram showing the example. The editing screen 54 displays a sentence 55 that has already been input (in the illustrated example, this is an example of a novel "Botchan" by Soseki Natsume, but the content of this sentence has no special meaning).
[0023]
Now, it is assumed that a desired range of the sentence 55 is selected, and some editing operation is performed on the character string in the selected range. In this case, the operator operates the mouse 14 to move the cursor to the first character string of the selected range (for example, “na” of “why such darkness”), presses the left button of the mouse 14, and presses the left button. The cursor is moved while holding down (drag operation), and when the last character string of the selection range is reached (for example, “ra” of “from relatives”), the drag operation is released.
[0024]
As a result, all the character strings included in the selection range 56 are highlighted, and it is clearly indicated that any operation can be currently performed on the character strings in the range.
[0025]
The point of the word processor function in the present embodiment is that when the selection range 56 exceeds one editing screen 54, the sentence 55 is reduced and displayed so that the entire selection range 56 fits on one editing screen 54. is there. That is, in the above example, since the selection range 56 is composed of two parts, a part 56a that fits on the edit screen 54 and a part 56b that does not fit (protrude) on the edit screen 54, it is necessary to display the protruding part 56b. It is necessary to perform scrolling or page switching, and with the scrolling or page switching, the start of the selection range 56 is removed from the editing screen 54, so that the entire selection range 56 can be seen through. There is a disadvantage of disappearing. For this reason, the operator must remember the start position of the selection range each time, and is unkind. There was a problem that accuracy could not be ensured.
[0026]
Therefore, in order to solve the above-mentioned inconvenience, in the word processor function of the present embodiment, when the selection range is widened beyond one editing screen 54, as shown in the lower part of FIG. By displaying the sentence 57, the entire selection range 58 (the range from the start to the end of the selection) can be displayed on one editing screen 54. According to this, since the entire selection range 58 can be checked at once, it is not necessary to remember the selection start position each time, and the accuracy of the editing operation can be improved.
[0027]
Note that the above-described reduction processing may be applied to a so-called page layout screen (a screen that displays an object such as a graphic image or the like and that holds a print output layout almost accurately).
[0028]
FIG. 5 is a diagram showing a page layout screen after reduction processing. On the edit screen 54, a page layout mode sentence 59 reduced to such an extent that the whole of the selection range 60 can be seen is displayed.
[0029]
Note that the above-described reduction processing may be applied to a screen having a page separator.
FIG. 6 is a diagram showing an example of the screen. The difference from FIG. 4 is that a page break symbol 63 (horizontal line in the figure) is inserted in the sentence 61 after reduction. In this example, the selection range 62 extends before and after the page delimiter 63, and the operator recognizes that the selection range 62 has been specified across pages by checking the page delimiter 63. can do.
[0030]
Further, when the selection range extends over pages, reduced display may be performed in page units.
FIG. 7 is a diagram showing an example of the screen. On the edit screen 54, two reduced pages 64 and 65 are displayed separately on the left and right, and a selection range 66a and 66b is designated across these pages 64 and 65. According to this, the difference between pages can be grasped intuitively.
[0031]
FIG. 8 is a flowchart showing main processing (particularly, selection range specifying processing) of the application program 36 according to the present embodiment. In this flowchart, first, selection information (selection start position and end position of a sentence or the like) is extracted (step S11), and then it is determined whether or not the selection range fits on one editing screen (step S12). If it fits, the resolution of the character is checked (step S14) while keeping the display size of the character as it is, while if the selection range does not fit on one edit screen, calculation is performed in a direction to reduce the display size of the character (step S14). S13) The determination in step S12 is repeated again. Therefore, by the processing of steps S12 and S13, "if the selection range is wide enough to not fit on one editing screen, the display of the editing screen is reduced so that the selection range fits on one editing screen". be able to.
[0032]
The “resolution” in step S14 is the resolution of the display device 12. For example, the resolutions are VGA (Video Graphics Array: 640 × 480 dots), SVGA (Super Video Graphics Array: 800 × 600 dots), XGA (extended Graphics Array: 1024 × 768 dots), and SXGA (Super12 × X12 × X12: X12 × X12) 1024 dots), but these have higher resolution in the order of VGA → SVGA → XGA → SXGA. The higher the resolution, the sharper the finer characters can be displayed.
[0033]
Here, when the display device 12 is of an external type (replaceable type), the display device 12 of a high resolution (for example, XGA or SXGA) is not always attached, and in some cases, a low resolution (VGA or the like) is used. ) May be attached. In this case, if the character size is too small, it becomes inappropriate for the display device 12 (characters are crushed and cannot be read), and some countermeasures are required.
[0034]
Therefore, in the present embodiment, the resolution of the display device 12 is checked in step S14, and the lower limit character size (for convenience, 8P (point)) that can be displayed at that resolution is calculated in step S13. If the display size is smaller, the display size of the character is fixed to its lower limit (8P) (step S15), and then the next display process (step S16) is executed.
[0035]
On the other hand, if the calculated display size is equal to or larger than the readable lower limit size, it is next determined whether or not the edit screen should be displayed in a reduced size (step S17). If the display is to be reduced, the display size is changed (changed in the reduction direction) in step S13, and the display size is adapted to the resolution of the display device 12 in step S14. This is the case when it is determined. In such a case, first, the reduction direction is extracted (step S18), and it is determined whether or not the extraction result is the direction of the previous page (step S19). If it is the direction of the previous page, the start position of the selection range is set to the bottom line of the editing screen (step S20), or if it is not the direction of the previous page, the start position of the selection range is set to the top line of the editing screen. Is set (step S21), display processing (step S16) is executed.
[0036]
As described above, according to the above-described flowchart, it is determined whether or not the selection range fits on one editing screen (step S12). If not, the display size of a character string or the like is changed to a smaller size. (Step S13) After the editing screen is reconstructed using the display size (Steps S18 to S21), the display processing (Step S16) is performed. Therefore, the editing screen is reduced to the editing screen 54 as shown in FIG. The text 57 can be displayed, and the entire selection range 58 (the range from the start to the end of the selection) can be displayed on one editing screen 54. Therefore, the entire selection range 58 can be checked at a time, and it is not necessary to remember the selection start position, so that the accuracy of the editing operation can be improved.
[0037]
Further, based on the resolution of the display device 12, the lower limit of the reduction rate (minimum character size in the above example) is set, and measures are taken so as not to perform reduction below that. It is possible to avoid inconveniences (such as collapse of characters) when using the low-resolution display device 12.
[0038]
Note that, in the above embodiment, when the selection range does not fit on one editing screen, the display size of characters in the editing screen is reduced, and the entire sentence is reduced to fit on one editing screen. I have. That is, the inconvenience is avoided by changing the display mode of the editing screen itself, but the idea of the present invention is not limited to this.
[0039]
Hereinafter, another preferred embodiment of the present invention will be described.
FIG. 9 is a diagram illustrating a word processing screen 50 according to the present embodiment. In the client area 53 of the word processing screen 50, an editing screen 54 similar to the above-described embodiment is displayed, and further, a “layout display frame 70” unique to the present embodiment is displayed. The layout display frame 70 may have, for example, a shape imitating a “balloon” as shown in the figure, or may open and display another screen (such as a pop-up screen).
[0040]
FIG. 10A is a diagram showing a normal use state of the layout display frame 70. In this case, the layout display frame 70 has an edit page (second page in the figure) currently being edited on the edit screen 54. Are displayed.
[0041]
FIG. 10B is a diagram illustrating a special use state of the layout display frame 70. “Special” means that it is detected that the selection range does not fit on one editing screen. In this case, in the layout frame 70, a plurality of (three in the figure, from the second page to the fourth page) thumbnail images 74 to 76 are displayed. The highlighted portions (filled portions in the figure) displayed in the thumbnail images 74 to 76 represent the current selection range. Therefore, since the start position and the end position of the selected range can be intuitively grasped only by glance at the thumbnail images 74 to 76, the same effect as in the above-described embodiment can be obtained. Note that the emphasized portion displayed in the thumbnail images 74 to 76 is not limited to the illustrated fill. For example, the color may be changed or underlined. In short, the difference from the surroundings may be clarified so as to be as prominent as possible.
[0042]
In the above-described embodiment, the highlighted portions indicating the selection range are displayed in the thumbnail images 74 to 76. However, when the thumbnail images 74 to 76 are considerably small, the context of the selection range in the sentence cannot be grasped, and it may be difficult to specify the position. As a measure against this, the following may be performed.
[0043]
FIG. 11A shows one example of the countermeasure. This example is common to the above example (FIG. 10B) in that a plurality of thumbnail images 78 to 80 are displayed in the layout frame 70, and has a specific attribute character string (for example, having a heading attribute) in the text. Character strings; hereinafter, "headwords") are highlighted. The highlighting of the character string can be, for example, enlargement of the character size, bold character, color tone change, underlining, italic, or a combination thereof.
[0044]
According to this, the specific character string (entry word or the like) in the text of the thumbnail images 78 to 80 is highlighted, so that it is easy to grasp the positional relationship of the selection range in the text, and the above-described inconvenience can be solved.
[0045]
FIG. 11B shows another example of countermeasures. This example is common to the above example (FIG. 10B) in that a plurality of thumbnail images 83 to 90 are displayed in the layout frame 70, and has a specific attribute character string (for example, having a heading attribute) in the text. Character strings; hereinafter referred to as "entry words") are replaced with other character strings 91a to 91e (numerical values of "1" to "5" in the figure; hereinafter, referred to as "tag characters" for convenience). .
[0046]
According to this, for example, even when the thumbnail images 83 to 90 are considerably small and small characters are difficult to read, those characters (particularly headwords and the like) are converted into tag characters such as numerical values that are relatively easy to read. Since the replacement is displayed, the positional relationship of the selection range in the text can be easily grasped by referring to the tag character, and the above-mentioned inconvenience can be solved.
[0047]
FIG. 12 is a flowchart corresponding to FIG. 11A and FIG. 11B, showing the main part processing of the application program 36 in the present embodiment. In this flowchart, first, the number of pages of a document (document data) to be edited is extracted (step S31), and selection range information is extracted (step S32). The selection range information is information on a start position and an end position of the selection range. Specifically, the selection range starts from what number of column on what page, and on what number of line on what page. This is information (page information, line information, and digit information) as to whether or not the selection range is visually terminated.
[0048]
Next, based on the number of pages and the selection range information, it is determined whether to display in page units or in text units (step S33). When displaying in text units, display information is created by setting the total number of pages, display start page / line / column, and display end page / line / column (step S37). The display information is created by setting the number of pages in the range, the start page / line / column of the selection range and the end page / line / column of the selection range (step S34). In any case, the headword extraction process (step S35) is performed. After the execution, a display process is executed (step S36).
[0049]
FIG. 13 is a flowchart of the headword search processing (step S35 in FIG. 12).
In this flowchart, after setting the search range (search start page and search end page) (step S41), while sequentially looping through all the lines in the search range, the attributes of each line are extracted (step S43), However, for example, the determination as to whether or not the entry is a headword (step S44) is repeated until the last line of the search range is reached, and when the last line is exceeded (when the determination result in step S42 is "YES"), The process ends.
[0050]
When a headword is detected in an arbitrary line (when the determination result in step S44 is “YES”), the reduction ratio of the thumbnail image is checked (step S45), and it is possible to determine even if the headword is displayed as it is. Is determined. If it is possible to determine (display OK), the headword is stored in the RAM 17 as a highlighted character string (step S46). If it is not possible to determine (display NG), an arbitrary word is used instead of the headword. Is stored in the RAM 17 as the highlighted character string (step S47), and the process returns to the loop.
[0051]
FIG. 14 is a diagram illustrating a storage example of the RAM 17. The highlighted character string table 96 has a header field 96a, a line number field 96b, a byte number field 96c, a line attribute field 96d, a format field 95e, and a character string field 96f. Stores information. For example, the type to be edited ("text" in the figure) is stored in the header field 96a, the line number of the highlighted character string is stored in the line number field 96b, and the number of bytes of the highlighted character string (byte number field 96c) is stored in the byte number field 96c. Character attribute information), the line attribute of the highlighted character string is stored in the line attribute field 96d, the format of the highlighted character string (font type, number of points, etc.) is stored in the format field 96e, and the character string field 96f is stored. The character strings of the highlighted character strings (for example, “chapter 1”, “section 1”, “section 2”, “section 3”,...) Are stored.
[0052]
According to this flowchart, for example, a headword (“Chapter 1”, “Section 1”, “Section 2”, “Section 3”,...) Included in the search range is detected. Then, the headword can be highlighted in the thumbnail image, or an arbitrary tag character string (such as a numerical value) can be highlighted in the thumbnail image instead of the headword.
[0053]
Thus, the display result of FIG. 11A or FIG. 11B can be obtained.
[0054]
Therefore, according to each of the above embodiments, even in the case of a wide selection range over a plurality of pages, the text to be edited can be reduced and the selection range can be displayed on one editing screen without any trouble, or Can be displayed in the thumbnail image, and the entirety from the start to the end of the selected range can be visually checked. As a result, unlike the related art, it is not necessary to remember the start position of the selection range, so that it is possible to prevent the setting error of the selection range due to a storage error and to perform an accurate editing operation. Effects can be obtained.
[0055]
Further, since the size of the text to be edited is set in accordance with the resolution of the display device 12 being used, it is possible to avoid excessive reduction such that characters are crushed and become unreadable.
[0056]
When a thumbnail image is used, a specific character string (for example, a headword) in the thumbnail image is extracted and the specific character string is highlighted, so that the context of the selection range in the thumbnail image can be grasped. It is easy to perform and the position can be grasped intuitively.
[0057]
In addition, since a specific character string in a thumbnail image can be replaced with a more legible tag character string (such as a numerical value), a small-sized thumbnail image can be used, and many thumbnail images can be used. Can be lined up.
[0058]
The main functions of the present embodiment are functionally realized by an organic combination of hardware resources including a microcomputer and software resources such as an operating system and various application programs. In addition, since the general-purpose operating system can be used, it can be said that essential items indispensable for the present invention are substantially collected in the application program 36 (see FIG. 2A). . Accordingly, the present invention provides various recording media (such as magnetic disks, optical disks, hard disks, and semiconductor storage devices) that store all or a main part of the application program 36 (not only those that are on a distribution channel, but also (Including those that provide only recorded contents).
[0059]
【The invention's effect】
According to the present invention, it is determined whether or not the entire edit range of the document data can be displayed on the display means. In the case of a negative determination, the edit range is reduced and displayed so as to be entirely displayed on the display means. . Therefore, even when the editing range is too wide to be displayed on the display means, the entire editing range can be seen through the reduced display, and there is no possibility that the editing range is specified by mistake. Accurate editing operations can be expected.
Alternatively, since a plurality of pages including the editing range specified by the specifying means are displayed as thumbnails, even if the editing range is too large to fit on one page, the entire editing range can be seen through thumbnail display. Therefore, there is no possibility that the selection range is erroneously specified, and an accurate editing operation can be expected.
[Brief description of the drawings]
FIG. 1 is an external view of a personal computer 10 and a conceptual diagram of a hardware configuration thereof.
FIG. 2 is a diagram showing a simplified hierarchical model of hardware resources and software resources of the personal computer 10, and a conceptual diagram of a “word processor function” in the present embodiment.
FIG. 3 is a diagram showing a word processing screen.
FIG. 4 is a diagram illustrating an example of an editing operation according to the present embodiment.
FIG. 5 is a diagram showing a page layout screen after reduction processing.
FIG. 6 is a diagram illustrating an example of a screen having a page separator.
FIG. 7 is a diagram illustrating an example of a screen for performing reduced display in page units when a selection range extends over pages.
FIG. 8 is a flowchart illustrating main processing (particularly, selection range specifying processing) of the application program 36 according to the present embodiment.
FIG. 9 is a diagram illustrating a word processing screen 50 according to the present embodiment.
FIG. 10 is a diagram showing a normal use state of the layout display frame 70 and a diagram showing a special use state of the layout display frame 70.
FIG. 11 is a diagram showing an example of a measure for avoiding inconvenience (it is difficult to specify the position of a selection range in a sentence) when the thumbnail images 74 to 76 are considerably small.
FIG. 12 is a flowchart corresponding to FIG. 11A and FIG. 11B, showing a main part process of the application program 36 in the present embodiment.
FIG. 13 is a flowchart of a headword search process (step S35 in FIG. 12).
FIG. 14 is a diagram illustrating a storage example of a RAM 17;
FIG. 15 is a diagram showing an editing screen of a conventional word processor.
FIG. 16 is a diagram for explaining a problem of the conventional example.
[Explanation of symbols]
10 Personal computers (electronic devices)
12. Display device (display means)
16. CPU (designating means, determining means, display controlling means)
54 ··· Edit screen
56, 58, 60, 62, 66a, 66b ... selection range
74-76, 78-80, 83-90 ... thumbnail images

Claims (7)

文書データを表示する表示手段と、
この表示手段に表示された範囲を含む前記文書データの編集範囲を指定する指定手段と、
この指定手段によって指定された編集範囲が前記表示手段に全て表示可能か否かを判断する判断手段と、
この判断手段によって前記指定された編集範囲が全て表示不可能と判断されると、前記指定された編集範囲を前記表示手段に全て表示されるよう縮小して表示する表示制御手段と
を有することを特徴とする電子機器。
Display means for displaying document data;
Designation means for designating an edit range of the document data including a range displayed on the display means;
Determining means for determining whether or not the entire editing range specified by the specifying means can be displayed on the display means;
Display control means for reducing and displaying the specified edit range so as to be entirely displayed on the display means when the determination section determines that all of the specified edit ranges cannot be displayed. Electronic equipment characterized.
文書データを表示する表示手段と、
この表示手段に表示された範囲を含む前記文書データの編集範囲を複数ページに渡り指定する指定手段と、
この指定手段によって指定された編集範囲を含む複数のページをサムネイル表示するよう制御する表示制御手段と
を有することを特徴とする電子機器。
Display means for displaying document data;
Designation means for designating the editing range of the document data including the range displayed on the display means over a plurality of pages;
An electronic device comprising: display control means for controlling a plurality of pages including the editing range specified by the specifying means to be displayed as thumbnails.
文書データを表示する表示装置の表示制御方法であって、
表示画面に表示された範囲を含む前記文書データの編集範囲を指定する指定ステップと、
この指定ステップにて指定された編集範囲が前記表示画面に全て表示可能か否かを判断する判断ステップと、
この判断ステップにて前記指定された編集範囲が全て表示不可能と判断されると、前記指定された編集範囲を前記表示画面に全て表示されるよう縮小して表示する表示制御ステップと
からなることを特徴とする表示制御方法。
A display control method for a display device that displays document data,
A designation step of designating an edit range of the document data including a range displayed on a display screen;
A determining step of determining whether or not the editing range specified in the specifying step can be displayed on the display screen;
A display control step of reducing and displaying the specified editing range so as to be entirely displayed on the display screen when it is determined in the determining step that the entire specified editing range is not displayable. The display control method characterized by the above-mentioned.
文書データを表示する表示装置の表示制御方法であって、
表示画面に表示された範囲を含む前記文書データの編集範囲を複数ページに渡り指定する指定ステップと、
この指定ステップにて指定された編集範囲を含む複数のページをサムネイル表示するよう制御する表示制御ステップと
からなることを特徴とする表示制御方法。
A display control method for a display device that displays document data,
A designation step of designating an editing range of the document data including a range displayed on a display screen over a plurality of pages;
A display control step of controlling a plurality of pages including the editing range specified in the specifying step to be displayed as thumbnails.
コンピュータに所定の処理機能を実行させるためのプログラムであって、
前記処理機能は、表示画面に表示された範囲を含む文書データの編集範囲を指定する指定手段と、この指定手段によって指定された編集範囲が前記表示手段に全て表示可能か否かを判断する判断手段と、この判断手段によって前記指定された編集範囲が全て表示不可能と判断されると、前記指定された編集範囲を前記表示手段に全て表示されるよう縮小して表示する表示制御手段とを実現するものであることを特徴とするプログラム。
A program for causing a computer to execute a predetermined processing function,
The processing function includes a specification unit that specifies an editing range of the document data including the range displayed on the display screen, and a determination that determines whether or not the entire editing range specified by the specification unit can be displayed on the display unit. Means, and display control means for reducing and displaying the specified edit range so as to be entirely displayed on the display means when the determination section determines that all of the specified edit ranges cannot be displayed. A program characterized by being realized.
コンピュータに所定の処理機能を実行させるためのプログラムであって、
前記処理機能は、表示画面に表示された範囲を含む文書データの編集範囲を複数ページに渡り指定する指定手段と、この指定手段によって指定された編集範囲を含む複数のページをサムネイル表示するよう制御する表示制御手段とを実現するものであることを特徴とするプログラム。
A program for causing a computer to execute a predetermined processing function,
The processing function includes a designation unit that designates an editing range of the document data including the range displayed on the display screen over a plurality of pages, and controls the thumbnail display of a plurality of pages including the editing range designated by the designation unit. And a display control means for realizing the display control means.
請求項5または請求項6に記載のプログラムを格納した記録媒体。A recording medium storing the program according to claim 5.
JP2002247624A 2002-08-27 2002-08-27 Electronic device, display control method, program, and recording medium Pending JP2004086621A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002247624A JP2004086621A (en) 2002-08-27 2002-08-27 Electronic device, display control method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002247624A JP2004086621A (en) 2002-08-27 2002-08-27 Electronic device, display control method, program, and recording medium

Publications (1)

Publication Number Publication Date
JP2004086621A true JP2004086621A (en) 2004-03-18

Family

ID=32055222

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002247624A Pending JP2004086621A (en) 2002-08-27 2002-08-27 Electronic device, display control method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP2004086621A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006277089A (en) * 2005-03-28 2006-10-12 Fuji Xerox Co Ltd Document processor
JP2008276762A (en) * 2007-04-25 2008-11-13 Internatl Business Mach Corp <Ibm> Method and system executed by computer, and computer readable recording medium (method of imparting functional context into actively scrolled view pane)
JP2009181208A (en) * 2008-01-29 2009-08-13 Casio Hitachi Mobile Communications Co Ltd Terminal and program
JP2011086050A (en) * 2009-10-14 2011-04-28 Sharp Corp Information processing terminal and computer program
JP2012505444A (en) * 2008-10-07 2012-03-01 リサーチ イン モーション リミテッド Portable electronic device and method for controlling portable electronic device
WO2013147238A1 (en) * 2012-03-30 2013-10-03 株式会社メディカルリサーチアンドテクノロジー Evaluation management method
KR20150120369A (en) * 2013-02-20 2015-10-27 구글 인코포레이티드 Intelligent window placement with multiple windows using high dpi screens
US9442648B2 (en) 2008-10-07 2016-09-13 Blackberry Limited Portable electronic device and method of controlling same
EP3079053A1 (en) * 2015-04-09 2016-10-12 BlackBerry Limited Portable electronic device including touch-sensitive display and method of controlling selection of information
US20230342013A1 (en) * 2020-09-16 2023-10-26 Casio Computer Co., Ltd. Information processing method, system, information processing device, and program

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4682663B2 (en) * 2005-03-28 2011-05-11 富士ゼロックス株式会社 Document processing device
JP2006277089A (en) * 2005-03-28 2006-10-12 Fuji Xerox Co Ltd Document processor
JP2008276762A (en) * 2007-04-25 2008-11-13 Internatl Business Mach Corp <Ibm> Method and system executed by computer, and computer readable recording medium (method of imparting functional context into actively scrolled view pane)
JP2009181208A (en) * 2008-01-29 2009-08-13 Casio Hitachi Mobile Communications Co Ltd Terminal and program
US9442648B2 (en) 2008-10-07 2016-09-13 Blackberry Limited Portable electronic device and method of controlling same
JP2012505444A (en) * 2008-10-07 2012-03-01 リサーチ イン モーション リミテッド Portable electronic device and method for controlling portable electronic device
JP2011086050A (en) * 2009-10-14 2011-04-28 Sharp Corp Information processing terminal and computer program
WO2013147238A1 (en) * 2012-03-30 2013-10-03 株式会社メディカルリサーチアンドテクノロジー Evaluation management method
JP2013228980A (en) * 2012-03-30 2013-11-07 Mrt Inc Evaluation management method
KR20150120369A (en) * 2013-02-20 2015-10-27 구글 인코포레이티드 Intelligent window placement with multiple windows using high dpi screens
JP2016514302A (en) * 2013-02-20 2016-05-19 グーグル インコーポレイテッド Intelligent window positioning method and system, and non-volatile machine-readable medium
US10152459B2 (en) 2013-02-20 2018-12-11 Google Llc Intelligent window placement with multiple windows using high DPI screens
US10796072B2 (en) 2013-02-20 2020-10-06 Google Llc Intelligent window placement with multiple windows using high DPI screens
KR102244611B1 (en) * 2013-02-20 2021-04-23 구글 엘엘씨 Intelligent window placement with multiple windows using high dpi screens
EP3079053A1 (en) * 2015-04-09 2016-10-12 BlackBerry Limited Portable electronic device including touch-sensitive display and method of controlling selection of information
US10126846B2 (en) 2015-04-09 2018-11-13 Blackberry Limited Portable electronic device including touch-sensitive display and method of controlling selection of information
US20230342013A1 (en) * 2020-09-16 2023-10-26 Casio Computer Co., Ltd. Information processing method, system, information processing device, and program

Similar Documents

Publication Publication Date Title
US6441824B2 (en) Method and apparatus for dynamic text resizing
US11347930B2 (en) Method and apparatus for automatically displaying directory of document
US20060053370A1 (en) Electronic album editing apparatus and control method therefor
US20170308510A1 (en) Display and selection of bidirectional text
JPH0352098B2 (en)
US5982365A (en) System and methods for interactively generating and testing help systems
JPH09106333A (en) Document processor
WO2009136524A1 (en) Information processing device, method, and computer-readable recording medium containing program
JP2004086621A (en) Electronic device, display control method, program, and recording medium
JPH0293975A (en) Character processor
US7421666B2 (en) Browser navigation for devices with a limited input system
JP3388451B2 (en) Handwriting input device
JP5268114B2 (en) Information processing apparatus, text display program, and text display method
JPH09190436A (en) Information processor and range specifying method
JP3564317B2 (en) Document display method and display device
JP2001142595A (en) Key input device and storage medium storing its program
JPH11259456A (en) Document preparing device, formula converting method and storage medium
JPH0823744B2 (en) Character string processor
JP2005316877A (en) Document display device, document display method, document display program, and computer readable recording medium recording document display program recorded therein
JP3016949B2 (en) Information processing device
JPH1185948A (en) Information processing device and method therefor
JP3371435B2 (en) Input mode automatic setting method or input mode automatic setting device
JPH05324423A (en) Graphic processor
JPH04276854A (en) Word processor
JPS61229161A (en) Documentation and editing device