2022.2

Table Of Contents
printSections['Section EN'].enabled = true;
}
properties
Thepropertiesobjectinsidethetemplateobject(see"template"onthepreviouspage)contains
alldefaultpropertiesofthetemplatefileaswellasanycustomproperties.
Toviewandcomplementthefileproperties,selectFile > Propertiesonthemenu.See"FileProperties
dialog"onpage442.
Followingarethedefaultproperties.
Field Type Description
application String Applicationversionwhenthedocumentwaslastsaved
author String Originalauthorofthedocument
company String companyname
created Date Dateandtimeonwhichthedocumentwascreated
customProperties List Alistofdefinedcustomproperties
description String Descriptionofthedocument
file String Filenameofthedocument
keywords String Semicolon-separatedlistofkeywords
modified Date Dateandtimeonwhichthedocumentwaslastsaved
Example
Thisscriptstoresadefaultproperty(author)andacustompropertyinvariables.
var author = merge.template.properties.author;
var myProperty = merge.template.customProperties.myPropertyName;
BackgroundResource
BackgroundResourceisanenumerationforthetypesofbackgroundresourcesforaPrintsection(see
"background"onpage829and"section"onpage848).
Page 835