JP2007233653A - Editing device and method for electronic device, electronic device, and program - Google Patents
Editing device and method for electronic device, electronic device, and program Download PDFInfo
- Publication number
- JP2007233653A JP2007233653A JP2006054054A JP2006054054A JP2007233653A JP 2007233653 A JP2007233653 A JP 2007233653A JP 2006054054 A JP2006054054 A JP 2006054054A JP 2006054054 A JP2006054054 A JP 2006054054A JP 2007233653 A JP2007233653 A JP 2007233653A
- Authority
- JP
- Japan
- Prior art keywords
- input
- character
- item
- item window
- window
- 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.)
- Pending
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
Description
本発明は、電子機器に備えられた入力ボタン等の入力操作手段を操作して入力した入力結果を表示部の画面に反映させることで画面上で文字の編集を行う電子機器における編集装置、編集方法、電子機器及びプログラムに関する。 The present invention relates to an editing device for an electronic device that edits characters on the screen by reflecting an input result input by operating an input operation means such as an input button provided in the electronic device on the screen of the display unit, and editing The present invention relates to a method, an electronic device, and a program.
従来、携帯電話機などの電子機器においては、入力ボタンを使って文字の入力・削除等の操作をして画面上で文章等の編集を行える編集機能が備えられている(例えば特許文献1)。 2. Description of the Related Art Conventionally, an electronic device such as a mobile phone is provided with an editing function capable of editing text on a screen by inputting / deleting characters using an input button (for example, Patent Document 1).
例えば携帯電話機にアプリケーションを組み込む場合、郵便番号、住所、氏名などの複数種の情報をそれぞれの項目別に入力してもらいたい場合がある。例えば画面に複数の文字枠(テキストボックス)を表示できれば、郵便番号、住所、氏名などの複数の項目を、一画面上で入力することができる。しかし、携帯電話機など表示画面の小さな電子機器では、搭載されているテキストコントロール機能の仕様上、画面に表示できる文字入力エリアが一つに制限されている場合が多い。例えばメールを送信する際には、宛先、件名、本文などを入力する必要があるが、これらの各項目の内容を作成する入力エリアは画面に1つずつ表示される。このため、ユーザが複数の項目について文字を入力する場合、項目毎に画面を順次切り換えて入力する必要があった。
しかし、入力項目が替わる度に画面が切り替わると、それまでの入力内容を見られなくなるため、前の入力項目と関連した内容を入力する場合に、前の入力内容を確認するために前の画面に戻る操作を行う必要があった。また、項目が替わる毎に画面が切り替わるので、一通り入力が終わった後のデータの確認又は送信する前の見直し時にも、一つずつ画面を切り替える必要があった。 However, if the screen is switched each time the input item is changed, the input content up to that point cannot be seen. Therefore, when entering the content related to the previous input item, the previous screen is used to confirm the previous input content. It was necessary to perform an operation to return to. In addition, since the screen is switched every time the item is switched, it is necessary to switch the screen one by one when checking the data after completing the input or reviewing before transmitting.
本発明は、上記問題点を解決するためになされたものであって、その目的は、画面に表示できる入力エリアが一つに制限される仕様の電子機器であっても、一つの項目を入力するときに他の項目の内容を同一画面上で見ながら複数の項目を入力できる電子機器における編集装置、編集方法、電子機器及びプログラムを提供することにある。 The present invention has been made to solve the above-described problems, and its purpose is to input one item even in an electronic device having a specification in which the input area that can be displayed on the screen is limited to one. To provide an editing apparatus, an editing method, an electronic device, and a program in an electronic device that can input a plurality of items while viewing the contents of other items on the same screen.
上記目的を達成するため、本発明は、文字表示可能な画面を有する表示部を備えた電子機器における編集装置であって、少なくとも文字の入力を受け付ける入力操作手段と、 前記入力操作手段が受け付けた入力結果が表示される入力エリアを有する入力UIを用意させる入力UI手段と、複数の項目窓を有する表画像を用意する表画像手段と、前記表画像における項目窓以外の部分は前記表画像を前記入力UIよりも優先して前記表示部に表示させ、前記表画像における項目窓の部分は前記入力UIを前記表画像よりも優先して前記表示部に表示させる画面表示手段と、前記入力エリア上の文字入力ポインタを前記項目窓内に位置するように位置制御するポインタ制御手段と、前記入力操作手段が入力を受け付けると、前記入力エリア上の前記文字入力ポインタの位置に入力結果を反映させる処理を行う処理手段と、前記処理手段による前記処理が行われた場合に当該処理の対象の項目窓以外の他の項目窓内に表示されていた文字がずれないように文字の表示位置を調整する文字位置調整手段とを備えたことを要旨とする。 In order to achieve the above object, the present invention is an editing apparatus in an electronic apparatus having a display unit having a screen capable of displaying characters, the input operation means receiving at least characters, and the input operation means received An input UI means for preparing an input UI having an input area for displaying an input result, a table image means for preparing a table image having a plurality of item windows, and a part other than the item window in the table image is the table image. Screen display means for displaying on the display unit with priority over the input UI, and displaying the input UI on the display unit with respect to the item window portion in the table image, and the input area; The pointer control means for controlling the position of the upper character input pointer so as to be positioned in the item window, and when the input operation means accepts input, Processing means for performing processing to reflect the input result at the position of the character input pointer, and when the processing by the processing means is performed, the processing window is displayed in an item window other than the target item window of the processing The gist of the invention is that it includes character position adjusting means for adjusting the display position of the characters so that the characters do not shift.
なお、ここでいう「入力」とは、文字の入力に限らず、文字(空白文字、数字、記号を含む)の削除、コピー、移動、文字入力ポインタの移動のための入力を含む。また、項目窓の最大文字数は項目窓の範囲を超えても構わず、文字入力ポインタを項目窓内で移動させることで項目窓の外側に隠れていた文字が項目窓内に現れる構成でもよい。 The “input” here is not limited to character input, but includes input for deleting, copying, moving, and moving a character input pointer for characters (including blank characters, numbers, and symbols). In addition, the maximum number of characters in the item window may exceed the range of the item window, and a character hidden outside the item window may appear in the item window by moving the character input pointer in the item window.
これによれば、入力UI手段は、入力エリアを有する入力UIを用意させる。また、表画像表示手段は、項目窓を有する表画像を用意する。そして、画面表示手段は、表画像における項目窓以外の部分は表画像を入力UIよりも優先して表示部に表示させ、表画像における項目窓の部分は入力UIを表画像よりも優先して表示部に表示させる。このため、ユーザから画面を見た場合、入力エリアのうち複数の項目窓(入力欄)に対応する領域が見える状態になる。また、文字入力ポインタはポインタ制御手段によって項目窓内に位置するように位置制御される。ユーザが入力操作手段を操作した入力を受け付けると、処理手段により、入力エリア上の文字入力ポインタの位置に入力結果を反映させる処理が行われ、例えば文字が挿入されたり削除されたりする。そして、処理が行われた(つまり文字入力ポインタが属する)項目窓以外の他の項目窓内の文字(文字列を含む)がずれないように入力エリア上の文字の表示位置が文字位置調整手段により位置調整される。 According to this, the input UI means prepares an input UI having an input area. The table image display means prepares a table image having an item window. Then, the screen display means displays the table image on the display unit in preference to the input UI for the part other than the item window in the table image, and the item UI in the table image gives priority to the input UI over the table image. Display on the display. For this reason, when the user looks at the screen, a region corresponding to a plurality of item windows (input fields) in the input area can be seen. Further, the position of the character input pointer is controlled by the pointer control means so as to be positioned in the item window. When the user receives an input by operating the input operation means, the processing means performs a process of reflecting the input result on the position of the character input pointer on the input area, for example, a character is inserted or deleted. The display position of the character on the input area is the character position adjusting means so that the characters (including the character string) in the item window other than the item window to which the process is performed (that is, the character input pointer belongs) are not shifted. Position adjustment.
つまり、入力エリア上に複数の項目窓毎の文字(文字列を含む)が複数表示されている場合、例えば上側の行で文字の挿入や削除があると、下側の行に表示されている文字が、例えば一文字分前へずれたり後へずれたりする場合があるが、この種のずれが発生しないように文字位置調整手段により文字の表示位置が位置調整される。よって、電子機器の仕様等の理由により、表示部の画面に一つの入力エリア(入力UI)しか表示できなくても、項目毎に個別の入力エリアが設けられている構成と略同じ動作をする複数の項目窓(入力欄)を画面に表示できる。よって、他の項目窓内の内容を見ながら項目窓に文字を挿入するなどの入力操作ができるため、他の項目窓の内容を確認するために画面を切り換える必要がない。 In other words, when a plurality of characters (including character strings) for each item window are displayed in the input area, for example, when characters are inserted or deleted in the upper row, they are displayed in the lower row. The character may be shifted forward or backward by one character, for example, but the display position of the character is adjusted by the character position adjusting means so that this type of shift does not occur. Therefore, even if only one input area (input UI) can be displayed on the screen of the display unit for reasons such as the specifications of the electronic device, the operation is substantially the same as the configuration in which individual input areas are provided for each item. Multiple item windows (input fields) can be displayed on the screen. Therefore, an input operation such as inserting a character into the item window can be performed while viewing the contents in the other item window, so there is no need to switch the screen to confirm the contents of the other item window.
また本発明の編集装置では、前記文字位置調整手段は、前記表示位置を調整するために空白文字を挿入又は削除することが好ましい。なお、空白文字とは、改行又はスペースなど、文字は表示されないが(但し、改行マークやスペースマークが表示される場合はある)その位置に一文字(全角文字)分又は半文字(半角文字)分の場所をとるものを指す。複数の空白文字を挿入又は削除する場合、その複数の空白文字には、例えば改行とスペースが混在するなど、異なる種類の空白文字が混在しても構わない。 In the editing apparatus of the present invention, it is preferable that the character position adjusting means inserts or deletes a blank character in order to adjust the display position. Note that a blank character does not display a character such as a line feed or a space (however, a line feed mark or a space mark may be displayed) at that position for one character (full-width character) or half character (half-width character). The one that takes the place of. When inserting or deleting a plurality of blank characters, different types of blank characters may be mixed in the plurality of blank characters, for example, line feeds and spaces are mixed.
これによれば、入力操作手段が入力を受け付けた場合、必要に応じて文字位置調整手段により空白文字が挿入又は削除されることにより、他の項目窓内の文字がずれることがない。 According to this, when the input operation means accepts an input, the character position adjusting means inserts or deletes a blank character as necessary, so that characters in other item windows do not shift.
また、本発明の編集装置では、前記文字位置調整手段は、前記入力操作手段が文字の消去を受け付けた場合は、当該文字消去により前記他の項目窓内の文字がずれるか否かを判断する判断手段を備え、前記他の項目窓内の文字がずれると判断した場合、当該文字の消去位置と次の項目窓との間の位置に空白文字を挿入することが好ましい。 In the editing apparatus of the present invention, when the input operation unit accepts erasure of the character, the character position adjusting unit determines whether or not the character in the other item window is shifted by the character erasure. When it is determined that the character in the other item window is shifted, it is preferable to insert a blank character at a position between the deletion position of the character and the next item window.
これによれば、入力操作手段が文字の消去を受け付けた場合、当該文字消去により当該文字の属する項目窓以外の他の項目窓内の文字がずれると判断された場合は、当該文字の消去位置と次の項目窓(後続の項目窓)との間の位置に空白文字が挿入される。よって、項目窓内で文字を消去しても他の項目窓内の文字がずれることを防止できる。なお、空白文字の挿入位置は、消去される文字の属する項目窓の文字入力可能領域よりも後側でかつ後続の項目窓の先頭文字よりも前側の範囲内とするのがさらに望ましい。 According to this, when it is determined that the character in the item window other than the item window to which the character belongs is shifted by the character erasing when the input operation unit accepts the character erasing, the character erasing position A blank character is inserted at a position between and the next item window (subsequent item window). Therefore, even if characters are deleted in the item window, it is possible to prevent the characters in other item windows from being shifted. It should be noted that the insertion position of the blank character is more preferably in a range after the character input available area of the item window to which the character to be deleted belongs and before the head character of the subsequent item window.
また、本発明の編集装置では、前記文字位置調整手段は、前記入力操作手段が文字の挿入を受け付けた場合は、当該文字挿入により前記他の項目窓内の文字がずれるか否かを判断する判断手段を備え、前記他の項目窓内の文字がずれると判断された場合、当該文字の挿入位置と次の項目窓との間の位置で空白文字を消去することが好ましい。 In the editing apparatus of the present invention, when the input operation unit accepts insertion of a character, the character position adjusting unit determines whether the character in the other item window is shifted due to the character insertion. When it is determined that the character in the other item window is shifted, it is preferable to delete a blank character at a position between the insertion position of the character and the next item window.
これによれば、入力操作手段が文字の挿入を受け付けた場合、当該文字挿入により当該文字の属する項目窓以外の他の項目窓内の文字がずれると判断された場合は、当該文字の挿入位置と次の項目窓(後続の項目窓)との間の位置で空白文字が消去される。よって、項目窓内で文字を挿入しても、他の項目窓内の文字がずれることを防止できる。なお、空白文字の消去位置は、挿入される文字の属する項目窓の文字入力可能領域よりも後側でかつ後続の項目窓の先頭文字よりも前側の範囲内とするのがさらに望ましい。 According to this, when the input operation means accepts the insertion of the character, if it is determined that the character in the item window other than the item window to which the character belongs is shifted by the character insertion, the insertion position of the character The blank character is erased at a position between and the next item window (subsequent item window). Therefore, even if characters are inserted in the item window, it is possible to prevent the characters in other item windows from being shifted. It is more desirable that the blank character erasing position is in a range after the character input available area of the item window to which the inserted character belongs and before the head character of the subsequent item window.
また、本発明の編集装置では、前記ポインタ制御手段は、前記入力操作手段が前記項目窓内の文字入力ポインタが項目窓に対応する領域から外れるような移動の入力を受け付けると、前記文字入力ポインタを前記入力に対応する方向へ一つ隣の項目窓内の位置へ移動させるタブ処理を行うことが好ましい。 In the editing apparatus of the present invention, the pointer control unit receives the input of movement such that the input operation unit deviates from the area corresponding to the item window in the item window. It is preferable to perform a tab process for moving to the position in the next item window in the direction corresponding to the input.
これによれば、項目窓内の文字入力ポインタが項目窓に対応する領域から外れるような移動の入力を入力操作手段が受け付けると、ポインタ制御手段は、文字入力ポインタをその受け付けた方向へ一つ隣の項目窓内の位置へ移動させるタブ処理を行う。例えば項目窓間に1行以上の間隔があっても、行を飛ばして一つ隣の項目窓に文字入力ポインタを移動させる。つまり、入力操作手段で文字入力ポインタが項目窓に対応する領域から外れるような移動の操作を行えば、文字入力ポインタをその入力に対応する方向へ一つ隣の項目窓へ移動させるタブ操作が可能となる。 According to this, when the input operation means accepts the movement input such that the character input pointer in the item window deviates from the area corresponding to the item window, the pointer control means moves the character input pointer one by one in the accepted direction. Tab processing to move to a position in the adjacent item window is performed. For example, even if there is an interval of one line or more between item windows, the character input pointer is moved to the next item window by skipping the line. That is, if the input operation means performs a movement operation such that the character input pointer deviates from the area corresponding to the item window, a tab operation for moving the character input pointer to the next item window in the direction corresponding to the input is performed. It becomes possible.
また、本発明の編集装置では、前記入力操作手段が新規画面を開く入力を受け付けると、前記入力UI手段が前記画面に表示させた前記入力エリアのうち先頭位置から少なくとも画面中における最後の項目窓内における先頭文字位置の直前の文字位置までの所定エリアを空白文字で埋める初期設定手段をさらに備えることが好ましい。 In the editing apparatus according to the present invention, when the input operation unit receives an input for opening a new screen, the input UI unit displays at least the last item window in the screen from the top position in the input area displayed on the screen. It is preferable to further include initial setting means for filling a predetermined area up to the character position immediately before the first character position with a blank character.
なお、空白文字で埋めるとは、空白文字が改行であれば、所定エリア内の各行に改行を挿入することを指し、空白文字がスペースであれば、所定エリアの全域をスペースで埋めることを指す。もちろん、空白文字が改行とスペースが混在して用いられる場合は、行頭に改行が入れられた行、行全域がスペースで埋められた行、1つ以上のスペースの後に改行が入れられた行などが存在してよい。また、所定エリアは、入力エリアの先頭位置から画面中の最後の項目窓の先頭文字位置より1文字前(直前)の文字位置までの範囲を少なくとも含むエリアである。 Filling with blank characters means that a new line is inserted into each line in the predetermined area if the blank character is a new line, and filling the entire area of the predetermined area if the blank character is a space. . Of course, when a blank character is used with a mixture of line breaks and spaces, a line with a line break at the beginning of the line, a line where the entire line is filled with spaces, a line with a line break after one or more spaces, etc. May exist. The predetermined area is an area including at least a range from the head position of the input area to the character position one character before (immediately before) the head character position of the last item window on the screen.
これによれば、項目窓間の各行は予め空白文字で埋められているので、項目窓から次の項目窓へ文字入力ポインタを移動させるタブ処理は、空白文字の挿入処理を行うことなく、文字入力ポインタを移動させる処理だけで済ませられる。このため、空白文字の挿入処理が伴う場合に比べ、タブ操作時に文字入力ポインタを他の項目窓へスピーディに移動させることができる。 According to this, since each line between the item windows is filled with blank characters in advance, the tab processing for moving the character input pointer from the item window to the next item window does not perform the insertion process of the blank characters. All you need to do is move the input pointer. For this reason, the character input pointer can be moved to another item window more quickly during tab operation than when a blank character insertion process is involved.
また、本発明の編集装置では、前記ポインタ制御手段は、前記文字入力ポインタを前記一つ隣の項目窓内の位置へ移動させるに当たり、当該文字入力ポインタの属する項目窓と前記一つ隣の項目窓との間が空白文字で埋められていない場合は、当該間を空白文字で埋めた後に前記文字入力ポインタを移動させることが好ましい。 In the editing apparatus of the present invention, when the pointer control means moves the character input pointer to a position in the next item window, the item window to which the character input pointer belongs and the next item. When the space between the windows is not filled with blank characters, it is preferable to move the character input pointer after filling the spaces with blank characters.
これによれば、文字入力ポインタを一つ隣の項目窓内へ移動させるに当たり、一つ隣の項目窓との間が空白文字で埋められていない場合、ポインタ制御手段は、当該間を空白文字で埋めた後に文字入力ポインタを一つ隣の項目窓内へ移動させる。文字入力ポインタの移動先は文字(空白文字を含む)のある範囲に限られるが、一つ隣の項目窓までの間を空白文字で埋めることで、一つ隣の項目窓へ文字入力ポインタを移動でき、タブ操作が可能になる。 According to this, when moving the character input pointer into the next item window, if the space between the next item window is not filled with blank characters, the pointer control means After filling with, move the character input pointer into the next item window. The destination of the character input pointer is limited to a certain range of characters (including blank characters), but by filling the space between the next item window with a blank character, the character input pointer is moved to the next item window. It can be moved and tab operations can be performed.
また、本発明の編集装置では、前記入力操作手段が文字の入力を受け付けた場合、当該入力を反映させると入力対象の項目窓に設定された最大文字数を超えるか否かを判断する入力限界判定手段と、前記最大文字数を超えると判断された場合は、所定の文末処理を行う文末処理手段とをさらに備えることが好ましい。 In the editing apparatus according to the present invention, when the input operation unit accepts an input of a character, an input limit determination that determines whether or not the maximum number of characters set in the item window to be input is exceeded when the input is reflected It is preferable to further include means and a sentence end processing means for performing a predetermined sentence end process when it is determined that the maximum number of characters is exceeded.
これによれば、入力操作手段が文字の入力を受け付けた場合、当該入力を反映させると入力対象の項目窓に設定された最大文字数を超えるか否かが入力限界判定手段により判断される。最大文字数を超えると判断された場合、文末処理手段により所定の文末処理が行われる。なお、所定の文末処理の例としては、文字入力ポインタを次の項目窓に移動させるタブ処理や、文字入力不可能な旨の警告をユーザに発する警告処理(報知処理)を挙げることができる。なお、警告処理は、ブザー音や合成音声による音声警告、画面への警告メッセージの表示や点灯警告による表示警告を行う処理などを挙げることができる。 According to this, when the input operation means accepts an input of characters, the input limit determination means determines whether or not the maximum number of characters set in the item window to be input exceeds when the input is reflected. When it is determined that the maximum number of characters is exceeded, a predetermined sentence ending process is performed by the sentence ending processing means. Examples of the predetermined sentence ending process include a tab process for moving the character input pointer to the next item window, and a warning process (notification process) for giving a warning to the user that character input is impossible. Note that the warning process includes a process of performing a warning with a buzzer sound or a synthesized voice, a warning message displayed on a screen, or a display warning with a lighting warning.
また、本発明の編集装置では、前記入力操作手段がデータ保存要求を受付けると、前記入力エリア上から項目窓に対応する領域分の文字列を切り出す切出し手段と、前記切り出した文字列のデータを記憶手段に保存する保存手段とをさらに備えたことが好ましい。なお、項目窓に対応する領域とは、入力エリアにおいて項目窓に設定された文字入力可能領域を指し、項目窓内に見えている領域に限らず、項目窓の外側に隠れた文字も項目窓への入力文字であればそれらを全て含む領域をも指す。この場合、たとえ文字入力可能領域であってもユーザが入力したものではない空白文字の位置する領域は、ここでいう項目窓に対応する領域から除外することが好ましいが、含めても構わない。 In the editing apparatus of the present invention, when the input operation unit accepts a data storage request, a cutting unit that cuts out a character string corresponding to an item window from the input area, and data of the cut out character string It is preferable to further include a storage unit that stores in the storage unit. The area corresponding to the item window refers to a character input enabled area set in the item window in the input area, and is not limited to the area visible in the item window, and characters hidden outside the item window are also displayed in the item window. If it is an input character to, it also refers to the area that contains them all. In this case, even if it is an area where characters can be entered, an area where a blank character that is not input by the user is preferably excluded from the area corresponding to the item window here, but may be included.
これによれば、入力操作手段がデータ保存要求を受け付けると、文字切出し手段により、入力エリア上から項目窓に対応する領域分の文字列が切り出される。そして、保存手段により、その切り出した文字列のデータが記憶手段に保存される。このように項目窓の文字列が切り出されて保存されて、項目窓の間隔に相当する領域(但し、文字入力可能領域以外の領域)に位置する空白文字や、文字位置調整のために挿入された空白文字は基本的に保存されないので、保存されるデータの容量を少なく済ませられる。 According to this, when the input operation means accepts the data storage request, the character cutout means cuts out a character string corresponding to the area corresponding to the item window from the input area. Then, the saved character string data is saved in the storage means by the saving means. In this way, the character string of the item window is cut out and saved, and inserted in the area corresponding to the interval of the item window (however, the area other than the character inputable area) or for character position adjustment. Since the blank character is not stored basically, the capacity of the stored data can be reduced.
本発明は電子機器であって、文字表示可能な画面を有する表示部と、少なくとも文字の入力を受け付ける入力操作手段と、前記入力操作手段が受け付けた入力結果が表示される入力エリアを有する入力UIを用意する入力UI手段と、複数の項目窓を有する表画像を用意する表画像手段と、前記表画像における項目窓以外の部分は前記表画像を前記入力UIよりも優先して前記表示部に表示させ、前記表画像における項目窓の部分は前記入力UIを前記表画像よりも優先して前記表示部に表示させる画面表示手段と、前記入力エリア上の文字入力ポインタを前記項目窓内に位置するように位置制御するポインタ制御手段と、前記入力操作手段が入力を受け付けると、前記入力エリア上の前記文字入力ポインタの位置に入力結果を反映させる処理を行う処理手段と、前記処理手段による前記処理が行われた場合に当該処理の対象の項目窓以外の他の項目窓内に表示されていた文字がずれないように文字の表示位置を調整する文字位置調整手段とを備えたことを要旨とする。この電子機器によれば、上記編集装置の発明と同様の効果を得ることができる。 The present invention is an electronic apparatus, and includes an input UI having a display unit having a screen capable of displaying characters, input operation means for receiving at least character input, and an input area for displaying an input result received by the input operation means. An input UI means for preparing a table image means for preparing a table image having a plurality of item windows, and a portion other than the item window in the table image has priority over the input UI for the table image on the display unit. The item window portion in the table image is displayed on the display unit with the input UI displayed on the display unit with priority over the table image, and the character input pointer on the input area is positioned in the item window. When the pointer control means for controlling the position and the input operation means accept input, the input result is reflected on the position of the character input pointer on the input area. The display position of the character is adjusted so that the character displayed in the item window other than the item window to be processed does not shift when the processing by the processing unit is performed. The gist of the invention is that it includes a character position adjusting means. According to this electronic apparatus, it is possible to obtain the same effect as that of the editing apparatus.
本発明は、入力操作手段及び表示部を有する電子機器において、前記入力操作手段が受け付けた入力文字を前記表示部の画面に表示させて編集処理を行う電子機器における編集方法であって、前記入力操作手段が受け付けた文字を表示可能な入力エリアを有する入力UIを用意させる入力UIステップと、複数の項目窓を有する表画像を用意する表画像ステップと、前記表画像における項目窓以外の部分は前記表画像を前記入力UIよりも優先して前記表示部に表示させ、前記表画像における項目窓の部分は前記入力UIを前記表画像よりも優先して前記表示部に表示させる画面表示ステップと、前記入力エリア上の文字入力ポインタを前記項目窓内の所定位置に配置するポインタ制御ステップと、前記入力操作手段が入力を受け付けると、前記入力エリア上の前記文字入力ポインタの位置に入力結果を反映させる処理を行う処理ステップと、前記処理ステップによる前記処理が行われた場合に当該処理が行われた項目窓以外の他の項目窓内に表示されていた文字がずれる場合は、当該文字がずれないように文字の表示位置を調整する文字位置調整ステップとを備えたことを要旨とする。これによれば、前記編集装置の発明と同様の効果を得ることができる。 The present invention relates to an editing method in an electronic device having an input operation means and a display unit, wherein the input character received by the input operation means is displayed on the screen of the display unit and an editing process is performed. An input UI step for preparing an input UI having an input area capable of displaying characters received by the operating means, a table image step for preparing a table image having a plurality of item windows, and portions other than the item window in the table image A screen display step of causing the display image to be displayed on the display unit with priority over the input UI, and an item window portion in the front image to display the input UI on the display unit with priority over the table image; , A pointer control step of placing a character input pointer on the input area at a predetermined position in the item window, and when the input operation means accepts an input, A processing step for performing a process of reflecting the input result on the position of the character input pointer on the input area, and an item window other than the item window on which the processing is performed when the processing by the processing step is performed The gist of the present invention is to provide a character position adjusting step for adjusting the display position of the character so that the character displayed in the screen is shifted when the character is shifted. According to this, the same effect as the invention of the editing apparatus can be obtained.
本発明は、入力操作手段及び表示部を有する電子機器が備えたコンピュータに、前記入力操作手段からの入力文字を前記表示部の画面に表示させて編集処理を実行させるためのプログラムであって、前記コンピュータに、テキストコントロール手段を起動させて前記入力操作手段が受け付けた文字を表示可能な入力エリアを有する入力UIを用意させる入力UIステップと、複数の項目窓を有する表画像を用意する表画像ステップと、前記表画像における項目窓以外の部分は前記表画像を前記入力UIよりも優先して前記表示部に表示させ、前記表画像における項目窓の部分は前記入力UIを前記表画像よりも優先して前記表示部に表示させる画面表示ステップと、前記入力エリア上の文字入力ポインタを前記項目窓内の所定位置に配置する指示を前記テキストコントロール手段に与えるポインタ制御ステップと、前記入力操作手段からの入力を受け付けた前記テキストコントロール手段が、前記入力エリア上の前記文字入力ポインタの位置に入力結果を反映させる処理を行った場合に前記処理が行われた項目窓以外の他の項目窓内に表示されていた文字がずれる場合は、当該文字がずれないように空白文字を挿入又は削除する指示を前記テキストコントロール手段に与えて文字の表示位置を調整させる文字位置調整ステップとを実行させるためのプログラムであることを要旨とする。これによれば、このプログラムをコンピュータが実行することにより、上記編集装置及び編集方法と同様の効果を得ることができる。 The present invention is a program for causing a computer provided in an electronic device having an input operation means and a display unit to display input characters from the input operation means on a screen of the display unit and to execute an editing process, An input UI step for causing the computer to prepare an input UI having an input area capable of displaying a character received by the input operation means by activating text control means, and a table image for preparing a table image having a plurality of item windows And a step other than the item window in the table image causes the table image to be displayed on the display unit in preference to the input UI, and the item window portion in the table image displays the input UI over the table image. A screen display step for preferential display on the display unit and a character input pointer on the input area are arranged at a predetermined position in the item window. A pointer control step of giving an indication to the text control means, and the text control means that has received an input from the input operation means has performed a process of reflecting the input result on the position of the character input pointer on the input area In this case, if a character displayed in another item window other than the item window on which the processing is performed is shifted, an instruction to insert or delete a blank character is given to the text control unit so that the character does not shift. And a character position adjusting step for adjusting the character display position. According to this, when the computer executes this program, the same effects as those of the editing apparatus and the editing method can be obtained.
以下、本発明を具体化した一実施形態を図1〜図12に従って説明する。図5は、本実施形態に係る携帯電話機の外観を示す正面図である。
携帯電話機10は、本体10aと、該本体10aに対して回動可能に連結されたカバー部10bとを有している。本体10aの内面上には、入力ボタン11が設けられている。入力ボタン11には、電話番号入力又は文字入力のために操作される複数の操作ボタン12、各種の項目を選択するための選択キー13(十字キー)、決定ボタン14などがあり、その他、電源ボタン、電子メールボタン、インターネットボタン(ブラウザボタン)、カメラボタンなどの各種ボタンが含まれている。また、カバー部10bには画面17を有する表示部18(ディスプレイ)が備えられている。携帯電話機10には各種アプリケーションが搭載され、画面17にはアプリケーションで扱われる各種画像やテキストなどが表示される。例えば文字編集機能を有するアプリケーションの場合、画面17に表示された編集画面上で入力ボタン11のうち文字(ひらがな・アルファベット)が割り当てられた操作ボタン12などを操作することにより編集作業を行うことができる。
Hereinafter, an embodiment embodying the present invention will be described with reference to FIGS. FIG. 5 is a front view showing the appearance of the mobile phone according to the present embodiment.
The
図1は、携帯電話機のハードウェアおよびソフトウェア構成を示すブロック図である。
携帯電話機10は、入力ボタン11の操作により画面17上で文字列や文章等の編集作業を行うことができる編集用のアプリケーションが実行されることで編集装置として機能する。携帯電話機10は、CPU21、ROM22、RAM23、通信部24、表示部18、入力ボタン11及びリムーバブルメモリインターフェイス(以下、単にリムーバブルメモリI/F25と記す)を備える。CPU21はバスを介して各部に接続されており、ROM22、RAM23と協働して所定のプログラムを実行することが可能である。
FIG. 1 is a block diagram showing a hardware and software configuration of a mobile phone.
The
ROM22には、オペレーティングシステム(OS)および携帯電話機10の機能として当初から必要な各種プログラム等が格納されている。そのうちの一つに、携帯電話機用のアプリケーションプラットフォーム(例えば「BREW」;Qualcomm社の登録商標)を構築するプログラムが含まれている。共通API(Application Program Interface)を装備したアプリケーションプラットフォームが搭載されることにより、携帯電話機10は、仕様の異なる他の携帯電話機と同一のプログラムを動かせるようになる。アプリケーションプラットフォーム(BREW(R))は、携帯電話向けのアプリケーション実行環境(AEE)を提供しており、このアプリケーション実行環境の下で各種アプリケーションは動作する。
The
本実施形態における編集用のアプリケーションは、画像とテキストを合成した「はがき」の文面印刷用の印刷画像(図3(a)を参照)などを編集できる編集プログラムである。図1に示すCPU21が編集プログラムを実行することにより、携帯電話機10内には編集システム30が構築される。なお、編集プログラムは、ROM22の一部を構成する不揮発性メモリあるいはリムーバブルメモリ26に格納されている。
The editing application in the present embodiment is an editing program that can edit a print image (see FIG. 3A) for text printing of a “postcard” obtained by combining an image and text. The
通信部24は、公衆電話回線網と接続できる所定周波数帯域の電波を送受信できるアンテナおよび通信回路を備え、通話、電子メールおよびインターネットを可能にする。また、通信部24は、赤外線通信又はBluetooth(R)通信可能な近距離無線通信部も備える。例えば画像データやテキストデータを含む各種ファイルを、通信部24を介してダウンロードしたり、他の電子機器から近距離無線通信で受信したりすることができる。
The
リムーバブルメモリIF25は、本体10aのスロットに挿着されたリムーバブルメモリ26と電気的に接続される。CPU21はリムーバブルメモリ26からのデータ読出し及びリムーバブルメモリ26へのデータの書込みが可能である。
The removable memory IF 25 is electrically connected to the
本実施形態では、リムーバブルメモリ26には、印刷時のレイアウトを構築するデータ等をひとまとめにしたパッケージデータ27が記憶されている。このパッケージデータ27は、編集システム30(編集プログラム)が提供する編集機能等を用いてユーザが入力ボタン11を操作するなどして作成した編集結果を印刷するためのデータファイルを含む。図1に示すように、パッケージデータ27は、スクリプトファイル27aと、表示用データファイル27bと、印刷用データファイル27cとを含んでいる。
In the present embodiment, the
図3は、CPUが編集プログラムを実行して画面に表示される各種編集画面を示す。図3(a)は、ハガキ印刷用の画像付き文面の作成を支援するレイアウト編集画面56であり、文面全体のイメージが表示されている。レイアウト編集画面56には、例えば日の出の画像の背景に「あけましておめでとう」という文字の画像が重ねられた画像57を示しており、さらに、左下に項目の編集開始指示を受け付けるための編集ボタン58が表示されている。項目の編集前にはその項目の内容が未確定であるため、図3(a)にて破線で示す各項目の文字枠59には文字はまったく表示されない。また、編集ボタン58は入力ボタン11のいずれかに対応しており、編集ボタン58に対応した入力ボタン11の操作を受け付けると、図3(b)に示す編集画面50を表示する。
FIG. 3 shows various editing screens displayed on the screen when the CPU executes the editing program. FIG. 3A shows a
レイアウト編集画面56では、指定した文字枠59を移動させてそのレイアウトを変更する操作ができ、文字枠59に配置すべき文字列の編集は、編集ボタン58を操作することで画面17に開かれる図3(b)に示す編集画面50で行われる。編集画面50は、各文字枠59に入力すべき文字列の編集を行うための入力画面であり、各文字枠59に対応する3つの項目窓53a〜53cを有している。この編集画面50を用いて、ユーザは入力ボタン11を操作して、「郵便番号」、「住所」、「名前」の具体的な内容を示す文字列を各項目窓53a〜53cに入力する編集作業を行う(図3(c)を参照)。
On the
編集画面50,56を用いてユーザが設定した編集結果は、パッケージデータ27として保存される。図1に示すパッケージデータ27のうちスクリプトファイル27aには、レイアウトを示すテキストデータが記述されている。このレイアウトを示すテキストデータは、印刷時のレイアウトを特定するための複数のパラメータを含んでいる。本実施形態においては、パラメータとして、印刷用紙の種類(大きさ(A4、ハガキ、L判等)や品質(光沢紙、普通紙等))、印刷用紙上における文字枠59の(テキストボックス)の位置、大きさ、文字数(最大文字数)、文字の大きさ、属性を含んでいる。また、文字枠59(すなわち項目窓53a〜53c)に入力された入力内容(項目データ)もスクリプトファイル27aに格納されるようになっている。
The editing results set by the user using the editing screens 50 and 56 are stored as
ここで、文字枠の属性は、各文字枠59に入力すべき文字列の内容を示しており、各文字枠59の項目名と一対一に対応している。例えば、郵便番号を入力すべき文字枠の項目名は「郵便番号」であり、その属性はこの文字枠が「郵便番号」の文字枠であることを示す情報である。本実施形態においては、文字枠59に属性を対応付け、ROM22に記憶された項目名データ22aに基づいて属性を項目名に変換する。この変換で得られた項目名は、編集画面50(図3(b)を参照)において各文字枠59に対応して作成される項目窓53a〜53cの外側近傍位置に付される項目名として使用される。
Here, the attribute of the character frame indicates the content of the character string to be input to each
印刷用データファイル27cは印刷対象となっている画像57を示すデータであり、表示用データファイル27bはこの画像57を画面17に表示するためのサムネイルデータである。従って、図示しないコンピュータやプリンタが当該パッケージデータ27を取得して解析を行うことにより、スクリプトファイル27aに記述されたレイアウト通りに文字(例えば郵便番号、住所、名前の各文字列)と印刷用データファイル27cが示す画像57とをレイアウトした印刷結果を得ることが可能になる。
The print data file 27 c is data indicating the
図1に示すCPU21が編集プログラムを実行して構築される編集システム30は、画像処理部31と編集制御部32と入力制御部33を備えている。画像処理部31は画像を扱う処理を行うモジュールであり、レイアウト編集画面56に表示される画像57の表示・移動・変倍などの各処理を行う。編集制御部32は、編集画面50の生成・表示の各処理、及び、入力ボタン11からの入力に基づき各項目窓に53a〜53cに文字を適切に表示させる編集処理を行う。入力制御部33は、編集ボタン58に対応した入力ボタン11の操作の判別、及びその他の入力ボタン11からの入力の判別を行い、判別結果に応じた情報や指示を画像処理部31及び編集制御部32に送る機能を有する。編集制御部32は、入力制御部33から編集ボタン58に対応した入力ボタン11の操作であると判別した旨の通知を受け付けると、編集画面生成処理を実行し、編集画面50を画面17に表示させる。
An
図4は、編集制御部により表示される編集画面を示し、同図(a)は編集画面の正面図、同図(b)は編集画面の構造を示す分解斜視図である。
編集画面50は、所定文字数の文字を入力可能な所定フォーマットの入力エリア51aを有する入力ユーザインターフェイス(以下、「入力UI51」と記す)と、入力UI51に重ねてその表側に表示される表画像52とから構成される。表画像52には、3つの項目窓53a〜53cが画面17の上下方向に所定の間隔で配置されている。各項目窓53a〜53cの左上近傍位置にはテキストで記述された「郵便番号」「住所」「名前」の各文字列からなる項目名54a〜54cが表示されている。各項目窓53a〜53cは入力エリア51aと相対して位置している。
4A and 4B show an editing screen displayed by the editing control unit. FIG. 4A is a front view of the editing screen, and FIG. 4B is an exploded perspective view showing the structure of the editing screen.
The
表画像52は、項目窓53a〜53cの部分だけ画像が抜かれて開口する窓となった画像であり、その下側の入力エリア51aのうち各窓と相対する領域が各窓を通して透けて見える構造となっている。表画像52のうち項目窓53a〜53d以外の部分は、不透明で下側の入力UI51は隠れて見えなくなっている。但し、図4は編集画面を構成する画像のレイヤ構造を説明するための仮想図であり、実際には2層構造となっている訳ではない。すなわち、項目窓53a〜53c以外の領域では表画像52が入力エリア51aより優先して画面17に表示され、項目窓53a〜53cに対応する領域では入力エリア51aが表画像52より優先して画面17に表示される。
The
入力エリア51aのフォーマットは、例えば1行当たりの文字数が「10文字/行」、行数「10行」となっている(図6を参照)。表画像52は、入力エリア51aに対して行と項目窓53a〜53cの位置が合うように位置決めされる。すなわち、表画像52を入力UI51に重ねて配置した場合、行と窓の位置が合うように入力エリア51aのフォーマットに合わせて項目窓53a〜53cの配置位置を決定したり、あるいは逆に項目窓53a〜53cの配置位置に合わせて入力エリア51aのフォーマット(行数・行間)を決定したりしている。仕様の違いにより設定できるフォーマット(行数・行間)が機種によって異なる場合は、その仕様から決まるフォーマットに合わせ、前者の方法を採用する。項目窓53a〜53cの行方向における窓の長さは、入力エリア51aの1行分(10文字分)の長さに等しく、1行分の文字をすべて項目窓53a〜53c内に表示可能となっている。
In the format of the
例えば「郵便番号」の項目窓53aは入力エリア51aの2行目に相対し、「住所」の項目窓53bは5行目と6行目の2行分に相対し、「名前」の項目窓53cは9行目に相対している。このように「郵便番号」と「名前」の各項目窓53a,53cには1行分(10文字)の文字が表示可能となっており、「住所」の項目窓53bには2行分(20文字)の文字が表示可能となっている。そして、各項目窓53a〜53cの間隔は2行分ずつ開けてある。また、図4(a)に示すように、入力エリア51a上において文字入力可能な位置に表示される文字入力ポインタ55(キャレット)は、3つの項目窓53a〜53cのうちいずれか1つの項目窓内に表示されるようになっている。
For example, the
図2は、CPUが編集プログラムを実行することにより実現される機能ブロック図であり、特に編集画面50の生成処理及び編集処理を司る編集制御部32の構成部分を中心に示している。なお、編集画面50の生成に際して必要となる入力UI51の生成においては、携帯電話機10に初期搭載されているテキストコントロール機能を利用する。
FIG. 2 is a functional block diagram realized by the CPU executing the editing program, and particularly shows mainly the components of the
図2に示すように、編集制御部32は、編集画面50を生成する編集画面生成部35と、入力ボタン11からの入力を受け付けて編集画面50上に入力結果を反映させる編集処理を司る編集処理部36とを備える。編集画面生成部35は、表画像52を生成する表画像生成部41と、入力UI起動部42及びテキストコントロール部43とを備える。表画像生成部41及び入力UI起動部42は、レイアウト編集画面56の編集ボタン58に対応する入力ボタン11が操作されたと判別した入力制御部33からの通知に基づき起動する。入力UI起動部42は起動すると、テキストコントロール部43を起動させて入力UI51を生成させる。
As shown in FIG. 2, the
ここで、編集プログラムは、アプリケーションプラットフォーム(例えばBREW(R))が提供している携帯電話向けのアプリケーション実行環境(AEE)の下で動作する。AEEはデバイスプラットフォームにアクセス可能なインターフェイスを提供しており、このインターフェイスを通じて編集プログラムは、テキストコントロールを含む各種のリソースにアクセス可能となっている。テキストコントロール部43は、アプリケーションがアクセス可能なリソースの一つであるテキストコントロールにより構築されている。本実施形態のテキストコントロール部43は、デバイスプラットフォームの仕様上の制約から画面17に表示できる入力UI51(入力エリア51a)が一つに制限されている。なお、その他のリソースとして、メモリ管理、ファイル管理、データベース管理、日付コントロール、ユーザインターフェイスコントロール等が用意されており、テキストコントロール部43はテキストコントロール以外に他のリソースのうち少なくとも一つを含む構成として構築することができる。
Here, the editing program operates under an application execution environment (AEE) for mobile phones provided by an application platform (for example, BREW®). AEE provides an interface accessible to the device platform, through which the editing program can access various resources including text controls. The
入力UI起動部42は、アプリケーションプラットフォーム(例えば「BREW(R)」)が提供するAPI機能を使ってテキストコントロールの関数を呼び出すことで、テキストコントロール部43を起動させる。例えばこの関数において指定する値によって入力エリア51aのフォーマットを指定する。
The input
テキストコントロール部43は、入力UI起動部42から起動の指示(APIコール)を受け付けたインターフェイスを介してその指示を受け付けると起動し、指定されたファーマット(例えば10文字/行・10行)の入力エリア51aを有する入力UI51を画面17に表示させる。起動状態にあるテキストコントロール部43は、入力ボタン11からの操作入力を受け付けた編集処理部36からの指示に基づいて、その入力結果を入力UI51の入力エリア51a上の文字入力ポインタ55の位置に反映させたり、文字入力ポインタ55を移動させたりする編集処理を行う。例えば操作ボタン12の操作で入力された文字が確定されれば文字入力ポインタ55の位置にその確定された文字を挿入し、削除の入力であれば文字入力ポインタ55の位置の文字を削除する。また、選択キー13が操作された入力であれば、例えばその操作された選択キー13のキー方向に応じて行方向または行方向に直交する方向(画面の上下方向)へ文字入力ポインタ55をその操作回数に応じた移動量だけ移動させる。なお、画面17に表示可能な最大文字数・最大行数を超え、画面をスクロールさせることで画面17から隠れていた入力エリアの領域が表示されるようになるフォーマットを設定することもできる。
The
表画像生成部41は、複数の項目窓53a〜53cを有する表画像52を生成するとともに、生成した表画像52を入力UI51(入力エリア51a)に表側から重なる状態で画面17に表示させる。つまり、項目窓53a〜53c以外の領域では表画像52を入力エリア51aより優先して画面17に表示させ、項目窓53a〜53cに対応する領域では入力エリア51aを表画像52より優先して画面17に表示させる。
The front
ROM22又はリムーバブルメモリ26には、表画像52の雛形となる表画像データ、表画像52における項目窓53a〜53cの配置位置を規定する位置データ、表画像52及び項目窓53a〜53cの各サイズを規定するサイズデータ等の必要な各種データが予め格納されている。表画像生成部41は、これらのデータに基づいて項目窓53a〜53cが所定位置に開口する所定サイズの表画像(プレーン表画像)を生成する。さらに、リムーバブルメモリ26から読み込んだパッケージデータ27のうちスクリプトファイル27aから文字枠59の「属性」を取得し、その「属性」から項目名データ22aに基づき変換して得た項目名「郵便番号」「住所」「名前」を、プレーン表画像のうち対応する項目窓53a〜53cの左上近傍位置にそれぞれ合成して、表画像52を生成する。こうして生成した表画像52を入力UI51に重ねて表示させることで、画面17には編集画面50が表示される。
In the
また、編集処理部36は、入力ボタン11からの入力を受け付けたテキストコントロール部43が入力エリア51aに反映させた入力結果に対して、項目窓53a〜53c内に文字を配置させたり、文字入力ポインタを項目窓53a〜53c間で移動させたりするなどの適切化処理を行う。この適切化処理により、項目窓53a〜53cの一つひとつが個別のテキストボックスであるかのように、文字の表示位置、及び、文字入力ポインタ55の移動などが制御される。編集処理部36は、文字入力ポインタ制御部45と、文字数管理部46と、文字位置制御部47とを備えている。
Further, the edit processing unit 36 arranges characters in the
文字入力ポインタ制御部45は、入力エリア51aにおける文字入力ポインタ55の位置を管理し、文字入力ポインタ55が項目窓53a〜53c内に常に配置されるように制御する(図4(a)参照)。本実施形態では、選択キー13(十字キー)のうち上下選択キーがタブキーに割り当てられている。上下選択キーで文字入力ポインタ55を項目窓外へ移動させる操作を受け付けた場合、文字入力ポインタ制御部45は文字入力ポインタ55を現在ある項目窓から次の項目窓に移動させるタブ処理を行う。また、項目窓53a〜53cに入力された文字列を確定する決定ボタン14の操作を受け付けた場合、文字入力ポインタ制御部45は、文字入力ポインタ55を確定された項目窓から次の項目窓に移動させるタブ処理を行う。さらに、改行が割り当てられた入力ボタン11の操作を受け付けた場合、文字入力ポインタ制御部45は文字入力ポインタ55を改行操作が行われた項目窓から次の項目窓に移動させるタブ処理を行う。上下選択キー、決定ボタン14(確定キー)及び改行キーが1回操作された場合に、現在の項目窓から次の項目窓までの移動に必要な行数(=N行)だけ文字入力ポインタ55を移動させる処理を行う。このタブ処理では、文字入力ポインタ55だけを移動させるので改行は挿入されない。文字入力ポインタ制御部45は、タブ処理に必要な行数(=N行)を指定してテキストコントロール部43に文字入力ポインタ55の移動を指示する。
The character input
文字数管理部46は、項目窓53a〜53cに入力される文字数を項目窓毎に設定されている最大文字数以内に管理する。項目窓53a〜53cの項目から予め入力可能な最大文字数は決まっており、最大文字数以内の文字の入力は許可し、最大文字数を超える文字の入力は禁止する。最大文字数は、例えば項目窓53aが「郵便番号」の上限文字数である「8文字」、「住所」の項目窓53bが20文字(2行分)、「名前」の項目窓53cが10文字(1行分)となっている。
The character
文字位置制御部47は、「改行」や「スペース」からなる空白文字の挿入または削除することで項目窓53a〜53c内に文字列が正しく配置されるように制御し、入力エリア51aにおける文字の表示位置を調整する文字位置調整処理を行う。例えば項目窓に文字が挿入される度に後続の行で1文字分ずつ文字列位置がずれる場合や、文字の挿入により改行位置が次行に移動する場合があり、これらの場合において後続の項目窓内の文字が1文字分ずつ、あるいは1行分ずれることを、スペースを1つ削除するか、改行を1つ削除することで回避する。この文字位置調整処理は、テキストコントロール部43にスペースの削除又は改行の削除を指示することにより行われる。
The character
以上の構成において編集システム30は、パッケージデータ27を参照して編集画面を表示し、その表示した編集画面における各項目に対する編集などの編集処理を行う。携帯電話機10のユーザは、入力ボタン11を操作して編集システム30を起動する。編集システム30の起動後、まずユーザは入力ボタン11を操作してパッケージデータ27の選択を行う。
In the above configuration, the
すなわち、画像処理部31はリムーバブルメモリ26にアクセスし、当該リムーバブルメモリ26に記憶されている複数のパッケージデータ27を取得し、表示部18の表示を制御してそれらのいずれかを選択できるように選択肢を提供する。ユーザは入力ボタン11によって所望のパッケージデータ27を指示し、入力制御部33がその指示内容を取得すると、パッケージデータ27の選択が確定する。当該確定されたパッケージデータ27のレイアウトが編集対象であり、以下、その項目の内容を編集することになる。そこで、画像処理部31は選択されたパッケージデータ27の表示用データファイル27bから表示用の画像を示すデータを抽出し、このデータに基づいて表示部18に図3(a)に示すレイアウト編集画面56を表示する。このレイアウト編集画面において項目を編集する場合に編集ボタン58に対応する入力ボタン11を操作する。入力制御部33はこの編集ボタン58による編集開始指示を受け付けたか否かを判別しており、編集開始指示を受け付けたと判別されたときには、図3(b)に示す編集画面50を表示する。
That is, the
図7〜図9は、編集画面50の表示、編集画面50における編集、編集されたデータの保存等の各処理を示すフローチャートである。編集ボタン58が操作されたときには、まず図7にフローチャートで示す編集画面表示処理ルーチンのプログラムを実行する。以下、CPU21が実行する編集画面表示処理ルーチンについて図7に基づいて説明する。
FIG. 7 to FIG. 9 are flowcharts showing processes such as display of the
ステップS10では、表画像52を生成する。すなわち、CPU21は例えばリムーバブルメモリ26の所定記憶領域の情報に基づいて表画像52の画像データを生成する。表画像52は、図4に示すように項目窓53a〜53cが抜かれた画像であり、項目窓53a〜53cの左上近傍位置には項目名54a〜54cが描画されている。項目名54a〜54cは、編集制御部32がスクリプトファイル27aを解析して得た、各項目窓53a〜53cの属性を項目名データ22aを参照して変換した項目名を表画像52の対応する各項目窓53a〜53cの左上近傍位置に合成することで描画される。項目窓53a〜53cのサイズは予め項目毎に決められていてもよいが、レイアウト編集画面56で文字枠59のサイズを変更できる機能がある場合は、その変更された文字枠59のサイズに応じて項目窓53a〜53cのサイズ(すなわち最大文字数)を変更する構成も採用できる。また、項目窓数についてもレイアウト編集画面56で文字枠59を追加・削除することでその数を変更できる場合は、その変更後の文字枠59の数に合わせこともできる。項目窓の数が増えた場合はその数やサイズに応じて入力エリアのフォーマットを変更する。このステップS10の処理のうち表画像52の画像データを生成する処理を実行するCPU21により表画像手段が構成される。
In step S10, a
次のステップS20では、画面17上に入力エリア51a(入力UI51)を表示させるとともに表示された入力エリア51a上の文字入力ポインタ55を最初の項目窓53aの先頭文字位置に表示させる。すなわち、まずCPU21はテキストコントロール部43を起動させて入力エリア51a(入力UI51)を開く指示を出す。この指示を受け付けたテキストコントロール部43は、画面17上に入力エリア51a(入力UI51)を指定のフォーマットで表示する。この結果、表画像52の項目窓53a〜53c内には、入力エリア51aの対応する領域が見えることになる。但し、表画像52は項目窓以外の領域と項目窓の領域とで、入力エリア51aの画像に対する表示の優先順位が規定された画像データであり、項目窓53a〜53c以外の領域では表画像52を入力エリア51aより優先して表示させ、項目窓53a〜53cに対応する領域では入力エリア51aを表画像52より優先して表示させる表示処理が行われる。
In the next step S20, the
なお、このステップS20において、入力UI51を開く指示をテキストコントロール部43に与える処理を行うCPU21(入力UI起動部42)により、入力UIを用意させる入力UI手段が構成される。また、ステップS10で生成された表画像52と、ステップS20で指示を与えてテキストコントロール部43に用意させた入力UI51とを、項目窓以外の領域で表画像52を優先して表示し、項目窓の領域で入力UI51を優先して表示する処理を行うCPU21により画面表示手段が構成される。
In this step S20, the input UI means for preparing the input UI is configured by the CPU 21 (input UI activation unit 42) that performs processing for giving the
次のステップS30では、保存データがあるか否かを判断する。すなわち、既に編集された既存の項目データ(文字列データ)があるか否かを判断する。保存データがあればステップS40に進み、保存データがなければステップS60に進む。 In the next step S30, it is determined whether there is stored data. That is, it is determined whether there is existing item data (character string data) that has already been edited. If there is stored data, the process proceeds to step S40, and if there is no stored data, the process proceeds to step S60.
次のステップS40では、保存データを読み出す。すなわち、リムーバブルメモリ26のスクリプトファイル27aから前回入力されて保存されていた項目データを読み出す。例えば、前回、郵便番号の項目窓に入力された郵便番号データ、住所の項目窓に入力されて保存された住所データおよび名前の項目窓に入力されて保存された名前データのうち保存されているものを読み出す。
In the next step S40, the stored data is read. That is, the item data that was previously input and saved is read from the
ステップS50では、読み出した項目データを、それぞれ対応する項目窓53a〜53c内に配置できるように空白文字で繋いで入力エリア51aに入力する。例えば項目窓53a〜53cに対応する3つの項目データを入力する場合は、入力エリア51aの第1行、第3,4行、第7,8行及び第10行に空白文字が入り、第2行に郵便番号データ、第5,6行に住所データ、第9行に名前データが配置されるように入力する。入力エリア51aのフォーマット、項目窓53a〜53cの位置・サイズ及び項目データの文字数等の情報は既知であるので、これらの情報を用いて、入力すべき空白文字の位置及び数は演算により取得する。項目データが例えば郵便番号だけしか保存されていない場合は、他の項目の項目窓53b,53cに文字入力ポインタ55を移動できるように必要な空白文字は予め挿入する。空白文字は改行60またはスペース61を用いるが、必要に応じてこれらを混在させて用いてもよい。このステップS50の処理の結果、郵便番号・住所・氏名などの項目内容は、ユーザからの見掛け上、それぞれ対応する項目窓内に収まって表示される。なお、保存データは改行・スペースも一緒に記憶するようにしてもよい。こうすれば、項目毎の各データをリムーバブルメモリ26から読み出すと、そのまま入力エリア51a(入力UI51)に入力すれば、項目の文字列は項目窓に応じた適正な位置に配置される。
In step S50, the read item data is connected to the
一方、保存データがなかった場合は、ステップS60において、入力エリア51aを空白文字で埋める初期設定処理を行う。例えば図6(a)に示すように第10行目まで改行を入れる改行挿入処理を行うか、図6(b)に示すように第10行目までをスペースで埋める空白挿入処理を行う。そして、文字入力ポインタ55を最初の項目窓53aの先頭文字位置に移動させる(図4(a)、図6参照)。もちろん、表画像52に覆われてユーザから見えない箇所については、スペース以外の例えば所定の文字を入れてもよい。なお、入力エリア51aを改行60又はスペース61で埋めているが、画面17に表示される最後の項目窓53cの先頭文字位置に文字入力ポインタ55を移動でいる状態であれば改行60又はスペース61を挿入する数や位置は適宜変更できる。例えば最後の項目窓53cの前行(第8行)まで空白文字で埋める構成でもよい。空白文字が最後の項目窓53cの少なくとも直前位置まで埋められていることで、項目窓53a〜53c間をタブ操作で文字入力ポインタ55を移動させるときには、空白文字を挿入する処理をしなくても、文字入力ポインタ55の移動処理だけで済ませることが可能となる。
On the other hand, if there is no stored data, an initial setting process for filling the
なお、ステップS50の処理は、図6に示すように最初に全ての行に空白文字を入れておき、後から項目窓の各位置への項目データの挿入及び項目データの文字数分の空白文字の削除を行う方法を採用することもできる。こうして編集画面表示処理が終了とすると、項目データの編集作業を行うことができるようになる。 In the process of step S50, as shown in FIG. 6, first, blank characters are put in all lines, item data is inserted into each position of the item window later, and blank characters corresponding to the number of characters in the item data are inserted. A method of deleting can also be adopted. When the editing screen display process is thus completed, the item data can be edited.
図8は、編集画面で編集作業をするときに実行される編集処理ルーチンのフローチャートである。以下、この図8に示すフローチャートに従って入力・編集処理について説明する。なお、最初は文字入力ポインタが第1の項目窓53aの先頭文字位置に表示されているものとして説明する。入力ボタン11からの入力を受け付けると、当該ルーチンは実行される。
FIG. 8 is a flowchart of an editing process routine executed when editing is performed on the editing screen. The input / edit process will be described below with reference to the flowchart shown in FIG. It is assumed that the character input pointer is initially displayed at the first character position in the
まずステップS110では、文字入力であるか否かを判断する。文字入力であればステップS120に進み、文字入力でなければステップS150に進む。
ステップS120では、文字を項目窓に入力した場合、項目窓に規定された最大文字数を超えるか否かを判断する。最大文字数を超える場合はステップS130に進み、最大文字数を超えない場合はステップS140に進む。
First, in step S110, it is determined whether or not a character is input. If it is a character input, it will progress to step S120, and if it is not a character input, it will progress to step S150.
In step S120, when characters are input to the item window, it is determined whether or not the maximum number of characters defined in the item window is exceeded. If the maximum number of characters is exceeded, the process proceeds to step S130. If the maximum number of characters is not exceeded, the process proceeds to step S140.
ステップS130では、文末処理を実行する。すなわち、文字の入力は行わず最大文字数を超える文字入力が行われようとしたときに実施される所定の文末処理を実行する。例えばCPU21は、これ以上の文字入力ができない旨のメッセージを表示したり、あるいは、文字入力ポインタを強制的に次の項目窓に移行させるタブ処理(後述するステップS210と同様の処理)を実行したりする。なお、このステップS130の処理を実行するCPU21により文末処理手段が構成される。
In step S130, sentence end processing is executed. That is, a predetermined sentence end process that is performed when a character input exceeding the maximum number of characters is attempted without performing character input is executed. For example, the
ステップS140では、文字入力をすると、他(後続)の項目窓の表示内容がずれるか否かを判断する。後続の項目窓の表示内容がずれると判断した場合はステップS150に進み、ずれないと判断した場合はステップS160に進む。 In step S140, it is determined whether or not the display contents of the other (subsequent) item windows are shifted when a character is input. When it is determined that the display content of the subsequent item window is shifted, the process proceeds to step S150, and when it is determined that there is no shift, the process proceeds to step S160.
ステップS150では、受け付けた文字を入力エリア51a内の文字入力ポインタ55の位置に挿入する文字入力処理を行う。こうして項目窓内に文字が入力される。
ステップS160では、文字入力する文字入力処理を行うとともに、文字入力によって後続の項目窓の表示内容がずれないように空白文字を削除する空白文字削除処理を実行する。こうすることで文字が入力されたことにより、その行末の改行が次行にずれたり、その入力文字の後側でスペースが1文字分後へずれたりしても、後続の項目窓内の表示内容がずれることを回避できる。
In step S150, a character input process for inserting the accepted character at the position of the
In step S160, a character input process for inputting a character is performed, and a blank character deletion process is performed to delete a blank character so that the display content of the subsequent item window is not shifted by the character input. In this way, even if a new line at the end of the line shifts to the next line or a space shifts by one character after the input character due to the input of a character, the display in the subsequent item window The content can be prevented from shifting.
本例の空白文字削除処理においては、文字挿入の対象の項目窓と次の項目窓の間の位置、すなわち表画像52の表示が優先される位置で空白文字を削除することで、項目窓内の空白文字が削除されないようにしている。これは項目によっては、例えば「名前」の「姓」と「名」の間にスペースを挿入したり、「住所」の「番地」と「建物名」との間に改行を挿入したりするなど、項目内容を構成する文字列の一部として、ユーザが空白文字を挿入する場合があり、空白文字削除処理によってユーザが挿入した空白文字が削除されることを防ぐためである。例えば文字列の末尾直後の空白文字を削除するという規則にすると、ユーザが挿入した空白文字が削除される虞があるが、これを回避する。
In the blank character deletion process of this example, the blank character is deleted at the position between the item window to be inserted and the next item window, that is, the position where the display of the
ステップS170では、入力ボタン11から受け付けた入力が文字消去であるか否かを判断する。文字消去であればステップS180に進み、文字消去でなければステップS210に進む。
In step S170, it is determined whether or not the input received from the
ステップS180では、文字消去をすると、他(後続)の項目窓の表示内容がずれるか否かを判断する。後続の項目窓の表示内容がずれると判断した場合はステップS200に進み、ずれないと判断した場合はステップS190に進む。 In step S180, it is determined whether the display contents of the other (subsequent) item windows are shifted when the character is deleted. If it is determined that the display content of the subsequent item window is shifted, the process proceeds to step S200, and if it is determined that there is no shift, the process proceeds to step S190.
ステップS190では、入力エリア51a内の文字入力ポインタ55の位置から文字を削除する文字削除処理を行う。こうして項目窓内の文字が削除される。
ステップS200では、文字を削除する文字削除処理を行うとともに文字の削除によって後続の項目窓の表示内容がずれないように空白文字を挿入する空白文字挿入処理を実行する。こうすることで文字が削除されたことにより、次行の改行が1行前の行末に移動したり、その文字が削除された位置より後側でスペースが1文字分前へずれたりしても、後続の項目窓内の表示内容がずれることを回避できる。
In step S190, a character deletion process for deleting a character from the position of the
In step S200, a character deletion process for deleting a character is performed, and a blank character insertion process is performed for inserting a blank character so that the display content of the subsequent item window does not shift due to the deletion of the character. In this way, even if the character is deleted, the line feed of the next line moves to the end of the previous line, or the space moves backward by one character after the position where the character was deleted. The display contents in the subsequent item window can be prevented from shifting.
また、例えば項目窓の行頭が改行60であった場合(例えば図6(a))は、その後、ユーザが入力した文字列の末尾に改行が付くが、ユーザがその末尾の改行を削除する場合がある。この場合、後続の項目窓内の文字は1行前へずれるが、空白文字挿入処理により改行が追加されて、後続の項目窓内の表示内容はずれない。また、例えば項目窓の行がスペース61で埋められている場合(例えば図6(b))は、その後、ユーザが入力した文字列の末尾以降に存在するスペースの1つをユーザが削除する場合がある。この場合、後続の項目窓内の文字が1文字分前へずれるが、空白文字挿入処理によりスペースが1つ追加されて、後続の項目窓内の表示内容はずれない。 For example, when the line head of the item window is a line feed 60 (for example, FIG. 6A), a line feed is added to the end of the character string input by the user, but the user deletes the line feed at the end. There is. In this case, the characters in the succeeding item window shift to the previous line, but a line feed is added by the blank character insertion process, and the display content in the succeeding item window does not change. For example, when the line of the item window is filled with a space 61 (for example, FIG. 6B), the user subsequently deletes one of the spaces existing after the end of the character string input by the user. There is. In this case, the character in the subsequent item window is shifted forward by one character, but one space is added by the blank character insertion process, and the display content in the subsequent item window does not deviate.
本例の空白文字挿入処理においては、文字消去の対象の項目窓と次の項目窓の間の位置、すなわち表画像52の表示が優先される位置に空白文字を挿入することで、文字位置調整用の空白文字が項目窓内に表示されないようにしている。これは、項目窓内に不要な空白文字が追加されることで、ユーザにその空白文字を削除しようとする行為を誘発させないためである。例えば項目窓内の文字列の末尾直後に空白文字を挿入するという規則であると、改行が削除されたときに空白文字挿入処理によって文字列の末尾直後にスペースが行末に至るまで追加された場合、ユーザが不要なスペースの追加があったと認識し、追加された不要なスペースを削除するための操作を誘発させる虞があるが、これを回避する。また、ユーザが文字列の末尾直後のスペースを1つ削除したときに空白文字挿入処理によって末尾直後に1つスペースが追加された場合、ユーザは削除したはずのスペースの削除ミスがあったと認識する虞があるが、これを回避する。
In the blank character insertion process of this example, the character position adjustment is performed by inserting a blank character at a position between the item window to be erased and the next item window, that is, a position where display of the
本実施形態では、入力ボタン11からの入力を入力制御部33から受け付けた編集処理部36が、文字挿入と空白文字削除、あるいは文字削除と空白文字挿入の指示をテキストコントロール部43に与える構成である。このため、図8に示した順序に従って、判断処理(S140,S180)、文字挿入処理(S150,S160)、空白文字削除処理(S160)、文字削除処理(S190,S200)、空白文字挿入処理(S200)が行われる。
In the present embodiment, the editing processing unit 36 that has received an input from the
これに対し、入力ボタン11からの入力をテキストコントロール部43が直接受け付け、入力ボタン11からの入力に基づいてテキストコントロール部43が入力エリア51aへの文字挿入や文字削除を、編集処理部36に独立して実施する構成も可能である。この場合は、S150,S160における文字挿入処理及びS190,S200における文字削除処理は、入力ボタン11からの入力を受け付けたテキストコントロール部43が行う。このため、ステップS140及びステップS180の判断により、表示内容がずれると判断された場合、編集処理部36の文字位置制御部47は、S160では空白文字削除処理を行い、S200では空白文字挿入処理を行う。このように文字挿入・文字削除処理と、空白文字削除・空白文字挿入処理の処理主体が、テキストコントロール部43と編集処理部36とに分かれるが、これらの処理の時間差は一瞬であるのでユーザから見た場合は、文字のずれはまず確認できない。また、この構成の場合、消去対象の文字がない位置で消去(削除)の操作入力を受け付けて、テキストコントロール部43が位置調整用の空白文字を削除する場合が起こり得るが、この場合もその削除された空白文字を補うために空白文字挿入処理を行う。
On the other hand, the
ステップS210では、入力ボタン11から受け付けた入力がタブ操作入力であるか否かを判断する。本例では、タブ機能が割り当てられた上下選択キー13、または改行が割り当てられた入力ボタン11が操作された場合にタブ操作入力であると判断する。タブ操作入力であればステップS220に進み、タブ操作入力でなければ当該ルーチンを終了する。タブ操作入力でないために当該ルーチンを終了した場合は、他のルーチンによりその操作に対応する処理が行われる。
In step S210, it is determined whether the input received from the
ステップS220では、タブ処理を行い、文字入力ポインタ55を次の項目窓へ移動させる。例えば上選択キーが操作された入力の場合は、文字入力ポインタ55を一つ前の項目窓へ移動させ、下選択キー又は改行キーが操作された入力の場合は、文字入力ポインタ55を一つ後の項目窓へ移動させる。詳しくは、上下選択キーや改行キー、決定ボタン14(確定キー)、が操作された入力を受け付けると、このタブ処理において、入力を受け付けたときに文字入力ポインタ55が位置する現在の項目窓からその入力に対応する方向へ一つ隣の項目窓内へ文字入力ポインタ55を移動させるために必要な行数を求める。そして、その求めた行数だけ文字入力ポインタ55を移動させるようにテキストコントロール部43に指示する。仮に項目枠が入力エリア51aの一行文字数よりも少ない文字数しか表示できないサイズである場合は、行の移動に加えて移動後の行においてさらに必要な文字数の移動も指示する。
In step S220, tab processing is performed, and the
なお、テキストコントロール部43が入力ボタン11からの入力を直接受け付ける構成を採用した場合は、次のようにタブ処理は行われる。上下選択キー、決定ボタン14(確定キー)及び改行キーが1回操作された場合にテキストコントロール部43は文字入力ポインタ55を次行に移動させるが、タブ処理ではテキストコントロール部43の処理に加え、現在の項目窓から次の項目窓までの移動に必要な行数(=N行)からテキストコントロール部43による1行分を差し引いた残りの行数分(=N−1)だけ文字入力ポインタ55をさらに移動させる処理を行う。文字入力ポインタ制御部45は、タブ処理に必要な行数分(=N−1)を指定してテキストコントロール部43に文字入力ポインタ55の移動を指示する。このタブ処理では、文字入力ポインタ55だけを移動させるので改行は挿入されない。但し、タブキーとして改行キーが操作された場合は、その入力を受け付けたテキストコントロール部43が改行を挿入するので、文字位置制御部47によりその挿入された改行を削除する指示がテキストコントロール部43に与えられる。
When the
図10はタブ処理を説明する入力UI51の正面図である。同図(a)に示すように、郵便番号を入力し終わってタブ操作を行うと、文字入力ポインタ55はテキストコントロール部43により次行へ移動するとともに文字入力ポインタ制御部45によるタブ処理によりさらにもう1行下側へ移動して、同図(b)に示すように2行下側へ移動する。このとき、文字入力ポインタ55は項目窓53b内の先頭文字位置に位置する。さらに同図(c)に示すように住所を入力し終わってタブ操作を行うと、同様のタブ処理が行われて文字入力ポインタ55は2行下側へ移動する。このとき、文字入力ポインタ55は項目窓53c内の先頭文字位置に位置する。そして、同図(c)に示すように名前を入力する。
FIG. 10 is a front view of the
本実施形態では、図7の編集画面表示処理ルーチンにおけるステップS50又はS60において、文字入力ポインタ55を項目窓53a〜53c間で移動させるのに必要な空白文字を予め挿入しているので、タブ処理は文字入力ポインタ55を移動させるだけで済ませられ、比較的スピーディに文字入力ポインタ55は移動する。
In the present embodiment, the blank character necessary for moving the
こうして項目の編集作業が終わりデータを一時保存する操作、あるいは文面作成が全て終了してアプリケーションを終了させる終了操作を行ったときには、編集データを保存するデータ保存処理が行われる。図9は、編集画面50における編集結果を保存するためのデータ保存処理ルーチンのフローチャートを示す。以下、データ保存処理について説明する。
Thus, when the editing operation of the item is finished and the operation for temporarily saving the data or the termination operation for ending the application after the completion of the text creation, the data saving process for saving the edited data is performed. FIG. 9 shows a flowchart of a data storage processing routine for storing the editing result on the
まずステップS310では、n=1に設定する。
次のステップS320では、n個目の項目窓の文字列(項目内容)を切り出す処理を行う。本例の場合は、郵便番号の文字列「123−4567」を切り出す。なお、このステップS320の処理を実行するCPU21により文字切出し手段が構成される。
First, in step S310, n = 1 is set.
In the next step S320, the character string (item content) of the nth item window is cut out. In this example, the character string “123-4567” of the zip code is cut out. Note that the
ステップS330では、n個目の項目窓の項目と対応付けて文字列データをスクリプトファイル27aに書き込む。
ステップS340では、全項目の項目データ(文字列データ)をすべて保存したか否かを判断する。全項目の項目データの保存が完了していなければステップS350に進み、全項目の項目データをすべて保存し終わった場合は当該ルーチンを終了する。
In step S330, character string data is written in the
In step S340, it is determined whether or not all item data (character string data) of all items have been saved. If the item data for all items has not been saved, the process proceeds to step S350. If all the item data for all items have been saved, the routine ends.
ステップS350では、n=n+1を設定する。つまり、保存処理対象とする項目窓を次の項目窓に移行させるこうして次に住所の文字列が切り出されてスクリプトファイル27aに書き込まれ、さらに名前の文字列が切り出されてスクリプトファイル27aに書き込まれる。
In step S350, n = n + 1 is set. That is, the item window to be stored is moved to the next item window. Thus, the address character string is cut out and written in the
こうして全項目の文字列データをすべてスクリプトファイル27aに書き込まれることによって、各項目の入力内容(文字列)を示す項目データは、項目と対応付けてリムーバブルメモリ26の所定記憶領域に保存される。このように項目窓に対応する領域内の文字列だけが切り出され、文字位置調整用の空白文字は保存されないので、保存されるデータ容量が少なく済む。
By writing all the character string data of all items in the
図11及び図12は、文字位置調整処理を説明する画面図を示す。図11は空白文字として改行を用いる例、図12は空白文字としてスペースを用いる例である。ここでは、編集画面50を開くときに保存データとして、郵便番号「123−4567」と、名前「山田太郎」が記憶されているものとする。
11 and 12 show screen views for explaining the character position adjustment processing. FIG. 11 shows an example using a line feed as a blank character, and FIG. 12 shows an example using a space as a blank character. Here, it is assumed that the postal code “123-4567” and the name “Taro Yamada” are stored as saved data when the
まず図11(a)に示すように、編集画面50を開くと、郵便番号と名前が、それぞれ項目窓53a,53cと対応する第2行目と第9行目に表示される。このため、図11(b)に示すように、表画像52が入力UI51に重ねられた編集画面50においては、郵便番号と名前が項目窓53a,53c内にそれぞれ表示される。その後、図11(c)に示すように、項目窓53bに住所を入力し、1行分の文字の入力が終わると末尾の改行60が次行に移動する。このとき、テキストコントロール部43の処理では名前の文字列が同図に破線で示すように、項目窓53cの下側へずれて表画像52に隠れて見えなくなる。つまり、名前の文字列が消失する。このとき、文字位置調整処理(空白文字削除処理)により、項目窓53a,53c間(同図では第6行目〜第9行目)の改行60が1つ削除されるため、図11(d)に示すように、後続の項目窓53c内の名前の表示位置はずれることがない。
First, as shown in FIG. 11A, when the
また、図11(d)の状態から、図11(e)に示すように項目窓53b内の文字列の末尾の1文字(この例では「−」)を削除すると、次行にあった改行60が1行前にずれる。このとき、テキストコントロール部43の処理では名前の文字列が同図に破線で示すように、項目窓53cの上側へずれて表画像52に隠れて見えなくなる。つまり、名前の文字列が消失する。このとき、文字位置調整処理(空白文字挿入処理)により、項目窓53a,53c間(同図では第5行目の行末〜第8行目の行頭)に改行60が1つ挿入されるため、図11(f)に示すように、後続の項目窓53c内の名前の表示位置はずれることがない。
If the last character of the character string in the
また、空白文字がスペースである例であるにおいても、図12(a)に示すように入力エリア51a上の所定行に文字列が表示されることで、図12(b)に示す編集画面50の項目窓53a,53c内に各文字列が表示される。その後、図12(c)に示すように、項目窓53bに住所を入力するために1文字入力すると、テキストコントロール部43の処理によって、項目窓53c内の名前の文字列が1文字分右(後)へずれる。このとき、文字位置調整処理(空白文字削除処理)により、項目窓53a,53c間(同図では第5行目〜第9行目の行頭)のスペース61が1つ削除されるため、図12(d)に示すように、後続の項目窓53c内の名前の表示位置はずれることがない。
Even in the example where the blank character is a space, the character string is displayed in a predetermined line on the
また、図12(b)の状態から、図12(e)に示すように項目窓53a内の文字列の末尾の1文字(この例では「7」)を削除すると、テキストコントロール部43の処理によって、名前の文字列の先頭1文字(この例では「山」)が同図に破線で示すように前行へずれて、項目窓53cから消失する。このとき、文字位置調整処理(空白文字挿入処理)により、項目窓53a,53c間(同図では第2行目〜第8行目)の位置でスペース61が1つ挿入されるため、図12(f)に示すように、後続の項目窓53c内の名前の表示位置はずれることがない。
If the last character (“7” in this example) of the character string in the
以上記述したように、本実施形態によれば、以下の効果を奏する。
(1)複数の項目窓53a〜53cを有する表画像52を生成して、項目窓53a〜53c以外の領域は表画像52を入力エリア51a(入力UI51)より優先して画面17に表示させ、項目窓53a〜53cに対応する領域では入力エリア51aを表画像52より優先して画面17に表示させた。このため、ユーザから画面17を見たときには一画面内に文字入力可能な複数の項目窓53a〜53c(入力欄)を表示させることができる。入力ボタン11からの入力があると、その入力結果を入力エリア51aに反映させた場合に後続の項目窓内の表示内容がずれるか否かを判断し、表示内容がずれる場合は、空白文字を削除したり挿入したりする文字位置調整処理を行って表示内容のずれを回避させる。よって、携帯電話機10の仕様上の制限から画面17に表示できる入力エリア51aが一つに制限されていても、テキストコントロール部43が一つの入力UI51を起動させた状態下で、項目窓53a〜53cを用いて、個別のテキストボックスであるかのような編集を行うことができる。このため、例えばユーザが編集画面50上で複数の項目を入力する場合、他の項目窓内の表示内容を見ながら項目窓に文字を入力する編集作業を行うことができる。従って、従来のように他の項目窓の内容を確認するために画面を切り換える必要がなく、編集作業の利便性を向上させることができる。
As described above, according to the present embodiment, the following effects can be obtained.
(1) A
(2)文字入力を受け付けた場合は、後続の項目窓内の表示内容がずれるか否かを判断してずれる場合は空白文字を削除する空白文字削除処理を行うので、文字入力を行っても後続の項目窓内の表示内容がずれることを回避できる。 (2) When character input is accepted, it is judged whether the display content in the subsequent item window is shifted or not. It is possible to avoid the display content in the subsequent item window from shifting.
(3)文字消去を受け付けた場合は、後続の項目窓内の表示内容がずれるか否かを判断してずれる場合は空白文字を挿入する空白文字挿入処理を行うので、文字消去を行っても後続の項目窓内の表示内容がずれることを回避できる。 (3) When character erasure is accepted, blank character insertion processing for inserting a blank character is performed when it is determined whether the display content in the subsequent item window is shifted or not. It is possible to avoid the display content in the subsequent item window from shifting.
(4)上下選択キーや改行キーが操作されたときは、文字入力ポインタ制御部45が現在の項目窓からその入力に応じた方向へ一つ隣の項目窓までの移動に必要な移動量の移動をテキストコントロール部43に指示するので、上下選択キーをタブ操作キーとして機能させることができる。従って、各項目窓53a〜53cの間に1行以上の間隔が生じても、上記のタブ処理によって、文字入力ポインタ55を項目窓53a〜53c間で移動させるタブ操作が可能となる。よって、画面17に複数のテキストボックスが用意されているかのように、タブ操作を行えば、文字入力ポインタ55を項目窓53a〜53c間で移動させることができる。
(4) When the up / down selection key or the line feed key is operated, the character input
(5)編集画面50を画面17に表示させた後の初期設定処理で、入力エリア51aを事前に空白文字で埋めたので、その後、タブ操作が行われたときに、空白文字を追加する処理を行うことなく、文字入力ポインタ55を次の項目窓内へ移動させることができる。よって、タブ操作時に空白文字を追加するタブ処理方法を採用した場合に比べ、文字入力ポインタ55が高速に移動する。
(5) In the initial setting process after the
(6)文字入力を受け付けた場合、項目窓内に文字を追加すると最大文字数を超えることになるか否かを判断し、最大文字数を超えることになる場合、所定の文末処理が行われる。文末処理として最大文字数を超えるため入力不可能である旨のメッセージを表示した場合は、ユーザに現在の項目窓にこれ以上文字入力できない旨を知らせることができる。また、文末処理としてタブ処理を行った場合は、入力可能な次の項目窓へ文字入力ポインタ55を移動させることができる。
(6) When a character input is accepted, it is determined whether or not the maximum number of characters will be exceeded if characters are added to the item window. If the maximum number of characters is exceeded, predetermined sentence end processing is performed. When a message indicating that input is impossible because the maximum number of characters is exceeded as the end of sentence processing, the user can be informed that no more characters can be input in the current item window. When tab processing is performed as sentence end processing, the
(7)一時保存又は編集アプリケーションの終了によりデータ保存要求を受け付けると、CPU21は項目窓53a〜53cに対応する各領域から文字列を切り出してスクリプトファイル27aに書き込む。このように項目窓の文字列だけを切り出して保存し、文字位置調整用の空白文字を保存しない構成であるので、データ容量を少なく済ませられる。
(7) When the data storage request is received by the temporary storage or the end of the editing application, the
なお、前記各実施形態に限定されず、以下の態様の変形例を採用してもよい。
(変形例1)後続の項目窓内の文字がずれないように空白文字を挿入又は削除する位置は、前記実施形態のように、前記実施形態のように項目窓と次の項目窓の間の位置に限定されない。要するに、後続の項目窓内の表示内容がずれなければ、空白文字の挿入又は削除すべき位置は、適宜変更できる。例えば空欄の項目窓に空白文字が挿入された場合や、文字が消去されることにより項目窓が空欄になる場合においては、その際の文字入力ポインタの位置よりも前側の位置で空白文字の挿入や削除を行っても構わない。また、例えば項目窓の文字入力可能領域が、項目窓の開口領域よりも広く(つまり項目窓の開口領域に表示されうる文字数よりも入力可能な最大文字数の方が多く)設定されている場合は、項目窓の文字入力可能領域と次の項目窓の文字入力可能領域の間を、文字位置調整用の空白文字の挿入又は削除の位置とするのが好ましい。なお、文字位置調整用に追加又は削除される文字は空白文字に代えて、通常の文字としてもよい。表画像に隠れた位置に常に配置されるように制御されるのであれば、項目窓53a〜53c内にその文字が現れることがないので問題はない。
In addition, it is not limited to each said embodiment, You may employ | adopt the modification of the following aspects.
(Modification 1) The position where a blank character is inserted or deleted so that characters in subsequent item windows do not shift is the same between the item window and the next item window as in the above embodiment. It is not limited to the position. In short, if the display content in the subsequent item window is not shifted, the position where the blank character is to be inserted or deleted can be changed as appropriate. For example, when a blank character is inserted in the blank item window or when the item window becomes blank because the character is deleted, a blank character is inserted at a position before the character input pointer at that time. Or delete it. In addition, for example, when the character input area of the item window is set wider than the opening area of the item window (that is, the maximum number of characters that can be input is larger than the number of characters that can be displayed in the opening area of the item window) The space between the character input enable area of the item window and the character input enable area of the next item window is preferably set as a position for inserting or deleting a blank character for character position adjustment. A character added or deleted for character position adjustment may be a normal character instead of a blank character. If it is controlled so that it is always arranged at a position hidden in the front image, there is no problem because the character does not appear in the
(変形例2)前記実施形態では、編集画面50を開いた際の初期設定処理として、入力エリア51aを改行で埋めるか、スペースで埋める方法を採用したが、これに限定されない。例えば、最初の項目窓の先頭位置に文字入力ポインタを位置させるのに必要な数の空白文字を入れるだけに止め、最初の項目窓内に文字入力ポインタが位置する状態で、タブ操作を受け付けたときにその項目窓から次の項目窓までの間に空白文字を追加する処理を行う構成でもよい。このようにタブ操作時に空白文字を挿入する構成としても、次の項目窓の先頭文字位置に文字入力ポインタを移動させることができ、タブ操作が可能になる。
(Modification 2) In the above embodiment, as the initial setting process when the
(変形例3)前記実施形態では、編集画面50を開いた際の初期設定処理として、入力エリア51aを一種類の空白文字で埋めたが、これに限定されない。例えば、空白文字が改行とスペースが混在して用いられてもよい。この場合、空白文字で埋めるべき所定エリア内の各行が、行の全域がスペースで埋められた行、1つ以上のスペースの後に改行が入れられた行、行頭に改行が入れられた行などが存在してよい。要するに、タブ処理を行うときに空白文字の追加が不要で文字入力ポインタの移動だけで済むように空白文字が入れられていれば、空白文字の種類、位置や数は適宜変更できる。
(Modification 3) In the above embodiment, as the initial setting process when the
(変形例4)前記実施形態では、所定の文末処理としては、文字入力不可能な旨をユーザに知らせるメッセージを表示する報知処理や、文字入力ポインタを次の項目窓に移動させるタブ処理としたが、その他の文末処理の採用もしくは併用も可能である。例えば、報知処理は、メッセージ表示に代え、ブザー音や合成音声による音声警告、LED等の点灯警告等を採用することができる。 (Modification 4) In the above-described embodiment, the predetermined sentence ending process is a notification process for displaying a message notifying the user that characters cannot be input or a tab process for moving the character input pointer to the next item window. However, other sentence ending processing can be adopted or used together. For example, the notification process may employ a buzzer sound or a voice warning by synthetic voice, a lighting warning of an LED, or the like instead of the message display.
(変形例5)前記実施形態では、レイアウト編集画面56とは別に用意された編集画面50において編集処理を行う編集装置としたが、編集装置が編集処理の対象とする編集画面はレイアウト編集画面56であってもよい。この場合、表画像に日の出などの画像57
を合成することになる。この構成によれば、編集作業時に編集画面へ切換える必要がないうえレイアウトを確認しながら編集作業を行うことができる。また、文字の入力欄である項目窓は、図3(a)に示す文字枠59のように、左右方向の長さが異なっていても、左右方向に位置がずれていても構わない。項目枠の位置がずれている場合はスペースで調整すればよい。但し、項目窓の上下方向の長さは自然数行分になっていることが好ましい。
(Modification 5) In the above-described embodiment, the editing apparatus performs the editing process on the
Will be synthesized. According to this configuration, it is not necessary to switch to the editing screen during editing work, and the editing work can be performed while checking the layout. Further, the item window, which is a character input field, may have a different length in the left-right direction or may be displaced in the left-right direction, as in a
(変形例6)前記実施形態では、項目窓を入力エリアより優先して表示される表画像で囲まれた窓の形態としたが、本明細書でいう項目窓はこれに限定されない。例えば入力エリアを複数の領域に分断する帯状の表画像を用意し、この帯状の表画像により分断された各領域で入力エリアを優先して表示させて窓とした項目窓も採用できる。この場合、項目窓は表画像のみに囲まれず、少なくとも周囲の一部は画面枠で区画される。このように、表画像は、窓となる孔が開いていることに限定されず、凹部が窓になってもよいし、さらには帯状画像のように、入力エリアを複数の領域に分断できる画像であれば足りる。 (Modification 6) In the above-described embodiment, the item window is a window surrounded by a table image displayed with priority over the input area. However, the item window in this specification is not limited to this. For example, an item window in which a band-shaped table image that divides the input area into a plurality of areas is prepared and the input area is preferentially displayed in each area divided by the band-shaped table image can be used. In this case, the item window is not surrounded only by the front image, and at least a part of the periphery is partitioned by the screen frame. Thus, the front image is not limited to the opening of the window, but the recess may be a window, and furthermore, an image that can divide the input area into a plurality of areas, such as a belt-like image. If it is enough.
(変形例7)項目窓は単なる開口(無色透明)に限定されない。例えば青、赤、黄、緑等の着色がなされた透明な項目窓であってもよい。要するに項目窓に対応する入力エリアの部分が見えるようにこの部分において入力エリアが表画像より優先して表示されれば足り、優先して表示させる領域の表示に適宜着色を施すことは可能である。 (Modification 7) The item window is not limited to a simple opening (colorless and transparent). For example, it may be a transparent item window colored in blue, red, yellow, green or the like. In short, it is sufficient that the input area is displayed with priority over the table image so that the portion of the input area corresponding to the item window can be seen, and it is possible to appropriately color the display of the area to be displayed with priority. .
(変形例8)前記実施形態では、はがき等の文面印刷用の編集画面に適用したが、用途はこれに限定されない。複数の項目を入力するための編集画面であればその用途は特に限定されず、各種の編集画面に適用できる。例えば電子メールの項目を入力するための編集画面に適用できる。この場合、本文以外の宛先、件名など比較的文字数の少ない項目窓を一画面に複数表示させる構成とするとよい。その他、電子機器の設定条件を入力する項目窓を複数有する設定画面に適用でき、例えば印刷条件を入力する項目窓を複数有する印刷条件設定画面を採用することができる。 (Modification 8) In the above-described embodiment, the present invention is applied to an editing screen for text printing such as a postcard, but the application is not limited to this. The use is not particularly limited as long as it is an edit screen for inputting a plurality of items, and can be applied to various edit screens. For example, the present invention can be applied to an edit screen for inputting an e-mail item. In this case, a plurality of item windows having a relatively small number of characters such as a destination and a subject other than the text may be displayed on one screen. In addition, the present invention can be applied to a setting screen having a plurality of item windows for inputting setting conditions of an electronic device. For example, a printing condition setting screen having a plurality of item windows for inputting printing conditions can be employed.
(変形例9)前記実施形態では、携帯電話機に適用したが、携帯電話機以外の電子機器に適用することもできる。文字入力可能な入力操作手段と入力文字を画面に表示できる表示部を備えた各種の電子機器に本発明を適用することができる。例えばプリンタ、スキャナ、複合機、プロジェクタ、デジタルカメラなどの電子機器に適用することができる。 (Modification 9) In the above embodiment, the present invention is applied to a mobile phone, but it can also be applied to electronic devices other than the mobile phone. The present invention can be applied to various electronic devices including an input operation unit capable of inputting characters and a display unit capable of displaying input characters on a screen. For example, the present invention can be applied to electronic devices such as printers, scanners, multifunction devices, projectors, and digital cameras.
以下、前記実施形態および各変形例から把握される技術的思想を記載する。
(1)請求項8に記載の電子機器における編集装置において、前記文末処理は、文字入力不可能な旨を前記画面に表示させる警告表示処理であることを特徴とする。これによれば、入力できる最大文字数を超えて文字を入力しようとした場合、警告表示処理が実施され、画面に文字入力不可能な旨が表示される。よって、ユーザは現在の項目窓にこれ以上文字を入力できないことを知ることができる。
Hereinafter, the technical idea grasped from the embodiment and each modification will be described.
(1) In the editing apparatus for an electronic device according to claim 8, the sentence end processing is warning display processing for displaying on the screen that characters cannot be input. According to this, when an attempt is made to input characters exceeding the maximum number of characters that can be input, a warning display process is performed and a message indicating that characters cannot be input is displayed on the screen. Therefore, the user can know that no more characters can be entered in the current item window.
(2)請求項8に記載の電子機器における編集装置において、前記文末処理は、文字入力不可能な項目窓から次の項目窓へ文字入力ポインタを移動させるタブ処理であることを特徴とする。これによれば、入力できる最大文字数を超える文字入力をした場合、文字入力不可能な当該項目窓から次の項目窓へ文字入力ポインタを移動させるタブ処理が行われる。このため、次の項目窓へ文字入力できる。 (2) In the editing apparatus for an electronic device according to claim 8, the sentence end processing is tab processing for moving a character input pointer from an item window incapable of character input to the next item window. According to this, when character input exceeding the maximum number of characters that can be input is performed, tab processing is performed in which the character input pointer is moved from the item window incapable of character input to the next item window. Therefore, characters can be input to the next item window.
(3)請求項5乃至請求項9のいずれか一項に記載の電子機器における編集装置において、前記ポインタ制御手段は、項目窓内に文字入力ポインタが表示されるように空白文字を追加又は消去することを特徴とする電子機器における編集装置。 (3) In the editing apparatus for an electronic device according to any one of claims 5 to 9, the pointer control means adds or deletes a blank character so that a character input pointer is displayed in an item window. An editing apparatus in an electronic apparatus characterized by:
これによれば、文字入力ポインタ制御手段により、項目窓内に文字入力ポインタが表示されるように空白文字が追加又は消去される。例えば次の項目窓側へ文字入力ポインタを移動させる入力があると、空白文字が追加され、
(4)請求項5乃至9のいずれか一項に記載の電子機器における編集装置において、前記入力操作手段によるタブ操作を受け付けると、タブ操作が行われたときに文字入力ポインタが表示されていた項目窓から次の項目窓へ文字入力ポインタが移動するように間に空白文字を挿入することを特徴とする。この発明は、前記変形例2から抽出された技術的思想である。なお、タブ操作とは、項目窓から次の項目窓へ文字入力ポインタを移動させる操作であり、タブキーが備えられていない場合は、入力操作手段のうちタブ機能が割り当てられた操作部を操作することがタブ操作である。
According to this, the blank character is added or deleted by the character input pointer control means so that the character input pointer is displayed in the item window. For example, if there is an input that moves the character input pointer to the next item window side, a blank character is added,
(4) In the editing device in the electronic device according to any one of claims 5 to 9, when a tab operation by the input operation unit is received, a character input pointer is displayed when the tab operation is performed. A blank character is inserted between the item windows so that the character input pointer moves from the item window to the next item window. The present invention is a technical idea extracted from the second modification. The tab operation is an operation for moving the character input pointer from one item window to the next item window. When a tab key is not provided, an operation unit to which a tab function is assigned is operated among input operation means. Is a tab operation.
(5)請求項1乃至請求項9のいずれか一項に記載の電子機器における編集装置において、前記入力UI手段は、電子機器に搭載された当該入力UI手段の仕様によって前記画面に表示可能な入力エリアが一つに制限されていることを特徴とする。これによれば、画面上に一つの入力エリアを有する入力UIしか表示できないにもかかわらず、複数の項目窓を画面に表示できるので、他の項目窓の表示内容を見ながら項目窓に文字入力できる。
(5) In the editing apparatus for an electronic device according to any one of
(6)請求項9に記載の電子機器における編集装置において、前記入力操作手段が画面起動要求を受け付けて編集画面を表示させる際に、前記記憶手段に項目窓に対応する文字列が保存されている場合は、該文字列を前記記憶手段から読み出して前記項目窓間の間隔に対応する位置に空白文字を挿入して前記文字列を前記入力エリア上における項目窓に対応する位置に配置する文字列配置手段をさらに備えた。これによれば、保存手段により項目窓毎の文字列(項目データ)を入力エリア上から切り出して記憶手段に格納しても、次回の画面起動時に、記憶手段から読み出した文字列を入力エリア上における項目窓に対応する位置に配置できる。 (6) In the editing device in the electronic device according to claim 9, when the input operation unit receives a screen activation request and displays an editing screen, a character string corresponding to the item window is stored in the storage unit. If the character string is read from the storage means, a blank character is inserted at a position corresponding to the interval between the item windows, and the character string is arranged at a position corresponding to the item window on the input area. A column arrangement means was further provided. According to this, even if the character string (item data) for each item window is cut out from the input area by the storage means and stored in the storage means, the character string read from the storage means is displayed on the input area at the next screen activation. Can be placed at a position corresponding to the item window.
10…電子機器としての携帯電話機、11…入力操作手段としての入力ボタン、17…画面、18…表示部、21…入力UI手段、表画像手段、画面表示手段、ポインタ制御手段、文字位置調整手段、初期設定手段及び入力限界判定手段を構成するCPU、22…ROM、23…RAM、24…通信部、25…リムーバブルメモリI/F、26…記憶手段としてのリムーバブルメモリ、30…編集システム、31…画像処理部、32…編集制御部、33…入力制御部、41…表画像生成部、42…入力UI手段を構成する入力UI起動部、43…入力UI手段を構成するとともに処理手段及びテキストコントロール手段としてのテキストコントロール部、45…ポインタ制御手段としての文字入力ポインタ制御部、46…入力限界判定手段としての文字数管理部、47…文字位置調整手段としての文字位置制御部、50…編集画面、51…入力UI、51a…入力エリア、52…表画像、53a〜53c…項目窓、54a〜54c…項目名、55…文字入力ポインタ、60…空白文字としての改行、61…空白文字としてのスペース。
DESCRIPTION OF
Claims (12)
少なくとも文字の入力を受け付ける入力操作手段と、
前記入力操作手段が受け付けた入力結果が表示される入力エリアを有する入力UIを用意させる入力UI手段と、
複数の項目窓を有する表画像を用意する表画像手段と、
前記表画像における項目窓以外の部分は前記表画像を前記入力UIよりも優先して前記表示部に表示させ、前記表画像における項目窓の部分は前記入力UIを前記表画像よりも優先して前記表示部に表示させる画面表示手段と、
前記入力エリア上の文字入力ポインタを前記項目窓内に位置するように位置制御するポインタ制御手段と、
前記入力操作手段が入力を受け付けると、前記入力エリア上の前記文字入力ポインタの位置に入力結果を反映させる処理を行う処理手段と、
前記処理手段による前記処理が行われた場合に当該処理の対象の項目窓以外の他の項目窓内に表示されていた文字がずれないように文字の表示位置を調整する文字位置調整手段と
を備えたことを特徴とする電子機器における編集装置。 An editing device in an electronic device having a display unit having a screen capable of displaying characters,
An input operation means for receiving at least character input;
An input UI means for preparing an input UI having an input area for displaying an input result received by the input operation means;
A table image means for preparing a table image having a plurality of item windows;
The part other than the item window in the table image has the table image displayed on the display unit with priority over the input UI, and the item window part in the table image has priority over the input UI over the input image. Screen display means for displaying on the display unit;
Pointer control means for controlling the position of the character input pointer on the input area so as to be positioned in the item window;
When the input operation means accepts an input, a processing means for performing a process of reflecting the input result on the position of the character input pointer on the input area;
A character position adjusting means for adjusting a character display position so that a character displayed in an item window other than the item window to be processed does not shift when the processing by the processing means is performed. An editing apparatus in an electronic apparatus, comprising:
前記文字位置調整手段は、前記表示位置を調整するために空白文字を挿入又は削除することを特徴とする電子機器における編集装置。 In the editing apparatus in the electronic device according to claim 1,
The editing apparatus in an electronic apparatus, wherein the character position adjusting means inserts or deletes a blank character in order to adjust the display position.
前記文字位置調整手段は、前記入力操作手段が文字の消去を受け付けた場合は、当該文字消去により前記他の項目窓内の文字がずれるか否かを判断する判断手段を備え、前記他の項目窓内の文字がずれると判断した場合、当該文字の消去位置と次の項目窓との間の位置に空白文字を挿入することを特徴とする電子機器における編集装置。 In the editing apparatus in the electronic device according to claim 2,
The character position adjusting means, when the input operation means accepts the erasure of the character, comprises a determination means for determining whether or not the character in the other item window is shifted by the character erasure, the other item An editing apparatus in an electronic device, wherein if it is determined that a character in a window is shifted, a blank character is inserted at a position between an erasing position of the character and a next item window.
前記文字位置調整手段は、前記入力操作手段が文字の挿入を受け付けた場合は、当該文字挿入により前記他の項目窓内の文字がずれるか否かを判断する判断手段を備え、前記他の項目窓内の文字がずれると判断された場合、当該文字の挿入位置と次の項目窓との間の位置で空白文字を消去することを特徴とする電子機器における編集装置。 In the editing apparatus in the electronic device according to claim 2,
The character position adjusting means, when the input operation means accepts insertion of a character, comprises a determination means for determining whether or not the character in the other item window is shifted by the character insertion, the other item An editing apparatus in an electronic device, wherein if it is determined that a character in a window is shifted, a blank character is erased at a position between the insertion position of the character and the next item window.
前記ポインタ制御手段は、前記入力操作手段が前記項目窓内の文字入力ポインタが項目窓に対応する領域から外れるような移動の入力を受け付けると、前記文字入力ポインタを前記入力に対応する方向へ一つ隣の項目窓内の位置へ移動させるタブ処理を行うことを特徴とする電子機器における編集装置。 In the editing apparatus in the electronic device as described in any one of Claims 1 thru | or 4,
When the input operation means receives an input of movement such that the character input pointer in the item window deviates from the area corresponding to the item window, the pointer control means moves the character input pointer in the direction corresponding to the input. An editing apparatus in an electronic device, wherein tab processing is performed to move to a position in an adjacent item window.
前記入力操作手段が新規画面を開く入力を受け付けると、前記入力UI手段が前記画面に表示させた前記入力エリアのうち先頭位置から少なくとも画面中における最後の項目窓内における先頭文字位置の直前の文字位置までの所定エリアを空白文字で埋める初期設定手段をさらに備えたことを特徴とする電子機器における編集装置。 In the editing apparatus in the electronic device as described in any one of Claims 1 thru | or 5,
When the input operation means accepts an input for opening a new screen, the character immediately before the first character position in the last item window in the screen from at least the first position in the input area displayed on the screen by the input UI means An editing apparatus in an electronic apparatus, further comprising initial setting means for filling a predetermined area up to a position with a blank character.
前記ポインタ制御手段は、前記文字入力ポインタを前記一つ隣の項目窓内の位置へ移動させるに当たり、当該文字入力ポインタの属する項目窓と前記一つ隣の項目窓との間が空白文字で埋められていない場合は、当該間を空白文字で埋めた後に前記文字入力ポインタを移動させることを特徴とする電子機器における編集装置。 In the editing apparatus in the electronic device according to claim 5,
The pointer control means fills a space between the item window to which the character input pointer belongs and the next item window with a blank character when moving the character input pointer to a position in the next item window. If not, the editing device in the electronic apparatus is characterized in that the character input pointer is moved after filling the space with a blank character.
前記入力操作手段が文字の入力を受け付けた場合、当該入力を反映させると入力対象の項目窓に設定された最大文字数を超えるか否かを判断する入力限界判定手段と、
前記最大文字数を超えると判断された場合は、所定の文末処理を行う文末処理手段とをさらに備えたことを特徴とする電子機器における編集装置。 In the editing apparatus in the electronic device as described in any one of Claims 1 thru | or 7,
When the input operation means accepts an input of characters, an input limit determination means that determines whether the maximum number of characters set in the item window to be input is exceeded when the input is reflected;
An editing apparatus in an electronic device, further comprising: sentence ending processing means for performing predetermined sentence ending processing when it is determined that the maximum number of characters is exceeded.
前記入力操作手段がデータ保存要求を受付けると、前記入力エリア上から項目窓に対応する領域分の文字列を切り出す切出し手段と、
前記切り出した文字列のデータを記憶手段に保存する保存手段と
をさらに備えたことを特徴とする電子機器における編集装置。 In the editing apparatus in the electronic device as described in any one of Claims 1 thru | or 8,
When the input operation unit accepts a data storage request, a cutting unit that cuts out a character string corresponding to the item window from the input area;
An editing apparatus in an electronic apparatus, further comprising: a storage unit that stores the extracted character string data in a storage unit.
少なくとも文字の入力を受け付ける入力操作手段と、
前記入力操作手段が受け付けた入力結果が表示される入力エリアを有する入力UIを用意する入力UI手段と、
複数の項目窓を有する表画像を用意する表画像手段と、
前記表画像における項目窓以外の部分は前記表画像を前記入力UIよりも優先して前記表示部に表示させ、前記表画像における項目窓の部分は前記入力UIを前記表画像よりも優先して前記表示部に表示させる画面表示手段と、
前記入力エリア上の文字入力ポインタを前記項目窓内に位置するように位置制御するポインタ制御手段と、
前記入力操作手段が入力を受け付けると、前記入力エリア上の前記文字入力ポインタの位置に入力結果を反映させる処理を行う処理手段と、
前記処理手段による前記処理が行われた場合に当該処理の対象の項目窓以外の他の項目窓内に表示されていた文字がずれないように文字の表示位置を調整する文字位置調整手段と
を備えたことを特徴とする電子機器。 A display unit having a screen capable of displaying characters;
An input operation means for receiving at least character input;
An input UI means for preparing an input UI having an input area for displaying an input result received by the input operation means;
A table image means for preparing a table image having a plurality of item windows;
The part other than the item window in the table image has the table image displayed on the display unit with priority over the input UI, and the item window part in the table image has priority over the input UI over the input image. Screen display means for displaying on the display unit;
Pointer control means for controlling the position of the character input pointer on the input area so as to be positioned in the item window;
When the input operation means accepts an input, a processing means for performing a process of reflecting the input result on the position of the character input pointer on the input area;
A character position adjusting means for adjusting a character display position so that a character displayed in an item window other than the item window to be processed does not shift when the processing by the processing means is performed. Electronic equipment characterized by comprising.
前記入力操作手段が受け付けた文字を表示可能な入力エリアを有する入力UIを用意させる入力UIステップと、
複数の項目窓を有する表画像を用意する表画像ステップと、
前記表画像における項目窓以外の部分は前記表画像を前記入力UIよりも優先して前記表示部に表示させ、前記表画像における項目窓の部分は前記入力UIを前記表画像よりも優先して前記表示部に表示させる画面表示ステップと、
前記入力エリア上の文字入力ポインタを前記項目窓内の所定位置に配置するポインタ制御ステップと、
前記入力操作手段が入力を受け付けると、前記入力エリア上の前記文字入力ポインタの位置に入力結果を反映させる処理を行う処理ステップと、
前記処理ステップによる前記処理が行われた場合に当該処理が行われた項目窓以外の他の項目窓内に表示されていた文字がずれる場合は、当該文字がずれないように文字の表示位置を調整する文字位置調整ステップと
を備えたことを特徴とする電子機器における編集方法。 In an electronic device having an input operation unit and a display unit, an editing method in an electronic device that performs an editing process by displaying an input character received by the input operation unit on a screen of the display unit,
An input UI step for preparing an input UI having an input area capable of displaying characters received by the input operation means;
A table image step for preparing a table image having a plurality of item windows;
The part other than the item window in the table image has the table image displayed on the display unit with priority over the input UI, and the item window part in the table image has priority over the input UI over the input image. A screen display step to be displayed on the display unit;
A pointer control step of placing a character input pointer on the input area at a predetermined position in the item window;
When the input operation means accepts an input, a processing step of performing a process of reflecting the input result on the position of the character input pointer on the input area;
If the character displayed in the item window other than the item window in which the processing is performed shifts when the processing in the processing step is performed, the character display position is set so that the character does not shift. An editing method in an electronic device, comprising: a character position adjusting step for adjusting.
前記コンピュータに、
テキストコントロール手段を起動させて前記入力操作手段が受け付けた文字を表示可能な入力エリアを有する入力UIを用意させる入力UIステップと、
複数の項目窓を有する表画像を用意する表画像ステップと、
前記表画像における項目窓以外の部分は前記表画像を前記入力UIよりも優先して前記表示部に表示させ、前記表画像における項目窓の部分は前記入力UIを前記表画像よりも優先して前記表示部に表示させる画面表示ステップと、
前記入力エリア上の文字入力ポインタを前記項目窓内の所定位置に配置する指示を前記テキストコントロール手段に与えるポインタ制御ステップと、
前記入力操作手段からの入力を受け付けた前記テキストコントロール手段が、前記入力エリア上の前記文字入力ポインタの位置に入力結果を反映させる処理を行った場合に前記処理が行われた項目窓以外の他の項目窓内に表示されていた文字がずれる場合は、当該文字がずれないように空白文字を挿入又は削除する指示を前記テキストコントロール手段に与えて文字の表示位置を調整させる文字位置調整ステップと
を実行させるためのプログラム。 A program for causing a computer provided in an electronic apparatus having an input operation means and a display unit to display input characters from the input operation means on a screen of the display unit and to execute an editing process,
In the computer,
An input UI step of activating a text control means to prepare an input UI having an input area capable of displaying characters received by the input operation means;
A table image step for preparing a table image having a plurality of item windows;
The part other than the item window in the table image has the table image displayed on the display unit with priority over the input UI, and the item window part in the table image has priority over the input UI over the input image. A screen display step to be displayed on the display unit;
A pointer control step for giving an instruction to the text control means to place a character input pointer on the input area at a predetermined position in the item window;
When the text control unit that has received an input from the input operation unit performs a process of reflecting the input result on the position of the character input pointer on the input area, other than the item window on which the process is performed A character position adjusting step of giving an instruction to the text control means to adjust the display position of the character when the character displayed in the item window is shifted, so that an instruction to insert or delete a blank character is provided so that the character does not shift. A program for running
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006054054A JP2007233653A (en) | 2006-02-28 | 2006-02-28 | Editing device and method for electronic device, electronic device, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006054054A JP2007233653A (en) | 2006-02-28 | 2006-02-28 | Editing device and method for electronic device, electronic device, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007233653A true JP2007233653A (en) | 2007-09-13 |
Family
ID=38554192
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006054054A Pending JP2007233653A (en) | 2006-02-28 | 2006-02-28 | Editing device and method for electronic device, electronic device, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007233653A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017072872A (en) * | 2015-10-05 | 2017-04-13 | 日本電信電話株式会社 | Operation assist system, operation assist method, and operation assist program |
JP2022051910A (en) * | 2018-03-30 | 2022-04-01 | Phcホールディングス株式会社 | Terminal, supporting system of specific health guidance, and program |
-
2006
- 2006-02-28 JP JP2006054054A patent/JP2007233653A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017072872A (en) * | 2015-10-05 | 2017-04-13 | 日本電信電話株式会社 | Operation assist system, operation assist method, and operation assist program |
JP2022051910A (en) * | 2018-03-30 | 2022-04-01 | Phcホールディングス株式会社 | Terminal, supporting system of specific health guidance, and program |
JP7346625B2 (en) | 2018-03-30 | 2023-09-19 | Phcホールディングス株式会社 | Terminals, specific health guidance support systems, and programs |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8250470B2 (en) | Information processing apparatus, control method therefor, and program | |
US8464151B2 (en) | Layout of field area where merchandise and advertising information are inserted or determining position and size of area where merchandise and advertising information flow | |
US7831909B2 (en) | Information processing apparatus, control method therefor, and program with display based on change amount of field areas | |
US20060053370A1 (en) | Electronic album editing apparatus and control method therefor | |
US7847971B2 (en) | Layout processing method, information processing apparatus, and computer program | |
US20080120071A1 (en) | Scrapbook server, method of controlling same, and control program therefor | |
KR20070102346A (en) | Method and apparatus for generating xhtml data of device | |
US20110227951A1 (en) | Conference system, information processing apparatus, display method, and non-transitory computer-readable recording medium encoded with display program | |
US10289366B2 (en) | Image editor, and method and computer-readable medium therefor | |
US20170185357A1 (en) | Printing device, control method of a printing device, and control device | |
JP2006323788A (en) | Data processing setting device, data processing setting method, data processing setting program, and computer readable recording medium recording the program | |
JP2020201902A (en) | Program, information processing apparatus, and information processing method | |
KR100886044B1 (en) | Contents editor and method of editing contents using the same, and program product | |
US20080117455A1 (en) | Apparatus for controlling printing of part images of scrapbook, method of controlling same, and control program therefor | |
EP1933262A1 (en) | Information processing apparatus and method | |
JP2008147851A (en) | Edition device, edition method, and edition program | |
US20150092236A1 (en) | Image processing apparatus and operations thereof | |
US9715643B2 (en) | Label creation apparatus, label creation method, and label creation program | |
JP2007233653A (en) | Editing device and method for electronic device, electronic device, and program | |
JP6536231B2 (en) | Label producing apparatus, label producing method, and label producing program | |
US20070036588A1 (en) | Print-Result Display Method, Layout-Editing Method, And Print Control Device | |
JP2016221940A5 (en) | ||
EP1909475A2 (en) | Scrapbook server, method of controlling same, and control program therefor | |
JP2019191837A (en) | Program, information processing apparatus, and control method | |
JP7013882B2 (en) | Programs and information processing equipment |