<?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="textsharedguidepastingxml" indexer="include" status="PUBLISH">
<title id="tit">Pasting Contents in Special Formats</title>
<filename>/text/shared/guide/pasting.xhp</filename>
</topic>
</meta>
<body>
<bookmark branch="index" id="bm_id3620715"><bookmark_value>clipboard;pasting formatted/unformatted text</bookmark_value>
<bookmark_value>inserting;clipboard options</bookmark_value>
<bookmark_value>pasting;formatted/unformatted text</bookmark_value>
<bookmark_value>text formats;pasting</bookmark_value>
<bookmark_value>formats;pasting in special formats</bookmark_value>
</bookmark><comment>mw changed "pasting;..." and "clipboard;..." and added two index entries</comment>
<h1 id="par_idN10725"><variable id="pasting"><link href="text/shared/guide/pasting.xhp">Pasting Contents in Special Formats</link></variable></h1>
<paragraph role="paragraph" id="par_idN10743">Contents that are stored on the clipboard can be pasted into your document using different formats. In %PRODUCTNAME you can choose how to paste the contents using a dialog or a drop-down icon.</paragraph>
<paragraph role="paragraph" id="par_idN10746">The available options depend on the contents of the clipboard.</paragraph>

<paragraph id="hd_id3144547360" role="paragraph">In Writer text documents, you can press <switchinline select="sys"><caseinline select="MAC">Command+Option</caseinline><defaultinline>Ctrl+Alt</defaultinline></switchinline>+Shift+V to paste the contents of the clipboard as unformatted text.</paragraph>
<paragraph role="paragraph" id="par_idN10748">If a text cut or copied from Writer is surrounded by spaces it will be considered as a set of words. When pasted, Writer will surround it smartly by spaces to keep it as a set of words: separated by spaces from other characters but avoiding any duplication of spaces. If the text is pasted as Unformatted Text, this consideration is ignored and the text is pasted as is, without adding any spaces.</paragraph>
<h2 id="par_idN10749">Pasting clipboard contents using an icon menu</h2>
<list type="ordered">
<listitem>
<paragraph role="paragraph" id="par_idN10750">Click the arrow next to the <emph>Paste</emph> icon on the Standard Bar to open the menu.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_idN10758">Select one of the options.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_idN1075B">If you do not like the result, click the <emph>Undo</emph> icon and then paste again with another option.</paragraph>

<h2 id="par_idN10762">Pasting clipboard contents using a dialog</h2>
<list type="ordered">
<listitem>
<paragraph role="paragraph" id="par_idN10769">Choose <emph>Edit - Paste special</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_idN10771">Select one of the options and click <emph>OK</emph>.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_idN10774">If you are in a spreadsheet and the contents of the clipboard are spreadsheet cells, then a different <emph>Paste Special</emph> dialog appears. Use the <emph>Paste Special</emph> dialog to copy cells using basic or advanced options.</paragraph>
<list type="unordered">
<listitem>
<paragraph role="paragraph" id="par_idN1077E">
<emph>Transpose</emph>: swaps the rows and the columns of the cell range to be pasted.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_idN10785">
<emph>Link</emph>: pastes the cell range as a link. If the source file changes, the pasted cells change also.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_idN1078C">The other options are explained in the help, when you call the <link href="text/shared/01/02070000.xhp">Paste Special</link> dialog from within %PRODUCTNAME Calc.<comment>UFI: the text is switched to "Calc" there.</comment></paragraph>
</listitem>
</list>
<section id="relatedtopics">
<paragraph role="paragraph" id="par_idN107BA"><link href="text/shared/01/02070000.xhp">Paste Special</link></paragraph>
</section>
</body>
</helpdocument>
