JP2008027003A - Display control system, scroll display method, program, and recording medium - Google Patents
Display control system, scroll display method, program, and recording medium Download PDFInfo
- Publication number
- JP2008027003A JP2008027003A JP2006196256A JP2006196256A JP2008027003A JP 2008027003 A JP2008027003 A JP 2008027003A JP 2006196256 A JP2006196256 A JP 2006196256A JP 2006196256 A JP2006196256 A JP 2006196256A JP 2008027003 A JP2008027003 A JP 2008027003A
- Authority
- JP
- Japan
- Prior art keywords
- page
- display
- image
- scroll
- displayed
- 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
Links
Images
Abstract
Description
本発明は、パーソナルコンピュータなど情報処理装置や電子ホワイトボードなどにおけるスクロール表示技術に係り、特に、スクロールバー上のスクロールボックス表示位置制御に関する。 The present invention relates to a scroll display technique in an information processing apparatus such as a personal computer or an electronic whiteboard, and more particularly to control of a scroll box display position on a scroll bar.
パーソナルコンピュータなど情報処理装置においては、複数ページから成る文書の内容を表示させる際には、その内容を例えば垂直方向にスクロールさせながら表示させる。その画面の例えば右端には垂直方向に伸びたスクロールバーを表示させ、そのスクロールバー内にはスクロールボックスを表示させる。スクロールバー内におけるスクロールボックスの位置が文書全体における表示ページの位置を示しており、例えばスクロールボックスがスクロールバーの上端にある場合は文書の最初のページの冒頭部分が表示され、スクロールボックスがスクロールバーの下端にある場合は文書の最終ページの最後の部分が表示される。また、利用者はマウスなどでスクロールボックスをスクロールバーに沿ってドラッグすることによりスクロールボックスを移動させ、スクロールボックスの位置に対応したページを表示させることができる。また、表示ページを示すページ番号が画面中の所定の位置に表示される。
しかし、前記従来技術においては、スクロールボックスをドラッグして移動させることにより所望の部分を表示させようとすると、行きすぎたり、戻りすぎたりして簡単に位置合わせできないという問題があった。
そのため、このような問題を解決しようとする技術もいくつか提案されるに至っている。
In an information processing apparatus such as a personal computer, when displaying the contents of a document composed of a plurality of pages, the contents are displayed while scrolling in the vertical direction, for example. For example, a scroll bar extending in the vertical direction is displayed at the right end of the screen, and a scroll box is displayed in the scroll bar. The position of the scroll box in the scroll bar indicates the position of the display page in the entire document. For example, if the scroll box is at the top of the scroll bar, the beginning of the first page of the document is displayed, and the scroll box is the scroll bar. When it is at the lower end of, the last part of the last page of the document is displayed. Also, the user can move the scroll box by dragging the scroll box along the scroll bar with a mouse or the like, and display a page corresponding to the position of the scroll box. A page number indicating the display page is displayed at a predetermined position on the screen.
However, in the prior art, when a desired portion is displayed by dragging and moving the scroll box, there is a problem in that it cannot be easily aligned because it goes too far or goes back.
For this reason, several techniques for solving such problems have been proposed.
例えば特許文献1に示された従来技術は前述したようなスクロールバーとスクロールボックス(スクロールつまみ)を持ち、さらに、スクロールバー上に、ウィンドウ内に表示される所定の内容に対応する位置を示す目印を持つ。このような目印を複数設定することができ、それぞれの目印に名称を付けることができ、さらに、そのような目印をマウスなどで指示することによりスクロールボックスを所望の目印に位置づけることができる。
また、特許文献2に示された従来技術では、スクロールバー内に複数のタグを付け、それぞれのタグに表示される内容に含まれる記事の種類を割り当て、タグを選択することにより所望の記事のページを表示する。
また、特許文献3に示された従来技術では、HTMLにより作成された文書中の画像データのみ抽出し、その画像データをページ情報や位置情報と関連付けておき、その画像の縮小一覧を表示し、選択された画像データをページ情報や位置情報などリンク情報を基に画面上に表示する。
In the prior art disclosed in
In the prior art disclosed in
しかしながら、特許文献1および特許文献2に示された従来技術は汎用性に欠けるという問題があった。また、従来技術ではいずれも他のアプリケーションプログラムにより作成・表示される文書については対象外であった。
本発明は、このような従来技術の問題を解決しようとするものであり、具体的には、任意のアプリケーションプログラムにより作成・表示される文書や画像を対象に、最初の操作ではスクロールボックスを用いないでページ出しを行い、その後は必要に応じてスクロールバー内のスクロールボックスや矢印ボタンを用いてスクロールさせることにより、容易に所望の部分を表示させることができるページ表示技術を提供することを目的とする。
However, the conventional techniques disclosed in
The present invention is intended to solve such a problem of the prior art. Specifically, a scroll box is used in the first operation for a document or image created and displayed by an arbitrary application program. The purpose is to provide a page display technology that can easily display a desired part by performing page output without scrolling and then scrolling using a scroll box or an arrow button in a scroll bar as necessary. And
上記課題を解決するために、請求項1記載の表示制御システムは、スクロールボックスを移動させることにより1画面中に収まらない画像または文書の内容をスクロール表示させる表示制御システムにおいて、当該画像または文書中の一部を表示中の垂直スクロールボックスの表示位置に従って表示させる表示制御システムであって、表示させるページのページ番号を指定させるページ番号指定手段と、該ページ番号指定手段により指定されたページ番号から垂直スクロールボックスの表示位置の値を算出する表示位置算出手段と、該表示位置算出手段により算出された値の表示位置に垂直スクロールボックスを移動させるスクロールボックス位置制御手段とを備える。
請求項2記載の表示制御システムは、請求項1記載の表示制御システムにおいて、当該画像または文書の表示が任意のアプリケーションプログラムによって行われるようにする。
In order to solve the above problem, a display control system according to
A display control system according to a second aspect is the display control system according to the first aspect, wherein the display of the image or document is performed by an arbitrary application program.
請求項3記載の表示制御システムは、スクロールボックスを移動させることにより1画面中に収まらない画像または文書の内容をスクロール表示させる表示制御システムにおいて、任意のアプリケーションプログラムにより表示される画像または文書から抽出した複数のページ画像の画像データに対応づけてそれぞれのページ画像の垂直位置情報を保存する画像データ保存手段と、該画像データ保存手段により保存された画像データのなかから指定されたページ画像を表示する際に指定されたページ画像の垂直位置情報から垂直スクロールボックスの表示位置の値を算出する表示位置算出手段と、前記任意のアプリケーションプログラムにより表示される画像または文書の表示時に前記表示位置算出手段により算出された表示位置に垂直スクロールボックスを移動させるスクロールボックス位置制御手段とを備える。
請求項4記載の表示制御システムは、請求項3記載の表示制御システムにおいて、前記画像データ保存手段により保存された画像データのなかからページ画像を指定させるために縮小されたページ画像の一覧を表示させる一覧表示手段を備える。
The display control system according to
A display control system according to a fourth aspect of the present invention is the display control system according to the third aspect, wherein a list of page images reduced to allow a page image to be designated from among the image data stored by the image data storage means is displayed. A list display means for enabling the display.
請求項5記載の表示制御システムは、請求項1乃至4のいずれか1項に記載の表示制御システムにおいて、表示中のウィンドウのウィンドウ情報を周期的に取得するウィンドウ情報取得手段と、該ウィンドウ情報取得手段からページ表示制御情報の登録されていない垂直スクロールボックスを示すウィンドウ情報を取得したときに入力ダイアログを表示させ、当該画像または文書のページ総数を入力させるページ総数入力制御手段とを備える。
請求項6記載の方法は、スクロールボックスを移動させることにより1画面中に収まらない画像または文書の内容をスクロール表示させるスクロール表示方法において、当該画像または文書中の一部を表示中の垂直スクロールボックスの表示位置に従って表示させるに際して、表示させるページのページ番号を指定させ、該ページ番号から垂直スクロールボックスの表示位置の値を算出し、算出した値の表示位置に垂直スクロールボックスを移動させる構成とする。
The display control system according to
7. The method according to
請求項7記載の方法は、請求項6記載のスクロール表示方法において、当該画像または文書の表示が任意のアプリケーションプログラムによって行われる構成とする。
請求項8記載の方法は、スクロールボックスを移動させることにより1画面中に収まらない画像または文書の内容をスクロール表示させるスクロール表示方法において、任意のアプリケーションプログラムにより表示される画像または文書から抽出した複数のページ画像の画像データに対応づけてそれぞれのページ画像の垂直位置情報を保存しておき、前記任意のアプリケーションプログラムにより表示される画像または文書を表示する際、指定されたページ画像の前記垂直位置情報から垂直スクロールボックスの表示位置の値を算出し、算出した表示位置に垂直スクロールボックスを移動させる構成とする。
According to a seventh aspect of the present invention, in the scroll display method according to the sixth aspect, the image or document is displayed by an arbitrary application program.
The method according to
請求項9記載の方法は、請求項8記載のスクロール表示方法において、保存された画像データのなかからページ画像を指定させるために縮小されたページ画像の一覧を表示させる構成とする。
請求項10記載の方法は、請求項8または9記載のスクロール表示方法において、さらに、前記複数のページ画像の画像データに対応づけて当該ページ画像の水平位置情報を保存しておき、指定されたページ画像を表示する際、指定されたページ画像の垂直位置情報から垂直スクロールボックスの表示位置、水平位置情報から水平スクロールボックスの表示位置を算出し、算出した表示位置に垂直スクロールボックスおよび水平スクロールボックスを移動させる構成とする。
According to a ninth aspect of the present invention, in the scroll display method according to the eighth aspect, a list of page images reduced for specifying a page image from the stored image data is displayed.
The method according to
請求項11記載の方法は、請求項8、9または10記載のスクロール表示方法において、前記垂直スクロールバーに左接するウィンドウに表示された画像をページ画像として該ページ画像の画像データを保存する構成とする。
請求項12記載の方法は、請求項8、9または10記載のスクロール表示方法において、登録された垂直スクロールバーが閉じたとき、保存されたページ画像データを自動的に削除する構成とする。
請求項13記載の方法は、請求項6乃至10のいずれか1項に記載のスクロール表示方法において、表示中のウィンドウのウィンドウ情報を周期的に取得して、ページ表示制御情報が登録されていない垂直スクロールボックスを示すウィンドウ情報を取得したとき、ページ総数入力ダイアログを自動的に表示させ、当該画像または文書のページ総数を入力させる構成とする。
The method according to
According to a twelfth aspect of the present invention, in the scroll display method according to the eighth, ninth, or tenth aspect, when the registered vertical scroll bar is closed, the stored page image data is automatically deleted.
The method according to
請求項14記載の方法は、請求項6乃至10のいずれか1項に記載のスクロール表示方法において、さらに、ページ番号を表示する構成とする。
請求項15記載の方法は、請求項6乃至10のいずれか1項に記載のスクロール表示方法において、垂直スクロールボックス表示時、該垂直スクロールボックスの表示位置と垂直スクロール長を周期的に検出して、変化があった場合、該表示位置に相当するページ番号を算出し、該ページ番号を表示する構成とする。
請求項16記載のプログラムは、オペレーティングシステム上で実行されるプログラムにおいて、請求項6乃至15のいずれか1項に記載のスクロール表示方法によりスクロール表示を実行させるようにプログラミングされている構成とする。
請求項17記載の記録媒体は、請求項16に記載のプログラムを記録した、コンピュータ読み取り可能な記録媒体である。
According to a fourteenth aspect of the present invention, in the scroll display method according to any one of the sixth to tenth aspects, a page number is further displayed.
The method according to claim 15 is the scroll display method according to any one of
A program according to a sixteenth aspect is a program executed on an operating system and programmed to execute scroll display by the scroll display method according to any one of the sixth to fifteenth aspects.
A recording medium according to claim 17 is a computer-readable recording medium on which the program according to
本発明によれば、任意のアプリケーションプログラムにより作成・表示される文書や画像を対象に、最初の操作では、表示させるページのページ番号を指定させ、そのページ番号から垂直スクロールボックスの表示位置の値を算出し、算出した値の表示位置に垂直スクロールボックスを移動させることによりページ出しを行い、その後は必要に応じてスクロールバー内のスクロールボックスや矢印ボタンを用いてスクロールさせることができるので、容易に所望の部分を表示させることができる。 According to the present invention, for a document or image created / displayed by an arbitrary application program, in the first operation, the page number of the page to be displayed is designated, and the value of the display position of the vertical scroll box is determined from the page number. Page can be calculated by moving the vertical scroll box to the display position of the calculated value, and then scrolled using the scroll box and arrow buttons in the scroll bar as needed. Can display a desired portion.
また、任意のアプリケーションプログラムにより作成・表示される文書や画像を対象に、1つまたは複数の画像または文書から抽出した複数のページ画像の画像データに対応づけてそれぞれのページ画像の垂直位置情報を保存しておき、画像または文書を表示する際、最初の操作では、指定されたページ画像の垂直位置情報から垂直スクロールボックスの表示位置の値を算出し、算出した表示位置に垂直スクロールボックスを移動させることによりページ出しを行い、その後は必要に応じてスクロールバー内のスクロールボックスや矢印ボタンを用いてスクロールさせることができるので、同様に、容易に所望の部分を表示させることができる。 In addition, for a document or image created and displayed by an arbitrary application program, the vertical position information of each page image is associated with image data of one or a plurality of images or a plurality of page images extracted from the document. When saving and displaying an image or document, the first operation calculates the value of the vertical scroll box display position from the vertical position information of the specified page image, and moves the vertical scroll box to the calculated display position. Thus, the page can be displayed, and thereafter, scrolling can be performed using a scroll box or an arrow button in the scroll bar as necessary, so that a desired portion can be easily displayed.
以下、図面により本発明の実施形態を詳細に説明する。但し、この実施形態に記載される構成要素、種類、組み合わせ、形状、その相対位置などは特定的な記載がない限りこの説明の範囲をそれのみに限定する主旨ではなく、単なる説明例に過ぎない。
図1は、本発明の一実施形態を示す、タブレットPC(タブレット・パーソナルコンピュータ)の外観図である。図示したように、タブレットPCは電子ペン1とタッチパネルディスプレイ2を備え、キーボードとマウスの操作を前提とした既存のPCに代わり、電子ペン1とタッチパネルディスプレイ2でマウスのポインティング機能とキーボードのテキスト入力機能を実現する。テキスト入力については、電子ペン1とタッチパネルディスプレイ2により手書き文字を入力した後に文字認識を行ってコード化されたテキストにする。なお、ソフトウエアメーカからタブレットPC用OSである「Windows(登録商標) XP Tablet PC Edition」が提供されており、手書き文字の認識はこのOSを用いて実現できる。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. However, the components, types, combinations, shapes, relative positions, and the like described in this embodiment are not merely intended to limit the scope of this description unless otherwise specified, but are merely illustrative examples. .
FIG. 1 is an external view of a tablet PC (tablet personal computer) showing an embodiment of the present invention. As shown in the figure, the tablet PC includes an
図1(a)はタブレットPCを開いた状態であり、図示したように、液晶ディスプレイ3と、キーボードを含むPC本体4を備えている。
図1(b)はタブレットPCを折り畳んだ状態である。電子ペン1が直接接触する面には強化ガラス5が設けられ、液晶ディスプレイが傷つくのを防止している。また、液晶ディスプレイの下には電子ペン1の位置を検知する電磁誘導センサユニット6が液晶ディスプレイの画像品質を損なわない構造で設けられている。そして、電磁誘導センサユニット6が液晶ディスプレイ上の電子ペン1の位置(座標)を検知する一方で、後述する制御部がマウスの場合のクリック操作およびドラッグ操作をエミュレートする。また、水平の置かれた液晶ディスプレイと電子ペン1により、紙に文字を書く感覚で手書き文字を描画できる。
なお、前記においては、液晶ディスプレイ3を回転させて折り畳む形式で示したが、液晶ディスプレイが取りはずせるタイプも可能である。
FIG. 1A shows a state in which a tablet PC is opened, and includes a
FIG. 1B shows a state in which the tablet PC is folded.
In the above description, the
次に、図2により座標入力制御を説明する。
まず、タッチパネルディスプレイ2がディスプレイ面に接触する座標指示物を検知し、そのタッチパネルディスプレイ2の近傍に設けた座標算出制御装置8が接触位置の座標データ(図3(a)参照)を算出し、その座標データをPC本体4へ送信する。この送信はRS232CまたはUSBなどに準拠した通信手段により実現され、PC本体4内のタッチパネルドライバ11は座標算出制御装置8から座標データを受信すると、その座標データをOSの定義するマウスデータ(図3(b)参照)へ変換し、OSが提供するマウスインタフェース(I/F)12へ出力する。なお、マウスデータはPCに接続されるマウスにより出力されるデータと同一の形式であるので、アプリケーションプログラムはマウスを用いる場合と同一でよい。
Next, coordinate input control will be described with reference to FIG.
First, the
こうして、OSにより実行権が与えられているアプリケーション処理部(各プログラムに従って動作するCPUがここではアプリケーションプログラムに従って動作している)13がマウスI/F12からマウスデータを受け取る。そして、アプリケーション処理部13はマウス座標下の情報(例えばメニューやボタン)に対応づけられた機能を実行する。さらに、実行結果として画面に表示する画像データを更新し、その画像データを画像データ変換部14がRGB信号に変換して液晶ディスプレイに画像として表示させる。
In this way, the application processing unit (CPU that operates according to each program operates according to the application program here) 13 to which the execution right is given by the OS receives mouse data from the mouse I / F 12. And the
以下、本発明の実施例を説明する。
まず、OSの提供するインタフェースにより取得できる画面表示情報を列挙しておく(図4参照)。
(1)表示されているウィンドウWのウィンドウ情報として、左上のウィンドウ原点座標(WX,WY)、ウィンドウWの幅WW、ウィンドウWの高さWH、ウィンドウハンドル情報、ウィンドウクラス情報、およびウィンドウスタイル情報を取得できる(図4(a)参照)。なお、ウィンドウハンドルとは表示中のウィンドウにユニークに(他と識別可能に)割り当てられるウィンドウの識別子で、アプリケーション処理部13はこのウィンドウハンドルを用いてウィンドウの情報取得および設定を行う。
(2)水平スクロールバーHBRおよび垂直スクロールバーVBRは、ウィンドウとして作成される場合はウィンドウクラスから識別でき、ウィンドウに付属する場合はウィンドウスタイルから識別できる。
(3)水平スクロールバーHBRの左上原点座標(HX,HY)、幅HW、高さHHを取得できる(図4(b)参照)。
(4)水平スクロール長HLは文書や画像の非表示部分も含めた全体の幅を画面上で示しており(値は画面上における寸法)、OSの提供するI/F(インタフェース)により取得できる。
(5)水平スクロールボックスHBXの表示幅HBW、水平スクロールボックスHBXの位置HPを取得できる(図4(b)参照)。表示幅HBWは文書または画像中の表示部分の幅を示し、ボックス位置HPはスクロール長HLで示されたスクロール領域の左端(文書左端)からの位置を示し、OSの提供するI/Fにより取得できる。
(6)垂直スクロールバーVBRの左上原点座標(VX,VY)、幅VW、高さVHを取得できる(図4(c)参照)。
(7)垂直スクロール長VLは非表示部分も含めた文書または画像の全体(全ページ)の縦長さを示しており(値は画面上における寸法)、OSの提供するI/Fにより取得できる。
(8)垂直スクロールボックスVBXの表示長VBL、垂直スクロールボックスVBXの位置VPを取得できる。表示長VBLは文書または画像の表示部分の縦長を示し、ボックス位置VPは垂直スクロール長VLで示されるスクロール領域の上端からの位置を示し、OSの提供するI/Fにより取得できる。
(9)垂直スクロールバーVBRに左接するウィンドウWが垂直スクロールバーVBRの制御するウィンドウとなる。また、“ウィンドウWの左上X座標WX+ウィンドウ幅WW=垂直スクロールバーX座標VX”となる。
Examples of the present invention will be described below.
First, screen display information that can be acquired by an interface provided by the OS is listed (see FIG. 4).
(1) As window information of the displayed window W, upper left window origin coordinates (WX, WY), window W width WW, window W height WH, window handle information, window class information, and window style information Can be acquired (see FIG. 4A). The window handle is an identifier of a window that is uniquely assigned to the currently displayed window (so that it can be distinguished from others). The
(2) The horizontal scroll bar HBR and the vertical scroll bar VBR can be identified from the window class when created as a window, and can be identified from the window style when attached to a window.
(3) The upper left origin coordinates (HX, HY), width HW, and height HH of the horizontal scroll bar HBR can be acquired (see FIG. 4B).
(4) The horizontal scroll length HL indicates the entire width including the non-display portion of the document or image on the screen (value is a dimension on the screen) and can be acquired by an I / F (interface) provided by the OS. .
(5) The display width HBW of the horizontal scroll box HBX and the position HP of the horizontal scroll box HBX can be acquired (see FIG. 4B). The display width HBW indicates the width of the display part in the document or image, and the box position HP indicates the position from the left end (left end of the document) of the scroll area indicated by the scroll length HL, and is acquired by the I / F provided by the OS. it can.
(6) The upper left origin coordinates (VX, VY), width VW, and height VH of the vertical scroll bar VBR can be acquired (see FIG. 4C).
(7) The vertical scroll length VL indicates the vertical length of the entire document or image (all pages) including the non-display portion (value is a dimension on the screen), and can be acquired by the I / F provided by the OS.
(8) The display length VBL of the vertical scroll box VBX and the position VP of the vertical scroll box VBX can be acquired. The display length VBL indicates the vertical length of the display portion of the document or image, and the box position VP indicates the position from the upper end of the scroll area indicated by the vertical scroll length VL, and can be acquired by the I / F provided by the OS.
(9) The window W on the left side of the vertical scroll bar VBR becomes a window controlled by the vertical scroll bar VBR. Further, “the upper left X coordinate WX of the window W + the window width WW = the vertical scroll bar X coordinate VX”.
この実施例のスクロール表示制御では、図5(a)において、ウィンドウWはマウス(ここではタッチパネル)によるドラッグ操作により大きさの調整が可能となっており、ウィンドウWの大きさにより水平スクロールボックスHBXの表示幅HBW、水平スクロール長HL、垂直スクロールボックスVBXの表示長VBL、および垂直スクロール長VLも調整される。
図5(b)は、ページ総数が3ページである文書をスクロール表示する場合のスクロール表示空間を示す。この表示空間は表示するウィンドウWの大きさに関係ない大きさで、スクロールバー内での長さである水平スクロール長HLはスクロール表示空間の幅に対応し(幅を表現し)、垂直スクロール長VLはスクロール表示空間の長さ(高さ)に対応している(長さを表現している)。同様に、スクロールバー内での長さであるHPおよびVPはスクロール表示空間における原点から表示部分の原点までの長さに対応する。
In the scroll display control of this embodiment, in FIG. 5A, the size of the window W can be adjusted by a drag operation with a mouse (here, a touch panel), and the horizontal scroll box HBX can be adjusted depending on the size of the window W. The display width HBW, the horizontal scroll length HL, the display length VBL of the vertical scroll box VBX, and the vertical scroll length VL are also adjusted.
FIG. 5B shows a scroll display space when a document having a total page number of 3 is scroll-displayed. This display space is irrelevant to the size of the window W to be displayed. The horizontal scroll length HL, which is the length in the scroll bar, corresponds to the width of the scroll display space (represents the width), and the vertical scroll length. VL corresponds to the length (height) of the scroll display space (expresses the length). Similarly, HP and VP, which are lengths in the scroll bar, correspond to the length from the origin in the scroll display space to the origin of the display portion.
ここで、表示状態A(HP,HB,HL,VP,VB,VL)から表示状態B(HB0、HL0、VB0、VL0)となるウィンドウサイズへ表示変更が行われた場合、表示状態Aにおけるページ表示領域の左上原点にある文書(または画像)内容を表示状態Bにおいてページ表示領域の左上原点に表示する場合、表示上のスクロールボックス位置は変化するが、OSが提供するI/Fにより取得される水平スクロールボックス位置および垂直スクロールボックス位置は同一値となる。なお、このスクロールボックス位置の変化により文書または画像中の表示部分の原点位置は変化しない。 Here, if the display is changed from the display state A (HP, HB, HL, VP, VB, VL) to the window size that becomes the display state B (HB0, HL0, VB0, VL0), the page in the display state A When the document (or image) content at the upper left origin of the display area is displayed at the upper left origin of the page display area in the display state B, the scroll box position on the display changes, but is acquired by the I / F provided by the OS. The horizontal scroll box position and the vertical scroll box position are the same value. The origin position of the display portion in the document or image does not change due to the change in the scroll box position.
次に、図6によりページ番号表示について説明する。
この実施例では、アプリケーション処理部13が表示中のウィンドウのウィンドウ情報を周期的に取得して、ページ表示制御情報が登録されていない垂直スクロールバーVBRまたは垂直スクロールボックスVBXが検知された場合、ページ総数入力ダイアログTPDを表示させ、ページ総数TPを入力させる(図6(a)参照)。
続いて、アプリケーション処理部13はページ表示ツールバーTB内の「ページ番号」ボタン(1番上のボタン)押下を検知して、ページ番号入力ダイアログPDを表示させ、ページ番号Pを入力させ、垂直スクロールボックスの位置HPを以下に示す位置へ移動させることにより指定されたページを表示させる。
垂直スクロールボックス位置 VP=(VL/TP)×(P−1)
また、垂直スクロールボックスVBXの位置VPおよび垂直スクロール長を周期的に監視し、変更があったとき、ページ番号を以下により算出し、ページ表示ツールバーへ指示する。
ページ番号P=TP(VP/VL)+1
Next, page number display will be described with reference to FIG.
In this embodiment, when the
Subsequently, the
Vertical scroll box position VP = (VL / TP) × (P−1)
Further, the position VP of the vertical scroll box VBX and the vertical scroll length are periodically monitored, and when there is a change, the page number is calculated as follows, and an instruction is given to the page display toolbar.
Page number P = TP (VP / VL) +1
次に、表示されたページ一覧から選択したページ画像を用いてそのページ画像を含む文書などの部分表示を行う場合におけるスクロールボックスの位置制御を説明する。まず、図7によりページ画像保存時から説明する。
図7(a)は、保存しようとする1つのページ画像が表示された状態である。この状態で、利用者による、ページ表示ツールバーTB内の「保存」ボタン押下を検知して、アプリケーション処理部13はメモリ内に読み出されている当該文書の画像データを取得し、さらに、ウィンドウ(ページ表示領域)Wの左上原点座標(X,Y)、幅WW、高さWHなどを取得し、それらの値を用いて表示中のページ表示領域に対応するページ画像データを抽出する(図7(b)参照)。
続いて、アプリケーション処理部13は水平スクロールボックス位置情報と垂直スクロールボックス位置情報を取得して保存する。そして、取得したスクロールボックス位置情報を当該画像データに対応づけてページ画像ファイルに保存する。このようにして複数のページ画像の画像データを保存しておくことができる。保存情報のデータ構成を図7(c)に示す。
Next, the position control of the scroll box in the case where partial display of a document including the page image is performed using the page image selected from the displayed page list will be described. First, a description will be given from the time of saving a page image with reference to FIG.
FIG. 7A shows a state in which one page image to be stored is displayed. In this state, when the user detects that the “save” button in the page display toolbar TB is pressed, the
Subsequently, the
その後の文書表示時、利用者によりページ表示ツールバーTB内の「一覧」ボタンが押下されたとき、アプリケーション処理部13は、ページ画像ファイル中の複数の画像データを縮小して一覧表示させ(図8(a)参照)、利用者に表示すべきページをページ画像一覧から選択させる。
続いて、選択されたページ画像の水平スクロールボックス位置情報をそのページ画像に対応づけられている情報中から取得し、水平スクロールボックスHBXを同位置へ移動させる。さらに、選択されたページ画像の垂直スクロールボックス位置情報をそのページ画像に対応づけられている情報中から取得し、垂直スクロールボックスVBXを同位置へ移動させる。これにより、開かれている文書ファイルの選択されたページが表示される(図8(b)参照)。
In the subsequent document display, when the user presses the “list” button in the page display toolbar TB, the
Subsequently, the horizontal scroll box position information of the selected page image is acquired from the information associated with the page image, and the horizontal scroll box HBX is moved to the same position. Further, the vertical scroll box position information of the selected page image is acquired from the information associated with the page image, and the vertical scroll box VBX is moved to the same position. As a result, the selected page of the opened document file is displayed (see FIG. 8B).
図9はページ表示制御プログラムに従って動作するアプリケーション制御部13の詳細構成図である。なお、ページ表示制御プログラムはOSの提供する最初の画面に表示されるようにした当該アイコンをダブルクリックなどして起動される。そして、起動後、この表示制御システムはページ表示制御プログラムとは別の、市場に提供されている1つまたは複数のアプリケーションプログラムによって表示される文書などのページ表示制御を行う。
図9に示したマウス入力制御部21は利用者のペン(マウスと同じ役割を持つ)操作により入力されたマウスデータを取り込み、マウス座標に割り付けられている機能を実行する。
ウィンドウ監視制御部22は周期的に動作して任意の1つまたは複数のアプリケーションプログラムによって表示中のウィンドウのウィンドウ情報を取得したり、ページ番号を表示したり、ページ制御情報をページ表示制御テーブル23に設定したりする。なお、ページ表示制御テーブル23は2つのアクセスインタフェースを持つメモリ内に設けている。
FIG. 9 is a detailed configuration diagram of the
The mouse input control unit 21 shown in FIG. 9 takes in mouse data input by a user's pen (having the same role as a mouse) operation, and executes a function assigned to the mouse coordinates.
The window
ページ表示ツールバー制御部24はページ表示ツールバーを表示させ、このページ表示ツールバー内の各ボタン押下を検知して対応する以下の機能を実行する。
(1)「ページ番号」ボタンの押下を検知してページ番号入力ダイアログを表示させる。
(2)「前頁」ボタンの押下を検知して表示ページを前のページに戻す。
(3)「後頁」ボタンの押下を検知して表示ページを次のページへ進める。
(4)「保存」ボタンの押下を検知して各ページ画像の保存制御を実行する。
(5)「一覧」ボタンの押下を検知してページ画像一覧を表示させる。
(6)「終了」ボタンの押下を検知してページ表示制御プログラムの動作を終了させる。
The page display tool
(1) The pressing of the “page number” button is detected to display a page number input dialog.
(2) When the “previous page” button is pressed, the display page is returned to the previous page.
(3) The pressing of the “back page” button is detected and the display page is advanced to the next page.
(4) The pressing of the “Save” button is detected and the saving control of each page image is executed.
(5) The pressing of the “list” button is detected to display a page image list.
(6) The operation of the page display control program is terminated by detecting the pressing of the “Finish” button.
ページ一覧ダイアログ制御部25はページ画像ファイルに保存されているページ画像を縮小して一覧表示させ、選択されたページ画像を表示させる。また、ページ番号ダイアログ制御部26はページ番号入力ダイアログを表示させ、ページ番号を入力させる。
ページ画像保存制御部27は表示されているページ画像の画像データ、ページ画像水平位置情報、およびページ画像垂直位置情報を取得してページ画像ファイルに保存する。また、ページ総数入力制御部28はページ総数入力ダイアログを表示させ、ページ総数を入力させる。
なお、この実施例では、ウィンドウ情報取得手段がウィンドウ監視制御部22により実現され、表示位置算出手段がページ表示ツールバー制御部24やページ一覧ダイアログ制御部25やページ画像保存制御部27により実現され、スクロールボックス位置制御手段がページ表示ツールバー制御部24やページ一覧ダイアログ制御部25により実現され、ページ番号指定手段がページ番号ダイアログ制御部26により実現され、画像データ保存手段がページ画像保存制御部27により実現され、ページ総数入力制御手段がページ総数入力制御部28により実現される。
The page list
The page image
In this embodiment, the window information acquisition unit is realized by the window
図10は、マウス入力制御部21によるマウス入力制御の動作フロー図である。以下、図10によりマウス入力制御の動作フローを説明する。
マウス入力制御部21はまずページ表示ツールバー(図6など参照)を表示させる(ステップ1)。そして、ページ表示制御テーブル23(図10参照)をクリアする(0を書き込む)(ステップ2)。さらに、ウィンドウ監視制御部22を1つのタスク(スレッド)として起動する(ステップ3)。
続いて、マウス入力制御部21はマウスデータの入力を待ち(ステップ4でN→ステップ4)、マウスデータを取得すると(ステップ4でY)、そのマウスデータがページ表示ツールバー領域の座標である場合(ステップ5でY)、つまりページ表示ツールバー操作である場合、ページ表示ツールバー制御部24にページ表示ツールバー制御を実行させる(ステップ6)。また、マウスデータがページ番号ダイアログ領域内の座標である場合(ステップ7でY)、つまりページ番号ダイアログ操作である場合、ページ番号ダイアログ制御部26にページ番号ダイアログ制御を実行させる(ステップ8)。また、ページ一覧ダイアログ領域内の座標である場合(ステップ9でY)、つまりページ一覧ダイアログ操作である場合、ページ一覧ダイアログ制御部25にページ一覧ダイアログ制御を実行させる(ステップ10)。
FIG. 10 is an operation flowchart of mouse input control by the mouse input control unit 21. Hereinafter, an operation flow of mouse input control will be described with reference to FIG.
The mouse input control unit 21 first displays a page display toolbar (see FIG. 6 and the like) (step 1). Then, the page display control table 23 (see FIG. 10) is cleared (0 is written) (step 2). Further, the window
Subsequently, the mouse input control unit 21 waits for input of mouse data (N in
次に、図11によりページ表示ツールバー制御部24のページ表示ツールバー制御を説明する。
まず、ページ表示ツールバー制御部24はマウスデータがマウスボタンON(ペンダウン)状態を示しているか否かを判定する(ステップ11)。そして、マウスボタンON状態ならば(ステップ11でY)、マウス座標にある選択ボタンを選択表示状態にして(ステップ12)この動作フローを抜ける。なお、簡略化のためONからOFFまで同一ボタン座標が入力されているものとする。
Next, the page display toolbar control of the page display
First, the page display
一方、マウスデータがマウスボタンOFF(ペンアップ)状態になったならば(ステップ11でN)、ページ表示ツールバー制御部24は選択ボタンを選択表示状態から通常表示状態に戻し(ステップ13)、マウス座標にあるボタンが「ページ番号」ボタンか否かを判定する(ステップ14)。そして、「ページ番号」ボタンであるならば(ステップ14でY)、ページ番号入力ダイアログPDを表示させ(ステップ15)、この動作フローを抜ける。
それに対して、マウス座標にあるボタンが「ページ番号」ボタンでないならば(ステップ14でN)、ページ表示ツールバー制御部24はマウス座標にあるボタンが「前頁」ボタンか否かを判定する(ステップ16)。そして、「前頁」ボタンであるならば(ステップ16でY)、そのときのページ番号が1より大きい場合(ステップ17でY)、ページ番号を1だけ減らして前ページを表示させ(ステップ18)、後述するページ表示制御を実行する(ステップ19)。
On the other hand, if the mouse data is in the mouse button OFF (pen-up) state (N in step 11), the page display
On the other hand, if the button at the mouse coordinates is not the “page number” button (N in step 14), the page display
また、マウス座標にあるボタンが「前頁」ボタンでないならば(ステップ16でN)、ページ表示ツールバー制御部24はマウス座標にあるボタンが「後頁」ボタンか否かを判定する(ステップ20)。そして、「後頁」ボタンであるならば(ステップ20でY)、そのときのページ番号がページ総数より小さい場合(ステップ21でY)、ページ番号を1だけ増やして次ページを表示させ(ステップ22)、後述するページ表示制御を実行する(ステップ23)。
前記において、マウス座標にあるボタンが「後頁」ボタンでないならば(ステップ20でN)、ページ表示ツールバー制御部24はマウス座標にあるボタンが「保存」ボタンか否かを判定する(ステップ24)。そして、「保存」ボタンであるならば(ステップ24でY)、後述するページ画像保存制御をページ画像保存制御部27に実行させ、ページ情報を保存する(ステップ25)。
前記において、マウス座標にあるボタンが「保存」ボタンでないならば(ステップ24でN)、ページ表示ツールバー制御部24はマウス座標にあるボタンが「一覧」ボタンか否かを判定する(ステップ26)。そして、「一覧」ボタンであるならば(ステップ26でY)、ページ一覧ダイアログを表示して後述するページ一覧ダイアログ制御をページ一覧ダイアログ制御部25に実行させる(ステップ27)。
If the button at the mouse coordinates is not the “previous page” button (N at step 16), the page display
In the above description, if the button at the mouse coordinates is not the “back page” button (N at step 20), the page display
In the above description, if the button at the mouse coordinates is not the “save” button (N in step 24), the page display
一方、マウス座標にあるボタンが「一覧」ボタンでないならば(ステップ26でN)、ページ表示ツールバー制御部24はマウス座標にあるボタンが「終了」ボタンか否かを判定する(ステップ28)。そして、「終了」ボタンであるならば(ステップ28でY)、開かれているページ画像ファイルを閉じる(ステップ29)。
続いて、ページ表示ツールバー制御部24はウィンドウ監視制御部22へ終了を通知する(ステップ30)。そして、ページ表示ツールバーTBを消去し(ステップ31)、ページ表示制御を終了する。
On the other hand, if the button at the mouse coordinates is not the “list” button (N in step 26), the page display
Subsequently, the page display
次に、図12によりページ番号ダイアログ制御部26が行うページ番号ダイアログ制御の動作フローを説明する。
まず、ページ番号ダイアログ制御部26はマウスデータがマウスボタンON(ペンダウン)状態を示しているか否かを判定する(ステップ41)。そして、マウスボタンON状態ならば(ステップ41でY)、マウス座標にあるページ番号入力ダイアログPD内の選択ボタンを選択表示状態にして(ステップ42)この動作フローを抜ける。なお、簡略化のためONからOFFまで同一ボタン座標が入力されているものとする。
Next, an operation flow of page number dialog control performed by the page number
First, the page number
一方、マウスデータがマウスボタンOFF(ペンアップ)状態になったならば(ステップ41でN)、ページ番号ダイアログ制御部26は選択ボタンを選択表示状態から通常表示状態に戻し(ステップ43)、マウス座標にあるボタンが「数字」ボタンか否かを判定する(ステップ44)。そして、「数字」ボタンであるならば(ステップ44でY)、マウスボタン位置の数字をワークメモリ内のページ番号データテーブル(図12参照)に保存する(ステップ45)。なお、ページ番号データテーブル内の入力桁数領域には0を書き込んでおく。
続いて、ページ番号ダイアログ制御部26はページ番号データテーブル中の桁数の値を1だけ増やし(ステップ46)、さらに、そのときページ番号データテーブルに保存入力された入力数字をページ番号入力ダイアログPD内のページ番号Pの当該桁の数値として第1の位(右端)に表示する(ステップ47)(1,2,3の順に入力された場合「123」と表示する)。
On the other hand, if the mouse data is in the mouse button OFF (pen-up) state (N in step 41), the page number
Subsequently, the page number
一方、マウス座標にあるボタンが「数字」ボタンでないならば(ステップ44でN)、マウス座標にあるボタンが「DEL(削除)」ボタンか否かを判定する(ステップ48)。そして、「DEL」ボタンであるならば(ステップ48でY)、入力桁数が0より大きいか否か、つまり少なくとも1桁の数字が入力されたか否かを判定し(ステップ49)、入力されておれば(ステップ49でY)直前に入力された数字を削除し、ページ番号テーブル内の入力桁数を1だけ減らし(ステップ50)、削除後の桁数の数字を表示する(但し、0桁ならば表示しない)(ステップ51)。
それに対して、マウス座標にあるボタンが「DEL」ボタンでないならば(ステップ48でN)、マウス座標にあるボタンが「キャンセル」ボタンか否かを判定する(ステップ52)。そして、「キャンセル」ボタンであるならば(ステップ52でY)、ページ番号ダイアログを画面から消す(ステップ53)。また、マウス座標にあるボタンが「キャンセル」ボタンでないならば(ステップ52でN)、マウス座標にあるボタンが「OK」ボタンか否かを判定する(ステップ54)。そして、「OK」ボタンであるならば(ステップ54でY)、ページ番号ダイアログを画面から消し(ステップ55)、入力されたページ番号のページ画像を表示するページ表示制御を実行させる(ステップ56)。
On the other hand, if the button at the mouse coordinates is not a “number” button (N in step 44), it is determined whether or not the button at the mouse coordinates is a “DEL (delete)” button (step 48). If it is a “DEL” button (Y in step 48), it is determined whether or not the number of input digits is greater than 0, that is, whether or not at least one digit has been input (step 49). If this is the case (Y in step 49), the number input immediately before is deleted, the number of input digits in the page number table is reduced by 1 (step 50), and the number of digits after deletion is displayed (however, 0 If it is a digit, it is not displayed) (step 51).
On the other hand, if the button at the mouse coordinates is not the “DEL” button (N in step 48), it is determined whether or not the button at the mouse coordinates is the “cancel” button (step 52). If it is a “cancel” button (Y in step 52), the page number dialog is cleared from the screen (step 53). If the button at the mouse coordinates is not a “cancel” button (N in step 52), it is determined whether or not the button at the mouse coordinates is an “OK” button (step 54). If it is an “OK” button (Y in step 54), the page number dialog is cleared from the screen (step 55), and page display control for displaying the page image of the input page number is executed (step 56). .
次に、図13によりページ一覧ダイアログ制御部25が行うページ一覧ダイアログ制御の動作フローを説明する。
まず、ページ一覧ダイアログ制御部25はマウスデータがマウスボタンON(ペンダウン)状態を示しているか否かを判定する(ステップ61)。そして、マウスボタンON状態ならば(ステップ61でY)、ページ一覧画面(図8(a)参照)上でマウス座標が垂直スクロールボックスVBX内か否かを判定し(ステップ62)、垂直スクロールボックス内である場合(ステップ62でY)、表示されているページ一覧画像を入力されるマウス座標に従ってスクロール表示させる(ステップ63)。また、垂直スクロールボックスVBXの表示位置を入力されるマウス座標に従って移動させる(ステップ64)。
それに対して、マウス座標が垂直スクロールボックスVBX内でないならば(ステップ62でN)、ページ一覧ダイアログ制御部25はマウス座標が一覧表示されているいずれかのページ画像内か否かを判定し(ステップ65)、ページ画像内である場合(ステップ65でY)、マウス座標下のページ画像を選択表示させる(ステップ66)。また、ページ画像内でないならば(ステップ65でN)、ON座標が「戻る」ボタンまたは「表示」ボタン(図8(a)参照)内の場合、そのON座標ボタンを選択表示状態にする(ステップ67)。
Next, an operation flow of page list dialog control performed by the page list
First, the page list
On the other hand, if the mouse coordinates are not in the vertical scroll box VBX (N in step 62), the page list
一方、マウスボタンの状態がON状態でなくなったならば(ステップ61でN)、そのときのマウス座標が垂直スクロールボックス内でない場合(ステップ68でN)、ページ一覧ダイアログ制御部25はマウス座標が一覧画像中のいずれかのページ画像内か否かを判定する(ステップ69)。そして、ページ画像内であれば(ステップ69でY)、選択されたページ画像(マウス座標位置のページ画像)の水平位置情報および垂直位置情報をページ画像情報データテーブル(図13参照)に保存する(ステップ70)。
また、ページ画像内でない場合(ステップ69でN)、ページ一覧ダイアログ制御部25はマウス座標が「戻る」ボタン内か否かを判定し(ステップ71)、「戻る」ボタン内であれば(ステップ71でY)、ページ一覧ダイアログの表示を終了させる(ステップ72)。
On the other hand, if the mouse button is no longer in the ON state (N in step 61), and if the mouse coordinates at that time are not within the vertical scroll box (N in step 68), the page list
If it is not within the page image (N in step 69), the page list
一方、マウス座標が「戻る」ボタン内でない場合(ステップ71でN)、ページ一覧ダイアログ制御部25はマウス座標が「表示」ボタン内か否かを判定する(ステップ73)。そして、「表示」ボタン内であれば(ステップ73でY)、ページ一覧ダイアログの表示を終了させ(ステップ74)、選択されたページ画像を含む文書ファイルなどを開く。
続いて、ページ画像情報データテーブルに保存されたページ画像垂直位置情報を垂直スクロールボックス位置情報としてページ表示制御テーブル(図13参照)に保存する(ステップ75)。さらに、ページ画像情報データテーブルに保存されたページ画像水平位置へ水平スクロールボックスを移動させ(ステップ76)、ページ画像垂直位置へ垂直スクロールボックスを移動させる(ステップ77)。
こうして、スクロールボックス位置に従い、開かれている文書ファイル中の選択ページが表示される。
On the other hand, if the mouse coordinates are not within the “return” button (N in step 71), the page list
Subsequently, the page image vertical position information stored in the page image information data table is stored in the page display control table (see FIG. 13) as vertical scroll box position information (step 75). Further, the horizontal scroll box is moved to the horizontal position of the page image stored in the page image information data table (step 76), and the vertical scroll box is moved to the vertical position of the page image (step 77).
Thus, the selected page in the opened document file is displayed according to the scroll box position.
次に、図14によりページ画像保存制御部27が行うページ画像保存制御の動作フローを説明する。なお、ここでは、利用者のスクロールボックス操作により表示されている画面上のページ画像の画像データを保存する。
まず、ページ画像保存制御部27はページ画像を含む文書または画像の全体の画像データを取り込む(ステップ91)。そして、ページ表示ウィンドウハンドルによりウィンドウ情報(左上原点座標、幅、高さ)を取得する(ステップ92)。さらに、ページ画像保存制御部27は全体の画像データからウィンドウ領域にあるページ画像の画像データを抜き取り、ページ画像ファイル(図14参照)に保存する(ステップ93)。
Next, an operation flow of page image storage control performed by the page image
First, the page image
続いて、垂直スクロールバーハンドルにより垂直スクロールバー情報を取得し(ステップ94)、そのなかから垂直スクロールボックス位置の値VPを抽出し(ステップ95)、ページ画像垂直位置情報としてページ画像ファイル(図14参照)に保存する(ステップ96)。また、水平スクロールバーハンドルにより水平スクロールバー情報を取得し(ステップ97)、水平スクロールボックス位置の値HPを抽出し(ステップ98)、ページ画像水平位置情報としてページ画像ファイルに保存する(ステップ99)。
この後は、ページ画像ファイルのページ画像総数を1だけ増やし(ステップ100)、この動作フローを抜ける。
Subsequently, the vertical scroll bar information is obtained by the vertical scroll bar handle (step 94), the value VP of the vertical scroll box position is extracted from the vertical scroll bar handle (step 95), and the page image file (FIG. 14) is obtained as the page image vertical position information. (See step 96). Also, horizontal scroll bar information is acquired by the horizontal scroll bar handle (step 97), the value HP of the horizontal scroll box position is extracted (step 98), and is stored in the page image file as page image horizontal position information (step 99). .
Thereafter, the total number of page images in the page image file is increased by 1 (step 100), and the operation flow is exited.
次に、図15によりページ表示ツールバー制御部24が行うページ表示制御の動作フローを説明する。なお、この動作フローは周期的に実行され、この動作フローに入る前の図11に示した動作フローでページ番号が与えられ、そのページ番号のページ画像が表示されているものとする。
まず、ページ表示ツールバー制御部24は垂直スクロールバーハンドルにより表示画面の垂直スクロールバー情報を取得し(ステップ101)、そのなかから垂直スクロール長VLを取得する(ステップ102)。そして、その垂直スクロール長VLを保存し(ステップ103)、さらに、そのスクロール長VLを用いて次式から垂直スクロールボックス位置VPを算出する(ステップ104)。
VP=垂直スクロール長×(ページ番号―1)/ページ総数
=VL×(P−1)/TP
続いて、算出した垂直スクロールボックス位置VPをページ表示制御テーブル23に保存し(ステップ105)、垂直スクロールボックスVBXの表示位置を算出した位置へ移動させる(ステップ106)。さらに、当該ページ番号をページ表示制御テーブル23に保存し(ステップ107)、ページ表示ツールバーTB(図6参照)内の「ページ番号」ボタンにそのページ番号を表示させる(ステップ108)。
Next, an operation flow of page display control performed by the page display
First, the page display
VP = vertical scroll length × (page number−1) / total number of pages = VL × (P−1) / TP
Subsequently, the calculated vertical scroll box position VP is stored in the page display control table 23 (step 105), and the display position of the vertical scroll box VBX is moved to the calculated position (step 106). Further, the page number is stored in the page display control table 23 (step 107), and the page number is displayed on the “page number” button in the page display toolbar TB (see FIG. 6) (step 108).
次に、図16および図17によりウィンドウ監視制御部22が行うウィンドウ監視制御の動作フローを説明する。なお、ウィンドウ監視制御部22はタスク(スレッド)として動作する。
まず、ウィンドウ監視制御部22は表示中のすべてのウィンドウのウィンドウ情報を取得し、そのウィンドウ情報をウィンドウ情報データテーブル(図16参照)に保存する(ステップ111)。そして、ワークメモリ中のNの値を0にするとともに(ステップ112)、そのとき取得したウィンドウの数である取得数をウィンドウ情報データテーブルに記憶する。なお、Nは取得したウィンドウ中のN番目のウィンドウを示す値である。
続いて、ウィンドウ監視制御部22はNの値がウィンドウ情報データテーブル中の取得数より小さいか否かを判定し(ステップ113)、小さいならば(ステップ113でY)、取得したウィンドウ情報の1つ(当該ウィンドウ情報)が垂直スクロールバーウィンドウを示しているか否かを判定し(ステップ114)、垂直スクロールバーウィンドウでないならば(ステップ114でN)そのウィンドウが垂直スクロールバーを含むか否かを判定する(ステップ115)。そして、垂直スクロールバーを含まないならば(ステップ115でN)、Nの値を1だけ増やし(ステップ116)、ステップ113から繰り返す。
Next, an operation flow of window monitoring control performed by the window
First, the window
Subsequently, the window
それに対して、垂直スクロールバーウィンドウである場合(ステップ114でY)、または垂直スクロールバーを含む場合(ステップ115でY)、ウィンドウ監視制御部22はその垂直スクロールバーが既にページ表示制御テーブル23に登録されているか否かを判定する(ステップ117)。そして、登録されていない場合(ステップ117でN)、垂直スクロールバーハンドルをページ表示制御テーブル23に保存する(ステップ118)。
続いて、ウィンドウ監視制御部22は垂直スクロールバーVBRに左接するウィンドウW(図4参照)、または垂直スクロールバーVBRを含むウィンドウ(ページ表示ウィンドウ)を検索する(ステップ119)。そして、見つかったウィンドウのウィンドウハンドルをページ表示制御テーブル23に保存する(ステップ120)。
On the other hand, if the window is a vertical scroll bar window (Y in step 114) or includes a vertical scroll bar (Y in step 115), the window
Subsequently, the window
次に、ウィンドウ監視制御部22はページ表示ウィンドウWに下接する水平スクロールバーウィンドウ、またはページ表示ウィンドウに付属する水平スクロールバーを検索する(ステップ121)。そして、見つかった水平スクロールバーの水平スクロールバーハンドルをページ表示制御テーブル23に保存する(ステップ122)。
続いて、ウィンドウ監視制御部22はページ総数入力制御部28にページ総数入力制御を実行させ(ステップ123)、そのときに1つまたは複数のアプリケーションプログラムにより表示されているページ総数を入力させる。そして、そのページ総数をページ表示制御テーブル23に保存する(ステップ124)。さらに、ページ表示制御テーブル23内の垂直スクロール長を0に設定する(ステップ125)。
Next, the window
Subsequently, the window
次に、ウィンドウ監視制御部22はワークメモリ内のNの値を0にする(ステップ(ステップ126)。なお、ステップ113でNが取得数に達したと判定された場合(ステップ113でN)、およびステップ117で垂直スクロールバーが登録されていると判定された場合(ステップ117でY)もステップ126へ進み、Nの値を0にする。
続いて、ウィンドウ監視制御部22はNが取得数より小さいか否かを判定し(ステップ127)、小さい場合(ステップ126からステップ127へ進んだ場合には当然小さい)(ステップ127でY)、ページ表示制御テーブル23に保存されている垂直スクロールハンドルが表示中のウィンドウWのなかに存在するか否かを調べる(ステップ128)。そして、表示中のウィンドウWのなかに存在しているならば(ステップ128でY)、存在しているそれぞれの垂直スクロールバーハンドルにより垂直スクロールバー情報を取得する(ステップ130)。
Next, the window
Subsequently, the window
次に、ウィンドウ監視制御部22は垂直スクロールボックスVBXの位置が変化したか否かを判定する(ステップ131)。そして、位置が変化していない場合(ステップ131でN)、文書ファイルに対して新たなページの追加やページの削除が行われ、それにより垂直スクロール表示長が変化しているか否かを判定し(ステップ132)、変化していないならば(ステップ132でN)、ステップ140へ進む。それに対して、垂直スクロールボックスVBXの位置が変化していた場合(ステップ131でY)、または垂直スクロール表示長が変化していた場合は(ステップ132でY)、垂直スクロール長VLなどをページ表示制御テーブル23に保存し(ステップ133)、垂直スクロールボックス位置VPをページ表示制御テーブル23に保存する(ステップ134)。
さらに、ウィンドウ監視制御部22はページ番号を次式から算出し(135)、ページ表示制御テーブル23に保存する(ステップ136)。
(ページ総数TP×垂直スクロールボックス位置VP/垂直スクロール長VL)+1
また、算出したページ番号をページ表示ツールバーTB(図6参照)内の「ページ番号」ボタンに表示させる(ステップ137)。
Next, the
Further, the window
(Total number of pages TP × vertical scroll box position VP / vertical scroll length VL) +1
The calculated page number is displayed on the “page number” button in the page display toolbar TB (see FIG. 6) (step 137).
その後、当該アプリケーションプログラムの終了に伴い、ページ表示制御テーブル23に登録されていた対応する垂直スクロールバーが閉じたとき、ウィンドウ監視制御部22は対応するページ画像ファイルを削除する(ステップ138)。そして、ページ表示制御テーブル23内の対応部分を更新および消去し、すべての垂直スクロールバーが閉じられてすべてのページ画像ファイルを削除したとき、ページ表示制御テーブル23のすべてを消去する(ステップ139)。
その後は所定時間(100ms程度)停止状態にし(ステップ140)、その間にページ表示ツールバーTB(図6参照)内の「終了」ボタンの押下がなければ(ステップ141でN)、ステップ111から繰り返し、「終了」ボタンの押下があれば(ステップ141でY)、ウィンドウ監視制御を終了する。
Thereafter, when the corresponding vertical scroll bar registered in the page display control table 23 is closed along with the termination of the application program, the window
After that, it is stopped for a predetermined time (about 100 ms) (step 140), and during that time, if the “end” button in the page display toolbar TB (see FIG. 6) is not pressed (N in step 141), it repeats from
次に、図18によりページ総数入力制御部28が行うページ総数入力制御の動作フローを説明する。
この実施例では、ページ総数入力制御部28は、ページ表示制御情報が登録されていない垂直スクロールボックスを示すウィンドウ情報をウィンドウ監視制御部22から取得したとき、ページ総数入力ダイアログTPD(図6または図18参照)を表示させる(ステップ151)。そして、ページ総数データテーブル(図18参照)内の桁数を0に設定する(ステップ152)。
この状態でマウスデータを受け取ると(ステップ153でY)、ページ総数入力制御部28はそのマウスデータがマウスボタンのON状態を示しているか否かを判定し(ステップ154)、マウスボタンのON状態を示していたならば(ステップ154でY)、マウスボタン座標下のボタンを選択表示状態にする(ステップ155)(ONからOFFまで同一ボタン座標とする)。そして、マウスボタンがOFF状態になったならば(ステップ154でN)、選択表示状態のボタンを通常表示に戻す(ステップ156)。
Next, an operation flow of the total page number input control performed by the total page number
In this embodiment, the page total number
When mouse data is received in this state (Y in step 153), the page total number
続いて、ページ総数入力制御部28はマウス座標が「数字」ボタン内か否かを判定し(ステップ157)、「数字」ボタン内であるならば(ステップ157でY)、マウス座標位置のボタン数字をページ総数データテーブルに保存する(ステップ158)。そして、ページ総数データテーブル内の桁数の値を1だけ増やし(ステップ159)、そのページ番号をページ総数入力ダイアログへ表示させる(ステップ160)。例えば1,2,3と入力されたならば、入力順に「123」と表示させる。
一方、マウス座標が「数字」ボタン内でないならば(ステップ157でN)、ページ総数入力制御部28はマウス座標が「Del」ボタンか否かを判定する(ステップ161)。そして、「Del」ボタン内である場合(ステップ161でY)、ページ総数データテーブル内の桁数の値が0より大きいならば(ステップ162でY)、直前の入力数字を削除する。さらに、桁数の値を1だけ減らし(ステップ163)、そのページ番号をページ総数入力ダイアログに表示させる(ステップ164)。また、桁数の値が0ならば(ステップ162でN)、ステップ153から繰り返す。
Subsequently, the page total number
On the other hand, if the mouse coordinates are not within the “number” button (N in step 157), the page total number
それに対して、マウス座標が「Del」ボタン内でないならば(ステップ161でN)、ページ総数入力制御部28はマウス座標が「OK」ボタンか否かを判定する(ステップ165)。そして、「OK」ボタン内でないならば(ステップ165でN)、ステップ153から繰り返す。また、マウス座標が「OK」ボタン内であるならば(ステップ165でY)、ページ総数入力ダイアログの表示を終わらせ(ステップ166)、入力されたページ総数をこのページ総数入力制御タスクの呼び出し側へ渡してこの動作フローから抜ける。
こうして、この実施例によれば、最初の操作ではスクロールボックスを用いる代わりにページ番号を指定したりページ画像を一覧表示されたなかから選択したりする方法でページ出しを行い、その後は必要に応じてスクロールバー内のスクロールボックスや矢印ボタンを用いてスクロールさせることにより、容易に所望の部分を表示させることができる。特に、本発明を電子ホワイトボードなどに実施した場合で、表示文書と同じ内容のページ入り印刷文書が手元にあるプレゼンテーションのような際に、その印刷文書の特定のページを表示させるようなときには、ページもわかっているので、容易に所望のページを表示させることができる。また、ページ出しを縮小したページ画像の一覧を用いて指定することにより行う構成ではページ番号を覚えておかなくともページ出しができる。
On the other hand, if the mouse coordinates are not within the “Del” button (N in step 161), the page total number
Thus, according to this embodiment, in the first operation, instead of using the scroll box, page numbering is performed by specifying a page number or selecting a page image from a list displayed, and thereafter, as necessary. By scrolling using a scroll box or an arrow button in the scroll bar, a desired portion can be easily displayed. In particular, when the present invention is implemented on an electronic whiteboard or the like, when a specific page of a printed document is displayed in a presentation having a printed document with the same contents as the displayed document at hand, Since the page is also known, the desired page can be easily displayed. Further, in the configuration in which the page number is specified by using a list of reduced page images, the page number can be output without remembering the page number.
また、ページ表示の際にページ番号を表示する構成では、利用者は表示されているページの確認やページ繰りなどにそのページ番号を活用でき、したがってさらに容易に所望の部分を表示させることができる。
また、OSの機能を用いて任意のアプリケーションプログラムにより作成・表示されている文書や画像についてウィンドウ情報やスクロールバー情報を取得することにより、そのような文書や画像を対象にして以上のような効果を得ることができる。
なお、前記においては、一実施例について説明したが、説明したようなスクロール表示方法に従ってプログラミングしたプログラムを着脱可能な記憶媒体に記憶し、その記憶媒体をこれまで本発明によったスクロール表示を行えなかったパーソナルコンピュータなど情報処理装置に装着することにより、または、そのようなプログラムをネットワークを介してそのような情報処理装置へ転送することにより、そのような情報処理装置においても本発明によったスクロール表示を行うことができる。
Further, in the configuration in which the page number is displayed when the page is displayed, the user can utilize the page number for confirmation of the displayed page, page turning, and the like, and therefore, a desired portion can be displayed more easily. .
In addition, by acquiring window information and scroll bar information for a document or image created and displayed by an arbitrary application program using an OS function, the above effects can be obtained for such a document or image. Can be obtained.
In the above, one embodiment has been described. However, a program programmed according to the scroll display method as described above is stored in a removable storage medium, and the storage medium can perform scroll display according to the present invention so far. According to the present invention, such an information processing apparatus is mounted on an information processing apparatus such as a personal computer that has not been installed, or such a program is transferred to such an information processing apparatus via a network. Scroll display can be performed.
1 電子ペン
2 タッチパネルディスプレイ
3 液晶ディスプレイ
4 PC本体
11 タッチパネルドライバ
12 マウスインタフェース
13 アプリケーション処理部
21 マウス入力制御部
22 ウィンドウ監視制御部
23 ページ表示制御テーブル
24 ページ表示ツールバー制御部
25 ページ一覧ダイアログ制御部
26 ページ番号ダイアログ制御部
27 ページ画像保存制御部
28 ページ総数入力制御部
DESCRIPTION OF
Claims (17)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006196256A JP2008027003A (en) | 2006-07-18 | 2006-07-18 | Display control system, scroll display method, program, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006196256A JP2008027003A (en) | 2006-07-18 | 2006-07-18 | Display control system, scroll display method, program, and recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008027003A true JP2008027003A (en) | 2008-02-07 |
Family
ID=39117595
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006196256A Pending JP2008027003A (en) | 2006-07-18 | 2006-07-18 | Display control system, scroll display method, program, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008027003A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012043204A (en) * | 2010-08-19 | 2012-03-01 | Konica Minolta Business Technologies Inc | Image processor, content processing method and content processing program |
KR20230015500A (en) * | 2020-07-20 | 2023-01-31 | 히타치 에너지 스위처랜드 아게 | Electrical induction device having a contact arrangement for electrically contacting electrical conductors |
-
2006
- 2006-07-18 JP JP2006196256A patent/JP2008027003A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012043204A (en) * | 2010-08-19 | 2012-03-01 | Konica Minolta Business Technologies Inc | Image processor, content processing method and content processing program |
KR20230015500A (en) * | 2020-07-20 | 2023-01-31 | 히타치 에너지 스위처랜드 아게 | Electrical induction device having a contact arrangement for electrically contacting electrical conductors |
KR102503074B1 (en) | 2020-07-20 | 2023-02-23 | 히타치 에너지 스위처랜드 아게 | Electrical induction device having a contact arrangement for electrically contacting electrical conductors |
US11769618B2 (en) | 2020-07-20 | 2023-09-26 | Hitachi Energy Switzerland Ag | Electrical induction device with contact arrangement for electrically contacting an electrical conductor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4412737B2 (en) | Information display device | |
JP4389090B2 (en) | Information display device | |
US20100295806A1 (en) | Display control apparatus, display control method, and computer program | |
US20070038955A1 (en) | Pen-based computer system having first and second windows together with second window locator within first window | |
KR20100130671A (en) | Method and apparatus for providing selected area in touch interface | |
US20140189482A1 (en) | Method for manipulating tables on an interactive input system and interactive input system executing the method | |
JP5664164B2 (en) | Electronic information board device, information display method, program | |
JPH09319556A (en) | Information processor | |
CN105247468B (en) | Programable display and its screen operation processing routine | |
JP2009198734A (en) | Multi-display control method and control program and multi-display apparatus | |
JP5780409B2 (en) | Display control apparatus and program | |
JP5875262B2 (en) | Display control device | |
JPH06131110A (en) | Information processor | |
JP2009116727A (en) | Image input display | |
JP2008027003A (en) | Display control system, scroll display method, program, and recording medium | |
US20140075376A1 (en) | Display control apparatus, storage medium, display control system, and display method | |
JP5256755B2 (en) | Information processing method and information processing apparatus | |
JP4659674B2 (en) | Document position correction method and program causing computer to execute the method | |
KR100899035B1 (en) | Electronic board system which use a plural number of display panel and use method | |
JP6670345B2 (en) | Information processing apparatus, information processing program, and information processing method | |
JPH06282400A (en) | Method and system for automatic save and display of pop up menu | |
JP2008040860A (en) | Electronic pen input terminal system | |
JP2008027002A (en) | Overwrite control system, overwrite page storage/display method, program, and recording medium | |
JP5228590B2 (en) | Coordinate determination method and information processing apparatus | |
JP2015127953A (en) | Portable terminal, and control method and program therefor |