From b2d15fb7c2a59e7ca7f2e53001df4f9defe4e7dd Mon Sep 17 00:00:00 2001 From: Rafael Lima Date: Wed, 26 Jul 2023 15:44:34 +0200 Subject: [PATCH] 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 --- AllLangHelp_shared.mk | 2 + source/text/sdraw/main_format.xhp | 2 + source/text/shared/01/05080000.xhp | 1 + source/text/shared/menu/submenu_image.xhp | 141 ++++++++++++++++++++++ source/text/shared/menu/submenu_lists.xhp | 133 ++++++++++++++++++++ 5 files changed, 279 insertions(+) create mode 100644 source/text/shared/menu/submenu_image.xhp create mode 100644 source/text/shared/menu/submenu_lists.xhp diff --git a/AllLangHelp_shared.mk b/AllLangHelp_shared.mk index fc350cd68a..74320659ca 100644 --- a/AllLangHelp_shared.mk +++ b/AllLangHelp_shared.mk @@ -799,6 +799,8 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\ helpcontent2/source/text/shared/menu/insert_shape \ helpcontent2/source/text/shared/menu/save_image \ helpcontent2/source/text/shared/menu/set_image_background \ + helpcontent2/source/text/shared/menu/submenu_image \ + helpcontent2/source/text/shared/menu/submenu_lists \ helpcontent2/source/text/shared/menu/submenu_spacing \ helpcontent2/source/text/shared/menu/submenu_text \ helpcontent2/source/text/shared/need_help \ 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 @@ +

Character

@@ -41,6 +42,7 @@

Bullets and Numbering

Position and Size

+

Line

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 @@ text; alignment
+

Align Text

Set the alignment options for the current text paragraph in its container.
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 @@ + + + + + + Image + /text/shared/menu/submenu_image.xhp + + + + + +
+ + Choose Format - Image +
+ + + + + + + Icon Crop + + + + Crop + + +
+ +

Original Size

+ Restores the original size of the selected image. + +

Edit with External Tool

+ Opens the selected image with the default external tool used for editing images in your operating system. + +

Replace

+ Opens the file picker to choose an image to replace the selected image. + + + + + Icon Replace + + + + Replace + + +
+ +

Compress

+ Compresses the image to reduce the document file size. + + + + + Icon Compress + + + + Compress + + +
+ +

Save

+ Compresses the image to reduce the document file size. + + + + + Icon Save + + + + Save + + +
+ +

Filter

+ Opens a submenu with several filters that can be applied to the selected image. + +

Color

+ Opens a dialog to adjust color components. + + + + + Icon Color + + + + Color + + +
+ +

Crop Dialog

+ Opens the Crop dialog with more options to crop the selected image. + + + + + Icon Crop Dialog + + + + Crop Dialog + + +
+ + +
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 @@ + + + + + + Lists + /text/shared/menu/submenu_lists.xhp + + + + + +
+ + Choose Format - Lists +
+ +

Unordered List

+ Creates an unordered list from selection. + + + + + Icon Unordered List + + + + Unordered List + + +
+ +

Ordered List

+ Creates an ordered list from selection. + + + + + Icon Ordered List + + + + Ordered List + + +
+ +

Demote

+ Demotes selected items in a list, moving them one level down in the list. + + + + + Icon Demote + + + + Demote + + +
+ +

Promote

+ Promotes selected items in a list, moving them one level up in the list. + + + + + Icon Promote + + + + Promote + + +
+ +

Move Down

+ Moves the selected items one position down in the list. + + + + + Icon Move Down + + + + Move Down + + +
+ +

Move Up

+ Moves the selected items one position up in the list. + + + + + Icon Move Up + + + + Move Up + + +
+ + +