This page discusses and proposes prepress features for Apache FOP.
Related Bugzilla Issues
The simple-page-master's width and height properties shall define the TrimBox. If there is no bleed and crop mark area, the MediaBox will be equal to the TrimBox. In the PDF case, just the MediaBox is generated and the other values follow the defaulting rules of the PDF specification.
- Default: 0pt
If there is only one value, it applies to all sides. If there are two values, the top and bottom bleed widths are set to the first value and the right and left bleed widths are set to the second. If there are three values, the top is set to the first value, the left and right are set to the second, and the bottom is set to the third. If there are four values, they apply to the top, right, bottom, and left, respectively. (Corresponds to http://www.w3.org/TR/xsl11/#padding)
- Default: 0pt
Same behaviour as with fox:bleed.
Alternative names due to the closeness to fox:crop-offset: crop-box-selector, crop-box-source, page-clip-area
- Value: (trim-box|bleed-box|media-box)
- Default: media-box
The crop box controls how Acrobat displays the page (CropBox in PDF) or how the Java2DRenderer sizes the output media. The PDF spec defines that the CropBox defaults to the MediaBox. This extension follows that definition. To simplify usage and cover most use cases, the three supported enumeration values "trim-box", "bleed-box" and "media-box" set the CropBox to one of those three other boxes.
If requested in the future, we could offer to specify the CropBox in absolute coordinates rather than just be referencing another box.
The PDF ArtBox is left out for now as we currently have no requirements in this area.
- Crop marks painting plug-ins (get a Graphics2D interface and some additional parameters and paint the crop marks as you like)
- Imposition functionality (can already be emulated using intermediate format manipulation)