public abstract class StructureElement extends Element
Represents a base class for structure elements in logical structure.
Modifier and Type | Method and Description |
---|---|
void |
changeParentElement(StructureElement newParentElement)
Change parent element for current structure element
|
void |
clearId()
Clear ID for structure element.
|
void |
generateId()
Generate ID for structure element.
|
String |
getActualText()
Gets or sets the actual text for structure element.
|
String |
getAlternativeText()
Gets or sets the alternative text for structure element.
|
StructureAttributeCollection |
getAttributes()
Gets
StructureAttributeCollection object. |
AttributeOwnerStandard |
getDefaultAttributeOwner()
Gets
/Aspose.Pdf.LogicalStructure.AttributeOwnerStandard object. |
String |
getExpansionText()
Gets or sets the expansion text for structure element.
|
String |
getID()
Gets the ID for structure element.
|
String |
getLanguage()
Gets or sets the language for structure element.
|
com.aspose.pdf.engine.data.IPdfName |
getS() |
StructureTypeStandard |
getStructureType()
Gets type of structure element.
|
String |
getTitle()
Gets or sets the title for structure element.
|
void |
setActualText(String value)
Gets or sets the actual text for structure element.
|
void |
setAlternativeText(String value)
Gets or sets the alternative text for structure element.
|
void |
setExpansionText(String value)
Gets or sets the expansion text for structure element.
|
void |
setId(String id)
Sets ID for structure element.
|
void |
setLanguage(String value)
Gets or sets the language for structure element.
|
void |
setParentElement(Element parentElement)
set Parent Element
|
void |
setTag(String newTag)
Sets custom tag for structure element.
|
void |
setTitle(String value)
Gets or sets the title for structure element.
|
String |
toString()
Returns a string that represents the current object.
|
appendChild, findElements, findElements, getChildElements, getElementEngine, getParentElement, getTaggedContent, getTrailer
public final AttributeOwnerStandard getDefaultAttributeOwner()
Gets /Aspose.Pdf.LogicalStructure.AttributeOwnerStandard
object.
/Aspose.Pdf.LogicalStructure.AttributeOwnerStandard
object.public final StructureAttributeCollection getAttributes()
Gets StructureAttributeCollection
object.
StructureAttributeCollection
object.public final StructureTypeStandard getStructureType()
Gets type of structure element.
StructureTypeStandard
object of structure element.public final com.aspose.pdf.engine.data.IPdfName getS()
public final String getID()
Gets the ID for structure element.
Value: ID of the structure element.public final String getTitle()
Gets or sets the title for structure element.
public final void setTitle(String value)
Gets or sets the title for structure element.
value
- Value: Title of the structure element.public final String getLanguage()
Gets or sets the language for structure element.
public final void setLanguage(String value)
Gets or sets the language for structure element.
value
- Value: Language of the structure element.public final String getAlternativeText()
Gets or sets the alternative text for structure element.
public final void setAlternativeText(String value)
Gets or sets the alternative text for structure element.
value
- Value: Alternative text of the structure element.public final String getExpansionText()
Gets or sets the expansion text for structure element.
public final void setExpansionText(String value)
Gets or sets the expansion text for structure element.
value
- Value: Expansion text of the structure element.public final String getActualText()
Gets or sets the actual text for structure element.
public final void setActualText(String value)
Gets or sets the actual text for structure element.
value
- Value: Actual text of the structure element.public void setParentElement(Element parentElement)
setParentElement
in class Element
parentElement
- valuepublic final void changeParentElement(StructureElement newParentElement)
Change parent element for current structure element
newParentElement
- New parent structure elementpublic final void generateId()
Generate ID for structure element.
public final void setId(String id)
Sets ID for structure element.
id
- ID value for structure elementpublic final void clearId()
Clear ID for structure element.
public final void setTag(String newTag)
Sets custom tag for structure element.
newTag
- Tag name