98 lines
7.7 KiB
XML
98 lines
7.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><helpdocument version="1.0">
|
|
<!--
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* This file incorporates work covered by the following license notice:
|
|
*
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
* with this work for additional information regarding copyright
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
-->
|
|
|
|
<meta>
|
|
<topic id="textswriterguidetable_sizingxml" indexer="include">
|
|
<title xml-lang="en-US" id="tit">Resizing Rows and Columns in a Text Table </title>
|
|
<filename>/text/swriter/guide/table_sizing.xhp</filename>
|
|
</topic>
|
|
</meta>
|
|
<body>
|
|
<bookmark xml-lang="en-US" branch="index" id="bm_id3156108">
|
|
<bookmark_value>cells; enlarging and reducing in text tables</bookmark_value>
|
|
<bookmark_value>table cells; enlarging/reducing in text</bookmark_value>
|
|
<bookmark_value>keyboard; resizing rows/columns</bookmark_value>
|
|
<bookmark_value>resizing;rows and columns in text tables</bookmark_value>
|
|
<bookmark_value>enlarging columns,cells and table rows</bookmark_value>
|
|
<bookmark_value>reducing rows and columns in text tables</bookmark_value>
|
|
<bookmark_value>tables; resizing/juxtaposing</bookmark_value>
|
|
<bookmark_value>juxtaposing tables</bookmark_value>
|
|
<bookmark_value>heights of table rows</bookmark_value>
|
|
<bookmark_value>widths of table columns</bookmark_value>
|
|
<bookmark_value>rows;resizing in tables</bookmark_value>
|
|
<bookmark_value>columns;resizing in tables</bookmark_value>
|
|
<bookmark_value>column widths in tables</bookmark_value>
|
|
</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>
|
|
<h1 id="hd_id3156108" xml-lang="en-US"><variable id="table_sizing"><link href="text/swriter/guide/table_sizing.xhp">Resizing Rows and Columns in a Text Table</link></variable></h1>
|
|
<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>
|
|
<table id="tbl_id3149640">
|
|
<tablerow>
|
|
<tablecell>
|
|
<paragraph id="par_id3149615" role="paragraph" xml-lang="en-US">
|
|
<image id="img_id3149622" src="cmd/sc_optimizetable.png" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id3149622">Icon</alt></image></paragraph>
|
|
</tablecell>
|
|
<tablecell>
|
|
<paragraph id="par_id3146497" role="paragraph" xml-lang="en-US">You can also distribute rows and columns evenly using the icons on the <link href="text/shared/02/04210000.xhp"><menuitem>Optimize Size</menuitem></link> toolbar on the <link href="text/swriter/main0204.xhp"><menuitem>Table</menuitem></link> Bar.</paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
</table>
|
|
|
|
<h2 id="hd_id3145109" xml-lang="en-US">Changing the Width of Columns and Cells</h2>
|
|
<h3 id="hd_id3149574" xml-lang="en-US">To Change the Width of a Column</h3>
|
|
<paragraph id="par_id3149587" role="paragraph" xml-lang="en-US">Do one of the following:</paragraph>
|
|
<list type="unordered">
|
|
<listitem>
|
|
<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>
|
|
</listitem>
|
|
<listitem>
|
|
<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>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph id="par_id0918200811260957" role="listitem" xml-lang="en-US">Hold down <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> and then click and drag a line to scale all cells right or above the line proportionally.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<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</caseinline><defaultinline>Alt</defaultinline></switchinline> key, and then press the left or the right arrow key.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<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</caseinline><defaultinline>Alt</defaultinline></switchinline>+Shift, and then press the right arrow key.</paragraph>
|
|
</listitem></list>
|
|
<note id="par_id3155891" 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></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME Writer - Table</emph>, and selecting the options that you want in the <emph>Keyboard handling</emph> area.</note>
|
|
<h3 id="hd_id3149993" xml-lang="en-US">To Change the Width of a Cell</h3>
|
|
<paragraph id="par_id3148676" role="listitem" xml-lang="en-US">Hold down <switchinline select="sys"><caseinline select="MAC">Option+Command</caseinline><defaultinline>Alt+Ctrl</defaultinline></switchinline>, and then press the left or the right arrow key</paragraph>
|
|
<h2 id="hd_id3153014" xml-lang="en-US">Changing the Height of a Row</h2>
|
|
<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</caseinline><defaultinline>Alt</defaultinline></switchinline> key, and then press the up or the down arrow key.</paragraph>
|
|
<h2 id="hd_id8478041" xml-lang="en-US">Resizing a Whole Table</h2>
|
|
<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>
|
|
<list type="unordered">
|
|
<listitem>
|
|
<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>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph id="par_id1279030" role="paragraph" xml-lang="en-US">Click inside the table. Choose <item type="menuitem">Table - Properties</item> to open a dialog and set the properties to the numbers.</paragraph>
|
|
</listitem></list>
|
|
<tip id="par_id5009308" 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</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+A twice to select the whole table, then choose <emph>Insert - Frame</emph>.</tip>
|
|
<note id="par_id4190496" xml-lang="en-US">Tables within HTML pages do not offer the full range of properties and commands as tables in OpenDocument format.</note>
|
|
<section id="relatedtopics">
|
|
<embed href="text/swriter/guide/tablemode.xhp#tablemode"/>
|
|
<embed href="text/swriter/guide/table_cellmerge.xhp#table_cellmerge"/>
|
|
<embed href="text/swriter/guide/ruler.xhp#ruler"/>
|
|
<embed href="text/shared/02/04210000.xhp#optimizeh1"/>
|
|
</section>
|
|
</body>
|
|
</helpdocument>
|