1. A method performed by a computer, comprising a processor and a memory, the method comprising: deriving a relative layout specification from the user-specified layout, wherein the relative layout specification describes relative positions of the graphic objects, the deriving comprises ascertaining divisions between the graphic objects in the user-specified layout, and the ascertaining comprises determining horizontal and vertical histogram profiles of the user-specified layout and determining partitions that separate the graphic objects from each other; determining a final layout of the graphic objects in accordance with the relative layout specification, wherein the final layout comprises a specification of size dimensions and positions of the graphic objects on a page; and outputting the final layout of graphic objects.