0 = Typographic Points
1 = Millimeters
2 = Inches
3 = Picas
size = A Tuple (width, height) describing the Size of the Document.
margins = A Tuple (Left, Right, Top, Bottom) describing the Margins of the Document.
orientation = the Page Orientation, 0 means Portrait, 1 is Landscape
firstPageNumer is the Number of the first Page in the Document used for Pagenumbering
unit: this Value sets the Measurement Unit of the Document0 = Typograpic Points
1 = Millimeters
2 = Inches
3 = PicasFacingPages: 1 means FacingPages turned on, 0 means FacingPages turned off
FirstSideLeft: 1 means that the first Page in the Document is a left Page, 0 means a right Page as first Page
The values for Width, Height and the Margins are expressed in the given unit for the Document.
0 = Typographic Points
1 = Millimeters
2 = Inches
3 = Picas