Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: graphic ::

unpublished interface XPrimitiveFactory2D
Usage Restrictions
not published
Description
XPrimitiveFactory2D interface Use this interface to generate XPrimitive2D instances

Methods' Summary
createPrimitivesFromXShape Create primitives from ::com::sun::star::drawing::XShape  
createPrimitivesFromXDrawPage Create primitives from ::com::sun::star::drawing::XDrawPage  
Methods' Details
createPrimitivesFromXShape
sequence< XPrimitive2D >
createPrimitivesFromXShape( [in] ::com::sun::star::drawing::XShape  xShape,
[in] sequence< ::com::sun::star::beans::PropertyValue >  aParms );

Description
Create primitives from ::com::sun::star::drawing::XShape
Parameter xShape
The XShape, for which the primitives are to be generated. Specifying an invalid or empty shape here will result in an empty return value.
Parameter aParms
Sequence 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.
createPrimitivesFromXDrawPage
sequence< XPrimitive2D >
createPrimitivesFromXDrawPage( [in] ::com::sun::star::drawing::XDrawPage  xDrawPage,
[in] sequence< ::com::sun::star::beans::PropertyValue >  aParms );

Description
Create primitives from ::com::sun::star::drawing::XDrawPage
Parameter xDrawPage
The XDrawPage, for which the primitives are to be generated. Specifying an invalid or empty page here will result in an empty return value.
Parameter aParms
Sequence 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.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.