Customized Numbering List via Word JavaScript API

Sanket 0 Reputation points Microsoft Employee
2023-08-28T22:48:22.0933333+00:00

Hi Team,

I want to generate customized numbering in JS code as mentioned below -

User's image

https://www.officetooltips.com/word/tips/customizing_numbered_lists.html

As you can see, I have prefixed Helo to Numbered bullet list via MS word UI.
Is it possible to achieve same functionality via word JavaScript API ?
https://learn.microsoft.com/en-us/javascript/api/word/word.contentcontrol?view=word-js-preview

#office-addins-dev #office-js-dev

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
960 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,058 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,344 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.