EditingChange

class EditingChange(val editingOperation: EditingOperation, @IntRange(from = 0) val affectedPageIndex: Int, @IntRange(from = 0) val pageIndexDestination: Int, @IntRange(from = 0) val pageReferenceSourceIndex: Int)

Change that happened because of an operation performed by the document editor that can be undone/redone.

Constructs a new editing change.

Parameters

editingOperation

Type of editing change operation.

affectedPageIndex

Affected page index.

pageIndexDestination

Page index destination if it was a move change.

Constructors

Link copied to clipboard
constructor(editingOperation: EditingOperation, @IntRange(from = 0) affectedPageIndex: Int, @IntRange(from = 0) pageIndexDestination: Int, @IntRange(from = 0) pageReferenceSourceIndex: Int)

Properties

Link copied to clipboard
@get:IntRange(from = 0)
val affectedPageIndex: Int

Gets the affected page index.

Link copied to clipboard

The operation type.

Link copied to clipboard
@get:IntRange(from = 0)
val pageIndexDestination: Int

Gets the page index destination if it was a move change.

Link copied to clipboard

If it was a reference insertion change, the index origin of the page reference.