About Arbortext Styler > Document Preview and Publishing > PTC ALD PDF Configuration File (.appcf) > FormatOverride element (optional)
FormatOverride element (optional)
Parent Elements
Child Elements
An attribute of FormatOverride defines a JavaScript function to be run instead of normal formatting code. The function can be provided either as an external file, or inside a CDATA block as a child of this element.
As this function will replace the standard format pass and print loop, it must handle all parts of formatting and printing, as required.
Attributes of FormatOverride
Permitted values
Name of the file containing a JavaScript function.
Relative file paths will be resolved with reference to the location of the output file provided in the Publish dialog box. You can also specify an absolute path to an alternate location.
File name (and location)