User Guide
cfdocumentitem 111
cfdocumentitem
Description
Specifies action items for a PDF or FlashPaper document created by the cfdocument tag. Actions
include the following:
• Page break
• Header
• Footer
Category
Data output tags
Syntax
<cfdocument ...>
Syntax 1
<cfdocumentitem type = "pagebreak"/>
Syntax 2
<cfdocumentitem
type = "header" or "footer">
header/footer text
</cfdocumentitem>
</cfdocument>
See also
cfreport, cfdocument
, cfdocumentsection
History
ColdFusion MX 7: Added this tag.
Attributes
Usage
Use the cfdocumentitem tag to control the formatting of a PDF or FlashPaper report. This tag
must be wrapped inside a
<cfdocument> </cfdocument> pair.
Write code for one
cfdocumentitem tag for each pagebreak, running header, or running footer.
Attribute Req/Opt Default Description
type Required Specifies the action:
• pagebreak: start a new page at the location of the tag.
• header: use the text between the
<cfdocumentitem>
and
</cfdocumentitem> tags as the running header.
• footer: use the text between the
<cfdocumentitem>
and
</cfdocumentitem> tags as the running footer.