Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7631056B2 - Information processing device, control method, program, and storage medium - Google Patents
[go: Go Back, main page]

JP7631056B2 - Information processing device, control method, program, and storage medium - Google Patents

Information processing device, control method, program, and storage medium Download PDF

Info

Publication number
JP7631056B2
JP7631056B2 JP2021046057A JP2021046057A JP7631056B2 JP 7631056 B2 JP7631056 B2 JP 7631056B2 JP 2021046057 A JP2021046057 A JP 2021046057A JP 2021046057 A JP2021046057 A JP 2021046057A JP 7631056 B2 JP7631056 B2 JP 7631056B2
Authority
JP
Japan
Prior art keywords
information
display
end point
display area
processing device
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
JP2021046057A
Other languages
Japanese (ja)
Other versions
JP2022144866A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2021046057A priority Critical patent/JP7631056B2/en
Publication of JP2022144866A publication Critical patent/JP2022144866A/en
Application granted granted Critical
Publication of JP7631056B2 publication Critical patent/JP7631056B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Description

本発明は、情報処理装置、制御方法、プログラム、及び記憶媒体に関する。 The present invention relates to an information processing device, a control method, a program, and a storage medium.

Webブラウザが搭載された通信端末や電子書籍端末等では、画面に表示された文字や画像等からなるコンテンツの一部を範囲選択することができる。また、選択された範囲が広くて画面に収まらない場合に、選択された範囲の内容を表示するための技術がある。特許文献1では、選択範囲が全て表示されるように縮小して表示することや、選択範囲が複数ページにまたがる場合に、選択範囲を含む複数のページをサムネイル表示することが開示されている。特許文献2では、テキストが選択された場合に、選択開始行と選択終了行の文字が表示されるようにテキストの文字サイズや行間等の表示レイアウトを変更することが開示されている。 In communication terminals and e-book terminals equipped with a web browser, it is possible to select a part of the content consisting of characters, images, etc. displayed on the screen. There is also technology for displaying the contents of a selected range when the selected range is too large to fit on the screen. Patent Document 1 discloses a technique for reducing the selected range so that it is displayed in its entirety, and for displaying thumbnails of multiple pages that include the selected range when the selected range spans multiple pages. Patent Document 2 discloses a technique for changing the display layout, such as the character size and line spacing of the text, so that when text is selected, the characters of the selection start line and selection end line are displayed.

特開2004-86621号公報JP 2004-86621 A 特開2013-8201号公報JP 2013-8201 A

しかしながら、上述の特許文献を含め従来の技術では、文字サイズが縮小されたり、表示レイアウトが変更されたりするため、選択された範囲の内容を読み取り難いという課題があった。 However, in conventional technologies, including those described in the above patent documents, the text size is reduced and the display layout is changed, making it difficult to read the contents of the selected range.

そこで本発明は、選択された範囲が画面に収まらない場合でも、選択された範囲の内容を分かりやすくすることを目的とする。 The present invention aims to make the contents of a selected range easy to understand even when the selected range does not fit on the screen.

上記の課題を解決するために、本発明に係る情報処理装置は、コンテンツを表示可能な情報処理装置であって、前記コンテンツの一部に対する選択範囲を指定する指示を受け付ける受付手段と、前記選択範囲の端点が前記コンテンツを表示する表示領域の外にある場合に、前記表示領域の外にある前記端点である第1の端点に関する情報に基づいて第1の情報を決定する決定手段と、前記第1の情報を前記表示領域内に重畳して表示するように制御する表示制御手段と、タッチパネルと、を有し、前記受付手段は、前記タッチパネルの操作により前記指示を受け付けることを特徴とする。 In order to solve the above problems, an information processing device of the present invention is an information processing device capable of displaying content, and has a reception means for receiving an instruction to specify a selection range for a part of the content, a determination means for determining first information based on information relating to a first endpoint which is an endpoint outside a display area in which the content is displayed, when the endpoint of the selection range is outside the display area, a display control means for controlling the first information to be displayed superimposed within the display area, and a touch panel , wherein the reception means receives the instruction by operating the touch panel .

本発明によれば、選択された範囲が画面に収まらない場合でも、選択された範囲の内容を分かりやすくすることができる。 According to the present invention, the contents of the selected range can be made easy to understand even if the selected range does not fit on the screen.

情報処理装置のハードウェア構成例を示す図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of an information processing device. 情報処理装置の機能構成例を示す図である。FIG. 2 is a diagram illustrating an example of a functional configuration of an information processing device. 提示情報の表示例を示す図である。FIG. 11 is a diagram showing a display example of presentation information. 提示情報表示処理を示すフローチャートである。13 is a flowchart showing a presentation information display process. 図4のS406の処理の詳細を示すフローチャートである。5 is a flowchart showing details of the process of S406 in FIG. 4. 提示情報の表示例を示す図である。FIG. 11 is a diagram showing a display example of presentation information. 図4のS407の処理の詳細を示すフローチャートである。5 is a flowchart showing details of the process of S407 in FIG. 4. 表示領域変更処理を示すフローチャートである。13 is a flowchart showing a display area changing process. 選択範囲の伸縮操作について説明するための図である。13A and 13B are diagrams for explaining an operation of expanding or contracting a selection range. 図4のS407の処理の詳細を示すフローチャートである。5 is a flowchart showing details of the process of S407 in FIG. 4. 図4のS406の処理の詳細を示すフローチャートである。5 is a flowchart showing details of the process of S406 in FIG. 4. 提示情報の表示例を示す図である。FIG. 11 is a diagram showing a display example of presentation information. 提示情報の表示例を示す図である。FIG. 11 is a diagram showing a display example of presentation information.

以下、図面を参照して本発明の実施形態について説明する。 The following describes an embodiment of the present invention with reference to the drawings.

<実施形態1>
本実施形態において、情報処理装置100は、例えば、ユーザが閲覧、操作するスマートフォン等の携帯機器であり、Webブラウザ(以下、ブラウザという)で文字や画像等を含むコンテンツを表示可能である。なお情報処理装置100は、コンテンツを表示可能な装置であれば、上記のような携帯機器に限られず、PC(パーソナルコンピュータ)等の汎用のコンピュータの他、MFP(Multifunction Peripheral)等でも構わない。
<Embodiment 1>
In this embodiment, the information processing device 100 is, for example, a portable device such as a smartphone that is browsed and operated by a user, and is capable of displaying content including characters, images, etc., in a web browser (hereinafter, referred to as a browser). Note that the information processing device 100 is not limited to the above-mentioned portable device, and may be a general-purpose computer such as a PC (personal computer), an MFP (multifunction peripheral), etc., as long as it is a device capable of displaying content.

図1は、本実施形態に係る情報処理装置100のハードウェア構成の一例を示す図である。情報処理装置100は、CPU101、ROM102、RAM103、タッチパネルディスプレイ104、及び記憶装置105を備え、各々はバス106により相互に接続されている。CPU101は、情報処理装置100の全体を制御する。CPU101がROM102等に格納されたプログラムをRAM103に展開して実行することにより、情報処理装置100は各構成手段を制御して、後述するフローチャートの処理が実現される。ROM102には、ブラウザアプリケーションのプログラムを含む各種のプログラム、及びCPU101がプログラムに基づき処理を実行する際に必要なデータ等が格納されている。なお、コンテンツを表示可能なアプリケーションであれば、ブラウザアプリケーションに限られるものではなく、実用に供されている各種のアプリケーションが使用できる。RAM103は、CPU101がROM102から読み出したプログラムやデータを一時的に記憶する。 1 is a diagram showing an example of the hardware configuration of an information processing device 100 according to this embodiment. The information processing device 100 includes a CPU 101, a ROM 102, a RAM 103, a touch panel display 104, and a storage device 105, which are connected to each other by a bus 106. The CPU 101 controls the entire information processing device 100. The CPU 101 loads a program stored in the ROM 102 or the like into the RAM 103 and executes it, whereby the information processing device 100 controls each component to realize the processing of the flowchart described below. The ROM 102 stores various programs including a browser application program, and data necessary for the CPU 101 to execute processing based on the program. Note that the application is not limited to a browser application, and various applications in practical use can be used as long as they are capable of displaying content. The RAM 103 temporarily stores the programs and data read out from the ROM 102 by the CPU 101.

タッチパネルディスプレイ104は、入力デバイスとしてのタッチパネルと、表示デバイスとしてのディスプレイとが一体的に構成されている。例えば、タッチパネルは光の透過率がディスプレイの表示を妨げないように構成され、ディスプレイの表示面の上層に取り付けられる。タッチパネルにおける位置座標と、ディスプレイの表示画面上の表示座標とが対応付けられることで、ディスプレイに表示された画面を直接操作可能であるかのようなGUI(グラフィカルユーザーインターフェース)が提供される。タッチパネルディスプレイ104は、ユーザにより操作された操作情報をCPU101に提供する。操作情報は、例えば、指やペンでタッチされた位置座標や、タッチされた時間情報である。タッチパネルディスプレイ104は、キーボード、マウス等の入力デバイスと、液晶パネル等の表示デバイスとを別々に構成してもよい。記憶装置105は、HDD等の補助記憶装置であり、不図示のネットワークインターフェイスを介してネットワーク上のコンテンツサーバーから取得したコンテンツデータや、外部記憶装置から取得したコンテンツデータ等を記憶する。 The touch panel display 104 is integrally configured with a touch panel as an input device and a display as a display device. For example, the touch panel is configured so that the light transmittance does not interfere with the display of the display, and is attached to the upper layer of the display surface of the display. By associating position coordinates on the touch panel with display coordinates on the display screen of the display, a GUI (graphical user interface) is provided that makes it seem as if the screen displayed on the display can be directly operated. The touch panel display 104 provides operation information operated by the user to the CPU 101. The operation information is, for example, position coordinates touched with a finger or pen, and time information of touch. The touch panel display 104 may be configured with input devices such as a keyboard and a mouse, and a display device such as a liquid crystal panel, separately. The storage device 105 is an auxiliary storage device such as a HDD, and stores content data acquired from a content server on a network via a network interface (not shown), content data acquired from an external storage device, etc.

図2は、本実施形態に係る情報処理装置100の機能構成の一例を示す図である。情報処理装置100は、CPU101がROM102に格納されたプログラムをRAM103に展開して実行することにより、ユーザの操作による指示を受け付ける受付部200、提示情報決定部201、及び表示制御部202として機能する。以下各機能部について説明する。 Fig. 2 is a diagram showing an example of the functional configuration of the information processing device 100 according to this embodiment. The information processing device 100 functions as a reception unit 200 that receives instructions from a user's operation, a presentation information determination unit 201, and a display control unit 202, by the CPU 101 expanding a program stored in the ROM 102 into the RAM 103 and executing it. Each functional unit will be described below.

受付部200は、ユーザの操作に応じた指示を受け付ける。具体的に説明すると、まず受付部200は、タッチパネルディスプレイ104から提供された操作情報に基づいて入力されたタッチ操作の種別を判定する。タッチ操作には、例えば、指やペンでタッチパネルに触れ、そのままタッチパネルから離すタップ操作や、指やペンでタッチパネルに触れ、指やペンをタッチパネルから離さずに移動させた後で離すドラッグ操作がある。また例えば、指やペンをタッチパネルに触れた状態で滑らすスワイプ操作がある。受付部200は、スワイプ操作を検出した場合、指やペンを動かした方向に画面をスクロールする指示として認識する。 The reception unit 200 receives instructions according to user operations. More specifically, the reception unit 200 first determines the type of touch operation input based on operation information provided by the touch panel display 104. Touch operations include, for example, a tap operation in which a finger or pen touches the touch panel and is then removed from the touch panel, and a drag operation in which a finger or pen touches the touch panel and the finger or pen is moved without removing it from the touch panel and then released. Another example is a swipe operation in which a finger or pen is slid while touching the touch panel. When the reception unit 200 detects a swipe operation, it recognizes it as an instruction to scroll the screen in the direction in which the finger or pen is moved.

受付部200は、表示制御部202により算出されたコンテンツの表示レイアウト情報に基づき、タッチパネルディスプレイ104の位置座標と、コンテンツの文字や画像等の構成要素の表示座標とを対応付けて管理している。そのため受付部200は、タップ操作やドラッグ操作を検出した場合、タッチされた位置にある文字や画像を選択範囲の開始点や終了点に指定する指示として認識することができる。即ち受付部200は、タッチパネルディスプレイ104の操作により、コンテンツの一部に対する選択範囲を指定する指示を受け付ける。受付部200は、指定された選択範囲に関する情報をRAM103に記憶する。受付部200は、選択範囲の開始点や終了点が変更されるたびにRAM103に記憶される情報を更新する。 The reception unit 200 manages the position coordinates of the touch panel display 104 and the display coordinates of the components of the content, such as characters and images, in association with each other, based on the display layout information of the content calculated by the display control unit 202. Therefore, when the reception unit 200 detects a tap operation or a drag operation, it can recognize the character or image at the touched position as an instruction to specify the start point or end point of a selection range. In other words, the reception unit 200 receives an instruction to specify a selection range for a part of the content by operating the touch panel display 104. The reception unit 200 stores information about the specified selection range in the RAM 103. The reception unit 200 updates the information stored in the RAM 103 every time the start point or end point of the selection range is changed.

提示情報決定部201は、選択範囲の端点がコンテンツの表示領域の外にある場合に、表示領域外にある端点に関する情報に基づいて、ユーザに提示する提示情報を決定する。ここでいう選択範囲の端点は、選択範囲の開始点及び終了点である。具体的に説明すると、まず提示情報決定部201は、RAM103から選択範囲に関する情報を読み出して、選択範囲の端点の位置情報を取得し、端点が表示領域の内側にあるか外側にあるかを判定する。端点のうちのいずれか1つでも表示領域の外側にあると判定された場合、提示情報決定部201は、選択範囲に関する情報、表示領域内のコンテンツの文字や画像等の構成要素の位置情報、及び表示対象のコンテンツデータに基づいて、提示情報を決定する。更に提示情報決定部201は、決定した提示情報を表示する際の表示態様を指定する情報を決定する。 When an end point of the selection range is outside the display area of the content, the presentation information determination unit 201 determines the presentation information to be presented to the user based on information about the end point outside the display area. The end points of the selection range here are the start point and end point of the selection range. Specifically, the presentation information determination unit 201 first reads information about the selection range from the RAM 103, obtains position information of the end points of the selection range, and determines whether the end points are inside or outside the display area. If it is determined that any one of the end points is outside the display area, the presentation information determination unit 201 determines the presentation information based on the information about the selection range, position information of the components of the content, such as characters and images, in the display area, and the content data to be displayed. Furthermore, the presentation information determination unit 201 determines information that specifies the display mode when the determined presentation information is displayed.

表示制御部202は、タッチパネルディスプレイ104に表示される表示内容を制御する。具体的には、表示制御部202は、表示対象のコンテンツデータを記憶装置105から読み出して、読み出したコンテンツデータの表示レイアウト情報を算出し、算出結果に応じたレイアウトでコンテンツをタッチパネルディスプレイ104に表示する。また表示制御部202は、受付部200により選択範囲が指定された場合に、指定された選択範囲内の文字や画像等の背景を変更して表示する。更に表示制御部202は、受付部200により画面のスクロールが指示された場合、指示された方向に指示された移動量で表示領域の位置を移動させる。また表示制御部202は、提示情報決定部201にて決定された提示情報を指定された表示態様にして表示領域内のコンテンツに重ねて表示する。 The display control unit 202 controls the display content displayed on the touch panel display 104. Specifically, the display control unit 202 reads out content data to be displayed from the storage device 105, calculates display layout information for the read out content data, and displays the content on the touch panel display 104 in a layout according to the calculation result. When a selection range is specified by the reception unit 200, the display control unit 202 changes and displays the background of characters, images, etc. within the specified selection range. When the reception unit 200 instructs scrolling of the screen, the display control unit 202 moves the position of the display area by the instructed movement amount in the instructed direction. The display control unit 202 displays the presentation information determined by the presentation information determination unit 201 in a specified display mode, superimposed on the content in the display area.

次に、図3及び図4を参照して、提示情報を表示する提示情報表示処理について説明する。図3(A)は、コンテンツの一部が範囲選択された場合の表示例を示す図である。まず、点線で囲まれるコンテンツ300の全体範囲に対して、実線で囲まれる表示領域301の範囲がタッチパネルディスプレイ104に表示される。コンテンツ300の一部に対して範囲選択されると、選択範囲303の背景が変更される。以下の説明で用いられる座標系302は、表示領域301の左上を原点とする座標軸によって定義される。横軸は右方向、縦軸は下方向をそれぞれ正とする。 Next, the presentation information display process for displaying the presentation information will be described with reference to Figs. 3 and 4. Fig. 3(A) is a diagram showing a display example when a part of the content is selected. First, the range of the display area 301 surrounded by a solid line is displayed on the touch panel display 104 with respect to the entire range of the content 300 surrounded by a dotted line. When a part of the content 300 is selected, the background of the selected range 303 is changed. The coordinate system 302 used in the following description is defined by coordinate axes with the upper left corner of the display area 301 as the origin. The horizontal axis is positive in the rightward direction, and the vertical axis is positive in the downward direction.

図3(B)は、図(A)の状態で、矢印310の方向にスクロールが行なわれた場合の表示例を示す図である。コンテンツ300の一部が範囲選択されている状態で、図3(B)に示すように、画面のスクロールやズーム等の表示領域を変更するユーザ操作が行なわれると、選択範囲303の一部が表示領域301の外へ出てしまうことがある。このような場合、ユーザは選択範囲の内容を適切に把握することができない。そこで情報処理装置100は、選択範囲の端点が表示領域の外へ出た場合に、表示領域外にある端点に関する情報に基づいて提示情報を決定し、決定した提示情報を表示領域内に重畳して表示するように制御する。図3(B)の例では、矢印310の方向のスクロール操作に応じて、選択範囲303の開始点であるコンテンツ300の上から4行目の5文字目「な」が表示領域301の外へ出たため、当該開始点に対する提示情報304が表示領域301内に表示されている。 3B is a diagram showing a display example when scrolling is performed in the direction of the arrow 310 in the state of FIG. 3A. When a part of the content 300 is selected, as shown in FIG. 3B, if a user operation is performed to change the display area, such as scrolling or zooming the screen, a part of the selected range 303 may go outside the display area 301. In such a case, the user cannot properly grasp the contents of the selected range. Therefore, when an end point of the selected range goes outside the display area, the information processing device 100 determines the presentation information based on information about the end point outside the display area, and controls so that the determined presentation information is displayed superimposed in the display area. In the example of FIG. 3B, in response to the scroll operation in the direction of the arrow 310, the fifth character "na" in the fourth line from the top of the content 300, which is the start point of the selected range 303, goes outside the display area 301, so that the presentation information 304 for the start point is displayed in the display area 301.

図4は、提示情報表示処理の流れを示すフローチャートである。本実施形態では、CPU101がブラウザアプリケーションを起動して終了するまでの間、CPU101は図4のフローチャートの処理を定期的に実行する。なお、ユーザ操作時等のタイミングで非定期的に実行しもよい。またCPU101は、ブラウザアプリケーションの実行中に、他の多様な指示(例えば、コンテンツの表示レイアウト変更の指示、選択範囲を指定する指示、スクロールの指示)を受け付け、適宜処理を実行してもよい。その場合CPU101は、その処理を図4のフローチャートの処理と並行して実行してもよい。以下、フローチャートの各工程は、それら符号の先頭にSを付与して説明する。 Figure 4 is a flowchart showing the flow of the presentation information display process. In this embodiment, CPU 101 periodically executes the process of the flowchart in Figure 4 from the time CPU 101 launches the browser application until it is terminated. Note that the process may also be executed non-periodically at the time of user operation or other timing. CPU 101 may also accept various other instructions (e.g., an instruction to change the display layout of content, an instruction to specify a selection range, an instruction to scroll) while the browser application is running, and execute processing as appropriate. In that case, CPU 101 may execute that processing in parallel with the processing of the flowchart in Figure 4. Below, each step of the flowchart will be explained with an S added to the beginning of the reference number.

S400において、CPU101は、指定された選択範囲に関する情報をRAM103から取得する。図3(B)の例では、選択範囲303が指定されている状態であるため、コンテンツ300の上から4行目の5文字目「な」を選択範囲303の開始点を示す情報として取得し、6行目の8文字目「を」が選択範囲303の終了点を示す情報として取得する。
次にS401において、CPU101は、S400により取得された情報に基づいて、コンテンツの一部が範囲選択されている状態であるか否かを判定する。CPU101が範囲選択されている状態であると判定した場合(S401でYes)、処理はS402へ進む。範囲選択されていない状態であると判定した場合(S401でNo)、本フローチャートの処理が終了する。
In S400, CPU 101 obtains information about the specified selection range from RAM 103. In the example of Fig. 3B, since selection range 303 is specified, the fifth character "na" on the fourth line from the top of content 300 is obtained as information indicating the start point of selection range 303, and the eighth character "wo" on the sixth line is obtained as information indicating the end point of selection range 303.
Next, in S401, the CPU 101 determines whether or not a part of the content is in a state where a range is selected based on the information acquired in S400. If the CPU 101 determines that a range is selected (Yes in S401), the process proceeds to S402. If the CPU 101 determines that a range is not selected (No in S401), the process of this flowchart ends.

S402において、CPU101は、選択範囲の開始点の位置情報(以下、開始位置という)を取得する。図3(B)の例では、選択範囲303の開始点にある「な」のバウンディングボックスの中心座標を開始位置305として取得する。
次にS403において、CPU101は、選択範囲の終了点の位置情報(以下、終了位置という)を取得する。図3(B)の例では、選択範囲303の終了点にある「を」のバウンディングボックスの中心座標を終了位置306として取得する。
本実施形態では、選択範囲の端点の位置座標を、端点にある文字のバウンディングボックスの中心座標に決定したが、選択範囲の端点の位置座標を決定する方法はこれに限らない。例えばCPU101は、バウンディングボックスの端点座標に決定してもよい。またCPU101、選択範囲の端点が画像である場合には、画像の中心座標、重心座標、端点座標等に決定してもよい。
In step S402, the CPU 101 acquires position information of the start point of the selection range (hereinafter, referred to as the start position). In the example of FIG. 3B, the center coordinates of the bounding box of the character “na” at the start point of the selection range 303 are acquired as the start position 305.
Next, in step S403, the CPU 101 acquires position information of the end point of the selection range (hereinafter, referred to as the end position). In the example of FIG. 3B, the central coordinates of the bounding box of “” at the end point of the selection range 303 are acquired as the end position 306.
In this embodiment, the position coordinates of the end points of the selection range are determined as the center coordinates of the bounding box of the character at the end point, but the method of determining the position coordinates of the end points of the selection range is not limited to this. For example, the CPU 101 may determine them as the end point coordinates of the bounding box. Furthermore, if the end points of the selection range are images, the CPU 101 may determine them as the center coordinates, center of gravity coordinates, end point coordinates, etc. of the image.

次にS404において、CPU101は、表示領域の範囲を示す位置情報を取得する。本実施形態において、CPU101は、表示対象のコンテンツデータの表示レイアウト情報に基づいて、表示領域の範囲を示す位置情報を取得する。
次にS405において、CPU101は、選択範囲の開始点及び終了点がいずれも表示領域の内側にあるか否かを判定する。ここでCPU101は、S402、S403、及びS404で取得した位置情報に基づいて判定を行う。選択範囲の開始点及び終了点が共に表示領域の内側にあると判定された場合(S405でYes)、本フローチャートの処理が終了する。選択範囲の開始点及び終了点のうちのいずれか一方でも表示領域の外側にあると判定された場合(S405でNo)、処理はS406へ進む。
Next, in S404, the CPU 101 acquires position information indicating the range of the display area. In this embodiment, the CPU 101 acquires position information indicating the range of the display area based on display layout information of the content data to be displayed.
Next, in S405, the CPU 101 determines whether or not both the start point and the end point of the selection range are inside the display area. Here, the CPU 101 makes the determination based on the position information acquired in S402, S403, and S404. If it is determined that both the start point and the end point of the selection range are inside the display area (Yes in S405), the processing of this flowchart ends. If it is determined that either one of the start point and the end point of the selection range is outside the display area (No in S405), the processing proceeds to S406.

図3(B)の例では、選択範囲303の開始点「な」からの4文字は表示領域301の外にあるため表示されない。このように選択範囲303の一部が表示されない場合、ユーザは範囲の選択ミスを見逃してしまうことや、どこから或いはどこまで範囲選択されているのか分からなくなってしまうおそれがある。そこでS406において、CPU101は、表示領域外にある端点に関する情報に基づいて提示情報を決定する。S406にて実行される処理の詳細については図5を用いて後述する。 In the example of FIG. 3B, the four characters from the starting point "na" of the selection range 303 are not displayed because they are outside the display area 301. If part of the selection range 303 is not displayed in this way, the user may miss a mistake in the range selection, or may not know from where or to what extent the range is selected. Therefore, in S406, the CPU 101 determines the information to be presented based on information about the end points that are outside the display area. Details of the processing executed in S406 will be described later with reference to FIG. 5.

次にS407において、CPU101は、S406にて決定された提示情報を表示する際の表示様態を指定する情報を決定する。S407にて実行される処理の詳細については図7を用いて後述する。
続いてS408において、CPU101は、S406にて決定された提示情報をS407にて指定された表示態様にして、表示領域内に重畳して表示する。図3(B)の例では、S406にて決定した提示情報304としての「つてとなにぬ」がコンテンツ300に重ねて表示される。その後本フローチャートの処理が終了する。
Next, in S407, the CPU 101 determines information for designating a display mode when the presentation information determined in S406 is displayed. Details of the process executed in S407 will be described later with reference to FIG.
Next, in S408, the CPU 101 displays the presentation information determined in S406 in the display mode specified in S407, superimposed within the display area. In the example of Fig. 3B, "tsute to naninu" is displayed as the presentation information 304 determined in S406, superimposed on the content 300. Thereafter, the processing of this flowchart ends.

図5は、図4のS406の処理の詳細を示すフローチャートである。
S500において、CPU101は、表示領域外にある端点に画像が指定されているか否かを判定する。ここでCPU101は、S400で取得した選択範囲に関する情報、及びS402、S403、S404で取得した位置情報に基づいて判定を行う。表示領域外にある端点に画像が指定されていると判定された場合(S500でYes)、処理はS511へ進む。表示領域外にある端点に画像が指定されていないと判定された場合(S500でNo)、表示領域外にある端点に文字が指定されているとして、処理はS501へ進む。
FIG. 5 is a flowchart showing the details of the process of S406 in FIG.
In S500, CPU 101 determines whether an image is specified at an end point outside the display area. Here, CPU 101 makes the determination based on the information on the selection range acquired in S400 and the position information acquired in S402, S403, and S404. If it is determined that an image is specified at an end point outside the display area (Yes in S500), the process proceeds to S511. If it is determined that an image is not specified at an end point outside the display area (No in S500), it is determined that a character is specified at an end point outside the display area, and the process proceeds to S501.

S501において、CPU101は、表示領域外にある端点が選択範囲の開始点であるか否かを判定する。ここでCPU101は、S402、S403、S404で取得した位置情報に基づいて判定を行う。表示領域外にある端点が選択範囲の開始点であると判定された場合(S501でYes)、処理はS502へ進む。表示領域外にある端点が選択範囲の開始点ではないと判定された場合(S501でNo)、処理はS506へ進む。 In S501, the CPU 101 determines whether or not an end point outside the display area is the start point of the selection range. Here, the CPU 101 makes the determination based on the position information acquired in S402, S403, and S404. If it is determined that an end point outside the display area is the start point of the selection range (Yes in S501), the process proceeds to S502. If it is determined that an end point outside the display area is not the start point of the selection range (No in S501), the process proceeds to S506.

S502において、CPU101は、選択範囲の開始点に関する情報に基づいて提示情報を決定する。本実施形態において、CPU101は、選択範囲の開始点にある文字を含み、且つ選択範囲内にある文字列に基づいて提示情報を決定する。具体的には、開始点にある文字から始まる所定の文字数の文字列を提示情報に決定する。図3(B)の例では、開始点「な」から始まる3文字の文字列である「なにぬ」を決定する。なお提示情報を決定する方法は、端点にある文字から始まる所定の文字数の文字列を用いる方法に限らず、端点にある文字を含む単語や文節等を用いる方法でもよい。以下のS503~S505では、S502にて決定した提示情報を端点情報と呼ぶ。 In S502, CPU 101 determines the presentation information based on information about the start point of the selection range. In this embodiment, CPU 101 determines the presentation information based on a character string that includes the character at the start point of the selection range and is within the selection range. Specifically, a character string of a predetermined number of characters starting with the character at the start point is determined as the presentation information. In the example of FIG. 3B, "naninu", a three-character character string starting with the start point "na", is determined. Note that the method of determining the presentation information is not limited to a method using a character string of a predetermined number of characters starting with a character at an end point, and may be a method using a word or phrase that includes the character at the end point. In the following S503 to S505, the presentation information determined in S502 is referred to as end point information.

ところで図3(B)の例では、端点情報としての文字列「なにぬ」が、コンテンツ300中に4か所存在している。このように端点情報の示す部分と同一又は類似する部分がコンテンツ中に存在する場合、端点情報だけを表示しても、端点情報がコンテンツ中のどこを示しているのかユーザが正しく認識できないおそれがある。そこでCPU101は、選択範囲の開始点を識別するための情報を付加情報として決定し、決定した付加情報を端点情報と合わせて表示する。本実施形態においてCPU101は、表示領域外にある端点の文字に隣接する文字を含み、且つ選択範囲の外にある文字列に基づいて付加情報を決定する。 In the example of FIG. 3B, the character string "naninu" exists as endpoint information in four places in content 300. In this way, when a part that is the same as or similar to the part indicated by the endpoint information exists in the content, displaying only the endpoint information may prevent the user from correctly recognizing where in the content the endpoint information indicates. Therefore, CPU 101 determines information for identifying the start point of the selected range as additional information, and displays the determined additional information together with the endpoint information. In this embodiment, CPU 101 determines the additional information based on a character string that is outside the selected range and includes characters adjacent to the endpoint character that is outside the display area.

まずS503において、CPU101は、端点情報の示す文字列と同一又は類似する文字列がコンテンツ中に存在するか否かを判定する。図3(B)の例では、端点情報の示す文字列と同じ文字列である「なにぬ」がコンテンツ300の中に存在するか否かを判定する。同一又は類似する文字列が存在すると判定された場合(S503でYes)、処理はS504へ進む。同一又は類似する文字列が存在しないと判定された場合(S503でNo)、処理はS506へ進む。 First, in S503, the CPU 101 determines whether or not a character string identical to or similar to the character string indicated by the endpoint information exists in the content. In the example of FIG. 3B, it determines whether or not the same character string "naninu" as the character string indicated by the endpoint information exists in the content 300. If it is determined that an identical or similar character string exists (Yes in S503), the process proceeds to S504. If it is determined that an identical or similar character string does not exist (No in S503), the process proceeds to S506.

S504において、CPU101は、選択範囲の開始点を識別するための情報を付加情報として決定する。本実施形態において、CPU101は、開始点にある文字よりも前にある所定の文字数の文字列を付加情報に決定する。図3(B)の例では、開始点「な」よりも前の3文字の文字列である「つてと」を決定する。なお付加情報を決定する方法は、端点の存在する行の前後の行の文字列、端点の存在する行番号やページ番号、又は端点が存在する章の章題を示す文字列等を用いる方法でもよい。 In S504, the CPU 101 determines information for identifying the start point of the selection range as additional information. In this embodiment, the CPU 101 determines a character string of a predetermined number of characters preceding the character at the start point as additional information. In the example of FIG. 3B, the CPU 101 determines "tsuteto", which is the three character string preceding the start point "na". The method of determining additional information may be a method using character strings in the lines before and after the line where the endpoint exists, the line number or page number where the endpoint exists, or a character string indicating the chapter title of the chapter where the endpoint exists.

次にS505において、CPU101は、端点情報とS504にて決定した付加情報とを組み合わせて、新たな提示情報を決定する。本実施形態では、端点情報としての「なにぬ」と、付加情報としての「つてと」を組み合わせた「つてとなにぬ」を新たな提示情報として決定する。 Next, in S505, the CPU 101 combines the endpoint information with the additional information determined in S504 to determine new presentation information. In this embodiment, the CPU 101 determines "tsute to naninu" as the new presentation information, which is a combination of "naninu" as the endpoint information and "tsute to" as the additional information.

次にS506において、CPU101は、表示領域外にある端点が選択範囲の終了点であるか否かを判定する。ここでCPU101は、S402、S403、S404で取得した位置情報に基づいて判定を行う。表示領域外にある端点が選択範囲の終了点であると判定された場合(S506でYes)、処理はS507へ進む。表示領域外にある端点が選択範囲の終了点ではないと判定された場合(S506でNo)、処理は図4のS407へ進む。 Next, in S506, CPU 101 determines whether the end point outside the display area is the end point of the selected range. Here, CPU 101 makes the determination based on the position information acquired in S402, S403, and S404. If it is determined that the end point outside the display area is the end point of the selected range (Yes in S506), processing proceeds to S507. If it is determined that the end point outside the display area is not the end point of the selected range (No in S506), processing proceeds to S407 in FIG. 4.

以下のS507~S510の処理についての説明は、S502~S505の処理における開始点を終了点に読み替えることで同様の説明となるため、簡略化して説明する。
S507において、CPU101は、選択範囲の終了点に関する情報に基づいて提示情報を決定する。具体的には、終了点にある文字までの所定の文字数の文字列を提示情報に決定する。以下のS508~S510では、S507にて決定した提示情報を端点情報と呼ぶ。
The following explanation of the processes in S507 to S510 will be simplified because it is the same as the explanation of the processes in S502 to S505 except that the start points are replaced with end points.
In S507, the CPU 101 determines the presentation information based on information about the end point of the selection range. Specifically, the CPU 101 determines the character string of a predetermined number of characters up to the character at the end point as the presentation information. In the following S508 to S510, the presentation information determined in S507 is referred to as end point information.

次にS508において、CPU101は、端点情報の示す文字列と同一又は類似する文字列がコンテンツ中に存在するか否かを判定する。同一又は類似する文字列が存在すると判定された場合(S508でYes)、処理はS509へ進む。同一又は類似する文字列が存在しないと判定された場合(S508でNo)、処理は図4のS407へ進む。
S509において、CPU101は、選択範囲の終了点を識別するための情報を付加情報として決定する。本実施形態では、終了点の次の文字から始まる所定の文字数の文字列を付加情報に決定する。
次にS510において、CPU101は、端点情報とS509にて決定した付加情報とを組み合わせて、新たな提示情報を決定する。その後処理は図4のS407へ進む。
Next, in S508, the CPU 101 determines whether or not a character string identical to or similar to the character string indicated by the endpoint information exists in the content. If it is determined that an identical or similar character string exists (Yes in S508), the process proceeds to S509. If it is determined that an identical or similar character string does not exist (No in S508), the process proceeds to S407 in FIG.
In S509, the CPU 101 determines information for identifying the end point of the selected range as the additional information. In this embodiment, a character string of a predetermined number of characters beginning with the character next to the end point is determined as the additional information.
Next, in S510, the CPU 101 combines the end point information with the additional information determined in S509 to determine new presentation information. After that, the process proceeds to S407 in FIG.

続いてS500でYes判定だった場合の処理について説明する。
S511において、CPU101は、表示対象のコンテンツデータから、表示領域外にある端点に指定されている画像に関する文字情報を取得する。ここでいう文字情報は、例えば画像のタイトル、画像のファイル名、画像のキャプションである。
次にS512において、CPU101は、S511にて取得した文字情報に基づいて提示情報を決定する。図6は、表示領域外にある端点が画像である場合の提示情報の表示例を示す図である。図6では、選択範囲303の終了点が表示領域301の外にあり、終了点には画像307が指定されている。この場合、CPU101は、選択範囲303の終了点にある画像307のタイトル名「乗り物」を取得し、これを用いた「図:乗り物」を提示情報304に決定する。その後処理は図4のS407へ進む。
Next, the process to be performed when the determination in S500 is Yes will be described.
In S511, the CPU 101 acquires character information related to an image that is specified at an end point outside the display area from the content data to be displayed. The character information here is, for example, the title, file name, and caption of the image.
Next, in S512, the CPU 101 determines the presentation information based on the character information acquired in S511. Fig. 6 is a diagram showing an example of the display of the presentation information when the end point outside the display area is an image. In Fig. 6, the end point of the selection range 303 is outside the display area 301, and the image 307 is specified as the end point. In this case, the CPU 101 acquires the title name "Vehicle" of the image 307 at the end point of the selection range 303, and determines "Picture: Vehicle" using this as the presentation information 304. Thereafter, the process proceeds to S407 in Fig. 4.

なおS512において、CPU101は、画像に関する文字情報に基づいて提示情報を決定したが、画像の縮小データや画像の部分的なデータ等に基づいて提示情報を決定してもよい。またS512で決定した提示情報の示す文字列と同一又は類似の文字列がコンテンツ中に存在する場合、CPU101は、画像に関する文字情報等を追加で取得して、取得した情報を用いて付加情報を決定し、S512で決定した提示情報に組み合わせてもよい。 In S512, CPU 101 determines the presentation information based on character information related to the image, but it may also determine the presentation information based on reduced image data or partial image data. In addition, if a character string identical to or similar to the character string indicated by the presentation information determined in S512 exists in the content, CPU 101 may additionally obtain character information related to the image, determine additional information using the obtained information, and combine it with the presentation information determined in S512.

以上のような図5のフローチャートによれば、表示領域の外にある開始点付近の文字列をユーザに提示することができる。更に、開始点付近の文字列と似た文字列がコンテンツ中に存在する場合には、開始点を識別するための付加情報も併せて提示されるため、開始点がコンテンツ中のどこを示しているのか正しく認識させることができる。なお終了点についても同様の効果が得られる。 According to the above flowchart in Figure 5, it is possible to present to the user a character string near the start point that is outside the display area. Furthermore, if a character string similar to the character string near the start point exists in the content, additional information for identifying the start point is also presented, allowing the user to correctly recognize where in the content the start point is located. The same effect can be achieved with respect to the end point.

図7は、図4のS407の処理の詳細を示すフローチャートである。
S700において、CPU101は、S406にて決定された提示情報に付加情報が含まれているか否かを判定する。付加情報が含まれていないと判定された場合(S700でNo)、通常の表示態様に決定して、図4のS408へ進む。付加情報が含まれていると判定された場合(S700でYes)、処理はS701へ進む。
FIG. 7 is a flowchart showing the details of the process of S407 in FIG.
In S700, the CPU 101 determines whether the presentation information determined in S406 includes additional information. If it is determined that the presentation information does not include additional information (No in S700), the normal display mode is determined, and the process proceeds to S408 in Fig. 4. If it is determined that the presentation information includes additional information (Yes in S700), the process proceeds to S701.

S701において、CPU101は、提示情報に含まれる端点情報と付加情報とを異なる表示様態を指定する。本実施形態において、CPU101は、提示情報のうち、端点情報に対応する部分と、付加情報に対応する部分のそれぞれに対して、表示態様を指示する表示フラグを付与する。例えば、端点情報に対応する部分に対して付与する表示フラグには、文字を強調して表示するフラグを指定する。また、付加情報に対応する部分に対して付与する表示フラグには、文字サイズを小さくして表示するフラグを指定する。図3(B)の表示例では、端点情報「なにぬ」には太文字で表示するフラグが指定され、付加情報「つてと」には文字サイズを小さくして表示するフラグが指定されている。なお、CPU101は、文字色やハイライト等を用いて表示態様を異ならせてもよい。その後処理は図4のS408へ進む。S408において、CPU101は、表示フラグに従い、端点情報と付加情報の表示態様を異ならして表示する。 In S701, the CPU 101 specifies different display modes for the end point information and the additional information included in the presentation information. In this embodiment, the CPU 101 assigns display flags indicating the display modes to the portions of the presentation information corresponding to the end point information and the portions corresponding to the additional information. For example, a flag for displaying characters in an emphasized manner is specified as the display flag assigned to the portion corresponding to the end point information. Also, a flag for displaying characters in a small size is specified as the display flag assigned to the portion corresponding to the additional information. In the display example of FIG. 3B, a flag for displaying characters in bold is specified for the end point information "nani nu", and a flag for displaying characters in a small size is specified for the additional information "tsu te to". Note that the CPU 101 may use character color, highlighting, or the like to differentiate the display modes. After that, the process proceeds to S408 in FIG. 4. In S408, the CPU 101 displays the end point information and the additional information in different display modes according to the display flag.

以上のような図7のフローチャートによれば、ユーザは提示情報に含まれる端点情報と付加情報とを一目で区別することが可能となり、選択範囲の開始点や終了点がコンテンツ中のどこを示しているのか更に理解しやすくなる。 The flowchart in Figure 7 allows the user to distinguish at a glance between the endpoint information and the additional information contained in the presented information, making it easier for the user to understand where in the content the start and end points of the selected range indicate.

以上説明したような本実施形態によれば、選択された範囲が表示領域に収まらない場合でも、選択範囲がどこから或いはどこまで指定されているのか把握することができる。また、文字サイズや表示レイアウトが変更されないため、選択範囲の途中の部分の内容も読み取りやすい。したがって、選択範囲の内容をユーザに分かりやすく提示するという効果が得られる。 According to the present embodiment as described above, even if the selected range does not fit within the display area, it is possible to grasp the start and end of the selected range. In addition, since the character size and display layout do not change, the contents of the intermediate part of the selected range are also easy to read. Therefore, the effect of presenting the contents of the selected range to the user in an easy-to-understand manner is obtained.

<実施形態2>
実施形態2では、図8~図10を参照して、表示領域内にある選択範囲の端点に提示情報が重ならないようにするための処理について説明する。本実施形態に係る情報処理装置100のハードウェア構成は、図1に示した実施形態1のハードウェア構成と同様であるため再度の説明を省略する。本実施形態に係る情報処理装置100の機能構成は、下記の相違点を除き、図2に示した実施形態1の機能構成と同様である。まず第1の相違点は、受付部200が、画面上の提示情報を選択する指示を更に受け付ける点である。また第2の相違点は、表示制御部202が、選択された提示情報に対応する端点が表示領域内に表示されるようにコンテンツの表示領域の位置を変更する点である。また第3の相違点は、提示情報決定部201が、表示領域内にある端点に提示情報が重ならないように提示情報の表示態様を決定する点である。以下実施形態1との相違点を中心に説明する。
<Embodiment 2>
In the second embodiment, a process for preventing the presentation information from overlapping the end points of the selection range in the display area will be described with reference to FIGS. 8 to 10. The hardware configuration of the information processing device 100 according to this embodiment is the same as that of the first embodiment shown in FIG. 1, and therefore will not be described again. The functional configuration of the information processing device 100 according to this embodiment is the same as that of the first embodiment shown in FIG. 2, except for the following differences. The first difference is that the reception unit 200 further receives an instruction to select the presentation information on the screen. The second difference is that the display control unit 202 changes the position of the display area of the content so that the end points corresponding to the selected presentation information are displayed in the display area. The third difference is that the presentation information determination unit 201 determines the display mode of the presentation information so that the presentation information does not overlap the end points in the display area. The following mainly describes the differences from the first embodiment.

図8は、表示領域を変更する処理を示すフローチャートである。図8のフローチャートは、図4のフローチャートと並行して実行される。但し本実施形態では、図4のS407で実行される提示情報の表示様態を決定する処理が実施形態1と異なる。図8のフローチャートは、図4のフローチャートが実行されて提示情報が表示された場合に開始される。
まずS800において、CPU101は、タッチパネルディスプレイ104からの操作情報に基づいて、提示情報の選択指示があったか否かを判定する。本実施形態では、タッチされた位置座標が、提示情報が表示されている座標範囲内にあった場合に、提示情報の選択指示があったと判定する。選択指示があるまでS800の処理を繰り返し、選択指示があった場合(S800でYes)、処理はS801へ進む。
Fig. 8 is a flowchart showing a process of changing a display area. The flowchart of Fig. 8 is executed in parallel with the flowchart of Fig. 4. However, in this embodiment, the process of determining the display mode of the presented information executed in S407 of Fig. 4 is different from that of the first embodiment. The flowchart of Fig. 8 is started when the flowchart of Fig. 4 is executed and the presented information is displayed.
First, in S800, the CPU 101 determines whether or not an instruction to select presented information has been given based on operation information from the touch panel display 104. In this embodiment, it is determined that an instruction to select presented information has been given when the touched position coordinates are within the coordinate range in which the presented information is displayed. The process of S800 is repeated until an instruction to select is given, and if an instruction to select is given (Yes in S800), the process proceeds to S801.

図9(A)は、ユーザが提示情報304を選択した様子を示す図である。図9(A)の例では、選択範囲303の開始点「な」は表示領域301の外にある。このように選択範囲の端点が表示領域外にある状態でユーザが選択範囲を伸縮しようとする場合、伸縮したい選択範囲の端点が表示されるように、画面スクロール等によって表示領域を調整する必要がある。選択範囲が長いほどこの手間は大きくなる。そこでCPU101は、提示情報が選択された場合に、選択された提示情報に対応する選択範囲の端点が表示領域内に位置するように表示領域の位置を変更する。 Figure 9 (A) is a diagram showing a state in which the user has selected presented information 304. In the example of Figure 9 (A), the start point "na" of selected range 303 is outside the display area 301. If the user attempts to extend or resize a selected range when an end point of the selected range is outside the display area, the display area must be adjusted by screen scrolling or the like so that the end point of the selected range is displayed. The longer the selected range, the greater the effort required. Therefore, when presented information is selected, the CPU 101 changes the position of the display area so that the end point of the selected range corresponding to the selected presented information is located within the display area.

S801において、CPU101は、ユーザによって選択された提示情報に対応する選択範囲の端点の位置情報を取得する。図9(A)の例では、提示情報304が選択されているため、選択範囲303の開始点にある「な」のバウンディングボックスの中心座標を開始位置305として取得する。
次にS802において、CPU101は、選択範囲の端点を表示領域内に表示させるための表示領域の変更量を算出する。本実施形態では表示領域の上下方向の中心に選択範囲の端点を表示させるため、CPU101が表示領域の上下方向の中心位置と選択範囲の端点の位置情報(図9(A)の選択範囲303の開始位置305)に基づいて、表示領域の上下方向の移動量を算出する。なお端点を表示させる位置は、表示領域の中心に限らず、例えば表示領域の先頭でもよい。またCPU101は、表示領域の変更量として、表示領域のズーム率等を算出してもよい。
In step S801, the CPU 101 acquires position information of the end points of the selection range corresponding to the presentation information selected by the user. In the example of Fig. 9A, since the presentation information 304 is selected, the CPU 101 acquires the center coordinates of the bounding box of "na" at the start point of the selection range 303 as the start position 305.
Next, in S802, the CPU 101 calculates the amount of change in the display area to display the endpoints of the selection range within the display area. In this embodiment, to display the endpoints of the selection range at the vertical center of the display area, the CPU 101 calculates the amount of vertical movement of the display area based on the vertical center position of the display area and the position information of the endpoints of the selection range (start position 305 of the selection range 303 in FIG. 9A). Note that the position at which the endpoints are displayed is not limited to the center of the display area, and may be, for example, the beginning of the display area. The CPU 101 may also calculate the zoom factor of the display area as the amount of change in the display area.

次にS803において、CPU101は、S803にて算出した変更量に基づき表示領域を変更する。本実施形態では、S803にて算出した移動量でCPU101がコンテンツの表示領域の位置を移動させる。その後本フローチャートの処理が終了する。
図9(B)は、図9(A)の状態から、表示領域301を変更する処理が実行された後の様子を示す図である。図9(B)に示すように、選択範囲303の開始点「な」が表示領域301内に表示される。一方で、表示領域301内に表示されていた選択範囲303の終了点「K」が表示領域301の外へ出てしまったため、終了点「K」に対する提示情報304として「IJK」が表示領域301内に表示される。
Next, in S803, the CPU 101 changes the display area based on the change amount calculated in S803. In this embodiment, the CPU 101 moves the position of the display area of the content by the movement amount calculated in S803. Then, the process of this flowchart ends.
Fig. 9(B) is a diagram showing a state after a process for changing display area 301 from the state of Fig. 9(A) has been executed. As shown in Fig. 9(B), the start point "na" of selection range 303 is displayed within display area 301. Meanwhile, the end point "K" of selection range 303 that was displayed within display area 301 has moved outside display area 301, so "IJK" is displayed within display area 301 as presentation information 304 for end point "K".

以上のような図8のフローチャートによれば、表示領域外にあった開始点や終了点が1回の操作で表示領域内に表示されるように自動的にスクロールが行なわれるため、長い選択範囲を後から伸縮するのが簡単になる。 According to the flowchart in Figure 8, the start point or end point that was outside the display area is automatically scrolled so that it is displayed within the display area with a single operation, making it easy to extend or resize a long selection range later.

図9(C)は、図9(B)の状態から、選択範囲303の開始位置305を変更する操作を行う様子を示す図である。本実施形態では、ユーザによる選択範囲の端点を変更する操作は、選択範囲の端点に対するドラッグ操作によって行われる。CPU101は、タッチパネルディスプレイ104からの操作情報に基づいて、ドラッグ終了座標に最も近い位置にあるコンテンツの文字や画像等を新たな選択範囲の端点に指定する。なお、新たな選択範囲の端点の位置を変更する操作が完了する(ドラッグ操作の場合、ユーザの指やペンがタッチパネルディスプレイ104から離れる)のを待つ必要はない。ドラッグ終了位置の検出は短い間隔で定期的に、または非定期(タッチパネルディスプレイ104に触れているユーザの指やペンが動いたタイミング等)に実行され、その都度、CPU101はRAM103に記憶される選択範囲に関する情報を更新する。 9(C) is a diagram showing how the start position 305 of the selection range 303 is changed from the state shown in FIG. 9(B). In this embodiment, the user changes the end point of the selection range by dragging the end point of the selection range. Based on the operation information from the touch panel display 104, the CPU 101 designates the text, image, etc. of the content that is closest to the drag end coordinate as the end point of the new selection range. Note that there is no need to wait until the operation to change the position of the end point of the new selection range is completed (in the case of a drag operation, the user's finger or pen is removed from the touch panel display 104). The drag end position is detected periodically at short intervals or irregularly (such as when the user's finger or pen touching the touch panel display 104 moves), and each time, the CPU 101 updates the information about the selection range stored in the RAM 103.

続いて図10のフローチャートを用いて、本実施形態における図4のS407の処理の詳細について説明する。
S1000において、CPU101は、選択範囲の伸縮操作中であるか否かを判定する。本実施形態では、選択範囲の端点に対するドラッグ操作中であるか否かを判定する。選択範囲の伸縮操作中ではないと判定された場合(S1000でNo)、処理は図4のS408へ進む。選択範囲の伸縮操作中であると判定された場合(S1000でYes)、処理はS1001へ進む。
Next, the details of the process of S407 in FIG. 4 according to this embodiment will be described with reference to the flowchart of FIG.
In S1000, the CPU 101 determines whether or not the selection range is being expanded or contracted. In this embodiment, it determines whether or not a drag operation is being performed on an end point of the selection range. If it is determined that the selection range is not being expanded or contracted (No in S1000), the process proceeds to S408 in Fig. 4. If it is determined that the selection range is being expanded or contracted (Yes in S1000), the process proceeds to S1001.

S1001において、CPU101は、S406にて決定された提示情報に基づいて、提示情報の表示されるべき領域を示す位置情報を取得する。例えば、CPU101は、提示情報の内容量、提示情報に対応する端点の位置情報等に基づいて、提示情報が表示されるべき領域の座標を取得する。ここで取得される座標は、例えば、提示情報が表示されるべき領域の中心座標、重心座標、端点座標等である。
次にS1002において、CPU101は、S1001にて取得された位置情報に基づいて、提示情報が選択範囲の端点に重なるか否かを判定する。本実施形態では、CPU101は、タッチパネルディスプレイ104上のタッチされている位置(新たに指定された選択範囲の端点)と、S1001で取得した座標とを比較し、二点間の距離が所定値内であるか否かを判定する。選択範囲の端点に重ならないと判定された場合、処理は図4のS408へ進む。選択範囲の端点に重なると判定された場合、処理はS1003へ進む。
In S1001, the CPU 101 acquires position information indicating an area where the presentation information should be displayed based on the presentation information determined in S406. For example, the CPU 101 acquires the coordinates of the area where the presentation information should be displayed based on the content amount of the presentation information, the position information of the end points corresponding to the presentation information, etc. The coordinates acquired here are, for example, the center coordinates, the center of gravity coordinates, the end point coordinates, etc. of the area where the presentation information should be displayed.
Next, in S1002, CPU 101 determines whether or not the presented information overlaps an end point of the selection range based on the position information acquired in S1001. In this embodiment, CPU 101 compares the touched position on touch panel display 104 (end point of the newly specified selection range) with the coordinates acquired in S1001, and determines whether or not the distance between the two points is within a predetermined value. If it is determined that the presented information does not overlap an end point of the selection range, the process proceeds to S408 in Fig. 4. If it is determined that the presented information overlaps an end point of the selection range, the process proceeds to S1003.

S1003において、CPU101は、提示情報が選択範囲の端点に重ならないように提示情報の表示様態を決定する。本実施形態において、CPU101は、提示情報に非表示にする表示フラグを付与する。この結果、S408では提示情報が表示されない。なおCPU101は、提示情報が選択範囲の端点に重ならないようにする形態であれば、提示情報の表示態様を非表示することに限らず、提示情報の表示位置をずらしてもよく、提示情報の文字サイズを小さくしてもよい。また提示情報に付加情報が含まれている場合には、付加情報の表示態様のみを非表示にしてもよい。 In S1003, CPU 101 determines the display mode of the presented information so that the presented information does not overlap the end points of the selection range. In this embodiment, CPU 101 assigns a display flag to the presented information to hide it. As a result, the presented information is not displayed in S408. Note that CPU 101 is not limited to hiding the display mode of the presented information, and may shift the display position of the presented information or reduce the character size of the presented information, as long as the presented information is in a form that prevents it from overlapping the end points of the selection range. Furthermore, if the presented information includes additional information, CPU 101 may hide only the display mode of the additional information.

図9(D)は、図9(C)の状態で、選択範囲303の開始位置305が矢印の方向に変更されることにより選択範囲303が縮小されて、変更後の開始位置305が提示情報304に重なると判定された場合の表示例を示す図である。図9(D)に示すように、開始位置305が提示情報304に近づいたことに応じて、提示情報304が非表示になる。 Fig. 9 (D) is a diagram showing an example of a display when, in the state of Fig. 9 (C), the start position 305 of the selection range 303 is changed in the direction of the arrow, thereby shrinking the selection range 303, and it is determined that the changed start position 305 overlaps with the presented information 304. As shown in Fig. 9 (D), as the start position 305 approaches the presented information 304, the presented information 304 is hidden.

以上のような図10のフローチャートによれば、提示情報が選択範囲の端点を覆い隠さないため、選択範囲の伸縮操作がやりやすくなるという効果が得られる。 According to the flowchart in Figure 10, the presented information does not obscure the end points of the selection range, making it easier to expand or contract the selection range.

実施形態2の変形例として、提示情報決定部201は、表示領域内にある端点に提示情報が重ならないように提示情報を決定してもよい。例えば、提示情報決定部201は、提示情報の表示されるべき領域が小さくなるように、提示情報の内容量を基準値以下に減らしてもよい。この場合でも、図10のフローチャートのように提示情報の表示態様を変更した場合と同様の効果が得られる。 As a modification of the second embodiment, the presentation information determination unit 201 may determine the presentation information so that the presentation information does not overlap with end points within the display area. For example, the presentation information determination unit 201 may reduce the content amount of the presentation information to a reference value or less so that the area in which the presentation information should be displayed becomes smaller. Even in this case, the same effect as when the display mode of the presentation information is changed as shown in the flowchart of FIG. 10 can be obtained.

<実施形態3>
実施形態3では、図11~図12を参照して、提示情報が選択範囲を隠さないようにするための処理について説明する。本実施形態に係る情報処理装置100のハードウェア構成は、図1に示した実施形態1のハードウェア構成と同様であるため再度の説明を省略する。本実施形態に係る情報処理装置100の機能構成は、下記の相違点を除き、図2に示した実施形態1の機能構成と同様である。相違点としては、提示情報決定部201が、提示情報の表示範囲が表示領域内の選択範囲に重なる程度に基づいて、前記提示情報の内容量を調整する点である。以下実施形態1との相違点を中心に説明する。
<Embodiment 3>
In the third embodiment, a process for preventing the presentation information from hiding the selected range will be described with reference to Figs. 11 and 12. The hardware configuration of the information processing device 100 according to this embodiment is similar to that of the first embodiment shown in Fig. 1, and therefore will not be described again. The functional configuration of the information processing device 100 according to this embodiment is similar to that of the first embodiment shown in Fig. 2, except for the following differences. The difference is that the presentation information determination unit 201 adjusts the content amount of the presentation information based on the degree to which the display range of the presentation information overlaps with the selected range in the display area. The following description will focus on the differences from the first embodiment.

本実施形態でも、図4のフローチャートが実行される。但し本実施形態では、図4のS406で実行される提示情報を決定する処理が実施形態1と異なる。図11のフローチャートを用いて、本実施形態における図4のS406の処理の詳細について説明する。
まずS1100において、CPU101が、図5のS500~S512と同様の処理を実行する。これにより、実施形態1と同様の方法により提示情報が決定される。
次にS1101において、CPU101は、S1100で決定された提示情報に基づいて、提示情報の表示範囲を取得する。本実施形態においてCPU101は、提示情報の表示されるべき領域の座標範囲を算出する。
In this embodiment, the flowchart in Fig. 4 is also executed. However, in this embodiment, the process of determining presentation information executed in S406 in Fig. 4 is different from that in embodiment 1. Details of the process in S406 in Fig. 4 in this embodiment will be described with reference to the flowchart in Fig. 11.
First, in S1100, the CPU 101 executes the same processes as in S500 to S512 in Fig. 5. As a result, presentation information is determined in the same manner as in the first embodiment.
Next, in step S1101, the CPU 101 acquires the display range of the presentation information based on the presentation information determined in step S1100. In this embodiment, the CPU 101 calculates the coordinate range of the area in which the presentation information should be displayed.

続いてS1102において、CPU101は、表示領域の範囲を示す位置情報、及び選択範囲に端点の位置情報等に基づいて、表示領域内にある選択範囲の領域を取得する。本実施形態においてCPU101は、表示領域内にある選択範囲の領域を示す座標範囲を算出する。
次にS1103において、CPU101は、提示情報の表示範囲が表示領域内にある選択範囲に重なる程度が大きいか否かを判定する。本実施形態において、CPU101は、S1101及びS1102で算出した座標情報を用いて、表示領域内にある選択範囲の大きさに対する提示情報の表示範囲の大きさの比率を算出し、当該比率が第1の閾値(例えば、1/4)以上であるか否かを判定する。提示情報の表示範囲が表示領域内の選択範囲に重なる程度が大きいと判定された場合(S1103でYes)、提示情報が表示領域内の選択範囲の大部分を覆い隠しているとして、処理はS1104へ進む。提示情報の表示範囲が表示領域内の選択範囲に重なる程度が大きくないと判定された場合(S1103でNo)、処理はS1105へ進む。なお提示情報の表示範囲が表示領域内にある選択範囲に重なる程度を表す指標は、表示領域内にある選択範囲の大きさに対する提示情報の表示範囲の大きさの比率に限られない。例えば、表示領域内にある選択範囲に含まれる文字数に対する提示情報の表示範囲に含まれる文字数の比率を用いてもよい。
Next, in S1102, the CPU 101 acquires the area of the selection range within the display area based on the position information indicating the range of the display area and the position information of the endpoints of the selection range, etc. In this embodiment, the CPU 101 calculates a coordinate range indicating the area of the selection range within the display area.
Next, in S1103, the CPU 101 determines whether the display range of the presentation information overlaps the selection range in the display area to a large extent. In this embodiment, the CPU 101 uses the coordinate information calculated in S1101 and S1102 to calculate the ratio of the size of the display range of the presentation information to the size of the selection range in the display area, and determines whether the ratio is equal to or greater than a first threshold value (for example, 1/4). If it is determined that the display range of the presentation information overlaps the selection range in the display area to a large extent (Yes in S1103), the presentation information covers most of the selection range in the display area, and the process proceeds to S1104. If it is determined that the display range of the presentation information does not overlap the selection range in the display area to a large extent (No in S1103), the process proceeds to S1105. Note that the index representing the degree to which the display range of the presentation information overlaps the selection range in the display area is not limited to the ratio of the size of the display range of the presentation information to the size of the selection range in the display area. For example, the ratio of the number of characters included in the display range of the presented information to the number of characters included in the selection range in the display area may be used.

S1104において、CPU101は、提示情報の内容量を変更する。本実施形態において、CPU101は、S1100で決定された提示情報の文字数を所定の文字数(例えば、1文字)減らして新たな提示情報を決定する。その後処理は図4のS407へ進む。
図12(A)は、S1100の処理で提示情報「なにぬ」が決定され、S1104の処理で内容量が減らされた場合の表示例を示す図である。図12(A)では、提示情報の最後の1文字が減らされて、提示情報304として「なに」が表示されている。これにより、表示領域内の選択範囲が提示情報で隠される程度が小さくなり、提示情報も選択範囲もどちらも読みやすくなる。
In S1104, the CPU 101 changes the content amount of the presented information. In this embodiment, the CPU 101 determines new presented information by reducing the number of characters of the presented information determined in S1100 by a predetermined number of characters (for example, one character). Then, the process proceeds to S407 in FIG. 4.
Fig. 12A is a diagram showing a display example in which the presented information "What is it?" is determined in the process of S1100, and the content amount is reduced in the process of S1104. In Fig. 12A, the last character of the presented information is reduced, and "What is it?" is displayed as presented information 304. This reduces the extent to which the selected range in the display area is hidden by the presented information, making both the presented information and the selected range easier to read.

S1105において、CPU101は、提示情報の表示範囲が表示領域内にある選択範囲に重なる程度が十分小さいか否かを判定する。本実施形態において、CPU101は、S1103で算出した、表示領域内にある選択範囲の大きさに対する提示情報の表示範囲の大きさの比率が第2の閾値(例えば、1/6)より小さいか否かを判定する。第2の閾値は、S1103で用いられた第1の閾値よりも小さい。提示情報の表示範囲が表示領域内の選択範囲に重なる程度が十分小さいと判定された場合(S1105でYes)、処理はS1106へ進む。提示情報の表示範囲が表示領域内の選択範囲に重なる程度が十分小さくはないと判定された場合(S1105でNo)、処理は図4のS407へ進む。 In S1105, CPU 101 determines whether the extent to which the display range of the presentation information overlaps with the selection range in the display area is sufficiently small. In this embodiment, CPU 101 determines whether the ratio of the size of the display range of the presentation information to the size of the selection range in the display area calculated in S1103 is smaller than a second threshold (e.g., 1/6). The second threshold is smaller than the first threshold used in S1103. If it is determined that the extent to which the display range of the presentation information overlaps with the selection range in the display area is sufficiently small (Yes in S1105), processing proceeds to S1106. If it is determined that the extent to which the display range of the presentation information overlaps with the selection range in the display area is not sufficiently small (No in S1105), processing proceeds to S407 in FIG. 4.

S1106において、CPU101は、提示情報の内容量を変更する。本実施形態において、CPU101は、提示情報の文字数を所定の文字数(例えば、2文字)増やして新たな提示情報を決定する。その後処理は図4のS407へ進む。
図12(B)は、S1100の処理で提示情報「なにぬ」が決定されて、S1106の処理で内容量が増やされた場合の表示例を示す図である。図12(B)では、提示情報の文字数が2文字増やされて、提示情報304として「なにぬねの」が表示されている。これにより、表示領域内の選択範囲を隠す程度が小さい範囲で提示情報の情報量を増やすことができるため、選択範囲の内容が更に分かりやすくなる。
In S1106, the CPU 101 changes the content amount of the presented information. In this embodiment, the CPU 101 increases the number of characters of the presented information by a predetermined number of characters (for example, two characters) and determines new presented information. After that, the process proceeds to S407 in FIG.
Fig. 12B is a diagram showing a display example in which the presented information "What is it?" is determined in the process of S1100, and the amount of content is increased in the process of S1106. In Fig. 12B, the number of characters of the presented information is increased by two, and "What is it?" is displayed as presented information 304. This makes it possible to increase the amount of information in the presented information while only slightly hiding the selected range in the display area, making the content of the selected range even easier to understand.

以上説明したような本実施形態によれば、表示領域内の選択範囲を覆い隠さないように提示情報の表示を調整可能になるため、選択範囲の内容を更に分かりやすく提示することができる。 According to this embodiment as described above, the display of the presented information can be adjusted so as not to obscure the selected range in the display area, making it possible to present the contents of the selected range in an even easier-to-understand manner.

実施形態3の変形例として、提示情報決定部201は、提示情報の表示範囲が表示領域内の選択範囲に重なる程度に基づいて、提示情報の表示様態を決定してもよい。具体的には、提示情報の表示範囲が表示領域内の選択範囲に重なる程度が大きい場合、CPU101は図13(A)に示すように、提示情報304の背景を半透明にして、提示情報304と重なる部分の選択範囲の内容も視認できるようにしてもよい。また例えば、CPU101は図13(B)に示すように、提示情報304の表示位置を選択範囲と重ならない位置に移動させてもよい。また例えば、CPU101は図13(C)に示すように、提示情報304を非表示にしてもよい。 As a modified example of the third embodiment, the presentation information determination unit 201 may determine the display mode of the presentation information based on the degree to which the display range of the presentation information overlaps with the selection range in the display area. Specifically, when the display range of the presentation information overlaps with the selection range in the display area to a large extent, the CPU 101 may make the background of the presentation information 304 semi-transparent as shown in FIG. 13(A) so that the contents of the selection range that overlaps with the presentation information 304 can also be seen. As another example, the CPU 101 may move the display position of the presentation information 304 to a position that does not overlap with the selection range as shown in FIG. 13(B). As another example, the CPU 101 may hide the presentation information 304 as shown in FIG. 13(C).

また例えば、提示情報の表示範囲が表示領域内の選択範囲に重なる程度が大きい場合であって、提示情報に付加情報が含まれている場合には、CPU101は付加情報に対応する部分のみを非表示にしてもよい。また例えば、提示情報の表示範囲が表示領域内の選択範囲に重なる程度が十分小さい場合であって、提示情報に付加情報が含まれていない場合には、CPU101は付加情報を決定して、提示情報に含めて表示して、提示情報の情報量を増やしてもよい。 For example, if the display range of the presented information overlaps a large extent with the selection range in the display area and the presented information includes additional information, CPU 101 may hide only the portion that corresponds to the additional information.For example, if the display range of the presented information overlaps a small extent with the selection range in the display area and the presented information does not include additional information, CPU 101 may determine the additional information and display it together with the presented information, thereby increasing the amount of information in the presented information.

以上、本発明を実施形態と共に説明したが、上記実施形態は本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。 The present invention has been described above in conjunction with embodiments, but the above embodiments are merely illustrative examples of how the present invention may be implemented, and the technical scope of the present invention should not be interpreted in a limiting manner based on these embodiments. In other words, the present invention can be implemented in various forms without departing from its technical concept or main features.

(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
Other Embodiments
The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.

100:情報処理装置、104:タッチパネルディスプレイ、200:受付部、201:提示情報決定部、202:表示制御部 100: Information processing device, 104: Touch panel display, 200: Reception unit, 201: Presentation information determination unit, 202: Display control unit

Claims (18)

コンテンツを表示可能な情報処理装置であって、
前記コンテンツの一部に対する選択範囲を指定する指示を受け付ける受付手段と、
前記選択範囲の端点が前記コンテンツを表示する表示領域の外にある場合に、前記表示領域の外にある前記端点である第1の端点に関する情報に基づいて第1の情報を決定する決定手段と、
前記第1の情報を前記表示領域内に重畳して表示するように制御する表示制御手段と、
タッチパネルと、
を有し、
前記受付手段は、前記タッチパネルの操作により前記指示を受け付けることを特徴とする情報処理装置。
An information processing device capable of displaying content,
a receiving means for receiving an instruction to designate a selection range for a part of the content;
a determination means for determining, when an end point of the selection range is outside a display area displaying the content, first information based on information on a first end point that is the end point outside the display area;
a display control means for controlling the display of the first information in a manner superimposed on the display area;
A touch panel and
having
The information processing apparatus according to claim 1, wherein the receiving means receives the instruction by operating the touch panel .
前記受付手段は、前記コンテンツを表示する前記表示領域の大きさ及び位置のうちの少なくとも何れか一方を変更させる指示を更に受け付け、
前記表示制御手段は、前記表示領域の変更に応じて、前記選択範囲の端点が前記表示領域の外へ出た場合に、前記決定手段により決定された前記第1の情報を表示するように制御することを特徴とする請求項1に記載の情報処理装置。
the receiving means further receives an instruction to change at least one of a size and a position of the display area in which the content is displayed;
The information processing device according to claim 1, characterized in that the display control means controls so that the first information determined by the determination means is displayed when an end point of the selected range goes outside the display area in response to a change in the display area.
前記決定手段は、前記コンテンツの中に、前記第1の情報の示す部分と同一又は類似する部分が存在する場合に、前記第1の端点を識別するための第2の情報を更に決定し、
前記表示制御手段は、前記第1の情報に前記第2の情報を付加して表示するように制御することを特徴とする請求項1又は2に記載の情報処理装置。
The determining means further determines second information for identifying the first endpoint when a portion identical or similar to the portion indicated by the first information is present in the content; and
3. The information processing apparatus according to claim 1, wherein the display control means controls so that the second information is added to the first information and then displayed.
前記表示制御手段は、前記第1の情報と前記第2の情報の表示態様を異ならせて表示しるように制御することを特徴とする請求項3に記載の情報処理装置。 The information processing device according to claim 3, characterized in that the display control means controls the display of the first information and the second information in different display modes. 前記受付手段は、表示される前記第1の情報を選択する指示を更に受け付け、
前記表示制御手段は、前記受付手段により前記第1の情報の選択を受け付けた場合に、前記第1の端点が前記表示領域内に表示されるように、前記コンテンツを表示する前記表示領域の大きさ及び位置のうちの少なくとも何れか一方を変更することを特徴とする請求項1乃至4の何れか1項に記載の情報処理装置。
The receiving means further receives an instruction to select the first information to be displayed,
The information processing device according to any one of claims 1 to 4, characterized in that when the display control means accepts a selection of the first information by the accepting means, it changes at least one of the size and position of the display area in which the content is displayed so that the first endpoint is displayed within the display area.
前記表示制御手段は、前記第1の端点とは異なる前記選択範囲の前記端点である第2の端点と前記第1の情報とが前記表示領域内に表示されている状態で、前記受付手段により前記第2の端点の変更を受け付けた場合に、前記第1の情報が前記第2の端点に重ならないように、前記第1の情報の表示態様を変更することを特徴とする請求項1乃至5の何れか1項に記載の情報処理装置。 The information processing device according to any one of claims 1 to 5, characterized in that when a second end point, which is an end point of the selection range different from the first end point, and the first information are displayed in the display area and the reception means receives a change to the second end point, the display control means changes the display mode of the first information so that the first information does not overlap the second end point. 前記決定手段は、前記表示領域内にある前記選択範囲に対する前記第1の情報の表示範囲の比率を算出し、前記比率に基づいて、前記第1の情報の内容量を調整することを特徴とする請求項1乃至6の何れか1項に記載の情報処理装置。 The information processing device according to any one of claims 1 to 6, characterized in that the determining means calculates a ratio of the display range of the first information to the selection range in the display area, and adjusts the content amount of the first information based on the ratio. 前記決定手段は、前記比率が第1の閾値よりも大きい場合に、前記比率を算出する際に用いた前記第1の情報の内容量を減らして新たな前記第1の情報を決定することを特徴とする請求項7に記載の情報処理装置。 The information processing device according to claim 7, characterized in that the determining means determines new first information by reducing the content amount of the first information used in calculating the ratio when the ratio is greater than a first threshold value. 前記決定手段は、前記比率が前記第1の閾値よりも小さい第2の閾値よりも小さい場合に、前記比率を算出する際に用いた前記第1の情報の内容量を増やして新たな前記第1の情報を決定することを特徴とする請求項8に記載の情報処理装置。 The information processing device according to claim 8, characterized in that the determining means determines new first information by increasing the content amount of the first information used in calculating the ratio when the ratio is smaller than a second threshold value that is smaller than the first threshold value. 前記表示制御手段は、前記表示領域内にある前記選択範囲に対する前記第1の情報の表示範囲の比率を算出し、前記比率に基づいて、前記第1の情報の表示態様を決定することを特徴とする請求項1乃至6の何れか1項に記載の情報処理装置。 The information processing device according to any one of claims 1 to 6, characterized in that the display control means calculates a ratio of the display range of the first information to the selection range in the display area, and determines the display mode of the first information based on the ratio. 前記決定手段は、前記第1の端点に前記コンテンツに含まれる文字が指定されている場合に、前記第1の端点に指定される文字を含み、且つ前記選択範囲内にある文字列に基づいて、前記第1の情報を決定することを特徴とする請求項1乃至10の何れか1項に記載の情報処理装置。 The information processing device according to any one of claims 1 to 10, characterized in that, when a character included in the content is specified at the first endpoint, the determination means determines the first information based on a character string that includes the character specified at the first endpoint and is within the selection range. 前記第1の情報が、前記第1の端点が前記選択範囲の開始点である場合には、前記開始点から始まる所定の文字数の文字列であり、前記第1の端点が前記選択範囲の終了点である場合には、前記終了点までの所定の文字数の文字列であることを特徴とする請求項11に記載の情報処理装置。 The information processing device according to claim 11, characterized in that the first information is a character string of a predetermined number of characters starting from the first end point when the first end point is the start point of the selected range, and is a character string of a predetermined number of characters up to the end point when the first end point is the end point of the selected range. 前記決定手段は、前記第1の端点に前記コンテンツに含まれる画像が指定されている場合に、前記第1の端点に指定される画像のタイトル、ファイル名、及びキャプションのうちの少なくともいずれか1つに基づいて、前記第1の情報を決定することを特徴とする請求項1乃至12の何れか1項に記載の情報処理装置。 The information processing device according to any one of claims 1 to 12, characterized in that, when an image included in the content is specified at the first endpoint, the determination means determines the first information based on at least one of the title, file name, and caption of the image specified at the first endpoint. 前記決定手段は、前記第1の端点に前記コンテンツに含まれる文字が指定されている場合に、前記第1の端点に指定される文字に隣接する文字を含み、且つ前記選択範囲の外にある文字列に基づいて、前記第2の情報を決定することを特徴とする請求項3に記載の情報処理装置。 The information processing device according to claim 3, characterized in that, when a character included in the content is specified at the first endpoint, the determination means determines the second information based on a character string that includes a character adjacent to the character specified at the first endpoint and is outside the selection range. 前記決定手段は、前記第1の端点の存在する行番号、前記第1の端点の存在するページ番号、及び前記第1の端点が存在する章の章題のうちの少なくともいずれか1つに基づいて、前記第2の情報を決定することを特徴とする請求項3に記載の情報処理装置。 The information processing device according to claim 3, characterized in that the determining means determines the second information based on at least one of the line number on which the first endpoint exists, the page number on which the first endpoint exists, and the chapter title of the chapter on which the first endpoint exists. コンテンツを表示可能な情報処理装置の制御方法であって、
前記コンテンツの一部に対する選択範囲を指定する指示を受け付ける受付ステップと、
前記選択範囲の端点が前記コンテンツを表示する表示領域の外にある場合に、前記表示領域の外にある前記端点である第1の端点に関する情報に基づいて第1の情報を決定する決定ステップと、
前記第1の情報を前記表示領域内に重畳して表示するように制御する表示制御ステップと、
を含み、
前記情報処理装置は、タッチパネルを備え、
前記受付ステップでは、前記タッチパネルの操作により前記指示を受け付けることを特徴とする情報処理装置の制御方法。
A method for controlling an information processing device capable of displaying content, comprising:
a receiving step of receiving an instruction to designate a selection range for a portion of the content;
a determination step of determining, when an end point of the selection range is outside a display area displaying the content, first information based on information about a first end point that is the end point outside the display area;
a display control step of controlling the first information to be displayed in a superimposed manner within the display area;
Including,
The information processing device includes a touch panel,
The method for controlling an information processing device , wherein the receiving step receives the instruction by operating the touch panel .
請求項1乃至1の何れか1項に記載の情報処理装置の各手段としてコンピュータを機能させるためのプログラム。 A program for causing a computer to function as each of the means of the information processing device according to any one of claims 1 to 15 . コンピュータを、請求項1乃至1の何れか1項に記載された情報処理装置の各手段として機能させるためのプログラムを格納したコンピュータが読み取り可能な記憶媒体。 A computer-readable storage medium storing a program for causing a computer to function as each of the means of the information processing device according to any one of claims 1 to 15 .
JP2021046057A 2021-03-19 2021-03-19 Information processing device, control method, program, and storage medium Active JP7631056B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021046057A JP7631056B2 (en) 2021-03-19 2021-03-19 Information processing device, control method, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021046057A JP7631056B2 (en) 2021-03-19 2021-03-19 Information processing device, control method, program, and storage medium

Publications (2)

Publication Number Publication Date
JP2022144866A JP2022144866A (en) 2022-10-03
JP7631056B2 true JP7631056B2 (en) 2025-02-18

Family

ID=83454582

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021046057A Active JP7631056B2 (en) 2021-03-19 2021-03-19 Information processing device, control method, program, and storage medium

Country Status (1)

Country Link
JP (1) JP7631056B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020115907A1 (en) 2018-12-07 2020-06-11 三菱電機株式会社 Input display control device, input display control method, and input display system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0324594A (en) * 1989-06-21 1991-02-01 Sharp Corp Information processor with area specification confirming function
JP2004086621A (en) * 2002-08-27 2004-03-18 Casio Comput Co Ltd Electronic device, display control method, program, and recording medium
JP2013008201A (en) * 2011-06-24 2013-01-10 Sharp Corp Sentence display device, sentence display method, program and recording medium
JP5905550B1 (en) * 2014-09-19 2016-04-20 ヤフー株式会社 Information processing apparatus, information display program, and information display method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020115907A1 (en) 2018-12-07 2020-06-11 三菱電機株式会社 Input display control device, input display control method, and input display system

Also Published As

Publication number Publication date
JP2022144866A (en) 2022-10-03

Similar Documents

Publication Publication Date Title
JP4533943B2 (en) Information processing apparatus, display control method, and program
CN1251056C (en) computer equipment
EP1912112B1 (en) Storage medium storing input position processing program, and input position processing device
CN101866262B (en) Display control apparatus, display control method and computer program
US7028256B2 (en) Adding white space to a document generating adjusted page sizing
JP5664147B2 (en) Information processing apparatus, information processing method, and program
KR20120102262A (en) The method for selecting a desired contents from text in portable terminal and device thererof
JP6016555B2 (en) Information processing apparatus, control method therefor, program, and storage medium
JP2010044628A (en) Method and program for changing content display magnification
JP2009015431A (en) Display processing apparatus and display control method
JP6575081B2 (en) Display device, image processing device, and program
JP2018514880A (en) Content display control method and user terminal performing content display control method
US20140033027A1 (en) E-Book Application with Multi-Document Display
JP6027373B2 (en) Information processing program, display control apparatus, display control system, and display method
JP7631056B2 (en) Information processing device, control method, program, and storage medium
JP5088343B2 (en) Information browsing device
JP5906344B1 (en) Information processing apparatus, information display program, and information display method
KR102297903B1 (en) Method for displaying web browser and terminal device using the same
JP2007179168A (en) Information processing apparatus and method, and program
JP5066877B2 (en) Image display device, image display method, and program
JP4484233B2 (en) Input coordinate processing program and input coordinate processing apparatus
CN108388392B (en) Document display apparatus
JP2014092870A (en) Electronic data display device, electronic data display method, and program
JP6194383B2 (en) Information processing apparatus, information display program, and information display method
JP2019109797A (en) Information processing terminal, information processing method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240318

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20241120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20241203

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241223

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250205

R150 Certificate of patent or registration of utility model

Ref document number: 7631056

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150