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