Document Controller
The main Fat Controller of the document. Serves as the public gateway to access the document state and apply various actions on it.
Properties
Flowable configuration
Flowable document data provider
Navigator used to navigate between different io.nutrient.ui.navigation.DocumentViews
Access document text data
TextSearch used to manage and trigger various text search actions as well as provides text search state. The state is used to highlight search results in the document.
TextSelection used to manage and trigger various text selection actions as well as provides text selection state
Functions
Returns an object similar to textSearch.actions, but rather than updating the TextSearchState of textSearch, its updates are delivered into the provided updateState lambda. This method is useful when you want to manage the state of the search results yourself, or maybe just want to perform a background search without updating the UI. You can still forward your results to the UI by calling textSearch.actions.setExternalState
function to render page to default size bitmap
function to render page to bitmap
function to select page
function to show/hide the search UI
function to update configuration