void
|
addHostListener(PdfViewCtrlTabHostBaseFragment.TabHostListener listener)
|
void
|
addNewPage()
Adds a new page.
|
void
|
addReflowControlListener(PdfViewCtrlTabHostBaseFragment.ReflowControlListener listener)
|
TabLayout.Tab
|
addTab(Bundle args, String tag, String title, String fileExtension, String password, int itemSource, int initialPage)
Adds a new tab
|
TabLayout.Tab
|
addTab(Bundle args, String tag, String title, String fileExtension, String password, int itemSource)
Adds a new tab
|
boolean
|
checkTabConversionAndAlert(int messageID, boolean allowConverted, boolean skipSpecialFileCheck)
Checks tab conversion and shows the alert.
|
boolean
|
checkTabConversionAndAlert(int messageID, boolean allowConverted)
|
void
|
clearHostListeners()
|
void
|
clearReflowControlListeners()
|
void
|
closeAllTabs(boolean closeViewer)
Closes all tabs and closes the viewer
|
void
|
closeAllTabs()
Closes all tabs.
|
void
|
closeTab(String tag)
Closes the specified tab.
|
void
|
createTabs(Bundle args)
Creates tabs.
|
void
|
exitSearchMode()
Exits the search mode.
|
PdfViewCtrlTabBaseFragment
|
getCurrentPdfViewCtrlFragment()
|
int
|
getTabCount()
Returns the number of tabs.
|
Toolbar
|
getToolbar()
|
int
|
getToolbarHeight()
|
boolean
|
handleBackPressed()
Handles when back button is pressed.
|
boolean
|
handleKeyShortcutEvent(int keyCode, KeyEvent event)
|
boolean
|
handleKeyUp(int keyCode, KeyEvent event)
Handles key when pressed up.
|
abstract
void
|
hideUI()
Hides the UI.
|
boolean
|
isInFullScreenMode()
|
void
|
onActivityCreated(Bundle savedInstanceState)
|
void
|
onAnnotationClicked(Annot annotation, int pageNum)
|
void
|
onAutoCropTaskDone()
|
boolean
|
onBackPressed()
Called when onBackPressed is called when viewing a document.
|
void
|
onBookmarksDialogDismissed(int tabIndex)
|
void
|
onBookmarksDialogWillDismiss(int tabIndex)
|
void
|
onConfigurationChanged(Configuration newConfig)
|
void
|
onCreate(Bundle savedInstanceState)
|
void
|
onCreateOptionsMenu(Menu menu, MenuInflater inflater)
|
View
|
onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
|
boolean
|
onCustomColorModeSelected(int bgColor, int txtColor)
|
void
|
onDestroy()
|
void
|
onDestroyView()
|
void
|
onDownloadedSuccessful()
|
void
|
onEditBookmarkFocusChanged(boolean isActive)
Called when user bookmark's edittext gains or loses focus
|
abstract
void
|
onEditToolbarMenu()
|
void
|
onExportAnnotations(PDFDoc pdfDoc)
|
void
|
onExportThumbnails(SparseBooleanArray pageNums)
|
void
|
onFlattenOptionSelected()
|
SearchResultsView.SearchResultStatus
|
onFullTextSearchFindText(boolean searchUp)
|
void
|
onFullTextSearchStart()
|
boolean
|
onHandleKeyShortcutEvent(int keyCode, KeyEvent event)
Called when key shortcut event triggered
|
void
|
onInkEditSelected(Annot inkAnnot, int pageNum)
|
void
|
onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom)
|
void
|
onOpenAddNewTab(Bundle args)
Creates and opens a new tab.
|
void
|
onOpenAddNewTab(int itemSource, String tag, String title, String password, int initialPage)
|
void
|
onOpenAddNewTab(int itemSource, String tag, String title, String password)
|
abstract
void
|
onOpenAnnotationToolbar(ToolManager.ToolMode mode)
|
abstract
void
|
onOpenEditToolbar(ToolManager.ToolMode mode)
|
boolean
|
onOptionsItemSelected(MenuItem item)
|
void
|
onOutlineClicked(Bookmark parent, Bookmark bookmark)
|
void
|
onOutlineOptionSelected(int initialTabIndex)
Called when outline option has been selected.
|
void
|
onOutlineOptionSelected()
Called when outline option has been selected.
|
void
|
onPageThumbnailOptionSelected(boolean thumbnailEditMode, Integer checkedItem)
|
void
|
onPause()
|
void
|
onPrepareOptionsMenu(Menu menu)
|
boolean
|
onQuickMenuClicked(QuickMenuItem menuItem)
|
void
|
onQuickMenuDismissed()
|
void
|
onQuickMenuShown()
|
int
|
onReflowZoomInOut(boolean flagZoomIn)
|
void
|
onResume()
|
void
|
onSaveAsOptionSelected()
|
void
|
onSaveCroppedCopySelected()
|
void
|
onSaveInstanceState(Bundle outState)
|
void
|
onSaveOptimizedCopySelected()
|
void
|
onSavePasswordCopySelected()
|
void
|
onSearchOptionSelected()
|
void
|
onSearchProgressHide()
|
void
|
onSearchProgressShow()
|
void
|
onSearchResultClicked(TextSearchResult result)
|
void
|
onSearchResultFound(TextSearchResult result)
|
boolean
|
onShowQuickMenu(QuickMenu quickmenu, Annot annot)
Called when quick menu is about to show.
|
void
|
onShowTabInfo(String tag, String title, String fileExtension, int itemSource, int duration)
Called when show tab info has been triggered.
|
void
|
onStart()
|
void
|
onStop()
|
void
|
onSystemUiVisibilityChange(int visibility)
|
void
|
onTabDocumentLoaded(String tag)
|
void
|
onTabError(int errorCode, String info)
|
void
|
onTabIdentityChanged(String oldTabTag, String newTabTag, String newTabTitle, String newFileExtension, int newTabSource)
|
void
|
onTabJumpToSdCardFolder()
Called when an SD card file is opened as a local file
|
void
|
onTabPaused(FileInfo fileInfo, boolean isDocModifiedAfterOpening)
|
abstract
void
|
onTabSingleTapConfirmed()
|
void
|
onTabThumbSliderStopTrackingTouch()
|
void
|
onThumbnailsEditAttemptWhileReadOnly()
|
void
|
onThumbnailsViewDialogDismiss(int pageNum, boolean docPagesModified)
|
void
|
onToggleReflow()
|
void
|
onUndoRedoPopupClosed()
|
void
|
onUpdateOptionsMenu()
Called when toolbar overflow menu should be updated
|
void
|
onUserBookmarkClick(int pageNum)
|
void
|
onUserCropDialogDismiss(int pageNumberAtDismiss)
|
void
|
onUserCropMethodSelected(int cropMode)
|
void
|
onUserCropSelectionDialogFragmentDismiss()
|
void
|
onViewCreated(View view, Bundle savedInstanceState)
|
boolean
|
onViewModeColorSelected(int colorMode)
|
void
|
onViewModeOptionSelected()
Called when view mode option has been selected.
|
void
|
onViewModePickerDialogFragmentDismiss()
|
void
|
onViewModeSelected(String viewMode, boolean thumbnailEditMode, Integer checkedItem)
Handles when view mode is selected.
|
void
|
onViewModeSelected(String viewMode)
|
boolean
|
readAndUnsetFileSystemChanged()
Reads and Unsets file system changed.
|
void
|
reloadUserBookmarks()
|
void
|
removeExtraTabs()
Removes extra tabs.
|
void
|
removeHostListener(PdfViewCtrlTabHostBaseFragment.TabHostListener listener)
|
void
|
removeReflowControlListener(PdfViewCtrlTabHostBaseFragment.ReflowControlListener listener)
|
void
|
removeTab(String filepath)
Removes the specified tab.
|
void
|
removeTab(String filepath, String nextTabTagToSelect)
Removes the specified tab.
|
void
|
removeTabAt(int index)
Removes the specified tab at index.
|
void
|
resetHideToolbarsTimer()
|
void
|
setAppBarVisibilityListener(PdfViewCtrlTabHostBaseFragment.AppBarVisibilityListener listener)
|
void
|
setCurrentTabByTag(String tag)
Selects the tab that has the specified tag.
|
static
void
|
setDebug(boolean debug)
|
void
|
setLongPressEnabled(boolean enabled)
Sets if the host can dispatch long press event.
|
void
|
setThumbSliderVisibility(boolean visible, boolean animate)
Sets the visibility of thumbnail slider.
|
void
|
setToolbarTimerDisabled(boolean disable)
Whether to disable the auto hide Toolbar timer
|
void
|
setToolbarsVisible(boolean visible)
Handles changing the visibility of toolbars.
|
abstract
void
|
setToolbarsVisible(boolean visible, boolean animateBottomBar)
Handles changing the visibility of toolbars.
|
void
|
setViewerOverlayUIVisible(boolean visible)
The implementation should change the visibility of top toolbar,
bottom navigation bar as well as system navigation bar.
|
void
|
setupRedaction()
|
void
|
showDigitalSignatureList()
|
void
|
showTabInfo(String message, String path, String tag, int itemSource, int duration)
Shows tab information in a snack bar
|
abstract
void
|
showUI()
Shows the UI.
|
void
|
showUserCropDialog(PDFViewCtrl pdfViewCtrl)
|
void
|
startSearchMode()
|
void
|
stopHideToolbarsTimer()
Stops timer for hiding toolbar.
|
boolean
|
updateColorMode()
Updates color mode.
|
void
|
updateToolbarDrawable()
|