PSWord icon indicating copy to clipboard operation
PSWord copied to clipboard

Custom styles

Open slym opened this issue 9 years ago • 2 comments

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.

slym avatar Jul 21 '16 14:07 slym

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

guidooliveira avatar Jul 22 '16 03:07 guidooliveira

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).

slym avatar Jul 22 '16 09:07 slym