Patent ID: 8064090

Claim:
An apparatus comprising: means for receiving an input document having a visual appearance corresponding to a plurality of elements, each element being characterized at least by a geometry and a z-axis value, wherein said plurality of elements are further characterized by a coverage area and a type; and a processing means for creating an output document by creating at least one composite element in said output document to replace at least two elements having adjoining z-axis values in said input document if creating said composite element is desirable, and otherwise altering z-axis values of said at least two elements if said at least two elements do not overlap, wherein said processing means is further for determining that creating a composite element in said output document is desirable based on compatibility of the types of said at least two elements and based on a comparison of a coverage area of a composite element representing the at least two elements combined to the sum of the coverage areas of the at least two elements; wherein said composite element is reused a plurality of times in one or more generations of a print stream.