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