[go: up one dir, main page]

JP2006011694A - Document display device and document display program - Google Patents

Document display device and document display program Download PDF

Info

Publication number
JP2006011694A
JP2006011694A JP2004186180A JP2004186180A JP2006011694A JP 2006011694 A JP2006011694 A JP 2006011694A JP 2004186180 A JP2004186180 A JP 2004186180A JP 2004186180 A JP2004186180 A JP 2004186180A JP 2006011694 A JP2006011694 A JP 2006011694A
Authority
JP
Japan
Prior art keywords
data
unit
display
document
calculated
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.)
Granted
Application number
JP2004186180A
Other languages
Japanese (ja)
Other versions
JP4268906B2 (en
Inventor
Yasuaki Tachiiri
靖朗 立入
Masashi Hirozawa
昌司 広沢
Mitsunobu Shimada
光伸 嶋田
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 JP2004186180A priority Critical patent/JP4268906B2/en
Publication of JP2006011694A publication Critical patent/JP2006011694A/en
Application granted granted Critical
Publication of JP4268906B2 publication Critical patent/JP4268906B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

【課題】 文書内の所望の位置まで移動しての文書表示を精度よく行う。
【解決手段】 フロー、ブロックなど複数種類の単位データを各種類複数個含む文書データにおける、表示を所望する部分の文書データの位置を指定すると(S3)、指定位置に対応のフローまたはブロック内に含まれている行のデータによるレイアウトを作成する(S7)。そして、表示する先頭行のレイアウトについて、文書データにおける表示位置を算出する(S9)。算出した表示位置が、指定されている位置と同じであればその行を先頭にして表示し、そうでなければ次の行の表示位置を算出してどちらを先頭にして表示するか決定後、レイアウトに従い文書データの部分を表示する(S11−S21)。
【選択図】 図8
PROBLEM TO BE SOLVED: To accurately display a document after moving to a desired position in the document.
When the position of document data of a portion desired to be displayed is specified in document data including a plurality of types of unit data such as a flow and a block (S3), the flow or block corresponding to the specified position is included. A layout based on the data of the included lines is created (S7). Then, the display position in the document data is calculated for the layout of the first line to be displayed (S9). If the calculated display position is the same as the specified position, display that line first, otherwise calculate the display position of the next line and decide which one to display first, The document data portion is displayed according to the layout (S11-S21).
[Selection] Figure 8

Description

この発明は文書表示装置および文書表示プログラムに関し、特に、表示される文書の位置をユーザに提示し、また所望の表示位置にまで移動して文書の表示を更新する文書表示装置および文書表示プログラムに関する。   The present invention relates to a document display device and a document display program, and more particularly to a document display device and a document display program for presenting a position of a document to be displayed to a user and moving to a desired display position to update the display of the document. .

電子書籍などのメディアを表示する装置では、図15(A)に示すように、電子書籍の文書のどのあたりを現在表示しているかの情報を画面に表示する。この例では、文書の先頭を0%、文書の末尾を100%としたときに、25%の位置を表示しているという意味である。計算方法としては、例えば以下のような式が考えられる。   In a device that displays media such as an electronic book, as shown in FIG. 15A, information about which part of the electronic book document is currently displayed is displayed on the screen. In this example, when the top of the document is 0% and the end of the document is 100%, the position of 25% is displayed. As a calculation method, for example, the following formula can be considered.

現在表示位置=((文書先頭からの文字数)/(文書全体の文字数))×100(%)
また、図15(B)と(C)に示すように、文書中で移動したい位置、すなわち移動先の位置を文書全体に対する割合で指定して移動する。この例では、図15(B)で、現在、文書全体の先頭から25%の位置を表示しているときに、ユーザが80%の位置へ移動したいと考え、%指定移動ダイアログで‘80%’と入力して移動先位置を指定すると、図15(C)のように、指定された移動先の位置の文書が表示されるように表示内容が更新されている。また、現在の表示位置は指定したとおり80%と示されている。
Current display position = ((number of characters from the beginning of the document) / (number of characters in the entire document)) × 100 (%)
Further, as shown in FIGS. 15B and 15C, the position to be moved in the document, that is, the position of the movement destination is designated and moved in proportion to the whole document. In this example, in FIG. 15B, when the position of 25% from the beginning of the entire document is currently displayed, the user wants to move to the position of 80%, and the% designation move dialog displays '80% When the destination position is specified by entering ', the display content is updated so that the document at the specified destination position is displayed as shown in FIG. The current display position is 80% as specified.

現在の表示位置を高速に計算し、移動する手法としては他に特許文献1と2で提案されている。
特開2003−330699号公報 特開2003−330700号公報
Other methods for calculating and moving the current display position at high speed are proposed in Patent Documents 1 and 2.
JP 2003-330699 A JP 2003-330700 A

従来技術では、以下の問題がある。   The prior art has the following problems.

図16(A)と(B)は、文書全体の文字数が500文字の文書を、1行に9文字表示できる画面に表示したものである。現在は文書の先頭を表示している。ここで、5%の位置へ移動しようとすると、移動後は500×5÷100=25なので25文字目の「Y」が画面先頭行に表示されていればよい。そのため、移動後は「S」から始まる行が画面先頭に表示される。ところが、画面に表示される現在表示位置は画面先頭行の先頭文字を基準に計算するため、3.8%を示すことになる。現在位置を小数点以下切捨てで表示した場合は3%と表示されている。さらにここで1行スクロールすると、5%と更新されて表示される。よって、5%と指定して移動したにもかかわらず、移動後の表示位置が指定した値と異なり、さらに移動後の表示から1行スクロールした後の表示位置が指定した値であるため、ユーザは違和感を感じる。   FIGS. 16A and 16B show a document whose total number of characters is 500 on a screen that can display nine characters per line. Currently, the top of the document is displayed. If an attempt is made to move to a position of 5%, it is only necessary that the 25th character “Y” is displayed on the top line of the screen because 500 × 5 ÷ 100 = 25 after the movement. Therefore, after the movement, a line starting from “S” is displayed at the top of the screen. However, since the current display position displayed on the screen is calculated based on the first character of the first line on the screen, it indicates 3.8%. When the current position is displayed with the decimal part rounded down, 3% is displayed. If one line is further scrolled here, it is updated and displayed as 5%. Therefore, even though it has been moved by specifying 5%, the display position after movement is different from the specified value, and the display position after scrolling one line from the display after movement is the specified value. Feel uncomfortable.

また、特許文献1と2のいずれもスクロールバーに表示されるスクロールボックスの大きさ(割合)を求めている。特許文献1では、現在表示している分割データサイズと、文書全体のデータサイズとの割合をスクロールボックスの大きさにしている。特許文献2では、現在表示している分割データサイズ、レイアウトサイズと、文書全体のデータサイズとの割合から、文書全体のレイアウトサイズを推測し、現在表示しているレイアウトサイズの文書全体に対する割合をスクロールボックスの大きさにしている。   In both Patent Documents 1 and 2, the size (ratio) of the scroll box displayed on the scroll bar is obtained. In Patent Document 1, the ratio between the currently displayed divided data size and the data size of the entire document is the size of the scroll box. In Patent Document 2, the layout size of the entire document is estimated from the ratio of the currently displayed divided data size and layout size to the data size of the entire document, and the ratio of the currently displayed layout size to the entire document is calculated. The size of the scroll box.

しかし、特許文献1と2の手順によれば、文書中の全分割データのサイズが分かっていないと計算できないため、文書のデータ構造によっては処理に時間がかかる。また、この手法で%指定移動、%表示を行うと、従来技術の問題同様、指定した値と表示値がずれることがある。   However, according to the procedures of Patent Documents 1 and 2, since calculation cannot be performed unless the size of all the divided data in the document is known, processing takes time depending on the data structure of the document. Also, if% specified movement and% display are performed using this method, the specified value and the display value may be different from each other, as in the prior art.

さらに、特許文献2では、現在表示している分割データのレイアウトサイズを用いて全体のレイアウトサイズを推測し、現在位置および移動先の位置を算出している。しかし、分割データサイズに対するレイアウトサイズの割合は一定ではないため、推測誤差によって、順にスクロールしていっても%位置が小さくなることが起こり、不自然な動作となる。以下にその例を示す。   Further, in Patent Document 2, the entire layout size is estimated using the layout size of the currently displayed divided data, and the current position and the destination position are calculated. However, since the ratio of the layout size to the divided data size is not constant, the% position may become smaller even if scrolling in order due to the estimation error, resulting in an unnatural operation. An example is shown below.

特許文献2では、表示している分割データのレイアウトサイズから文書全体のレイアウトサイズを推測し、%を計算する。また、スクロールボックスの大きさ(文書全体に対する表示範囲の割合)を求めているが、同様の計算方法を%表示に適用すると、以下のようになる。ここでは、後述する本発明の実施の形態に合わせて、分割データを「ブロック」、データサイズを「バイト数」と呼ぶこととする。   In Patent Document 2, the layout size of the entire document is estimated from the layout size of the displayed divided data, and% is calculated. In addition, the size of the scroll box (the ratio of the display range to the entire document) is obtained. When the same calculation method is applied to the% display, the size is as follows. Here, in accordance with an embodiment of the present invention described later, the divided data is referred to as “block” and the data size is referred to as “number of bytes”.

なお、「レイアウトドット数」と「レイアウトドット位置」は、文書を横書きで表示したときの、縦方向の表示ドットの数または位置を示している。レイアウトドット数は画像の大きさやフォントサイズによって異なってくるため、ブロックのバイト数に必ずしも比例しない。   Note that “number of layout dots” and “layout dot position” indicate the number or position of display dots in the vertical direction when the document is displayed in horizontal writing. Since the number of layout dots varies depending on the size of the image and the font size, it is not necessarily proportional to the number of bytes in the block.

まず、%表示値pはp=a×100/bで算出する。ここで、a:画面先頭に表示されているドットの、文書全体でのレイアウトドット位置(推測値)、b:文書全体のレイアウトドット数(推測値)である。   First, the% display value p is calculated by p = a × 100 / b. Here, a: the layout dot position (estimated value) in the entire document of the dot displayed at the top of the screen, and b: the number of layout dots (estimated value) in the entire document.

また、a=(c×f/e)+gと計算し、b=c×d/eと計算する。ただし、c:現在表示しているブロックのレイアウトドット数であり、2ブロック以上にまたがって表示している場合はその総和になる。d:文書全体のバイト数である。e:現在表示しているブロックのバイト数であり、2ブロック以上にまたがって表示している場合はその総和になる。f:現在表示しているブロックの手前までのバイト数の総和。g:画面先頭に表示しているドットの、ブロック内でのレイアウトドット位置である。   Also, a = (c × f / e) + g is calculated, and b = c × d / e is calculated. However, c is the number of layout dots of the currently displayed block, and is the sum of the layout dots when displayed over two or more blocks. d: The number of bytes of the entire document. e: This is the number of bytes of the currently displayed block, and when it is displayed across two or more blocks, it is the sum of the numbers. f: The total number of bytes up to the front of the currently displayed block. g: The layout dot position in the block of the dot displayed at the top of the screen.

簡単な例として、フロー数は1個、ブロック数は3個、各ブロックのバイト数は先頭から順に800、1200、1000とし、各ブロックをレイアウトしたときのドット数が先頭から順に400、500、600となる文書を、1画面に200ドット表示できる画面で表示する場合を考える。このとき、d=800+1200+1000=3000と一定である。他の値は以下のようになる。   As a simple example, the number of flows is 1, the number of blocks is 3, the number of bytes of each block is 800, 1200, 1000 in order from the top, and the number of dots when each block is laid out is 400, 500, Consider a case in which a document having 600 is displayed on a screen capable of displaying 200 dots on one screen. At this time, d = 800 + 1200 + 1000 = 3000 is constant. Other values are as follows.

先頭ブロックのみ表示しているときは、a=(400×0/800)+g=g、b=400×3000/800=1500、c=400、e=800、f=0である。   When only the first block is displayed, a = (400 × 0/800) + g = g, b = 400 × 3000/800 = 1500, c = 400, e = 800, and f = 0.

1番目と2番目のブロックを表示しているときは、a=(900×0/2000)+g=g、b=900×3000/2000=1350、c=400+500=900、e=800+1200=2000、f=0となる。   When displaying the first and second blocks, a = (900 × 0/2000) + g = g, b = 900 × 3000/2000 = 1350, c = 400 + 500 = 900, e = 800 + 1200 = 2000, f = 0.

2番目のブロックのみ表示しているときは、a=(500×800/1200)+g=333.3+g、b=500×3000/1200=1250、c=500、e=1200、f=800となる。   When only the second block is displayed, a = (500 × 800/1200) + g = 333.3 + g, b = 500 × 3000/1200 = 1250, c = 500, e = 1200, f = 800. .

2番目と3番目のブロックを表示しているときは、a=(1100×800/2200)+g=400+g、b=1100×3000/2200=1500、c=500+600=1100、e=1200+1000=2200、f=800となる。   When the second and third blocks are displayed, a = (1100 × 800/2200) + g = 400 + g, b = 1100 × 3000/2200 = 1500, c = 500 + 600 = 1100, e = 1200 + 1000 = 2200, f = 800.

3番目のブロックのみ表示しているときは、a=(600×2000/1000)+g=1200+g、b=600×3000/1000=1800、c=600、e=1000、f=800+1200=2000となる。   When only the third block is displayed, a = (600 × 2000/1000) + g = 1200 + g, b = 600 × 3000/1000 = 1800, c = 600, e = 1000, f = 800 + 1200 = 2000. .

よって、画面先頭に表示するレイアウトドット位置によって以下のように%表示が変化する。   Therefore, the% display changes as follows according to the layout dot position displayed at the top of the screen.

画面先頭が1ブロック目の1ドット目のときは1番目のブロックのみ表示しているので1×100/1500=0.1%、画面先頭が1ブロック目の201ドット目のときは1番目のブロックのみ表示しているので201×100/1500=13.4%、画面先頭が1ブロック目の202ドット目のときは1、2番目のブロックを表示しているので202×100/1350=15.0%、画面先頭が1ブロック目の400ドット目のときは1、2番目のブロックを表示しているので400×100/1350=29.6%、画面先頭が2ブロック目の1ドット目のときは2番目のブロックのみ表示しているので(333.3+1)×100/1250=26.7%、画面先頭が2ブロック目の301ドット目のときは2番目のブロックのみ表示しているので(333.3+301)×100/1250=50.7%、画面先頭が2ブロック目の302ドット目のときは2、3番目のブロックを表示しているので(400+302)×100/1500=46.8%、画面先頭が2ブロック目の500ドット目のときは2、3番目のブロックを表示しているので(400+500)×100/1500=60.0%、画面先頭が3ブロック目の1ドット目のときは3番目のブロックのみ表示しているので(1200+1)×100/1800=66.7%、画面先頭が3ブロック目の600ドット目のときは3番目のブロックのみ表示しているので(1200+600)×100/1800=100%となる。   When the top of the screen is the first dot of the first block, only the first block is displayed, so 1 × 100/1500 = 0.1%. When the top of the screen is the 201st dot of the first block, the first block is displayed. Since only the block is displayed, 201 × 100/1500 = 13.4%. When the top of the screen is the 202nd dot of the first block, the first and second blocks are displayed, so 202 × 100/1350 = 15. When the top of the screen is the 400th dot of the first block, the first and second blocks are displayed, so 400 × 100/1350 = 29.6%, the top of the screen is the first dot of the second block Since only the second block is displayed at (333.3 + 1) × 100/1250 = 26.7%, when the top of the screen is the 301st dot of the second block, only the second block is displayed. (333.3 + 301) × 100/1250 = 50.7%, and when the top of the screen is the 302th dot of the second block, the second and third blocks are displayed, so (400 + 302) × 100/1500 = 46.8%, when the top of the screen is the 500th dot of the second block, since the second and third blocks are displayed (400 + 500) × 100/1500 = 60.0%, the top of the screen is the third block When the first dot is displayed, only the third block is displayed (1200 + 1) × 100/1800 = 66.7%. When the top of the screen is the 600th dot of the third block, only the third block is displayed. Therefore, (1200 + 600) × 100/1800 = 100%.

このように、先頭から読み進めていくと途中で%表示の値が戻ることがあり、違和感がある。   As described above, when reading from the beginning, the value in% display may return in the middle, and there is a sense of incongruity.

それゆえにこの発明の目的は、文書内の所望の位置まで移動しての文書表示を精度よく、また表示中の文書部分の表示位置の提示を速やかに行うことができる文書表示装置およびプログラムを提供することである。   SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a document display apparatus and program capable of accurately displaying a document after moving to a desired position in the document and promptly presenting the display position of the document part being displayed. It is to be.

この発明のある局面に従う文書表示装置は、所定単位データを複数個含む文書データにおける、所望部分の文書データの位置を指定する位置指定手段と、
所定単位データそれぞれの前記文書データにおける表示位置を算出する位置算出手段と、
前記位置算出手段により算出した前記所定単位データそれぞれの算出位置のうち、前記位置指定手段により指定した前記指定位置に相当する前記算出位置である前記所定単位データを含む前記文書データの部分を表示する表示制御手段とを備える。
A document display device according to an aspect of the present invention includes position specifying means for specifying a position of document data of a desired portion in document data including a plurality of predetermined unit data,
Position calculating means for calculating a display position of each predetermined unit data in the document data;
Of the calculated positions of the predetermined unit data calculated by the position calculating means, a portion of the document data including the predetermined unit data that is the calculated position corresponding to the specified position specified by the position specifying means is displayed. Display control means.

したがって、算出した所定単位データそれぞれの算出位置のうち、指定されている指定位置に相当する算出位置に該当するような所定単位データを含む文書データの部分が表示される。   Accordingly, a portion of the document data including the predetermined unit data corresponding to the calculated position corresponding to the specified position among the calculated positions of the calculated predetermined unit data is displayed.

それゆえに、現在表示すべき文書データの部分を、表示先として指定された位置とのずれがない部分の文書データとなるように表示することができる。   Therefore, it is possible to display the portion of the document data to be displayed at present so as to be the portion of the document data that does not deviate from the position designated as the display destination.

好ましくは、文書データから、前記位置指定手段により指定した前記指定位置に対応する部分のデータを取得する部分データ取得手段をさらに備えて、
前記位置算出手段は、前記部分データ取得手段が取得した前記部分データ中の前記所定単位データそれぞれの前記文書データにおける表示位置を算出することを特徴とする。
Preferably, the apparatus further comprises partial data acquisition means for acquiring data of a part corresponding to the designated position designated by the position designation means from the document data,
The position calculating unit calculates a display position in the document data of each of the predetermined unit data in the partial data acquired by the partial data acquiring unit.

好ましくは、前記指定位置および前記算出位置は、前記文書データの先頭からの位置を示し、
前記指定位置に相当する前記算出位置は、前記指定位置を示すか、または前記指定位置よりも前記先頭側の位置を示すことを特徴とする。
Preferably, the specified position and the calculated position indicate a position from the beginning of the document data,
The calculated position corresponding to the designated position indicates the designated position or the position on the head side with respect to the designated position.

好ましくは、前記所定単位データは、行のデータであることを特徴とする。   Preferably, the predetermined unit data is row data.

好ましくは、表示制御手段は、前記文書データの部分を、前記位置指定手段により指定した前記指定位置に相当する前記算出位置の前記行データを先頭にして表示することを特徴とする。   Preferably, the display control means displays the portion of the document data with the row data at the calculated position corresponding to the designated position designated by the position designation means as the head.

この発明の他の局面に従う文書表示装置は、階層化されたサイズの異なる1種類以上の単位データを各種類について複数個含む文書データ中の現在表示している部分について、前記文書データにおける位置を算出する位置算出手段と、
前記位置算出手段が算出した前記位置を表示する位置表示手段とを備え、
前記位置算出手段は、
各種類の前記単位データのうち、前記サイズに関する所定基準で選択した種類の複数個の前記単位データのうちの現在表示している前記部分に対応の前記単位データについて、前記文書データにおける位置を算出することを特徴とする。
According to another aspect of the present invention, there is provided a document display device, wherein a position in the document data of a currently displayed portion of document data that includes a plurality of types of unit data having different types of layered sizes is displayed. Position calculating means for calculating;
Position display means for displaying the position calculated by the position calculation means,
The position calculating means includes
Of the unit data of each type, the position in the document data is calculated for the unit data corresponding to the currently displayed portion of the plurality of unit data of the type selected on the basis of the predetermined size. It is characterized by doing.

したがって、異なるサイズを持つ複数種類の単位データで階層化された文書データにおける、現在表示中の部分の位置は、このサイズに関する所定基準で選択した種類の単位データのうち、該部分に対応の単位データの文書データにおける位置を算出して、この算出結果を用いて表示される。   Therefore, the position of the currently displayed portion in the document data hierarchized with a plurality of types of unit data having different sizes is the unit corresponding to the portion of the types of unit data selected on the basis of the predetermined size. The position of the data in the document data is calculated and displayed using this calculation result.

それゆえに、位置を算出するのに用いる種類の単位データの選択は、階層化に用いているサイズに関する所定基準に従うから、文書データのサイズに合わせた所定基準を適用することで、文書データの大きさ(サイズ)に拘わらず速やかに位置を算出できる。   Therefore, selection of the unit data of the type used to calculate the position follows a predetermined standard relating to the size used for hierarchization. Therefore, by applying a predetermined standard according to the size of the document data, the size of the document data can be increased. The position can be quickly calculated regardless of the size.

好ましくは、前記位置算出手段は、
上位の階層から下位の階層の順に、各種類の前記単位データのうち前記文書データに含まれる個数が所定数を超えるか否かを判断する判断手段と、
前記判断手段が前記所定数を超えると判断した最初の種類の複数個の前記単位データのうちの現在表示している前記部分に対応の前記単位データについて、前記文書データにおける位置を算出することを特徴とする。
Preferably, the position calculating means includes
Judgment means for judging whether or not the number included in the document data among the unit data of each type exceeds a predetermined number in order from the upper hierarchy to the lower hierarchy;
Calculating a position in the document data for the unit data corresponding to the currently displayed portion of the plurality of unit data of the first type determined by the determining means to exceed the predetermined number. Features.

好ましくは、前記位置算出手段は、
各種類の前記単位データのうち、上位の階層の種類の前記単位データの前記文書データに含まれる個数が所定数を超えないときは、下位の階層の種類の複数個の前記単位データのうち、現在表示している前記部分に対応の前記単位データについて、前記文書データにおける位置を算出することを特徴とする。
Preferably, the position calculating means includes
Among the unit data of each type, when the number included in the document data of the unit data of the upper hierarchy type does not exceed a predetermined number, among the plurality of unit data of the lower hierarchy type, A position in the document data is calculated for the unit data corresponding to the currently displayed portion.

好ましくは、前記位置算出手段は、
現在表示中の部分については下位の階層の種類の複数個の前記単位データのうちから対応の前記単位データを、それ以外の部分については上位の階層の種類の複数個の前記単位データのうちから対応の前記単位データを選択する。
Preferably, the position calculating means includes
For the currently displayed portion, the corresponding unit data is selected from the plurality of unit data of the lower hierarchy type, and for the other portions, the corresponding unit data is selected from the plurality of unit data of the higher hierarchy type. The corresponding unit data is selected.

この発明のさらに他の局面に従う文書表示プログラムは、コンピュータを、前記コンピュータの入力部を用いて、所定単位データを複数個含む文書データにおける、所望部分の文書データの位置を指定する位置指定手段と、
前記コンピュータの演算部を用いて、所定単位データそれぞれの前記文書データにおける表示位置を算出する位置算出手段と、
前記コンピュータの表示部を用いて、前記位置算出手段により算出した前記所定単位データそれぞれの算出位置のうち、前記位置指定手段により指定した前記指定位置に相当する前記算出位置である前記所定単位データを含む前記文書データの部分を表示する表示制御手段として機能させるためのプログラムである。
According to still another aspect of the present invention, there is provided a document display program, wherein a computer is used to specify a position of document data at a desired portion in document data including a plurality of predetermined unit data using an input unit of the computer. ,
Position calculating means for calculating a display position in the document data for each of the predetermined unit data using the computing unit of the computer;
The predetermined unit data that is the calculated position corresponding to the specified position specified by the position specifying means among the calculated positions of the predetermined unit data calculated by the position calculating means using the display unit of the computer. It is a program for functioning as a display control means for displaying a part of the document data including.

この発明のさらに他の局面に従う文書表示プログラムは、コンピュータを、前記コンピュータの演算部を用いて、階層化されたサイズの異なる1種類以上の単位データを各種類について複数個含む文書データ中の現在表示している部分について、前記文書データにおける位置を算出する位置算出手段と、
前記コンピュータの表示部を用いて前記位置算出手段が算出した前記位置を表示する位置表示手段として機能させ、
前記位置算出手段は、
各種類の前記単位データのうち、所定基準で選択した種類の複数個の前記単位データのうちの現在表示している前記部分に対応の前記単位データについて、前記文書データにおける位置を算出することを特徴とするプログラムである。
According to still another aspect of the present invention, there is provided a document display program that uses a computer to calculate current data in document data that includes a plurality of one or more types of unit data of different sizes, using a computing unit of the computer. Position calculation means for calculating the position in the document data for the displayed part;
Function as position display means for displaying the position calculated by the position calculation means using the display unit of the computer,
The position calculating means includes
Calculating a position in the document data for the unit data corresponding to the currently displayed portion of the plurality of unit data of the type selected on the basis of each type of the unit data. It is a featured program.

以下、この発明の実施の形態について図面を参照して詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

[文書表示装置の機能の概要]
本実施の形態では、HTML(Hyper Text Markup Language)文書のようにページの区切りはなく、画面サイズや使用するフォントなどにより自由にレイアウトされる形式の文書データを対象とする。この文書データのことを、本実施形態ではフロー型コンテンツと呼んでいる。
[Overview of document display device functions]
In the present embodiment, there is no page separation as in an HTML (Hyper Text Markup Language) document, and document data in a format that is freely laid out according to a screen size, a font to be used, or the like is targeted. This document data is called flow content in the present embodiment.

文書データには、編集の利便性から、記述フォーマットと実行フォーマットの2種類のデータ形式が存在する。記述フォーマットは、データ作成のためのデータフォーマットである。編集のし易さを考慮し、例えばXML(eXtensible Markup Language)のような、テキストエディタでも編集できるフォーマットを用いて記述する。実行フォーマットは、文書表示装置での実行を考慮したフォーマットである。文書表示装置での処理し易さを考慮し、独自のバイナリ形式で記録される。実行フォーマットは、記述フォーマットが専用ツールにより、コンバート処理されると生成される。   There are two types of data formats for document data: a description format and an execution format for convenience of editing. The description format is a data format for creating data. Considering the ease of editing, it is described using a format that can be edited by a text editor such as XML (eXtensible Markup Language). The execution format is a format that considers execution in the document display device. In consideration of the ease of processing in the document display device, it is recorded in a unique binary format. The execution format is generated when the description format is converted by the dedicated tool.

[フロー型コンテンツの構成]
フロー型コンテンツは複数のフローを有し、各フローは複数のブロックを有するという、階層構造を有する。
[Composition of flow type content]
The flow-type content has a hierarchical structure in which each flow has a plurality of flows and each flow has a plurality of blocks.

[フローについて]
フロー型コンテンツは、通常、複数のフローから構成される。フローとは、フロー型コンテンツにおいて、例えば第1章の文章、第2章の文章など、意味的にまとまりのあるデータの群を指し、一般に一つの書籍は一つ以上のフローを持っている。フローに分割する基準は特に定めず、文書データ作成者の意向にゆだねる。例えば、章毎に分割してもいいし、新聞などの文書データであれば記事毎に分割してもいい。また、分割せず一つのフローしか持たない文書データとしてもよい。
[About the flow]
The flow-type content is usually composed of a plurality of flows. A flow refers to a group of data that is semantically organized, for example, a sentence in Chapter 1 and a sentence in Chapter 2 in a flow-type content. In general, one book has one or more flows. There are no particular criteria for dividing the flow, and it depends on the intention of the document data creator. For example, it may be divided into chapters, or may be divided into articles for document data such as newspapers. Further, it may be document data that is not divided and has only one flow.

[ブロックについて]
各フローは、通常、複数のブロックから構成される。ブロックとは、文書表示装置での処理を高速化するために、適当な大きさでフローを分割したものである。分割する際には、ブロック単位でデータの読み込み、表示のためのレイアウト作成が可能なように、補助情報を作成しておく。フロー型コンテンツは画面サイズや使用するフォントなどにより表示のためのレイアウト(後述する)が異なるため、フロー型コンテンツの途中から表示する場合でもフロー型コンテンツの先頭からデータを読込み、表示のためのレイアウトを作成しなければならないのが一般的である。しかし、ブロック単位でデータの読込み、表示のためのレイアウト作成が可能であれば、フロー型コンテンツの途中から表示する場合でも高速に処理することができる。なお、ブロック分割は記述フォーマットからバイナリ形式の実行フォーマットへのコンバート時に行われるため、文書データ作成者がブロックの存在を意識することはない。
[About Block]
Each flow is usually composed of a plurality of blocks. A block is a flow divided by an appropriate size in order to speed up the processing in the document display device. When dividing, auxiliary information is created so that a layout for reading and displaying data in block units can be created. Flow-type content has a different layout for display (described later) depending on the screen size and fonts used, so even when displaying from the middle of flow-type content, data is read from the beginning of the flow-type content and displayed for display. It is common to have to create. However, if a layout for reading and displaying data in block units can be created, processing can be performed at high speed even when the flow type content is displayed in the middle. Since the block division is performed at the time of conversion from the description format to the binary execution format, the document data creator is not aware of the existence of the block.

[ブロックの構成要素について]
各ブロックには文字と、画像(動画、静止画)の表示を指定するオブジェクト指定タグとが存在する(他にも存在するが、本発明と関連がないため省略する)。オブジェクト指定タグはHTML同様、表示するオブジェクトのファイル名や左/右寄せなどの属性を指定する。同一文書データ内で文字や画像を混在させて記述することも可能である。
[About block components]
Each block has a character and an object designation tag for designating display of an image (moving image, still image) (there are other, but they are not related to the present invention and are omitted). The object designation tag designates attributes such as the file name and left / right alignment of the object to be displayed, as in HTML. It is possible to mix and describe characters and images in the same document data.

[表示のためのレイアウトのデータ構造]
ブロック内の文字や画像を画面に表示するためには、画面サイズやフォントサイズなどのパラメータに応じて、表示イメージを構成する必要がある。パラメータは固定であったり変更可能であったりする。この表示イメージのためのデータを本実施の形態ではレイアウトと呼ぶ。レイアウトのデータ構造の一例は後述する。
[Data structure of layout for display]
In order to display the characters and images in the block on the screen, it is necessary to configure the display image according to parameters such as the screen size and font size. Parameters can be fixed or changeable. In this embodiment, the data for the display image is called a layout. An example of the data structure of the layout will be described later.

[%の具体的な計算例]
本実施の形態に係る文書表示装置では、電子文書データ内の所望の表示先データを指定して、指定した先のデータに移動して表示するのは%指定移動機能で実現される。現在の表示データの電子文書データ内での位置を提示するのは%表示機能で実現される。%指定または%表示のために具体的な位置計算例は以下のようになる。
[Specific calculation example of%]
In the document display apparatus according to the present embodiment, the desired display destination data in the electronic document data is designated, moved to the designated destination data, and displayed. Presenting the position of the current display data in the electronic document data is realized by the% display function. Specific location calculation examples for% designation or% display are as follows.

〔%指定移動機能〕
(制御方法切替の閾値)
処理対象の電子文書データであるフロー型コンテンツ内のフロー数が例えば100(ただし、100には限定されない)以上のときはフロー数制御をし、そうでないときは、フロー型コンテンツ全体のブロック数が例えば100以上であればブロック数制御をし、ないときには、すなわちフロー数とブロック数のどちらも100未満のときはバイト数制御となる。このような制御の切換えはシステム側が自動的に行う。
[% Specified move function]
(Control method switching threshold)
For example, when the number of flows in the flow-type content that is the electronic document data to be processed is 100 or more (but not limited to 100), the flow number control is performed. Otherwise, the number of blocks of the entire flow-type content is determined. For example, if the number is 100 or more, the number of blocks is controlled. If there is no block, that is, if both the number of flows and the number of blocks are less than 100, the number of bytes is controlled. Such control switching is automatically performed by the system.

(フロー数制御とブロック数制御の計算手順)
全体でm個(m≧100)のフローを有するフロー型コンテンツにおいて、表示位置を先頭からp%の位置に移動するように指定されたときに表示するn番目のフロー(先頭のフローを1番目とする)は、n=m×p/100と算出する(結果は切り捨てにする)。例えば、100個のフローを有するフロー型コンテンツで50%の位置への移動を指定すると、50番目のフローへ移動する。
(Calculation procedure for flow number control and block number control)
In flow-type content with a total of m (m ≧ 100) flows, the nth flow displayed when the display position is designated to move to the position of p% from the top (the first flow is the first) Is calculated as n = m × p / 100 (results are rounded down). For example, if the flow type content having 100 flows is designated to move to 50% position, the flow moves to the 50th flow.

ブロック数制御に関しては、上記説明の「フロー」を「ブロック」に置換えて移動先の位置を計算することができる。   With regard to the control of the number of blocks, the position of the movement destination can be calculated by replacing “flow” in the above description with “block”.

(バイト数制御の計算手順)
フロー型コンテンツにおいて、表示位置を先頭からp%の位置に移動するように指定したとき、移動先の位置は該フロー型コンテンツの先頭からn番目のバイト位置として、n=(m×p/100)−1と算出する(結果は切り捨てにする)。ただしn<0のときはn=0とする。ここで右辺の2項目を‘−1’としているのは、フロー型コンテンツでは先頭のバイト位置を0とするからである。なお、「バイト位置」とは、文字やオブジェクト指定タグが記載されている位置をバイト単位で示すものである。フロー内のバイト位置であれば、フロー先頭からのオフセット値を意味し、フロー型コンテンツ先頭からのバイト位置であれば、コンテンツ先頭からのオフセット値を意味する。フロー型コンテンツ先頭からのバイト位置は、そのフローよりコンテンツ先頭側にあるフローのバイト数の合計値に、そのフロー内のバイト位置を足したものとなる。バイト位置の先頭は0である。
(Calculation procedure for byte count control)
In the flow type content, when the display position is designated to move to the position of p% from the top, the destination position is the nth byte position from the top of the flow type content, and n = (m × p / 100 ) -1 (result is rounded down). However, when n <0, n = 0. Here, the two items on the right side are set to “−1” because the top byte position is set to 0 in the flow type content. The “byte position” indicates a position where a character or an object designation tag is written in byte units. If it is a byte position in the flow, it means an offset value from the beginning of the flow, and if it is a byte position from the beginning of the flow type content, it means an offset value from the beginning of the content. The byte position from the beginning of the flow type content is obtained by adding the byte position in the flow to the total value of the number of bytes of the flow on the content leading side from the flow. The beginning of the byte position is zero.

このようにして算出する変数nを用いて該当フローとバイト位置を求め、そのバイト位置が画面先頭に表示されるように表示位置をジャンプする。例えば、フロー型コンテンツ全体のバイト数が100バイトであるとき10%の位置への移動を指定すると、フロー型コンテンツの先頭からバイト位置が‘9’のところへ移動する。   The corresponding flow and byte position are obtained using the variable n thus calculated, and the display position is jumped so that the byte position is displayed at the top of the screen. For example, if the movement to the position of 10% is specified when the total number of bytes of the flow type content is 100 bytes, the byte position moves from the beginning of the flow type content to “9”.

(特殊処理)
移動先として指定された位置が0%または100%を指示するときには、特殊処理を行う。つまり、0%が指定されたらフロー型コンテンツの先頭を表示し、100%が指定されたらフロー型コンテンツの末尾を表示する。
(unique process)
When the position designated as the movement destination indicates 0% or 100%, special processing is performed. That is, if 0% is specified, the beginning of the flow type content is displayed, and if 100% is specified, the end of the flow type content is displayed.

バイト数制御では、移動先の位置を表示する%表示値を調べ、移動先として指定した%値と異なるときは、1行先の%表示値も調べる。その結果、もし1行先の%表示値が移動先として指定した%値と一致するときは1行先に移動する。   In the byte count control, the% display value that displays the position of the movement destination is checked, and if it is different from the% value specified as the movement destination, the% display value of one line destination is also checked. As a result, if the% display value of the one line destination matches the% value designated as the movement destination, the line moves to the one line destination.

[%表示機能]
(制御方法切替の閾値)
上述の%指定移動機能と同様にフロー、ブロック、バイトの順番で所定閾値(たとえば100とするが、これには限定されない)と比較しながら切換える。
[% Display function]
(Control method switching threshold)
As in the above-described% designation movement function, switching is performed in the order of flow, block, and byte while comparing with a predetermined threshold (for example, 100, but not limited thereto).

(フロー数制御とブロック数制御の計算手順)
フロー型コンテンツがm個(m>=100)のフローを有するとき、先頭のフローを1番目として、先頭からn番目のフローが表示されているときは、提示する表示位置p%はp=n×100/mと算出できる(結果は切り捨てにする)。例えば、100個のフローがあるフロー型コンテンツで50番目のフローが表示されているときは表示位置50%と算出されて提示される。
(Calculation procedure for flow number control and block number control)
When the flow type content has m (m> = 100) flows, when the top flow is the first and the nth flow from the top is displayed, the display position p% to be presented is p = n X100 / m can be calculated (results are rounded down). For example, when the 50th flow is displayed with flow-type content having 100 flows, the display position is calculated as 50% and presented.

(バイト数制御の計算手順)
フロー型コンテンツ全体のバイト数(全ブロックのバイト数総和)をm、現在画面先頭に表示されている文字やオブジェクトのフロー型コンテンツ全体のバイト位置をnとすると、表示位置p%はp=(n+1)×100/mと算出できる(結果は切り捨てにする)。例えば、フロー型コンテンツ全体のバイト数が100で現在表示しているデータの、フロー型コンテンツの先頭からのバイト位置を9とすると、表示位置10%と算出されて提示される。
(Calculation procedure for byte count control)
If the number of bytes of the entire flow type content (total number of bytes of all blocks) is m and the byte position of the entire flow type content of the character or object currently displayed at the top of the screen is n, the display position p% is p = ( n + 1) × 100 / m (result is rounded down). For example, assuming that the byte position from the top of the flow type content of the data currently displayed with the number of bytes of the flow type content being 100 is 9, the display position is calculated as 10% and presented.

(特殊処理)
算出結果の表示位置p%が0%または100%を示すときは特殊処理を行う。つまり、フロー型コンテンツの先頭のバイト位置を既に表示していて、これ以上ページ戻りできないときは表示位置0%と提示する。また、フロー型コンテンツの末尾のバイト位置を既に表示していて、これ以上ページめくりできないときは表示位置100%と提示する。
(unique process)
When the display position p% of the calculation result indicates 0% or 100%, special processing is performed. That is, when the first byte position of the flow type content has already been displayed and the page cannot be returned any more, the display position is presented as 0%. If the byte position at the end of the flow-type content has already been displayed and the page cannot be turned any more, the display position is indicated as 100%.

また、計算結果の表示位置p%が100%を指示しても、まだページめくりできるときは表示位置p%は99%と提示する。   Even if the display position p% of the calculation result indicates 100%, if the page can still be turned, the display position p% is presented as 99%.

〔装置の構成〕
次に、本実施の形態に係る文書表示装置の構成を説明する。ここでは文書は横書きとしているが、縦書きであっても同様に適用できる。
[Device configuration]
Next, the configuration of the document display device according to the present embodiment will be described. Although the document is written horizontally here, it can be similarly applied to the vertically written document.

図1にはこの発明の実施の形態に係る文書表示装置の全体の機能構成が示されている。図2には本実施の形態に係る%指定移動機能のための構成が示されて、図3には%表示機能のための構成が示される。図2と図3の機能構成はそれぞれ図1の部分からなっている。なお、図1〜図3中の実線矢印はデータの流れ、または制御の流れを模式的に示している。   FIG. 1 shows the overall functional configuration of a document display apparatus according to an embodiment of the present invention. FIG. 2 shows a configuration for the% designation movement function according to the present embodiment, and FIG. 3 shows a configuration for the% display function. The functional configurations of FIGS. 2 and 3 each comprise the portion of FIG. The solid arrows in FIGS. 1 to 3 schematically show the flow of data or the flow of control.

図4(A)には、この発明の実施の形態に係る文書表示装置を搭載する携帯型電話機のハードウェア構成が、図4(B)には同様に文書表示装置を搭載するパーソナルコンピュータのハードウェア構成が示される。図5には図4(A)のRAM(Random Access Memory)13と図4(B)の主記憶部21に設けられる各種バッファが示されている。図6は本実施の形態に係るフロー型コンテンツ40(以下、単にコンテンツ40と略す)の内部構成を概略的に示す図であり、図7は、コンテンツ40の補助情報41の内容を示す図である。   FIG. 4A shows a hardware configuration of a mobile phone equipped with a document display device according to an embodiment of the present invention. FIG. 4B shows a hardware configuration of a personal computer similarly equipped with a document display device. The hardware configuration is shown. FIG. 5 shows various buffers provided in a RAM (Random Access Memory) 13 in FIG. 4A and the main storage unit 21 in FIG. 4B. FIG. 6 is a diagram schematically showing the internal configuration of the flow type content 40 (hereinafter simply referred to as the content 40) according to the present embodiment, and FIG. 7 is a diagram showing the contents of the auxiliary information 41 of the content 40. is there.

図1を参照して文書表示装置は、ユーザにより外部操作されるキーボードなどに対応の表示位置入力部2、対応表示コンテンツ位置算出部4、コンテンツ取得部5、レイアウト取得部6、コンテンツ単位決定部7、表示単位調整部8、表示位置算出部9および表示部11を備える。図2を参照して%指定移動機能のために、表示位置入力部2、対応表示コンテンツ位置算出部4、レイアウト取得部6、表示単位調整部8、表示位置算出部9および表示部11が設けられる。図3を参照して%表示機能のためにコンテンツ取得部5、コンテンツ単位決定部7、表示位置算出部9および表示部11が設けられる。   Referring to FIG. 1, the document display device includes a display position input unit 2, a corresponding display content position calculation unit 4, a content acquisition unit 5, a layout acquisition unit 6, and a content unit determination unit corresponding to a keyboard or the like externally operated by a user. 7, a display unit adjusting unit 8, a display position calculating unit 9, and a display unit 11. Referring to FIG. 2, a display position input unit 2, a corresponding display content position calculation unit 4, a layout acquisition unit 6, a display unit adjustment unit 8, a display position calculation unit 9, and a display unit 11 are provided for the% designation movement function. It is done. Referring to FIG. 3, a content acquisition unit 5, a content unit determination unit 7, a display position calculation unit 9, and a display unit 11 are provided for the% display function.

図4(A)を参照して、文書表示装置を搭載する携帯型電話機は、各部を集中的に制御・監視するためのCPU(Central Processing Unit)12、RAM13、内蔵および外部フラッシュメモリ14および15、表示位置入力部2に対応するキー部16、表示部11に対応する表示デバイス17、外部の各種の通信ネットワーク28と通信するための通信デバイス18、これら各部を相互に接続するためのバス19を備える。   Referring to FIG. 4A, a mobile phone equipped with a document display device has a central processing unit (CPU) 12, a RAM 13, and built-in and external flash memories 14 and 15 for centrally controlling and monitoring each part. A key unit 16 corresponding to the display position input unit 2, a display device 17 corresponding to the display unit 11, a communication device 18 for communicating with various external communication networks 28, and a bus 19 for connecting these units to each other. Is provided.

図4(A)の構成はここでは、携帯型電話機としたが、情報処理端末、たとえばPDA(Personal Digital Assistant)であってもよいし、文書表示機能を備えた家電製品でもよい。   The configuration in FIG. 4A is a mobile phone here, but may be an information processing terminal such as a PDA (Personal Digital Assistant) or a home appliance having a document display function.

図4(B)を参照して、文書表示装置を搭載するパーソナルコンピュータは、各部を集中的に制御・監視するためのCPU20、主記憶部21、外部記憶部22、表示位置入力部2に対応するマウス23およびキーボード24、表示部11の表示のために用いられるグラフィックデバイス25、表示部11に対応するモニタ26、外部の各種のネットワーク28と通信するための通信デバイス27およびこれら各部を相互に通信可能に接続するためのバス29を備える。   Referring to FIG. 4B, a personal computer equipped with a document display device corresponds to CPU 20, central storage unit 21, external storage unit 22, and display position input unit 2 for centrally controlling and monitoring each unit. Mouse 23 and keyboard 24, graphic device 25 used for display on display unit 11, monitor 26 corresponding to display unit 11, communication device 27 for communicating with various external networks 28, and these units. A bus 29 is provided for communication.

CPU12と20それぞれは、本発明において対応表示コンテンツ位置算出、表示位置算出などの各種演算処理を行う。RAM13と主記憶部21はCPU12と20で演算した結果得られたデータや後述する補助情報41を格納する。内蔵フラッシュメモリ14と外部フラッシュメモリ15と外部記憶部22は実行プログラム、ユーザ設定データ、コンテンツ40を格納する。ユーザ設定データとは、コンテンツのしおり情報や、表示フォントサイズや縦書き/横書きといった表示設定情報などを指す。なお、内蔵フラッシュメモリ14に実行プログラムとユーザ設定データを、外部フラッシュメモリ15にコンテンツ40を格納するようにしてもよい。   Each of the CPUs 12 and 20 performs various arithmetic processes such as corresponding display content position calculation and display position calculation in the present invention. The RAM 13 and the main storage unit 21 store data obtained as a result of computations by the CPUs 12 and 20 and auxiliary information 41 described later. The built-in flash memory 14, the external flash memory 15, and the external storage unit 22 store an execution program, user setting data, and content 40. The user setting data refers to bookmark information of content, display setting information such as display font size and vertical writing / horizontal writing, and the like. The execution program and user setting data may be stored in the built-in flash memory 14 and the content 40 may be stored in the external flash memory 15.

キー部16およびキーボード24はテンキー、上下左右のカーソルキー、決定キー、電源キーなどからなり、本発明ではユーザによる%指定移動の指示、%値の入力に使われる。 表示デバイス17とモニタ26にはレイアウトされた文字や画像が表示されるとともに、%表示機能により算出された現在の表示位置も%の値で表示される。   The key unit 16 and the keyboard 24 are composed of a numeric keypad, up / down / left / right cursor keys, a determination key, a power key, and the like. The display device 17 and the monitor 26 display the laid out characters and images, and the current display position calculated by the% display function is also displayed as a% value.

通信デバイス18と27は、ネットワーク28から、電子書籍のコンテンツ40をダウンロードする際に利用される。ダウンロードされたコンテンツ40は携帯型電話機では内蔵フラッシュメモリ14に格納される。パーソナルコンピュータでは外部記憶部22に格納される。なお、以下コンテンツ40は予め実行フォーマット形式に変換され、かつ符号化・暗号化された状態であるとして説明するが、記述フォーマット形式でもよいし、符号化・暗号化されていない状態でもよい。   The communication devices 18 and 27 are used when the electronic book content 40 is downloaded from the network 28. The downloaded content 40 is stored in the built-in flash memory 14 in the mobile phone. In the personal computer, it is stored in the external storage unit 22. In the following description, it is assumed that the content 40 has been converted into an execution format and encoded / encrypted in advance. However, the content 40 may be in a description format or may not be encoded / encrypted.

図5を参照してRAM13と主記憶部21には、%指定移動機能のための処理および%表示機能のための処理に関してアクセスされる各種バッファが設けられる。具体的には、指定表示位置保存バッファ30、算出表示位置保存バッファ31、後述する図11のレイアウト35を保存するためのレイアウト保存バッファ32、後述する図12のコンテンツ単位テーブル37を格納するためのコンテンツ単位テーブル保存バッファ33および現在表示中のフローまたはブロックはどれであるかをコンテンツ40の先頭からの順番で指示する現在表示位置情報を保存する現在表示位置保存バッファ34を有する。   Referring to FIG. 5, the RAM 13 and the main storage unit 21 are provided with various buffers that are accessed for processing for the% designation movement function and processing for the% display function. Specifically, a designated display position storage buffer 30, a calculated display position storage buffer 31, a layout storage buffer 32 for storing a layout 35 of FIG. 11 to be described later, and a content unit table 37 of FIG. 12 to be described later are stored. A content unit table storage buffer 33 and a current display position storage buffer 34 for storing current display position information that indicates which flow or block is currently being displayed in order from the top of the content 40 are provided.

現在表示位置保存バッファ34の現在表示位置情報は、コンテンツ40を初めて表示する時にはコンテンツ40の先頭フローまたは先頭ブロックを指示するようにCPU12または20により設定される。また、コンテンツ40の表示を一旦中断して、その後に表示を再開したときは、現在表示位置保存バッファ34の現在表示位置情報で指示される位置(前回の中断時に表示していた位置)に対応のデータが表示される。またユーザが表示中のコンテンツ40のデータの頁めくり操作、スクロール操作などをしたときも、現在表示位置情報は、その都度、操作後の表示位置を示すように更新される。このような現在表示位置情報の更新手順は、コンテンツ40を表示する場合に実施されるよく知られた手順であるので、詳細は略す。   The current display position information in the current display position storage buffer 34 is set by the CPU 12 or 20 to indicate the head flow or head block of the content 40 when the content 40 is displayed for the first time. When the display of the content 40 is temporarily interrupted and then restarted, it corresponds to the position indicated by the current display position information in the current display position storage buffer 34 (the position displayed at the previous interruption). Is displayed. Also, when the user performs a page turning operation, a scroll operation, or the like of the data of the content 40 being displayed, the current display position information is updated to indicate the display position after the operation each time. Such an update procedure of the current display position information is a well-known procedure that is performed when the content 40 is displayed, and thus the details are omitted.

また、現在表示位置保存バッファ34の現在表示位置情報は、%指定移動機能により表示位置が移動した場合にも、移動先に該当するフローまたはブロックの順番を指示するように更新される。   Further, the current display position information in the current display position storage buffer 34 is updated so as to indicate the order of the flow or block corresponding to the movement destination even when the display position is moved by the% designation movement function.

なお、以下は、汎用のパーソナルコンピュータよりも処理能力が制限せざるをえない図4(A)の携帯型電話機を想定して説明するが、図4(B)のパーソナルコンピュータの場合も同様の説明を適用することができる。   The following description will be given assuming the portable telephone of FIG. 4A, whose processing capability is more limited than that of a general-purpose personal computer. The same applies to the personal computer of FIG. 4B. The explanation can be applied.

図1を参照すると、コンテンツ取得部5はコンテンツ40の補助情報41を取得する。具体的には内蔵フラッシュメモリ14の符号化されたコンテンツ40内の先頭に位置する補助情報41を読出してRAM13に格納し、ここで復号化する。以降は、RAM13の復号化された後の補助情報41が参照されて、内蔵フラッシュメモリ14のコンテンツ40が読出されて復号化されて、所定の処理が実行される。   Referring to FIG. 1, the content acquisition unit 5 acquires auxiliary information 41 of the content 40. Specifically, auxiliary information 41 located at the beginning of the encoded content 40 in the built-in flash memory 14 is read out, stored in the RAM 13, and decoded there. Thereafter, the auxiliary information 41 after decryption in the RAM 13 is referred to, the content 40 in the built-in flash memory 14 is read and decrypted, and a predetermined process is executed.

コンテンツ単位決定部7は、RAM13に格納した補助情報14を参照して、前述のフロー数制御、ブロック数制御などの切換えを行い、処理対象のコンテンツ単位はフローか、またはブロックかを決定して、その決定結果はコンテンツ単位テーブル37としてコンテンツ単位テーブル保存バッファ33に格納する。コンテンツ単位テーブル保存バッファ33に格納されたコンテンツ単位テーブル37は表示位置算出部9により参照される。   The content unit determination unit 7 refers to the auxiliary information 14 stored in the RAM 13 and performs switching such as the above-described flow number control and block number control, and determines whether the content unit to be processed is a flow or a block. The determination result is stored in the content unit table storage buffer 33 as the content unit table 37. The content unit table 37 stored in the content unit table storage buffer 33 is referred to by the display position calculation unit 9.

表示位置入力部2はキー部16を操作して指定された表示位置の情報を入力すると、入力した表示位置指定情報を、指定表示位置保存バッファ30に格納するする。ここでは、指定表示位置の情報はユーザ操作による入力としているが、これに限定されず、例えば、携帯電話機において実行される他のタスクからの引渡しデータにより入力するとしてもよい。   When the display position input unit 2 operates the key unit 16 to input the specified display position information, the display position input unit 2 stores the input display position specification information in the specified display position storage buffer 30. Here, the information on the designated display position is input by a user operation, but the present invention is not limited to this. For example, the information may be input by handing over data from another task executed in the mobile phone.

表示位置入力部2により指定表示位置保存バッファ30に格納された指定表示位置情報は、対応表示コンテンツ位置算出部4と表示単位調整部8により参照される。また表示位置算出部9は算出した表示位置情報を算出表示位置保存バッファ31に格納すると、表示単位調整部8と表示部11が格納された算出表示位置情報を参照する。レイアウト取得部6は取得したレイアウト35をレイアウト保存バッファ32に格納する。レイアウト保存バッファ32に格納されたレイアウト35は表示単位調整部8と表示位置算出部9により参照される。   The designated display position information stored in the designated display position storage buffer 30 by the display position input unit 2 is referred to by the corresponding display content position calculation unit 4 and the display unit adjustment unit 8. When the display position calculation unit 9 stores the calculated display position information in the calculation display position storage buffer 31, the display position calculation unit 9 refers to the calculated display position information in which the display unit adjustment unit 8 and the display unit 11 are stored. The layout acquisition unit 6 stores the acquired layout 35 in the layout storage buffer 32. The layout 35 stored in the layout storage buffer 32 is referred to by the display unit adjustment unit 8 and the display position calculation unit 9.

(コンテンツのデータ構造について)
本実施の形態に係るコンテンツ40について説明する。図6を参照すると、コンテンツ40は補助情報41と複数のフロー42i(i=1、2、3、…、m)を含む。各フロー42iは同様の構成を有し、複数のブロック43j(j=1、2、3、…、n)を含む。ブロック43jは複数の文字コードからなる文字コード群441と文書中に展開される画像などのオブジェクトデータを指定するためのオブジェクト指定タグ群442を含む。図6のコンテンツ40が文書表示装置に供給された場合、供給されたコンテンツ40は符号化・暗号化されたファイルとして内蔵フラッシュメモリ14に格納される。コンテンツ40の文書などを表示部11に表示するなどの実行時には、コンテンツ40の補助情報41は内蔵フラッシュメモリ14から読出されてRAM13に格納され、ここにおいて復号化される。したがって実行時には、この復号化された補助情報41が参照されることになる。
(About content data structure)
The content 40 according to the present embodiment will be described. Referring to FIG. 6, the content 40 includes auxiliary information 41 and a plurality of flows 42 i (i = 1, 2, 3,..., M). Each flow 42i has the same configuration and includes a plurality of blocks 43j (j = 1, 2, 3,..., N). The block 43j includes a character code group 441 composed of a plurality of character codes and an object designation tag group 442 for designating object data such as an image developed in a document. When the content 40 of FIG. 6 is supplied to the document display device, the supplied content 40 is stored in the built-in flash memory 14 as an encoded / encrypted file. At the time of execution such as displaying a document of the content 40 on the display unit 11, the auxiliary information 41 of the content 40 is read from the built-in flash memory 14 and stored in the RAM 13 where it is decrypted. Therefore, at the time of execution, the decoded auxiliary information 41 is referred to.

(補助情報のデータ構造について)
図7には、補助情報41の内容が示される。補助情報41はコンテンツ40のフロー、ブロックおよびバイトという階層化された構造を示し、また該階層化構造を管理するための情報である。具体的には補助情報41は、データ群410、420および430を含む。データ群420はコンテンツ40に含まれる各フロー42iについてフロー情報46iを有する。データ群430は、コンテンツ40に含まれる各ブロック43jについてブロック情報49jを含む。
(About the data structure of auxiliary information)
FIG. 7 shows the contents of the auxiliary information 41. The auxiliary information 41 is information for indicating the hierarchical structure of the flow, block, and byte of the content 40 and for managing the hierarchical structure. Specifically, the auxiliary information 41 includes data groups 410, 420 and 430. The data group 420 includes flow information 46 i for each flow 42 i included in the content 40. The data group 430 includes block information 49j for each block 43j included in the content 40.

データ群410はコンテンツ40に含まれている全フロー数を示すデータ44、1番目からm番目までのフロー情報461〜46mのそれぞれを指示するためのポインタデータ45iを有する。フロー情報46iはフロー42iのそれぞれに対応して設けられる。   The data group 410 includes data 44 indicating the total number of flows included in the content 40, and pointer data 45i for designating each of the first to mth flow information 461 to 46m. Flow information 46i is provided corresponding to each flow 42i.

フロー情報46iは、対応のフロー42iに含まれる全ブロック数を示すデータ47および該フロー42iに含まれる1番目からn番目までのブロック43jのそれぞれに対応のブロック情報49jを指示するためのポインタデータ48jを含む。ブロック情報49jは対応のブロック43jに含まれる文字コードの全バイト数のデータ61および内蔵フラッシュメモリ14のコンテンツ40中の該ブロック43jの本体データを指示するためのポインタデータ62を含む。ここでは、説明を簡単にするために、コンテンツ40は文字コードのみからなっていると想定する。   The flow information 46i includes pointer data for designating corresponding block information 49j to each of the data 47 indicating the total number of blocks included in the corresponding flow 42i and the first to nth blocks 43j included in the flow 42i. 48j is included. The block information 49j includes data 61 of the total number of bytes of the character code included in the corresponding block 43j and pointer data 62 for indicating the main body data of the block 43j in the content 40 of the built-in flash memory 14. Here, in order to simplify the explanation, it is assumed that the content 40 consists only of a character code.

(処理フローチャートについて)
図8〜図10には、本実施の形態に係る%指定移動機能と%表示機能の処理手順がフローチャートにして示される。各フローチャートに対応のプログラムは予め作成されて内蔵フラッシュメモリ14に格納されているが、実行時には、CPU12によりここから読出されてRAM13に展開される。CPU12はRAM13のこれらプログラムを実行することにより図1〜図3に示した各部による%指定移動機能および%表示機能を実現することができる。このように図1〜図3に示された各部は、これらのプログラムによって実現されている。
(About processing flowchart)
8 to 10 are flowcharts showing the processing procedures of the% designation movement function and the% display function according to the present embodiment. A program corresponding to each flowchart is created in advance and stored in the built-in flash memory 14. At the time of execution, the program is read from the CPU 12 and developed in the RAM 13. The CPU 12 can realize the% designation movement function and the% display function by each unit shown in FIGS. 1 to 3 by executing these programs in the RAM 13. In this way, each unit shown in FIGS. 1 to 3 is realized by these programs.

(レイアウトについて)
図11には、本実施の形態に係るレイアウト35の一例が示される。レイアウト35はレイアウト取得部5によりブロック単位で生成される。レイアウト35は、表示単位(行)毎に文字や画像のオブジェクトを格納する配列構造を有する。ここでは、配列の要素として表示単位の行それぞれに対応して、行番号のデータ351、行開始位置のデータ352、行終了位置のデータ353および行要素のデータ354を含む。
(About layout)
FIG. 11 shows an example of the layout 35 according to the present embodiment. The layout 35 is generated in units of blocks by the layout acquisition unit 5. The layout 35 has an array structure for storing characters and image objects for each display unit (row). Here, the array element includes row number data 351, row start position data 352, row end position data 353, and row element data 354 corresponding to each row of the display unit.

データ351は、表示する行のそれぞれに対して順番に付けた番号を指示し、行番号の順(昇順)で画面に表示される。行開始位置のデータ352および行終了位置のデータ353は、対応する行に含まれる文字や画像がコンテンツ40中でどの範囲に記載されているかをバイト位置で示す。   The data 351 indicates the numbers assigned in order to the respective lines to be displayed, and is displayed on the screen in the order of the line numbers (ascending order). The line start position data 352 and the line end position data 353 indicate in which byte range the characters and images included in the corresponding line are described in the content 40.

行要素のデータ354は対応する行に表示されるデータを示す。行要素のデータ354において“文字”は文字コードや文字データへのポインタ情報などを示し、“画像”は、該画像のオブジェクトを指定するためのタグのデータ(アドレス)を示す。文字や画像のオブジェクトには、それらの縦横サイズや、それぞれのオブジェクトを表示するために必要な情報(文字コードや画像データへのポインタなど)が含まれている。   The row element data 354 indicates data displayed in the corresponding row. In the row element data 354, “character” indicates a character code, pointer information to character data, and the like, and “image” indicates tag data (address) for designating an object of the image. Character and image objects include their vertical and horizontal sizes and information (character code, pointers to image data, etc.) necessary to display each object.

(コンテンツ単位テーブルについて)
図12にはコンテンツ単位テーブル37の内容例が示される。コンテンツ単位テーブル37は、フロー→ブロック→バイトという階層構造を持つコンテンツ40について、上位階層の要素(単位)が下位階層の要素(単位)を何個保持しているかをデータとして格納している。これにより、表示コンテンツ位置算出を高速に処理することができる。ここでは、コンテンツ40はフロー番号のデータ371で個別に指定される複数のフロー、ブロックおよび文字コード(バイトデータ)という3階層の構造を持っているとしているから、コンテンツ単位テーブル37を参照すると、このコンテンツ40は最上位階層であるフロー42iをm個持っており、各フロー42iには第2階層であるブロック43jを、ブロック数のデータ372で示される個数分有し、データ372で示される数の各ブロック43jについてそこに含まれる文字コード群441のバイト数がデータ381…、38nで示されている。たとえば、フロー番号“1”のフロー42iにはブロック43jが1個保持されており、この1個のブロック43jの文字コード群441のバイト数は800バイトであることを意味している。
(About content unit table)
FIG. 12 shows a content example of the content unit table 37. The content unit table 37 stores, as data, the number of elements (units) in the lower hierarchy held by the elements (units) in the upper hierarchy for the content 40 having a hierarchical structure of flow → block → byte. Thereby, display content position calculation can be processed at high speed. Here, since the content 40 has a three-layer structure of a plurality of flows, blocks, and character codes (byte data) individually specified by the flow number data 371, referring to the content unit table 37, This content 40 has m flows 42i that are the highest hierarchy, and each flow 42i has blocks 43j that are the second hierarchy for the number indicated by the data 372 of the number of blocks, and is indicated by the data 372. The number of bytes of the character code group 441 contained in each block 43j is indicated by data 381..., 38n. For example, the flow 42i with the flow number “1” holds one block 43j, which means that the number of bytes of the character code group 441 of this one block 43j is 800 bytes.

(%指定移動機能)
図8のフローチャートに従い、図2の構成による%指定移動機能のための処理について説明する。まず、コンテンツ40の補助情報41はコンテンツ取得部5によりRAM13に格納されており、また内蔵フラッシュメモリ14のコンテンツ40のデータは復号されてレイアウト取得部6によりレイアウト35が作成されて、該レイアウト35に従うデータが表示部11により表示デバイス17に表示されていると想定する。
(% Move function)
A process for the% designation movement function according to the configuration of FIG. 2 will be described with reference to the flowchart of FIG. First, the auxiliary information 41 of the content 40 is stored in the RAM 13 by the content acquisition unit 5, and the data of the content 40 in the built-in flash memory 14 is decrypted and a layout 35 is created by the layout acquisition unit 6. Is assumed to be displayed on the display device 17 by the display unit 11.

前述したように、本実施の形態では%表示機能によりコンテンツ40のデータ表示とともに表示中の部分データの%位置情報も表示されるので、ユーザは再表示させたい部分データのおおよその%位置を覚えておくことができる。したがって、ユーザがコンテンツ40の他の所望部分、たとえば前回閲覧していた部分を再度表示させたいとして、キー部16を操作して、該所望部分の位置を移動先に指定するための指定表示位置情報を入力する場合には、この指定表示位置情報として、コンテンツ40の全体を100%として先頭からどれくらいの位置であるかを%値で指示することが可能となる。   As described above, in the present embodiment, the% position information of the partial data being displayed is displayed together with the data display of the content 40 by the% display function, so that the user remembers the approximate% position of the partial data to be displayed again. I can keep it. Therefore, if the user wants to display again another desired portion of the content 40, for example, the portion that was browsed last time, the designated display position for operating the key unit 16 to designate the position of the desired portion as the destination. When inputting information, as this designated display position information, it is possible to indicate the position of the content 40 from the top as a% value, with the entire content 40 being 100%.

表示位置入力部2は、このようにしてキー部16からユーザが所望の指定表示位置情報を入力すると、これを指定表示位置保存バッファ30に格納する(ステップS(以下、単にSと略す)3)。   When the user inputs the desired designated display position information from the key unit 16 in this way, the display position input unit 2 stores this in the designated display position storage buffer 30 (step S (hereinafter simply abbreviated as S) 3. ).

次に、対応表示コンテンツ位置算出部4はコンテンツ40内の、指定表示位置保存バッファ30に格納された指定表示位置情報に対応の位置を補助情報41に基づき算出する(S5)。例えば、1000バイトのコンテンツ40であって指定表示位置情報として50%が入力されれば500バイト目であり、コンテンツ40が複数のフロー42iまたは複数のブロック43jからなる場合はどのフロー42iのどのブロック43jを表示すべきか算出する。   Next, the corresponding display content position calculation unit 4 calculates a position corresponding to the designated display position information stored in the designated display position storage buffer 30 in the content 40 based on the auxiliary information 41 (S5). For example, if the content 40 is 1000 bytes and 50% is input as the designated display position information, it is the 500th byte. If the content 40 is composed of a plurality of flows 42i or a plurality of blocks 43j, which block of which flow 42i It is calculated whether 43j should be displayed.

この算出は、RAM13の補助情報41の全フロー数のデータ44、各フロー情報46iの全ブロック数のデータ47および各ブロック情報49jの全バイト数のデータ61と指定表示位置情報とを、前述した計算式のそれぞれに適用して計算することで、位置を算出できる。算出位置は、コンテンツ40の先頭から何番目のフロー42iまたはブロック43jと指示される。   In this calculation, the total flow number data 44 of the auxiliary information 41 in the RAM 13, the total block number data 47 of each flow information 46i, the total byte number data 61 of each block information 49j, and the designated display position information are described above. The position can be calculated by applying to each of the calculation formulas. The calculation position is indicated by what number flow 42i or block 43j from the top of the content 40.

続いて、レイアウト取得部6は、対応表示コンテンツ位置算出部4で算出した位置のデータを含むレイアウト35を作成しレイアウト保存バッファ32に格納する(S7)。レイアウト35の作成は具体的には、次のようである。   Subsequently, the layout acquisition unit 6 creates a layout 35 including the data of the position calculated by the corresponding display content position calculation unit 4 and stores it in the layout storage buffer 32 (S7). The creation of the layout 35 is specifically as follows.

算出した位置が、例えばi番目のフロー42iを指示するならば、図7の補助情報41のデータ45iのポインタが指示するフロー情報46iのうちデータ48jが指示する1番目からのブロック情報49jを順に検索して、検索結果、得ることができたデータ62が示すポインタにより内蔵フラッシュメモリ14から対応するデータを読み出し、復号化して、レイアウト35を作成する。レイアウトした結果、1画面分以上のレイアウトが作成できていれば作成を終了し、そうでないときはレイアウトしたブロックの次以降のブロックに対し、1画面分以上のレイアウトが作成できるまで順次レイアウトを作成していく。   If the calculated position indicates, for example, the i-th flow 42i, the first block information 49j indicated by the data 48j of the flow information 46i indicated by the pointer of the data 45i of the auxiliary information 41 in FIG. By searching, the corresponding data is read from the built-in flash memory 14 by the pointer indicated by the data 62 obtained as a result of the search, and the layout 35 is created by decoding. As a result of layout, if the layout for one screen or more has been created, the creation is completed. If not, the layout is sequentially created until the layout for one screen or more can be created for the subsequent blocks after the laid out block. I will do it.

表示位置算出部9は、レイアウト保存バッファ32に保存されたレイアウト35を検索して、対応表示コンテンツ位置算出部4が算出した位置のデータが含まれる第1表示単位(行)の位置のデータとコンテンツ40のバイト単位のサイズとを用いて該行のコンテンツ40における先頭からの表示位置(%)を算出して、算出した表示位置(%)データを算出表示位置保存バッファ31に格納する(S9)。なお、コンテンツ40のバイト単位のサイズは予め得ていると想定する。   The display position calculation unit 9 searches the layout 35 stored in the layout storage buffer 32, and the position data of the first display unit (row) including the position data calculated by the corresponding display content position calculation unit 4 and The display position (%) from the top in the content 40 of the row is calculated using the size of the content 40 in bytes, and the calculated display position (%) data is stored in the calculated display position storage buffer 31 (S9). ). It is assumed that the size of the content 40 in bytes is obtained in advance.

表示単位調整部8は、指定表示位置保存バッファ30に格納された指定表示位置情報と、算出表示位置保存バッファ31に格納された算出表示位置情報とを比較し、両情報が同じ表示位置を示すか否かを判断する(S11)。同じ表示位置を示しているならば(S11でYES)、表示部11は、第1表示単位を先頭にしてレイアウト35に従うデータを表示する(S13)。   The display unit adjustment unit 8 compares the designated display position information stored in the designated display position storage buffer 30 with the calculated display position information stored in the calculated display position storage buffer 31, and both pieces of information indicate the same display position. Whether or not (S11). If the same display position is indicated (YES in S11), the display unit 11 displays data according to the layout 35 with the first display unit as the head (S13).

一方、表示単位調整部8は両表示位置情報が同じ表示位置を指していないと判定すると(S11でNO)、レイアウト取得部6は第2表示単位(行)のレイアウト35を作成してレイアウト保存バッファ32に格納する(S15)。第1表示単位と第2表示単位が同じブロックに属する場合は第2表示単位のレイアウトもS7で作成済みのため、S15は不要となる。その後、表示位置算出部9は、レイアウト35をレイアウト保存バッファ32において参照して第2表示単位の表示位置を算出して、算出表示位置情報を算出表示位置保存バッファ31に格納する(S17)。表示単位が行の場合、第1表示単位(行)の次の行を第2表示単位とする。   On the other hand, if the display unit adjustment unit 8 determines that both display position information does not indicate the same display position (NO in S11), the layout acquisition unit 6 creates the layout 35 of the second display unit (row) and saves the layout. The data is stored in the buffer 32 (S15). When the first display unit and the second display unit belong to the same block, the layout of the second display unit is already created in S7, so S15 is unnecessary. Thereafter, the display position calculation unit 9 refers to the layout 35 in the layout storage buffer 32, calculates the display position of the second display unit, and stores the calculated display position information in the calculated display position storage buffer 31 (S17). When the display unit is a line, the next line after the first display unit (line) is set as the second display unit.

表示単位調整部8は指定表示位置保存バッファ30に格納された指定表示位置情報と算出表示位置保存バッファ31に格納された第2表示単位の算出表示位置情報とを比較し、比較結果に基づき第2表示単位を画面先頭にしてレイアウト35に従い表示するか否を判定する(S19)。具体的には、第2表示単位の表示位置がユーザが入力した表示位置と同じであれば第2表示単位を画面先頭にして表示し(S21)、異なれば、第1表示単位を画面先頭して表示する(S13)。これは、一般にコンテンツ40の文書は先頭から読み進められていくことに鑑みると、両表示位置が異なった場合に、第2表示単位ではなくて、その前の行(第1表示単位)を先頭に表示することは自然な表示態様といえる。   The display unit adjustment unit 8 compares the designated display position information stored in the designated display position storage buffer 30 with the calculated display position information of the second display unit stored in the calculated display position storage buffer 31, and based on the comparison result, It is determined whether or not to display according to the layout 35 with the two display units at the top of the screen (S19). Specifically, if the display position of the second display unit is the same as the display position input by the user, the second display unit is displayed at the top of the screen (S21). If not, the first display unit is displayed at the top of the screen. Are displayed (S13). In view of the fact that the document of the content 40 is generally read from the beginning, when the display positions are different, the preceding line (first display unit) is not the first display unit but the second display unit. It can be said that it is a natural display mode.

(%指定移動機能の変形例)
次に、図9の処理手順を参照して、%指定移動機能の変形例を説明する。
(Modified example of% specified move function)
Next, a modified example of the% designation movement function will be described with reference to the processing procedure of FIG.

まずステップS25とステップS27において図8のステップS3とS5と同様の処理が行なわれる。   First, in steps S25 and S27, processing similar to that in steps S3 and S5 in FIG. 8 is performed.

次に、レイアウト取得部6は、前述と同様にして、算出された表示位置に基づいて対応する位置周辺のレイアウト35を作成し、レイアウト保存バッファ32に格納する(S29)。   Next, the layout acquisition unit 6 creates a layout 35 around the corresponding position based on the calculated display position in the same manner as described above, and stores it in the layout storage buffer 32 (S29).

表示位置算出部9は、レイアウト保存バッファ32に格納されたレイアウト35を参照して、レイアウト35中のデータ351が示す各表示単位(行)について、表示位置(%)を前述と同様に算出し、算出表示位置情報として算出表示位置保存バッファ31に格納する(S31)。   The display position calculation unit 9 refers to the layout 35 stored in the layout storage buffer 32 and calculates the display position (%) for each display unit (row) indicated by the data 351 in the layout 35 in the same manner as described above. The calculated display position storage buffer 31 stores the calculated display position information (S31).

表示単位調整部8は、指定表示位置保存バッファ30に格納された指定表示位置情報と、算出表示位置保存バッファ31に格納された各表示単位(行)についての算出表示位置情報とを比較照合し、その結果に基づき、画面の先頭に表示する最適な表示単位(行)はどれであるかを選択して決定する(S33)。   The display unit adjustment unit 8 compares the specified display position information stored in the specified display position storage buffer 30 with the calculated display position information for each display unit (row) stored in the calculated display position storage buffer 31. Based on the result, the optimum display unit (row) to be displayed at the top of the screen is selected and determined (S33).

具体的には、表示単位が行の場合、各行の算出表示位置をユーザが入力した指定表示位置と比較し、同じ値を示す行を選択する。もし、同じ値を示す行が複数あれば、そのうちコンテンツ40の先頭に近い行を選択する。一方、同じ値を示す行がない場合は、ユーザが入力した指定表示位置の値より小さく、かつ該指定表示位置の値に最も近い値の算出表示位置を示す行を選択する。   Specifically, when the display unit is a row, the calculated display position of each row is compared with the designated display position input by the user, and the row showing the same value is selected. If there are a plurality of rows showing the same value, a row close to the top of the content 40 is selected. On the other hand, if there is no row showing the same value, the row indicating the calculated display position that is smaller than the value of the designated display position input by the user and closest to the value of the designated display position is selected.

そして、表示部11は、選択された表示単位(行)を、決定された最適な表示単位として画面の先頭に位置するようにして、レイアウト35に従い表示デバイス17にデータを表示する(S35)。   The display unit 11 displays the data on the display device 17 according to the layout 35 so that the selected display unit (row) is positioned at the head of the screen as the determined optimum display unit (S35).

このように図8または図9の手順においては、算出された表示位置と指定された表示位置とを比較して、最適な表示単位(行)を特定して、その最適表示単位が、本実施の形態では画面の先頭行として表示されるように調整しているから、現在の表示位置と指定した移動先の表示位置とのずれは生じない。   In this way, in the procedure of FIG. 8 or FIG. 9, the calculated display position is compared with the designated display position, the optimum display unit (row) is specified, and the optimum display unit is the present implementation. In this form, adjustment is made so that the first display line is displayed on the screen, so that there is no deviation between the current display position and the display position of the designated movement destination.

(%表示機能について)
図10のフローチャートを参照して、本実施の形態に係る図3の構成による%表示機能の処理手順について説明する。
(About% display function)
With reference to the flowchart of FIG. 10, the processing procedure of the% display function according to the configuration of FIG. 3 according to the present embodiment will be described.

まず、コンテンツ取得部5は、コンテンツ40を取得する(S41)。具体的には、前述した手順に従い内蔵フラッシュメモリ14のコンテンツ40の補助情報41を読出してRAM13に展開する。ここで補助情報41は復号化されたデータである。   First, the content acquisition unit 5 acquires the content 40 (S41). Specifically, the auxiliary information 41 of the content 40 in the built-in flash memory 14 is read out and expanded in the RAM 13 in accordance with the procedure described above. Here, the auxiliary information 41 is decrypted data.

次に、コンテンツ単位決定部7は、表示位置を計算する対象となるコンテンツ単位を決定する(S43、S49)。具体的には、RAM13の補助情報41を参照して第1コンテンツ単位(章)のフロー42iがコンテンツ40に所定数(たとえば、100)以上あるかをフロー番号のデータ371を参照して判定する(S43)。判定結果、フロー番号のデータ371が示す第1コンテンツ単位の総数が所定数以上あれば(S43でYES)、表示位置算出部9は、この総数の値と現在表示位置保存バッファ34の現在表示位置情報が示す現在表示中のフローの順番の値とを、前述のフロー数制御の式に適用して表示位置(%)を算出し、算出した表示位置(%)の情報を算出表示位置保存バッファ31に格納する(S45)。   Next, the content unit determination unit 7 determines a content unit for which a display position is to be calculated (S43, S49). Specifically, referring to the auxiliary information 41 in the RAM 13, it is determined with reference to the flow number data 371 whether or not the content 42 has a predetermined number (for example, 100) of flows 42 i in the first content unit (chapter). (S43). If the determination result shows that the total number of the first content units indicated by the flow number data 371 is equal to or greater than the predetermined number (YES in S43), the display position calculation unit 9 determines the total value and the current display position of the current display position storage buffer 34. The display position (%) is calculated by applying the order value of the currently displayed flow indicated by the information to the above-described flow number control formula, and the calculated display position (%) information is calculated display position storage buffer 31 (S45).

表示部11は算出表示位置保存バッファ31に格納された表示位置(%)の情報を表示デバイス17においてコンテンツ40のデータとともに表示する(S47)。   The display unit 11 displays the information on the display position (%) stored in the calculated display position storage buffer 31 together with the data of the content 40 on the display device 17 (S47).

一方、第1コンテンツ単位(フロー42i)が所定数未満であれば(S43でNO)、第2コンテンツ単位(節)のブロック43jがコンテンツ40において所定数(例えば、100)以上あるかを判定する(S49)。具体的には、RAM13の補助情報41を参照してコンテンツ単位テーブル37を作成し、コンテンツ単位テーブル保存バッファ33に格納する。コンテンツ単位テーブル37から算出されるコンテンツ全体の総ブロック数が所定数以上であるか否かに基づき判定する。   On the other hand, if the first content unit (flow 42i) is less than the predetermined number (NO in S43), it is determined whether the second content unit (section) block 43j is greater than or equal to the predetermined number (for example, 100) in the content 40. (S49). Specifically, the content unit table 37 is created with reference to the auxiliary information 41 in the RAM 13 and stored in the content unit table storage buffer 33. The determination is made based on whether or not the total number of blocks of the entire content calculated from the content unit table 37 is a predetermined number or more.

判定の結果、第2コンテンツ単位のブロック数が所定数以上ある場合(S49でYES)、表示位置算出部9は、現在表示中のブロック43jのコンテンツ40の先頭からの順番を現在表示位置保存バッファ34の現在表示位置情報から特定して、特定した順番の値と上述の全ブロック数とを用いて前述したブロック数制御の計算式により、表示位置(%)を算出して、これを算出表示位置保存バッファ31に格納する(S51)。その後、前述したステップS47に移行する。   As a result of the determination, if the number of blocks in the second content unit is greater than or equal to the predetermined number (YES in S49), the display position calculation unit 9 displays the order from the top of the content 40 of the currently displayed block 43j as the current display position storage buffer. The display position (%) is calculated from the current display position information of 34, and the display position (%) is calculated by the calculation formula of the block number control described above using the value of the specified order and the above-mentioned total number of blocks. The data is stored in the position saving buffer 31 (S51). Thereafter, the process proceeds to step S47 described above.

一方、第2コンテンツ単位のブロック数も所定数未満の場合は(S49でNO)、第3コンテンツ単位(バイト)の数を使って表示位置算出部9で表示位置(%)を算出して、算出した表示位置(%)の情報を算出表示位置保存バッファ31に格納する。その後、前述したステップS47に移行する。   On the other hand, if the number of blocks of the second content unit is also less than the predetermined number (NO in S49), the display position calculation unit 9 calculates the display position (%) using the number of the third content unit (bytes), Information on the calculated display position (%) is stored in the calculated display position storage buffer 31. Thereafter, the process proceeds to step S47 described above.

具体的には、コンテンツ単位テーブル37から算出されるコンテンツ全体の総バイト数と、現在表示中のレイアウト35の先頭行の行開始位置のデータ352が示すバイト位置のデータとを、前述したバイト数制御の計算式に適用して、表示位置(%)を算出して(S53)、これを算出表示位置保存バッファ31に格納する(S51)。その後、前述したステップS47に移行する。   Specifically, the total number of bytes of the content calculated from the content unit table 37 and the data at the byte position indicated by the line start position data 352 of the first line of the layout 35 currently being displayed are the number of bytes described above. The display position (%) is calculated by applying to the calculation formula of control (S53), and this is stored in the calculated display position storage buffer 31 (S51). Thereafter, the process proceeds to step S47 described above.

このような図10の手順に従い%表示機能が実行されて、コンテンツ40のデータの大きさ(フロー総数、ブロック総数、バイト総数)に応じて、%表示位置の算出をフロー単位、ブロック単位またはバイト単位で行うように選択的に切換えているので、コンテンツ40のサイズが大きくなっても現在表示位置(%)を速やかに算出して提示できる。   The% display function is executed in accordance with the procedure shown in FIG. 10, and the% display position is calculated in units of flows, blocks, or bytes according to the data size of the content 40 (total number of flows, total number of blocks, total number of bytes). Since the switching is performed selectively so as to be performed in units, the current display position (%) can be quickly calculated and presented even when the size of the content 40 increases.

なお、コンテンツ単位テーブル37は作成しなくても%表示機能は実現できる。その場合、S49にてコンテンツ全体の総ブロック数を算出する際に、補助情報41の各フロー情報46iのデータ47が示す全ブロック数の合計数を用いればよい。また、S53でコンテンツ全体の総バイト数を算出する際に、補助情報41中のコンテンツ40の各ブロック43jのブロック情報49jのデータ61が示す全バイト数を、コンテンツ全体の全ブロックについて積算すればよい。   The% display function can be realized without creating the content unit table 37. In that case, when calculating the total number of blocks of the entire content in S49, the total number of all blocks indicated by the data 47 of each flow information 46i of the auxiliary information 41 may be used. Further, when the total number of bytes of the entire content is calculated in S53, if the total number of bytes indicated by the data 61 of the block information 49j of each block 43j of the content 40 in the auxiliary information 41 is integrated for all the blocks of the entire content. Good.

(表示例)
図13(A)〜(D)には、表示デバイス17における、%表示機能による%表示例および%指定移動機能による%指定移動時の表示例が示される。
(Display example)
FIGS. 13A to 13D show a display example when the display device 17 displays the% display by the% display function and the% specified movement by the% specified movement function.

図13(A)に示すように、コンテンツ40の文書のどのあたりを現在表示しているかの%表示機能による%値は画面上部の窓51に表示されている。この例では、文書の先頭を0%、文書の末尾を100%としたときに、25%の位置を表示しているという意味である。また、図13(B)に示すように、文書中で移動したい位置を文書全体に対する割合で指定して%指定移動機能により移動する。この例では、現在文書全体の25%の位置を表示しているときに%指定移動機能のモードに切換え指定したことが枠25で示されている。このモードにおいて、データ53をキー部16を操作して‘80%’の位置への移動を指定している。   As shown in FIG. 13A, the% value by the% display function indicating which part of the document of the content 40 is currently displayed is displayed in the window 51 at the top of the screen. In this example, when the top of the document is 0% and the end of the document is 100%, the position of 25% is displayed. Further, as shown in FIG. 13B, the position to be moved in the document is designated as a ratio with respect to the whole document and moved by the% designation moving function. In this example, a frame 25 indicates that switching to the mode of the% designated movement function is designated when the position of 25% of the entire document is currently displayed. In this mode, the data 53 is designated to be moved to the “80%” position by operating the key unit 16.

ここで、図13(C)は従来技術での移動結果である。図13(B)の%指定移動画面では80%を指定していたにも関わらず、移動後に図13(C)の窓51を見ると、79%と表示されている。これに対して、図13(D)には本実施の形態による%指定移動機能の移動結果が示される。図13(B)の%指定移動画面で指定した値と、図13(D)の移動後の画面の窓51に表示されている値とは一致している。   Here, FIG. 13C shows a movement result in the prior art. Although 80% is specified on the% designation movement screen in FIG. 13B, 79% is displayed when the window 51 in FIG. 13C is viewed after the movement. In contrast, FIG. 13D shows the movement result of the% designation movement function according to the present embodiment. The value designated on the% designation movement screen in FIG. 13B and the value displayed in the window 51 of the screen after the movement in FIG. 13D match.

(変形例)
本実施の形態に係る変形例を以下に示す。
(Modification)
Modification examples according to the present embodiment will be described below.

本実施の形態では%指定移動機能による表示先の移動の際、計算して求めた移動先の%位置を計算し、その値が%指定時の値と異なる場合、1行先(コンテンツの末尾方向)の%位置を計算して、その値が指定の%位置と一致したら1行先の行へ移動するようにしているが、「一致」ではなく、「比較して少ないほうの%に移動」すると判定するようにしてもよい。   In this embodiment, when the display destination is moved by the% designation movement function, the% position of the movement destination obtained by calculation is calculated, and if the value is different from the value at the time of specifying%, one line destination (the end direction of the content) )% Position is calculated, and if the value matches the specified% position, it moves to the next line, but if it is not “match” but “move to the smaller% compared” You may make it determine.

また、本実施の形態ではコンテンツ40のサイズに応じて%指定移動、%表示の計算方法を変えているが、全体はフロー数で計算し、その中でも現在表示しているフロー42i内はブロック数で細かく計算し、さらに、現在表示しているブロック43j内はバイト数で計算してさらに細かく計算するという手法でもよい。   In the present embodiment, the calculation method of% designation movement and% display is changed according to the size of the content 40, but the whole is calculated by the number of flows, and among them, the flow 42i currently displayed is the number of blocks. Further, a method may be used in which the calculation is performed in detail, and the block 43j currently displayed is calculated in terms of the number of bytes to be calculated in more detail.

またCPU12の速度やメモリ(RAM13)の容量など、動作するハードウェアの性能に応じて%指定移動、%表示の計算方法を変えてもよい。つまり、低スペックな組込み機器ではフロー数で計算して大まかな移動、表示を行うようにし、高スペックのパーソナルコンピュータではコンテンツ40全体のバイト数で計算して細かい移動、表示を行うようにしてもよい。   Further, the calculation method of the% designation movement and% display may be changed according to the performance of the operating hardware such as the speed of the CPU 12 and the capacity of the memory (RAM 13). In other words, a low-spec embedded device calculates the number of flows to perform rough movement and display, and a high-spec personal computer calculates the total number of bytes of content 40 to perform detailed movement and display. Good.

また%位置の計算は、各フロー42i内のブロック数、各ブロック43j内のバイト数を予めコンテンツ40内に格納しておくことで高速化することができる。また、コンテンツ40を開く際やCPU12がアイドル状態のときにこれらの情報を計算し、メモリ(RAM13)上に格納しておいてもよい。   The calculation of the% position can be accelerated by storing the number of blocks in each flow 42i and the number of bytes in each block 43j in the content 40 in advance. Further, when opening the content 40 or when the CPU 12 is in an idle state, these pieces of information may be calculated and stored in the memory (RAM 13).

また、コンテンツ40によっては、通常の文字列や画像からなるフロー42iの他に、辞書検索の画面や、マンガの画像からなるフロー42iも混在する。その場合には単純に文字数やバイト数では計算できないので、フロー42iのブロック数は1、ブロックのバイト数はフロー42iのファイルサイズとして計算するようにしてもよい。   Also, depending on the content 40, a dictionary search screen and a flow 42i consisting of manga images are mixed in addition to a flow 42i consisting of normal character strings and images. In this case, since the number of characters and the number of bytes cannot be simply calculated, the number of blocks of the flow 42i may be calculated as 1, and the number of bytes of the block may be calculated as the file size of the flow 42i.

また、コンテンツ40の表示位置を%値で表そうとすると、百分率であるため、0〜99%か、1〜100%のどちらかになり、コンテンツ40の最後であるのに100%にならない、またはコンテンツ40の先頭であるのに0%にならないといった不自然な状態になる。そのため、コンテンツ40の先頭を表示しているときは無条件に0%、またはコンテンツ40の最後を表示しているときは無条件に100%にするという特殊処理を行うようにする。   In addition, if the display position of the content 40 is expressed as a percentage, it is a percentage, so it is either 0 to 99% or 1 to 100%, and does not become 100% although it is the last of the content 40. Or, it becomes an unnatural state in which the content 40 is not at 0% even though it is at the top. For this reason, special processing is performed such that 0% is unconditionally displayed when the top of the content 40 is displayed, or 100% unconditionally when the end of the content 40 is displayed.

上述の実施の形態では、表示のための%位置は、画面先頭に表示される行の行開始位置352を用いて計算しているが、図14のように画像と文字が混在し、画像が複数行に渡って表示されるようなレイアウト35では、画像のある行の先頭はみな同じ%値になってしまう。そのため、画像のある2行目以降は、画像の次の文字の位置を%表示計算の対象とする。   In the above-described embodiment, the% position for display is calculated using the line start position 352 of the line displayed at the top of the screen. However, as shown in FIG. In a layout 35 that is displayed over a plurality of lines, the beginning of a certain line of the image has the same% value. For this reason, in the second and subsequent lines of the image, the position of the next character in the image is the target of% display calculation.

また、サイズの大きいコンテンツ40は1%が広い範囲に及ぶため、コンテンツサイズに応じて%指定移動の指定を細かく出来るようにしてもよい。例えば、コンテンツサイズが大きなコンテンツ40は小数点第2位まで%を指定できるが、コンテンツサイズが小さなコンテンツ40は整数もしくは2%刻みにしか指定できないというようにしてもよい。   Further, since the content 40 having a large size covers a wide range of 1%, the designation of the% designation movement may be finely made according to the content size. For example, the content 40 having a large content size can be specified as% up to the second decimal place, but the content 40 having a small content size may be specified only in integers or in increments of 2%.

また、文書表示装置には一般にユーザがすぐに開きたい場所を登録できるしおり機能を有するが、コンテンツ40を表示中にキー部16を介してスクロール操作している場合に、スクロールの結果、しおり位置の近くのデータが表示されたタイミングで、そのとき表示している%位置の表示色を変えて、もうすぐしおり位置のデータに到達することを報知するようにしてもよい。   In addition, the document display device generally has a bookmark function that allows a user to register a location that the user wants to open immediately. However, when a scroll operation is performed via the key unit 16 while the content 40 is being displayed, the bookmark position is the result of scrolling. At the timing when data near is displayed, the display color of the% position displayed at that time may be changed to notify that the data at the bookmark position will be reached soon.

また、上述の実施の形態では、表示画面サイズや文字サイズ、行間、文字間などのパラメータが決定すればレイアウト35も決定するものとしていたが、%移動時に、移動先の位置が必ず行の先頭にくるようにレイアウト取得部6により再度レイアウト35を求めるようにしてもよい。   In the above-described embodiment, the layout 35 is determined if parameters such as the display screen size, character size, line spacing, and character spacing are determined. However, when% movement is performed, the position of the movement destination is always the beginning of the line. Alternatively, the layout 35 may be obtained again by the layout acquisition unit 6.

ここでは%指定移動機能のための表示位置指定はキー部16操作による数値入力としているが、これに限定されない。たとえば、図14のコンテンツ40のサイズをスクロールバー50の長さに割当てをして、スクロールバー50中の斜線のスライダを用いて位置指定してもよい。このスライダは、現在ウィンドウに表示されている文書の一部が、文書全体のどの位置にあるかなどの表示位置%の情報をスクロールバー50上の位置で相対的に示し、またその長さで表示中のデータのサイズのコンテンツ40の全体に対する割合を示すようしてもよい。スライダは、ユーザが、キー部16のカーソル移動キーの操作でドラッグしたり、マウスなどでドラッグすることで、文書の表示位置を変更できる。   Here, the display position designation for the% designation movement function is a numerical value input by operating the key unit 16, but is not limited to this. For example, the size of the content 40 shown in FIG. 14 may be assigned to the length of the scroll bar 50, and the position may be specified using a hatched slider in the scroll bar 50. This slider relatively indicates the position of the display position% such as where the part of the document currently displayed in the window is in the entire document at the position on the scroll bar 50, and the length of the information. You may make it show the ratio with respect to the whole content 40 of the size of the data currently displayed. The user can change the display position of the document by dragging the slider by operating the cursor movement key of the key unit 16 or by dragging the slider with a mouse or the like.

他には、ダイヤルキー操作、タッチセンサによる指定、ボタン操作の入力であってもよい。   Alternatively, dial key operation, designation by a touch sensor, or button operation input may be used.

(プログラム記録媒体に関して)
ここで、本実施の形態の上述のフローチャートに従うプログラムのメディアは図4(B)のコンピュータ本体と分離可能に構成される記録媒体であり、図示のない磁気テープやカセットテープなどのテープ系、フレキシブルディスクやハードディスクなどの磁気ディスクやCD−ROM(Compact Disc Read Only Memory)48/MO(Magnetic Optical Disc)/MD(Mini Disc)/DVD(Digital Versatile Disc)などの光ディスクのディスク系、ICカード(メモリカードを含む)/光カードなどのカード系、あるいはマスクROM、EPROM(Erasable and Programmable ROM)、EEPROM(Electrically EPROM)、フラッシュROMなどによる半導体メモリを含めた固定的にプログラムを担持する媒体であってもよい。
(Regarding program recording media)
Here, the medium of the program according to the above-described flowchart of the present embodiment is a recording medium configured to be separable from the computer main body of FIG. 4B, a tape system such as a magnetic tape or a cassette tape not shown, flexible Discs of optical discs such as magnetic discs such as discs and hard discs, CD-ROM (Compact Disc Read Only Memory) 48 / MO (Magnetic Optical Disc) / MD (Mini Disc) / DVD (Digital Versatile Disc), IC cards (memory) (Including card) / card system such as optical card, or medium that carries a fixed program including semiconductor memory such as mask ROM, EPROM (Erasable and Programmable ROM), EEPROM (Electrically EPROM), flash ROM, etc. Also good.

また、本実施の形態においては、インターネットを含む各種のネットワーク28と通信する構成が採用されているから、これらネットワーク28からプログラムがダウンロードされて流動的にプログラムを担持する媒体であってもよい。なお、このようにネットワーク28からプログラムがダウンロードされる場合には、ダウンロード用プログラムは予め図4(A)の携帯型電話機本体または図4(B)のコンピュータ本体に格納しておくか、あるいは別の記録媒体から予めインストールされるものであってもよい。   Further, in the present embodiment, a configuration for communicating with various networks 28 including the Internet is adopted, so that a medium in which a program is downloaded from these networks 28 and is carried in a fluid manner may be used. When the program is downloaded from the network 28 as described above, the download program is stored in advance in the portable telephone body of FIG. 4A or the computer body of FIG. It may be installed in advance from the recording medium.

なお記録媒体に格納されている内容としてはプログラムに限定されず、データであってもよい。   Note that the content stored in the recording medium is not limited to a program, and may be data.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

この発明の実施の形態に係る文書表示装置の全体の機能構成図である。1 is an overall functional configuration diagram of a document display device according to an embodiment of the present invention. FIG. この発明の実施の形態に係る%指定移動機能の構成図である。It is a block diagram of the% designation | designated movement function which concerns on embodiment of this invention. この発明の実施の形態に係る%表示機能の構成図である。It is a block diagram of the% display function which concerns on embodiment of this invention. (A)と(B)はこの発明の実施の形態に係るハードウェア構成図である。(A) And (B) is a hardware block diagram concerning embodiment of this invention. この発明の実施の形態に係る各種バッファを示す図である。It is a figure which shows the various buffers which concern on embodiment of this invention. この発明の実施の形態に係るコンテンツの構成例を示す図である。It is a figure which shows the structural example of the content which concerns on embodiment of this invention. この発明の実施の形態に係る補助情報の内容例を示す図である。It is a figure which shows the example of the content of the auxiliary information which concerns on embodiment of this invention. この発明の実施の形態に係る%指定移動機能のフローチャートである。It is a flowchart of the% designation | designated movement function which concerns on embodiment of this invention. この発明の実施の形態に係る%指定移動機能のフローチャートである。It is a flowchart of the% designation | designated movement function which concerns on embodiment of this invention. この発明の実施の形態に係る%表示機能のフローチャートである。It is a flowchart of the% display function which concerns on embodiment of this invention. この発明の実施の形態に係るレイアウトの一例を示す図である。It is a figure which shows an example of the layout which concerns on embodiment of this invention. この発明の実施の形態に係るコンテンツ単位テーブルの一例を示す図である。It is a figure which shows an example of the content unit table which concerns on embodiment of this invention. (A)〜(D)はこの発明の実施の形態に係る表示例を示す図である。(A)-(D) are figures which show the example of a display which concerns on embodiment of this invention. この発明の実施の形態に係る表示例を示す図である。It is a figure which shows the example of a display which concerns on embodiment of this invention. (A)〜(C)は従来技術を説明する図である。(A)-(C) are figures explaining a prior art. (A)と(B)は従来技術を説明する図である。(A) And (B) is a figure explaining a prior art.

符号の説明Explanation of symbols

2 表示位置入力部、4 対応表示コンテンツ位置算出部、5 コンテンツ取得部、6 レイアウト取得部、7 コンテンツ単位決定部、8 表示単位調整部、9 表示位置算出部、11 表示部、35 レイアウト、37 コンテンツ単位テーブル、40 コンテンツ、41 補助情報、42i フロー、43j ブロック。   2 Display position input unit, 4 Corresponding display content position calculation unit, 5 Content acquisition unit, 6 Layout acquisition unit, 7 Content unit determination unit, 8 Display unit adjustment unit, 9 Display position calculation unit, 11 Display unit, 35 Layout, 37 Content unit table, 40 contents, 41 auxiliary information, 42i flow, 43j blocks.

Claims (10)

所定単位データを複数個含む文書データにおける、所望部分の文書データの位置を指定する位置指定手段と、
所定単位データそれぞれの前記文書データにおける表示位置を算出する位置算出手段と、
前記位置算出手段により算出した前記所定単位データそれぞれの算出位置のうち、前記位置指定手段により指定した前記指定位置に相当する前記算出位置である前記所定単位データを含む前記文書データの部分を表示する表示制御手段とを備える、文書表示装置。
Position specifying means for specifying the position of document data of a desired part in document data including a plurality of predetermined unit data;
Position calculating means for calculating a display position of each predetermined unit data in the document data;
Of the calculated positions of the predetermined unit data calculated by the position calculating means, a portion of the document data including the predetermined unit data that is the calculated position corresponding to the specified position specified by the position specifying means is displayed. A document display device comprising display control means.
前記文書データから、前記位置指定手段により指定した前記指定位置に対応する部分のデータを取得する部分データ取得手段をさらに備えて、
前記位置算出手段は、前記部分データ取得手段が取得した前記部分データ中の前記所定単位データそれぞれの前記文書データにおける表示位置を算出することを特徴とする、請求項1に記載の文書表示装置。
A partial data acquisition unit that acquires data of a part corresponding to the designated position designated by the position designation unit from the document data,
2. The document display device according to claim 1, wherein the position calculation unit calculates a display position in the document data of each of the predetermined unit data in the partial data acquired by the partial data acquisition unit.
前記指定位置および前記算出位置は、前記文書データの先頭からの位置を示し、
前記指定位置に相当する前記算出位置は、前記指定位置を示すか、または前記指定位置よりも前記先頭側の位置を示すことを特徴とする、請求項1に記載の文書表示装置。
The designated position and the calculated position indicate a position from the beginning of the document data,
The document display apparatus according to claim 1, wherein the calculated position corresponding to the designated position indicates the designated position or the position on the head side with respect to the designated position.
前記所定単位データは、行のデータであることを特徴とする、請求項1に記載の文書表示装置。   The document display apparatus according to claim 1, wherein the predetermined unit data is row data. 表示制御手段は、前記文書データの部分を、前記位置指定手段により指定した前記指定位置に相当する前記算出位置の前記行データを先頭にして表示することを特徴とする、請求項4に記載の文書表示装置。   5. The display control unit according to claim 4, wherein the display control unit displays the portion of the document data with the line data at the calculated position corresponding to the designated position designated by the position designation unit as a head. Document display device. 階層化されたサイズの異なる1種類以上の単位データを各種類について複数個含む文書データ中の現在表示している部分について、前記文書データにおける位置を算出する位置算出手段と、
前記位置算出手段が算出した前記位置を表示する位置表示手段とを備え、
前記位置算出手段は、
各種類の前記単位データのうち、前記サイズに関する所定基準で選択した種類の複数個の前記単位データのうちの現在表示している前記部分に対応の前記単位データについて、前記文書データにおける位置を算出することを特徴とする、文書表示装置。
Position calculating means for calculating a position in the document data for a currently displayed portion of the document data including a plurality of types of unit data of different types of layered sizes.
Position display means for displaying the position calculated by the position calculation means,
The position calculating means includes
Of the unit data of each type, the position in the document data is calculated for the unit data corresponding to the currently displayed portion of the plurality of unit data of the type selected on the basis of the predetermined size. A document display device characterized in that:
前記位置算出手段は、
上位の階層から下位の階層の順に、各種類の前記単位データのうち前記文書データに含まれる個数が所定数を超えるか否かを判断する判断手段と、
前記判断手段が前記所定数を超えると判断した最初の種類の複数個の前記単位データのうちの現在表示している前記部分に対応の前記単位データについて、前記文書データにおける位置を算出することを特徴とする、請求項6に記載の文書表示装置。
The position calculating means includes
Judgment means for judging whether or not the number included in the document data among the unit data of each type exceeds a predetermined number in order from the upper hierarchy to the lower hierarchy;
Calculating a position in the document data for the unit data corresponding to the currently displayed portion of the plurality of unit data of the first type determined by the determining means to exceed the predetermined number. The document display device according to claim 6, wherein the document display device is characterized.
前記位置算出手段は、
各種類の前記単位データのうち、上位の階層の種類の前記単位データの前記文書データに含まれる個数が所定数を超えないときは、下位の階層の種類の複数個の前記単位データのうち、現在表示している前記部分に対応の前記単位データについて、前記文書データにおける位置を算出することを特徴とする、請求項6に記載の文書表示装置。
The position calculating means includes
Among the unit data of each type, when the number included in the document data of the unit data of the upper hierarchy type does not exceed a predetermined number, among the plurality of unit data of the lower hierarchy type, The document display device according to claim 6, wherein a position in the document data is calculated for the unit data corresponding to the currently displayed part.
コンピュータを、前記コンピュータの入力部を用いて、所定単位データを複数個含む文書データにおける、所望部分の文書データの位置を指定する位置指定手段と、
前記コンピュータの演算部を用いて、所定単位データそれぞれの前記文書データにおける表示位置を算出する位置算出手段と、
前記コンピュータの表示部を用いて、前記位置算出手段により算出した前記所定単位データそれぞれの算出位置のうち、前記位置指定手段により指定した前記指定位置に相当する前記算出位置である前記所定単位データを含む前記文書データの部分を表示する表示制御手段として機能させるための、文書表示プログラム。
A position designation means for designating a position of document data of a desired portion in document data including a plurality of predetermined unit data using an input unit of the computer;
Position calculating means for calculating a display position in the document data for each of the predetermined unit data using the computing unit of the computer;
The predetermined unit data that is the calculated position corresponding to the specified position specified by the position specifying means among the calculated positions of the predetermined unit data calculated by the position calculating means using the display unit of the computer. A document display program for functioning as a display control means for displaying a part of the document data including.
コンピュータを、前記コンピュータの演算部を用いて、階層化されたサイズの異なる1種類以上の単位データを各種類について複数個含む文書データ中の現在表示している部分について、前記文書データにおける位置を算出する位置算出手段と、
前記コンピュータの表示部を用いて前記位置算出手段が算出した前記位置を表示する位置表示手段として機能させ、
前記位置算出手段は、
各種類の前記単位データのうち、所定基準で選択した種類の複数個の前記単位データのうちの現在表示している前記部分に対応の前記単位データについて、前記文書データにおける位置を算出することを特徴とする、文書表示プログラム。
The computer uses the computing unit of the computer to determine the position in the document data for the currently displayed portion of the document data including a plurality of types of unit data of one or more types with different sizes. Position calculating means for calculating;
Function as position display means for displaying the position calculated by the position calculation means using the display unit of the computer,
The position calculating means includes
Calculating a position in the document data for the unit data corresponding to the currently displayed portion of the plurality of unit data of the type selected on the basis of each type of the unit data. Characteristic document display program.
JP2004186180A 2004-06-24 2004-06-24 Document display device and document display program Expired - Lifetime JP4268906B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004186180A JP4268906B2 (en) 2004-06-24 2004-06-24 Document display device and document display program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004186180A JP4268906B2 (en) 2004-06-24 2004-06-24 Document display device and document display program

Publications (2)

Publication Number Publication Date
JP2006011694A true JP2006011694A (en) 2006-01-12
JP4268906B2 JP4268906B2 (en) 2009-05-27

Family

ID=35778910

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004186180A Expired - Lifetime JP4268906B2 (en) 2004-06-24 2004-06-24 Document display device and document display program

Country Status (1)

Country Link
JP (1) JP4268906B2 (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010515174A (en) * 2006-12-29 2010-05-06 アマゾン テクノロジーズ インコーポレイテッド Immutable references in digital works
JP2010250757A (en) * 2009-04-20 2010-11-04 Toshiba Corp Mobile terminal and data display method
US8584137B2 (en) 2007-01-29 2013-11-12 Konica Minolta Business Technologies, Inc. Image processing system for judging whether a partial job should be processed by an own device or another device
US8700005B1 (en) 2007-05-21 2014-04-15 Amazon Technologies, Inc. Notification of a user device to perform an action
US8725565B1 (en) 2006-09-29 2014-05-13 Amazon Technologies, Inc. Expedited acquisition of a digital item following a sample presentation of the item
US8793575B1 (en) 2007-03-29 2014-07-29 Amazon Technologies, Inc. Progress indication for a digital work
US8832584B1 (en) 2009-03-31 2014-09-09 Amazon Technologies, Inc. Questions on highlighted passages
US8954444B1 (en) 2007-03-29 2015-02-10 Amazon Technologies, Inc. Search and indexing on a user device
US9087032B1 (en) 2009-01-26 2015-07-21 Amazon Technologies, Inc. Aggregation of highlights
US9116657B1 (en) 2006-12-29 2015-08-25 Amazon Technologies, Inc. Invariant referencing in digital works
US9158741B1 (en) 2011-10-28 2015-10-13 Amazon Technologies, Inc. Indicators for navigating digital works
US9275052B2 (en) 2005-01-19 2016-03-01 Amazon Technologies, Inc. Providing annotations of a digital work
US9495322B1 (en) 2010-09-21 2016-11-15 Amazon Technologies, Inc. Cover display
US9564089B2 (en) 2009-09-28 2017-02-07 Amazon Technologies, Inc. Last screen rendering for electronic book reader
US9672533B1 (en) 2006-09-29 2017-06-06 Amazon Technologies, Inc. Acquisition of an item based on a catalog presentation of items

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9275052B2 (en) 2005-01-19 2016-03-01 Amazon Technologies, Inc. Providing annotations of a digital work
US10853560B2 (en) 2005-01-19 2020-12-01 Amazon Technologies, Inc. Providing annotations of a digital work
US9292873B1 (en) 2006-09-29 2016-03-22 Amazon Technologies, Inc. Expedited acquisition of a digital item following a sample presentation of the item
US8725565B1 (en) 2006-09-29 2014-05-13 Amazon Technologies, Inc. Expedited acquisition of a digital item following a sample presentation of the item
US9672533B1 (en) 2006-09-29 2017-06-06 Amazon Technologies, Inc. Acquisition of an item based on a catalog presentation of items
US9116657B1 (en) 2006-12-29 2015-08-25 Amazon Technologies, Inc. Invariant referencing in digital works
JP2010515174A (en) * 2006-12-29 2010-05-06 アマゾン テクノロジーズ インコーポレイテッド Immutable references in digital works
US8584137B2 (en) 2007-01-29 2013-11-12 Konica Minolta Business Technologies, Inc. Image processing system for judging whether a partial job should be processed by an own device or another device
US8793575B1 (en) 2007-03-29 2014-07-29 Amazon Technologies, Inc. Progress indication for a digital work
US8954444B1 (en) 2007-03-29 2015-02-10 Amazon Technologies, Inc. Search and indexing on a user device
US9665529B1 (en) 2007-03-29 2017-05-30 Amazon Technologies, Inc. Relative progress and event indicators
US8990215B1 (en) 2007-05-21 2015-03-24 Amazon Technologies, Inc. Obtaining and verifying search indices
US8965807B1 (en) 2007-05-21 2015-02-24 Amazon Technologies, Inc. Selecting and providing items in a media consumption system
US9178744B1 (en) 2007-05-21 2015-11-03 Amazon Technologies, Inc. Delivery of items for consumption by a user device
US8700005B1 (en) 2007-05-21 2014-04-15 Amazon Technologies, Inc. Notification of a user device to perform an action
US9479591B1 (en) 2007-05-21 2016-10-25 Amazon Technologies, Inc. Providing user-supplied items to a user device
US9888005B1 (en) 2007-05-21 2018-02-06 Amazon Technologies, Inc. Delivery of items for consumption by a user device
US9568984B1 (en) 2007-05-21 2017-02-14 Amazon Technologies, Inc. Administrative tasks in a media consumption system
US9087032B1 (en) 2009-01-26 2015-07-21 Amazon Technologies, Inc. Aggregation of highlights
US8832584B1 (en) 2009-03-31 2014-09-09 Amazon Technologies, Inc. Questions on highlighted passages
JP2010250757A (en) * 2009-04-20 2010-11-04 Toshiba Corp Mobile terminal and data display method
US9564089B2 (en) 2009-09-28 2017-02-07 Amazon Technologies, Inc. Last screen rendering for electronic book reader
US9495322B1 (en) 2010-09-21 2016-11-15 Amazon Technologies, Inc. Cover display
US9158741B1 (en) 2011-10-28 2015-10-13 Amazon Technologies, Inc. Indicators for navigating digital works

Also Published As

Publication number Publication date
JP4268906B2 (en) 2009-05-27

Similar Documents

Publication Publication Date Title
JP4268906B2 (en) Document display device and document display program
US8035642B2 (en) Apparatus and method for processing information, and program for making computer execute the method
JP4611031B2 (en) Handwriting input device and method
US20140250394A1 (en) User interface for document table of contents
JPH07129550A (en) Document processor
US6397233B1 (en) Document processing apparatus and computer program product therefor
US7519949B2 (en) Marking changes based on a region and a threshold
US7197184B2 (en) ZhuYin symbol and tone mark input method, and electronic device
JP2004086621A (en) Electronic device, display control method, program, and recording medium
US11379099B2 (en) Method and device for selecting text in electronic terminal
JP2005056302A (en) Display data scroll device, display data scroll method, display data scroll program, and program recording medium
JPH11345061A (en) Extension scroll system
JP4535186B2 (en) Electronic device and program with dictionary function
JP2010015515A (en) Electronic apparatus provided with dictionary function
JP4223939B2 (en) Display deletion apparatus, computer control method and program
JP5903902B2 (en) Information display control device and program
JP2005216108A (en) Dictionary information display control device, dictionary information display control program, and dictionary information display control method
JP2008146225A (en) Editing apparatus, editing method and editing program
US20170257521A1 (en) Electronic apparatus and display method of electronic apparatus
JP3961174B2 (en) Character input device and recording medium recording character input program
JP2018036684A (en) Content display device and control method
JPH03189765A (en) electronic filing device
JPH07141363A (en) Document editing method
JP2004062312A (en) Input device and program for making computer function as input device
JP2025008036A (en) Information processing system, control method for information processing system, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060912

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081028

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081224

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090223

R150 Certificate of patent or registration of utility model

Ref document number: 4268906

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120227

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120227

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130227

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130227

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140227

Year of fee payment: 5

EXPY Cancellation because of completion of term