Link

Real Page Range

Set a page range using real page numbering. This setting treats the document as if it contains every page, however only the pages defined in the range will be converted.

For example, a 7-page document with the page range “2,4,6” will generate 2.html, 4.html and 6.html, and other assets will behave as if pages 1, 3, 5 also 7 exist.

Important: Some assets such as config.js/properties.json/annotations.json/search.json/index.html may not be compatible with this setting.

See also: logicalPageRange

Expected values:

  • Comma separated values including ranges. E.g. "1,3,5-8,10"

Default: all pages, e.g. "1-39"

Usage Examples

Command Line

-Dorg.jpedal.pdf2html.realPageRange="1,3,5-8,10"

Cloud

{ "org.jpedal.pdf2html.realPageRange": "1,3,5-8,10" }

Java

conversionOptions.setRealPageRange(new PageRanges("1,3,5-8,10"));

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!

Start Your Free Trial