Document processing apparatus

Abstract: A document processing apparatus such as word processor or electronic typewriter having a display comprises: a pattern generator to generate a plurality of kinds of character patterns; a selecting key to select the kind of at least the character pattern to be output; a decoration information designating key to designate decoration information for the kind of the selected character pattern; a modifying circuit to modify the generated character pattern on the basis of the designated decoration information; an instructing key to instruct to confirm the kind of the selected character pattern and the designated decoration information; a display to display the character pattern generated from the pattern generator; and a controller for constructing each of the character patterns constructing the kind name of the selected character pattern by the character pattern of the name of the selected kind and modifying by the modifying circuit in accordance with the instruction of the instructing key and displaying the name of the kind of the selected character pattern by the display. A font memory is used as a pattern generator. With the apparatus, the designated character kind and decoration information can be confirmed at a glance while efficiently using the document editing display screen.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to a document processing apparatus and, more particularly, to a document processing apparatus which is represented by a word processor or electronic typewriter having a display. Related Background Art In recent years, a print document having a high quality could have been formed due to the advancement of a printing apparatus of the dot matrix type such as thermal printer, laser beam printer, or the like. On the other hand, not only the quality of the print character was improved but also it is possible to print by freely combining character fonts such as Ming-style character, Gothic-style character, and the like, character styles such as blank character, shadow character, and the like, various large and small character sizes. A variety of output results can be obtained as compared with the conventional type printers. Further, if a display of the graphics type is used, various fonts, styles, and sizes of print characters can be also expressed on the display, so that a beautiful document can be formed. In such a document processing apparatus which can print a number of various kinds of characters, it is necessary to inform the character font and style which are selected and used at present to the operator by some method. Particularly, such a function is inevitable to an apparatus such as an electronic typewriter which immediately prints characters by the input of a document. Although there has already existed an apparatus which can individually display and inform the character font name, character style, and character size which were selected for the above purpose, there is a drawback such that it is difficult to display such information and the displaying operation is complicated in the case of a small display. The present invention is made in consideration of the above problems and it is a concern of the invention to provide a document processing apparatus which can confirm the designated character kind and decoration information at a glance while efficiently using a document editing display screen. In accordance with the present invention there is provided document processing apparatus as set out in claim 1. Embodiments of the present invention will now be described by way of example. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic diagram showing a construction of a document processing apparatus in an embodiment; Fig. 2 is a diagram showing table contents of character font names in the embodiment; Fig. 3 is a diagram showing a display example of a character font name to be realized according to the embodiment; and Fig. 4 is a flowchart showing a control processing content in the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment according to the present invention will be described in detail hereinbelow with reference to the drawings. Fig. 1 is a block arrangement diagram of a document processing apparatus in the embodiment. In the diagram, reference numeral 1 denotes a CPU to control a whole apparatus. The CPU 1 operates in accordance with programs stored in an ROM 2. In addition to the program regarding document editing processes, a program regarding a flowchart of Fig. 4, which will be explained hereinlater, has been stored in the ROM 2. Reference numeral 3 denotes a keyboard having character keys corresponding to keys to be printed, keys (type style keys) to change a character font, a character style, and a character size, and keys to designate various functions. Reference numeral 4 denotes a character font ROM in which dot patterns constructing various kinds of characters have been stored. In the embodiment, the dot pattern data of one fundamental style and one fundamental size of each of four kinds of character fonts has been stored in the ROM 4. Reference numeral 5 denotes an RAM which is used as a work area of the CPU 1. The following areas are provided in the RAM 5. Data which was input from the keyboard 3 is stored as a code into a text buffer 6. Ordinarily, the dot pattern corresponding to the code stored in the text buffer 6 is read out of the font ROM 4 and is displayed by a display 13. A font buffer 7 is used to modify the dot pattern. The dot pattern which was read out of the font ROM 4 is stored into the font buffer 7 and is modified into the selected character style and character size. As a modifying process, there can be mentioned a deformation into, for instance, an underlined character, an oblique character, or a blank character or a variable magnifying process into a vertically double-scale character in which one dot is made correspond to two dots in the vertical direction or the like. A font number 8 denotes a memory area to store the number corresponding to the kind of the selected character font. A style number 9 denotes a memory area to store the number corresponding to the selected character style. One character style (underlined character, oblique character, blank character, or the like) corresponds to each number. A size number 10 denotes a memory area to store the number of the selected character size. One character size (full-scale character, vertically double-scale character, or the like) corresponds to each number. A work 11 denotes a memory area which is used as a temporary work area. A video RAM (VRAM) 12 is an RAM in which one bit corresponds to one display pixel of the display 13. In other words, the display screen of the display 13 corresponds to the VRAM 12 in a one-to-one corresponding relation. This means that if the operator wants to display data, it is sufficient to write the data into the VRAM 12. Reference numeral 14 denotes a printer to print the edited document. Fig. 2 shows a table of font names which can be displayed in the embodiment. The table has been stored in the font ROM 4. On the other hand, the table also corresponds to the data in which either one of the numerical values written on the left side of the font names in the table is stored into the font number 8. The outline of the operation of the document processing apparatus in the embodiment with the above construction will now be described hereinbelow. Ordinary document forming and editing processes are executed by depressing the keys from the keyboard 3 in a manner similar to the conventional one. However, to confirm or change the character kind, character style, size, and the like which have been designated at present, the type style key provided on the keyboard 3 is depressed. Thus, the font name indicative of the character kind is displayed by the designated style and size into a portion of the display screen which has displayed the key-input characters so far. During this period of time, the type style key is held depressed. However, after the character kind, character style, size, and the like could be confirmed, the type style key is released from the pressing state, so that the processing routine is returned to the editing process. For instance, assuming that "TIMES" (therefore, "2" is stored in the font number 8) was designated as a character kind and an underlined oblique character was designated as a style and a vertically double-scale size was designated as a size, by depressing the type style key, a display content as shown in Fig. 3 is obtained. As described before, after the operator could confirm the above data by looking at the display content, it is sufficient to remove the hand from the type style key. However, in the case of changing the character kind or the like, the operator depresses the numeral keys of "1" to "3" with the type style key depressed. When the "1" key is depressed while depressing the type style key, a selecting process (numerical value changing process of the font number 8) to the character kind which was selected by the operator is executed. In a manner similar to the above, when the "2" key was depressed, the selecting process of the character style is performed. When the "3" key was depressed, the size selecting process is executed. It is now assumed that each of the selecting processes is performed by displaying the selection items by the display screen in a menu style and by selecting desired one of the selection items. However, each of the selecting processes can be also performed by a method other than the above method. After any one of the above selecting processes was executed, the data in the font number 8, style number 9, size number 10, or the like corresponding to the selecting process is updated and the processing routine is returned to the document editing process. To realize the above processes, the CPU 1 in the embodiment carries out the processes in accordance with a flowchart shown in Fig. 4. The flowchart is executed when the depression of the type style key was detected upon document edition. First, in step S1, the font name corresponding to the data stored in the font number 8 is read out and the dot pattern is stored into the font buffer 7 by the corresponding font. In step S2, the dot pattern stored in the font buffer 7 is modified in accordance with the data in the style number 9. After that, step S3 follows and the variable magnifying process of the dot pattern in the font buffer 7 is executed in accordance with the data in the size number 10. Although the process to obtain an underlined character, the process to obtain an oblique character, the variable magnifying process, or the like in the modifying processes in steps S2 and S3 is executed by the well-known method, the modifying processes are not limited to them but a process to obtain a bold character and the like can be also likewise realized. On the other hand, in place of executing the above modifying process, a plurality of dot patterns which have previously been modified are prepared in another memory and they can be also read out and stored into the font buffer 7. After the dot patterns of the designated character kind name of the designated character kind, style, and size were obtained in the font buffer 7 as mentioned above, the processing routine advances to step S4. In step S4, the data which has already been stored at the location in the VRAM to be displayed is moved into the work 11. The data in the font buffer 7 is written at that position in step S5. In this manner, the display content as shown in Fig. 3 is derived. In Fig. 3, a window region has been opened in a part of the display screen and the data in the font buffer 7 has been displayed. However, it is also possible to execute the designated modifying process to the character pattern of the document which has already been stored in the VRAM and to display the modified character pattern. Such a process can be realized by moving the document data in the VRAM into another memory and executing the modifying process to the character pattern constructing the document and, thereafter, by returning the character data into the VRAM. In the next step S6, a check is made to see if the type style key is OFF (not depressed yet) or not. If only the type style key has been depressed or if the type style key is held depressed and the keys other than "1" to "3 " have been depressed, data as shown in Fig. 3 is displayed by the display 13. On the other hand, if the type style key is OFF, the processing routine advances to step S13 and the data which has been moved into the work 11 is written at the original position in the VRAM 12. Then, by returning to the main routine, the document editing process can be continued. On the other hand, if the type style key has been depressed and the depression of the "1" key has 20 been detected in step S7, step S8 follows and the font selecting process is executed. Then, the processing routine advances to step S13. Similarly, if the depression of the "2" key has been detected in step S9, the style selecting process is performed in step S10. If the depression of the "3" key has been detected in step S11, the size selecting process is executed in step S12. Then, step S13 follows. As described above, according to the embodiment, the designated character format can be confirmed at a glance while efficiently using the document editing display screen. Therefore, in the document processing apparatus having a small display, the designated character format can be confirmed while effectively using the whole display screen. In the flowchart of Fig. 4 mentioned above, explanation has been made with respect to an example in which after the selecting processes in steps S8, S10, and S12 were finished, the processing routine advances to step S13. However, the above process relates to a change in character format. To confirm the change content, the processing routine can be also returned to step S1 after completion of the above processes. The above embodiment has been described with respect to the case where four kinds of character patterns have been provided in the character font ROM 4 and the character style and size have been changed by modifying the dot pattern stored in the character font ROM 4. However, the dot patterns corresponding to all of the character styles and sizes can be also provided in the characrer font ROM 4. The character pattern can be also formed by using an outline font. In the embodiment, the font name has been displayed by using the character font corresponding to the font. However, since the kind of character font can be discriminated from the font name, it can be also displayed by using a special character font. Although the designated contents have been displayed by depressing the type style key in the embodiment, it is not limited to only the key but a switch or the like can be also used. Further, although not particularly mentioned in the embodiment, it has been assumed that the characters which are displayed by the display apparatus 13 have sequentially changed on the basis of the selected character kind. However, the invention can be also applied to an apparatus such that the character font is integrated to, for instance, "COURIER" for the characters which are being edited for raising a processing efficiency and the characters are printed by the designated character kind, style, and size in the printing mode.

Claims: A document processing apparatus comprising: pattern generating means (font ROM 4) for generating a plurality of different character patterns each having an individual name associated therewith; means (1, 3) for designating information for modifying the presentation of a selected character pattern; means (3) for confirming to the apparatus the selected character pattern and the designated information; means (1) for modifying characters of the selected character pattern in accordance with the designated information; and display means (13) for displaying character patterns, and characterised in display control means (1) for displaying on the display means the name associated with the selected character pattern modified in accordance with the designated information. An apparatus according to claim 1, wherein the pattern generating means is a font memory in which a plurality of different kinds of character patterns have been stored. An apparatus according to either claim 1 or claim 2, wherein the designated information includes information regarding the style of the selected character pattern and information regarding the size. An apparatus according to any preceding claim, wherein the selecting means, the designating means, and the confirming means are keys on a keyboard. An apparatus according to any preceding claim, further having: input means (3) for inputting characters; and means (14) for printing input characters in the format of the selected character pattern and modified in accordance with the designated information. An apparatus according to any preceding claim, further comprising memory means (font buffer 7) for storing a pattern indicating the name of a selected character pattern, and wherein said modifying means modifies the pattern stored in said memory means on the basis of the designated information. An apparatus according to any preceding claim, further comprising means (CPU1, see Fig. 3) for generating a window in said display means and wherein said display control means displays the pattern modified by said modifying means in said window.

Inventors: TAKAHASHI TSUTOMU, TAKAHASHI, TSUTOMU
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1990
Main classification: G06K15
IPC codes: G06F3, G09G5, G06F17, G06T11, G06K15