com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Element

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      String getActualText()
      (Optional; PDF 1.4) Text that is an exact replacement for the structure element and its children.
      String getAlt()
      (Optional) An alternate description of the structure element and its children in human-readableform, which is useful when extracting the document’s contents in support of accessibility to users with disabilities or for other purposes.
      List<Element> getChildren()
      Gets child elements collection.
      String getE()
      (Optional; PDF 1.5) The expanded form of an abbreviation.
      String getLang()
      (Optional; PDF 1.4) A language specifying the natural language for all text in the structure element except where overridden by language specifications for nested structure elements or marked content.
      void setActualText(String value)
      (Optional; PDF 1.4) Text that is an exact replacement for the structure element and its children.
      void setAlt(String value)
      (Optional) An alternate description of the structure element and its children in human-readableform, which is useful when extracting the document’s contents in support of accessibility to users with disabilities or for other purposes.
      void setE(String value)
      (Optional; PDF 1.5) The expanded form of an abbreviation.
      void setLang(String value)
      (Optional; PDF 1.4) A language specifying the natural language for all text in the structure element except where overridden by language specifications for nested structure elements or marked content.
    • Method Detail

      • getChildren

        public List<Element> getChildren()

        Gets child elements collection.

        Returns:
        java.util.List<Element> object
      • getLang

        public String getLang()

        (Optional; PDF 1.4) A language specifying the natural language for all text in the structure element except where overridden by language specifications for nested structure elements or marked content.

        Returns:
        String object
      • setLang

        public void setLang(String value)

        (Optional; PDF 1.4) A language specifying the natural language for all text in the structure element except where overridden by language specifications for nested structure elements or marked content.

        Parameters:
        value - String object
      • getActualText

        public String getActualText()

        (Optional; PDF 1.4) Text that is an exact replacement for the structure element and its children. This replacement text (which should apply to as small a piece of content as possible) is useful when extracting the document’s contents in support of accessibility to users with disabilities or for other purposes.

        Returns:
        String object
      • setActualText

        public void setActualText(String value)

        (Optional; PDF 1.4) Text that is an exact replacement for the structure element and its children. This replacement text (which should apply to as small a piece of content as possible) is useful when extracting the document’s contents in support of accessibility to users with disabilities or for other purposes.

        Parameters:
        value - String object
      • getAlt

        public String getAlt()

        (Optional) An alternate description of the structure element and its children in human-readableform, which is useful when extracting the document’s contents in support of accessibility to users with disabilities or for other purposes.

        Returns:
        String object
      • setAlt

        public void setAlt(String value)

        (Optional) An alternate description of the structure element and its children in human-readableform, which is useful when extracting the document’s contents in support of accessibility to users with disabilities or for other purposes.

        Parameters:
        value - String object
      • getE

        public String getE()

        (Optional; PDF 1.5) The expanded form of an abbreviation.

        Returns:
        String object
      • setE

        public void setE(String value)

        (Optional; PDF 1.5) The expanded form of an abbreviation.

        Parameters:
        value - String object