(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.