Section

A section.

Methods:

extractLabel, insertLabel, remove

Objects:

Boolean, Number, Object, Page, PageNumberStyle, String

Property Listing

Property

Type

Access

Description

continueNumbering

Boolean

read/write

If true, continues page numbers sequentially from the previous section.

id

Number

readonly

The unique ID of the Section.

includeSectionPrefix

Boolean

read/write

If true, places the specified prefix before page numbers on all pages in the section.

index

Number

readonly

The index of the Section within its containing object.

label

String

read/write

A property that can be set to any string.

length

Number

readonly

The number of pages in the section.

marker

String

read/write

The section marker.

name

String

read/write

The name of the Section.

pageNumberStart

Number

read/write

The number at which to start numbering pages. Note: Valid only when continue numbering is false.

pageNumberStyle

PageNumberStyle

PageNumberStyle.ARABIC

PageNumberStyle.LOWER_LETTERS

PageNumberStyle.LOWER_ROMAN

PageNumberStyle.UPPER_LETTERS

PageNumberStyle.UPPER_ROMAN

read/write

The page number style.

pageStart

Page

read/write

The start page for the section.

parent

Document

readonly

The parent of the Section (a Document).

properties

Object

read/write

A property that allows setting of several properties at the same time.

Method Listing

String extractLabel (key:String)

Gets the label value associated with the specified key.

Parameter

Type

Description

key

String

The key.

undefined insertLabel (key:String, value:String)

Sets the label to the value associated with the specified key.

Parameter

Type

Description

key

String

The key.

value

String

The value.

undefined remove ()

Deletes the Section.

Object of

Page.appliedSection

Return

Sections.add()