JP4648714B2 - Content data display device, processing program in content data display device, and recording medium recording processing program in content data display device - Google Patents
Content data display device, processing program in content data display device, and recording medium recording processing program in content data display device Download PDFInfo
- Publication number
- JP4648714B2 JP4648714B2 JP2005023201A JP2005023201A JP4648714B2 JP 4648714 B2 JP4648714 B2 JP 4648714B2 JP 2005023201 A JP2005023201 A JP 2005023201A JP 2005023201 A JP2005023201 A JP 2005023201A JP 4648714 B2 JP4648714 B2 JP 4648714B2
- Authority
- JP
- Japan
- Prior art keywords
- operation input
- state
- specified
- processing
- key
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Position Input By Displaying (AREA)
- User Interface Of Digital Computer (AREA)
Description
この発明はコンテンツデータ表示装置、コンテンツデータ表示装置における処理プログラム、およびコンテンツデータ表示装置における処理プログラムを記録した記録媒体に関し、特に、複数種類の操作入力装置を用いて指示操作を行なうコンテンツデータ表示装置、コンテンツデータ表示装置における処理プログラム、およびコンテンツデータ表示装置における処理プログラムを記録した記録媒体に関する。 The present invention relates to a content data display device, a processing program in the content data display device, and a recording medium on which the processing program in the content data display device is recorded, and in particular, a content data display device that performs an instruction operation using a plurality of types of operation input devices. The present invention relates to a processing program in a content data display device and a recording medium on which the processing program in the content data display device is recorded.
特許文献1や特許文献2に示されるように、電子書籍ビューアなどのコンテンツデータ表示装置には、マウスやキーボードなどの複数種類の操作入力手段を有するものがある。
As shown in
このような装置においては、ユーザは任意の操作入力手段を用いて操作入力を行なうことができるというメリットがある一方、複数種類の操作入力手段があるが故に誤入力・誤作動してしまうなど、操作性を損なう場合もある。 In such an apparatus, there is a merit that the user can perform an operation input using an arbitrary operation input means, while there are a plurality of types of operation input means, so that an erroneous input / malfunction occurs. The operability may be impaired.
たとえば特許文献1では、マウス操作とキー入力とが可能な装置において、マウスカーソルを画面上の特定位置に表示させてキー入力中であっても容易にマウスカーソルを発見させることで操作性を高めるカーソル制御装置が開示されている。
For example, in
また特許文献2では、ペン入力とキーボード入力とが可能な装置において、ペン入力を検知してキーボードからの信号を無視することで誤入力・誤作動を未然に防ぐ情報処理装置が開示されている。
しかしながら、このような従来技術である複数種類の操作入力手段を有する装置においては範囲指定などの操作が複雑であり、該操作に伴う処理も複雑になるという問題がある。 However, such a conventional apparatus having a plurality of types of operation input means has a problem that operations such as range specification are complicated, and processing associated with the operations is also complicated.
具体的には、ペン入力を受付けるペンモードとキー入力を受付けるカーソルモードとを分けずに双方からの操作入力を共存させるとペンとキーとによる指定が組合わさるため、装置での処理が複雑になるという問題がある。 Specifically, if the operation input from both sides coexists without dividing the pen mode that accepts pen input and the cursor mode that accepts key input, the processing by the device becomes complicated because the designation by the pen and key is combined. There is a problem of becoming.
たとえば、マーク作成のための範囲指定を行なう際の開始位置をペンダウンで指定して、方向キーで指定範囲を延長し、決定キーを押した場合を考えると、範囲指定は決定キーが押された時のカーソル位置までに定まるものの、ペンを用いて終了位置が決定されていないため、装置の処理状態としては、マーク作成後もなお、マーク作成のための開始位置を選択ためのモードでペンダウンした状態が保たれていることになる。この場合、ペンダウンした位置から次の操作のためにペンがドラッグされると、該操作はペンダウンを行なうことなくペンドラッグから開始されていて開始点が指定されていないため、何らかの処理が必要となる。 For example, if you specify the start position when specifying the range for creating a mark with the pen down, extend the specified range with the arrow keys, and press the enter key, the enter key is pressed to specify the range. Although it is determined by the cursor position at the time, the end position is not determined using the pen, so the processing status of the device is pen-down in the mode for selecting the start position for mark creation after the mark creation The state is maintained. In this case, if the pen is dragged for the next operation from the pen-down position, the operation is started from the pen drag without performing the pen-down and the start point is not specified, so some processing is required. .
より具体的には、ペンモードとカーソルモードとを分けない場合の処理および状態の遷移の具体例を図41〜図43に示す。ペンモードとカーソルモードとが共存している状態で上述の操作入力がなされた場合、図41において通常文字がペンドラッグ(大移動)された場合の処理および状態が「開始位置決定。マーク終了位置選択中モードに移る」と定められており、最初にペンドラッグされた通常文字を開始位置と決定するなどの処理が必要となる。 More specifically, FIGS. 41 to 43 show specific examples of processing and state transition when the pen mode and the cursor mode are not divided. When the above-described operation input is performed in the state where the pen mode and the cursor mode coexist, the processing and state when the normal character is dragged (largely moved) in FIG. It is determined that the mode is “move to selected mode”, and processing such as determining a normal character that is first dragged with a pen as a start position is required.
またたとえば、ペンモードとカーソルモードとが共存している状態で開始位置がキーで決定され、指定範囲が方向キーで延長されたときに、ペンダウンが発生した場合、図42を参照して、通常文字要素にペンダウンされた場合は、開始位置を該要素に変更し、反転表示を該要素のみに変更する処理が必要となる。また、その他の要素では、ユーザにより新たな開始位置が指定されたと解釈して、範囲指定を取消して、マーク開始位置選択中モードに移行する処理が必要となる。なお、これはペンダウンによる指定の方が優先されるという仕様の例である。 Further, for example, when the pen position occurs when the start position is determined by the key in the state where the pen mode and the cursor mode coexist and the designated range is extended by the direction key, referring to FIG. When pen-down is performed on a character element, it is necessary to change the start position to the element and change the reverse display to only the element. In other elements, it is necessary to interpret that a new start position is specified by the user, cancel the range specification, and shift to the mark start position selecting mode. This is an example of a specification in which designation by pen-down takes precedence.
またたとえば、ペンモードとカーソルモードとが共存している状態で開始位置がキーで決定され、指定範囲が方向キーで延長されときに、ペンドラッグ(大移動)が発生した場合、すでに開始位置選択中で通常文字要素以外にペンダウンされているとすると、図42を参照して、ペンドラッグ位置が文字要素であって該要素が反転表示範囲内もしくは反転表示範囲に隣接する場合は、ペンによって範囲が指定されたと解釈して、該要素までを反転表示する処理が必要となる。また、反転表示の途中にペンがある場合は、指定範囲を小さくする処理が必要となる。ペンドラッグ位置が文字要素でない場合は、新たな開始位置が指定されたと解釈して、開始位置を該要素に変更し、反転表示を該要素のみに変更する処理が必要となる。 Also, for example, if the pen position and cursor mode coexist and the start position is determined with the key, and the specified range is extended with the direction key, and a pen drag (large movement) occurs, the start position is already selected. 42, if the pen drag position is a character element and the element is in the reverse display range or adjacent to the reverse display range, with reference to FIG. Need to be displayed in reverse video. In addition, when there is a pen in the reverse display, it is necessary to reduce the designated range. If the pen drag position is not a character element, it is interpreted that a new start position has been designated, the start position is changed to this element, and the reverse display is changed to only that element.
またたとえば、ペンモードとカーソルモードとが共存している状態で開始位置がキーで決定され、指定範囲が方向キーで延長されときに、ペンアップが発生した場合、すでに開始位置選択中で通常文字要素以外にペンダウンされているとすると、図43を参照して、ペンアップ位置が文字要素以外の場合であって、終了位置候補がペンで指定された場合(その後、上下左右キーによって位置が移動しなかった場合も含む)は、反転部分でマークを作成する処理が必要となる。 Also, for example, if pen start occurs when the pen mode and cursor mode coexist and the start position is determined with the key and the specified range is extended with the arrow keys, the start position is already selected and the normal character If it is assumed that the pen is down other than the element, referring to FIG. 43, when the pen up position is other than the character element and the end position candidate is designated by the pen (then, the position is moved by the up / down / left / right keys). (Including the case where it has not been performed) requires processing for creating a mark at the inverted portion.
また、複数種類の操作入力手段を有する装置を利用する場合、ユーザの操作もわかりにくくなるという問題もある。すなわち、ユーザにとっても、範囲指定の仕方がペンモードとカーソルモードとの複数存在することになり、混乱を来たすおそれがある。一般にユーザインタフェースの観点からは、操作の選択肢を絞ることが、特に不慣れなユーザに対しては望ましい。また、たとえば操作入力手段として感圧式のタブレットを備える場合、キーで範囲指定している時に指などが画面に触れてしまうと意図しない範囲指定がされてしまうなど、誤作動・誤入力してしまう場合があるという問題もある。 In addition, when using an apparatus having a plurality of types of operation input means, there is also a problem that it is difficult to understand user operations. That is, for the user, there are a plurality of ways of specifying the range, the pen mode and the cursor mode, which may cause confusion. Generally, from the viewpoint of the user interface, it is desirable to narrow down operation options, particularly for an unfamiliar user. In addition, for example, when a pressure-sensitive tablet is provided as an operation input means, if a finger touches the screen when a range is specified with a key, an unintended range is specified. There is also a problem that there are cases.
これらの問題は、いずれか一方の操作入力を有効にして他方を無効にし、その場合には、ある操作入力手段から取得されたイベントを受取るかどうかの判断処理が不要になり、処理が複雑になってしまうという問題がある。 These problems are that either one of the operation inputs is enabled and the other is disabled, and in that case, it is not necessary to determine whether to receive an event acquired from a certain operation input means, and the processing is complicated. There is a problem of becoming.
本発明はこのような問題に鑑みてなされたものであって、ユーザにとって操作性が高く、かつ処理が複雑でないコンテンツデータ表示装置、コンテンツデータ表示装置における処理プログラム、およびコンテンツデータ表示装置における処理プログラムを記録した記録媒体を提供することを目的とする。 The present invention has been made in view of such problems, and is a content data display device that is highly operable for the user and is not complicated in processing, a processing program in the content data display device, and a processing program in the content data display device An object of the present invention is to provide a recording medium on which is recorded.
上記目的を達成するために、本発明のある局面に従うと、コンテンツデータ表示装置は、1以上の要素を含むコンテンツデータを取得するための取得手段と、コンテンツデータから、要素をそれぞれ表示行内に配置するための、要素のそれぞれについての表示行内の位置と、当該要素に対して設定されている、選択されることで所定の処理が実行されることが規定されている属性とを指定したレイアウトデータを生成するための生成手段と、コンテンツデータをレイアウトデータに基づいて表示するための表示手段と、表示されたコンテンツデータ上の位置を特定した操作入力を受付けるための、ポインタとキーとを含む、複数の種類の操作入力手段と、操作入力手段での操作入力に応じて行なう処理と、操作入力を受付けた時点の処理の状態から次に遷移する状態の状態とを特定する遷移情報を格納する状態遷移格納手段と、操作入力に応じて上記情報で特定される処理を行ない、操作入力を受付けた時点の処理の状態から遷移情報で特定される次の処理の状態に遷移する処理を実行する状態遷移処理手段とを備え、遷移情報で特定される処理の状態は、複数の種類の操作入力手段のうちの当該処理に対する操作入力を受付ける操作入力手段と、その操作入力手段での操作に応じた処理の段階とを含み、遷移情報は、各処理の状態ごとに、当該処理に対する操作入力を受付ける操作入力手段でのすべての操作入力のそれぞれについて、当該操作入力によって特定された位置がレイアウトデータにより指定されている表示行内の範囲にあるコンテンツデータの要素と当該要素に設定されている属性とに応じて行なう処理および次に遷移する処理の状態を特定する情報であって、行なう処理を処理の状態の段階ごとに排他的に規定し、遷移情報は、ポインタで操作入力を受付ける処理の状態については、ポインタでの操作ごとに、ポインタで指定された位置がレイアウトデータにより指定されている表示行内の範囲にあるコンテンツデータの要素と当該要素に設定されている属性とに応じて行なう処理および次に遷移する処理の状態を特定し、ポインタ以外のキーを含むすべての操作入力手段での操作に対しては行なう処理および次に遷移する処理の状態がないと特定し、キーで操作入力を受付ける処理の状態については、キーでの操作ごとに、キーで指定された位置がレイアウトデータにより指定されている表示行内の範囲にあるコンテンツデータの要素と当該要素に設定されている属性とに応じて行なう処理および次に遷移する処理の状態を特定し、キー以外のポインタを含むすべての操作入力手段での操作に対しては行なう処理および次に遷移する処理の状態がないと特定し、状態遷移処理手段は、ポインタで操作入力を受付ける処理の状態においてポインタでの操作入力を受付けると、遷移情報を参照して、遷移情報で特定される処理を行ないかつ遷移情報で特定される次の処理の状態に遷移し、前記ポインタ以外の前記キーを含むいずれの操作入力手段での操作入力を受付けても行なう処理および遷移を実行せず、キーで操作入力を受付ける処理の状態においてキーでの操作入力を受付けると、遷移情報を参照して、遷移情報で特定される処理を行ないかつ遷移情報で特定される次の処理の状態に遷移し、キー以外のポインタを含むいずれの操作入力手段での操作入力を受付けても行なう処理および遷移を実行しない。 In order to achieve the above object, according to one aspect of the present invention, a content data display device arranges an element in a display row from an acquisition means for acquiring content data including one or more elements, and the content data. to a display row position for each element, is set for the element, the layout data is specified and attributes that predetermined processing is executed by being selected is defined Generating means for generating the content data, display means for displaying the content data based on the layout data, and a pointer and a key for receiving an operation input specifying the position on the displayed content data , a plurality of kinds of operation input means, the processing performed in accordance with an input by the operation input means Zhou processing at the time of receiving an operation input State transition storage means for storing transition information for specifying the state of the next transition state from one to the next, and performing the processing specified by the above information according to the operation input, and transitioning from the state of the processing at the time of receiving the operation input State transition processing means for executing a process for transitioning to the next processing state specified by the information, and the state of the processing specified by the transition information is an operation for the processing among a plurality of types of operation input means. Operation input means for accepting an input, and a stage of processing according to the operation at the operation input means, and the transition information includes, for each state of each process, all the operation input means for accepting an operation input for the process. for each operation input, set to the elements of the content data and the element at the position specified by the operation input to the range of the display row specified by the layout data A process and information identifying the state of the processing to transition to the next performed according to the attribute which has been, exclusively specified for each stage of the conditions of the processing process performed by the transition information, an operation input by the pointer As for the state of processing for accepting, for each operation with the pointer, the position specified by the pointer is the content data element in the range within the display line specified by the layout data and the attribute set for the element The state of the process to be performed and the process to be transitioned next is specified, and the state to be performed and the process to be transitioned to the next is specified for the operation with all operation input means including keys other than the pointer, Regarding the state of processing that accepts operation input with the key, the range within the display line where the position specified with the key is specified by the layout data for each operation with the key Identifies the state of processing to be performed according to the content data element and the attribute set for the element and the state of the next transition processing, and for operations with all operation input means including pointers other than keys Specifies that there is no state for the process to be performed and the process to be transitioned next, and when the state transition processing means accepts the operation input with the pointer in the state of the process for accepting the operation input with the pointer, the transition is made with reference to the transition information. A process and a transition which are performed even if an operation input is performed by any operation input means including the key other than the pointer, which performs the process specified by the information and transitions to the state of the next process specified by the transition information. If the operation input with the key is accepted in the state of accepting the operation input with the key without executing, is the process specified by the transition information performed with reference to the transition information? A transition to the state of the next process specified by the transition information, do not perform an operation input performed even accept processing and transitions in any of the operation input means including a pointer other than the key.
好ましくは、遷移情報で特定される処理の状態に含まれる前記処理の段階は、複数の操作入力を受付ける操作入力手段に応じた複数の段階であり、遷移情報は、複数の段階の処理の状態に共通する操作入力手段の種類と、複数の段階の処理の状態に共通する操作入力の対象である要素とに関連付けて対応する処理の状態と次に遷移する処理の状態とを特定する。 Preferably step of the process included in the state of the process specified by the transition information is a plurality of steps in response to the operation input hand stage for receiving a plurality of operation input, the transition information, the processing of multiple stages The type of the operation input means common to the state and the state of the corresponding process and the state of the next transition process are specified in association with the element that is the target of the operation input common to the state of the process at a plurality of stages.
また、状態遷移処理手段は、処理の実行後にその旨を通知することが好ましい。 Further, it is preferable that the state transition processing means notifies the fact after the processing is executed.
また、状態遷移処理手段で実行されるプログラムを格納するプログラム格納手段をさらに備え、状態遷移処理手段は、遷移情報で特定される処理に必要なプログラムをプログラム格納手段から読込んで実行することが好ましい。 Further, it is preferable to further include a program storage unit that stores a program executed by the state transition processing unit, and the state transition processing unit reads and executes a program necessary for the process specified by the transition information from the program storage unit. .
また、操作入力が要素以外に対して行なわれた場合に、状態遷移処理手段は、操作入力が要素に対して行なわれたものとして遷移情報で特定される処理の状態に遷移する処理を実行することが好ましい。 In addition, when an operation input is performed on an element other than the element, the state transition processing unit executes a process of transitioning to the state of the process specified by the transition information on the assumption that the operation input is performed on the element. It is preferable.
または、操作入力が要素以外に対して行なわれた場合に、状態遷移処理手段はエラーを出力する処理を実行することが好ましい。 Alternatively, it is preferable that the state transition processing unit executes a process of outputting an error when the operation input is performed on an element other than the element.
本発明の他の局面に従うと、コンテンツデータ表示装置における処理プログラムは、操作入力を受付けるための、ポインタとキーとを含む、複数の種類の操作入力手段と、操作入力手段での操作入力に応じて行なう処理と、操作入力を受付けた時点の処理の状態から次に遷移する処理の状態とを特定する遷移情報を格納する状態遷移格納手段とを備えるコンテンツデータ表示装置に処理を実行させるためのプログラムであって、遷移情報で特定される処理の状態は、複数の種類の操作入力手段のうちの当該処理に対する操作入力を受付ける操作入力手段と、その操作入力手段の種類に応じた処理の段階とを含み、遷移情報は、各処理の状態ごとに、当該処理に対する操作入力を受付ける操作入力手段でのすべての操作入力のそれぞれについて、当該操作入力によって特定された位置がレイアウトデータにより指定されている表示行内の範囲にあるコンテンツデータの要素と当該要素に設定されている属性とに応じて行なう処理および次に遷移する処理の状態を特定する情報であって、行なう処理を処理の状態の段階ごとに排他的に規定し、遷移情報は、ポインタで操作入力を受付ける処理の状態については、ポインタでの操作ごとに、ポインタで指定された位置がレイアウトデータにより指定されている表示行内の範囲にあるコンテンツデータの要素と当該要素に設定されている属性とに応じて行なう処理および次に遷移する処理の状態を特定し、ポインタ以外のキーを含むすべての操作入力手段での操作に対しては行なう処理および次に遷移する処理の状態がないと特定し、キーで操作入力を受付ける処理の状態については、キーでの操作ごとに、キーで指定された位置がレイアウトデータにより指定されている表示行内の範囲にあるコンテンツデータの要素と当該要素に設定されている属性とに応じて行なう処理および次に遷移する処理の状態を特定し、キー以外のポインタを含むすべての操作入力手段での操作に対しては行なう処理および次に遷移する処理の状態がないと特定し、1以上の要素を含むコンテンツデータを表示する表示ステップと、操作入力手段において、コンテンツデータに含まれる要素に対する操作入力を受付ける操作入力ステップと、操作入力に応じて上記情報で特定される処理を行ない、操作入力を受付けた時点の処理の状態から遷移情報で特定される次の処理の状態に遷移する処理を実行する状態遷移処理ステップとを実行させ、状態遷移処理ステップでは、ポインタで操作入力を受付ける処理の状態においてポインタでの操作入力を受付けると、遷移情報で特定される処理を行ないかつ遷移情報で特定される次の処理の状態に遷移し、ポインタ以外のキーを含むいずれの操作入力手段での操作入力を受付けても行なう処理および遷移を実行せず、キーで操作入力を受付ける処理の状態においてキーでの操作入力を受付けると、遷移情報で特定される処理を行ないかつ遷移情報で特定される次の処理の状態に遷移し、キー以外のポインタを含むいずれの操作入力手段での操作入力を受付けても行なう処理および遷移を実行しない。 According to another aspect of the present invention, the processing program in the content data display device is responsive to a plurality of types of operation input means including a pointer and a key for receiving an operation input, and the operation input by the operation input means. And a state transition storage means for storing transition information for specifying transition information for specifying the state of the next transition from the state of the processing at the time when the operation input is received. The state of the process specified by the transition information is an operation input unit that accepts an operation input for the process among a plurality of types of operation input units, and a process stage corresponding to the type of the operation input unit wherein the door, the transition information for each state of each process for each of all the operation input in the operation input unit for accepting an operation input to the process The state of the process the position specified by the operation input is shifted to the process and the next performed according to the attributes set for the element and the element of the content data in range display row specified by the layout data This is information that specifies the processing to be performed exclusively for each stage of the processing state, and the transition information is specified by the pointer for each operation with the pointer for the processing state that accepts the operation input by the pointer. Specify the status of the processing to be performed and the next transition processing according to the element of the content data whose position is in the range within the display line specified by the layout data and the attribute set for the element, and other than the pointer Identifies that there is no state of the process to be performed and the process to transition to for the operation with all operation input means including the key, Regarding the state of processing to accept operation input, for each operation with the key, the content data element in the range within the display line specified by the layout data and the attribute set in the element are specified by the key Identifies the state of the process to be performed and the next transition process, and specifies that there is no state of the process to be performed and the process to be transitioned to for the operation with all operation input means including pointers other than keys. processing, and a display step of displaying the content data includes one or more elements, the operation input unit, an operation input step of accepting an operation input to the elements included in the content data, specified by the information in accordance with an input Executes the process that transitions from the process state at the time when the operation input is accepted to the next process state specified by the transition information. That the state transition process and to the execution step, the state transition process step, when receiving an operation input by a pointer in the state of a process of accepting an operation input with the pointer, identified by performed and transition information the process specified by the transition information The process is not performed even if an operation input is received by any operation input means including a key other than the pointer, and the process is not performed, and the key is not accepted in the process of accepting the operation input by the key. When the operation input is received, the process specified by the transition information is performed, the process proceeds to the next process specified by the transition information, and the operation input by any operation input means including a pointer other than the key is received. The process and transition to be performed are not executed .
本発明のさらに他の局面に従うと、コンピュータ読取可能な記録媒体は、操作入力を受付けるための、ポインタとキーとを含む、複数の種類の操作入力手段と、操作入力手段での操作入力に応じて行なう処理と、操作入力を受付けた時点の処理の状態から次に遷移する処理の状態とを特定する遷移情報を格納する状態遷移格納手段とを備えるコンテンツデータ表示装置における処理プログラムを記録した記録媒体であって、遷移情報で特定される処理の状態は、複数の種類の操作入力手段のうちの当該処理に対する操作入力を受付ける操作入力手段と、その操作入力手段の種類に応じた処理の段階とを含み、遷移情報は、各処理の状態ごとに、当該処理に対する操作入力を受付ける操作入力手段でのすべての操作入力のそれぞれについて、当該操作入力によって特定された位置がレイアウトデータにより指定されている表示行内の範囲にあるコンテンツデータの要素と当該要素に設定されている属性とに応じて行なう処理および次に遷移する処理の状態を特定する情報であって、行なう処理を処理の状態の段階ごとに排他的に規定し、遷移情報は、ポインタで操作入力を受付ける処理の状態については、ポインタでの操作ごとに、ポインタで指定された位置がレイアウトデータにより指定されている表示行内の範囲にあるコンテンツデータの要素と当該要素に設定されている属性とに応じて行なう処理および次に遷移する処理の状態を特定し、ポインタ以外のキーを含むすべての操作入力手段での操作に対しては行なう処理および次に遷移する処理の状態がないと特定し、キーで操作入力を受付ける処理の状態については、キーでの操作ごとに、キーで指定された位置がレイアウトデータにより指定されている表示行内の範囲にあるコンテンツデータの要素と当該要素に設定されている属性とに応じて行なう処理および次に遷移する処理の状態を特定し、キー以外のポインタを含むすべての操作入力手段での操作に対しては行なう処理および次に遷移する処理の状態がないと特定し、1以上の要素を含むコンテンツデータを表示する表示ステップと、操作入力手段において、コンテンツデータに含まれる要素に対する操作入力を受付ける操作入力ステップと、操作入力に応じて上記情報で特定される処理を行ない、操作入力を受付けた時点の処理の状態から遷移情報で特定される次の処理の状態に遷移する処理を実行する状態遷移処理ステップとを実行させ、状態遷移処理ステップでは、ポインタで操作入力を受付ける処理の状態においてポインタでの操作入力を受付けると、遷移情報で特定される処理を行ないかつ遷移情報で特定される次の処理の状態に遷移し、ポインタ以外のキーを含むいずれの操作入力手段での操作入力を受付けても行なう処理および遷移を実行せず、キーで操作入力を受付ける処理の状態においてキーでの操作入力を受付けると、遷移情報で特定される処理を行ないかつ遷移情報で特定される次の処理の状態に遷移し、キー以外のポインタを含むいずれの操作入力手段での操作入力を受付けても行なう処理および遷移を実行しないプログラムを記録する。 According to still another aspect of the present invention, a computer-readable recording medium includes a plurality of types of operation input means including a pointer and a key for receiving an operation input, and an operation input by the operation input means. Recording a processing program in a content data display apparatus comprising state transition storage means for storing transition information for specifying a process to be performed and a state of a process to transition next from a state of the process at the time when an operation input is received The state of the process specified by the transition information is an operation input unit that accepts an operation input for the process among a plurality of types of operation input units, and a process stage corresponding to the type of the operation input unit wherein the door, the transition information for each state of each process for each of all the operation input in the operation input unit for accepting an operation input to the process, those Determine the status of the process in which the position specified transitions to processing and subsequent performed in accordance with the attribute set to the element and the element of the content data in range display row specified by the layout data by the operation input The processing to be performed is defined exclusively for each stage of the processing state, and the transition information is specified by the pointer for each operation with the pointer for the processing state that accepts the operation input by the pointer. Keys other than pointers that specify the state of processing to be performed and the next transition processing depending on the content data element whose position is in the range within the display line specified by the layout data and the attribute set for the element Specify that there is no state of the process to be performed and the process to be transitioned to for the operation with all operation input means including As for the state of processing to accept input, for each operation with the key, the content data element in the range within the display line specified by the layout data and the attribute set for the element are specified with the key. The state of the process to be performed and the process to transition to next is specified, and it is specified that there is no state of the process to be performed and the process to transition to the next for operations with all operation input means including pointers other than keys. a display step of displaying the content data includes one or more elements, the operation input unit, an operation input step of accepting an operation input to the elements included in the content data, the process specified by the information in accordance with an input Execute the process that transitions from the state of the process at the time of receiving the operation input to the state of the next process specified by the transition information To execute the state transition processing step, the state transition process step, when receiving an operation input by a pointer in the state of a process of accepting an operation input pointer, are specified by the process is carried out for and transition information identified by the transition information Transitions to the next processing state, and does not execute the processing and transition that is performed even if an operation input with any operation input means including a key other than a pointer is received, and in the state of processing that accepts the operation input with the key, When an operation input is received, the process specified by the transition information is performed, the state is shifted to the next process specified by the transition information, and the operation input by any operation input means including a pointer other than the key is received. Records the programs that do not perform the processing and transitions to be performed .
以下に、図面を参照しつつ、本発明の実施の形態について説明する。以下の説明では、同一の部品および構成要素には同一の符号を付してある。それらの名称および機能も同じである。したがってそれらについての詳細な説明は繰返さない。 Embodiments of the present invention will be described below with reference to the drawings. In the following description, the same parts and components are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.
本発明にかかるコンテンツデータ表示装置としては、図1に示されるような電子書籍ビューワ、パーソナルコンピュータ、PDA(Personal Digital Assistants)、携帯電話機、およびゲーム機などが該当し、本実施の形態においては、主に電子書籍ビューワであるものとして説明を行なう。しかし、本発明は具体的にこれらの装置に限定されず、同様の機能を備える他の装置も含み得る。 Examples of the content data display device according to the present invention include an electronic book viewer, a personal computer, a PDA (Personal Digital Assistants), a mobile phone, and a game machine as shown in FIG. The description will be made mainly assuming that it is an electronic book viewer. However, the present invention is not specifically limited to these devices, and may include other devices having similar functions.
本実施の形態においては、図1に示されるように、操作入力手段としてタブレットペンと、上下キー、決定キー、およびキャンセルキーからなるキーとが備えられるものとする。 In the present embodiment, as shown in FIG. 1, it is assumed that a tablet pen and keys including an up / down key, a determination key, and a cancel key are provided as operation input means.
図2は、一般的なコンテンツデータ表示装置のハードウェア構成の具体例を示す図である。 FIG. 2 is a diagram illustrating a specific example of a hardware configuration of a general content data display device.
図2を参照して、本実施の形態にかかるコンテンツデータ表示装置は、全体を制御するCPU(Central Processing Unit)70、第1の操作入力手段であるタブレット73、マウス72、第2の操作入力手段であるキーボード78、情報表示手段であり、タブレット73と対になって第3の操作入力手段となるディスプレイ71、第4の操作入力手段ともなるマイク76、スピーカ80、CPU70で実行されるプログラムなどを記憶するROM(Read Only Memory),RAM(Random Access Memory),DRAM(Dynamic Random Access Memory)などのメモリデバイスやCPU70に内蔵されるメモリなどから構成される主記憶装置74、HDD(Hard Disc Drive),メモリカードなどの着脱可能な記録媒体などから構成される外部記憶装置75、およびネットワークを介して他の装置と通信を行なう通信デバイス77を含んで構成され、これらがバス79を介して接続されている。
Referring to FIG. 2, a content data display apparatus according to the present embodiment includes a central processing unit (CPU) 70 that controls the whole, a
本実施の形態にかかるコンテンツデータ表示装置は、図2に示されるハードウェア構成のうち、操作入力手段としてタブレット73およびディスプレイ71と、キーボード78との2種類の操作入力手段を備える装置であるものとして以降の説明を行なうが、本発明にかかるコンテンツデータ表示装置は上記2種類に限定されない2以上の複数種類の操作入力手段を備える装置である。
The content data display apparatus according to the present embodiment is an apparatus provided with two types of operation input means including a
本実施の形態にかかるコンテンツデータ表示装置において操作入力に対応する処理を行なうときの機能構成の具体例を図3に示す。図3に示される機能は、コンテンツデータ表示装置のCPU70が主記憶装置74に記憶されているプログラムを読出して実行することで実現される機能である。
FIG. 3 shows a specific example of a functional configuration when processing corresponding to an operation input is performed in the content data display apparatus according to the present embodiment. The function shown in FIG. 3 is a function realized by the
図3を参照して、本実施の形態にかかるコンテンツデータ表示装置の機能は、キーボード78に該当するキー入力部1と、ディスプレイ71およびタブレット73に該当するペン入力部5と、ディスプレイ71に該当する表示部14と、キー入力部1でのキーイベント(操作入力)を取得するキーイベント取得部2と、ペン入力部5でのペンイベントを取得するペンイベント取得部6と、キーイベントの対象である要素を探索するキーイベント対象要素探索部3と、ペンイベントの対象である要素を探索するペンイベント対象要素探索部7と、モード設定部4と、状態遷移に伴う処理を実行する状態遷移処理部8と、状態遷移に伴う処理のためのプログラムを記録する処理記録部15と、状態遷移表を記録する状態遷移表記録部9と、コンテンツデータ上に付加された属性であるユーザデータを記録するユーザデータ記録部11と、表示するコンテンツデータを読込むコンテンツデータ読込部10と、表示部14で表示するためのデータであるレイアウトデータを生成するレイアウトデータ生成部12と、表示部14で表示するレイアウトデータを記録する表示用メモリであるレイアウトデータ記録部13とを含んで構成される。
With reference to FIG. 3, the function of the content data display device according to the present embodiment corresponds to the
状態遷移表記録部9に記録される状態遷移表は、モードとイベントとイベントの対象となる要素との3つのパラメータから、実行すべき処理と次に移行するモードとを特定する、テーブル形式の情報である。
The state transition table recorded in the state transition
モードは、マーク作成中、開始位置選択中、終了位置選択中、通常状態などの操作状態を示す状態モードに応じたものであり、さらに、本実施の形態にかかるコンテンツ表示装置のように複数の操作入力手段を備える装置の場合には、カーソルモードまたはペンモードなどの操作入力手段の有効状態を示す入力モードが含まれる。状態遷移表は、モードごとにイベントとイベントの対象となる要素とで実行すべき処理と次に移行するモードとを特定する。 The mode corresponds to a state mode indicating an operation state such as mark creation, start position selection, end position selection, normal state, and the like, and a plurality of modes as in the content display device according to the present embodiment. In the case of an apparatus including an operation input unit, an input mode indicating the valid state of the operation input unit such as a cursor mode or a pen mode is included. The state transition table specifies a process to be executed by an event and an element that is a target of the event and a mode to be transferred next for each mode.
イベントとは操作入力手段において発生した操作入力の内容を示し、状態遷移表のパラメータであるイベントは、モードに関わらず各モードに共通する。本実施の形態にかかるコンテンツ表示装置のように複数の操作入力手段を備える装置の場合、状態遷移表のパラメータであるイベントには、当該複数の操作入力手段の各々で発生するイベントすべてが含まれることが好ましい。同様に、状態遷移表のパラメータである要素も、モードおよびイベントに関わらず各モードに共通し、コンテンツデータを構成するすべての要素が含まれることが好ましい。なお、状態遷移表については後に具体例を挙げて説明する。 The event indicates the content of the operation input generated in the operation input means, and the event that is a parameter of the state transition table is common to each mode regardless of the mode. In the case of an apparatus having a plurality of operation input means such as the content display apparatus according to the present embodiment, the events that are parameters of the state transition table include all events that occur in each of the plurality of operation input means. It is preferable. Similarly, it is preferable that the elements that are parameters of the state transition table are common to each mode regardless of the mode and the event, and include all elements constituting the content data. The state transition table will be described later with a specific example.
キーイベント取得部2およびペンイベント取得部6は、各々、キー入力部1およびペン入力部5からの入力信号を受信し、キーイベントおよびペンイベントを取得する。そして、該入力信号に対応して、各々、キーイベント取得信号およびペンイベント取得信号をキーイベント対象要素探索部3およびペンイベント対象要素探索部7に入力する。または、受信した該入力信号が入力モードを設定するのための操作入力を示す入力信号である場合には、キーイベント取得信号およびペンイベント取得信号をモード設定部4に入力する。
The key
キーイベント対象要素探索部3およびペンイベント対象要素探索部7は、キーイベント取得信号およびペンイベント取得信号に基づいて、コンテンツデータの中からキーイベントの対象である要素、つまりキー入力部1で指定された要素、およびペンイベントの対象である要素、つまりペン入力部5で指定された要素を探索し、該要素を示す要素信号を状態遷移処理部8に入力する。
Based on the key event acquisition signal and the pen event acquisition signal, the key event target
また、モード設定部4は、キーイベント取得信号およびペンイベント取得信号に基づいて、操作入力を有効とする操作入力手段がキー入力部1であるカーソルモード、またはペン入力部5であるペンモードに、入力モードを設定し、該入力モードを示すモード信号を状態遷移処理部8に入力する。
In addition, the
状態遷移処理部8は、入力された要素信号、入力モードを示すモード信号、および現在の状態モードに基づいて、状態遷移表記録部9に記録されている状態遷移表を参照して実行するべき処理を特定する。該処理に必要なプログラムを処理記録部15から読出して実行し、ユーザデータを生成する。生成されたユーザデータは、ユーザデータ記録部11に記録される。
The state
ユーザデータの一例としては、図4に示されるように、ユーザ操作によって要素に付加された属性ごとのユーザデータ300,301からなり、マークやマスクなどの属性の種類を示す種類、属性を一意に特定するためのID、電子データ中で属性を付加する要素を特定する情報である開始バイト位置およびバイトサイズ、マークやマスクの色などの情報を含む。なお、上記IDは、メモリ上のアドレスやファイルのアドレスなどであってもよい。
As an example of user data, as shown in FIG. 4,
また、状態遷移処理部8は、状態遷移表を参照して次に移行する状態モードを読取り、該状態モードにて次の処理を待機する。
The state
コンテンツデータ読込部10は、主記憶装置74や外部記憶装置75、通信デバイス77を介した通信先などから図5に示されるような必要なコンテンツデータを読込む。図5に示されるコンテンツデータは図1の画面に表わされたコンテンツに該当するHTML(Hypertext Markup Language)形式のコンテンツデータの具体例であって、その他の、XML(Extensible Markup Language)形式などのテキスト形式や、バイナリ形式などのデータであってもよい。
The content
レイアウトデータ生成部12は、コンテンツデータ読込部10で読込まれたコンテンツデータと、ユーザデータ記録部11に記録されているユーザデータとに基づいて該コンテンツを表示するためのレイアウトデータを生成する。具体的には、図6および図7に示されるような、要素データおよび行データのような形式のレイアウトデータが生成される。図6および図7は、図1の画面に表わされたコンテンツに該当するコンテンツデータと、図4に示されたユーザデータとに基づいて生成される要素データおよび行データの具体例である。
The layout
要素データは、図6に示されるように、コンテンツに含まれる各文字や各画像の要素データ120〜128からなり、文字や画像などの要素種類を示す種類、電子データ中の開始位置を示す開始バイト、必要なデータ量を示すバイトサイズ、行内での位置を示すオフセットX,オフセットY、幅、高さ、文字色、背景色、リンクやマスクなどの選択されることでアクションが実行される属性であるイベント、および内容などの情報を含む。これらの情報のうち、文字色、背景色やイベントなどの情報は、ユーザデータでの指定に基づいて生成される場合もある。その場合、イベントにおいてはユーザデータに含まれるID情報が含されている。なお、図1に示されるように、イベントが付加されている要素である文字列(「リンク」)には下線が付されてもよいし、要素データに、さらに下線の有無を示す情報が含まれてもよい。
As shown in FIG. 6, the element data is composed of
行データは、図7に示されるように、表示行ごとの行データ200,201からなり、行高さ、下の行との間隔である下行間、当該行の開始要素を配置可能な位置を示す配置可能開始位置、当該行の終了要素を配置可能な位置を示す配置可能終了位置、当該行に含まれる要素の数である要素数、および当該行における要素の配列を特定する要素配列などの情報を含む。
As shown in FIG. 7, the line data is composed of
表示部14は、レイアウトデータ記録部13に記録されたレイアウトデータを読出して表示する。
The
図8を用いて、本実施の形態にかかるコンテンツデータ表示装置において範囲指定操作が行なわれたときに実行される範囲指定処理について説明する。図8に示される処理は、CPU70が主記憶装置74に記憶されるプログラムを読出して実行し、図3に示される各部を機能させることによって実現される。
With reference to FIG. 8, a description will be given of a range designation process executed when a range designation operation is performed in the content data display apparatus according to the present embodiment. The processing shown in FIG. 8 is realized by causing the
なお、範囲指定とは、たとえば表示中の文字列に下線や打消し線やマーク(該範囲の情報の色を変更して強調する機能)やマスク(該範囲の情報を塗りつぶして隠す機能)などの属性を付加/削除するときなどに行なう操作であって、該当する範囲の開始位置と終了位置とを指定することで、その間の範囲を指定する操作を指す。 The range designation is, for example, an underline, a strike-through line, a mark (a function for emphasizing the information in the range by changing the color) or a mask (a function for painting out and hiding the information in the range). This is an operation to be performed when adding / deleting the attribute, and by designating the start position and end position of the corresponding range, the operation specifies the range between them.
図8を参照して、始めに、ステップS1において、表示対象となるコンテンツデータがコンテンツデータ読込部10によって読込まれ、表示部14において表示される。そして、CPU70においては、ステップS2で、予めデフォルト設定されている初期モードが設定される。
Referring to FIG. 8, first, in step S <b> 1, content data to be displayed is read by content
なお、ステップS2では、デフォルト設定されている初期モードに替えて、ユーザ操作によって指定されたモードに切替えてもよい。具体的には、図9および図10に示されるように、アイコン指定を受付けてペンモードまたはカーソルモードに入力モードを切替えてもよいし、メニュー指定を受付けて入力モードを切替えてもよい。あるいは、状態モードが通常状態やマーク/マスク開始位置決定モード時に、キーイベントやペンイベントを取得すると自動的に入力モードを切替えてもよい。状態モードも同様に切替えてもよい。なお、上記の切替え処理は、以下のステップS3からステップS8のループ処理の説明では特に説明していないが、必要に応じて処理を追加してもよい。 In step S2, the mode may be switched to a mode designated by a user operation instead of the default mode set as default. Specifically, as shown in FIGS. 9 and 10, the icon designation may be accepted to switch the input mode to the pen mode or the cursor mode, or the menu designation may be accepted to switch the input mode. Alternatively, the input mode may be automatically switched when a key event or a pen event is acquired when the state mode is the normal state or the mark / mask start position determination mode. The state mode may be switched similarly. Note that the above switching processing is not particularly described in the description of the loop processing from step S3 to step S8 below, but processing may be added as necessary.
ステップS3で、キーイベント取得部2および/またはペンイベント取得部6でキー入力部1および/またはペン入力部5からの入力信号を受信してイベントが取得される。ステップS3で取得されたイベントがキーイベントである場合には(ステップS4でY)、処理はポイントP2−1に進み、ステップS5でキーイベント対象要素探索部3において表示部14に表示されているレイアウトデータの中からキーイベントの対象要素が探索される。なお、ステップS5での処理については、後にさらにフローチャートを用いて説明する。
In step S3, the key
また、ペンイベントである場合には(ステップS4でN)、処理はポイントP2−2に進み、ステップS6でペンイベント対象要素探索部3においてペンイベントの対象要素が探索される。なお、ステップS6での処理についても、後にさらにフローチャートを用いて説明する。
If it is a pen event (N in step S4), the process proceeds to point P2-2, and the pen event target
その後、処理はポイントP3に進み、ステップS7で、状態遷移処理部8において、現在のモード、ステップS3で取得されたイベント、およびステップS5またはステップS6で探索されたイベント対象要素に基づいて状態遷移表記録部9に記録される状態遷移表に従って処理が特定され、実行される。また、次の状態モードが設定される。ここでの処理の結果は、ユーザデータとしてユーザデータ記録部11に記録される。
Thereafter, the process proceeds to point P3. In step S7, state
ステップS7で設定された状態モードが処理終了モードになるまで(ステップS8でN)、処理はポイントP1に戻されてステップS3〜ステップS7が繰返され、範囲指定が行なわれる。そして、ステップS7で設定された状態モードが処理終了モードになると(ステップS8でY)、ステップS9で、状態遷移処理部8において終了処理が実行され、範囲指定が完了する。処理終了とは、たとえば、別のコンテンツデータの表示に差替える処理や、コンテンツデータ表示プログラムやコンテンツデータ表示装置を終了させる処理などがある。
Until the state mode set in step S7 becomes the process end mode (N in step S8), the process is returned to the point P1, and steps S3 to S7 are repeated to specify the range. When the state mode set in step S7 becomes the process end mode (Y in step S8), the end process is executed in the state
上記ステップS5での処理について、図11のフローチャートを用いて説明する。 The process in step S5 will be described with reference to the flowchart in FIG.
図11を参照して、キーイベントの対象要素を求める場合、表示中にカーソルまたはフォーカス(選択状態表示)が存在する状態で決定キーが押された場合(ステップS5−1でY、かつステップS5−2でY)、そのカーソルまたはフォーカス位置にある要素を取得し(ステップS5−3)、その要素を対象要素として処理をポイントP3へ返す(ステップS5−8)。 Referring to FIG. 11, when the target element of the key event is obtained, the determination key is pressed while the cursor or focus (selection state display) exists during display (Y in step S5-1 and step S5). -2), the element at the cursor or focus position is acquired (step S5-3), and the process is returned to the point P3 with the element as the target element (step S5-8).
一方、表示中にカーソルまたはフォーカスが存在する状態で上下左右キーが押された場合(ステップS5−1でY、かつステップS5−2でN)、上下左右キーで指定された方向に要素が存在したら(ステップS5−4でY)その方向の要素を取得し(ステップS5−5)、その要素を対象要素として処理をポイントP3へ返す(ステップS5−8)。上下左右キーで指定された方向に要素が存在しないときには(ステップS5−4でN)、カーソルまたはフォーカス位置にある要素を取得し(ステップS5−3)、その要素を対象要素として処理をポイントP3へ返す(ステップS5−8)。 On the other hand, if the up / down / left / right key is pressed while the cursor or focus is being displayed (Y in step S5-1 and N in step S5-2), an element exists in the direction specified by the up / down / left / right key. Then (Y in step S5-4), the element in the direction is acquired (step S5-5), and the process is returned to the point P3 with the element as the target element (step S5-8). When there is no element in the direction designated by the up / down / left / right key (N in step S5-4), the element at the cursor or the focus position is acquired (step S5-3), and the process is pointed to that element as the target element P3. (Step S5-8).
なお、表示中にカーソルもフォーカスも存在しない場合には(ステップS5−1でN)、対象要素を「無効要素」として(ステップS5−2)処理をポイントP3へ返す。 If neither the cursor nor the focus exists during the display (N in step S5-1), the target element is set to “invalid element” (step S5-2), and the process is returned to point P3.
上記ステップS6での処理について、図12のフローチャートを用いて説明する。 The process in step S6 will be described with reference to the flowchart in FIG.
図12を参照して、タッチされているペン位置に要素が存在する場合(ステップS6−1でY)、そのペン位置にある要素を取得し(ステップS6−2)、その要素を対象要素として処理をポイントP3へ返す(ステップS6−6)。 Referring to FIG. 12, when an element is present at the touched pen position (Y in step S6-1), the element at the pen position is acquired (step S6-2), and the element is set as a target element. The process returns to point P3 (step S6-6).
一方、タッチされているペン位置に要素が存在しない場合(ステップS6−1でN)、ペン位置が余白である場合には(ステップS6−3でY)、ペン位置に最も近い位置に存在する要素を取得し(ステップS6−4)、その要素を対象要素として処理をポイントP3へ返す(ステップS6−6)。ペン位置が余白でない場合には(ステップS6−3でN)、対象要素を「無効要素」として(ステップS6−5)処理をポイントP3へ返す。 On the other hand, if there is no element at the touched pen position (N in step S6-1), if the pen position is a blank (Y in step S6-3), the pen position is present at the closest position. The element is acquired (step S6-4), and the process is returned to the point P3 with the element as a target element (step S6-6). If the pen position is not a margin (N in step S6-3), the target element is set as an “invalid element” (step S6-5), and the process is returned to point P3.
次に、状態遷移表記録部9に記録される状態遷移表のうち、ペンモードでマーク作成のための範囲指定を行なう際に用いる状態遷移表の具体例を図13,14に挙げる。なお、説明の便宜上、状態遷移表の具体例を図13,14の2図に分けて示しているが、これらの表は連続した1つの表であってよい。また、本実施の形態においては、状態遷移表をテーブル形式の情報であるものとしているが、以降に説明するように、所定数のパラメータで次の状態遷移が特定できる情報であればテーブル形式に限定されず、その他の形式の情報であってよい。
Next, specific examples of the state transition table used when specifying a range for creating a mark in the pen mode among the state transition tables recorded in the state transition
先述のように、状態遷移表は、モードと取得されたイベントとイベント対象要素との3つのパラメータから実行すべき処理、および次に移行するモードを特定する表であって、図13,14に示される状態遷移表は、モード「マーク作成・開始位置選択中モード」,「マーク作成・終了位置選択中モード」の各モードに応じた状態遷移表である。すなわち、図13は、状態モード「マーク作成・開始位置選択中モード」、入力モード「ペンモード」に応じたモードに対応する状態遷移表の具体例であって、図14は、状態モード「マーク作成・終了位置選択中モード」、入力モード「ペンモード」に応じたモードに対応する状態遷移表の具体例である。 As described above, the state transition table is a table for specifying the process to be executed from the three parameters of the mode, the acquired event and the event target element, and the mode to be transferred next. The state transition table shown is a state transition table corresponding to each of the modes “mode during mark creation / start position selection” and “mode during mark creation / end position selection”. That is, FIG. 13 is a specific example of the state transition table corresponding to the mode corresponding to the state mode “mark creation / start position selecting mode” and the input mode “pen mode”. FIG. It is a specific example of a state transition table corresponding to a mode corresponding to a “creation / end position selection mode” and an input mode “pen mode”.
パラメータの1つである「イベント」にはモードに関わらず各入力手段(ペン、キーボード)での操作入力内容のすべてが含まれ、ここでは、ペンダウンと、ペンドラッグ(微小移動)と、ペンドラッグ(大移動)と、ペンアップと、上下左右キーと、決定キーとの6イベントが含まれる。なお、ペンドラッグ(微小移動)とは、ある要素内にペンダウンした後にペンが移動するイベントであって、ペンダウン位置から現在のペン位置までの距離が微小であるイベントを指す。「微小距離」の定義は様々考えられるが、たとえば、要素の縦または横の小さい方のサイズの半分を超えるかどうかで判断する、などの定義が挙げられる。また、ペンドラッグ(大移動)は、ペンダウンした要素から別の要素内にペン位置が移動するイベントを指す。
“Event”, which is one of the parameters, includes all of the operation input contents of each input means (pen, keyboard) regardless of the mode. Here, pen down, pen drag (minute movement), and
パラメータの1つである「要素」にはモード・イベントに関わらずコンテンツを構成するすべての要素が含まれ、ここでは、通常文字と、マークと、マスクと、リンクと、画像との5要素が含まれる。 “Element”, which is one of the parameters, includes all the elements that make up the content regardless of the mode / event. Here, there are five elements: normal characters, marks, masks, links, and images. included.
モードがペンモードでマーク作成・開始位置選択中モードである場合、最初に有効なイベントはマーク作成のための開始位置を指定するペンダウンであり、有効な要素はマーク作成が許されている通常文字のみである。そのため、マーク作成・開始位置選択中モードにおいて通常文字にペンダウンされると、図13を参照して、モード「ペンモード」,「マーク作成・開始位置選択中モード」、イベント「ペンダウン」、および要素「通常文字」の3つのパラメータで、状態遷移表において実行すべき処理および次に移行するモードが開始位置決定処理およびマーク終了位置選択中モードと特定される。より詳しくは、状態遷移表において、実行すべき処理に対応するプログラムが格納されているアドレス、および次のモードに移行させるために実行されるプログラムが格納されているアドレスが特定されることで、これらの処理およびモードが特定される。 When the mode is the pen mode and the mark creation / start position selection mode is selected, the first valid event is a pendown that specifies the start position for mark creation, and valid elements are normal characters that are allowed to create a mark. Only. For this reason, when the pen is downed to a normal character in the mark creation / start position selection mode, referring to FIG. 13, the mode “pen mode”, “mark creation / start position selection mode”, event “pen down”, and element With the three parameters “normal characters”, the process to be executed in the state transition table and the mode to be transferred next are specified as the start position determination process and the mark end position selecting mode. More specifically, in the state transition table, an address where a program corresponding to a process to be executed is stored and an address where a program to be executed to shift to the next mode is specified. These processes and modes are specified.
その他のペンイベント(ペンドラッグ、ペンアップ)は発生することがないため、イベント「ペンドラッグ」,「ペンアップ」では、特定される状態が定義されていない。また、要素が、マーク作成が許されていないマーク、マスク、リンク、および画像である場合には、実行すべき処理が、エラーダイアログ表示処理と特定される。このとき、移行する次のモードが指定されていないので、現在のモードを継続すると特定される。 Since other pen events (pen dragging and pen-up) do not occur, the events “pen dragging” and “pen-up” do not define a specified state. If the element is a mark, a mask, a link, and an image that are not permitted to create a mark, the process to be executed is specified as an error dialog display process. At this time, since the next mode to be transferred is not designated, it is specified that the current mode is continued.
モードがペンモードでマーク作成・終了位置選択中モードに移行したときには開始位置として決定された通常文字にペンダウンされた状態であるので、有効なイベントはペンドラッグおよびペンアップである。また、ペンドラッグ(微小移動)は、ドラッグの開始が通常文字であるために、通常文字以外の要素では発生しない。そのため、図14を参照して、イベント「ペンダウン」のパラメータのときと、イベント「ペンドラッグ(微小移動)」および要素「通常文字」以外のパラメータのときとは、状態遷移表においては特定される状態が定義されていない。また、通常文字内のペンドラッグ(微小移動)はユーザの誤操作とみなして処理を行なわないものと予め定めると、イベント「ペンドラッグ(微小移動)」および要素「通常文字」のパラメータでは、状態遷移表においては実行すべき処理がないと指定されている。また、移行する次のモードが指定されていない。より詳しくは、状態遷移表において、実行すべき処理に対応するプログラムが格納されているアドレスとして処理が空のアドレスが特定されることで実行すべき処理がないことが特定される。また、および次のモードに移行させるために実行されるプログラムが格納されているアドレスとして処理が空のアドレスが特定されることで、次のモードを指定せずに現在のモードを継続することが特定される。 When the mode is changed to the mark creation / end position selecting mode in the pen mode, the normal character determined as the start position is in the pen-down state, so that the valid events are pen drag and pen up. In addition, the pen drag (minute movement) does not occur in elements other than the normal character because the start of the drag is a normal character. Therefore, referring to FIG. 14, when the parameter is the event “pen down” and when the parameter is a parameter other than the event “pen drag (minute movement)” and the element “normal character”, it is specified in the state transition table. The state is not defined. If it is determined in advance that pen dragging (minor movement) within a normal character is regarded as an erroneous operation by the user and processing is not performed, the state transition is performed for the parameters of the event “pen dragging (minor movement)” and the element “ordinary character”. In the table, it is specified that there is no processing to be executed. Also, the next mode to be transferred is not specified. More specifically, in the state transition table, it is specified that there is no process to be executed by specifying an empty address as an address where a program corresponding to the process to be executed is stored. In addition, the current mode can be continued without specifying the next mode by specifying an empty address as the address where the program to be executed to shift to the next mode is stored. Identified.
マークの作成は通常文字列に許可され通常文字列以外の要素に許可されていないので、マーク作成・終了位置選択中モードにおいて通常文字からペンドラッグ(大移動)されると、図14を参照して、モード「ペンモード」,「マーク作成・終了位置選択中モード」、イベント「ペンドラッグ(大移動)」、および要が「通常文字」の3つのパラメータで、状態遷移表において実行すべき処理が反転表示処理と特定される。また、要素が通常文字以外のパラメータで、実行すべき処理実行すべき処理が該要素の直前までの反転表示処理と特定される。なお、ここでいう「直前」とは、指定範囲に最初に含まれなくなる要素の直前という意味である。 Since creation of a mark is permitted for a normal character string and is not permitted for elements other than the normal character string, if the pen is dragged (largely moved) from a normal character in the mark creation / end position selection mode, refer to FIG. Processing to be executed in the state transition table with three parameters: mode “pen mode”, “mark creation / end position selection mode”, event “pen dragging (large movement)”, and “normal character” in essence Is identified as a reverse display process. In addition, when the element is a parameter other than a normal character, the process to be executed is specified as the reverse display process until immediately before the element. Here, “immediately before” means immediately before an element that is not included in the designated range first.
モードがマーク作成・終了位置選択中モードである場合、指定中の範囲からペンアップされたときに、該指定範囲がマークを付加する範囲と決定される。そのため、マーク作成・終了位置選択中モードにおいてペンアップされると、図14を参照して、モード「ペンモード」,「マーク作成・終了位置選択中モード」、およびイベント「ペンアップ」で、要素がいずれの要素のときも、その3つのパラメータで、状態遷移表において実行すべき処理および次に移行するモードが反転部分のマーク作成処理および処理終了モードと特定される。 When the mode is the mark creation / end position selection mode, the specified range is determined as a range to which a mark is added when pen-up is performed from the specified range. Therefore, when a pen-up is performed in the mark creation / end position selecting mode, the elements in the mode “pen mode”, “mark creation / end position selection mode”, and event “pen-up” are referred to with reference to FIG. Is any element, the three parameters specify the process to be executed in the state transition table and the mode to be transferred next as the mark creation process and the process end mode of the inverted portion.
なお、イベント「ペンモード」で有効なイベントでないキーイベント(上下左右キー、決定キー)のときには、図13,14に示される状態遷移表において実行すべき処理がないと指定されている。また、移行する次のモードが指定されていない。 In the event of a key event (up / down / left / right key, determination key) that is not an effective event in the event “pen mode”, it is specified in the state transition table shown in FIGS. Also, the next mode to be transferred is not specified.
状態遷移表においてこのように指定することで、ペンモードのときにキーイベントを取得しても処理が実行されず、動作上はペンモードとカーソルモードとを排他的にすることができる。このことより、複数の操作入力手段を備えるコンテンツデータ表示装置において、操作を容易にでき、誤作動・誤入力を防止できる。 By specifying in this way in the state transition table, processing is not executed even if a key event is acquired in the pen mode, and the pen mode and the cursor mode can be made exclusive in operation. As a result, in the content data display device including a plurality of operation input means, the operation can be facilitated, and malfunction / incorrect input can be prevented.
かかる状態遷移表において特定される処理に対応するプログラムは処理記録部15に記憶されている。状態遷移処理部8は状態遷移表にしたがって処理を特定し、対応するプログラムを処理記録部15から読出して実行する。
A program corresponding to the process specified in the state transition table is stored in the process recording unit 15. The state
図13,14に示される状態遷移表を用いてペンモードでマーク作成のための範囲指定を行なう操作および表示部14に表示される画面の遷移を、具体例を挙げて説明する。
The operation for specifying a range for creating a mark in the pen mode using the state transition table shown in FIGS. 13 and 14 and the transition of the screen displayed on the
始めに、図15に示されるように、ペンモードでマーク作成・開始位置選択中モードであるときに、ペンイベント取得部6において表示中のコンテンツの通常文字部分にペンダウンされたことが取得されると、モード「ペンモード」,「マーク作成・開始位置選択中」、イベント「ペンダウン」、および要素「通常文字」であるので、状態遷移処理部8において、図13に示される状態遷移表より、この3つのパラメータより処理「開始位置決定処理」と、次に移行するモード「マーク終了位置選択中モード」とが特定され、必要なプログラムが処理記録部15より読出されて実行される。その結果、ペンダウンされた要素である文字がマーク開始位置に決定される。
First, as shown in FIG. 15, when the mark creation / starting position selection mode is selected in the pen mode, the pen
ペンモードでマーク作成・開始位置選択中モードであるときに、ペンイベント取得部6において表示中のコンテンツの画像にペンダウンされたことが取得されると、モード「ペンモード」,「マーク作成・開始位置選択中」、イベント「ペンダウン」、および要素「画像」であるので、状態遷移処理部8において、図13に示される状態遷移表より、この3つのパラメータより処理「エラーダイアログ表示処理」が特定され、必要なプログラムが処理記録部15より読出されて実行される。また、移行する次のモードが指定されていないので、現在のマーク作成・開始位置選択中モードを継続する。つまり、これは、マークは通常文字上のみに付加が許可されているときに、マーク開始位置として画像を指定した場合であって、図16に示されるように、エラーダイアログが表示される。なお、これは、マークが付加された要素、マスクが付加された要素、およびリンクが付加された要素のいずれの要素が指定されたときも同様であって、「エラーダイアログ表示処理」のためのプログラムであって、画像が指定されたときに実行されるプログラムと共通したプログラムが処理記録部15より読出されて実行され、同様のエラーダイアログが表示される。
When it is in the mark creation / start position selection mode in the pen mode and the pen
また、ペンダウンした位置において要素内でユーザがドラッグを意図しない程度の微小長さペンドラッグしてしまった場合、つまりイベントとしてペンドラッグ(微小移動)が取得された場合、モード「ペンモード」,「マーク作成・終了位置選択中」、イベント「ペンドラッグ(微小移動)」、および要素「通常文字」であるので、状態遷移処理部8において、図14に示される状態遷移表より、この3つのパラメータより実行すべき処理がないと特定される。その結果、ペン入力特有のユーザの意図しない移動による誤入力を容易に防ぐことできる。
In addition, when the user drags a micro-length pen drag that is not intended to be dragged in the element at the pen-down position, that is, when a pen drag (micro-movement) is acquired as an event, the mode “pen mode”, “ Since the mark creation / end position selection is in progress, the event is “pen drag (minute movement)”, and the element is “normal character”, the state
次に、図17,18に示されるように、ペンモードでマーク作成・終了位置選択中モードであるときに、ペンイベント取得部6において表示中のコンテンツの通常文字部分がペンドラッグ(大移動)されたことが取得されると、モード「ペンモード」,「マーク作成・終了位置選択中」、イベント「ペンドラッグ(大移動)」、および要素「通常文字」であるので、状態遷移処理部8において、図14に示される状態遷移表より、この3つのパラメータより処理「反転表示処理」が特定され、必要なプログラムが読出されて実行される。また、移行する次のモードが指定されていないので、現在のモードを継続すると特定される。
Next, as shown in FIGS. 17 and 18, when the mark creation / end position selection mode is selected in the pen mode, the normal character portion of the content being displayed in the pen
「反転表示処理」は、たとえば、開始位置の要素から終了位置の要素までの各要素に対して、文字色と背景色とを反転させればよい。開始位置の要素から終了位置の要素までの各要素は、開始位置の要素が含まれる行データの要素配列において、開始位置の要素から順方向に見ていき、終了位置の要素に至るまでの要素となる。選択範囲が複数行に及ぶ場合は、順に次の行データの要素配列を見ていけばよい。 In the “reverse display process”, for example, the character color and the background color may be reversed for each element from the element at the start position to the element at the end position. Each element from the start position element to the end position element is the element from the start position element to the end position element in the row data element array containing the start position element. It becomes. When the selection range covers a plurality of lines, it is sufficient to look at the element array of the next line data in order.
図19に示されるように、行間がペンドラッグされた場合、ペン位置は行間なのでどの要素内にも位置しないが、図12のステップS6−4の処理が実行され、ペン位置から一番近い要素がイベント対象要素として取得されて、同様に反転表示処理が実行される。このため、先に述べたようなペンダウンを行なうことなくペンドラッグから範囲指定操作が開始されている状態が回避され、処理や操作が複雑になるのを防ぐことができる。つまり、文字間や行間、周囲はいずれかの要素に含まれるとすることで、このような状態が回避できる効果がある。 As shown in FIG. 19, when the line space is dragged with a pen, the pen position is not in any element because the line position is between lines. However, the process of step S <b> 6-4 in FIG. Is acquired as the event target element, and the reverse display process is executed in the same manner. For this reason, it is possible to avoid the state where the range designation operation is started from the pen drag without performing the pen down as described above, and it is possible to prevent the processing and operation from becoming complicated. In other words, it is possible to avoid such a state by including the character spacing, line spacing, and surroundings as one of the elements.
また、図20に示されるように、余白がペンダウン/ペンドラッグされた場合に、エラーダイアログを表示してもよい。同様に、文字間や行間などがペンドラッグされた場合に、エラーダイアログを表示してもよい。これは、図13,14に示される状態遷移表の要素の列に文字間、行間、余白などの列を追加して、イベントがペンダウン/ペンドラッグであるときにエラーダイアログ表示処理が特定されるようにすることで容易に実現できる。または、ステップS6の対象要素を求める処理において、ステップS6−4,S6−5でエラーダイアログ表示処理を実行することでも実現できる。このようにしても、先に述べたようなペンダウンを行なうことなくペンドラッグから範囲指定操作が開始されている状態が回避され、処理や操作が複雑になるのを防ぐことができる。 As shown in FIG. 20, an error dialog may be displayed when the margin is pen-down / pen-dragged. Similarly, an error dialog may be displayed when a space between characters or a line is dragged. This is because the error dialog display processing is specified when the event is a pen down / pen dragging by adding columns such as a character spacing, a line spacing, and a margin to the column of elements of the state transition table shown in FIGS. This can be easily realized. Alternatively, in the process for obtaining the target element in step S6, the error dialog display process is executed in steps S6-4 and S6-5. Even in this case, it is possible to avoid the state in which the range designation operation is started from the pen drag without performing the pen down as described above, and it is possible to prevent the processing and the operation from becoming complicated.
同様に、ステップS6の対象要素を求める処理においてステップS6−5でペン位置が不適当な場合に対象要素が「無効要素」とされて、以降の範囲指定処理でその対象要素が考慮されないものとしているが、図13,14に示される状態遷移表の要素の列に「無効要素」の列を追加することで、その対象要素を他の要素に置換えるようにしてもよい。あるいは、対象要素が「無効要素」であるときにエラーダイアログを表示する、などの何らかの処理が実行される場合には、該処理が特定される他の要素(たとえば、マークなど)に置換えるようにしてもよい。 Similarly, in the process for obtaining the target element in step S6, if the pen position is inappropriate in step S6-5, the target element is set as “invalid element”, and the target element is not considered in the subsequent range designation process. However, the target element may be replaced with another element by adding a column of “invalid element” to the element column of the state transition table shown in FIGS. Alternatively, when some process such as displaying an error dialog when the target element is an “invalid element” is executed, the process is replaced with another specified element (for example, a mark). It may be.
そのままペンモードでマーク作成・終了位置選択中モードにおいてペンドラッグが継続し、ペンイベント取得部6において画像がドラッグされたことが取得されると、モード「ペンモード」,「マーク作成・終了位置選択中」、イベント「ペンドラッグ(大移動)」、および要素「画像」であるので、状態遷移処理部8において、図14に示される状態遷移表より、この3つのパラメータから処理「反転表示処理」が特定されて、必要なプログラムが処理記録部15より読出されて実行される。その結果、図21に示されるように、画像の直前の通常文字まで反転表示処理が実行される。これは、画像を含む、通常文字以外の他の要素であっても同様である。
In the pen mode, the pen dragging continues in the mark creation / end position selection mode, and when the pen
これは入力モードがカーソルモードのときも同様であって、図22に示されるように、カーソルモードでマーク作成・終了位置選択中モードにおいて右キーや下キーが押されても、画像の直前の通常文字まで反転表示処理が実行され、画像以降に反転表示が進まない。 This is the same when the input mode is the cursor mode. As shown in FIG. 22, even if the right key or the down key is pressed in the mark creation / end position selection mode in the cursor mode, Reverse display processing is executed up to normal characters, and reverse display does not proceed after the image.
そして、ペンモードでマーク作成・終了位置選択中モードであるときに、ペンイベント取得部6において表示部14からペンアップされたことが取得されると、モード「ペンモード」,「マーク作成・終了位置選択中」、イベント「ペンアップ」であるので、要素がいずれの要素であっても、状態遷移処理部8において、図14に示される状態遷移表より、3つのパラメータより処理「マーク作成処理」が特定され、必要なプログラムが処理記録部15より読出されて先の反転表示処理で反転された部分にマークを付加するマーク作成処理が実行される。そして、作成されたマークの情報を含むユーザデータが生成され、ユーザデータ記録部11に記録される。また、移行する次のモードが処理終了モードと特定される。なお、マークなどの属性の付加が完了したとき、図23に示されるように、その旨を通知するダイアログを表示することで、現在のモードが終了位置選択中であるのか処理終了であるのかが容易に判別され、操作性が高められる。通知処理は、状態遷移表で特定される各処理で行なってもよいし、通知するかどうかの情報や通知する内容などの情報を状態遷移表で保持して一括処理してもよい。
When the pen
以上のペンモードでのマーク作成の状態遷移を図24,図25に表形式で示す。図24,図25において、順番1〜に示されるユーザ操作(イベント)にしたがって、太枠で示された状態に遷移する。すなわち、通常文字の上にペンダウンされるとマーク開始位置決定処理が実行されて、マーク終了位置選択中モードに移行する。その状態でペンドラッグ(微小移動)が発生しても処理は実行されず、ペンドラッグ(大移動)が発生した場合に、ドラッグされた連続する通常文字に対して反転表示処理が実行される。そして、ペンアップされると、ペンドラッグ(大移動)に伴って反転表示された部分にマークを付加するマーク作成処理が実行され、処理終了モードに移行する。
The state transition of mark creation in the above pen mode is shown in table form in FIGS. 24 and 25, the state transitions to a state indicated by a thick frame in accordance with user operations (events) shown in
なお、ペンドラッグ(大移動)された要素中に画像が含まれる場合には、図25を参照して、その直前の通常文字まで反転表示処理が実行される。 When an image is included in the element dragged (largely moved), the reverse display process is executed up to the normal character immediately before that with reference to FIG.
カーソルモードでの範囲指定も、ペンモードでの範囲指定と同様に実行される。図26,27に、状態遷移表記録部9に記録される状態遷移表のうち、カーソルモードでマーク作成のための範囲指定を行なう際に用いる状態遷移表の具体例を示す。図26,27に示される状態遷移表もまた、モード「マーク作成・開始位置選択中モード」,「マーク作成・終了位置選択中モード」の各モードに応じた状態遷移表である。すなわち、図26は、状態モード「マーク作成・開始位置選択中モード」、入力モード「カーソル入力」に応じたモードに対応する状態遷移表の具体例であって、図27は、状態モード「マーク作成・終了位置選択中モード」、入力モード「カーソル入力」に応じたモードに対応する状態遷移表の具体例である。
The range specification in the cursor mode is executed in the same manner as the range specification in the pen mode. FIGS. 26 and 27 show specific examples of the state transition table used when specifying a range for creating a mark in the cursor mode among the state transition tables recorded in the state transition
モードがカーソルモードでマーク作成・開始位置選択中モードにおいては、上下左右キーでマーク作成・開始位置の通常文字にカーソルを移動させ、決定キーで開始位置に決定する。また、通常文字以外の要素にはカーソルに替えてフォーカスが存在するため、上下左右キーを押下してカーソルの移動先として通常文字以外を指定した場合であっても、その要素にカーソルを移動させることができない。 When the mode is the cursor mode and the mark creation / start position selection mode is selected, the cursor is moved to the normal character at the mark creation / start position using the up / down / left / right keys, and the start key is determined using the enter key. In addition, since the focus is placed on an element other than the normal character instead of the cursor, the cursor is moved to that element even when a cursor other than the normal character is specified by pressing the up / down / left / right key. I can't.
これらのことより、上下左右キーが押下されて通常文字にカーソルが移動された場合には、図26を参照して、モード「カーソルモード」,「マーク作成・開始位置選択中モード」、イベント「上下左右キー」、および要素「通常文字」の3つのパラメータで、状態遷移表において実行すべき処理がカーソル移動処理と特定される。また、移行する次のモードが指定されていないため、現在のマーク作成・開始位置選択中モードを継続すると特定される。また、上下左右キーが押下されて通常文字以外にカーソルが移動された場合、つまり要素が通常文字以外のパラメータでは、状態遷移表においてカーソル移動処理不可と特定される。 Accordingly, when the up / down / left / right key is pressed and the cursor is moved to a normal character, the mode “cursor mode”, “mark creation / start position selecting mode”, event “ With the three parameters “up / down / left / right key” and element “normal character”, the process to be executed in the state transition table is specified as the cursor movement process. Further, since the next mode to be transferred is not designated, it is specified that the current mark creation / starting position selecting mode is continued. In addition, when the cursor is moved to other than a normal character by pressing the up / down / left / right key, that is, when the element is a parameter other than the normal character, it is specified in the state transition table that the cursor movement process is not possible.
通常文字にカーソルがあるときに決定キーが押下されると、図26を参照して、モード「カーソルモード」,「マーク作成・開始位置選択中モード」、イベント「決定キー」、および要素「通常文字」の3つのパラメータで、状態遷移表において実行すべき処理および次のモードが開始位置決定処理およびマーク終了位置選択中モードと特定される。なお、要素が通常文字以外のパラメータでは、特定される状態が定義されていない。 When the determination key is pressed when the cursor is on a normal character, referring to FIG. 26, the mode “cursor mode”, “mark creation / start position selection mode”, event “decision key”, and element “normal” With the three parameters “character”, the process to be executed and the next mode in the state transition table are specified as the start position determining process and the mark end position selecting mode. Note that the specified state is not defined for parameters whose elements are not ordinary characters.
モードがカーソルモードでマーク作成・終了位置選択中モードに移行したときには開始位置として決定された通常文字にカーソルが存在している。マークの作成は通常文字列に許可され通常文字列以外の要素に許可されていないので、マーク作成・終了位置選択中モードにおいて通常文字から上下左右キーが押下されると、図27を参照して、モード「カーソルモード」,「マーク作成・終了位置選択中モード」、イベント「上下左右キー」、および要素「通常文字」の3つのパラメータで、状態遷移表において実行すべき処理がカーソル移動処理および反転表示処理と特定される。また、移行する次のモードが指定されていないため、現在のマーク作成・開始位置選択中モードを継続すると特定される。上下左右キーが押下されて通常文字以外にカーソルが移動された場合、つまり「要素」が通常文字以外のパラメータでは、状態遷移表においてカーソル移動処理不可と特定される。 When the mode is the cursor mode and the mode shifts to the mark creation / end position selection mode, the cursor exists at the normal character determined as the start position. Since creation of a mark is permitted for a normal character string and is not permitted for elements other than the normal character string, when the up / down / left / right key is pressed from the normal character in the mark creation / end position selection mode, refer to FIG. , Mode “cursor mode”, “mark creation / end position selection mode”, event “up / down / left / right key”, and element “normal character”, the process to be executed in the state transition table is the cursor movement process and Identified as reverse display processing. Further, since the next mode to be transferred is not designated, it is specified that the current mark creation / starting position selecting mode is continued. When the cursor is moved to a character other than a normal character by pressing the up / down / left / right key, that is, when the parameter is not “normal character”, “cursor movement processing” is specified in the state transition table.
マーク作成・終了位置選択中モードにおいて選択中の通常文字で決定キーが押下されたときに、該通常文字までの指定範囲がマークを付加する範囲と決定される。そのため、マーク作成・終了位置選択中モードにおいて通常文字で決定キーされると、図27を参照して、モード「カーソルモード」,「マーク作成・終了位置選択中モード」、イベント「決定キー」、および要素「通常文字」の3つのパラメータで、状態遷移表において実行すべき処理および次に移行するモードが反転部分のマーク作成処理および処理終了モードと特定される。また、要素が通常文字以外のパラメータでは、特定される状態が定義されていない。 When the determination key is pressed with the normal character being selected in the mark creation / end position selection mode, the designated range up to the normal character is determined as the range to which the mark is added. Therefore, when a determination key is entered with a normal character in the mark creation / end position selection mode, referring to FIG. 27, the mode “cursor mode”, “mark creation / end position selection mode”, event “decision key”, In addition, the process to be executed in the state transition table and the mode to be shifted next are specified as the mark creation process and the process end mode of the reversed portion by the three parameters of the element “normal character”. Also, the specified state is not defined for parameters whose elements are other than normal characters.
なお、イベントがカーソルモードで有効なイベントでないペンイベント(ペンダウン、ペンドラッグ、ペンアップ)のとき、図26,27に示される状態遷移表において実行すべき処理がないと指定されている。また、移行する次のモードが指定されていない。 When the event is a pen event (pen down, pen drag, pen up) that is not a valid event in the cursor mode, it is specified that there is no processing to be executed in the state transition table shown in FIGS. Also, the next mode to be transferred is not specified.
状態遷移表においてこのように指定することで、カーソルモードのときにペンイベントを取得しても処理が実行されず、動作上はペンモードとカーソルモードとを排他的にすることができる。このことより、複数の操作入力手段を備えるコンテンツデータ表示装置において、操作を容易にでき、誤作動・誤入力を防止できる。 By specifying in this way in the state transition table, processing is not executed even if a pen event is acquired in the cursor mode, and the pen mode and the cursor mode can be made exclusive in operation. As a result, in the content data display device including a plurality of operation input means, the operation can be facilitated, and malfunction / incorrect input can be prevented.
かかる状態遷移表において特定される処理に対応するプログラムもまた処理記録部15に記憶されている。状態遷移処理部8は状態遷移表にしたがって処理を特定し、対応するプログラムを処理記録部15から読出して実行する。開始位置決定処理や、反転表示処理など、カーソルモードにおいてもペンモードと同様の処理が特定され、対応するプログラムを共通のものとすることができる。
A program corresponding to the process specified in the state transition table is also stored in the process recording unit 15. The state
カーソルモードでのマーク作成の状態遷移を図28,図29に表形式で示す。図28,図29において、順番1〜に示されるユーザ操作(イベント)したがって、太枠で示された状態に遷移する。すなわち、通常文字にカーソルが存在する状態で決定キーが押下されるとマーク開始位置決定処理が実行されて、マーク終了位置選択中モードに移行する。その状態で通常文字以外に向かって上下左右キーが押下されもカーソル移動処理は実行されず、通常文字に向かって上下左右キーが押下された場合に、指定方向にある連続する通常文字にカーソルを移動させる処理が実行され、さらに、該通常文字に対して反転表示処理が実行される。そして、通常文字にカーソルが存在する状態で決定キーが押下されると、反転表示された部分にマークを付加するマーク作成処理が実行され、処理終了モードに移行する。
The state transition of mark creation in the cursor mode is shown in table form in FIGS. In FIG. 28 and FIG. 29, the user operation (event) shown in the
なお、上下左右キーで画像にカーソル移動が指定された場合には、図29を参照して、その直前の通常文字まで反転表示処理が実行される。このように、ペンモードでもカーソルモードでも、図要素などは範囲指定できないようにしているため、ペンアップや決定キーでマークやマスクを付加するための指定範囲を行なう際、どちらのモードであるかを意識することなく、単純に範囲指定を行なうことができる。 If the cursor movement is designated to the image with the up / down / left / right keys, the reverse display process is executed up to the normal character immediately before that with reference to FIG. In this way, the range of figure elements cannot be specified in both pen mode and cursor mode, so which mode is used when specifying a range to add a mark or mask with the pen up or enter key? It is possible to simply specify a range without being conscious of.
以上の具体例は操作入力に対応する処理としてマーク作成のための範囲指定処理であるが、マスク作成のための範囲指定処理も同様である。マスク作成においては、マーク作成において許可されていなかった画像を範囲指定に含めることが許可されているものとする。そこで、ペンモードでマスク作成のための範囲指定を行なう際に用いる状態遷移表の具体例を図30,31、カーソルモードにおける状態遷移表の具体例を図32,33とすると、マーク作成の際に用いられる状態遷移表と比較して、「要素」が画像であるときにも他の要素と同様に範囲指定のための処理が特定されている。 Although the above specific example is a range designation process for creating a mark as a process corresponding to an operation input, the range designation process for creating a mask is also the same. In mask creation, it is assumed that an image that was not permitted in mark creation is permitted to be included in the range specification. Therefore, if a specific example of the state transition table used when specifying a range for creating a mask in the pen mode is shown in FIGS. 30 and 31, and a specific example of the state transition table in the cursor mode is shown in FIGS. Compared with the state transition table used in the above, when the “element” is an image, the process for specifying the range is specified in the same manner as other elements.
次に、本実施の形態にかかるコンテンツデータ表示装置において操作入力手段を用いた通常の指示操作が行なわれたときに実行される処理について説明する。なお、「通常の指示操作」とは、マークなどの属性を付加するための属性作成モードでの操作ではなく、コンテンツ閲覧時の通常状態での操作を指す。 Next, a process executed when a normal instruction operation using the operation input unit is performed in the content data display apparatus according to the present embodiment will be described. The “normal instruction operation” refers to an operation in a normal state at the time of browsing content, not an operation in the attribute creation mode for adding an attribute such as a mark.
状態遷移表記録部9に記録される状態遷移表のうち、ペンモードで通常状態における指示操作に対する処理を行なう際に用いる状態遷移表の具体例を図34に挙げる。図34は、状態モード「通常状態モード」、入力モード「ペンモード」に応じたモードに対応する状態遷移表の具体例である。
Of the state transition tables recorded in the state transition
図34を参照して、範囲指定を行なわない通常状態でのペンモードでは、有効なイベントはペンダウンとペンアップとであり、その他のイベントでは状態遷移表において実行すべき処理がないと指定されている。 Referring to FIG. 34, in the pen mode in the normal state where no range is specified, the valid events are pen down and pen up, and in other events, it is specified that there is no processing to be executed in the state transition table. Yes.
選択されることでアクションが実行される属性であるマスクやリンクにペンダウンされた場合に、モード「ペンモード」,「通常状態モード」、イベント「ペンダウン」、および要素「マスク」または要素「リンク」の3つのパラメータで、状態遷移表において実行すべき処理がフォーカス移動処理と特定される。このとき、移行する次のモードが指定されていないので、現在のモードを継続すると特定される。 Mode "Pen Mode", "Normal State Mode", Event "Pen Down", and Element "Mask" or Element "Link" when pen-down is performed on a mask or link that is an attribute that causes an action to be performed by being selected With the three parameters, the process to be executed in the state transition table is specified as the focus movement process. At this time, since the next mode to be transferred is not designated, it is specified that the current mode is continued.
また、マスクやリンクからペンアップされた場合に、モード「ペンモード」,「通常状態モード」、イベント「ペンアップ」、および要素「マスク」または要素「リンク」の3つのパラメータで、状態遷移表において実行すべき処理がマスク反転表示処理またはリンクジャンプ処理と特定される。 In addition, when pen-up is performed from a mask or link, the state transition table includes three parameters: mode “pen mode”, “normal state mode”, event “pen-up”, and element “mask” or element “link”. The process to be executed in the step is specified as the mask reverse display process or the link jump process.
ここでマスクには、付加された背後のコンテンツがマスク画像(ここでは暗色矩形)で隠されて表示されないONマスクと、マスク画像が非表示となり背後のコンテンツが表示されいるOFFマスクとの2種類の状態があり、マスク反転表示とは、ONマスクをOFFマスクに反転、あるいはOFFマスクをONマスクに反転させる表示を指す。 Here, there are two types of masks: an ON mask in which the added background content is hidden by a mask image (here, a dark rectangle) and is not displayed, and an OFF mask in which the mask image is hidden and the background content is displayed. The mask inversion display refers to a display in which the ON mask is inverted to the OFF mask or the OFF mask is inverted to the ON mask.
かかる状態遷移表において特定される処理に対応するプログラムは処理記録部15に記憶されている。状態遷移処理部8は状態遷移表にしたがって処理を特定し、対応するプログラムを処理記録部15から読出して実行する。
A program corresponding to the process specified in the state transition table is stored in the process recording unit 15. The state
図34に示される状態遷移表を用いてペンモードにおいて通常状態で操作入力された場合の画面の遷移を、具体例を挙げて説明する。 The transition of the screen when an operation is input in the normal state in the pen mode using the state transition table shown in FIG. 34 will be described with a specific example.
図35に示されるような、ONマスクを含むコンテンツが表示された画面状態においてマスク要素にペンダウンされたことが取得されると、モード「ペンモード」,「通常状態モード」、イベント「ペンダウン」、および要素「マスク」であるので、状態遷移処理部8において、図34に示される状態遷移表よりフォーカス移動処理が特定され、必要なプログラムが処理記録部15より読出されて実行される。その結果、図36に示されるように、ペンダウンされた要素であるONマスクにフォーカスが移動される。なお、ONマスクにフォーカスが存在している状態を、図36では白抜きの選択枠を描画することで表わしている。この時、フォーカスの表示だけでなく、フォーカス位置の情報もこのマスクの要素データに移動させておくことが好ましい。
When it is acquired that the mask element is pen-down in the screen state where the content including the ON mask is displayed as shown in FIG. 35, the mode “pen mode”, “normal state mode”, event “pen-down”, Since it is the element “mask”, the state
この状態からペンアップされたことが取得されると、モード「ペンモード」,「通常状態モード」、イベント「ペンアップ」、および要素「マスク」であるので、状態遷移処理部8において、図34に示される状態遷移表より、この3つのパラメータよりマスク反転表示処理が特定され、必要なプログラムが処理記録部15より読出されて実行される。その結果、図37に示されるように、ペンアップされた要素であるONマスクが解除されてOFFマスクとなって、下の「マスク」という文字が読めるようになっている。フォーカスはマスク上に存在したままなので、フォーカス表示で「マスク」は反転表示されている。 When it is acquired that the pen is up from this state, the mode “pen mode”, “normal state mode”, event “pen up”, and element “mask” are obtained. From the state transition table shown in FIG. 5, the mask inversion display process is specified from these three parameters, and the necessary program is read from the process recording unit 15 and executed. As a result, as shown in FIG. 37, the ON mask, which is a pen-up element, is released to become an OFF mask, so that the character “Mask” below can be read. Since the focus remains on the mask, the “mask” is highlighted in the focus display.
同様に、状態遷移表記録部9に記録される状態遷移表のうち、カーソルモードで通常状態における指示操作に対する処理を行なう際に用いる状態遷移表の具体例を図38に挙げる。図38は、状態モード「通常状態モード」、入力モード「ペンモード」に応じたモードに対応する状態遷移表の具体例である。入力モードがカーソルモードで、状態モードが通常状態モードであるときの状態遷移表の具体例である。
Similarly, of the state transition tables recorded in the state transition
図38を参照して、範囲指定を行なわない通常状態でのカーソルモードでは、有効なイベントは上下左右キーの押下と決定キーの押下とであり、その他のイベントでは状態遷移表において実行すべき処理がないと指定されている。 Referring to FIG. 38, in the cursor mode in the normal state in which no range is specified, valid events are pressing of the up / down / left / right key and pressing of the enter key. It is specified that there is no.
表示されたコンテンツ上のカーソルを移動させるために上下左右キーが押下された場合に、モード「カーソルモード」,「通常状態モード」、イベント「上下左右キー」、および要素がいずれの要素であるときも、この3つのパラメータで、状態遷移表において実行すべき処理が(移動可能なら)指定方向のマスクまたはリンクへのフォーカス移動処理と特定される。このとき、移行する次のモードが指定されていないので、現在のモードを継続すると特定される。 When the up / down / left / right key is pressed to move the cursor on the displayed content, the mode “cursor mode”, “normal state mode”, event “up / down / left / right key”, and any element With these three parameters, the process to be executed in the state transition table is specified as the process of moving the focus to the mask or link in the designated direction (if movement is possible). At this time, since the next mode to be transferred is not designated, it is specified that the current mode is continued.
また、マスクやリンクにフォーカスが存在する状態で決定キーが押下された場合に、モード「カーソルモード」,「通常状態モード」、イベント「決定キー」、および要素「マスク」または要素「リンク」の3つのパラメータで、状態遷移表において実行すべき処理がマスク反転表示処理またはリンクジャンプ処理と特定される。 In addition, when the enter key is pressed while the focus is on the mask or link, the mode "cursor mode", "normal state mode", event "decision key", and element "mask" or element "link" With three parameters, the process to be executed in the state transition table is specified as the mask reverse display process or the link jump process.
図34に示される状態遷移表を用いてペンモードにおいて通常状態で操作入力された場合の画面の遷移を、具体例を挙げて説明する。 The transition of the screen when an operation is input in the normal state in the pen mode using the state transition table shown in FIG. 34 will be described with a specific example.
かかる状態遷移表において特定される処理に対応するプログラムもまた処理記録部15に記憶されている。状態遷移処理部8は状態遷移表にしたがって処理を特定し、対応するプログラムを処理記録部15から読出して実行する。フォーカス移動処理やマスク反転表示処理やリンクジャンプ処理など、カーソルモードにおいてもペンモードと同様の処理が特定され、異なる操作入力手段からの操作入力であっても同様の処理が特定されて対応するプログラムを共通化とすることができる。
A program corresponding to the process specified in the state transition table is also stored in the process recording unit 15. The state
図38に示される状態遷移表を用いてカーソルモードにおいて通常状態で操作入力された場合の画面の遷移を、具体例を挙げて説明する。すなわち、図37に示されるOFFマスクであるマスク要素にフォーカスが存在する画面状態において下キーまたは右キーが押下されたことが取得されると、モード「カーソルモード」,「通常状態」、イベント「上下左右キー」であるので、状態遷移処理部8において、図38に示される状態遷移表より(移動可能なら)指定方向のマスクまたはリンクへのフォーカス移動処理が特定され、必要なプログラムが処理記録部15より読出されて実行される。その結果、図39に示されるように、フォーカスの存在したマスク要素の次のマスクまたはリンクであるリンク要素にフォーカスが移動される。
The transition of the screen when an operation is input in the normal state in the cursor mode using the state transition table shown in FIG. 38 will be described with a specific example. That is, when it is acquired that the down key or the right key is pressed in the screen state where the focus is on the mask element which is the OFF mask shown in FIG. 37, the mode “cursor mode”, “normal state”, event “ Since it is “up / down / left / right key”, the state
なお、図39においてOFFマスクは下線が付されて表示されており、フォーカスの無いリンク要素と同様の表示方法となっている。これはフォーカス移動の対象要素としてOFFマスクもリンクも同様に扱われるからであるが、OFFマスクとリンクとで異なる表示方式とすると、マスクかリンクかユーザが区別可能である利点がある。異なる表示方式としては、たとえば、下線の幅を変えたり、一方の下線を点線にしたり、背景色や文字色を変えたり、枠線を引いたり、などが考えられる。 In FIG. 39, the OFF mask is displayed with an underline, and the display method is the same as that for a link element without focus. This is because OFF masks and links are handled in the same manner as focus movement target elements. However, if the display method is different between the OFF mask and the link, there is an advantage that the user can distinguish between the mask and the link. Examples of different display methods include changing the width of the underline, changing one underline to a dotted line, changing the background color or character color, or drawing a frame line.
本実施の形態にかかるコンテンツデータ表示装置は、具体例として表形式の状態遷移表に示されたように、操作入力に応じた処理および状態遷移がモードとイベントとイベント対象要素とのパラメータで特定され、特定された処理に対応するプログラムおよび状態遷移に対応するプログラムを読込んで実行する。 As shown in the tabular state transition table as a specific example, the content data display device according to the present embodiment specifies processing and state transition according to operation input by parameters of mode, event, and event target element. The program corresponding to the specified process and the program corresponding to the state transition are read and executed.
そのため、操作入力に応じた処理および状態遷移を特定するステップから当該処理の実行および当該状態への遷移までを1つのプログラムで制御する制御方法に比べて処理を平易にすることができる。また、状態遷移表がこのような構成であるため、装置の制御を変更する必要が生じた場合であっても、状態遷移表を変更することで容易に対応できる。なお、上述の具体例では、複数の操作入力手段を備える装置において状態遷移表を用いて制御を行なっているが、言うまでもなく1つの操作入力手段を備える装置においても状態遷移表を用いた制御が可能であって、同様の効果を奏する。 Therefore, the process can be simplified compared to a control method in which the process from the step of specifying the process and state transition according to the operation input to the execution of the process and the transition to the state are controlled by one program. Further, since the state transition table has such a configuration, even if it is necessary to change the control of the apparatus, it can be easily handled by changing the state transition table. In the above-described specific example, control is performed using a state transition table in an apparatus including a plurality of operation input means. Needless to say, control using a state transition table is also performed in an apparatus including one operation input means. It is possible and has the same effect.
さらに、本実施の形態のように複数の操作入力手段を備える装置において状態遷移表を用いて制御を行なう場合、複数種類の操作入力手段に応じて複数のプログラムを用意する必要なく、構成を容易にできる。また、状態遷移表において実行すべき処理がないと指定することで各操作入力手段からの操作入力を排他的にできるため、イベントを受付けるか否かの判断処理を行なうことなく単純に状態遷移表に従って処理でき、機械的にペンやカーソルのイベント自体を受付けない構成に比べて処理が簡単になるという効果もある。 Further, when control is performed using a state transition table in an apparatus having a plurality of operation input means as in the present embodiment, it is not necessary to prepare a plurality of programs according to a plurality of types of operation input means, and the configuration is easy. Can be. In addition, by specifying that there is no processing to be executed in the state transition table, the operation input from each operation input means can be made exclusive, so the state transition table can be simply executed without performing the process of determining whether to accept the event. There is also an effect that the processing can be simplified as compared with a configuration that does not mechanically accept a pen or cursor event itself.
なお、上述のように各操作入力手段での入力を排他的にすることなく、状態遷移表を用いていずれの操作入力手段で操作を行なった場合でも共通の処理が実行されるようにすることもできる。 It should be noted that, as described above, the common processing is executed regardless of the operation input means using the state transition table without making the input by each operation input means exclusive. You can also.
状態遷移表記録部9に記録される状態遷移表のうち、通常状態におけるいずれの操作入力手段での指示操作にも対応する処理を行なう際に用いる状態遷移表の具体例を図40に挙げる。図40に示される状態遷移表は、先に図34に示されたペンモードで通常状態における指示操作に対する処理を行なうために用いる状態遷移表と、図38に示されたカーソルモードで通常状態における指示操作に対する処理を行なうために用いる状態遷移表とが組合された状態遷移表となっている。
Of the state transition tables recorded in the state transition
いずれの操作入力手段でも指示操作可能な場合、フォーカスがすでにONマスクの位置に移動している図36に示される状態で決定キーが押下されたことが取得されると、モード「通常状態モード」、イベント「決定キー」、および要素「マスク」であるので、状態遷移処理部8において、図40に示される状態遷移表より、この3つのパラメータよりマスク反転表示処理が特定され、ペンモードにおいてマスクでペンアップした場合と同様にONマスクが解除されて反転表示される。このようにペンとカーソルとで同じ処理が特定され、対応する同じプログラムが実行されるので、ユーザはどちらのモードであるかを意識することなく操作入力を行なうことができて利便性が高められる。
When it is possible to perform an instruction operation with any of the operation input means, when it is acquired that the determination key is pressed in the state shown in FIG. 36 in which the focus has already been moved to the ON mask position, the mode “normal state mode” is acquired. , The event “decision key” and the element “mask”, the state
さらに、上述のコンテンツデータ表示装置で実行されるこれらの処理方法を、プログラムとして提供することもできる。このようなプログラムは、コンピュータに付属するフレキシブルディスク、CD−ROM(Compact Disc-Read Only Memory)、ROM、RAMおよびメモリカードなどのコンピュータ読取り可能な記録媒体にて記録させて、プログラム製品として提供することもできる。あるいは、コンピュータに内蔵するハードディスクなどの記録媒体にて記録させて、プログラムを提供することもできる。また、ネットワークを介したダウンロードによって、プログラムを提供することもできる。 Furthermore, these processing methods executed by the above-described content data display device can also be provided as a program. Such a program is recorded on a computer-readable recording medium such as a flexible disk attached to the computer, a CD-ROM (Compact Disc-Read Only Memory), a ROM, a RAM, and a memory card, and provided as a program product. You can also. Alternatively, the program can be provided by being recorded on a recording medium such as a hard disk built in the computer. A program can also be provided by downloading via a network.
提供されるプログラム製品は、ハードディスクなどのプログラム格納部にインストールされて実行される。なお、プログラム製品は、プログラム自体と、プログラムが記録された記録媒体とを含む。 The provided program product is installed in a program storage unit such as a hard disk and executed. The program product includes the program itself and a recording medium on which the program is recorded.
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 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 キー入力部、2 キーイベント取得部、3 キーイベント対象要素探索部、4 モード設定部、5 ペン入力部、6 ペンイベント取得部、7 ペンイベント対象要素探索部、8 状態遷移処理部、9 状態遷移表記録部、10 コンテンツデータ読込部、11 ユーザデータ記録部、12 レイアウトデータ生成部、13 レイアウトデータ記録部、14 表示部、15 処理記録部、70 CPU、71 ディスプレイ、72 マウス、73 タブレット、74 主記憶装置、75 外部記憶装置、76 マイク、77 通信デバイス、78 キーボード、79 バス、80 スピーカ、120〜128 要素データ、200,201 行データ、300,301 ユーザデータ。
DESCRIPTION OF
Claims (8)
前記コンテンツデータから、前記要素をそれぞれ表示行内に配置するための、前記要素のそれぞれについての前記表示行内の位置と、当該要素に対して設定されている、選択されることで所定の処理が実行されることが規定されている属性とを指定したレイアウトデータを生成するための生成手段と、
前記コンテンツデータを前記レイアウトデータに基づいて表示するための表示手段と、
前記表示された前記コンテンツデータ上の位置を特定した操作入力を受付けるための、ポインタとキーとを含む、複数の種類の操作入力手段と、
前記操作入力手段での操作入力に応じて行なう処理と、前記操作入力を受付けた時点の処理の状態から次に遷移する処理の状態とを特定する遷移情報を格納する状態遷移格納手段と、
前記操作入力に応じて、前記情報で特定される処理を行ない、前記操作入力を受付けた時点の処理の状態から前記遷移情報で特定される次の処理の状態に遷移する処理を実行する状態遷移処理手段とを備え、
前記遷移情報で特定される処理の状態は、前記複数の種類の操作入力手段のうちの当該処理に対する操作入力を受付ける操作入力手段と、前記操作入力手段での操作に応じた処理の段階とを含み、
前記遷移情報は、各処理の状態ごとに、当該処理に対する操作入力を受付ける前記操作入力手段でのすべての操作入力のそれぞれについて、当該操作入力によって特定された位置が前記レイアウトデータにより指定されている前記表示行内の範囲にある前記コンテンツデータの要素と当該要素に設定されている属性とに応じて前記行なう処理および前記次に遷移する処理の状態を特定する情報であって、前記行なう処理を前記処理の状態の段階ごとに排他的に規定し、
前記遷移情報は、前記ポインタで操作入力を受付ける処理の状態については、前記ポインタでの操作ごとに、前記ポインタで指定された位置が前記レイアウトデータにより指定されている前記表示行内の範囲にある前記コンテンツデータの要素と当該要素に設定されている属性とに応じて前記行なう処理および前記次に遷移する処理の状態を特定し、前記ポインタ以外の前記キーを含むすべての操作入力手段での操作に対しては前記行なう処理および前記次に遷移する処理の状態がないと特定し、前記キーで操作入力を受付ける処理の状態については、前記キーでの操作ごとに、前記キーで指定された位置が前記レイアウトデータにより指定されている前記表示行内の範囲にある前記コンテンツデータの要素と当該要素に設定されている属性とに応じて前記行なう処理および前記次に遷移する処理の状態を特定し、前記キー以外の前記ポインタを含むすべての操作入力手段での操作に対しては前記行なう処理および前記次に遷移する処理の状態がないと特定し、
前記状態遷移処理手段は、前記ポインタで操作入力を受付ける処理の状態において前記ポインタでの操作入力を受付けると、前記遷移情報を参照して、前記遷移情報で特定される処理を行ないかつ前記遷移情報で特定される次の処理の状態に遷移し、前記ポインタ以外の前記キーを含むいずれの操作入力手段での操作入力を受付けても前記行なう処理および前記遷移を実行せず、前記キーで操作入力を受付ける処理の状態において前記キーでの操作入力を受付けると、前記遷移情報を参照して、前記遷移情報で特定される処理を行ないかつ前記遷移情報で特定される次の処理の状態に遷移し、前記キー以外の前記ポインタを含むいずれの操作入力手段での操作入力を受付けても前記行なう処理および前記遷移を実行しない、コンテンツデータ表示装置。 An acquisition means for acquiring content data including one or more elements;
From the content data, for positioning the element on each display row, and the display row position for each of said elements, is set for the element, predetermined processing executed by being selected Generating means for generating layout data specifying an attribute specified to be performed;
Display means for displaying the content data based on the layout data;
A plurality of types of operation input means including a pointer and a key for receiving an operation input specifying a position on the displayed content data;
State transition storage means for storing transition information for specifying a process to be performed in response to an operation input by the operation input means, and a state of a process to be next transitioned from a state of a process at the time of receiving the operation input;
State transition that performs processing specified by the information in response to the operation input, and executes processing for transitioning from the processing state at the time of receiving the operation input to the next processing state specified by the transition information Processing means,
The state of the process specified by the transition information includes an operation input unit that accepts an operation input for the process among the plurality of types of operation input units, and a stage of the process according to the operation by the operation input unit. seen including,
In the transition information, for each state of each process, the position specified by the operation input is specified by the layout data for each of the operation inputs in the operation input unit that receives the operation input for the process . Information specifying the state of the process to be performed and the process to be transitioned next according to the element of the content data in the range in the display row and the attribute set to the element, and the process to be performed is Specify exclusively for each stage of processing status ,
As for the state of processing for accepting an operation input with the pointer, the transition information has a position specified by the pointer within a range within the display line specified by the layout data for each operation with the pointer. The state of the process to be performed and the process of the next transition is specified according to the element of the content data and the attribute set to the element, and the operation is performed on all operation input means including the key other than the pointer. On the other hand, it is specified that there is no state of the process to be performed and the process to be transferred next, and the state of the process to accept an operation input with the key is determined by the position specified by the key for each operation with the key. The element of the content data in the range within the display line specified by the layout data and the attribute set for the element The state of the process to be performed and the process to be transitioned to next is specified in response to the operation, and the process to be performed and the process of transition to the next are performed for operations on all operation input means including the pointer other than the key. Identify that there is no condition,
When the state transition processing means accepts an operation input with the pointer in a state of accepting an operation input with the pointer, the state transition processing means refers to the transition information and performs a process specified by the transition information and the transition information Transition to the state of the next process specified by the above, and even if an operation input with any operation input means including the key other than the pointer is accepted, the process and the transition to be performed are not executed, and the operation input is performed with the key. When the operation input with the key is accepted in the state of the process of accepting, with reference to the transition information, the process specified by the transition information is performed and the state of the next process specified by the transition information is changed. , it does not execute the process and the transition the performed even accept an operation input in any of the operation input means including the pointer other than the key, the content data Display devices.
前記遷移情報は、前記複数の段階の処理の状態に共通する操作入力手段の種類と、前記複数の段階の処理の状態に共通する操作入力の対象である要素とに関連付けて対応する処理の状態と次に遷移する処理の状態とを特定する、請求項1に記載のコンテンツデータ表示装置。 The step of the processes included in the state of the process specified by the transition information is a plurality of steps in response to the operation input hand stage for receiving the operation input,
The transition information includes a type of operation input means common to the process states of the plurality of stages and a process state corresponding to the element that is a target of the operation input common to the process states of the plurality of stages. The content data display device according to claim 1, wherein the content data display device identifies a status of the next transition process.
前記状態遷移処理手段は、前記遷移情報で特定される処理に必要なプログラムを前記プログラム格納手段から読込んで実行する、請求項1〜3のいずれかに記載のコンテンツデータ表示装置。 Program storage means for storing a program executed by the state transition processing means;
The content data display device according to claim 1, wherein the state transition processing unit reads and executes a program necessary for processing specified by the transition information from the program storage unit.
前記操作入力手段での操作入力に応じて行なう処理と、前記操作入力を受付けた時点の処理の状態から次に遷移する処理の状態とを特定する遷移情報を格納する状態遷移格納手段とを備えるコンテンツデータ表示装置に処理を実行させるためのプログラムであって、
前記遷移情報で特定される処理の状態は、前記複数の種類の操作入力手段のうちの当該処理に対する操作入力を受付ける操作入力手段と、前記操作入力手段の種類に応じた処理の段階とを含み、
前記遷移情報は、各処理の状態ごとに、当該処理に対する操作入力を受付ける前記操作入力手段でのすべての操作入力のそれぞれについて、当該操作入力によって特定された位置が前記レイアウトデータにより指定されている前記表示行内の範囲にある前記コンテンツデータの要素と当該要素に設定されている属性とに応じて前記行なう処理および前記次に遷移する処理の状態を特定する情報であって、前記行なう処理を前記処理の状態の段階ごとに排他的に規定し、
前記遷移情報は、前記ポインタで操作入力を受付ける処理の状態については、前記ポインタでの操作ごとに、前記ポインタで指定された位置が前記レイアウトデータにより指定されている前記表示行内の範囲にある前記コンテンツデータの要素と当該要素に設定されている属性とに応じて前記行なう処理および前記次に遷移する処理の状態を特定し、前記ポインタ以外の前記キーを含むすべての操作入力手段での操作に対しては前記行なう処理および前記次に遷移する処理の状態がないと特定し、前記キーで操作入力を受付ける処理の状態については、前記キーでの操作ごとに、前記キーで指定された位置が前記レイアウトデータにより指定されている前記表示行内の範囲にある前記コンテンツデータの要素と当該要素に設定されている属性とに応じて前記行なう処理および前記次に遷移する処理の状態を特定し、前記キー以外の前記ポインタを含むすべての操作入力手段での操作に対しては前記行なう処理および前記次に遷移する処理の状態がないと特定し、
1以上の要素を含むコンテンツデータを表示する表示ステップと、
前記操作入力手段において、前記コンテンツデータに含まれる要素に対する操作入力を受付ける操作入力ステップと、
前記操作入力に応じて、前記情報で特定される処理を行ない、前記操作入力を受付けた時点の処理の状態から前記遷移情報で特定される次の処理の状態に遷移する処理を実行する状態遷移処理ステップとを実行させ、
前記状態遷移処理ステップでは、前記ポインタで操作入力を受付ける処理の状態において前記ポインタでの操作入力を受付けると、前記遷移情報で特定される処理を行ないかつ前記遷移情報で特定される次の処理の状態に遷移し、前記ポインタ以外の前記キーを含むいずれの操作入力手段での操作入力を受付けても前記行なう処理および前記遷移を実行せず、前記キーで操作入力を受付ける処理の状態において前記キーでの操作入力を受付けると、前記遷移情報で特定される処理を行ないかつ前記遷移情報で特定される次の処理の状態に遷移し、前記キー以外の前記ポインタを含むいずれの操作入力手段での操作入力を受付けても前記行なう処理および前記遷移を実行しない、コンテンツデータ表示装置における処理プログラム。 A plurality of types of operation input means including a pointer and a key for receiving the operation input;
A state transition storage unit for storing transition information for specifying a process to be performed in response to an operation input from the operation input unit and a state of a process to be next transitioned from the state of the process at the time of receiving the operation input; A program for causing a content data display device to execute processing,
The state of the process specified by the transition information includes an operation input unit that receives an operation input for the process among the plurality of types of operation input units, and a process stage according to the type of the operation input unit. ,
In the transition information, for each state of each process, the position specified by the operation input is specified by the layout data for each of the operation inputs in the operation input unit that receives the operation input for the process . Information specifying the state of the process to be performed and the process to be transitioned next according to the element of the content data in the range in the display row and the attribute set to the element, and the process to be performed is Specify exclusively for each stage of processing status,
As for the state of processing for accepting an operation input with the pointer, the transition information has a position specified by the pointer within a range within the display line specified by the layout data for each operation with the pointer. The state of the process to be performed and the process of the next transition is specified according to the element of the content data and the attribute set to the element, and the operation is performed on all operation input means including the key other than the pointer. On the other hand, it is specified that there is no state of the process to be performed and the process to be transferred next, and the state of the process to accept an operation input with the key is determined by the position specified by the key for each operation with the key. The element of the content data in the range within the display line specified by the layout data and the attribute set for the element The state of the process to be performed and the process to be transitioned to next is specified in response to the operation, and the process to be performed and the process of transition to the next are performed for operations on all operation input means including the pointer other than the key. Identify that there is no condition,
A display step for displaying content data including one or more elements;
In the operation input means, an operation input step of receiving an operation input for an element included in the content data;
State transition that performs processing specified by the information in response to the operation input, and executes processing for transitioning from the processing state at the time of receiving the operation input to the next processing state specified by the transition information to execute a processing step,
In the state transition processing step, when an operation input with the pointer is received in a state of a process for receiving an operation input with the pointer, a process specified by the transition information is performed and a next process specified by the transition information is performed. The key in the state of transitioning to a state and processing to be performed even if an operation input by any operation input means including the key other than the pointer is accepted and processing to perform the transition without accepting the operation input by the key When the operation input at is received, the process specified by the transition information is performed and the state is shifted to the next process specified by the transition information, and any operation input means including the pointer other than the key is used. A processing program in a content data display device that does not execute the processing and the transition even when an operation input is received .
前記操作入力手段での操作入力に応じて行なう処理と、前記操作入力を受付けた時点の処理の状態から次に遷移する処理の状態とを特定する遷移情報を格納する状態遷移格納手段とを備えるコンテンツデータ表示装置における処理プログラムを記録した記録媒体であって、
前記遷移情報で特定される処理の状態は、前記複数の種類の操作入力手段のうちの当該処理に対する操作入力を受付ける操作入力手段と、前記操作入力手段の種類に応じた処理の段階とを含み、
前記遷移情報は、各処理の状態ごとに、当該処理に対する操作入力を受付ける前記操作入力手段でのすべての操作入力のそれぞれについて、当該操作入力によって特定された位置が前記レイアウトデータにより指定されている前記表示行内の範囲にある前記コンテンツデータの要素と当該要素に設定されている属性とに応じて前記行なう処理および前記次に遷移する処理の状態を特定する情報であって、前記行なう処理を前記処理の状態の段階ごとに排他的に規定し、
前記遷移情報は、前記ポインタで操作入力を受付ける処理の状態については、前記ポインタでの操作ごとに、前記ポインタで指定された位置が前記レイアウトデータにより指定されている前記表示行内の範囲にある前記コンテンツデータの要素と当該要素に設定されている属性とに応じて前記行なう処理および前記次に遷移する処理の状態を特定し、前記ポインタ以外の前記キーを含むすべての操作入力手段での操作に対しては前記行なう処理および前記次に遷移する処理の状態がないと特定し、前記キーで操作入力を受付ける処理の状態については、前記キーでの操作ごとに、前記キーで指定された位置が前記レイアウトデータにより指定されている前記表示行内の範囲にある前記コンテンツデータの要素と当該要素に設定されている属性とに応じて前記行なう処理および前記次に遷移する処理の状態を特定し、前記キー以外の前記ポインタを含むすべての操作入力手段での操作に対しては前記行なう処理および前記次に遷移する処理の状態がないと特定し、
1以上の要素を含むコンテンツデータを表示する表示ステップと、
前記操作入力手段において、前記コンテンツデータに含まれる要素に対する操作入力を受付ける操作入力ステップと、
前記操作入力に応じて、前記情報で特定される処理を行ない、前記操作入力を受付けた時点の処理の状態から前記遷移情報で特定される次の処理の状態に遷移する処理を実行する状態遷移処理ステップとを実行させ、
前記状態遷移処理ステップでは、前記ポインタで操作入力を受付ける処理の状態において前記ポインタでの操作入力を受付けると、前記遷移情報で特定される処理を行ないかつ前記遷移情報で特定される次の処理の状態に遷移し、前記ポインタ以外の前記キーを含むいずれの操作入力手段での操作入力を受付けても前記行なう処理および前記遷移を実行せず、前記キーで操作入力を受付ける処理の状態において前記キーでの操作入力を受付けると、前記遷移情報で特定される処理を行ないかつ前記遷移情報で特定される次の処理の状態に遷移し、前記キー以外の前記ポインタを含むいずれの操作入力手段での操作入力を受付けても前記行なう処理および前記遷移を実行しないプログラムを記録する、コンピュータ読取可能な記録媒体。 A plurality of types of operation input means including a pointer and a key for receiving the operation input;
A state transition storage unit for storing transition information for specifying a process to be performed in response to an operation input from the operation input unit and a state of a process to be next transitioned from the state of the process at the time of receiving the operation input; A recording medium recording a processing program in a content data display device,
The state of the process specified by the transition information includes an operation input unit that receives an operation input for the process among the plurality of types of operation input units, and a process stage according to the type of the operation input unit. ,
In the transition information, for each state of each process, the position specified by the operation input is specified by the layout data for each of the operation inputs in the operation input unit that receives the operation input for the process . Information specifying the state of the process to be performed and the process to be transitioned next according to the element of the content data in the range in the display row and the attribute set to the element, and the process to be performed is Specify exclusively for each stage of processing status,
As for the state of processing for accepting an operation input with the pointer, the transition information has a position specified by the pointer within a range within the display line specified by the layout data for each operation with the pointer. The state of the process to be performed and the process of the next transition is specified according to the element of the content data and the attribute set to the element, and the operation is performed on all operation input means including the key other than the pointer. On the other hand, it is specified that there is no state of the process to be performed and the process to be transferred next, and the state of the process to accept an operation input with the key is determined by the position specified by the key for each operation with the key. The element of the content data in the range within the display line specified by the layout data and the attribute set for the element The state of the process to be performed and the process to be transitioned to next is specified in response to the operation, and the process to be performed and the process of transition to the next are performed for operations on all operation input means including the pointer other than the key. Identify that there is no condition,
A display step for displaying content data including one or more elements;
In the operation input means, an operation input step of receiving an operation input for an element included in the content data;
State transition that performs processing specified by the information in response to the operation input, and executes processing for transitioning from the processing state at the time of receiving the operation input to the next processing state specified by the transition information to execute a processing step,
In the state transition processing step, when an operation input with the pointer is received in a state of a process for receiving an operation input with the pointer, a process specified by the transition information is performed and a next process specified by the transition information is performed. The key in the state of transitioning to a state and processing to be performed even if an operation input by any operation input means including the key other than the pointer is accepted and processing to perform the transition without accepting the operation input by the key When the operation input at is received, the process specified by the transition information is performed and the state is shifted to the next process specified by the transition information, and any operation input means including the pointer other than the key is used. A computer-readable recording medium for recording a program that does not execute the process and the transition even when an operation input is received .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005023201A JP4648714B2 (en) | 2005-01-31 | 2005-01-31 | Content data display device, processing program in content data display device, and recording medium recording processing program in content data display device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005023201A JP4648714B2 (en) | 2005-01-31 | 2005-01-31 | Content data display device, processing program in content data display device, and recording medium recording processing program in content data display device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006209612A JP2006209612A (en) | 2006-08-10 |
JP4648714B2 true JP4648714B2 (en) | 2011-03-09 |
Family
ID=36966376
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005023201A Expired - Fee Related JP4648714B2 (en) | 2005-01-31 | 2005-01-31 | Content data display device, processing program in content data display device, and recording medium recording processing program in content data display device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4648714B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5626891B2 (en) * | 2011-01-14 | 2014-11-19 | 株式会社プロフィールド | Electronic book processing apparatus, electronic book processing method, and program |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2842305B2 (en) * | 1995-06-28 | 1999-01-06 | 日本電気株式会社 | Interaction processing method |
-
2005
- 2005-01-31 JP JP2005023201A patent/JP4648714B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2006209612A (en) | 2006-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9612670B2 (en) | Explicit touch selection and cursor placement | |
US7173603B2 (en) | Input system, program, and recording medium | |
JP5431321B2 (en) | User interface generation device | |
US20140223381A1 (en) | Invisible control | |
KR101580003B1 (en) | Graphical user interface for non mouse-based activation of links | |
JP2005100186A (en) | Software keyboard display device and display program | |
JP2004118550A (en) | Text editing device and program | |
JP4508745B2 (en) | Information processing apparatus, image editing apparatus, control method therefor, computer program, and computer-readable storage medium | |
JP7496699B2 (en) | Display device | |
JP2020123234A (en) | Information processor, control method, and program thereof | |
US10303346B2 (en) | Information processing apparatus, non-transitory computer readable storage medium, and information display method | |
JP4648714B2 (en) | Content data display device, processing program in content data display device, and recording medium recording processing program in content data display device | |
JP4502831B2 (en) | Content processing apparatus, content processing program, and recording medium on which content processing program is recorded | |
US11681858B2 (en) | Document processing apparatus and non-transitory computer readable medium | |
JP6004746B2 (en) | Information display device, information display method, information display program, and program recording medium | |
JP5512213B2 (en) | Reference display system, reference display method and program | |
JP3937682B2 (en) | Information processing device | |
JP5272958B2 (en) | Information input device, information input method, and information input program | |
JP5721315B2 (en) | Computer program | |
JP6194383B2 (en) | Information processing apparatus, information display program, and information display method | |
JP2010244271A (en) | Method of creating xml file, information processing apparatus, and xml file | |
JP2023021738A (en) | Control device, control method, and program | |
JP2010061337A (en) | Apparatus, system and method for information processing, program and recording medium | |
JP4786713B2 (en) | Operation support computer program, operation support computer system | |
JP2019070808A (en) | Display control device, display control method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070703 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091109 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100216 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100416 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100615 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100913 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20100922 |
|
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: 20101116 |
|
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: 20101210 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131217 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |