LibreOffice
LibreOffice 6.4 SDK API Reference
Public Member Functions | List of all members
XPrimitiveFactory2D Interface Reference

XPrimitiveFactory2D interface. More...

import"XPrimitiveFactory2D.idl";

Inheritance diagram for XPrimitiveFactory2D:
XInterface PrimitiveFactory2D

Public Member Functions

sequence< XPrimitive2DcreatePrimitivesFromXShape ([in] ::com::sun::star::drawing::XShape xShape, [in] sequence< ::com::sun::star::beans::PropertyValue > aParms)
 Create primitives from com::sun::star::drawing::XShape. More...
 
sequence< XPrimitive2DcreatePrimitivesFromXDrawPage ([in] ::com::sun::star::drawing::XDrawPage xDrawPage, [in] sequence< ::com::sun::star::beans::PropertyValue > aParms)
 Create primitives from com::sun::star::drawing::XDrawPage. 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

XPrimitiveFactory2D interface.

Use this interface to generate XPrimitive2D instances

Member Function Documentation

◆ createPrimitivesFromXDrawPage()

sequence< XPrimitive2D > createPrimitivesFromXDrawPage ( [in] ::com::sun::star::drawing::XDrawPage  xDrawPage,
[in] sequence< ::com::sun::star::beans::PropertyValue aParms 
)

Create primitives from com::sun::star::drawing::XDrawPage.

Parameters
xDrawPageThe XDrawPage, for which the primitives are to be generated. Specifying an invalid or empty page here will result in an empty return value.
aParmsSequence of factory parameters, whose semantics depend on the page to be generated.
Returns
a sequence of primitives, that consists of the geometrical representation for the given XDrawPage.

◆ createPrimitivesFromXShape()

sequence< XPrimitive2D > createPrimitivesFromXShape ( [in] ::com::sun::star::drawing::XShape  xShape,
[in] sequence< ::com::sun::star::beans::PropertyValue aParms 
)

Create primitives from com::sun::star::drawing::XShape.

Parameters
xShapeThe XShape, for which the primitives are to be generated. Specifying an invalid or empty shape here will result in an empty return value.
aParmsSequence of factory parameters, whose semantics depend on the shape to be generated.
Returns
a sequence of primitives, that consists of the geometrical representation from the given XShape.

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