public class FontSettingCollection
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | |
java.lang.String | getHtmlString() | |
void | setHtmlString(java.lang.Stringvalue) | |
Gets and sets the html string which contains data and some formats in this shape. | ||
java.lang.String | getText() | |
void | setText(java.lang.Stringvalue) | |
Gets and sets the text of the shape. | ||
ShapeTextAlignment | getTextAlignment() | |
Represents the alignment setting of the text body.
|
||
TextParagraphCollection | getTextParagraphs() | |
Gets all paragraphs.
|
||
FontSetting | get(int index) | |
Gets the |
Method Summary | ||
---|---|---|
int | add(java.lang.Object value) | |
Reserved for internal use. |
||
void | appendText(java.lang.String text) | |
Appends the text.
|
||
void | clear() | |
Clear all setting.
|
||
boolean | contains(java.lang.Object value) | |
Reserved for internal use. |
||
void | deleteText(int index, int count) | |
Delete some characters.
|
||
void | format(int startIndex, int length, Font font, StyleFlag flag) | |
Format the text with font setting.
|
||
java.util.Iterator | getParagraphEnumerator() | |
Gets the enumerator of the paragraphs.
|
||
int | indexOf(java.lang.Object value) | |
Reserved for internal use. |
||
void | insertText(int index, java.lang.String text) | |
Insert index at the position.
|
||
java.util.Iterator | iterator() | |
void | removeAt(int index) | |
void | replace(int index, int count, java.lang.String text) | |
Replace the text.
|
||
void | setWordArtStyle(int style) | |
Sets the preset WortArt style.
|
public ShapeTextAlignment getTextAlignment()
public TextParagraphCollection getTextParagraphs()
public java.lang.String getText() / public void setText(java.lang.String value)
public java.lang.String getHtmlString() / public void setHtmlString(java.lang.String value)
public int getCount()
public FontSetting get(int index)
public void setWordArtStyle(int style) throws java.lang.Exception
style
- A public java.util.Iterator getParagraphEnumerator()
public void appendText(java.lang.String text)
text
- The text.public void insertText(int index, java.lang.String text)
index
- The start index.text
- The text.public void replace(int index, int count, java.lang.String text)
index
- The start index.count
- The count of characters.text
- The text.public void deleteText(int index, int count)
index
- The start index.count
- The count of characters.public void format(int startIndex, int length, Font font, StyleFlag flag)
startIndex
- The start index.length
- The length.font
- The font.flag
- The flags of the font.public void clear()
public void removeAt(int index)
public java.util.Iterator iterator()
public boolean contains(java.lang.Object value)
public int add(java.lang.Object value)
public int indexOf(java.lang.Object value)