summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/scalc/guide/table_cellmerge.xhp
blob: fe16ebb63f652862d10a2bc8927f54a998ed66ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
 * 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 .
 -->

<meta>
  <topic id="textscalcguidetable_cellmergexml" indexer="include" status="PUBLISH">
    <title xml-lang="en-US" id="tit">Merge and Unmerge Cells</title>
    <filename>/text/scalc/guide/table_cellmerge.xhp</filename>
  </topic>
</meta>
<body>
  <bookmark xml-lang="en-US" branch="index" id="bm_id501632012952361">
    <bookmark_value>merge/merging cells</bookmark_value>
    <bookmark_value>unmerge/unmerging cells</bookmark_value>
    <bookmark_value>split/splitting cells</bookmark_value>
  </bookmark>
  <section id="merge_unmerge_cells">
    <paragraph xml-lang="en-US" id="hd_id8005005" role="heading" level="1"><variable id="table_cellmerge"><link href="text/scalc/guide/table_cellmerge.xhp" name="Merging and Unmerging Cells">Merge and Unmerge Cells</link></variable></paragraph>
    <paragraph xml-lang="en-US" id="par_id8049867" role="paragraph">You can select a range of cells, then merge them into a single cell. Conversely, you can take a previously merged cell and divide it back into individual cells.</paragraph>
  </section>
  <paragraph xml-lang="en-US" id="par_id0509200913480176" role="note">When you copy cells into a target range containing merged cells, the target range gets unmerged first, then the copied cells are pasted in. If the copied cells are merged cells, they retain their merge state.</paragraph>
  <paragraph xml-lang="en-US" id="hd_id235602" role="heading" level="2">Merge Cells</paragraph>
  <embed href="/text/scalc/01/05060000.xhp#mergecells_warning"/>

  <section id="howtoget">
      <paragraph xml-lang="en-US" id="par_id1272927" role="paragraph">Click and drag to select the cells to be merged then do one of the following:</paragraph>
      <paragraph role="paragraph" id="par_id221632803290526" xml-lang="en-US">In the Formatting toolbar click:</paragraph>
      <embed href="text/swriter/00/00000405.xhp#symerge_cells"/>
      <paragraph role="paragraph" id="par_id3154351" xml-lang="en-US">Or, right click the selection to open the context menu and choose <menuitem>Merge Cells</menuitem>.<br/>If <menuitem>Unmerge Cells</menuitem> is present instead then the cell selection contains merged cells and cannot be merged further.</paragraph>
      <paragraph role="paragraph" id="par_id931632803442925" xml-lang="en-US">Or, in the <emph>Properties</emph> sidebar mark the <emph>Merge Cells</emph> checkbox.</paragraph>
      <paragraph role="paragraph" id="par_id3154020" xml-lang="en-US">Or, choose <menuitem>Format - Merge and Unmerge Cells - Merge Cells</menuitem></paragraph>
      <paragraph xml-lang="en-US" id="par_id6424146" role="listitem">Or, choose <menuitem>Format - Merge and Unmerge Cells - Merge and Center Cells</menuitem></paragraph>
      <paragraph xml-lang="en-US" id="par_id961632012538771" role="listitem">The cells will be merged and the content will be centered in the merged cell.</paragraph>
      </section>
      <embed href="text/scalc/01/05060000.xhp#mergenotes"/>
      <paragraph xml-lang="en-US" id="hd_id451368" role="heading" level="2">Unmerge Cells</paragraph>
      <section id="howtoget">
      <paragraph xml-lang="en-US" id="par_id7116611" role="paragraph">Select the cell to be unmerged, or a selection that includes the cells to be unmerged then do one of the following:</paragraph>
      <paragraph role="listitem" id="par_id581632820903635" xml-lang="en-US">In the Formatting toolbar, click:</paragraph>
      <embed href="text/swriter/00/00000405.xhp#sysplit_cells"/>
      <paragraph xml-lang="en-US" id="par_id431632277778130" role="paragraph">Or, right click the selection to open the context menu and choose <menuitem>Unmerge Cells</menuitem>.<br/>If <menuitem>Merge Cells</menuitem> is present instead then the selection does not contain any merged cells.</paragraph>
      <paragraph xml-lang="en-US" id="par_id261632277824041" role="paragraph">Or, in the <emph>Properties</emph> sidebar clear the <emph>Merge Cells</emph> checkbox.</paragraph>
      <paragraph xml-lang="en-US" id="par_id9493087" role="listitem">Or, choose <menuitem>Format - Merge and Unmerge Cells - Unmerge Cells</menuitem>.</paragraph>
      <paragraph xml-lang="en-US" id="par_id561632820960500" role="paragraph">Or, toggle <menuitem>Format - Merge and Unmerge Cells - Merge and Center Cells</menuitem></paragraph>
  </section>

  <section id="relatedtopics">
    <embed href="text/shared/01/05100100.xhp#mergecells"/>
    <embed href="text/scalc/01/05060000.xhp#togglemergecells"/>
    <embed href="text/shared/01/05100200.xhp#unmergecells"/>
    <embed href="text/scalc/guide/cellreferences.xhp#cellreferences"/>
  </section>
  </body>
</helpdocument>