mirror of https://github.com/tobya/DocTo
1.3 KiB
1.3 KiB
{ "title" : "How do I change where bookmarks come from in a converted PDF ? " }
How do I change where bookmarks come from in a converted PDF ?
When converting to a PDF by Default Word Headings are used for the bookmarks in the PDF. You can if you wish use other options
- WordHeadings (default)
- WordBookmarks
- None
This is the command line to change the bookmark source to None
With this option no bookmarks are present in the output PDF file
Command Line
docto -WD -f 'c:\path\Document.doc' -o 'c:\path\Document.pdf' -t wdFormatPDF --bookmarksource None
or easier to read
docto -WD
-f 'c:\path\Document.doc'
-o 'c:\path\Document.pdf'
-t wdFormatPDF
--bookmarksource None
Command Line Explained
-WD
: This is a conversion using Microsoft Word.-f
: The File or directory to be converted-o
: The Output File or Directory where you would like the converted file to be written to.-T
: The file format type that is being converted to--bookmarksource
: Where to get Bookmarks from for PDF. This parameter is only relevant for PDF files.
Some other interesting commands
You might find some of the following commands also interesting.