Position and Size /text/swriter/01/05060100.xhp
resizing;aspect ratio aspect ratio;resizing objects UFI: new index entries, see i54237

Position and Size

Specifies the size and the position of the selected image, frame, or OLE object on a page.

Size

Width

Enter the width that you want for the selected object.

Relative

Calculates the width of the selected object as a percentage of the width of the page text area.

Relative width relation

Decides what 100% width means: either text area (excluding margins) or the entire page (including margins).

Height

Enter the height that you want for the selected object.

Relative

Calculates the height of the selected object as a percentage of the height of the page text area.

Relative height relation

Decides what 100% height means: either text area (excluding margins) or the entire page (including margins).

Keep ratio

Maintains the height and width ratio when you change the width or the height setting.

Original Size

Resets the size settings of the selected object to the original values. This option is not available for frames.

Automatic

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. The Automatic option is only available when you select a frame.

Anchor

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.

To page

Anchors the selection to the current page.

To paragraph

Anchors the selection to the current paragraph.

To character

Anchors the selection to a character.

As character

Anchors the selection as character. The height of the current line is resized to match the height of the selection.

Position

Specify the location of the selected object on the current page.

Horizontal

Select the horizontal alignment option for the object. This option is not available if you chose "anchor as character".

by

Enter the amount of space to leave between the left edge of the selected object and the reference point that you select in the To box. This option is only available if you select "From Left" in the Horizontal box.

to

Select the reference point for the selected horizontal alignment option. The following options are available: Paragraph area: the object is positioned considering the whole width available for the paragraph, including indent spaces. Paragraph text area: the object is positioned considering the whole width available for text in the paragraph, excluding indent spaces. Left of paragraph text area: the object is positioned in the region from the left text boundary to the first character on the left edge of the anchored paragraph text. For multicolumn paragraphs, the region is defined in relation to the column where the anchor is located. When the anchor is not located in the first column, then the region starts at the left column margin. Right of paragraph text area: the object is positioned in the region from the last character on the right edge of anchored paragraph text to the right text boundary. When the anchor is not located in the last column then the region ends at the right column margin. Left of page text area: the object is positioned in the region between the left edge of the page and the left margin plus any left page padding. Right of page text area: the object is positioned in the region between the right edge of the page and the right margin plus any right page padding. Entire page: the object is positioned considering the whole width of the page, from the left to the right page borders. Page text area: the object is positioned considering the whole width available for text in the page, from the left to the right page margins. Character: the object is positioned considering the horizontal space used by the character.
Beware that the set of options available depend on the Anchor settings. Therefore, not all options listed above may be shown due to the current Anchor choice.
You can see the result of the alignments options that you select in the Preview box.

Mirror on even pages

Reverses the current horizontal alignment settings on even pages.
You can also use the Image flip options to adjust the layout of objects on even and odd pages.

Vertical

Select the vertical alignment option for the object. The selection specifies the position of the object relative to the region or reference line selected in the to dropdown list.

by

Enter the amount of space to leave from the top edge of the object to the region or reference line selected in the to dropdown list. This option is active only when the following combinations of Vertical and Anchor are selected. For these combinations, you can specify the amount of space to leave from: Vertical with Anchor From top Top edge of selected region.
Positive values move the object down, negative values up.
To page, To paragraph, To character or To frame
From bottom Selected reference line.
Positive values move the object up, negative values down.
To character or As character

to

Select the region or reference line for the vertical alignment. The object can be positioned in relation to the following regions or reference lines: Margin: 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 text area: the object is positioned considering the height of the paragraph where the anchor is placed. Entire page: the object is positioned considering the full page height, from top to bottom page borders. Page text area: the object is positioned considering the full height available for text, from top to bottom margins.
Character: available only for "To character" or "As character" anchoring, the object is positioned relative to the region between the top border and bottom border of the character immediately before where the anchor is placed. A character formatted with a common border with other characters or objects uses the region for the highest character or object in the common border. Line of text: available only for "To character" anchoring, the object is positioned considering the height of the line of text where the anchor is placed. Baseline: available only for "As character" anchoring, this option will position the object considering the text baseline over which all characters are placed. Row: available only for "As character" anchoring, this option will position the object considering the height of the row where the anchor is placed. Entire frame: available only for "To frame" anchoring, the outer edges of the frame. Frame text area: available only for "To frame" anchoring, the text area of the frame. If you anchor an object to a frame with a fixed height, only the "Bottom" and "Center" alignment options are available.

Keep inside text boundaries

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. By default, the Keep inside text boundaries 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).
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. Format - Anchor Format - Align Text