You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi !
I'm working with weirdly formatted documents and styles partially written in french and I've got troubles getting the style names right with mammoth in order to make my own style map.
I've resorted to use python-docx in order to get all the style names and then making my style map accordingly.
I wish there was an easier, built-in way to get all the styles used in the document.
Thanks !
The text was updated successfully, but these errors were encountered:
I had a similar problem. Check out this style mapper. It includes some regular expressions in there to remove odd characters from style names. You might want to adjust this to fit your needs.
Hi !
I'm working with weirdly formatted documents and styles partially written in french and I've got troubles getting the style names right with mammoth in order to make my own style map.
I've resorted to use python-docx in order to get all the style names and then making my style map accordingly.
I wish there was an easier, built-in way to get all the styles used in the document.
Thanks !
The text was updated successfully, but these errors were encountered: