Reputation: 1
I'm trying to get all the paragraphs in a document,
var paragraphs = context.document.body.paragraphs;
context.load(paragraphs);
Once you have them how do you apply a custom paragraph numbering?
setlevelNumbering
seems to possibly be the way but all i get is a bullet point.
Any examples out there ?
Thx
Upvotes: 0
Views: 832
Reputation: 9754
This sample add-in uses setLevelNumbering (see line 321 and 409): Word Add-in MarkdownConversion.
Upvotes: 0