Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6885243B2 - Computer program for terminal equipment - Google Patents
[go: Go Back, main page]

JP6885243B2 - Computer program for terminal equipment - Google Patents

Computer program for terminal equipment Download PDF

Info

Publication number
JP6885243B2
JP6885243B2 JP2017138468A JP2017138468A JP6885243B2 JP 6885243 B2 JP6885243 B2 JP 6885243B2 JP 2017138468 A JP2017138468 A JP 2017138468A JP 2017138468 A JP2017138468 A JP 2017138468A JP 6885243 B2 JP6885243 B2 JP 6885243B2
Authority
JP
Japan
Prior art keywords
displayed
window
area
specific object
computer program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017138468A
Other languages
Japanese (ja)
Other versions
JP2019020998A (en
Inventor
諒一 佐藤
諒一 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2017138468A priority Critical patent/JP6885243B2/en
Publication of JP2019020998A publication Critical patent/JP2019020998A/en
Application granted granted Critical
Publication of JP6885243B2 publication Critical patent/JP6885243B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Description

本明細書では、端末装置でオブジェクトを編集するための技術を開示する。 This specification discloses a technique for editing an object in a terminal device.

オブジェクト(例えば、文字、図形)を編集するためのプログラムが広く知られている。ユーザは、端末装置にインストールされている当該プログラムに従って表示されるウィンドウ内の編集領域において、オブジェクトを編集することができる。 Programs for editing objects (eg, characters, graphics) are widely known. The user can edit the object in the editing area in the window displayed according to the program installed in the terminal device.

特開2008−310490号公報Japanese Unexamined Patent Publication No. 2008-310490

例えば、ユーザによって編集領域のサイズが大きくされたり編集領域が移動されたりする場合には、編集領域の全てがウィンドウ内に収まらなくなり、この結果、編集領域内のオブジェクトがウィンドウ内に表示されない事象が発生し得る。このような事象が発生すると、ユーザが当該オブジェクトの存在を認識しない状態で編集作業を行なう可能性がある。 For example, if the size of the editing area is increased or the editing area is moved by the user, the entire editing area will not fit in the window, and as a result, the objects in the editing area will not be displayed in the window. Can occur. When such an event occurs, the user may perform editing work without recognizing the existence of the object.

本明細書では、ユーザがオブジェクトの存在を認識しない状態で編集作業を行なうことを抑制するための技術を提供する。 The present specification provides a technique for suppressing the user from performing editing work without recognizing the existence of the object.

本明細書によって開示される端末装置のためのコンピュータプログラムは、前記端末装置のコンピュータを、以下の各部、即ち、オブジェクトを編集するための編集領域のうちの少なくとも一部を含むウィンドウを前記端末装置の第1の表示部に表示させる第1のウィンドウ表示制御部と、前記編集領域内の特定オブジェクトが前記ウィンドウ内に表示されているのか否かを判断する第1の判断部と、前記特定オブジェクトが前記ウィンドウ内に表示されていないと判断される場合に、前記特定オブジェクトが前記ウィンドウ内に表示されていない状態で、前記特定オブジェクトが前記ウィンドウ内に表示されていないことを通知するための通知画像を前記端末装置の第2の表示部に表示させる通知部と、として機能させる。 The computer program for a terminal device disclosed herein sets the computer of the terminal device to a window containing at least a portion of the following parts, i.e., an editing area for editing an object. A first window display control unit to be displayed on the first display unit of the above, a first determination unit for determining whether or not a specific object in the editing area is displayed in the window, and the specific object. Is not displayed in the window, a notification for notifying that the specific object is not displayed in the window while the specific object is not displayed in the window. It functions as a notification unit for displaying an image on a second display unit of the terminal device.

上記の構成によれば、端末装置は、特定オブジェクトがウィンドウ内に表示されていないと判断する場合に、通知画像を表示する。これにより、ユーザが特定オブジェクトの存在を認識することができるので、ユーザが特定オブジェクトの存在を認識しない状態で編集作業を行なうことを抑制することができる。 According to the above configuration, the terminal device displays a notification image when it determines that the specific object is not displayed in the window. As a result, the user can recognize the existence of the specific object, so that it is possible to suppress the user from performing the editing work without recognizing the existence of the specific object.

上記のコンピュータプログラムを格納するコンピュータ読取可能記憶媒体も新規で有用である。また、端末装置そのもの、及び、端末装置の制御方法も、新規で有用である。 Computer-readable storage media that store the above computer programs are also new and useful. Further, the terminal device itself and the control method of the terminal device are also new and useful.

通信システムの構成を示す。The configuration of the communication system is shown. 通知処理のフローチャートを示す。The flowchart of notification processing is shown. 第1実施例において、(A)のウィンドウが存在する場合に、1個目の通知画像を表示する処理を説明するための説明図(B)を示す。In the first embodiment, an explanatory diagram (B) for explaining a process of displaying the first notification image when the window (A) exists is shown. 第1実施例において、(A)のウィンドウが存在する場合に、2個目の通知画像を表示する処理を説明するための説明図(B)を示す。In the first embodiment, an explanatory diagram (B) for explaining a process of displaying a second notification image when the window (A) exists is shown. 指示監視処理のフローチャートを示す。The flowchart of the instruction monitoring process is shown. 第1実施例において、(A)のウィンドウが存在する状態で通知画像が選択される場合に表示される各ウィンドウ(B)及び(C)を示す。In the first embodiment, the windows (B) and (C) displayed when the notification image is selected in the presence of the window (A) are shown. 第2実施例において、(A)のウィンドウが存在する状態で通知画像が選択される場合に表示される各ウィンドウ(B)及び(C)を示す。In the second embodiment, the windows (B) and (C) displayed when the notification image is selected in the presence of the window (A) are shown. 第3実施例において、(A)のウィンドウが存在する場合に、通知画像を表示する処理を説明するための説明図(B)を示す。In the third embodiment, an explanatory diagram (B) for explaining a process of displaying a notification image when the window of (A) exists is shown. 印刷領域内オブジェクト通知処理のフローチャートと、当該処理によって表示される通知画像と、を示す。A flowchart of the object notification process in the print area and a notification image displayed by the process are shown.

(通信システム2の構成;図1)
図1に示されるように、通信システム2は、端末装置10と、ラベルプリンタ100と、を備える。端末装置10は、有線通信又は無線通信を利用して、ラベルプリンタ100と通信可能である。ラベルプリンタ100は、ラミネートフィルム等の素材を有する細長い印刷媒体に画像の印刷を実行して、印刷済みのラベルを作成する。
(Configuration of communication system 2; FIG. 1)
As shown in FIG. 1, the communication system 2 includes a terminal device 10 and a label printer 100. The terminal device 10 can communicate with the label printer 100 by using wired communication or wireless communication. The label printer 100 prints an image on an elongated print medium having a material such as a laminate film to create a printed label.

(端末装置10の構成)
端末装置10は、ノート型、タブレット型等の可搬型のPC(Personal Computerの略)である。ただし、変形例では、端末装置10は、据置型のPCであってもよい。まず、端末装置10の斜視図を参照して、端末装置10の外観構成について説明する。端末装置10は、第1の筐体4と、第2の筐体6と、を備える。第1の筐体4は、第2の筐体6の端部6aに設けられているヒンジ機構(図示省略)に接続されている。従って、第2の筐体6に対して第1の筐体4が回動可能であり、第1の筐体4が閉じられている状態と、第1の筐体4が開かれている状態(即ち図1の状態)と、が実現される。
(Configuration of terminal device 10)
The terminal device 10 is a portable PC (abbreviation of Personal Computer) such as a notebook type or a tablet type. However, in the modified example, the terminal device 10 may be a stationary PC. First, the appearance configuration of the terminal device 10 will be described with reference to the perspective view of the terminal device 10. The terminal device 10 includes a first housing 4 and a second housing 6. The first housing 4 is connected to a hinge mechanism (not shown) provided at the end 6a of the second housing 6. Therefore, the first housing 4 is rotatable with respect to the second housing 6, and the first housing 4 is closed and the first housing 4 is open. (That is, the state of FIG. 1) and.

第1の筐体4は、情報を表示するための第1の表示部12を備える。第1の表示部12は、一般的なディスプレイで採用されている所定のアスペクト比(例えば16:10)と所定のインチ数(例えば13インチ)とによって決まる矩形形状を有する。 The first housing 4 includes a first display unit 12 for displaying information. The first display unit 12 has a rectangular shape determined by a predetermined aspect ratio (for example, 16:10) and a predetermined number of inches (for example, 13 inches) adopted in a general display.

第2の筐体6は、情報を表示するための第2の表示部14と、ユーザの指示を受け付けるキーボード18と、を備える。第2の表示部14は、第2の筐体6の端部6a(即ちヒンジ機構)とキーボード18との間に配置されている。端部6aは、端末装置10の奥行方向における奥側の端部である。第2の表示部14は、さらに、ユーザの指示を受け付けるための操作部(いわゆるタッチパネル)としても機能する。第2の表示部14は、第1の表示部12の左右方向の長さに略等しい長さを有し、第1の表示部12の上記のアスペクト比を有さず、左右方向の長さと比べると奥行き方向の長さが大幅に小さい。また、第2の表示部14のサイズ(即ち面積)は、第1の表示部12のサイズより小さい。即ち、第1の表示部12は、例えば、ホーム画面、アプリケーションに従ったウィンドウ等が表示されるメインのディスプレイであり、第2の表示部14は、ユーザによる指示の入力を支援するためのアイコン等が表示されるサブのディスプレイである。 The second housing 6 includes a second display unit 14 for displaying information and a keyboard 18 for receiving a user's instruction. The second display unit 14 is arranged between the end portion 6a (that is, the hinge mechanism) of the second housing 6 and the keyboard 18. The end portion 6a is an end portion on the inner side of the terminal device 10 in the depth direction. The second display unit 14 also functions as an operation unit (so-called touch panel) for receiving a user's instruction. The second display unit 14 has a length substantially equal to the length of the first display unit 12 in the left-right direction, does not have the above-mentioned aspect ratio of the first display unit 12, and has a length in the left-right direction. Compared to this, the length in the depth direction is significantly smaller. Further, the size (that is, the area) of the second display unit 14 is smaller than the size of the first display unit 12. That is, the first display unit 12 is a main display on which, for example, a home screen, a window according to an application, or the like is displayed, and the second display unit 14 is an icon for assisting the input of an instruction by the user. Etc. are displayed on this sub-display.

続いて、端末装置10のブロック図を参照して、端末装置10の制御構成を説明する。端末装置10は、第1の表示部12と、第2の表示部14と、通信インターフェース16と、キーボード18と、制御部20と、を備える。各部12〜20は、バス線(符号省略)に接続されている。なお、以下では、インターフェースのことを「I/F」と記載する。通信I/F16は、ラベルプリンタ100等の外部装置との通信を実行するためのI/Fである。 Subsequently, the control configuration of the terminal device 10 will be described with reference to the block diagram of the terminal device 10. The terminal device 10 includes a first display unit 12, a second display unit 14, a communication interface 16, a keyboard 18, and a control unit 20. Each part 12 to 20 is connected to a bus line (reference numeral omitted). In the following, the interface will be referred to as "I / F". The communication I / F 16 is an I / F for executing communication with an external device such as a label printer 100.

制御部20は、CPU22と、メモリ24と、を備える。CPU22は、メモリ24に記憶されているプログラム26、28に従って、様々な処理を実行する。メモリ24は、揮発性メモリ、不揮発性メモリ等によって構成される。メモリ24は、OS(Operating Systemの略)プログラム26と、ラベルの作成をラベルプリンタ100に実行させるためのラベル作成アプリケーションプログラム(以下では「ラベル作成アプリ」と呼ぶ)28と、を記憶する。ラベル作成アプリ28は、ラベルプリンタ100のベンダによって提供される。ラベル作成アプリ28は、例えば、ベンダによって提供されるインターネット上のサーバ(図示省略)から端末装置10にインストールされてもよいし、ラベルプリンタ100と共に出荷されるメディアから端末装置10にインストールされてもよい。 The control unit 20 includes a CPU 22 and a memory 24. The CPU 22 executes various processes according to the programs 26 and 28 stored in the memory 24. The memory 24 is composed of a volatile memory, a non-volatile memory, and the like. The memory 24 stores an OS (abbreviation of Operating System) program 26 and a label creation application program (hereinafter referred to as a "label creation application") 28 for causing the label printer 100 to create a label. The label creation application 28 is provided by the vendor of the label printer 100. The label creation application 28 may be installed on the terminal device 10 from a server (not shown) on the Internet provided by the vendor, or may be installed on the terminal device 10 from the media shipped together with the label printer 100. Good.

続いて、ラベル作成アプリ28によって表示される情報を説明する。CPU22は、ユーザからラベル作成アプリ28を起動するための指示を受け付けると、ラベル作成アプリ28に従って、第1の表示部12に編集ウィンドウ30を表示させ、第2の表示部14にアイコン群50を表示させる。 Next, the information displayed by the label creation application 28 will be described. When the CPU 22 receives an instruction from the user to start the label creation application 28, the CPU 22 causes the first display unit 12 to display the edit window 30 according to the label creation application 28, and displays the icon group 50 on the second display unit 14. Display.

編集ウィンドウ30は、印刷媒体に印刷されるべきオブジェクト(例えば文字、図形等)を編集するためのウィンドウである。編集ウィンドウ30は、オブジェクトを編集するための編集領域32を有する。図1の状態では、編集ウィンドウ30は、編集領域32の全てを含んでおらず、編集領域32の一部のみを含む。例えば、編集領域32のサイズが大きくされたり、編集領域32が移動されたりすると、編集領域32の全てが編集ウィンドウ30に収まらなくなる。即ち、編集領域32は、編集ウィンドウ30に含まれる領域と、編集ウィンドウ30に含まれない領域と、を含み得る。図1では、編集ウィンドウ30に含まれない領域を破線で示す。また、以下では、編集ウィンドウ30に含まれる領域のことを「表示領域34」と記載する。このように、編集ウィンドウ30は、編集領域32のうちの少なくとも一部を含む。 The edit window 30 is a window for editing an object (for example, characters, figures, etc.) to be printed on the print medium. The edit window 30 has an edit area 32 for editing an object. In the state of FIG. 1, the editing window 30 does not include the entire editing area 32, but includes only a part of the editing area 32. For example, if the size of the editing area 32 is increased or the editing area 32 is moved, the entire editing area 32 will not fit in the editing window 30. That is, the editing area 32 may include an area included in the editing window 30 and an area not included in the editing window 30. In FIG. 1, the area not included in the edit window 30 is indicated by a broken line. Further, in the following, the area included in the edit window 30 will be referred to as "display area 34". As described above, the editing window 30 includes at least a part of the editing area 32.

編集領域32は、印刷領域36を含む。印刷領域36は、ラベルプリンタ100で利用される印刷媒体の形状に沿った細長い形状を有し、印刷媒体に印刷されるべきオブジェクトが記述される領域である。図1の状態では、オブジェクトOB1、OB3は、印刷領域36に含まれ、オブジェクトOB2、OB4は、印刷領域36に含まれない。従って、この状態でユーザから印刷指示を受け付けると、オブジェクトOB1、OB3が印刷媒体に印刷されるが、オブジェクトOB2、OB4は印刷されない。 The editing area 32 includes a printing area 36. The print area 36 has an elongated shape that follows the shape of the print medium used in the label printer 100, and is an area in which an object to be printed on the print medium is described. In the state of FIG. 1, the objects OB1 and OB3 are included in the print area 36, and the objects OB2 and OB4 are not included in the print area 36. Therefore, when a print instruction is received from the user in this state, the objects OB1 and OB3 are printed on the print medium, but the objects OB2 and OB4 are not printed.

第2の表示部14のアイコン群50は、編集ウィンドウ30内のオブジェクトを編集する編集指示を受け付けるためのアイコンである。編集指示は、例えば、文字オブジェクト(例えばOB1)のフォントを変更する指示、文字オブジェクトのスタイル(太文字、イタリック体等)を変更する指示、文字オブジェクト又は図形オブジェクト(例えばOB4)のサイズを変更する指示等を含む。ユーザは、キーボード18を操作しなくても、アイコン群50をタッチすることによってオブジェクトを容易に編集することができる。また、第2の表示部14内の破線は、実際に表示される線ではない。当該破線と第2の表示部14の外縁との間の領域40(即ち第2の表示部14の内側周縁部)は、後述の通知画像を表示するための通知領域である。 The icon group 50 of the second display unit 14 is an icon for receiving an edit instruction for editing an object in the edit window 30. The edit instruction is, for example, an instruction to change the font of the character object (for example, OB1), an instruction to change the style of the character object (bold characters, italics, etc.), and a size change of the character object or the graphic object (for example, OB4). Includes instructions, etc. The user can easily edit the object by touching the icon group 50 without operating the keyboard 18. Further, the broken line in the second display unit 14 is not a line that is actually displayed. The area 40 between the broken line and the outer edge of the second display unit 14 (that is, the inner peripheral edge portion of the second display unit 14) is a notification area for displaying a notification image described later.

(通知処理:図2〜図4)
図2〜図4を参照して、端末装置10のCPU22がラベル作成アプリ28に従って実行する通知処理の内容を説明する。図2の処理は、編集ウィンドウ30が表示されることをトリガとして開始される。
(Notification processing: Fig. 2 to Fig. 4)
The content of the notification process executed by the CPU 22 of the terminal device 10 according to the label creation application 28 will be described with reference to FIGS. 2 to 4. The process of FIG. 2 is started with the display of the edit window 30 as a trigger.

S10では、CPU22は、表示領域34外にオブジェクトが存在するのか否か、即ち、編集ウィンドウ30内に表示されていないオブジェクトが存在するのか否かを監視する。具体的には、CPU22は、まず、編集ウィンドウ30上に定義された座標系を利用して、編集領域32内の各オブジェクトについて、当該オブジェクトの中心の座標であるオブジェクト座標と、当該オブジェクトのサイズ(即ち横方向の長さ及び縦方向の長さ)であるオブジェクトサイズと、を特定する。CPU22は、さらに、表示領域34の各頂点の座標である表示頂点座標を特定する。そして、CPU22は、オブジェクト座標及びオブジェクトサイズによって特定されるオブジェクトの外形の全てが、4個の表示頂点座標によって特定される表示領域34の外側に存在する場合に、当該オブジェクトが表示領域34外に存在している(即ち編集ウィンドウ30内に表示されていない)と判断する。一方、CPU22は、オブジェクトの外形のうちの少なくとも一部が表示領域34の内側に存在する場合には、当該オブジェクトが表示領域34外に存在しない(即ち編集ウィンドウ30内に表示されている)と判断する。CPU22は、少なくとも1個のオブジェクトが表示領域34外に存在していると判断する場合に、S10でYESと判断して、S12に進む。 In S10, the CPU 22 monitors whether or not an object exists outside the display area 34, that is, whether or not an object that is not displayed in the edit window 30 exists. Specifically, the CPU 22 first uses the coordinate system defined on the edit window 30 to obtain the object coordinates, which are the coordinates of the center of the object, and the size of the object for each object in the edit area 32. The object size, which is (that is, the horizontal length and the vertical length), is specified. The CPU 22 further specifies the display vertex coordinates, which are the coordinates of each vertex in the display area 34. Then, when the entire outer shape of the object specified by the object coordinates and the object size is outside the display area 34 specified by the four display vertex coordinates, the CPU 22 causes the object to be outside the display area 34. It is determined that it exists (that is, it is not displayed in the edit window 30). On the other hand, when at least a part of the outer shape of the object exists inside the display area 34, the CPU 22 states that the object does not exist outside the display area 34 (that is, it is displayed in the edit window 30). to decide. When the CPU 22 determines that at least one object exists outside the display area 34, the CPU 22 determines YES in S10 and proceeds to S12.

例えば、図3(A)の状態では、オブジェクトOB1が表示領域34内に存在し、オブジェクトOB2〜OB4が表示領域34外に存在する。この場合、CPU22は、3個のオブジェクトOB2〜OB4が表示領域34外に存在すると判断し(S10でYES)、S12に進む。一方、図1の編集ウィンドウ30が表示されている状態では、全てのオブジェクトOB1〜OB4が表示領域34内に存在する。この場合、CPU22は、表示領域34外にオブジェクトが存在しないと判断し(S10でNO)、S10の監視を継続する。なお、変形例では、S10において、CPU22は、オブジェクトの外形のうちの少なくとも一部が表示領域34の外側に存在する場合に、当該オブジェクトが表示領域34外に存在すると判断し(S10でYES)、オブジェクトの外形の全てが表示領域34の内側に存在する場合には、当該オブジェクトが表示領域34外に存在しないと判断してもよい(S10でNO)。 For example, in the state of FIG. 3A, the object OB1 exists in the display area 34, and the objects OB2 to OB4 exist outside the display area 34. In this case, the CPU 22 determines that the three objects OB2 to OB4 exist outside the display area 34 (YES in S10), and proceeds to S12. On the other hand, in the state where the edit window 30 of FIG. 1 is displayed, all the objects OB1 to OB4 exist in the display area 34. In this case, the CPU 22 determines that the object does not exist outside the display area 34 (NO in S10), and continues monitoring in S10. In the modified example, in S10, when at least a part of the outer shape of the object exists outside the display area 34, the CPU 22 determines that the object exists outside the display area 34 (YES in S10). When the entire outer shape of the object exists inside the display area 34, it may be determined that the object does not exist outside the display area 34 (NO in S10).

S12では、CPU22は、S10で表示領域34外に存在すると判断された少なくとも1個のオブジェクトの中から1個のオブジェクト(以下では「対象オブジェクト」と呼ぶ)を特定する。 In S12, the CPU 22 identifies one object (hereinafter referred to as “target object”) from at least one object determined to exist outside the display area 34 in S10.

S14では、CPU22は、対象オブジェクトが印刷領域36内に存在するのか否かを判断する。具体的には、CPU22は、S10で利用された座標系を利用して、印刷領域36の各頂点の座標である印刷頂点座標を特定する。そして、CPU22は、対象オブジェクトのオブジェクト座標及びオブジェクトサイズによって特定される対象オブジェクトの外形の全てが、4個の印刷頂点座標によって特定される印刷領域36の外側に存在する場合に、対象オブジェクトが印刷領域36内に存在しないと判断する。一方、CPU22は、対象オブジェクトの外形のうちの少なくとも一部が印刷領域36の内側に存在する場合には、対象オブジェクトが印刷領域36内に存在すると判断する。CPU22は、対象オブジェクトが印刷領域36内に存在しないと判断する場合(S14でNO)に、S16に進み、対象オブジェクトが印刷領域36内に存在すると判断する場合(S14でYES)に、S16〜S24をスキップしてS30に進む。 In S14, the CPU 22 determines whether or not the target object exists in the print area 36. Specifically, the CPU 22 uses the coordinate system used in S10 to specify the print vertex coordinates, which are the coordinates of each vertex in the print area 36. Then, the CPU 22 prints the target object when all the outer shapes of the target object specified by the object coordinates of the target object and the object size are outside the print area 36 specified by the coordinates of the four print vertexs. It is determined that it does not exist in the area 36. On the other hand, when at least a part of the outer shape of the target object exists inside the print area 36, the CPU 22 determines that the target object exists in the print area 36. When the CPU 22 determines that the target object does not exist in the print area 36 (NO in S14), the CPU 22 proceeds to S16, and when it determines that the target object exists in the print area 36 (YES in S14), S16 to Skip S24 and proceed to S30.

例えば、図3(A)の状態では、オブジェクトOB3が印刷領域36内に存在し、オブジェクトOB2、OB4が印刷領域36外に存在する。CPU22は、オブジェクトOB3が対象オブジェクトとして特定される場合には、S14でYESと判断し、S30に進む。一方、CPU22は、各オブジェクトOB2、OB4が対象オブジェクトとして特定される場合には、S14でNOと判断し、S16に進む。なお、変形例では、CPU22は、対象オブジェクトの外形のうちの少なくとも一部が印刷領域36の外側に存在する場合に、対象オブジェクトが印刷領域36内に存在しないと判断し(S14でNO)、対象オブジェクトの外形の全てが印刷領域36の内側に存在する場合には、対象オブジェクトが印刷領域36内に存在すると判断してもよい(S14でYES)。 For example, in the state of FIG. 3A, the object OB3 exists in the print area 36, and the objects OB2 and OB4 exist outside the print area 36. When the object OB3 is specified as the target object, the CPU 22 determines YES in S14 and proceeds to S30. On the other hand, when the objects OB2 and OB4 are specified as the target objects, the CPU 22 determines NO in S14 and proceeds to S16. In the modified example, when at least a part of the outer shape of the target object exists outside the print area 36, the CPU 22 determines that the target object does not exist in the print area 36 (NO in S14). When the entire outer shape of the target object exists inside the print area 36, it may be determined that the target object exists in the print area 36 (YES in S14).

S16では、CPU22は、第1の基準点BP1aを基準として対象オブジェクトの位相を特定する。図3(B)に示されるように、第1の基準点BP1aは、表示領域34の中心、即ち、表示領域34の外形である四角形の2本の対角線の交点である。ここで、一方の対角線上の第1の基準点BP1aから左下方向に伸びる半直線HL1と、他方の対角線上の第1の基準点BP1aから右下方向に伸びる半直線HL2と、の間の領域のことを、第1の基準点BP1aの下側の領域と呼ぶ。同様に、2本の対角線上の他の隣接する2本の半直線の間の各領域のことを、それぞれ、第1の基準点BP1aの右側の領域、上側の領域、左側の領域と呼ぶ。即ち、第1の基準点BP1aを基準とした4個の領域が存在する。CPU22は、まず、対象オブジェクトが第1の基準点BP1aを基準とした4個の領域のうちのいずれの領域(以下では「対象領域」と呼ぶ)に存在するのかを特定する。そして、CPU22は、第1の基準点BP1aと対象オブジェクトとを結ぶ直線(以下では「対象直線」と呼ぶ)と、対象領域を定義する2本の半直線と、の間の角度α、βの比(α:β)を、対象オブジェクトの位相として特定する。 In S16, the CPU 22 specifies the phase of the target object with reference to the first reference point BP1a. As shown in FIG. 3B, the first reference point BP1a is the center of the display area 34, that is, the intersection of two diagonal lines of a quadrangle which is the outer shape of the display area 34. Here, the region between the half-line HL1 extending in the lower left direction from the first reference point BP1a on one diagonal line and the half-line HL2 extending in the lower right direction from the first reference point BP1a on the other diagonal line. This is referred to as a region below the first reference point BP1a. Similarly, each region between two other adjacent half lines on the two diagonal lines is referred to as a region on the right side, a region on the upper side, and a region on the left side of the first reference point BP1a, respectively. That is, there are four regions with reference to the first reference point BP1a. First, the CPU 22 specifies in which of the four regions (hereinafter, referred to as “target region”) the target object exists with respect to the first reference point BP1a. Then, the CPU 22 has angles α and β between the straight line connecting the first reference point BP1a and the target object (hereinafter referred to as “target straight line”) and the two half straight lines defining the target area. The ratio (α: β) is specified as the phase of the target object.

例えば、図3(B)に示されるように、オブジェクトOB2が対象オブジェクトとして特定される場合(S12)には、CPU22は、オブジェクトOB2が第1の基準点BP1aの下側の領域(即ち対象領域)に存在することを特定する。CPU22は、第1の基準点BP1aとオブジェクトOB2のオブジェクト座標とを結ぶ対象直線TL1を算出し、対象直線TL1と、第1の基準点BP1aの下側の領域を定義する2本の半直線HL1、HL2と、の間の角度α、βを算出し、角度α、βの比を対象オブジェクトの位相として特定する(S16)。この例では、α=βであり、角度α、βの比は「1:1」である。 For example, as shown in FIG. 3B, when the object OB2 is specified as the target object (S12), the CPU 22 determines that the object OB2 is the area below the first reference point BP1a (that is, the target area). ) To identify it. The CPU 22 calculates a target straight line TL1 connecting the first reference point BP1a and the object coordinates of the object OB2, and defines the target straight line TL1 and the region below the first reference point BP1a. , HL2 and the angles α and β are calculated, and the ratio of the angles α and β is specified as the phase of the target object (S16). In this example, α = β, and the ratio of angles α and β is “1: 1”.

S20では、CPU22は、第2の表示部14内の通知領域40の中から、S16で特定された対象オブジェクトの位相に対応する位置を通知画像の配置位置として特定する。具体的には、第2の表示部14の中心、即ち、第2の表示部14の外形である四角形の2本の対角線の交点が、第2の基準点BP2として定義される。そして、CPU22は、第1の基準点BP1aを基準とした対象オブジェクトの位相(S16)と、第2の基準点BP2を基準とした通知画像の位相と、が一致するように、通知画像の配置位置を特定する。ここで、「第2の基準点BP2を基準とした通知画像の位相」は、第2の基準点BP2と通知画像とを結ぶ直線と、第2の表示部14の2本の対角線上の2本の半直線と、の間の角度α’、β’の比(α’:β’)である。当該2本の半直線は、第2の基準点BP2を基準とした4個の領域(即ち、上側の領域、右側の領域、下側の領域、左側の領域)のうち、S16で特定された対象領域に一致する側の領域を定義する2本の半直線である。 In S20, the CPU 22 specifies a position corresponding to the phase of the target object specified in S16 from the notification area 40 in the second display unit 14 as the arrangement position of the notification image. Specifically, the center of the second display unit 14, that is, the intersection of the two diagonal lines of the quadrangle that is the outer shape of the second display unit 14, is defined as the second reference point BP2. Then, the CPU 22 arranges the notification image so that the phase (S16) of the target object based on the first reference point BP1a and the phase of the notification image based on the second reference point BP2 match. Identify the position. Here, the "phase of the notification image with respect to the second reference point BP2" is a straight line connecting the second reference point BP2 and the notification image and two diagonal lines of the second display unit 14. It is the ratio (α': β') of the angles α'and β'between the half line of the book. The two half lines were identified in S16 of the four regions (that is, the upper region, the right region, the lower region, and the left region) with respect to the second reference point BP2. Two half-line lines that define the area on the side that matches the target area.

図3(B)の例では、CPU22は、第2の基準点BP2を基準とした4個の領域のうち、S16で特定された対象領域(即ち下側の領域)に一致する下側の領域を定義する2本の半直線HL3、HL4を特定する。次いで、CPU22は、2本の半直線HL3、HL4と直線L1との間の角度α’、β’の比(α’:β’)がS16で特定された位相(即ち比α:β)に一致するように、基準点BP2から下側に伸びる直線L1を算出する。そして、CPU22は、第2の表示部14の通知領域40の中から、直線L1が通過する位置を配置位置として特定する。 In the example of FIG. 3B, the CPU 22 has a lower region that matches the target region (that is, the lower region) specified in S16 among the four regions with reference to the second reference point BP2. The two half-line HL3 and HL4 that define the above are specified. Next, the CPU 22 sets the ratio (α': β') of the angles α', β'between the two half-line HL3, HL4 and the straight line L1 to the phase specified in S16 (that is, the ratio α: β). A straight line L1 extending downward from the reference point BP2 is calculated so as to match. Then, the CPU 22 specifies the position where the straight line L1 passes from the notification area 40 of the second display unit 14 as the arrangement position.

S24では、CPU22は、所定サイズの矩形形状を有する所定の色(例えば赤色)の通知画像をS20で特定された配置位置に表示させる。ここで、CPU22は、第1の表示部12に表示されている編集ウィンドウ30内の表示内容を変更しない。従って、CPU22は、対象オブジェクトが編集ウィンドウ30内に表示されていない状態で、通知画像を第2の表示部14に表示させる。通知画像は、対象オブジェクトが編集ウィンドウ30内に表示されていないこと(即ち表示領域34外に存在すること)を通知するための画像である。 In S24, the CPU 22 displays a notification image of a predetermined color (for example, red) having a rectangular shape of a predetermined size at the arrangement position specified in S20. Here, the CPU 22 does not change the display content in the edit window 30 displayed on the first display unit 12. Therefore, the CPU 22 causes the second display unit 14 to display the notification image in a state where the target object is not displayed in the edit window 30. The notification image is an image for notifying that the target object is not displayed in the edit window 30 (that is, exists outside the display area 34).

図3(B)の例では、CPU22は、S24において、通知画像42を表示させる。これにより、ユーザは、オブジェクトOB2が編集ウィンドウ30内に表示されていないことを知ることができる。特に、通知画像42は、第2の表示部14の通知領域40(即ち内側周縁部)のうち、第1の基準点BP1aを基準としたオブジェクトOB2の位相(α:β)に対応する位置(即ち第2の基準点BP1aを基準とした位相(α’:β’))に表示される。これにより、ユーザは、オブジェクトOB2が編集ウィンドウ30内に表示されていない状態でも、表示領域34の中心(即ち基準点BP1a)を基準としてオブジェクトOB2がどの向きに存在するのかを容易に知ることができる。このため、ユーザは、表示領域34をスクロールさせる等の指示を与えることによって、オブジェクトOB2を容易に表示させることができる。 In the example of FIG. 3B, the CPU 22 displays the notification image 42 in S24. As a result, the user can know that the object OB2 is not displayed in the edit window 30. In particular, the notification image 42 has a position (α: β) corresponding to the phase (α: β) of the object OB2 with respect to the first reference point BP1a in the notification area 40 (that is, the inner peripheral edge portion) of the second display unit 14. That is, it is displayed in the phase (α': β') with respect to the second reference point BP1a). As a result, the user can easily know in which direction the object OB2 exists with respect to the center of the display area 34 (that is, the reference point BP1a) even when the object OB2 is not displayed in the edit window 30. it can. Therefore, the user can easily display the object OB2 by giving an instruction such as scrolling the display area 34.

S30では、CPU22は、S10で表示領域34外に存在すると判断された1個以上のオブジェクトの中に、S12で対象オブジェクトとして特定されていないオブジェクトが存在するのか否かを判断する。CPU22は、未特定のオブジェクトが存在すると判断する場合(S30でYES)に、S12に戻り、新たな対象オブジェクトを特定する。一方、CPU22は、未特定のオブジェクトが存在しないと判断する場合に(S30でNO)に、S10の監視に戻る。 In S30, the CPU 22 determines whether or not there is an object that is not specified as the target object in S12 among the one or more objects determined to exist outside the display area 34 in S10. When the CPU 22 determines that an unspecified object exists (YES in S30), the CPU 22 returns to S12 and identifies a new target object. On the other hand, when the CPU 22 determines that the unspecified object does not exist (NO in S30), the CPU 22 returns to the monitoring of S10.

例えば、図4(A)に示されるように、オブジェクトOB2が対象オブジェクトとして特定されて通知画像42が表示された後に(S24)、オブジェクトOB3が対象オブジェクトとして特定される(S30でYES、S12)。この場合、CPU22は、オブジェクトOB3が印刷領域36内に存在すると判断し(S14でYES)、オブジェクトOB3のための通知画像を表示させない(S16〜S24をスキップ)。次いで、オブジェクトOB4が対象オブジェクトとして特定される(S30でYES、S12)。この場合、CPU22は、オブジェクトOB4が印刷領域36内に存在しないと判断し(S14でNO)、図4(B)に示されるように、オブジェクトOB4の位相(即ちα:β)を特定し(S16)、オブジェクトOB4の位相に一致する位相を有する直線L2が通過する位置を配置位置として特定し(S20)、当該配置位置に通知画像44を表示させる(S24)。この結果、第2の表示部14には2個の通知画像42、44が表示される。これにより、ユーザは、2個のオブジェクトOB2、OB4が編集ウィンドウ30内に表示されていないことを知ることができる。 For example, as shown in FIG. 4A, after the object OB2 is specified as the target object and the notification image 42 is displayed (S24), the object OB3 is specified as the target object (YES in S30, S12). .. In this case, the CPU 22 determines that the object OB3 exists in the print area 36 (YES in S14), and does not display the notification image for the object OB3 (skips S16 to S24). Next, the object OB4 is specified as the target object (YES in S30, S12). In this case, the CPU 22 determines that the object OB4 does not exist in the print area 36 (NO in S14), and specifies the phase (that is, α: β) of the object OB4 as shown in FIG. 4 (B) (that is, α: β). S16), a position through which the straight line L2 having a phase matching the phase of the object OB4 passes is specified as an arrangement position (S20), and the notification image 44 is displayed at the arrangement position (S24). As a result, the two notification images 42 and 44 are displayed on the second display unit 14. As a result, the user can know that the two objects OB2 and OB4 are not displayed in the edit window 30.

(指示監視処理:図5、図6)
図5、図6を参照して、CPU22がラベル作成アプリ28に従って実行する指示監視処理の内容を説明する。図5の処理は、図2の処理と同様に、編集ウィンドウ30が表示されることをトリガとして開始される。
(Instruction monitoring process: Fig. 5, Fig. 6)
The contents of the instruction monitoring process executed by the CPU 22 according to the label creation application 28 will be described with reference to FIGS. 5 and 6. Similar to the process of FIG. 2, the process of FIG. 5 is started with the display of the edit window 30 as a trigger.

CPU22は、S40において、ユーザから通知画像を選択するための選択指示を受け付けることを監視する。CPU22は、ユーザが第2の表示部14に表示されている通知画像をタッチする場合に、選択指示を受け付けて(S40でYES)、S42に進む。 The CPU 22 monitors in S40 to receive a selection instruction for selecting a notification image from the user. When the user touches the notification image displayed on the second display unit 14, the CPU 22 accepts the selection instruction (YES in S40) and proceeds to S42.

S42では、CPU22は、通知画像のタッチから所定時間が経過する前に、当該通知画像からユーザの指が離れたのか否かを判断する。CPU22は、所定時間が経過する前に指が離れたと判断する場合(S42でYES)、即ち、通知画像のタッチがいわゆる短押し(換言するとタップ)である場合に、S44に進む。 In S42, the CPU 22 determines whether or not the user's finger has been released from the notification image before a predetermined time has elapsed from the touch of the notification image. The CPU 22 proceeds to S44 when it is determined that the finger has been released before the predetermined time elapses (YES in S42), that is, when the touch of the notification image is a so-called short press (in other words, a tap).

S44では、CPU22は、編集領域32の表示倍率を特定の表示倍率まで下げる。特定の表示倍率は、S40で選択された通知画像に対応するオブジェクト(以下では「選択オブジェクト」と呼ぶ)が編集ウィンドウ30内に表示される倍率である。具体的には、CPU22は、まず、編集領域32の外形である4角形の4個の頂点のうちの左上の頂点と、表示領域34の外形である4角形の4個の頂点のうちの左上の頂点と、が一致していない場合には、これら2個の頂点が一致するように編集領域32を移動させる。そして、CPU22は、編集領域32の左上の頂点と表示領域34の左上の頂点とが一致している状態で、選択オブジェクトが表示領域34内に存在するようになるまで、編集領域32の右下の頂点から左上の頂点に向かう方向に沿って編集領域32を縮小させる。ここで、CPU22は、さらに、編集領域32が縮小される前の元の表示倍率をメモリ24に記憶させておく。 In S44, the CPU 22 reduces the display magnification of the editing area 32 to a specific display magnification. The specific display magnification is a magnification at which an object corresponding to the notification image selected in S40 (hereinafter referred to as a "selected object") is displayed in the edit window 30. Specifically, the CPU 22 first has an upper left vertex among the four vertices of the quadrangle which is the outer shape of the editing area 32 and an upper left of the four vertices of the quadrangle which is the outer shape of the display area 34. If the vertices of are not the same, the editing area 32 is moved so that these two vertices match. Then, the CPU 22 lower right of the editing area 32 until the selected object exists in the display area 34 in a state where the upper left apex of the editing area 32 and the upper left apex of the display area 34 match. The editing area 32 is reduced along the direction from the apex of the to the upper left apex. Here, the CPU 22 further stores the original display magnification before the editing area 32 is reduced in the memory 24.

例えば、図6(A)の状態において、オブジェクトOB2に対応する通知画像42(図4(B)参照)がタッチされる状況(S40でYES)を想定する。この場合、CPU22は、編集領域32の左上の頂点と表示領域34の左上の頂点とが一致しているので、編集領域32を移動させることなく、図中の矢印の方向に沿って編集領域32を縮小させる。そして、CPU22は、オブジェクトOB2が表示領域34内に存在する状態になると、編集領域32の縮小を停止する。これにより、図6(B)に示されるように、オブジェクトOB2が表示される。このように、ユーザは、オブジェクトOB2に対応する通知画像42を選択(即ちタッチ)すれば、選択オブジェクトOB2を容易に表示させることができる。 For example, in the state of FIG. 6A, it is assumed that the notification image 42 (see FIG. 4B) corresponding to the object OB2 is touched (YES in S40). In this case, since the upper left vertex of the editing area 32 and the upper left vertex of the display area 34 of the CPU 22 coincide with each other, the editing area 32 does not move the editing area 32 and is along the direction of the arrow in the drawing. To shrink. Then, when the object OB2 exists in the display area 34, the CPU 22 stops the reduction of the editing area 32. As a result, the object OB2 is displayed as shown in FIG. 6 (B). In this way, the user can easily display the selected object OB2 by selecting (that is, touching) the notification image 42 corresponding to the object OB2.

S48では、CPU22は、ユーザから選択オブジェクトを削除するための削除指示を受け付けたのか否かを判断する。CPU22は、選択オブジェクトが指定されている状態で、キーボード18の削除ボタンがユーザによって押されると、削除指示を受け付けたと判断して(S48でYES)に、S50に進む。一方、CPU22は、ユーザから他の指示を受け付ける場合(S48でNO)に、S50をスキップして、S40に戻る。 In S48, the CPU 22 determines whether or not a deletion instruction for deleting the selected object has been received from the user. When the delete button on the keyboard 18 is pressed by the user while the selected object is specified, the CPU 22 determines that the delete instruction has been accepted (YES in S48), and proceeds to S50. On the other hand, when the CPU 22 receives another instruction from the user (NO in S48), the CPU 22 skips S50 and returns to S40.

S50では、CPU22は、編集領域32の表示倍率を、S44でメモリ24に記憶された元の倍率まで戻す。具体的には、CPU22は、編集領域32の左上の頂点と表示領域34の左上の頂点とが一致している状態で、S44で編集領域32を縮小した方向とは逆方向(即ち編集領域32の左上の頂点から右下の頂点に向かう方向)に沿って編集領域32を拡大させる。例えば、図6(B)の状態において、選択オブジェクトOB2を削除する削除指示を受け付ける場合に、CPU22は、図6(A)の表示倍率になるまで、図中の矢印の方向に沿って編集領域32を拡大させる。このように、選択オブジェクトOB2が削除されると元の表示倍率に戻るので、ユーザは、元の表示倍率に従ってオブジェクトOB1が大きく表示されている状態で、オブジェクトOB1の編集を行なうことができる。ユーザの利便性が向上する。 In S50, the CPU 22 returns the display magnification of the editing area 32 to the original magnification stored in the memory 24 in S44. Specifically, the CPU 22 is in a state where the upper left apex of the editing area 32 and the upper left apex of the display area 34 match, and the direction is opposite to the direction in which the editing area 32 is reduced in S44 (that is, the editing area 32). The editing area 32 is enlarged along the direction from the upper left vertex to the lower right vertex of. For example, in the state of FIG. 6B, when receiving a deletion instruction to delete the selected object OB2, the CPU 22 advances the editing area along the direction of the arrow in the drawing until the display magnification of FIG. 6A is reached. 32 is expanded. In this way, when the selected object OB2 is deleted, the original display magnification is restored, so that the user can edit the object OB1 while the object OB1 is displayed in a large size according to the original display magnification. User convenience is improved.

また、CPU22は、S42において、通知画像から指が離れることなく、通知画像のタッチから所定時間が経過したと判断する場合(S42でNO)、即ち、通知画像のタッチがいわゆる長押しである場合に、S52に進む。S52では、CPU22は、編集領域32の表示倍率を下げることなく(即ち、選択オブジェクトを編集ウィンドウ30内に表示させることなく)、図6(C)に示されるように、別ウィンドウ70を第1の表示部12に表示させる。別ウィンドウ70は、選択オブジェクトのプロパティ情報(例えば、書式、サイズ等)を表示するためのボタンB1と、選択オブジェクトの削除指示を受け付けるためのボタンB2と、を含む。これにより、ユーザは、選択オブジェクトを編集ウィンドウ30内に表示させなくても、選択オブジェクトに関係する指示を端末装置10に与えることができる。特に、選択オブジェクトが現在表示されていないので、選択オブジェクトが印刷対象でない可能性が高い。ユーザは、ボタンB2を選択することによって、印刷対象でない不要なオブジェクトを容易に削除することができる。S52の処理が終了するとS40に戻る。 Further, in S42, when the CPU 22 determines in S42 that a predetermined time has elapsed from the touch of the notification image without releasing the finger from the notification image (NO in S42), that is, when the touch of the notification image is a so-called long press. Then proceed to S52. In S52, the CPU 22 first displays the separate window 70 as shown in FIG. 6C without reducing the display magnification of the editing area 32 (that is, without displaying the selected object in the editing window 30). Is displayed on the display unit 12. The separate window 70 includes a button B1 for displaying property information (for example, format, size, etc.) of the selected object, and a button B2 for receiving a deletion instruction of the selected object. As a result, the user can give an instruction related to the selected object to the terminal device 10 without displaying the selected object in the edit window 30. In particular, since the selected object is not currently displayed, it is highly possible that the selected object is not the print target. The user can easily delete unnecessary objects that are not to be printed by selecting the button B2. When the processing of S52 is completed, the process returns to S40.

また、CPU22は、S40における選択指示の監視と同時的に、S60において、ユーザから印刷指示を受け付けることを監視する。印刷指示は、印刷領域36内の各オブジェクト(例えば、オブジェクトOB1、OB3)を表わす印刷データをラベルプリンタ100に送信するための指示である。CPU22は、キーボード18に対する所定の印刷操作、又は、第2の表示部14内の図示省略の印刷アイコンの操作が実行される場合に、印刷指示を受け付けたと判断して(S60でYES)に、S62に進む。 Further, the CPU 22 monitors the reception of the print instruction from the user in S60 at the same time as the monitoring of the selection instruction in S40. The print instruction is an instruction for transmitting print data representing each object (for example, objects OB1 and OB3) in the print area 36 to the label printer 100. The CPU 22 determines that the print instruction has been accepted when the predetermined print operation on the keyboard 18 or the operation of the print icon (not shown) in the second display unit 14 is executed (YES in S60). Proceed to S62.

S62では、CPU22は、印刷領域36内の各オブジェクトを表わす印刷データを生成する。印刷データは、ラベルプリンタ100が解釈可能なデータ形式を有する。そして、CPU22は、通信I/F16を介して、印刷データをラベルプリンタ100に送信する。これにより、印刷データによって表わされる画像の印刷をラベルプリンタ100に実行させることができる。この結果、印刷済みのラベルがユーザに提供される。 In S62, the CPU 22 generates print data representing each object in the print area 36. The print data has a data format that can be interpreted by the label printer 100. Then, the CPU 22 transmits the print data to the label printer 100 via the communication I / F 16. As a result, the label printer 100 can be made to print the image represented by the print data. As a result, the printed label is provided to the user.

(実施例の効果)
本実施例によると、端末装置10は、オブジェクトOB2、OB4が編集ウィンドウ30内に表示されていないと判断する場合(図2のS10でYES)に、第2の表示部14に通知画像42、44を表示する(S24、図4(B))。これにより、ユーザがオブジェクトOB2、OB4の存在を認識することができるので、ユーザがオブジェクトOB2の存在を認識しない状態で編集作業を行なうことを抑制することができる。
(Effect of Examples)
According to this embodiment, when the terminal device 10 determines that the objects OB2 and OB4 are not displayed in the edit window 30 (YES in S10 of FIG. 2), the notification image 42 is displayed on the second display unit 14. 44 is displayed (S24, FIG. 4B). As a result, the user can recognize the existence of the objects OB2 and OB4, so that it is possible to suppress the user from performing the editing work without recognizing the existence of the object OB2.

また、本実施例によると、オブジェクトOB3が編集ウィンドウ30内に表示されていいないが印刷領域36内に存在する場合(図2のS10でYES、S14でYES)には、オブジェクトOB3に対応する通知画像は表示されない(S16〜S24がスキップ)。オブジェクトOB3は、印刷対象のオブジェクトとしてユーザによって印刷領域36内に記述されたものであるので、ユーザがオブジェクトOB3の存在を認識している可能性が高い。ユーザが認識している可能性が高いオブジェクトOB3に対応する通知画像を表示しないので、当該通知画像を表示するための図2のS16〜S24の処理を実行せずに済む。このため、端末装置10の処理負荷を低減することができる。 Further, according to this embodiment, when the object OB3 is not displayed in the edit window 30 but exists in the print area 36 (YES in S10 and YES in S14 in FIG. 2), the notification corresponding to the object OB3 is given. The image is not displayed (S16 to S24 are skipped). Since the object OB3 is described in the print area 36 by the user as an object to be printed, there is a high possibility that the user is aware of the existence of the object OB3. Since the notification image corresponding to the object OB3 that is likely to be recognized by the user is not displayed, it is not necessary to execute the processes S16 to S24 of FIG. 2 for displaying the notification image. Therefore, the processing load of the terminal device 10 can be reduced.

(対応関係)
編集ウィンドウ30が、「ウィンドウ」の一例である。各オブジェクトOB1〜OB4が、「特定オブジェクト」の一例である。オブジェクトOB2、OB4が、「2個以上の特定オブジェクト」の一例である。図6(A)の編集ウィンドウ30の状態、図6(B)の編集ウィンドウ30の状態が、それぞれ、「第1の状態」「第2の状態」の一例である。図5のS42でYESと判断されるタッチ、S42でNOと判断されるタッチが、それぞれ、「第1種の選択指示」、「第2種の選択指示」の一例である。図2の通知処理のトリガ、S10の処理、S24の処理が、それぞれ、「第1のウィンドウ表示制御部」、「第1の判断部」、「通知部」の一例である。
(Correspondence)
The edit window 30 is an example of a “window”. Each object OB1 to OB4 is an example of a "specific object". Objects OB2 and OB4 are examples of "two or more specific objects". The state of the edit window 30 of FIG. 6A and the state of the edit window 30 of FIG. 6B are examples of the “first state” and the “second state”, respectively. The touch determined to be YES in S42 and the touch determined to be NO in S42 of FIG. 5 are examples of "type 1 selection instruction" and "type 2 selection instruction", respectively. The trigger of the notification process of FIG. 2, the process of S10, and the process of S24 are examples of the “first window display control unit”, the “first determination unit”, and the “notification unit”, respectively.

(第2実施例)
本実施例では、図2のS20の後にS22の処理が実行される点と、S24の処理の内容と、が第1実施例とは異なる。具体的には、第1実施例では、2個以上の通知画像が同じ色で表示されるが、本実施例では、2個以上の通知画像が異なる色で表示される。
(Second Example)
In this embodiment, the point that the process of S22 is executed after S20 in FIG. 2 and the content of the process of S24 are different from those of the first embodiment. Specifically, in the first embodiment, two or more notification images are displayed in the same color, but in this embodiment, two or more notification images are displayed in different colors.

S22では、CPU22は、ラベル作成アプリ28に予め準備されている色テーブル60の中から対象色を選択する。色テーブル60は、複数種類の色(例えば、赤色、黄色、青色)のそれぞれに順番が付されたテーブルである。CPU22は、S14でNOと判断されたn個目(nは1以上の整数)の対象オブジェクトについて、色テーブル60の中からn番目に対応する色を対象色として選択する。そして、S24では、CPU22は、S22で選択された対象色を有する通知画像をS20で特定された配置位置に表示させる。 In S22, the CPU 22 selects a target color from the color table 60 prepared in advance in the label creation application 28. The color table 60 is a table in which a plurality of types of colors (for example, red, yellow, and blue) are ordered. The CPU 22 selects the nth corresponding color from the color table 60 as the target color for the nth target object (n is an integer of 1 or more) determined to be NO in S14. Then, in S24, the CPU 22 displays the notification image having the target color selected in S22 at the arrangement position specified in S20.

例えば、図7(A)に示されるように、CPU22は、S14でNOと判断された1個目の対象オブジェクトOB2について、色テーブル60(図2参照)の中から1番目に対応する赤色を対象色として選択し(S22)、赤色の通知画像42を第2の表示部14に表示させる(S24)。また、CPU22は、S14でNOと判断された2個目の対象オブジェクトOB4について、色テーブル60の中から2番目に対応する黄色を対象色として選択し(S22)、黄色の通知画像44を第2の表示部14に表示させる(S24)。この結果、異なる色を有する2個の通知画像42、44が表示される。 For example, as shown in FIG. 7A, the CPU 22 displays the red color corresponding to the first color in the color table 60 (see FIG. 2) for the first target object OB2 determined to be NO in S14. It is selected as the target color (S22), and the red notification image 42 is displayed on the second display unit 14 (S24). Further, the CPU 22 selects yellow, which corresponds to the second color table 60, as the target color for the second target object OB4 determined to be NO in S14 (S22), and selects the yellow notification image 44 as the target color (S22). It is displayed on the display unit 14 of 2 (S24). As a result, two notification images 42, 44 having different colors are displayed.

また、本実施例では、図5のS44の後にS46の処理が実行される点が第1実施例とは異なる。具体的には、本実施例では、タッチされた通知画像と同じ色の枠を有するオブジェクトが表示される。 Further, this embodiment is different from the first embodiment in that the process of S46 is executed after S44 of FIG. Specifically, in this embodiment, an object having a frame of the same color as the touched notification image is displayed.

S46では、CPU22は、S40でタッチされた通知画像に対応する選択オブジェクトを囲む枠を編集ウィンドウ30内に表示させる。当該枠は、S40でタッチされた通知画像に付された色と同じ色を有する。 In S46, the CPU 22 causes the edit window 30 to display a frame surrounding the selected object corresponding to the notification image touched in S40. The frame has the same color as the color attached to the notification image touched in S40.

例えば、図7(A)の状態において、第2の表示部14に表示されている通知画像42、44のうちの赤色の通知画像42がタッチされる場合(図5のS40でYES、S42でYES)には、CPU22は、編集領域32の表示倍率を図7(B)の表示倍率まで下げる(S44)。そして、CPU22は、赤色の通知画像42に対応する選択オブジェクトOB2を囲む赤色の枠F2を表示させる(S46)。一方、通知画像42、44のうちの黄色の通知画像44がタッチされる場合(S40でYES、S42でYES)には、編集領域32の表示倍率を図7(C)の表示倍率まで下げる(S44)。そして、CPU22は、黄色の通知画像44に対応する選択オブジェクトOB4を囲む黄色の枠F4を表示させる(S46)。 For example, in the state of FIG. 7A, when the red notification image 42 of the notification images 42 and 44 displayed on the second display unit 14 is touched (YES in S40 of FIG. 5 and S42 in S42). YES), the CPU 22 reduces the display magnification of the editing area 32 to the display magnification of FIG. 7B (S44). Then, the CPU 22 displays a red frame F2 surrounding the selection object OB2 corresponding to the red notification image 42 (S46). On the other hand, when the yellow notification image 44 of the notification images 42 and 44 is touched (YES in S40, YES in S42), the display magnification of the editing area 32 is reduced to the display magnification of FIG. 7C (C). S44). Then, the CPU 22 displays a yellow frame F4 surrounding the selection object OB4 corresponding to the yellow notification image 44 (S46).

例えば、図7(B)に示すように、編集領域32の表示倍率を下げることによって、選択オブジェクトOB2以外の他のオブジェクトOB4も編集ウィンドウ30内に表示され得る。本実施例によると、ユーザによってタッチされた通知画像42と同じ赤色を有する枠F2で選択オブジェクトOB2が囲まれるので、ユーザは、自身が選択した通知画像42に対応する選択オブジェクトOB2を容易に認識することができる。本実施例では、赤色、黄色、通知画像42、通知画像44が、それぞれ、「第1の色」、「第2の色」、「第1の通知画像」、「第2の通知画像」の一例である。 For example, as shown in FIG. 7B, by lowering the display magnification of the editing area 32, objects OB4 other than the selected object OB2 can also be displayed in the editing window 30. According to this embodiment, since the selection object OB2 is surrounded by the frame F2 having the same red color as the notification image 42 touched by the user, the user can easily recognize the selection object OB2 corresponding to the notification image 42 selected by the user. can do. In this embodiment, the red, yellow, notification image 42, and notification image 44 are the "first color", "second color", "first notification image", and "second notification image", respectively. This is an example.

(第3実施例)
本実施例では、図2のS16で第1実施例とは異なる第1の基準点BP1bを利用する。具体的には、第1の基準点BP1bは、表示領域34の中心ではなく、印刷領域36の中心である。
(Third Example)
In this embodiment, the first reference point BP1b different from that of the first embodiment is used in S16 of FIG. Specifically, the first reference point BP1b is not the center of the display area 34 but the center of the print area 36.

S16では、CPU22は、第1の基準点BP1bを中心として対象オブジェクトの位相を特定する。図8(B)に示されるように、第1の基準点BP1bは、印刷領域36の中心、即ち、印刷領域36の2本の対角線の交点である。そして、当該2本の対角線上の2本の半直線によって、第1の基準点BP1bを基準とした4個の領域が定義される。その他の処理は、第1実施例のS16と同様である。 In S16, the CPU 22 specifies the phase of the target object centered on the first reference point BP1b. As shown in FIG. 8B, the first reference point BP1b is the center of the print area 36, that is, the intersection of the two diagonal lines of the print area 36. Then, four regions with reference to the first reference point BP1b are defined by the two half lines on the two diagonal lines. Other processing is the same as S16 of the first embodiment.

例えば、図8(A)の状態において、オブジェクトOB2が対象オブジェクトとして特定される場合(S12)には、CPU22は、図8(B)に示されるように、オブジェクトOB2が第1の基準点BP1bの下側の領域(即ち対象領域)に存在することを特定する。CPU22は、第1の基準点BP1bとオブジェクトOB2のオブジェクト座標とを結ぶ対象直線TL2を算出し、対象直線TL2と、第1の基準点BP1bの下側の領域を定義する2本の半直線と、の間の角度α、βを算出し、角度α、βの比を対象オブジェクトの位相として特定する(S16)。 For example, in the state of FIG. 8A, when the object OB2 is specified as the target object (S12), the CPU 22 uses the object OB2 as the first reference point BP1b as shown in FIG. 8B. Identify that it is in the lower area (ie, the area of interest). The CPU 22 calculates a target straight line TL2 connecting the first reference point BP1b and the object coordinates of the object OB2, and defines the target straight line TL2 and the two half lines defining the area below the first reference point BP1b. , The angles α and β are calculated, and the ratio of the angles α and β is specified as the phase of the target object (S16).

S20及びS24は、第1実施例と同様である。図8(B)の例では、オブジェクトOB2が対象オブジェクトとして特定される場合(S12)には、CPU22は、第2の基準点BP2を基準とした4個の領域のうちの下側の領域を定義する2本の半直線を特定し、当該2本の半直線と直線L3との間の角度α’、β’の比(α’:β’)がS16で特定された位相(即ち比α:β)に一致するように、基準点BP2から下側に伸びる直線L3を算出する。そして、CPU22は、第2の表示部14の通知領域40の中から、直線L3が通過する位置を配置位置として特定し(S20)、当該配置位置に通知画像42を表示させる。オブジェクトOB4に対応する通知画像44も同様に表示される。 S20 and S24 are the same as those in the first embodiment. In the example of FIG. 8B, when the object OB2 is specified as the target object (S12), the CPU 22 sets the lower region of the four regions based on the second reference point BP2. The two half lines to be defined are specified, and the ratio (α': β') of the angles α'and β'between the two half lines and the straight line L3 is the phase specified in S16 (that is, the ratio α). : Β) is calculated so that the straight line L3 extending downward from the reference point BP2 is calculated. Then, the CPU 22 specifies a position through which the straight line L3 passes from the notification area 40 of the second display unit 14 as an arrangement position (S20), and displays the notification image 42 at the arrangement position. The notification image 44 corresponding to the object OB4 is also displayed in the same manner.

本実施例によると、通知画像42は、第2の表示部14の通知領域40のうち、印刷領域36の中心である第1の基準点BP1aを基準としたオブジェクトOB2の位相に対応する位置に表示される。これにより、ユーザは、オブジェクトOB2が編集ウィンドウ30内に表示されていない状態でも、印刷領域36の中心(即ち基準点BP1b)を基準としてオブジェクトOB2がどの向きに存在するのかを容易に知ることができる。 According to this embodiment, the notification image 42 is located at a position corresponding to the phase of the object OB2 with respect to the first reference point BP1a, which is the center of the print area 36, in the notification area 40 of the second display unit 14. Is displayed. As a result, the user can easily know in which direction the object OB2 exists with respect to the center of the print area 36 (that is, the reference point BP1b) even when the object OB2 is not displayed in the edit window 30. it can.

(第4実施例)
本実施例では、図2のS14でYESの場合にS70の処理が実行される点が第1実施例とは異なる。具体的には、オブジェクトが表示領域34外に存在しかつ印刷領域36内に存在する場合でも、通知画像が表示される。CPU22は、対象オブジェクトが印刷領域36内に存在すると判断する場合(S14でYES)に、S70において、印刷領域内オブジェクト通知処理を実行する(図9参照)。
(Fourth Example)
This embodiment is different from the first embodiment in that the process of S70 is executed when YES in S14 of FIG. Specifically, the notification image is displayed even when the object exists outside the display area 34 and inside the print area 36. When the CPU 22 determines that the target object exists in the print area 36 (YES in S14), the CPU 22 executes the object notification process in the print area in S70 (see FIG. 9).

図9を参照して、印刷領域内オブジェクト通知処理を説明する。S76及びS80は、図2のS16及びS20と同様である。例えば、オブジェクトOB3が対象オブジェクトとして特定される場合(S12)には、CPU22は、対象オブジェクトOB3が印刷領域36内に存在すると判断し(S14でYES)、対象オブジェクトOB3の位相を特定し(S76)、オブジェクトOB3の位相に対応する配置位置を特定する(S80)。 The object notification process in the print area will be described with reference to FIG. S76 and S80 are the same as S16 and S20 in FIG. For example, when the object OB3 is specified as the target object (S12), the CPU 22 determines that the target object OB3 exists in the print area 36 (YES in S14), and specifies the phase of the target object OB3 (S76). ), The arrangement position corresponding to the phase of the object OB3 is specified (S80).

S84では、CPU22は、所定の色(例えば赤色)とは異なる色(例えば黄色)の通知画像をS80で特定された配置位置に表示させる。図9の状態では、オブジェクトOB2、OB4が印刷領域36外に存在するので、オブジェクトOB2、OB4に対応する2個の通知画像42、44は、所定の色を有する(図2のS24)。一方、オブジェクトOB3が印刷領域36内に存在するので、オブジェクトOB3に対応する通知画像43は、所定の色とは異なる色を有する(図9のS84)。 In S84, the CPU 22 causes the notification image of a color (for example, yellow) different from the predetermined color (for example, red) to be displayed at the arrangement position specified in S80. In the state of FIG. 9, since the objects OB2 and OB4 exist outside the print area 36, the two notification images 42 and 44 corresponding to the objects OB2 and OB4 have predetermined colors (S24 of FIG. 2). On the other hand, since the object OB3 exists in the print area 36, the notification image 43 corresponding to the object OB3 has a color different from the predetermined color (S84 in FIG. 9).

本実施例によると、ユーザは、通知画像42〜44の色を見ることによって、通知画像に対応するオブジェクトが印刷領域36内に存在するのか否かを容易に知ることができる。本実施例では、所定の色、所定の色とは異なる色が、それぞれ、「第1の色」、「第2の色」の一例である。 According to this embodiment, the user can easily know whether or not the object corresponding to the notification image exists in the print area 36 by looking at the colors of the notification images 42 to 44. In this embodiment, a predetermined color and a color different from the predetermined color are examples of the "first color" and the "second color", respectively.

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。 Although specific examples of the present invention have been described in detail above, these are merely examples and do not limit the scope of claims. The techniques described in the claims include various modifications and modifications of the specific examples illustrated above. Modifications of the above embodiment are listed below.

(変形例1)CPU22は、図2のS16及びS20を実行せずに(即ち対象オブジェクトの位相及び配置位置を特定せずに)、編集ウィンドウ30内に表示されていないオブジェクトが存在することを示す通知画像(即ちアイコン画像)を第2の表示部14内の所定位置に表示させてもよい。本変形例では、「位相特定部」を省略可能である。 (Modification 1) The CPU 22 does not execute S16 and S20 of FIG. 2 (that is, does not specify the phase and the arrangement position of the target object), and indicates that there is an object that is not displayed in the edit window 30. The indicated notification image (that is, the icon image) may be displayed at a predetermined position in the second display unit 14. In this modification, the "phase specifying part" can be omitted.

(変形例2)CPU22は、通知画像を第2の表示部14に表示させずに第1の表示部12に表示させてもよい。例えば、CPU22は、S20において、編集ウィンドウ30の外枠の中から、S16で特定された位相に対応する配置位置を特定し、通知画像を特定済みの配置位置に表示させてもよい。また、例えば、CPU22は、別ウィンドウを開いて、編集ウィンドウ30内に表示されていないオブジェクトが存在することを示すメッセージを当該別ウィンドウに表示させてもよい。本変形例では、「第2の表示部」は、「第1の表示部」と同じである。 (Modification 2) The CPU 22 may display the notification image on the first display unit 12 without displaying it on the second display unit 14. For example, in S20, the CPU 22 may specify the arrangement position corresponding to the phase specified in S16 from the outer frame of the edit window 30, and display the notification image at the specified arrangement position. Further, for example, the CPU 22 may open a separate window and display a message indicating that there is an object that is not displayed in the edit window 30 in the separate window. In this modification, the "second display unit" is the same as the "first display unit".

(変形例3)上記の実施例では、図2の通知処理において、S10の後にS14が実行される。これに代えて、S14の後にS10の処理が実行されてもよい。即ち、CPU22は、まず、印刷領域36外にオブジェクトが存在しているのか否かを判断し、印刷領域36外にオブジェクトが存在しないと判断する場合にS14〜S24を実行せず、印刷領域36外にオブジェクトが存在しないと判断する場合に対象オブジェクトを特定する。次いで、CPU22は、対象オブジェクトが表示領域34外に存在するのか否かを判断し、対象オブジェクトが表示領域34外に存在すると判断する場合にS16〜S24を実行し、対象オブジェクトが表示領域34内に存在すると判断する場合にS16からS24をスキップしてS30に進んでもよい。一般的に言うと、「第1判断部」及び「第2判断部」の判断の順序は限定されない。 (Modification 3) In the above embodiment, S14 is executed after S10 in the notification process of FIG. Instead of this, the process of S10 may be executed after S14. That is, the CPU 22 first determines whether or not an object exists outside the print area 36, and if it determines that the object does not exist outside the print area 36, does not execute S14 to S24 and does not execute the print area 36. Specify the target object when it is determined that the object does not exist outside. Next, the CPU 22 determines whether or not the target object exists outside the display area 34, executes S16 to S24 when determining that the target object exists outside the display area 34, and the target object is inside the display area 34. If it is determined that the object exists in S16, S16 to S24 may be skipped and the process may proceed to S30. Generally speaking, the order of judgments of the "first judgment unit" and the "second judgment unit" is not limited.

(変形例4)上記の実施例では、ユーザが通知画像をタッチすることによって選択指示を端末装置10に与える(図5のS40)。これに代えて、ユーザがキーボードの所定のボタンを操作すること又はマウスをクリックすることによって、選択指示が端末装置10に与えられてもよい。一般的に言うと、「選択指示」は、通知画像のタッチに限られず、他の手法で端末装置によって受け付けられてもよい。 (Modification 4) In the above embodiment, the user touches the notification image to give a selection instruction to the terminal device 10 (S40 in FIG. 5). Alternatively, a selection instruction may be given to the terminal device 10 by the user operating a predetermined button on the keyboard or clicking the mouse. Generally speaking, the "selection instruction" is not limited to the touch of the notification image, and may be accepted by the terminal device by another method.

(変形例5)CPU22は、上記の変形例4において、マウスのクリックが左クリックである場合にS44以降の処理を実行し、マウスのクリックが右クリックである場合にS52の処理を実行してもよい。本変形例では、左クリック、右クリックが、それぞれ、「第1種の選択指示」、「第2種の選択指示」の一例である。 (Modification 5) In the above modification 4, the CPU 22 executes the process of S44 or later when the mouse click is a left click, and executes the process of S52 when the mouse click is a right click. May be good. In this modification, the left click and the right click are examples of the "first type selection instruction" and the "second type selection instruction", respectively.

(変形例6)上記の実施例では、CPU22は、図5のS44において、編集領域32の表示倍率を下げる。これに代えて、CPU22は、編集領域32の表示倍率を変えることなく、編集領域32のうち、選択オブジェクトを含む領域を編集ウィンドウ30内に移動させて、選択オブジェクトを編集ウィンドウ30内に表示させてもよい。本変形例では、移動後の状態が、「第2の状態」の一例である。 (Modification 6) In the above embodiment, the CPU 22 reduces the display magnification of the editing area 32 in S44 of FIG. Instead, the CPU 22 moves the area including the selected object in the editing area 32 into the editing window 30 without changing the display magnification of the editing area 32, and displays the selected object in the editing window 30. You may. In this modification, the state after movement is an example of the "second state".

(変形例7)図2のS12の後に、S14の処理が実行されずに、S16の処理が実行されてもよい。即ち、オブジェクトが編集ウィンドウ30内に表示されていない場合に、当該オブジェクトが印刷領域36内に存在するのか否かに関わらず、当該オブジェクトに対応する通知画像が表示されてもよい。本変形例では、「第2の判断部」を省略可能である。 (Modification 7) After S12 in FIG. 2, the process of S16 may be executed without executing the process of S14. That is, when the object is not displayed in the edit window 30, the notification image corresponding to the object may be displayed regardless of whether or not the object exists in the print area 36. In this modification, the "second determination unit" can be omitted.

(変形例8)図5のS40〜S52の処理は実行されなくてもよい。本変形例では、「状態変更部」を省略可能である。 (Modification 8) The processes S40 to S52 of FIG. 5 may not be executed. In this modification, the "state change part" can be omitted.

(変形例9)第2の表示部14は、タッチパネルでなくてもよく、いわゆる操作部として機能しないディスプレイ(例えば、液晶ディスプレイ、有機EL(ElectroLuminescenceの略)ディスプレイ)であってもよい。 (Modification 9) The second display unit 14 does not have to be a touch panel, and may be a display that does not function as a so-called operation unit (for example, a liquid crystal display or an organic EL (abbreviation of ElectroLuminescence) display).

(変形例10)図5のS48及びS50の処理は実行されなくてもよい。本変形例では、「倍率変更部」を省略可能である。 (Modification 10) The processes of S48 and S50 in FIG. 5 may not be executed. In this modification, the "magnification change part" can be omitted.

(変形例11)図5のS42及びS52の処理は実行されなくてもよい。本変形例では、「第2のウィンドウ表示制御部」を省略可能である。 (Modification 11) The processes of S42 and S52 in FIG. 5 may not be executed. In this modification, the "second window display control unit" can be omitted.

(変形例12)端末装置10は、ノート型のPCでなくてもよく、デスクトップ型のPC、携帯電話(例えばスマートフォン)、PDA、タブレット端末等でもよい。本変形例では、「端末装置」は、「第1の筐体」と「第2の筐体」を備えなくてもよく、「第2の表示部」は、「第1の表示部」と同じでもよい。 (Modification 12) The terminal device 10 does not have to be a notebook PC, but may be a desktop PC, a mobile phone (for example, a smartphone), a PDA, a tablet terminal, or the like. In this modification, the "terminal device" does not have to include the "first housing" and the "second housing", and the "second display unit" is referred to as the "first display unit". It may be the same.

(変形例13)通信システム2は、ラベルプリンタ100の代わりに、ラベル以外の印刷媒体(例えばA4サイズの用紙)に印刷可能なプリンタを備えていてもよい。この場合、端末装置10は、ラベル作成アプリ28に代えて、ドキュメント(プレゼンテーション、図面、表、文章等)を作成するためのアプリケーションをインストールしていてもよい。そして、図2、図5、図9の処理は、当該アプリケーションに従って実行され、印刷領域36は、印刷対象のドキュメントを表示するための領域であってもよい。 (Modification 13) The communication system 2 may include a printer capable of printing on a printing medium other than the label (for example, A4 size paper) instead of the label printer 100. In this case, the terminal device 10 may have an application for creating a document (presentation, drawing, table, text, etc.) installed instead of the label creation application 28. Then, the processes of FIGS. 2, 5 and 9 are executed according to the application, and the print area 36 may be an area for displaying a document to be printed.

また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。 In addition, the technical elements described in the present specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the techniques illustrated in this specification or drawings achieve a plurality of objectives at the same time, and achieving one of the objectives itself has technical usefulness.

2:通信システム、4:第1の筐体、6:第2の筐体、10:端末装置、12:第1の表示部、14:第2の表示部、16:通信I/F、18:キーボード、20:制御部、22:CPU、24:メモリ、26:OSプログラム、28:ラベル作成アプリ、30:編集ウィンドウ、32:編集領域、34:表示領域、36:印刷領域、40:通知領域、42〜44:通知画像、50:アイコン、60:色テーブル、70:別ウィンドウ、ラベルプリンタ100、OB1〜OB4:オブジェクト、BP1a、BP1b:第1の基準点、BP2:第2の基準点、直線:L1〜L3、半直線:HL1〜HL4、枠:F1、F4、ボタン:B1、B2 2: Communication system, 4: First housing, 6: Second housing, 10: Terminal device, 12: First display unit, 14: Second display unit, 16: Communication I / F, 18 : Keyboard, 20: Control unit, 22: CPU, 24: Memory, 26: OS program, 28: Label creation application, 30: Edit window, 32: Edit area, 34: Display area, 36: Print area, 40: Notification Area, 42 to 44: Notification image, 50: Icon, 60: Color table, 70: Separate window, Label printer 100, OB1 to OB4: Object, BP1a, BP1b: First reference point, BP2: Second reference point , Straight line: L1 to L3, Half straight line: HL1 to HL4, Frame: F1, F4, Button: B1, B2

Claims (14)

端末装置のためのコンピュータプログラムであって、
前記端末装置のコンピュータを、以下の各部、即ち、
オブジェクトを編集するための編集領域のうちの少なくとも一部を含むウィンドウを前記端末装置の第1の表示部に表示させる第1のウィンドウ表示制御部と、
前記編集領域内の特定オブジェクトが前記ウィンドウ内に表示されているのか否かを判断する第1の判断部と、
前記特定オブジェクトが前記ウィンドウ内に表示されていないと判断される場合に、前記特定オブジェクトが前記ウィンドウ内に表示されていない状態で、前記特定オブジェクトが前記ウィンドウ内に表示されていないことを通知するための通知画像を前記端末装置の第2の表示部に表示させる通知部と、
として機能させる、コンピュータプログラム。
A computer program for terminal equipment
The computer of the terminal device is referred to as the following parts, that is,
A first window display control unit that displays a window including at least a part of an editing area for editing an object on the first display unit of the terminal device, and a first window display control unit.
A first determination unit for determining whether or not a specific object in the editing area is displayed in the window, and a first determination unit.
When it is determined that the specific object is not displayed in the window, the specific object is not displayed in the window, and the specific object is notified that the specific object is not displayed in the window. A notification unit for displaying a notification image for the purpose on the second display unit of the terminal device,
A computer program that acts as.
前記コンピュータプログラムは、前記コンピュータを、さらに、
印刷指示を受け付ける場合に、前記編集領域に含まれる印刷領域内のオブジェクトを表わす印刷データをプリンタに送信する印刷データ送信部と、
前記編集領域内の前記特定オブジェクトが前記印刷領域内に存在するのか否かを判断する第2の判断部と、として機能させ、
前記通知部は、前記特定オブジェクトが前記ウィンドウ内に表示されていないと判断され、かつ、前記特定オブジェクトが前記印刷領域内に存在しないと判断される場合に、前記通知画像を前記第2の表示部に表示させ、
前記特定オブジェクトが前記印刷領域内に存在すると判断される場合に、前記通知画像は表示されない、請求項1に記載のコンピュータプログラム。
The computer program further adds to the computer.
A print data transmission unit that transmits print data representing an object in the print area included in the edit area to the printer when receiving a print instruction.
It functions as a second determination unit for determining whether or not the specific object in the editing area exists in the print area.
When it is determined that the specific object is not displayed in the window and the specific object does not exist in the print area, the notification unit displays the notification image in the second display. Display it on the department
The computer program according to claim 1, wherein the notification image is not displayed when it is determined that the specific object exists in the print area.
前記コンピュータプログラムは、前記コンピュータを、さらに、
印刷指示を受け付ける場合に、前記編集領域に含まれる印刷領域内のオブジェクトを表わす印刷データをプリンタに送信する印刷データ送信部と、
前記編集領域内の前記特定オブジェクトが前記印刷領域内に存在するのか否かを判断する第2の判断部と、として機能させ、
前記通知部は、
前記特定オブジェクトが前記ウィンドウ内に表示されていないと判断され、かつ、前記特定オブジェクトが前記印刷領域内に存在しないと判断される場合に、第1の色を有する前記通知画像を前記第2の表示部に表示させ、
前記特定オブジェクトが前記ウィンドウ内に表示されていないと判断され、かつ、前記特定オブジェクトが前記印刷領域内に存在すると判断される場合に、前記第1の色とは異なる第2の色を有する前記通知画像を前記第2の表示部に表示させる、請求項1に記載のコンピュータプログラム。
The computer program further adds to the computer.
A print data transmission unit that transmits print data representing an object in the print area included in the edit area to the printer when receiving a print instruction.
It functions as a second determination unit for determining whether or not the specific object in the editing area exists in the printing area.
The notification unit
When it is determined that the specific object is not displayed in the window and the specific object does not exist in the print area, the notification image having the first color is used as the second notification image. Display on the display
When it is determined that the specific object is not displayed in the window and the specific object is determined to exist in the print area, the specific object has a second color different from the first color. The computer program according to claim 1, wherein the notification image is displayed on the second display unit.
前記通知部は、2個以上の前記特定オブジェクトが前記ウィンドウ内に表示されていないと判断される場合に、前記2個以上の特定オブジェクトのいずれも前記ウィンドウ内に表示されていない状態で、前記2個以上の特定オブジェクトに対応する2個以上の前記通知画像を前記第2の表示部に表示させる、請求項1から3のいずれか一項に記載のコンピュータプログラム。 When it is determined that the two or more specific objects are not displayed in the window, the notification unit is in a state where none of the two or more specific objects is displayed in the window. The computer program according to any one of claims 1 to 3, wherein two or more of the notification images corresponding to two or more specific objects are displayed on the second display unit. 前記2個以上の通知画像は、第1の色を有する第1の通知画像と、前記第1の色とは異なる第2の色を有する第2の通知画像と、を含み、
前記コンピュータプログラムは、前記コンピュータを、さらに、
前記第1の通知画像を選択するための第1の選択指示を受け付ける場合に、前記2個以上の特定オブジェクトのいずれも前記ウィンドウ内に表示されていない状態から、前記2個以上の特定オブジェクトのうち、前記第1の通知画像に対応する第1の特定オブジェクトと、前記第1の特定オブジェクトを囲む前記第1の色を有する第1の枠と、が前記ウィンドウ内に表示されている状態に変更する第1の状態変更部と、
前記第2の通知画像を選択するための第2の選択指示を受け付ける場合に、前記2個以上の特定オブジェクトのいずれも前記ウィンドウ内に表示されていない状態から、前記2個以上の特定オブジェクトのうち、前記第2の通知画像に対応する第2の特定オブジェクトと、前記第2の特定オブジェクトを囲む前記第2の色を有する第2の枠と、が前記ウィンドウ内に表示されている状態に変更する第2の状態変更部と、として機能させる、請求項4に記載のコンピュータプログラム。
The two or more notification images include a first notification image having a first color and a second notification image having a second color different from the first color.
The computer program further adds to the computer.
When receiving the first selection instruction for selecting the first notification image, from the state where none of the two or more specific objects is displayed in the window, the two or more specific objects Among them, the first specific object corresponding to the first notification image and the first frame having the first color surrounding the first specific object are displayed in the window. The first state change part to be changed and
When receiving the second selection instruction for selecting the second notification image, from the state where none of the two or more specific objects is displayed in the window, the two or more specific objects Among them, the second specific object corresponding to the second notification image and the second frame having the second color surrounding the second specific object are displayed in the window. The computer program according to claim 4, which functions as a second state change unit to be changed.
前記コンピュータプログラムは、前記コンピュータを、さらに、
前記通知画像を選択するための選択指示を受け付ける場合に、前記特定オブジェクトが前記ウィンドウ内に表示されていない第1の状態から、前記特定オブジェクトが前記ウィンドウ内に表示されている第2の状態に変更する状態変更部として機能させる、請求項1から5のいずれか一項に記載のコンピュータプログラム。
The computer program further adds to the computer.
When receiving a selection instruction for selecting the notification image, the specific object changes from the first state in which the specific object is not displayed in the window to the second state in which the specific object is displayed in the window. The computer program according to any one of claims 1 to 5, which functions as a state changing unit to be changed.
前記第2の表示部は、ユーザの指示を受け付けるための操作部として機能し、
前記選択指示は、前記ユーザが前記第2の表示部に表示されている前記通知画像をタッチすることによって受け付けられる、請求項6に記載のコンピュータプログラム。
The second display unit functions as an operation unit for receiving a user's instruction, and serves as an operation unit.
The computer program according to claim 6, wherein the selection instruction is accepted by the user touching the notification image displayed on the second display unit.
前記状態変更部は、前記編集領域の表示倍率を下げることによって、前記第1の状態から前記第2の状態に変更する、請求項6又は7に記載のコンピュータプログラム。 The computer program according to claim 6 or 7, wherein the state changing unit changes from the first state to the second state by lowering the display magnification of the editing area. 前記コンピュータプログラムは、前記コンピュータを、さらに、
前記第2の状態において、前記ウィンドウ内に表示されている前記特定オブジェクトを削除するための削除指示を受け付ける場合に、前記編集領域の表示倍率を元の倍率に戻す倍率変更部として機能させる、請求項8に記載のコンピュータプログラム。
The computer program further adds to the computer.
In the second state, when receiving a deletion instruction for deleting the specific object displayed in the window, a claim for functioning as a magnification changing unit for returning the display magnification of the editing area to the original magnification. Item 8. The computer program according to item 8.
前記状態変更部は、前記選択指示として第1種の選択指示を受け付ける場合に、前記第1の状態から前記第2の状態に変更し、
前記コンピュータプログラムは、前記コンピュータを、さらに、
前記選択指示として前記第1種の選択指示とは異なる第2種の選択指示を受け付ける場合に、前記第1の状態から前記第2の状態に変更することなく、前記特定オブジェクトに関係する指示を受け付けるための別ウィンドウを前記第1の表示部に表示させる第2のウィンドウ表示制御部として機能させる、請求項6から9のいずれか一項に記載のコンピュータプログラム。
When receiving the first type of selection instruction as the selection instruction, the state changing unit changes from the first state to the second state.
The computer program further adds to the computer.
When a second type of selection instruction different from the first type of selection instruction is accepted as the selection instruction, the instruction related to the specific object is given without changing from the first state to the second state. The computer program according to any one of claims 6 to 9, which functions as a second window display control unit for displaying a separate window for receiving on the first display unit.
前記第2の表示部は、前記第1の表示部とは異なる、請求項1から10のいずれか一項に記載のコンピュータプログラム。 The computer program according to any one of claims 1 to 10, wherein the second display unit is different from the first display unit. 前記端末装置は、
前記第1の表示部を備える第1の筐体と、
前記第2の表示部と、キーボードと、を備える第2の筐体と、
を備え、
前記第1の筐体は、前記第2の筐体の端部に接続されており、
前記第2の表示部は、前記端部と前記キーボードとの間に配置されている、請求項11に記載のコンピュータプログラム。
The terminal device is
A first housing provided with the first display unit and
A second housing including the second display unit and a keyboard,
With
The first housing is connected to the end of the second housing.
The computer program according to claim 11, wherein the second display unit is arranged between the end portion and the keyboard.
前記コンピュータプログラムは、前記コンピュータを、さらに、
前記特定オブジェクトが前記ウィンドウ内に表示されていないと判断される場合に、前記編集領域のうち、前記ウィンドウ内に表示されている領域である表示領域の中心を基準として、前記特定オブジェクトの位相を特定する位相特定部として機能させ、
前記通知部は、前記第2の表示部の内側周縁部のうち、特定済みの前記位相に対応する位置に前記通知画像を表示させる、請求項11又は12に記載のコンピュータプログラム。
The computer program further adds to the computer.
When it is determined that the specific object is not displayed in the window, the phase of the specific object is set with reference to the center of the display area which is the area displayed in the window in the editing area. It functions as a phase identification part to specify,
The computer program according to claim 11 or 12, wherein the notification unit displays the notification image at a position corresponding to the identified phase in the inner peripheral edge portion of the second display unit.
前記コンピュータプログラムは、前記コンピュータを、さらに、
印刷指示を受け付ける場合に、前記編集領域に含まれる印刷領域内のオブジェクトを表わす印刷データをプリンタに送信する印刷データ送信部と、
前記特定オブジェクトが前記ウィンドウ内に表示されていないと判断される場合に、前記印刷領域の中心を基準として、前記特定オブジェクトの位相を特定する位相特定部と、
前記通知部は、前記第2の表示部の内側周縁部のうち、特定済みの前記位相に対応する位置に前記通知画像を表示させる、請求項11又は12に記載のコンピュータプログラム。
The computer program further adds to the computer.
A print data transmission unit that transmits print data representing an object in the print area included in the edit area to the printer when receiving a print instruction.
When it is determined that the specific object is not displayed in the window, a phase specifying unit that specifies the phase of the specific object with reference to the center of the print area, and a phase specifying unit.
The computer program according to claim 11 or 12, wherein the notification unit displays the notification image at a position corresponding to the identified phase in the inner peripheral edge portion of the second display unit.
JP2017138468A 2017-07-14 2017-07-14 Computer program for terminal equipment Active JP6885243B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017138468A JP6885243B2 (en) 2017-07-14 2017-07-14 Computer program for terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017138468A JP6885243B2 (en) 2017-07-14 2017-07-14 Computer program for terminal equipment

Publications (2)

Publication Number Publication Date
JP2019020998A JP2019020998A (en) 2019-02-07
JP6885243B2 true JP6885243B2 (en) 2021-06-09

Family

ID=65353537

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017138468A Active JP6885243B2 (en) 2017-07-14 2017-07-14 Computer program for terminal equipment

Country Status (1)

Country Link
JP (1) JP6885243B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230319177A1 (en) * 2020-08-19 2023-10-05 Google Llc Visual status notification on edge of display

Also Published As

Publication number Publication date
JP2019020998A (en) 2019-02-07

Similar Documents

Publication Publication Date Title
JP6569415B2 (en) Display input device, image forming apparatus, electronic apparatus, display control method, and program
JP5189152B2 (en) Improved mobile communication terminal and method
JP5882779B2 (en) Image processing apparatus, image processing apparatus control method, and program
KR20120102262A (en) The method for selecting a desired contents from text in portable terminal and device thererof
JP4821529B2 (en) Image display apparatus and program
US20110228331A1 (en) Print Control Apparatus, Program and Method of Displaying Print Setting Screen
JP4303311B2 (en) Operation support computer program, operation support computer system
US20140145987A1 (en) Image processor displaying plural function keys in scrollable state
JP6053291B2 (en) Image processing apparatus, image processing apparatus control method, and program
JP5981175B2 (en) Drawing display device and drawing display program
US20150007106A1 (en) Information processing apparatus
JP6885243B2 (en) Computer program for terminal equipment
JP2022179604A (en) Information processing device, information processing method, and program
JP2020123234A (en) Information processor, control method, and program thereof
US20140075376A1 (en) Display control apparatus, storage medium, display control system, and display method
JP2020013219A (en) Display device and program
JP2007048033A (en) Web browsing apparatus and web information display method
KR101601691B1 (en) Method and apparatus for using a layer on an electronic document
JP2007179168A (en) Information processing apparatus and method, and program
JP6992846B2 (en) Display program and display device
JP6372116B2 (en) Display processing apparatus, screen display method, and computer program
JP2014146233A (en) Material sharing program, terminal device, material sharing method
US20220137899A1 (en) Non-transitory computer-readable storage medium storing program, display method, and print controller
JP7349851B2 (en) Printing control device, method and program
JP7265125B2 (en) Information processing equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200701

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210326

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210426

R150 Certificate of patent or registration of utility model

Ref document number: 6885243

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150