The present invention relates to a technique of dynamically controlling a layout for generating, editing, and printing a document including a text and an image and, more particularly, to a technique suitable for generating, editing, and printing a variable data document.