1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 254be4daeSmseidel 30e4b25e7SAndrew Rist<!--*********************************************************** 454be4daeSmseidel * 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 1254be4daeSmseidel * 130e4b25e7SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 1454be4daeSmseidel * 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. 2154be4daeSmseidel * 220e4b25e7SAndrew Rist ***********************************************************--> 230e4b25e7SAndrew Rist 2454be4daeSmseidel<helpdocument version="1.0"> 25cdf0e10cSrcweir<meta> 2654be4daeSmseidel<topic id="textswriterguidetable_insertxml" indexer="include" status="PUBLISH"> 2754be4daeSmseidel<title xml-lang="en-US" id="tit">Inserting Tables</title> 2854be4daeSmseidel<filename>/text/swriter/guide/table_insert.xhp</filename> 2954be4daeSmseidel</topic> 3054be4daeSmseidel</meta> 3154be4daeSmseidel<body> 3254be4daeSmseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3156377"> 3354be4daeSmseidel<bookmark_value>tables; inserting text tables</bookmark_value> 3454be4daeSmseidel<bookmark_value>inserting; tables in text</bookmark_value> 3554be4daeSmseidel<bookmark_value>DDE; inserting tables</bookmark_value> 3654be4daeSmseidel<bookmark_value>OLE objects; inserting tables in</bookmark_value> 3754be4daeSmseidel<bookmark_value>cells;inserting from spreadsheets</bookmark_value> 3854be4daeSmseidel<bookmark_value>tables in spreadsheets;inserting in text</bookmark_value> 3954be4daeSmseidel<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" 4254be4daeSmseideloldref="31"><variable id="table_insert"><link href="text/swriter/guide/table_insert.xhp" name="Inserting Tables">Inserting Tables</link> 43cdf0e10cSrcweir</variable></paragraph> 4454be4daeSmseidel<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> 4554be4daeSmseidel<paragraph xml-lang="en-US" id="hd_id3155908" role="heading" level="2" l10n="U" 4654be4daeSmseideloldref="33">To Insert a Table From the Insert Toolbar</paragraph> 4754be4daeSmseidel<list type="ordered"> 4854be4daeSmseidel<listitem> 4954be4daeSmseidel<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> 5054be4daeSmseidel</listitem> 5154be4daeSmseidel<listitem> 5254be4daeSmseidel<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> 5354be4daeSmseidel</listitem> 5454be4daeSmseidel<listitem> 5554be4daeSmseidel<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> 5654be4daeSmseidel</listitem> 5754be4daeSmseidel</list> 5854be4daeSmseidel<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> 5954be4daeSmseidel<paragraph xml-lang="en-US" id="hd_id3153135" role="heading" level="2" l10n="U" 6054be4daeSmseideloldref="35">To Insert a Table With a Menu Command</paragraph> 6154be4daeSmseidel<list type="ordered"> 6254be4daeSmseidel<listitem> 6354be4daeSmseidel<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> 6454be4daeSmseidel</listitem> 6554be4daeSmseidel<listitem> 66*b184ee58Smseidel<paragraph xml-lang="en-US" id="par_id3149609" role="listitem" l10n="CHG" oldref="37">Choose <emph>Table - Insert - Table</emph>.</paragraph> 6754be4daeSmseidel</listitem> 6854be4daeSmseidel<listitem> 6954be4daeSmseidel<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> 7054be4daeSmseidel</listitem> 7154be4daeSmseidel<listitem> 7254be4daeSmseidel<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> 7354be4daeSmseidel</listitem> 7454be4daeSmseidel</list> 7554be4daeSmseidel<paragraph xml-lang="en-US" id="hd_id3149572" role="heading" level="2" l10n="CHG" 7654be4daeSmseideloldref="43">To Insert a Table From a Calc Spreadsheet</paragraph> 7754be4daeSmseidel<list type="ordered"> 7854be4daeSmseidel<listitem> 7954be4daeSmseidel<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> 8054be4daeSmseidel</listitem> 8154be4daeSmseidel<listitem> 8254be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3156250" role="listitem" l10n="U" oldref="45">In the spreadsheet, drag to select the cells.</paragraph> 8354be4daeSmseidel</listitem> 8454be4daeSmseidel<listitem> 8554be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3154395" role="listitem" l10n="U" oldref="68">Choose <emph>Edit - Copy</emph>.</paragraph> 8654be4daeSmseidel</listitem> 8754be4daeSmseidel<listitem> 8854be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3154420" role="listitem" l10n="U" oldref="46">In your text document, do one of the following:</paragraph> 8954be4daeSmseidel</listitem> 9054be4daeSmseidel</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> 9954be4daeSmseidel<table id="tbl_id3152755"> 10054be4daeSmseidel<tablerow> 10154be4daeSmseidel<tablecell> 10254be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3154844" role="tablehead" l10n="U" oldref="49">Options</paragraph> 10354be4daeSmseidel</tablecell> 10454be4daeSmseidel<tablecell> 10554be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3154867" role="tablehead" l10n="U" oldref="50">Is inserted as...</paragraph> 10654be4daeSmseidel</tablecell> 10754be4daeSmseidel</tablerow> 10854be4daeSmseidel<tablerow> 10954be4daeSmseidel<tablecell> 11054be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3155893" role="tablecontent" l10n="U" oldref="51">$[officename] $[officeversion] Spreadsheet</paragraph> 11154be4daeSmseidel</tablecell> 11254be4daeSmseidel<tablecell> 11354be4daeSmseidel<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> 11554be4daeSmseidel</tablecell> 11654be4daeSmseidel</tablerow> 11754be4daeSmseidel<tablerow> 11854be4daeSmseidel<tablecell> 11954be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3148674" role="tablecontent" l10n="U" oldref="53">GDIMetaFile</paragraph> 12054be4daeSmseidel</tablecell> 12154be4daeSmseidel<tablecell> 12254be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3148697" role="tablecontent" l10n="U" oldref="54">Graphic</paragraph> 12354be4daeSmseidel</tablecell> 12454be4daeSmseidel</tablerow> 12554be4daeSmseidel<tablerow> 12654be4daeSmseidel<tablecell> 12754be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3153027" role="tablecontent" l10n="U" oldref="55">Bitmap</paragraph> 12854be4daeSmseidel</tablecell> 12954be4daeSmseidel<tablecell> 13054be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3148957" role="tablecontent" l10n="U" oldref="56">Graphic</paragraph> 13154be4daeSmseidel</tablecell> 13254be4daeSmseidel</tablerow> 13354be4daeSmseidel<tablerow> 13454be4daeSmseidel<tablecell> 13554be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3147104" role="tablecontent" l10n="U" oldref="57">HTML</paragraph> 13654be4daeSmseidel</tablecell> 13754be4daeSmseidel<tablecell> 13854be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3147126" role="tablecontent" l10n="U" oldref="58">HTML table</paragraph> 13954be4daeSmseidel</tablecell> 14054be4daeSmseidel</tablerow> 14154be4daeSmseidel<tablerow> 14254be4daeSmseidel<tablecell> 14354be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3150223" role="tablecontent" l10n="U" oldref="59">Unformatted text</paragraph> 14454be4daeSmseidel</tablecell> 14554be4daeSmseidel<tablecell> 14654be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3150246" role="tablecontent" l10n="U" oldref="60">Text only, tab stops as separators</paragraph> 14754be4daeSmseidel</tablecell> 14854be4daeSmseidel</tablerow> 14954be4daeSmseidel<tablerow> 15054be4daeSmseidel<tablecell> 15154be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3145227" role="tablecontent" l10n="U" oldref="61">Formatted text [RTF]</paragraph> 15254be4daeSmseidel</tablecell> 15354be4daeSmseidel<tablecell> 15454be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3150938" role="tablecontent" l10n="U" oldref="62">Text table</paragraph> 15554be4daeSmseidel</tablecell> 15654be4daeSmseidel</tablerow> 15754be4daeSmseidel<tablerow> 15854be4daeSmseidel<tablecell> 15954be4daeSmseidel<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> 16154be4daeSmseidel</tablecell> 16254be4daeSmseidel<tablecell> 16354be4daeSmseidel<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> 16554be4daeSmseidel</tablecell> 16654be4daeSmseidel</tablerow> 16754be4daeSmseidel</table> 16854be4daeSmseidel<paragraph xml-lang="en-US" id="hd_id3151093" role="heading" level="3" l10n="CHG" 16954be4daeSmseideloldref="38">Drag-and-Drop a Cell Range From a Calc Spreadsheet</paragraph> 17054be4daeSmseidel<list type="ordered"> 17154be4daeSmseidel<listitem> 17254be4daeSmseidel<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> 17354be4daeSmseidel</listitem> 17454be4daeSmseidel<listitem> 17554be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3150515" role="listitem" l10n="U" oldref="69">In the spreadsheet, drag to select the cells.</paragraph> 17654be4daeSmseidel</listitem> 17754be4daeSmseidel<listitem> 17854be4daeSmseidel<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> 17954be4daeSmseidel</listitem> 18054be4daeSmseidel<listitem> 18154be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3147527" role="listitem" l10n="U" oldref="41">Drag the selected cells into the text document.</paragraph> 18254be4daeSmseidel</listitem> 18354be4daeSmseidel</list> 18454be4daeSmseidel<embed href="text/shared/00/00000004.xhp#related"/> 18554be4daeSmseidel<embed href="text/swriter/guide/table_select.xhp#table_select"/> 18654be4daeSmseidel<embed href="text/swriter/guide/table_delete.xhp#table_delete"/> 18754be4daeSmseidel<embed href="text/swriter/guide/borders.xhp#borders"/> 18854be4daeSmseidel</body> 189cdf0e10cSrcweir</helpdocument> 190