|
|||||||||
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 a portion of a text.
Field Summary | |
---|---|
boolean |
m_bBold
|
boolean |
m_bDefaultColor
|
boolean |
m_bEmboss
|
boolean |
m_bItalic
|
boolean |
m_bShadow
|
boolean |
m_bUnderline
|
short |
m_nAnsiFont
|
short |
m_nAsianOrComplexFont
|
int |
m_nCharAttr
|
java.awt.Color |
m_nColor
|
int |
m_nColorIndex
|
short |
m_nEscapement
|
int |
m_nFlags
|
short |
m_nFont
|
short |
m_nFontHeight
|
int |
m_nStyleCache
|
short |
m_nSymbolFont
|
Constructor Summary | |
---|---|
Portion()
Initializes a new instance of the Portion class. |
|
Portion(int dummy)
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. |
|
Portion(java.lang.String str,
int dummy)
Initializes a new instance of the Portion class. |
Method Summary | |
---|---|
int |
getAnsiFontIndex()
Returns or sets the index of a font in Fonts collection for ANSI text writings. |
int |
getAsianOrComplexFontIndex()
Returns or sets the index of a font in Fonts collection for East Asian and complex text layout writings. |
short |
getEscapement()
Returns or sets superscript or subscript text. |
java.awt.Color |
getFontColor()
Returns or sets the color of a portion. |
short |
getFontColorIndex()
Returns or sets the index of a color in a color scheme or -1 for scheme-independed color. |
short |
getFontHeight()
Returns or sets the font height of a portion. |
int |
getFontIndex()
Returns or sets the index of a font in Fonts collection. |
com.aspose.slides.ppt.LevelStyle |
getMasterStyle()
|
int |
getRawAnsiFontIndex()
Returns or sets the index of a font in Fonts collection for ANSI text writings. -1 means font is undefined and should be inherited from the Master. |
int |
getRawAsianOrComplexFontIndex()
Returns or sets the index of a font in Fonts collection for East Asian and complex text layout writings. -1 means font is undefined and should be inherited from the Master. |
short |
getRawEscapement()
Returns or sets the superscript or subscript text. |
java.awt.Color |
getRawFontColor()
Returns or sets the color of a portion. |
short |
getRawFontHeight()
Returns or sets the font height of a portion. -1 means height is undefined and should be inherited from the Master. |
int |
getRawFontIndex()
Returns or sets the index of a font in Fonts collection. -1 means font is undefined and should be inherited from the Master. |
int |
getRawSymbolFontIndex()
Returns or sets the index of a font in Fonts collection for special symbols. -1 means font is undefined and should be inherited from the Master. |
int |
getSymbolFontIndex()
Returns or sets the index of a font in Fonts collection for special symbols. |
java.lang.String |
getText()
Returns or sets 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 |
setAnsiFontIndex(int value)
|
void |
setAsianOrComplexFontIndex(int value)
|
void |
setEscapement(short value)
|
void |
setFontBold(boolean value)
|
void |
setFontColor(java.awt.Color value)
|
void |
setFontColorIndex(short value)
|
void |
setFontEmbossed(boolean value)
|
void |
setFontHeight(short value)
|
void |
setFontIndex(int value)
|
void |
setFontItalic(boolean value)
|
void |
setFontShadow(boolean value)
|
void |
setFontUnderline(boolean value)
|
void |
setRawAnsiFontIndex(int value)
|
void |
setRawAsianOrComplexFontIndex(int value)
|
void |
setRawEscapement(short value)
|
void |
setRawFontBold(boolean isBold)
|
void |
setRawFontColor(java.awt.Color value)
|
void |
setRawFontHeight(short value)
|
void |
setRawFontIndex(int value)
|
void |
setRawFontItalic(boolean isItalic)
|
void |
setRawFontUnderlined(boolean isUnderlined)
|
void |
setRawSymbolFontIndex(int value)
|
void |
setRawValue(int bitShift,
int value)
|
void |
setSymbolFontIndex(int value)
|
void |
setText(java.lang.String value)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int m_nFlags
public int m_nCharAttr
public int m_nStyleCache
public boolean m_bBold
public boolean m_bItalic
public boolean m_bUnderline
public boolean m_bShadow
public boolean m_bEmboss
public short m_nSymbolFont
public short m_nFont
public short m_nAsianOrComplexFont
public short m_nAnsiFont
public short m_nFontHeight
public java.awt.Color m_nColor
public int m_nColorIndex
public boolean m_bDefaultColor
public short m_nEscapement
Constructor Detail |
---|
public Portion()
public Portion(int dummy)
public Portion(java.lang.String str)
public Portion(java.lang.String str, int dummy)
public Portion(Portion portion)
Method Detail |
---|
public boolean isFontBold()
public void setFontBold(boolean value)
public boolean isFontItalic()
public void setFontItalic(boolean value)
public boolean isFontUnderline()
public void setFontUnderline(boolean value)
public boolean isFontShadow()
public void setFontShadow(boolean value)
public boolean isFontEmbossed()
public void setFontEmbossed(boolean value)
public short getFontHeight()
public void setFontHeight(short value)
public java.awt.Color getFontColor()
public void setFontColor(java.awt.Color value)
public short getFontColorIndex()
public void setFontColorIndex(short value)
public int getFontIndex()
public void setFontIndex(int value)
public int getSymbolFontIndex()
public void setSymbolFontIndex(int value)
public int getAsianOrComplexFontIndex()
public void setAsianOrComplexFontIndex(int value)
public int getAnsiFontIndex()
public void setAnsiFontIndex(int value)
public java.lang.String getText()
public void setText(java.lang.String value)
public short getEscapement()
public void setEscapement(short value)
public short getRawFontHeight()
public void setRawFontHeight(short value)
public java.awt.Color getRawFontColor()
public void setRawFontColor(java.awt.Color value)
public int getRawFontIndex()
public void setRawFontIndex(int value)
public int getRawSymbolFontIndex()
public void setRawSymbolFontIndex(int value)
public int getRawAsianOrComplexFontIndex()
public void setRawAsianOrComplexFontIndex(int value)
public int getRawAnsiFontIndex()
public void setRawAnsiFontIndex(int value)
public short getRawEscapement()
public void setRawEscapement(short value)
public com.aspose.slides.ppt.LevelStyle getMasterStyle()
public void setRawValue(int bitShift, int value)
public void setRawFontBold(boolean isBold)
public void setRawFontUnderlined(boolean isUnderlined)
public void setRawFontItalic(boolean isItalic)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |