Skip to content
Document Authoring DA  API Docs v2.0.0
npmGitHub

ExportConfig>= v1.12.0

ExportConfig:

Export configuration specifying the target format and any format-specific options.

DocAuthDocument.export

Export as PDF.

PropertyTypeDescription
format"pdf"(required)
updateFieldsbooleanUpdate every field before exporting, as DocAuthDocument.updateFields does, so
the export shows up-to-date tables of contents, page references and page counts. The
fields are updated in a copy: the document itself is not changed. Default: false
PDF_AbooleanGenerate a PDF/A compliant PDF. Default: false
bookmarks`“headings""documentBookmarks"
”Create bookmarks using” option does:
  • 'headings': the paragraphs styled Heading 1 to Heading 6, titled by their text and nested by level. Paragraphs in other styles are not listed, even when the style has an outline level.
  • 'documentBookmarks': the bookmarks in the document, by name, in reading order. Hidden bookmarks such as _Toc… are left out.
  • 'none': no PDF bookmarks.

Only the main text contributes: headings and bookmarks in headers, footers, notes and text boxes are not listed. Default: 'headings' | | abortSignal | AbortSignal | An optional signal to abort the export operation. |

Export as DOCX.

PropertyTypeDescription
format"docx"(required)
updateFieldsbooleanUpdate every field before exporting, as DocAuthDocument.updateFields does, so
the export shows up-to-date tables of contents, page references and page counts. The
fields are updated in a copy: the document itself is not changed. Default: false
abortSignalAbortSignalAn optional signal to abort the export operation.

Export as Markdown.

PropertyTypeDescription
format"markdown"(required)
updateFieldsbooleanUpdate every field before exporting, as DocAuthDocument.updateFields does, so
the export shows up-to-date tables of contents, page references and page counts. The
fields are updated in a copy: the document itself is not changed. Default: false
abortSignalAbortSignalAn optional signal to abort the export operation.

Export as RTF.

PropertyTypeDescription
format"rtf"(required)
updateFieldsbooleanUpdate every field before exporting, as DocAuthDocument.updateFields does, so
the export shows up-to-date tables of contents, page references and page counts. The
fields are updated in a copy: the document itself is not changed. Default: false
abortSignalAbortSignalAn optional signal to abort the export operation.

Export as ODT.

PropertyTypeDescription
format"odt"(required)
updateFieldsbooleanUpdate every field before exporting, as DocAuthDocument.updateFields does, so
the export shows up-to-date tables of contents, page references and page counts. The
fields are updated in a copy: the document itself is not changed. Default: false
abortSignalAbortSignalAn optional signal to abort the export operation.