Pdf Outline View
open class PdfOutlineView : FrameLayout, OutlinePagerBaseView.OnHideListener, PSPDFKitViews.PSPDFView, PdfDrawableManager
A layout containing the tab on the top and a view pager for switching between the outline, the list of annotations and the bookmarks.
Inheritors
Types
Link copied to clipboard
interface DocumentOutlineProvider
Interface to objects that provide outline elements.
Link copied to clipboard
interface OnAnnotationTapListener
Annotation list tap listener.
Link copied to clipboard
interface OnEmbeddedFileTapListener
Embedded file tap listener.
Link copied to clipboard
interface OnOutlineElementTapListener
Outline element tap listener.
Link copied to clipboard
A state pager adapter controlling the pager items (outline view and annotation list view) that saves and restores View states.
Properties
Functions
Link copied to clipboard
Adds a PdfDrawableProvider to be managed by this object.
Link copied to clipboard
open fun addOnDocumentInfoViewModeChangeListener(@NonNull listener: OnDocumentInfoViewModeChangeListener)
Adds the listener for the editing mode changes on this document info view.
Link copied to clipboard
Adds the listener for saving the document info changes.
Link copied to clipboard
Register a
listener
that would like to receive visibility change events.Link copied to clipboard
Called by the activity when the view should unbind the previously set document.
Link copied to clipboard
Returns the current type of this view.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Refreshes the view pager adapter and binds it to the pager tabs.
Link copied to clipboard
Removes a previously added PdfDrawableProvider.
Link copied to clipboard
open fun removeOnDocumentInfoViewModeChangeListener(@NonNull listener: OnDocumentInfoViewModeChangeListener)
Removes the listener for the editing mode changes on this document info view.
Link copied to clipboard
Removes the listener for saving the document info changes.
Link copied to clipboard
Unregister a previously registered
listener
that no longer wants to receive visibility change events.Link copied to clipboard
Enables additional controls in the annotation outline view to delete annotations.
Link copied to clipboard
Sets whether reordering of annotations in the annotation list is enabled.
Link copied to clipboard
open fun setAnnotationListViewEnabled(annotationListViewEnabled: Boolean, refreshViewPager: Boolean)
Enables annotation list view.
Link copied to clipboard
Sets an adapter that handles actual bookmark data.
Link copied to clipboard
Allows bookmark view to edit annotations.
Link copied to clipboard
Allows bookmark view to rename annotations.
Link copied to clipboard
Enables bookmark view.
Link copied to clipboard
Enables the embedded files view.
Link copied to clipboard
Called when the
document
has been loaded and is going to be displayed.Link copied to clipboard
Enables document info view.
Link copied to clipboard
open fun setDocumentOutlineProvider(@Nullable outlineProvider: PdfOutlineView.DocumentOutlineProvider)
Sets DocumentOutlineProvider that should be used as a source of outline elements in the outline list instead of document outline.
Link copied to clipboard
Sets annotation types to be listed (if the annotation list is enabled).
Link copied to clipboard
open fun setOnAnnotationTapListener(@Nullable onAnnotationTapListener: PdfOutlineView.OnAnnotationTapListener)
Sets a listener to be notified of annotation tap events.
Link copied to clipboard
open fun setOnEmbeddedFileTapListener(@Nullable onEmbeddedFileTapListener: PdfOutlineView.OnEmbeddedFileTapListener)
Sets a listener to be notified of embedded files tap events.
Link copied to clipboard
open fun setOnOutlineElementTapListener(@Nullable onOutlineElementTapListener: PdfOutlineView.OnOutlineElementTapListener)
Sets a listener to be notified of outline tap events.
Link copied to clipboard
Enables outline view.
Link copied to clipboard
Link copied to clipboard
Provide API for controlling content of the PdfOutlineView.
Link copied to clipboard
Sets the UndoManager used for tracking annotations removed from the annotation list.
Link copied to clipboard