com.aspose.pdf.tagged

Interface ITaggedContent

  • All Known Implementing Classes:
    TaggedContent


    public interface ITaggedContent

    Represents interface for work with TaggedPdf content of document.

    • Method Detail

      • setLanguage

        void setLanguage(String lang)

        Sets natural language for pdf document.

        A language identifier that shall specify the natural language for all text in the document except where overridden by language specifications for structure elements or marked content.

        Parameters:
        lang - A language identifier shall either be the empty text string, to indicate that the language is unknown, or a Language-Tag as defined in RFC 3066, Tags for the Identification of Languages.
      • setTitle

        void setTitle(String title)

        Sets title for PDF document.

        Parameters:
        title - The title of PDF document.
      • createArtElement

        ArtElement createArtElement()

        Creates ArtElement.

        Returns:
        Created structure element.
      • createDivElement

        DivElement createDivElement()

        Creates DivElement.

        Returns:
        Created structure element.
      • createTOCElement

        TOCElement createTOCElement()

        Creates TOCElement.

        Returns:
        Created structure element.
      • createHeaderElement

        HeaderElement createHeaderElement(int level)

        Creates HeaderElement with level.

        Parameters:
        level - The level of Header. Must be 1, 2, 3, 4, 5 or 6.
        Returns:
        Created structure element.
      • createAnnotElement

        AnnotElement createAnnotElement()

        Creates AnnotElement.

        Returns:
        Created structure element.
      • createFigureElement

        FigureElement createFigureElement()

        Creates FigureElement.

        Returns:
        Created structure element.