Insert pages from one document into another at a specified position.

interface InsertPagesType {
    entireDoc?: boolean;
    insertAt: number;
    insertDocPassword?: string;
    insertDocSrc: string;
    pageArr: number[];
    renameForm?: boolean;
    retainBookmark?: boolean;
    showRenameFormDlg?: boolean;
    srcDocTitle?: string;
}

Properties

entireDoc?: boolean

Whether to insert the entire document.

insertAt: number

The page index where the new pages will be inserted.

insertDocPassword?: string

The password for the document to be inserted, defaults to an empty string.

insertDocSrc: string
pageArr: number[]

An array of page numbers from insertDoc that should be inserted.

renameForm?: boolean

Whether to rename forms during insertion.

retainBookmark?: boolean

Whether to retain bookmarks from the source document.

showRenameFormDlg?: boolean

Whether to show a dialog for renaming forms.

srcDocTitle?: string

The title of the source document.