Program se spouští z příkazové řádky. Po zadání příkazu DocxToXml.Console -? se zobrazí následující nápověda.
| -i <i> | Vstupní soubor nebo složka. Parametr smí obsahovat kombinaci platné absolutní cesty a zástupných znaků (* a ?), nepodporuje však regulární výrazy. |
| -o <o> | Výstupní složka. Pokud složka neexistuje, vytvoří se. |
| -t <t> | Transformační soubor pro DOCX. |
| -r | Vedle souborů ve vstupní složce se budou transformovat také soubory v podsložkách. |
| -n | Existující výstupní soubor XML se nepřepíše. |
| --verbose | Vypíše podrobné ladicí informace do konzole. |
| --no-preserve | Pokud obsah prvku začíná nebo končí bílým znakem, součástí značky XML bude atribut @xml:space s hodnotou „preserve“. V ostatních případech se atribut @xml:space nevygeneruje. |
| --skip-footnotes | Ve výstupním souboru XML se vynechají poznámky pod čarou a závěrečné poznámky. |
| --skip-comments | Ve výstupním souboru XML se vynechají komentáře. |
| --skip-images | Ve výstupním souboru XML se vynechají obrázky. |
| --att | Vygenerují se pouze XML prvky <paragraph>, <character> a <table> s atributem @style. Bez této volby se styly transformují na názvy prvků podle pravidel v transformačním souboru. |
| --no-indent | Prvky XML výstupním souboru se neodsadí. |
| --no-parallel | Zpracování souborů neproběhne paralelně. |
| --watch | Pokud se za běhu programu vstupní soubory změnily a byly uloženy, program je znovu transformuje. Tato možnost funguje pouze u lokálních (nikoli sdílených) disků. |
| --xslt <xslt> | Transformační soubor XSLT. Lze ho využít pro transformaci vygenerovaného souboru XML do jiné struktury nebo jiného formátu. |
| --version | Zobrazí informace o verzi programu. |
The program is run from the command line. After typing DocxToXml.Console -? you receive the following help.
| -i <i> | Input file or directory. File can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions. |
| -o <o> | Output directory. If directory doesn't exist it will be created. |
| -t <t> | DOCX transformation file. |
| -r | Transform files in input directory recursively. |
| -n | Do not overwrite existing files. |
| --verbose | Prints DEBUG info to console. |
| --no-preserve | The @xml:space attribute with 'preserve' value is used when element ends with white space character, without this option no @xml:space attribute is generated. |
| --skip-footnotes | Footnotes and endnotes are skipped in XML file. |
| --skip-comments | Comments are skipped in XML file. |
| --skip-images | Images are skipped in XML file. |
| --att | Only XML elements <paragraph>, <character> and <table> with @style attribute will be generated, otherwise styles are transformed to element names according to rules in transformation file. |
| --no-indent | XML elements will be not indented. |
| --no-parallel | Transformation of multiple files will not be performed in parallel. |
| --watch | Program will wait for changes of source files and transform them periodically. This option works only on local drives (not on shares). |
| --xslt <xslt> | XSLT transformation file. It can be used for transforming generated XML file to another structure. |
| --version | Display version information |