Aspose::Cells::Drawing::Texts::TextParagraph class

TextParagraph class

Represents the text paragraph setting.

class TextParagraph : public Aspose::Cells::FontSetting

Methods

MethodDescription
FontSetting(int32_t startIndex, int32_t length, const WorksheetCollection& sheets)
FontSetting(FontSetting_Impl* impl)Constructs from an implementation object.
FontSetting(const FontSetting& src)Copy constructor.
GetAlignmentType()Gets and sets the text horizontal alignment type of the paragraph.
GetBullet()Gets the bullet.
GetChildren()Gets all text runs in this paragraph. If this paragraph is empty, return paragraph itself.
GetDefaultTabSize()Gets and sets the default size for a tab character within this paragraph.
GetFirstLineIndent()Specifies the indent size that will be applied to the first line of text in the paragraph.
GetFont()Returns the font of this object.
GetFontAlignType()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.
GetLeftMargin()Specifies the left margin of the paragraph.
GetLength()Gets the length of the characters.
GetLineSpace()Gets and sets the amount of vertical white space that will be used within a paragraph.
GetLineSpaceSizeType()Gets and sets the amount of vertical white space that will be used within a paragraph.
GetRightMargin()Specifies the right margin of the paragraph.
GetSpaceAfter()Gets and sets the amount of vertical white space that will be present after a paragraph.
GetSpaceAfterSizeType()Gets and sets the amount of vertical white space that will be present after a paragraph.
GetSpaceBefore()Gets and sets the amount of vertical white space that will be present before a paragraph.
GetSpaceBeforeSizeType()Gets and sets the amount of vertical white space that will be present before a paragraph.
GetStartIndex()Gets the start index of the characters.
GetStops()Gets tab stop list.
GetTextOptions()Returns the text options.
GetType()Gets the type of text node.
IsEastAsianLineBreak()Specifies whether an East Asian word can be broken in half and wrapped onto the next line without a hyphen being added.
IsHangingPunctuation()Specifies whether punctuation is to be forcefully laid out on a line of text or put on a different line of text.
IsLatinLineBreak()Specifies whether a Latin word can be broken in half and wrapped onto the next line without a hyphen being added.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const TextParagraph& src)operator=
operator=(const FontSetting& src)operator=
SetAlignmentType(TextAlignmentType value)Gets and sets the text horizontal alignment type of the paragraph.
SetDefaultTabSize(double value)Gets and sets the default size for a tab character within this paragraph.
SetFirstLineIndent(double value)Specifies the indent size that will be applied to the first line of text in the paragraph.
SetFontAlignType(TextFontAlignType 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.
SetIsEastAsianLineBreak(bool value)Specifies whether an East Asian word can be broken in half and wrapped onto the next line without a hyphen being added.
SetIsHangingPunctuation(bool value)Specifies whether punctuation is to be forcefully laid out on a line of text or put on a different line of text.
SetIsLatinLineBreak(bool value)Specifies whether a Latin word can be broken in half and wrapped onto the next line without a hyphen being added.
SetLeftMargin(double value)Specifies the left margin of the paragraph.
SetLineSpace(double value)Gets and sets the amount of vertical white space that will be used within a paragraph.
SetLineSpaceSizeType(LineSpaceSizeType value)Gets and sets the amount of vertical white space that will be used within a paragraph.
SetRightMargin(double value)Specifies the right margin of the paragraph.
SetSpaceAfter(double value)Gets and sets the amount of vertical white space that will be present after a paragraph.
SetSpaceAfterSizeType(LineSpaceSizeType value)Gets and sets the amount of vertical white space that will be present after a paragraph.
SetSpaceBefore(double value)Gets and sets the amount of vertical white space that will be present before a paragraph.
SetSpaceBeforeSizeType(LineSpaceSizeType value)Gets and sets the amount of vertical white space that will be present before a paragraph.
SetWordArtStyle(PresetWordArtStyle style)Sets the preset WordArt style.
TextParagraph(TextParagraph_Impl* impl)Constructs from an implementation object.
TextParagraph(const TextParagraph& src)Copy constructor.
TextParagraph(const FontSetting& src)Constructs from a parent object.
~FontSetting()Destructor.
~TextParagraph()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also