public interface PDFController extends Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
addPDF(String resultID,
PDFViewer pdfViewer)
Registers a pdf viewer to the controller.
|
void |
openPDF(String resultID,
String pageNumber)
Opens a pdf viewer for a specific result id.
|
int |
sizeOfRegisterdPDFViewer()
Informs about the number of already registered pdf viewer.
|
void addPDF(String resultID, PDFViewer pdfViewer)
resultID - The result id is an arbitrary String and does not have to be unique for every
pdf viewer. If already a pdf viewer is registered for a specific result id, the new pdf
viewer is appended.pdfViewer - The registered pdf viewer.void openPDF(String resultID, String pageNumber)
resultID - Is an arbitrary String. If no pdf viewer is registered an
IllegalArgumentException is thrown.pageNumber - Determines the pages of the pdf to render. The String could specify a range
(eg. [1-12]) or a singe page (eg. 3).int sizeOfRegisterdPDFViewer()
Copyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.