public class

PdfViewCtrlTabInfo

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.model.PdfViewCtrlTabInfo

Class Overview

Structure corresponds to the information of a PDFViewCtrl tab

Summary

Fields
public int bookmarkDialogCurrentTab The tab index of the bookmark dialog.
public String fileExtension File extension
public int hScrollPos Horizontal scroll position
public boolean isReflowMode Reflow mode
public boolean isRtlMode Right-to-left mode
public int lastPage Last viewed page number Note: Page number starts from 1.
public int pagePresentationMode Page presentation mode.
public int pageRotation Page rotation
public String password Password
public int reflowTextSize Reflow text size
public String tabLastViewedTimestamp Last viewed time
public int tabSource The source of tab
public String tabTitle Tab title
public int vScrollPos Vertical scroll position
public double zoom Zoom factor
Public Constructors
PdfViewCtrlTabInfo()
PdfViewCtrlTabInfo(JSONObject jsonObject)
Public Methods
PDFViewCtrl.PagePresentationMode getPagePresentationMode()
boolean hasPagePresentationMode()
void setPagePresentationMode(PDFViewCtrl.PagePresentationMode pagePresentationMode)
Sets the page presentation mode.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public int bookmarkDialogCurrentTab

The tab index of the bookmark dialog. Note: -1 specifies the tab index has not yet defined.

public String fileExtension

File extension

public int hScrollPos

Horizontal scroll position

public boolean isReflowMode

Reflow mode

public boolean isRtlMode

Right-to-left mode

public int lastPage

Last viewed page number Note: Page number starts from 1.

public int pagePresentationMode

Page presentation mode.

public int pageRotation

Page rotation

public String password

Password

public int reflowTextSize

Reflow text size

public String tabLastViewedTimestamp

Last viewed time

public int tabSource

The source of tab

public String tabTitle

Tab title

public int vScrollPos

Vertical scroll position

public double zoom

Zoom factor

Public Constructors

public PdfViewCtrlTabInfo ()

public PdfViewCtrlTabInfo (JSONObject jsonObject)

Public Methods

public PDFViewCtrl.PagePresentationMode getPagePresentationMode ()

Returns

public boolean hasPagePresentationMode ()

Returns
  • True if the page presentation mode is specified

public void setPagePresentationMode (PDFViewCtrl.PagePresentationMode pagePresentationMode)

Sets the page presentation mode. See PDFViewCtrl.PagePresentationMode

Parameters
pagePresentationMode The page presentation mode