Abstract: A document processing system for laying out text data and image data referred to in the text data, thereby forming a document data. The system comprises a format-data storage section, a reference-data storage section, and a layout section. The format-data storage section stores format data including region-attribute data specifying an image-layout inhibited region in which to lay out no image data. The reference-data storage section stores reference data representing the relationship between the image data and an image-referring part of the text data in which the image data is referred to. The layout section lays out the text data in accordance with the region-attribute data and the reference data, and lays out the image data outside the image-layout inhibited region specified by the region-attribute data, in accordance with the reference data, thereby to form document data.