[]
        
(Showing Draft Content)

MergeDocumentOptions

DsPdfJS API v9.1.0


DsPdfJS API / MergeDocumentOptions

Type Alias: MergeDocumentOptions

MergeDocumentOptions = object

Represents options for controlling the merging of PDF documents.

Properties

copyArticleThreads?

optional copyArticleThreads: boolean

Specifies whether to copy ArticleThreads. The default is true.


copyAssociatedFiles?

optional copyAssociatedFiles: boolean

Specifies whether to copy AssociatedFiles. The default is true.


copyDocumentLevelEmbeddedFiles?

optional copyDocumentLevelEmbeddedFiles: boolean

Specifies whether to copy files embedded in the source document. The default is false.


copyFields?

optional copyFields: boolean

Specifies whether to copy AcroForm fields. The default is true.


copyNamedDestinations?

optional copyNamedDestinations: boolean

Specifies whether to copy named destinations. The default is false. Note that if the source document contains destinations with same names as in the target document, then those destinations will be skipped.


copyOptionalContent?

optional copyOptionalContent: boolean

Specifies whether to copy OptionalContent. The default is true.


forceDirectCopy?

optional forceDirectCopy: boolean

Specifies whether to do NOT parse content streams and copy all objects referenced from resource streams. The default is false.


index?

optional index: number

The starting position in the destination document at which the pages of the source document will be inserted. -1 (default) means that pages will be added to the end of the document.


mergeStructTree?

optional mergeStructTree: boolean

Specifies whether to merge structure trees. The default is false.


outlineMergeMode?

optional outlineMergeMode: OutlineMergeMode

The outline merge mode. The default is None (in this mode, outlines from the source document are ignored).


range?

optional range: OutputRange

Specifies the range of pages in the source document that will be merged into the destination document. The default is all pages.