OfficeDev / Open-Xml-PowerTools

MIT License
693 stars 26 forks source link

Merge styles with same name in DocumentBuilder #183

Closed kimsey0 closed 6 years ago

kimsey0 commented 7 years ago

Solves #181.

Currently implemented with a compile-time feature flag, but this could easily be changed to an optional parameter passed to DocumentBuilder at run-time.

It is likely possible to clean up the section that maps style IDs in references and numberings so that it doesn't have to go through as many elements.