JP5693901B2 - Display device, display method, and program - Google Patents

Display device, display method, and program Download PDF

Info

Publication number
JP5693901B2
JP5693901B2 JP2010214520A JP2010214520A JP5693901B2 JP 5693901 B2 JP5693901 B2 JP 5693901B2 JP 2010214520 A JP2010214520 A JP 2010214520A JP 2010214520 A JP2010214520 A JP 2010214520A JP 5693901 B2 JP5693901 B2 JP 5693901B2
Authority
JP
Japan
Prior art keywords
displayed
display
display screen
scaling factor
scaling
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.)
Active
Application number
JP2010214520A
Other languages
Japanese (ja)
Other versions
JP2012069014A (en
JP2012069014A5 (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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2010214520A priority Critical patent/JP5693901B2/en
Priority to PCT/JP2011/069578 priority patent/WO2012039243A1/en
Publication of JP2012069014A publication Critical patent/JP2012069014A/en
Publication of JP2012069014A5 publication Critical patent/JP2012069014A5/ja
Application granted granted Critical
Publication of JP5693901B2 publication Critical patent/JP5693901B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

本発明は、文書データに応じた文書画像を表示する表示装置に関するものである。   The present invention relates to a display device that displays a document image corresponding to document data.

従来から、電子書籍情報などの文書データに応じた画像を表示する表示装置において、ユーザからの指示に応じて表示する文字サイズの変倍処理(拡大処理あるいは縮小処理)を行う技術が知られている。   2. Description of the Related Art Conventionally, a technique for performing a scaling process (enlargement process or reduction process) of a character size to be displayed in response to an instruction from a user in a display device that displays an image according to document data such as electronic book information is known. Yes.

例えば、非特許文献1に開示されている電子書籍の閲覧ソフトでは、表示画面に触れたユーザの複数の指を認識できるマルチタッチスクリーンを搭載した表示装置を用いて文書データに応じた画像を表示するとともに、ユーザがピンチイン操作(2本の指を画面上に載せてその間隔を縮める動作)またはピンチアウト操作(2本の指を画面上に載せて指と指の間を広げる動作)を行ったときに、その操作量に応じた変倍率(縮小率あるいは拡大率)で表示中の画像を変倍させて表示させるようになっている。また、この閲覧ソフトでは、変倍させた画像が表示されている状態でユーザが変倍率の確定操作を行うと、そのときの変倍率に応じた文字サイズで文書データを再レイアウトして表示させるようになっている。   For example, in the electronic book browsing software disclosed in Non-Patent Document 1, an image corresponding to document data is displayed using a display device equipped with a multi-touch screen that can recognize a plurality of user's fingers touching the display screen. In addition, the user performs a pinch-in operation (an operation to place two fingers on the screen to reduce the interval) or a pinch-out operation (an operation to place two fingers on the screen to widen the gap between the fingers). The displayed image is scaled and displayed at a scaling factor (reduction ratio or enlargement ratio) corresponding to the operation amount. Also, in this browsing software, when the user performs an operation for confirming the scaling ratio while the scaled image is displayed, the document data is re-laid out and displayed at a character size corresponding to the scaling ratio at that time. It is like that.

“Stanza“、[online]、Lexcycle社、[2010年9月13日検索]、インターネット<URL:http://www.lexcycle.com/>“Stanza”, [online], Lecycle, Inc. [searched on September 13, 2010], Internet <URL: http: // www. lexcycle. com />

しかしながら、上記閲覧ソフトの技術では、変倍率の確定操作前に表示されていた文書の位置に対応する確定操作後に再レイアウトされた文書の位置をユーザが認識しにくく、ユーザが確定操作前に読んでいた文書の位置を見失ってしまいやすいという問題がある。   However, in the above browsing software technology, it is difficult for the user to recognize the position of the document re-layed after the confirmation operation corresponding to the position of the document displayed before the confirmation operation of the scaling factor, and the user reads it before the confirmation operation. There is a problem that it is easy to lose sight of the position of the document.

すなわち、非特許文献1の技術では、変倍率の確定操作が行われて文書データの再レイアウトを行う際、確定操作前に表示していた文章を含む章の先頭からページ単位(表示画面に一度に表示可能なデータを1ページとする単位)で再レイアウトを行っている。このため、確定操作前に表示画面の所定位置(例えば先頭あるいは中央)に表示されていた文字列が再レイアウト後に表示画面のどの位置に表示されるのかをユーザが認識しにくい。また、確定操作前にユーザが読んでいた文字列が確定操作後の表示画面に含まれない場合もある。   In other words, in the technique of Non-Patent Document 1, when a re-layout of document data is performed by performing a scaling operation, a page unit (once on the display screen) from the beginning of a chapter including a sentence displayed before the confirming operation is performed. The data is displayed again in units of one page). For this reason, it is difficult for the user to recognize at which position on the display screen the character string displayed at a predetermined position (for example, the top or the center) on the display screen before the confirmation operation is displayed after the re-layout. In addition, the character string read by the user before the confirmation operation may not be included in the display screen after the confirmation operation.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、文書データに応じた画像を表示する表示装置において、文字サイズを変更して文書データを再レイアウトして表示させる場合であっても再レイアウト前にユーザが参照していた文字列の再レイアウト後の表示位置をユーザが容易に認識することができる表示装置を提供することにある。   The present invention has been made in view of the above-described problems, and an object of the present invention is to display a document data by re-laying out the document data by changing the character size in a display device that displays an image according to the document data. Even so, an object of the present invention is to provide a display device that allows the user to easily recognize the display position after re-layout of the character string that the user referred to before re-layout.

本発明の第1の表示装置は、上記の課題を解決するために、文書データに応じた画像を表示画面に表示する表示装置であって、予め設定された表示条件に応じて上記文書データに応じた画像を上記表示画面に表示させる際のレイアウトを示すレイアウト情報を生成するレイアウト生成部と、上記レイアウト情報に基づいて上記文書データに応じた画像を上記表示画面に表示させるための表示画像データを生成する表示画像生成部と、上記表示画面に表示されている上記文書データに応じた画像における各文字の文字サイズを変倍して表示させるためのユーザからの変倍操作を受け付ける操作入力部と、上記変倍操作が入力される前に上記表示画面に表示していた上記文書データに応じた画像の文字サイズと、上記変倍操作によって指定された変倍率とに基づいて変倍後の文字サイズを算出する文字サイズ算出部とを備え、上記レイアウト生成部は、上記変倍操作が行われたときに、上記文字サイズ算出部が算出した変倍後の文字サイズに応じて上記レイアウト情報を再生成し、上記表示画像生成部は、上記レイアウト生成部が再生成した上記レイアウト情報の各行のうち上記変倍操作が行われる前に上記表示画面の所定位置に表示されていた文字列を含む行が上記表示画面における予め設定された位置に表示されるように、再生成された上記レイアウト情報に基づいて上記表示画像データを再生成することを特徴としている。   In order to solve the above-described problem, a first display device of the present invention is a display device that displays an image corresponding to document data on a display screen. The first display device displays the document data according to preset display conditions. A layout generation unit for generating layout information indicating a layout for displaying a corresponding image on the display screen, and display image data for displaying an image according to the document data on the display screen based on the layout information A display image generation unit that generates the image, and an operation input unit that receives a scaling operation from the user for scaling and displaying the character size of each character in the image corresponding to the document data displayed on the display screen And the character size of the image corresponding to the document data displayed on the display screen before the scaling operation is input, and designated by the scaling operation. A character size calculation unit that calculates a character size after scaling based on the magnification, and the layout generation unit after scaling is calculated by the character size calculation unit when the scaling operation is performed. The display information generation unit regenerates the layout information in accordance with the character size of the display screen, and the display image generation unit performs predetermined processing on the display screen before the scaling operation is performed among the rows of the layout information regenerated by the layout generation unit. The display image data is regenerated based on the regenerated layout information so that a line including the character string displayed at the position is displayed at a preset position on the display screen. Yes.

また、本発明の第1の表示方法は、文書データに応じた画像を表示画面に表示する表示方法であって、予め設定された表示条件に応じて上記文書データに応じた画像を上記表示画面に表示させる際のレイアウトを示すレイアウト情報を生成するレイアウト生成工程と、上記レイアウト情報に基づいて上記文書データに応じた画像を上記表示画面に表示させるための表示画像データを生成する表示画像生成工程と、上記表示画面に表示されている上記文書データに応じた画像における各文字の文字サイズを変倍して表示させるためのユーザからの変倍操作を受け付ける操作入力工程と、上記変倍操作が入力される前に上記表示画面に表示していた上記文書データに応じた画像の文字サイズと、上記変倍操作によって指定された変倍率とに基づいて変倍後の文字サイズを算出する文字サイズ算出工程と、上記変倍操作が行われたときに、上記文字サイズ算出工程で算出した変倍後の文字サイズに応じて上記レイアウト情報を再生成するレイアウト再生成工程と、上記レイアウト再生成工程で再生成した上記レイアウト情報の各行のうち上記変倍操作が行われる前に上記表示画面の所定位置に表示されていた文字列を含む行が上記表示画面における予め設定された位置に表示されるように、再生成された上記レイアウト情報に基づいて上記表示画像データを再生成する表示画像再生成工程とを含むことを特徴としている。   The first display method of the present invention is a display method for displaying an image corresponding to document data on a display screen, and the image corresponding to the document data is displayed on the display screen according to a preset display condition. A layout generation step for generating layout information indicating a layout for display on the screen, and a display image generation step for generating display image data for displaying an image corresponding to the document data on the display screen based on the layout information An operation input step for accepting a scaling operation from the user for scaling and displaying the character size of each character in the image corresponding to the document data displayed on the display screen, and the scaling operation Based on the character size of the image corresponding to the document data displayed on the display screen before input and the scaling factor specified by the scaling operation A character size calculation step for calculating the character size after scaling, and when the scaling operation is performed, the layout information is regenerated according to the character size after scaling calculated in the character size calculation step. A line including a character string displayed at a predetermined position on the display screen before the scaling operation is performed among the lines of the layout regeneration process and the layout information regenerated in the layout regeneration process is displayed on the display screen. And a display image regenerating step of regenerating the display image data based on the regenerated layout information so as to be displayed at a preset position on the screen.

上記の表示装置および表示方法によれば、予め設定された表示条件に応じて上記文書データに応じた画像を上記表示画面に表示させる際のレイアウトを示すレイアウト情報を生成し、上記レイアウト情報に基づいて上記文書データに応じた画像を上記表示画面に表示させるための表示画像データを生成する。そして、上記表示画面に表示されている上記文書データに応じた画像における各文字の文字サイズを変倍して表示させるためのユーザからの変倍操作を受け付けると、上記変倍操作が入力される前に上記表示画面に表示していた上記文書データに応じた画像の文字サイズと、上記変倍操作によって指定された変倍率とに基づいて変倍後の文字サイズを算出する。そして、変倍後の文字サイズに応じて上記レイアウト情報を再生成し、再生成した上記レイアウト情報の各行のうち上記変倍操作が行われる前に上記表示画面の所定位置に表示されていた文字列を含む行が上記表示画面における予め設定された位置に表示されるように、再生成された上記レイアウト情報に基づいて上記表示画像データを再生成する。これにより、変倍操作に応じて再生成されたレイアウトされた画像を表示させる際、変倍操作が行われる前に所定位置に表示されていた文字列を予め設定された位置に表示させることができる。したがって、再レイアウト前にユーザが参照していた文字列の再レイアウト後の表示位置をユーザが容易に認識することができる。   According to the display device and the display method, layout information indicating a layout for displaying an image corresponding to the document data on the display screen according to a preset display condition is generated, and the layout information is based on the layout information. Display image data for displaying an image corresponding to the document data on the display screen is generated. When a scaling operation is received from the user for scaling and displaying the character size of each character in the image corresponding to the document data displayed on the display screen, the scaling operation is input. The character size after scaling is calculated based on the character size of the image corresponding to the document data previously displayed on the display screen and the scaling factor specified by the scaling operation. Then, the layout information is regenerated according to the character size after scaling, and the characters displayed at the predetermined position on the display screen before the scaling operation is performed among the lines of the regenerated layout information. The display image data is regenerated based on the regenerated layout information so that a row including a column is displayed at a preset position on the display screen. As a result, when displaying the laid out image regenerated according to the scaling operation, the character string displayed at the predetermined position before the scaling operation is displayed can be displayed at the preset position. it can. Therefore, the user can easily recognize the display position after re-layout of the character string referred to by the user before the re-layout.

また、上記表示画像生成部は、上記レイアウト生成部が再生成した上記レイアウト情報の各行のうち上記変倍操作が行われる前に上記表示画面における文書の先頭位置に表示されていた文字列を含む行が上記表示画面に表示される行のうちの先頭行または中央行に表示されるように上記表示画像データを再生成する構成としてもよい。   In addition, the display image generation unit includes a character string that is displayed at the top position of the document on the display screen before the scaling operation is performed among the lines of the layout information regenerated by the layout generation unit. The display image data may be regenerated so that the line is displayed in the first line or the center line of the lines displayed on the display screen.

上記の構成によれば、変倍操作前に表示されていた文書の先頭の文字列が変倍操作後に表示される文書の先頭行または中央行に表示されるので、ユーザが変倍前の文書の表示位置と変倍後の表示位置との対応関係を容易に認識することができる。   According to the above configuration, the first character string of the document displayed before the scaling operation is displayed on the first line or the center line of the document displayed after the scaling operation. It is possible to easily recognize the correspondence between the display position and the display position after scaling.

また、上記変倍操作は、変倍率を調整するための変倍率調整操作と変倍率を特定するための変倍率決定操作とを含み、上記表示画像生成部は、上記表示画面に表示されている文書データに応じた画像を上記変倍率調整操作に応じて変倍させたプレビュー画像を上記表示画面に表示させるためのプレビュー画像データを生成し、上記文字サイズ算出部は、上記変倍率決定操作が行われたときに上記変倍率調整操作が開始される前に上記表示画面に表示していた上記文書データに応じた画像の文字サイズと、上記変倍率決定操作によって特定された変倍率とに基づいて変倍後の文字サイズを算出する構成としてもよい。   The scaling operation includes a scaling factor adjustment operation for adjusting a scaling factor and a scaling factor determination operation for specifying a scaling factor, and the display image generation unit is displayed on the display screen. Generate preview image data for displaying on the display screen a preview image obtained by scaling an image according to document data according to the scaling factor adjustment operation. The character size calculation unit performs the scaling factor determination operation. Based on the character size of the image corresponding to the document data displayed on the display screen before the scaling factor adjustment operation was started and the scaling factor specified by the scaling factor determination operation. The character size after scaling may be calculated.

上記の構成によれば、上記変倍率調整操作に応じて表示されるプレビュー画像を参照してユーザが変倍率を特定することができる。   According to the above configuration, the user can specify the scaling factor with reference to the preview image displayed in accordance with the scaling factor adjustment operation.

また、上記表示画像生成部は、上記変倍率調整操作が行われる前に上記表示画面の所定位置に表示されていた文字列を上記プレビュー画像における予め設定された位置に表示させるように上記プレビュー画像データを生成する構成としてもよい。例えば、上記表示画像生成部は、上記変倍率調整操作が行われる前に上記表示画面に表示されていた文書のうちの先頭位置に表示されていた文字列を上記プレビュー画像における文書の先頭位置または上記プレビュー画像の中央に表示させるように上記プレビュー画像データを生成する構成としてもよい。   Further, the display image generation unit displays the character string displayed at a predetermined position on the display screen before the scaling factor adjustment operation is performed at a preset position in the preview image. It is good also as a structure which produces | generates data. For example, the display image generation unit displays the character string displayed at the head position of the document displayed on the display screen before the scaling factor adjustment operation is performed, The preview image data may be generated so as to be displayed at the center of the preview image.

上記の構成によれば、変倍率調整操作前に表示されていた表示画面の所定位置に表示されていた文字列がプレビュー画像における予め設定された位置に表示されるので、ユーザが変倍率調整操作前の文書の表示位置と変倍率調整操作中に表示されるプレビュー画像における文書の表示位置との対応関係を容易に認識することができる。   According to the above configuration, since the character string displayed at the predetermined position on the display screen that was displayed before the magnification adjustment operation is displayed at the preset position in the preview image, the user can perform the magnification adjustment operation. It is possible to easily recognize the correspondence between the display position of the previous document and the display position of the document in the preview image displayed during the magnification adjustment operation.

また、上記表示画像生成部は、上記変倍率調整操作が行われる前に上記表示画面に表示されていた文書のうちユーザからの指示入力に応じた位置に表示されていた文字列を上記プレビュー画像における文書の先頭位置または上記プレビュー画像の中央に表示させるように上記プレビュー画像データを生成する構成としてもよい。例えば、上記操作入力部は、ユーザが上記表示画面に2本の指で触れたまま当該2本の指の間隔を縮めるピンチイン操作、またはユーザが上記表示画面に2本の指で触れたまま当該2本の指の間隔を広げるピンチアウト操作を検出することで上記変倍率調整操作を受け付けるようになっており、上記表示画像生成部は、上記変倍率調整操作が行われる前に上記表示画面に表示されていた文書のうち表示画面に触れた上記2本の指に挟まれる位置に表示されていた文字列を上記プレビュー画像における文書の先頭位置または上記プレビュー画像の中央に表示させるように上記プレビュー画像データを生成する構成としてもよい。   Further, the display image generation unit displays a character string displayed at a position corresponding to an instruction input from a user among documents displayed on the display screen before the scaling factor adjustment operation is performed. The preview image data may be generated so as to be displayed at the top position of the document or at the center of the preview image. For example, the operation input unit may be a pinch-in operation that reduces the distance between the two fingers while the user touches the display screen with two fingers, or the user touches the display screen with two fingers. The zoom ratio adjustment operation is accepted by detecting a pinch-out operation that increases the interval between two fingers, and the display image generation unit displays the display screen before the zoom ratio adjustment operation is performed. Among the displayed documents, the preview is so displayed that the character string displayed at the position between the two fingers touching the display screen is displayed at the start position of the document in the preview image or at the center of the preview image. It may be configured to generate image data.

上記の構成によれば、変倍率調整操作前に表示されていた表示画面のうちユーザからの指示入力に応じた位置に表示されていた文字列がプレビュー画像における文書の先頭位置またはプレビュー画像の中央に表示されるので、ユーザが変倍率調整操作前の文書の表示位置と変倍率調整操作中に表示されるプレビュー画像における文書の表示位置との対応関係を容易に認識することができる。   According to the above configuration, the character string displayed at the position corresponding to the instruction input from the user on the display screen displayed before the magnification adjustment operation is the top position of the document in the preview image or the center of the preview image. Therefore, the user can easily recognize the correspondence between the display position of the document before the magnification adjustment operation and the display position of the document in the preview image displayed during the magnification adjustment operation.

また、上記表示画像生成部は、上記レイアウト生成部が再生成した上記レイアウト情報における、上記プレビュー画像における文書の先頭位置に表示されていた文字列、または上記プレビュー画像の中央に表示されていた文字列を含む行が、上記表示画面に表示される行のうちの先頭行または中央行に表示されるように上記表示画像データを再生成する構成としてもよい。   In addition, the display image generation unit may include a character string displayed at the start position of the document in the preview image or a character displayed in the center of the preview image in the layout information regenerated by the layout generation unit. The display image data may be regenerated so that a row including a column is displayed in the first row or the center row of the rows displayed on the display screen.

上記の構成によれば、プレビュー画像における文書の先頭位置またはプレビュー画像の中央に表示されていた文字列を含む行が変倍操作後に表示される文書の先頭行または中央行に表示されるので、ユーザがプレビュー画像における文書の表示位置と変倍後の表示位置との対応関係を容易に認識することができる。   According to the above configuration, the line including the character string displayed at the top position of the document or the center of the preview image in the preview image is displayed on the top line or the center line of the document displayed after the scaling operation. The user can easily recognize the correspondence between the display position of the document in the preview image and the display position after scaling.

本発明の第2の表示装置は、文書データに応じた画像を表示画面に表示する表示装置であって、予め設定された表示条件に応じて上記文書データに応じた画像を上記表示画面に表示させる際のレイアウトを示すレイアウト情報を生成するレイアウト生成部と、上記レイアウト情報に基づいて上記文書データに応じた画像を上記表示画面に表示させるための表示画像データを生成する表示画像生成部と、上記表示画面に表示されている上記文書データに応じた画像における各文字の文字サイズを変倍して表示させるためのユーザからの変倍操作を受け付ける操作入力部とを備え、上記変倍操作は、変倍率を調整するための変倍率調整操作と変倍率を特定するための変倍率決定操作とを含み、上記表示画像生成部は、上記表示画面に表示されている文書データに応じた画像を上記変倍率調整操作に応じて変倍させたプレビュー画像を上記表示画面に表示させるためのプレビュー画像データを、上記変倍率調整操作が行われる前に上記表示画面の所定位置に表示されていた文字列が上記プレビュー画像における予め設定された位置に表示されるように生成する。   A second display device of the present invention is a display device that displays an image according to document data on a display screen, and displays an image according to the document data on the display screen according to a preset display condition. A layout generation unit that generates layout information indicating a layout at the time of performing, a display image generation unit that generates display image data for displaying an image according to the document data on the display screen based on the layout information, An operation input unit that receives a scaling operation from a user for scaling and displaying the character size of each character in the image corresponding to the document data displayed on the display screen, and the scaling operation is A scaling factor adjustment operation for adjusting a scaling factor and a scaling factor determination operation for specifying a scaling factor, and the display image generation unit is displayed on the display screen. Preview image data for displaying on the display screen a preview image obtained by scaling an image corresponding to document data according to the scaling factor adjustment operation is displayed on the display screen before the scaling factor adjustment operation is performed. The character string displayed at the position is generated so as to be displayed at a preset position in the preview image.

また、本発明の第2の表示装置は、文書データに応じた画像を表示画面に表示する表示方法であって、予め設定された表示条件に応じて上記文書データに応じた画像を上記表示画面に表示させる際のレイアウトを示すレイアウト情報を生成するレイアウト生成工程と、上記レイアウト情報に基づいて上記文書データに応じた画像を上記表示画面に表示させるための表示画像データを生成する表示画像生成工程と、上記表示画面に表示されている上記文書データに応じた画像における各文字の文字サイズを変倍して表示させる際の変倍率を調整するためのユーザによる変倍率調整操作、および変倍率を決定するためのユーザによる変倍率決定操作を受け付ける操作入力工程とを含み、上記表示画面に表示されている文書データに応じた画像を上記変倍率調整操作に応じて変倍させたプレビュー画像を上記表示画面に表示させるためのプレビュー画像データを生成するプレビュー画像生成工程とを含み、上記プレビュー画像生成工程では、上記変倍率調整操作が行われる前に上記表示画面の所定位置に表示されていた文字列が上記プレビュー画像における予め設定された位置に表示されるように上記プレビュー画像を生成する。   The second display device of the present invention is a display method for displaying an image corresponding to document data on a display screen, and the image corresponding to the document data is displayed on the display screen according to a preset display condition. A layout generation step for generating layout information indicating a layout for display on the screen, and a display image generation step for generating display image data for displaying an image corresponding to the document data on the display screen based on the layout information And a scaling factor adjustment operation by a user for adjusting a scaling factor when the character size of each character in the image corresponding to the document data displayed on the display screen is scaled and displayed, and a scaling factor An operation input step for accepting a scaling factor determination operation by a user for determination, and displaying an image corresponding to the document data displayed on the display screen. A preview image generation step of generating preview image data for displaying on the display screen a preview image that has been scaled according to the scaling factor adjustment operation. In the preview image generation step, the scaling factor adjustment operation is performed. The preview image is generated so that a character string displayed at a predetermined position on the display screen before being displayed is displayed at a preset position in the preview image.

上記の表示装置および表示方法によれば、変倍率調整操作に応じて表示されるプレビュー画像を参照してユーザが変倍率を特定することができる。また、変倍率調整操作前に表示されていた表示画面の所定位置に表示されていた文字列がプレビュー画像における予め設定された位置に表示されるので、ユーザが変倍率調整操作前の文書の表示位置と変倍率調整操作中に表示されるプレビュー画像における文書の表示位置との対応関係を容易に認識することができる。   According to the display device and the display method described above, the user can specify the scaling factor by referring to the preview image displayed according to the scaling factor adjustment operation. In addition, since the character string displayed at the predetermined position on the display screen displayed before the magnification adjustment operation is displayed at a preset position in the preview image, the user can display the document before the magnification adjustment operation. It is possible to easily recognize the correspondence between the position and the display position of the document in the preview image displayed during the magnification adjustment operation.

また、上記表示画像生成部は、上記変倍率調整操作が行われる前に上記表示画面に表示されていた文書のうちユーザからの指示入力に応じた位置に表示されていた文字列を上記プレビュー画像における文書の先頭位置または上記プレビュー画像の中央に表示させるように上記プレビュー画像データを生成する構成としてもよい。   Further, the display image generation unit displays a character string displayed at a position corresponding to an instruction input from a user among documents displayed on the display screen before the scaling factor adjustment operation is performed. The preview image data may be generated so as to be displayed at the top position of the document or at the center of the preview image.

上記の構成によれば、ユーザが変倍率調整操作前の文書の表示位置と変倍率調整操作中に表示されるプレビュー画像における文書の表示位置との対応関係を容易に認識することができる。   According to the above configuration, the user can easily recognize the correspondence between the display position of the document before the magnification adjustment operation and the display position of the document in the preview image displayed during the magnification adjustment operation.

また、上記表示画像生成部は、上記変倍率調整操作が行われる前に上記表示画面に表示されていた文書のうちユーザからの指示入力に応じた位置に表示されていた文字列を上記プレビュー画像における文書の先頭位置または上記プレビュー画像の中央に表示させるように上記プレビュー画像データを生成することを特徴とする構成としてもよい。例えば、上記操作入力部は、ユーザが上記表示画面に2本の指で触れたまま当該2本の指の間隔を縮めるピンチイン操作、またはユーザが上記表示画面に2本の指で触れたまま当該2本の指の間隔を広げるピンチアウト操作を検出することで上記変倍率調整操作を受け付けるようになっており、上記表示画像生成部は、上記変倍率調整操作が行われる前に上記表示画面に表示されていた文書のうち表示画面に触れた上記2本の指に挟まれる位置に表示されていた文字列を上記プレビュー画像における文書の先頭位置または上記プレビュー画像の中央に表示させるように上記プレビュー画像データを生成する構成としてもよい。   Further, the display image generation unit displays a character string displayed at a position corresponding to an instruction input from a user among documents displayed on the display screen before the scaling factor adjustment operation is performed. The preview image data may be generated so as to be displayed at the top position of the document or at the center of the preview image. For example, the operation input unit may be a pinch-in operation that reduces the distance between the two fingers while the user touches the display screen with two fingers, or the user touches the display screen with two fingers. The zoom ratio adjustment operation is accepted by detecting a pinch-out operation that increases the interval between two fingers, and the display image generation unit displays the display screen before the zoom ratio adjustment operation is performed. Among the displayed documents, the preview is so displayed that the character string displayed at the position between the two fingers touching the display screen is displayed at the start position of the document in the preview image or at the center of the preview image. It may be configured to generate image data.

上記の構成によれば、変倍率調整操作前に表示されていた表示画面のうちユーザからの指示入力に応じた位置に表示されていた文字列がプレビュー画像における文書の先頭位置またはプレビュー画像の中央に表示されるので、ユーザが変倍率調整操作前の文書の表示位置と変倍率調整操作中に表示されるプレビュー画像における文書の表示位置との対応関係を容易に認識することができる。   According to the above configuration, the character string displayed at the position corresponding to the instruction input from the user on the display screen displayed before the magnification adjustment operation is the top position of the document in the preview image or the center of the preview image. Therefore, the user can easily recognize the correspondence between the display position of the document before the magnification adjustment operation and the display position of the document in the preview image displayed during the magnification adjustment operation.

なお、上記した各表示装置に備えられる上記各部はコンピュータによって実現してもよく、その場合には、コンピュータを上記各部として動作させるプログラム、およびそれを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に含まれる。   Note that the above-described units included in each of the display devices described above may be realized by a computer. In that case, a program that causes a computer to operate as the above-described units and a computer-readable recording medium that records the program are also included in the present invention. Included in the category.

以上のように、本発明の表示装置は、予め設定された表示条件に応じて上記文書データに応じた画像を上記表示画面に表示させる際のレイアウトを示すレイアウト情報を生成するレイアウト生成部と、上記レイアウト情報に基づいて上記文書データに応じた画像を上記表示画面に表示させるための表示画像データを生成する表示画像生成部と、上記表示画面に表示されている上記文書データに応じた画像における各文字の文字サイズを変倍して表示させるためのユーザからの変倍操作を受け付ける操作入力部と、上記変倍操作が入力される前に上記表示画面に表示していた上記文書データに応じた画像の文字サイズと、上記変倍操作によって指定された変倍率とに基づいて変倍後の文字サイズを算出する文字サイズ算出部とを備え、上記レイアウト生成部は、上記変倍操作が行われたときに、上記文字サイズ算出部が算出した変倍後の文字サイズに応じて上記レイアウト情報を再生成し、上記表示画像生成部は、上記レイアウト生成部が再生成した上記レイアウト情報における上記変倍操作が行われる前に上記表示画面の所定位置に表示されていた文字列を含む行が上記表示画面における予め設定された位置に表示されるように、再生成された上記レイアウト情報に基づいて上記表示画像データを再生成する。   As described above, the display device of the present invention includes a layout generation unit that generates layout information indicating a layout when an image corresponding to the document data is displayed on the display screen in accordance with preset display conditions; A display image generation unit that generates display image data for displaying an image corresponding to the document data on the display screen based on the layout information; and an image corresponding to the document data displayed on the display screen. An operation input unit that accepts a scaling operation from the user for scaling and displaying the character size of each character, and according to the document data displayed on the display screen before the scaling operation is input A character size calculation unit that calculates a character size after scaling based on the character size of the image and the scaling factor specified by the scaling operation. The out generation unit regenerates the layout information according to the character size after the scaling calculated by the character size calculation unit when the scaling operation is performed, and the display image generation unit A line including a character string displayed at a predetermined position on the display screen before the scaling operation in the layout information regenerated by the generation unit is displayed at a preset position on the display screen. Then, the display image data is regenerated based on the regenerated layout information.

それゆえ、変倍操作に応じて再生成されたレイアウトされた画像を表示させる際、変倍操作が行われる前に所定位置に表示されていた文字列を予め設定された位置に表示させることができる。したがって、再レイアウト前にユーザが参照していた文字列の再レイアウト後の表示位置をユーザが容易に認識することができる。   Therefore, when displaying the laid out image regenerated according to the scaling operation, the character string displayed at the predetermined position before the scaling operation is displayed can be displayed at the preset position. it can. Therefore, the user can easily recognize the display position after re-layout of the character string referred to by the user before the re-layout.

図2に示す表示装置における変倍操作時の表示画像の例を示す説明図である。It is explanatory drawing which shows the example of the display image at the time of scaling operation in the display apparatus shown in FIG. 本発明の一実施形態にかかる表示装置の構成を示すブロック図である。It is a block diagram which shows the structure of the display apparatus concerning one Embodiment of this invention. 図2に示した表示装置における変倍操作が行われた場合の処理の流れを示すフローチャートである。3 is a flowchart showing a flow of processing when a scaling operation is performed in the display device shown in FIG. 2. 図2に示す表示装置における変倍操作時の表示画像の例を示す説明図である。It is explanatory drawing which shows the example of the display image at the time of scaling operation in the display apparatus shown in FIG. 図2に示す表示装置における変倍操作時の表示画像の例を示す説明図である。It is explanatory drawing which shows the example of the display image at the time of scaling operation in the display apparatus shown in FIG. 図2に示す表示装置における変倍操作時の表示画像の例を示す説明図である。It is explanatory drawing which shows the example of the display image at the time of scaling operation in the display apparatus shown in FIG. 図2に示す表示装置における変倍操作時の表示画像の例を示す説明図である。It is explanatory drawing which shows the example of the display image at the time of scaling operation in the display apparatus shown in FIG. 図2に示す表示装置における変倍操作時の表示画像の例を示す説明図である。It is explanatory drawing which shows the example of the display image at the time of scaling operation in the display apparatus shown in FIG.

本発明の一実施形態について説明する。図2は本実施形態にかかる表示装置1の構成を示すブロック図である。この図に示すように、表示装置1は、文書情報記憶部11、操作入力部12、表示処理部13、および表示部14を備えている。   An embodiment of the present invention will be described. FIG. 2 is a block diagram showing a configuration of the display device 1 according to the present embodiment. As shown in FIG. 1, the display device 1 includes a document information storage unit 11, an operation input unit 12, a display processing unit 13, and a display unit 14.

文書情報記憶部11は、電子書籍データや電子辞書データなどの文書データを記憶するものである。なお、上記の文書データは、文字オブジェクトのみからなるものであってもよく、文字オブジェクトと画像オブジェクトとが混在したものであってもよい。また、文書情報記憶部11に記憶させる文書データは、例えば、通信可能に接続された他の装置から受信あるいはダウンロードしたものであってもよく、表示装置1に着脱可能に接続される各種記録媒体から読み出したものであってもよい。また、文書情報記憶部11としては、例えば、リードオンリーメモリ(ROM)、ランダムアクセスメモリ(RAM)、ハードディスクドライブ(HDD)などの従来から公知の種々の記憶手段を用いることができる。   The document information storage unit 11 stores document data such as electronic book data and electronic dictionary data. Note that the document data described above may be composed only of character objects, or may be a mixture of character objects and image objects. The document data to be stored in the document information storage unit 11 may be, for example, data received or downloaded from another device communicably connected, and various recording media removably connected to the display device 1. It may be read from. As the document information storage unit 11, various conventionally known storage means such as a read only memory (ROM), a random access memory (RAM), and a hard disk drive (HDD) can be used.

操作入力部12は、ユーザからの指示入力を受け付けて表示処理部13に伝達するものである。操作入力部12の構成は特に限定されるものではなく、例えば、各種操作ボタン、キーボード、マウス、キーパッド、タッチスクリーン、あるいはこれらの組み合わせなどを用いることができる。なお、本実施形態では、表示部14がマルチタッチスクリーン機能を有する表示画面を備えており、操作入力部12が表示画面上のユーザが触れた位置を検出することによってユーザの指示入力を受け付ける場合について説明する。   The operation input unit 12 receives an instruction input from the user and transmits it to the display processing unit 13. The configuration of the operation input unit 12 is not particularly limited. For example, various operation buttons, a keyboard, a mouse, a keypad, a touch screen, or a combination thereof can be used. In the present embodiment, the display unit 14 includes a display screen having a multi-touch screen function, and the operation input unit 12 receives a user instruction input by detecting a position touched by the user on the display screen. Will be described.

表示処理部13は、文書情報記憶部11に記憶している文書データに基づいて表示部14に表示させるための表示画像データを生成するものであり、表示制御部15、レイアウト記憶部16、および変倍率記憶部17を備えている。また、表示処理部13は、文書情報読出部18、レイアウト生成部19、表示画像生成部20、変倍率算出部21、文字サイズ算出部22、および主制御部23を備えている。   The display processing unit 13 generates display image data to be displayed on the display unit 14 based on the document data stored in the document information storage unit 11, and includes a display control unit 15, a layout storage unit 16, and A variable magnification storage unit 17 is provided. The display processing unit 13 includes a document information reading unit 18, a layout generation unit 19, a display image generation unit 20, a scaling factor calculation unit 21, a character size calculation unit 22, and a main control unit 23.

文書情報読出部18は、表示部14に表示させる文書データを文書情報記憶部11から読み出してレイアウト生成部19に出力する。例えば、文書情報記憶部11に格納している文書データのリストを表示部14に表示させ、表示されたリストの中からユーザが所望する文書データを選択し、ユーザが選択した文書データを文書情報読出部18が読み出すようにしてもよい。   The document information reading unit 18 reads document data to be displayed on the display unit 14 from the document information storage unit 11 and outputs the document data to the layout generation unit 19. For example, a list of document data stored in the document information storage unit 11 is displayed on the display unit 14, the user selects desired document data from the displayed list, and the document data selected by the user is used as document information. The reading unit 18 may read the data.

レイアウト生成部19は、文書情報読出部18が読み出した文書データを表示部14に表示させる際のレイアウトを示すレイアウト情報を生成し、文書データとレイアウト情報とをレイアウト記憶部16に記憶させる。なお、文書データの表示を開始するときには、予め設定されている文字サイズ(文字の表示サイズ)、表示部14の表示画面のサイズ、および段組み表示を行う際の段数などに基づいてレイアウト情報を生成する。また、ユーザが変倍操作を行った場合には、ユーザから指示された変倍率に応じた文字サイズ、表示部14の表示画面のサイズ、および段組み表示を行う際の段数などに基づいてレイアウト情報を再生成する。   The layout generation unit 19 generates layout information indicating a layout when the document data read by the document information reading unit 18 is displayed on the display unit 14, and stores the document data and the layout information in the layout storage unit 16. When the display of the document data is started, the layout information is based on the character size (character display size) set in advance, the size of the display screen of the display unit 14, the number of columns when the column display is performed, and the like. Generate. In addition, when the user performs a scaling operation, the layout is based on the character size corresponding to the scaling factor instructed by the user, the size of the display screen of the display unit 14, the number of columns when the column display is performed, and the like. Regenerate information.

レイアウト記憶部16は、レイアウト生成部19によって生成されたレイアウト情報および文書情報読出部18が読み出した文書データを記憶する。なお、レイアウト情報には、文書データを表示させる際の各行のサイズ、各行の表示位置、各行に含めるオブジェクトを特定する情報などが含まれる。また、レイアウト記憶部16としては、例えば、ランダムアクセスメモリ(RAM)、ハードディスクドライブ(HDD)などの従来から公知の種々の記憶手段を用いることができる。   The layout storage unit 16 stores the layout information generated by the layout generation unit 19 and the document data read by the document information reading unit 18. The layout information includes the size of each line when document data is displayed, the display position of each line, information for specifying the object included in each line, and the like. As the layout storage unit 16, various conventionally known storage means such as a random access memory (RAM) and a hard disk drive (HDD) can be used.

表示画像生成部20は、レイアウト記憶部16に記憶されているレイアウト情報および文書データに基づいて表示部14に表示させる表示画像(表示画像データ)を生成し、表示部14に出力する。   The display image generation unit 20 generates a display image (display image data) to be displayed on the display unit 14 based on the layout information and document data stored in the layout storage unit 16 and outputs the display image to the display unit 14.

また、操作入力部12に対する変倍操作(変倍率調整操作および変倍率決定操作)が行われた場合には、変倍率調整操作が開始された後、変倍率決定操作が行われるまで、表示部14に表示している画像を変倍率調整操作に応じた変倍率で変倍させた画像(プレビュー画像)の画像データ(プレビュー画像データ)を生成し、表示部14に出力して表示させる。なお、プレビュー画像を表示する場合、表示画像生成部20は、変倍操作が開始される前に表示していた画像のうちの所定位置(例えば、表示画面における文書の先頭、表示画面の中央、ピンチイン/ピンチアウト操作を行う2本の指に挟まれる位置、あるいはユーザから指定された位置)を基準として変倍させた画像を表示させる。プレビュー画像の生成方法の詳細については後述する。   In addition, when a magnification operation (magnification adjustment operation and magnification determination operation) is performed on the operation input unit 12, after the magnification adjustment operation is started, until the magnification determination operation is performed, the display unit 14 generates image data (preview image data) of an image (preview image) obtained by scaling the image displayed at 14 with a scaling factor corresponding to the scaling factor adjustment operation, and outputs the data to the display unit 14 for display. When displaying a preview image, the display image generation unit 20 displays a predetermined position (for example, the top of the document on the display screen, the center of the display screen, the image displayed before the scaling operation is started). A zoomed image is displayed with reference to a position between two fingers performing a pinch-in / pinch-out operation or a position designated by the user. Details of the preview image generation method will be described later.

変倍率算出部21は、操作入力部12に対するユーザからの変倍操作に応じた変倍率を算出し、算出した変倍率を変倍率記憶部17に記憶させる。具体的には、本実施形態では、ユーザがプレビュー画像を参照しながら変倍率を調整する変倍率調整操作とユーザが再レイアウトに適用する変倍率を決定する変倍率決定操作とを含む変倍操作を行うようになっている。また、表示画面に対してピンチイン操作(縮小操作。2本の指を画面上に載せてその間隔を縮める動作。)またはピンチアウト操作(拡大操作。2本の指を画面上に載せて指と指の間を広げる動作。)を行うことで変倍率調整操作を行うようになっている。また、ピンチイン操作またはピンチアウト操作を行った後、2本の指を表示画面から離すことによって変倍率決定操作を行い、その時点までのピンチイン操作またはピンチアウト操作の操作量に応じて変倍率を再レイアウトに適用する決定するようになっている。なお、変倍操作の方法はこれに限るものではなく、例えば、マウスホイールを操作することによって変倍操作を行うようにしてもよく、表示画面に表示させたスクロールバーを操作するようにしてもよく、変倍率の数値をユーザが直接入力するようにしてもよい。   The scaling factor calculator 21 calculates a scaling factor corresponding to a scaling operation from the user to the operation input unit 12 and stores the calculated scaling factor in the scaling factor storage unit 17. Specifically, in this embodiment, a scaling operation including a scaling factor adjustment operation in which the user adjusts the scaling factor while referring to the preview image, and a scaling factor determination operation in which the user determines a scaling factor to be applied to the re-layout. Is supposed to do. In addition, a pinch-in operation (reduction operation; an operation of placing two fingers on the screen to reduce the interval between them) or a pinch-out operation (enlargement operation. Placing two fingers on the screen and moving the finger Magnification adjustment operation is performed by performing an operation of widening between fingers. In addition, after performing a pinch-in operation or a pinch-out operation, a scaling factor determination operation is performed by releasing two fingers from the display screen, and the scaling factor is set according to the operation amount of the pinch-in operation or the pinch-out operation up to that point. The decision to apply to re-layout is to be made. Note that the scaling operation method is not limited to this. For example, the scaling operation may be performed by operating the mouse wheel, or the scroll bar displayed on the display screen may be operated. Of course, the user may directly input the numerical value of the scaling factor.

変倍率記憶部(変倍率バッファ部)17は、変倍率算出部21によって算出された変倍率を記憶するとともに、記憶した変倍率を表示画像生成部20に出力する。なお、本実施形態では、変倍率算出部21が、ピンチイン操作またはピンチアウト操作が行われている間、ピンチイン操作またはピンチアウト操作の操作量に応じて変倍率を連続的に算出するようになっており、変倍率記憶部17に記憶させている変倍率を順次更新するようになっている。また、変倍率決定操作が行われた場合、変倍率記憶部17はその時点で記憶している変倍率を文字サイズ算出部22およびレイアウト生成部19に出力する。レイアウト記憶部16としては、例えば、ランダムアクセスメモリ(RAM)、ハードディスクドライブ(HDD)などの従来から公知の種々の記憶手段を用いることができる。   The scaling factor storage unit (magnification scaling factor buffer unit) 17 stores the scaling factor calculated by the scaling factor calculation unit 21 and outputs the stored scaling factor to the display image generation unit 20. In the present embodiment, the scaling factor calculation unit 21 continuously calculates the scaling factor according to the operation amount of the pinch-in operation or the pinch-out operation while the pinch-in operation or the pinch-out operation is performed. The scaling factor stored in the scaling factor storage unit 17 is sequentially updated. When a scaling factor determination operation is performed, the scaling factor storage unit 17 outputs the scaling factor stored at that time to the character size calculation unit 22 and the layout generation unit 19. As the layout storage unit 16, various conventionally known storage means such as a random access memory (RAM) and a hard disk drive (HDD) can be used.

文字サイズ算出部22は、ピンチイン操作またはピンチアウト操作が開始された後、変倍率決定操作が行われたときに、その時点で変倍率記憶部17に記憶されている変倍率と、ピンチイン操作またはピンチアウト操作が開始される前に表示していた文字サイズとに基づいて再レイアウト後の文字サイズを算出し、レイアウト生成部19に出力する。すなわち、ピンチイン操作またはピンチアウト操作が開始される前に表示していた文字サイズをユーザからの変倍指示に応じた変倍率で変倍させて表示させる場合の変倍後の文字サイズを算出する。   The character size calculation unit 22 performs a scaling factor stored in the scaling factor storage unit 17 at that time, a pinch-in operation or a pinch-in operation when a scaling factor determination operation is performed after a pinch-in operation or a pinch-out operation is started. The character size after re-layout is calculated based on the character size displayed before the pinch-out operation is started, and is output to the layout generation unit 19. That is, the character size after scaling is calculated when the character size displayed before the start of the pinch-in operation or pinch-out operation is scaled according to the scaling instruction from the user. .

レイアウト生成部19は、文字サイズ算出部22から変倍後の文字サイズが入力されると、その文字サイズに応じて表示中の文書データのレイアウト情報を再生成してレイアウト記憶部16に記憶させる。なお、レイアウト生成部19は、ピンチイン操作またはピンチアウト操作が開始される前に表示画面に表示していた先頭の文字列よりも前の所定のデータ区切り位置(例えば、ブロックの先頭、章の先頭、または直前の改行指定位置)から後の文書データのレイアウト情報を再生成する。これにより、表示部14に表示される画像がユーザからの変倍指示に応じて再レイアウトされた画像に更新される。   When the character size after scaling is input from the character size calculation unit 22, the layout generation unit 19 regenerates the layout information of the document data being displayed according to the character size and stores it in the layout storage unit 16. . Note that the layout generation unit 19 determines a predetermined data delimiter position (for example, the beginning of a block or the beginning of a chapter) before the first character string displayed on the display screen before the pinch-in operation or the pinch-out operation is started. Or, the layout information of the document data after the previous line feed specified position) is regenerated. As a result, the image displayed on the display unit 14 is updated to a re-layout image in response to a scaling instruction from the user.

なお、レイアウト生成部19は、変倍操作が開始される前に表示画面の所定位置(例えば、表示画面における文書の先頭、表示画面の中央、またはユーザが指定した位置)に表示されていた文字列を含む行が再レイアウト後に表示画面の予め設定された位置(例えば、表示画面における文書の先頭または表示画面の中央)に表示されるようにレイアウト情報を再生成するようになっている。再レイアウト方法の詳細については後述する。   Note that the layout generation unit 19 displays the characters displayed at a predetermined position on the display screen (for example, the top of the document, the center of the display screen, or a position specified by the user) before the scaling operation is started. The layout information is regenerated so that the row including the column is displayed at a preset position on the display screen (for example, the top of the document on the display screen or the center of the display screen) after the re-layout. Details of the re-layout method will be described later.

主制御部23は、表示制御部15の各部の動作を制御するものであり、例えば、CPU(中央演算処理装置;Central Processing Unit)を備えるマイクロコンピュータ、マイクロプロセッサなどによって実現される処理回路である。主制御部23は、図示しない記憶部に記憶されている各種設置値、データテーブル、および各種制御を実施するためのプログラムなどを取り出して演算処理や判定処理を行い、これらの処理結果に基づいて表示制御部15の各部に制御信号を送って各部の動作を制御する。上記の記憶部としては、従来から公知の種々の記憶手段、例えば、リードオンリーメモリ(ROM)、ランダムアクセスメモリ(RAM)、ハードディスクドライブ(HDD)などを用いることができる。なお、表示制御部15に備えられる他のブロック、すなわち文書情報読出部18、レイアウト生成部19、表示画像生成部20、変倍率算出部21、および文字サイズ算出部22についても主制御部23と同様、CPUを備えるマイクロコンピュータ、マイクロプロセッサなどによって実現される処理回路であってもよい。   The main control unit 23 controls the operation of each unit of the display control unit 15 and is, for example, a processing circuit realized by a microcomputer, a microprocessor, or the like that includes a CPU (Central Processing Unit). . The main control unit 23 extracts various installation values, data tables, programs for performing various controls, and the like stored in a storage unit (not shown), performs arithmetic processing and determination processing, and based on these processing results A control signal is sent to each part of the display control unit 15 to control the operation of each part. As the storage unit, various conventionally known storage means such as a read only memory (ROM), a random access memory (RAM), a hard disk drive (HDD), and the like can be used. Note that other blocks included in the display control unit 15, that is, the document information reading unit 18, the layout generation unit 19, the display image generation unit 20, the scaling factor calculation unit 21, and the character size calculation unit 22 are also the same as the main control unit 23. Similarly, a processing circuit realized by a microcomputer having a CPU, a microprocessor, or the like may be used.

表示部14は、表示処理部13から出力される表示画像データに応じた画像を表示する表示手段である。表示部14としては、例えば液晶ディスプレイ、有機ELディスプレイ、プラズマディスプレイ、CRTなどを用いることができる。本実施形態では、マルチタッチスクリーン機能を有する液晶ディスプレイを用いる場合について説明する。   The display unit 14 is a display unit that displays an image corresponding to the display image data output from the display processing unit 13. As the display unit 14, for example, a liquid crystal display, an organic EL display, a plasma display, a CRT, or the like can be used. In this embodiment, a case where a liquid crystal display having a multi-touch screen function is used will be described.

次に、表示装置1に対して変倍操作が行われた場合の処理の流れについて、図1、図3、および図4を用いて説明する。図3は変倍操作が行われた場合の処理の流れを示すフローチャートであり、図1はピンチアウト操作(変倍操作)が行われた場合の表示画面の一例を示す説明図であり、図4はピンチイン操作(変倍操作)が行われた場合の表示画面の一例を示す説明図である。   Next, the flow of processing when a scaling operation is performed on the display device 1 will be described with reference to FIGS. 1, 3, and 4. FIG. 3 is a flowchart showing the flow of processing when a scaling operation is performed, and FIG. 1 is an explanatory diagram showing an example of a display screen when a pinch-out operation (scaling operation) is performed. 4 is an explanatory diagram illustrating an example of a display screen when a pinch-in operation (magnification operation) is performed.

図3に示すように、まず、主制御部23は、文書情報読出部18を制御して文書情報記憶部11からユーザからの指示に応じた文書データを読み出させ、レイアウト生成部19に伝達させる(S1)。なお、文書情報読出部18がレイアウト生成部19の処理速度に応じて文書情報記憶部11から文書データを適宜読み出すようにしてもよく、文書情報読出部18が読み出した文書データをバッファ(図示せず)を介してレイアウト生成部19に出力させるようにしてもよい。   As shown in FIG. 3, first, the main control unit 23 controls the document information reading unit 18 to read document data in accordance with an instruction from the user from the document information storage unit 11 and transmits the document data to the layout generation unit 19. (S1). The document information reading unit 18 may appropriately read document data from the document information storage unit 11 in accordance with the processing speed of the layout generation unit 19, and the document data read by the document information reading unit 18 may be buffered (not shown). May be output to the layout generation unit 19 via

次に、主制御部23は、レイアウト生成部19を制御し、文書情報読出部18から入力された文書データと予め設定されている表示条件(文字サイズ、段数、表示画面のサイズ等の条件)とに基づいてこの文書データに応じた画像を表示部14に表示させる際のレイアウトを示すレイアウト情報を生成させ、生成したレイアウト情報をレイアウト記憶部16に記憶させる(S2)。   Next, the main control unit 23 controls the layout generation unit 19 and the document data input from the document information reading unit 18 and preset display conditions (conditions such as character size, number of columns, and display screen size). Based on the above, layout information indicating a layout for displaying an image corresponding to the document data on the display unit 14 is generated, and the generated layout information is stored in the layout storage unit 16 (S2).

次に、主制御部23は、表示画像生成部20を制御し、レイアウト記憶部16に記憶されているレイアウト情報と閲覧位置情報とに基づいて文書データに応じた画像を表示部14に表示させるための表示画像データを生成させ、表示部14に出力させて表示させる(S3)。なお、閲覧位置情報とは、文書データ中の表示対象とするページ、当該ページ内の表示開始位置などを示す情報である。この閲覧位置情報は、ユーザがその都度指定するようにしてもよく、以前に閲覧した文書データである場合には前回閲覧を終了した箇所を記憶しておき当該箇所を閲覧位置情報として設定するようにしてもよい。また、ユーザからの閲覧開始位置を指定する指示や過去の閲覧履歴がない場合などには、文書データの先頭ページの先頭箇所から表示するようにしてもよい。   Next, the main control unit 23 controls the display image generation unit 20 to cause the display unit 14 to display an image corresponding to the document data based on the layout information and the browsing position information stored in the layout storage unit 16. Display image data is generated and output to the display unit 14 for display (S3). The browsing position information is information indicating a page to be displayed in the document data, a display start position in the page, and the like. The browsing position information may be designated by the user each time, and when the document data has been browsed before, the location where the previous browsing is finished is stored and the location is set as the browsing location information. It may be. Further, when there is no instruction for specifying the browsing start position from the user or when there is no past browsing history, it may be displayed from the top position of the top page of the document data.

その後、主制御部23は、ユーザから表示遷移操作が入力されたか否かを判断する(S4)。ここで、表示遷移操作とは、表示するページを変更するページ変更操作(例えば次のページに移行するためのページめくり操作、指定したページに移行するページ指定操作など)、あるいはページ内における表示対象箇所の移動操作(例えば、行送り操作、スクロール操作など)などである。   Thereafter, the main control unit 23 determines whether a display transition operation is input from the user (S4). Here, the display transition operation is a page change operation for changing the page to be displayed (for example, a page turning operation for moving to the next page, a page specifying operation for moving to the specified page, etc.), or a display target in the page For example, the operation of moving a part (for example, line feed operation, scroll operation, etc.).

そして、S4においてユーザから表示遷移操作が入力されたと判断した場合、主制御部23は、S3の処理に戻って表示画像生成部20を制御し、レイアウト記憶部16に記憶されているレイアウト情報と表示遷移操作に応じた閲覧位置情報とに基づいて表示部14に表示させるための表示画像データを生成し、表示部14に出力して表示させる。   If it is determined in S4 that a display transition operation has been input from the user, the main control unit 23 returns to the process of S3 to control the display image generation unit 20 and the layout information stored in the layout storage unit 16 and Display image data to be displayed on the display unit 14 is generated based on the browsing position information corresponding to the display transition operation, and is output and displayed on the display unit 14.

一方、S4においてユーザからの表示遷移操作が入力されていないと判断した場合、主制御部23は、ユーザから変倍操作(変倍率調整操作)が行われたか否かを判断する(S5)。そして、変倍操作が行われていないと判断した場合、主制御部23は、後述するS12の処理に移行する。   On the other hand, when determining in S4 that the display transition operation from the user has not been input, the main control unit 23 determines whether or not a scaling operation (magnification adjustment operation) has been performed by the user (S5). When determining that the scaling operation has not been performed, the main control unit 23 proceeds to the process of S12 described later.

一方、変倍操作が行われたと判断した場合、主制御部23は、変倍率算出部21を制御し、ユーザの操作に応じた変倍率(拡大率あるいは縮小率)およびプレビュー画像の表示開始座標を算出させ、算出した変倍率および表示開始座標を変倍率記憶部17に記憶させる(S6)。また、主制御部23は、表示画像生成部20を制御し、変倍率算出部21によって算出された変倍率および表示開始座標に基づいてプレビュー画像を生成させ、生成したプレビュー画像を表示部14に出力させて表示させる(S7)。   On the other hand, when determining that the scaling operation has been performed, the main control unit 23 controls the scaling factor calculation unit 21 to change the scaling factor (enlargement ratio or reduction ratio) according to the user's operation and display start coordinates of the preview image. And the calculated scaling factor and display start coordinates are stored in the scaling factor storage unit 17 (S6). Further, the main control unit 23 controls the display image generation unit 20 to generate a preview image based on the scaling factor and display start coordinates calculated by the scaling factor calculation unit 21, and the generated preview image is displayed on the display unit 14. Output and display (S7).

具体的には、変倍率算出部21は、変倍率調整操作が行われている期間中、ピンチイン操作あるいはピンチアウト操作におけるユーザの指の移動量に基づいて変倍率を連続的(あるいは所定時間毎(例えば0.1秒毎))に算出し、変倍率記憶部17に記憶させている変倍率を順次更新する。なお、ピンチイン操作あるいはピンチアウト操作以外の操作方法によって変倍率調整操作を行う場合には、当該操作方法に応じた算出方法で変倍率を算出すればよい。   Specifically, the scaling factor calculation unit 21 continuously calculates the scaling factor based on the amount of movement of the user's finger in the pinch-in operation or the pinch-out operation during the period during which the scaling factor adjustment operation is performed (or every predetermined time). (For example, every 0.1 seconds)), and the scaling factor stored in the scaling factor storage unit 17 is sequentially updated. Note that when the magnification adjustment operation is performed by an operation method other than the pinch-in operation or the pinch-out operation, the magnification may be calculated by a calculation method according to the operation method.

また、変倍率算出部21は、図1および図4に示すように、変倍操作(変倍率調整操作)が開始される直前に表示していた表示画像の左上角部(表示されている文書における先頭の文字列)がプレビュー画像の左上角部(プレビュー画像における先頭の文字列)に配置されるようにプレビュー画像の表示位置を設定し、表示開始座標を算出する。なお、図1および図4に示した例では、プレビュー画像を表示画面の全域に表示させているが、これに限らず、プレビュー画像を表示画面の一部に表示させるようにしてもよい。また、プレビュー画像の表示領域の形状は矩形に限るものではなく、例えば、円形や楕円形などであってもよい。   Further, as shown in FIGS. 1 and 4, the scaling factor calculation unit 21 displays the upper left corner (displayed document) of the display image displayed immediately before the scaling operation (magnification adjustment operation) is started. The display position of the preview image is set so that the first character string in () is placed at the upper left corner of the preview image (first character string in the preview image), and the display start coordinates are calculated. In the example shown in FIGS. 1 and 4, the preview image is displayed on the entire display screen. However, the present invention is not limited to this, and the preview image may be displayed on a part of the display screen. Further, the shape of the preview image display area is not limited to a rectangle, and may be, for example, a circle or an ellipse.

その後、主制御部23は、ユーザが変倍率決定操作を行ったか否かを判断する(S8)。本実施形態では、ピンチイン操作あるいはピンチアウト操作を行った後、ユーザの2本の指が表示画面から離れたときに変倍率決定操作が行われたと判断する。ただし、これに限らず、ユーザが所定のボタン等を操作することによって変倍率決定操作を行うようにしてもよい。   Thereafter, the main control unit 23 determines whether or not the user has performed a scaling factor determination operation (S8). In the present embodiment, after performing a pinch-in operation or a pinch-out operation, it is determined that a scaling factor determination operation has been performed when the user's two fingers are separated from the display screen. However, the present invention is not limited to this, and the scaling factor determination operation may be performed by the user operating a predetermined button or the like.

そして、S8において変倍率決定操作が行われていないと判断した場合、主制御部23はS6の処理に戻ってプレビュー画像の生成および表示を継続する。   If it is determined in S8 that the scaling factor determination operation has not been performed, the main control unit 23 returns to the process in S6 and continues generating and displaying the preview image.

一方、S8において変倍率決定操作が行われたと判断した場合、主制御部23は、文字サイズ算出部22を制御し、その時点で変倍率記憶部17に記憶されている変倍率と変倍操作が行われる前の文字サイズとに応じて変倍後(レイアウト変更後)の文字サイズを算出させる(S9)。   On the other hand, if it is determined in S8 that the scaling factor determination operation has been performed, the main control unit 23 controls the character size calculation unit 22, and the scaling factor and scaling operation stored in the scaling factor storage unit 17 at that time. The character size after scaling (after layout change) is calculated according to the character size before the image is performed (S9).

また、主制御部23は、レイアウト生成部19を制御し、文字サイズ算出部22によって算出された変倍後の文字サイズと、予め設定されている表示条件(段数、表示画面のサイズ等の条件)とに基づいてレイアウト情報を再生成させ、レイアウト記憶部16に記憶しているレイアウト情報を再生成したレイアウト情報に更新させる(S10)。   Further, the main control unit 23 controls the layout generation unit 19, the character size after scaling calculated by the character size calculation unit 22, and preset display conditions (conditions such as the number of stages and the size of the display screen) ) And the layout information stored in the layout storage unit 16 is updated to the regenerated layout information (S10).

また、主制御部23は、表示画像生成部20を制御し、レイアウト記憶部16に記憶されている再生成されたレイアウト情報と所定の表示条件(予め設定されているレイアウト更新後の表示条件)とに基づいて表示部14に表示させるための表示画像データを生成させ、表示部14に出力させて表示させる(S11)。   In addition, the main control unit 23 controls the display image generation unit 20 to regenerate the layout information stored in the layout storage unit 16 and a predetermined display condition (preset display condition after layout update). Based on the above, display image data to be displayed on the display unit 14 is generated, and is output and displayed on the display unit 14 (S11).

具体的には、本実施形態では、図1および図4に示したように、再生成されたレイアウトにおけるレイアウト更新前の表示画面の先頭に配置されている文字列(図1、図4の例では“On”)を含む行を、レイアウト更新後の表示画面の先頭行に配置するようにレイアウト更新後の表示条件を設定している。   Specifically, in the present embodiment, as shown in FIGS. 1 and 4, the character string arranged at the top of the display screen before the layout update in the regenerated layout (example in FIGS. 1 and 4). In this case, the display condition after the layout update is set so that the line including “On”) is arranged in the first line of the display screen after the layout update.

その後、主制御部23は、ユーザから表示終了操作が入力されたか否かを判断し(S12)、表示終了操作が入力されていないと判断した場合にはS4の処理に戻る。一方、表示終了操作が入力されたと判断した場合には処理を終了する。   Thereafter, the main control unit 23 determines whether or not a display end operation has been input by the user (S12). If it is determined that a display end operation has not been input, the process returns to S4. On the other hand, if it is determined that a display end operation has been input, the process ends.

以上のように、本実施形態にかかる表示装置1は、変倍操作が行われたときに、文字サイズ算出部22が、変倍操作が入力される前に表示画面に表示していた文字サイズと変倍操作によって指定された変倍率とに基づいて変倍後の文字サイズを算出し、レイアウト生成部19が、文字サイズ算出部22の算出した変倍後の文字サイズに応じてレイアウト情報を再生成し、表示画像生成部20が、レイアウト生成部19が再生成したレイアウト情報の各行のうち変倍操作が行われる前に表示画面の左上角部(先頭位置)に表示されていた文字列を含む行が表示画面における先頭行に表示されるように、再生成されたレイアウト情報に基づいて表示画像データを再生成する。   As described above, in the display device 1 according to the present embodiment, when the scaling operation is performed, the character size calculation unit 22 displays the character size displayed on the display screen before the scaling operation is input. And the scaling factor designated by the scaling operation, the character size after scaling is calculated, and the layout generation unit 19 obtains the layout information according to the character size after scaling calculated by the character size calculation unit 22. The character string that was regenerated and displayed in the upper left corner (start position) of the display screen before the scaling operation was performed among the lines of the layout information regenerated by the layout generation unit 19 The display image data is regenerated based on the regenerated layout information so that the line including “” is displayed in the first line on the display screen.

これにより、変倍操作に応じて再レイアウトされた画像を表示させる際、変倍操作が行われる前に表示画面における文書の先頭位置に表示されていた文字列を変倍後の表示画面の先頭行に表示させることができる。したがって、再レイアウト前にユーザが参照していた文字列の再レイアウト後の表示位置をユーザが容易に認識することができる。   As a result, when displaying a re-layout image according to the scaling operation, the character string displayed at the top position of the document on the display screen before the scaling operation is performed is changed to the top of the display screen after scaling. Can be displayed in a row. Therefore, the user can easily recognize the display position after re-layout of the character string referred to by the user before the re-layout.

なお、本実施形態では、変倍率調整操作がなされている期間中にプレビュー画像を表示させる際、変倍操作開始前の表示画像の左上をプレビュー画像の表示画面の左上に配置するようにプレビュー画像の表示開始位置を設定しているが、これに限るものではない。例えば、文書データを縦書き表示で表示する場合には変倍操作が開始される直前に表示していた表示画像の右上角部(文書の先頭位置)がプレビュー画像の右上角部(文書の先頭位置)に配置されるようにプレビュー画像の表示位置を設定してもよい。   In the present embodiment, when displaying a preview image during a period during which the magnification adjustment operation is performed, the preview image is arranged so that the upper left of the display image before the scaling operation is started is arranged at the upper left of the preview image display screen. However, the display start position is not limited to this. For example, when the document data is displayed in the vertical writing display, the upper right corner (the top position of the document) of the display image displayed immediately before the scaling operation is started is the upper right corner (the top of the document) of the preview image. The display position of the preview image may be set so as to be arranged at (position).

また、ユーザの指示に応じた位置を基準としてプレビュー画像の表示位置を設定してもよい。例えば、図5〜図8に示すように、ピンチアウト操作(あるいはピンチイン操作)における2本の指に挟まれる位置(例えば2本の指の接触位置の中点)がプレビュー画像の中心に配置されるようにプレビュー画像を生成してもよい。また、ピンチアウト操作(あるいはピンチイン操作)における2本の指に挟まれる位置に対応する画像がプレビュー画像においてもピンチアウト操作(あるいはピンチイン操作)の開始前と同じ位置に配置されるようにプレビュー画像を生成してもよい。   Further, the display position of the preview image may be set based on the position according to the user's instruction. For example, as shown in FIGS. 5 to 8, a position between two fingers in a pinch-out operation (or pinch-in operation) (for example, the midpoint of the contact position of two fingers) is arranged at the center of the preview image. A preview image may be generated as described above. In addition, the preview image is arranged so that the image corresponding to the position between the two fingers in the pinch-out operation (or pinch-in operation) is also arranged in the same position as before the start of the pinch-out operation (or pinch-in operation) in the preview image. May be generated.

また、本実施形態では、レイアウト更新後の行のうち、レイアウト更新前の表示画面の先頭に配置されていた文字列を含む行を、レイアウト更新後の表示画面の先頭行に配置するようにレイアウト更新後の表示条件を設定している。しかしながら、レイアウト更新後の表示条件はこれに限るものではない。   Further, in the present embodiment, the layout is updated so that the line including the character string arranged at the top of the display screen before the layout update is arranged in the first line of the display screen after the layout update. The display conditions after updating are set. However, the display condition after the layout update is not limited to this.

例えば、図5に示したように、プレビュー画像の先頭に配置されている文字列を含む行をレイアウト更新後の表示画面の先頭行に配置するようにレイアウト更新後の表示条件を設定してもよい。   For example, as shown in FIG. 5, even if the display condition after the layout update is set so that the line including the character string arranged at the top of the preview image is arranged at the top line of the display screen after the layout update. Good.

また、図6に示したように、プレビュー画像の先頭に配置されている文字列を含む行をレイアウト更新後の表示画面の中央行(表示画面における文書の延伸方向に垂直な方向の略中央に配置される行)に配置するようにレイアウト更新後の表示条件を設定してもよい。   Further, as shown in FIG. 6, the line including the character string arranged at the head of the preview image is displayed at the center line of the display screen after the layout update (in the approximate center in the direction perpendicular to the document stretching direction on the display screen). The display condition after the layout update may be set so as to be arranged in the arranged row).

また、図7に示したように、プレビュー画像の中心(あるいは中心付近)に配置されている文字列を含む行をレイアウト更新後の表示画面の先頭行に配置するようにレイアウト更新後の表示条件を設定してもよい。   Further, as shown in FIG. 7, the display condition after the layout update so that the line including the character string arranged at the center (or near the center) of the preview image is arranged at the top line of the display screen after the layout update. May be set.

また、図8に示したように、プレビュー画像の中心(あるいは中心付近)に配置されている文字列を含む行をレイアウト更新後の表示画面の中央行に配置するようにレイアウト更新後の表示条件を設定してもよい。   Further, as shown in FIG. 8, the display conditions after the layout update so that the line including the character string arranged at the center (or near the center) of the preview image is arranged in the center line of the display screen after the layout update. May be set.

また、本実施形態において、表示装置1に備えられる表示制御部15(あるいは表示制御部14に備えられる各部のうちの一部)を、CPU等のプロセッサを用いてソフトウェアによって実現してもよい。すなわち、表示装置1は、表示制御部15(あるいは表示制御部14に備えられる各部のうちの一部)の機能を実現する制御プログラムの命令を実行するCPU(central processing unit)、上記プログラムを格納したROM(read only memory)、上記プログラムを展開するRAM(random access memory)、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)などを備えている構成としてもよい。この場合、本発明の目的は、上述した機能を実現するソフトウェアである表示制御部15(あるいは表示制御部14に備えられる各部のうちの一部)の制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、表示装置1に供給し、そのコンピュータ(またはCPUやMPU)が記録媒体に記録されているプログラムコードを読み出し実行することによって達成される。   In the present embodiment, the display control unit 15 provided in the display device 1 (or a part of each unit provided in the display control unit 14) may be realized by software using a processor such as a CPU. That is, the display device 1 stores a CPU (central processing unit) that executes instructions of a control program that realizes the function of the display control unit 15 (or a part of each unit included in the display control unit 14), and the program. It may be configured to include a read only memory (ROM), a random access memory (RAM) for expanding the program, a storage device (recording medium) such as a memory for storing the program and various data, and the like. In this case, an object of the present invention is to provide a program code (execution format program, intermediate) of the control program of the display control unit 15 (or a part of each unit provided in the display control unit 14) which is software for realizing the above-described functions. This is achieved by supplying a recording medium in which a computer program (code program, source program) is recorded so as to be readable by a computer to the display device 1, and the computer (or CPU or MPU) reading and executing the program code recorded on the recording medium. Is done.

上記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD/CD−R等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ系などを用いることができる。   Examples of the recording medium include a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk / hard disk, and an optical disk such as a CD-ROM / MO / MD / DVD / CD-R. Card system such as IC card, IC card (including memory card) / optical card, or semiconductor memory system such as mask ROM / EPROM / EEPROM / flash ROM.

また、表示装置1を通信ネットワークと接続可能に構成し、通信ネットワークを介して上記プログラムコードを供給してもよい。この通信ネットワークとしては、特に限定されず、例えば、インターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(virtual private network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、通信ネットワークを構成する伝送媒体としては、特に限定されず、例えば、IEEE1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth(登録商標)、802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   The display device 1 may be configured to be connectable to a communication network, and the program code may be supplied via the communication network. The communication network is not particularly limited. For example, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication. A net or the like is available. Further, the transmission medium constituting the communication network is not particularly limited. For example, even in the case of wired such as IEEE 1394, USB, power line carrier, cable TV line, telephone line, ADSL line, etc., infrared rays such as IrDA and remote control, Bluetooth ( (Registered trademark), 802.11 wireless, HDR, mobile phone network, satellite line, terrestrial digital network, and the like can also be used. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

また、表示装置1に備えられる表示制御部15は、ソフトウェアを用いて実現されるものに限らず、ハードウェアロジックによって構成されるものであってもよく、処理の一部を行うハードウェアと当該ハードウェアの制御や残余の処理を行うソフトウェアを実行する演算手段とを組み合わせたものであってもよい。   In addition, the display control unit 15 provided in the display device 1 is not limited to being realized using software, and may be configured by hardware logic. It may be a combination of arithmetic means for executing software that performs hardware control and residual processing.

本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims. That is, embodiments obtained by combining technical means appropriately modified within the scope of the claims are also included in the technical scope of the present invention.

本発明は、文書データに応じた文書画像を表示する表示装置に適用できる。   The present invention can be applied to a display device that displays a document image corresponding to document data.

1 表示装置
11 文書情報記憶部
12 操作入力部
13 表示処理部
14 表示部
15 表示制御部
16 レイアウト記憶部
17 変倍率記憶部
18 文書情報読出部
19 レイアウト生成部
20 表示画像生成部
21 変倍率算出部
22 文字サイズ算出部
23 主制御部
DESCRIPTION OF SYMBOLS 1 Display apparatus 11 Document information storage part 12 Operation input part 13 Display processing part 14 Display part 15 Display control part 16 Layout storage part 17 Variable magnification memory | storage part 18 Document information reading part 19 Layout production | generation part 20 Display image generation part 21 Variable magnification calculation Part 22 character size calculation part 23 main control part

Claims (10)

文書データに応じた画像を表示画面に表示する表示装置であって、
予め設定された表示条件に応じて上記文書データに応じた画像を上記表示画面に表示させる表示制御部と、
上記表示画面に表示されている上記文書データに応じた画像における各文字の文字サイズを変倍して表示させる際の変倍率を調整するためのユーザによる変倍率調整操作、および上記変倍率調整操作に続いて行われる変倍率を決定するためのユーザによる変倍率決定操作を受け付ける操作入力部とを備え、
上記表示制御部は、
上記変倍率調整操作が行われたときに、上記表示画面に表示されている文書データに応じた画像を当該画像のレイアウトを変更することなく上記変倍率調整操作に応じて変倍させたプレビュー画像を上記表示画面に表示させ、
上記変倍率決定操作が行われたときに、上記変倍率調整操作が開始される前に上記表示画面に表示していた上記文書データに応じた画像の文字サイズと、上記変倍率決定操作によって特定された変倍率とに基づいて変倍後の文字サイズを算出し、算出した変倍後の文字サイズに応じて、変倍後の各行のうち上記変倍率調整操作が行われる前に上記表示画面の所定位置に表示されていた文字列を含む行が上記表示画面における予め設定された位置に表示されるように上記文書データに応じた画像のレイアウトを変更する上記文書データに応じた画像再生成を行って表示させることを特徴とする表示装置。
A display device that displays an image according to document data on a display screen,
A display control unit for displaying an image corresponding to the document data on the display screen in accordance with a preset display condition;
A scaling factor adjustment operation by the user for adjusting a scaling factor when the character size of each character in the image corresponding to the document data displayed on the display screen is scaled and displayed, and the scaling factor adjustment operation An operation input unit that accepts a scaling factor determination operation by a user for determining a scaling factor performed following
The display control unit
A preview image obtained by scaling the image corresponding to the document data displayed on the display screen according to the magnification adjustment operation without changing the layout of the image when the magnification adjustment operation is performed. Is displayed on the above display screen,
When the scaling factor determination operation is performed, the character size of the image corresponding to the document data displayed on the display screen before the scaling factor adjustment operation is started and specified by the scaling factor determination operation The character size after scaling is calculated based on the scaled magnification, and the display screen is displayed before the scaling ratio adjustment operation is performed in each line after scaling according to the calculated text size after scaling. reproducing the row containing the text that was displayed in a predetermined position of the image corresponding to the document data to change the layout of the image corresponding to the document data to be displayed at a predetermined position in the display screen display apparatus characterized by displaying perform formation.
上記表示制御部は、再生成した上記画像の各行のうち上記変倍率調整操作が行われる前に上記表示画面における文書の先頭位置に表示されていた文字列を含む行を上記表示画面に表示される行のうちの先頭行または中央行に表示させることを特徴とする請求項1に記載の表示装置。   The display control unit displays, on the display screen, a line including the character string displayed at the top position of the document on the display screen before the scaling factor adjustment operation is performed among the lines of the regenerated image. The display device according to claim 1, wherein the display device is displayed on a first line or a center line. 上記表示制御部は、上記変倍率調整操作が行われる前に上記表示画面の所定位置に表示されていた文字列を上記プレビュー画像における予め設定された位置に表示させることを特徴とする請求項1に記載の表示装置。   2. The display control unit according to claim 1, wherein the character string displayed at a predetermined position on the display screen is displayed at a preset position in the preview image before the magnification adjustment operation is performed. The display device described in 1. 上記表示制御部は、上記変倍率調整操作が行われる前に上記表示画面に表示されていた文書のうちの先頭位置に表示されていた文字列を上記プレビュー画像における文書の先頭位置または上記プレビュー画像の中央に表示させることを特徴とする請求項3に記載の表示装置。   The display control unit displays the character string displayed at the start position of the document displayed on the display screen before the scaling factor adjustment operation is performed, or the start position of the document in the preview image or the preview image. The display device according to claim 3, wherein the display device is displayed in the center of the display. 上記表示制御部は、
上記文書データを横書き表示で表示する場合には上記変倍率調整操作が行われる前に上記表示画面に表示されていた文書のうちの左上角部に表示されていた文字列を上記プレビュー画像における文書の左上角部に表示させ、
上記文書データを縦書き表示で表示する場合には上記変倍率調整操作が行われる前に上記表示画面に表示されていた文書のうちの右上角部に表示されていた文字列を上記プレビュー画像における文書の右上角部に表示させることを特徴とする請求項3に記載の表示装置。
The display control unit
When the document data is displayed in horizontal writing, the character string displayed in the upper left corner of the document displayed on the display screen before the magnification adjustment operation is performed is the document in the preview image. In the upper left corner of
When the document data is displayed in vertical writing, the character string displayed in the upper right corner of the document displayed on the display screen before the scaling adjustment operation is performed is displayed in the preview image. The display device according to claim 3, wherein the display device is displayed in an upper right corner of the document.
上記表示制御部は、上記変倍率調整操作が行われる前に上記表示画面に表示されていた文書のうちユーザからの指示入力に応じた位置に表示されていた文字列を上記プレビュー画像における文書の先頭位置または上記プレビュー画像の中央に表示させることを特徴とする請求項3に記載の表示装置。   The display control unit displays a character string displayed at a position corresponding to an instruction input from a user among documents displayed on the display screen before the scaling factor adjustment operation is performed. The display device according to claim 3, wherein the display device is displayed at a head position or a center of the preview image. 上記操作入力部は、ユーザが上記表示画面に2本の指で触れたまま当該2本の指の間隔を縮めるピンチイン操作、またはユーザが上記表示画面に2本の指で触れたまま当該2本の指の間隔を広げるピンチアウト操作を検出することで上記変倍率調整操作を受け付けるようになっており、
上記表示制御部は、上記変倍率調整操作が行われる前に上記表示画面に表示されていた文書のうち表示画面に触れた上記2本の指に挟まれる位置に表示されていた文字列を上記プレビュー画像における文書の先頭位置または上記プレビュー画像の中央に表示させることを特徴とする請求項6に記載の表示装置。
The operation input unit may be a pinch-in operation that reduces the interval between the two fingers while the user touches the display screen with two fingers, or the two that the user touches the display screen with two fingers. By detecting a pinch-out operation that increases the interval between fingers, the above variable magnification adjustment operation is accepted.
The display control unit displays the character string displayed at a position between the two fingers touching the display screen among the documents displayed on the display screen before the scaling factor adjustment operation is performed. The display device according to claim 6, wherein the display is displayed at a head position of the document in the preview image or at a center of the preview image.
上記表示制御部は、
再生成した上記画像を上記表示画面に表示させる際、上記プレビュー画像における文書の先頭位置に表示されていた文字列、または上記プレビュー画像の中央に表示されていた文字列を含む行を、上記表示画面に表示される行のうちの先頭行または中央行に表示させることを特徴とする請求項3から7のいずれか1項に記載の表示装置。
The display control unit
When the regenerated image is displayed on the display screen, the character string displayed at the top position of the document in the preview image or the line including the character string displayed in the center of the preview image is displayed on the display screen. The display device according to any one of claims 3 to 7, wherein the display device is displayed on a first line or a center line of lines displayed on the screen.
文書データに応じた画像を表示画面に表示する表示方法であって、
予め設定された表示条件に応じて上記文書データに応じた画像を上記表示画面に表示させる表示工程と、
上記表示画面に表示されている上記文書データに応じた画像における各文字の文字サイズを変倍して表示させる際の変倍率を調整するためのユーザによる変倍率調整操作、および上記変倍率調整操作に続いて行われる変倍率を決定するためのユーザによる変倍率決定操作を受け付ける操作入力工程と、
上記変倍率調整操作が行われたときに、上記表示画面に表示されている文書データに応じた画像を当該画像のレイアウトを変更することなく上記変倍率調整操作に応じて変倍させたプレビュー画像を上記表示画面に表示させる工程と、
上記変倍率決定操作が行われたときに、上記変倍率調整操作が入力される前に上記表示画面に表示していた上記文書データに応じた画像の文字サイズと、上記変倍率決定操作によって指定された変倍率とに基づいて変倍後の文字サイズを算出する文字サイズ算出工程と、
上記変倍率決定操作が行われたときに、上記文字サイズ算出工程で算出した変倍後の文字サイズに応じて、変倍後の各行のうち上記変倍率調整操作が行われる前に上記表示画面の所定位置に表示されていた文字列を含む行が上記表示画面における予め設定された位置に表示されるように上記文書データに応じた画像のレイアウトを変更する上記文書データに応じた画像再生成を行って表示させる再表示工程とを含むことを特徴とする表示方法。
A display method for displaying an image according to document data on a display screen,
A display step of displaying an image corresponding to the document data on the display screen in accordance with a preset display condition;
A scaling factor adjustment operation by the user for adjusting a scaling factor when the character size of each character in the image corresponding to the document data displayed on the display screen is scaled and displayed, and the scaling factor adjustment operation An operation input step for accepting a scaling factor determining operation by the user for determining a scaling factor performed following
A preview image obtained by scaling the image corresponding to the document data displayed on the display screen according to the magnification adjustment operation without changing the layout of the image when the magnification adjustment operation is performed. Displaying on the display screen,
When the scaling factor determination operation is performed, the character size of the image corresponding to the document data displayed on the display screen before the scaling factor adjustment operation is input, and designated by the scaling factor determination operation A character size calculating step of calculating a character size after scaling based on the scaled magnification,
When the scaling factor determination operation is performed, the display screen is displayed before the scaling factor adjustment operation is performed on each line after scaling according to the scaled character size calculated in the character size calculation step. reproducing the row containing the text that was displayed in a predetermined position of the image corresponding to the document data to change the layout of the image corresponding to the document data to be displayed at a predetermined position in the display screen A display method comprising: a re-displaying step of performing and displaying.
コンピュータを請求項1から8のいずれか1項に記載の表示装置に備えられる上記表示制御部として機能させるためのプログラム。   The program for functioning a computer as said display control part with which the display apparatus of any one of Claim 1 to 8 is provided.
JP2010214520A 2010-09-24 2010-09-24 Display device, display method, and program Active JP5693901B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2010214520A JP5693901B2 (en) 2010-09-24 2010-09-24 Display device, display method, and program
PCT/JP2011/069578 WO2012039243A1 (en) 2010-09-24 2011-08-30 Display device, display method, program and recordable medium of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010214520A JP5693901B2 (en) 2010-09-24 2010-09-24 Display device, display method, and program

Publications (3)

Publication Number Publication Date
JP2012069014A JP2012069014A (en) 2012-04-05
JP2012069014A5 JP2012069014A5 (en) 2013-11-07
JP5693901B2 true JP5693901B2 (en) 2015-04-01

Family

ID=45873733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010214520A Active JP5693901B2 (en) 2010-09-24 2010-09-24 Display device, display method, and program

Country Status (2)

Country Link
JP (1) JP5693901B2 (en)
WO (1) WO2012039243A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6016555B2 (en) * 2012-09-25 2016-10-26 キヤノン株式会社 Information processing apparatus, control method therefor, program, and storage medium
CN104854579A (en) * 2012-09-26 2015-08-19 日本电气株式会社 Information processing device, display control method, and recording medium
JP6099961B2 (en) * 2012-12-18 2017-03-22 キヤノン株式会社 Image display apparatus, image display apparatus control method, and computer program
JP5998964B2 (en) * 2013-01-31 2016-09-28 カシオ計算機株式会社 Dictionary information display device, dictionary information display method, dictionary information display program, dictionary information display system, server device thereof, and terminal device
JP5715172B2 (en) * 2013-02-27 2015-05-07 ヤフー株式会社 Document display device, document display method, and document display program
JP6357786B2 (en) * 2013-03-15 2018-07-18 株式会社リコー Image inspection apparatus, image inspection system, and image inspection method
JP2015041220A (en) * 2013-08-21 2015-03-02 シャープ株式会社 Image forming apparatus
US10108308B2 (en) * 2013-11-25 2018-10-23 Rakuten Kobo Inc. Sensing user input to change attributes of rendered content
CN104123076B (en) * 2014-07-17 2017-12-12 宇龙计算机通信科技(深圳)有限公司 The display device and method of a kind of word
KR101767070B1 (en) * 2016-04-21 2017-08-10 현대자동차주식회사 Vehicle, and control method for the same

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4542637B2 (en) * 1998-11-25 2010-09-15 セイコーエプソン株式会社 Portable information device and information storage medium
JP4606692B2 (en) * 2002-09-26 2011-01-05 ソニー株式会社 Information processing apparatus and method, recording medium, and program
JP2004139399A (en) * 2002-10-18 2004-05-13 Sony Corp Electronic information display device, its method, recording medium, and program
JP2005056042A (en) * 2003-08-01 2005-03-03 Sony Corp Information processor and information processing method, program, and recording medium
JP2006053606A (en) * 2004-08-09 2006-02-23 Sharp Corp Information display device and electronic book device
JP2006098868A (en) * 2004-09-30 2006-04-13 Sanyo Electric Co Ltd Mobile terminal, method for controlling display of mobile terminal, and program for controlling display of mobile terminal
US9785329B2 (en) * 2005-05-23 2017-10-10 Nokia Technologies Oy Pocket computer and associated methods
JP2007213046A (en) * 2006-01-13 2007-08-23 Brother Ind Ltd Image display device and image display program
EP2279473B1 (en) * 2008-04-15 2018-10-24 Opera Software AS Method and device for dynamically wrapping text when displaying a selected region of an electronic document

Also Published As

Publication number Publication date
WO2012039243A1 (en) 2012-03-29
JP2012069014A (en) 2012-04-05

Similar Documents

Publication Publication Date Title
JP5693901B2 (en) Display device, display method, and program
JP4888502B2 (en) Graph display control device and program
KR20220065100A (en) Input device and user interface interactions
WO2016025525A1 (en) Smart scrubber in an ebook navigation interface
KR20140025494A (en) Edge gesture
JP5857246B2 (en) Display control apparatus and display control method
US10732801B2 (en) Display data generation method, computer-readable, non-transitory medium and computer
US20170300200A1 (en) Transition controlled e-book animations
US20110102335A1 (en) Input device, input method, program, and storage medium
JP2012069014A5 (en)
JP2004118477A (en) Information processor and information processing method, recording medium and its program
JP2011159190A (en) Information processor and program
WO2016160175A1 (en) Enhancement to text selection controls
JP2015518993A (en) Method and apparatus for inputting symbols from a touch sensitive screen
JP5514264B2 (en) Electronic equipment, display method
JP6274132B2 (en) Music score display apparatus and music score display method
JP6069927B2 (en) Content display device, content display method, and program
JP6160115B2 (en) Information processing apparatus, presentation material optimization method, and program
JP2016033825A (en) Electronic book program, electronic book device and method
JP2017016594A (en) Information processing apparatus, information display program, and information display method
JP2015197796A (en) Electronic whiteboard device, method of assisting input to electronic whiteboard, and program
WO2012039244A1 (en) Display device, display method, program, and recordable medium for the same
TW201044252A (en) Page display method, electronic apparatus, program product
JP2020149581A (en) Information processor, information processing method, program and storage medium
JP2013077231A (en) Display method of document data, display device of portable terminal

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130924

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130924

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140624

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140725

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150204

R150 Certificate of patent or registration of utility model

Ref document number: 5693901

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150