Adds an event listener.
Object
CharacterStyleGroup
A character style group.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| CharacterStyle[] | readonly | Lists all character styles (regardless of their group). | |
| CharacterStyleGroups |
readonly | A collection of character style groups. | |
| CharacterStyles |
readonly | A collection of character styles. | |
| EventListeners |
readonly | A collection of event listeners. | |
| Events |
readonly | A collection of events. | |
| Number | readonly | The unique ID of the CharacterStyleGroup. | |
| Number | readonly | The index of the CharacterStyleGroup within its containing object. | |
| Boolean | readonly | Returns true if the object specifier resolves to valid objects. | |
| String | read/write | A property that can be set to any string. | |
| String | read/write | The name of the CharacterStyleGroup. | |
| Application | CharacterStyleGroup | Document | readonly | The parent of the CharacterStyleGroup (a Document, Application or CharacterStyleGroup). | |
| Object | read/write | A property that allows setting of several properties at the same time. |
Methods
Duplicates the CharacterStyleGroup.
→ String
Gets the label value associated with the specified key.
Resolves the object specifier, creating an array of object references.
→ void
Sets the label to the value associated with the specified key.
Moves the style to the specified location.
reference?
CellStyle | CellStyleGroup | CharacterStyle | CharacterStyleGroup | Document | ParagraphStyle | ParagraphStyleGroup | TableStyle | TableStyleGroup | Application
The reference object. Note: Required when the to parameter specifies before or after. Can accept: ParagraphStyle, ParagraphStyleGroup, CharacterStyle, CharacterStyleGroup, CellStyle, CellStyleGroup, TableStyle, TableStyleGroup, Document or Application.
→ void
Deletes the style.
replacingWith?
ParagraphStyle | CharacterStyle
The style to apply in place of the deleted style. Can accept: ParagraphStyle or CharacterStyle.
→ Boolean
Removes the event listener.
→ String
Generates a string which, if executed, will return the CharacterStyleGroup.
→ String
Retrieves the object specifier.
Object of 5
Properties elsewhere that hold a CharacterStyleGroup.
Parameter of 11
Method parameters that accept a CharacterStyleGroup.
CellStyle.move(reference)CellStyleGroup.move(reference)CharacterStyle.move(reference)CharacterStyleGroup.move(reference)CharacterStyleGroups.itemByRange(from)CharacterStyleGroups.nextItem(obj)CharacterStyleGroups.previousItem(obj)ParagraphStyle.move(reference)ParagraphStyleGroup.move(reference)TableStyle.move(reference)TableStyleGroup.move(reference)
Return 16
Methods that return a CharacterStyleGroup.
CharacterStyleGroup.duplicate()CharacterStyleGroup.getElements()CharacterStyleGroup.move()CharacterStyleGroups.[]()CharacterStyleGroups.add()CharacterStyleGroups.anyItem()CharacterStyleGroups.everyItem()CharacterStyleGroups.firstItem()CharacterStyleGroups.item()CharacterStyleGroups.itemByID()CharacterStyleGroups.itemByName()CharacterStyleGroups.itemByRange()CharacterStyleGroups.lastItem()CharacterStyleGroups.middleItem()CharacterStyleGroups.nextItem()CharacterStyleGroups.previousItem()