summaryrefslogtreecommitdiff
path: root/helpcontent2/source/text/swriter/guide/table_insert.xhp
blob: 7339607a946651402c579866e5633d44b3f6d72c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<?xml version="1.0" encoding="UTF-8"?>


<!--
 ***********************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2008 by Sun Microsystems, Inc.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * $RCSfile: table_insert.xhp,v $
 * $Revision: 1.12.4.1 $
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************
 -->
	
<helpdocument version="1.0">
<meta>
<topic id="textswriterguidetable_insertxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Inserting Tables</title>
<filename>/text/swriter/guide/table_insert.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
<lastedited date="2006-12-18T11:04:02">converted from old format - fpe
checked - yj</lastedited>
</history>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3156377"><bookmark_value>tables; inserting text tables</bookmark_value>
<bookmark_value>inserting; tables in text</bookmark_value>
<bookmark_value>DDE; inserting tables</bookmark_value>
<bookmark_value>OLE objects; inserting tables in</bookmark_value>
<bookmark_value>cells;inserting from spreadsheets</bookmark_value>
<bookmark_value>tables in spreadsheets;inserting in text</bookmark_value>
<bookmark_value>spreadsheets;inserting tables from</bookmark_value>
</bookmark><comment>mw changed "cell ranges;" to "cells;"</comment>
<paragraph role="heading" id="hd_id3156377" xml-lang="en-US" level="1" l10n="U" oldref="31"><variable id="table_insert"><link href="text/swriter/guide/table_insert.xhp" name="Inserting Tables">Inserting Tables</link>
</variable></paragraph>
<paragraph role="paragraph" id="par_id3149489" xml-lang="en-US" 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>
<paragraph role="heading" id="hd_id3155908" xml-lang="en-US" level="2" l10n="U" oldref="33">To insert a table from the Insert toolbar</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3155861" xml-lang="en-US" l10n="U" oldref="34">Place the cursor in your document where you want to insert the table.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3147416" xml-lang="en-US" l10n="CHG" oldref="28">On the <emph>Standard</emph> bar, click the arrow next to the <emph>Table</emph> icon.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3153398" xml-lang="en-US" l10n="U" oldref="29">In the table grid, drag to select the numbers of rows and columns that you want, and then release.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id3153416" xml-lang="en-US" 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>
<paragraph role="heading" id="hd_id3153135" xml-lang="en-US" level="2" l10n="U" oldref="35">To insert a table with a menu command</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3149642" xml-lang="en-US" l10n="U" oldref="36">Place the cursor in your document where you want to insert the table.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3149609" xml-lang="en-US" l10n="CHG" oldref="37">Choose <emph>Table - Insert - Table</emph>. </paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3149858" xml-lang="en-US" l10n="U" oldref="66">In the <emph>Size</emph> area, enter the number of rows and columns.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3145097" xml-lang="en-US" l10n="U" oldref="67">Select the options that you want, click <emph>OK</emph>.</paragraph>
</listitem>
</list>
<paragraph role="heading" id="hd_id3149572" xml-lang="en-US" level="2" l10n="CHG" oldref="43">Inserting a Table From a Calc Spreadsheet</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3149594" xml-lang="en-US" l10n="U" oldref="44">Open the $[officename] Calc spreadsheet containing the cell range that you want to insert.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3156250" xml-lang="en-US" l10n="U" oldref="45">In the spreadsheet, drag to select the cells.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154395" xml-lang="en-US" l10n="U" oldref="68">Choose <emph>Edit - Copy</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154420" xml-lang="en-US" l10n="U" oldref="46">In your text document, do one of the following:</paragraph>
</listitem>
</list>
<list type="unordered">
<listitem>
<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>
</listitem>
<listitem>
<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>
</listitem>
</list>
<table id="tbl_id3152755">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_id3154844" xml-lang="en-US" l10n="U" oldref="49">Options</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_id3154867" xml-lang="en-US" l10n="U" oldref="50">Is inserted as...</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3155893" xml-lang="en-US" l10n="U" oldref="51">$[officename] $[officeversion] Spreadsheet</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3149986" xml-lang="en-US" l10n="U" oldref="52">OLE object - as with <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+V or drag-and-drop</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3148674" xml-lang="en-US" l10n="U" oldref="53">GDIMetaFile</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3148697" xml-lang="en-US" l10n="U" oldref="54">Graphic</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3153027" xml-lang="en-US" l10n="U" oldref="55">Bitmap</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3148957" xml-lang="en-US" l10n="U" oldref="56">Graphic</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3147104" xml-lang="en-US" l10n="U" oldref="57">HTML</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3147126" xml-lang="en-US" l10n="U" oldref="58">HTML table</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3150223" xml-lang="en-US" l10n="U" oldref="59">Unformatted text</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3150246" xml-lang="en-US" l10n="U" oldref="60">Text only, tab stops as separators</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3145227" xml-lang="en-US" l10n="U" oldref="61">Formatted text [RTF]</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3150938" xml-lang="en-US" l10n="U" oldref="62">Text table</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3150965" xml-lang="en-US" l10n="U" oldref="63"><switchinline select="sys"><caseinline select="WIN">DDE link (only under Windows) 
</caseinline></switchinline></paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3154377" xml-lang="en-US" l10n="U" oldref="64"><switchinline select="sys"><caseinline select="WIN">Table structure and contents, without formatting. With updating 
</caseinline></switchinline></paragraph>
</tablecell>
</tablerow>
</table>

<paragraph role="heading" id="hd_id3151093" xml-lang="en-US" level="3" l10n="CHG" oldref="38">Drag-and-Drop a Cell Range From a Calc Spreadsheet</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3151116" xml-lang="en-US" l10n="U" oldref="39">Open the $[officename] Calc spreadsheet containing the cell range that you want to insert.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3150515" xml-lang="en-US" l10n="U" oldref="69">In the spreadsheet, drag to select the cells.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3150534" xml-lang="en-US" l10n="CHG" oldref="40">Click and hold the mouse button in the selected cells.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3147527" xml-lang="en-US" l10n="U" oldref="41">Drag the selected cells into the text document.</paragraph>
</listitem>
</list>
<embed href="text/shared/00/00000004.xhp#related"/>
<embed href="text/swriter/guide/table_select.xhp#table_select"/>
<embed href="text/swriter/guide/table_delete.xhp#table_delete"/>
<embed href="text/swriter/guide/borders.xhp#borders"/>
</body>
</helpdocument>