com.aspose.pdf.tagged.logicalstructure.elements

Class StructureAttribute

  • java.lang.Object
    • com.aspose.pdf.tagged.logicalstructure.elements.StructureAttribute


  • public class StructureAttribute
    extends Object

    Represents attribute of structure element.

    • Constructor Detail

      • StructureAttribute

        public StructureAttribute(AttributeKey attributeKey)

        Initializes a new instance of the StructureAttribute.

        Parameters:
        attributeKey - Attribute Key
      • StructureAttribute

        public StructureAttribute(AttributeKey attributeKey,
                                  com.aspose.pdf.engine.data.IPdfPrimitive pdfEntity)
    • Method Detail

      • getKey

        public final AttributeKey getKey()

        Gets attribute key.

        Value: Attribute Key.
        Returns:
        AttributeKey instance
      • getNameValue

        public final AttributeName getNameValue()

        Gets Value Name.

        Returns:
        Value Name.
      • getStringValue

        public final String getStringValue()

        Gets Value String.

        Returns:
        Value String.
      • getNumberValue

        public final Double[] getNumberValue()

        Gets Value Number.

        Returns:
        Value Number.
      • getArrayValue

        public final AttributeName[] getArrayValue()

        Gets Value Name Array.

        Returns:
        Value Name Array.
      • getArrayNumberValue

        public final Double[][] getArrayNumberValue()

        Gets Value Number Array.

        Returns:
        Value Number Array.
      • setNameValue

        public final void setNameValue(AttributeName name)

        Sets Value Name.

        Parameters:
        name - Allowable Value Name.
      • setStringValue

        public final void setStringValue(String value)

        Sets Value String.

        Parameters:
        value - Value String.
      • setNumberValue

        public final void setNumberValue(double number)

        Sets Value Number.

        Parameters:
        number - Value Number.
      • setArrayValue

        public final void setArrayValue(AttributeName[] array)

        Sets Value Name Array.

        Parameters:
        array - Array of allowable Value Names.
      • setArrayNumberValue

        public final void setArrayNumberValue(Double[][] arrayNumber)

        Sets Value Number Array.

        Parameters:
        arrayNumber - Array of Numbers.
      • setColorValue

        public final void setColorValue(Color color)

        Sets Value Color.

        Parameters:
        color - Color.
      • setRectangleValue

        public final void setRectangleValue(Rectangle rectangle)

        Sets Value Rectangle.

        Parameters:
        rectangle - Rectangle.
      • isInitializedValue

        public final boolean isInitializedValue()

        Gets status of structure attribute value. True if value is set.

        Returns:
        boolean value

Copyright © 2020 Aspose. All Rights Reserved.