| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | BaseRendererBuilder.
This class is an internal implementation detail. |
| public static enum | |
| public static enum | BaseRendererBuilder.
Use cases for fonts. |
| public static enum | |
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| public static final float | |
| public static final BaseRendererBuilder. | |
| public static final float | |
| protected final TBaseRendererBuilderState |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public TFinalClass | Returns: this for method chainingthe DOM Mutator domMutator)Add a DOM mutator to this builder. |
| protected Closeable | |
| public final TFinalClass | Returns: this for method chainingThe default text direction of the document. |
| public final TFinalClass | Returns: this for method chainingWhether to use test mode and output the PDF uncompressed. |
| public final TFinalClass | Returns: this for method chainingthe new default width pageWidth, float the new default height pageHeight, BaseRendererBuilder.either mm or inches. unitsSpecifies the default page size to use if none is specified in CSS. |
| public final TFinalClass | Returns: this for method chainingThis method should be considered advanced and is not required for most setups. |
| public TFinalClass | useExternalResourceAccessControl(BiPredicate<String, ExternalResourceType> allowExternalResource, ExternalResourceControlPriority priority)
Allows to set one external access controller to run before the uri resolver and one to run after the uri resolver. |
| public final TFinalClass | |
| public TFinalClass | |
| public TFinalClass | Returns: this for method chainingA file system font file in true-type format. Beware of using resources as
they will not be separate files in the final jar. fontFile, String Font family name. If using a font in Java2D, SVG or MathML this should match
fontFamily, Integer Font.createFont(Font.TRUETYPE_FONT, fontFile).getFamily().Font boldness, usually 400 for regular fonts and 700 for bold fonts. fontWeight, BaseRendererBuilder.Normal, italic or oblique. fontStyle,For PDF use whether the font is subset, usually true unless the font is
being used by form controls. subset, Set<BaseRendererBuilder.Which components use the font such as main document, SVG, etc. Example:
fontUsedForEnumSet.of(FSFontUseCase.DOCUMENT, FSFontUseCase.SVG)Allows the user to provide a font file for use any or all of
the use cases listed in For gotchas related to font handling please see: Wiki: Fonts |
| public TFinalClass | Returns: this for method chainingSimpler overload for
|
| public TFinalClass | Returns: this for method chainingAdd a font programmatically. |
| public TFinalClass | Returns: this for method chainingAdd a font programmatically. |
| public TFinalClass | Returns: this for method chainingSimpler overload for
|
| public final TFinalClass | Returns: this for method chainingthe factory to use for HTTP/HTTPS factory)Provides an HttpStreamFactory implementation if the user desires to use an external HTTP/HTTPS implementation. |
| public TFinalClass | Returns: this for method chaining.Allows the setting of the initial page number to use with the
|
| public final TFinalClass | Returns: this for method chainingthe MathML implementation mathMlImpl)Use the specified MathML implementation. |
| public final TFinalClass | Returns: this for method chainingObject Drawer Factory objectDrawerFactory)Set a factory for <object> drawers |
| public final TFinalClass | Returns: this for method chainingthe stream factory to use factory, Set<String> the list of protocols the factory should be used for protocols)Provides an |
| public final TFinalClass | Returns: this for method chainingthe stream factory to use factory, String... the list of protocols the stream factory should be used for protocols)Provides an |
| public final TFinalClass | Returns: this for method chainingthe default replacement text replacement)The replacement text to use if a character is cannot be renderered by any of the specified fonts. |
| public final TFinalClass | Returns: this for method chainingthe SVG implementation svgImpl)Uses the specified SVG drawer implementation. |
| public final TFinalClass | Returns: this for method chainingThis method should be considered advanced and is not required for most setups. |
| public final TFinalClass | Returns: this for method chainingthe unicode bidi reorderer to use. reorderer)Provides a reorderer to properly reverse RTL text. |
| public final TFinalClass | Returns: this for method chainingthe unicode bidi splitter to use. splitter)Provides a text splitter to split text into directional runs. |
| public final TFinalClass | Returns: this for method chainingthe character breaker to use breaker)Specify the character breaker. |
| public final TFinalClass | Returns: this for method chainingthe text breaker to use breaker)Specify the line breaker. |
| public final TFinalClass | Returns: this for method chainingthe text transformer to use. tr)Specify a transformer to use to lower case strings. |
| public final TFinalClass | Returns: this for method chainingthe text transformer to use tr)Specify a transformer to title case strings. |
| public final TFinalClass | Returns: this for method chainingthe text transformer to use tr)Specify a transformer to use to upper case strings. |
| public final TFinalClass | Returns: this for method chainingthe URI resolver used to resolve any kind of private URIs/protocolls resolver)Provides a uri resolver to resolve relative uris or private uri schemes. |
| public TFinalClass | |
| public final TFinalClass | |
| public final TFinalClass | Returns: this for method chainingthe HTML text to use. html, String the base document URI to resolve future relative resources (e.g. images) baseDocumentUri)Provides a string containing XHTML/XML to convert to PDF. |
| public final TFinalClass | |
| public final TFinalClass | Returns: this for method chainingthe DOM of the HTML document doc, String the base URI, it will be used to resolve future resources (images, etc. baseUri)Provides a w3c DOM Document acquired from an external source. |