Changes

Jump to: navigation, search

PDF Writer Custom Tags

38 bytes removed, 14:11, 29 March 2023
List of Custom Tags (pd4ml)
==List of Custom Tags (pd4ml)==
'''style="pd4ml-display:none"''' or '''style="pd4ml-display:block"''' Controls whether a HTML element will be included or not included in the PDF. Must be wrapped these in angle brackets.
'''style="PAGE-BREAK-inside: avoid"''': Prevents an HTML element from being broken by a page break. Note: If the element is more than a page in length this setting cannot be applied and will be ignored. Must be wrapped these in angle brackets.
'''pd4ml:page.break''' inserts a page break at this location. We recommend using the '''SmartFields PDF formatting''' setting for inserting page breaks between custom fields. Must be wrapped these in angle brackets.
: Options:
:* pageCounter=pagenum
'''pd4ml:page.header''' and '''/pd4ml:page.header''' : Content between tags will be used as the page header. Must be wrapped these in angle brackets.
: Options:
:* $[page], $[total] and $[title]: inserts current page number, total number of pages, and document title (respectively)
'''pd4ml:page.footer''' and '''/pd4ml:page.footer''' Use to define the footer. Typically enter '''page $[page] of $[total]''' Must be wrapped these in angle brackets.
: Options: same as pd4ml:page.header tag.
 '''pd4ml:toc''' table of contents. Must be wrapped these in angle brackets.
: Options:
:* pncorr="number": a correction value to add to page numbers
'''pd4ml:page.break/''' insert this for a PDF page break. Must be wrapped these in angle brackets.
==Page Format==
Smartstaff, administrator
3,321
edits

Navigation menu