<cfdocumentitem>

Specifies action items for a PDF document created by the cfdocument tag.

This tag may have a body.

This tag is also supported within <cfscript>

Attribute Description
evalatprint
boolean, optional

Determines if the contents of the cfdocumentitem tag body has to be evaluated at the time of printing the document. - true: evaluates the contents of the cfdocumentitem tag body only at the time of printing the document. - false (default): evaluates the contents of the cfdocumentitem tag body immediately.

name
string, optional

used only for type bookmark, name of the bookmark to define.

type
string, required

Specifies the action:

  • pagebreak (starts a new page at the location of the tag)
  • header (uses the text between in the body of the tag as the running header)
  • footer (uses the text between the the body of the tag as the running footer)
  • bookmark (set a bookmark, use the attribute name to define the name of the bookmark)
<cfdocumentitem
    [evalatprint=boolean]
    [name=string]
    type=string
><!--- body --->[</cfdocumentitem>]

Examples

There are currently no examples for this tag.

See also