public class ParagraphStyleObjectForText extends HierarchyNode<ExtendedGuid>
The paragraph style object for text.
Constructor and Description |
---|
ParagraphStyleObjectForText(ExtendedGuid nodeId)
Initializes a new instance of the
ParagraphStyleObjectForText class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
The equals.
|
boolean |
getBold()
Gets whether the text of the paragraph is bold.
|
byte |
getCharset()
Gets the character set (1) of the text.
|
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.
|
boolean |
getHidden()
Gets whether the text is displayed.
|
com.aspose.ms.System.Drawing.Color |
getHighlight()
Gets the highlight color of the text.
|
boolean |
getHyperlink()
Gets whether the text is a hyperlink.
|
boolean |
getHyperlinkProtected()
Gets whether the text is the display text for a hyperlink.
|
boolean |
getItalic()
Gets whether the text of the paragraph is italicized.
|
int |
getLanguageId()
Gets language code identifier.
|
boolean |
getMathFormatting()
Gets whether the text is formatted as a mathematical expression.
|
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 |
getTextRunIsEmbeddedObject()
Gets whether the text is an embedded object that is formatted as rich text.
|
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(ParagraphStyleObjectForText left,
ParagraphStyleObjectForText right)
The ==.
|
static boolean |
op_Inequality(ParagraphStyleObjectForText left,
ParagraphStyleObjectForText right)
The !=.
|
void |
setBold(boolean value)
Gets whether the text of the paragraph is bold.
|
void |
setCharset(byte value)
Gets the character set (1) of the text.
|
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 |
setHidden(boolean value)
Gets whether the text is displayed.
|
void |
setHighlight(com.aspose.ms.System.Drawing.Color value)
Gets the highlight color of the text.
|
void |
setHyperlink(boolean value)
Gets whether the text is a hyperlink.
|
void |
setHyperlinkProtected(boolean value)
Gets whether the text is the display text for a hyperlink.
|
void |
setItalic(boolean value)
Gets whether the text of the paragraph is italicized.
|
void |
setLanguageId(int value)
Gets language code identifier.
|
void |
setMathFormatting(boolean value)
Gets whether the text is formatted as a mathematical expression.
|
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 |
setTextRunIsEmbeddedObject(boolean value)
Gets whether the text is an embedded object that is formatted as rich text.
|
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 ParagraphStyleObjectForText(ExtendedGuid nodeId)
Initializes a new instance of the ParagraphStyleObjectForText
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 byte getCharset()
Gets the character set (1) of the text.
public void setCharset(byte value)
Gets the character set (1) of the text.
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 int getLanguageId()
Gets language code identifier.
public void setLanguageId(int value)
Gets language code identifier.
public boolean getMathFormatting()
Gets whether the text is formatted as a mathematical expression.
public void setMathFormatting(boolean value)
Gets whether the text is formatted as a mathematical expression.
public boolean getHyperlink()
Gets whether the text is a hyperlink.
public void setHyperlink(boolean value)
Gets whether the text is a hyperlink.
public boolean getHidden()
Gets whether the text is displayed.
public void setHidden(boolean value)
Gets whether the text is displayed.
public boolean getHyperlinkProtected()
Gets whether the text is the display text for a hyperlink.
public void setHyperlinkProtected(boolean value)
Gets whether the text is the display text for a hyperlink.
public boolean getTextRunIsEmbeddedObject()
Gets whether the text is an embedded object that is formatted as rich text.
public void setTextRunIsEmbeddedObject(boolean value)
Gets whether the text is an embedded object that is formatted as rich text.
public boolean equals(Object obj)
The equals.
public int hashCode()
The get hash code.
public static boolean op_Equality(ParagraphStyleObjectForText left, ParagraphStyleObjectForText right)
The ==.
left
- The left.right
- The right.public static boolean op_Inequality(ParagraphStyleObjectForText left, ParagraphStyleObjectForText right)
The !=.
left
- The left.right
- The right.Copyright (c) 2017 Aspose. All Rights Reserved.