summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorRafael Lima <rafael.palma.lima@gmail.com>2023-07-26 15:44:34 +0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2023-07-27 00:27:41 +0200
commitb2d15fb7c2a59e7ca7f2e53001df4f9defe4e7dd (patch)
treec0b7c0e3717816a62fee34866c4e1732e944000d /source
parent92e7259e70677f4aa6bdd6c43643b8dbbbc6e08d (diff)
tdf#149318 Fix HIDs in Format menu (Draw)
This patch fixes the missing HIDs of menu entries that have submenus in Draw's "Format" menu. The help pages of two missing entries are also created. Change-Id: Ia64c4a8a714a6eac51bace2718e464aaf7dc3103 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/154950 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source')
-rw-r--r--source/text/sdraw/main_format.xhp2
-rw-r--r--source/text/shared/01/05080000.xhp1
-rw-r--r--source/text/shared/menu/submenu_image.xhp141
-rw-r--r--source/text/shared/menu/submenu_lists.xhp133
4 files changed, 277 insertions, 0 deletions
diff --git a/source/text/sdraw/main_format.xhp b/source/text/sdraw/main_format.xhp
index 1f1ad3ada1..f9e4b4bc1f 100644
--- a/source/text/sdraw/main_format.xhp
+++ b/source/text/sdraw/main_format.xhp
@@ -33,6 +33,7 @@
</section>
<embed href="text/shared/menu/submenu_text.xhp#submenu_text"/>
<embed href="text/shared/menu/submenu_spacing.xhp#submenu_spacing"/>
+<embed href="text/shared/menu/submenu_lists.xhp#submenu_lists"/>
<embed href="text/shared/01/05010000.xhp#standard"/>
<h2 id="hd_id3155111"><link href="text/shared/01/05020000.xhp">Character</link></h2>
<embed href="text/shared/01/05020000.xhp#zeichentext"/>
@@ -41,6 +42,7 @@
<h2 id="hd_id3166426"><link href="text/shared/01/06050000.xhp">Bullets and Numbering</link></h2>
<embed href="text/shared/01/06050000.xhp#numauftext"/>
<h2 id="hd_id3146971"><link href="text/shared/01/05230000.xhp">Position and Size</link></h2>
+<embed href="text/shared/menu/submenu_image.xhp#submenu_image"/>
<embed href="text/shared/01/05230000.xhp#groessetext"/>
<h2 id="hd_id3148576"><link href="text/shared/01/05200000.xhp">Line</link></h2>
<embed href="text/shared/01/05200000.xhp#linietext"/>
diff --git a/source/text/shared/01/05080000.xhp b/source/text/shared/01/05080000.xhp
index be95d461b0..556be236e9 100644
--- a/source/text/shared/01/05080000.xhp
+++ b/source/text/shared/01/05080000.xhp
@@ -32,6 +32,7 @@
<bookmark_value>text; alignment</bookmark_value>
</bookmark>
<section id="alignment">
+<bookmark branch="hid/.uno:TextAlign" id="bm_id111690379022573" localize="false"/>
<h1 id="hd_id3152942"><link href="text/shared/01/05080000.xhp">Align Text</link></h1>
<paragraph role="paragraph" id="par_id3150278">Set the alignment options for the current text paragraph in its container.</paragraph>
</section>
diff --git a/source/text/shared/menu/submenu_image.xhp b/source/text/shared/menu/submenu_image.xhp
new file mode 100644
index 0000000000..d7b64cd9c1
--- /dev/null
+++ b/source/text/shared/menu/submenu_image.xhp
@@ -0,0 +1,141 @@
+<?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="textsharedsub_spacingxml" indexer="include">
+ <title id="tit">Image</title>
+ <filename>/text/shared/menu/submenu_image.xhp</filename>
+ </topic>
+ </meta>
+
+ <body>
+ <section id="submenu_image">
+ <bookmark branch="hid/.uno:FormatImageMenu" id="bm_id335519659183789" localize="false"/>
+ <h1 id="hd_id411816022675979">
+ <link href="text/shared/menu/submenu_image.xhp">Image</link>
+ </h1>
+ <paragraph role="paragraph" id="par_id398855439580084">
+ <ahelp hid=".">Opens a submenu where you can choose commands to manipulate images.</ahelp>
+ </paragraph>
+ </section>
+ <section id="howtoget">
+ <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+ <paragraph role="paragraph" id="par_id321690379868876">Choose <menuitem>Format - Image</menuitem></paragraph>
+ </section>
+
+ <embed href="text/shared/01/05030800.xhp#crop"/>
+ <table id="tab_id621643820768224">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id261643820768225" role="tablecontent">
+ <image src="cmd/lc_crop.svg" id="img_id901643820768226" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id831643820768227">Icon Crop</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id131643820768228" role="tablecontent">Crop</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <h2 id="hd_id471690383078695">Original Size</h2>
+ <paragraph role="paragraph" id="par_id711690383088371">Restores the original size of the selected image.</paragraph>
+
+ <h2 id="hd_id51690383145015">Edit with External Tool</h2>
+ <paragraph role="paragraph" id="par_id151690383160020">Opens the selected image with the default external tool used for editing images in your operating system.</paragraph>
+
+ <h2 id="hd_id581690383404168">Replace</h2>
+ <paragraph role="paragraph" id="par_id141690383414904">Opens the file picker to choose an image to replace the selected image.</paragraph>
+ <table id="tab_id621643820768224">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id261643820768386" role="tablecontent">
+ <image src="cmd/lc_changepicture.svg" id="img_id901643820768226" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id831643820768227">Icon Replace</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id131643820764341" role="tablecontent">Replace</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <h2 id="hd_id581690383404417">Compress</h2>
+ <paragraph role="paragraph" id="par_id14169038341355">Compresses the image to reduce the document file size.</paragraph>
+ <table id="tab_id621643820762744">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id261643820768522" role="tablecontent">
+ <image src="cmd/lc_compressgraphic.svg" id="img_id901643820768110" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id831643820768110">Icon Compress</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id131643820764995" role="tablecontent">Compress</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <h2 id="hd_id581690383404302">Save</h2>
+ <paragraph role="paragraph" id="par_id14169038341198">Compresses the image to reduce the document file size.</paragraph>
+ <table id="tab_id621643820762965">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id261643820768323" role="tablecontent">
+ <image src="cmd/lc_save.svg" id="img_id901643820768654" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id831643820768568">Icon Save</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id13164382076454" role="tablecontent">Save</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <h2 id="hd_id341690402790136"><link href="text/shared/02/24010000.xhp">Filter</link></h2>
+ <paragraph role="paragraph" id="par_id181690402800547">Opens a submenu with several filters that can be applied to the selected image.</paragraph>
+
+ <h2 id="hd_id58169038340331">Color</h2>
+ <paragraph role="paragraph" id="par_id14169038341646">Opens a dialog to adjust color components.</paragraph>
+ <table id="tab_id621643820762754">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id261643820762014" role="tablecontent">
+ <image src="cmd/lc_colorsettings.svg" id="img_id901643820760103" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id831643820768266">Icon Color</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id13164382076547" role="tablecontent">Color</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <h2 id="hd_id581690383404241">Crop Dialog</h2>
+ <paragraph role="paragraph" id="par_id14169038341505">Opens the <link href="text/shared/01/05030800.xhp">Crop</link> dialog with more options to crop the selected image.</paragraph>
+ <table id="tab_id621643820762911">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id261643820768252" role="tablecontent">
+ <image src="cmd/lc_grafattrcrop.svg" id="img_id901643820768969" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id831643820768969">Icon Crop Dialog</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id13164382073342" role="tablecontent">Crop Dialog</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ </body>
+</helpdocument>
diff --git a/source/text/shared/menu/submenu_lists.xhp b/source/text/shared/menu/submenu_lists.xhp
new file mode 100644
index 0000000000..07e8753556
--- /dev/null
+++ b/source/text/shared/menu/submenu_lists.xhp
@@ -0,0 +1,133 @@
+<?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="textsharedsub_spacingxml" indexer="include">
+ <title id="tit">Lists</title>
+ <filename>/text/shared/menu/submenu_lists.xhp</filename>
+ </topic>
+ </meta>
+
+ <body>
+ <section id="submenu_lists">
+ <bookmark branch="hid/.uno:FormatBulletsMenu" id="bm_id335519659183789" localize="false"/>
+ <h1 id="hd_id411816022675979">
+ <link href="text/shared/menu/submenu_lists.xhp">Lists</link>
+ </h1>
+ <paragraph role="paragraph" id="par_id398855439580084">
+ <ahelp hid=".">Opens a submenu where you can choose commands to create lists.</ahelp>
+ </paragraph>
+ </section>
+ <section id="howtoget">
+ <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+ <paragraph role="paragraph" id="par_id321690379868876">Choose <menuitem>Format - Lists</menuitem></paragraph>
+ </section>
+
+ <h2 id="hd_id3147573">Unordered List</h2>
+ <paragraph role="paragraph" id="par_id261643820748505">Creates an unordered list from selection.</paragraph>
+ <table id="tab_id621643820768224">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id261643820768225" role="tablecontent">
+ <image src="cmd/lc_defaultbullet.svg" id="img_id901643820768226" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id831643820768227">Icon Unordered List</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id131643820768228" role="tablecontent">Unordered List</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <h2 id="hd_id3147528">Ordered List</h2>
+ <paragraph role="paragraph" id="par_id261643820736974">Creates an ordered list from selection.</paragraph>
+ <table id="tab_id621643820768147">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id261643820768478" role="tablecontent">
+ <image src="cmd/lc_defaultnumbering.svg" id="img_id901643820768458" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id901643820768458">Icon Ordered List</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id131690380480231" role="tablecontent">Ordered List</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <h2 id="hd_id3147404">Demote</h2>
+ <paragraph role="paragraph" id="par_id261643820735428">Demotes selected items in a list, moving them one level down in the list.</paragraph>
+ <table id="tab_id621643820768317">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id261643820768002" role="tablecontent">
+ <image src="cmd/lc_decrementlevel.svg" id="img_id901643820760487" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id901643820760487">Icon Demote</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id131690380489457" role="tablecontent">Demote</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <h2 id="hd_id3145746">Promote</h2>
+ <paragraph role="paragraph" id="par_id261643820735017">Promotes selected items in a list, moving them one level up in the list.</paragraph>
+ <table id="tab_id621643820768985">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id261643820766332" role="tablecontent">
+ <image src="cmd/lc_incrementlevel.svg" id="img_id901643820763230" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id901643820763230">Icon Promote</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id131690380480985" role="tablecontent">Promote</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <h2 id="hd_id3145554">Move Down</h2>
+ <paragraph role="paragraph" id="par_id261643820731478">Moves the selected items one position down in the list.</paragraph>
+ <table id="tab_id621643820768032">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id261643820765107" role="tablecontent">
+ <image src="cmd/lc_movedown.svg" id="img_id901643820767650" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id901643820763478">Icon Move Down</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id131690380484128" role="tablecontent">Move Down</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <h2 id="hd_id3145862">Move Up</h2>
+ <paragraph role="paragraph" id="par_id261643820731052">Moves the selected items one position up in the list.</paragraph>
+ <table id="tab_id621643820768354">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id261643820765745" role="tablecontent">
+ <image src="cmd/lc_moveup.svg" id="img_id901643820763320" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id9016438207636448">Icon Move Up</alt></image>
+ </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id131690380484208" role="tablecontent">Move Up</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ </body>
+</helpdocument>