Editing method, program, information processing apparatus, and printing apparatus
The editing method enhances object selection on printing devices by allowing dynamic switching of selection conditions, addressing the inefficiencies of fixed criteria and reducing user burden in selecting objects on tape-shaped media.
Patent Information
- Application Number
- JP2024078370
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-01-21
AI Technical Summary
Conventional editing methods for printing devices on tape-shaped media face challenges in selecting desired objects efficiently as selection conditions are fixed, leading to increased user burden with increasing object counts.
An editing method that allows users to dynamically switch between selection conditions for objects on a display screen, enabling selection of objects based on their entire or partial inclusion within a specified range, or by type, reducing the need for precise mouse operations.
This approach reduces user burden by allowing flexible selection criteria, making it easier to select desired objects without extensive mouse operations, especially when dealing with numerous objects on the screen.
Smart Images

Figure 2024116130000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an editing method, a program, an information processing device, and a printing device. [Background technology]
[0002] A user of a printing device that prints on a tape-like print medium can use the printing device itself or an information processing device that runs a dedicated application to edit the layout of objects such as characters and figures to be printed on the print medium. While editing the layout of objects, the user can select a desired object from among multiple objects arranged on the editing screen by performing a predetermined selection operation (for example, see Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2016-119015 A Summary of the Invention [Problem to be solved by the invention]
[0004] When a selection operation such as mouse drag is performed to select an object arranged in the editing screen, the printing device itself or the information processing device changes the display of the object that satisfies the selection condition associated with the selection operation to indicate that it is in a selected state. However, in conventional editing processes, the selection condition is fixed. For example, the selection condition associated with the selection operation that specifies a range in the editing screen is generally set to either an object that is entirely contained within the specified range as the selected object, or an object that is at least partially contained within the specified range as the selected object. For this reason, when the number of objects arranged in the editing screen increases, it becomes difficult to select only the desired object by a predetermined selection operation, and the burden on the user increases.
[0005] An object according to one aspect of the present invention is to provide a technique capable of reducing the burden on a user in editing the layout of objects to be printed on a print medium. [Means for solving the problem]
[0006] An editing method according to one aspect of the present invention is characterized in that a computer executes a process in which an editing screen on a display unit is displayed on a display unit on which the layout of objects can be edited, and a selection condition for placing each of the objects on the editing screen in either a selected state or a non-selected state based on an operation by a user can be switched. Effect of the Invention
[0007] According to the above aspect, it is possible to reduce the burden on the user in editing the layout of objects to be printed on the print medium. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 illustrates an example of a printing device that can be used in combination with an information processing device. [Diagram 2] FIG. 2 is a diagram for explaining an internal mechanism of the printing apparatus. [Diagram 3] FIG. 2 is a block diagram showing an example of the configuration of an information processing device and a printing device. [Figure 4] FIG. 13 is a diagram showing an example of a display screen of an application for editing the layout of objects. [Diagram 5] FIG. 13 is a diagram showing a first example of a plurality of objects arranged on an editing screen. [Figure 6] FIG. 13 is a diagram showing an example of how objects are displayed when the selection condition is set to all and a range is specified. [Figure 7] 13A and 13B are diagrams showing an example of how objects are displayed when a range is specified using only a portion of the selection conditions. [Figure 8]11 is a flowchart illustrating a first example of a process related to object selection performed by an information processing device. [Figure 9] 11A to 11C are diagrams illustrating examples of selected objects and non-selected objects in a first example of processing related to object selection. [Figure 10] FIG. 13 is a diagram showing a second example of selection conditions and a second example of a plurality of objects arranged on the editing screen. [Figure 11] 13A and 13B are diagrams showing an example of how objects are displayed when a range is specified with the same type of selection condition. [Figure 12] 13A and 13B are diagrams showing examples of how objects are displayed when a range is designated using other types of selection conditions. [Figure 13] 13 is a flowchart illustrating a second example of a process related to object selection performed by the information processing device. [Figure 14] 13A and 13B are diagrams showing a third example of selection conditions and an example of how objects are displayed when a range is specified. [Figure 15] 13A and 13B are diagrams illustrating another example of a method for displaying objects when an operation for specifying a range is being performed. [Figure 16] 11 is a flowchart illustrating an example of a process related to display of an object that is performed by the information processing device while an operation for specifying a range is being performed. [Figure 17] FIG. 13 is a diagram showing a fourth example of selection conditions and a first example of a plurality of objects arranged on an editing screen. [Figure 18] FIG. 13 is a diagram showing an example of displaying objects when a selection condition is targeted. [Figure 19] FIG. 13 is a diagram showing an example of how objects are displayed when the selection condition is set to non-target. [Figure 20] FIG. 13 is a diagram showing an example of how objects are displayed when selection conditions are inverted. [Figure 21] 13 is a flowchart illustrating a third example of a process related to object selection performed by an information processing device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0010] Fig. 1 is a diagram showing an example of a printing device that can be used in combination with an information processing device. Fig. 2 is a diagram for explaining the internal mechanism of the printing device. Fig. 2 shows a schematic diagram of the mechanism along the transport path of the print medium in the thermal printing device.
[0011] 1 can print on a tape-shaped print medium 21 and cut the print medium 21 based on print data transmitted from an information processing device 1. The information processing device 1 is a device capable of executing a dedicated application 2 corresponding to the printing device 10, and can be, for example, a general-purpose computer such as a personal computer or a smartphone. The information processing device 1 and the printing device 10 can communicate with each other wirelessly according to a known short-range wireless communication standard, or by wired communication via a transmission cable.
[0012] The printing device 10 illustrated in FIG. 1 includes a device housing formed of a first member 11 and a second member 12, and includes a mounting section for mounting a cassette (medium adapter) for supplying the print medium 21, a transport mechanism for transporting the print medium 21, a printing mechanism for printing on the print medium 21, and a cutting mechanism for cutting the print medium 21. The device housing also includes various electronic components such as a control circuit for controlling the operation of the transport mechanism, the printing mechanism, and the cutting mechanism. The second member (cover member) 12 is detachable from the first member 11, and by removing the second member 12 from the first member 11, a cassette (medium adapter) containing a roll 20 on which the print medium 21 is wound can be mounted in the device housing. As illustrated in FIG. 2, the print medium 21 unwound from the roll 20 is transported along a transport path passing between the thermal head 15 and the platen roller 16. The thermal head 15 is a part of the printing mechanism and applies thermal energy to the print medium 21. The platen roller 16 is part of the transport mechanism and transports the print medium 21 along the transport path. The thermal head 15 and the platen roller 16 are configured to at least hold the print medium 21 when transporting the print medium 21. The platen roller 16 can, for example, rotate in a direction to transport the print medium 21 downstream along the transport path (forward rotation) and rotate in a direction to transport the print medium 21 upstream along the transport path (reverse rotation). The print medium 21 transported downstream along the transport path is discharged to the outside of the printing device 10 from a discharge port 1101 provided in the first member 11.
[0013] When printing on the print medium 21 based on print data, the printing device 10 first transports the print medium 21 so that the starting end (the leading end on the downstream side of the transport path) of the print medium 21 is at the cue position illustrated in FIG. 2. The printing device 10 then rotates the platen roller 16 forward to transport the print medium 21 while printing on the print medium 21 with the thermal head 15. The printing device 10 can also cut the print medium 21 with the first cutter 1701 or the second cutter 1702 at a predetermined timing, such as after printing on the print medium 21 is completed. The first cutter 1701 is a cutter that performs a cut called a full cut on the print medium 21, and cuts the entire print medium 21 at the full cut position to divide it into two. The second cutter 1702 is a cutter that performs a cut called a half cut on the print medium 21. The second cutter 1702 cuts the print medium 21 at the half cut position. When the print medium 21 is a multi-layered adhesive tape type medium having an adhesive layer and a release paper, the second cutter 1702 cuts the other layers except for the release paper at the half-cut line of the print medium 21 that overlaps with the half-cut position. The second cutter 1702 may cut the half-cut line of the print medium 21 that overlaps with the half-cut position in a perforated pattern in which cut and uncut sections are repeated.
[0014] As described above, the printing device 10 illustrated in FIG. 1 can print and cut on the print medium 21 based on the print data transmitted from the information processing device 1. For this reason, the printing device 10 illustrated in FIG. 1 does not include a keyboard that can be used to create print data. Operation buttons 13 and indicator lamps 14 related to the operation of the printing device 10 are arranged on the outer surface of the first member 11 of the printing device 10 illustrated in FIG. 1. The operation buttons 13 include, for example, a button for turning the power on and off, a button for switching the type (standard) of wireless communication, and a button for reprinting. The indicator lamps 14 include, for example, a lamp that indicates the on / off state of the power, a lamp that indicates the type of valid wireless communication, and a lamp that notifies of an error.
[0015] 3 is a block diagram showing an example of the configuration of an information processing device and a printing device 10. Each block in the information processing device 1 and the printing device 10 in FIG. 3 illustrates an example of a functional configuration, and is associated with a hardware configuration as described below.
[0016] The information processing device 1 includes a control unit 30, a storage unit 31, an input unit 32, a display unit 33, and a communication unit 34. The control unit 30 controls various operations that can be performed by the information processing device 1. The control unit 30 is a processor such as a CPU (Central Processing Unit), and controls the operation of the information processing device 1 by executing an OS (Operation System) program and various application programs stored in the storage unit 31. The application programs executed by the processor include application programs that link with the printing device 10.
[0017] The storage unit 31 stores various information and the like that can be used for the control unit 30 to control the operation of the information processing device 1. The storage unit 31 can store, for example, a program executed by a processor as the control unit 30, data referenced during execution of the program, data generated during execution of the program, and the like. The storage unit 31 includes a read only memory (ROM) and a random access memory (RAM). The storage unit 31 may include a built-in auxiliary storage device such as a hard disk drive (HDD) or a solid state drive (SSD). The storage unit 31 may include a portable recording medium such as a memory card or a universal serial bus (USB) memory.
[0018] The input unit 32 accepts operations for inputting various information to the information processing device 1. The input unit 32 includes, for example, a keyboard and a mouse. The display unit 33 displays various information related to the operation of the information processing device 1. The display unit 33 includes, for example, a liquid crystal display. If the information processing device 1 is a tablet computer or a smartphone, the combination of the input unit 32 and the display unit 33 may include a touch panel display in which a digitizer (position detector) is superimposed on the display area of the liquid crystal display.
[0019] The communication unit 34 communicates with the printing device 10 at least in accordance with a communication standard applied to the printing device 10. The communication unit 34 includes a communication interface capable of wireless communication with an external device according to known short-range wireless communication standards such as Wi-Fi (registered trademark) and BLE (Bluetooth Low Energy, registered trademark). The communication unit 34 may include a terminal to which a transmission cable having a general-purpose connector such as a USB cable can be connected.
[0020] The information processing device 1 is not limited to the configuration described above with reference to Fig. 3, and may include other configurations. Moreover, one block in the information processing device 1 illustrated in Fig. 3 is not limited to a single piece of hardware, and may be a combination of multiple pieces of hardware. For example, the control unit 30 may include a first processor such as a CPU that processes a program, and a second processor such as a DSP (Digital Signal Processor) or a GPU (Graphics Processing Unit) that controls the display of the display unit 33. Furthermore, multiple blocks in the information processing device 1 illustrated in Fig. 3 may be realized by a single piece of hardware, or hardware corresponding to one block may include hardware elements corresponding to the functions of the other blocks.
[0021] The printing device 10 includes a control unit 40, a storage unit 41, an input unit 42, a display unit 43, a communication unit 44, a detection unit 45, a transport unit 46, a printing unit 47, and a cutting unit 48. The control unit 40 controls various operations that can be performed by the printing device 10. The control unit 40 is a processor such as a CPU, and controls the operation of the printing device 10 by executing an OS program stored in the storage unit 41 and various programs related to printing on the print medium 21. The various programs related to printing on the print medium 21 include, for example, a program related to communication with the information processing device 1, and a program that controls the operation of the transport unit 46, the printing unit 47, and the cutting unit 48 based on print data.
[0022] The storage unit 41 stores various types of information that can be used by the control unit 40 to control the operation of the printing device 10. The storage unit 41 can store, for example, a program executed by a processor serving as the control unit 40, and print data referenced during execution of the program. The storage unit 41 includes a ROM and a RAM. The storage unit 41 may also include a portable recording medium such as a memory card or a USB memory.
[0023] The input unit 42 accepts operations for inputting various information to the printing device 10. The display unit 43 displays various information related to the operation of the information processing device 1. In the printing device 10 illustrated in FIG. 1, the operation buttons 13 correspond to the input unit 42, and the indicator lamp 14 corresponds to the display unit 43. The input unit 42 of the printing device 10 may include, for example, a keyboard that can be used to input characters to be printed on the printing medium 21. The display unit 43 of the printing device 10 may include, for example, a display device capable of displaying character information, such as a liquid crystal display.
[0024] The communication unit 44 communicates with an external device such as the information processing device 1 according to a predetermined communication standard. The communication unit 44 includes a communication interface capable of wireless communication with an external device according to a known short-range wireless communication standard such as Wi-Fi or BLE. The communication unit 44 may include a terminal to which a transmission cable having a general-purpose connector such as a USB cable can be connected.
[0025] The detection unit 45 detects various information related to the print medium 21. The detection unit 45 includes, for example, a first sensor that detects whether or not a cartridge (medium adapter) containing the roll 20 is attached and the width of the roll 20 (print medium 21), and a second sensor that detects the presence or absence of the print medium 21 on the transport path.
[0026] The transport unit 46 transports the print medium 21 according to a control signal from the control unit 40. The transport unit 46 corresponds to the transport mechanism described above, and includes the platen roller 16, a motor for rotating the platen roller 16, and an encoder for acquiring information indicating the transport amount of the print medium 21. The printing unit 47 performs printing on the print medium 21 according to a control signal from the control unit 40. The printing unit 47 corresponds to the printing mechanism described above, and includes the thermal head 15, a control circuit for controlling the current applied to the heating element of the thermal head 15, and a thermistor for detecting the temperature of the thermal head 15. The cutting unit 48 cuts the print medium 21 according to a control signal from the control unit 40. The cutting unit 48 corresponds to the cutting mechanism described above, and includes a first cutter 1701, a second cutter 1702, and a motor for operating each cutter.
[0027] The printing device 10 may include other configurations, not limited to the configuration described above with reference to FIG. 3. For example, the detection unit 45 of the printing device 10 may include a sensor that detects the color of the print medium 21, or a sensor for moving the leading end of the print medium 21 to the cueing position described above with reference to FIG. 2. In addition, the printing device 10 may omit some of the configurations described above with reference to FIG. 3. For example, the cutting unit 48 of the printing device 10 may omit the second cutter 1702 that half-cuts the print medium 21. In addition, the cutter of the cutting unit 48 may be configured to cut the print medium 21 by operating due to an external force applied when a user presses a predetermined button.
[0028] As described above, the information processing device 1 can execute an application program for creating print data. When the application program is started in the information processing device 1, an editing screen (display screen) on which the layout of objects such as characters and figures to be printed on the print medium 21 can be edited is displayed on the display unit 33.
[0029] Fig. 4 is a diagram showing an example of an editing screen on which the layout of objects can be edited. The editing screen 200 shown in Fig. 4 is displayed in the entirety or in a part of the display area of the display unit 33 as one window (work area) of an application.
[0030] The editing screen 200 includes a menu area 210, an editing area 220, and an auxiliary information area 230. In the menu area 210, processes executable by the application are displayed in a manner that can be specified by operating the keyboard or mouse. In the menu area 210, a button 211 for selecting a process for inputting a character string, which is one of the objects, in horizontal writing, a button 212 for selecting a process for inputting a character string in vertical writing, and the like are displayed. In the editing area 220, a medium area 221 indicating the print medium 21, and objects such as characters and figures to be printed on the print medium 21 are displayed. In the auxiliary information area 230, information 231 indicating the dimensions of the medium area 221, information 232 indicating the selection conditions of the object, and the like are displayed.
[0031] The medium area 221 in the editing area 220 illustrated in FIG. 4 is displayed with the conveyance direction of the print medium 21 used for printing (in other words, the conveyance direction when the platen roller 16 in FIG. 2 is rotated forward) as the left direction. In this case, the length of the left side 221a (and right side 221b) of the medium area 221 is the width of the print medium 21 used for printing, and corresponds to the label width in the information 231 in the auxiliary information area 230. The label width can be selected, for example, from among the widths of the print medium 21 supported by the printing device 10 used for printing on the print medium 21. In addition, the distance from the left side 221a to the right side 221b of the medium area 221 is the length of the label (medium piece of the print medium 21) created by printing on the print medium 21 by the printing device 10, and corresponds to the label length in the information 231 in the auxiliary information area 230. The label length can be set to any length equal to or greater than the shortest length supported by the printing device 10 used for printing on the print medium 21. The length of the label can be changed, for example, by moving slider 229 in editing area 220 along a ruler, or by entering a number indicating the label length in information 231 in auxiliary information area 230.
[0032] 4 indicates the boundary between the printable area when printing is performed on the print medium 21 by the printing device 10 and a margin area set on the outer periphery of the medium area 221. A user of the information processing device 1 executing an application edits the layout of objects such as characters and figures so that the objects fit within the printable area surrounded by the dashed rectangle 222.
[0033] Fig. 5 is a diagram showing a first example of a plurality of objects arranged on an editing screen. Fig. 5 shows a partial area 220P corresponding to a portion in which the medium area 221 is displayed and its surrounding area in the editing area 220 of the editing screen 200 shown in Fig. 4.
[0034] 5, four character objects 240-243, one first type graphics object 250, and one second type graphics object 260 are arranged. Note that the two-dot chain rectangles in each of the objects 240-243, 250, and 260 are illustrated to make it easier to understand the shape and size of the object (in other words, the area recognized as the object in the editing screen 200), and are not displayed in the editing screen 200 including the partial region 220P displayed on the display unit 33 of the information processing device 1.
[0035] An operation for selecting one or more objects among the objects 240 to 243, 250, and 260 arranged in the partial region 220P is generally roughly divided into two types: an operation for directly specifying the object to be selected, and an operation for specifying a range in the editing region 220. The operation for directly specifying the object to be selected is, for example, an operation for moving the mouse to a position where the pointer 300 overlaps with the object to be selected (for example, the character object 240) (more specifically, within the area represented by the two-dot chain line rectangle in FIG. 5), and then clicking the mouse. The operation for specifying a range in the editing region 220 is, for example, an operation for dragging the mouse. When the information processing device 1 has the above-mentioned touch panel display, the object can be directly specified (selected) by touching the object displayed on the touch panel display (more specifically, within the area represented by the two-dot chain line rectangle in FIG. 5) with a finger, a stylus, or the like. Furthermore, if the information processing device 1 has the touch panel display described above, a range can be specified within the editing area 220 by touching a point within the editing area 220 with a finger, a stylus, or the like, moving the finger or stylus, while still in contact, to another point and then releasing the touch.
[0036] In a conventional application, when an operation for specifying a range is performed within the editing area 220, the selection condition for each object to be in either a selected state or a non-selected state based on the specified range is set to one of the following two selection conditions. The first selection condition is a selection condition in which an object entirely contained within the specified range is selected, and other objects are non-selected. The second selection condition is a selection condition in which an object at least a part of which is contained within the specified range is selected, and other objects are non-selected. An object entirely contained within the specified range is, for example, an object whose entire area within the two-dot chain rectangle illustrated in FIG. 5 is included within the specified range. An object whose at least a part is contained within the specified range is, for example, an object whose at least a part of which is contained within the two-dot chain rectangle illustrated in FIG. 5 is included within the specified range.
[0037] Whether the first selection condition or the second selection condition is applied varies from application to application. Therefore, the selection condition applied to the application for editing the layout of objects may differ from the selection condition that is easy for the user to use, which may reduce the convenience of the application. In addition, when either the first selection condition or the second selection condition is set, it may be difficult to select only the desired multiple objects by the operation of specifying the range. When it is difficult to select only the desired multiple objects by the operation of specifying the range, the user will, for example, perform an operation of directly specifying each of the multiple objects while pressing a specific key.
[0038] In contrast, in the application according to the embodiment of the present invention, the user can switch between the first selection condition and the second selection condition as the selection condition of the object when the operation of specifying the range is performed. For example, the user can specify the selection condition of the object when the operation of specifying the range is performed as either "all" corresponding to the first selection condition or "part" corresponding to the second selection condition by using a radio button in the information 232 indicating the selection condition of the object displayed on the editing screen 200 illustrated in FIG. 4. In addition, the user can switch the selection condition of the object when the operation of specifying the range is performed by using a radio button in the information 232 while the application is being executed. Note that the information 232 indicating the selection condition of the object may be displayed in another area in the editing screen 200, not limited to the auxiliary information area 230 of the editing screen 200 illustrated in FIG. 4. In addition, the information 232 indicating the selection condition of the object may be displayed in any area in the editing screen 200, for example, while the application is being executed, or may be displayed when an operation such as a setting change using the menu area 210 is performed. Furthermore, the information 232 indicating the selection conditions of the object may not be limited to being displayed within the editing screen 200, but may be displayed, for example, on a sub-screen (sub-window) separate from the editing screen 200, and its display position within the display area of the display unit 33 may be changed separately from the editing screen 200.
[0039] FIG. 6 is a diagram showing an example of display of objects when a range is specified with the selection condition set to all. FIG. 7 is a diagram showing an example of display of objects when a range is specified with the selection condition set to some. FIGS. 6 and 7 each show an example of display of objects when an operation of specifying a range is performed in partial area 220P in which objects 240 to 243, 250, and 260 illustrated in FIG. 5 are arranged. The XY orthogonal coordinate system in FIGS. 6 and 7 is a coordinate system set in the display area of display unit 33 (or editing area 220 of editing screen 200). The rightward direction of the X axis is the positive direction, and xb>xa. The downward direction of the Y axis is the positive direction, and yb>ya.
[0040] In the information 232 showing the selection condition of the object illustrated in FIG. 6, "all" is specified by a radio button. In this case, the information processing device 1 executing the application sets the selection condition of the object when the operation of specifying the range is performed to the first selection condition (i.e., the selection condition in which the object entirely included in the specified range is selected and the other objects are unselected). For this reason, for example, when the range SA is specified by dragging the mouse, the information processing device 1 displays only the object entirely included in the specified range SA as the selected object. For example, the information processing device 1 determines whether the whole of the object is included in the specified range SA based on the coordinates (xa, ya) of the upper left Qa and the coordinates (xb, yb) of the lower right Qb of the specified range SA in the editing area 220 including the partial area 220P, and the coordinates of the upper left and lower right of the placed object (more specifically, the coordinates of the upper left and lower right of the rectangle illustrated in FIG. 5). Of the objects 240 to 243, 250, and 260 illustrated in Fig. 5, only the character object 240 "horizontal writing" and the character object 243 "123" are included in the entirety within the range SA illustrated in Fig. 6. Therefore, the information processing device 1 displays the editing screen 200 on the display unit 33, in which the character object 240 "horizontal writing" is displayed as a display 240a indicating that it is in a selected state, and the character object 243 "123" is displayed as a display 243a indicating that it is in a selected state. The displays 240a and 243a illustrated in Fig. 6 indicate that they are in a selected state by displaying a frame surrounding the object and a handle (an element indicated by "○" in Fig. 6) that can change the dimensions of the object together with the object.
[0041] On the other hand, in the information 232 showing the selection condition of the object illustrated in FIG. 7, "Part" is specified by a radio button. In this case, the information processing device 1 executing the application sets the selection condition of the object when the operation of specifying the range is performed to the second selection condition (i.e., the selection condition in which the object at least a part of which is included in the specified range is selected, and the other objects are not selected). For this reason, for example, when the range SA is specified by dragging the mouse, the information processing device 1 displays only the object at least a part of which is included in the specified range SA as the selected object. For example, the information processing device 1 determines whether or not at least a part of the object is included in the specified range SA based on the coordinates (xa, ya) of the upper left Qa and the coordinates (xb, yb) of the lower right Qb of the specified range SA and the coordinates of the upper left and lower right of the placed object in the editing area 220 including the partial area 220P. All of the objects 240 to 243, 250, and 260 illustrated in FIG. 5 are objects at least a part of which is included in the range SA illustrated in FIG. 7. Therefore, the information processing device 1 displays on the display unit 33 the editing screen 200 in which the objects 240 to 243, 250, and 260 illustrated in FIG. 5 are displayed as displays 240a to 243a, 250a, and 260a indicating that they are in a selected state, respectively.
[0042] When the object selection condition when the operation of specifying the range in the application is performed is fixed to the second selection condition corresponding to "part", it is difficult to select only two objects, the character object 240 "horizontal writing" and the character object 243 "123", illustrated in FIG. 5, by the operation of specifying the range. Therefore, the user performs an operation of directly specifying the character object 240 "horizontal writing" and an operation of directly specifying the character object 243 "123" while pressing a predetermined key, for example. On the other hand, when the object selection condition when the operation of specifying the range in the application is performed is fixed to the first selection condition corresponding to "all", when the operation of specifying the range selects all the objects 240 to 243, 250, and 260 illustrated in FIG. 5, the range to be specified becomes wide. Therefore, for example, when the user drags the mouse, the amount of movement of the mouse becomes large, resulting in failure to specify the range, or the end of the object to be selected is outside the range specified by dragging the mouse, resulting in failure to select the object.
[0043] In contrast, in the application according to the embodiment of the present invention, as described above, the user can specify and appropriately switch between the first and second selection conditions as the object selection conditions when the operation of specifying the range is performed. Therefore, compared to an application that is fixed to either the first or second selection condition, the burden on the user due to the operation of selecting objects can be reduced.
[0044] Fig. 8 is a flowchart for explaining a first example of a process related to object selection performed by an information processing device. The flowchart in Fig. 8 is an example of the process related to object selection described above with reference to Figs. 5 to 7. The information processing device 1, which is executing an application, starts the process illustrated in Fig. 8 when an operation for specifying a range is performed within an editing area 220 in which one or more objects are arranged.
[0045] The information processing device 1 first acquires the top left coordinate (xa, ya) and bottom right coordinate (xb, yb) of the specified range SA (step S1). In step S1, the information processing device 1 acquires, for example, the top left coordinate (xa, ya) and bottom right coordinate (xb, yb) of the range SA in a coordinate system set in the display area by a known process performed when a range in the display area of the display unit 33 is specified by operating a pointing device such as a mouse. The coordinate system set in the display area may be, for example, a coordinate system set in the editing area 220 of the editing screen 200. Thereafter, the information processing device 1 performs a loop process (steps S2 to S9) for determining whether each object arranged in the editing area 220 of the editing screen 200 should be in a selected state or a non-selected state, and switches the display of the object (selected object) determined to be in a selected state to a display indicating that the object is in a selected state (step S10).
[0046] The information processing device 1 selects an object to be determined at the start of the loop process (step S2), for example. Next, the information processing device 1 acquires the top left coordinate (x1, y1) and bottom right coordinate (x2, y2) of the object to be determined (step S3). In step S3, the information processing device 1 acquires the top left coordinate (x1, y1) and bottom right coordinate (x2, y2) of the object to be determined in the coordinate system in the display area corresponding to the top left coordinate (xa, ya) and bottom right coordinate (xb, yb) of the range SA. The top left coordinate (x1, y1) and bottom right coordinate (x2, y2) of the object are the top left coordinate (x1, y1) and bottom right coordinate (x2, y2) of the rectangle of the two-dot chain line showing the shape and dimensions of the object exemplified in FIG. 5, etc.
[0047] Next, the information processing device 1 determines whether the selection condition of the object is a part corresponding to the second determination condition or a whole corresponding to the first determination condition (step S4).
[0048] When the selection conditions for the object are all (step S4; all), the information processing apparatus 1 determines whether x1 ≥ xa and y1 ≥ ya and x2 ≤ xb and y2 ≤ yb are satisfied (step S5). In step S5, it suffices to determine whether all of the objects to be determined are included within the specified range SA. For this reason, the determination condition for step S5 is not limited to whether x1 ≥ xa and y1 ≥ ya and x2 ≤ xb and y2 ≤ yb are satisfied, and other determination conditions may also be used. When the determination condition for step S5 is satisfied (step S5; YES), the information processing apparatus 1 assumes that the object to be determined is an object to be set to the selected state (selected object) (step S7). When the determination condition for step S5 is not satisfied (step S5; NO), the information processing apparatus 1 assumes that the object to be determined is an object to be set to the non-selected state (non-selected object) (step S8).
[0049] On the other hand, when the selection conditions for the object are partial (step S4; partial), the information processing apparatus 1 determines whether x1 > xb or x2 < xa or y1 > yb or y2 < ya is satisfied (step S6). When x1 > xb or x2 < xa or y1 > yb or y2 < ya is satisfied, all of the objects to be determined are outside the range SA. In step S6, it suffices to determine whether at least a part of the objects to be determined is included within the specified range SA. For this reason, the determination condition for step S6 is not limited to whether x1 > xb or x2 < xa or y1 > yb or y2 < ya is satisfied, and other determination conditions may also be used. When the determination condition for step S6 is satisfied (step S6; YES), the information processing apparatus 1 assumes that the object to be determined is a non-selected object (step S8). When the determination condition for step S6 is not satisfied (step S6; NO), the information processing apparatus 1 assumes that the object to be determined is a selected object (step S7).
[0050] After step S7 or S8, the information processing device 1 determines, for example, at the end of the loop process (step S9), whether all objects arranged in the editing area 220 have been identified as selected objects or non-selected objects. If there are any objects remaining for which it has not been determined whether they are selected objects or non-selected objects, the information processing device 1 continues the loop process. When it has been determined whether all objects are selected objects or non-selected objects, the information processing device 1 ends the loop process, switches the display of the selected objects to a display indicating that they are in a selected state (step S10), and ends the process related to object selection.
[0051] The process executed by the information processing device 1 to realize the object selection method described above with reference to FIGS. 5 to 7 is not limited to the process according to the flowchart illustrated in FIG. 8, and can be modified as appropriate.
[0052] Fig. 9 is a diagram for explaining examples of selected objects and non-selected objects in a first example of processing related to object selection. Six two-dot chain rectangles 270-275 illustrated in Fig. 9 each indicate the outline of an object arranged in partial area 220P (edit area 220). The XY orthogonal coordinate system in Fig. 9 is a coordinate system set in the display area of display unit 33 (or editing area 220 of editing screen 200). The rightward direction is the positive direction of the X axis, and xb>xa. The downward direction is the positive direction of the Y axis, and yb>ya.
[0053] When a user performs an operation to specify the range SA, generally, an operation is performed with the upper left corner Qa of the range SA as the starting point and the lower right corner Qb as the ending point. However, the operation of specifying the range SA is not limited to such an operation, and for example, an operation with the upper right corner of the range SA as the starting point and the lower left corner as the ending point may be used. On the other hand, the position and size of an object arranged in the partial region 220P (editing region 220) are represented by the upper left coordinates (x1, y1) and the lower right coordinates (x2, y2) in a two-dot chain line rectangle showing the outer shape of the object. Therefore, when determining whether an object is a selected object or a non-selected object in response to the operation of specifying the range SA, the specified range SA is represented by the coordinates (xa, ya) of the upper left corner Qa and the coordinates (xb, yb) of the lower right corner Qb. By doing so, based on the coordinates (xa, ya) of the upper left corner Qa and the coordinates (xb, yb) of the lower right corner Qb of the range SA, and the upper left coordinates (x1, y1) and the lower right coordinates (x2, y2) of the object to be determined, the degree of overlap between the object to be determined and the range SA can be determined.
[0054] In the determination of step S5 described with reference to FIG. 8, it is determined whether all of the object to be determined is included within the specified range SA. When the whole is included within the range SA as in the object 270 illustrated in FIG. 9, x1 > xa and y1 > ya and x2 < xb and y2 < yb. Also, the object with the largest size among the objects entirely included within the range SA is the object where (x1, y1) = (xa, ya) and (x2, y2) = (xb, yb). Therefore, an object entirely included within the specified range SA satisfies x1 ≥ xa and y1 ≥ ya and x2 ≤ xb and y2 ≤ yb. Accordingly, when all of the selection conditions of the object correspond to the first selection condition described above with reference to FIG. 8, the object that satisfies x1 ≥ xa and y1 ≥ ya and x2 ≤ xb and y2 ≤ yb becomes the object to be set in the selected state. At this time, the objects 271 to 275 illustrated in FIG. 9 do not satisfy x1 ≥ xa and y1 ≥ ya and x2 ≤ xb and y2 ≤ yb (that is, at least a part exists outside the range SA), and thus become objects to be set in the non-selected state.
[0055] On the other hand, in the determination of step S6 described with reference to FIG. 8, it is determined whether or not at least a part of the object to be determined is included within the specified range SA. Such determination can be efficiently performed with a simple determination condition, for example, by replacing it with whether or not all of the object to be determined is located outside the range SA. For example, for an object 272 located above the range SA, the coordinate y2 indicating the position of the lowermost side closest to the range SA satisfies y2 < ya. For an object 273 located below the range SA, the coordinate y1 indicating the position of the uppermost side closest to the range SA satisfies y1 > yb. For an object 274 located to the left of the range SA, the coordinate x2 indicating the position of the rightmost side closest to the range SA satisfies x2 < xa. For an object 275 located to the right of the range SA, the x1 indicating the position of the leftmost side closest to the range SA satisfies x1 > xb. Therefore, an object that satisfies x1 > xb or x2 < xa or y1 > yb or y2 < ya is an object that is entirely outside the range SA as described above. That is, it can be said that an object that does not satisfy x1 > xb or x2 < xa or y1 > yb or y2 < ya is an object that has at least a part included within the range SA. For example, when the selection condition is a part (the second selection condition), the objects 270 and 271 illustrated in FIG. 9 do not satisfy x1 > xb or x2 < xa or y1 > yb or y2 < ya (that is, at least a part is included within the range SA), and thus become the objects to be put in the selected state.
[0056] As described above, when the user of the information processing apparatus 1 that executes the application according to the embodiment of the present invention performs an operation of specifying the range SA within the editing area 220, the selection condition for specifying the object to be put in the selected state can be selected and switched between a first selection condition in which an object entirely included within the range SA is put in the selected state and a second selection condition in which an object having at least a part included within the range SA is put in the selected state. Therefore, compared with the case where the selection condition is fixed, the burden on the user in the process of selecting an object can be suppressed.
[0057] Fig. 10 is a diagram showing a second example of the selection condition and a second example of a plurality of objects arranged in the editing screen. Fig. 10 shows information 233 indicating the second example of the selection condition and partial area 220P of editing area 220 of editing screen 200. The XY orthogonal coordinate system in Fig. 10 is a coordinate system set in the display area of display unit 33 (or editing area 220 of editing screen 200). The rightward direction is the positive direction of the X axis, and the downward direction is the positive direction of the Y axis.
[0058] The object selection method described with reference to FIG. 10 is a method of starting an operation to specify a range within the editing area 220 in a state in which at least one object arranged within the editing area 220 is selected. FIG. 10 shows one character object 245, one third type graphic object 280, and twelve second type graphic objects 261 as examples of a plurality of objects arranged in the partial area 220P (editing area 220). The graphic object 280 is a QR code (registered trademark). One graphic object 261 located at the upper left of the twelve graphic objects 261 has been selected by a user's operation, and is displayed as an indication 261a indicating that it is in a selected state. The two-dot chain line rectangles surrounding the other objects 245, 280, and 261 are not displayed on the display unit 33, as described above with reference to FIG. 5.
[0059] The information 233 indicating the second example of the selection condition is displayed in the auxiliary information area 230 of the editing screen 200, for example, similarly to the information 232 described above. The information 233 indicates whether the type of object to be selected based on the range SA specified by the operation to specify the range performed in a state where at least one object is selected is the third selection condition in which the type of object is the same as that of the object selected at the start of the operation to specify the range, or the fourth selection condition in which the type is different. The information 233 is configured so that the user can specify and appropriately change which of the third and fourth selection conditions is used to select the object. The operation to specify the range performed in a state where an object is selected includes an operation to specify the range that is started in a state where an object is selected. That is, when the operation to specify the range is started in a state where an object is selected, the display of the object that was selected at the start of the operation may remain as a display indicating that it is in a selected state, or may be changed to a display indicating that it is in a non-selected state while the operation is being performed.
[0060] FIG. 11 is a diagram showing an example of display of objects when a range is specified with the same type of selection condition. FIG. 12 is a diagram showing an example of display of objects when a range is specified with a different type of selection condition. FIGS. 11 and 12 each show an example of display of objects when an operation of specifying a range is performed in the partial area 220P in which the objects 245, 280, and 261 illustrated in FIG. 10 are arranged. The XY orthogonal coordinate system in FIGS. 11 and 12 is a coordinate system set in the display area of the display unit 33 (or the editing area 220 of the editing screen 200). The right direction of the X axis is the positive direction, and xb>xa. The downward direction of the Y axis is the positive direction, and yb>ya. Note that some of the rectangles drawn by two-dot chain lines showing the shapes and dimensions of the objects are omitted in FIGS. 11 and 12.
[0061] In the information 233 showing the object selection condition illustrated in FIG. 11, "same type" is specified by a radio button. In this case, the information processing device 1 executing the application sets the object selection condition when the operation of specifying the range is performed to the third selection condition (i.e., a selection condition that selects an object of the same type as the object that was in a selected state when the operation of specifying the range is performed). For example, when the operation of specifying the range is started in a state in which the triangular object 261 is selected as illustrated in FIG. 10, the object 261 is changed to a display of a non-selected state and a rectangle indicating the specified range SA' is displayed as illustrated in the upper partial area 220P of the two partial areas 220P in FIG. 11. After that, when the operation of specifying the range is completed, the information processing device 1 selects all of the triangular objects 261 included in the range specified by the completed operation. For example, when a range SA including all of the 12 triangular objects 261 in Fig. 11 is specified, the information processing device 1 displays on the display unit 33 an edit screen 200 in which all of the 12 triangular objects 261 in the range SA have been changed to an indication 261a indicating that they are in a selected state, as shown in the lower partial area 220P of the two partial areas 220P in Fig. 11. At this time, the information processing device 1 does not select the text object 245 and the QR code object 280 that are included in the specified range SA and are positioned between the set of six triangular objects 261 on the upper side and the set of six triangular objects 261 on the lower side. That is, the user can easily select only the triangular objects 261 by performing an operation to specify a range.
[0062] On the other hand, in the information 233 showing the object selection condition illustrated in Fig. 12, "other type" is specified by a radio button. In this case, the information processing device 1 executing an application sets the object selection condition when an operation for specifying a range is performed to a fourth selection condition (i.e., a selection condition for selecting an object of a different type from the object that was in a selected state when an operation for specifying a range was performed). For example, as illustrated in the upper partial area 220P of the two partial areas 220P in Fig. 12, when one of the triangular objects 261 is selected, the information processing device 1 determines that the text object 245 and the QR code object 280 are objects of a different type from the triangular object 261. For this reason, when an operation to specify a range is started while the triangular object 261 is selected, and the range SA specified by that operation is confirmed, for example, as shown in the lower partial area 220P of the two partial areas 220P in Figure 12, the displays change to 245a and 280a indicating that objects 245, 280, and 261 included in the range SA, excluding the triangular object 261, are in a selected state.
[0063] Fig. 13 is a flowchart for explaining a second example of the process related to the selection of an object performed by the information processing device. The flowchart in Fig. 13 is an example of the process related to the selection of an object described above with reference to Figs. 10 to 12. The information processing device 1, which is executing an application, starts the process exemplified in Fig. 13 when an operation for specifying a range that is started with an object placed in the editing area 220 being selected is completed.
[0064] The information processing device 1 first identifies the type of object to be displayed in a selected state (step S21), and acquires the top left coordinates (xa, ya) and bottom right coordinates (xb, yb) of the specified range SA (step S22). In step S21, the information processing device 1 identifies the type of object to be displayed in a selected state, for example, based on the type of object that is in a selected state when the operation of specifying the range is started and the selection condition of the object specified in the information 233 described above with reference to Figs. 10 to 12. In step S22, the information processing device 1 acquires, for example, the top left coordinates (xa, ya) and bottom right coordinates (xb, yb) of the range SA in a coordinate system set in the display area by a known process performed when a pointing device such as a mouse is operated to specify a range in the display area of the display unit 33. The coordinate system set in the display area may be, for example, a coordinate system set in the editing area 220 of the editing screen 200. The processes of steps S21 and S22 are not limited to this order, and may be performed in the reverse order or in parallel.
[0065] After steps S21 and S22, the information processing device 1 performs a loop process (steps S23 to S31) to determine whether each object placed in the editing area 220 of the editing screen 200 should be in a selected or unselected state, and switches the display of the object (selected object) determined to be in a selected state to a display indicating that it is in a selected state (step S32).
[0066] The information processing apparatus 1 selects, for example, an object to be determined at the start of the loop process (step S23). Next, the information processing apparatus 1 determines whether the object to be determined is an object of the type specified in step S21 (step S24). When the object to be determined is an object of the specified type (step S24; YES), the information processing apparatus 1 performs processes (steps S25 to S30) corresponding to steps S3 to S8 in the process described above with reference to FIG. 8. When a selection condition (first selection condition) for selecting only the objects entirely included in the range SA is specified (step S26; all), the information processing apparatus 1 sets, as selection objects, the objects that satisfy x1≧xa and y1≧ya and x2≦xb and y2≦yb and displays them in a selected state (step S29), and sets, as non-selection objects, the objects that do not satisfy and displays them in a non-selected state (step S30). On the other hand, when a selection condition (second selection condition) for selecting the objects having at least a part included in the range SA is specified (step S26; part), the information processing apparatus 1 sets, as selection objects, the objects that do not satisfy x1>xb or x2<xa or y1>yb or y2<ya (step S29), and sets, as non-selection objects, the objects that satisfy (step S30).
[0067] On the other hand, in step S24, when it is determined that the object to be determined is not an object of the specified type (step S24; NO), the information processing apparatus 1 sets the object to be determined as a non-selection object (step S30).
[0068] After step S29 or S30, the information processing device 1 determines, for example, at the end of the loop process (step S31), whether all objects arranged in the editing area 220 have been identified as selected objects or non-selected objects. If there are any objects remaining for which it has not been determined whether they are selected objects or non-selected objects, the information processing device 1 continues the loop process. When it has been determined whether all objects are selected objects or non-selected objects, the information processing device 1 ends the loop process, switches the display of the selected objects to a display indicating that they are in a selected state (step S32), and ends the process related to object selection.
[0069] The process executed by the information processing device 1 to realize the object selection method described above with reference to FIGS. 10 to 12 is not limited to the process according to the flowchart illustrated in FIG. 13, and can be modified as appropriate.
[0070] Fig. 14 is a diagram showing a third example of selection conditions and a display example of objects when a range is specified. Fig. 14 shows information 234 indicating the third example of selection conditions and partial area 220P of editing area 220 of editing screen 200. The XY orthogonal coordinate system in Fig. 14 is a coordinate system set in the display area of display unit 33 (or editing area 220 of editing screen 200). The rightward direction is the positive direction of the X axis, and the downward direction is the positive direction of the Y axis. Some of the rectangles drawn with two-dot chain lines indicating the shape and dimensions of the objects are omitted in Fig. 14.
[0071] The method of selecting an object described with reference to Fig. 14 is another example of a selection method when an operation for specifying a range in the editing area 220 is performed (started) in a state where at least one object arranged in the editing area 220 is selected. Fig. 14 shows two character objects 245 and 246 and twelve graphic (triangle) objects 261 as an example of a plurality of objects arranged in the partial area 220P (editing area 220). In the upper partial area 220P of the two partial areas 220P, the object 245 called "new product information" out of the two character objects has been selected by a user's operation, and is displayed as an indication 245a indicating that it is in a selected state. The two-dot chain line rectangle surrounding the other objects 246 and 261 is not displayed on the display unit 33, as described above with reference to Fig. 5.
[0072] The information 234 indicating the third example of the selection condition is displayed in the auxiliary information area 230 of the editing screen 200, for example, similarly to the above-mentioned information 232 and 233. The information 234 indicates whether the selected object is a fifth selection condition in which all objects other than the object selected when the operation to specify the range is performed are selected based on the range SA specified by the operation to specify the range performed in a state where at least one object is selected, or a sixth selection condition in which objects of a different type are selected other than the object selected when the operation to specify the range is performed. The information 234 is configured so that the user can specify whether the fifth or sixth selection condition is used to select objects, and can change it as appropriate.
[0073] In the information 234 illustrated in FIG. 14, "Other than the specified object (all types)" is specified by the radio button. In this case, the information processing device 1 executing the application sets the selection condition of the object when the operation of specifying the range is performed to the fifth selection condition (i.e., the selection condition that makes all objects other than the object selected when the operation of specifying the range is performed the selected object). For example, as illustrated in FIG. 14, when the operation of specifying the range is performed (started) in a state where the character object 245 is selected and the range SA is specified, as illustrated in the lower partial area 220P of the two partial areas 220P in FIG. 14, the object 245 selected when the operation of specifying the range is started becomes unselected, and the other objects 246 and 261 in the range SA are changed to display 246a and 261a indicating that they are selected, and the editing screen 200 is displayed on the display unit 33.
[0074] 14, when "other than specified object (other type)" is specified by a radio button, the information processing device 1 executing an application sets the selection condition of the object when the operation of specifying the range is performed to the sixth selection condition (i.e., a selection condition that sets an object other than the object selected when the operation of specifying the range is performed and of a different type as the selected object). In this case, for example, when the range SA as shown in FIG. 14 is specified, the object 245 selected when the operation of specifying the range is started becomes unselected, and the editing screen 200 is displayed on the display unit 33, in which the object 261 in the range SA whose type is other than character is changed to an object display 261a indicating that it is in the selected state.
[0075] Fig. 15 is a diagram for explaining another example of a method for displaying an object when an operation for designating a range is being performed. Fig. 15 shows another example of a method for displaying an object described with reference to Figs. 10 to 12.
[0076] In the process of selecting an object illustrated in FIG. 10 to FIG. 12, while the operation of specifying the range is being performed, each object is displayed as a non-selected object. Therefore, for example, while the operation of specifying the range is being performed, it is difficult to understand the type of the object to be selected on the display screen displayed on the display unit 33. In order to improve the difficulty in understanding the type of the object to be selected, for example, as illustrated in FIG. 15, while the operation of specifying the range is being performed, the color of the object of a type other than the type specified as the selection target may be lightened. In FIG. 15, the operation of specifying the range is performed (started) with the object 261 of the shape (triangle) selected, and the "same type" is specified in the information 233 indicating the selection condition of the object. In this case, while the operation of specifying the range is being performed, the information processing device 1 changes the character object 245 and the QR code 280 of a different type from the triangular object 261 to light-colored indications 245b and 280b indicating that they are not the selection target and displays them. This allows the user to easily understand the type of the object to be selected even while the operation of specifying the range is being performed.
[0077] Fig. 16 is a flowchart for explaining an example of processing related to the display of an object performed by the information processing device while a process for selecting a range is being performed. The processing according to the flowchart of Fig. 16 is performed, for example, in parallel with an operation for designating a range in the editing area 220 that is performed before the processing according to the flowchart exemplified in Fig. 13 is started. More specifically, when an operation for designating a range in the editing area 220 is started with an object placed in the editing area 220 selected, the information processing device 1 starts the processing according to the flowchart of Fig. 16.
[0078] The information processing device 1 first specifies the type of object to be displayed in the selected state (step S41). In step S41, the information processing device 1 specifies the type of object to be displayed in the selected state based on, for example, the type of object selected when the operation to specify the range is started and the selection condition of the object specified in the information 233 described above with reference to Figs. 10 to 12. Thereafter, the information processing device 1 performs a loop process (steps S42 to S45) in which it determines whether each object arranged in the editing area 220 of the editing screen 200 is an object of the type specified in step S41, and lightens the display color of the object of the specified type.
[0079] The information processing device 1 selects an object to be determined at the start of the loop process (step S42), for example. Next, the information processing device 1 determines whether the object to be determined is an object of the type specified in step S41 (step S43). If the object to be determined is not an object of the type specified (step S43; NO), the information processing device 1, for example, dims the display color of the object to be determined (step S44). Thereafter, the information processing device 1, for example, determines whether it has been determined whether all objects arranged in the editing area 220 are of the type specified in step S41 at the end of the loop process (step S45). If there remains an object for which it has not been determined whether it is of the type specified in step S41, the information processing device 1 continues the loop process. When it has been determined whether all objects are of the type specified in step S41, the information processing device 1 ends the loop process and ends the process related to the display of objects while the operation of specifying the range is being performed.
[0080] The process executed by the information processing device 1 to realize the display of the objects described above with reference to Fig. 15 is not limited to the process according to the flowchart illustrated in Fig. 16, and can be modified as appropriate. For example, the display of the objects described above with reference to Fig. 15 and Fig. 16 may be a process in which objects that can be in a selected state are displayed on the display unit 33 so as to be relatively emphasized compared to objects that are not eligible for selection (non-selected objects) based on the selection conditions selected (specified) by the user and the type of object selected at the start of the operation to specify the range.
[0081] Fig. 17 is a diagram showing a fourth example of the selection condition and a first example of a plurality of objects arranged in the editing screen. Fig. 17 shows information 235 indicating the fourth example of the selection condition and partial area 220P of editing area 220 of editing screen 200. Partial area 220P in Fig. 17 corresponds to partial area 220P illustrated in Fig. 5. The XY orthogonal coordinate system in Fig. 17 is a coordinate system set in the display area of display unit 33 (or editing area 220 of editing screen 200). The rightward direction of the X axis is a positive direction, and the downward direction of the Y axis is a positive direction.
[0082] The object selection method described with reference to Fig. 17 is an example of a method for changing the selection condition of an object by an operation different from an operation for directly specifying an object and an operation for specifying a range when at least one object arranged in the editing area 220 is selected. Fig. 17 shows four character objects 240-243, one first type of graphic object 250, and one second type of graphic object 260 as examples of a plurality of objects arranged in the partial area 220P (editing area 220). Among the four character objects 240-243, the character object "horizontal writing" is in a state selected by the user and has been changed to an indication 240a indicating the selected state. The two-dot chain line rectangle surrounding the other objects 241-243, 250, and 260 is not displayed on the display unit 33 as described above with reference to Fig. 5.
[0083] The information 235 indicating the fourth example of the selection condition is displayed in the auxiliary information area 230 of the editing screen 200, for example, similarly to the above-mentioned information 232 and 233. The information 235 indicates whether the selection condition of the object is a seventh selection condition that selects all objects of the same type as the selected object, an eighth selection condition that selects all objects of a different type from the selected object, or a ninth selection condition that selects all objects different from the selected object. The information 235 is configured so that the user can specify which of the seventh, eighth, and ninth selection conditions is used to select the object, and change it as appropriate.
[0084] FIG. 18 is a diagram showing an example of how objects are displayed when the selection conditions are set as targets. FIG. 19 is a diagram showing an example of how objects are displayed when the selection conditions are set as non-targets. FIG. 20 is a diagram showing an example of how objects are displayed when the selection conditions are inverted. The XY orthogonal coordinate system in FIGS. 18 to 20 is a coordinate system set in the display area of the display unit 33 (or the editing area 220 of the editing screen 200). The rightward direction is the positive direction on the X axis, and the downward direction is the positive direction on the Y axis. Some of the rectangles drawn with two-dot chain lines indicating the shapes and dimensions of the objects are omitted in FIGS. 18 to 20.
[0085] In the information 235 illustrated in Fig. 18, the "target" is specified by a radio button. In this case, the information processing device 1 executing the application displays all objects of the same type as the object selected when the operation to specify the "target" is performed, based on the seventh selection condition, to indicate that they are in a selected state. When the operation to specify the "target" is performed when the character object 240 is selected (displayed as 240a indicating that it is in a selected state) as illustrated in Fig. 17, the information processing device 1 displays all of the character objects 240 to 243 among the objects arranged in the editing area 220, as displays 240a to 243a indicating that they are in a selected state, as illustrated in Fig. 18.
[0086] In the information 235 illustrated in Fig. 19, "not target" is specified by a radio button. In this case, the information processing device 1 executing the application displays all objects of a type different from the object selected when the operation to specify "not target" is performed, indicating that they are in a selected state, based on the eighth selection condition. When the operation to specify "not target" is performed when the text object 240 is selected as illustrated in Fig. 17, the information processing device 1 displays the graphic objects 250 and 260 among the objects arranged in the editing area 220 as displays 250a and 260a indicating that they are in a selected state, as illustrated in Fig. 19.
[0087] In the information 235 illustrated in Fig. 20, "invert" is specified by a radio button. In this case, the information processing device 1 executing the application displays all objects, except for the object selected when the operation of specifying "invert" is performed, in a selected state based on the ninth selection condition. When the operation of specifying "invert" is performed when the text object 240 is selected as illustrated in Fig. 17, the information processing device 1 displays all objects 241-243, 250, and 260, except for the text object 240, among the objects arranged in the editing area 220, in displays 241a-243a, 250a, and 260a indicating that they are selected, as illustrated in Fig. 20.
[0088] FIG. 21 is a flowchart for explaining a third example of the process related to the selection of an object performed by the information processing device. The flowchart in FIG. 21 is an example of the process related to the selection of an object described above with reference to FIGS. 17 to 20. When an object arranged in the editing area 220 is selected, for example, the information processing device 1 executing an application displays the information 235 exemplified in FIG. 17 etc. in the editing screen 200 and starts the process exemplified in FIG. 21. The position where the information 235 is displayed is not limited to a specific position in the editing screen 200. Moreover, the information 235 may be displayed not only in the editing screen 200 but also as a sub-screen (sub-window) separate from the editing screen 200.
[0089] The information processing device 1 first determines whether or not the selection condition of the object associated with the information 235 has been confirmed (step S51). In step S51, the information processing device 1 determines that the selection condition has been confirmed when, for example, an operation is performed to specify (select) one of "target", "non-target", and "invert" using a radio button included in the information 235. If the selection condition has been confirmed (step S51; Yes), the information processing device 1 acquires the identification information and type of the selected object (step S52). The identification information of the object is information for identifying (distinguishing) the object arranged in the editing area 220 on an object-by-object basis. Thereafter, the information processing device 1 performs a loop process (steps S53 to S60) for determining whether or not each object arranged in the editing area 220 of the editing screen 200 is an object to be in a selected state, and switches the display of the object (selected object) determined to be in a selected state to a display indicating that the object is in a selected state (step S61).
[0090] For example, the information processing device 1 selects an object to be determined at the start of the loop process (step S53). Next, the information processing device 1 determines whether the selection condition determined in step S51 is target, non-target, or inverted (step S54).
[0091] If the selection condition is the target (step S54; target), the information processing device 1 then determines whether the object to be judged is of the same type as the selected object (step S55). If they are the same type (step S55; YES), the information processing device 1 sets the object to be judged as an object to be displayed as indicating that it is in a selected state (selected object) (step S58). If they are not the same type (step S55; NO), the information processing device 1 sets the object to be judged as an object to be displayed as indicating that it is in a non-selected state (non-selected object) (step S59).
[0092] If the selection condition is not applicable (step S54; not applicable), the information processing device 1 then determines whether the object to be determined is of the same type as the selected object (step S56). If they are of the same type (step S56; YES), the information processing device 1 sets the object to be determined as a non-selected object (step S59). If they are not of the same type (step S56; NO), the information processing device 1 sets the object to be determined as a selected object (step S58).
[0093] If the selection condition is inversion (step S54; inversion), the information processing device 1 then determines whether the object to be determined is a selected object or not based on the object's identification information (step S57). If the object to be determined is a selected object (step S57; YES), the information processing device 1 sets the object to be determined as a non-selected object (step S59). If the object to be determined is not a selected object (step S57; NO), the information processing device 1 sets the object to be determined as a selected object (step S58).
[0094] After step S58 or S59, the information processing device 1 determines whether all objects arranged in the editing area 220 have been identified as selected objects or non-selected objects at the end of the loop processing (step S60), for example. If there are any objects remaining for which it has not been identified as selected objects or non-selected objects, the information processing device 1 continues the loop processing. When it has been identified as selected objects or non-selected objects for all objects, the information processing device 1 ends the loop processing. After the loop processing ends, the information processing device 1 displays the selected objects to indicate that they are in a selected state and displays the non-selected objects to indicate that they are in a non-selected state (step S61), and ends the processing related to object selection.
[0095] The process executed by the information processing device 1 to realize the object selection method described above with reference to FIGS. 17 to 20 is not limited to the process according to the flowchart illustrated in FIG. 21, and can be modified as appropriate.
[0096] As described above, in the object layout editing process according to the embodiment of the present invention, the user of the information processing device 1 running an application can specify and appropriately change the selection conditions for objects associated with operations other than the method of directly specifying objects. Therefore, the objects placed in the editing area 220 of the editing screen 200 can be selected by an operation suited to the user's preference, and the burden on the user in editing the layout of objects can be reduced.
[0097] In the object layout editing process according to the embodiment of the present invention, for example, the selection condition for selecting an object in response to an operation of specifying a range can be specified by the user to either a first selection condition for selecting an object entirely within the specified range and deselecting other objects, or a second selection condition for selecting an object at least partially within the specified range and deselecting other objects, and can be appropriately changed. The first selection condition can prevent objects that are not desired to be selected from being selected, for example, when selecting some objects among a plurality of objects. The second selection condition can prevent some objects from being excluded from selection, for example, when selecting all of a plurality of objects.
[0098] In the object layout editing process according to the embodiment of the present invention, for example, the selection condition for selecting an object in response to a range being specified by an operation for specifying a range started in a state where an object is selected can be specified by the user as appropriate between a third selection condition for selecting an object of the same type as the object selected when the operation for specifying a range is performed (or at the start) and a fourth selection condition for selecting an object of a different type from the object selected when the operation for specifying a range is performed. The third selection condition can prevent an object of a type that is not desired to be selected from being selected when, for example, a single type of object is selected from among multiple objects. The fourth selection condition can facilitate an operation for selecting multiple objects among multiple objects between which a single type of object is arranged. For example, when multiple third type objects are arranged between a first type object and a second type object, by selecting the third type object with the fourth selection condition selected and performing an operation for specifying a range that includes the first type object, the second type object, and the third type object, only the first type object and the second type object can be easily selected. Furthermore, when an operation to specify a range is performed with the third selection condition or the fourth selection condition selected (applied), the information processing device 1 may display on the display unit 33 objects that can be selection targets, based on the type of object selected when the operation to specify the range was performed and the selection conditions, so that the objects that can be selection targets are relatively highlighted compared to objects that can be excluded from selection targets. In this way, the operation to specify a range can be performed while visually checking the objects that can be selection targets, and it is possible to prevent an object that is desired to be selected from being excluded from selection targets.
[0099] In addition, in the object layout editing process according to the embodiment of the present invention, for example, the selection condition for selecting an object in response to a range being specified by an operation for specifying a range performed (or started) while the object is selected can be specified and appropriately changed by the user to either a fifth selection condition for selecting all objects except the object selected when the operation for specifying the range is performed, or a sixth selection condition for selecting all objects of a type different from the object selected when the operation for specifying the range is performed. The fifth selection condition makes it easier to select only the objects you want to select, for example, when the number of objects you want to select among a plurality of objects is greater than the number of objects you do not want to select, compared to a selection method in which each of the objects you want to select is directly specified in succession. The sixth selection condition makes it easier to select only the objects you want to select, for example, when the objects you do not want to select include a plurality of objects of the same type.
[0100] Furthermore, in the object layout editing process according to the embodiment of the present invention, for example, a selection condition for selecting an object by a selection operation other than the operation of directly specifying an object and the operation of specifying a range, which can be performed in a state where an object is selected, can be selected and changed. More specifically, a user can specify and appropriately change one of the seventh selection condition for selecting an object of the same type as the object selected when the selection operation is performed, the eighth selection condition for selecting an object of a different type from the object selected when the selection operation is performed, and the ninth selection condition for selecting an object other than the object selected when the selection operation is performed. The seventh selection condition makes it easier to select only the object of the type you want to select, for example, when there are many objects of the type you want to select among multiple objects, compared to a selection method in which each of the objects you want to select is directly specified in succession. The eighth selection condition makes it easier to select an object by applying the eighth selection condition in a state where a small number of objects of the type you do not want to select are selected, for example, when there are many objects of the type you want to select among multiple objects. The ninth selection condition makes it easier to select an object by applying the ninth selection condition in a state where a small number of objects you do not want to select are selected, for example, when there are many objects of the type you want to select among multiple objects.
[0101] The above-described embodiment is merely an example for facilitating understanding of the invention. In other words, the editing method, program, and information processing device according to the present invention are not limited to the above-described embodiment, and various modifications and changes are possible without departing from the scope of the claims.
[0102] For example, the object selection methods exemplified individually in the above-mentioned embodiments can be applied in combination. For example, the object selection method described with reference to the flowchart in Fig. 13 can be said to be a selection method in which an object selection method based on either the third selection condition or the fourth selection condition is combined with an object selection method based on either the first selection condition or the second selection condition.
[0103] Furthermore, the above-mentioned object selection method may be combined with a selection method in which, for example, the user can specify the type (classification) of an object to be in a selected state and the type of an object to be in a non-selected state, and can change them as appropriate. For example, the information 232 indicating the object selection conditions may include a selection element that can change only a specific type of object among the objects displayed in a selected state by performing an operation of specifying a range to a non-selected state, in addition to a radio button that specifies whether the object is to be selected by the first selection condition or the second selection condition. More specifically, a radio button or a check box that can specify a type that is to be changed to a non-selected state (not to be selected) among a plurality of object types (classifications) such as "character", "figure", and "barcode" may be added to the information indicating the object selection conditions such as the information 232.
[0104] Furthermore, the "same type" in the above-mentioned object selection method may be conditioned on the condition that all information on the object, including dimensions, orientation, etc., except for information on the position, is the same, or some information, such as dimensions and orientation, may be different. For example, in FIG. 10, a figure (triangle) object 261, which is indicated by a display 240a indicating that it is in a selected state, is arranged with an orientation in which a third vertex exists above a side connecting two vertices. In this case, the "same type" may or may not include an object 261 arranged with an orientation in which a third vertex exists below a side connecting two vertices. Furthermore, the definition of objects considered to be "same type" may be specified by a user and may be changed as appropriate.
[0105] In the above embodiment, the object selection conditions can be switched by radio buttons, but the method of switching the object selection conditions does not have to be radio buttons, and may be performed by a predetermined key input (operation). For example, the object selection conditions may be switched by performing a key operation on a keyboard or the like during or after a range designation operation such as mouse dragging. Also, the object selection conditions may be different depending on the direction of the operation of designating the range (for example, mouse dragging from the upper left to the lower right of the screen, mouse dragging from the upper right to the lower left of the screen, etc.). This eliminates the need to switch each time using radio buttons, and allows for efficient editing. The above method of switching the object selection conditions may be used in combination with the method of switching using radio buttons.
[0106] Furthermore, the above-mentioned object selection method is not limited to an application executed by an information processing device 1 other than the printing device 10, but may be performed, for example, in a printing device 10 having an input device such as a keyboard that can be used to edit the layout of objects, and a display device that displays an editing screen on which the layout of objects can be edited.
[0107] Furthermore, in the above-described embodiment, a method for selecting an object in an application associated with a printing device 10 that prints on a tape-like printing medium 21 was exemplified, but the object selection method of the present invention may be applied to other applications.
[0108] The invention as described in the claims of the original application is set forth below. [Appendix 1] The computer Displaying an editing screen on the display unit that allows editing of the layout of the object; making it possible to switch a selection condition for each of the objects on the editing screen to be in either a selected state or a non-selected state based on an operation by a user; 23. An editing method comprising: [Appendix 2] the operation by the user includes an operation of designating a range within the editing screen, the selection conditions include a first selection condition for selecting an object whose entire area is included within a specified range, and a second selection condition for selecting an object whose at least a part of its area is included within the specified range. 2. The editing method according to claim 1, [Appendix 3] the operation by the user includes an operation of designating a range within the editing screen, the operation being performed in a state in which at least one object is selected; the selection conditions include a third selection condition for selecting an object of the same type as the object in a selected state, and a fourth selection condition for selecting an object of a different type from the object in a selected state; 3. The editing method according to claim 1 or 2, [Appendix 4] the operation by the user includes an operation of designating a range within the editing screen, the operation being performed in a state in which at least one object is selected; the selection conditions include a fifth selection condition for selecting all objects other than the selected object, and a sixth selection condition for selecting all objects of a type different from the selected object, 4. The editing method according to claim 1, wherein: [Appendix 5] The computer, while an operation for designating a range within the editing screen is being performed, changing display of the objects so that objects that can be selected based on the selection conditions are highlighted compared to objects that cannot be selected; 5. The editing method according to claim 3 or 4. [Appendix 6] the operation by the user includes an operation of selecting at least one object; the selection condition includes an operation of designating any one of a seventh selection condition for selecting an object of the same type as the selected object, an eighth selection condition for selecting an object of a different type from the selected object, and a ninth selection condition for selecting all objects except the selected object; 5. The editing method according to claim 1, wherein: [Appendix 7] The editing screen is a screen for editing a layout of an object to be printed on a print medium. 7. The editing method according to any one of claims 1 to 6, [Appendix 8] Displaying an editing screen on the display unit that allows editing of the layout of the object; making it possible to switch a selection condition for each of the objects on the editing screen to be in either a selected state or a non-selected state based on an operation by a user; A program that causes a computer to execute a process. [Appendix 9] A control unit that displays an editing screen on a display device on which the layout of objects can be edited, and that makes it possible to switch a selection condition for placing each of the objects on the editing screen in either a selected state or a non-selected state based on an operation by a user. An information processing device comprising: [Appendix 10] A printing unit that prints on a print medium; a control unit that displays an editing screen on a display unit, on which a layout of objects to be printed on a print medium can be edited, and that makes it possible to switch a selection condition for placing each of the objects on the editing screen in either a selected state or a non-selected state based on an operation by a user; A printing device comprising: [Explanation of symbols]
[0109] 1. Information processing device 2. Application 10 Printing device 11 First Component 12 Second member 13 Operation buttons 14 Indicator Lamp 15 Thermal head 16 Platen roller 1701 First Cutter 1702 Second Cutter 20 rolls 21 Printing media 30, 40 Control unit 31, 41 Storage section 32, 42 Input section 33, 43 Display section 34, 44 Communications Department 45 Detection unit 46 Conveyor 47 Printing Department 48 Cutting section 200 display screen 210 Menu Area 220 Editing Area 221 Media area 230 Auxiliary information area 231, 232, 233, 234, 235 Information 240, 241, 242, 243, 245, 246 (character) objects 250, 260, 261, 280 (geometric) objects 270, 271, 272, 273, 274, 275 Objects SA Range
Claims
1. The computer Displaying an editing screen on the display unit that allows editing of the layout of the object; making it possible to switch a selection condition for each of the objects on the editing screen to be in either a selected state or a non-selected state based on an operation by a user; 23. An editing method comprising:
2. the operation by the user includes an operation of designating a range within the editing screen, the selection conditions include a first selection condition for selecting an object whose entire area is included within a specified range, and a second selection condition for selecting an object whose at least a part of its area is included within the specified range; The editing method according to claim 1 .
3. the operation by the user includes an operation of designating a range within the editing screen, the operation being performed in a state in which at least one object is selected; the selection conditions include a third selection condition for selecting an object of the same type as the object in a selected state, and a fourth selection condition for selecting an object of a different type from the object in a selected state; 3. The editing method according to claim 1 or 2.
4. the operation by the user includes an operation of designating a range within the editing screen, the operation being performed in a state in which at least one object is selected; the selection conditions include a fifth selection condition for selecting all objects other than the selected object, and a sixth selection condition for selecting all objects of a type different from the selected object; 4. The editing method according to claim 1, wherein the editing method is a method for editing a file.
5. The computer, while an operation for designating a range within the editing screen is being performed, changing display of the objects so that objects that can be selected based on the selection conditions are highlighted compared to objects that cannot be selected; 5. The editing method according to claim 3 or 4.
6. the operation by the user includes an operation of selecting at least one object; the selection condition includes an operation of designating one of a seventh selection condition for selecting an object of the same type as the selected object, an eighth selection condition for selecting an object of a different type from the selected object, and a ninth selection condition for selecting all objects except the selected object; 5. The editing method according to claim 1, wherein the editing method is a method for editing a file.
7. The editing screen is a screen for editing a layout of an object to be printed on a print medium. The editing method according to any one of claims 1 to 6.
8. Displaying an editing screen on the display unit that allows editing of the layout of the object; making it possible to switch a selection condition for each of the objects on the editing screen to be in either a selected state or a non-selected state based on an operation by a user; A program that causes a computer to execute a process.
9. A control unit that displays an editing screen on a display device on which the layout of objects can be edited, and that makes it possible to switch a selection condition for placing each of the objects on the editing screen in either a selected state or a non-selected state based on an operation by a user. An information processing device comprising:
10. A printing unit that prints on a print medium; a control unit that displays an editing screen on a display unit, on which a layout of objects to be printed on a print medium can be edited, and that makes it possible to switch a selection condition for each of the objects on the editing screen to be either in a selected state or in a non-selected state based on an operation by a user; A printing device comprising:
Citation Information
Patent Citations
Document editing device
JP1993081393A
Method and device for correcting graphic
JP1993143706A
Graphic editor
JP1994149963A
Graphic editing device
JP1995152922A
Method and system for graphic selection
JP1995271994A
