LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XSvgParser Interface Reference

XSvgParser interface. More...

import"XSvgParser.idl";

Inheritance diagram for XSvgParser:
XInterface SvgTools

Public Member Functions

sequence< XPrimitive2DgetDecomposition ([in] io::XInputStream xSvgStream, [in] string aAbsolutePath)
 Retrieve decomposed list of simpler primitives. More...
 
any getDrawCommands ([in] io::XInputStream xSvgStream, [in] string aAbsolutePath)
 Get the "draw command" graph that is created from the SVG content. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

XSvgParser interface.

This interface allows to parse a SVG stream in form of a sequence of bytes to be parsed into a sequence of XPrimitive2Ds

Member Function Documentation

◆ getDecomposition()

sequence< XPrimitive2D > getDecomposition ( [in] io::XInputStream  xSvgStream,
[in] string  aAbsolutePath 
)

Retrieve decomposed list of simpler primitives.

Parameters
xSvgStreamThe file containing the SVG XML data
aAbsolutePathThe path containing the SVG XML data

◆ getDrawCommands()

any getDrawCommands ( [in] io::XInputStream  xSvgStream,
[in] string  aAbsolutePath 
)

Get the "draw command" graph that is created from the SVG content.

Parameters
xSvgStreamThe file containing the SVG XML data
aAbsolutePathThe path containing the SVG XML data
Since
LibreOffice 6.3

The documentation for this interface was generated from the following file: