interface XShapeGrouper in module com::sun::star::drawing::

(Global Index)

Syntax

interface XShapeGrouper : com::sun::star::uno::XInterface ;

Description

specifies the group/ungroup functionality.

Method Summary

group groups the Shape s inside a collection.

ungroup ungroups a given GroupShape .

Known Services Which Export this Interface

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

Method Details



group

Syntax

com::sun::star::drawing::XShapeGroup group (
com::sun::star::drawing::XShapes xShapes );

Description

groups the Shape s inside a collection.

Parameter xShapes

the Shape s that will be grouped. They must all be inserted into the same GenericDrawPage .

Returns

a newly created GroupShape that contains all Shape s from xShapes and is also added to the GenericDrawPage of the Shape s in xShapes.

ungroup

Syntax

void ungroup (
com::sun::star::drawing::XShapeGroup aGroup );

Description

ungroups a given GroupShape .

Parameter aGroup

moves all Shape s from this GroupShape to the parent XShapes of the GroupShape . The GroupShape is than removed from the GenericDrawPage and disposed.
Top of Page