Note
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
characters | Characters | readonly | A collection of characters. |
collapsed | bool | r/w | If true, the note is collapsed in galley view. |
creationDate | Date | readonly | The date and time the note was created. |
id | number | readonly | The unique ID of the Note. |
index | number | readonly | The index of the Note within its containing object. |
insertionPoints | InsertionPoints | readonly | A collection of insertion points. |
label | string | r/w | A property that can be set to any string. |
lines | Lines | readonly | A collection of lines. |
modificationDate | Date | readonly | The date and time the note was last modified. |
paragraphs | Paragraphs | readonly | A collection of paragraphs. |
parent | CharacterInsertionPoint Line Paragraph Story Text TextColumn TextFrame TextStyleRange Word |
readonly | The parent of the Note (a Story, TextFrame, InsertionPoint, Text, Character, Word, Line, TextColumn, Paragraph or TextStyleRange). |
parentTextFrame | TextFrame | readonly | The text frame this note appears in. |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
storyOffset | number | readonly | The location of this note from the beginning of the story |
textColumns | TextColumns | readonly | A collection of text columns. |
textStyleRanges | TextStyleRanges | readonly | A collection of text style ranges. |
texts | Texts | readonly | A collection of text objects. |
userName | string | readonly | The user who made the note. |
words | Words | readonly | A 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.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
void 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. |
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.3d | Contents :: Index |