BuildingBlockBehavior

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

ValueDescription
CONTENTSpecifies that the building block shall be inserted as inline content.
PARAGRAPHSpecifies that the building block shall be inserted into its own paragraph.
PAGESpecifies that the building block shall be added into its own page.
DEFAULTSame as CONTENT.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of BuildingBlockBehavior values.

Methods

SignatureDescription
getName(buildingBlockBehavior: int) → StringReturns JAVA_STYLE string representation of integer BuildingBlockBehavior value.
toString(buildingBlockBehavior: int) → StringReturns DotNetStyle string representation of integer BuildingBlockBehavior value.
fromName(buildingBlockBehaviorName: String) → intReturns integer representation by BuildingBlockBehavior name.
getValues() → int[]Returns array of BuildingBlockBehavior values.

See Also