1. A method of fitting graphical objects within a plurality of separate graphical frames in a document, each frame being associated with at least one value associated with a fitting attribute for fitting one or more of the graphical objects in the frame, comprising: associating the separate frames within a group; using an algorithm to automatically determine an optimized at least one value, wherein using the algorithm comprises: determining a plurality of intermediate optimized values, wherein each intermediate optimized value is associated with a particular frame within the group; and selecting the optimized at least one value from said plurality of intermediate values; and applying the optimized at least one value to each frame in the group to fit one or more of the graphical objects in each of the frames without modifying the size of the frames in the group.