<?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="textswriterguidetablemodexml" indexer="include" status="PUBLISH">
         <title xml-lang="en-US" id="tit">Modifying Rows and Columns by Keyboard</title>
         <filename>/text/swriter/guide/tablemode.xhp</filename>
      </topic>
   </meta>
   <body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3155856"><bookmark_value>table mode selection</bookmark_value>
<bookmark_value>proportional distribution of tables</bookmark_value>
<bookmark_value>relative distribution of table cells</bookmark_value>
<bookmark_value>tables; adapting the width by keyboard</bookmark_value>
<bookmark_value>cells; adapting the width by keyboard</bookmark_value>
<bookmark_value>keyboard;modifying the behavior of rows/columns</bookmark_value>
<bookmark_value>behavior of rows/columns</bookmark_value>
</bookmark>
<h1 id="hd_id3155856"><variable id="tablemode"><link href="text/swriter/guide/tablemode.xhp">Modifying Rows and Columns by Keyboard</link></variable></h1>
      <paragraph xml-lang="en-US" id="par_id3149835" role="paragraph">When you insert or delete cells, rows or columns in a table, the <item type="menuitem">Behavior of rows/columns</item> options determine how the neighboring elements are affected. For example, you can only insert new rows and columns into a table with fixed row and column dimensions if space permits.</paragraph>
      <paragraph xml-lang="en-US" id="par_id7344279" role="note">Note that these properties are valid only for changes to the column width that are made using the keyboard. Using the mouse, you are free to make any column width changes.<comment>UFI: fixes bugtraq 4971582</comment></paragraph>
      <paragraph xml-lang="en-US" id="par_id3156110" role="paragraph">To set the <item type="menuitem">Behavior of rows/columns</item> options for tables in text documents, choose <switchinline select="sys"><caseinline select="MAC"><item type="menuitem">%PRODUCTNAME - Preferences</item></caseinline><defaultinline><item type="menuitem">Tools - Options</item></defaultinline></switchinline><item type="menuitem"> - %PRODUCTNAME Writer - Table</item>. There are three display modes for tables:</paragraph>
      <list type="unordered">
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3149638" role="listitem"><emph>Fixed</emph> - changes only affect the adjacent cell, and not the entire table. For example, when you widen a cell, the adjacent cell becomes narrower, but the width of the table remains constant.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3149613" role="listitem"><emph>Fixed, proportional</emph> - changes affect the entire table, and wide cells shrink more than narrow cells. For example, when you widen a cell, the adjacent cells become proportionally narrower, but the width of the table remains constant.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3149864" role="listitem"><emph>Variable</emph> - changes affect the table size. For example, when you widen a cell, the width of the table increases.</paragraph>
         </listitem>
      </list>

      <section id="relatedtopics">
         <embed href="text/swriter/guide/table_sizing.xhp#table_sizing"/>
         <embed href="text/swriter/guide/table_cellmerge.xhp#table_cellmerge"/>
      </section>
   </body>
</helpdocument>
