[Libreoffice-commits] help.git: source/text

Seth Chaiklin (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 7 15:24:27 UTC 2020


 source/text/shared/00/00040502.xhp  |   30 +++++++++++++++++++++++-------
 source/text/shared/01/05230100.xhp  |   18 +++++++++++-------
 source/text/swriter/01/05060100.xhp |    6 ++++--
 3 files changed, 38 insertions(+), 16 deletions(-)

New commits:
commit 6241f13055a38675c3fffde398378f2d4ee26d8a
Author:     Seth Chaiklin <sdc.blanco at youmail.dk>
AuthorDate: Sun Oct 4 16:05:55 2020 +0200
Commit:     Seth Chaiklin <sdc.blanco at youmail.dk>
CommitDate: Wed Oct 7 17:24:07 2020 +0200

    tdf#137141 add related topics to help for Position and Size tab of Shape
    
       - add module-specific access command for Impress
       - add menu icon
       - add context-menu access for all modules
       - add tip (for Impress and Draw) about shortcut key
       - added related topics:  Rotation (for all) and Rotating Objects
             (for Draw and Impress)
       - remove space before period.
       - needed to make two sections for embedding, to avoid a tip
       - update to <tip>,<menuitem>,<keycode>
    
    Change-Id: Ibb055127fb7cc4944dcd7fd6ef514be198d1a189
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/103803
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.blanco at youmail.dk>

diff --git a/source/text/shared/00/00040502.xhp b/source/text/shared/00/00040502.xhp
index d739db79c..71cca2e61 100644
--- a/source/text/shared/00/00040502.xhp
+++ b/source/text/shared/00/00040502.xhp
@@ -175,9 +175,9 @@
     <paragraph id="par_id3151060" role="paragraph"><variable id="laufext">Choose <emph>Format - </emph><switchinline select="appl"><caseinline select="WRITER"><emph>Text Box and Shape - Text Attributes </emph>
                     </caseinline><caseinline select="CALC"><emph>Object - Text</emph></caseinline><defaultinline><emph>Text</emph></defaultinline></switchinline><emph> - Text Animation</emph> tab.</variable></paragraph>
     <section id="position1">
-        <paragraph id="par_id3149911" role="paragraph">Choose <emph>Format - </emph><switchinline select="appl"><caseinline select="WRITER"><emph>Text Box and Shape - </emph>
+        <paragraph id="par_id3149911" role="paragraph">Choose <menuitem>Format - </menuitem><switchinline select="appl"><caseinline select="WRITER"><menuitem>Text Box and Shape - </menuitem>
                     </caseinline><caseinline select="CALC"><emph>Object - </emph></caseinline></switchinline><emph>Position and Size</emph>.</paragraph>
-        <paragraph id="par_id3156286" role="paragraph"><switchinline select="appl"><caseinline select="DRAW"><emph>F4</emph> key</caseinline><caseinline select="IMPRESS"><emph>F4</emph> key</caseinline></switchinline></paragraph>
+        <paragraph id="par_id3156286" role="paragraph"><switchinline select="appl"><caseinline select="DRAW"><keycode>F4</keycode> key</caseinline><caseinline select="IMPRESS"><keycode>F4</keycode> key</caseinline></switchinline></paragraph>
     </section>
     <section id="syposition">
         <table id="Table1">
@@ -192,13 +192,29 @@
         </table>
     </section>
     <section id="adngpb">
-        <paragraph id="par_id3148833" role="paragraph">Open the context menu for the object - choose <emph>Name</emph>.</paragraph>
+        <paragraph id="par_id3148833" role="paragraph">Open the context menu for the object - choose <menuitem>Name</menuitem>.</paragraph>
     </section>
     <section id="descript">
-        <paragraph id="par_id411999" role="paragraph">Open the context menu for the object - choose <emph>Description</emph>.</paragraph>
-    </section>
-    <paragraph id="par_id3153099" role="paragraph"><variable id="position2">Choose <emph>Format - </emph><switchinline select="appl"><caseinline select="WRITER"><emph>Text Box and Shape - </emph>
-                    </caseinline><caseinline select="CALC"><emph>Object - </emph></caseinline></switchinline><emph>Position and Size - Position and Size</emph> tab.</variable></paragraph>
+        <paragraph id="par_id411999" role="paragraph">Open the context menu for the object - choose <menuitem>Description</menuitem>.</paragraph>
+    </section>
+<section id="Shape_PositionSize">
+<paragraph role="paragraph" id="par_id921602059453828">Click on textbox or shape to select.</paragraph>
+<paragraph id="par_id3153099" role="paragraph"><variable id="position2">Choose <menuitem>Format - </menuitem><switchinline select="appl">
+  <caseinline select="WRITER"><menuitem>Text Box and Shape - </menuitem></caseinline>
+  <caseinline select="CALC"><menuitem>Object - </menuitem></caseinline>
+  <caseinline select="IMPRESS"><menuitem>Object and Shape - </menuitem> </caseinline></switchinline>
+   <menuitem>Position and Size - Position and Size</menuitem> tab.</variable>
+   <image id="img_id3150965" src="cmd/sc_transformdialog.svg" width="1cm" height="1cm"><alt id="alt_id3150965">Icon Position and Size</alt></image>
+  </paragraph>
+<paragraph role="paragraph" id="par_id361602065556003">Open context menu for selected object - choose <menuitem>Position and Size</menuitem> - <emph>Position and Size</emph> tab.</paragraph>
+<switch select="appl">
+<case select="CALC"></case>
+<case select="WRITER"></case>
+<default>
+<tip id="par_id971602065138382">Press <keycode>F4</keycode> after selection to open the tab directly.</tip>
+</default>
+</switch>
+</section>
     <section id="drehung">
         <paragraph id="par_id3152973" role="paragraph">Choose <emph>Format - </emph><switchinline select="appl"><caseinline select="WRITER"><emph>Text Box and Shape - </emph>
                     </caseinline><caseinline select="CALC"><emph>Object - </emph></caseinline></switchinline><emph>Position and Size - Rotation</emph> tab.</paragraph>
diff --git a/source/text/shared/01/05230100.xhp b/source/text/shared/01/05230100.xhp
index 7ab4bb94d..ec097d6b3 100644
--- a/source/text/shared/01/05230100.xhp
+++ b/source/text/shared/01/05230100.xhp
@@ -21,7 +21,7 @@
 <helpdocument version="1.0">
 <meta>
 <topic id="textshared0105230100xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Position and Size</title>
+<title id="tit" xml-lang="en-US">Position and Size (Text Box and Shape)</title>
 <filename>/text/shared/01/05230100.xhp</filename>
 </topic>
 <history>
@@ -43,7 +43,7 @@
 <paragraph role="paragraph" id="par_id3153255" xml-lang="en-US"><ahelp hid=".">Resizes or moves the selected object.</ahelp></paragraph>
 </section>
 <section id="howtoget">
-  <embed href="text/shared/00/00040502.xhp#position2"/>
+  <embed href="text/shared/00/00040502.xhp#Shape_PositionSize"/>
 </section>
 <switch select="appl">
 <case select="WRITER"></case>
@@ -67,7 +67,7 @@
 <paragraph role="paragraph" id="par_id31507749753" xml-lang="en-US">Specify the size of the selected object.</paragraph>
 </case>
 <default>
-<paragraph role="paragraph" id="par_id3150774" xml-lang="en-US">Specify the amount by which you want to resize the selected object with respect to the selected base point .</paragraph>
+<paragraph role="paragraph" id="par_id3150774" xml-lang="en-US">Specify the amount by which you want to resize the selected object with respect to the selected base point.</paragraph>
 </default>
 </switch>
 <bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/MTR_FLD_WIDTH" id="bm_id3150693" localize="false"/>
@@ -83,7 +83,7 @@
 <case select="WRITER">
    <embed href="text/swriter/01/05060100.xhp#AnchorHelp"/>
 <h3 id="hd_id731601417097805">To frame</h3>
-<paragraph role="paragraph" id="par_id181601417265098"><ahelp hid=".">Anchors the selection to the surrounding frame.</ahelp></paragraph> 
+<paragraph role="paragraph" id="par_id181601417265098"><ahelp hid=".">Anchors the selection to the surrounding frame.</ahelp></paragraph>
 </case>
 <default>
 <bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/CTL_SIZERECT" id="bm_id3153665" localize="false"/>
@@ -100,7 +100,8 @@
 <paragraph role="paragraph" id="par_id3152349" xml-lang="en-US"><ahelp hid="cui/ui/possizetabpage/TSB_SIZEPROTECT">Prevents you from resizing the object.</ahelp></paragraph>
 <switch select="appl">
 <case select="WRITER">
-  <embed href="text/swriter/01/05060100.xhp#PositionHelp"/>
+  <embed href="text/swriter/01/05060100.xhp#PositionHelp_1"/>
+  <embed href="text/swriter/01/05060100.xhp#PositionHelp_2"/>
 <h3 id="hd_id181601415126899">Follow text flow</h3>
 </case>
 <default>
@@ -114,14 +115,17 @@
 <paragraph role="paragraph" id="par_id31540680" xml-lang="en-US"><ahelp hid="cui/ui/possizetabpage/TSB_AUTOGROW_HEIGHT">Expands the height of the object to the height of the text, if the object is smaller than the text.</ahelp></paragraph>
 </default>
 </switch>
+<section id="relatedtopics">
 <switch select="appl">
 <case select="WRITER">
-<section id="relatedtopics">
 <paragraph role="paragraph" id="par_id3145606" xml-lang="en-US"><link href="text/swriter/guide/anchor_object.xhp" name="Anchor types">Positioning Objects</link></paragraph>
-</section>
 </case>
+<case select="CALC"></case>
 <default>
+<paragraph role="paragraph" id="par_id31456062468" xml-lang="en-US"><link href="text/sdraw/guide/rotate_object.xhp" name="Rotating Objects">Rotating Objects</link></paragraph>
 </default>
 </switch>
+<paragraph role="paragraph" id="par_id3145624967" xml-lang="en-US"><link href="text/shared/01/05230300.xhp" name="Rotation">Rotation</link></paragraph>
+</section>
 </body>
 </helpdocument>
diff --git a/source/text/swriter/01/05060100.xhp b/source/text/swriter/01/05060100.xhp
index c67c3f03e..ec11bffef 100644
--- a/source/text/swriter/01/05060100.xhp
+++ b/source/text/swriter/01/05060100.xhp
@@ -95,7 +95,7 @@
 <h3 id="hd_id3150115" xml-lang="en-US">As character</h3>
 <paragraph role="paragraph" id="par_id3155863" xml-lang="en-US"><ahelp hid=".">Anchors the selection as character. The height of the current line is resized to match the height of the selection.</ahelp></paragraph>
 </section>
-<section id="PositionHelp">
+<section id="PositionHelp_1">
 <h2 id="hd_id3150693" xml-lang="en-US">Position</h2>
 <paragraph role="paragraph" id="par_id3147413" xml-lang="en-US">Specify the location of the selected object on the current page.</paragraph>
 <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/horipos" id="bm_id3147500" localize="false"/>
@@ -115,7 +115,9 @@
 <bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/mirror" id="bm_id1756950" localize="false"/>
 <h3 id="hd_id3147746" xml-lang="en-US">Mirror on even pages</h3>
 <paragraph role="paragraph" id="par_id3146337" xml-lang="en-US"><ahelp hid=".">Reverses the current horizontal alignment settings on even pages.</ahelp></paragraph>
-<paragraph role="tip" id="par_id3148446" xml-lang="en-US">You can also use the <link href="text/swriter/01/05060300.xhp" name="Image"><emph>Image</emph></link> flip options to adjust the layout of objects on even and odd pages.</paragraph>
+</section>
+<tip id="par_id3148446" xml-lang="en-US">You can also use the <link href="text/swriter/01/05060300.xhp" name="Image"><emph>Image</emph></link> flip options to adjust the layout of objects on even and odd pages.</tip>
+<section id="PositionHelp_2">
 <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/vertpos" id="bm_id3145321" localize="false"/>
 <bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/vertpos" id="bm_id7322305" localize="false"/>
 <h3 id="hd_id3145310" xml-lang="en-US">Vertical</h3>


More information about the Libreoffice-commits mailing list