Tags · Functions · Objects
Lucee Tag Reference
Choose a tag:

Tag <CFDOCUMENTITEM>

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

Body

This tag may have a body.

Example

	<cfdocumentitem
		[evalatprint="boolean"]
		[name="string"]
		type="string">

	[</cfdocumentitem>]
	
This tag is also supported within cfscript
	<cfscript>
		documentitem
		[evalatprint="boolean"]
		[name="string"]
		type="string" {

	}
	</cfscript>

Attributes

The attributes for this tag are fixed. Except for the following attributes no other attributes are allowed.
Name Type Required Description
evalatprint boolean No 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 No used only for type bookmark, name of the bookmark to define. 
    type string Yes 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)