diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2024-01-19 17:42:13 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2024-01-20 09:48:18 +0100 |
commit | aaf279daa4353d112652944082b7cbe3055d3cd7 (patch) | |
tree | f69161046273b946a65166f5b469fc2685b213de /source/text/shared/menu | |
parent | 709109b522cfbeb07c7bac2c6d90c8ebb5f53b33 (diff) |
tdf#155875 UI cmds Format Text
+ refactoring
Change-Id: I4a261055eec547e89e3eddcdfaf876ae323bbb68
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/162323
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/shared/menu')
-rw-r--r-- | source/text/shared/menu/submenu_text.xhp | 286 |
1 files changed, 138 insertions, 148 deletions
diff --git a/source/text/shared/menu/submenu_text.xhp b/source/text/shared/menu/submenu_text.xhp index 17f6ac4654..a831cb617b 100644 --- a/source/text/shared/menu/submenu_text.xhp +++ b/source/text/shared/menu/submenu_text.xhp @@ -22,162 +22,152 @@ <title id="tit">Text</title> <filename>/text/shared/menu/submenu_text.xhp</filename> </topic> - </meta> - <body> - <section id="submenu_text"> - <bookmark branch="hid/.uno:FormatTextMenu" id="bm_id335519659183788" localize="false"/> - <h1 id="hd_id411816022675978"> - <link href="text/shared/menu/submenu_text.xhp">Text</link> - </h1> - <paragraph role="paragraph" id="par_id398855439580083"> - <ahelp hid=".">Opens a submenu where you can choose text formatting commands.</ahelp> - </paragraph> - </section> - <section id="howtoget"> - <embed href="text/shared/00/00040500.xhp#submenu_text"/> - </section> - <embed href="text/shared/01/05110100.xhp#bold"/> - <embed href="text/shared/01/05110200.xhp#italic"/> - <embed href="text/shared/01/05110300.xhp#single_underline"/> - <embed href="text/shared/01/05110300.xhp#double_underline"/> - <embed href="text/shared/01/05110400.xhp#strikethrough"/> - <h2 id="hd_id893328657433073"> - <link href="text/shared/01/05020200.xhp#hd_id0123200902243376">Overline</link> - </h2> - <paragraph role="paragraph" id="par_id281953548674188"> - <embedvar href="text/shared/01/05020200.xhp#overline" markup="ignore"/> +</meta> +<body> +<section id="submenu_text"> + <bookmark branch="hid/.uno:FormatTextMenu" id="bm_id335519659183788" localize="false"/> + <h1 id="hd_id411816022675978"> + <link href="text/shared/menu/submenu_text.xhp">Text</link> + </h1> + <paragraph role="paragraph" id="par_id398855439580083"> + <ahelp hid=".">Opens a submenu where you can choose text formatting commands.</ahelp> + </paragraph> +</section> +<section id="howtoget"> + <embed href="text/shared/00/00040500.xhp#submenu_text"/> +</section> +<embed href="text/shared/01/05110100.xhp#bold"/> +<embed href="text/shared/01/05110200.xhp#italic"/> +<embed href="text/shared/01/05110300.xhp#single_underline"/> +<embed href="text/shared/01/05110300.xhp#double_underline"/> +<embed href="text/shared/01/05110400.xhp#strikethrough"/> +<embed href="text/shared/01/Overline.xhp#overline"/> +<embed href="text/shared/01/05110700.xhp#hoch"/> +<embed href="text/shared/01/05110800.xhp#subscript"/> +<embed href="text/shared/01/05110500.xhp#shadows"/> +<embed href="text/shared/01/OutlineFont.xhp#outline_font"/> + +<switch select="appl"> + <case select="CALC"> + <bookmark branch="hid/.uno:WrapText" id="bm_id538777107912257" localize="false"/> + <h2 id="hd_id207025326941609">Wrap Text</h2> + <paragraph role="paragraph" id="par_id302484503842787"> + <ahelp hid=".">Break text automatically at the right edges of the selected cells.</ahelp> </paragraph> - <embed href="text/shared/01/05110700.xhp#hoch"/> - <embed href="text/shared/01/05110800.xhp#subscript"/> - <h2 id="hd_id773632078996899"> - <link href="text/shared/01/05020200.xhp#hd_id3163714">Shadow</link> + </case> + <case select="WRITER"> + <h2 id="hd_id273587522269593"> + <link href="text/swriter/main0202.xhp#hd_id0122200903085320">Increase Size</link> </h2> - <embed href="text/shared/01/05020200.xhp#shadow"/> - <h2 id="hd_id873632078996899"> - <link href="text/shared/01/05020200.xhp#hd_id3147287">Outline</link> + <embed href="text/swriter/main0202.xhp#increasesize"/> + <h2 id="hd_id511910578827551"> + <link href="text/swriter/main0202.xhp#hd_id012220090308532">Decrease Size</link> </h2> - <embed href="text/shared/01/05020200.xhp#outline"/> - <switch select="appl"> - <case select="CALC"> - <bookmark branch="hid/.uno:WrapText" id="bm_id538777107912257" localize="false"/> - <h2 id="hd_id207025326941609">Wrap Text</h2> - <paragraph role="paragraph" id="par_id302484503842787"> - <ahelp hid=".">Break text automatically at the right edges of the selected cells.</ahelp> - </paragraph> - </case> - <case select="WRITER"> - <h2 id="hd_id273587522269593"> - <link href="text/swriter/main0202.xhp#hd_id0122200903085320">Increase Size</link> - </h2> - <embed href="text/swriter/main0202.xhp#increasesize"/> - <h2 id="hd_id511910578827551"> - <link href="text/swriter/main0202.xhp#hd_id012220090308532">Decrease Size</link> - </h2> - <embed href="text/swriter/main0202.xhp#decreasesize"/> - </case> - <case select="IMPRESS"> - <h2 id="hd_id373587522269593"> - <link href="text/simpress/main0203.xhp#hd_id0122200903104143">Increase Size</link> - </h2> - <embed href="text/simpress/main0203.xhp#increasesize"/> - <h2 id="hd_id711910578827551"> - <link href="text/simpress/main0203.xhp#hd_id0122200903104228">Decrease Size</link> - </h2> - <embed href="text/simpress/main0203.xhp#decreasesize"/> - </case> - <case select="DRAW"> - <h2 id="hd_id473587522269593"> - <link href="text/simpress/main0203.xhp#hd_id0122200903104143">Increase Size</link> - </h2> - <embed href="text/simpress/main0203.xhp#increasesize"/> - <h2 id="hd_id611910578827551"> - <link href="text/simpress/main0203.xhp#hd_id0122200903104228">Decrease Size</link> - </h2> - <embed href="text/simpress/main0203.xhp#decreasesize"/> - </case> - </switch> - <h2 id="hd_id172462591626807"> - <link href="text/shared/01/05020200.xhp#hd_id3149575">UPPERCASE</link> + <embed href="text/swriter/main0202.xhp#decreasesize"/> + </case> + <case select="IMPRESS"> + <h2 id="hd_id373587522269593"> + <link href="text/simpress/main0203.xhp#hd_id0122200903104143">Increase Size</link> </h2> - <paragraph role="paragraph" id="par_id381953548674188"> - <embedvar href="text/shared/01/05020200.xhp#uppercase"/> - </paragraph> - <h2 id="hd_id935919548287354"> - <link href="text/shared/01/05020200.xhp#hd_id3149575">lowercase</link> + <embed href="text/simpress/main0203.xhp#increasesize"/> + <h2 id="hd_id711910578827551"> + <link href="text/simpress/main0203.xhp#hd_id0122200903104228">Decrease Size</link> </h2> - <paragraph role="paragraph" id="par_id481953548674188"> - <embedvar href="text/shared/01/05020200.xhp#lowercase"/> - </paragraph> - <bookmark branch="hid/.uno:ChangeCaseRotateCase" id="bm_id587304774753486" localize="false"/> - <h2 id="hd_id3147143">Cycle Case</h2> - <paragraph role="paragraph" id="par_id3152372"> - <ahelp hid=".uno:ChangeCaseRotateCase">Cycles the case of the selected characters between Title Case, Sentence case, UPPERCASE and lowercase.</ahelp> - </paragraph> - <bookmark branch="hid/SID_TRANSLITERATE_SENTENCE" id="bm_id7402005" localize="false"/> - <bookmark branch="hid/.uno:ChangeCaseToSentenceCase" id="bm_id3149347" localize="false"/> - <h2 id="hd_id3147572">Sentence case</h2> - <paragraph role="paragraph" id="par_id3150694"> - <ahelp hid=".">Changes the first letter of the selected characters to an uppercase character.</ahelp> - </paragraph> - <bookmark branch="hid/SID_TRANSLITERATE_CAPITALIZE" id="bm_id7402014" localize="false"/> - <h2 id="hd_id640520497868661"> - <link href="text/shared/01/05020200.xhp#hd_id3149575">Capitalize Every Word</link> + <embed href="text/simpress/main0203.xhp#decreasesize"/> + </case> + <case select="DRAW"> + <h2 id="hd_id473587522269593"> + <link href="text/simpress/main0203.xhp#hd_id0122200903104143">Increase Size</link> </h2> - <paragraph role="paragraph" id="par_id581953548674188" localize="false"> - <embedvar href="text/shared/01/05020200.xhp#capitalizeeveryword"/> - </paragraph> - <bookmark branch="hid/SID_TRANSLITERATE_TOGGLE" id="bm_id7402024" localize="false"/> - <bookmark branch="hid/.uno:ChangeCaseToToggleCparagraphase" id="bm_id3149326" localize="false"/> - <h2 id="hd_id3147521">tOGGLE cASE</h2> - <paragraph role="paragraph" id="par_id3150623"> - <ahelp hid=".">Toggles case of all selected characters.</ahelp> - </paragraph> - <switch select="appl"> - <case select="WRITER"> - <h2 id="hd_id342778277179117"> - <link href="text/shared/01/05020200.xhp#hd_id3149575">Small capitals</link> - </h2> - <paragraph role="paragraph" id="par_id681953548674188" localize="false"> - <embedvar href="text/shared/01/05020200.xhp#smallcapitals"/> - </paragraph> - </case> - <case select="IMPRESS"> - <h2 id="hd_id442778277179117"> - <link href="text/shared/01/05020200.xhp#hd_id3149575">Small capitals</link> - </h2> - <paragraph role="paragraph" id="par_id781953548674188" localize="false"> - <embedvar href="text/shared/01/05020200.xhp#smallcapitals"/> - </paragraph> - </case> - <case select="DRAW"> - <h2 id="hd_id542778277179117"> - <link href="text/shared/01/05020200.xhp#hd_id3149575">Small capitals</link> - </h2> - <paragraph role="paragraph" id="par_id881953548674188" localize="false"> - <embedvar href="text/shared/01/05020200.xhp#smallcapitals"/> - </paragraph> - </case> - </switch> - <embed href="text/shared/00/00000007.xhp#asia"/> - <bookmark branch="hid/.uno:ChangeCaseToHalfWidth" id="bm_id3154288" localize="false"/> - <h2 id="hd_id3155392">Half-width</h2> - <paragraph role="paragraph" id="par_id3147088"> - <ahelp hid=".uno:ChangeCaseToHalfWidth">Changes the selected Asian characters to half-width characters.</ahelp> - </paragraph> - <bookmark branch="hid/.uno:ChangeCaseToFullWidth" id="bm_id3147242" localize="false"/> - <h2 id="hd_id3156113">Full Width</h2> - <paragraph role="paragraph" id="par_id3154749"> - <ahelp hid=".uno:ChangeCaseToFullWidth">Changes the selected Asian characters to full-width characters.</ahelp> + <embed href="text/simpress/main0203.xhp#increasesize"/> + <h2 id="hd_id611910578827551"> + <link href="text/simpress/main0203.xhp#hd_id0122200903104228">Decrease Size</link> + </h2> + <embed href="text/simpress/main0203.xhp#decreasesize"/> + </case> +</switch> +<h2 id="hd_id172462591626807"> + <link href="text/shared/01/05020200.xhp#hd_id3149575">UPPERCASE</link> +</h2> +<paragraph role="paragraph" id="par_id381953548674188"> + <embedvar href="text/shared/01/05020200.xhp#uppercase"/> +</paragraph> +<h2 id="hd_id935919548287354"> + <link href="text/shared/01/05020200.xhp#hd_id3149575">lowercase</link> +</h2> +<paragraph role="paragraph" id="par_id481953548674188"> + <embedvar href="text/shared/01/05020200.xhp#lowercase"/> +</paragraph> +<bookmark branch="hid/.uno:ChangeCaseRotateCase" id="bm_id587304774753486" localize="false"/> +<h2 id="hd_id3147143">Cycle Case</h2> +<paragraph role="paragraph" id="par_id3152372"> + <ahelp hid=".uno:ChangeCaseRotateCase">Cycles the case of the selected characters between Title Case, Sentence case, UPPERCASE and lowercase.</ahelp> +</paragraph> +<bookmark branch="hid/SID_TRANSLITERATE_SENTENCE" id="bm_id7402005" localize="false"/> +<bookmark branch="hid/.uno:ChangeCaseToSentenceCase" id="bm_id3149347" localize="false"/> +<h2 id="hd_id3147572">Sentence case</h2> +<paragraph role="paragraph" id="par_id3150694"> + <ahelp hid=".">Changes the first letter of the selected characters to an uppercase character.</ahelp> +</paragraph> +<bookmark branch="hid/SID_TRANSLITERATE_CAPITALIZE" id="bm_id7402014" localize="false"/> +<h2 id="hd_id640520497868661"> + <link href="text/shared/01/05020200.xhp#hd_id3149575">Capitalize Every Word</link> +</h2> +<paragraph role="paragraph" id="par_id581953548674188" localize="false"> + <embedvar href="text/shared/01/05020200.xhp#capitalizeeveryword"/> +</paragraph> +<bookmark branch="hid/SID_TRANSLITERATE_TOGGLE" id="bm_id7402024" localize="false"/> +<bookmark branch="hid/.uno:ChangeCaseToToggleCparagraphase" id="bm_id3149326" localize="false"/> +<h2 id="hd_id3147521">tOGGLE cASE</h2> +<paragraph role="paragraph" id="par_id3150623"> + <ahelp hid=".">Toggles case of all selected characters.</ahelp> +</paragraph> +<switch select="appl"> + <case select="WRITER"> + <h2 id="hd_id342778277179117"> + <link href="text/shared/01/05020200.xhp#hd_id3149575">Small capitals</link> + </h2> + <paragraph role="paragraph" id="par_id681953548674188" localize="false"> + <embedvar href="text/shared/01/05020200.xhp#smallcapitals"/> </paragraph> - <bookmark branch="hid/.uno:ChangeCaseToHiragana" id="bm_id3147275" localize="false"/> - <h2 id="hd_id3152996">Hiragana</h2> - <paragraph role="paragraph" id="par_id3156156"> - <ahelp hid=".uno:ChangeCaseToHiragana">Changes the selected Asian characters to Hiragana characters.</ahelp> + </case> + <case select="IMPRESS"> + <h2 id="hd_id442778277179117"> + <link href="text/shared/01/05020200.xhp#hd_id3149575">Small capitals</link> + </h2> + <paragraph role="paragraph" id="par_id781953548674188" localize="false"> + <embedvar href="text/shared/01/05020200.xhp#smallcapitals"/> </paragraph> - <bookmark branch="hid/.uno:ChangeCaseToKatakana" id="bm_id3155449" localize="false"/> - <h2 id="hd_id3154173">Katakana</h2> - <paragraph role="paragraph" id="par_id3146137"> - <ahelp hid=".uno:ChangeCaseToKatakana">Changes the selected Asian characters to Katakana characters.</ahelp> + </case> + <case select="DRAW"> + <h2 id="hd_id542778277179117"> + <link href="text/shared/01/05020200.xhp#hd_id3149575">Small capitals</link> + </h2> + <paragraph role="paragraph" id="par_id881953548674188" localize="false"> + <embedvar href="text/shared/01/05020200.xhp#smallcapitals"/> </paragraph> + </case> +</switch> +<embed href="text/shared/00/00000007.xhp#asia"/> +<bookmark branch="hid/.uno:ChangeCaseToHalfWidth" id="bm_id3154288" localize="false"/> +<h2 id="hd_id3155392">Half-width</h2> +<paragraph role="paragraph" id="par_id3147088"> + <ahelp hid=".uno:ChangeCaseToHalfWidth">Changes the selected Asian characters to half-width characters.</ahelp> +</paragraph> +<bookmark branch="hid/.uno:ChangeCaseToFullWidth" id="bm_id3147242" localize="false"/> +<h2 id="hd_id3156113">Full Width</h2> +<paragraph role="paragraph" id="par_id3154749"> + <ahelp hid=".uno:ChangeCaseToFullWidth">Changes the selected Asian characters to full-width characters.</ahelp> +</paragraph> +<bookmark branch="hid/.uno:ChangeCaseToHiragana" id="bm_id3147275" localize="false"/> +<h2 id="hd_id3152996">Hiragana</h2> +<paragraph role="paragraph" id="par_id3156156"> + <ahelp hid=".uno:ChangeCaseToHiragana">Changes the selected Asian characters to Hiragana characters.</ahelp> +</paragraph> +<bookmark branch="hid/.uno:ChangeCaseToKatakana" id="bm_id3155449" localize="false"/> +<h2 id="hd_id3154173">Katakana</h2> +<paragraph role="paragraph" id="par_id3146137"> + <ahelp hid=".uno:ChangeCaseToKatakana">Changes the selected Asian characters to Katakana characters.</ahelp> +</paragraph> </body> </helpdocument> |