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
| Name | Type | Access | Description |
|---|---|---|---|
nodeType | int | Read | Returns the GlossaryDocument value. |
buildingBlocks | BuildingBlockCollection | Read | Returns a typed collection that represents all building blocks in the glossary document. |
firstBuildingBlock | BuildingBlock | Read | Gets the first building block in the glossary document. |
lastBuildingBlock | BuildingBlock | Read | Gets the last building block in the glossary document. |
Methods
| Signature | Description |
|---|---|
getNodeType() → int | Returns the GlossaryDocument value. |
getBuildingBlocks() → BuildingBlockCollection | Returns a typed collection that represents all building blocks in the glossary document. |
getFirstBuildingBlock() → BuildingBlock | Gets the first building block in the glossary document. |
getLastBuildingBlock() → BuildingBlock | Gets the last building block in the glossary document. |
accept(visitor: DocumentVisitor) → boolean | Calls accept(visitor) on this GlossaryDocument instance. |
acceptStart(visitor: DocumentVisitor) → int | Accepts a visitor for visiting the start of the Glossary document. |
acceptEnd(visitor: DocumentVisitor) → int | Accepts a visitor for visiting the end of the Glossary document. |
getBuildingBlock(gallery: int, category: String, name: String) → BuildingBlock | Finds a building block using the specified gallery, category and name. |