isDocumentEmpty

abstract fun isDocumentEmpty(): Boolean

Checks if document editor has removed every document page. This is useful to avoid saving documents with zero pages.

Return

true if document editor has no pages.