Pages

A page element describes the content of a PDF page: text, drawing operators (images, vector graphics, and text), and form fields.

<page number="page-number" width="page-width" height="page-height primaryRot="primary-rot" primaryDir="primary-dir"> text, images, vector graphics, form fields ... </page>
The page width and height are in the units specified with the -unit option.

The primary rotation specifies the primary rotation (rotation with the most characters), and will be one of 0, 90, 180, or 270.

The primary direction is either "ltr" for left-to-right, or "rtl" for right-to-left. This attribute is only present if there are directional characters on the page.