public class FontSettingCollection extends CollectionBase
FontSetting.| Modifier and Type | Method and Description |
|---|---|
void |
appendText(java.lang.String text)
Appends the text.
|
void |
clear()
Clear all setting.
|
void |
deleteText(int index,
int count)
Delete some characters.
|
boolean |
equals(java.lang.Object obj) |
void |
format(int startIndex,
int length,
Font font,
StyleFlag flag)
Format the text with font setting.
|
FontSetting |
get(int index)
Gets the
FontSetting by the index. |
java.lang.String |
getHtmlString()
Gets the html string which contains data and some formats in this shape.
|
java.util.Iterator |
getParagraphEnumerator()
Gets the enumerator of the paragraphs.
|
java.lang.String |
getText()
Gets the text of the shape.
|
ShapeTextAlignment |
getTextAlignment()
Represents the alignment setting of the text body.
|
TextParagraphCollection |
getTextParagraphs()
Gets all paragraphs.
|
int |
hashCode() |
void |
insertText(int index,
java.lang.String text)
Insert index at the position.
|
void |
replace(int index,
int count,
java.lang.String text)
Replace the text.
|
void |
replace(java.lang.String oldValue,
java.lang.String newValue)
Replace the text.
|
void |
setHtmlString(java.lang.String value)
Sets the html string which contains data and some formats in this shape.
|
void |
setText(java.lang.String value)
Sets the text of the shape.
|
void |
setWordArtStyle(int style)
Sets the preset WordArt style.
|
public void setWordArtStyle(int style)
style - PresetWordArtStyle. The preset WordArt style.public ShapeTextAlignment getTextAlignment()
public TextParagraphCollection getTextParagraphs()
public java.util.Iterator getParagraphEnumerator()
public java.lang.String getText()
public void setText(java.lang.String value)
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 replace(java.lang.String oldValue,
java.lang.String newValue)
oldValue - The old text.newValue - The new text.public void deleteText(int index,
int count)
index - The start index.count - The count of characters.public java.lang.String getHtmlString()
public void setHtmlString(java.lang.String value)
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 FontSetting get(int index)
FontSetting by the index.get in class CollectionBaseindex - The index.public void clear()
clear in class CollectionBasepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - public int hashCode()
hashCode in class java.lang.ObjectSee Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.