Adobe InDesign CS (3.0) Object Model JS: PageReferences

InDesign CS

Class

PageReferences

 A collection of index page references.

QuickLinks

add, count

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

PageReference add (parentStory: Story, storyOffset: any[, pageReferenceType: PageReferenceType=PageReferenceType.CURRENT_PAGE][, pageReferenceLimit: any][, pageNumberStyleOverride: CharacterStyle][, withProperties: Object])
Create a new page reference

ParameterTypeDescription
parentStoryStoryThe parent story
storyOffsetInsertionPoint
Long
Offset within the story. Can accept: InsertionPoint or Long.
pageReferenceTypePageReferenceType:
PageReferenceType.CURRENT_PAGE
PageReferenceType.TO_NEXT_STYLE_CHANGE
PageReferenceType.TO_NEXT_USE_OF_STYLE
PageReferenceType.TO_END_OF_STORY
PageReferenceType.TO_END_OF_DOCUMENT
PageReferenceType.TO_END_OF_SECTION
PageReferenceType.FOR_NEXT_N_PARAGRAPHS
PageReferenceType.FOR_NEXT_N_PAGES
PageReferenceType.SUPPRESS_PAGE_NUMBERS
The type of page reference (Optional) (default: PageReferenceType.CURRENT_PAGE)
pageReferenceLimitLong
ParagraphStyle
The page range limit. Can accept: ParagraphStyle or Long. (Optional)
pageNumberStyleOverrideCharacterStyleThe style override for the page number (Optional)
withPropertiesObjectInitial values for properties of the new PageReference (Optional)

number count ()
Displays the number of elements in the PageReference.

Element of

Topic.pageReferences

Jongware, 27-Jun-2010 v3.0.3dContents :: Index