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();

Attribute Reference for the cfdocumentsection tag

margintop

Required: No
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

Required: No
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

Required: No
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

Required: No
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

Required: No
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

Required: No
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

Required: No
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

Required: No
Bookmark name for the section.

src

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

srcfile

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

useragent

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


Fork me on GitHub