JP5068717B2 - Document display device, document display method, and document display program - Google Patents

Document display device, document display method, and document display program Download PDF

Info

Publication number
JP5068717B2
JP5068717B2 JP2008238709A JP2008238709A JP5068717B2 JP 5068717 B2 JP5068717 B2 JP 5068717B2 JP 2008238709 A JP2008238709 A JP 2008238709A JP 2008238709 A JP2008238709 A JP 2008238709A JP 5068717 B2 JP5068717 B2 JP 5068717B2
Authority
JP
Japan
Prior art keywords
image
document
page
scroll
page break
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008238709A
Other languages
Japanese (ja)
Other versions
JP2010072884A (en
Inventor
満 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2008238709A priority Critical patent/JP5068717B2/en
Publication of JP2010072884A publication Critical patent/JP2010072884A/en
Application granted granted Critical
Publication of JP5068717B2 publication Critical patent/JP5068717B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Description

本発明は、文書画像のページ位置を検出する文書表示装置、文書表示方法および文書表示プログラムに関する。   The present invention relates to a document display device, a document display method, and a document display program for detecting a page position of a document image.

文書編集作業は、汎用OS(Operation System)上で動作するアプリケーションプログラムにより行われるのが一般的となっている。文書画像を編集する際に、文書画像の全領域が表示ウィンドウよりも大きい場合には、API(Application Interface)を介してスクロールバーIDを取得し、このスクロールバーIDのスクロールバーを移動する指示をアプリケーションに送って、スクロールバーIDを垂直または水平に移動して該当領域の編集処理を行っている。しかし、APIによりスクロールバーを表示する機能を備えた文書編集アプリケーションであっても、ページ番号表示機能を備えていない場合がある。ページ番号表示機能を備えていない文書編集アプリケーションで文書画像を作成すると、特に文書画像が大きい場合には、表示したい領域を毎回スクロールして検索しなければならず、手間と時間がかかることとなる。   The document editing work is generally performed by an application program that operates on a general-purpose OS (Operation System). When editing the document image, if the entire area of the document image is larger than the display window, the scroll bar ID is obtained via an API (Application Interface), and an instruction to move the scroll bar of the scroll bar ID is issued. The data is sent to the application, and the scroll bar ID is moved vertically or horizontally to edit the corresponding area. However, even a document editing application having a function of displaying a scroll bar by API may not have a page number display function. If a document image is created by a document editing application that does not have a page number display function, especially when the document image is large, the area to be displayed must be scrolled and searched each time, which takes time and effort. .

上記の問題を解決するため、種々の技術が提案されており、例えば、スクロールバーにインデックスを付け、インデックスを選択することによりページを識別する技術が提案されている(特許文献1)。また、スクロール領域長に基づいてタグを付け、タグを選択することによりページを識別する技術も提案されている(特許文献2)。さらに、アプリケーションが提供する機能によりページを認識する技術も開発されている。   In order to solve the above problems, various techniques have been proposed. For example, a technique for identifying a page by attaching an index to a scroll bar and selecting an index has been proposed (Patent Document 1). In addition, a technology for identifying a page by attaching a tag based on the scroll region length and selecting the tag has been proposed (Patent Document 2). Furthermore, a technology for recognizing a page by a function provided by an application has been developed.

特開2000−172401号公報Japanese Patent Laid-Open No. 2000-172401 特開2001−34383号公報JP 2001-34383 A

しかしながら、特許文献1および特許文献2の技術では、表示される文書のページ番号は、文書画像を作成したプログラム(以下、作成プログラムという。)と文書画像を読み込んだプログラム(以下、読込プログラムという。)が異なる場合、互換性を有さない事態が生じ得る。作成プログラムと読込プログラムが、ページ位置表示機能の互換性を有さない場合には、読込時に表示した文書表示領域のページ番号が、作成時のページ番号と異なるという不具合が生じることとなる。また、ページを認識する技術については、作成プログラムが、表示する文書のページ番号を読込プログラムに通知する機能を備えたアプリケーションプログラムを使用する必要がある。しかし、この機能を有するプログラムは僅かであり、また、ページ番号を通知する方法がプログラムにより異なっているため、個々のプログラムに応じた調整が必要となる。さらに、ページ番号を表示する領域の画像を取得する方法、数字を認識する方法、ページ番号を知る方法についてもそれぞれ表示領域が異なりそれぞれの対応が必要となる。   However, in the techniques of Patent Document 1 and Patent Document 2, the page number of the displayed document is a program that creates a document image (hereinafter referred to as a creation program) and a program that reads the document image (hereinafter referred to as a read program). ) Are different, an incompatible situation may occur. If the creation program and the reading program do not have the compatibility of the page position display function, there is a problem that the page number of the document display area displayed at the time of reading is different from the page number at the time of creation. As for the technology for recognizing pages, it is necessary for the creating program to use an application program having a function of notifying the reading program of the page number of the document to be displayed. However, there are only a few programs having this function, and the method for notifying the page number differs depending on the program, so that adjustment according to each program is required. Further, the method for acquiring the image of the area for displaying the page number, the method for recognizing the number, and the method for knowing the page number are different from each other in the display area.

本発明は、上記に鑑みてなされたものであって、文書画像を表示する際の利便性を簡便な操作により向上させることが可能な文書表示装置、文書表示方法および文書表示プログラムを提供することを目的とする。   The present invention has been made in view of the above, and provides a document display device, a document display method, and a document display program capable of improving convenience when displaying a document image by a simple operation. With the goal.

上述した課題を解決し、目的を達成するために、本発明は、複数ページからなる文書画像のページ区切りの位置を示すページ情報を記憶可能な記憶部と、文書表示領域上に、透過画像を表示する表示制御部と、文書画像を前記文書表示領域上に表示するアプリケーションに対して、文書画像をスクロール移動させるためのスクロール指示シンボルを移動する指示を行うことにより、前記透過画像上で前記文書画像を移動させるスクロール制御部と、前記スクロール制御部による指示に基づいてアプリケーションにより前記文書画像を移動させながら、前記文書画像のページ区切りを示すページ区切り画像を検出するページ区切り画像検出部と、検出された前記ページ区切り画像の位置に基づいて前記文書画像の前記ページ情報を前記記憶部に保存するページ情報特定部と、を備えることを特徴とする。   In order to solve the above-described problems and achieve the object, the present invention provides a storage unit capable of storing page information indicating a page break position of a document image composed of a plurality of pages, and a transparent image on the document display area. An instruction to move a scroll instruction symbol for scrolling the document image is given to the display control unit to display and an application for displaying the document image on the document display area, so that the document is displayed on the transparent image. A scroll control unit that moves an image, a page break image detection unit that detects a page break image indicating a page break of the document image while moving the document image by an application based on an instruction from the scroll control unit, and a detection The page information of the document image is stored in the storage unit based on the position of the page-separated image. A page information specifying unit exists, characterized in that it comprises a.

また、本発明は、上記装置で実行される方法、コンピュータを上記装置の各部として機能させるためのプログラムである。   The present invention is also a method executed by the apparatus and a program for causing a computer to function as each unit of the apparatus.

本発明によれば、アプリケーションに文書画像を移動させながら、文書画像からページの区切り位置に表示される画像であるページ区切り画像を検出して、検出したページ区切り画像の位置を記憶部に保存することにより、作成プログラムと読込プログラムの種別を問わず、簡便な操作により文書ページ位置を容易に検出することができるという効果を奏する。   According to the present invention, while moving a document image to an application, a page break image that is an image displayed at a page break position is detected from the document image, and the position of the detected page break image is stored in the storage unit. Thus, there is an effect that the document page position can be easily detected by a simple operation regardless of the type of the creation program and the reading program.

以下に添付図面を参照して、この発明にかかる文書表示装置の最良な実施の形態を詳細に説明する。   Exemplary embodiments of a document display device according to the present invention will be explained below in detail with reference to the accompanying drawings.

図1は、本実施の形態にかかる文書表示装置100の構成を示すブロック図である。本図に示すように文書表示装置100は、アプリケーション120と、ページ区切り検出部130と、HDD(Hard Disk Drive)106と、入力部110と、表示部111とを主に備えている。   FIG. 1 is a block diagram showing a configuration of a document display apparatus 100 according to the present embodiment. As shown in the figure, the document display device 100 mainly includes an application 120, a page break detection unit 130, an HDD (Hard Disk Drive) 106, an input unit 110, and a display unit 111.

アプリケーション120は、文書を表示部111に表示したり、文書を表示部111に表示しながら作成したりするアプリケーションであり、例えば、Microsoft社(R)のWord(R)や、Adobe(R)社のAcrobat Reader(R)等が該当する。このアプリケーションは、文書画像を読み込む。ここで、文書画像とは、文字等も画像として表された文書画像や文書作成アプリケーションで作成された電子文書などの文書データも含むものとする。また、文書画像は、複数ページからなるものであり、各ページはページ区切り画像で区切られている。また、この文書画像が表示部111に表示される領域を、文書表示領域という。   The application 120 is an application that displays a document on the display unit 111 or creates a document while displaying the document on the display unit 111. For example, Word (R) of Microsoft (R) or Adobe (R) Acrobat Reader (R) and the like. This application reads document images. Here, the document image includes document data such as a document image in which characters and the like are represented as an image and an electronic document created by a document creation application. The document image is composed of a plurality of pages, and each page is separated by a page separation image. An area where the document image is displayed on the display unit 111 is referred to as a document display area.

ページ区切り検出部130は、アプリケーション120によって文書表示領域に表示された文書画像のページ区切りを検出するものであり、図1に示すように、ページ区切り画像検出部105と、スクロール制御部104と、ページ情報特定部106とを備えている。   The page break detection unit 130 detects a page break of the document image displayed in the document display area by the application 120. As shown in FIG. 1, the page break detection unit 105, the scroll control unit 104, And a page information specifying unit 106.

表示制御部103は、アプリケーション120によって文書画像の上に透過画像としての透明ウィンドウを表示するものである。従って、この透明ウィンドウを介して文書画像が表示されることになる。また、表示制御部103は、この透明ウィンドウの略中央領域の垂直方向のラインを、検出ラインとして表示する。この検出ライン上で文書画像がスクロール移動してページ区切りが検出される。   The display control unit 103 causes the application 120 to display a transparent window as a transparent image on the document image. Therefore, the document image is displayed through this transparent window. Further, the display control unit 103 displays a vertical line in a substantially central region of the transparent window as a detection line. The document image is scrolled on the detection line to detect a page break.

スクロール制御部104は、アプリケーション120に対して、オペレーションシステムが提供するAPIを介して、スクロールバーのIDを取得し、このスクロールバーIDのスクロールバーを移動させる指示を送信するものである。この指示を受信したアプリケーション120は、スクロールバーを表示して、スクロールバーを移動することにより、文書画像を文書表示領域上で移動する。ここで、スクロールバーには、文書画像を垂直方向にスクロールする垂直スクロールバーと、水平方向にスクロールする水平スクロールバーとがある。   The scroll control unit 104 acquires an ID of the scroll bar via an API provided by the operation system, and transmits an instruction to move the scroll bar with the scroll bar ID to the application 120. The application 120 that has received this instruction displays a scroll bar, and moves the document image on the document display area by moving the scroll bar. Here, the scroll bar includes a vertical scroll bar for scrolling the document image in the vertical direction and a horizontal scroll bar for scrolling in the horizontal direction.

ページ区切り画像検出部105は、スクロール制御部104の指示を受けたアプリケーション120により文書表示領域上で文書画像を移動させながら、ページ区切り画像を検出する。文書画像が表示部111に垂直に表示される場合には、ページ区切り画像の検出には垂直スクロールバーが使用される。   The page break image detection unit 105 detects a page break image while moving the document image on the document display area by the application 120 that has received an instruction from the scroll control unit 104. When the document image is displayed vertically on the display unit 111, a vertical scroll bar is used to detect the page break image.

ページ情報特定部106は、ページ区切り画像検出部105により検出されたページ区切り画像の位置の座標を特定し、文書画像のページ区切り位置を示す情報であるページ情報をHDD106に保存する。   The page information specifying unit 106 specifies the coordinates of the position of the page break image detected by the page break image detection unit 105, and stores page information, which is information indicating the page break position of the document image, in the HDD 106.

HDD107は、ページ情報である文書ページ位置情報テーブル108と、制御テーブル109とを記憶する。図2は、文書ページ位置情報テーブル108および、制御テーブル109の具体例である。文書ページ位置情報テーブル108は、ページ総数、ページ番号、ページ上端座標、ページ下端座標、ページ垂直長、垂直スクロールボックスY座標を保持する。また、制御テーブル109は、文書表示領域左上端座標、文書表示領域幅、文書表示領域高、水平スクロールバーID、垂直スクロールボックスY座標、ページ区切り画像、ページ位置検出ライン上端座標を保持する。   The HDD 107 stores a document page position information table 108 that is page information and a control table 109. FIG. 2 is a specific example of the document page position information table 108 and the control table 109. The document page position information table 108 holds the total number of pages, page number, page top coordinate, page bottom coordinate, page vertical length, and vertical scroll box Y coordinate. The control table 109 holds the document display area upper left corner coordinates, document display area width, document display area height, horizontal scroll bar ID, vertical scroll box Y coordinate, page break image, and page position detection line upper edge coordinates.

次に以上のように構成された本実施の形態の文書表示装置によるページ位置検出処理について説明する。図3、4、6、7は、ページ位置検出の処理の手順を示すフローチャートである。まず、アプリケーション120が文書をHDD等から読み出して、表示部111の文書表示領域に文書画像を表示している状態とする。そして、表示制御部103は、透明ウィンドウを文書表示領域上に重ねて表示する(ステップS304)。なお、透明ウィンドウは、透明ウィンドウの下の画面を透過するので、文書表示領域に表示された文書画像の上に表示しても、画面は文書画像も表示された状態である。   Next, page position detection processing by the document display device of the present embodiment configured as described above will be described. 3, 4, 6, and 7 are flowcharts showing the procedure of page position detection processing. First, the application 120 reads a document from the HDD or the like and displays a document image in the document display area of the display unit 111. Then, the display control unit 103 displays the transparent window so as to overlap the document display area (step S304). Since the transparent window is transparent to the screen below the transparent window, even if the transparent window is displayed on the document image displayed in the document display area, the document image is also displayed on the screen.

図8は、表示部111に文書表示領域を表示した図である。ページ情報特定部106は、文書表示領域左上端の画面座標(WX,WY)、幅(WW)、高さ(WH)を取得し、HDD106に保存する(ステップS305)。次に、スクロール制御部104は、垂直スクロールバーIDをAPIを介して取得し、その垂直スクロールバーIDの垂直スクロールバー701の表示指示をアプリケーション120に送信する(ステップS306)。これにより、アプリケーション120は、垂直スクロールバーを図7に示すように、文書表示領域の右側に表示する。ページ情報特定部106は、垂直スクロールバー701のIDである垂直スクロールバーIDを制御テーブル109に保存する(ステップS308)。   FIG. 8 is a diagram in which a document display area is displayed on the display unit 111. The page information specifying unit 106 acquires the screen coordinates (WX, WY), width (WW), and height (WH) of the upper left corner of the document display area, and stores them in the HDD 106 (step S305). Next, the scroll control unit 104 acquires the vertical scroll bar ID via the API, and transmits a display instruction for the vertical scroll bar 701 of the vertical scroll bar ID to the application 120 (step S306). As a result, the application 120 displays a vertical scroll bar on the right side of the document display area as shown in FIG. The page information specifying unit 106 stores the vertical scroll bar ID, which is the ID of the vertical scroll bar 701, in the control table 109 (step S308).

次に、スクロール制御部104は、取得部102は、水平スクロールバーIDをAPIを介して取得し、この水平スクロールバーIDの水平スクロールバー702の表示指示をアプリケーション120に送信する(ステップS309)。これにより、アプリケーション120は、図8に示すように、水平スクロールバー702を、文書表示領域の底部側に表示する。そして、ページ情報特定部106は、水平スクロールバー702のIDである水平スクロールバーIDを制御テーブル109に保存する(ステップS311)。   Next, the scroll control unit 104 acquires the horizontal scroll bar ID via the API, and transmits a display instruction for the horizontal scroll bar 702 of the horizontal scroll bar ID to the application 120 (step S309). As a result, the application 120 displays the horizontal scroll bar 702 on the bottom side of the document display area as shown in FIG. Then, the page information specifying unit 106 stores the horizontal scroll bar ID, which is the ID of the horizontal scroll bar 702, in the control table 109 (step S311).

続いて、スクロール制御部104は、水平スクロールバーIDの水平スクロールボックスX座標を0へ移動するようにアプリケーション120に指示を行う(ステップS312)。次に、スクロール制御部104は、垂直スクロールバーIDの垂直スクロールボックスY座標を0へ移動するようにアプリケーション120に指示を行う。スクロール移動後の表示画面の画像および座標の種類は、図9に示すとおりとなる。   Subsequently, the scroll control unit 104 instructs the application 120 to move the horizontal scroll box X coordinate of the horizontal scroll bar ID to 0 (step S312). Next, the scroll control unit 104 instructs the application 120 to move the vertical scroll box Y coordinate of the vertical scroll bar ID to 0. The image on the display screen after scrolling and the types of coordinates are as shown in FIG.

ページ区切り画像検出部105は、文書表示領域左上端の1ピクセル画像801をページ区切り画像として取得する(ステップS316)。そして、ページ情報特定部106は、このページ区切り画像を制御テーブル109に保存する(ステップS317)。   The page break image detection unit 105 acquires the 1-pixel image 801 at the upper left corner of the document display area as a page break image (step S316). Then, the page information specifying unit 106 stores this page break image in the control table 109 (step S317).

図9は、文書画像の先頭ページ上端803から長さDXをスクロールして表示した状態である。アプリケーション120によるスクロール移動は、垂直スクロールバーを上から下に移動して行うので、各座標について上から順に説明する。804は、現在表示されている画面の上端を示す画面上端座標である。805は、ページ区切り領域の次に表われる次ページの上端を示す表示上端座標であって、画面座標を原点として数えた座標である。806は、現在表示されている画面の下端を示す画面下端座標である。Pは、画面上端座標804から表示上端座標805までの長さである。802は、先頭ページ上端803を原点として算出した座標であり、「DX+P」となる。   FIG. 9 shows a state in which the length DX is scrolled and displayed from the upper end 803 of the first page of the document image. Since the scroll movement by the application 120 is performed by moving the vertical scroll bar from the top to the bottom, each coordinate will be described in order from the top. Reference numeral 804 denotes screen upper end coordinates indicating the upper end of the currently displayed screen. Reference numeral 805 denotes a display upper end coordinate indicating the upper end of the next page that appears next to the page break area, and is a coordinate counted using the screen coordinates as the origin. Reference numeral 806 denotes screen lower end coordinates indicating the lower end of the currently displayed screen. P is a length from the screen upper end coordinate 804 to the display upper end coordinate 805. Reference numeral 802 denotes coordinates calculated with the top end 803 of the first page as the origin, which is “DX + P”.

ここで、文書画像は、ページ位置検出ライン上で移動するだけで、ページ位置検出ラインの右側、左側の領域では移動せず固定表示される。ステップS323の段階で、表示部111には、文書表示領域、透明ウィンドウ、文書画像が表示されている。図5は、表示される画像の順番を示す図である。1701が、透明ウィンドウを最前面に表示した状態である。透明ウィンドウは、最前面に表示されているが、下に置かれている画像を透過するため、このような表示状態となる。次に、取得部102は、文書表示領域に表示されている文書画像と同一の画像を新たに取得する。1702は、文書画像と同一の画像である。表示制御部103は、新たに取得した文書画像を、ページ位置検出ライン上を除いた文書表示領域に表示されている文書画像の上に重ねて表示する。1703は、文書画像と同一の画像をページ位置検出ラインを除いた文書画像であるAとBの領域に表示した図である。最終的に、画面全体には、1704の状態で表示される。   Here, the document image is fixedly displayed without moving in the areas on the right and left sides of the page position detection line only by moving on the page position detection line. In step S323, a document display area, a transparent window, and a document image are displayed on the display unit 111. FIG. 5 is a diagram illustrating the order of displayed images. Reference numeral 1701 denotes a state in which a transparent window is displayed in the foreground. The transparent window is displayed in the foreground, but is in such a display state because the transparent image is transmitted therethrough. Next, the acquisition unit 102 newly acquires the same image as the document image displayed in the document display area. Reference numeral 1702 denotes the same image as the document image. The display control unit 103 displays the newly acquired document image so as to overlap the document image displayed in the document display area except on the page position detection line. 1703 is a diagram in which the same image as the document image is displayed in areas A and B that are document images excluding the page position detection line. Finally, it is displayed in the state of 1704 on the entire screen.

ページ情報特定部106は、ページ区切り画像を検出するラインであるページ位置検出ライン901の座標を算出し(ステップS320)、算出した座標を制御テーブル109に保存する(ステップS321)。そして、ページ情報特定部106は、文書表示領域上端の文書画像上の座標である文書座標を0に設定し(ステップS322)、ページ番号を1に設定する(ステップS323)。図10は、ページ位置検出ライン901を透明ウィンドウに表示した図である。ページ位置検出ライン上端は、画面上端座標に、ページ位置検出ライン下端は、画面下端座標の上に重ねて表示されている。   The page information specifying unit 106 calculates the coordinates of the page position detection line 901 that is a line for detecting a page break image (step S320), and stores the calculated coordinates in the control table 109 (step S321). Then, the page information specifying unit 106 sets the document coordinates, which are the coordinates on the document image at the upper end of the document display area, to 0 (step S322), and sets the page number to 1 (step S323). FIG. 10 shows the page position detection line 901 displayed on a transparent window. The upper end of the page position detection line is displayed over the upper end coordinates of the screen, and the lower end of the page position detection line is displayed over the lower end coordinates of the screen.

このように、ページ位置検出ラインを除く文書画像上に別個に取得した文書画像を重ねて表示すると、スクロール操作により移動するのは、ページ位置検出ラインだけとなる。このため、スクロール操作で文書画像全体が移動することにより生じる、流れ酔い等の不快感を防止することができる。   As described above, when the document image obtained separately on the document image excluding the page position detection line is displayed in an overlapping manner, only the page position detection line is moved by the scroll operation. For this reason, it is possible to prevent uncomfortable feelings such as sickness caused by the movement of the entire document image by the scroll operation.

次に、ページ上端下端検出処理に移る(ステップS330)。図11は、ページ上端下端検出処理における文書表示領域の表示状態を示す図である。各表示画面は、文書表示領域の垂直長WHからページ上端座標(P)、ページ下端座標(E)のいずれか又は両方が表示された場合、若しくは、いずれも表示されない状態を示している。ページ上端が検出される場合の画像およびページ下端が表示される場合の画像を示す図である。1001および1004は、ページ上端座標(P)が表示された場合の文書表示領域を示した図である。1003および1004は、ページ下端座標(E)が表示された場合の文書表示領域を示した図である。1002は、ページ上端座標も下端座標も表示されない場合の文書表示領域を示した図である。   Next, the process proceeds to page upper and lower edge detection processing (step S330). FIG. 11 is a diagram showing a display state of the document display area in the page upper and lower edge detection processing. Each display screen shows a state in which either or both of the page upper end coordinates (P) and the page lower end coordinates (E) are displayed from the vertical length WH of the document display area, or neither of them is displayed. It is a figure which shows the image when a page upper end is detected, and the image when a page lower end is displayed. Reference numerals 1001 and 1004 denote document display areas when the page upper end coordinates (P) are displayed. Reference numerals 1003 and 1004 denote document display areas when the page lower end coordinates (E) are displayed. 1002 is a diagram showing a document display area when neither the upper-end coordinates nor the lower-end coordinates are displayed.

図12は、ページ上端下端検出処理の手順を示すフローチャートである。この処理は、図11の4つの各表示状態に対応して、ページ上端、下端の検出を行っている。まず、取得部102は、図10に示す画面上端902から画面下端903までの垂直高画像を取得する(ステップS1101)。そして、スクロール制御部104は、ページ位置検出ライン901のY座標を0に設定する(ステップS1102)。ページ区切り画像検出部105は、スクロール制御部104によるスクロール操作により、ページ位置検出ライン901に1ピクセル画像を取得する(ステップS1103)。ページ区切り画像検出部105は、取得した1ピクセル画像がページ区切り画像であるか否かを判定する(ステップS1104)。判定した結果、ページ区切り画像でない場合には(ステップS1104:No)、Y座標を1増加する(ステップS1105)。続いて、「Y座標<垂直高」を満たすか否かを判定する(ステップS1106)。「Y座標<垂直高」を満たす場合には(ステップS1106:Yes)、まだ、全ての画像を検出していないので、ステップS1102に戻り、処理を繰り返す。一方、「Y座標<垂直高」を満たさない場合には(ステップS1106:No)、現在表示されている画像からページ上端座標は検出されなかったのであるから、ページ下端座標を「−1」に設定し(ステップS1107)、ページ上端座標を「−1」に設定する(ステップS1108)。これが、図11の1002の場合である。   FIG. 12 is a flowchart illustrating a procedure of page upper and lower edge detection processing. In this process, the upper and lower ends of the page are detected in correspondence with the four display states shown in FIG. First, the acquisition unit 102 acquires a vertical high image from the screen upper end 902 to the screen lower end 903 shown in FIG. 10 (step S1101). Then, the scroll control unit 104 sets the Y coordinate of the page position detection line 901 to 0 (step S1102). The page break image detection unit 105 acquires a one-pixel image on the page position detection line 901 by the scroll operation performed by the scroll control unit 104 (step S1103). The page break image detection unit 105 determines whether or not the acquired one-pixel image is a page break image (step S1104). As a result of the determination, if the image is not a page break image (step S1104: No), the Y coordinate is incremented by 1 (step S1105). Subsequently, it is determined whether or not “Y coordinate <vertical height” is satisfied (step S1106). When “Y coordinate <vertical height” is satisfied (step S1106: Yes), all the images have not been detected yet, so the process returns to step S1102 to repeat the process. On the other hand, when “Y coordinate <vertical height” is not satisfied (step S1106: No), the page upper end coordinate is not detected from the currently displayed image, and therefore the page lower end coordinate is set to “−1”. The page upper end coordinates are set to “−1” (step S1108). This is the case of 1002 in FIG.

ページ情報特定部106は、ページ上端座標、ページ下端座標を文書ページ位置情報テーブル108に保存する(ステップS1116)。ステップS1104に戻り、ページ区切り画像検出部105が、ページ区切り画像を検出した場合には(ステップS1104:Yes)、ページ下端座標を「Y座標−1」に設定する(ステップS1109)。図11の1003または1004の場合である。ここで検出されたページ区切り画像は、最初に検出されたページ区切り画像であるので、検出されたページ区切り画像の1つ上の座標がページ下端となる。「Y座標−1」に設定すると、次の1ピクセル画像を取得する(ステップS1110)。そして、この1ピクセル画像がページ区切り画像であるか否かを判定し(ステップS1111)、ページ区切り画像であれば(ステップS1111:Yes)、Y座標を1増加する(ステップS1112)。   The page information specifying unit 106 saves the page upper end coordinates and page lower end coordinates in the document page position information table 108 (step S1116). Returning to step S1104, when the page break image detection unit 105 detects a page break image (step S1104: Yes), the page lower end coordinate is set to “Y coordinate-1” (step S1109). This is the case of 1003 or 1004 in FIG. Since the page break image detected here is the first page break image detected, the coordinate one position above the detected page break image is the lower end of the page. When “Y coordinate-1” is set, the next one-pixel image is acquired (step S1110). Then, it is determined whether or not this 1-pixel image is a page break image (step S1111). If it is a page break image (step S1111: Yes), the Y coordinate is incremented by 1 (step S1112).

次に、「Y座標<文書領域高」を満たすか否かを判定し(ステップS1113)、満たす場合には(ステップS1113:Yes)、ステップS1110に戻り、処理を繰り返す。一方、「Y座標<文書領域高」を満たさない場合には(ステップS1113:No)、ページ上端が検出されなかったと判断して、ページ上端座標に「−1」を設定する(ステップS1114)。ページ情報特定部106は、ページ上端座標、下端座標を文書ページ位置情報テーブル108に保存する(ステップS1116)。   Next, it is determined whether or not “Y coordinate <document area height” is satisfied (step S1113). If it is satisfied (step S1113: Yes), the process returns to step S1110 and the process is repeated. On the other hand, if “Y coordinate <document area height” is not satisfied (step S1113: No), it is determined that the top edge of the page has not been detected, and “−1” is set as the top edge coordinate of the page (step S1114). The page information specifying unit 106 stores the upper and lower page coordinates in the document page position information table 108 (step S1116).

ステップS1111に戻り、ページ区切り画像検出部105が、ページ区切り画像を検出した場合には(ステップS1111:No)、ページ上端座標をY座標に設定する(ステップS1115)。図11の1001または1004の場合である。ここで検出されたページ区切り画像は、ステップS1104で検出されたページ区切り画像の次に検出されたページ区切り画像であるので、上端座標となる。ページ情報特定部106は、ステップS1104で検出されたページ上端座標、および、ステップS1111で検出された下端座標を文書ページ位置情報テーブル108に保存する(ステップS1116)。全ての文書画像のページ上端下端検出処理が終了するまで、以上の一連の処理を繰り返す。そして、このページ上端下端検出処理のリターン値として、検出されたページ上端座標、ページ下端座標を設定して呼出し元に戻る。なお、ページ上端下端が検出されない場合には、ステップS1109、ステップS1114、ステップS1104、ステップS1107で「−1」が設定されるので、リターン値として「−1」が返ることになる。   Returning to step S1111, when the page break image detection unit 105 detects a page break image (step S1111: No), the page upper end coordinate is set to the Y coordinate (step S1115). This is the case of 1001 or 1004 in FIG. Since the page break image detected here is the page break image detected next to the page break image detected in step S1104, it becomes the upper end coordinate. The page information specifying unit 106 stores the page upper end coordinates detected in step S1104 and the lower end coordinates detected in step S1111 in the document page position information table 108 (step S1116). The above-described series of processing is repeated until the processing for detecting the upper and lower ends of pages of all document images is completed. Then, the detected page upper end coordinates and page lower end coordinates are set as return values of this page upper end lower end detection process, and the process returns to the caller. If the upper and lower ends of the page are not detected, “−1” is set in steps S1109, S1114, S1104, and S1107, so “−1” is returned as a return value.

なお、図11は、文書画像全体にページ上端下端検出処理を実行して検出した各座標を示す図である。図12に示す文書画像は、P1、P2、P3の3ページからなり、Y1はP1のページ上端を、Y2はP2のページ上端を示す。H1は、P1のページ垂直長、H2は、P2のページ垂直長である。また、E1はP1のページ下端を、E2はP2のページ下端を示す。P3のページ下端は、文書画像全体の文書領域高を示す。   FIG. 11 is a diagram illustrating coordinates detected by executing the page upper and lower edge detection processing on the entire document image. The document image shown in FIG. 12 includes three pages P1, P2, and P3. Y1 indicates the upper end of the page of P1, and Y2 indicates the upper end of the page of P2. H1 is the page vertical length of P1, and H2 is the page vertical length of P2. E1 indicates the lower end of the page of P1, and E2 indicates the lower end of the page of P2. The page lower end of P3 indicates the document area height of the entire document image.

図6のページ位置検出処理のステップS331に戻る。ページ区切り画像検出部105は、ページ上端座標が検出されたか否かを判定する(ステップS331)。図12に示したページ上端下端検出処理で説明したように、ページ上端座標またはページ下端座標が検出されない場合には、ページ上端座標またはページ下端座標に「−1」に設定した。そこで、ページ上端座標が検出された(ページ上端座標に「−1」が設定されている)場合には(ステップS331:Yes)、「L(スクロール長)=ページ上端座標」と設定する(ステップS333)。ページ上端座標が検出されなかった場合には(ステップS331:No)、ページ下端座標が検出されたか否かを判定する(ステップS332)。検出された場合には(ステップS332:Yes)、「L=ページ下端座標+1」と設定する(ステップS334)。一方、ページ下端座標が検出されなかった(ページ下端座標に「−1」が設定されている)場合には(ステップS332:No)、「L=文書領域高」と設定する(ステップS335)。図13の1202は、ページ上端座標も下端座標も検出されなかった場合の文書表示領域を示した図である。   The process returns to step S331 of the page position detection process in FIG. The page break image detection unit 105 determines whether or not the page upper end coordinates are detected (step S331). As described in the page upper end lower end detection process shown in FIG. 12, when the page upper end coordinate or the page lower end coordinate is not detected, the page upper end coordinate or the page lower end coordinate is set to “−1”. Therefore, when the page top coordinate is detected ("-1" is set in the page top coordinate) (step S331: Yes), "L (scroll length) = page top coordinate" is set (step S333). When the page upper end coordinates are not detected (step S331: No), it is determined whether or not the page lower end coordinates are detected (step S332). If it is detected (step S332: Yes), “L = page lower end coordinate + 1” is set (step S334). On the other hand, if the page bottom coordinate is not detected (“−1” is set in the page bottom coordinate) (step S332: No), “L = document area height” is set (step S335). Reference numeral 1202 in FIG. 13 is a diagram showing a document display area when neither the upper end coordinates nor the lower end coordinates are detected.

次に、スクロール制御の処理に移る(ステップS331)。図14は、スクロール制御処理の手順を示すフローチャートである。図15は、スクロール制御処理に使用する垂直線を示す図である。スクロール制御部104は、「L=スクロール長」として入力値を設定する(ステップS1301)。次に、取得部102は、垂直線をAPIを介して取得する(ステップS1302)。表示制御部103は、垂直線を透明ウィンドウ上端から図15の1401に示すL0の位置に描画する(ステップS1303)。垂直線が描画されると、スクロール制御部104は、垂直スクロールボックスY座標を1ライン下に移動する旨をアプリケーション120に指示する(ステップS1304)。これにより、アプリケーション120は、垂直スクロールボックスY座標を1ライン下に移動する。このとき、透明ウィンドウ上の垂直線も、図15の1402の位置に移動する。スクロール制御部104は、移動後の垂直線の位置(L1)を検出し、移動量(L1−L0)を算出する(ステップS1305)。   Next, the process proceeds to scroll control processing (step S331). FIG. 14 is a flowchart showing the procedure of the scroll control process. FIG. 15 is a diagram illustrating vertical lines used for the scroll control process. The scroll control unit 104 sets an input value as “L = scroll length” (step S1301). Next, the acquisition unit 102 acquires a vertical line via the API (step S1302). The display control unit 103 draws a vertical line from the upper end of the transparent window at a position L0 indicated by 1401 in FIG. 15 (step S1303). When the vertical line is drawn, the scroll control unit 104 instructs the application 120 to move the vertical scroll box Y coordinate downward by one line (step S1304). As a result, the application 120 moves the vertical scroll box Y coordinate downward by one line. At this time, the vertical line on the transparent window also moves to the position 1402 in FIG. The scroll control unit 104 detects the position (L1) of the vertical line after the movement, and calculates the movement amount (L1-L0) (step S1305).

そして、表示制御部103は、垂直線を消去する(ステップS1306)。スクロール制御部104は、残りのスクロール量を、「L=L−移動量」より算出する(ステップS1307)。スクロール制御部104は、算出したスクロール量が、「L>0」であるか否かを判定する(ステップS1308)。「L>0」であれば(ステップS1308:Yes)、ステップS1302に戻り、処理を繰り返す。一方、「L>0」でない場合には(ステップS1308:No)、「L<0」であるか否かを判定する(ステップS1309)。「L<0」を満たさない場合には(ステップS1309:No)、「実長=スクロール長−L」とする(ステップS1313)。一方、「L<0」を満たす場合には(ステップS1309:Yes)、残りのスクロール量を、「L=L+移動量」より算出する(ステップS1311)。次に、スクロール制御部104は、垂直スクロールボックスY座標を1ライン上に移動する(ステップS1312)。そして、「実長=スクロール長−L」と設定する(ステップS1313)。最終ページまで、以上の一連の処理を繰り返す。   Then, the display control unit 103 erases the vertical line (step S1306). The scroll control unit 104 calculates the remaining scroll amount from “L = L−movement amount” (step S1307). The scroll control unit 104 determines whether or not the calculated scroll amount is “L> 0” (step S1308). If “L> 0” (step S1308: Yes), the process returns to step S1302, and the process is repeated. On the other hand, if “L> 0” is not satisfied (step S1308: No), it is determined whether “L <0” is satisfied (step S1309). If “L <0” is not satisfied (step S1309: NO), “actual length = scroll length−L” is set (step S1313). On the other hand, when “L <0” is satisfied (step S1309: Yes), the remaining scroll amount is calculated from “L = L + movement amount” (step S1311). Next, the scroll control unit 104 moves the vertical scroll box Y coordinate up one line (step S1312). Then, “actual length = scroll length−L” is set (step S1313). The above series of processing is repeated until the last page.

ステップS1309で、L<0である場合には(ステップS1309:Yes)、スクロール制御部104は、アプリケーション120に対し上スクロール実行の指示を送信する(ステップS1310)。この指示を受信したアプリケーション120は、文書画像を上スクロールする。そして、スクロール制御部104は、残りのスクロール量を、「L=L+移動量」より算出する(ステップS1311)。そして、スクロール制御部104は、垂直スクロールボックスY座標を1ライン上に移動する旨をアプリケーション120に指示する(ステップS1312)。これにより、アプリケーション120は、垂直スクロールボックスY座標を1ライン上に移動する。そして、「実長=スクロール長−L」と設定する(ステップS1313)。   In step S1309, if L <0 (step S1309: Yes), the scroll control unit 104 transmits an instruction to execute up scrolling to the application 120 (step S1310). Upon receiving this instruction, the application 120 scrolls up the document image. Then, the scroll control unit 104 calculates the remaining scroll amount from “L = L + movement amount” (step S1311). Then, the scroll control unit 104 instructs the application 120 to move the vertical scroll box Y coordinate on one line (step S1312). Thereby, the application 120 moves the vertical scroll box Y coordinate up one line. Then, “actual length = scroll length−L” is set (step S1313).

図7のページ位置検出処理のステップS341に戻る。ページ区切り画像検出部105は、ページ上端座標が検出されたか否かを判定する(Sステップ341)。ページ上端座標が検出された場合には(ステップS341:Yes)、「ページ上端座標=画面座標+表示上端座標」と設定する(ステップS342)。次に、垂直スクロールボックス位置のY座標を文書ページ位置情報テーブルに保存する(ステップS343)。そして、ページ番号を文書ページ位置情報テーブルの保存し(ステップS344)、ページ番号を1増加する(ステップS345)。続いて、「L(スクロール長)=0」を満たすか否かを判定する(ステップS346)。「L(スクロール長)=0」であれば(ステップS346:Yes)、ページ総数はページ番号から1引いた数に設定する(ステップS347)。ページ情報特定部106は、ページ垂直長(次ページ上端座標−ページ上端座標)を算出する(ステップS348)。ページ位置情報を文書ページ位置情報テーブルに保存する(ステップS349)。表示制御部104は、透明ウィンドウを消去し(ステップS350)、すべての処理を終了する。   The process returns to step S341 of the page position detection process in FIG. The page break image detection unit 105 determines whether or not the top edge coordinates of the page are detected (Sstep 341). When the page upper end coordinates are detected (step S341: Yes), “page upper end coordinates = screen coordinates + display upper end coordinates” is set (step S342). Next, the Y coordinate of the vertical scroll box position is stored in the document page position information table (step S343). Then, the page number is stored in the document page position information table (step S344), and the page number is incremented by 1 (step S345). Subsequently, it is determined whether or not “L (scroll length) = 0” is satisfied (step S346). If “L (scroll length) = 0” (step S346: Yes), the total number of pages is set to a number obtained by subtracting 1 from the page number (step S347). The page information specifying unit 106 calculates the page vertical length (next page upper end coordinate-page upper end coordinate) (step S348). The page position information is stored in the document page position information table (step S349). The display control unit 104 deletes the transparent window (step S350) and ends all the processes.

このように、本実施の形態によれば、APIにより取得したスクロールバーで文書画像を移動して、文書画像からページの区切り位置に表示される画像であるページ区切り画像を検出する。検出したページ区切り画像の位置を記憶部に保存することにより、作成プログラムと読込プログラムの種別を問わず、簡便な操作により文書ページ位置を容易に検出することができるという効果を奏する。   As described above, according to the present embodiment, the document image is moved by the scroll bar acquired by the API, and the page break image that is an image displayed at the page break position is detected from the document image. By storing the detected position of the page break image in the storage unit, the document page position can be easily detected by a simple operation regardless of the type of the creation program and the reading program.

なお、本実施の形態は、CPUなどの制御装置と、ROM(Read Only Memory)やRAMなどの記憶装置と、HDD、CDドライブ装置などの外部記憶装置と、ディスプレイ装置などの表示装置と、キーボードやマウスなどの入力装置を備えており、通常のコンピュータを利用したハードウェア構成となっている。   The present embodiment includes a control device such as a CPU, a storage device such as a ROM (Read Only Memory) and a RAM, an external storage device such as an HDD and a CD drive device, a display device such as a display device, and a keyboard. And a hardware configuration using a normal computer.

本実施の形態の文書表示装置100で実行されるページ位置検出プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記憶媒体に記録されて提供される。   The page position detection program executed by the document display apparatus 100 according to the present embodiment is a file in an installable format or an executable format, and is a CD-ROM, flexible disk (FD), CD-R, DVD (Digital Versatile Disk). And the like recorded on a computer-readable storage medium.

また、本実施形態の文書表示装置で実行されるページ位置検出プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、本実施形態の文書表示装置で実行されるページ位置検出プログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。また、本実施の形態のプログラムを、ROM等に予め組み込んで提供するように構成してもよい。   Further, the page position detection program executed by the document display device of the present embodiment may be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network. Further, the page position detection program executed by the document display device of the present embodiment may be provided or distributed via a network such as the Internet. Further, the program of the present embodiment may be configured to be provided by being incorporated in advance in a ROM or the like.

本実施の形態の文書表示装置で実行されるページ位置検出プログラムは、上述した各部(文書画像読込部101、取得部102、表示制御部103、スクロール制御部104、ページ区切り画像検出部105、ページ情報特定部106)を含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)が上記記憶媒体からページ位置検出プログラムを読み出して実行することにより上記各部が主記憶装置上にロードされ、文書画像読込部101、取得部102、表示制御部103、スクロール制御部104、ページ区切り画像検出部105、ページ情報特定部106が主記憶装置上に生成されるようになっている。   The page position detection program executed by the document display apparatus according to the present embodiment includes the above-described units (document image reading unit 101, acquisition unit 102, display control unit 103, scroll control unit 104, page break image detection unit 105, page The information specifying unit 106) has a module configuration. As actual hardware, the CPU (processor) reads the page position detection program from the storage medium and executes the page position detection program, and the respective units are loaded onto the main storage device. The document image reading unit 101, the acquisition unit 102, the display control unit 103, the scroll control unit 104, the page break image detection unit 105, and the page information identification unit 106 are generated on the main storage device.

第1の実施の形態の文書表示装置100のブロック図である。1 is a block diagram of a document display device 100 according to a first embodiment. 制御テーブルを示す図である。It is a figure which shows a control table. 位置情報テーブルを示す図である。It is a figure which shows a positional infomation table. ページ位置検出処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a page position detection process. ページ位置検出処理の手順を示すフローチャートである(続き)。It is a flowchart which shows the procedure of a page position detection process (continuation). 表示される画像の順番を示す図である。It is a figure which shows the order of the image displayed. ページ位置検出処理の手順を示すフローチャートである(続き)。It is a flowchart which shows the procedure of a page position detection process (continuation). ページ位置検出処理の手順を示すフローチャートである(続き)。It is a flowchart which shows the procedure of a page position detection process (continuation). 表示部111に文書表示領域を表示した図である。FIG. 6 is a diagram in which a document display area is displayed on a display unit 111. スクロール移動後の表示画面の画像および座標の種類を示す図である。It is a figure which shows the image of the display screen after scroll movement, and the kind of coordinate. ページ位置検出ライン901を文書表示領域に表示した図である。FIG. 6 is a diagram in which a page position detection line 901 is displayed in a document display area. ページ上端下端検出処理における文書表示領域の表示状態を示す図である。It is a figure which shows the display state of the document display area in a page upper end lower end detection process. ページ上端下端検出処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a page upper end lower end detection process. 文書画像全体にページ上端下端検出処理を実行して検出した各座標を示す図である。It is a figure which shows each coordinate detected by performing a page upper end lower end detection process to the whole document image. スクロール制御処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a scroll control process. スクロール制御処理に使用する垂直線を示す図である。It is a figure which shows the vertical line used for a scroll control process.

符号の説明Explanation of symbols

100、2000 文書表示装置
201 制御テーブル
202 位置情報テーブル
701 垂直スクロールバー
702 水平スクロールバー
801 ページ区切り画像
802 ページ上端
803 先頭ページ上端
804、902 画面上端
805 表示上端
806、903 画面下端
901 ページ位置検出ライン
1201〜1204、1701〜1704 表示画面
1401、1402 垂直線
100, 2000 Document display device 201 Control table 202 Position information table 701 Vertical scroll bar 702 Horizontal scroll bar 801 Page break image 802 Top page 803 Top page top 804, 902 Screen top 805 Display top 806, 903 Screen bottom 901 Page position detection line 1201-1204, 1701-1704 Display screen 1401, 1402 Vertical line

Claims (8)

複数ページからなる文書画像のページ区切りの位置を示すページ情報を記憶可能な記憶部と、
文書表示領域上に、透過画像を表示する表示制御部と、
文書画像を前記文書表示領域上に表示するアプリケーションに対して、文書画像をスクロール移動させるためのスクロール指示シンボルを移動する指示を行うことにより、前記透過画像上で前記文書画像を移動させるスクロール制御部と、
前記スクロール制御部による指示に基づいてアプリケーションにより前記文書画像を移動させながら、前記文書画像のページ区切りを示すページ区切り画像を検出するページ区切り画像検出部と、
検出された前記ページ区切り画像の位置に基づいて前記文書画像の前記ページ情報を前記記憶部に保存するページ情報特定部と、
を備えることを特徴とする文書表示装置。
A storage unit capable of storing page information indicating a page break position of a document image composed of a plurality of pages;
A display control unit for displaying a transparent image on the document display area;
A scroll control unit that moves the document image on the transparent image by instructing an application that displays the document image on the document display area to move a scroll instruction symbol for scrolling the document image. When,
A page break image detection unit that detects a page break image indicating a page break of the document image while moving the document image by an application based on an instruction from the scroll control unit;
A page information specifying unit that stores the page information of the document image in the storage unit based on the detected position of the page break image;
A document display device comprising:
前記表示制御部は、前記ページ区切り画像の位置を検出するための検出ライン画像を前記透過画像上に表示し、
前記スクロール制御部は、前記アプリケーションに対して、前記スクロール指示シンボルを移動する指示を行うことにより、前記検出ライン画像上で前記文書画像を移動させ、
前記ページ区切り画像検出部は、前記検出ライン画像の上端から前記スクロール制御部により前記スクロール指示シンボルを移動して、前記ページ区切り画像を検出し、
前記ページ情報特定部は、前記ページ情報として、前記ページ区切り画像検出部により検出されたページ区切り画像の位置をページ後端位置と、前記ページ後端位置から最初に検出された文書画像の座標をページ前端位置として記憶すること、
を特徴とする請求項1に記載の文書表示装置。
The display control unit displays a detection line image for detecting the position of the page break image on the transparent image,
The scroll control unit moves the document image on the detection line image by instructing the application to move the scroll instruction symbol,
The page break image detection unit detects the page break image by moving the scroll instruction symbol from the upper end of the detection line image by the scroll control unit,
The page information specifying unit includes, as the page information, the position of the page break image detected by the page break image detection unit, the page rear end position, and the coordinates of the document image first detected from the page rear end position. Memorize it as the front edge position of the page,
The document display device according to claim 1.
前記スクロール制御部は、前記アプリケーションに対して、水平方向の前記スクロール指示シンボルである水平スクロール指示シンボルを移動する指示と、垂直方向の前記スクロール指示シンボルである垂直スクロール指示シンボルを移動する指示を行い、
前記ページ区切り画像検出部は、前記ページ区切り画像として、前記水平スクロール指示シンボルの前記文書表示領域における左端位置、かつ前記垂直スクロール指示シンボルの前記文書表示領域における上端位置のピクセル画像を取得すること、
を特徴とする請求項1または2に記載の文書表示装置。
The scroll control unit instructs the application to move a horizontal scroll instruction symbol that is the scroll instruction symbol in the horizontal direction and to move the vertical scroll instruction symbol that is the scroll instruction symbol in the vertical direction. ,
The page break image detection unit obtains, as the page break image, a pixel image at a left end position of the horizontal scroll instruction symbol in the document display area and an upper end position of the vertical scroll instruction symbol in the document display area;
The document display device according to claim 1, wherein:
前記表示制御部は、前記検出ライン画像を前記透過画像の略中央位置に垂直方向に表示すること、
を特徴とする請求項2に記載の文書表示装置。
The display control unit displays the detection line image in a vertical direction at a substantially central position of the transmission image;
The document display device according to claim 2.
前記スクロール制御部は、前記透過画像上に所定の垂直線を描画し、前記アプリケーションに対して、前記垂直スクロールシンボルを単位スクロール操作ずつ移動する指示を行い、前記単位スクロール操作の移動により前記垂直線が移動した量により前記スクロール指示シンボルの単位スクロール量であるスクロール幅を求め、前記スクロール幅ごとに前記文書画像を移動し、
前記ページ区切り画像検出部は、前記スクロール制御部による移動した後に前記透過画像に表示された文書画像から、前記ページ区切り画像を検出すること、
を特徴とする請求項1〜4のいずれか一つに記載の文書表示装置。
The scroll control unit draws a predetermined vertical line on the transparent image, instructs the application to move the vertical scroll symbol for each unit scroll operation, and moves the vertical line according to the movement of the unit scroll operation. The scroll width, which is a unit scroll amount of the scroll instruction symbol, is obtained based on the amount of movement, and the document image is moved for each scroll width.
The page break image detection unit detects the page break image from a document image displayed on the transparent image after being moved by the scroll control unit;
The document display device according to claim 1, wherein:
前記スクロール制御部は、前記スクロール指示シンボルを移動して、前記透過画像のうち前記検出ライン画像上の文書画像のみを移動し、
前記ページ区切り画像検出部は、前記検出ライン画像上の文書画像から前記ページ区切り画像を検出すること、
を特徴とする請求項2〜5のいずれか一つに記載の文書表示装置。
The scroll control unit moves the scroll instruction symbol, moves only the document image on the detection line image among the transparent images,
The page break image detection unit detects the page break image from a document image on the detection line image;
The document display device according to any one of claims 2 to 5.
文書表示装置で実行されるページ位置検出方法であって、
前記文書表示装置は、複数ページからなる文書画像のページ区切りの位置を示すページ情報を記憶可能な記憶部を備え、
文書表示領域上に、透過画像を表示する表示制御ステップと、
文書画像を前記文書表示領域上に表示するアプリケーションに対して、文書画像をスクロール移動させるためのスクロール指示シンボルを移動する指示を行うことにより、前記透過画像上で前記文書画像を移動させるスクロール制御ステップと、
前記スクロール制御部による指示に基づいてアプリケーションにより前記文書画像を移動させながら、前記文書画像のページ区切りを示すページ区切り画像を検出するページ区切り画像検出ステップと、
検出された前記ページ区切り画像の位置に基づいて前記文書画像の前記ページ情報を前記記憶部に保存するページ情報特定ステップと、
を含むことを特徴とする文書表示方法。
A page position detection method executed in a document display device,
The document display device includes a storage unit capable of storing page information indicating a page break position of a document image including a plurality of pages.
A display control step for displaying a transparent image on the document display area;
A scroll control step for moving the document image on the transparent image by instructing an application for displaying the document image on the document display area to move a scroll instruction symbol for scrolling the document image. When,
A page break image detection step of detecting a page break image indicating a page break of the document image while moving the document image by an application based on an instruction from the scroll control unit;
A page information specifying step for storing the page information of the document image in the storage unit based on the detected position of the page break image;
A document display method comprising:
コンピュータを、
複数ページからなる文書画像のページ区切りの位置を示すページ情報を記憶可能な記憶部と、
文書表示領域上に、透過画像を表示する表示制御部と、
文書画像を前記文書表示領域上に表示するアプリケーションに対して、文書画像をスクロール移動させるためのスクロール指示シンボルを移動する指示を行うことにより、前記透過画像上で前記文書画像を移動させるスクロール制御部と、
前記スクロール制御部による指示に基づいてアプリケーションにより前記文書画像を移動させながら、前記文書画像のページ区切りを示すページ区切り画像を検出するページ区切り画像検出部と、
検出された前記ページ区切り画像の位置に基づいて前記文書画像の前記ページ情報を前記記憶部に保存するページ情報特定部と、
して実行させる文書表示プログラム。
Computer
A storage unit capable of storing page information indicating a page break position of a document image composed of a plurality of pages;
A display control unit for displaying a transparent image on the document display area;
A scroll control unit that moves the document image on the transparent image by instructing an application that displays the document image on the document display area to move a scroll instruction symbol for scrolling the document image. When,
A page break image detection unit that detects a page break image indicating a page break of the document image while moving the document image by an application based on an instruction from the scroll control unit;
A page information specifying unit that stores the page information of the document image in the storage unit based on the detected position of the page break image;
A document display program to be executed.
JP2008238709A 2008-09-17 2008-09-17 Document display device, document display method, and document display program Expired - Fee Related JP5068717B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008238709A JP5068717B2 (en) 2008-09-17 2008-09-17 Document display device, document display method, and document display program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008238709A JP5068717B2 (en) 2008-09-17 2008-09-17 Document display device, document display method, and document display program

Publications (2)

Publication Number Publication Date
JP2010072884A JP2010072884A (en) 2010-04-02
JP5068717B2 true JP5068717B2 (en) 2012-11-07

Family

ID=42204612

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008238709A Expired - Fee Related JP5068717B2 (en) 2008-09-17 2008-09-17 Document display device, document display method, and document display program

Country Status (1)

Country Link
JP (1) JP5068717B2 (en)

Also Published As

Publication number Publication date
JP2010072884A (en) 2010-04-02

Similar Documents

Publication Publication Date Title
CN111008520B (en) Annotating method and device, terminal equipment and storage medium
US10691385B2 (en) Image processing apparatus, image processing method, and storage medium in which a text element and an image element are arranged based on layouts in a webpage
JP4468404B2 (en) Information processing apparatus control method, information processing apparatus, and program
EP2819388A1 (en) Method and apparatus for generating image file
JP5818172B2 (en) Information display device, display control program, and display control method
KR101272867B1 (en) Apparatus and method for displaying grid in mobile terminal
EP2966578A1 (en) Information processing apparatus, information processing method, program, and storage medium
US20130209069A1 (en) Moving image recording device, control method therefor, and non-transitory computer readable storage medium
US8259133B2 (en) Image display apparatus and image display method
JP2006079220A (en) Image retrieval device and method
US20130031471A1 (en) Electronic document rasterizing method and electronic document rasterizing device
US9213507B2 (en) Apparatus, control method, and storage medium
US10684772B2 (en) Document viewing apparatus and program
JP2008234147A (en) Document image display device, document image display method, and document image display program
EP3185137A1 (en) Method, apparatus and arrangement for summarizing and browsing video content
JP5962278B2 (en) Image processing program, image processing apparatus, and image processing method
JP4655831B2 (en) Waveform measuring device
JP5068717B2 (en) Document display device, document display method, and document display program
EP1692605A2 (en) Method of visualizing a pointer during interaction
JP6736348B2 (en) Image processing apparatus, image processing method and program
US9710736B2 (en) Rendering apparatus and rendering method
JP4741916B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium storing image processing program for executing the method
JP2005092567A (en) Scroll controller, scroll control method, scroll control program, and recording medium
JP2001005911A (en) Character input device and display controlling method
JP2005084088A (en) Image comparison display method and its device, and image comparison display program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110701

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120712

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120724

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120815

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

Free format text: PAYMENT UNTIL: 20150824

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5068717

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees