
**遗产：**
java.lang.Object
```
public class BuildingBlockBehavior
```

指定将构建块插入主文档时应应用于构建块内容的行为。

对应于**ST\_DocPartBehavior**输入 OOXML。
## 字段

| 场地 | 描述 |
| --- | --- |
| [CONTENT](#CONTENT) | 指定构建块应作为内联内容插入。 |
| [DEFAULT](#DEFAULT) | 如同[CONTENT](../../com.aspose.words/buildingblockbehavior\#CONTENT). |
| [PAGE](#PAGE) | 指定应将构建块添加到其自己的页面中。 |
| [PARAGRAPH](#PARAGRAPH) | 指定构建块应插入到其自己的段落中。 |
| [length](#length) |  |
## 方法

| 方法 | 描述 |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [fromName(String buildingBlockBehaviorName)](#fromName-java.lang.String-) |  |
| [getClass()](#getClass--) |  |
| [getName(int buildingBlockBehavior)](#getName-int-) |  |
| [getValues()](#getValues--) |  |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toString()](#toString--) |  |
| [toString(int buildingBlockBehavior)](#toString-int-) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### CONTENT {#CONTENT}
```
public static int CONTENT
```


指定构建块应作为内联内容插入。

### DEFAULT {#DEFAULT}
```
public static int DEFAULT
```


如同[CONTENT](../../com.aspose.words/buildingblockbehavior\#CONTENT).

### PAGE {#PAGE}
```
public static int PAGE
```


指定应将构建块添加到其自己的页面中。

### PARAGRAPH {#PARAGRAPH}
```
public static int PARAGRAPH
```


指定构建块应插入到其自己的段落中。

### length {#length}
```
public static int length
```


### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**退货：**
布尔值
### fromName(String buildingBlockBehaviorName) {#fromName-java.lang.String-}
```
public static int fromName(String buildingBlockBehaviorName)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| buildingBlockBehaviorName | java.lang.String |  |

**退货：**
整数
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**退货：**
java.lang.Class<?>
### getName(int buildingBlockBehavior) {#getName-int-}
```
public static String getName(int buildingBlockBehavior)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| buildingBlockBehavior | int |  |

**退货：**
java.lang.字符串
### getValues() {#getValues--}
```
public static int[] getValues()
```




**退货：**
整数[]
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**退货：**
整数
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### toString() {#toString--}
```
public String toString()
```




**退货：**
java.lang.字符串
### toString(int buildingBlockBehavior) {#toString-int-}
```
public static String toString(int buildingBlockBehavior)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| buildingBlockBehavior | int |  |

**退货：**
java.lang.字符串
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |
