com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class DocumentPartOptions



  • public final class DocumentPartOptions
    extends Object

    Provides the options for the document's part.

    • Constructor Detail

      • DocumentPartOptions

        public DocumentPartOptions()

        Initializes a new instance of the DocumentPartOptions class.

      • DocumentPartOptions

        public DocumentPartOptions(Integer maxWidth)

        Initializes a new instance of the DocumentPartOptions class.

        Parameters:
        maxWidth - Maximum length of the text.
      • DocumentPartOptions

        public DocumentPartOptions(Integer maxWidth,
                           Integer tabSize)

        Initializes a new instance of the DocumentPartOptions class.

        Parameters:
        maxWidth - Maximum length of the text.
        tabSize - A count of the space characters for replace the tab symbol.
      • DocumentPartOptions

        public DocumentPartOptions(Integer maxWidth,
                           Integer tabSize,
                           String style)

        Initializes a new instance of the DocumentPartOptions class.

        Parameters:
        maxWidth - Maximum length of the text.
        tabSize - A count of the space characters for replace the tab symbol.
        style - A style of the document's part.
      • DocumentPartOptions

        public DocumentPartOptions(Integer maxWidth,
                           Integer tabSize,
                           String style,
                           boolean isInline)

        Initializes a new instance of the DocumentPartOptions class.

        Parameters:
        maxWidth - Maximum length of the text.
        tabSize - A count of the space characters for replace the tab symbol.
        style - A style of the document's part.
        isInline - A boolean true if element is inline; otherwise, false.
    • Method Detail

      • getMaxWidth

        public Integer getMaxWidth()

        Gets a maximum string length.

        Returns:
        Value of the maximum text's length; null if text doesn't have maximum length.
      • getTabSize

        public int getTabSize()

        Gets a tab size.

        Returns:
        A count of the space characters for replace the tab symbol.
      • getStyle

        public String getStyle()

        Gets a style of the document's part.

        Returns:
        A style of the document's part.
      • isInline

        public boolean isInline()

        Gets a value indicating whether the element is inline.

        Returns:
        A boolean true if element is inline; otherwise, false.