View Mode
Configure the output mode between idrviewer, content and singlefile. The default mode is idrviewer, which includes the IDRViewer within the output. The content mode generates the document without the IDRViewer. The singlefile mode generates a single HTML file with the content.
Note: The singlefile mode may not be appropriate for large or complex documents. More information: Can BuildVu generate a single file?
Expected values:
content
idrviewer
singlefile
(since 2025.10)
Default: idrviewer
Usage Examples
Command Line
-Dorg.jpedal.pdf2html.viewMode=content
Cloud
{ "org.jpedal.pdf2html.viewMode": "content" }
Java
new PDFtoHTML5Converter(input, output, htmlConversionOptions, new IDRViewerOptions());
new PDFtoHTML5Converter(input, output, htmlConversionOptions, new ContentOptions());
new PDFtoHTML5Converter(input, output, htmlConversionOptions, new SinglefileOptions());
new PDFtoSVGConverter(input, output, svgConversionOptions, new IDRViewerOptions());
new PDFtoSVGConverter(input, output, svgConversionOptions, new ContentOptions());