将一个文档中的页面插入到另一个文档中的指定位置。

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

Properties

entireDoc?: boolean

是否插入整个文档。

insertAt: number

插入新页面的位置索引。

insertDocPassword?: string

要插入文档的密码,默认为空字符串。

insertDocSrc: string
pageArr: number[]

来自 insertDoc 中需要被插入的页码数组。

renameForm?: boolean

插入过程中是否重命名表单字段。

retainBookmark?: boolean

是否保留源文档中的书签。

showRenameFormDlg?: boolean

是否显示重命名表单字段的对话框。

srcDocTitle?: string

源文档的标题。