1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2cdf0e10cSrcweir<helpdocument version="1.0"> 3cdf0e10cSrcweir 4*0e4b25e7SAndrew Rist<!--*********************************************************** 5cdf0e10cSrcweir * 6*0e4b25e7SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 7*0e4b25e7SAndrew Rist * or more contributor license agreements. See the NOTICE file 8*0e4b25e7SAndrew Rist * distributed with this work for additional information 9*0e4b25e7SAndrew Rist * regarding copyright ownership. The ASF licenses this file 10*0e4b25e7SAndrew Rist * to you under the Apache License, Version 2.0 (the 11*0e4b25e7SAndrew Rist * "License"); you may not use this file except in compliance 12*0e4b25e7SAndrew Rist * with the License. You may obtain a copy of the License at 13*0e4b25e7SAndrew Rist * 14*0e4b25e7SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 15*0e4b25e7SAndrew Rist * 16*0e4b25e7SAndrew Rist * Unless required by applicable law or agreed to in writing, 17*0e4b25e7SAndrew Rist * software distributed under the License is distributed on an 18*0e4b25e7SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 19*0e4b25e7SAndrew Rist * KIND, either express or implied. See the License for the 20*0e4b25e7SAndrew Rist * specific language governing permissions and limitations 21*0e4b25e7SAndrew Rist * under the License. 22*0e4b25e7SAndrew Rist * 23*0e4b25e7SAndrew Rist ***********************************************************--> 24*0e4b25e7SAndrew Rist 25*0e4b25e7SAndrew Rist 26cdf0e10cSrcweir 27cdf0e10cSrcweir 28cdf0e10cSrcweir<meta> 29cdf0e10cSrcweir <topic id="textswriterguidetable_insertxml" indexer="include" status="PUBLISH"> 30cdf0e10cSrcweir <title xml-lang="en-US" id="tit">Inserting Tables</title> 31cdf0e10cSrcweir <filename>/text/swriter/guide/table_insert.xhp</filename> 32cdf0e10cSrcweir </topic> 33cdf0e10cSrcweir </meta> 34cdf0e10cSrcweir <body> 35cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3156377"><bookmark_value>tables; inserting text tables</bookmark_value> 36cdf0e10cSrcweir <bookmark_value>inserting; tables in text</bookmark_value> 37cdf0e10cSrcweir <bookmark_value>DDE; inserting tables</bookmark_value> 38cdf0e10cSrcweir <bookmark_value>OLE objects; inserting tables in</bookmark_value> 39cdf0e10cSrcweir <bookmark_value>cells;inserting from spreadsheets</bookmark_value> 40cdf0e10cSrcweir <bookmark_value>tables in spreadsheets;inserting in text</bookmark_value> 41cdf0e10cSrcweir <bookmark_value>spreadsheets;inserting tables from</bookmark_value> 42cdf0e10cSrcweir</bookmark><comment>mw changed "cell ranges;" to "cells;"</comment> 43cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3156377" role="heading" level="1" l10n="U" 44cdf0e10cSrcweir oldref="31"><variable id="table_insert"><link href="text/swriter/guide/table_insert.xhp" name="Inserting Tables">Inserting Tables</link> 45cdf0e10cSrcweir</variable></paragraph> 46cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3149489" role="paragraph" l10n="CHG" oldref="32">There are several ways to create a table in a text document. You can insert a table from a toolbar, through a menu command, or from a spreadsheet. <comment>UFI: from a database?</comment></paragraph> 47cdf0e10cSrcweir <paragraph xml-lang="en-US" id="hd_id3155908" role="heading" level="2" l10n="U" 48cdf0e10cSrcweir oldref="33">To Insert a Table From the Insert Toolbar</paragraph> 49cdf0e10cSrcweir <list type="ordered"> 50cdf0e10cSrcweir <listitem> 51cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3155861" role="listitem" l10n="U" oldref="34">Place the cursor in your document where you want to insert the table.</paragraph> 52cdf0e10cSrcweir </listitem> 53cdf0e10cSrcweir <listitem> 54cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3147416" role="listitem" l10n="CHG" oldref="28">On the <emph>Standard</emph> bar, click the arrow next to the <emph>Table</emph> icon.</paragraph> 55cdf0e10cSrcweir </listitem> 56cdf0e10cSrcweir <listitem> 57cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3153398" role="listitem" l10n="U" oldref="29">In the table grid, drag to select the numbers of rows and columns that you want, and then release.</paragraph> 58cdf0e10cSrcweir </listitem> 59cdf0e10cSrcweir </list> 60cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3153416" role="paragraph" l10n="CHG" oldref="30">To cancel, drag to the other side until <emph>Cancel</emph> appears in the preview area of the grid.<comment>make it RTL compliant</comment></paragraph> 61cdf0e10cSrcweir <paragraph xml-lang="en-US" id="hd_id3153135" role="heading" level="2" l10n="U" 62cdf0e10cSrcweir oldref="35">To Insert a Table With a Menu Command</paragraph> 63cdf0e10cSrcweir <list type="ordered"> 64cdf0e10cSrcweir <listitem> 65cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3149642" role="listitem" l10n="U" oldref="36">Place the cursor in your document where you want to insert the table.</paragraph> 66cdf0e10cSrcweir </listitem> 67cdf0e10cSrcweir <listitem> 68cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3149609" role="listitem" l10n="CHG" oldref="37">Choose <emph>Table - Insert - Table</emph>. </paragraph> 69cdf0e10cSrcweir </listitem> 70cdf0e10cSrcweir <listitem> 71cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3149858" role="listitem" l10n="U" oldref="66">In the <emph>Size</emph> area, enter the number of rows and columns.</paragraph> 72cdf0e10cSrcweir </listitem> 73cdf0e10cSrcweir <listitem> 74cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3145097" role="listitem" l10n="U" oldref="67">Select the options that you want, click <emph>OK</emph>.</paragraph> 75cdf0e10cSrcweir </listitem> 76cdf0e10cSrcweir </list> 77cdf0e10cSrcweir <paragraph xml-lang="en-US" id="hd_id3149572" role="heading" level="2" l10n="CHG" 78cdf0e10cSrcweir oldref="43">To Insert a Table From a Calc Spreadsheet</paragraph> 79cdf0e10cSrcweir <list type="ordered"> 80cdf0e10cSrcweir <listitem> 81cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3149594" role="listitem" l10n="U" oldref="44">Open the $[officename] Calc spreadsheet containing the cell range that you want to insert.</paragraph> 82cdf0e10cSrcweir </listitem> 83cdf0e10cSrcweir <listitem> 84cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3156250" role="listitem" l10n="U" oldref="45">In the spreadsheet, drag to select the cells.</paragraph> 85cdf0e10cSrcweir </listitem> 86cdf0e10cSrcweir <listitem> 87cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3154395" role="listitem" l10n="U" oldref="68">Choose <emph>Edit - Copy</emph>.</paragraph> 88cdf0e10cSrcweir </listitem> 89cdf0e10cSrcweir <listitem> 90cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3154420" role="listitem" l10n="U" oldref="46">In your text document, do one of the following:</paragraph> 91cdf0e10cSrcweir </listitem> 92cdf0e10cSrcweir </list> 93cdf0e10cSrcweir 94cdf0e10cSrcweir 95cdf0e10cSrcweir 96cdf0e10cSrcweir<list type="unordered"> 97cdf0e10cSrcweir<listitem> 98cdf0e10cSrcweir<paragraph role="listitem" id="par_id3153383" xml-lang="en-US" l10n="U" oldref="47">Choose <emph>Edit - Paste</emph>. The cell range is pasted as an OLE object. To edit the contents of the cells, double-click the object.</paragraph> 99cdf0e10cSrcweir</listitem> 100cdf0e10cSrcweir<listitem> 101cdf0e10cSrcweir<paragraph role="listitem" id="par_id3154248" xml-lang="en-US" l10n="U" oldref="48">Choose <emph>Edit - Paste Special</emph>, and choose from the following options:</paragraph> 102cdf0e10cSrcweir</listitem> 103cdf0e10cSrcweir</list> 104cdf0e10cSrcweir 105cdf0e10cSrcweir 106cdf0e10cSrcweir 107cdf0e10cSrcweir <table id="tbl_id3152755"> 108cdf0e10cSrcweir <tablerow> 109cdf0e10cSrcweir <tablecell> 110cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3154844" role="tablehead" l10n="U" oldref="49">Options</paragraph> 111cdf0e10cSrcweir </tablecell> 112cdf0e10cSrcweir <tablecell> 113cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3154867" role="tablehead" l10n="U" oldref="50">Is inserted as...</paragraph> 114cdf0e10cSrcweir </tablecell> 115cdf0e10cSrcweir </tablerow> 116cdf0e10cSrcweir <tablerow> 117cdf0e10cSrcweir <tablecell> 118cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3155893" role="tablecontent" l10n="U" oldref="51">$[officename] $[officeversion] Spreadsheet</paragraph> 119cdf0e10cSrcweir </tablecell> 120cdf0e10cSrcweir <tablecell> 121cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3149986" role="tablecontent" l10n="U" oldref="52">OLE object - as with <switchinline select="sys"><caseinline select="MAC">Command 122cdf0e10cSrcweir</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+V or drag-and-drop</paragraph> 123cdf0e10cSrcweir </tablecell> 124cdf0e10cSrcweir </tablerow> 125cdf0e10cSrcweir <tablerow> 126cdf0e10cSrcweir <tablecell> 127cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3148674" role="tablecontent" l10n="U" oldref="53">GDIMetaFile</paragraph> 128cdf0e10cSrcweir </tablecell> 129cdf0e10cSrcweir <tablecell> 130cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3148697" role="tablecontent" l10n="U" oldref="54">Graphic</paragraph> 131cdf0e10cSrcweir </tablecell> 132cdf0e10cSrcweir </tablerow> 133cdf0e10cSrcweir <tablerow> 134cdf0e10cSrcweir <tablecell> 135cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3153027" role="tablecontent" l10n="U" oldref="55">Bitmap</paragraph> 136cdf0e10cSrcweir </tablecell> 137cdf0e10cSrcweir <tablecell> 138cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3148957" role="tablecontent" l10n="U" oldref="56">Graphic</paragraph> 139cdf0e10cSrcweir </tablecell> 140cdf0e10cSrcweir </tablerow> 141cdf0e10cSrcweir <tablerow> 142cdf0e10cSrcweir <tablecell> 143cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3147104" role="tablecontent" l10n="U" oldref="57">HTML</paragraph> 144cdf0e10cSrcweir </tablecell> 145cdf0e10cSrcweir <tablecell> 146cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3147126" role="tablecontent" l10n="U" oldref="58">HTML table</paragraph> 147cdf0e10cSrcweir </tablecell> 148cdf0e10cSrcweir </tablerow> 149cdf0e10cSrcweir <tablerow> 150cdf0e10cSrcweir <tablecell> 151cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3150223" role="tablecontent" l10n="U" oldref="59">Unformatted text</paragraph> 152cdf0e10cSrcweir </tablecell> 153cdf0e10cSrcweir <tablecell> 154cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3150246" role="tablecontent" l10n="U" oldref="60">Text only, tab stops as separators</paragraph> 155cdf0e10cSrcweir </tablecell> 156cdf0e10cSrcweir </tablerow> 157cdf0e10cSrcweir <tablerow> 158cdf0e10cSrcweir <tablecell> 159cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3145227" role="tablecontent" l10n="U" oldref="61">Formatted text [RTF]</paragraph> 160cdf0e10cSrcweir </tablecell> 161cdf0e10cSrcweir <tablecell> 162cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3150938" role="tablecontent" l10n="U" oldref="62">Text table</paragraph> 163cdf0e10cSrcweir </tablecell> 164cdf0e10cSrcweir </tablerow> 165cdf0e10cSrcweir <tablerow> 166cdf0e10cSrcweir <tablecell> 167cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3150965" role="tablecontent" l10n="U" oldref="63"><switchinline select="sys"><caseinline select="WIN">DDE link (only under Windows) 168cdf0e10cSrcweir</caseinline></switchinline></paragraph> 169cdf0e10cSrcweir </tablecell> 170cdf0e10cSrcweir <tablecell> 171cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3154377" role="tablecontent" l10n="U" oldref="64"><switchinline select="sys"><caseinline select="WIN">Table structure and contents, without formatting. With updating 172cdf0e10cSrcweir</caseinline></switchinline></paragraph> 173cdf0e10cSrcweir </tablecell> 174cdf0e10cSrcweir </tablerow> 175cdf0e10cSrcweir </table> 176cdf0e10cSrcweir 177cdf0e10cSrcweir <paragraph xml-lang="en-US" id="hd_id3151093" role="heading" level="3" l10n="CHG" 178cdf0e10cSrcweir oldref="38">Drag-and-Drop a Cell Range From a Calc Spreadsheet</paragraph> 179cdf0e10cSrcweir <list type="ordered"> 180cdf0e10cSrcweir <listitem> 181cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3151116" role="listitem" l10n="U" oldref="39">Open the $[officename] Calc spreadsheet containing the cell range that you want to insert.</paragraph> 182cdf0e10cSrcweir </listitem> 183cdf0e10cSrcweir <listitem> 184cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3150515" role="listitem" l10n="U" oldref="69">In the spreadsheet, drag to select the cells.</paragraph> 185cdf0e10cSrcweir </listitem> 186cdf0e10cSrcweir <listitem> 187cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3150534" role="listitem" l10n="CHG" oldref="40">Click and hold the mouse button in the selected cells.</paragraph> 188cdf0e10cSrcweir </listitem> 189cdf0e10cSrcweir <listitem> 190cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3147527" role="listitem" l10n="U" oldref="41">Drag the selected cells into the text document.</paragraph> 191cdf0e10cSrcweir </listitem> 192cdf0e10cSrcweir </list> 193cdf0e10cSrcweir <embed href="text/shared/00/00000004.xhp#related"/> 194cdf0e10cSrcweir <embed href="text/swriter/guide/table_select.xhp#table_select"/> 195cdf0e10cSrcweir <embed href="text/swriter/guide/table_delete.xhp#table_delete"/> 196cdf0e10cSrcweir <embed href="text/swriter/guide/borders.xhp#borders"/> 197cdf0e10cSrcweir </body> 198cdf0e10cSrcweir</helpdocument> 199