duplicatePages

abstract fun duplicatePages(@NonNull pageIndexes: Set<Integer>): Single<List<EditingChange>>

Duplicates pages of the document. The duplicated pages will be inserted exactly after the original page.

Scheduler:
duplicatePages(Set<Integer>) does not operate by default on a particular .

Return

Single emitting a list of editing changes for undo/redo operations. If a batch operation is in progress, the emitted list will be empty and the actual editing change is generated upon committing the batch.

Parameters

pageIndexes

Page indexes to duplicate, may not be empty.