PSWord
PSWord copied to clipboard
Custom styles
First I would like to thank you for this great module !
Is there a way to use a specific template for custom styles (either with a dotx file or directly into the code) ?
Thank you.
Hello, thank you for your feedback,
i'm am currently working on it but i can't set up a date to finish since it invoves third party libraries
Did you consider using a DOCX file with specific styles defined inside and just set these styles on the inserted elements ?
Example : DOCX file containing a style named "Title-Level1", then PSword inserts some text into that file with this predefined style.
I don't even know if this is feasible but it could be an easy way to do that because managing styles from powershell is quite a big work since there are many options (size, bold, italic etc etc).