Class PdfConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class PdfConfiguration implements Parcelable
Configuration for the core of PSPDFKit rendering engine. To create the configuration use the Builder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
PdfConfiguration.Builder
Builder used to construct PdfConfiguration instance.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PdfConfiguration(PageScrollDirection scrollDirection, PageScrollMode scrollMode, PageFitMode fitMode, PageLayoutMode layoutMode, ThemeMode themeMode, Boolean isFirstPageAlwaysSingle, Boolean showGapBetweenPages, Boolean isScrollbarsEnabled, Integer backgroundColor, Integer loadingProgressDrawable, Integer memoryCacheSize, Boolean isInvertColors, Boolean isToGrayscale, Float startZoomScale, Float maxZoomScale, Boolean shouldZoomOutBounce, Boolean isTextSelectionEnabled, Boolean isFormEditingEnabled, Boolean isAutoSelectNextFormElementEnabled, Boolean isFormElementDateAndTimePickerEnabled, Boolean isAnnotationEditingEnabled, Boolean isAnnotationRotationEnabled, Boolean isContentEditingEnabled, Boolean isMeasurementsEnabled, Boolean isAnnotationLimitedToPageBounds, Boolean useRectangleSelectionForMarkupAnnotations, List<AnnotationType> editableAnnotationTypes, List<AnnotationTool> enabledAnnotationTools, Boolean selectedAnnotationResizeEnabled, Boolean selectedAnnotationResizeGuidesEnabled, Boolean selectedAnnotationFontScalingOnResizeEnabled, Float resizeGuideSnapAllowance, List<Float> guideLineIntervals, Boolean isAnnotationInspectorEnabled, List<AnnotationType> excludedAnnotationTypes, Boolean isAutosaveEnabled, Integer pagePadding, Boolean isVideoPlaybackEnabled, Boolean isPlayingMultipleMediaInstancesEnabled, Boolean isLastViewedPageRestorationEnabled, Boolean isAutomaticLinkGenerationEnabled, Boolean isCopyPasteEnabled, EnumSet<CopyPasteFeatures> enabledCopyPasteFeatures, Boolean isUndoEnabled, Boolean isRedoEnabled, AnnotationReplyFeatures annotationReplyFeatures, Integer fixedLowResRenderPixelCount, Boolean isMultithreadedRenderingEnabled, SignaturePickerOrientation signaturePickerOrientation, SignatureSavingStrategy signatureSavingStrategy, SignatureColorOptions signatureColorOptions, List<SignatureCreationMode> signatureCreationModes, Boolean isNoteAnnotationNoZoomHandlingEnabled, Boolean isJavaScriptEnabled, Boolean isTextSelectionPopupToolbarEnabled, Boolean isAnnotationPopupToolbarEnabled, EnumSet<ShareFeatures> enabledShareFeatures, Boolean allowMultipleBookmarksPerPage, Boolean scrollOnEdgeTapEnabled, Boolean animateScrollOnEdgeTaps, Integer scrollOnEdgeTapMargin, Boolean isMagnifierEnabled, Boolean showSignHereOverlay, Boolean showNoteEditorForNewNoteAnnotations, Boolean enableStylusOnDetection, OutlineElementState outlineElementState)
-
Method Summary
Modifier and Type Method Description final PageScrollDirection
getScrollDirection()
Scroll direction of the document (horizontal is default). final PageScrollMode
getScrollMode()
Scroll mode of the document (per-page is default). final PageFitMode
getFitMode()
Fit mode of the document (fit-to-screen is default). final PageLayoutMode
getLayoutMode()
Layout mode of the document (PageLayoutMode.AUTO is default). final ThemeMode
getThemeMode()
Theme mode of the whole app (ThemeMode.DEFAULT is default). final Boolean
isFirstPageAlwaysSingle()
Whether the first page should always be displayed as a single or not, false
by default.final Boolean
getShowGapBetweenPages()
Whether to show gap between pages in double page mode or not. final Boolean
isScrollbarsEnabled()
If the default document scrollbars should be enabled (defaults to true
).final Integer
getBackgroundColor()
Document paper color (white is default). final Integer
getLoadingProgressDrawable()
Returns drawable resource for the throbber displayed while loading the document. final Integer
getMemoryCacheSize()
Size of the memory cache (defaults to 1/4 of the available heap size). final Boolean
isInvertColors()
If the page colors should be inverted (defaults to false
).final Boolean
isToGrayscale()
Should the page colors be converted to grayscale (defaults to false
).final Float
getStartZoomScale()
The scale at which the document should start. final Float
getMaxZoomScale()
Maximum zoom scale in the document. final Boolean
getShouldZoomOutBounce()
Should the zoom out below the minimum zoom have a bounce-back effect on a page. final Boolean
isTextSelectionEnabled()
If text selection (programmatically and via long-press) is enabled (defaults to true
).final Boolean
isFormEditingEnabled()
Indicates whether the form editing is enabled or not. final Boolean
isAutoSelectNextFormElementEnabled()
Indicates whether the auto select next form element functionality is enabled or not (defaults to false
).final Boolean
isFormElementDateAndTimePickerEnabled()
Indicates whether the date and time pickers should be enabled for according form elements (defaults to true
)final Boolean
isAnnotationEditingEnabled()
Indicates whether the annotation editing is enabled or not. final Boolean
isAnnotationRotationEnabled()
Indicates whether the annotation rotation is enabled or not. final Boolean
isContentEditingEnabled()
Indicates whether the content editing is enabled or not. final Boolean
isMeasurementsEnabled()
Indicates whether the measurement tools are enabled or not. final Boolean
isAnnotationLimitedToPageBounds()
Indicates whether the annotations are limited to the page bounds. final Boolean
getUseRectangleSelectionForMarkupAnnotations()
Indicates whether the annotations are limited to the page bounds. final List<AnnotationType>
getEditableAnnotationTypes()
Returns a list of annotation types that should be editable. final List<AnnotationTool>
getEnabledAnnotationTools()
Returns a list of annotation tools that should be enabled. final Boolean
getSelectedAnnotationResizeEnabled()
Indicates whether the selected annotation resizing is enabled or not. final Boolean
getSelectedAnnotationResizeGuidesEnabled()
Indicates whether the annotation selection resize guide lines are enabled or not. final Boolean
getSelectedAnnotationFontScalingOnResizeEnabled()
Indicates whether the font scaling when resizing Freetext annotations with the bottom right handle is enabled. final Float
getResizeGuideSnapAllowance()
Defines aggressiveness of snapping to guide lines. final List<Float>
getGuideLineIntervals()
Defines guide line on/off intervals sizes. final Boolean
isAnnotationInspectorEnabled()
Indicates whether the annotation creation and editing inspectors are enabled. final List<AnnotationType>
getExcludedAnnotationTypes()
Returns a list of annotation types that will be excluded from rendering. final Boolean
isAutosaveEnabled()
Whether document autosave is enabled. final Integer
getPagePadding()
The padding between pages (defaults to 16dp). final Boolean
isVideoPlaybackEnabled()
Whether video playback is enabled in document. final Boolean
isPlayingMultipleMediaInstancesEnabled()
Whether playing multiple media instances is enabled or not. final Boolean
isLastViewedPageRestorationEnabled()
Whether restoration of the last viewed page when reopening a document is enabled or not. final Boolean
isAutomaticLinkGenerationEnabled()
Whether we automatically generating link annotations for links in the document text is enabled or not. final Boolean
isCopyPasteEnabled()
Whether copy and paste operations are enabled for annotations. final EnumSet<CopyPasteFeatures>
getEnabledCopyPasteFeatures()
The enabled CopyPasteFeatures. final Boolean
isUndoEnabled()
Whether undoing edits is enabled. final Boolean
isRedoEnabled()
Whether redoing undone edits is enabled. final AnnotationReplyFeatures
getAnnotationReplyFeatures()
Which parts of the annotation replies UI are enabled. final Integer
getFixedLowResRenderPixelCount()
Returns fixed low resolution render pixel count or null
.final Boolean
isMultithreadedRenderingEnabled()
Controls whether multithreaded rendering is enabled, defaults to true
.final SignaturePickerOrientation
getSignaturePickerOrientation()
The orientation to use for the signature picker, defaults to SignaturePickerOrientation.AUTOMATIC. final SignatureSavingStrategy
getSignatureSavingStrategy()
The saving strategy used when adding signatures. final SignatureColorOptions
getSignatureColorOptions()
Defines the signature color options available when using the "Draw" or "Type" signing UI. final List<SignatureCreationMode>
getSignatureCreationModes()
The ways in which the user can choose to add their signature. final Boolean
isNoteAnnotationNoZoomHandlingEnabled()
Whether handling for AnnotationFlags.NOZOOM flag for note annotations is enabled. final Boolean
isJavaScriptEnabled()
Controls whether JavaScript processing is enabled. final Boolean
isTextSelectionPopupToolbarEnabled()
Whether the text selection popup toolbar is enabled or not. final Boolean
isAnnotationPopupToolbarEnabled()
Whether the annotation popup toolbar is enabled or not. final EnumSet<ShareFeatures>
getEnabledShareFeatures()
Indicates which supported share features are enabled in the UI. final Boolean
getAllowMultipleBookmarksPerPage()
Indicates whether multiple bookmarks per page can be added or not, defaults to false
.final Boolean
getScrollOnEdgeTapEnabled()
Indicates whether tapping on the page edge causes the page to scroll. final Boolean
getAnimateScrollOnEdgeTaps()
Indicates whether page changes triggered by tapping the page edge cause an animation. final Integer
getScrollOnEdgeTapMargin()
The margin in DP in which taps on the page edge trigger page navigation. final Boolean
isMagnifierEnabled()
Indicates whether the magnifier is shown when: The text selection handles are touched.
The measurement annotations are created. Defaults to
true
.
final Boolean
getShowSignHereOverlay()
Indicates whether the sign here overlay is shown on signature form fields. final Boolean
getShowNoteEditorForNewNoteAnnotations()
Indicates whether the NoteEditor should be shown automatically when creating new note. final Boolean
getEnableStylusOnDetection()
Indicates whether we should automatically detect the stylus. final OutlineElementState
getOutlineElementState()
Indicates whether the outline elements expanded or collapsed.
-
-
-
Constructor Detail
-
PdfConfiguration
PdfConfiguration(PageScrollDirection scrollDirection, PageScrollMode scrollMode, PageFitMode fitMode, PageLayoutMode layoutMode, ThemeMode themeMode, Boolean isFirstPageAlwaysSingle, Boolean showGapBetweenPages, Boolean isScrollbarsEnabled, Integer backgroundColor, Integer loadingProgressDrawable, Integer memoryCacheSize, Boolean isInvertColors, Boolean isToGrayscale, Float startZoomScale, Float maxZoomScale, Boolean shouldZoomOutBounce, Boolean isTextSelectionEnabled, Boolean isFormEditingEnabled, Boolean isAutoSelectNextFormElementEnabled, Boolean isFormElementDateAndTimePickerEnabled, Boolean isAnnotationEditingEnabled, Boolean isAnnotationRotationEnabled, Boolean isContentEditingEnabled, Boolean isMeasurementsEnabled, Boolean isAnnotationLimitedToPageBounds, Boolean useRectangleSelectionForMarkupAnnotations, List<AnnotationType> editableAnnotationTypes, List<AnnotationTool> enabledAnnotationTools, Boolean selectedAnnotationResizeEnabled, Boolean selectedAnnotationResizeGuidesEnabled, Boolean selectedAnnotationFontScalingOnResizeEnabled, Float resizeGuideSnapAllowance, List<Float> guideLineIntervals, Boolean isAnnotationInspectorEnabled, List<AnnotationType> excludedAnnotationTypes, Boolean isAutosaveEnabled, Integer pagePadding, Boolean isVideoPlaybackEnabled, Boolean isPlayingMultipleMediaInstancesEnabled, Boolean isLastViewedPageRestorationEnabled, Boolean isAutomaticLinkGenerationEnabled, Boolean isCopyPasteEnabled, EnumSet<CopyPasteFeatures> enabledCopyPasteFeatures, Boolean isUndoEnabled, Boolean isRedoEnabled, AnnotationReplyFeatures annotationReplyFeatures, Integer fixedLowResRenderPixelCount, Boolean isMultithreadedRenderingEnabled, SignaturePickerOrientation signaturePickerOrientation, SignatureSavingStrategy signatureSavingStrategy, SignatureColorOptions signatureColorOptions, List<SignatureCreationMode> signatureCreationModes, Boolean isNoteAnnotationNoZoomHandlingEnabled, Boolean isJavaScriptEnabled, Boolean isTextSelectionPopupToolbarEnabled, Boolean isAnnotationPopupToolbarEnabled, EnumSet<ShareFeatures> enabledShareFeatures, Boolean allowMultipleBookmarksPerPage, Boolean scrollOnEdgeTapEnabled, Boolean animateScrollOnEdgeTaps, Integer scrollOnEdgeTapMargin, Boolean isMagnifierEnabled, Boolean showSignHereOverlay, Boolean showNoteEditorForNewNoteAnnotations, Boolean enableStylusOnDetection, OutlineElementState outlineElementState)
-
-
Method Detail
-
getScrollDirection
final PageScrollDirection getScrollDirection()
Scroll direction of the document (horizontal is default).
-
getScrollMode
final PageScrollMode getScrollMode()
Scroll mode of the document (per-page is default).
-
getFitMode
final PageFitMode getFitMode()
Fit mode of the document (fit-to-screen is default).
-
getLayoutMode
final PageLayoutMode getLayoutMode()
Layout mode of the document (PageLayoutMode.AUTO is default).
-
getThemeMode
final ThemeMode getThemeMode()
Theme mode of the whole app (ThemeMode.DEFAULT is default).
-
isFirstPageAlwaysSingle
final Boolean isFirstPageAlwaysSingle()
Whether the first page should always be displayed as a single or not,
false
by default.
-
getShowGapBetweenPages
final Boolean getShowGapBetweenPages()
Whether to show gap between pages in double page mode or not. Defaults to
false
(join pages together).
-
isScrollbarsEnabled
final Boolean isScrollbarsEnabled()
If the default document scrollbars should be enabled (defaults to
true
).
-
getBackgroundColor
@ColorInt() final Integer getBackgroundColor()
Document paper color (white is default).
-
getLoadingProgressDrawable
@DrawableRes() final Integer getLoadingProgressDrawable()
Returns drawable resource for the throbber displayed while loading the document.
-
getMemoryCacheSize
final Integer getMemoryCacheSize()
Size of the memory cache (defaults to 1/4 of the available heap size).
-
isInvertColors
final Boolean isInvertColors()
If the page colors should be inverted (defaults to
false
).
-
isToGrayscale
final Boolean isToGrayscale()
Should the page colors be converted to grayscale (defaults to
false
).
-
getStartZoomScale
final Float getStartZoomScale()
The scale at which the document should start.
-
getMaxZoomScale
final Float getMaxZoomScale()
Maximum zoom scale in the document.
-
getShouldZoomOutBounce
final Boolean getShouldZoomOutBounce()
Should the zoom out below the minimum zoom have a bounce-back effect on a page.
-
isTextSelectionEnabled
final Boolean isTextSelectionEnabled()
If text selection (programmatically and via long-press) is enabled (defaults to
true
).
-
isFormEditingEnabled
final Boolean isFormEditingEnabled()
Indicates whether the form editing is enabled or not.
-
isAutoSelectNextFormElementEnabled
final Boolean isAutoSelectNextFormElementEnabled()
Indicates whether the auto select next form element functionality is enabled or not (defaults to
false
).
-
isFormElementDateAndTimePickerEnabled
final Boolean isFormElementDateAndTimePickerEnabled()
Indicates whether the date and time pickers should be enabled for according form elements (defaults to
true
)
-
isAnnotationEditingEnabled
final Boolean isAnnotationEditingEnabled()
Indicates whether the annotation editing is enabled or not.
-
isAnnotationRotationEnabled
final Boolean isAnnotationRotationEnabled()
Indicates whether the annotation rotation is enabled or not.
-
isContentEditingEnabled
final Boolean isContentEditingEnabled()
Indicates whether the content editing is enabled or not.
-
isMeasurementsEnabled
final Boolean isMeasurementsEnabled()
Indicates whether the measurement tools are enabled or not.
-
isAnnotationLimitedToPageBounds
final Boolean isAnnotationLimitedToPageBounds()
Indicates whether the annotations are limited to the page bounds.
-
getUseRectangleSelectionForMarkupAnnotations
final Boolean getUseRectangleSelectionForMarkupAnnotations()
Indicates whether the annotations are limited to the page bounds.
-
getEditableAnnotationTypes
final List<AnnotationType> getEditableAnnotationTypes()
Returns a list of annotation types that should be editable. Empty list here means "All annotations are editable."
-
getEnabledAnnotationTools
final List<AnnotationTool> getEnabledAnnotationTools()
Returns a list of annotation tools that should be enabled. Note that empty list here means that all annotation tools are enabled.
-
getSelectedAnnotationResizeEnabled
final Boolean getSelectedAnnotationResizeEnabled()
Indicates whether the selected annotation resizing is enabled or not.
-
getSelectedAnnotationResizeGuidesEnabled
final Boolean getSelectedAnnotationResizeGuidesEnabled()
Indicates whether the annotation selection resize guide lines are enabled or not. Defaults to true.
-
getSelectedAnnotationFontScalingOnResizeEnabled
final Boolean getSelectedAnnotationFontScalingOnResizeEnabled()
Indicates whether the font scaling when resizing Freetext annotations with the bottom right handle is enabled. Defaults to true.
-
getResizeGuideSnapAllowance
@FloatRange(from = 0.0) final Float getResizeGuideSnapAllowance()
Defines aggressiveness of snapping to guide lines. How many pixels around guide will snap to guide when resizing. Defaults to 30f.
-
getGuideLineIntervals
@Size(min = 2, multiple = 2) final List<Float> getGuideLineIntervals()
Defines guide line on/off intervals sizes. Must have an even number of entries (>=2). Even indices are specifying the "on" intervals, the odd indices specifying the "off" intervals. "On" intervals specify length of the line dashes, "Off" specify length of the line gaps.
-
isAnnotationInspectorEnabled
final Boolean isAnnotationInspectorEnabled()
Indicates whether the annotation creation and editing inspectors are enabled.
-
getExcludedAnnotationTypes
final List<AnnotationType> getExcludedAnnotationTypes()
Returns a list of annotation types that will be excluded from rendering. Empty list means "All annotations are rendered."
-
isAutosaveEnabled
final Boolean isAutosaveEnabled()
Whether document autosave is enabled.
-
getPagePadding
final Integer getPagePadding()
The padding between pages (defaults to 16dp).
-
isVideoPlaybackEnabled
final Boolean isVideoPlaybackEnabled()
Whether video playback is enabled in document. (defaults to
false
).
-
isPlayingMultipleMediaInstancesEnabled
final Boolean isPlayingMultipleMediaInstancesEnabled()
Whether playing multiple media instances is enabled or not.
-
isLastViewedPageRestorationEnabled
final Boolean isLastViewedPageRestorationEnabled()
Whether restoration of the last viewed page when reopening a document is enabled or not. If
true
, the last viewed page will be restored when opening the document a second time. Iffalse
, the document will be opened at page index0
. Defaults totrue
.
-
isAutomaticLinkGenerationEnabled
final Boolean isAutomaticLinkGenerationEnabled()
Whether we automatically generating link annotations for links in the document text is enabled or not. If
true
we will automatically parse the text and generate clickable links for all URLs and eMail addresses in the document text. Defaults tofalse
.
-
isCopyPasteEnabled
final Boolean isCopyPasteEnabled()
Whether copy and paste operations are enabled for annotations. If
true
we will show copy and cut actions in the editing annotation toolbar. Defaults totrue
.
-
getEnabledCopyPasteFeatures
final EnumSet<CopyPasteFeatures> getEnabledCopyPasteFeatures()
The enabled CopyPasteFeatures. Defaults to all features being enabled.
-
isUndoEnabled
final Boolean isUndoEnabled()
Whether undoing edits is enabled. If
true
we will show undo actions in the toolbar. Defaults totrue
.
-
isRedoEnabled
final Boolean isRedoEnabled()
Whether redoing undone edits is enabled. If
true
we will show redo actions in the toolbar. Defaults totrue
,
-
getAnnotationReplyFeatures
final AnnotationReplyFeatures getAnnotationReplyFeatures()
Which parts of the annotation replies UI are enabled. See AnnotationReplyFeatures.
-
getFixedLowResRenderPixelCount
final Integer getFixedLowResRenderPixelCount()
Returns fixed low resolution render pixel count or
null
.
-
isMultithreadedRenderingEnabled
final Boolean isMultithreadedRenderingEnabled()
Controls whether multithreaded rendering is enabled, defaults to
true
.
-
getSignaturePickerOrientation
final SignaturePickerOrientation getSignaturePickerOrientation()
The orientation to use for the signature picker, defaults to SignaturePickerOrientation.AUTOMATIC.
-
getSignatureSavingStrategy
final SignatureSavingStrategy getSignatureSavingStrategy()
The saving strategy used when adding signatures. When the Electronic Signature component is available, saving defaults to SignatureSavingStrategy.NEVER_SAVE. Meanwhile, if the license used is still on legacy signatures, the property will default to SignatureSavingStrategy.SAVE_IF_SELECTED.
-
getSignatureColorOptions
final SignatureColorOptions getSignatureColorOptions()
Defines the signature color options available when using the "Draw" or "Type" signing UI. Defaults to black, purple, and blue.
-
getSignatureCreationModes
@Size(min = 1, max = 3) final List<SignatureCreationMode> getSignatureCreationModes()
The ways in which the user can choose to add their signature.
These are shown in the order specified as tabs across the top of the signatures UI. The first entry will be selected initially. If this array contains a single entry then the tabs will be hidden. This array must not be empty and must not contain duplicates.
-
isNoteAnnotationNoZoomHandlingEnabled
final Boolean isNoteAnnotationNoZoomHandlingEnabled()
Whether handling for AnnotationFlags.NOZOOM flag for note annotations is enabled.
Note: Note annotations are always displayed as if AnnotationFlags.NOZOOM flag was set by default - i.e. they won't scale with page.
true
if note annotations should respect missing AnnotationFlags.NOZOOM flag and should scale with page when it's not set.false
to prevent note annotations scaling with page.
-
isJavaScriptEnabled
final Boolean isJavaScriptEnabled()
Controls whether JavaScript processing is enabled. Defaults to
true
.Note: Processing JavaScript can be slow for documents with a large number of document providers or scripts. Disabling in most cases will not have any negative effects.
-
isTextSelectionPopupToolbarEnabled
final Boolean isTextSelectionPopupToolbarEnabled()
Whether the text selection popup toolbar is enabled or not. If disabled and used by some com.pspdfkit.ui.PdfActivity, the activity will fall back to using the old text selection toolbar.
-
isAnnotationPopupToolbarEnabled
final Boolean isAnnotationPopupToolbarEnabled()
Whether the annotation popup toolbar is enabled or not. This appears when you long press a selected annotation
-
getEnabledShareFeatures
final EnumSet<ShareFeatures> getEnabledShareFeatures()
Indicates which supported share features are enabled in the UI.
-
getAllowMultipleBookmarksPerPage
final Boolean getAllowMultipleBookmarksPerPage()
Indicates whether multiple bookmarks per page can be added or not, defaults to
false
. If disabled only one bookmark will be allowed to be added per page, otherwise multiple bookmarks can be added.
-
getScrollOnEdgeTapEnabled
final Boolean getScrollOnEdgeTapEnabled()
Indicates whether tapping on the page edge causes the page to scroll. Defaults to
true
enabling navigating the document by tapping the page edges.
-
getAnimateScrollOnEdgeTaps
final Boolean getAnimateScrollOnEdgeTaps()
Indicates whether page changes triggered by tapping the page edge cause an animation. Defaults to
false
disabling page change animations when changing the page by tapping the page edge.
-
getScrollOnEdgeTapMargin
final Integer getScrollOnEdgeTapMargin()
The margin in DP in which taps on the page edge trigger page navigation. Defaults to
24dp
.
-
isMagnifierEnabled
final Boolean isMagnifierEnabled()
Indicates whether the magnifier is shown when:
The text selection handles are touched.
The measurement annotations are created. Defaults to
true
.
-
getShowSignHereOverlay
final Boolean getShowSignHereOverlay()
Indicates whether the sign here overlay is shown on signature form fields. Defaults to
true
.
-
getShowNoteEditorForNewNoteAnnotations
final Boolean getShowNoteEditorForNewNoteAnnotations()
Indicates whether the NoteEditor should be shown automatically when creating new note. Defaults to
true
.
-
getEnableStylusOnDetection
final Boolean getEnableStylusOnDetection()
Indicates whether we should automatically detect the stylus. Enabling this will automatically disable all other inputs once we detect stylus use. Enabling this will also allow for swiping between pages with the finger during annotating and automatically turn on the "Use stylus for annotating" switch, if it is off. Disabling this setting allows for drawing with both the stylus and the finger but prevents swiping with the finger during annotating unless the "Use stylus for annotating" setting switch in the document has been manually turned on. Defaults to
true
-
getOutlineElementState
final OutlineElementState getOutlineElementState()
Indicates whether the outline elements expanded or collapsed.
-
-