com.aspose.pub

Class ParagraphStyle



  • public class ParagraphStyle
    extends BaseStyle

    This class describes style of PUB paragraph

    • Constructor Detail

      • ParagraphStyle

        public ParagraphStyle()

        Constructor

    • Method Detail

      • getAlign

        public final byte getAlign()

        Alignment type

        Returns:
        AlignmentType element
        See Also:
        AlignmentType
      • setAlignmentType

        public final void setAlignmentType(byte value)

        Sets alignment type

        Parameters:
        value - alignment type
        See Also:
        AlignmentType
      • getDefaultStyleIndex

        public final int getDefaultStyleIndex()

        Index of default text style in Document.DefaultTextStyles array

        Returns:
        int value
      • setDefaultStyleIndex

        public final void setDefaultStyleIndex(int value)

        Sets index for default text style in Document.DefaultTextStyles array

        Parameters:
        value - default style index
      • getLineSpacingValue

        public final double getLineSpacingValue()

        Value of line spacing

        Returns:
        double value
      • setLineSpacingValue

        public final void setLineSpacingValue(double value)

        Sets value of line spacing

        Parameters:
        value - Value of line spacing
      • getLineSpacingType

        public final byte getLineSpacingType()

        Type of line spacing

        Returns:
        LineSpacingType element
        See Also:
        LineSpacingType
      • setLineSpacingType

        public final void setLineSpacingType(byte value)

        Sets type of line spacing

        Parameters:
        value - Value of line spacing type
      • getTopIndent

        public final int getTopIndent()

        Top indent value

        Returns:
        int value
      • setTopIndent

        public final void setTopIndent(int value)

        Sets top indent

        Parameters:
        value - Top indent value
      • getBottomIndent

        public final int getBottomIndent()

        Bottom indent

        Returns:
        int value
      • setBottomIndent

        public final void setBottomIndent(int value)

        Sets bottom indent

        Parameters:
        value - Bottom indent value
      • getFirstLineIndent

        public final int getFirstLineIndent()

        First line indent

        Returns:
        int value
      • setFirstLineIndent

        public final void setFirstLineIndent(int value)

        Sets first line indent

        Parameters:
        value - First line indent value
      • getLeftIndent

        public final int getLeftIndent()

        Left indent

        Returns:
        int value
      • setLeftIndent

        public final void setLeftIndent(int value)

        Sets left indent

        Parameters:
        value - Lefdt indent value
      • getRightIndent

        public final int getRightIndent()

        Right indent

        Returns:
        int value
      • setRightIndent

        public final void setRightIndent(int value)

        Sets right indent

        Parameters:
        value - Right indent value
      • isList

        public final boolean isList()

        Is list paragraph

        Returns:
        boolean value
      • setIsList

        public final void setIsList(boolean value)

        Sets is paragraph list

        Parameters:
        value - Is list value
      • isOrderedList

        public final boolean isOrderedList()

        Is paragraph ordered list

        Returns:
        boolean value
      • setIsOrderedList

        public final void setIsOrderedList(boolean value)

        Sets whether paragraph is ordered list

        Parameters:
        value - Is ordered list value
      • getUnorderedListChar

        public final char getUnorderedListChar()

        Character for unordered list in paragraph, if paragraph is an unordered list

        Returns:
        char value
      • setUnorderedListChar

        public final void setUnorderedListChar(char value)

        Sets character for unordered list in paragraph

        Parameters:
        value - Unordered list char value