Link
Skip to main content

Override Page Number

Override the page number in the generated content.

This setting is designed for single-page PDF files that are derived from multi-page files which have been split into individual pages, where each page is being converted individually. This setting allows you to override the page number within the output.

For example, if set to 5, then the page filename would be 5.html, and text style classes would be .s0_5, .s1_5, .s2_5, etc.

This setting is only available when the View Mode is set to content.

Expected values:

  • Any positive integer

Default: unset

Usage Examples

Command Line

-Dorg.jpedal.pdf2html.overridePageNumber=5

Cloud

{ "org.jpedal.pdf2html.overridePageNumber": 5 }

Java

contentOptions.setOverridePageNumber(5);

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