Adobe InDesign CS (3.0) Object Model JS: Note

InDesign CS

Class

Note

 A note in a story.

QuickLinks

convertToText, extractLabel, insertLabel, remove

Hierarchy

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

Properties

PropertyTypeAccessDescription
charactersCharacters readonlyA collection of characters.
collapsedbool r/wIf true, the note is collapsed in galley view.
creationDateDate readonlyThe date and time the note was created.
idnumber readonlyThe unique ID of the Note.
indexnumber readonlyThe index of the Note within its containing object.
insertionPointsInsertionPoints readonlyA collection of insertion points.
labelstring r/wA property that can be set to any string.
linesLines readonlyA collection of lines.
modificationDateDate readonlyThe date and time the note was last modified.
paragraphsParagraphs readonlyA collection of paragraphs.
parentCharacterInsertionPoint
Line
Paragraph
Story
Text
TextColumn
TextFrame
TextStyleRange
Word
readonlyThe parent of the Note (a Story, TextFrame, InsertionPoint, Text, Character, Word, Line, TextColumn, Paragraph or TextStyleRange).
parentTextFrameTextFrame readonlyThe text frame this note appears in.
propertiesObject r/wA property that allows setting of several properties at the same time.
storyOffsetnumber readonlyThe location of this note from the beginning of the story
textColumnsTextColumns readonlyA collection of text columns.
textStyleRangesTextStyleRanges readonlyA collection of text style ranges.
textsTexts readonlyA collection of text objects.
userNamestring readonlyThe user who made the note.
wordsWords readonlyA collection of words.

Methods

Instances

void convertToText ()
Converts the note to story text.

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

ParameterTypeDescription
keystringThe key.

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

ParameterTypeDescription
keystringThe key.
valuestringThe value.

void remove ()
Deletes the Note.

Element of

Character.parent

InsertionPoint.parent

Line.parent

Paragraph.parent

Text.parent

TextColumn.parent

TextStyleRange.parent

Word.parent

Used in:

Note Notes.add ([at: LocationOptions=LocationOptions.UNKNOWN][, reference: Note][, withProperties: Object])

Return

Note Character.convertToNote ()

Note InsertionPoint.convertToNote ()

Note Line.convertToNote ()

Note Notes.add ([at: LocationOptions=LocationOptions.UNKNOWN][, reference: Note][, withProperties: Object])

Note Paragraph.convertToNote ()

Note Text.convertToNote ()

Note TextColumn.convertToNote ()

Note TextStyleRange.convertToNote ()

Note Word.convertToNote ()

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