public class TextParagraph extends FontSetting
| Modifier and Type | Method and Description |
|---|---|
int |
getAlignmentType()
Gets the text horizontal alignment type of the paragraph.
|
Bullet |
getBullet()
Gets the bullet.
|
FontSetting[] |
getChildren()
Gets all text runs in this paragraph.
|
double |
getDefaultTabSize()
Gets the default size for a tab character within this paragraph.
|
double |
getFirstLineIndent()
Specifies the indent size that will be applied to the first line of text in the paragraph.
|
int |
getFontAlignType()
Determines where vertically on a line of text the actual words are positioned.
|
double |
getLeftMargin()
Specifies the left margin of the paragraph.
|
double |
getLineSpace()
Gets the amount of vertical white space that will be used within a paragraph.
|
int |
getLineSpaceSizeType()
Gets the amount of vertical white space that will be used within a paragraph.
|
double |
getRightMargin()
Specifies the right margin of the paragraph.
|
double |
getSpaceAfter()
Gets the amount of vertical white space that will be present after a paragraph.
|
int |
getSpaceAfterSizeType()
Gets the amount of vertical white space that will be present after a paragraph.
|
double |
getSpaceBefore()
Gets the amount of vertical white space that will be present before a paragraph.
|
int |
getSpaceBeforeSizeType()
Gets the amount of vertical white space that will be present before a paragraph.
|
TextTabStopCollection |
getStops()
Gets tab stop list.
|
int |
getType()
Gets the type of text node.
|
boolean |
isEastAsianLineBreak()
Specifies whether an East Asian word can be broken in half and wrapped onto the next line without a hyphen being added.
|
boolean |
isHangingPunctuation()
Specifies whether punctuation is to be forcefully laid out on a line of text or put on a different line of text.
|
boolean |
isLatinLineBreak()
Specifies whether a Latin word can be broken in half and wrapped onto the next line without a hyphen being added.
|
void |
setAlignmentType(int value)
Sets the text horizontal alignment type of the paragraph.
|
void |
setDefaultTabSize(double value)
Sets the default size for a tab character within this paragraph.
|
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.
|
void |
setFirstLineIndent(double value)
Specifies the indent size that will be applied to the first line of text in the paragraph.
|
void |
setFontAlignType(int value)
Determines where vertically on a line of text the actual words are positioned.
|
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.
|
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.
|
void |
setLeftMargin(double value)
Specifies the left margin of the paragraph.
|
void |
setLineSpace(double value)
Sets the amount of vertical white space that will be used within a paragraph.
|
void |
setLineSpaceSizeType(int value)
Sets the amount of vertical white space that will be used within a paragraph.
|
void |
setRightMargin(double value)
Specifies the right margin of the paragraph.
|
void |
setSpaceAfter(double value)
Sets the amount of vertical white space that will be present after a paragraph.
|
void |
setSpaceAfterSizeType(int value)
Sets the amount of vertical white space that will be present after a paragraph.
|
void |
setSpaceBefore(double value)
Sets the amount of vertical white space that will be present before a paragraph.
|
void |
setSpaceBeforeSizeType(int value)
Sets the amount of vertical white space that will be present before a paragraph.
|
getFont, getLength, getStartIndex, getTextOptions, setWordArtStylepublic Bullet getBullet()
public int getType()
See TextNodeType.
getType in class FontSettingpublic int getLineSpaceSizeType()
See LineSpaceSizeType.
public void setLineSpaceSizeType(int value)
See LineSpaceSizeType.
public double getLineSpace()
public void setLineSpace(double value)
public int getSpaceAfterSizeType()
See LineSpaceSizeType.
public void setSpaceAfterSizeType(int value)
See LineSpaceSizeType.
public double getSpaceAfter()
public void setSpaceAfter(double value)
public int getSpaceBeforeSizeType()
See LineSpaceSizeType.
public void setSpaceBeforeSizeType(int value)
See LineSpaceSizeType.
public double getSpaceBefore()
public void setSpaceBefore(double value)
public TextTabStopCollection getStops()
public boolean isLatinLineBreak()
public void setLatinLineBreak(boolean value)
public boolean isEastAsianLineBreak()
public void setEastAsianLineBreak(boolean value)
public boolean isHangingPunctuation()
public void setHangingPunctuation(boolean value)
public double getRightMargin()
public void setRightMargin(double value)
public double getLeftMargin()
public void setLeftMargin(double value)
public double getFirstLineIndent()
public void setFirstLineIndent(double value)
public int getFontAlignType()
See TextFontAlignType.
public void setFontAlignType(int value)
See TextFontAlignType.
public int getAlignmentType()
See TextAlignmentType.
public void setAlignmentType(int value)
See TextAlignmentType.
public double getDefaultTabSize()
public void setDefaultTabSize(double value)
public FontSetting[] getChildren()
See 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.