|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.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 | |
---|---|
int |
getAsianOrComplexFontIndex()
Returns the index of the font used for east asian and complex text in a Fonts collection. |
short |
getEscapement()
Returns superscript or subscript text. |
java.awt.Color |
getFontColor()
Returns the color of a portion. |
short |
getFontColorIndex()
Returns index of color in color scheme or (-1) for scheme-independed color. |
short |
getFontHeight()
Returns the font height of a portion. |
int |
getFontIndex()
Returns the index of the used font in a Fonts collection. |
int |
getRawAsianOrComplexFontIndex()
Returns the index of a font in Fonts collection for east asian and complex text layout writings. |
short |
getRawEscapement()
Returns superscript or subscript text. |
java.awt.Color |
getRawFontColor()
Returns a color of a portion. |
short |
getRawFontEmbossed()
Returns: -1 if a value should be inherited from the Master. |
short |
getRawFontHeight()
Returns font height of a portion. |
int |
getRawFontIndex()
Returns the index of a font in Fonts collection. |
short |
getRawFontShadow()
Returns: -1 if a value should be inhedited from the Master. |
short |
getRawFontUnderline()
Returns: -1 if a value should be inherited from the Master. |
int |
getRawSymbolFontIndex()
Returns the index of a font in Fonts collection for special symbols. |
int |
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. |
boolean |
isRawFontBold()
Determines whether the master's font Bold property should be inverted. |
boolean |
isRawFontItalic()
Determines whether the master's font Itallic property should be inverted. |
void |
setAsianOrComplexFontIndex(int value)
Sets the index of the font used for east asian and complex text in a Fonts collection. |
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 |
setFontColorIndex(short value)
Sets index of color in color scheme or (-1) for scheme-independed color. |
void |
setFontEmbossed(boolean value)
Sets whether the font is embossed. |
void |
setFontHeight(short value)
Sets the font height of a portion. |
void |
setFontIndex(int 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 |
setRawAsianOrComplexFontIndex(int value)
Sets the index of a font in Fonts collection for east asian and complex text layout writings. |
void |
setRawEscapement(short value)
Sets superscript or subscript text. |
void |
setRawFontBold(boolean value)
Sets whether the master's font Bold property should be inverted. |
void |
setRawFontColor(java.awt.Color value)
Sets a color of a portion. |
void |
setRawFontEmbossed(short value)
Sets: -1 if a value should be inherited from the Master. |
void |
setRawFontHeight(short value)
Sets font height of a portion. |
void |
setRawFontIndex(int value)
Sets the index of a font in Fonts collection. |
void |
setRawFontItalic(boolean value)
Sets whether the master's font Itallic property should be inverted. |
void |
setRawFontShadow(short value)
Sets: -1 if a value should be inhedited from the Master. |
void |
setRawFontUnderline(short value)
Sets: -1 if a value should be inherited from the Master. |
void |
setRawSymbolFontIndex(int value)
Sets the index of a font in Fonts collection for special symbols. |
void |
setSymbolFontIndex(int 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 getFontColorIndex()
public void setFontColorIndex(short value)
value
- Sets index of color in color scheme.public int getFontIndex()
public void setFontIndex(int value)
value
- index of the new font.public int getSymbolFontIndex()
public void setSymbolFontIndex(int value)
value
- index of the new font.public int getAsianOrComplexFontIndex()
public void setAsianOrComplexFontIndex(int value)
value
- index of the new font.public java.lang.String getText()
public void setText(java.lang.String value) throws PptEditException
value
- the plain text string.
PptEditException
public short getEscapement()
public void setEscapement(short value)
value
- from (-100%) - subscript to (100%) - superscript.public boolean isRawFontBold()
public void setRawFontBold(boolean value)
value
- true if the master's font Bold property should be inverted.public boolean isRawFontItalic()
public void setRawFontItalic(boolean value)
value
- true if the master's font Itallic property should be inverted.public short getRawFontUnderline()
public void setRawFontUnderline(short value)
value
- raw value.public short getRawFontShadow()
public void setRawFontShadow(short value)
value
- raw value.public short getRawFontEmbossed()
public void setRawFontEmbossed(short value)
value
- raw value.public short getRawFontHeight()
public void setRawFontHeight(short value)
value
- Sets font height of a portion.public java.awt.Color getRawFontColor()
public void setRawFontColor(java.awt.Color value)
value
- public int getRawFontIndex()
public void setRawFontIndex(int value)
value
- the index of a font in Fonts collection.public int getRawSymbolFontIndex()
public void setRawSymbolFontIndex(int value)
value
- the index of a font in Fonts collection for special symbols.public int getRawAsianOrComplexFontIndex()
public void setRawAsianOrComplexFontIndex(int value)
value
- the index of a font in Fonts collection.public short getRawEscapement()
public void setRawEscapement(short value)
value
- superscript or subscript text.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |