1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 21832f669Smseidel 30e4b25e7SAndrew Rist<!--*********************************************************** 41832f669Smseidel * 50e4b25e7SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 60e4b25e7SAndrew Rist * or more contributor license agreements. See the NOTICE file 70e4b25e7SAndrew Rist * distributed with this work for additional information 80e4b25e7SAndrew Rist * regarding copyright ownership. The ASF licenses this file 90e4b25e7SAndrew Rist * to you under the Apache License, Version 2.0 (the 100e4b25e7SAndrew Rist * "License"); you may not use this file except in compliance 110e4b25e7SAndrew Rist * with the License. You may obtain a copy of the License at 121832f669Smseidel * 130e4b25e7SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 141832f669Smseidel * 150e4b25e7SAndrew Rist * Unless required by applicable law or agreed to in writing, 160e4b25e7SAndrew Rist * software distributed under the License is distributed on an 170e4b25e7SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 180e4b25e7SAndrew Rist * KIND, either express or implied. See the License for the 190e4b25e7SAndrew Rist * specific language governing permissions and limitations 200e4b25e7SAndrew Rist * under the License. 211832f669Smseidel * 220e4b25e7SAndrew Rist ***********************************************************--> 230e4b25e7SAndrew Rist 241832f669Smseidel<helpdocument version="1.0"> 25cdf0e10cSrcweir<meta> 261832f669Smseidel<topic id="textswriterguidetable_insertxml" indexer="include" status="PUBLISH"> 271832f669Smseidel<title xml-lang="en-US" id="tit">Inserting Tables</title> 281832f669Smseidel<filename>/text/swriter/guide/table_insert.xhp</filename> 291832f669Smseidel</topic> 301832f669Smseidel</meta> 311832f669Smseidel<body> 321832f669Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3156377"> 331832f669Smseidel<bookmark_value>tables; inserting text tables</bookmark_value> 341832f669Smseidel<bookmark_value>inserting; tables in text</bookmark_value> 351832f669Smseidel<bookmark_value>DDE; inserting tables</bookmark_value> 361832f669Smseidel<bookmark_value>OLE objects; inserting tables in</bookmark_value> 371832f669Smseidel<bookmark_value>cells;inserting from spreadsheets</bookmark_value> 381832f669Smseidel<bookmark_value>tables in spreadsheets;inserting in text</bookmark_value> 391832f669Smseidel<bookmark_value>spreadsheets;inserting tables from</bookmark_value> 40cdf0e10cSrcweir</bookmark><comment>mw changed "cell ranges;" to "cells;"</comment> 41cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3156377" role="heading" level="1" l10n="U" 421832f669Smseideloldref="31"><variable id="table_insert"><link href="text/swriter/guide/table_insert.xhp" name="Inserting Tables">Inserting Tables</link> 43cdf0e10cSrcweir</variable></paragraph> 441832f669Smseidel<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> 451832f669Smseidel<paragraph xml-lang="en-US" id="hd_id3155908" role="heading" level="2" l10n="U" 461832f669Smseideloldref="33">To Insert a Table From the Insert Toolbar</paragraph> 471832f669Smseidel<list type="ordered"> 481832f669Smseidel<listitem> 491832f669Smseidel<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> 501832f669Smseidel</listitem> 511832f669Smseidel<listitem> 521832f669Smseidel<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> 531832f669Smseidel</listitem> 541832f669Smseidel<listitem> 551832f669Smseidel<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> 561832f669Smseidel</listitem> 571832f669Smseidel</list> 581832f669Smseidel<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> 591832f669Smseidel<paragraph xml-lang="en-US" id="hd_id3153135" role="heading" level="2" l10n="U" 601832f669Smseideloldref="35">To Insert a Table With a Menu Command</paragraph> 611832f669Smseidel<list type="ordered"> 621832f669Smseidel<listitem> 631832f669Smseidel<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> 641832f669Smseidel</listitem> 651832f669Smseidel<listitem> 66*36f71006Smseidel<paragraph xml-lang="en-US" id="par_id3149609" role="listitem" l10n="CHG" oldref="37">Choose <emph>Table - Insert - Table</emph>.</paragraph> 671832f669Smseidel</listitem> 681832f669Smseidel<listitem> 691832f669Smseidel<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> 701832f669Smseidel</listitem> 711832f669Smseidel<listitem> 721832f669Smseidel<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> 731832f669Smseidel</listitem> 741832f669Smseidel</list> 751832f669Smseidel<paragraph xml-lang="en-US" id="hd_id3149572" role="heading" level="2" l10n="CHG" 761832f669Smseideloldref="43">To Insert a Table From a Calc Spreadsheet</paragraph> 771832f669Smseidel<list type="ordered"> 781832f669Smseidel<listitem> 791832f669Smseidel<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> 801832f669Smseidel</listitem> 811832f669Smseidel<listitem> 821832f669Smseidel<paragraph xml-lang="en-US" id="par_id3156250" role="listitem" l10n="U" oldref="45">In the spreadsheet, drag to select the cells.</paragraph> 831832f669Smseidel</listitem> 841832f669Smseidel<listitem> 851832f669Smseidel<paragraph xml-lang="en-US" id="par_id3154395" role="listitem" l10n="U" oldref="68">Choose <emph>Edit - Copy</emph>.</paragraph> 861832f669Smseidel</listitem> 871832f669Smseidel<listitem> 881832f669Smseidel<paragraph xml-lang="en-US" id="par_id3154420" role="listitem" l10n="U" oldref="46">In your text document, do one of the following:</paragraph> 891832f669Smseidel</listitem> 901832f669Smseidel</list> 91cdf0e10cSrcweir<list type="unordered"> 92cdf0e10cSrcweir<listitem> 93cdf0e10cSrcweir<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> 94cdf0e10cSrcweir</listitem> 95cdf0e10cSrcweir<listitem> 96cdf0e10cSrcweir<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> 97cdf0e10cSrcweir</listitem> 98cdf0e10cSrcweir</list> 991832f669Smseidel<table id="tbl_id3152755"> 1001832f669Smseidel<tablerow> 1011832f669Smseidel<tablecell> 1021832f669Smseidel<paragraph xml-lang="en-US" id="par_id3154844" role="tablehead" l10n="U" oldref="49">Options</paragraph> 1031832f669Smseidel</tablecell> 1041832f669Smseidel<tablecell> 1051832f669Smseidel<paragraph xml-lang="en-US" id="par_id3154867" role="tablehead" l10n="U" oldref="50">Is inserted as...</paragraph> 1061832f669Smseidel</tablecell> 1071832f669Smseidel</tablerow> 1081832f669Smseidel<tablerow> 1091832f669Smseidel<tablecell> 1101832f669Smseidel<paragraph xml-lang="en-US" id="par_id3155893" role="tablecontent" l10n="U" oldref="51">$[officename] $[officeversion] Spreadsheet</paragraph> 1111832f669Smseidel</tablecell> 1121832f669Smseidel<tablecell> 1131832f669Smseidel<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 114cdf0e10cSrcweir</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+V or drag-and-drop</paragraph> 1151832f669Smseidel</tablecell> 1161832f669Smseidel</tablerow> 1171832f669Smseidel<tablerow> 1181832f669Smseidel<tablecell> 1191832f669Smseidel<paragraph xml-lang="en-US" id="par_id3148674" role="tablecontent" l10n="U" oldref="53">GDIMetaFile</paragraph> 1201832f669Smseidel</tablecell> 1211832f669Smseidel<tablecell> 1221832f669Smseidel<paragraph xml-lang="en-US" id="par_id3148697" role="tablecontent" l10n="U" oldref="54">Graphic</paragraph> 1231832f669Smseidel</tablecell> 1241832f669Smseidel</tablerow> 1251832f669Smseidel<tablerow> 1261832f669Smseidel<tablecell> 1271832f669Smseidel<paragraph xml-lang="en-US" id="par_id3153027" role="tablecontent" l10n="U" oldref="55">Bitmap</paragraph> 1281832f669Smseidel</tablecell> 1291832f669Smseidel<tablecell> 1301832f669Smseidel<paragraph xml-lang="en-US" id="par_id3148957" role="tablecontent" l10n="U" oldref="56">Graphic</paragraph> 1311832f669Smseidel</tablecell> 1321832f669Smseidel</tablerow> 1331832f669Smseidel<tablerow> 1341832f669Smseidel<tablecell> 1351832f669Smseidel<paragraph xml-lang="en-US" id="par_id3147104" role="tablecontent" l10n="U" oldref="57">HTML</paragraph> 1361832f669Smseidel</tablecell> 1371832f669Smseidel<tablecell> 1381832f669Smseidel<paragraph xml-lang="en-US" id="par_id3147126" role="tablecontent" l10n="U" oldref="58">HTML table</paragraph> 1391832f669Smseidel</tablecell> 1401832f669Smseidel</tablerow> 1411832f669Smseidel<tablerow> 1421832f669Smseidel<tablecell> 1431832f669Smseidel<paragraph xml-lang="en-US" id="par_id3150223" role="tablecontent" l10n="U" oldref="59">Unformatted text</paragraph> 1441832f669Smseidel</tablecell> 1451832f669Smseidel<tablecell> 1461832f669Smseidel<paragraph xml-lang="en-US" id="par_id3150246" role="tablecontent" l10n="U" oldref="60">Text only, tab stops as separators</paragraph> 1471832f669Smseidel</tablecell> 1481832f669Smseidel</tablerow> 1491832f669Smseidel<tablerow> 1501832f669Smseidel<tablecell> 1511832f669Smseidel<paragraph xml-lang="en-US" id="par_id3145227" role="tablecontent" l10n="U" oldref="61">Formatted text [RTF]</paragraph> 1521832f669Smseidel</tablecell> 1531832f669Smseidel<tablecell> 1541832f669Smseidel<paragraph xml-lang="en-US" id="par_id3150938" role="tablecontent" l10n="U" oldref="62">Text table</paragraph> 1551832f669Smseidel</tablecell> 1561832f669Smseidel</tablerow> 1571832f669Smseidel<tablerow> 1581832f669Smseidel<tablecell> 1591832f669Smseidel<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) 160cdf0e10cSrcweir</caseinline></switchinline></paragraph> 1611832f669Smseidel</tablecell> 1621832f669Smseidel<tablecell> 1631832f669Smseidel<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 164cdf0e10cSrcweir</caseinline></switchinline></paragraph> 1651832f669Smseidel</tablecell> 1661832f669Smseidel</tablerow> 1671832f669Smseidel</table> 1681832f669Smseidel<paragraph xml-lang="en-US" id="hd_id3151093" role="heading" level="3" l10n="CHG" 1691832f669Smseideloldref="38">Drag-and-Drop a Cell Range From a Calc Spreadsheet</paragraph> 1701832f669Smseidel<list type="ordered"> 1711832f669Smseidel<listitem> 1721832f669Smseidel<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> 1731832f669Smseidel</listitem> 1741832f669Smseidel<listitem> 1751832f669Smseidel<paragraph xml-lang="en-US" id="par_id3150515" role="listitem" l10n="U" oldref="69">In the spreadsheet, drag to select the cells.</paragraph> 1761832f669Smseidel</listitem> 1771832f669Smseidel<listitem> 1781832f669Smseidel<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> 1791832f669Smseidel</listitem> 1801832f669Smseidel<listitem> 1811832f669Smseidel<paragraph xml-lang="en-US" id="par_id3147527" role="listitem" l10n="U" oldref="41">Drag the selected cells into the text document.</paragraph> 1821832f669Smseidel</listitem> 1831832f669Smseidel</list> 1841832f669Smseidel<embed href="text/shared/00/00000004.xhp#related"/> 1851832f669Smseidel<embed href="text/swriter/guide/table_select.xhp#table_select"/> 1861832f669Smseidel<embed href="text/swriter/guide/table_delete.xhp#table_delete"/> 1871832f669Smseidel<embed href="text/swriter/guide/borders.xhp#borders"/> 1881832f669Smseidel</body> 189cdf0e10cSrcweir</helpdocument> 190