-
add( |
source [, pageReferenceType=PageReferenceType.CURRENT_PAGE], pageReferenceLimit [, pageNumberStyleOverride] [, withProperties]) |
→ PageReference |
-
Creates a new page reference.
source
|
Text
The text or insertion point to which the page reference points.
|
pageReferenceType
|
PageReferenceType
The page number for an index page reference or the last page in an index page reference page range. (Optional)
|
pageReferenceLimit
|
The paragraph style or number of paragraphs or pages that defines the last page in a page range. Valid only when page reference type specifies the next use of a paragraph style or a number of paragraphs or pages. . Can accept: ParagraphStyle or Long Integer. (Optional)
|
pageNumberStyleOverride
|
CharacterStyle
The style override for the page number. (Optional)
|
withProperties
|
Object
Initial values for properties of the new PageReference (Optional)
|
-
-
Returns any PageReference in the collection.
-
-
Displays the number of elements in the PageReference.
-
-
Returns every PageReference in the collection.
-
-
Returns the first PageReference in the collection.
-
-
Returns the PageReference with the specified index or name.
index
|
The index or name. Can accept: Long Integer or String.
|
-
-
Returns the PageReference with the specified ID.
-
-
Returns the PageReference with the specified name.
-
-
Returns the PageReferences within the specified range.
from
|
The PageReference, index, or name at the beginning of the range. Can accept: PageReference, Long Integer or String.
|
to
|
The PageReference, index, or name at the end of the range. Can accept: PageReference, Long Integer or String.
|
-
-
Returns the last PageReference in the collection.
-
-
Returns the middle PageReference in the collection.
-
-
Returns the PageReference whose index follows the specified PageReference in the collection.
obj
|
PageReference
The PageReference whose index comes before the desired PageReference.
|
-
-
Returns the PageReference with the index previous to the specified index.
obj
|
PageReference
The index of the PageReference that follows the desired PageReference.
|
-
-
Generates a string which, if executed, will return the PageReference.