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.

### 锁定

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

#### 至页面

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

#### 在段落上

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

#### 至字符

将选中内容锚点到字符。

#### 当作字符

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

### 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 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 paragraph border: the object is positioned considering the width of the indent space available to the left of the paragraph.

- Right paragraph border: the object is positioned considering the width of the indent space available to the right of the paragraph.

- Left page border: the object is positioned considering the space available between the left page border and the left paragraph border.

- Right page border: the object is positioned considering the space available between the right page border and the right paragraph border.

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

#### 偶数页镜像

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

#### 垂直方向

为对象选择垂直对齐选项。

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

#### 由

输入从选中对象的上边缘与「至」框中选择的参照点之间的间距。仅当您在「垂直」框中选择了「自顶部」或「自底部」 (作为字符) 时，此选项才可用。

#### 至

Select the reference point for the selected vertical alignment option. The following options are available:

- 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: the object is positioned considering the vertical space used by the character.

- Line of text: 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.

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.

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

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

当您打开 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