Changes

Jump to: navigation, search

PDF Writer Custom Tags

49 bytes removed, 19:56, 8 April 2021
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.* '''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.
* '''<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. ::Options:::* ifSpaceBelowLessThan= pixels: allows to suppress the page break if the available space on the current page is more than the specified value. ::* htmlWidth=pixels: forces PD4ML to change current htmlWidth (screenWidth) value and to affect HTML-to-PDF scaling factor. “reset” returns htmlWidth to the initial state.::* htmlWidth="reset"::* pageFormat="rotate"::* pageFormat="WxH"::* pageFormat="reset"::* next="even - odd"::* pageCounter=pagenum
'''<pd4ml:page.header> </pd4ml:page.header>''': Content between tags will be used as the page header.
: Options:
:* scope="scope": explicitly defines pages where the header should appear. Example: scope="odd,5,15-25,45+,skiplast"
:* height="height"
:* width="width"
:* style="associated style info"
:* $[page], $[total] and $[title]: inserts current page number, total number of pages, and document title (respectively)
* '''<pd4ml:page.header> </pd4ml:page.header>''': Content between tags will be used as the page header.
::Options:
::* scope="scope": explicitly defines pages where the header should appear. Example: scope="odd,5,15-25,45+,skiplast"
::* height="height"
::* width="width"
::* style="associated style info"
::* $[page], $[total] and $[title]: inserts current page number, total number of pages, and document title (respectively)
* '''&lt;pd4ml:page.footer>''' first page footer. page $[page] of $[total]</pd4ml:page.footer>: Content between tags will be used as the page footer (see Example below). Affects all subsequent pages (unless Scope option is defined)::Options: same as pd4ml:page.header tag.
'''&lt;pd4ml:toc>''': table of contents.
: Options:
:* pncorr="number": a correction value to add to page numbers
* '''&lt;pd4ml:toc>''': table of contents.::Options:::* pncorr="number": a correction value to add to page numbers  * '''&lt;pd4ml:page.break/>''': insert this for a PDF page break.
==Page Format==
Smartstaff, administrator
3,316
edits

Navigation menu