Patent ID: 7184167

Claim:
A data processing device comprising: individual data identifying means for identifying that each piece of data in a block of data containing one or plural pieces of data is text data or image data, and providing an individual data identifying result; determining means for determining, based on the individual data identifying result, whether the block of data includes only the text data, only the image data or both the text data and the image data, and providing determination result; layout means for laying out the one or plural pieces of data according to a layout pattern that differs depending upon the determination result; area dividing means for dividing, when determination made by said determination means indicates that the one or plural pieces of data includes the text data and the image data, the layout area into a text area for laying out the text data and an image area for laying out the image data according to a predetermined ratio, wherein said layout means comprises image layout means for laying out one or more image data, each of the one or more image data having been enlarged or reduced by the same proportion, into the image area; and text layout means for laying out one or more text data in the text area.