Position and Size (Text Box and Shape)

目录

# 位置与大小

调整选中对象的大小，或移动该对象。

要访问此命令...

Click on textbox or shape to select, then...

Choose Format - Text Box and Shape - Object - Object and Shape - Position and Size - Position and Size tab.

Open context menu for selected object - choose Position and Size - Position and Size tab.

Position and Size menu icon

Press F4 after selection to open the tab directly.

## 位置

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

Coordinate axes start at column A - row 1.

X-coordinates are negative in a "right-to-left" table.

Coordinates are relative to the origin. Left/top corner of the page content area is the initial default.

### 位置 X

Enter the horizontal coordinate where the selected base point should be placed.

### 位置 Y

Enter the vertical coordinate where the selected base point should be placed.

### 基点

The selected base point will be moved to the specified Position Y and Position X.

The base point always returns to the left/top corner on reopening the dialog.

## 大小

Specify the size of the selected object.

Resize the selected object to the chosen width and height relative to the selected base point.

### 宽度

输入选中对象的宽度。

### 高度

输入选中对象的高度。

### 保持比例

Maintains the width and height ratio when changing the width or height setting in the dialog box.

Only for shapes.

### 锁定

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

#### 至页面

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

#### 在段落上

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

#### 至字符

Anchors the selection to a character. This is the default for images.

#### 当作字符

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

### To frame

Anchors the selection to the surrounding frame.

### 基点

点击网格中的基点，然后在「宽度和高度」框中输入选中对象的新尺寸大小。

The selected base point remains fixed in the grid. The object is resized relative to that point.

## 保护

### 位置

Prevents changes to the position and size of the selected object.

### 大小

防止修改对象的大小。

### 位置

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

#### 水平方向

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 from the bottom edge of the top padding area to the top edge of the bottom padding area.

- Below page text area: the bottom edge of the page text area to the bottom edge of the page.

- Above page text area: the top edge of the page to the top of the page text area.

- 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) 的文档时该选项不会选中。

## 调整

指定绘图对象大小是否应随输入文字的大小调整。

### 适应文字宽度

若对象比文字小，则扩展对象宽度为文字宽度。

### 适应文字高度

若对象比文字小，则扩展对象高度为文字宽度。

Adapt is only available for Text Boxes. To adapt Shapes to text, use Format - Object - Text.

Adapt is only available for Text Boxes. To adapt Shapes to text, use Format - Text.

相关主题

Positioning Objects

Rotating Objects

Rotation