目录
索引 🔎︎

# Position and Size

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

要访问此命令...

Choose Format - Image - Properties - Position and Size tab.

Choose Format - Frame and Object - Properties - Position and Size tab.

Choose View - Styles - Frame Styles - open context menu Modify/New - Type tab.

Choose Insert - Frame - Frame - Position and Size tab.

## 大小

### 宽度

输入希望用于选中对象的宽度。

### 相对

计算选中对象的宽度占页面文本区域宽度的百分比。

### 相对宽度关系

确定 100% 宽度的含义: 文本区域 (不包含边距) 或整个页面 (包含边距)。

### 高度

输入希望用于选中对象的高度。

### 相对

计算选中对象的高度占页面文本区域高度的百分比。

### 相对高度关系

确定 100% 高度的含义: 文本区域 (不包含边距) 或整个页面 (包含边距)。

### 保持比例

修改宽度或高度设置时保持宽高比。

### 原始大小

将选中对象的大小设置重置为原始值。

框无法使用此选项。

### 自动

自动调整框的宽度和高度，以适合框中的内容。如果需要，可以指定框的最小宽度或最小高度。

只有选择了框，「自动」选项才可用。

## 锁定

指定选中对象或框架的锚点选项。从「样式」窗口打开对话框时，锚点选项不可用。

### 至页面

将选中内容锚点到当前页面。

### 在段落上

将选中内容锚点到当前段落。

### 至字符

将选中内容锚点到字符。

### 当作字符

将选中内容锚点为字符。当前行的高度将会调整，以匹配选中内容的高度。

## 位置

指定选中对象在当前页面中的位置。

### 水平方向

Select the horizontal 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. This option is not available if anchor as character is selected.

### 由

输入从选中对象的左边缘到「至」框中选择的引用点之间的间距。仅当您在「水平」框中选择了「自左侧」时，此选项才可用。

### 至

Select the region or reference line 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. 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 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.

Be aware 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.

### 偶数页镜像

在偶数页面上反转当前的水平方向对齐设置。

您也可以使用图像翻转选项来调整对象在奇数页和偶数页上的布局。

### 垂直方向

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.

You can see the result of the alignments options that you select in the Preview box.

### 由

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

### 至

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.

Be aware 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.

如果您将对象锁定在高度固定的框中，则仅有「底边」和「居中」对齐选项可用。

### 保持在文字边界内部

使选中对象始终处于由选中对象锁定的文本版式边界内。要将选中对象放置到文档的任意位置，请不要选择此选项。

当您打开 OpenOffice.org 2.0 之前的 Writer 版本创建的文档时，「保持在文字边界内部」选项会默认选中。但是，当您创建或者打开 Microsoft Word 格式 (*.doc) 的文档时该选项不会选中。

### 预览字段

Displays a preview of the current selection.

绿色矩形表示选中的对象，红色矩形表示对齐的参照点。如果将对象当作字符锁定，参照矩形将被修改为红色线条。

相关主题

格式 - 锚点

Format - Align Text