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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
<?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="textscalcguidemove_dragdropxml" indexer="include">
<title id="tit" xml-lang="en-US">Moving Cells by Drag-and-Drop </title>
<filename>/text/scalc/guide/move_dragdrop.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3155686"><bookmark_value>drag and drop; moving cells</bookmark_value>
<bookmark_value>cells; moving by drag and drop </bookmark_value>
<bookmark_value>rows;moving by drag and drop</bookmark_value>
<bookmark_value>columns;moving by drag and drop</bookmark_value>
<bookmark_value>moving;cells, rows and columns by drag and drop</bookmark_value>
<bookmark_value>inserting;cells, by drag and drop</bookmark_value>
</bookmark><comment>mw added "columns;"</comment>
<paragraph role="heading" id="hd_id986358" xml-lang="en-US" level="1"><variable id="move_dragdrop"><link href="text/scalc/guide/move_dragdrop.xhp">Moving Cells by Drag-and-Drop</link>
</variable></paragraph>
<paragraph role="paragraph" id="par_id2760093" xml-lang="en-US">When you drag-and-drop a selection of cells, rows or columns on a Calc sheet, the cells (including the ones in selected rows or columns) normally overwrite the existing cells in the area where you drop. This is the normal <emph>overwrite mode</emph>.</paragraph>
<paragraph role="paragraph" id="par_id2760101" xml-lang="en-US">Note that to drag-and-drop entire rows or columns, you must select the rows or columns you want to move (or copy) first, then start dragging from selected cells, not from the row or column headers (cells would be deselected by this).</paragraph>
<paragraph role="paragraph" id="par_id9527268" xml-lang="en-US">When you hold down the <switchinline select="sys"><caseinline select="MAC">Option</caseinline><defaultinline>Alt</defaultinline></switchinline> key while releasing the mouse button, you enter the <emph>insert mode</emph>.</paragraph>
<list type="ordered">
<listitem>
<paragraph role="paragraph" id="par_id79653" xml-lang="en-US">In insert mode, the existing cells where you drop will be shifted to the right or to the bottom, and the dropped cells are inserted into the now empty positions without overwriting. </paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_id8676717" xml-lang="en-US">The surrounding box of the moved cells looks different in insert mode. </paragraph>
<paragraph role="paragraph" id="par_id3968932" xml-lang="en-US">In overwrite mode you see all four borders around the selected area. In insert mode you see only the left border when target cells will be shifted to the right. You see only the upper border when target cells will be shifted down. </paragraph>
<paragraph role="paragraph" id="par_id7399517" xml-lang="en-US">Whether the target area will be shifted to the right or to the bottom depends on the distance between source and target cells, if you move within the same sheet. It depends on the number of horizontal or vertical cells in the moved area, if you move to a different sheet.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_id8040406" xml-lang="en-US">If you move cells in insert mode within the same row (only horizontally), then after insertion of the cells, all cells will be shifted to the left to fill the source area.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id2586748" xml-lang="en-US">In both modes, you can hold down the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> key, or <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift keys while you release the mouse button to insert a copy or a link, respectively.</paragraph>
<table id="tbl_id1674855">
<tablerow>
<tablecell>
<paragraph role="tablehead" id="par_id5814081" xml-lang="en-US">Keys pressed while releasing the mouse button</paragraph>
</tablecell>
<tablecell>
<paragraph role="tablehead" id="par_id6581316" xml-lang="en-US">Result</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph role="tablecontent" id="par_id9906613" xml-lang="en-US">No key</paragraph>
</tablecell>
<tablecell>
<paragraph role="tablecontent" id="par_id2815637" xml-lang="en-US">Cells are moved and overwrite the cells in the target area. Source cells are emptied.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph role="tablecontent" id="par_id6161687" xml-lang="en-US"><switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> key</paragraph>
</tablecell>
<tablecell>
<paragraph role="tablecontent" id="par_id4278389" xml-lang="en-US">Cells are copied and overwrite the cells in the target area. Source cells stay as they are.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph role="tablecontent" id="par_id2805566" xml-lang="en-US"><switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift keys</paragraph>
</tablecell>
<tablecell>
<paragraph role="tablecontent" id="par_id5369121" xml-lang="en-US">Links to the source cells are inserted and overwrite the cells in the target area. Source cells stay as they are.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph role="tablecontent" id="par_id9518723" xml-lang="en-US"><switchinline select="sys"><caseinline select="MAC">Option</caseinline><defaultinline>Alt</defaultinline></switchinline> key</paragraph>
</tablecell>
<tablecell>
<paragraph role="tablecontent" id="par_id2926419" xml-lang="en-US">Cells are moved and shift the cells in the target area to the right or to the bottom. Source cells are emptied, except if you move within the same rows on the same sheet. </paragraph>
<paragraph role="tablecontent" id="par_id4021423" xml-lang="en-US">If you move within the same rows on the same sheet, the cells in the target area shift to the right, and then the whole row shifts to fill the source area.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph role="tablecontent" id="par_id2783898" xml-lang="en-US"><switchinline select="sys"><caseinline select="MAC">Option+Command </caseinline><defaultinline>Alt+Ctrl</defaultinline></switchinline> keys</paragraph>
</tablecell>
<tablecell>
<paragraph role="tablecontent" id="par_id2785119" xml-lang="en-US">Cells are copied and shift the cells in the target area to the right or to the bottom. Source cells stay as they are.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph role="tablecontent" id="par_id584124" xml-lang="en-US"><switchinline select="sys"><caseinline select="MAC">Option+Command</caseinline><defaultinline>Alt+Ctrl</defaultinline></switchinline>+Shift keys</paragraph>
</tablecell>
<tablecell>
<paragraph role="tablecontent" id="par_id5590990" xml-lang="en-US">Links to the source cells are inserted and shift the cells in the target area to the right or to the bottom. Source cells stay as they are.</paragraph>
</tablecell>
</tablerow>
</table>
<section id="relatedtopics">
<embed href="text/scalc/guide/cellreferences.xhp#cellreferences"/>
<embed href="text/shared/guide/dragdrop.xhp#dragdrop"/>
</section>
</body>
</helpdocument>
|