GlossaryDocument

GlossaryDocument

Overview

GlossaryDocument is a class in Aspose.Words FOSS for Java. Inherits from: DocumentBase<BuildingBlock>.

Represents the root element for a glossary document within a Word document.

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

This class declares 8 methods for GlossaryDocument objects in Java programs. Available methods include: accept, acceptEnd, acceptStart, getBuildingBlock, getBuildingBlocks, getFirstBuildingBlock, getLastBuildingBlock, getNodeType. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: buildingBlocks, firstBuildingBlock, lastBuildingBlock, nodeType.

Properties

NameTypeAccessDescription
nodeTypeintReadReturns the GlossaryDocument value.
buildingBlocksBuildingBlockCollectionReadReturns a typed collection that represents all building blocks in the glossary document.
firstBuildingBlockBuildingBlockReadGets the first building block in the glossary document.
lastBuildingBlockBuildingBlockReadGets the last building block in the glossary document.

Methods

SignatureDescription
getNodeType() → intReturns the GlossaryDocument value.
getBuildingBlocks() → BuildingBlockCollectionReturns a typed collection that represents all building blocks in the glossary document.
getFirstBuildingBlock() → BuildingBlockGets the first building block in the glossary document.
getLastBuildingBlock() → BuildingBlockGets the last building block in the glossary document.
accept(visitor: DocumentVisitor) → booleanCalls accept(visitor) on this GlossaryDocument instance.
acceptStart(visitor: DocumentVisitor) → intAccepts a visitor for visiting the start of the Glossary document.
acceptEnd(visitor: DocumentVisitor) → intAccepts a visitor for visiting the end of the Glossary document.
getBuildingBlock(gallery: int, category: String, name: String) → BuildingBlockFinds a building block using the specified gallery, category and name.

See Also