BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to a document producing apparatus and method for producing mixed mode documents, to be transmitted by means of telematic terminals.
2. Discussion of the Background
CCITT (International Telegraph and Telephone Consultative Committee) refers to such communication media as facsimile, teletex, videotex, etc. as being telematic services. Also, CCITT has issued recommendations regarding each of these services. A mixed mode is one communication mode of the telematic services, which mixed mode is used in a class 3 G4 facsimile.
In this mixed mode, blocks of document information (these will be referred to as `blocks` hereinafter) comprising blocks of character information such as letters and blocks of image information such as figures can be mixed in one document. Theblocks of character information are transmitted by means of code information. On the other hand, the blocks of image information are transmitted by means of raster information of bit maps. This document structure of the mixed mode is prescribed in theCCITT recommendation T. 501. This recommendation T. 501 was issued at the IXth general meeting of CCITT held in November, 1988.
Such a mixed mode document as mentioned above is produced by a document producing apparatus which is exclusively used for the mixed mode documents. When producing a mixed mode document, first, an operator forms a block area of a requested sizeon an indicating screen of the apparatus. Next, the operater inputs requested letters, figures, and so on into the screen. The operator produces one document by repeating the above mentioned operations for each block which composes the document.
Normally, some blocks of figures, letters and so on as logograms of company trade marks and so on, which blocks are the same as each other, are used in one document in some cases. In these cases, the generic layout structure which is a documentstructure of the mixed mode document is prescribed in the recommendation.
In the generic layout structure, the above mentioned blocks of letters, figures and so on in one document, which blocks are the same as each other, are classified into the generic (meaning being having common elements) information, which servesas a first information. This classification is referred to as the generic designation in the following description herein. By means of the generic designation, data transmission of the blocks designated as the generic information can be executed bytransmission of one block of the blocks. Then by producing the mixed mode document by means of using the generic layout structure, data quantity of the document can be reduced, and thus effective data transmission of the document can be realized.
In a case where a document using the generic layout structure is produced by the document producing apparatus, the operator judges whether some blocks of a plurality of blocks of letters, figures and so on are the same as each other. Then theoperator has to carry out the generic designation of these blocks judged to be the same.
The problems regarding the above mentioned conventional document producing apparatus will be described below. The judgement whether some blocks, which blocks compose the document, are the same as each other, is carried out while the screen ofthe apparatus is being observed, and then the generic designation of the blocks judged to be the same is carried out. The above mentioned process for the generic designation is troublesome. Also, an operator who doesn't have knowledge about the genericlayout structure can not produce a document using the generic layout structure.
SUMMARY OF THE INVENTION
A general object of the present invention is to solve the above mentioned problems and to provide a document producing apparatus and method by which any operator can produce a document using the generic layout structure.
A more particular object of the present invention is to provide a document producing apparatus and method in which documents with document information are produced, in which it is judged whether some blocks of a plurality of blocks of thedocument information are the same as each other, and in which document data with at least one block of some blocks judged to be the same and at least one block other than the blocks judged to be the same are produced.
Another object of the present invention is to provide a document producing apparatus and method, in which the blocks judged to be the same and the at least one block other than the blocks judged to be the same are classified.
Still another object of the present invention is to provide a document producing apparatus and method, in which the above operations performed by the apparatus and methods of the present invention are carried out for one of character informationand image information.
A still further object of the present invention is to provide a document producing apparatus and method, in which, respectively, document information is inputted, document data is produced as mentioned above, and then the produced document datais outputted.
A further particular object of the present invention is to provide a document producing apparatus and method, in which, respectively, information of operation sequences for producing documents data as mentioned above is stored, data such as thatregarding the above mentioned operations is temporarily stored, image information of document information for inputting is read, the document information and directing information of document producing operations by means of the external operations areinputted, the produced document information is printed out and indicated, the inputted document information is edited in a prescribed manner, the edited document information then is converted into document data such as that for data transmission, thedocument data is stored, a specification of a scanning pattern of image information is adjusted as required, the document data is compressed for transmission, received document data is expanded for restoring to the original state, the document data istransmitted and received by means of information transmission means and data is transferred mutually in between means such as those used in the document producing apparatus and method.
A still further object of the present invention is to provide a document producing apparatus and method in which, such document information as image information, character information and so on is inputted, document is produced, the produceddocument is indicated, whether inputting and indicating of one block of the document information is completed is judged, further inputting of document information and indicating of a produced document being carried out if such inputting and indicationhas not been completed yet, and the block produced at this time (this block will be referred to as a `new block` hereinafter) is compared with the block already produced (this block will be referred to as an `old block` in hereinafter), if it has notbeen completed, whether the new block is the same as the old block is judged, the block is classified into first information if it is judged to be the same as the old block, this classifying result is then indicated, the block is classified into secondinformation if it is judged not to be the same as the old block, whether next block of the document information is produced is judged, document information is inputted and the produced document is indicated if it is judged to be produced, and thedocument comprising of the old block and new block is converted into document data of a prescribed format if it is judged not to be produced any more.
By means of the present invention, an operator does not need to judge whether some blocks of a plurality of the blocks of the document information in the document are the same as each other, and thus a document such as one using the genericlayout structure can be easily produced, which structure comprises the above mentioned first information.
Further objects and features of the present invention will be clarified by referring to the following description and the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a functional block diagram of a mixed mode document transmission apparatus (this apparatus will be referred to as a `transmission apparatus` hereinafter) according to the present invention.
FIG. 2 is an operation flow chart of a document producing process of the transmission apparatus according to the present invention.
FIG. 3 shows an example of a document produced by the transmission apparatus according to the present invention.
FIG. 4 shows the hierarchic structure of document data produced by the transmission apparatus according to the present invention.
FIG. 5 is an information composition drawing of a document file in which the produced document data is stored.
DESCRIPTION OF THE PREFERRED EMBODIMENT
The preferred embodiment according to the present invention is described herein below in detail, with reference to the accompanying drawings.
In FIG. 1, CPU (central processing unit) 1 supervises and controls the whole transmission apparatus. ROM (read only memory) 2 stores controlling programs and so on for the operation of the CPU 1. RAM (random access memory) 3 is a memory for theoperation of the transmission apparatus that temporarily stores each kind of data. A scanner 4 reads draft image information which is to be supplied to the transmission apparatus. A printer 5 prints out the produced documents. An indicating part 6 isan indicating apparatus, such as a CRT (cathod ray tube) monitor and so on, which indicates the produced documents. An input apparatus 7 is, for example, a keyboard or a mouse, by which an operator inputs letter information and directions in theoperation of the transmission apparatus or points out coordinates on the screen of the transmission apparatus.
A document editing processing part 8 edits inputted character information and image information into a prescribed format. A data converting part 9 converts the edited document into document data, which document data is in accordance with CCITTrecommendation T.501. This document data is stored in a hard disc apparatus 10.
A scanning line density adjusting part 11 adjusts the scanning line density of raster information as required when image information is being transmitted; for example, the part 11 adjusts the scanning line density into that of the receivingapparatus, to which the raster information is transmitted, which receiving apparatus has a different line density specification from that of the transmission apparatus before the adjusting by the part 11. A data compressing and expanding part 12compresses the data of raster information to be transmitted, and expands the data of received raster information for restoring to the original state. A communication part 13 transmits and receives the documents by means of a digital line network such asISDN (International Service Digital Network). Each of the above mentioned parts sends to and receives from each other each kind of controlling signal or data by means of a system bus 14.
Due to the above construction of the transmission apparatus, the apparatus can produce mixed mode documents and also transmit and receive the document data.
To produce a document, an operator sets the transmission apparatus into the document producing mode, and then he, one by one, produces every block, having the required contents of the document on the screen of the indicating part 6 by theprescribed operations.
That is, at first, the operator designates a block area on the screen by means of the mouse of the input apparatus 7. Next, the operator writes sentences on the block area by a keyboard operation or he writes a draft image there, which image wasread by means of the scanner 4. By means of the above mentioned input process, one block is completed, then the operator informs the transmission apparatus of the completion of this one block by means of a keyboard operations.
A detailed description of the above mentioned process is given below. The transmission apparatus reads such document information as character information and image information applied to the transmission apparatus by means of the input stepmentioned above, then the transmission apparatus produces a document with the document information and indicates the document on the screen of the transmission apparatus as shown in FIG. 2. That is, the transmission apparatus executes a step 101, andthen executes a judging step 102. The transmission apparatus continues to execute the step 101 until the result of the judging step 102 becomes Yes, that is, until the input step for one block is completed. The transmission apparatus alternatelyexecutes the step 101 and the judging step 102 until the input step for one block is completed.
When the input step for one block (Yes in the judging step 102) has been completed, the transmission apparatus indicates a message on the screen showing that the input step for one block of document information has been completed. Next, thetransmission apparatus compares the contents of the one new block of the document information with the contents of the old blocks of the document information stored in the RAM 3 or the hard disc apparatus 10. Next, the transmission apparatus judgeswhether these blocks of document information are the same as each other (step 103). If the first block of document information is produced in the transmission apparatus, there is no old block, that is, no old block the same as the new block. Thus, theresult of a judging step 104 is No. And then the transmission apparatus discriminates the new block so as to classify it into specific information serving as a second information (step 105). If a block of the document information was discriminated asthe specific information, the block has the specific layout structure when the produced document, including the specific information, is converted to document data, which data is in accordance with CCITT recommendation T.501. The specific layoutstructure is shown in FIG. 4.
When the operator is to produce another new block of the document information after producing the first block, the operator informs the transmission apparatus by means of the keyboard operations that an another new block of the documentinformaton is going to be produced. Then the operator produces another new block on the screen of the transmission apparatus by the above mentioned step 101.
That is, after the operator has informed the transmission apparatus that another new block is going to be produced, that is, result Yes in the judging step 106, the transmission apparatus executes the input step 101 again for the new block. Thenafter completion of the producing of the new block (Yes in the judging step 102), the transmission apparatus compares the contents of the new block with the contents of old blocks in the transmission apparatus. In this case, the transmission apparatuscompares whether the blocks have the same dimensions, same kind of information, that is, character information or image information and same data contents (the step 103). When the new block is different from the old blocks as regards at least one of theabove items (No in the judging step 104), the transmission apparatus discriminates the new block so as to classify it into the specific information as mentioned above (the step 105).
For example, if the operator is to produce two document pages PG1, PG2 as shown in FIG. 3, then he produces four (4) blocks `a` to `d` in the first page PG1. Further, the operator produces four (4) blocks `e`, `c`, `f` and `d` in the second pagePG2. The block `c` of PG1 and the block `c` of PG2 are the same regarding all of the above mentioned items in regard to which the blocks are compared. The block `d` of PG1 and the block `d` of PG2 are also the same regarding the same items.
When each of the new blocks `a` to `f` has been produced, the transmission apparatus judges whether or not there is any old block the same as each of the new blocks (the judging step 104). If the result of the judging is that there is at leastone block the same as at least one of the new blocks (Yes of the judging step 104), the transmission apparatus discriminates the new block so as to classify it into generic information, serving as a first information (step 107). If a block wasclassified into the generic information, the block has the generic layout structure when the produced document is converted to document data, which is in accordance with CCITT recommendation T.501 (step 109). This generic layout structure is shown inFIG. 4.
Next, the transmission apparatus indicates, for example, a guidance message, by means of the indicating part 6, showing that there is at least one old block the same as the new block. Then this new block is registered as the generic information(step 108).
When the operator has completed producing all of the blocks of the document information in the transmission apparatus, he informs the transmission apparatus that producing for all the blocks has been completed by means of a keyboard operation.
When the operator has informed the transmission apparatus that the producing of the all blocks of the document information had been completed, that is, no other new block will be supplied with input (No in the judging step 106), the transmissionapparatus converts the produced document, which is composed of the above mentioned blocks, into a document data, which data is in accordance with CCITT recommendation T.501 (the step 109). This document data is composed of profile information, documentinformation, page information, block information and content information.
FIG. 4 shows a hierarchic structure of document data converted by the data converting part 9, which data concerns the example shown in FIG. 3. That is, in this case, the profile information item P contains information showing that a document iscomposed of two kinds of data layout structures, that is, the generic layout structure and the specific layout structure. The document information item D contains information showing that this document is a mixed mode document, having two pages, etc.The page information contains information showing that the blocks `a` to `d` of the first page PG1 shown in FIG. 3 correspond to block information items B1 to B4 respectively, and showing that the blocks `e`, `c`, `f` and `d` of the second page PG2, alsoshown in FFIG. 3, correspond to block information items B5 to B8 respectively.
The block information item B1 contains a kind of information, position and dimensions of the corresponding block `a` and B1 also contains information showing that the actual contents of the block `a` are contained in content information item C1,etc. The above mentioned kind of information is character information or image information. The content information item C1 contains the actual contents of character information or image information of the block `a`.
Similar to the above mentioned information for the block information item B1, the block information items B2, B5 and B7 contain all of the above mentioned information corresponding to the blocks `b`, `e` and `f` respectively, and also the blockinformation items B2, B5 and B7 also contain information showing that the actual contents of the blocks `b`, `e` and `f` are contained in the content information items C2 to C4, respectively. The content information items C2 to C4 contain the actualcontents of the blocks `b`, `e` and `f`.
All of the above mentioned information belongs to the specific information, and the specific information has the specific layout structure as mentioned above.
On the other hand, the block information items B9, B10 and content information items C5, C6, which correspond to B9, B10 respectively, has the generic layout structure. The block information item B9 contains a kind of information and dimensionsregarding the block `c` and the information item B9 also contains information showing that the actual contents of the block `c` are contained in the content information item C5. Similar to the above, the block information item B10 contains a kind ofinformation and dimensions of the block `d` and the information item B10 also contains information showing that the actual contents of the block `d` was contained in the content information item C6.
The block information item B3 contains the position of the block `c` in the first page PG1, and B3 also contains information showing that with regard to the information regarding the block `c` of PG1 other than that contained in B3, the blockinformation item B9 has to be referred to. The block information item B6 contains the position of the block `c` in the second page PG2 is contained, and similar to the above, B6 also contains information showing that with regard to the informationregarding the block `c` of PG2 other than that contained in B6, the block information item B9 has to be referred to.
The block information items B4 and B8 respectively contain the position of the block `d` in pages PG1 and PG2, B4 and B8 also contain information showing that with regard to the information regarding the block `d` of PG1 and PG2, the blockinformation item B10 has to be referred to respectively. The block information item B10 has to be referred to so as to obtain the other information regarding B4 and B8.
Each of the above mentioned information items is stored in the hard disc apparatus 10 of the transmission apparatus in such a manner as to form a document file of a prescribed format. FIG. 5 shows an information storing sequence, in which theinformaton is stored therein. In the sequence, respectively, profile information item P is stored first, the generic information is stored after the information P stored, then the specific information is stored after the generic information stored, inthe hard disc apparatus 10. Regarding the generic information, block information items B9 and B10 are stored successively, then content information items C5, C6 are stored successively. Regarding the specific information, document information is storedfirst, then the information of the first page PG1 and that of the second page PG2 are stored successively. Regarding the information of the PG1, the page information item P1, the block information items B1 to B4 and the content information items C1, C2are stored successively. Regarding the information of the PG2, the page information item P2, the block information items B5 to B8 and the content information items C3, C4 are stored successively.
Thus, the document data is produced and then stored in the hard disc apparatus 10 (step 109).
When the operator is to transmit the produced document data, he designates a prescribed address to which the data is to be transmitted into the transmission apparatus by means of a prescribed keyboard operation. Next, he designates the documentdata which is to be transmitted. By means of these steps, the transmission apparatus outputs the designated document data and then it transmits the document data to the receiver. When the document shown in FIG. 3 is transmitted from the transmissionapparatus, each of the information items, which compose the document data, is outputted by the sequence shown in FIG. 5.
Summarizing the above mentioned description, in the transmission apparatus, that is, in the preferred embodiment of the present invention, the transmission apparatus compares whether the contents of the new block of the document information arethe same as those of the old block of the document information each time the operator produces a block of the document information. Then, the transmission apparatus classifies the block judged to be the same as the old block into the genericinformation, and the block other than that judged to be the same into the specific information, respectively. When the producing of the document has been completed, the transmission apparatus produces the mixed mode document data in such a manner thateach of the blocks of the document information is separated into the generic information or the specific information in accordance with the result of the classification. Thus, the transmission apparatus produces mixed mode document data, which iscomprised of these blocks of the document information.
The operation described below, needed for producing the document having the generic layout structure in the conventional apparatus, is not needed in the embodiment of the present invention. The operation judges whether the blocks on the screenof the transmission apparatus are the same as each other, then classifies the blocks judged to be the same into the generic information and so on. Thus, the document, having the generic layout structure, can be produced easily by anyone.
Further, the above mentioned embodiment can have such a function that during the producing of a document, the transmission apparatus shows the blocks classified up to this time into the generic information, or classified information, that is, theresult of the classification, on the screen. Thus the operator designates a required one of the blocks classified into the generic information on the screen by means of a prescribed keyboard operation or mouse operation, so that the designated blockwill be inserted into the required position of the page of the document, which page is produced at this time and shown on the screen. By means of the above mentioned function, the producing of the document having some blocks the same as each other canbe carried out easily.
Further, in the above mentioned embodiment, the transmission apparatus judges whether a new block of the document information is the same as an old block of the document information each time the operator produces a block of the documentinformation. However, the transmission apparatus may have such a function that the judging as to whether some of the blocks of the document information are the same as each other is carried out when the operator has completed the producing of all of theblocks.
In the above mentioned embodiment, attributes, which are contained in the document information item D, page information items P1, P2 and block information items B1 to B10, shown in FIG. 4, are in accordance with Table 1 of CCITT recommendationT.501.
With regard to the document information and page information, the attributes contained therein are an object type, an object identifier, a subordinate, an user readable comments and a default value lists, all of which belong to shared attributes. These five attributes are contained in the document informaton item D and page information items P1, P2 when the corresponding blocks of the document information belong to the specific information. Further, with regard to the page information items P1,P2, dimensions, which belong to layout attributes, are added to all of the above mentioned five attributes. This attribute is contained in the page information items P1, P2 when the corresponding blocks of the document information belong to the specificinformation. It is mandatory that the object type, the object identifier and the subordinate are contained in the corresponding information respectively. This condition of the attributes is referred to as a `mandatory condition` hereinafter. The userreadable comments and the dimensions are regarded as if certain prescribed contents were contained in the above information when nothing was contained therein respectively. This condition of the attributes is referred to as a `defaultable condition`hereinafter. The above mentioned defaultable value lists do not have to be contained in the corresponding information. This condition of the attributes is referred to as a `non mandatory condition` hereinafter.
With regard to the block information, the object type has the mandatory condition in the block information, when the corresponding block of the document information belongs to the specific information or the generic information. The objectidentifier has the mandatory condition in the above information when the corresponding block of the document information belongs to the specific information. Further, the object class identifier has the mandatory condition in the above information whenthe corresponding block of document information belongs to the generic information. the object class has the non mandatory condition in the above information when the corresponding block of the document information belongs to the specific information. Further, the presentation attributes have the non mandatory condition in the above information when the corresponding block of the document information belongs to the generic information, and the presentation attributes have the defaultable conditiontherein when the corresponding block of the document information belongs to the specific information. The content portion has the non mandatory condition in the information when the corresponding block of the document information belongs to the genericinformation or the specific information. The user readable comments have the non mandatory condition in the information when the corresponding block of the document information belongs to the generic information, and the user readable comments have thedefaultable condition in the information when the corresponding block of the document information belongs to the specific information. These last 7 attributes belong to the shared attributes. Further, the dimensions and position, both belong to thelayout attributes, and both have the non mandatory condition in the information when the corresponding block of the document information belongs to the generic information, and both have the defaultable condition in the information when the correspondingblock of the document information belongs to the specific information.
The contents of the above mentioned attributes will be described below. The object class shows the discrimination of the document information, the page information or the block information. The object identifier contains, for example, in FIG.4, data corresponding to the referece numbers P1, P2 regarding the page information items P1, P2; reference numbers B1 to B8 regarding the block information, respectively, etc. The object class identifier is contained in only the block information, whenthe corresponding block of the document information belongs to the generic information, for example, in FIG. 4, data corresponding to reference numbers B9, B10 is contained in the object class identifier. In the object class, information for referringto the generic information from the specific information is contained, that is, for example, in FIG. 4, data corresponding to reference numbers B9, B10 are contained regarding B3, B4 respectively. In the subordinates, the number of information itemsbelonging to the subordinate position thereto in the hierarchic structure shown in FIG. 4 is contained. That is, for example, in FIG. 4, the number two of the page information items P1, P2, which information items are located subordinate to the documentinformation item D is contained in the document information item D; the number four of the block information items B1 to B4, which are located subordinate to the page information item P1 is contained in the page information item P1.
Attributes contained in the presentation attribute will be described later. In the content portion of each of the block information items, data corresponding to reference number regarding each of the content information items is contained. Thatis, for example, in FIG. 4, the content information items C1 to C6 are contained in the block information items B1, B2, B5, B7, B9, B10 respectively. The user readable comments are any comment written as required. In the default value lists, theinformation of the defaultable condition regarding the information items located subordinate thereto in the hierarchic structure shown in FIG. 4 are contained.
In the dimensions of the layout attributes, dimensions of each block of the document information are contained. In the position thereof, a position of an area occupied by the block of the document information arranged at each page is contained.
Among all of the above mentioned attributes, the presentation attributes, the user readable comments and dimensions information will be compared in step 103 shown in the operation flow chart of FIG. 2 so as to judge whether some of blocks of thedocument information are the same as each other.
The attributes contained in the presentation attributes are described below. These attributes are in accordance with Table 5 of CCITT recommendation T.501. The attributes are: a content architecture class; a character path, a line progression,a character orientation, an initial offset, graphic character sets, a character spacing, a line spacing, an alignment and a raphic rendition, these last 9 attributes belonging to character attributes; and pel path, line progression, pel spacing andinitial offsets, these last 4 attributes belonging to raster graphic attributes.
In the content architecture class, the discrimination of character information or raster information (image information) and so on are contained. In the character path and the line progression of the character attributes, the progressingdirections of letters and lines of letters respectively are contained. In the character orientation, the incline angle of each of letter is contained. In the initial offset, relative position where a letter is written first in the area occupied by theblock of the document information is contained. In the graphic character sets, discrimination of, for example, Japanese letters, English letters or other language letters is contained.
A dimension unit of character spacing and line spacing is SMU, that is, (1/200) inch. In the graphic rendition, ornamenting ways of letter shape for emphasizing it are contained.
In the pel path of raster graphic attributes, progressing direction of picture elements is contained. In the line progression, the progressing direction of the scanning line is contained. In the pel spacing, the transmission speed of pictureelements from the transmission apparatus is contained, for example, 4 SMU, which corresponds to 2400 DPI (dot/inch).
Next, attributes contained in the content portion, which are comprised of the content information, will be described below. These attributes are in accordance with Table 7 of CCITT recommendation T.501. The attributes are: a content portionidentifier and a type of coding, these 2 attributes having the mandatory condition in the content information; a number of pels per line, it having the mandatory condition in the information, a compression, it having the defaultable condition in theinformation, an alternative representation, it having the non mandatory condition in the information, a content information, it having the mandatory condition in the information, these last 4 attributes belonging to raster graphic coding attributes.
In the content portion identifier, data corresponding to reference number of the content information, for example, in FIG. 4, data corresponding the content information items C1 to C6 are contained. In the type of coding, discrimination ofcharacter information or image information is contained. When the corresponding block of the document information belongs to image information, for example, the manner of compression at the time of data transmission and so on are also contained in thetype of coding. In the number of pels per line of raster graphic coding attributes, the number of picture elements is contained, a unit of the number being dot/inch. The alternative representation contains prescribed information to be shown when theerror of decoding occurs at the time of decoding of the document information. In the contents of information, the actual contents of the block of the document information are contained.
Among the above mentioned attributes of which the content portion is comprised, the type of coding, the number of pels per line, the compression, the alternative representation and the content information will be compared in the step 103 shown inthe operation flow chart of FIG. 2 so as to judge whether some of the blocks of the document information are the same as each other.
All the above mentioned information is stored in the hard disc apparatus 10 according to the sequence shown in FIG. 5. Therefore the comparing in step 103 shown in the operation flow chart of FIG. 2 is carried out regarding the block informationand then regarding the content information.
Further, the present invention is not limited to the above described embodiments, and variations and modifications may be made without departing from the scope of the present invention.
* * * * *