Sfairadora

  • Reference Guide

Doc_info

Overall information on formatted texts used in a document.
Type
Name
Description
Int
language
The text’s language. See constants for languages.
Doc_page_info
(see below)
page
Information about page.

Doc_page_info

Type
Name
Description
Int optional
paper_width
The page width in twips (twentieths of point).
Int optional
paper_height
The page height in twips (twentieths of point).
Int optional
paper_size
One of the predefined paper sizes. (The values correspond to the DMPAPER_… constants defined in the file wingdi.h – e.g. DMPAPER_A4, see msdn.microsoft.com).
Changing this value automatically changes the components paper_width and paper_height. Conversely, changing those two values is reflected in this component.
margin
Page margins.
Bool optional
facing_pages
If set TRUE, left and right pages are distinguished.
Int optional
gutter
A value added to the page margin at the binding.
Bool optional
margin_mirror
If set TRUE, left and right margins are swapped on even pages.
Bool optional
landscape
If set TRUE, landscape paper orientation is used rather than portrait.
Int optional
page_num_start
The numbering origin used at the first page
Bool optional
widow_control
Global setting of orphan and widow control.

See Also