Skip to content

Commit

Permalink
tdf#128595 (comment 11) extra spaces with copy/paste in Writer
Browse files Browse the repository at this point in the history
Change-Id: I6a95b7f0d7fa4fbabbbe34e79e9361223fbbda3b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/172496
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <[email protected]>
  • Loading branch information
Pierre F authored and Olivier Hallot committed Aug 29, 2024
1 parent 76b3d28 commit 31c8434
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions source/text/shared/guide/pasting.xhp
Original file line number Diff line number Diff line change
Expand Up @@ -22,60 +22,59 @@
<helpdocument version="1.0">
<meta>
<topic id="textsharedguidepastingxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Pasting Contents in Special Formats</title>
<title id="tit">Pasting Contents in Special Formats</title>
<filename>/text/shared/guide/pasting.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3620715"><bookmark_value>clipboard;pasting formatted/unformatted text</bookmark_value>
<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>
<paragraph role="heading" id="par_idN10725" xml-lang="en-US" level="1"><variable id="pasting"><link href="text/shared/guide/pasting.xhp">Pasting Contents in Special Formats</link>
</variable></paragraph>
<paragraph role="paragraph" id="par_idN10743" xml-lang="en-US">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" xml-lang="en-US">The available options depend on the contents of the clipboard.</paragraph>

<paragraph xml-lang="en-US" 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>
<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" xml-lang="en-US">Click the arrow next to the <emph>Paste</emph> icon on the Standard Bar to open the menu.</paragraph>
<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" xml-lang="en-US">Select one of the options.</paragraph>
<paragraph role="paragraph" id="par_idN10758">Select one of the options.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_idN1075B" xml-lang="en-US">If you do not like the result, click the <emph>Undo</emph> icon and then paste again with another option.</paragraph>
<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" xml-lang="en-US">Choose <emph>Edit - Paste special</emph>.</paragraph>
<paragraph role="paragraph" id="par_idN10769">Choose <emph>Edit - Paste special</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_idN10771" xml-lang="en-US">Select one of the options and click <emph>OK</emph>.</paragraph>
<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" xml-lang="en-US">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>
<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" xml-lang="en-US">
<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" xml-lang="en-US">
<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" xml-lang="en-US">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>
<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" xml-lang="en-US"><link href="text/shared/01/02070000.xhp">Paste Special</link></paragraph>
<paragraph role="paragraph" id="par_idN107BA"><link href="text/shared/01/02070000.xhp">Paste Special</link></paragraph>
</section>
</body>
</helpdocument>

0 comments on commit 31c8434

Please sign in to comment.