1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?><helpdocument version="1.0">
2*cdf0e10cSrcweir<!--***********************************************************************
3*cdf0e10cSrcweir *
4*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5*cdf0e10cSrcweir *
6*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
7*cdf0e10cSrcweir *
8*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
9*cdf0e10cSrcweir *
10*cdf0e10cSrcweir * This file is part of OpenOffice.org.
11*cdf0e10cSrcweir *
12*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
13*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
14*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
15*cdf0e10cSrcweir *
16*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
17*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
18*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
20*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
21*cdf0e10cSrcweir *
22*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
23*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
24*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
25*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
26*cdf0e10cSrcweir *
27*cdf0e10cSrcweir ************************************************************************ -->
28*cdf0e10cSrcweir
29*cdf0e10cSrcweir<meta>
30*cdf0e10cSrcweir<topic id="textswriterguidetable_sizingxml" indexer="include">
31*cdf0e10cSrcweir<title xml-lang="en-US" id="tit">Resizing Rows and Columns in a Text Table </title>
32*cdf0e10cSrcweir<filename>text/swriter/guide/table_sizing.xhp</filename>
33*cdf0e10cSrcweir</topic>
34*cdf0e10cSrcweir</meta>
35*cdf0e10cSrcweir<body>
36*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3156108">
37*cdf0e10cSrcweir<bookmark_value>cells; enlarging and reducing in text tables</bookmark_value>
38*cdf0e10cSrcweir<bookmark_value>table cells; enlarging/reducing in text</bookmark_value>
39*cdf0e10cSrcweir<bookmark_value>keyboard; resizing rows/columns</bookmark_value>
40*cdf0e10cSrcweir<bookmark_value>resizing;rows and columns in text tables</bookmark_value>
41*cdf0e10cSrcweir<bookmark_value>enlarging columns,cells and table rows</bookmark_value>
42*cdf0e10cSrcweir<bookmark_value>reducing rows and columns in text tables</bookmark_value>
43*cdf0e10cSrcweir<bookmark_value>tables; resizing/juxtaposing</bookmark_value>
44*cdf0e10cSrcweir<bookmark_value>juxtaposing tables</bookmark_value>
45*cdf0e10cSrcweir<bookmark_value>heights of table rows</bookmark_value>
46*cdf0e10cSrcweir<bookmark_value>widths of table columns</bookmark_value>
47*cdf0e10cSrcweir<bookmark_value>rows;resizing in tables</bookmark_value>
48*cdf0e10cSrcweir<bookmark_value>columns;resizing in tables</bookmark_value>
49*cdf0e10cSrcweir<bookmark_value>column widths in tables</bookmark_value>
50*cdf0e10cSrcweir</bookmark><comment>mw deleted "text tables;enlarging cells",  "tables;changing the size", "tables;arranging" and "arranging;tables". MW changed "tables;sizing" and "table cells;". MW added "reducing rows and columns in text tables"</comment><comment>MW changed "tables;" and added "juxtaposing tables"</comment><comment>MW added 5 index entries wrt column widths and row heights</comment>
51*cdf0e10cSrcweir<paragraph id="hd_id3156108" role="heading" xml-lang="en-US" level="1"><variable id="table_sizing"><link href="text/swriter/guide/table_sizing.xhp" name="Resizing Rows and Columns in a Text Table">Resizing Rows and Columns in a Text Table</link></variable></paragraph>
52*cdf0e10cSrcweir<paragraph id="par_id3153140" role="paragraph" xml-lang="en-US">You can resize the width of table cells and columns, as well as change the height of table rows.</paragraph>
53*cdf0e10cSrcweir<table id="tbl_id3149640">
54*cdf0e10cSrcweir<tablerow>
55*cdf0e10cSrcweir<tablecell>
56*cdf0e10cSrcweir<paragraph id="par_id3149615" role="paragraph" xml-lang="en-US">
57*cdf0e10cSrcweir<image id="img_id3149622" src="res/commandimagelist/sc_optimizetable.png" width="0.1665in" height="0.1665in"><alt xml-lang="en-US" id="alt_id3149622">Icon</alt>
58*cdf0e10cSrcweir	</image></paragraph>
59*cdf0e10cSrcweir</tablecell>
60*cdf0e10cSrcweir<tablecell>
61*cdf0e10cSrcweir<paragraph id="par_id3146497" role="paragraph" xml-lang="en-US">You can also distribute rows and columns evenly using the icons on the <item type="menuitem">Optimize</item> toolbar on the <item type="menuitem">Table</item> Bar.</paragraph>
62*cdf0e10cSrcweir</tablecell>
63*cdf0e10cSrcweir</tablerow>
64*cdf0e10cSrcweir</table>
65*cdf0e10cSrcweir
66*cdf0e10cSrcweir<paragraph id="hd_id3145109" role="heading" xml-lang="en-US" level="2">Changing the Width of Columns and Cells</paragraph>
67*cdf0e10cSrcweir<paragraph id="hd_id3149574" role="heading" xml-lang="en-US" level="3">To Change the Width of a Column</paragraph>
68*cdf0e10cSrcweir<paragraph id="par_id3149587" role="paragraph" xml-lang="en-US">Do one of the following:</paragraph>
69*cdf0e10cSrcweir<list type="unordered">
70*cdf0e10cSrcweir<listitem>
71*cdf0e10cSrcweir<paragraph id="par_id3156246" role="listitem" xml-lang="en-US">Rest the mouse pointer over the column dividing line until the pointer becomes a separator icon, and then drag the line to a new location.</paragraph>
72*cdf0e10cSrcweir</listitem>
73*cdf0e10cSrcweir<listitem>
74*cdf0e10cSrcweir<paragraph id="par_id3145390" role="listitem" xml-lang="en-US">Rest the mouse pointer over the column dividing line on the ruler until the pointer becomes a separator icon, and then drag the line to a new location.</paragraph>
75*cdf0e10cSrcweir</listitem>
76*cdf0e10cSrcweir<listitem>
77*cdf0e10cSrcweir<paragraph id="par_id0918200811260957" role="listitem" xml-lang="en-US">Hold down <switchinline select="sys"><caseinline select="MAC">Command
78*cdf0e10cSrcweir</caseinline><defaultinline>Ctrl</defaultinline></switchinline> and then click and drag a line to scale all cells right or above the line proportionally.</paragraph>
79*cdf0e10cSrcweir</listitem>
80*cdf0e10cSrcweir<listitem>
81*cdf0e10cSrcweir<paragraph id="par_id3145411" role="listitem" xml-lang="en-US">Place the cursor in a cell in the column, hold down the <switchinline select="sys"><caseinline select="MAC">Option
82*cdf0e10cSrcweir</caseinline><defaultinline>Alt</defaultinline></switchinline> key, and then press the left or the right arrow key.</paragraph>
83*cdf0e10cSrcweir</listitem>
84*cdf0e10cSrcweir<listitem>
85*cdf0e10cSrcweir<paragraph id="par_id3153364" role="listitem" xml-lang="en-US">To increase the distance from the left edge of the page to the edge of the table, hold down <switchinline select="sys"><caseinline select="MAC">Option
86*cdf0e10cSrcweir</caseinline><defaultinline>Alt</defaultinline></switchinline>+Shift, and then press the right arrow key.</paragraph>
87*cdf0e10cSrcweir</listitem></list>
88*cdf0e10cSrcweir<paragraph id="par_id3155891" role="note" xml-lang="en-US">You can specify the behavior for the arrow keys by choosing <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph>
89*cdf0e10cSrcweir</caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - </emph><emph>%PRODUCTNAME Writer - Table</emph>, and selecting the options that you want in the <emph>Keyboard handling</emph> area.</paragraph>
90*cdf0e10cSrcweir<paragraph id="hd_id3149993" role="heading" xml-lang="en-US" level="3">To Change the Width of a Cell</paragraph>
91*cdf0e10cSrcweir<paragraph id="par_id3148676" role="listitem" xml-lang="en-US">Hold down <switchinline select="sys"><caseinline select="MAC">Option+Command
92*cdf0e10cSrcweir</caseinline><defaultinline>Alt+Ctrl</defaultinline></switchinline>, and then press the left or the right arrow key</paragraph>
93*cdf0e10cSrcweir<paragraph id="hd_id3153014" role="heading" xml-lang="en-US" level="2">Changing the Height of a Row</paragraph>
94*cdf0e10cSrcweir<paragraph id="par_id3153035" role="listitem" xml-lang="en-US">To change the height of a row, place the cursor in a cell in the row, hold down the <switchinline select="sys"><caseinline select="MAC">Option
95*cdf0e10cSrcweir</caseinline><defaultinline>Alt</defaultinline></switchinline> key, and then press the up or the down arrow key.</paragraph>
96*cdf0e10cSrcweir<paragraph id="hd_id8478041" role="heading" xml-lang="en-US" level="2">Resizing a Whole Table</paragraph>
97*cdf0e10cSrcweir<paragraph id="par_id3358867" role="paragraph" xml-lang="en-US">To change the width and height of a table, do one of the following:</paragraph>
98*cdf0e10cSrcweir<list type="unordered">
99*cdf0e10cSrcweir<listitem>
100*cdf0e10cSrcweir<paragraph id="par_id5366679" role="paragraph" xml-lang="en-US">Click inside the table. In the rulers, drag the border between the white and the gray area to resize the table.</paragraph>
101*cdf0e10cSrcweir</listitem>
102*cdf0e10cSrcweir<listitem>
103*cdf0e10cSrcweir<paragraph id="par_id1279030" role="paragraph" xml-lang="en-US">Click inside the table. Choose <item type="menuitem">Table - Table Properties</item> to open a dialog and set the properties to the numbers.</paragraph>
104*cdf0e10cSrcweir</listitem></list>
105*cdf0e10cSrcweir<paragraph id="par_id5009308" role="tip" xml-lang="en-US">To wrap text to the sides of a table, and to arrange two tables next to another, you must insert the tables into a frame. Click inside the table, press <switchinline select="sys"><caseinline select="MAC">Command
106*cdf0e10cSrcweir</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+A twice to select the whole table, then choose <emph>Insert - Frame</emph>.</paragraph>
107*cdf0e10cSrcweir<paragraph id="par_id4190496" role="note" xml-lang="en-US">Tables within HTML pages do not offer the full range of properties and commands as tables in OpenDocument format.</paragraph><embed href="text/shared/00/00000004.xhp#related"/><embed href="text/swriter/guide/tablemode.xhp#tablemode"/><embed href="text/swriter/guide/table_cells.xhp#table_cells"/><embed href="text/swriter/guide/table_cellmerge.xhp#table_cellmerge"/><embed href="text/swriter/guide/ruler.xhp#ruler"/>
108*cdf0e10cSrcweir</body>
109*cdf0e10cSrcweir</helpdocument>