com.aspose.cells
Class TextParagraph

java.lang.Object
  extended by FontSetting
      extended by com.aspose.cells.TextParagraph

public class TextParagraph 
extends FontSetting

Represents the text paragraph setting.


Property Getters/Setters Summary
intgetAlignmentType()
voidsetAlignmentType(int value)
           Gets and sets the text horizontal alignment type of the paragraph. The value of the property is TextAlignmentType integer constant.
BulletgetBullet()
           Gets the bullet.
com.aspose.cells.FontSetting[]getChildren()
           Gets all text runs in this paragraph. If this paragraph is empty, return paragraph itself.
doublegetDefaultTabSize()
voidsetDefaultTabSize(double value)
           Gets and sets the default size for a tab character within this paragraph.
doublegetFirstLineIndent()
voidsetFirstLineIndent(double value)
           Specifies the indent size that will be applied to the first line of text in the paragraph.
FontgetFont()→ inherited from FontSetting
           Returns the font of this object.
intgetFontAlignType()
voidsetFontAlignType(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.
booleanisEastAsianLineBreak()
voidsetEastAsianLineBreak(boolean value)
           Specifies whether an East Asian word can be broken in half and wrapped onto the next line without a hyphen being added.
booleanisHangingPunctuation()
voidsetHangingPunctuation(boolean value)
           Specifies whether punctuation is to be forcefully laid out on a line of text or put on a different line of text.
booleanisLatinLineBreak()
voidsetLatinLineBreak(boolean value)
           Specifies whether a Latin word can be broken in half and wrapped onto the next line without a hyphen being added.
doublegetLeftMargin()
voidsetLeftMargin(double value)
           Specifies the left margin of the paragraph.
intgetLength()→ inherited from FontSetting
           Gets the length of the characters.
doublegetLineSpace()
voidsetLineSpace(double value)
           Gets and sets the amount of vertical white space that will be used within a paragraph.
intgetLineSpaceSizeType()
voidsetLineSpaceSizeType(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.
doublegetRightMargin()
voidsetRightMargin(double value)
           Specifies the right margin of the paragraph.
doublegetSpaceAfter()
voidsetSpaceAfter(double value)
           Gets and sets the amount of vertical white space that will be present after a paragraph.
intgetSpaceAfterSizeType()
voidsetSpaceAfterSizeType(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.
doublegetSpaceBefore()
voidsetSpaceBefore(double value)
           Gets and sets the amount of vertical white space that will be present before a paragraph.
intgetSpaceBeforeSizeType()
voidsetSpaceBeforeSizeType(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.
intgetStartIndex()→ inherited from FontSetting
           Gets the start index of the characters.
TextTabStopCollectiongetStops()
           Gets tab stop list.
TextOptionsgetTextOptions()→ inherited from FontSetting
           Returns the text options.
intgetType()
           Gets the type of text node. The value of the property is TextNodeType integer constant.
 
Method Summary
voidsetWordArtStyle(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.

setLineSpaceSizeType

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.

setLineSpace

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.

setSpaceAfterSizeType

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.

setSpaceAfter

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.

setSpaceBeforeSizeType

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.

setSpaceBefore

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.

setLatinLineBreak

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.

setEastAsianLineBreak

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.

setHangingPunctuation

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.

setRightMargin

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.

setLeftMargin

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.

setFirstLineIndent

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.

setFontAlignType

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.

setAlignmentType

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.

setDefaultTabSize

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 - A PresetWordArtStyle 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.