blob: c7eee23e2b75869b0a4852f0132d212f66c2a7f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
<?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">Minimal Column Width</title>
<filename>/text/shared/01/minimal_column_width.xhp</filename>
</topic>
</meta>
<body>
<section id="minimal_column_width">
<bookmark 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">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_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_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">
<paragraph role="paragraph" id="par_id681693927087020" localize="false"><embedvar href="text/swriter/01/TableAutoFitMenu.xhp#h1" markup="ignore"/></paragraph>
<embed href="text/swriter/guide/table_sizing.xhp#table_sizing"/>
</case>
</switch>
</section>
</body>
</helpdocument>
|