Feedback by UserVoice

I suggest you ...

Get all Styles in Office 365 Word Document

With office 365 word add-in development it is not possible to get all existing styles in a word document using word JavaScript API with as strongly type object of the API. The only way is using ooxml document. But the problem is this ooxml file size depend on the size of the word document. For an example, for 4-5 simple word paragraphs, ooxml size is nearly 13-15 pages. So it is very difficult to process styles in a large document using this ooxml. In VB and VBA, we can get all used styles through the API. So could you please consider about this request to implement get all styles through the API directly?

21 votes
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Lishani shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...
  • Cindy Meister commented  ·   ·  Flag as inappropriate

    FWIW it's at least possible to get the styles from a document using OOXML. What's not possible is creating and modifying styles. That should have a higher priority IMO.

Feedback and Knowledge Base