com.aspose.pdf.tagged.logicalstructure.elements

Class StructureElement

    • Method Detail

      • getDefaultAttributeOwner

        public final AttributeOwnerStandard getDefaultAttributeOwner()

        Gets /Aspose.Pdf.LogicalStructure.AttributeOwnerStandard object.

        Value: /Aspose.Pdf.LogicalStructure.AttributeOwnerStandard object.
        Returns:
        AttributeOwnerStandard instance
      • getAttributes

        public final StructureAttributeCollection getAttributes()

        Gets StructureAttributeCollection object.

        Returns:
        StructureAttributeCollection object.
      • getStructureType

        public final StructureTypeStandard getStructureType()

        Gets type of structure element.

        Returns:
        Value: StructureTypeStandard object of structure element.
      • getS

        public final com.aspose.pdf.engine.data.IPdfName getS()
      • getID

        public final String getID()

        Gets the ID for structure element.

        Value: ID of the structure element.
        Returns:
        String value
      • getTitle

        public final String getTitle()

        Gets or sets the title for structure element.

        Returns:
        Value: Title of the structure element.
      • setTitle

        public final void setTitle(String value)

        Gets or sets the title for structure element.

        Parameters:
        value - Value: Title of the structure element.
      • getLanguage

        public final String getLanguage()

        Gets or sets the language for structure element.

        Returns:
        Value: Language of the structure element.
      • setLanguage

        public final void setLanguage(String value)

        Gets or sets the language for structure element.

        Parameters:
        value - Value: Language of the structure element.
      • getAlternativeText

        public final String getAlternativeText()

        Gets or sets the alternative text for structure element.

        Returns:
        Value: Alternative text of the structure element.
      • setAlternativeText

        public final void setAlternativeText(String value)

        Gets or sets the alternative text for structure element.

        Parameters:
        value - Value: Alternative text of the structure element.
      • getExpansionText

        public final String getExpansionText()

        Gets or sets the expansion text for structure element.

        Returns:
        Value: Expansion text of the structure element.
      • setExpansionText

        public final void setExpansionText(String value)

        Gets or sets the expansion text for structure element.

        Parameters:
        value - Value: Expansion text of the structure element.
      • getActualText

        public final String getActualText()

        Gets or sets the actual text for structure element.

        Returns:
        Value: Actual text of the structure element.
      • setActualText

        public final void setActualText(String value)

        Gets or sets the actual text for structure element.

        Parameters:
        value - Value: Actual text of the structure element.
      • setParentElement

        public void setParentElement(Element parentElement)
        set Parent Element
        Overrides:
        setParentElement in class Element
        Parameters:
        parentElement - value
      • changeParentElement

        public final void changeParentElement(StructureElement newParentElement)

        Change parent element for current structure element

        Parameters:
        newParentElement - New parent structure element
      • generateId

        public final void generateId()

        Generate ID for structure element.

      • setId

        public final void setId(String id)

        Sets ID for structure element.

        Parameters:
        id - ID value for structure element
      • clearId

        public final void clearId()

        Clear ID for structure element.

      • setTag

        public final void setTag(String newTag)

        Sets custom tag for structure element.

        Parameters:
        newTag - Tag name
      • toString

        public String toString()

        Returns a string that represents the current object.

        Overrides:
        toString in class Element
        Returns:
        String that represents the current object.