summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2022-06-18 13:34:52 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2022-06-20 15:41:34 +0200
commit5688744142df9c9059b84e4ce8a092d60dcae9f9 (patch)
tree55ebc3de15e85203b66fe002c0dff6fafbf93610
parentb190949bdc9482030154e4db6de1ffbd4215942c (diff)
tdf#149318 (part) refactor row/cell table optimization
Change-Id: I8f88def2a5f1b14abf271d6bb950062214d6b193 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136090 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--source/text/shared/01/05110600m.xhp6
-rw-r--r--source/text/shared/01/05120600.xhp12
-rw-r--r--source/text/shared/02/04210000.xhp9
-rw-r--r--source/text/swriter/00/00000405.xhp5
-rw-r--r--source/text/swriter/01/05110200.xhp10
-rw-r--r--source/text/swriter/01/05120200.xhp5
6 files changed, 18 insertions, 29 deletions
diff --git a/source/text/shared/01/05110600m.xhp b/source/text/shared/01/05110600m.xhp
index 2442175675..fbc9a731c5 100644
--- a/source/text/shared/01/05110600m.xhp
+++ b/source/text/shared/01/05110600m.xhp
@@ -33,7 +33,7 @@
<bookmark_value>table rows;distribute height equally</bookmark_value>
<bookmark_value>row height;distribute equally</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3149871" xml-lang="en-US" level="1"><link href="text/shared/01/05110600m.xhp" name="Distribute Equally">Distribute Rows Evenly</link></paragraph>
+<h1 id="hd_id3149871"><link href="text/shared/01/05110600m.xhp" name="Distribute Evenly">Distribute Rows Evenly</link></h1>
<paragraph role="paragraph" id="par_id3154766" xml-lang="en-US"><variable id="verteilentext"><ahelp hid=".uno:DistributeRows">Adjusts the height of the selected rows to match the height of the tallest row in the selection.</ahelp>
</variable></paragraph>
</section>
@@ -50,15 +50,13 @@
<tablerow>
<tablecell>
<paragraph role="paragraph" id="par_id3145297" xml-lang="en-US">
-<image id="img_id3155994" src="cmd/sc_distributerows.png" width="0.423cm" height="0.423cm"><alt id="alt_id3155994" xml-lang="en-US">Icon</alt>
- </image></paragraph>
+<image id="img_id3155994" src="cmd/lc_distributerows.svg" width="1cm" height="1cm"><alt id="alt_id3155994" xml-lang="en-US">Icon Distribute Rows Evenly</alt></image></paragraph>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_id3153206" xml-lang="en-US">Distribute Rows Evenly</paragraph>
</tablecell>
</tablerow>
</table>
-
</section>
</section>
</body>
diff --git a/source/text/shared/01/05120600.xhp b/source/text/shared/01/05120600.xhp
index cba0182966..0fc65b4f04 100644
--- a/source/text/shared/01/05120600.xhp
+++ b/source/text/shared/01/05120600.xhp
@@ -22,7 +22,7 @@
<meta>
<topic id="textshared0105120600xhp" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Distribute Columns Equally</title>
+<title id="tit" xml-lang="en-US">Distribute Columns Evenly</title>
<filename>/text/shared/01/05120600.xhp</filename>
</topic>
</meta>
@@ -33,14 +33,14 @@
<bookmark_value>table columns;distribute columns equally</bookmark_value>
<bookmark_value>column width;distribute equally</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3153811" xml-lang="en-US" level="1"><link href="text/shared/01/05120600.xhp" name="Distribute Equally">Distribute Columns Equally</link></paragraph>
+<h1 id="hd_id3153811"><link href="text/shared/01/05120600.xhp" name="Distribute Eveny">Distribute Columns Evenly</link></h1>
<paragraph role="paragraph" id="par_id3151389" xml-lang="en-US"><variable id="verteilentext"><ahelp hid=".uno:DistributeColumns">Adjusts the width of the selected columns to match the width of the widest column in the selection.</ahelp> The total width of the table cannot exceed the width of the page.
</variable></paragraph>
</section>
<section id="howtoget">
<switch select="appl">
<case select="WRITER">
-<paragraph role="paragraph" id="par_id3159219" xml-lang="en-US">Choose <emph>Table - Size - Distribute Columns Equally</emph>
+<paragraph role="paragraph" id="par_id3159219" xml-lang="en-US">Choose <emph>Table - Size - Distribute Columns Evenly</emph>
</paragraph>
</case>
</switch>
@@ -50,15 +50,13 @@
<tablerow>
<tablecell>
<paragraph role="paragraph" id="par_id3145179" xml-lang="en-US">
-<image id="img_id3145186" src="cmd/sc_distributecolumns.png" width="0.423cm" height="0.423cm"><alt id="alt_id3145186" xml-lang="en-US">Icon</alt>
- </image></paragraph>
+<image id="img_id3145186" src="cmd/sc_distributecolumns.svg" width="1cm" height="1cm"><alt id="alt_id3145186" xml-lang="en-US">Icon Distribute Columns Evenly</alt></image></paragraph>
</tablecell>
<tablecell>
-<paragraph role="paragraph" id="par_id3151364" xml-lang="en-US">Distribute Columns Equally</paragraph>
+<paragraph role="paragraph" id="par_id3151364" xml-lang="en-US">Distribute Columns Evenly</paragraph>
</tablecell>
</tablerow>
</table>
-
</section>
</section>
</body>
diff --git a/source/text/shared/02/04210000.xhp b/source/text/shared/02/04210000.xhp
index 33f6771fc8..2d0ec16542 100644
--- a/source/text/shared/02/04210000.xhp
+++ b/source/text/shared/02/04210000.xhp
@@ -27,14 +27,15 @@
<body>
<section id="optimize">
<bookmark xml-lang="en-US" branch="hid/.uno:OptimizeTable" id="bm_id6810577" localize="false"/>
-<paragraph role="heading" id="hd_id3151185" xml-lang="en-US" level="1"><link href="text/shared/02/04210000.xhp" name="Optimize Size">Optimize Size</link></paragraph>
+
+<h1 id="hd_id3151185"><link href="text/shared/02/04210000.xhp" name="Optimize Size">Optimize Size</link></h1>
<paragraph role="paragraph" id="par_id3145412" xml-lang="en-US"><ahelp hid=".uno:OptimizeTable">Opens a toolbar that contains functions for optimizing the rows and columns in a table.</ahelp></paragraph>
</section>
<section id="syoptimize">
<table id="tbl_id3145760">
<tablerow>
<tablecell>
- <paragraph role="paragraph" id="par_id3155899" xml-lang="en-US"><image id="img_id3149684" src="cmd/sc_optimizetable.png" width="0.423cm" height="0.423cm"><alt id="alt_id3149684" xml-lang="en-US">Icon</alt></image></paragraph>
+ <paragraph role="paragraph" id="par_id3155899" xml-lang="en-US"><image id="img_id3149684" src="cmd/lc_optimizetable.svg" width="1cm" height="1cm"><alt id="alt_id3149684" xml-lang="en-US">Icon Optimize Size</alt></image></paragraph>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_id3143270" xml-lang="en-US">Optimize Size</paragraph>
@@ -49,10 +50,10 @@
<embed href="text/shared/01/05110600m.xhp#sydistribute_rows_equally"/>
<switch select="appl">
<case select="WRITER">
-<paragraph role="heading" id="hd_id3153631" xml-lang="en-US" level="2"><link href="text/swriter/01/05110200.xhp" name="Optimal Height">Optimal Height</link></paragraph>
+<h2 id="hd_id3153631"><link href="text/swriter/01/05110200.xhp" name="Optimal Height">Optimal Height</link></h2>
<embed href="text/swriter/01/05110200.xhp#zeilenhoehetext"/>
<embed href="text/swriter/00/00000405.xhp#syoptimal_row_height"/>
-<paragraph role="heading" id="hd_id3145772" xml-lang="en-US" level="2"><link href="text/swriter/01/05120200.xhp" name="Optimal Column Width">Optimal Column Width</link></paragraph>
+<h2 id="hd_id3145772"><link href="text/swriter/01/05120200.xhp" name="Optimal Column Width">Optimal Column Width</link></h2>
<embed href="text/swriter/01/05120200.xhp#spaltenbreitetext"/>
<embed href="text/swriter/00/00000405.xhp#syoptimal_column_width"/>
</case>
diff --git a/source/text/swriter/00/00000405.xhp b/source/text/swriter/00/00000405.xhp
index 67f47711c0..5ed9cc14b1 100644
--- a/source/text/swriter/00/00000405.xhp
+++ b/source/text/swriter/00/00000405.xhp
@@ -217,14 +217,13 @@
<table id="tbl_id3150845">
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3145222" role="paragraph"><image id="img_id3145228" src="cmd/sc_setoptimalrowheight.png" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id3145228">Icon Optimal Row Height</alt></image></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3145222" role="paragraph"><image id="img_id3145228" src="cmd/lc_setoptimalrowheight.svg" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id3145228">Icon Optimal Row Height</alt></image></paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3153545" role="paragraph">Optimal Row Height</paragraph>
</tablecell>
</tablerow>
</table>
-
</section>
</section>
<section id="distribute_rows_equally">
@@ -271,7 +270,7 @@
<table id="tbl_id3156030">
<tablerow>
<tablecell>
- <paragraph xml-lang="en-US" id="par_id3157881" role="paragraph"><image id="img_id3157888" src="cmd/sc_setoptimalcolumnwidthdirect.png" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id3157888">Icon Optimal Column Width</alt></image></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3157881" role="paragraph"><image id="img_id3157888" src="cmd/lc_setoptimalcolumnwidth.svg" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id3157888">Icon Optimal Column Width</alt></image></paragraph>
</tablecell>
<tablecell>
<paragraph xml-lang="en-US" id="par_id3150524" role="paragraph">Optimal Column Width</paragraph>
diff --git a/source/text/swriter/01/05110200.xhp b/source/text/swriter/01/05110200.xhp
index da7745128d..c8405371e6 100644
--- a/source/text/swriter/01/05110200.xhp
+++ b/source/text/swriter/01/05110200.xhp
@@ -1,6 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-
-
<!--
* This file is part of the LibreOffice project.
*
@@ -29,15 +27,13 @@
</history>
</meta>
<body>
-
-
-
+
<bookmark branch="hid/.uno:SetOptimalRowHeight" xml-lang="en-US" id="bm_id3153728" localize="false"/>
-<paragraph role="heading" level="1" id="hd_id3150010" xml-lang="en-US">Optimal Height</paragraph>
+<h1 id="hd_id3150010">Optimal Height</h1>
<paragraph role="paragraph" id="par_id3147436" xml-lang="en-US"><variable id="zeilenhoehetext"><ahelp hid=".uno:SetOptimalRowHeight" visibility="visible">Automatically adjusts row heights to match the contents of the cells.</ahelp> This is the default setting for new tables.</variable></paragraph>
<section id="howtoget">
<embed href="text/swriter/00/00000405.xhp#optimal_row_height"/>
</section>
- <paragraph role="note" id="par_id3154765" xml-lang="en-US">This option is only available if the table contains a row with a fixed height.</paragraph>
+ <note id="par_id3154765">This option is only available if the table contains a row with a fixed height.</note>
</body>
</helpdocument>
diff --git a/source/text/swriter/01/05120200.xhp b/source/text/swriter/01/05120200.xhp
index 47b2b784a8..e2dbb23dc8 100644
--- a/source/text/swriter/01/05120200.xhp
+++ b/source/text/swriter/01/05120200.xhp
@@ -1,6 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-
-
<!--
* This file is part of the LibreOffice project.
*
@@ -18,7 +16,6 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
-
<helpdocument version="1.0">
<meta>
<topic id="textswriter0105120200xml" indexer="include" status="PUBLISH">
@@ -31,7 +28,7 @@
</meta>
<body>
<bookmark xml-lang="en-US" branch="hid/.uno:SetOptimalColumnWidth" id="bm_id8687648" localize="false"/>
-<paragraph role="heading" id="hd_id3149500" xml-lang="en-US" level="1">Optimal Width</paragraph>
+<h1 id="hd_id3149500">Optimal Width</h1>
<paragraph role="paragraph" id="par_id3149050" xml-lang="en-US"><variable id="spaltenbreitetext"><ahelp hid=".uno:SetOptimalColumnWidth">Automatically adjusts column widths to match the contents of the cells.</ahelp> Changing the width of a column does not affect the width of the other columns in the table. The width of the table cannot exceed the page width.
</variable></paragraph>
<paragraph role="paragraph" id="par_id5611743" xml-lang="en-US">The change affects only selected cells. You can adjust multiple cells next to each other if you select the cells together.</paragraph>