com.aspose.cells.TextParagraph.html Maven / Gradle / Ivy
TextParagraph
com.aspose.cells
Class TextParagraph
java.lang.Object
FontSetting
com.aspose.cells.TextParagraph
public class TextParagraph
- extends FontSetting
Property Getters/Setters Summary | ||
---|---|---|
int | getAlignmentType() | |
void | setAlignmentType(int) | |
Gets and sets the text horizontal alignment type of the paragraph. The value of the property is TextAlignmentType integer constant. | ||
Bullet | getBullet() | |
Gets the bullet. | ||
com.aspose.cells.FontSetting[] | getChildren() | |
Gets all text runs in this paragraph. If this paragraph is empty, return paragraph itself. | ||
double | getDefaultTabSize() | |
void | setDefaultTabSize(double) | |
Gets and sets the default size for a tab character within this paragraph. | ||
double | getFirstLineIndent() | |
void | setFirstLineIndent(double) | |
Specifies the indent size that will be applied to the first line of text in the paragraph. | ||
Font | getFont() | → inherited from FontSetting
|
Returns the font of this object. | ||
int | getFontAlignType() | |
void | setFontAlignType(int) | |
Determines where vertically on a line of text the actual words are positioned. This deals with vertical placement of the characters with respect to the baselines. The value of the property is TextFontAlignType integer constant. | ||
boolean | isEastAsianLineBreak() | |
void | setEastAsianLineBreak(boolean) | |
Specifies whether an East Asian word can be broken in half and wrapped onto the next line without a hyphen being added. | ||
boolean | isHangingPunctuation() | |
void | setHangingPunctuation(boolean) | |
Specifies whether punctuation is to be forcefully laid out on a line of text or put on a different line of text. | ||
boolean | isLatinLineBreak() | |
void | setLatinLineBreak(boolean) | |
Specifies whether a Latin word can be broken in half and wrapped onto the next line without a hyphen being added. | ||
double | getLeftMargin() | |
void | setLeftMargin(double) | |
Specifies the left margin of the paragraph. | ||
int | getLength() | → inherited from FontSetting
|
Gets the length of the characters. | ||
double | getLineSpace() | |
void | setLineSpace(double) | |
Gets and sets the amount of vertical white space that will be used within a paragraph. | ||
int | getLineSpaceSizeType() | |
void | setLineSpaceSizeType(int) | |
Gets and sets the amount of vertical white space that will be used within a paragraph. The value of the property is LineSpaceSizeType integer constant. | ||
double | getRightMargin() | |
void | setRightMargin(double) | |
Specifies the right margin of the paragraph. | ||
double | getSpaceAfter() | |
void | setSpaceAfter(double) | |
Gets and sets the amount of vertical white space that will be present after a paragraph. | ||
int | getSpaceAfterSizeType() | |
void | setSpaceAfterSizeType(int) | |
Gets and sets the amount of vertical white space that will be present after a paragraph. The value of the property is LineSpaceSizeType integer constant. | ||
double | getSpaceBefore() | |
void | setSpaceBefore(double) | |
Gets and sets the amount of vertical white space that will be present before a paragraph. | ||
int | getSpaceBeforeSizeType() | |
void | setSpaceBeforeSizeType(int) | |
Gets and sets the amount of vertical white space that will be present before a paragraph. The value of the property is LineSpaceSizeType integer constant. | ||
int | getStartIndex() | → inherited from FontSetting
|
Gets the start index of the characters. | ||
TextTabStopCollection | getStops() | |
Gets tab stop list. | ||
TextOptions | getTextOptions() | → inherited from FontSetting
|
Returns the text options. | ||
int | getType() | |
Gets the type of text node. The value of the property is TextNodeType integer constant. |
Method Summary | ||
---|---|---|
void | setWordArtStyle(int style) | → inherited from FontSetting
|
Sets the preset WordArt style. |
Property Getters/Setters Detail |
---|
getBullet | |
public Bullet getBullet() |
Gets the bullet.
getType | |
public int getType() |
Gets the type of text node. The value of the property is TextNodeType integer constant.
getLineSpaceSizeType/setLineSpaceSizeType | |
public int getLineSpaceSizeType() / public void setLineSpaceSizeType(int value) |
Gets and sets the amount of vertical white space that will be used within a paragraph. The value of the property is LineSpaceSizeType integer constant.
getLineSpace/setLineSpace | |
public double getLineSpace() / public void setLineSpace(double value) |
Gets and sets the amount of vertical white space that will be used within a paragraph.
getSpaceAfterSizeType/setSpaceAfterSizeType | |
public int getSpaceAfterSizeType() / public void setSpaceAfterSizeType(int value) |
Gets and sets the amount of vertical white space that will be present after a paragraph. The value of the property is LineSpaceSizeType integer constant.
getSpaceAfter/setSpaceAfter | |
public double getSpaceAfter() / public void setSpaceAfter(double value) |
Gets and sets the amount of vertical white space that will be present after a paragraph.
getSpaceBeforeSizeType/setSpaceBeforeSizeType | |
public int getSpaceBeforeSizeType() / public void setSpaceBeforeSizeType(int value) |
Gets and sets the amount of vertical white space that will be present before a paragraph. The value of the property is LineSpaceSizeType integer constant.
getSpaceBefore/setSpaceBefore | |
public double getSpaceBefore() / public void setSpaceBefore(double value) |
Gets and sets the amount of vertical white space that will be present before a paragraph.
getStops | |
public TextTabStopCollection getStops() |
Gets tab stop list.
isLatinLineBreak/setLatinLineBreak | |
public boolean isLatinLineBreak() / public void setLatinLineBreak(boolean value) |
Specifies whether a Latin word can be broken in half and wrapped onto the next line without a hyphen being added.
isEastAsianLineBreak/setEastAsianLineBreak | |
public boolean isEastAsianLineBreak() / public void setEastAsianLineBreak(boolean value) |
Specifies whether an East Asian word can be broken in half and wrapped onto the next line without a hyphen being added.
isHangingPunctuation/setHangingPunctuation | |
public boolean isHangingPunctuation() / public void setHangingPunctuation(boolean value) |
Specifies whether punctuation is to be forcefully laid out on a line of text or put on a different line of text.
getRightMargin/setRightMargin | |
public double getRightMargin() / public void setRightMargin(double value) |
Specifies the right margin of the paragraph.
getLeftMargin/setLeftMargin | |
public double getLeftMargin() / public void setLeftMargin(double value) |
Specifies the left margin of the paragraph.
getFirstLineIndent/setFirstLineIndent | |
public double getFirstLineIndent() / public void setFirstLineIndent(double value) |
Specifies the indent size that will be applied to the first line of text in the paragraph.
getFontAlignType/setFontAlignType | |
public int getFontAlignType() / public void setFontAlignType(int value) |
Determines where vertically on a line of text the actual words are positioned. This deals with vertical placement of the characters with respect to the baselines. The value of the property is TextFontAlignType integer constant.
getAlignmentType/setAlignmentType | |
public int getAlignmentType() / public void setAlignmentType(int value) |
Gets and sets the text horizontal alignment type of the paragraph. The value of the property is TextAlignmentType integer constant.
getDefaultTabSize/setDefaultTabSize | |
public double getDefaultTabSize() / public void setDefaultTabSize(double value) |
Gets and sets the default size for a tab character within this paragraph.
getChildren | |
public com.aspose.cells.FontSetting[] getChildren() |
Gets all text runs in this paragraph. If this paragraph is empty, return paragraph itself.
getStartIndex | → inherited from FontSetting
|
public int getStartIndex() |
Gets the start index of the characters.
getLength | → inherited from FontSetting
|
public int getLength() |
Gets the length of the characters.
getFont | → inherited from FontSetting
|
public Font getFont() |
Returns the font of this object.
getTextOptions | → inherited from FontSetting
|
public TextOptions getTextOptions() |
Returns the text options.
Method Detail |
---|
setWordArtStyle | → inherited from FontSetting
|
public void setWordArtStyle(int style) throws java.lang.Exception |
Sets the preset WordArt style. Only for the text of shape/chart. - Parameters:
style
- APresetWordArtStyle value. The preset WordArt style.
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.