help3xsl/default.css | 4 +- source/text/swriter/guide/anchor_object.xhp | 49 +++++++++++----------------- 2 files changed, 23 insertions(+), 30 deletions(-)
New commits: commit 2b2ed1b46283db1db64e5f36ee31f8be124b20e1 Author: Olivier Hallot <[email protected]> AuthorDate: Mon Jul 27 16:39:09 2026 -0300 Commit: Olivier Hallot <[email protected]> CommitDate: Tue Jul 28 15:27:40 2026 +0200 Change left margin for paragraphs in table Change-Id: I810840cfad3b8be45440024b6a4bd338f53dfe3f Reviewed-on: https://gerrit.libreoffice.org/c/help/+/208689 Reviewed-by: Olivier Hallot <[email protected]> Tested-by: Jenkins diff --git a/help3xsl/default.css b/help3xsl/default.css index 1b799ffead..df7bfba75d 100644 --- a/help3xsl/default.css +++ b/help3xsl/default.css @@ -280,7 +280,9 @@ html[dir="ltr"] th { .table_font_small { font-size: 0.98rem; } - +p.tablecontentintable, p.tableheadintable{ + margin-left: 5px; +} /* ScriptForge service tables */ .sf_table { min-width: 100%; commit 7cb69659e7413a3f936553e0c4670e4e889d1c55 Author: Olivier Hallot <[email protected]> AuthorDate: Mon Jul 27 16:38:14 2026 -0300 Commit: Olivier Hallot <[email protected]> CommitDate: Tue Jul 28 15:27:28 2026 +0200 tdf#170717 "To page" anchoring is no more. + Refactor Change-Id: Iedf5fe2f25af6f9dbab7fd132708e9e693fc4aac Reviewed-on: https://gerrit.libreoffice.org/c/help/+/208688 Tested-by: Jenkins Reviewed-by: Olivier Hallot <[email protected]> diff --git a/source/text/swriter/guide/anchor_object.xhp b/source/text/swriter/guide/anchor_object.xhp index dbcba701db..0665978a0c 100644 --- a/source/text/swriter/guide/anchor_object.xhp +++ b/source/text/swriter/guide/anchor_object.xhp @@ -20,14 +20,14 @@ <meta> <topic id="textswriterguideanchor_objectxml" indexer="include" status="PUBLISH"> - <title id="tit" xml-lang="en-US">Positioning Objects</title> + <title id="tit">Positioning Objects</title> <filename>/text/swriter/guide/anchor_object.xhp</filename> </topic> </meta> <body> -<bookmark xml-lang="en-US" branch="index" id="bm_id3147828"> +<bookmark branch="index" id="bm_id3147828"> <bookmark_value>objects;anchoring options</bookmark_value> <bookmark_value>positioning;objects (guide)</bookmark_value> <bookmark_value>anchors;options</bookmark_value> @@ -36,62 +36,53 @@ <bookmark_value>centering;images on HTML pages</bookmark_value> </bookmark> - -<h1 id="hd_id3147828" xml-lang="en-US"><variable id="anchor_object"><link href="text/swriter/guide/anchor_object.xhp">Positioning Objects</link></variable></h1> -<paragraph id="par_id181634295881266" role="paragraph" xml-lang="en-US">An object, such as an image or frame, is positioned within a document using an anchor attached to another element.</paragraph> -<paragraph id="par_id41634291500513" role="paragraph" xml-lang="en-US">An anchor determines the reference point for an object. The reference point could be the page or frame where the object is, a paragraph, or even a character. An object always has an anchor.</paragraph> -<paragraph id="par_id3147251" role="paragraph" xml-lang="en-US">An anchor moves with the element it is attached to as the document is edited. An object retains its position relative to the reference point determined by its anchor, such that, whenever the reference point moves or changes, the object moves relative to it.</paragraph> -<paragraph id="par_id441634291545244" role="paragraph" xml-lang="en-US">The following anchoring options are available:</paragraph> +<h1 id="hd_id3147828"><variable id="anchor_object"><link href="text/swriter/guide/anchor_object.xhp">Positioning Objects</link></variable></h1> +<description id="par_id181634295881266">An object, such as an image or frame, is positioned within a document using an anchor attached to another element.</description> +<paragraph id="par_id41634291500513" role="paragraph">An anchor determines the reference point for an object. The reference point could be the page or frame where the object is, a paragraph, or even a character. An object always has an anchor.</paragraph> +<paragraph id="par_id3147251" role="paragraph">An anchor moves with the element it is attached to as the document is edited. An object retains its position relative to the reference point determined by its anchor, such that, whenever the reference point moves or changes, the object moves relative to it.</paragraph> +<paragraph id="par_id441634291545244" role="paragraph">The following anchoring options are available:</paragraph> <table id="tbl_id3147268"> <tablerow> <tablecell> - <paragraph id="par_id3145599" role="tablehead" xml-lang="en-US">Anchoring</paragraph> - </tablecell> - <tablecell> - <paragraph id="par_id3145622" role="tablehead" xml-lang="en-US">Effect</paragraph> - </tablecell> - </tablerow> - <tablerow> - <tablecell> - <paragraph id="par_id3145650" role="tablecontent" xml-lang="en-US">As character</paragraph> + <paragraph id="par_id3145599" role="tablehead">Anchoring</paragraph> </tablecell> <tablecell> - <paragraph id="par_id3151181" role="tablecontent" xml-lang="en-US">Anchors the selected object as a character in the current text. If the height of the selected object is greater than the current font size, the height of the line containing the object is increased.</paragraph> - <paragraph id="par_idN10674" role="tablecontent" xml-lang="en-US">To center an image on an HTML page, insert the image, anchor it "as character", then center the paragraph.</paragraph> + <paragraph id="par_id3145622" role="tablehead">Effect</paragraph> </tablecell> </tablerow> <tablerow> <tablecell> - <paragraph id="par_id3151212" role="tablecontent" xml-lang="en-US">To character</paragraph> + <paragraph id="par_id3145650" role="tablecontent">As character</paragraph> </tablecell> <tablecell> - <paragraph id="par_id3151235" role="tablecontent" xml-lang="en-US">Anchors the selected object to the paragraph that contains the character to which the anchor is attached. The reference point for the object is the start of the paragraph that contains the character.</paragraph> - <paragraph id="par_id261634292505179" role="tablecontent" xml-lang="en-US">For example, if you split the paragraph at a point before the anchor, the reference point moves to the start of the new paragraph and the object moves relative to that point. If you join the paragraph to the one before it, the reference point moves to the start of the combined paragraph and the object moves to a position relative to that.</paragraph> + <paragraph id="par_id3151181" role="tablecontent">Anchors the selected object as a character in the current text. If the height of the selected object is greater than the current font size, the height of the line containing the object is increased.</paragraph> + <paragraph id="par_idN10674" role="tablecontent">To center an image on an HTML page, insert the image, anchor it "as character", then center the paragraph.</paragraph> </tablecell> </tablerow> <tablerow> <tablecell> - <paragraph id="par_id3155071" role="tablecontent" xml-lang="en-US">To paragraph</paragraph> + <paragraph id="par_id3151212" role="tablecontent">To character</paragraph> </tablecell> <tablecell> - <paragraph id="par_id3155094" role="tablecontent" xml-lang="en-US">Anchors the selected object to the current paragraph.</paragraph> + <paragraph id="par_id3151235" role="tablecontent">Anchors the selected object to the paragraph that contains the character to which the anchor is attached. The reference point for the object is the start of the paragraph that contains the character.</paragraph> + <paragraph id="par_id261634292505179" role="tablecontent">For example, if you split the paragraph at a point before the anchor, the reference point moves to the start of the new paragraph and the object moves relative to that point. If you join the paragraph to the one before it, the reference point moves to the start of the combined paragraph and the object moves to a position relative to that.</paragraph> </tablecell> </tablerow> <tablerow> <tablecell> - <paragraph id="par_id3155122" role="tablecontent" xml-lang="en-US">To page</paragraph> + <paragraph id="par_id3155071" role="tablecontent">To paragraph</paragraph> </tablecell> <tablecell> - <paragraph id="par_id3155144" role="tablecontent" xml-lang="en-US">Anchors the selected object to the current page.</paragraph> + <paragraph id="par_id3155094" role="tablecontent">Anchors the selected object to the current paragraph.</paragraph> </tablecell> </tablerow> <tablerow> <tablecell> - <paragraph id="par_id3145674" role="tablecontent" xml-lang="en-US">To frame</paragraph> + <paragraph id="par_id3145674" role="tablecontent">To frame</paragraph> </tablecell> <tablecell> - <paragraph id="par_id3145697" role="tablecontent" xml-lang="en-US">Anchors the selected object to the surrounding frame.</paragraph> + <paragraph id="par_id3145697" role="tablecontent">Anchors the selected object to the surrounding frame.</paragraph> </tablecell> </tablerow> </table> @@ -99,7 +90,7 @@ <section id="anchor_moving"> <h2 id="hd_id341653868751593">Moving an Anchor</h2> <section id="anchor_moving_text"> -<paragraph id="par_id3145715" role="paragraph" xml-lang="en-US">When you insert a shape, textbox, OLE object, image, or frame in your document, an anchor icon appears where the object is anchored. You can move an anchor or, keeping other object constraints in mind, position an object relative to the anchor's reference point by dragging the object. </paragraph> +<paragraph id="par_id3145715" role="paragraph">When you insert a shape, textbox, OLE object, image, or frame in your document, an anchor icon appears where the object is anchored. You can move an anchor or, keeping other object constraints in mind, position an object relative to the anchor's reference point by dragging the object. </paragraph> </section> </section> <section id="anchor_changing">
