|
||||||||
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.
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 |
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. |
Field |
getField()
Returns or sets a field object for this portion. |
boolean |
getFontBold()
Determines whether the font is Bold. |
java.awt.Color |
getFontColor()
|
short |
getFontColorIndex()
Returns or sets the index of a color in a color scheme or <b>-1</b> for scheme-independed color. |
boolean |
getFontEmbossed()
Determines whether the font is embossed. |
short |
getFontHeight()
Returns or sets the font height of a portion. |
int |
getFontIndex()
Returns or sets the index of a font in Fonts collection. |
boolean |
getFontItalic()
Determines whether the font is Italic. |
boolean |
getFontShadow()
Determines whether the font has shadow. |
boolean |
getFontUnderline()
Determines whether the font is underlined. |
int |
getRawAnsiFontIndex()
Returns or sets the index of a font in Fonts collection for ANSI text writings. |
int |
getRawAsianOrComplexFontIndex()
Returns or sets the index of a font in Fonts collection for East Asian and complex text layout writings. |
short |
getRawEscapement()
Returns or sets the superscript or subscript text. |
java.awt.Color |
getRawFontColor()
|
short |
getRawFontHeight()
Returns or sets the font height of a portion. |
int |
getRawFontIndex()
Returns or sets the index of a font in Fonts collection. |
int |
getRawSymbolFontIndex()
Returns or sets the index of a font in Fonts collection for special symbols. |
int |
getSymbolFontIndex()
Returns or sets the index of a font in Fonts collection for special symbols. |
java.lang.String |
getText()
Gets or sets the plain text of a portion. |
void |
setAnsiFontIndex(int value)
|
void |
setAsianOrComplexFontIndex(int value)
|
void |
setEscapement(short value)
|
void |
setField(Field 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 |
setRawFontColor(java.awt.Color value)
|
void |
setRawFontHeight(short value)
|
void |
setRawFontIndex(int value)
|
void |
setRawSymbolFontIndex(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 |
Constructor Detail |
---|
public Portion()
Initializes a new instance of the Portion class.
public Portion(java.lang.String str)
Initializes a new instance of the Portion class.
public Portion(Portion portion)
Initializes a new instance of the Portion class.
Method Detail |
---|
public boolean getFontBold()
Determines whether the font is Bold.
Read/write bool
.
public void setFontBold(boolean value)
public boolean getFontItalic()
Determines whether the font is Italic.
Read/write bool
.
public void setFontItalic(boolean value)
public boolean getFontUnderline()
Determines whether the font is underlined.
Read/write bool
.
public void setFontUnderline(boolean value)
public boolean getFontShadow()
Determines whether the font has shadow.
Read/write bool
.
public void setFontShadow(boolean value)
public boolean getFontEmbossed()
Determines whether the font is embossed.
Read/write bool
.
public void setFontEmbossed(boolean value)
public short getFontHeight()
Returns or sets the font height of a portion.
Read/write short
.
public void setFontHeight(short value)
public java.awt.Color getFontColor()
public void setFontColor(java.awt.Color value)
public short getFontColorIndex()
Returns or sets the index of a color in a color scheme or
<b>-1</b>
for scheme-independed color.
Read/write short
public void setFontColorIndex(short value)
public int getFontIndex()
Returns or sets the index of a font in Fonts collection.
Read/write int
.
public void setFontIndex(int value)
public int getSymbolFontIndex()
Returns or sets the index of a font in Fonts collection for special symbols.
Read/write int
.
public void setSymbolFontIndex(int value)
public int getAsianOrComplexFontIndex()
Returns or sets the index of a font in Fonts collection
for East Asian and complex text layout writings.
Read/write int
.
public void setAsianOrComplexFontIndex(int value)
public int getAnsiFontIndex()
Returns or sets the index of a font in Fonts collection
for ANSI text writings.
Read/write int
.
public void setAnsiFontIndex(int value)
public java.lang.String getText()
Gets or sets the plain text of a portion.
Value: The text.
public void setText(java.lang.String value)
public short getEscapement()
Returns or sets superscript or subscript text.
Value from -100% (subscript) to 100% (superscript).
Read/write short
.
public void setEscapement(short value)
public short getRawFontHeight()
Returns or sets the font height of a portion.
<b>-1</b>
means height is undefined and should be inherited from the Master.
Read/write short
.
public void setRawFontHeight(short value)
public java.awt.Color getRawFontColor()
public void setRawFontColor(java.awt.Color value)
public int getRawFontIndex()
Returns or sets the index of a font in Fonts collection.
<b>-1</b>
means font is undefined and should be inherited from the Master.
Read/write int
.
public void setRawFontIndex(int value)
public int getRawSymbolFontIndex()
Returns or sets the index of a font in Fonts collection for special symbols.
<b>-1</b>
means font is undefined and should be inherited from the Master.
Read/write int
.
public void setRawSymbolFontIndex(int value)
public int getRawAsianOrComplexFontIndex()
Returns or sets the index of a font in Fonts collection
for East Asian and complex text layout writings.
<b>-1</b>
means font is undefined and should be inherited from the Master.
Read/write int
.
public void setRawAsianOrComplexFontIndex(int value)
public int getRawAnsiFontIndex()
Returns or sets the index of a font in Fonts collection
for ANSI text writings.
<b>-1</b>
means font is undefined and should be inherited from the Master.
Read/write int
.
public void setRawAnsiFontIndex(int value)
public short getRawEscapement()
Returns or sets the superscript or subscript text.
Value from -100% (subscript) to 100% (superscript).
<b>-101</b>
means value is undefined and should be inherited from the Master.
Read/write short
.
public void setRawEscapement(short value)
public Field getField()
Returns or sets a field object for this portion.
Read/write Field
.
public void setField(Field value)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |