BuildingBlockType

BuildingBlockType

Overview

BuildingBlockType is an enum in Aspose.Words FOSS for Java.

Specifies a building block type.

Edition status of its 14 listed members (a property and its accessor methods are listed separately, overloads once): 14 not yet exercised by a verified example.

This enum declares 4 methods for BuildingBlockType 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
NONENo type information is specified for the building block.
AUTOMATICALLY_REPLACE_NAME_WITH_CONTENTAllows the building block to be automatically inserted into the document whenever its name is entered into an application.
STRUCTURED_DOCUMENT_TAG_PLACEHOLDER_TEXTThe building block is a structured document tag placeholder text.
FORM_FIELD_HELP_TEXTThe building block is a form field help text.
NORMALThe building block is a normal (i.e. regular) glossary document entry.
AUTO_CORRECTThe building block is associated with the spelling and grammar tools.
AUTO_TEXTThe building block is an AutoText entry.
ALLThe building block is associated with all types.
DEFAULTSave as NONE.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of BuildingBlockType values.

Methods

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

See Also