BuildingBlockBehavior
Overview
BuildingBlockBehavior is an enum in Aspose.Words FOSS for Java.
Specifies the behavior that shall be applied to the contents of the building block when it is inserted into the main document.
Edition status of its 9 listed members (a property and its accessor methods are listed separately, overloads once): 9 not yet exercised by a verified example.
This enum declares 4 methods for BuildingBlockBehavior objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
CONTENT | Specifies that the building block shall be inserted as inline content. |
PARAGRAPH | Specifies that the building block shall be inserted into its own paragraph. |
PAGE | Specifies that the building block shall be added into its own page. |
DEFAULT | Same as CONTENT. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of BuildingBlockBehavior values. |
Methods
| Signature | Description |
|---|---|
getName(buildingBlockBehavior: int) → String | Returns JAVA_STYLE string representation of integer BuildingBlockBehavior value. |
toString(buildingBlockBehavior: int) → String | Returns DotNetStyle string representation of integer BuildingBlockBehavior value. |
fromName(buildingBlockBehaviorName: String) → int | Returns integer representation by BuildingBlockBehavior name. |
getValues() → int[] | Returns array of BuildingBlockBehavior values. |