Adobe InDesign CS4 (6.0) Object Model JS: HiddenText

InDesign CS4

Class

HiddenText

 A hidden text object.

QuickLinks

extractLabel, getElements, insertLabel, toSource, toSpecifier

Hierarchy

Cell | Footnote | InsertionPoint | Note | Story | TextFrame
HiddenText
Character | InsertionPoint | Line | Paragraph | Text | TextColumn | TextStyleRange | Word

Properties

PropertyTypeAccessDescription
charactersCharacters readonlyA collection of characters.
idnumber readonlyThe unique ID of the HiddenText.
indexnumber readonlyThe index of the HiddenText within its containing object.
insertionPointsInsertionPoints readonlyA collection of insertion points.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
labelstring r/wA property that can be set to any string.
linesLines readonlyA collection of lines.
paragraphsParagraphs readonlyA collection of paragraphs.
parentCellFootnote
InsertionPoint
Note
Story
TextFrame
readonlyThe parent of the HiddenText (a Story, TextFrame, InsertionPoint, Note, Cell or Footnote).
propertiesObject r/wA property that allows setting of several properties at the same time.
storyOffsetInsertionPoint readonlyThe insertion point before the table in the story containing the table.
textColumnsTextColumns readonlyA collection of text columns.
textStyleRangesTextStyleRanges readonlyA collection of text style ranges.
textsTexts readonlyA collection of text objects.
wordsWords readonlyA collection of words.

Methods

Instances

string extractLabel (key: string)
Gets the label value associated with the specified key.

ParameterTypeDescription
keystringThe key.

Array of HiddenText getElements ()
Resolves the object specifier, creating an array of object references.

void insertLabel (key: string, value: string)
Sets the label to the value associated with the specified key.

ParameterTypeDescription
keystringThe key.
valuestringThe value.

string toSource ()
Generates a string which, if executed, will return the HiddenText.

string toSpecifier ()
Retrieves the object specifier.

Element of

Character.parent

InsertionPoint.parent

Line.parent

Paragraph.parent

Text.parent

TextColumn.parent

TextStyleRange.parent

Word.parent

Used in:

array of HiddenText HiddenTexts.itemByRange (from: any, to: any)

HiddenText HiddenTexts.nextItem (obj: HiddenText)

HiddenText HiddenTexts.previousItem (obj: HiddenText)

Return

Array of HiddenText HiddenText.getElements ()

HiddenText HiddenTexts.[] (index: number)

HiddenText HiddenTexts.anyItem ()

Array of HiddenText HiddenTexts.everyItem ()

HiddenText HiddenTexts.firstItem ()

HiddenText HiddenTexts.item (index: any)

HiddenText HiddenTexts.itemByID (id: number)

HiddenText HiddenTexts.itemByName (name: string)

Array of HiddenText HiddenTexts.itemByRange (from: any, to: any)

HiddenText HiddenTexts.lastItem ()

HiddenText HiddenTexts.middleItem ()

HiddenText HiddenTexts.nextItem (obj: HiddenText)

HiddenText HiddenTexts.previousItem (obj: HiddenText)

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