Link
Skip to main content

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());

What's included in your BuildVu trial?

  • Access to download the SDK and run it locally.
  • Access to the cloud trial to convert documents in the IDR cloud.
  • Access to the Docker image to set up your own trial server in the cloud.
  • Communicate with IDR developers to ask questions & get expert advice.
  • Plenty of time to experiment and build a proof of concept.
  • Over 100 articles to help you get started and learn about BuildVu.
  • An exceptional PDF to HTML converter that took over 20 years to build!

Learn more about BuildVu

Start Your Free Trial

Trial License Type