Skip to main content

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​
ParameterType
textManagerITextManager
initDataCreateBulletedListItemCmdData
Returns​

CreateBulletedListItemCmd

Overrides​

ListCmd.constructor

Methods​

execute()​
execute(): boolean;

Executes the command.

Returns​

boolean

true if changes were made, false otherwise.

Implementation of​

ICommand.execute


CreateBulletedListItemCmdData​

Data required to initialize the command.

Constructors​

Constructor​
new CreateBulletedListItemCmdData(paragraphIndex, bulletCharCode): CreateBulletedListItemCmdData;
Parameters​
ParameterType
paragraphIndexnumber
bulletCharCodenumber
Returns​

CreateBulletedListItemCmdData

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.

Was this page helpful?