Is there a way to export a style to JSON? I see there is importStylesFromJson, but nothing for exporting styles.
Alternately, where can I find the full description of the JSON format supported by importStylesFromJson? I need to create a custom style that involves numbering and font formatting.
Use case: customer has provided a Word document containing a style that they want my add-in to inject into active document. But there is no obvious way of converting that style into a programmatic object and then call importStylesFromJson on that.