1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*cdf0e10cSrcweir<helpdocument version="1.0">
3*cdf0e10cSrcweir
4*cdf0e10cSrcweir<!--
5*cdf0e10cSrcweir***********************************************************************
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
12*cdf0e10cSrcweir *
13*cdf0e10cSrcweir * This file is part of OpenOffice.org.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
16*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
17*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
18*cdf0e10cSrcweir *
19*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
20*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
21*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
23*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
24*cdf0e10cSrcweir *
25*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
26*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
27*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
28*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
29*cdf0e10cSrcweir *
30*cdf0e10cSrcweir ************************************************************************
31*cdf0e10cSrcweir -->
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir
34*cdf0e10cSrcweir<meta>
35*cdf0e10cSrcweir<topic id="textscalcguidemove_dragdropxml" indexer="include">
36*cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Moving Cells by Drag-and-Drop </title>
37*cdf0e10cSrcweir<filename>/text/scalc/guide/move_dragdrop.xhp</filename>
38*cdf0e10cSrcweir</topic>
39*cdf0e10cSrcweir</meta>
40*cdf0e10cSrcweir<body>
41*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3155686"><bookmark_value>drag and drop; moving cells</bookmark_value>
42*cdf0e10cSrcweir<bookmark_value>cells; moving by drag and drop </bookmark_value>
43*cdf0e10cSrcweir<bookmark_value>columns;moving by drag and drop</bookmark_value>
44*cdf0e10cSrcweir<bookmark_value>moving;cells by drag and drop</bookmark_value>
45*cdf0e10cSrcweir<bookmark_value>inserting;cells, by drag and drop</bookmark_value>
46*cdf0e10cSrcweir</bookmark><comment>mw added "columns;"</comment>
47*cdf0e10cSrcweir<paragraph role="heading" id="hd_id986358" xml-lang="en-US" level="1" l10n="NEW"><variable id="move_dragdrop"><link href="text/scalc/guide/move_dragdrop.xhp">Moving Cells by Drag-and-Drop</link>
48*cdf0e10cSrcweir</variable></paragraph>
49*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id2760093" xml-lang="en-US" l10n="NEW">When you drag-and-drop a selection of cells on a Calc sheet, the cells normally overwrite the existing cells in the area where you drop. This is the normal <emph>overwrite mode</emph>.</paragraph>
50*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id9527268" xml-lang="en-US" l10n="NEW">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>
51*cdf0e10cSrcweir<list type="ordered">
52*cdf0e10cSrcweir<listitem>
53*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id79653" xml-lang="en-US" l10n="NEW">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>
54*cdf0e10cSrcweir</listitem>
55*cdf0e10cSrcweir<listitem>
56*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id8676717" xml-lang="en-US" l10n="NEW">The surrounding box of the moved cells looks different in insert mode. </paragraph>
57*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3968932" xml-lang="en-US" l10n="NEW">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>
58*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id7399517" xml-lang="en-US" l10n="NEW">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>
59*cdf0e10cSrcweir</listitem>
60*cdf0e10cSrcweir<listitem>
61*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id8040406" xml-lang="en-US" l10n="NEW">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>
62*cdf0e10cSrcweir</listitem>
63*cdf0e10cSrcweir</list>
64*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id2586748" xml-lang="en-US" l10n="NEW">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>
65*cdf0e10cSrcweir<table id="tbl_id1674855">
66*cdf0e10cSrcweir<tablerow>
67*cdf0e10cSrcweir<tablecell>
68*cdf0e10cSrcweir<paragraph role="tablehead" id="par_id5814081" xml-lang="en-US" l10n="NEW">Keys pressed while releasing the mouse button</paragraph>
69*cdf0e10cSrcweir</tablecell>
70*cdf0e10cSrcweir<tablecell>
71*cdf0e10cSrcweir<paragraph role="tablehead" id="par_id6581316" xml-lang="en-US" l10n="NEW">Result</paragraph>
72*cdf0e10cSrcweir</tablecell>
73*cdf0e10cSrcweir</tablerow>
74*cdf0e10cSrcweir<tablerow>
75*cdf0e10cSrcweir<tablecell>
76*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id9906613" xml-lang="en-US" l10n="NEW">No key</paragraph>
77*cdf0e10cSrcweir</tablecell>
78*cdf0e10cSrcweir<tablecell>
79*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id2815637" xml-lang="en-US" l10n="NEW">Cells are moved and overwrite the cells in the target area. Source cells are emptied.</paragraph>
80*cdf0e10cSrcweir</tablecell>
81*cdf0e10cSrcweir</tablerow>
82*cdf0e10cSrcweir<tablerow>
83*cdf0e10cSrcweir<tablecell>
84*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id6161687" xml-lang="en-US" l10n="NEW"><switchinline select="sys"><caseinline select="MAC">Command </caseinline><defaultinline>Ctrl </defaultinline></switchinline>key</paragraph>
85*cdf0e10cSrcweir</tablecell>
86*cdf0e10cSrcweir<tablecell>
87*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id4278389" xml-lang="en-US" l10n="NEW">Cells are copied and overwrite the cells in the target area. Source cells stay as they are.</paragraph>
88*cdf0e10cSrcweir</tablecell>
89*cdf0e10cSrcweir</tablerow>
90*cdf0e10cSrcweir<tablerow>
91*cdf0e10cSrcweir<tablecell>
92*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id2805566" xml-lang="en-US" l10n="NEW"><switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift keys</paragraph>
93*cdf0e10cSrcweir</tablecell>
94*cdf0e10cSrcweir<tablecell>
95*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id5369121" xml-lang="en-US" l10n="NEW">Links to the source cells are inserted and overwrite the cells in the target area. Source cells stay as they are.</paragraph>
96*cdf0e10cSrcweir</tablecell>
97*cdf0e10cSrcweir</tablerow>
98*cdf0e10cSrcweir<tablerow>
99*cdf0e10cSrcweir<tablecell>
100*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id9518723" xml-lang="en-US" l10n="NEW"><switchinline select="sys"><caseinline select="MAC">Option</caseinline><defaultinline>Alt</defaultinline></switchinline> key</paragraph>
101*cdf0e10cSrcweir</tablecell>
102*cdf0e10cSrcweir<tablecell>
103*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id2926419" xml-lang="en-US" l10n="NEW">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>
104*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id4021423" xml-lang="en-US" l10n="NEW">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>
105*cdf0e10cSrcweir</tablecell>
106*cdf0e10cSrcweir</tablerow>
107*cdf0e10cSrcweir<tablerow>
108*cdf0e10cSrcweir<tablecell>
109*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id2783898" xml-lang="en-US" l10n="NEW"><switchinline select="sys"><caseinline select="MAC">Option+Command </caseinline><defaultinline>Alt+Ctrl </defaultinline></switchinline>keys</paragraph>
110*cdf0e10cSrcweir</tablecell>
111*cdf0e10cSrcweir<tablecell>
112*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id2785119" xml-lang="en-US" l10n="NEW">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>
113*cdf0e10cSrcweir</tablecell>
114*cdf0e10cSrcweir</tablerow>
115*cdf0e10cSrcweir<tablerow>
116*cdf0e10cSrcweir<tablecell>
117*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id584124" xml-lang="en-US" l10n="NEW"><switchinline select="sys"><caseinline select="MAC">Option+Command</caseinline><defaultinline>Alt+Ctrl</defaultinline></switchinline>+Shift keys</paragraph>
118*cdf0e10cSrcweir</tablecell>
119*cdf0e10cSrcweir<tablecell>
120*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id5590990" xml-lang="en-US" l10n="NEW">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>
121*cdf0e10cSrcweir</tablecell>
122*cdf0e10cSrcweir</tablerow>
123*cdf0e10cSrcweir</table>
124*cdf0e10cSrcweir
125*cdf0e10cSrcweir<section id="relatedtopics">
126*cdf0e10cSrcweir<embed href="text/scalc/guide/cellreferences.xhp#cellreferences"/>
127*cdf0e10cSrcweir<embed href="text/shared/guide/dragdrop.xhp#dragdrop"/>
128*cdf0e10cSrcweir</section>
129*cdf0e10cSrcweir</body>
130*cdf0e10cSrcweir</helpdocument>
131