public class ParagraphStyleObject extends HierarchyNode<ExtendedGuid>
The paragraph style object.
Constructor and Description |
---|
ParagraphStyleObject(ExtendedGuid nodeId)
Initializes a new instance of the
ParagraphStyleObject class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
The equals.
|
boolean |
getBold()
Gets whether the text of the paragraph is bold.
|
String |
getFont()
Gets the font name of the text.
|
com.aspose.ms.System.Drawing.Color |
getFontColor()
Gets the color of the text.
|
int |
getFontSize()
Gets the size of the text.
|
com.aspose.ms.System.Drawing.Color |
getHighlight()
Gets the highlight color of the text.
|
boolean |
getItalic()
Gets whether the text of the paragraph is italicized.
|
String |
getNextStyle()
Gets the default style of the next paragraph.
|
byte |
getParagraphAlignment()
It pecifies the alignment of the paragraph.
|
float |
getParagraphLineSpacingExact()
Gets the line spacing to use between lines of text in the paragraph.
|
float |
getParagraphSpaceAfter()
Gets the minimum amount of space to immediately follow the paragraph.
|
float |
getParagraphSpaceBefore()
Gets the minimum amount of space to immediately precede the paragraph.
|
String |
getParagraphStyleId()
Gets the style of paragraph text.
|
boolean |
getStrikethrough()
Gets whether the text is displayed with strike-through formatting.
|
boolean |
getSubscript()
Gets whether the text is subscript.
|
boolean |
getSuperscript()
Gets whether the text is superscript.
|
boolean |
getUnderline()
Gets whether the text of the paragraph is underlined.
|
boolean |
getUnderlineType()
Gets the type of underline to use.
|
int |
hashCode()
The get hash code.
|
static boolean |
op_Equality(ParagraphStyleObject left,
ParagraphStyleObject right)
The ==.
|
static boolean |
op_Inequality(ParagraphStyleObject left,
ParagraphStyleObject right)
The !=.
|
void |
setBold(boolean value)
Gets whether the text of the paragraph is bold.
|
void |
setFont(String value)
Gets the font name of the text.
|
void |
setFontColor(com.aspose.ms.System.Drawing.Color value)
Gets the color of the text.
|
void |
setFontSize(int value)
Gets the size of the text.
|
void |
setHighlight(com.aspose.ms.System.Drawing.Color value)
Gets the highlight color of the text.
|
void |
setItalic(boolean value)
Gets whether the text of the paragraph is italicized.
|
void |
setNextStyle(String value)
Gets the default style of the next paragraph.
|
void |
setParagraphAlignment(byte value)
It pecifies the alignment of the paragraph.
|
void |
setParagraphLineSpacingExact(float value)
Gets the line spacing to use between lines of text in the paragraph.
|
void |
setParagraphSpaceAfter(float value)
Gets the minimum amount of space to immediately follow the paragraph.
|
void |
setParagraphSpaceBefore(float value)
Gets the minimum amount of space to immediately precede the paragraph.
|
void |
setParagraphStyleId(String value)
Gets the style of paragraph text.
|
void |
setStrikethrough(boolean value)
Gets whether the text is displayed with strike-through formatting.
|
void |
setSubscript(boolean value)
Gets whether the text is subscript.
|
void |
setSuperscript(boolean value)
Gets whether the text is superscript.
|
void |
setUnderline(boolean value)
Gets whether the text of the paragraph is underlined.
|
void |
setUnderlineType(boolean value)
Gets the type of underline to use.
|
getNodeId, getType
public ParagraphStyleObject(ExtendedGuid nodeId)
Initializes a new instance of the ParagraphStyleObject
class.
nodeId
- The node id.public boolean getBold()
Gets whether the text of the paragraph is bold.
public void setBold(boolean value)
Gets whether the text of the paragraph is bold.
public boolean getItalic()
Gets whether the text of the paragraph is italicized.
public void setItalic(boolean value)
Gets whether the text of the paragraph is italicized.
public boolean getUnderline()
Gets whether the text of the paragraph is underlined.
public void setUnderline(boolean value)
Gets whether the text of the paragraph is underlined.
public boolean getUnderlineType()
Gets the type of underline to use.
public void setUnderlineType(boolean value)
Gets the type of underline to use.
public boolean getStrikethrough()
Gets whether the text is displayed with strike-through formatting.
public void setStrikethrough(boolean value)
Gets whether the text is displayed with strike-through formatting.
public boolean getSuperscript()
Gets whether the text is superscript.
public void setSuperscript(boolean value)
Gets whether the text is superscript.
public boolean getSubscript()
Gets whether the text is subscript.
public void setSubscript(boolean value)
Gets whether the text is subscript.
public String getFont()
Gets the font name of the text.
public void setFont(String value)
Gets the font name of the text.
public int getFontSize()
Gets the size of the text.
public void setFontSize(int value)
Gets the size of the text.
public com.aspose.ms.System.Drawing.Color getFontColor()
Gets the color of the text.
public void setFontColor(com.aspose.ms.System.Drawing.Color value)
Gets the color of the text.
public com.aspose.ms.System.Drawing.Color getHighlight()
Gets the highlight color of the text.
public void setHighlight(com.aspose.ms.System.Drawing.Color value)
Gets the highlight color of the text.
public String getNextStyle()
Gets the default style of the next paragraph.
public void setNextStyle(String value)
Gets the default style of the next paragraph.
public String getParagraphStyleId()
Gets the style of paragraph text.
public void setParagraphStyleId(String value)
Gets the style of paragraph text.
public byte getParagraphAlignment()
It pecifies the alignment of the paragraph.
public void setParagraphAlignment(byte value)
It pecifies the alignment of the paragraph.
public float getParagraphSpaceBefore()
Gets the minimum amount of space to immediately precede the paragraph.
public void setParagraphSpaceBefore(float value)
Gets the minimum amount of space to immediately precede the paragraph.
public float getParagraphSpaceAfter()
Gets the minimum amount of space to immediately follow the paragraph.
public void setParagraphSpaceAfter(float value)
Gets the minimum amount of space to immediately follow the paragraph.
public float getParagraphLineSpacingExact()
Gets the line spacing to use between lines of text in the paragraph.
public void setParagraphLineSpacingExact(float value)
Gets the line spacing to use between lines of text in the paragraph.
public boolean equals(Object obj)
The equals.
public int hashCode()
The get hash code.
public static boolean op_Equality(ParagraphStyleObject left, ParagraphStyleObject right)
The ==.
left
- The left.right
- The right.public static boolean op_Inequality(ParagraphStyleObject left, ParagraphStyleObject right)
The !=.
left
- The left.right
- The right.Copyright (c) 2017 Aspose. All Rights Reserved.