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

interface XShapeGrouper
Base Interfaces
::com::sun::star::uno::XInterface
  |  
  +--XShapeGrouper
::com::sun::star::uno::XInterface
(referenced interface's summary:)
base interface of all UNO interfaces
Description
specifies the group/ungroup functionality.
Developers Guide
9.3.2 Drawing Documents and Presentation Documents - Working with Drawing Documents - Shapes - Shape Operations - Grouping, Combining and Binding

Methods' Summary
group groups the ::com::sun::star::drawing::Shape s inside a collection.  
ungroup ungroups a given ::com::sun::star::drawing::GroupShape .  
Methods' Details
group
::com::sun::star::drawing::XShapeGroup
group( [in] ::com::sun::star::drawing::XShapes  xShapes );

Description
groups the ::com::sun::star::drawing::Shape s inside a collection.

Grouping of objects in text documents works only if none of the objects has an anchor of type AS_CHARACTER

.
Parameter xShapes
the ::com::sun::star::drawing::Shape s that will be grouped. They must all be inserted into the same ::com::sun::star::drawing::GenericDrawPage .
Returns
a newly created ::com::sun::star::drawing::GroupShape that contains all ::com::sun::star::drawing::Shape s from xShapes and is also added to the ::com::sun::star::drawing::GenericDrawPage of the ::com::sun::star::drawing::Shape s in xShapes.
ungroup
void
ungroup( [in] ::com::sun::star::drawing::XShapeGroup  aGroup );

Description
ungroups a given ::com::sun::star::drawing::GroupShape .
Parameter aGroup
moves all ::com::sun::star::drawing::Shape s from this ::com::sun::star::drawing::GroupShape to the parent ::com::sun::star::drawing::XShapes of the ::com::sun::star::drawing::GroupShape . The ::com::sun::star::drawing::GroupShape is than removed from the ::com::sun::star::drawing::GenericDrawPage and disposed.
Top of Page