move Pages
abstract fun movePages(@NonNull fromPositions: Set<Integer>, @IntRange(from = 0 ) toPosition: Int): Single<List<EditingChange>>
Moves a given set of pages of the document to a specific index.
- Scheduler:
movePages(Set<Integer>, int)
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
from Positions
Set of page indexes that will be moved, may not be empty.
to Position
Destination index where the pages will be moved.