LibreOffice
LibreOffice 24.2 SDK API Reference
|
specifies the group/ungroup functionality. More...
import"XShapeGrouper.idl";
Public Member Functions | |
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... | |
Public Member Functions inherited from XInterface | |
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... | |
specifies the group/ungroup functionality.
com::sun::star::drawing::XShapeGroup group | ( | [in] com::sun::star::drawing::XShapes | xShapes | ) |
groups the Shapes inside a collection.
Grouping of objects in text documents works only if none of the objects has an anchor of type com::sun::star::text::TextContentAnchorType::AS_CHARACTER .
xShapes | the Shapes that will be grouped. They must all be inserted into the same GenericDrawPage. |
void ungroup | ( | [in] com::sun::star::drawing::XShapeGroup | aGroup | ) |
ungroups a given GroupShape.
aGroup | moves all Shapes from this GroupShape to the parent XShapes of the GroupShape. The GroupShape is then removed from the GenericDrawPage and disposed. |