summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorSeth Chaiklin <sdc.blanco@youmail.dk>2020-10-21 12:19:29 +0200
committerSeth Chaiklin <sdc.blanco@youmail.dk>2020-10-21 12:32:28 +0200
commitd5943b6dbf5be06d643adda6a3b8435d2c74ea4b (patch)
tree75b632b7b6858d57c0b9ab8543e713f144a543eb /source
parent4e23c544175f1f26a9222f14391888bc701c1c74 (diff)
tdf#137141 - untangle module switches for Position
Change-Id: I69ff977ac0e62b47df2e3b748fcdf641a4b17bee Reviewed-on: https://gerrit.libreoffice.org/c/help/+/104592 Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk> Tested-by: Jenkins
Diffstat (limited to 'source')
-rw-r--r--source/text/shared/01/05230100.xhp56
1 files changed, 32 insertions, 24 deletions
diff --git a/source/text/shared/01/05230100.xhp b/source/text/shared/01/05230100.xhp
index 8d17572584..6dfd7ea71a 100644
--- a/source/text/shared/01/05230100.xhp
+++ b/source/text/shared/01/05230100.xhp
@@ -46,19 +46,25 @@
<embed href="text/shared/00/00040502.xhp#Shape_PositionSize"/>
</section>
<switch select="appl">
-<case select="WRITER"></case>
-<default>
+ <case select="WRITER"></case>
+ <default>
<h2 id="hd_id3158405" xml-lang="en-US">Position</h2>
<paragraph role="paragraph" id="par_id3159201" xml-lang="en-US">Specify the location of the selected object on the page.</paragraph>
+ </default>
+</switch>
<switch select="appl">
+ <case select="WRITER"></case>
<case select="CALC">
<paragraph role="paragraph" id="par_id891602774200160">Coordinate axes start at column A - row 1.</paragraph>
<note id="par_id711602774229336">X-coordinates are negative in a "right-to-left" table.</note>
</case>
<default><comment>DRAW/IMPRESS</comment>
<note id="par_id491602774311111">Coordinates are relative to the origin. Left/top corner of the page content area is the initial default.</note>
-</default>
+ </default>
</switch>
+<switch select="appl">
+ <case select="WRITER"></case>
+ <default>
<bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/MTR_FLD_POS_X" id="bm_id3154184" localize="false"/>
<h3 id="hd_id3157896" xml-lang="en-US">Position X</h3>
<paragraph role="paragraph" id="par_id3155616" xml-lang="en-US"><ahelp hid="cui/ui/possizetabpage/MTR_FLD_POS_X">Enter the horizontal coordinate where the selected base point should be placed.</ahelp></paragraph>
@@ -69,16 +75,16 @@
<h3 id="hd_id3147834" xml-lang="en-US">Base point</h3>
<paragraph role="paragraph" id="par_id3147008" xml-lang="en-US"><ahelp hid="cui/ui/possizetabpage/CTL_POSRECT">The selected base point will be moved to the specified <emph>Position Y</emph> and <emph>Position X</emph>.</ahelp></paragraph>
<note id="par_id61602773901231">The base point always returns to the left/top corner on reopening the dialog.</note>
-</default>
+ </default>
</switch>
<h2 id="hd_id3155942" xml-lang="en-US">Size</h2>
<switch select="appl">
-<case select="WRITER">
+ <case select="WRITER">
<paragraph role="paragraph" id="par_id31507749753" xml-lang="en-US">Specify the size of the selected object.</paragraph>
-</case>
-<default>
+ </case>
+ <default>
<paragraph role="paragraph" id="par_id3150774" xml-lang="en-US">Resize the selected object to the chosen width and height relative to the selected base point.</paragraph>
-</default>
+ </default>
</switch>
<bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/MTR_FLD_WIDTH" id="bm_id3150693" localize="false"/>
<h3 id="hd_id3143267" xml-lang="en-US">Width</h3>
@@ -89,25 +95,27 @@
<bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/CBX_SCALE" id="bm_id3156327" localize="false"/>
<h3 id="hd_id3149796" xml-lang="en-US">Keep ratio</h3>
<paragraph role="paragraph" id="par_id3155341" xml-lang="en-US"><ahelp hid="cui/ui/possizetabpage/CBX_SCALE">Maintains the width and height ratio when changing the width or height setting in the dialog box.</ahelp></paragraph>
- <switch select="appl">
-<case select="WRITER"></case>
-<default>
+<switch select="appl">
+ <case select="WRITER"></case>
+ <default>
<note id="par_id501602631263504">Only for shapes.</note>
-</default>
+ </default>
</switch>
+
<switch select="appl">
-<case select="WRITER">
- <embed href="text/swriter/01/05060100.xhp#AnchorHelp"/>
+ <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>
-</case>
-<default>
+ </case>
+ <default>
<bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/CTL_SIZERECT" id="bm_id3153665" localize="false"/>
<h3 id="hd_id3148686" xml-lang="en-US">Base point</h3>
<paragraph role="paragraph" id="par_id3154897" xml-lang="en-US"><ahelp hid="cui/ui/possizetabpage/CTL_SIZERECT">Click a base point in the grid, and then enter the new size dimensions for the selected object in the <emph>Width</emph> and <emph>Height</emph> boxes.</ahelp></paragraph>
<note id="par_id501602631133297">The selected base point remains fixed in the grid. The object is resized relative to that point.</note>
-</default>
+ </default>
</switch>
+
<h2 id="hd_id3148990" xml-lang="en-US">Protect</h2>
<bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/TSB_POSPROTECT" id="bm_id3153717" localize="false"/>
<h3 id="hd_id3153698" xml-lang="en-US">Position</h3>
@@ -116,12 +124,12 @@
<h3 id="hd_id3153254" xml-lang="en-US">Size</h3>
<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_1"/>
- <embed href="text/swriter/01/05060100.xhp#PositionHelp_2"/>
- <embed href="text/swriter/01/05060100.xhp#keep_inside_text_bnd"/>
-</case>
-<default>
+ <case select="WRITER">
+ <embed href="text/swriter/01/05060100.xhp#PositionHelp_1"/>
+ <embed href="text/swriter/01/05060100.xhp#PositionHelp_2"/>
+ <embed href="text/swriter/01/05060100.xhp#keep_inside_text_bnd"/>
+ </case>
+ <default>
<h2 id="hd_id3153525" xml-lang="en-US">Adapt</h2>
<paragraph role="paragraph" id="par_id31512110" xml-lang="en-US">Specifies, if the size of a drawing object should be adjusted to fit the size of entered text.</paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/TSB_AUTOGROW_WIDTH" id="bm_id3150290" localize="false"/>
@@ -131,7 +139,7 @@
<h3 id="hd_id3145746" xml-lang="en-US">Fit height to text</h3>
<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>
<note id="par_id591602522244128">Adapt is only available for Text Boxes. To adapt Shapes to text, use <menuitem>Format</menuitem><switchinline select="appl"><caseinline select="CALC"><menuitem> - Object</menuitem></caseinline></switchinline><menuitem> - Text</menuitem></note>
-</default>
+ </default>
</switch>
<section id="relatedtopics">
<switch select="appl">