|  | 
| void | add ([in] com::sun::star::drawing::XShape xShape) | 
|  | inserts a Shape into this collection. 
 | 
| void | remove ([in] com::sun::star::drawing::XShape xShape) | 
|  | removes a Shape from this collection. 
 | 
| 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. 
 | 
| void | acquire () | 
|  | increases the reference counter by one. 
 | 
| void | release () | 
|  | decreases the reference counter by one. 
 | 
| com::sun::star::drawing::XShapeGroup | group ([in] com::sun::star::drawing::XShapes xShapes) | 
|  | groups the Shapes inside a collection. 
 | 
| void | ungroup ([in] com::sun::star::drawing::XShapeGroup aGroup) | 
|  | ungroups a given GroupShape. 
 | 
| com::sun::star::drawing::XShape | combine ([in] com::sun::star::drawing::XShapes xShapes) | 
|  | combines Shapes 
 | 
| void | split ([in] com::sun::star::drawing::XShape Group) | 
|  | splits Shapes. 
 | 
| com::sun::star::drawing::XShape | bind ([in] com::sun::star::drawing::XShapes xShapes) | 
|  | binds Shapes together. 
 | 
| void | unbind ([in] com::sun::star::drawing::XShape xShape) | 
|  | breaks a Shape into its line segments 
 | 
| string | getName () | 
| void | setName ([in] string aName) | 
|  | sets the programmatic name of the object. 
 | 
| 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. 
 | 
| 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. 
 | 
| 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. 
 | 
| 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. 
 | 
| 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. 
 | 
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