diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2024-09-23 10:05:50 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2024-09-23 15:09:46 +0200 |
commit | 5fb6ba7d66d194949fea559d9afced94bad04f8c (patch) | |
tree | b1b8ce21c695b901fe18533d02db577e300dacdf /source/text | |
parent | 9426607bb843538b580738195af7316b5683623c (diff) |
tdf#162607 disambiguate hid2file.js, RTL/LTR
+ Created files for uno:ParaRightToLeft and uno:ParaLeftToRight commands
+ Adjust embeds and links, how to get
Change-Id: Ide954868ecaa513c439d4950b097aefa96ffb69a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/173814
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Jenkins
Diffstat (limited to 'source/text')
-rw-r--r-- | source/text/scalc/main0202.xhp | 32 | ||||
-rw-r--r-- | source/text/shared/01/LeftToRight.xhp | 63 | ||||
-rw-r--r-- | source/text/shared/01/RightToLeft.xhp | 63 | ||||
-rw-r--r-- | source/text/swriter/main0202.xhp | 35 |
4 files changed, 135 insertions, 58 deletions
diff --git a/source/text/scalc/main0202.xhp b/source/text/scalc/main0202.xhp index a242cb94b5..dde9078991 100644 --- a/source/text/scalc/main0202.xhp +++ b/source/text/scalc/main0202.xhp @@ -86,34 +86,10 @@ <h2 id="par_idN10871">Additional icons</h2> <paragraph role="paragraph" id="par_idN10875">If <link href="text/shared/00/00000005.xhp#ctl">CTL</link> support is enabled, two additional icons are visible.</paragraph> -<bookmark branch="hid/.uno:ParaLeftToRight" id="bm_id3149957" localize="false"/> -<h2 id="par_idN1088E">Left-To-Right</h2> -<table id="tbl_id2270882"> -<tablerow> -<tablecell> -<paragraph role="tablecontent" id="par_idN1089C"> -<image id="img_id8354747" src="cmd/sc_paralefttoright.svg" width="1cm" height="1cm"><alt id="alt_id8354747">left to right icon</alt> - </image></paragraph> -</tablecell> -<tablecell> -<paragraph role="paragraph" id="par_idN108BA"><ahelp hid=".uno:ParaLeftToRight">The text is entered from left to right.</ahelp></paragraph> -</tablecell> -</tablerow> -</table> -<bookmark branch="hid/.uno:ParaRightToLeft" id="bm_id3147311" localize="false"/> -<h2 id="par_idN108D1">Right-To-Left</h2> -<table id="tbl_id3011566"> -<tablerow> -<tablecell> -<paragraph role="tablecontent" id="par_idN108DF"> -<image id="img_id2405774" src="cmd/sc_pararighttoleft.svg" width="1cm" height="1cm"><alt id="alt_id2405774">right to left icon</alt> - </image></paragraph> -</tablecell> -<tablecell> -<paragraph role="paragraph" id="par_idN108FD"><ahelp hid=".uno:ParaRightToLeft">The text formatted in a complex text layout language is entered from right to left.</ahelp></paragraph> -</tablecell> -</tablerow> -</table> +<embed href="text/shared/01/LeftToRight.xhp#lefttoright"/> +<embed href="text/shared/01/LeftToRight.xhp#sy_lefttoright"/> +<embed href="text/shared/01/RightToLeft.xhp#righttoleft"/> +<embed href="text/shared/01/RightToLeft.xhp#sy_righttoleft"/> <comment>UFI: inserted .uno:Align... help ids here, had to be removed from shared/01/05340300.xhp</comment> <!--<bookmark branch="hid/.uno:AlignLeft" id="bm_id3856013" localize="false"/>--> <paragraph role="paragraph" id="par_id192266"><ahelp hid=".uno:AlignLeft" visibility="hidden">Aligns the contents of the cell to the left.</ahelp></paragraph> diff --git a/source/text/shared/01/LeftToRight.xhp b/source/text/shared/01/LeftToRight.xhp new file mode 100644 index 0000000000..b5c0ac4308 --- /dev/null +++ b/source/text/shared/01/LeftToRight.xhp @@ -0,0 +1,63 @@ +<?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/. + * + --> + + <meta> + <topic id="textshared01LeftToRightxhp" indexer="include" status="PUBLISH"> + <title id="tit">Left to Right</title> + <filename>/text/shared/01/LeftToRight.xhp</filename> + </topic> +</meta> +<body> +<bookmark branch="hid/.uno:ParaLeftToRight" id="bm_id25480" localize="false"/> +<bookmark branch="index" id="bm_id11727093662462"> + <bookmark_value>left to right;text</bookmark_value> + <bookmark_value>text;left to right</bookmark_value> +</bookmark> +<section id="lefttoright"> + <h1 id="hd_id401727093250675"><variable id="h1"><link href="text/shared/01/LeftToRight.xhp">Left to Right</link></variable></h1> + <paragraph id="par_id311727093250677" role="paragraph">The text is entered from left to right.</paragraph> +</section> +<section id="howtoget"> + <embed href="text/shared/00/00000004.xhp#from_menu_bar"/> + <paragraph role="paragraph" id="par_id141727093886080">Choose <menuitem>Format - Paragraph - Alignment</menuitem> tab, choose <menuitem>Properties - Left to Right (LTR)</menuitem>.</paragraph> + <embed href="text/shared/00/00000004.xhp#from_tabUI"/> + <paragraph role="paragraph" id="par_id501727094375257">On the <menuitem>Home</menuitem> menu of the <menuitem>Home</menuitem> tab, choose <menuitem>Left to Right</menuitem>.</paragraph> + <embed href="text/shared/00/00000004.xhp#from_toolbars"/> + <section id="sy_lefttoright"> + <table id="tbl_id3011566"> + <tablerow> + <tablecell> + <paragraph role="tablecontent" id="par_idN108DF"> + <image id="img_id2405774" src="cmd/lc_paralefttoright.svg" width="1cm" height="1cm"><alt id="alt_id2405774">left to right icon</alt></image></paragraph> + </tablecell> + <tablecell> + <paragraph role="paragraph" id="par_idN108FD">Left to Right</paragraph> + </tablecell> + </tablerow> + </table> + </section> + <embed href="text/shared/00/00000004.xhp#from_keyboard"/> + <paragraph role="paragraph" id="par_id91727093483888"><switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode> + Shift + A</keycode></paragraph> + <embed href="text/shared/00/00000004.xhp#from_sidebar"/> + <switch select="appl"> + <case select="CALC"> + <paragraph role="paragraph" id="par_id141727094285347">Open the <menuitem>Alignment</menuitem> panel of the <menuitem>Properties</menuitem> deck, choose <menuitem>Left to Right</menuitem>.</paragraph> + </case> + <default> + <paragraph role="paragraph" id="par_id421727093582198">Open the <menuitem>Paragraph</menuitem> panel of the <menuitem>Properties</menuitem> deck, choose <menuitem>Left to Right</menuitem>.</paragraph> + </default> + </switch> +</section> +<section id="relatedtopics"> + <paragraph role="paragraph" id="par_id541727095289819"><link href="text/shared/optionen/01140000.xhp">Language settings</link></paragraph> +</section> +</body> +</helpdocument> diff --git a/source/text/shared/01/RightToLeft.xhp b/source/text/shared/01/RightToLeft.xhp new file mode 100644 index 0000000000..a58f1d8240 --- /dev/null +++ b/source/text/shared/01/RightToLeft.xhp @@ -0,0 +1,63 @@ +<?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/. + * + --> + + <meta> + <topic id="textshared01RightToLeftxhp" indexer="include" status="PUBLISH"> + <title id="tit">Right to Left</title> + <filename>/text/shared/01/RightToLeft.xhp</filename> + </topic> +</meta> +<body> +<bookmark branch="hid/.uno:ParaRightToLeft" id="bm_id25480" localize="false"/> +<bookmark branch="index" id="bm_id11727093662462"> + <bookmark_value>right to left;text</bookmark_value> + <bookmark_value>text;right to left</bookmark_value> +</bookmark> +<section id="righttoleft"> + <h1 id="hd_id401727093250675"><variable id="h1"><link href="text/shared/01/RightToLeft.xhp">Right to Left</link></variable></h1> + <paragraph id="par_id311727093250677" role="paragraph">The text formatted in a complex text layout language is entered from right to left.</paragraph> +</section> +<section id="howtoget"> + <embed href="text/shared/00/00000004.xhp#from_menu_bar"/> + <paragraph role="paragraph" id="par_id141727093886080">Choose <menuitem>Format - Paragraph - Alignment</menuitem> tab, choose <menuitem>Properties - Right to Left (RTL)</menuitem>.</paragraph> + <embed href="text/shared/00/00000004.xhp#from_tabUI"/> + <paragraph role="paragraph" id="par_id501727094375257">On the <menuitem>Home</menuitem> menu of the <menuitem>Home</menuitem> tab, choose <menuitem>Right to Left</menuitem>.</paragraph> + <embed href="text/shared/00/00000004.xhp#from_toolbars"/> + <section id="sy_righttoleft"> + <table id="tbl_id3011566"> + <tablerow> + <tablecell> + <paragraph role="tablecontent" id="par_idN108DF"> + <image id="img_id2405774" src="cmd/lc_pararighttoleft.svg" width="1cm" height="1cm"><alt id="alt_id2405774">right to left icon</alt></image></paragraph> + </tablecell> + <tablecell> + <paragraph role="paragraph" id="par_idN108FD">Right to Left</paragraph> + </tablecell> + </tablerow> + </table> + </section> + <embed href="text/shared/00/00000004.xhp#from_keyboard"/> + <paragraph role="paragraph" id="par_id91727093483888"><switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode> + Shift + D</keycode></paragraph> + <embed href="text/shared/00/00000004.xhp#from_sidebar"/> + <switch select="appl"> + <case select="CALC"> + <paragraph role="paragraph" id="par_id141727094285347">Open the <menuitem>Alignment</menuitem> panel of the <menuitem>Properties</menuitem> deck, choose <menuitem>Right to Left</menuitem>.</paragraph> + </case> + <default> + <paragraph role="paragraph" id="par_id421727093582198">Open the <menuitem>Paragraph</menuitem> panel of the <menuitem>Properties</menuitem> deck, choose <menuitem>Right to Left</menuitem>.</paragraph> + </default> + </switch> +</section> +<section id="relatedtopics"> + <paragraph role="paragraph" id="par_id541727095289819"><link href="text/shared/optionen/01140000.xhp">Language settings</link></paragraph> +</section> +</body> +</helpdocument> diff --git a/source/text/swriter/main0202.xhp b/source/text/swriter/main0202.xhp index 5239ee0151..a41454313f 100644 --- a/source/text/swriter/main0202.xhp +++ b/source/text/swriter/main0202.xhp @@ -78,36 +78,11 @@ <section id="decreasesize"> <paragraph id="par_id0122200903085351" role="paragraph"><ahelp hid=".">Reduces the font size of the selected text.</ahelp></paragraph> </section> - <paragraph id="par_id3149900" role="paragraph">If <link href="text/shared/00/00000005.xhp#ctl">CTL</link> support is enabled, two additional icons are visible.</paragraph> -<bookmark branch="hid/.uno:ParaLeftToRight" id="bm_id2946959" localize="false"/> -<h2 id="hd_id3149946">Left-To-Right</h2> - <table id="tbl_id2270882"> - <tablerow> - <tablecell> - <paragraph id="par_idN10784" role="tablecontent"> -<image id="img_id8354747" src="cmd/sc_paralefttoright.png" width="1cm" height="1cm"><alt id="alt_id8354747">left to right icon</alt> - </image></paragraph> - </tablecell> - <tablecell> - <paragraph id="par_id3149964" role="paragraph"><ahelp hid=".uno:ParaLeftToRight">The text is entered from left to right.</ahelp></paragraph> - </tablecell> - </tablerow> - </table> - -<bookmark branch="hid/.uno:ParaRightToLeft" id="bm_id25480" localize="false"/> -<h2 id="hd_id3147300">Right-To-Left</h2> - <table id="tbl_id3011566"> - <tablerow> - <tablecell> - <paragraph id="par_idN107DF" role="tablecontent"> -<image id="img_id2405774" src="cmd/sc_pararighttoleft.png" width="1cm" height="1cm"><alt id="alt_id2405774">right to left icon</alt> - </image></paragraph> - </tablecell> - <tablecell> - <paragraph id="par_id3147625" role="paragraph"><ahelp hid=".uno:ParaRightToLeft">The text formatted in a complex text layout language is entered from right to left.</ahelp></paragraph> - </tablecell> - </tablerow> - </table> +<paragraph id="par_id3149900" role="paragraph">If <link href="text/shared/00/00000005.xhp#ctl">CTL</link> support is enabled, two additional icons are visible.</paragraph> +<embed href="text/shared/01/LeftToRight.xhp#lefttoright"/> +<embed href="text/shared/01/LeftToRight.xhp#sy_lefttoright"/> +<embed href="text/shared/01/RightToLeft.xhp#righttoleft"/> +<embed href="text/shared/01/RightToLeft.xhp#sy_righttoleft"/> </body> </helpdocument> |