static Image |
SvgConverter.convertToImage(java.io.InputStream stream,
PdfDocument document,
ISvgConverterProperties props) |
Converts a String containing valid SVG content to an
image that can then be used on the passed
PdfDocument .
|
private static SvgConverterProperties |
SvgConverter.convertToSvgConverterProps(ISvgConverterProperties props,
java.lang.String baseUri) |
Copies properties from custom ISvgConverterProperties into new SvgConverterProperties.
|
private static PdfFormXObject |
SvgConverter.convertToXObject(ISvgProcessorResult processorResult,
PdfDocument document,
ISvgConverterProperties props) |
|
static PdfFormXObject |
SvgConverter.convertToXObject(java.io.InputStream stream,
PdfDocument document,
ISvgConverterProperties props) |
Converts a String containing valid SVG content to an
XObject that can then be used on the passed
PdfDocument .
|
static PdfFormXObject |
SvgConverter.convertToXObject(java.lang.String content,
PdfDocument document,
ISvgConverterProperties props) |
Converts a String containing valid SVG content to an
XObject that can then be used on the passed
PdfDocument .
|
static void |
SvgConverter.createPdf(java.io.File svgFile,
java.io.File pdfFile,
ISvgConverterProperties props) |
|
static void |
SvgConverter.createPdf(java.io.File svgFile,
java.io.File pdfFile,
ISvgConverterProperties props,
WriterProperties writerProps) |
|
static void |
SvgConverter.createPdf(java.io.InputStream svgStream,
java.io.OutputStream pdfDest,
ISvgConverterProperties props) |
Create a single page pdf containing the SVG on its page using the default processing and drawing logic
|
static void |
SvgConverter.createPdf(java.io.InputStream svgStream,
java.io.OutputStream pdfDest,
ISvgConverterProperties props,
WriterProperties writerProps) |
Create a single page pdf containing the SVG on its page using the default processing and drawing logic
|
private static ResourceResolver |
SvgConverter.createResourceResolver(ISvgConverterProperties props) |
|
static void |
SvgConverter.drawOnCanvas(java.io.InputStream stream,
PdfCanvas canvas,
float x,
float y,
ISvgConverterProperties props) |
Draws a String containing valid SVG to a pre-made canvas object, at a specified position on the canvas.
|
static void |
SvgConverter.drawOnCanvas(java.io.InputStream stream,
PdfCanvas canvas,
ISvgConverterProperties props) |
Draws a Stream containing valid SVG to a pre-made canvas object.
|
static void |
SvgConverter.drawOnCanvas(java.lang.String content,
PdfCanvas canvas,
float x,
float y,
ISvgConverterProperties props) |
draws a String containing valid SVG to a pre-made canvas object, at a specified location.
|
static void |
SvgConverter.drawOnCanvas(java.lang.String content,
PdfCanvas canvas,
ISvgConverterProperties props) |
Draws a String containing valid SVG to a pre-made canvas object.
|
static void |
SvgConverter.drawOnDocument(java.io.InputStream stream,
PdfDocument document,
int pageNo,
float x,
float y,
ISvgConverterProperties props) |
Draws a Stream containing valid SVG to a document, on a given page
number on the provided x and y coordinate.
|
static void |
SvgConverter.drawOnDocument(java.io.InputStream stream,
PdfDocument document,
int pageNo,
ISvgConverterProperties props) |
Draws a Stream containing valid SVG to a document, on a given page
number on the provided x and y coordinate.
|
static void |
SvgConverter.drawOnDocument(java.lang.String content,
PdfDocument document,
int pageNo,
float x,
float y,
ISvgConverterProperties props) |
Draws a String containing valid SVG to a document, on a given page
number on the provided x and y coordinate.
|
static void |
SvgConverter.drawOnDocument(java.lang.String content,
PdfDocument document,
int pageNo,
ISvgConverterProperties props) |
Draws a String containing valid SVG to a document, on a given page
number on the provided x and y coordinate.
|
static void |
SvgConverter.drawOnPage(java.io.InputStream stream,
PdfPage page,
float x,
float y,
ISvgConverterProperties props) |
Draws a Stream containing valid SVG to a given page at a given location.
|
static void |
SvgConverter.drawOnPage(java.io.InputStream stream,
PdfPage page,
ISvgConverterProperties props) |
Draws a Stream containing valid SVG to a given page at a given location.
|
static void |
SvgConverter.drawOnPage(java.lang.String content,
PdfPage page,
float x,
float y,
ISvgConverterProperties props) |
Draws a String containing valid SVG to a given page on the provided x and y coordinate.
|
static void |
SvgConverter.drawOnPage(java.lang.String content,
PdfPage page,
ISvgConverterProperties props) |
Draws a String containing valid SVG to a given page on the provided x and y coordinate.
|
(package private) static ResourceResolver |
SvgConverter.getResourceResolver(ISvgProcessorResult processorResult,
ISvgConverterProperties props) |
|
static INode |
SvgConverter.parse(java.io.InputStream stream,
ISvgConverterProperties props) |
Parse a Stream containing valid SVG into an XML DOM node, using the
default JSoup XML parser.
|
static ISvgProcessorResult |
SvgConverter.parseAndProcess(java.io.InputStream svgStream,
ISvgConverterProperties props) |
Parse and process an Inputstream containing an SVG, using the default Svg processor ( DefaultSvgProcessor )
|
static ISvgProcessorResult |
SvgConverter.process(INode root,
ISvgConverterProperties props) |
Use the default implementation of ISvgProcessor to convert an XML
DOM tree to a node renderer tree.
|
private static java.lang.String |
SvgConverter.tryToExtractCharset(ISvgConverterProperties props) |
|
private static void |
SvgConverter.withTaggingIfNeeded(PdfDocument document,
PdfCanvas canvas,
PdfPage page,
ISvgConverterProperties props,
IOThrowingAction function) |
|