Closed jbruett closed 6 years ago
Version 0.7.18.87
$doc = document -name 'testdoc' { TOC -Name 'contents' section -name 'heading1' -style Heading1 { section -name 'heading2' -style Heading2 { section -name 'heading3' -style Heading3 { section -name 'heading4' -style Heading4 { section -name 'heading5' -style Heading5 {} } } } } $doc | export-document -format word -path c:\users\jbruett\desktop\
produces the output in this file: testdoc.docx
HTML formatting is fine.
Yeah - there are only 3 styles defined in the default document. I'll need to add Heading4 and Heading5 styles.
Heading4
Heading5
@jbruett thanks for your contribution 😃.
Version 0.7.18.87
produces the output in this file: testdoc.docx
HTML formatting is fine.