(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: drawing ::

interface XShape
Base Interfaces
XShapeXShapeDescriptor

XShapeDescriptor
(referenced interface's summary:)
offers some settings which are allowed even for objects which are not yet inserted into a draw page.
Description
lets you do a basic transformation on a Shape and get its type.

Methods' Summary
getPosition gets the current position of this object.  
setPosition sets the current position of this object  
getSize gets the size of this object.  
setSize sets the size of this object.  
Methods' Details
getPosition
::com::sun::star::awt::Point
getPosition();

Description
gets the current position of this object.
Returns
the position of the top left edge in 100/th mm
setPosition
void
setPosition( [in] ::com::sun::star::awt::Point  aPosition );

Description
sets the current position of this object
Parameter aPosition
the position of the top left edge in 100/th mm
getSize
::com::sun::star::awt::Size
getSize();

Description
gets the size of this object.
Returns
the size in 100/th mm
setSize
void
setSize( [in] ::com::sun::star::awt::Size  aSize )
raises( ::com::sun::star::beans::PropertyVetoException );

Description
sets the size of this object.
Parameter aSize
the size in 100/th mm
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us

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.

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.