This project has moved and is read-only. For the latest updates, please go here.

How to determine all available styles in document and assign specific style to text

Dec 23, 2015 at 12:35 AM
I am new to docx, sorry if this has already been asked. I went through the docx examples but I can't seem to find a way of listing the styles available for a given document. For example the document could be created from a template with custom styles.

I also need to switch styles. For example find all text with a given style and replace by another one.

Thanks for your help!