diff options
author | Seth Chaiklin <sdc.blanco@youmail.dk> | 2022-05-24 04:33:15 +0200 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2022-05-30 08:01:31 +0200 |
commit | 580f62a41db6366a3ab13bf16a96a643710605a3 (patch) | |
tree | 2829a60913a52a45538ca34c7991f0ddf3895610 /source/text/shared/01 | |
parent | 7bea4ecaa0fdc5dd19077c63f8901a4dde78cc67 (diff) |
tdf#149253 improve help about anchoring
shared/01/05260000.xhp (Anchor)
* corrected entries for "to page" and "to character"
- removed double presentation of "Anchor" icon
+ add <relatedtopics> for Writer, with link to guide page
on positioning objects
- moved "note" on "Frame", which has been present since
initial checkin in 2004, to after the option "To Frame"
There is nothing special or unusual about anchoring to frame
that needs attention. Maybe this note should be deleted, but
have left it for now.
+ added variable to <h1> so heading and link can be embedded
* refactor to <h1>,<note>
shared/01/05260100.xhp (To Page)
* elaborate explanation of this option
+ add related topics section and links
* refactor to <h1>
* update renamed German id
shared/01/05260200.xhp (To Paragraph)
+ add information about what positioning regions can be used.
+ add related topics section and links
* refactor to <h1>
* update renamed German id
shared/01/05260300.xhp (To Character)
- remove incorrect limitation
* generalize the tip from ”image” to include frame and OLE object
+ add related topics section and links
* refactor to <h1>
* update renamed German id
shared/01/05260400.xhp (To Cell)
+ add related topics section and links
* refactor to <h1>
* update renamed German id
shared/01/05260500.xhp (To Frame)
+ add related topics section and links
* refactor to <h1>
* update renamed German id
shared/01/05260600.xhp (As Character)
* correction to what changes the height of the current line
+ add related topics section and links
* refactor to <h1>
* update renamed German id
shared/02/03200000.xhp (Change Anchor)
* Update command name
* refactor to <h1>,<menuitem>
swriter/guide/anchor_object.xhp
* make explanation more general than image
+ adding headings for ”Moving an Anchor” and ”Changing an Anchor”
+ added section ids so these can be embedded elsewhere.
* refactor to <h1>
shared/00/00040501.xhp
+ add additional toolbars that have Anchor icon, and make
an switchinline because Calc and Writer are different
+ add context menu access
+ indicated need to select an object before using command
* rename German ids
Change-Id: I43881be154163f71ca188a5446385e2dc5805f1e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134786
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'source/text/shared/01')
-rw-r--r-- | source/text/shared/01/05260000.xhp | 31 | ||||
-rw-r--r-- | source/text/shared/01/05260100.xhp | 20 | ||||
-rw-r--r-- | source/text/shared/01/05260200.xhp | 25 | ||||
-rw-r--r-- | source/text/shared/01/05260300.xhp | 18 | ||||
-rw-r--r-- | source/text/shared/01/05260400.xhp | 15 | ||||
-rw-r--r-- | source/text/shared/01/05260500.xhp | 22 | ||||
-rw-r--r-- | source/text/shared/01/05260600.xhp | 20 |
7 files changed, 82 insertions, 69 deletions
diff --git a/source/text/shared/01/05260000.xhp b/source/text/shared/01/05260000.xhp index 77062dd857..18b1377cde 100644 --- a/source/text/shared/01/05260000.xhp +++ b/source/text/shared/01/05260000.xhp @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <helpdocument version="1.0"> - <!-- * This file is part of the LibreOffice project. * @@ -18,8 +17,6 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> - - <meta> <topic id="textshared0105260000xml" indexer="include"> <title id="tit" xml-lang="en-US">Anchor</title> @@ -29,35 +26,17 @@ <body> <section id="anchoring"> <bookmark xml-lang="en-US" branch="hid/.uno:AnchorMenu" id="bm_id9715262" localize="false"/> -<paragraph role="heading" id="hd_id3155913" xml-lang="en-US" level="1"><link href="text/shared/01/05260000.xhp" name="Anchoring">Anchor</link></paragraph> -<paragraph role="paragraph" id="par_id3145356" xml-lang="en-US"><ahelp hid=".">Sets the anchoring options for the selected object.</ahelp></paragraph> +<h1 id="hd_id3155913" xml-lang="en-US"><variable id="anchorh1"><link href="text/shared/01/05260000.xhp" name="Anchoring">Anchor</link></variable></h1> +<paragraph role="paragraph" id="par_id3145356" xml-lang="en-US"><ahelp hid=".">Shows anchoring options for the selected object.</ahelp></paragraph> </section> -<switch select="appl"> -<case select="WRITER"> -<paragraph role="note" id="par_id3150789" xml-lang="en-US">If the selected object is in a frame, you can also anchor the object to the frame.</paragraph> -</case> -</switch> <section id="howtoget"> <embed href="text/shared/00/00040501.xhp#anchoring"/> </section> -<embed href="text/shared/02/03200000.xhp#verankerungtext"/> -<switch select="appl"> -<case select="WRITER"><embed href="text/shared/00/00040501.xhp#syanchoring"/> -</case> -</switch> -<switch select="appl"> -<case select="CALC"><embed href="text/shared/00/00040501.xhp#anchorcalc"/> -</case> -</switch> -<embed href="text/shared/01/05260100.xhp#to_page"/> <switch select="appl"> <case select="CALC"><embed href="text/shared/01/05260400.xhp#to_cell"/> </case> </switch> -<switch select="appl"> -<case select="CALC"> -</case> -</switch> +<embed href="text/shared/01/05260100.xhp#to_page"/> <switch select="appl"> <case select="WRITER"><embed href="text/shared/01/05260200.xhp#to_paragraph"/> </case> @@ -72,6 +51,10 @@ </switch> <switch select="appl"> <case select="WRITER"><embed href="text/shared/01/05260500.xhp#to_frame"/> +<note id="par_id3150789" xml-lang="en-US">If the selected object is in a frame, you can also anchor the object to the frame.</note> +<section id="relatedtopics"> +<embed href="text/swriter/guide/anchor_object.xhp#anchor_object"/> +</section> </case> </switch> </body> diff --git a/source/text/shared/01/05260100.xhp b/source/text/shared/01/05260100.xhp index 08c2a77b54..ed03e717d4 100644 --- a/source/text/shared/01/05260100.xhp +++ b/source/text/shared/01/05260100.xhp @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <helpdocument version="1.0"> - <!-- * This file is part of the LibreOffice project. * @@ -19,7 +18,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> - <meta> <topic id="textshared0105260100xml" indexer="include"> <title id="tit" xml-lang="en-US">To Page</title> @@ -29,13 +27,23 @@ <body> <section id="to_page"> <bookmark xml-lang="en-US" branch="hid/.uno:SetAnchorToPage" id="bm_id3156045" localize="false"/> -<paragraph role="heading" id="hd_id3150278" xml-lang="en-US" level="1"><link href="text/shared/01/05260100.xhp" name="To Page">To Page</link></paragraph> -<paragraph role="paragraph" id="par_id3150756" xml-lang="en-US"><ahelp hid=".uno:SetAnchorToPage">Anchors the selected item to the current page.</ahelp></paragraph> +<h1 id="hd_id3150278" xml-lang="en-US"><link href="text/shared/01/05260100.xhp" name="To Page">To Page</link></h1> +<paragraph role="paragraph" id="par_id3150756" xml-lang="en-US"><ahelp hid=".uno:SetAnchorToPage">Anchors the selected object so that it always remains on the current page.</ahelp></paragraph> </section> -<paragraph role="paragraph" id="par_id3149987" xml-lang="en-US">The anchored item remains on the current page even if you insert or delete text.</paragraph> <section id="howtoget"> -<embed href="text/shared/00/00040501.xhp#anseite"/> +<embed href="text/shared/00/00040501.xhp#to-page"/> </section> +<paragraph role="paragraph" id="par_id781653782304845">Objects with this anchor can be positioned in relation to the entire page or in relation to the page’s text area.</paragraph> +<paragraph role="paragraph" id="par_id3149987" xml-lang="en-US">The position of the anchored object on the current page does not change as content and pages are added or removed from the document.</paragraph> +<paragraph role="paragraph" id="par_id11653782256765"> The current page remains in the document, with its current position in the sequence of pages, as long as the object is anchored to that page.</paragraph> <paragraph role="paragraph" id="par_id3152821" xml-lang="en-US">The anchor icon is displayed at the top left corner of the page.</paragraph> +<section id="relatedtopics"> +<switch select="appl"> +<case select="WRITER"> +<embed href="text/swriter/guide/anchor_object.xhp#anchor_object"/> +</case> +</switch> +<embed href="text/shared/01/05260000.xhp#anchorh1"/> +</section> </body> </helpdocument> diff --git a/source/text/shared/01/05260200.xhp b/source/text/shared/01/05260200.xhp index fb282b15dc..bebdae88b1 100644 --- a/source/text/shared/01/05260200.xhp +++ b/source/text/shared/01/05260200.xhp @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> - - +<helpdocument version="1.0"> <!-- * This file is part of the LibreOffice project. * @@ -19,7 +18,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> -<helpdocument version="1.0"> <meta> <topic id="textshared0105260200xml" indexer="include" status="PUBLISH"> <title xml-lang="en-US" id="tit">To Paragraph</title> @@ -30,16 +28,23 @@ </history> </meta> <body> - - - <section id="to_paragraph"> +<section id="to_paragraph"> <bookmark branch="hid/.uno:SetAnchorToPara" xml-lang="en-US" id="bm_id3156053" localize="false"/> -<paragraph id="hd_id3151260" role="heading" level="1" xml-lang="en-US"><link href="text/shared/01/05260200.xhp" name="To Paragraph">To Paragraph</link></paragraph> - <paragraph role="paragraph" id="par_id3155271" xml-lang="en-US"><ahelp hid=".uno:SetAnchorToPara" visibility="visible">Anchors the selected item to the current paragraph.</ahelp></paragraph> +<h1 id="hd_id3151260" xml-lang="en-US"><link href="text/shared/01/05260200.xhp" name="To Paragraph">To Paragraph</link></h1> + <paragraph role="paragraph" id="par_id3155271" xml-lang="en-US"><ahelp hid=".uno:SetAnchorToPara" visibility="visible">Anchors the selected object to the current paragraph.</ahelp></paragraph> </section> <section id="howtoget"> - <embed href="text/shared/00/00040501.xhp#amabsatz"/> + <embed href="text/shared/00/00040501.xhp#to-paragraph"/> </section> + <paragraph role="paragraph" id="par_id271653783242132">Objects with this anchor can be positioned in relation to the page or its text area, as well as the paragraph or its text area.</paragraph> <paragraph role="paragraph" id="par_id3154926" xml-lang="en-US">The anchor icon is displayed at the left page margin at the beginning of the paragraph.</paragraph> - </body> +<section id="relatedtopics"> +<switch select="appl"> +<case select="WRITER"> +<embed href="text/swriter/guide/anchor_object.xhp#anchor_object"/> +</case> +</switch> +<embed href="text/shared/01/05260000.xhp#anchorh1"/> +</section> +</body> </helpdocument> diff --git a/source/text/shared/01/05260300.xhp b/source/text/shared/01/05260300.xhp index 3c5d69b7e9..766d7f0e35 100644 --- a/source/text/shared/01/05260300.xhp +++ b/source/text/shared/01/05260300.xhp @@ -29,15 +29,23 @@ <case select="WRITER"> <section id="to_character"> <bookmark xml-lang="en-US" branch="hid/.uno:SetAnchorToChar" id="bm_id9823184" localize="false"/> -<paragraph role="heading" id="hd_id3154044" xml-lang="en-US" level="1"><link href="text/shared/01/05260300.xhp" name="To Character">To Character</link></paragraph> -<paragraph role="paragraph" id="par_id3147069" xml-lang="en-US"><ahelp hid=".">Anchors the selected item to a character.</ahelp> This command is only available for graphic objects.</paragraph> +<h1 id="hd_id3154044" xml-lang="en-US"><link href="text/shared/01/05260300.xhp" name="To Character">To Character</link></h1> +<paragraph role="paragraph" id="par_id3147069" xml-lang="en-US"><ahelp hid=".">Anchors the selected object to a character.</ahelp></paragraph> </section> <section id="howtoget"> -<embed href="text/shared/00/00040501.xhp#amzeichen"/> +<embed href="text/shared/00/00040501.xhp#to-character"/> </section> -<paragraph role="paragraph" id="par_id3146067" xml-lang="en-US">The anchor is displayed in front of the character.</paragraph> -<paragraph role="tip" id="par_id3152924" xml-lang="en-US">To align a graphic relative to the character that it is anchored to, right-click the graphic, and then choose <emph>Properties</emph>. Click the <emph>Type</emph> tab, and in the <emph>Position</emph> area, select <emph>Character</emph> in the <emph>to</emph> boxes.</paragraph> +<paragraph role="paragraph" id="par_id3146067" xml-lang="en-US">The character immediately before the anchor position is used for positioning in relation to the <menuitem>Character</menuitem> region and the <menuitem>Line of text</menuitem> reference line.</paragraph> +<tip id="par_id3152924" xml-lang="en-US">To align an image, frame, or OLE object relative to the anchored character, right-click the object, and choose <menuitem>Properties</menuitem>. Click the <menuitem>Position and Size</menuitem> tab, and in the <menuitem>Position</menuitem> area, select <menuitem>Character</menuitem> in the <menuitem>to</menuitem> boxes.</tip> </case> </switch> +<section id="relatedtopics"> +<switch select="appl"> +<case select="WRITER"> +<embed href="text/swriter/guide/anchor_object.xhp#anchor_object"/> +</case> +</switch> +<embed href="text/shared/01/05260000.xhp#anchorh1"/> +</section> </body> </helpdocument> diff --git a/source/text/shared/01/05260400.xhp b/source/text/shared/01/05260400.xhp index 04096fc659..96fa1584d2 100644 --- a/source/text/shared/01/05260400.xhp +++ b/source/text/shared/01/05260400.xhp @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> - - +<helpdocument version="1.0"> <!-- * This file is part of the LibreOffice project. * @@ -19,7 +18,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> -<helpdocument version="1.0"> <meta> <topic id="textshared0105260400xml" indexer="include" status="PUBLISH"> <title xml-lang="en-US" id="tit">To Cell</title> @@ -30,15 +28,16 @@ </history> </meta> <body> - - - <section id="to_cell"> +<section id="to_cell"> <bookmark branch="hid/.uno:SetAnchorToCell" xml-lang="en-US" id="bm_id3155620" localize="false"/> -<paragraph id="hd_id3147212" role="heading" level="1" xml-lang="en-US"><link href="text/shared/01/05260400.xhp" name="To Cell">To Cell</link></paragraph> +<h1 id="hd_id3147212" xml-lang="en-US"><link href="text/shared/01/05260400.xhp" name="To Cell">To Cell</link></h1> <paragraph role="paragraph" id="par_id3150794" xml-lang="en-US"><ahelp hid=".uno:SetAnchorToCell" visibility="visible">Anchors the selected item to a cell.</ahelp> The anchor icon is displayed in the upper left corner of the cell.</paragraph> </section> <section id="howtoget"> - <embed href="text/shared/00/00040501.xhp#anderzelle"/> + <embed href="text/shared/00/00040501.xhp#to-cell"/> +</section> +<section id="relatedtopics"> +<embed href="text/shared/01/05260000.xhp#anchorh1"/> </section> </body> </helpdocument> diff --git a/source/text/shared/01/05260500.xhp b/source/text/shared/01/05260500.xhp index 67b5b07a60..69dd84054f 100644 --- a/source/text/shared/01/05260500.xhp +++ b/source/text/shared/01/05260500.xhp @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> - - +<helpdocument version="1.0"> <!-- * This file is part of the LibreOffice project. * @@ -19,7 +18,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> -<helpdocument version="1.0"> <meta> <topic id="textshared0105260500xml" indexer="include" status="PUBLISH"> <title xml-lang="en-US" id="tit">To Frame</title> @@ -30,15 +28,21 @@ </history> </meta> <body> - - - <section id="to_frame"> +<section id="to_frame"> <bookmark branch="hid/.uno:SetAnchorToFrame" xml-lang="en-US" id="bm_id3146959" localize="false"/> -<paragraph id="hd_id3149991" role="heading" level="1" xml-lang="en-US"><link href="text/shared/01/05260500.xhp" name="To Frame">To Frame</link></paragraph> - <paragraph role="paragraph" id="par_id3159242" xml-lang="en-US"><ahelp hid=".uno:SetAnchorToFrame" visibility="visible">Anchors the selected item to the surrounding frame.</ahelp></paragraph> +<h1 id="hd_id3149991" xml-lang="en-US"><link href="text/shared/01/05260500.xhp" name="To Frame">To Frame</link></h1> +<paragraph role="paragraph" id="par_id3159242" xml-lang="en-US"><ahelp hid=".uno:SetAnchorToFrame" visibility="visible">Anchors the selected object to a surrounding frame.</ahelp></paragraph> </section> <section id="howtoget"> - <embed href="text/shared/00/00040501.xhp#amrahmen"/> + <embed href="text/shared/00/00040501.xhp#to-frame"/> +</section> +<section id="relatedtopics"> +<switch select="appl"> +<case select="WRITER"> +<embed href="text/swriter/guide/anchor_object.xhp#anchor_object"/> +</case> +</switch> +<embed href="text/shared/01/05260000.xhp#anchorh1"/> </section> </body> </helpdocument> diff --git a/source/text/shared/01/05260600.xhp b/source/text/shared/01/05260600.xhp index bb900db469..027eadb2c9 100644 --- a/source/text/shared/01/05260600.xhp +++ b/source/text/shared/01/05260600.xhp @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<helpdocument version="1.0"> - +<helpdocument version="1.0"> <!-- * This file is part of the LibreOffice project. * @@ -18,8 +17,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> - - + <meta> <topic id="textshared0105260600xml" indexer="include"> <title id="tit" xml-lang="en-US">As Character</title> @@ -30,11 +28,19 @@ <section id="as_character"> <bookmark xml-lang="en-US" branch="hid/.uno:SetAnchorAsChar" id="bm_id9494613" localize="false"/> <bookmark xml-lang="en-US" branch="hid/.uno:SetAnchorToChar" id="bm_id080120080342379" localize="false"/> -<paragraph role="heading" id="hd_id3154621" xml-lang="en-US" level="1"><link href="text/shared/01/05260600.xhp" name="As Character">As Character</link></paragraph> -<paragraph role="paragraph" id="par_id3146946" xml-lang="en-US"><ahelp hid=".">Anchors the selected item as a character in the current text. If the height of the selected item is greater than the current font size, the height of the line containing the item is increased.</ahelp></paragraph> +<h1 id="hd_id3154621" xml-lang="en-US"><link href="text/shared/01/05260600.xhp" name="As Character">As Character</link></h1> +<paragraph role="paragraph" id="par_id3146946" xml-lang="en-US"><ahelp hid=".">Anchors the selected object as a character in the current text. The height of the current line of text is extended, if the object is above (and/or below) the border for the highest character or object in the current line of text.</ahelp></paragraph> </section> <section id="howtoget"> -<embed href="text/shared/00/00040501.xhp#alszeichen"/> +<embed href="text/shared/00/00040501.xhp#as-character"/> +</section> +<section id="relatedtopics"> +<switch select="appl"> +<case select="WRITER"> +<embed href="text/swriter/guide/anchor_object.xhp#anchor_object"/> +</case> +</switch> +<embed href="text/shared/01/05260000.xhp#anchorh1"/> </section> </body> </helpdocument> |