Document
This table lists the use, (default) value(s), and description of the attributes of the Document element.
Attribute | Use | Values (default value in bold) | Description/examples |
Name | Implied | Name of the document item. | |
SitecoreID | Implied | The unique ID of the item. | |
Type | Required | Static Dynamic | The document type. Dynamic loads the project XML. Static: the engine will use the master document referred in the MasterFilename attribute and will save this document using the filename stated in the DocFilename attribute (only the master document will be published and project pages will not be loaded in the document from xml). Dynamic: the engine will use the master document referred in the MasterFileName attribute, load the rendered XML and save this document using the filename stated in the DocFileName attribute. |
PageWidth | Implied | The width of the pages in the specified measurement units. | |
PageHeight | Implied | The height of the pages in the specified measurement units | |
Bleed | Implied | [0, 152.4] | The amount of bleed. |
MasterFilename | Required | If the project is published through IDC this will state the relative paths to the master file on the server where IDC will download the master file from. | |
DocFilename | Required | The path (c:\..\name.indd) of the document to create/or use for this document. If empty, the filename is compiled using the name and SitecoreID attribute values. If these are left out or empty, the name is compiled using a unique identifier. | |
InsertFile | Implied | obsolete | |
SaveAs | Implied | obsolete | |
PageCount | Implied | Odd Even Empty string | Odd: the document always ends on an odd page. If the document has an even number of pages, an empty page is added at the end of the document. Even: the document always ends on an even page. If the document has an odd number of pages, an empty page is added at the end of the document. |
ScriptFilename | Implied | Full path of an InDesign script added to document. For additional information go to the Adobe website. | |
Shuffle | Implied | True False | Is shuffle on or off for page layout preferences. |
WaterMark | Implied | True False | If true, a watermark is printed across all pages in the document. |
MarkText | Implied | default watermark | The watermark text. |
MarkFontSize | Implied | 58 | The watermark text font size. |
MarkFontColor | Implied | #555555 | The font color in RGB (#rrggbb). For example, #rrggbb (ff0000) to indicate red. |