CreateBulletedListItemCmd
Classes
CreateBulletedListItemCmd
The command to create a new list with the first item by paragraph index.
Extends
Implements
Constructors
Constructor
new CreateBulletedListItemCmd(textManager, initData): CreateBulletedListItemCmd;
Parameters
| Parameter | Type |
|---|---|
textManager | ITextManager |
initData | CreateBulletedListItemCmdData |
Returns
Overrides
Methods
execute()
execute(): boolean;
Executes the command.
Returns
boolean
true if changes were made, false otherwise.
Implementation of
CreateBulletedListItemCmdData
Data required to initialize the command.
Constructors
Constructor
new CreateBulletedListItemCmdData(paragraphIndex, bulletCharCode): CreateBulletedListItemCmdData;
Parameters
| Parameter | Type |
|---|---|
paragraphIndex | number |
bulletCharCode | number |
Returns
Properties
bulletCharCode
bulletCharCode: number;
Character code used as 'bullet' (e.g., code 8225 used for “‡“).
paragraphIndex
paragraphIndex: number;
A paragraph index to create a list item.