This application claims priority from JP 2005-331016, filed Nov. 16, 2005, the contents of which are hereby incorporated by reference.
The disclosure relates to a document processing apparatus, and more particularly to a positioning method of a cursor when changing over a display screen.
Japanese Patent Application Laid-open No. H1 (1989)-85050 discloses, for example, a document processing apparatus comprising a keyboard, a display unit, and a printing mechanism, and capable of printing characters and symbols on a tape as a printing medium (the tape width variable in 6, 9, 12, 18, 24 mm), and a document processing apparatus for printing on a tape label to be adhered to the spine of a file is developed, and various editing functions are proposed to be added to the document processing apparatus.
In the document processing apparatus, tape width can be changed by exchanging the tape cassette, and the characters are printed in a character size suited to the tape width.
Recently, in a specific display mode, a document processing apparatus includes a display screen showing a print image same as characters printed on a tape. In a conventional document processing apparatus, however, since the display size of characters shown in the display screen is not changed, when printing in plural lines, the character size on the display screen becomes too small to be seen, and convenience of use is not sufficient.
Accordingly, a new document processing apparatus is proposed in Japanese Patent Application Laid-open No. H9 (1997)-44483, in which magnifying range specifying device for specifying a magnifying range is provided for magnifying, characters displayed as required in order to enhance convenience of use, and when the cursor is positioned in the middle of a line specified by the magnifying range specifying device, the cursor is moved to the center of the display when changing the display screen, or when the cursor is positioned at the beginning of a line specified by the magnifying range specifying device, the cursor is moved to the left end of the display when changing the display screen.
By this magnifying range specifying device, the technology of improving the convenience of use by magnifying and displaying characters as required is a very effective technology from the viewpoint of improving the visibility.
However, when changing over the display screen, the technology for moving the cursor positioned in the middle of a line to the center of the display or the technology for moving the cursor positioned at the beginning of a line to the left end of display screen is an automatic operation for determining the display position regardless of the flow of operations. The user may lose sight of the cursor by an accidental move of the cursor, or may perform operation feeling uncomfortable or stressed.
The disclosure is conceived to solve these problems, and it is hence an object thereof to present a document processing apparatus capable of storing an input history of character data and command data being inputted with an input device, and expressing the cursor at an optimum position by analyzing the input frequency when changing the display screen, so that the user can perform operation without feeling uncomfortable or stressed.
To achieve the purpose of the disclosure, there is provided a document processing apparatus comprising: an input device that is used for inputting character data and various kinds of command data; a display unit that has a display screen to display the character data on the display screen; a size setting device that sets a magnified and reduced display size of the character data shown in the display unit; a range specifying device that specifies a display range of the character data; a cursor that indicates an input position at which one of the character data and the command data is inputted with the input device on the display screen of the display unit; a history storing device that stores an input history of the character data and the command data being inputted with the input device; an analyzing device that analyzes the input history of the character data and the command data being inputted to the history storing device; and a display control device that displays the cursor at a specified position that is determined by analytical results of the input history of the data being analyzed in the analyzing device, the input history of the data being inputted to the history storing device, when a change of the display screen of the display unit is performed by the size setting device, and further displays the display range of the character data, which is changed in the range specifying device in consequence of displaying the cursor at the specified position.
The document processing apparatus of the disclosure comprises a document processing apparatus comprising: an input device that is used for inputting character data and various kinds of command data; a display unit that has a display screen to display the character data on the display screen; a size setting device that sets a magnified and reduced display size of the character data shown in the display unit; a range specifying device that specifies a display range of the character data; a cursor that indicates an input position at which one of the character data and the command data is inputted with the input device on the display screen of the display unit; a history storing device that stores an input history of the character data and the command data being inputted with the input device; an analyzing device that analyzes the input history of the character data and the command data being inputted to the history storing device; and a display control device that displays the cursor at a specified position that is determined by analytical results of the input history of the data being analyzed in the analyzing device, the input history of the data being inputted to the history storing device, when a change of the display screen of the display unit is performed by the size setting device, and further displays the display range of the character data, which is changed in the range specifying device in consequence of displaying the cursor at the specified position. Therefore, the flow of operations by the user can be shown by the history storing device, and the flow of operations is analyzed by the analyzing device. When the display range is changed by the size setting device, the cursor position on the display can be moved to an optimum position by predicting the operation by the user. As a result, if the display screen is changed by the size setting device, the user can continue an editing operation without losing sight of the cursor or feeling uncomfortable. Therefore, the user can easily recognize the content of editing. The workload by editing can be lessened for the user. Using these devices prevent the user from feeling uncomfortable in the operation, so that a display unit of a relatively small size can be adopted, which contributes greatly to reduction of the cost.
A first exemplary embodiment for carrying out the disclosure will be specifically described below with reference to the drawings.
This exemplary embodiment is an example of the disclosure applied in a document processing apparatus capable of printing various characters, such as alphabets, numerals and symbols on a print tape.
A schematic structure of a document processing apparatus 1 will be explained with reference to
As shown in
The keyboard 3 has character keys 3A for inputting alphabets, numerals and symbols, a space key 3B, a cursor up move key 3C, a cursor down move key 3D, a cursor left move key 3E and a cursor right move key 3F for moving a cursor K in up, down, left and right directions, a magnified display key 3G, a size setting key 3H for changing and setting format information including character decoration, a display character size and a print character size, a print key 3J for commanding print, a power key 3K for turning on and off the power supply, a delete key 3L for deleting a character forward, a backspace key 3M for deleting a character backward, and an execution key 3N for executing various setting processes.
The print mechanism PM will be briefly described in
At the overlap position of the laminate film tape 7 and the ink ribbon 9, a thermal head 15 is set up, and a platen roller 16 for pressing the laminate film tape 7 and the ink ribbon 9 to the thermal head 15, and a feed roller 17 for preparing a printed tape 19 by pressing the laminate film tape 7 and the double-sided adhesive tape 12 against the press roller 14 are rotatably supported on a roller holder 18 rotatably pivoted on the main body frame 2. A heating element group consisting of 128 heating elements is arrayed on the thermal head 15 in the vertical direction.
Therefore, by driving of a tape feeding motor 45 (see
A tape cutter 30 for automatically cutting the printed tape 19 will be described briefly in
The printed tape 19 printed with the thermal head 15 is guided from the tape cassette CS to the outside of the main body frame 2 through the gap between the fixed blade 32 and the movable blade 35, and by the cutting motor 46 driven by a cutting signal, the rear end of the operation lever 34 is swung vertically through the swinging drive mechanism, and the movable blade 35 comes closer to the fixed blade 32, and the printed tape 19 is cut by these two blades 32 and 35.
A control system of the document processing apparatus 1 will be explained in
An input and output (I/O) interface 50 of a control device C is connected to various units including a keyboard 3, a cassette sensor 42, a display controller (a LCDC) 23 having a video RAM 24 for outputting display data to the liquid crystal display (the LCD) 22, a drive circuit 44 for an alarm beeper 43, a drive circuit 47 for driving the thermal head 15, a drive circuit 48 for driving the tape feeding motor 45, and a drive circuit 49 for driving the cutting motor 46.
The control device C includes a CPU 52, the I/O interface 50 connected to the CPU 52 through a bus 51 such as a data bus, the CGROM (a character generator ROM) 53, a ROM 55, a RAM 60, and others.
The CGROM 53 stores dot pattern data for displaying and printing, as character font data, relating to each one of multiple characters including alphabets, numerals and symbols, in relation to the code data for the portion of eight sizes (7, 10, 16, 24, 32, 48, 64, 96 dots) in each font type (Gothic font, Mincho font and others) as shown in
The ROM 55 preliminarily stores a control program of the tape print control for displaying the characters being inputted with the keyboard 3 in the liquid crystal display 22 and printing on the tape, a print drive control program for sequentially reading out the data of a print data buffer 65, and driving the thermal head 15 and the tape feeding motor 45, and the character size conversion table (see
Relating to the RAM 60, document data being inputted with the keyboard 3 is stored in a text memory 61. A parameter memory 62 stores a pointer value SP of a starting address pointer indicating the starting address of the text memory 61, an end address pointer value EP indicating the end address, a data count value DC, and other data. A print layout position information memory 63 stores the print position information in a display data buffer 64 of characters and symbols to be displayed.
The display data buffer 64 stores display dot image data synthesizing display dot pattern data of characters and symbols being inputted, and a print data buffer 65 stores the print dot image data synthesizing the print dot pattern data corresponding to characters and symbols to be printed. A key operation history buffer 66 stores a key operation history obtained by the operation of the keyboard 3 in the sequence of a key operation. When the key operation history exceeds a predetermined number (five in this exemplary embodiment), the oldest history is deleted. A magnified display flag 67 judges a standard display or a magnified display, and the flag status OFF showing the standard display at the time of initializing is stored. Every time the display size setting key is pressed, the status of the magnified display flag 67 is inverted, and the flag status is stored. When the magnified display flag 67 is ON, a magnified display guidance KG (see
Operations of the document processing apparatus 1 will be explained with reference to the flowcharts in
The operation will be explained, starting from
Next, the print image display process is executed, that is, characters and symbols stored in the text memory 61 are displayed in the print image (S2). This print image display process will be explained later.
When it is judged that the key input is made (S3: Yes), the key operation history is stored in the key operation history buffer 66 in the sequence of key operations. In the case of no key input (S3: No), it waits. When the key operation history exceeds a specified number (five in the exemplary embodiment), the oldest history is deleted (S4).
When the size setting key 3H is operated (S3, S5: Yes), the character size setting process is executed (S6). In this character size setting process shown in
After the initial setting process (S1), when any one of cursor move keys 3C, 3D, 3E, 3F is operated (S3: Yes, S5: No, S7: Yes), the cursor move process is executed (S8). The cursor K is indicated by the vertical line so that a character may be inputted at the left side of the cursor K as shown in
When the magnified display key 3G is operated (S3 Yes, S5, S7: No, S9: Yes), the magnified display flag 67 and the magnified display guidance KG are inverted (S10, S11). When the magnified display flag 67 is ON, the line indicated by the cursor K is magnified and displayed as shown in
Since the magnified display flag 67 is turned off in the initial setting process (S1), the display is standard at the beginning. Every time the magnified display key 3G is operated repeatedly, the magnified display flag 67 is inverted from ON to OFF, or OFF to ON, and the magnified display and the standard display are switched alternately. At the same time, the magnified display guidance KG is lit on and off alternately.
When keys other than the size setting key 3H, cursor move keys 3C, 3D, 3E, 3F, and the magnified display key 3G is operated, the process corresponding to the key operated is executed (S11). For example, when printable keys are operated such as alphabet keys, symbol keys, and numeric keys (3A) (S3: Yes, S5: No, S7, S9: No), the code data of the character corresponding to the printable key operated is stored in the text memory 61 as the document data, and the print image display process control is executed (S2).
When the print key 3J is operated, the print process is executed, and the process returns to S2. This print process will be briefly described. The format information and the character code are sequentially read out from the text memory 61 shown in
With reference to
When this process is started, data in the text memory 61 is searched sequentially from the starting address, and the layout position information for printing in order to develop the dot pattern data for printing in the print data buffer 65 is determined about each one of characters and symbols to be printed, on the basis of the format information, the character code, and the line feed code, and the layout position information for printing is stored in the layout position information memory 63 (S30). The layout position information for printing is determined from the format information, the character code, the line feed code, and the dot pattern data for printing shown in
A process of converting from the layout position information for printing to the layout position information for displaying will be explained. In the magnified display of the display screen of the liquid crystal display 22, the number of characters to be displayed is supposed to be four characters.
When the magnified display flag 67 is ON (S31: Yes), first to create the layout position information for displaying relating to the data included in the cursor line, the data in lines other than the cursor line is deleted (S32). The layout position information for printing shown in
Subsequently, it is judged if the final key operation of the keyboard 3 is the magnified display key 3G or not (S35). If the final key operation of the keyboard 3 is not the magnified display key 3G (S35: No), the process skips to S66, the operation continues to the process corresponding to the keys operated according to the setting by the time. Advancing further to S67 in
At S36, on the basis of the operation history of the key operation history buffer 66 stored at S4, the operation history is averaged by weighting on each operation stored in the key operation history buffer 66 in order of inputting from the latest operation.
For example, starting from the latest operation in the key operation history buffer 66, in the case that the operation history is stored in the sequence of the operation of the cursor left move key 3E, the operation of the character key 3A, the operation of the cursor down move key 3D, and the operation of the cursor left move key 3E, the history is averaged as follows by weighting on each of the operations by “2×(4−n)” on the basis of the sequence “n” from the latest operation.
Cursor left move key operation: 2×(4−0)+2×(4−4)=8
Character key operation: 2×(4−1)+2×(4−2)=10
Cursor down move key operation: 2×(4−3)=2
By averaging the operation history, the latest key operation immediately before the operation of the magnified display key 3G is judged to be the operation of the character key 3A of the largest value.
Herein, since the averaging operation of the operation history of the keyboard 3 is performed according to classification of editing operations including the character input operation by the character key 3A, the forward delete operation by the delete key 3L, the backward delete operation by the backspace key 3M, the left move operation of the cursor K by the cursor left move key 3E, the right move operation of the cursor K by the cursor right move key 3F, the up move operation of the cursor K by the cursor up move key 3C, and the down move operation of the cursor K by the cursor down move key 3D, it is judged that the result of the averaging operation of the operation history by the operation of the keyboard 3 at S36 is any one of the editing operations, and the position of the cursor K in the LCD 22 is decided by this judgment.
Accordingly, first of all, it is judged if the result of the averaging operation of the operation history by the operation of the keyboard 3 at S37 in
At S39, it is judged if it is the forward delete operation by the delete key 3L or not. If it is judged to be the forward delete operation of the character (S39: Yes), the process advances to S40, as shown in
At S41, it is judged if it is the backward delete operation by the backspace key 3M or not. If it is judged to be the backward delete operation of the character (S41: Yes), the process advances to S42, as shown in
At S43, it is judged if it is the left move operation of the cursor K by the cursor left move key 3E or not. If it is judged to be the left move operation of the cursor K (S43: Yes), the process advances to S44, as shown in
At S45, it is judged if it is the right move operation of the cursor K by the cursor right move key 3F or not. If it is judged to be the right move operation of the cursor K (S45: Yes), the process advances to S46, as shown in
At S47, it is judged if it is the up move operation of the cursor K by the cursor up move key 3C or not. If it is judged to be the up move operation of the cursor K (S47: Yes), the process advances to S48, as shown in
At S49, it is the down move operation of the cursor K, as shown in
Returning to S31 in
For example, when the print height is 96 dots and the display height is 32 dots, or equivalently, when the size ratio of the print character and the display is 3:1, the X position, the Y position, and the layout position information for printing of the character width are all multiplied by one thirds, and the layout position information for displaying of the data in the text memory 61 is determined.
Subsequently, it is judged if the final key operation of the keyboard 3 is the magnified display key 3G or not (S51). If the final key operation is not the magnified display key 3G (S51: No), the process advances to S66, the process corresponding to the keys operated according to the setting by the time continues. At S67 in
At S52, on the basis of the operation history of the key operation history buffer 66 stored at S4 in
Accordingly, at S53 in
At S55, it is judged if the operation is the forward delete operation by the delete key 3L or not. If it is judged to be the forward delete operation of the character (S55 Yes), the process advances to S56, as shown in
At S57, it is judged if the operation is the backward delete operation by the backspace key 3M or not. When it is judged to be the backward delete operation of the character (S57: Yes), the process advances to S58, as shown in
At S59, it is judged if the operation is the left move operation of the cursor K by the cursor left move key 3E or not. When it is judged to be the left move operation of the cursor K (S59: Yes), the process advances to S60, as shown in
At S61, it is judged if the operation is the right move operation of the cursor K by the cursor right move key 3F or not. When it is judged to be the right move operation of the cursor K (S61: Yes), the process advances to S62, as shown in
At S63, it is judged if the operation is the up move operation of the cursor K by the cursor up move key 3C or not. When it is judged to be the up move operation of the cursor K (S63: Yes), the process advances to S64, as shown in
At S65, the remaining operation is the down move operation of the cursor K, and as shown in
At S67 in
The character code, the X position, the Y position, the character width, the format information, and the pointer to the text memory in the layout position information memory 63 are composed of two bytes each. Next, the address portion of 12 times of the data count value DC is added to the starting address, and the data group of search addresses is read out (S68). The text data corresponding to the data group being read out is judged to be present within the display range set at S30 to S65 or not (S69). The judging process at S69 will be described below.
If the following condition is satisfied, the text data being read out is judged to be within the display range specified. The condition is as follows: specified display start X position<display layout of the data read-out X position+character width of display layout position information of the data read-out, and specified display start X position+display lateral width (right end X position of display)>display layout of the data read-out X position.
For example, as shown in
At this time, when character data “B” is read out, X0 (display start X position) is smaller than X1 (display layout X position of character “B”)+X2 (X position of character width W2 of character data “B”). Further, X0 (display start X position)+Xd (X position of lateral width of display) is larger than X1 (display layout X position of character “B”), and therefore the character data “B” is judged to be within the display range specified.
Thus, when the two conditions above are satisfied, it is judged that the data read-out is within the display range (S69: Yes), and the display image generation of the data is performed (S70, S71).
On the other hand, when the following condition is satisfied, it is judged that the data read-out is not within the display range specified. The condition is as follows: specified display start X position≧display character layout of the data read-out X position+character width of display layout position information of the data read-out, or specified display start X position+display lateral width (right end X position of display)≦display layout X position of the data read-out.
For example, as shown in
At this time, when the character data “A” is read out, X0 (display start X position) is larger than X1 (display layout X position of character “A”)+X2 (X position of character width W1 of the character data “A”), and therefore the character data “A” is judged to be out of the display range specified.
When the above conditions are satisfied, the data read-out is judged to be out of the display range (S69: No), and the process advances to S72 by skipping S70 and S71 for generation of the display image.
When the generation of the display image is started, the print character size included in the format information in the data read-out is converted to the display character size by the character size conversion table (S70).
For example, as shown in
However, since the height of the liquid crystal display 22 is 32 dots, the maximum character size for the display is 32 dots, in the magnified display mode. Therefore, whether the print character size SZ is set at 64 dots or 48 dots, it is converted to 32 dots by the character size conversion table in the magnified display mode. Thus, if the print character size SZ is 48 dots or more, it is all converted to 32 dots in the magnified display mode. Therefore, if the print character size SZ is set at 48 dots or more, the original character size is hardly to be known in the magnified display mode. However, the X position and the character width W of the display layout position information are determined on the basis of the print layout position information. Therefore the character interval of characters displayed on the liquid crystal display 22 differs depending on the specified print character size. Hence, the original print character size may be estimated from the difference in the character interval on the display.
On the basis of the display character size determined, the character code, and the format information, characters and symbols of the display character size specified and the dot pattern data for displaying are read out from the CGROM 53, and stored in the display data buffer 64 (S71).
Then, the data count value DC is incremented by one (S72). If the search address adding address portion of 12 times of the data count value DC to the current address pointer value (current address) CP determined at S68 does not coincide with the address indicated by the end address pointer value EP (S73: No), the process returns to S68, the data group of the search address determined at S73 is read in. When they are coincides, on the other hand (S73: Yes), the dot image data for displaying developed and stored into the display data buffer 64 is outputted to the video RAM 24, and displayed in the liquid crystal display 22 (S74). This control is terminated, and returned to the print image display process at S2 in
As specifically described above, the document processing apparatus 1 in the first exemplary embodiment comprises the input device that is used for inputting the character data such as characters and symbols and various command data, the liquid crystal display 22 that is capable of displaying the character data in the display screen, the size setting device that sets the magnified or reduced display size of character data to be displayed in the liquid crystal display 22, the range specifying device that specifies the display range of the character data, the cursor K that indicates the input position of the character data and the command data by the input device on the screen of the liquid crystal display 22, the history storing device that stores the input history of the character data and the command data being inputted by the input device, the analyzing device that analyzes the data being inputted in the history storing device, and the display control device for analyzing the data being inputted in the history storing device by the analyzing device when the display screen of the liquid crystal display 22 is changed over by the change of the size setting device, and changes the display range of the character data due to the display of the cursor K at the position determined on the basis of the result of the analysis, and displays at the predetermined position of the cursor K by the range specifying device. Accordingly, the flow of the operation by the user is known by the history storing device, and by analyzing the flow of the operation by the analyzing device, when the display screen of the liquid crystal display 22 is changed by the size setting device, the position of the cursor K in the liquid crystal display 22 can be moved to an optimum position for operation by predicting the operation of the user. Therefore, if the display screen of the liquid crystal display 22 is changed by the size setting device, the user can continue the editing work comfortably without losing sight of the cursor K, thereby easily finding the contents of editing by the time. As a result, this can lighten the workload for the user. These mechanisms provide ease of use, so that the liquid crystal display 22 of the relatively small size can be adopted, which may contribute greatly to the reduction of the cost.
In the document processing apparatus 1, when the display screen of the liquid crystal display 22 is changed by the size setting device, the analyzing device analyzes the flow of the operation by the input frequency of the character data and the command data being inputted by the time. The position of the cursor K of the liquid crystal display 22 is moved to an optimum position for the operation by predicting the operation by the user. Further, the input frequency is calculated by weighting on each data being inputted to the history storing device in order of inputting from the data inputted most immediately before the change of the display screen of liquid crystal display 22, so that the result conforming to the flow of operation can be obtained.
In the document processing apparatus 1, the analyzing device is designed to calculate the input frequency of the character data and the command data, and to judge the editing operation of the maximum value of the result as the editing operation executed immediately before the change of the display screen of the liquid crystal display 22, so that the direction of the operation can be determined in the flow of the entire editing operation.
In the document processing apparatus 1, the analyzing device is designed to calculate the input frequency of the character data and the command data according to the classification of editing operations including the character input operation, the character forward delete operation, the character backward delete operation, the cursor left move operation, the cursor right move operation, the cursor up move operation, and the cursor down move operation. Therefore when the display screen of the liquid crystal display 22 is changed by the size setting device, the position of the cursor K on the liquid crystal display 22 can be moved to the optimum position conforming to the operation contents by predicting the operation of the user. Accordingly, the user can continue the editing operation comfortably without losing sight of the cursor K.
In the document processing apparatus 1, the analyzing device calculates the input frequency of the character data and the command data, and when it is judged that the character input operation has been done immediately before the change of the display screen of the liquid crystal display 22, the cursor K is set to the position one character leftward from the right end of the liquid crystal display 22 while maintaining the layout of the cursor K and the character immediately before the change of the display screen of the liquid crystal display 22, and therefore even after the display screen of the liquid crystal display 22 is changed by the size setting device, the user can continue the character input operation while confirming characters being inputted. Hence the user can continue the editing operation comfortably.
In the document processing apparatus 1, the analyzing device calculates the input frequency of the character data and the command data, and when it is judged that the character forward delete operation has been done immediately before the change of display screen of the liquid crystal display 22, the cursor K is set to the position one character rightward from the left end of the liquid crystal display 22 while maintaining the layout of the cursor K and the character immediately before the change of the display screen of the liquid crystal display 22. Therefore even after the display screen of the liquid crystal display 22 is changed by the size setting device, the user can continue the forward delete operation while confirming the character to be deleted, and the character is not deleted by mistake, and hence extra character input operation due to the wrong deletion of the character can be avoided.
In the document processing apparatus 1, the analyzing device calculates the input frequency of the character data and the command data, and when it is judged that the character backward delete operation has been done immediately before the change of the display screen of the liquid crystal display 22, the cursor K is set to the position one character leftward from the right end of the liquid crystal display 22 while maintaining the layout of the cursor K and the character immediately before the change of the display screen of the liquid crystal display 22, and therefore even after the display screen of the liquid crystal display 22 is changed by the size setting device, the user can continue the backward delete operation while confirming the character to be deleted, and the character is not deleted by mistake, and hence extra character input operation due to the wrong deletion of the character can be avoided.
In the document processing apparatus 1, the analyzing device calculates the input frequency of the character data and the command data, and when it is judged that the left move operation of the cursor K has been done immediately before the change of the display screen of the liquid crystal display 22, the cursor K is set to the position one character leftward from the right end of the liquid crystal display 22 while maintaining the layout of the cursor K and the character immediately before the change of the display screen of the liquid crystal display 22, and therefore even after the display screen of the liquid crystal display 22 is changed by the size setting device, the user can continue the left move operation of the cursor K while confirming the location to be moved of the cursor K, and hence the cursor K can be stopped securely at the location specified without overrunning.
In the document processing apparatus 1, the analyzing device calculates the input frequency of the character data and the command data, and when it is judged that the right move operation of the cursor K has been done immediately before the change of the display screen of the liquid crystal display 22, the cursor K is set to the position one character rightward from the left end of the liquid crystal display 22 while maintaining the layout of the cursor K and the character immediately before the change of the display screen of the liquid crystal display 22, and therefore even after the display screen of the liquid crystal display 22 is changed by the size setting device, the user can continue the right move operation of the cursor K while confirming the location to be moved of the cursor K, and hence the cursor K can be stopped securely at the location specified without overrunning.
In the document processing apparatus 1, the analyzing device calculates the input frequency of the character data and the command data, and when it is judged that the up move operation of the cursor K has been done immediately before the change of display screen of the liquid crystal display 22, the cursor K is set to the position one character rightward from the position in the middle of the liquid crystal display 22 while maintaining the layout of the cursor K and the character immediately before the change of the display screen of the liquid crystal display 22, and therefore even after the line is moved up and the display screen of the liquid crystal display 22 is changed by the size setting device, the user can see before and after the cursor K, and can instantly recognizes which direction the cursor K is to be moved in.
In the document processing apparatus 1, the analyzing device calculates the input frequency of the character data and the command data, and when it is judged that the down move operation of the cursor K has been done immediately before the change of the display screen of the liquid crystal display 22, the cursor K is set to the position one character rightward from the position in the middle of the liquid crystal display 22 while maintaining the layout of the cursor K and the character immediately before the change of the display screen of the liquid crystal display 22. Therefore even after the line is moved down and the display screen of the liquid crystal display 22 is changed by the size setting device, the user can see before and after the cursor K, and can instantly recognizes which direction the cursor K is to be moved in.
When the history data stored in the history storing device exceeds a specified number, it is designed to delete the oldest history data first, and the storage capacity of the RAM 60 including the key operation history buffer 66 can be avoided being increased excessively. The input frequency is calculated by the new history data of the character data and the command data, and the editing operation of the maximum of the calculated values is judged to be the editing operation immediately before the change of the display screen of the liquid crystal display 22, and hence the precision of judging is enhanced.
A second exemplary embodiment of the disclosure will be described below with reference to
The document processing apparatus 1 in the second exemplary embodiment is basically the same with the operation as the document processing apparatus 1 in the first exemplary embodiment, except that the magnified display of the display screen of the liquid crystal display 22 carries three characters in the document processing apparatus 1 in the second exemplary embodiment, as compared with four characters in the document processing apparatus 1 in the first exemplary embodiment. The document processing apparatus 1 in the second exemplary embodiment will be explained below mainly with reference to different points from the document processing apparatus 1 in the first exemplary embodiment, and the same parts are identified with same reference numerals.
What differs from the document processing apparatus 1 in the first exemplary embodiment lies in the flowchart of the first exemplary embodiment shown in
First of all, it is judged if the result of the averaging operation of the operation history by the operation of the keyboard 3 at S87 is the character input operation by the character key 3A or not. If it is judged to be the character input operation (S87: Yes), the process advances to S88, as shown in
At S89, it is judged if the operation is the forward delete operation by the delete key 3L or not. If it is judged to be the character forward delete operation (S89: Yes), the process advances to S90, as shown in
At S91, it is judged if the operation is the backward delete operation by the backspace key 3M or not. If it is judged to be the character backward delete operation (S91: Yes), the process advances to S92, as shown in
At S93, it is judged if the operation is the cursor K left move operation by the cursor left move key 3E or not. If it is judged to be the cursor K left move operation (S93: Yes), the process advances to S94, as shown in
At S95, it is judged if the operation is the cursor K right move operation by the cursor right move key 3K or not. If it is judged to be the cursor K right move operation (S95: Yes), the process advances to S96, as shown in
At S97, it is judged if the operation is the cursor K up move operation by the cursor up move key 3C or not. If it is judged to be the cursor K up move operation (S97: Yes), the process advances to S98, as shown in
At S99, the remaining operation is the cursor K down move operation, as shown in
As explained herein, in the document processing apparatus 1 of the second exemplary embodiment, the result of the averaging operation of the keyboard 3 is classified as any one of the editing operations including the character input operation by the character key 3A, the forward delete operation by the delete key 3L, the backward delete operation by the backspace key 3M, the cursor K left move operation by the cursor left move key 3E, the cursor K right move operation by the cursor right move key 3F, the cursor K up move operation by the cursor up move key 3C, and the cursor K down move operation by the cursor down move key 3D, and by locating the cursor K at the position suited to the editing operation on the display screen of the liquid crystal display 22, the user can operate the document processing apparatus 1 comfortably even if the characters to be displayed is small in number. As a result, the workload can be alleviated for the user.
While the presently exemplary embodiment has been shown and described, it is to be understood that this disclosure is for the purpose of illustration and that various changes and modifications may be made without departing from the scope of the disclosure as set forth in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2005-331016 | Nov 2005 | JP | national |