PageEditor

interface PageEditor

Editor for a single Page within a document. Supports duplication, deletion, and validation of contained fields.

Properties

Link copied to clipboard
abstract val page: Page

The underlying page model.

Functions

Link copied to clipboard
abstract fun delete()

Delete this page from the document.

Link copied to clipboard
abstract fun duplicate(): PageEditor

Create a copy of this page and return an editor for the duplicate.

Link copied to clipboard
abstract fun validate(): FieldsValidity

Validate all fields contained within this page.