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="textswriterguidetable_insertxml" indexer="include" status="PUBLISH"> 36*cdf0e10cSrcweir <title xml-lang="en-US" id="tit">Inserting Tables</title> 37*cdf0e10cSrcweir <filename>/text/swriter/guide/table_insert.xhp</filename> 38*cdf0e10cSrcweir </topic> 39*cdf0e10cSrcweir </meta> 40*cdf0e10cSrcweir <body> 41*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3156377"><bookmark_value>tables; inserting text tables</bookmark_value> 42*cdf0e10cSrcweir <bookmark_value>inserting; tables in text</bookmark_value> 43*cdf0e10cSrcweir <bookmark_value>DDE; inserting tables</bookmark_value> 44*cdf0e10cSrcweir <bookmark_value>OLE objects; inserting tables in</bookmark_value> 45*cdf0e10cSrcweir <bookmark_value>cells;inserting from spreadsheets</bookmark_value> 46*cdf0e10cSrcweir <bookmark_value>tables in spreadsheets;inserting in text</bookmark_value> 47*cdf0e10cSrcweir <bookmark_value>spreadsheets;inserting tables from</bookmark_value> 48*cdf0e10cSrcweir</bookmark><comment>mw changed "cell ranges;" to "cells;"</comment> 49*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3156377" role="heading" level="1" l10n="U" 50*cdf0e10cSrcweir oldref="31"><variable id="table_insert"><link href="text/swriter/guide/table_insert.xhp" name="Inserting Tables">Inserting Tables</link> 51*cdf0e10cSrcweir</variable></paragraph> 52*cdf0e10cSrcweir <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> 53*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="hd_id3155908" role="heading" level="2" l10n="U" 54*cdf0e10cSrcweir oldref="33">To Insert a Table From the Insert Toolbar</paragraph> 55*cdf0e10cSrcweir <list type="ordered"> 56*cdf0e10cSrcweir <listitem> 57*cdf0e10cSrcweir <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> 58*cdf0e10cSrcweir </listitem> 59*cdf0e10cSrcweir <listitem> 60*cdf0e10cSrcweir <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> 61*cdf0e10cSrcweir </listitem> 62*cdf0e10cSrcweir <listitem> 63*cdf0e10cSrcweir <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> 64*cdf0e10cSrcweir </listitem> 65*cdf0e10cSrcweir </list> 66*cdf0e10cSrcweir <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> 67*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="hd_id3153135" role="heading" level="2" l10n="U" 68*cdf0e10cSrcweir oldref="35">To Insert a Table With a Menu Command</paragraph> 69*cdf0e10cSrcweir <list type="ordered"> 70*cdf0e10cSrcweir <listitem> 71*cdf0e10cSrcweir <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> 72*cdf0e10cSrcweir </listitem> 73*cdf0e10cSrcweir <listitem> 74*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3149609" role="listitem" l10n="CHG" oldref="37">Choose <emph>Table - Insert - Table</emph>. </paragraph> 75*cdf0e10cSrcweir </listitem> 76*cdf0e10cSrcweir <listitem> 77*cdf0e10cSrcweir <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> 78*cdf0e10cSrcweir </listitem> 79*cdf0e10cSrcweir <listitem> 80*cdf0e10cSrcweir <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> 81*cdf0e10cSrcweir </listitem> 82*cdf0e10cSrcweir </list> 83*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="hd_id3149572" role="heading" level="2" l10n="CHG" 84*cdf0e10cSrcweir oldref="43">To Insert a Table From a Calc Spreadsheet</paragraph> 85*cdf0e10cSrcweir <list type="ordered"> 86*cdf0e10cSrcweir <listitem> 87*cdf0e10cSrcweir <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> 88*cdf0e10cSrcweir </listitem> 89*cdf0e10cSrcweir <listitem> 90*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3156250" role="listitem" l10n="U" oldref="45">In the spreadsheet, drag to select the cells.</paragraph> 91*cdf0e10cSrcweir </listitem> 92*cdf0e10cSrcweir <listitem> 93*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3154395" role="listitem" l10n="U" oldref="68">Choose <emph>Edit - Copy</emph>.</paragraph> 94*cdf0e10cSrcweir </listitem> 95*cdf0e10cSrcweir <listitem> 96*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3154420" role="listitem" l10n="U" oldref="46">In your text document, do one of the following:</paragraph> 97*cdf0e10cSrcweir </listitem> 98*cdf0e10cSrcweir </list> 99*cdf0e10cSrcweir 100*cdf0e10cSrcweir 101*cdf0e10cSrcweir 102*cdf0e10cSrcweir<list type="unordered"> 103*cdf0e10cSrcweir<listitem> 104*cdf0e10cSrcweir<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> 105*cdf0e10cSrcweir</listitem> 106*cdf0e10cSrcweir<listitem> 107*cdf0e10cSrcweir<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> 108*cdf0e10cSrcweir</listitem> 109*cdf0e10cSrcweir</list> 110*cdf0e10cSrcweir 111*cdf0e10cSrcweir 112*cdf0e10cSrcweir 113*cdf0e10cSrcweir <table id="tbl_id3152755"> 114*cdf0e10cSrcweir <tablerow> 115*cdf0e10cSrcweir <tablecell> 116*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3154844" role="tablehead" l10n="U" oldref="49">Options</paragraph> 117*cdf0e10cSrcweir </tablecell> 118*cdf0e10cSrcweir <tablecell> 119*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3154867" role="tablehead" l10n="U" oldref="50">Is inserted as...</paragraph> 120*cdf0e10cSrcweir </tablecell> 121*cdf0e10cSrcweir </tablerow> 122*cdf0e10cSrcweir <tablerow> 123*cdf0e10cSrcweir <tablecell> 124*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3155893" role="tablecontent" l10n="U" oldref="51">$[officename] $[officeversion] Spreadsheet</paragraph> 125*cdf0e10cSrcweir </tablecell> 126*cdf0e10cSrcweir <tablecell> 127*cdf0e10cSrcweir <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 128*cdf0e10cSrcweir</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+V or drag-and-drop</paragraph> 129*cdf0e10cSrcweir </tablecell> 130*cdf0e10cSrcweir </tablerow> 131*cdf0e10cSrcweir <tablerow> 132*cdf0e10cSrcweir <tablecell> 133*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3148674" role="tablecontent" l10n="U" oldref="53">GDIMetaFile</paragraph> 134*cdf0e10cSrcweir </tablecell> 135*cdf0e10cSrcweir <tablecell> 136*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3148697" role="tablecontent" l10n="U" oldref="54">Graphic</paragraph> 137*cdf0e10cSrcweir </tablecell> 138*cdf0e10cSrcweir </tablerow> 139*cdf0e10cSrcweir <tablerow> 140*cdf0e10cSrcweir <tablecell> 141*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3153027" role="tablecontent" l10n="U" oldref="55">Bitmap</paragraph> 142*cdf0e10cSrcweir </tablecell> 143*cdf0e10cSrcweir <tablecell> 144*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3148957" role="tablecontent" l10n="U" oldref="56">Graphic</paragraph> 145*cdf0e10cSrcweir </tablecell> 146*cdf0e10cSrcweir </tablerow> 147*cdf0e10cSrcweir <tablerow> 148*cdf0e10cSrcweir <tablecell> 149*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3147104" role="tablecontent" l10n="U" oldref="57">HTML</paragraph> 150*cdf0e10cSrcweir </tablecell> 151*cdf0e10cSrcweir <tablecell> 152*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3147126" role="tablecontent" l10n="U" oldref="58">HTML table</paragraph> 153*cdf0e10cSrcweir </tablecell> 154*cdf0e10cSrcweir </tablerow> 155*cdf0e10cSrcweir <tablerow> 156*cdf0e10cSrcweir <tablecell> 157*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3150223" role="tablecontent" l10n="U" oldref="59">Unformatted text</paragraph> 158*cdf0e10cSrcweir </tablecell> 159*cdf0e10cSrcweir <tablecell> 160*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3150246" role="tablecontent" l10n="U" oldref="60">Text only, tab stops as separators</paragraph> 161*cdf0e10cSrcweir </tablecell> 162*cdf0e10cSrcweir </tablerow> 163*cdf0e10cSrcweir <tablerow> 164*cdf0e10cSrcweir <tablecell> 165*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3145227" role="tablecontent" l10n="U" oldref="61">Formatted text [RTF]</paragraph> 166*cdf0e10cSrcweir </tablecell> 167*cdf0e10cSrcweir <tablecell> 168*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3150938" role="tablecontent" l10n="U" oldref="62">Text table</paragraph> 169*cdf0e10cSrcweir </tablecell> 170*cdf0e10cSrcweir </tablerow> 171*cdf0e10cSrcweir <tablerow> 172*cdf0e10cSrcweir <tablecell> 173*cdf0e10cSrcweir <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) 174*cdf0e10cSrcweir</caseinline></switchinline></paragraph> 175*cdf0e10cSrcweir </tablecell> 176*cdf0e10cSrcweir <tablecell> 177*cdf0e10cSrcweir <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 178*cdf0e10cSrcweir</caseinline></switchinline></paragraph> 179*cdf0e10cSrcweir </tablecell> 180*cdf0e10cSrcweir </tablerow> 181*cdf0e10cSrcweir </table> 182*cdf0e10cSrcweir 183*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="hd_id3151093" role="heading" level="3" l10n="CHG" 184*cdf0e10cSrcweir oldref="38">Drag-and-Drop a Cell Range From a Calc Spreadsheet</paragraph> 185*cdf0e10cSrcweir <list type="ordered"> 186*cdf0e10cSrcweir <listitem> 187*cdf0e10cSrcweir <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> 188*cdf0e10cSrcweir </listitem> 189*cdf0e10cSrcweir <listitem> 190*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3150515" role="listitem" l10n="U" oldref="69">In the spreadsheet, drag to select the cells.</paragraph> 191*cdf0e10cSrcweir </listitem> 192*cdf0e10cSrcweir <listitem> 193*cdf0e10cSrcweir <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> 194*cdf0e10cSrcweir </listitem> 195*cdf0e10cSrcweir <listitem> 196*cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3147527" role="listitem" l10n="U" oldref="41">Drag the selected cells into the text document.</paragraph> 197*cdf0e10cSrcweir </listitem> 198*cdf0e10cSrcweir </list> 199*cdf0e10cSrcweir <embed href="text/shared/00/00000004.xhp#related"/> 200*cdf0e10cSrcweir <embed href="text/swriter/guide/table_select.xhp#table_select"/> 201*cdf0e10cSrcweir <embed href="text/swriter/guide/table_delete.xhp#table_delete"/> 202*cdf0e10cSrcweir <embed href="text/swriter/guide/borders.xhp#borders"/> 203*cdf0e10cSrcweir </body> 204*cdf0e10cSrcweir</helpdocument> 205