<cfdocumentsection>

Divides a PDF document into sections.

By using this tag in conjunction with a <cfdocumentitem> tag, each section can have unique headers, footers, and page numbers.

This tag may have a body.

This tag is also supported within <cfscript>

Attribute Description
marginbottom
number, optional

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.

useragent
string, optional

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

marginright
number, optional

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.

marginleft
number, optional

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.

authpassword
string, optional

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 Kerberos authentication.

name
string, optional

Bookmark name for the section

authuser
string, optional

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 Kerberos authentication.

srcfile
string, optional

define an absolute path to a file that should be transferred to a pdf

margintop
number, optional

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.

src
string, optional

define a url or or a relative path on the local system to a file that should be transferred to a pdf

mimetype
string, optional

mimetype of the source (when attribute src or srcfile are defined)

<cfdocumentsection
    [marginbottom=number]
    [useragent=string]
    [marginright=number]
    [marginleft=number]
    [authpassword=string]
    [name=string]
    [authuser=string]
    [srcfile=string]
    [margintop=number]
    [src=string]
    [mimetype=string]
><!--- body --->[</cfdocumentsection>]

Examples

There are currently no examples for this tag.

See also