summaryrefslogtreecommitdiff
path: root/source/text/swriter/guide/calculate_clipboard.xhp
blob: 1b9bc0a0aafe5e5431e56d2bcf96d23ca7bfd26a (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
<?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="textswriterguidecalculate_clipboardxml" indexer="include" status="PUBLISH">
         <title xml-lang="en-US" id="tit">Calculating and Pasting the Result of a Formula in a Text Document</title>
         <filename>/text/swriter/guide/calculate_clipboard.xhp</filename>
      </topic>
   </meta>
   <body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3147692"><bookmark_value>pasting;results of formulas</bookmark_value>
      <bookmark_value>clipboard;calculating in text</bookmark_value>
      <bookmark_value>formulas;pasting results in text documents</bookmark_value>
</bookmark>
<paragraph xml-lang="en-US" id="hd_id3147692" role="heading" level="1"><variable id="calculate_clipboard"><link href="text/swriter/guide/calculate_clipboard.xhp" name=" Calculating and Pasting the Result of a Formula in a Text Document"> Calculating and Pasting the Result of a Formula in a Text Document</link>
</variable></paragraph>
      <paragraph xml-lang="en-US" id="par_id3156366" role="paragraph">If your text already contains a formula, for example "12+24*2", $[officename] can calculate, and then paste the result of the formula in your document, without using the <emph>Formula Bar</emph>.</paragraph>
      <list type="ordered">
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3154250" role="listitem">Select the formula in the text. The formula can only contain numbers and operators and cannot contain spaces.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3155496" role="listitem">Choose <emph>Tools - Calculate</emph>, or press <switchinline select="sys"><caseinline select="MAC">Command 
</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Plus Sign (+).</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id5172582" role="listitem">Place the cursor where you want to insert the result of the formula, and then choose <item type="menuitem">Edit - Paste</item>, or press <switchinline select="sys"><caseinline select="MAC">Command 
</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+V.<br/>The selected formula is replaced by the result.</paragraph>
         </listitem>
      </list>
      <embed href="text/shared/00/00000004.xhp#related"/>
      <embed href="text/swriter/main0214.xhp#releistename"/>
      <embed href="text/swriter/guide/calculate.xhp#calculate"/>
      <embed href="text/swriter/guide/calculate_intext.xhp#calculate_intext"/>
      <embed href="text/swriter/guide/calculate_intable.xhp#calculate_intable"/>
      <embed href="text/swriter/guide/calculate_multitable.xhp#calculate_multitable"/>
   </body>
</helpdocument>