static
boolean
|
getAllowPageChangeAnimation(Context context)
Returns whether page should turn with animation when tapping on the left of right edge of
the viewer.
|
static
boolean
|
getAllowPageChangeOnTap(Context context)
Returns whether the page should turn when tapping on the left of right edge of the viewer.
|
static
boolean
|
getAnnotListShowAuthor(Context context)
Returns whether the annotation list should display the annotation's author.
|
static
int
|
getAnnotListSortOrder(Context context, BaseAnnotationSortOrder defaultSortOrder)
Get the value saved in shared preferences.
|
static
String
|
getAnnotStylePreset(Context context, int annotType, int presetIndex, String suffix)
Gets annotation style preset by given tool mode and preset index
|
static
String
|
getAnnotStylePreset(Context context, int annotType, int presetIndex)
Gets annotation style preset by given tool mode and preset index
|
static
int
|
getAnnotStylesMoreAnnotType(Context context, int annotType, int presetIndex, String suffix, int defaultValue)
Gets annotation preset style picker more annot type selected type
|
static
int
|
getAnnotStylesTabIndex(Context context, int annotType, int presetIndex, String suffix)
Gets annotation preset style picker tab index
|
static
String
|
getAnnotToolbarVisibleAnnotTypes(Context context)
Gets visible annotation types in annotation toolbar
|
static
PdfViewCtrlTabHostFragment2.AnnotationToolbarPosition
|
getAnnotationToolbarPosition(Context context, PdfViewCtrlTabHostFragment2.AnnotationToolbarPosition defaultValue)
Gets annotation toolbar position in the viewer, default to TOP
|
static
boolean
|
getAppUpdated(Context context)
Returns whether the app gets updated.
|
static
String
|
getAppVersionName(Context context)
Returns the app version name.
|
static
String
|
getAuthorName(Context context)
Returns the author's name.
|
static
boolean
|
getAuthorNameHasBeenAsked(Context context)
Returns whether the author's name has been asked before.
|
static
String
|
getBackupCacheFolderTree(Context context)
Gets backup folder tree path
|
static
String
|
getBackupFolderPath(Context context)
gets backup folder path
|
static
boolean
|
getColorManagement(Context context)
Returns whether the color management is enabled.
|
static
int
|
getColorMode(Context context)
Returns the color mode.
|
static
String
|
getColorModePresets(Context context)
Gets color mode presets
|
static
int
|
getColorPickerPage(Context context)
Gets color picker current page
|
static
boolean
|
getContinuousAnnotationEdit(Context context)
Returns whether the continuous annotation edit mode is enabled.
|
static
boolean
|
getCopyAnnotatedTextToNote(Context context)
Returns whether the text of a text markup annotation should be automatically copied into
the annotation's note.
|
static
boolean
|
getCopyAnnotatedTextToNote(Context context, boolean defaultValue)
Returns whether the text of a text markup annotation should be automatically copied into
the annotation's note.
|
static
int
|
getCustomColorModeBGColor(Context context)
Gets custom color mode background color
|
static
int
|
getCustomColorModeTextColor(Context context)
Gets custom color mode text color
|
static
SharedPreferences
|
getDefaultSharedPreferences(Context context)
Gets default shared preference
|
static
ToolManager.ToolMode
|
getDefaultStylusToolMode(Context context)
Gets default stylus tool mode from shared preferences
|
static
boolean
|
getDoubleRowToolbarInUse(Context context)
Returns whether double row toolbar is in use
|
static
boolean
|
getDrawWithFinger(Context context)
Gets draw with finger mode from shared preferences
|
static
String
|
getEditUriBackupFilePath(Context context)
|
static
boolean
|
getEnableJavaScript(Context context)
Returns whether JavaScript actions embedded in PDF files should be executed.
|
static
String
|
getFavoriteColors(Context context)
Gets a set of recent used colors string
|
static
boolean
|
getFileFilter(Context context, int fileType, String suffix)
Gets whether filtering files.
|
static
boolean
|
getFollowSystemDarkMode(Context context)
Gets whether to follow the system setting for dark mode
|
static
boolean
|
getFreeHighlighterSmoothing(Context context)
Returns whether free highlighter should be auto-smoothed.
|
static
Set<String>
|
getFreeTextFonts(Context context)
Returns available fonts for free text annotations.
|
static
boolean
|
getFullScreenMode(Context context)
Returns whether the full screen mode is enabled.
|
static
int
|
getGridSize(Context context, String suffix)
Gets Grid size.
|
static
boolean
|
getImageSmoothing(Context context)
Returns whether the image smoothing mode is enabled.
|
static
boolean
|
getInRTLMode(Context context)
Get whether the viewer should be in RTL mode.
|
static
boolean
|
getInkSmoothing(Context context)
Returns whether ink drawn with a finger should be smoothed.
|
static
boolean
|
getInkSmoothing(Context context, boolean defaultValue)
Returns whether ink drawn with a finger should be smoothed.
|
static
int
|
getLinkEditLastOption(Context context)
get edit link dialog last option
|
static
String
|
getLocalAppVersion(Context context)
Returns the local app version.
|
static
String
|
getLocalFolderPath(Context context)
gets local folder path
|
static
String
|
getLocalFolderTree(Context context)
Gets local folder tree path
|
static
boolean
|
getMaintainZoomOption(Context context)
Returns whether the maintain zoom level mode is enabled.
|
static
boolean
|
getMultipleTabs(Context context)
Returns whether the multiple tabs mode is enabled.
|
static
String
|
getOpenUrlAsyncCache(Context context)
Gets the open url last viewed page cache
|
static
String
|
getOpenUrlPageStateAsyncCache(Context context)
Gets the open url last viewed zoom, h pos, v pos, rotation cache
|
static
boolean
|
getPageNumberOverlayOption(Context context)
Returns whether the page number should be shown when turning pages.
|
static
PDFViewCtrl.PageViewMode
|
getPageViewMode(Context context)
Returns page view mode value
|
static
boolean
|
getQuickBookmarkCreation(Context context)
Returns whether quick bookmark creation is enabled in the viewer.
|
static
String
|
getRecentColors(Context context)
Gets a set of recent used colors string
|
static
boolean
|
getRememberLastPage(Context context)
Returns whether documents opened from the recent list should be reopened on the last page
they were on.
|
static
String
|
getSavedExternalFolderTreeUri(Context context)
Gets saved external folder tree uri
|
static
String
|
getSavedExternalFolderUri(Context context)
Gets saved external folder Uri
|
static
int
|
getSavedFilePickerFileType(Context context)
Gets saved file picker file type
|
static
String
|
getSavedFilePickerLocation(Context context)
Gets saved file picker location
|
static
int
|
getSavedFolderPickerFileType(Context context)
Gets saved folder picker location
|
static
String
|
getSavedFolderPickerLocation(Context context)
Gets saved folder picker location
|
static
String
|
getSavedHomeToolbarMenu(Context context)
|
static
boolean
|
getScreenStayLock(Context context)
Returns whether the screen sleep lock mode is enabled.
|
static
int
|
getSelectedColorModePreset(Context context)
Gets selected color mode presets
|
static
boolean
|
getShowAnnotationIndicator(Context context, boolean defaultValue)
Returns whether annotation note indicator should be displayed retrieved from shared preferences,
returns default value if not in shared preferences.
|
static
boolean
|
getShowAnnotationIndicator(Context context)
Returns whether annotation note indicator should be displayed retrieved from shared preferences,
returns default value if not in shared preferences.
|
static
boolean
|
getShowNavigationBarForNewUI(Context context)
Returns whether the system navigation bar is visible in the new UI.
|
static
boolean
|
getShowOpenReadOnlySdCardFileWarning(Context context)
Gets whether it shows open read only sd card file warning dialog,
|
static
boolean
|
getShowRageScrollingInfo(Context context)
Gets whether to show rage scroll dialog
|
static
boolean
|
getShowScrollbarGuideline(Context context)
Returns whether the scrollbar guideline should be shown with the scrollbar.
|
static
boolean
|
getShowStatusBarForNewUI(Context context)
Returns whether the system status bar is visible in the new UI.
|
static
boolean
|
getShowTabBarForNewUI(Context context)
Returns whether the tab bar is visible in the new UI for tablets.
|
static
boolean
|
getShowTabBarForPhone(Context context)
Returns whether the tab bar is visible in the new UI for phones.
|
static
String
|
getSortMode(Context context)
Gets sort mode
|
static
boolean
|
getStoragePermissionDenied(Context context)
Returns whether storage permission has been denied
|
static
boolean
|
getStoragePermissionHasBeenAsked(Context context)
Returns whether storage permission request has been asked before.
|
static
boolean
|
getStylusAsPen(Context context)
Returns whether a stylus should act as a pen tool instead of a finger when touching the viewer.
|
static
boolean
|
getStylusAsPen(Context context, boolean defaultValue)
Returns whether a stylus should act as a pen tool instead of a finger when touching the viewer.
|
static
int
|
getThumbListFilterMode(Context context, int defaultMode)
Gets filter mode for thumbnails view
|
static
boolean
|
getUnlimitedTabsEnabled(Context context, boolean defaultValue)
Returns whether the number of tabs should be unlimited retrieved from shared preferences,
returns default value if not in shared preferences.
|
static
String
|
getViewMode(Context context)
Gets the view mode.
|
static
boolean
|
hasRtlModeOption(Context context)
Returns whether the viewer's page display dialog should include an option to enable
right-to-left document support.
|
static
boolean
|
isAutoSelectAnnotation(Context context, boolean defaultValue)
Returns whether the show quick menu mode is enabled.
|
static
boolean
|
isAutoSelectAnnotation(Context context)
Returns whether the show quick menu mode is enabled.
|
static
boolean
|
isDarkMode(Context context)
Whether it is in dark mode
|
static
boolean
|
isDesktopUI(Context context)
Returns whether the desktop UI mode is enabled.
|
static
boolean
|
isPrintAnnotationsMode(Context context)
Returns whether annotation should be printed along with the document.
|
static
boolean
|
isPrintDocumentMode(Context context)
Returns whether document itself should be printed.
|
static
boolean
|
isPrintSummaryMode(Context context)
Returns whether summary of annotations should be printed.
|
static
boolean
|
isVerticalScrollSnap(Context context)
Returns whether the vertical scrolling will snap to page is enabled.
|
static
void
|
setAllowPageChangeOnTap(Context context, boolean changePage)
Sets whether the page should turn when tapping on the left of right edge of the viewer.
|
static
void
|
setAnnotListShowAuthor(Context context, boolean showAuthor)
Sets whether the annotation list should display the annotation's author.
|
static
void
|
setAnnotStylePreset(Context context, int annotType, int presetIndex, String suffix, String annotStyleJSON)
Sets annotation style preset
|
static
void
|
setAnnotStylePreset(Context context, int annotType, int presetIndex, String annotStyleJSON)
Sets annotation style preset
|
static
void
|
setAnnotStylesMoreAnnotType(Context context, int annotType, int presetIndex, String suffix, int moreAnnotType)
Sets annotation preset style picker more annot type selected type
|
static
void
|
setAnnotStylesTabIndex(Context context, int annotType, int presetIndex, String suffix, int tabIndex)
Sets annotation preset style picker tab index
|
static
void
|
setAnnotToolbarVisibleAnnotTypes(Context context, String visibleAnnotTypes)
Sets visible annotation types in annotation toolbar
|
static
void
|
setAnnotationToolbarPosition(Context context, PdfViewCtrlTabHostFragment2.AnnotationToolbarPosition annotationToolbarPosition)
Sets annotation toolbar position in the viewer
|
static
void
|
setAuthorNameHasBeenAsked(Context context)
Sets that the author's name has been asked before.
|
static
void
|
setAutoSelectAnnotation(Context context, boolean value)
Sets whether the show quick menu mode is enabled.
|
static
void
|
setColorManagement(Context context, boolean enabled)
Sets whether the color management is enabled.
|
static
void
|
setColorMode(Context context, int mode)
Sets the color mode in the shared preferences.
|
static
void
|
setColorModePresets(Context context, String jsonSerializedArray)
Sets color mode presets
|
static
void
|
setColorPickerPage(Context context, int page)
Sets color picker current page
|
static
void
|
setContinuousAnnotationEdit(Context context, boolean value)
Sets whether the continuous annotation edit mode is enabled.
|
static
void
|
setCopyAnnotatedTextToNote(Context context, boolean value)
Sets whether the text of a text markup annotation should be automatically copied into
the annotation's note.
|
static
void
|
setCustomColorModeBGColor(Context context, int color)
Sets custom color mode background color
|
static
void
|
setCustomColorModeTextColor(Context context, int color)
Sets custom color mode text color
|
static
void
|
setDefaultStylusToolMode(Context context, ToolManager.ToolMode mode)
Sets the default stylus tool mode in the shared preferences.
|
static
void
|
setDrawWithFinger(Context context, boolean drawWithFinger)
Sets whether the finger should draw when stylus as pen is enabled in the shared preferences.
|
static
void
|
setEnableJavaScript(Context context, boolean value)
Sets whether JavaScript actions embedded in PDF files should be executed.
|
static
void
|
setFavoriteColors(Context context, String colors)
Sets recently used colors
|
static
void
|
setFollowSystemDarkMode(Context context, boolean followSystem)
Sets whether to follow the system setting for dark mode
|
static
void
|
setFreeTextFonts(Context context, Set<String> value)
Sets available fonts for free text annotations.
|
static
void
|
setFullScreenMode(Context context, boolean enabled)
Sets whether the full screen mode is enabled.
|
static
void
|
setInkSmoothing(Context context, boolean value)
Sets whether ink drawn with a finger should be smoothed.
|
static
void
|
setLinkEditLastOption(Context context, int option)
set edit link dialog last option
|
static
void
|
setMultipleTabs(Context context, boolean enabled)
Sets whether the multiple tabs mode is enabled.
|
static
void
|
setOpenUrlAsyncCache(Context context, String jsonString)
Sets the open url last viewed page cache
|
static
void
|
setOpenUrlPageStateAsyncCache(Context context, String jsonString)
Sets the open url last viewed zoom, h pos, v pos, rotation cache
|
static
void
|
setPageViewMode(Context context, PDFViewCtrl.PageViewMode value)
Sets page view mode value
|
static
void
|
setPrintAnnotationsMode(Context context, boolean enabled)
Sets whether annotation should be printed in the shared preferences.
|
static
void
|
setPrintDocumentMode(Context context, boolean enabled)
Sets whether document itself should be printed in the shared preferences.
|
static
void
|
setPrintSummaryMode(Context context, boolean enabled)
Sets whether summary of annotations should be printed in the shared preferences.
|
static
void
|
setRecentColors(Context context, String colors)
Sets recently used colors
|
static
void
|
setSavedHomeToolbarMenu(Context context, String toolbarMenu)
|
static
void
|
setSelectedColorModePreset(Context context, int position)
Sets selected color mode preset
|
static
void
|
setShowAnnotationIndicator(Context context, boolean value)
Sets whether annotation note indicator should be displayed retrieved from shared preferences,
returns default value if not in shared preferences.
|
static
void
|
setShowNavigationBarForNewUI(Context context, boolean show)
Sets whether the system navigation bar is visible in the new UI.
|
static
void
|
setShowScrollbarGuideline(Context context, boolean showGuideline)
Sets whether the scrollbar guideline should be shown with the scrollbar.
|
static
void
|
setShowStatusBarForNewUI(Context context, boolean show)
Sets whether the system status bar is visible in the new UI.
|
static
void
|
setShowTabBarForNewUI(Context context, boolean show)
Sets whether the tab bar is visible in the new UI for tablets.
|
static
void
|
setShowTabBarForPhone(Context context, boolean show)
Sets whether the tab bar is visible in the new UI for phones.
|
static
void
|
setVerticalScrollSnap(Context context, boolean enabled)
Sets whether the vertical scrolling will snap to page is enabled.
|
static
boolean
|
shouldShowHowToPaste(Context context)
Returns whether should teach the user how to paste.
|
static
void
|
updateAnnotListSortOrder(Context context, BaseAnnotationSortOrder sortOrder)
Updates sort order for annotation list
|
static
void
|
updateAuthorName(Context context, String value)
Updates the author's name.
|
static
void
|
updateBackupCacheFolderPath(Context context, String path)
Updates backup folder path
|
static
void
|
updateBackupCacheFolderTree(Context context, String path)
Updates backup folder tree
|
static
void
|
updateDoubleRowToolbarInUse(Context context, boolean value)
Updates whether double row toolbar is in use
|
static
void
|
updateEditUriBackupFilePath(Context context, String filepath)
|
static
void
|
updateFileFilter(Context context, int fileType, String suffix, boolean visibility)
Updates file filter
|
static
void
|
updateGridSize(Context context, String suffix, int size)
Updates grid size
|
static
void
|
updateInRTLMode(Context context, boolean isRTL)
Update whether the viewer should be in RTL mode.
|
static
void
|
updateLocalAppVersion(Context context)
Updates the local app version in the shared preferences.
|
static
void
|
updateLocalFolderPath(Context context, String path)
Updates local folder path
|
static
void
|
updateLocalFolderTree(Context context, String path)
Updates local folder tree
|
static
void
|
updateRtlModeOption(Context context, boolean rtlModeOption)
Updates the right-to-left mode option in the shared preferences.
|
static
void
|
updateSavedExternalFolderTreeUri(Context context, String uri)
Updates saved external folder tree uri
|
static
void
|
updateSavedExternalFolderUri(Context context, String uri)
Updates Saved external folder uri
|
static
void
|
updateSavedFilePickerFileType(Context context, int fileType)
Update saved file picker file type
|
static
void
|
updateSavedFilePickerLocation(Context context, String location)
Updates saved file picker locaiton
|
static
void
|
updateSavedFolderPickerFileType(Context context, int fileType)
Updates saved folder picker file type
|
static
void
|
updateSavedFolderPickerLocation(Context context, String location)
Updates saved folder picker location
|
static
void
|
updateShowOpenReadOnlySdCardFileWarning(Context context, boolean val)
Updates show open read only SD card file warning dialog
|
static
void
|
updateShowRageScrollingInfo(Context context, boolean value)
Sets whether to show rage scroll dialog
|
static
void
|
updateSortMode(Context context, String mode)
Updates sort mode
|
static
void
|
updateStoragePermissionDenied(Context context, boolean value)
Updates whether storage permission has been denied.
|
static
void
|
updateStoragePermissionHasBeenAsked(Context context, boolean value)
Updates whether storage permission request has been asked before
|
static
void
|
updateStylusAsPen(Context context, boolean enable)
Sets whether a stylus should act as a pen tool instead of a finger when touching the viewer.
|
static
void
|
updateThumbListFilterMode(Context context, int mode)
Sets filter mode for thumbnails view
|
static
void
|
updateViewMode(Context context, String mode)
Update the view mode in the shared preferences.
|