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