com.aspose.note.hierarchy

Class ParagraphStyleObject

    • Constructor Detail

      • ParagraphStyleObject

        public ParagraphStyleObject(ExtendedGuid nodeId)

        Initializes a new instance of the ParagraphStyleObject class.

        Parameters:
        nodeId - The node id.
    • Method Detail

      • getBold

        public boolean getBold()

        Gets whether the text of the paragraph is bold.

      • setBold

        public void setBold(boolean value)

        Gets whether the text of the paragraph is bold.

      • getItalic

        public boolean getItalic()

        Gets whether the text of the paragraph is italicized.

      • setItalic

        public void setItalic(boolean value)

        Gets whether the text of the paragraph is italicized.

      • getUnderline

        public boolean getUnderline()

        Gets whether the text of the paragraph is underlined.

      • setUnderline

        public void setUnderline(boolean value)

        Gets whether the text of the paragraph is underlined.

      • getUnderlineType

        public boolean getUnderlineType()

        Gets the type of underline to use.

      • setUnderlineType

        public void setUnderlineType(boolean value)

        Gets the type of underline to use.

      • getStrikethrough

        public boolean getStrikethrough()

        Gets whether the text is displayed with strike-through formatting.

      • setStrikethrough

        public void setStrikethrough(boolean value)

        Gets whether the text is displayed with strike-through formatting.

      • getSuperscript

        public boolean getSuperscript()

        Gets whether the text is superscript.

      • setSuperscript

        public void setSuperscript(boolean value)

        Gets whether the text is superscript.

      • getSubscript

        public boolean getSubscript()

        Gets whether the text is subscript.

      • setSubscript

        public void setSubscript(boolean value)

        Gets whether the text is subscript.

      • getFont

        public String getFont()

        Gets the font name of the text.

      • setFont

        public void setFont(String value)

        Gets the font name of the text.

      • getFontSize

        public int getFontSize()

        Gets the size of the text.

      • setFontSize

        public void setFontSize(int value)

        Gets the size of the text.

      • getFontColor

        public com.aspose.ms.System.Drawing.Color getFontColor()

        Gets the color of the text.

      • setFontColor

        public void setFontColor(com.aspose.ms.System.Drawing.Color value)

        Gets the color of the text.

      • getHighlight

        public com.aspose.ms.System.Drawing.Color getHighlight()

        Gets the highlight color of the text.

      • setHighlight

        public void setHighlight(com.aspose.ms.System.Drawing.Color value)

        Gets the highlight color of the text.

      • getNextStyle

        public String getNextStyle()

        Gets the default style of the next paragraph.

      • setNextStyle

        public void setNextStyle(String value)

        Gets the default style of the next paragraph.

      • getParagraphStyleId

        public String getParagraphStyleId()

        Gets the style of paragraph text.

      • setParagraphStyleId

        public void setParagraphStyleId(String value)

        Gets the style of paragraph text.

      • getParagraphAlignment

        public byte getParagraphAlignment()

        It pecifies the alignment of the paragraph.

      • setParagraphAlignment

        public void setParagraphAlignment(byte value)

        It pecifies the alignment of the paragraph.

      • getParagraphSpaceBefore

        public float getParagraphSpaceBefore()

        Gets the minimum amount of space to immediately precede the paragraph.

      • setParagraphSpaceBefore

        public void setParagraphSpaceBefore(float value)

        Gets the minimum amount of space to immediately precede the paragraph.

      • getParagraphSpaceAfter

        public float getParagraphSpaceAfter()

        Gets the minimum amount of space to immediately follow the paragraph.

      • setParagraphSpaceAfter

        public void setParagraphSpaceAfter(float value)

        Gets the minimum amount of space to immediately follow the paragraph.

      • getParagraphLineSpacingExact

        public float getParagraphLineSpacingExact()

        Gets the line spacing to use between lines of text in the paragraph.

      • setParagraphLineSpacingExact

        public void setParagraphLineSpacingExact(float value)

        Gets the line spacing to use between lines of text in the paragraph.

      • equals

        public boolean equals(Object obj)

        The equals.

        Overrides:
        equals in class Object
        Parameters:
        obj - The obj.
        Returns:
        The bool.
      • hashCode

        public int hashCode()

        The get hash code.

        Overrides:
        hashCode in class Object
        Returns:
        The int.