1. A computer-implemented system for processing objects in a document, comprising: a collection component for collecting object information of objects in a document and associated object margins in a margin neighborhood of the objects; and a margin component for collapsing the margins in one formatting pass for placement of the objects in the document.