public abstract class PageableDocumentController extends Object
| Constructor and Description |
|---|
PageableDocumentController(DocumentViewer documentViewer) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
bufferPages(int currentPageNum) |
abstract void |
closeDocument() |
abstract IDocument |
getActiveDocument() |
abstract String |
getFileName() |
abstract IPage |
getPage(int index) |
abstract int |
getPageCount() |
abstract List<IPage> |
getPages() |
abstract boolean |
isDocumentLoaded() |
abstract void |
loadDocument(InputStream inputStream,
String password,
List<DocumentListener> documentListeners) |
abstract void |
loadDocument(String fileName,
String password,
List<DocumentListener> documentListeners) |
abstract void |
renderingSettingsChanged(RenderingSettings renderingSettings) |
public PageableDocumentController(DocumentViewer documentViewer)
public abstract IPage getPage(int index) throws XDocException, IOException
XDocExceptionIOExceptionpublic abstract boolean isDocumentLoaded()
public abstract String getFileName()
public abstract List<IPage> getPages() throws XDocException, IOException
XDocExceptionIOExceptionpublic abstract int getPageCount()
throws XDocException
XDocExceptionpublic abstract IDocument getActiveDocument()
public abstract void loadDocument(String fileName, String password, List<DocumentListener> documentListeners) throws FormatNotSupportedException, IncorrectPasswordException, XDocException, IOException
public abstract void loadDocument(InputStream inputStream, String password, List<DocumentListener> documentListeners) throws FormatNotSupportedException, IncorrectPasswordException, XDocException, IOException
public abstract void closeDocument()
throws IOException
IOExceptionpublic abstract void renderingSettingsChanged(RenderingSettings renderingSettings)
public abstract void bufferPages(int currentPageNum)