<?xml version="1.0" encoding="UTF-8"?>



<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->


		<helpdocument version="1.0">
<meta>
<topic id="textsdrawguidegroupsxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Grouping Objects</title>
<filename>/text/sdraw/guide/groups.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3150793"><bookmark_value>grouping; draw objects</bookmark_value>
<bookmark_value>draw objects; grouping</bookmark_value>
</bookmark><comment>mw deleted "groups;entering" and copied "selecting;group objects" to the new shared guide groups.xhp.</comment><paragraph role="heading" id="hd_id3150793" xml-lang="en-US" level="1"><variable id="groups"><link href="text/sdraw/guide/groups.xhp">Grouping Objects</link>
</variable></paragraph>
<paragraph role="paragraph" id="par_id3153728" xml-lang="en-US">You can combine several objects into a group so that they act as a single object. You can move and transform all objects in a group as a single unit. You can also change the properties (for example, line size, fill color) of all objects in a group as a whole or for individual objects in a group. Groups can be temporary or assigned:</paragraph>
<list type="unordered">
<listitem>
<paragraph role="listitem" id="par_id3147434" xml-lang="en-US">Temporary - group only lasts as long as all of the combined objects are selected.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154490" xml-lang="en-US">Assigned - group lasts until it is ungrouped through a menu command.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id3145252" xml-lang="en-US">Groups can also be grouped in other groups. Actions applied to a group do not affect the relative position of the individual objects to each other in the group.</paragraph>
<h3 id="hd_id3150716">To group objects:</h3>
<table id="tbl_id3155600">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3149018" xml-lang="en-US">
<image id="img_id3145643" src="cmd/sc_formatgroup.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id3145643" xml-lang="en-US">Icon</alt>
	</image></paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3147346" xml-lang="en-US">Select the objects you want to group and choose <emph>Shape - Group - Group</emph>.</paragraph>
</tablecell>
</tablerow>
</table>
<paragraph role="paragraph" id="par_id3148485" xml-lang="en-US">For example, you can group all of the objects in a company logo to move and resize the logo as a single object.</paragraph>
<paragraph role="paragraph" id="par_id3147002" xml-lang="en-US">After you have grouped objects, selecting any part of the group selects the entire group.</paragraph>
<h2 id="hd_id3150205">Selecting Objects in a Group</h2>
<table id="tbl_id3150361">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3150370" xml-lang="en-US">
<image id="img_id3155376" src="cmd/sc_entergroup.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id3155376" xml-lang="en-US">Icon</alt>
	</image></paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3156450" xml-lang="en-US">You can select single objects in a group by entering the group. Double-click a group to enter it and click on the object to select it. You can also add or delete objects to and from a group in this mode. The objects that are not part of the group are grayed out.</paragraph>
</tablecell>
</tablerow>
</table>
<table id="tbl_id3152899">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3151239" xml-lang="en-US">
<image id="img_id3155264" src="cmd/sc_leavegroup.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id3155264" xml-lang="en-US">Icon</alt>
	</image></paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3150213" xml-lang="en-US">To exit a group, double-click anywhere outside it.</paragraph>
</tablecell>
</tablerow>
</table>
<section id="relatedtopics">
<embed href="text/simpress/guide/select_object.xhp#select_object"/>
<embed href="text/sdraw/guide/combine_etc.xhp#combine_etc"/>
</section>
</body>
</helpdocument>
