![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.powerpoint.Portion
public final class Portion
Represents the portion of a text paragraph.
Constructor Summary | |
---|---|
Portion()
Initializes a new instance of the Portion class. |
|
Portion(Portion portion)
Initializes a new instance of the Portion class. |
|
Portion(java.lang.String str)
Initializes a new instance of the Portion class. |
Method Summary | |
---|---|
short |
getEscapement()
Returns superscript or subscript text. |
java.awt.Color |
getFontColor()
Returns the color of a portion. |
short |
getFontHeight()
Returns the font height of a portion. |
short |
getFontIndex()
Returns the index of the used font in a Fonts collection. |
short |
getSymbolFontIndex()
Returns the index of the font used for special symbols in a Fonts collection. |
java.lang.String |
getText()
Returns the plain text of a portion. |
boolean |
isFontBold()
Determines whether the font is bold. |
boolean |
isFontEmbossed()
Determines whether the font is embossed. |
boolean |
isFontItalic()
Determines whether the font is italic |
boolean |
isFontShadow()
Determines whether the font has shadow. |
boolean |
isFontUnderline()
Determines whether the font is underlined. |
void |
setEscapement(short value)
Sets superscript or subscript text. |
void |
setFontBold(boolean value)
Sets whether the font is bold. |
void |
setFontColor(java.awt.Color value)
Sets the color of a portion. |
void |
setFontEmbossed(boolean value)
Sets whether the font is embossed. |
void |
setFontHeight(short value)
Sets the font height of a portion. |
void |
setFontIndex(short value)
Sets the index of the used font in a Fonts collection. |
void |
setFontItalic(boolean value)
Sets whether the font is italic. |
void |
setFontShadow(boolean value)
Sets whether the font has shadow. |
void |
setFontUnderline(boolean value)
Sets whether the font is underlined. |
void |
setSymbolFontIndex(short value)
Sets the index of the font used for special symbols in a Fonts collection. |
void |
setText(java.lang.String value)
Sets the plain text of a portion. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Portion()
public Portion(java.lang.String str)
str
- text string to initialize new Portion class.public Portion(Portion portion)
portion
- Portion object to clone.Method Detail |
---|
public boolean isFontBold()
public void setFontBold(boolean value)
value
- true to make bold font.public boolean isFontItalic()
public void setFontItalic(boolean value)
value
- true to make italic font.public boolean isFontUnderline()
public void setFontUnderline(boolean value)
value
- true to make underlined font.public boolean isFontShadow()
public void setFontShadow(boolean value)
value
- true to make font with shadow.public boolean isFontEmbossed()
public void setFontEmbossed(boolean value)
value
- true to make embossed font.public short getFontHeight()
public void setFontHeight(short value)
value
- new font height.public java.awt.Color getFontColor()
public void setFontColor(java.awt.Color value)
value
- new color for a portion.public short getFontIndex()
public void setFontIndex(short value)
value
- index of the new font.public short getSymbolFontIndex()
public void setSymbolFontIndex(short value)
value
- index of the new font.public java.lang.String getText()
public void setText(java.lang.String value)
value
- the plain text string.public short getEscapement()
public void setEscapement(short value)
value
- from -100% (subscript) to 100% (superscript).
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |