Files
help/source/text/shared/01/minimal_column_width.xhp
Seth Chaiklin b6a8105c3c tdf#120550,tdf#121367 update row and column resizing in tables
This patch is a general review and update of commands to
  optimize the size of tables in Writer, Draw, and Impress.
  Thanks to Justin Luth for essential help in making accurate
  descriptions of these commands. It also started to improve
  the maintenance by moving the access commands and icon tables
  from diverse places to a shared/00 folder, introducing variables
  and sections that would allow reusing relevant sequences.

 shared/02/04210000.xhp  (Optimize Size menu)
  * add two missing controls as embeds from swriter/main0110.xhp
  * add icon tables for the two controls
  * correction to control name
  * modify switch to include Draw and Impress
  * put controls in same order as dropdown menu
  + add variable to h1, so page can be embedded in related topics
  * update to renamed ids
  * change image size to 1cm
  * refactor to <h1>,<h2>

 shared/00/00040500.xhp
   + add <section> to "Open Optimize Size..." (i.e., for opening
     dropdown menu in Table bar), so it can be embedded into each
     page for the individual controls.
   * use access controls from swriter/00/00000405.xhp, plus add
     appl-switch
   * update access for Table menu

  swriter/00/00000405.xhp  (Access commands for Size)
   * move all relevant access commands to shared/00/00040500.xhp

 swriter/01/05110000.xhp (Row)
  * correction to two command names
  * update to renamed id
  * refactor to <h1>,<h2>

 swriter/01/05120200.xhp (Optimal Column Width)
  * update command name
  + add <relatedtopics> with two links
  * rename German id
  * refactor to <h1>

 swriter/01/05110200.xhp (Optimal Row Height)
  * update command name
  * rename German id
  + add <relatedtopics> with two links
  * refactor to <h1>,<note>

 shared/01/05120600.xhp  (Distribute Columns Equally)
  * corrections to description of the command operation
  + additional information about how to select
  + add "right-click" instructions to "howtoget"
  + add link to "Optimize Size" menu and "Table" bar
  + add <relatedtopics> with two links
  * rename German id
  * refactor to <h1>, changed paragraphs to <menuitem>
  * image size to 1cm

 shared/01/05110600m.xhp  (Distribute Rows Equally)
  + add link to "Optimize Size" menu
  + add <relatedtopics> with two links
  * rename German id
  * refactor to <h1>, changed paragraphs to <menuitem>
  * image size to 1cm

 swriter/main0110.xhp  (Table menu page)
  * update renamed ids
  + add sections to text in Minimal Row Height
    and Minimal Column Width, so that they
    can be embedded into "Optimize Size"
    menu page.

 swriter/guide/table_sizing.xhp
  + add links to "Optimize Size" and "Table" bar in text.
  + add "Optimize Size" to Related Topics
  * refactor to <note>,<tip>,<relatedtopics>

Change-Id: I9b84ccb2cd4d9b4e221f82ee4654e95553f3d188
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/135002
Tested-by: Jenkins
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-06-29 14:46:05 +02:00

67 lines
4.0 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 https://mozilla.org/MPL/2.0/.
*
-->
<meta>
<topic id="shared01minimalcolumnwidth" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Minimal Column Width</title>
<filename>/text/shared/01/minimal_column_width.xhp</filename>
</topic>
</meta>
<body>
<section id="minimal_column_width">
<bookmark xml-lang="en-US" branch="hid/.uno:SetMinimalColumnWidth" id="bm_id171654218330763" localize="false"/>
<h1 id="hd_id421654218230011"><variable id="minimalcolh1"><link href="text/shared/01/minimal_column_width.xhp" name="Minimal Column Width">Minimal Column Width</link></variable></h1>
<section id="minimal_column_width_text">
<switch select="appl">
<case select="WRITER">
<paragraph role="paragraph" id="par_id581605991965966">Adjust the column width for selected cells so that the longest paragraph in each cell can be on a single line.</paragraph>
</case>
<case select="CALC"><comment>Not in CALC</comment>
</case>
<default>
<paragraph role="paragraph" id="par_id801654217365035">Adjust the column width for the selected columns so that the longest paragraph in each column can fit exactly on a single line, without increasing the table width.</paragraph>
</default>
</switch>
</section>
</section>
<section id="howtoget">
<embed href="text/shared/00/00040500.xhp#minimal_column_width"/>
</section>
<switch select="appl">
<case select="WRITER">
<paragraph role="paragraph" id="par_id501655941966365"><menuitem>Minimal Column Width</menuitem> seeks to find a column width that allows each paragraph in the selected cells to <emph>fit exactly</emph> as a single line in the cell. This means that column widths are adjusted in relation to the length of the longest paragraph in each of the selected cells. The final result depends on which cells are selected.</paragraph>
<note id="par_id741655770095042">Column width includes space for any horizontal cell padding, paragraph padding, and paragraph indents.</note>
<paragraph role="paragraph" id="par_id291655943042163">If the table width is less than the page width, then under some circumstances the width of the table may be increased in an attempt to fit a cell paragraph onto a single line. Otherwise the command can be useful for reducing the width of tables.</paragraph>
<section id="fit_single_column">
<tip id="par_id421655893243524">Select a single cell to adjust the entire column width to fit the content of that cell.</tip>
</section>
</case>
<case select="CALC"><comment>Not in CALC</comment>
</case>
<default>
<paragraph role="paragraph" id="par_id201655811553407"><menuitem>Minimal Column Width</menuitem> seeks to find a column width that allows each paragraph in the selected column(s) to fit exactly on a single line. This means that column widths are adjusted in relation to the length of the longest paragraph in each of the selected columns. The final result depends on the paragraph length in the selected columns.</paragraph>
<paragraph role="paragraph" id="par_id721655811560679"></paragraph>
<paragraph role="paragraph" id="par_id971654218805882">To minimize a single column, it is sufficient to place the cursor in a cell in the column to be minimized. To minimize multiple columns, it is sufficient to select one cell from each column to be minimized.</paragraph>
<paragraph role="paragraph" id="par_id1001654218953554"></paragraph>
<paragraph role="paragraph" id="par_id91656110781159">The command can be useful for reducing the width of tables.</paragraph>
</default>
</switch>
<section id="relatedtopics">
<embed href="text/shared/02/04210000.xhp#optimizeh1"/>
<switch select="appl">
<case select="WRITER">
<embed href="text/swriter/guide/table_sizing.xhp#table_sizing"/>
</case>
</switch>
</section>
</body>
</helpdocument>