How to add a custom style to a word document using the word javascript API. I tried adding the styles by insertOoxml. It is not working. I want some of my custom styles to be available for use in the word javascript API so that I can change style of documents via my add-in. Also, is it possible to create new styles programmatically?
Asked
Active
Viewed 323 times
1 Answers
1
This is currently not supported but its a capability that we definitely will add in the future. You can use a custom style if already present in the document, you just do range.font.style = "Name of the style".

Juan Balmori
- 4,898
- 1
- 8
- 17
-
Has there been any movement on this issue? IMO, this is a significant limitation of the current API. – John Holliday Dec 08 '18 at 15:36