diff options
author | Dione Maddern <dionemaddern@gmail.com> | 2024-05-28 20:33:18 +0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2024-05-29 17:19:46 +0200 |
commit | b9cb0eb716e2d003ed4b5c2481d335c2eff180eb (patch) | |
tree | 0a27f5bb879e0029324e0cc12c94130fe317e627 /source | |
parent | a61cdc9fb845956ccec780550684b3bcf01e4194 (diff) |
Add missing content to help page for Shapes menu in Draw
In AllLangHelp_sdraw.mk
- Add new entries for
- text/sdraw/01/equalize_height.xhp
- text/sdraw/01/equalize_width.xhp
Create new page text/sdraw/01/equalize_height.xhp for Equalize Height menu option
Create new page text/sdraw/01/equalize_width.xhp for Equalize Width menu option
In source/text/sdraw/01/consolidatetext.xhp
- Change H1 from "Text Box Consolidation" to "Consolidate Text" to reflect the current menu option.
In source/text/sdraw/main_shape.xhp
- Added a HID bookmart so that F1 will open the correct help page for the Shape menu
- Added embed links to content describing the options listed in the Shape menu
In text/shared/02/01140000.xhp
- Added section tags for each function described so that content can be easily embedded in other help pages.
In text/shared/02/05090000.xhp
- Added variable tags so the page can easily be linked from other help pages
In text/shared/02/05110000.xhp
- Added variable tags so the page can easily be linked from other help pages
In text/shared/menu/insert_shape.xhp
- Added appliction switch tags to display a different H1 for Draw
- Added application switch tags and additional menu options for Draw
In text/simpress/01/02150000.xhp
- Added section, variable and link tags to allow the page to easily be linked from other pages
In text/simpress/02/10120000.xhp
- Added section, variable and link tags to allow the page to easily be linked from other pages
Change-Id: I35f3cf6b8948527a333979606b871bd45c87761d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/168069
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source')
-rw-r--r-- | source/text/sdraw/01/consolidatetext.xhp | 2 | ||||
-rw-r--r-- | source/text/sdraw/01/equalize_height.xhp | 48 | ||||
-rw-r--r-- | source/text/sdraw/01/equalize_width.xhp | 46 | ||||
-rw-r--r-- | source/text/sdraw/main_shape.xhp | 31 | ||||
-rw-r--r-- | source/text/shared/02/01140000.xhp | 42 | ||||
-rw-r--r-- | source/text/shared/02/05090000.xhp | 2 | ||||
-rw-r--r-- | source/text/shared/02/05110000.xhp | 2 | ||||
-rw-r--r-- | source/text/shared/menu/insert_shape.xhp | 36 | ||||
-rw-r--r-- | source/text/simpress/01/02150000.xhp | 7 | ||||
-rw-r--r-- | source/text/simpress/02/10120000.xhp | 6 |
10 files changed, 210 insertions, 12 deletions
diff --git a/source/text/sdraw/01/consolidatetext.xhp b/source/text/sdraw/01/consolidatetext.xhp index bca64d56b9..45668c7bd8 100644 --- a/source/text/sdraw/01/consolidatetext.xhp +++ b/source/text/sdraw/01/consolidatetext.xhp @@ -23,7 +23,7 @@ <bookmark_value>combine text frames;text box consolidation</bookmark_value> </bookmark> <section id="textboxconsolidation"> -<h1 id="hd_id861623510996086"><link href="text/sdraw/01/consolidatetext.xhp">Text Box Consolidation</link></h1> +<h1 id="hd_id861623510996086"><link href="text/sdraw/01/consolidatetext.xhp">Consolidate Text</link></h1> <paragraph id="par_id441623510996088" role="paragraph" xml-lang="en-US"><variable id="textboxconsolidationv1"><ahelp hid=".">Combine two or more selected text boxes into one.</ahelp></variable></paragraph> </section> <section id="howtoget"> diff --git a/source/text/sdraw/01/equalize_height.xhp b/source/text/sdraw/01/equalize_height.xhp new file mode 100644 index 0000000000..89de3662df --- /dev/null +++ b/source/text/sdraw/01/equalize_height.xhp @@ -0,0 +1,48 @@ +<?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="textsdraw01equalizeheightxhp" indexer="include" status="PUBLISH"> + <title id="tit" >Equalize Height</title> + <filename>/text/sdraw/01/equalize_height.xhp</filename> + </topic> +</meta> +<body> + +<bookmark branch="index" id="bm_id911716062352822"> +<bookmark_value>shape; equalize height</bookmark_value> +<bookmark_value>drawing object; equalize height</bookmark_value> +<bookmark_value>height; equalize</bookmark_value> +</bookmark> + +<bookmark branch="hid/.uno:EqualizeHeight" id="bm_id11952815836849" localize="false"/> + +<section id="equalize_height"> +<h1 id="hd_41716903489414"><variable id="equalize_height_h1"><link href="text/sdraw/01/equalize_height.xhp">Equalize Height</link></variable></h1> +<paragraph role="paragraph" id="par_id03149165419149">Sets the height of two or more selected objects to the height of the object selected last. <menuitem>Equalize Height</menuitem> is only available when two or more drawing objects are selected.</paragraph> +</section> + +<section id="howtoget"> + <embed href="text/shared/00/00000004.xhp#from_menu_bar"/> + <paragraph role="paragraph" id="par_id27975425109289">Choose <menuitem>Shape - Equalize Height</menuitem>.</paragraph> + <embed href="text/shared/00/00000004.xhp#from_tabUI"/> + <paragraph role="paragraph" id="par_id09268594688434">Choose <menuitem>Draw</menuitem>, then in the <menuitem>Draw</menuitem> dropdown choose <menuitem>Equalize Height</menuitem>.</paragraph> + <embed href="text/shared/00/00000004.xhp#from_context"/> + <paragraph role="paragraph" id="par_id35381451047272">Choose <menuitem>Shapes - Equalize Height</menuitem>.</paragraph> +</section> + +<section id="relatedtopics"> +<embed href="text/sdraw/01/equalize_width.xhp#equalize_width_h1"/> +<embed href="text/sdraw/main_shape.xhp#shape_h1"/> +</section> + +</body> +</helpdocument>
\ No newline at end of file diff --git a/source/text/sdraw/01/equalize_width.xhp b/source/text/sdraw/01/equalize_width.xhp new file mode 100644 index 0000000000..341b377066 --- /dev/null +++ b/source/text/sdraw/01/equalize_width.xhp @@ -0,0 +1,46 @@ +<?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="textsdraw01equalize_widthxhp" indexer="include" status="PUBLISH"> + <title id="tit" >Equalize Width</title> + <filename>/text/sdraw/01/equalize_width.xhp</filename> + </topic> +</meta> +<body> +<bookmark branch="index" id="bm_id911716062352822"> +<bookmark_value>shape; equalize width</bookmark_value> +<bookmark_value>drawing object; equalize width</bookmark_value> +<bookmark_value>width; equalize</bookmark_value> +</bookmark> + +<bookmark branch="hid/.uno:EqualizeWidth" id="bm_id33072096279477" localize="false"/> + +<section id="equalize_width"> + <h1 id="hd_41716903489414"><variable id="equalize_width_h1"><link href="text/sdraw/01/equalize_width.xhp">Equalize Width</link></variable></h1> + <paragraph role="paragraph" id="par_id03149165419149">Sets the width of two or more selected objects to the width of the object selected last. <menuitem>Equalize Width</menuitem> is only available when two or more drawing objects are selected.</paragraph> +</section> + +<section id="howtoget"> + <embed href="text/shared/00/00000004.xhp#from_menu_bar"/> + <paragraph role="paragraph" id="par_id27975425109289">Choose <menuitem>Shape - Equalize Width</menuitem>.</paragraph> + <embed href="text/shared/00/00000004.xhp#from_tabUI"/> + <paragraph role="paragraph" id="par_id58194124979923">Choose <menuitem>Draw</menuitem>, then in the <menuitem>Draw</menuitem> dropdown choose <menuitem>Equalize Width</menuitem>.</paragraph> + <embed href="text/shared/00/00000004.xhp#from_context"/> + <paragraph role="paragraph" id="par_id35381451047272">Choose <menuitem>Shapes - Equalize Width</menuitem>.</paragraph> +</section> + +<section id="relatedtopics"> +<embed href="text/sdraw/01/equalize_height.xhp#equalize_height_h1"/> +<embed href="text/sdraw/main_shape.xhp#shape_h1"/> +</section> +</body> +</helpdocument>
\ No newline at end of file diff --git a/source/text/sdraw/main_shape.xhp b/source/text/sdraw/main_shape.xhp index c0090c9a0a..d62bd83736 100644 --- a/source/text/sdraw/main_shape.xhp +++ b/source/text/sdraw/main_shape.xhp @@ -16,10 +16,35 @@ </meta> <body> <section id="shape"> - <bookmark id="bm_id571558217682353" xml-lang="en-US" branch="hid/zzzz" localize="false"/> - <h1 id="hd_id381558217682354"><link href="text/sdraw/main_shape.xhp">Shape</link></h1> + <bookmark id="bm_id571558217682353" xml-lang="en-US" branch="hid/.uno:ShapeMenu" localize="false"/> + <h1 id="hd_id381558217682354"><variable id="shape_h1"><link href="text/sdraw/main_shape.xhp">Shape</link></variable></h1> <paragraph id="par_id91558217682355" role="paragraph" xml-lang="en-US"><variable id="shapevar"><ahelp hid=".">This menu provides shape objects management.</ahelp></variable></paragraph> - </section> + + <embed href="text/shared/02/01140000.xhp#line"/> + <embed href="text/shared/02/01140000.xhp#rectangle"/> + <embed href="text/shared/02/01140000.xhp#ellipse"/> + <embed href="text/shared/menu/insert_shape.xhp#shape_submenu"/> + <embed href="text/shared/01/05360000.xhp#distribute_selection"/> + <embed href="text/shared/02/05090000.xhp#rotate"/> + <embed href="text/simpress/02/10030000.xhp#transformations"/> + <embed href="text/shared/01/05240000.xhp#flip"/> + <embed href="text/simpress/01/13050000.xhp#convert"/> + <embed href="text/shared/02/05110000.xhp#alignment"/> + <embed href="text/shared/01/05250000.xhp#arrange"/> + <embed href="text/shared/01/05290000.xhp#group"/> + <embed href="text/simpress/01/13140000.xhp#combine"/> + <embed href="text/simpress/01/13150000.xhp#split"/> + <embed href="text/simpress/01/13180100.xhp#merge"/> + <embed href="text/simpress/01/13180200.xhp#sub"/> + <embed href="text/simpress/01/13180300.xhp#intersect"/> + <embed href="text/sdraw/01/consolidatetext.xhp#textboxconsolidation"/> + <embed href="text/simpress/01/02120000.xhp#duplicate"/> + <embed href="text/simpress/01/02150000.xhp#cross-fading"/> + <embed href="text/sdraw/01/equalize_width.xhp#equalize_width"/> + <embed href="text/sdraw/01/equalize_height.xhp#equalize_height"/> + <embed href="text/simpress/01/13160000.xhp#connect"/> + <embed href="text/simpress/01/13170000.xhp#break"/> + </body> </helpdocument> diff --git a/source/text/shared/02/01140000.xhp b/source/text/shared/02/01140000.xhp index 11bf83a418..d4c1e75def 100644 --- a/source/text/shared/02/01140000.xhp +++ b/source/text/shared/02/01140000.xhp @@ -75,6 +75,8 @@ </tablerow> </table> <bookmark branch="hid/.uno:Line" id="bm_id9304767" localize="false"/> + +<section id="line"> <h2 id="hd_id3143270"><variable id="line_title">Line</variable></h2> <table id="tbl_id3150275"> <tablerow> @@ -87,7 +89,11 @@ </tablerow> </table> <tip id="par_id3153360">To enter text on a line, double-click the line and type or paste your text. The text direction corresponds to the direction you dragged to draw the line. To hide the line, select <emph>Invisible</emph> in the <emph>Line Style</emph> box on the <emph>Drawing Object Properties</emph> bar.</tip> +</section> + <bookmark branch="hid/.uno:Rect" id="bm_id8789060" localize="false"/> + +<section id="rectangle"> <h2 id="hd_id3152922">Rectangle</h2> <table id="tbl_id3153178"> <tablerow> @@ -100,6 +106,9 @@ </tablerow> </table> <bookmark branch="hid/.uno:Ellipse" id="bm_id1817643" localize="false"/> +</section> + +<section id="ellipse"> <h2 id="hd_id3153367">Ellipse</h2> <table id="tbl_id3157894"> <tablerow> @@ -111,7 +120,11 @@ </tablecell> </tablerow> </table> +</section> + <bookmark branch="hid/.uno:Polygon_Unfilled" id="bm_id8487307" localize="false"/> + +<section id="polygon"> <h2 id="hd_id3155308">Polygon</h2> <section id="polytext"> <table id="tbl_id3155366"> @@ -129,7 +142,11 @@ </tablerow> </table> </section> +</section> + <bookmark branch="hid/.uno:Bezier_Unfilled" id="bm_id7112387" localize="false"/> + +<section id="curve"> <h2 id="hd_id3153279">Curve</h2> <table id="tbl_id3150423"> <tablerow> @@ -141,7 +158,11 @@ </tablecell> </tablerow> </table> +</section> + <bookmark branch="hid/.uno:Freeline_Unfilled" id="bm_id7473732" localize="false"/> + +<section id="freeform_line"> <h2 id="hd_id3148587">Freeform Line</h2> <table id="tbl_id3154015"> <tablerow> @@ -153,7 +174,11 @@ </tablecell> </tablerow> </table> +</section> + <bookmark branch="hid/.uno:Arc" id="bm_id8811603" localize="false"/> + +<section id="arc"> <h2 id="hd_id3147259">Arc</h2> <table id="tbl_id3148566"> <tablerow> @@ -165,7 +190,11 @@ </tablecell> </tablerow> </table> +</section> + <bookmark branch="hid/.uno:Pie" id="bm_id8122704" localize="false"/> + +<section id="ellipse_pie"> <h2 id="hd_id3153924">Ellipse Pie</h2> <table id="tbl_id3148914"> <tablerow> @@ -177,7 +206,11 @@ </tablecell> </tablerow> </table> +</section> + <bookmark branch="hid/.uno:CircleCut" id="bm_id485718" localize="false"/> + +<section id="circle_segment"> <h2 id="hd_id3154964">Circle Segment</h2> <table id="tbl_id3163807"> <tablerow> @@ -189,10 +222,13 @@ </tablecell> </tablerow> </table> +</section> <embed href="text/shared/01/DrawText.xhp#drawtext"/> <bookmark branch="hid/.uno:Text_Marquee" id="bm_id9847340" localize="false"/> + +<section id="text_animation"> <h2 id="hd_id3158214">Text Animation</h2> <table id="tbl_id3150979"> <tablerow> @@ -204,7 +240,11 @@ </tablecell> </tablerow> </table> +</section> + <bookmark branch="hid/.uno:DrawCaption" id="bm_id3229321" localize="false"/> + +<section id="callouts"> <h2 id="hd_id3149966">Callouts</h2> <table id="tbl_id3153793"> <tablerow> @@ -216,6 +256,8 @@ </tablecell> </tablerow> </table> +</section> + <embed href="text/shared/02/basicshapes.xhp#basicshapes"/> <embed href="text/shared/00/00000404.xhp#sybasicshapes"/> <embed href="text/shared/02/symbolshapes.xhp#symbolshapes"/> diff --git a/source/text/shared/02/05090000.xhp b/source/text/shared/02/05090000.xhp index ee4ace7759..1347de3049 100644 --- a/source/text/shared/02/05090000.xhp +++ b/source/text/shared/02/05090000.xhp @@ -30,7 +30,7 @@ <body> <bookmark branch="hid/.uno:ToggleObjectRotateMode" id="bm_id3148520" localize="false"/> <section id="rotate"> -<h1 id="hd_id3154863"><link href="text/shared/02/05090000.xhp">Rotate</link></h1> +<h1 id="hd_id3154863"><variable id="rotate_h1"><link href="text/shared/02/05090000.xhp">Rotate</link></variable></h1> <paragraph role="paragraph" id="par_id3149119"><ahelp hid=".uno:ToggleObjectRotateMode">Rotates the selected object.</ahelp></paragraph> </section> <section id="howtoget"> diff --git a/source/text/shared/02/05110000.xhp b/source/text/shared/02/05110000.xhp index 422bdf783d..cbbfb4488b 100644 --- a/source/text/shared/02/05110000.xhp +++ b/source/text/shared/02/05110000.xhp @@ -30,7 +30,7 @@ <body> <section id="alignment"> <bookmark xml-lang="en-US" branch="hid/.uno:ObjectAlign" id="bm_id3144740" localize="false"/> -<h1 id="hd_id3154228">Alignment</h1> +<h1 id="hd_id3154228"><variable id="alignment_h1"><link href="text/shared/02/05110000.xhp">Alignment</link></variable></h1> <paragraph role="paragraph" id="par_id3159201" xml-lang="en-US"><ahelp hid=".uno:ObjectAlign">Modifies the alignment of selected objects.</ahelp></paragraph> </section> <section id="syalignment"> diff --git a/source/text/shared/menu/insert_shape.xhp b/source/text/shared/menu/insert_shape.xhp index c1cf1f99d9..1e5041d840 100644 --- a/source/text/shared/menu/insert_shape.xhp +++ b/source/text/shared/menu/insert_shape.xhp @@ -20,23 +20,37 @@ <meta> <topic id="textsharedmenuinsert_shapexml" indexer="include" status="PUBLISH"> - <title id="tit">Shape</title> + <title id="tit">Insert Shape</title> <filename>/text/shared/menu/insert_shape.xhp</filename> </topic> </meta> <body> - <section id="shape_submenu"> <bookmark branch="hid/.uno:ShapesMenu" id="bm_id030420161051536316" localize="false"/> +<switch select="appl"> +<case select= "DRAW"> +<h1 id="hd_id07684081706272"><variable id="insert_h1"><link href="text/shared/menu/insert_shape.xhp">Insert</link></variable></h1> +</case> +<default> <h1 id="hd_id030420161043484643"><link href="text/shared/menu/insert_shape.xhp">Shape</link></h1> +</default> +</switch> <paragraph id="par_id030420161051456436" role="paragraph"><ahelp hid=".">This submenu contains common shapes like a line, circle, triangle, and square, or a symbol shape like a smiley face, heart, and flower that can be inserted into the document.</ahelp></paragraph> </section> + <section id="howtoget"> <embed href="text/shared/00/00000004.xhp#from_menu_bar"/> + <switch select="appl"> + <case select="DRAW"> + <paragraph role="paragraph" id="par_id261716922857055">Choose <menuitem>Shape - Insert</menuitem>.</paragraph> + </case> + <default> <paragraph role="paragraph" id="par_id371689419860375">Choose <menuitem>Insert - Shape</menuitem>.</paragraph> + </default> + </switch> <embed href="text/shared/00/00000004.xhp#from_tabUI"/> <switch select="appl"> <case select="DRAW"> @@ -70,8 +84,17 @@ </section> <bookmark branch="hid/.uno:ShapesLineMenu" id="bm_id03072016064620617" localize="false"/> +<switch select="appl"> +<case select="DRAW"> + <embed href="text/simpress/02/10120000.xhp#arrows"/> + <embed href="text/simpress/02/10080000.xhp#curve"/> + <embed href="text/simpress/02/10100000.xhp#connectors"/> + </case> + <default> <h2 id="par_id030720160629548185">Line</h2> <paragraph id="par_id030720160640091844" role="paragraph"><ahelp hid=".">This submenu contains straight, freeform, curved and polygon line shapes.</ahelp></paragraph> +</default> +</switch> <h2 id="par_id030720160629546864">Basic Shapes</h2> <paragraph id="par_id030720160644597415" role="paragraph">This submenu contains basic shapes like rectangles, circles, triangles, pentagon, hexagon, octagon, cylinder, and cube.</paragraph> @@ -90,5 +113,14 @@ <h2 id="hd_id731689426292776">Stars and Banners</h2> <paragraph role="paragraph" id="par_id461689426746716">This submenu contains star and banners shapes like multi ray stars, scrolls and more.</paragraph> + +<switch select="appl"> +<case select= "DRAW"> +<embed href="text/simpress/02/10090000.xhp#objects"/> +</case> +<default> +</default> +</switch> + </body> </helpdocument> diff --git a/source/text/simpress/01/02150000.xhp b/source/text/simpress/01/02150000.xhp index 338b5173a7..20b9123d1c 100644 --- a/source/text/simpress/01/02150000.xhp +++ b/source/text/simpress/01/02150000.xhp @@ -30,13 +30,18 @@ </history> </meta> <body> + <bookmark xml-lang="en-US" branch="hid/.uno:Morphing" id="bm_id1304079" localize="false"/> <bookmark xml-lang="en-US" branch="hid/modules/sdraw/ui/crossfadedialog/@@nowidget@@" id="bm_@@nowidget@@" localize="false"/> <bookmark xml-lang="en-US" branch="hid/modules/sdraw/ui/crossfadedialog/CrossFadeDialog" id="bm_id3154013" localize="false"/> -<h1 id="hd_id3148577">Cross-fading</h1> + +<section id="cross-fading"> +<h1 id="hd_id3148577"> + <variable id="cross-fading_h1"><link href="text/simpress/01/02150000.xhp">Cross-fading</link></variable></h1> <paragraph role="paragraph" id="par_id3155601" xml-lang="en-US"><variable id="uebertext"><ahelp hid=".uno:Morphing">Creates shapes and distributes them by uniform increments between two drawing objects.</ahelp> </variable></paragraph> <paragraph role="paragraph" id="par_id3146971" xml-lang="en-US">$[officename] draws a series of intermediate shapes between two selected objects and <link href="text/shared/01/05290000.xhp">groups</link> the result.</paragraph> +</section> <section id="howtoget"> <embed href="text/simpress/00/00000402.xhp#bearbueber"/> </section> diff --git a/source/text/simpress/02/10120000.xhp b/source/text/simpress/02/10120000.xhp index 07fca23ee3..f918096fc0 100644 --- a/source/text/simpress/02/10120000.xhp +++ b/source/text/simpress/02/10120000.xhp @@ -19,7 +19,7 @@ <helpdocument version="1.0"> <meta> <topic id="textsimpress0210120000xml" indexer="include" status="PUBLISH"> -<title id="tit">Arrows</title> +<title id="tit">Lines and Arrows</title> <filename>/text/simpress/02/10120000.xhp</filename> </topic> </meta> @@ -33,8 +33,8 @@ <bookmark branch="hid/.uno:ArrowsToolbox" id="bm_id4119521" localize="false"/> <section id="arrows"> - <h1 id="hd_id3145799"><link href="text/simpress/02/10120000.xhp">Arrows</link></h1> - <paragraph role="paragraph" id="par_id3145790"><ahelp hid=".uno:ArrowsToolbox">Open the <emph>Arrows</emph> toolbar, where you can add straight lines, lines with arrows, and dimension lines to the current slide or page.</ahelp></paragraph> + <h1 id="hd_id3145799"><variable id="lines_and_arrows_h1"><link href="text/simpress/02/10120000.xhp">Lines and Arrows</link></variable></h1> + <paragraph role="paragraph" id="par_id3145790"><ahelp hid=".uno:ArrowsToolbox">Open the <variable id="lines_and_arrows_menu"><menuitem>Lines and Arrows</menuitem></variable> toolbar, where you can add straight lines, lines with arrows, and dimension lines to the current slide or page.</ahelp></paragraph> </section> <tip id="par_idN1071F">If you want, you can add an arrow after you draw a line by choosing Format - Line, and then selecting an arrow style from the Style box.</tip> |