Functions

Link copied to clipboard
abstract fun bindContentEditingInspectorController(@NonNull contentEditingInspectorController: ContentEditingInspectorController)
Binds to the content editing inspector controller for managing content editing views
Link copied to clipboard
abstract fun clearContentEditing()
Called when the user clicks the clear button on the content editing styling bar
Link copied to clipboard
abstract fun displayColorPicker(@Nullable preselectStyle: StyleInfo)
Called when the user clicks the font color button on the content editing styling bar
Link copied to clipboard
abstract fun displayFontNamesSheet(@Nullable preselectStyle: StyleInfo)
Called when the user clicks the font name button on the content editing styling bar
Link copied to clipboard
abstract fun displayFontSizesSheet(@Nullable preselectStyle: StyleInfo)
Called when the user clicks the font size button on the content editing styling bar
Link copied to clipboard
abstract fun displayLineSpacingSheet(@Nullable preselectLineSpacing: Float)
Called when the user clicks the line spacing button on the content editing styling bar
Link copied to clipboard
Called to exit a current content editing session.
abstract fun finishContentEditingSession(saveContent: Boolean)
Called to exit a current content editing session
Link copied to clipboard
Get the ContentEditingStylingBarItem to determine which annotation inspector to display
Link copied to clipboard
Returns an content editing manager which you can use to register listeners from the controller.
Link copied to clipboard
abstract fun getCurrentFormatter(): ContentEditingFormatter
Get the formatter that will be used to update the user selections on the UI
Link copied to clipboard
abstract fun getCurrentStyleInfo(): StyleInfo
Returns the current style of the currently edited textblock for the current cursor position/selection, or null if there's no such thing
Link copied to clipboard
abstract fun getCurrentTextBlockStyleInfo(): TextBlockStyleInfo
Returns the global style properties of the currently edited textblock, or null if there's no such thing
Link copied to clipboard
Delivers the content editing undo manager
Link copied to clipboard
abstract fun hasUnsavedChanges(): Boolean
Checks whether there are unsaved content changes.
Link copied to clipboard
abstract fun isBoldStyleButtonEnabled(@Nullable styleInfo: StyleInfo): Boolean
Evaluates the enabled state for the "bold" button in the ContentEditingStylingBar
Link copied to clipboard
Check function for the ContentEditingStylingBar bar if it should enable or disable its "Clear" button.
Link copied to clipboard
abstract fun isItalicStyleButtonEnabled(@Nullable styleInfo: StyleInfo): Boolean
Evaluates the enabled state for the "italic" button in the ContentEditingStylingBar
Link copied to clipboard
Checks whether the redo button is enabled
Link copied to clipboard
abstract fun isSaveEnabled(): Boolean
Checks whether the save button is enabled.
Link copied to clipboard
Checks whether the undo button is enabled
Link copied to clipboard
Unbinds from previously bound content editing inspector controller.