xref: /AOO42X/main/helpcontent2/source/text/swriter/guide/table_insert.xhp (revision 21f4ae177a52f1e5ace9b4ea500f53fc0ca795ed)
1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir
30e4b25e7SAndrew Rist<!--***********************************************************
4cdf0e10cSrcweir *
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
12cdf0e10cSrcweir *
130e4b25e7SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
14cdf0e10cSrcweir *
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.
21cdf0e10cSrcweir *
220e4b25e7SAndrew Rist ***********************************************************-->
230e4b25e7SAndrew Rist
241832f669Smseidel<helpdocument version="1.0">
25cdf0e10cSrcweir<meta>
26cdf0e10cSrcweir<topic id="textswriterguidetable_insertxml" indexer="include" status="PUBLISH">
27cdf0e10cSrcweir<title xml-lang="en-US" id="tit">Inserting Tables</title>
28cdf0e10cSrcweir<filename>/text/swriter/guide/table_insert.xhp</filename>
29cdf0e10cSrcweir</topic>
30cdf0e10cSrcweir</meta>
31cdf0e10cSrcweir<body>
321832f669Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3156377">
331832f669Smseidel<bookmark_value>tables; inserting text tables</bookmark_value>
34cdf0e10cSrcweir<bookmark_value>inserting; tables in text</bookmark_value>
35cdf0e10cSrcweir<bookmark_value>DDE; inserting tables</bookmark_value>
36cdf0e10cSrcweir<bookmark_value>OLE objects; inserting tables in</bookmark_value>
37cdf0e10cSrcweir<bookmark_value>cells;inserting from spreadsheets</bookmark_value>
38cdf0e10cSrcweir<bookmark_value>tables in spreadsheets;inserting in text</bookmark_value>
39cdf0e10cSrcweir<bookmark_value>spreadsheets;inserting tables from</bookmark_value>
40cdf0e10cSrcweir</bookmark><comment>mw changed "cell ranges;" to "cells;"</comment>
41*82fdead1Smseidel<paragraph xml-lang="en-US" id="hd_id3156377" role="heading" level="1" l10n="U"><variable id="table_insert"><link href="text/swriter/guide/table_insert.xhp" name="Inserting Tables">Inserting Tables</link>
42cdf0e10cSrcweir</variable></paragraph>
43*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3149489" role="paragraph" l10n="CHG">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>
44*82fdead1Smseidel<paragraph xml-lang="en-US" id="hd_id3155908" role="heading" level="2" l10n="U">To Insert a Table From the Insert Toolbar</paragraph>
45cdf0e10cSrcweir<list type="ordered">
46cdf0e10cSrcweir<listitem>
47*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3155861" role="listitem" l10n="U">Place the cursor in your document where you want to insert the table.</paragraph>
48cdf0e10cSrcweir</listitem>
49cdf0e10cSrcweir<listitem>
50*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3147416" role="listitem" l10n="CHG">On the <emph>Standard</emph> bar, click the arrow next to the <emph>Table</emph> icon.</paragraph>
51cdf0e10cSrcweir</listitem>
52cdf0e10cSrcweir<listitem>
53*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3153398" role="listitem" l10n="U">In the table grid, drag to select the numbers of rows and columns that you want, and then release.</paragraph>
54cdf0e10cSrcweir</listitem>
55cdf0e10cSrcweir</list>
56*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3153416" role="paragraph" l10n="CHG">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>
57*82fdead1Smseidel<paragraph xml-lang="en-US" id="hd_id3153135" role="heading" level="2" l10n="U">To Insert a Table With a Menu Command</paragraph>
58cdf0e10cSrcweir<list type="ordered">
59cdf0e10cSrcweir<listitem>
60*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3149642" role="listitem" l10n="U">Place the cursor in your document where you want to insert the table.</paragraph>
61cdf0e10cSrcweir</listitem>
62cdf0e10cSrcweir<listitem>
63*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3149609" role="listitem" l10n="CHG">Choose <emph>Table - Insert - Table</emph>.</paragraph>
64cdf0e10cSrcweir</listitem>
65cdf0e10cSrcweir<listitem>
66*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3149858" role="listitem" l10n="U">In the <emph>Size</emph> area, enter the number of rows and columns.</paragraph>
67cdf0e10cSrcweir</listitem>
68cdf0e10cSrcweir<listitem>
69*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3145097" role="listitem" l10n="U">Select the options that you want, click <emph>OK</emph>.</paragraph>
70cdf0e10cSrcweir</listitem>
71cdf0e10cSrcweir</list>
72*82fdead1Smseidel<paragraph xml-lang="en-US" id="hd_id3149572" role="heading" level="2" l10n="CHG">To Insert a Table From a Calc Spreadsheet</paragraph>
73cdf0e10cSrcweir<list type="ordered">
74cdf0e10cSrcweir<listitem>
75*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3149594" role="listitem" l10n="U">Open the $[officename] Calc spreadsheet containing the cell range that you want to insert.</paragraph>
76cdf0e10cSrcweir</listitem>
77cdf0e10cSrcweir<listitem>
78*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3156250" role="listitem" l10n="U">In the spreadsheet, drag to select the cells.</paragraph>
79cdf0e10cSrcweir</listitem>
80cdf0e10cSrcweir<listitem>
81*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3154395" role="listitem" l10n="U">Choose <emph>Edit - Copy</emph>.</paragraph>
82cdf0e10cSrcweir</listitem>
83cdf0e10cSrcweir<listitem>
84*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3154420" role="listitem" l10n="U">In your text document, do one of the following:</paragraph>
85cdf0e10cSrcweir</listitem>
86cdf0e10cSrcweir</list>
87cdf0e10cSrcweir<list type="unordered">
88cdf0e10cSrcweir<listitem>
89*82fdead1Smseidel<paragraph role="listitem" id="par_id3153383" xml-lang="en-US" l10n="U">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>
90cdf0e10cSrcweir</listitem>
91cdf0e10cSrcweir<listitem>
92*82fdead1Smseidel<paragraph role="listitem" id="par_id3154248" xml-lang="en-US" l10n="U">Choose <emph>Edit - Paste Special</emph>, and choose from the following options:</paragraph>
93cdf0e10cSrcweir</listitem>
94cdf0e10cSrcweir</list>
95cdf0e10cSrcweir<table id="tbl_id3152755">
96cdf0e10cSrcweir<tablerow>
97cdf0e10cSrcweir<tablecell>
98*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3154844" role="tablehead" l10n="U">Options</paragraph>
99cdf0e10cSrcweir</tablecell>
100cdf0e10cSrcweir<tablecell>
101*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3154867" role="tablehead" l10n="U">Is inserted as...</paragraph>
102cdf0e10cSrcweir</tablecell>
103cdf0e10cSrcweir</tablerow>
104cdf0e10cSrcweir<tablerow>
105cdf0e10cSrcweir<tablecell>
106*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3155893" role="tablecontent" l10n="U">$[officename] $[officeversion] Spreadsheet</paragraph>
107cdf0e10cSrcweir</tablecell>
108cdf0e10cSrcweir<tablecell>
109*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3149986" role="tablecontent" l10n="U">OLE object - as with <switchinline select="sys"><caseinline select="MAC">Command
110cdf0e10cSrcweir</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+V or drag-and-drop</paragraph>
111cdf0e10cSrcweir</tablecell>
112cdf0e10cSrcweir</tablerow>
113cdf0e10cSrcweir<tablerow>
114cdf0e10cSrcweir<tablecell>
115*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3148674" role="tablecontent" l10n="U">GDIMetaFile</paragraph>
116cdf0e10cSrcweir</tablecell>
117cdf0e10cSrcweir<tablecell>
118*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3148697" role="tablecontent" l10n="U">Graphic</paragraph>
119cdf0e10cSrcweir</tablecell>
120cdf0e10cSrcweir</tablerow>
121cdf0e10cSrcweir<tablerow>
122cdf0e10cSrcweir<tablecell>
123*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3153027" role="tablecontent" l10n="U">Bitmap</paragraph>
124cdf0e10cSrcweir</tablecell>
125cdf0e10cSrcweir<tablecell>
126*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3148957" role="tablecontent" l10n="U">Graphic</paragraph>
127cdf0e10cSrcweir</tablecell>
128cdf0e10cSrcweir</tablerow>
129cdf0e10cSrcweir<tablerow>
130cdf0e10cSrcweir<tablecell>
131*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3147104" role="tablecontent" l10n="U">HTML</paragraph>
132cdf0e10cSrcweir</tablecell>
133cdf0e10cSrcweir<tablecell>
134*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3147126" role="tablecontent" l10n="U">HTML table</paragraph>
135cdf0e10cSrcweir</tablecell>
136cdf0e10cSrcweir</tablerow>
137cdf0e10cSrcweir<tablerow>
138cdf0e10cSrcweir<tablecell>
139*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3150223" role="tablecontent" l10n="U">Unformatted text</paragraph>
140cdf0e10cSrcweir</tablecell>
141cdf0e10cSrcweir<tablecell>
142*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3150246" role="tablecontent" l10n="U">Text only, tab stops as separators</paragraph>
143cdf0e10cSrcweir</tablecell>
144cdf0e10cSrcweir</tablerow>
145cdf0e10cSrcweir<tablerow>
146cdf0e10cSrcweir<tablecell>
147*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3145227" role="tablecontent" l10n="U">Formatted text [RTF]</paragraph>
148cdf0e10cSrcweir</tablecell>
149cdf0e10cSrcweir<tablecell>
150*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3150938" role="tablecontent" l10n="U">Text table</paragraph>
151cdf0e10cSrcweir</tablecell>
152cdf0e10cSrcweir</tablerow>
153cdf0e10cSrcweir<tablerow>
154cdf0e10cSrcweir<tablecell>
155*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3150965" role="tablecontent" l10n="U"><switchinline select="sys"><caseinline select="WIN">DDE link (only under Windows)
156cdf0e10cSrcweir</caseinline></switchinline></paragraph>
157cdf0e10cSrcweir</tablecell>
158cdf0e10cSrcweir<tablecell>
159*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3154377" role="tablecontent" l10n="U"><switchinline select="sys"><caseinline select="WIN">Table structure and contents, without formatting. With updating
160cdf0e10cSrcweir</caseinline></switchinline></paragraph>
161cdf0e10cSrcweir</tablecell>
162cdf0e10cSrcweir</tablerow>
163cdf0e10cSrcweir</table>
164*82fdead1Smseidel<paragraph xml-lang="en-US" id="hd_id3151093" role="heading" level="3" l10n="CHG">Drag-and-Drop a Cell Range From a Calc Spreadsheet</paragraph>
165cdf0e10cSrcweir<list type="ordered">
166cdf0e10cSrcweir<listitem>
167*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3151116" role="listitem" l10n="U">Open the $[officename] Calc spreadsheet containing the cell range that you want to insert.</paragraph>
168cdf0e10cSrcweir</listitem>
169cdf0e10cSrcweir<listitem>
170*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3150515" role="listitem" l10n="U">In the spreadsheet, drag to select the cells.</paragraph>
171cdf0e10cSrcweir</listitem>
172cdf0e10cSrcweir<listitem>
173*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3150534" role="listitem" l10n="CHG">Click and hold the mouse button in the selected cells.</paragraph>
174cdf0e10cSrcweir</listitem>
175cdf0e10cSrcweir<listitem>
176*82fdead1Smseidel<paragraph xml-lang="en-US" id="par_id3147527" role="listitem" l10n="U">Drag the selected cells into the text document.</paragraph>
177cdf0e10cSrcweir</listitem>
178cdf0e10cSrcweir</list>
179cdf0e10cSrcweir<embed href="text/shared/00/00000004.xhp#related"/>
180cdf0e10cSrcweir<embed href="text/swriter/guide/table_select.xhp#table_select"/>
181cdf0e10cSrcweir<embed href="text/swriter/guide/table_delete.xhp#table_delete"/>
182cdf0e10cSrcweir<embed href="text/swriter/guide/borders.xhp#borders"/>
183cdf0e10cSrcweir</body>
184cdf0e10cSrcweir</helpdocument>
185