CSS Suffix
Appends the provided cssSuffix value to any classes and IDs within the document.
This allows you to prevent style conflicts when displaying multiple conversions within the same browsing context. For example, the selector for the first text style class on page 1 of a document would normally be .s1_1
. However, setting a cssSuffix of doc1
would change the selector to .s1_1_doc1
.
We recommend keeping the cssSuffix value short to prevent unnecessarily increasing the output filesize.
Note: This setting is only available when the View Mode is set to
content
.
Expected values:
- Any string containing only characters
[a-zA-Z0-9]
, hyphen(-)
or underscore(_)
.
Default: empty string
Since: 2024.11
Usage Examples
Command Line
-Dorg.jpedal.pdf2html.cssSuffix="filename.pdf"
Cloud
{ "org.jpedal.pdf2html.cssSuffix": "filename.pdf" }
Java
contentOptions.setCssSuffix("filename.pdf");