Abstract:
There is disclosed an apparatus and process for displaying the layout of text in a text preparing apparatus. In order to save the space on the display during layout display, the characters, symbols etc. are converted into plural display elements in compressed form to enable the operator to identify the species of the printed characters, symbols etc.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to an apparatus and process for displaying the layout of a text prepared in an electronic apparatus that functions to prepare text by editing entered character data, and more particularly to such an apparatus and process for enabling efficient layout operation by clearly indicating the species of the characters etc. in the text. 
     2. Description of the Prior Art 
     Electronic apparatus having the above-mentioned text preparing function, are already known to perform a process of displaying the layout of the prepared text by replacing each character with a small display element such as a group of plural dots. Such text layout display function is required in the above-mentioned electronic apparatus for the following reason. Since the display screen provided in such electronic apparatus can generally display only a limited number of characters, it is often not possible to confirm the layout of the prepared text on said display screen prior to the printout onto a recording sheet, if the characters are displayed in their original forms on the screen. Thus the characters, numerals, symbols etc. constituting the text are compressed by being replaced with the aforementioned display elements. The display elements are used for displaying the layout of the entire text in the limited space of the screen thereby enabling confirmation of the arrangement or layout of the characters etc. 
     However, in such conventional text layout display process, the same display element is used commonly for all the characters, numerals, symbols etc. in the text, so that it merely indicates the presence of a character or the like in the corresponding position but does not identify which character is present in which position. However, text preparation with such electronic apparatus often becomes easier if the positions of certain characters, for example particular symbols or numerals, are known, or if the operator can correlate the text layout on the screen with that of a handwritten draft. In such case the efficiency of text preparation will be significantly improved if the species of the characters, symbols etc. can be identified in the text layout display. 
     SUMMARY OF THE INVENTION 
     In consideration of the foregoing, an object of the present invention is to provide an apparatus and process for text layout display to indicate the layout of the entire prepared text on a display screen of limited space while indicating the category or species of characters, for example, alphabetic characters, numerals, marks, symbols and the like in the text prepared in the electronic apparatus, thereby improving the efficiency of text preparation. 
     Another object of the present invention is to provide an electronic apparatus having a text preparing function comprising means for discriminating the species of characters etc. in the text and means for selecting different display elements according to the species of said characters etc. in the text, thus being capable of text layout display by the arrangement of different display elements corresponding to the species of the characters etc. in the text. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram showing an embodiment of the structure of the text layout display apparatus of the present invention; 
     FIG. 2 is a flow chart showing the procedure of text layout display; 
     FIG. 3 is a schematic view of example of display elements to be employed in said text layout display; and 
     FIG. 4 is a schematic view showing an example of said text layout display. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     Now the present invention will be explained in detail with reference to an embodiment thereof shown in the attached drawings. 
     FIG. 1 shows an example of the structure of an apparatus adapted for text layout display in accordance with the present invention, wherein depicted are a central processing unit (CPU) 1 for controlling the entire apparatus; an input device 2 comprising a keyboard provided with keys representing characters, numerals, symbols etc., to be used for entering the text to be prepared and entering commands to the apparatus; a display device 3 for example comprising display pixels in 120×15 dot matrix form for displaying 2 lines of 20 characters each represented by a 5×7 dot matrix, thus indicating 2 lines of the prepared text or a response to the command of the operator; a printing device 4 for printing the prepared text; a main memory 5 for storing the prepared text (TEXT) and a control program (CP) shown in FIG. 2; and an auxiliary memory 6 for storing auxiliary data such as character font data and patterns representing the species of the characters etc. (FONT) and other various programs. The above-mentioned components 2 to 6 are connected to and controlled by the central processing unit (CPU) 1. 
     FIG. 2 shows a flow chart of the control procedure of for text layout display for the above-described apparatus, while FIG. 3 shows example of display elements corresponding to the characters, numerals, symbols etc. constituting the text, and FIG. 4 shows an example of text layout display of an English text by means of the above-mentioned display elements. Each of the display elements shown in FIG. 3 has a 3×3 dot matrix structure adapted for use in the preparation of an English text. 
     Now there will be given an explanation of the function of the above-described embodiment, while making reference to the above-described drawings. 
     In the course of text preparation, the characters entered by the key operations of the input device 2 are stored in succession in the text memory TEXT, and the corresponding patterns are obtained from the character font FONT of the auxiliary memory 6 and are displayed on the display device 3. The display only shows 20 characters×2 lines in the content of the memory TEXT, so that the displayed portion of the content of the memory TEXT is shifted in succession in response to the entry of characters into the memory TEXT. 
     Then, in response to the actuation of a key in the input device 2 for instructing text layout display, the codes of the characters etc. in the prepared text are taken out from the main memory 5 in a step S-1. Then a step S-2 discriminates the species of the codes of characters etc. in the central processing unit 1 and the layout display elements corresponding to the species of said codes are taken out as pattern data from the area FONT of the auxiliary memory 6 and stored in a display buffer memory DB. Then, in a step S-3, the display elements stored in said buffer memory DB are displayed on the layout display screen by activating the dot matrix pixels in the manner as shown in FIG. 4. Subsequently in a step S-4 it is discriminated whether the layout display operation is conducted for all the characters, numerals, symbols etc. in the prepared text, and the above-described layout display procedure is repeated until said operation is completed. 
     As will be apparent from the foregoing description, the present invention provides for the display on a display device of limited space of the layout of text prepared by an electronic apparatus having a text preparing function and indicates the arrangements of the characters etc. in the text by means of different display elements corresponding to the different species of the characters, numerals, symbols etc. constituting the text. Therefore, easy and secure correlation between the prepared text and the original draft is provided so that, the operator may grasp the status of the prepared text from the use of such layout display elements. Text preparation work may accordingly be done in a significantly easier and more efficient manner. 
     In the foregoing embodiment the memory capacity of the text memory TEXT is selected larger than the display capacity of the display device 3. Thus, in order to complete the layout display of the entire text, there may be employed automatic scrolling or manual scrolling by the unit of a line or a dot line by a key operation.