public class IDRViewerOptions extends OutputModeOptions
Modifier and Type | Class | Description |
---|---|---|
static class |
IDRViewerOptions.ViewerUI |
Constructor | Description |
---|---|
IDRViewerOptions() |
|
IDRViewerOptions(java.util.Map<java.lang.String,java.lang.String> jvmOptions) |
Modifier and Type | Method | Description |
---|---|---|
void |
setGenerateSearchFile(boolean value) |
Generates search.json.
|
void |
setOutputThumbnails(boolean value) |
Output thumbnails of pages in /thumbnails/.
|
void |
setViewerUI(IDRViewerOptions.ViewerUI viewerUI) |
Sets the user interface to use for the viewer.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErrors, getFormsValues
public IDRViewerOptions(java.util.Map<java.lang.String,java.lang.String> jvmOptions)
public IDRViewerOptions()
public void setViewerUI(IDRViewerOptions.ViewerUI viewerUI)
Complete provides a fully featured viewer with bookmarks and thumbnail navigation.
Clean provides a cleanly styled user interface.
Simple provides a minimal, simple user interface.
SlideShow provides a slideshow presentation style user interface with fullscreen functionality.
Custom will not output an index.html file and can be used if you wish to use your own index file.
Possible values:
Also set in the JVM options with -Dorg.jpedal.pdf2html.viewerUI=
viewerUI
- The ViewerUI to use.public void setGenerateSearchFile(boolean value)
search.json is always generated in the IDRViewer Complete UI. Search is not supported as standard in other IDRViewer UI modes.
Possible value:
Also set with -Dorg.jpedal.pdf2html.generateSearchFile=
setGenerateSearchFile
in class OutputModeOptions
value
- is of type boolean.public void setOutputThumbnails(boolean value)
Possible value:
Default: false
Thumnails are always generated if using the IDRViewer with ViewerUI Complete.
Also set with -Dorg.jpedal.pdf2html.outputThumbnails=
setOutputThumbnails
in class OutputModeOptions
value
- is of type boolean.Copyright 2018 IDRsolutions ltd. All rights reserved.