(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

interface XShapeGrouper
Description
specifies the group/ungroup functionality.
Developers Guide
Drawings - Grouping, Combining and Binding

Methods' Summary
group groups the Shapes inside a collection.  
ungroup ungroups a given GroupShape.  
Methods' Details
group
XShapeGroup
group( [in] XShapes  xShapes );

Description
groups the Shapes 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 Shapes that will be grouped. They must all be inserted into the same GenericDrawPage.
Returns
a newly created GroupShape that contains all Shapes from xShapes and is also added to the GenericDrawPage of the Shapes in xShapes.
ungroup
void
ungroup( [in] XShapeGroup  aGroup );

Description
ungroups a given GroupShape.
Parameter aGroup
moves all Shapes from this GroupShape to the parent XShapes of the GroupShape. The GroupShape is than removed from the GenericDrawPage and disposed.
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.