merge the formfield patch from ooo-build
[ooovba.git] / helpcontent2 / source / text / swriter / guide / table_sizing.xhp
blob79076a622f5f207e71ece859804ad6602995ad14
1 <?xml version="1.0" encoding="UTF-8"?>
2 <helpdocument version="1.0">
4 <!--
5 ***********************************************************************
7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8 *
9 * Copyright 2008 by Sun Microsystems, Inc.
11 * OpenOffice.org - a multi-platform office productivity suite
13 * $RCSfile: soffice2xmlhelp.xsl,v $
14 * $Revision: 1.10 $
16 * This file is part of OpenOffice.org.
18 * OpenOffice.org is free software: you can redistribute it and/or modify
19 * it under the terms of the GNU Lesser General Public License version 3
20 * only, as published by the Free Software Foundation.
22 * OpenOffice.org is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU Lesser General Public License version 3 for more details
26 * (a copy is included in the LICENSE file that accompanied this code).
28 * You should have received a copy of the GNU Lesser General Public License
29 * version 3 along with OpenOffice.org. If not, see
30 * <http://www.openoffice.org/license.html>
31 * for a copy of the LGPLv3 License.
33 ************************************************************************
34 -->
37 <meta>
38 <topic id="textswriterguidetable_sizingxml" indexer="include">
39 <title xml-lang="en-US" id="tit">Resizing Rows and Columns in a Text Table </title>
40 <filename>/text/swriter/guide/table_sizing.xhp</filename>
41 </topic>
42 </meta>
43 <body>
44 <bookmark xml-lang="en-US" branch="index" id="bm_id3156108"><bookmark_value>cells; enlarging and reducing in text tables</bookmark_value>
45 <bookmark_value>table cells; enlarging/reducing in text</bookmark_value>
46 <bookmark_value>keyboard; resizing rows/columns</bookmark_value>
47 <bookmark_value>resizing;rows and columns in text tables</bookmark_value>
48 <bookmark_value>enlarging columns,cells and table rows</bookmark_value>
49 <bookmark_value>reducing rows and columns in text tables</bookmark_value>
50 <bookmark_value>tables; resizing/juxtaposing</bookmark_value>
51 <bookmark_value>juxtaposing tables</bookmark_value>
52 </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>
53 <paragraph xml-lang="en-US" id="hd_id3156108" role="heading" level="1" l10n="CHG"
54 oldref="12"><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>
55 </variable></paragraph>
56 <paragraph role="paragraph" id="par_id3153140" xml-lang="en-US" l10n="U" oldref="13">You can resize the width of table cells and columns, as well as change the height of table rows.</paragraph>
57 <table id="tbl_id3149640">
58 <tablerow>
59 <tablecell>
60 <paragraph role="paragraph" id="par_id3149615" xml-lang="en-US" l10n="E">
61 <image id="img_id3149622" src="res/commandimagelist/sc_optimizetable.png" width="0.423cm" height="0.423cm"><alt id="alt_id3149622" xml-lang="en-US">Icon</alt>
62 </image></paragraph>
63 </tablecell>
64 <tablecell>
65 <paragraph xml-lang="en-US" id="par_id3146497" role="paragraph" l10n="U" oldref="22">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>
66 <emph/>Bar.</paragraph>
67 </tablecell>
68 </tablerow>
69 </table>
71 <paragraph xml-lang="en-US" id="hd_id3145109" role="heading" level="2" l10n="U"
72 oldref="24">Changing the Width of Columns and Cells</paragraph>
73 <paragraph xml-lang="en-US" id="hd_id3149574" role="heading" level="3" l10n="U"
74 oldref="25">To Change the Width of a Column</paragraph>
75 <paragraph xml-lang="en-US" id="par_id3149587" role="paragraph" l10n="U" oldref="26">Do one of the following:</paragraph>
76 <list type="unordered">
77 <listitem>
78 <paragraph xml-lang="en-US" id="par_id3156246" role="listitem" l10n="U" oldref="21">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>
79 </listitem>
80 <listitem>
81 <paragraph xml-lang="en-US" id="par_id3145390" role="listitem" l10n="U" oldref="27">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>
82 </listitem>
83 <listitem>
84 <paragraph xml-lang="en-US" id="par_id0918200811260957" role="listitem" l10n="NEW">Hold down <switchinline select="sys"><caseinline select="MAC">Command
85 </caseinline><defaultinline>Ctrl</defaultinline></switchinline> and then click and drag a line to scale all cells right or above the line proportionally.</paragraph>
86 </listitem>
87 <listitem>
88 <paragraph xml-lang="en-US" id="par_id3145411" role="listitem" l10n="U" oldref="14">Place the cursor in a cell in the column, hold down the <switchinline select="sys"><caseinline select="MAC">Option
89 </caseinline><defaultinline>Alt</defaultinline></switchinline> key, and then press the left or the right arrow key.</paragraph>
90 </listitem>
91 <listitem>
92 <paragraph xml-lang="en-US" id="par_id3153364" role="listitem" l10n="U" oldref="28">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
93 </caseinline><defaultinline>Alt</defaultinline></switchinline>+Shift, and then press the right arrow key.</paragraph>
94 </listitem>
95 </list>
96 <paragraph xml-lang="en-US" id="par_id3155891" role="note" l10n="U" oldref="29">You can specify the behavior for the arrow keys by choosing <emph>Tools - Options - %PRODUCTNAME Writer - Table</emph>, and selecting the options that you want in the <emph>Keyboard handling</emph> area.</paragraph>
97 <paragraph xml-lang="en-US" id="hd_id3149993" role="heading" level="3" l10n="U"
98 oldref="30">To Change the Width of a Cell</paragraph>
99 <paragraph xml-lang="en-US" id="par_id3148676" role="listitem" l10n="U" oldref="31">Hold down <switchinline select="sys"><caseinline select="MAC">Option+Command
100 </caseinline><defaultinline>Alt+Ctrl</defaultinline></switchinline>, and then press the left or the right arrow key</paragraph>
101 <paragraph xml-lang="en-US" id="hd_id3153014" role="heading" level="2" l10n="U"
102 oldref="32">Changing the Height of a Row</paragraph>
103 <paragraph xml-lang="en-US" id="par_id3153035" role="listitem" l10n="U" oldref="33">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
104 </caseinline><defaultinline>Alt</defaultinline></switchinline> key, and then press the up or the down arrow key.</paragraph>
105 <paragraph xml-lang="en-US" id="hd_id8478041" role="heading" level="2" l10n="NEW">Resizing a Whole Table</paragraph>
106 <paragraph xml-lang="en-US" id="par_id3358867" role="paragraph" l10n="NEW">To change the width and height of a table, do one of the following:</paragraph>
107 <list type="unordered">
108 <listitem>
109 <paragraph xml-lang="en-US" id="par_id5366679" role="paragraph" l10n="NEW">Click inside the table. In the rulers, drag the border between the white and the gray area to resize the table.</paragraph>
110 </listitem>
111 <listitem>
112 <paragraph xml-lang="en-US" id="par_id1279030" role="paragraph" l10n="NEW">Click inside the table. Choose <item type="menuitem">Table - Table Properties</item> to open a dialog and set the properties to the numbers.</paragraph>
113 </listitem>
114 </list>
115 <paragraph xml-lang="en-US" id="par_id5009308" role="tip" l10n="NEW">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
116 </caseinline><defaultinline>Ctrl</defaultinline></switchinline>+A twice to select the whole table, then choose <emph>Insert - Frame</emph>.</paragraph>
117 <paragraph xml-lang="en-US" id="par_id4190496" role="note" l10n="NEW">Tables within HTML pages do not offer the full range of properties and commands as tables in OpenDocument format.</paragraph>
118 <embed href="text/shared/00/00000004.xhp#related"/>
119 <embed href="text/swriter/guide/tablemode.xhp#tablemode"/>
120 <embed href="text/swriter/guide/table_cells.xhp#table_cells"/>
121 <embed href="text/swriter/guide/table_cellmerge.xhp#table_cellmerge"/>
122 <embed href="text/swriter/guide/ruler.xhp#ruler"/>
123 </body>
124 </helpdocument>