public class SvgConverterProperties extends Object implements ISvgConverterProperties
ISvgConverterProperties for
DefaultSvgProcessor| Constructor and Description |
|---|
SvgConverterProperties()
Creates a SvgConverterProperties object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseUri()
Gets the base URI.
|
String |
getCharset()
Get the name of the Charset to be used when decoding an InputStream.
|
com.itextpdf.layout.font.FontProvider |
getFontProvider()
Gets the font provider.
|
com.itextpdf.styledxmlparser.css.media.MediaDeviceDescription |
getMediaDeviceDescription()
Gets the media device description.
|
ISvgNodeRendererFactory |
getRendererFactory()
Retrieve the factory responsible for creating
ISvgNodeRenderer |
SvgConverterProperties |
setBaseUri(String baseUri)
Sets the base URI.
|
void |
setCharset(String charset) |
SvgConverterProperties |
setFontProvider(com.itextpdf.layout.font.FontProvider fontProvider) |
SvgConverterProperties |
setMediaDeviceDescription(com.itextpdf.styledxmlparser.css.media.MediaDeviceDescription mediaDeviceDescription)
Sets the media device description.
|
public SvgConverterProperties()
public SvgConverterProperties setFontProvider(com.itextpdf.layout.font.FontProvider fontProvider)
public ISvgNodeRendererFactory getRendererFactory()
ISvgConverterPropertiesISvgNodeRenderergetRendererFactory in interface ISvgConverterPropertiesISvgNodeRendererFactory implementationpublic String getCharset()
ISvgConverterPropertiesUTF-8 will
be used (by JSoup).
Please be aware that this method is NOT used when handling a
String variable in the SvgConverter.
getCharset in interface ISvgConverterPropertiesCharset used for decodingpublic void setCharset(String charset)
public String getBaseUri()
getBaseUri in interface ISvgConverterPropertiespublic com.itextpdf.layout.font.FontProvider getFontProvider()
getFontProvider in interface ISvgConverterPropertiespublic com.itextpdf.styledxmlparser.css.media.MediaDeviceDescription getMediaDeviceDescription()
getMediaDeviceDescription in interface ISvgConverterPropertiespublic SvgConverterProperties setMediaDeviceDescription(com.itextpdf.styledxmlparser.css.media.MediaDeviceDescription mediaDeviceDescription)
mediaDeviceDescription - the media device descriptionpublic SvgConverterProperties setBaseUri(String baseUri)
baseUri - the base URICopyright © 1998–2018 iText Group NV. All rights reserved.