Word DOCX - default export config file
Following is the default config used when exporting to docx, the word-export-config.xml
.
It can be edited to get specific results. For further information regarding the use of this file, see:
Default export config
Following is the default config file for the Word export. It can be used as a starting point for customizing the export process.
<?xml version="1.0"?> <!-- This configuration transforms PSML into DocX, see PageSeeder Help for details --> <config version="0.8.21"> <!-- The core element can populate the document properties in the exported Word file from content in the PSML document --> <core> <creator select="[ps-current-user]" /> <description select="[ps-document-description]" /> <title select="[ps-document-title]" /> <!-- <modified select="[ps-document-modified]" /> --> <created select="[ps-current-date]" /> <keywords select="[ps-document-labels]" /> <subject select="" /> <category select="" /> <version select="1.0" /> <revision select="1" /> </core> <!-- The toc (Table Of Contents) element customizes the ToC in the exported Word file --> <toc generate="true"> <!-- range from 1 up to 9 --> <outline generate="true" select="1-9" /> <paragraph generate="false"> <!-- any paragraph style defined in the document with the corresponding TOC indent level --> <!-- <style value="[word style]" indent="[indent level]" /> --> </paragraph> </toc> <!-- The default element sets defaults for the export --> <default> <defaultparagraphstyle wordstyle="Body Text" /> <defaultcharacterstyle wordstyle="Default Paragraph Font" /> <comments generate="false" /> <endnotes documenttype="endnotes" /> <footnotes documenttype="footnotes" /> <xrefs hyperlinkstyle="PS Hyperlink" referencestyle="PS Reference" /> </default> <!-- The elements map PSML elements to Word styles and features --> <elements label="references"> <heading> <level value="1" wordstyle="Title" /> <level value="2" wordstyle="Subtitle" /> </heading> </elements> <elements> <!-- default options:"generate-ps-style|none" --> <!-- label options:"generate-ps-style|[name of style]" --> <block default="generate-ps-style"> </block> <!-- default options:"generate-ps-style|none" --> <!-- label options:"generate-ps-style|[name of style]" --> <inline default="generate-ps-style"> </inline> <tables> <table default="PS Table" headstyle="PS Table Header" bodystyle="PS Table Body"> <width type="pct" value="5000" /> </table> </tables> <!-- NOTE: wordstyle "heading [x]" only must be in lower case --> <heading> <!-- Unnumbered headings --> <level value="1" wordstyle="Heading Unnum 1"/> <level value="2" wordstyle="Heading Unnum 2"/> <level value="3" wordstyle="Heading Unnum 3"/> <level value="4" wordstyle="Heading Unnum 4"/> <level value="5" wordstyle="Heading Unnum 5"/> <level value="6" wordstyle="Heading Unnum 6"/> <level value="7" wordstyle="Heading Unnum 7"/> <level value="8" wordstyle="Heading Unnum 8"/> <level value="9" wordstyle="Heading Unnum 9"/> <!-- Unnumbered prefixed headings --> <level value="1" prefixed="true" wordstyle="Heading Unnum 1" /> <level value="2" prefixed="true" wordstyle="Heading Unnum 2" /> <level value="3" prefixed="true" wordstyle="Heading Unnum 3" /> <level value="4" prefixed="true" wordstyle="Heading Unnum 4" /> <level value="5" prefixed="true" wordstyle="Heading Unnum 5" /> <level value="6" prefixed="true" wordstyle="Heading Unnum 6" /> <level value="7" prefixed="true" wordstyle="Heading Unnum 7" /> <level value="8" prefixed="true" wordstyle="Heading Unnum 8" /> <level value="9" prefixed="true" wordstyle="Heading Unnum 9" /> <!-- Numbered headings --> <level value="1" numbered="true" wordstyle="heading 1" /> <level value="2" numbered="true" wordstyle="heading 2" /> <level value="3" numbered="true" wordstyle="heading 3" /> <level value="4" numbered="true" wordstyle="heading 4" /> <level value="5" numbered="true" wordstyle="heading 5" /> <level value="6" numbered="true" wordstyle="heading 6" /> <level value="7" numbered="true" wordstyle="heading 7" /> <level value="8" numbered="true" wordstyle="heading 8" /> <level value="9" numbered="true" wordstyle="heading 9" /> <!-- Numbered prefixed headings --> <level value="1" numbered="true" prefixed="true" wordstyle="heading 1"> <prefix select="false" /> </level> <level value="2" numbered="true" prefixed="true" wordstyle="heading 2"> <prefix select="false" /> </level> <level value="3" numbered="true" prefixed="true" wordstyle="heading 3"> <prefix select="false" /> </level> <level value="4" numbered="true" prefixed="true" wordstyle="heading 4"> <prefix select="false" /> </level> <level value="5" numbered="true" prefixed="true" wordstyle="heading 5"> <prefix select="false" /> </level> <level value="6" numbered="true" prefixed="true" wordstyle="heading 6"> <prefix select="false" /> </level> <level value="7" numbered="true" prefixed="true" wordstyle="heading 7"> <prefix select="false" /> </level> <level value="8" numbered="true" prefixed="true" wordstyle="heading 8"> <prefix select="false" /> </level> <level value="9" numbered="true" prefixed="true" wordstyle="heading 9"> <prefix select="false" /> </level> </heading> <para> <indent level="0" wordstyle="Body Text"/> <!-- Indented unnumbered paragraphs --> <indent level="1" wordstyle="List Continue"/> <indent level="2" wordstyle="List Continue 2"/> <indent level="3" wordstyle="List Continue 3"/> <indent level="4" wordstyle="List Continue 4"/> <indent level="5" wordstyle="List Continue 5"/> <indent level="6" wordstyle="List Continue 6"/> <indent level="7" wordstyle="List Continue 7"/> <indent level="8" wordstyle="List Continue 8"/> <indent level="9" wordstyle="List Continue 9"/> <!-- Prefixed paragraphs --> <indent level="1" prefixed="true" wordstyle="List Manual"/> <indent level="2" prefixed="true" wordstyle="List Manual 2"/> <indent level="3" prefixed="true" wordstyle="List Manual 3"/> <indent level="4" prefixed="true" wordstyle="List Manual 4"/> <indent level="5" prefixed="true" wordstyle="List Manual 5"/> <indent level="6" prefixed="true" wordstyle="List Manual 6"/> <indent level="7" prefixed="true" wordstyle="List Manual 7"/> <indent level="8" prefixed="true" wordstyle="List Manual 8"/> <indent level="9" prefixed="true" wordstyle="List Manual 9"/> <!-- Numbered paragraphs --> <indent level="1" numbered="true" wordstyle="Para indent"/> <indent level="2" numbered="true" wordstyle="Para indent 2"/> <indent level="3" numbered="true" wordstyle="Para indent 3"/> <indent level="4" numbered="true" wordstyle="Para indent 4"/> <indent level="5" numbered="true" wordstyle="Para indent 5"/> <indent level="6" numbered="true" wordstyle="Para indent 6"/> <indent level="7" numbered="true" wordstyle="Para indent 7"/> <indent level="8" numbered="true" wordstyle="Para indent 8"/> <indent level="9" numbered="true" wordstyle="Para indent 9"/> <!-- Numbered prefixed paragraphs --> <indent level="1" numbered="true" prefixed="true" wordstyle="Para indent"> <prefix select="false" /> </indent> <indent level="2" numbered="true" prefixed="true" wordstyle="Para indent 2"> <prefix select="false" /> </indent> <indent level="3" numbered="true" prefixed="true" wordstyle="Para indent 3"> <prefix select="false" /> </indent> <indent level="4" numbered="true" prefixed="true" wordstyle="Para indent 4"> <prefix select="false" /> </indent> <indent level="5" numbered="true" prefixed="true" wordstyle="Para indent 5"> <prefix select="false" /> </indent> <indent level="6" numbered="true" prefixed="true" wordstyle="Para indent 6"> <prefix select="false" /> </indent> <indent level="7" numbered="true" prefixed="true" wordstyle="Para indent 7"> <prefix select="false" /> </indent> <indent level="8" numbered="true" prefixed="true" wordstyle="Para indent 8"> <prefix select="false" /> </indent> <indent level="9" numbered="true" prefixed="true" wordstyle="Para indent 9"> <prefix select="false" /> </indent> </para> <preformat wordstyle="HTML Preformatted" /> <nlist liststyle="Numbered List"> <!-- <role value="[value of role]" liststyle="[word list style]" /> --> </nlist> <list liststyle="Bulleted List"> <!-- <role value="[value of role]" liststyle="[word list style]" /> --> </list> <listpara> <level value="1" wordstyle="List Continue" /> <level value="2" wordstyle="List Continue 2" /> <level value="3" wordstyle="List Continue 3" /> <level value="4" wordstyle="List Continue 4" /> <level value="5" wordstyle="List Continue 5" /> <level value="6" wordstyle="List Continue 6" /> <level value="7" wordstyle="List Continue 7" /> <level value="8" wordstyle="List Continue 8" /> <level value="9" wordstyle="List Continue 9" /> </listpara> <image wordstyle="Image" /> </elements> </config>