1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--***********************************************************
4 *
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements.  See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership.  The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License.  You may obtain a copy of the License at
12 *
13 *   http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing,
16 * software distributed under the License is distributed on an
17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 * KIND, either express or implied.  See the License for the
19 * specific language governing permissions and limitations
20 * under the License.
21 *
22 ***********************************************************-->
23
24<helpdocument version="1.0">
25<meta>
26<topic id="textswriterguidetable_sizingxml" indexer="include">
27<title xml-lang="en-US" id="tit">Resizing Rows and Columns in a Text Table</title>
28<filename>text/swriter/guide/table_sizing.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="index" id="bm_id3156108">
33<bookmark_value>cells; enlarging and reducing in text tables</bookmark_value>
34<bookmark_value>table cells; enlarging/reducing in text</bookmark_value>
35<bookmark_value>keyboard; resizing rows/columns</bookmark_value>
36<bookmark_value>resizing;rows and columns in text tables</bookmark_value>
37<bookmark_value>enlarging columns,cells and table rows</bookmark_value>
38<bookmark_value>reducing rows and columns in text tables</bookmark_value>
39<bookmark_value>tables; resizing/juxtaposing</bookmark_value>
40<bookmark_value>juxtaposing tables</bookmark_value>
41<bookmark_value>heights of table rows</bookmark_value>
42<bookmark_value>widths of table columns</bookmark_value>
43<bookmark_value>rows;resizing in tables</bookmark_value>
44<bookmark_value>columns;resizing in tables</bookmark_value>
45<bookmark_value>column widths in tables</bookmark_value>
46</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>
47<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>
48<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>
49<table id="tbl_id3149640">
50<tablerow>
51<tablecell>
52<paragraph id="par_id3149615" role="paragraph" xml-lang="en-US">
53<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>
54</image></paragraph>
55</tablecell>
56<tablecell>
57<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>
58</tablecell>
59</tablerow>
60</table>
61<paragraph id="hd_id3145109" role="heading" xml-lang="en-US" level="2">Changing the Width of Columns and Cells</paragraph>
62<paragraph id="hd_id3149574" role="heading" xml-lang="en-US" level="3">To Change the Width of a Column</paragraph>
63<paragraph id="par_id3149587" role="paragraph" xml-lang="en-US">Do one of the following:</paragraph>
64<list type="unordered">
65<listitem>
66<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>
67</listitem>
68<listitem>
69<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>
70</listitem>
71<listitem>
72<paragraph id="par_id0918200811260957" role="listitem" xml-lang="en-US">Hold down <switchinline select="sys"><caseinline select="MAC">Command
73</caseinline><defaultinline>Ctrl</defaultinline></switchinline> and then click and drag a line to scale all cells right or above the line proportionally.</paragraph>
74</listitem>
75<listitem>
76<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
77</caseinline><defaultinline>Alt</defaultinline></switchinline> key, and then press the left or the right arrow key.</paragraph>
78</listitem>
79<listitem>
80<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
81</caseinline><defaultinline>Alt</defaultinline></switchinline>+Shift, and then press the right arrow key.</paragraph>
82</listitem></list>
83<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>
84</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>
85<paragraph id="hd_id3149993" role="heading" xml-lang="en-US" level="3">To Change the Width of a Cell</paragraph>
86<paragraph id="par_id3148676" role="listitem" xml-lang="en-US">Hold down <switchinline select="sys"><caseinline select="MAC">Option+Command
87</caseinline><defaultinline>Alt+Ctrl</defaultinline></switchinline>, and then press the left or the right arrow key</paragraph>
88<paragraph id="hd_id3153014" role="heading" xml-lang="en-US" level="2">Changing the Height of a Row</paragraph>
89<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
90</caseinline><defaultinline>Alt</defaultinline></switchinline> key, and then press the up or the down arrow key.</paragraph>
91<paragraph id="hd_id8478041" role="heading" xml-lang="en-US" level="2">Resizing a Whole Table</paragraph>
92<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>
93<list type="unordered">
94<listitem>
95<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>
96</listitem>
97<listitem>
98<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>
99</listitem></list>
100<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
101</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+A twice to select the whole table, then choose <emph>Insert - Frame</emph>.</paragraph>
102<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"/>
103</body>
104</helpdocument>
105