The present invention provides a layout adjustment method and an apparatus
and a program for the same for allowing a size and a layout of a
sub-template to be preferably set and an intention of a user who performs
the layout to be better reflected according to the size of contents to be
affixed in the sub-template in variable data print. The plurality of
partial areas, to which data is to be inserted, are linked and work
together to calculate their appropriate sizes on the basis of the size of
the data to be inserted. Then, a layout representing sizes and locations
of the plurality of partial areas in a page is adjusted on the basis of
relationship between a size of each calculated partial area and links set
for the plurality of partial areas in the basic layout. Each of the
partial areas further includes a plurality of smaller areas, which are
linked so that the plurality of smaller areas work together to make their
sizes variable to make sizes of said partial areas variable.