|
void | add ([in] com::sun::star::drawing::XShape xShape) |
| inserts a Shape into this collection. More...
|
|
void | remove ([in] com::sun::star::drawing::XShape xShape) |
| removes a Shape from this collection. More...
|
|
long | getCount () |
|
any | getByIndex ([in] long Index) raises ( com::sun::star::lang::IndexOutOfBoundsException, com::sun::star::lang::WrappedTargetException ) |
|
type | getElementType () |
|
boolean | hasElements () |
|
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...
|
|
com::sun::star::drawing::XShapeGroup | group ([in] com::sun::star::drawing::XShapes xShapes) |
| groups the Shapes inside a collection. More...
|
|
void | ungroup ([in] com::sun::star::drawing::XShapeGroup aGroup) |
| ungroups a given GroupShape. More...
|
|
com::sun::star::drawing::XShape | combine ([in] com::sun::star::drawing::XShapes xShapes) |
| combines Shapes More...
|
|
void | split ([in] com::sun::star::drawing::XShape Group) |
| splits Shapes. More...
|
|
com::sun::star::drawing::XShape | bind ([in] com::sun::star::drawing::XShapes xShapes) |
| binds Shapes together. More...
|
|
void | unbind ([in] com::sun::star::drawing::XShape xShape) |
| breaks a Shape into its line segments More...
|
|
string | getName () |
|
void | setName ([in] string aName) |
| sets the programmatic name of the object. More...
|
|
com::sun::star::beans::XPropertySetInfo | getPropertySetInfo () |
|
void | setPropertyValue ([in] string aPropertyName, [in] any aValue) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException ) |
| sets the value of the property with the specified name. More...
|
|
any | getPropertyValue ([in] string PropertyName) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
|
void | addPropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener xListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| adds an XPropertyChangeListener to the specified property. More...
|
|
void | removePropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| removes an XPropertyChangeListener from the listener list. More...
|
|
void | addVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| adds an XVetoableChangeListener to the specified property with the name PropertyName. More...
|
|
void | removeVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| removes an XVetoableChangeListener from the listener list. More...
|
|
This abstract service is implemented by every page of a DrawingDocument.
Example to create and insert a couple of LineShapes:
xPage = xDoc.DrawPages(0)
for x% = 0 to 200
xShape = xProv.createInstance( "com::sun::star::drawing::LineShape" )
xShape.LineColor = rgb( 255, 0, n%+20 )
xShape.LineWidth = 20
xShape.Position = Point( x%, 2*x% )
xShape.Size = Size( 300-x%, 20 )
xPage.add( xShape )
next x%
- Developers Guide
- Drawings and Presentations - Page Formatting