cfdocumentsection

Divides a PDF or FlashPaper document into sections.
By using this tag in conjunction with a cfdocumentitem
tag, each section can have unique headers, footers,
and page numbers.

 <cfdocumentsection>

 cfdocumentsection();

cfdocumentsection Attribute Reference

margintop

Specifies the top margin in inches (default) or
centimeters. To specify the top margin in centimeters,
include the unit="cm" attribute in the parent cfdocument
tag.

marginbottom

Specifies the bottom margin in inches (default) or
centimeters. To specify the bottom margin in
centimeters, include the unit="cm" attribute in the
parent cfdocument tag.

marginleft

Specifies the left margin in inches (default) or
centimeters. To specify the left margin in centimeters,
include the unit="cm" attribute in the parent cfdocument
tag.

marginright

Specifies the right margin in inches (default) or
centimeters. To specify the right margin in centimeters,
include the unit="cm" attribute in the parent cfdocument
tag.

authpassword

Password sent to the target URL for Basic Authentication.
Combined with username to form a base64 encoded string that is passed in the Authenticate header.
Does not provide support for Integrated Windows, NTLM, or Kerebos authentication.

authuser

User name sent to the target URL for Basic Authentication.
Combined with password to form a base64 encoded string that is passed in the Authenticate header.
Does not provide support for Integrated Windows, NTLM, or Kerebos authentication.

mimetype
Default: text/html

MIME type of the source document Values:
  • text/html
  • text/plain
  • application/xml
  • image/bmp
  • image/jpeg
  • image/png
  • image/gif

name

Bookmark name for the section.

src

URL or the relative path to the web root. You cannot specify both the src and srcfile attributes.

srcfile

Absolute path of a file that is on the server.
You cannot specify both the src and srcfile attributes.

useragent

Text to put in the HTTP User-Agent request header field. Used to identify the request client software.

Fork me on GitHub