diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2023-08-01 16:26:57 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2023-08-02 10:39:33 +0200 |
commit | 9415fea9cfb6f28c9e2214736aabee2cff5fea40 (patch) | |
tree | 4cee006025d896c97059bc8f24695711af92049a | |
parent | cf513784b53bc12d95e39c326555831135a46f42 (diff) |
tdf#135837 - Update anchoring of images in Writer
+ refactor
Change-Id: Iee9f1bdc846d67dfc2d9a1b12782bd7203f8fb21
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/155200
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r-- | source/text/swriter/01/05060100.xhp | 150 |
1 files changed, 75 insertions, 75 deletions
diff --git a/source/text/swriter/01/05060100.xhp b/source/text/swriter/01/05060100.xhp index ae2aa5c19a..910c51a0d6 100644 --- a/source/text/swriter/01/05060100.xhp +++ b/source/text/swriter/01/05060100.xhp @@ -20,72 +20,72 @@ <meta> <topic id="textswriter0105060100xml" indexer="include" status="PUBLISH"> - <title id="tit" xml-lang="en-US">Position and Size</title> + <title id="tit">Position and Size</title> <filename>/text/swriter/01/05060100.xhp</filename> </topic> </meta> <body> <section id="type"> - <bookmark xml-lang="en-US" branch="index" id="bm_id9646290"><bookmark_value>resizing;aspect ratio</bookmark_value> + <bookmark branch="index" id="bm_id9646290"><bookmark_value>resizing;aspect ratio</bookmark_value> <bookmark_value>aspect ratio;resizing objects</bookmark_value> </bookmark><comment>UFI: new index entries, see i54237</comment> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/@@nowidget@@" id="bm_@@nowidget@@" localize="false"/> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/FrameTypePage" id="bm_id3147406" localize="false"/> - <h1 id="hd_id3151389" xml-lang="en-US"><link href="text/swriter/01/05060100.xhp">Position and Size</link></h1> - <paragraph role="paragraph" id="par_id3150568" xml-lang="en-US"><ahelp hid=".">Specifies the size and the position of the selected image, frame, or OLE object on a page.</ahelp></paragraph> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/@@nowidget@@" id="bm_@@nowidget@@" localize="false"/> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/FrameTypePage" id="bm_id3147406" localize="false"/> + <h1 id="hd_id3151389"><link href="text/swriter/01/05060100.xhp">Position and Size</link></h1> + <paragraph role="paragraph" id="par_id3150568"><ahelp hid=".">Specifies the size and the position of the selected image, frame, or OLE object on a page.</ahelp></paragraph> </section> <section id="howtoget"> <embed href="text/swriter/00/00000405.xhp#graphics_type"/> </section> - <h2 id="hd_id3147168" xml-lang="en-US">Size</h2> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/width" id="bm_id3150761" localize="false"/> - <h3 id="hd_id3147567" xml-lang="en-US">Width</h3> - <paragraph role="paragraph" id="par_id3151180" xml-lang="en-US"><ahelp hid=".">Enter the width that you want for the selected object.</ahelp></paragraph> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/relwidth" id="bm_id3151177" localize="false"/> - <h3 id="hd_id3154646" xml-lang="en-US">Relative</h3> - <paragraph role="paragraph" id="par_id3145413" xml-lang="en-US"><ahelp hid="modules/swriter/ui/frmtypepage/relwidth">Calculates the width of the selected object as a percentage of the width of the page text area.</ahelp></paragraph> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/relwidthrelation" id="bm_id3151178" localize="false"/> - <h3 id="hd_id3154647" xml-lang="en-US">Relative width relation</h3> - <paragraph role="paragraph" id="par_id3145414" xml-lang="en-US"><ahelp hid="modules/swriter/ui/frmtypepage/relwidthrelation">Decides what 100% width means: either text area (excluding margins) or the entire page (including margins).</ahelp></paragraph> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/height" id="bm_id3152948" localize="false"/> - <h3 id="hd_id3147516" xml-lang="en-US">Height</h3> - <paragraph role="paragraph" id="par_id3154099" xml-lang="en-US"><ahelp hid=".">Enter the height that you want for the selected object.</ahelp></paragraph> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/relheight" id="bm_id3153535" localize="false"/> - <h3 id="hd_id3149809" xml-lang="en-US">Relative</h3> - <paragraph role="paragraph" id="par_id3154563" xml-lang="en-US"><ahelp hid="modules/swriter/ui/frmtypepage/relheight">Calculates the height of the selected object as a percentage of the height of the page text area.</ahelp></paragraph> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/relheightrelation" id="bm_id3151179" localize="false"/> - <h3 id="hd_id3154648" xml-lang="en-US">Relative height relation</h3> - <paragraph role="paragraph" id="par_id3145415" xml-lang="en-US"><ahelp hid="modules/swriter/ui/frmtypepage/relheightrelation">Decides what 100% height means: either text area (excluding margins) or the entire page (including margins).</ahelp></paragraph> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/ratio" id="bm_id3153668" localize="false"/> - <h3 id="hd_id3151313" xml-lang="en-US">Keep ratio</h3> - <paragraph role="paragraph" id="par_id3153675" xml-lang="en-US"><ahelp hid=".">Maintains the height and width ratio when you change the width or the height setting.</ahelp></paragraph> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/origsize" id="bm_id3154482" localize="false"/> - <h3 id="hd_id3154470" xml-lang="en-US">Original Size</h3> - <paragraph role="paragraph" id="par_id3155898" xml-lang="en-US"><ahelp hid="modules/swriter/ui/frmtypepage/origsize">Resets the size settings of the selected object to the original values.</ahelp></paragraph> - <note id="par_id3149102" xml-lang="en-US">This option is not available for frames.</note> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/autoheight" id="bm_id3151255" localize="false"/> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/autowidth" id="bm_id358592" localize="false"/> - <h3 id="hd_id3149824" xml-lang="en-US">Automatic</h3> - <paragraph role="paragraph" id="par_id3151262" xml-lang="en-US"><ahelp hid="modules/swriter/ui/frmtypepage/autoheight">Automatically adjusts the width or height of a frame to match the contents of the frame. If you want, you can specify a minimum width or minimum height for the frame.</ahelp></paragraph> - <paragraph role="note" id="par_id3152773" xml-lang="en-US">The <emph>Automatic</emph> option is only available when you select a frame.</paragraph> + <h2 id="hd_id3147168">Size</h2> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/width" id="bm_id3150761" localize="false"/> + <h3 id="hd_id3147567">Width</h3> + <paragraph role="paragraph" id="par_id3151180"><ahelp hid=".">Enter the width that you want for the selected object.</ahelp></paragraph> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/relwidth" id="bm_id3151177" localize="false"/> + <h3 id="hd_id3154646">Relative</h3> + <paragraph role="paragraph" id="par_id3145413"><ahelp hid="modules/swriter/ui/frmtypepage/relwidth">Calculates the width of the selected object as a percentage of the width of the page text area.</ahelp></paragraph> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/relwidthrelation" id="bm_id3151178" localize="false"/> + <h3 id="hd_id3154647">Relative width relation</h3> + <paragraph role="paragraph" id="par_id3145414"><ahelp hid="modules/swriter/ui/frmtypepage/relwidthrelation">Decides what 100% width means: either text area (excluding margins) or the entire page (including margins).</ahelp></paragraph> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/height" id="bm_id3152948" localize="false"/> + <h3 id="hd_id3147516">Height</h3> + <paragraph role="paragraph" id="par_id3154099"><ahelp hid=".">Enter the height that you want for the selected object.</ahelp></paragraph> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/relheight" id="bm_id3153535" localize="false"/> + <h3 id="hd_id3149809">Relative</h3> + <paragraph role="paragraph" id="par_id3154563"><ahelp hid="modules/swriter/ui/frmtypepage/relheight">Calculates the height of the selected object as a percentage of the height of the page text area.</ahelp></paragraph> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/relheightrelation" id="bm_id3151179" localize="false"/> + <h3 id="hd_id3154648">Relative height relation</h3> + <paragraph role="paragraph" id="par_id3145415"><ahelp hid="modules/swriter/ui/frmtypepage/relheightrelation">Decides what 100% height means: either text area (excluding margins) or the entire page (including margins).</ahelp></paragraph> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/ratio" id="bm_id3153668" localize="false"/> + <h3 id="hd_id3151313">Keep ratio</h3> + <paragraph role="paragraph" id="par_id3153675"><ahelp hid=".">Maintains the height and width ratio when you change the width or the height setting.</ahelp></paragraph> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/origsize" id="bm_id3154482" localize="false"/> + <h3 id="hd_id3154470">Original Size</h3> + <paragraph role="paragraph" id="par_id3155898"><ahelp hid="modules/swriter/ui/frmtypepage/origsize">Resets the size settings of the selected object to the original values.</ahelp></paragraph> + <note id="par_id3149102">This option is not available for frames.</note> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/autoheight" id="bm_id3151255" localize="false"/> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/autowidth" id="bm_id358592" localize="false"/> + <h3 id="hd_id3149824">Automatic</h3> + <paragraph role="paragraph" id="par_id3151262"><ahelp hid="modules/swriter/ui/frmtypepage/autoheight">Automatically adjusts the width or height of a frame to match the contents of the frame. If you want, you can specify a minimum width or minimum height for the frame.</ahelp></paragraph> + <note id="par_id3152773">The <emph>Automatic</emph> option is only available when you select a frame.</note> <section id="AnchorHelp"> - <h2 id="hd_id3155144" xml-lang="en-US">Anchor</h2> - <paragraph role="paragraph" id="par_id3153352" xml-lang="en-US">Specify the anchoring options for the selected object or frame. The anchor options are not available when you open the dialog from the Styles window.</paragraph> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/topage" id="bm_id3156280" localize="false"/> - <h3 id="hd_id3156269" xml-lang="en-US">To page</h3> - <paragraph role="paragraph" id="par_id3149169" xml-lang="en-US"><ahelp hid=".">Anchors the selection to the current page.</ahelp></paragraph> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/topara" id="bm_id3145771" localize="false"/> - <h3 id="hd_id3151028" xml-lang="en-US">To paragraph</h3> - <paragraph role="paragraph" id="par_id3145777" xml-lang="en-US"><ahelp hid=".">Anchors the selection to the current paragraph.</ahelp></paragraph> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/tochar" id="bm_id3151370" localize="false"/> - <h3 id="hd_id3155913" xml-lang="en-US">To character</h3> - <paragraph role="paragraph" id="par_id3151377" xml-lang="en-US"><ahelp hid=".">Anchors the selection to a character.</ahelp></paragraph> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/aschar" id="bm_id3155856" localize="false"/> - <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> + <h2 id="hd_id3155144">Anchor</h2> + <paragraph role="paragraph" id="par_id3153352">Specify the anchoring options for the selected object or frame. The anchor options are not available when you open the dialog from the Styles window.</paragraph> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/topage" id="bm_id3156280" localize="false"/> + <h3 id="hd_id3156269">To page</h3> + <paragraph role="paragraph" id="par_id3149169"><ahelp hid=".">Anchors the selection to the current page.</ahelp></paragraph> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/topara" id="bm_id3145771" localize="false"/> + <h3 id="hd_id3151028">To paragraph</h3> + <paragraph role="paragraph" id="par_id3145777"><ahelp hid=".">Anchors the selection to the current paragraph.</ahelp></paragraph> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/tochar" id="bm_id3151370" localize="false"/> + <h3 id="hd_id3155913">To character</h3> + <paragraph role="paragraph" id="par_id3151377"><ahelp hid=".">Anchors the selection to a character. This is the default for images.</ahelp></paragraph> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/aschar" id="bm_id3155856" localize="false"/> + <h3 id="hd_id3150115">As character</h3> + <paragraph role="paragraph" id="par_id3155863"><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_1"> @@ -97,9 +97,9 @@ <bookmark branch="hid/modules/swriter/ui/frmtypepage/byhori" id="bm_id3149565" localize="false"/> <h3 id="hd_id3149554">by</h3> <paragraph role="paragraph" id="par_id3145258"><ahelp hid=".">Enter the amount of space to leave between the left edge of the selected object and the reference point that you select in the <emph>To</emph> box.</ahelp> This option is only available if you select "From Left" in the <emph>Horizontal</emph> box.</paragraph> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/horianchor" id="bm_id3150556" localize="false"/> - <h3 id="hd_id3150545" xml-lang="en-US">to</h3> - <paragraph role="paragraph" id="par_id3149213" xml-lang="en-US"><ahelp hid=".">Select the region or reference line for the selected horizontal alignment option.</ahelp> The following options are available:</paragraph> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/horianchor" id="bm_id3150556" localize="false"/> + <h3 id="hd_id3150545">to</h3> + <paragraph role="paragraph" id="par_id3149213"><ahelp hid=".">Select the region or reference line for the selected horizontal alignment option.</ahelp> The following options are available:</paragraph> <list type="unordered"> <listitem> <paragraph id="par_id521629211712372" role="listitem"><emph>Paragraph area:</emph> the object is positioned considering the whole width available for the paragraph, including indent spaces.</paragraph> @@ -135,19 +135,19 @@ <section id="preview_tip"> <tip id="par_id741629211922065">You can see the result of the alignments options that you select in the Preview box.</tip> </section> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/mirror" id="bm_id3146331" 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> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/mirror" id="bm_id3146331" localize="false"/> + <h3 id="hd_id3147746">Mirror on even pages</h3> + <paragraph role="paragraph" id="par_id3146337"><ahelp hid=".">Reverses the current horizontal alignment settings on even pages.</ahelp></paragraph> </section> - <tip id="par_id3148446" xml-lang="en-US">You can also use the <link href="text/swriter/01/05060300.xhp"><emph>Image</emph></link> flip options to adjust the layout of objects on even and odd pages.</tip> + <tip id="par_id3148446">You can also use the <link href="text/swriter/01/05060300.xhp"><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"/> - <h3 id="hd_id3145310" xml-lang="en-US">Vertical</h3> - <paragraph role="paragraph" id="par_id3150161" xml-lang="en-US"><ahelp hid=".">Select the vertical alignment option for the object.</ahelp> The selection specifies the position of the object relative to the region or reference line selected in the <menuitem>to</menuitem> dropdown list.</paragraph> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/vertpos" id="bm_id3145321" localize="false"/> + <h3 id="hd_id3145310">Vertical</h3> + <paragraph role="paragraph" id="par_id3150161"><ahelp hid=".">Select the vertical alignment option for the object.</ahelp> The selection specifies the position of the object relative to the region or reference line selected in the <menuitem>to</menuitem> dropdown list.</paragraph> <embed href="text/swriter/01/05060100.xhp#preview_tip"/> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/byvert" id="bm_id3156123" localize="false"/> - <h3 id="hd_id3154724" xml-lang="en-US">by</h3> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/byvert" id="bm_id3156123" localize="false"/> + <h3 id="hd_id3154724">by</h3> <paragraph role="paragraph" id="par_id911652710121127">Enter the amount of space to leave from the top edge of the object to the region or reference line selected in the <menuitem>to</menuitem> dropdown list. This option is active only when the following combinations of <menuitem>Vertical</menuitem> and <menuitem>Anchor</menuitem> are selected. For these combinations, you can specify the amount of space to leave from:</paragraph> <table id="tab_id681652926402414"> @@ -183,9 +183,9 @@ </tablerow> </table> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/vertanchor" id="bm_id3150923" localize="false"/> - <h3 id="hd_id3150912" xml-lang="en-US">to</h3> - <paragraph role="paragraph" id="par_id3155075" xml-lang="en-US"><ahelp hid=".">Select the region or reference line for the vertical alignment.</ahelp> The object can be positioned in relation to the following regions or reference lines:</paragraph> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/vertanchor" id="bm_id3150923" localize="false"/> + <h3 id="hd_id3150912">to</h3> + <paragraph role="paragraph" id="par_id3155075"><ahelp hid=".">Select the region or reference line for the vertical alignment.</ahelp> The object can be positioned in relation to the following regions or reference lines:</paragraph> <list type="unordered"> <listitem> <paragraph id="par_id551629212019498" role="listitem"><emph>Margin:</emph> Depending on the anchoring type, the object is positioned considering the space between the top margin and the character ("To character" anchoring) or bottom edge of the paragraph ("To paragraph" anchoring) where the anchor is placed.</paragraph> @@ -223,24 +223,24 @@ </listitem> </list> <embed href="text/swriter/01/05060100.xhp#anchor_tip"/> - <bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/frmtypepage/followtextflow" id="bm_id611285" localize="false"/> -<note id="par_id3150463" xml-lang="en-US">If you anchor an object to a frame with a fixed height, only the "Bottom" and "Center" alignment options are available.</note> + <bookmark branch="hid/modules/swriter/ui/frmtypepage/followtextflow" id="bm_id611285" localize="false"/> +<note id="par_id3150463">If you anchor an object to a frame with a fixed height, only the "Bottom" and "Center" alignment options are available.</note> </section> <section id="keep_inside_text_bnd"> - <h3 id="par_idN10A8E" xml-lang="en-US">Keep inside text boundaries</h3> - <paragraph role="paragraph" id="par_idN10A92" xml-lang="en-US"><ahelp hid=".">Keeps the selected object within the layout boundaries of the text that the object is anchored to. To place the selected object anywhere in your document, do not select this option.</ahelp></paragraph> - <paragraph role="paragraph" id="par_idN10AA6" xml-lang="en-US">By default, the <emph>Keep inside text boundaries</emph> option is selected when you open a document that was created in a version of Writer older than OpenOffice.org 2.0. However, this option is not selected when you create a document or when you open a document in Microsoft Word format (*.doc).</paragraph> + <h3 id="par_idN10A8E">Keep inside text boundaries</h3> + <paragraph role="paragraph" id="par_idN10A92"><ahelp hid=".">Keeps the selected object within the layout boundaries of the text that the object is anchored to. To place the selected object anywhere in your document, do not select this option.</ahelp></paragraph> + <paragraph role="paragraph" id="par_idN10AA6">By default, the <emph>Keep inside text boundaries</emph> option is selected when you open a document that was created in a version of Writer older than OpenOffice.org 2.0. However, this option is not selected when you create a document or when you open a document in Microsoft Word format (*.doc).</paragraph> </section> <section id="allow_frame_to_split"> - <h3 id="par_idN10A8F" xml-lang="en-US">Allow frame to split across pages</h3> - <paragraph role="paragraph" id="par_idN10A93" xml-lang="en-US"><ahelp hid=".">Allows the frame to continue on a next page when the content of the frame doesn't fit the current page anymore. Content around the frame will be wrapped on the last page.</ahelp></paragraph> - <paragraph role="paragraph" id="par_idN10AA7" xml-lang="en-US">By default, the <emph>Allow frame to split across pages</emph> option is disabled when you create a Text Frame in Writer. However, this option is selected when you open a document in Microsoft Word formats, containing floating tables.</paragraph> + <h3 id="par_idN10A8F">Allow frame to split across pages</h3> + <paragraph role="paragraph" id="par_idN10A93"><ahelp hid=".">Allows the frame to continue on a next page when the content of the frame doesn't fit the current page anymore. Content around the frame will be wrapped on the last page.</ahelp></paragraph> + <paragraph role="paragraph" id="par_idN10AA7">By default, the <emph>Allow frame to split across pages</emph> option is disabled when you create a Text Frame in Writer. However, this option is selected when you open a document in Microsoft Word formats, containing floating tables.</paragraph> </section> <embed href="text/shared/00/00000001.xhp#preview_field"/> - <paragraph role="paragraph" id="par_id3149241" xml-lang="en-US">The green rectangle represents the selected object and the red rectangle represents the alignment reference point. If you anchor the object as a character, the reference rectangle changes to a red line.</paragraph> + <paragraph role="paragraph" id="par_id3149241">The green rectangle represents the selected object and the red rectangle represents the alignment reference point. If you anchor the object as a character, the reference rectangle changes to a red line.</paragraph> <section id="relatedtopics"> <paragraph role="paragraph" id="par_id3146949"><link href="text/shared/01/05260000.xhp"><emph>Format - Anchor</emph></link></paragraph> |