asposecells.api

Class TextParagraph

Represents the text paragraph setting.

Property Getters/Setters Summary
methodgetAlignmentType()
method
           Gets and sets the text horizontal alignment type of the paragraph. The value of the property is TextAlignmentType integer constant.
methodgetBullet()
Gets the bullet.
methodgetChildren()
Gets all text runs in this paragraph. If this paragraph is empty, return paragraph itself.
methodgetDefaultTabSize()
method
           Gets and sets the default size for a tab character within this paragraph.
methodgetFirstLineIndent()
method
           Specifies the indent size that will be applied to the first line of text in the paragraph.
methodgetFont()
Returns the font of this object.
methodgetFontAlignType()
method
           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.
methodisEastAsianLineBreak()
method
           Specifies whether an East Asian word can be broken in half and wrapped onto the next line without a hyphen being added.
methodisHangingPunctuation()
method
           Specifies whether punctuation is to be forcefully laid out on a line of text or put on a different line of text.
methodisLatinLineBreak()
method
           Specifies whether a Latin word can be broken in half and wrapped onto the next line without a hyphen being added.
methodgetLeftMargin()
method
           Specifies the left margin of the paragraph.
methodgetLength()
Gets the length of the characters.
methodgetLineSpace()
method
           Gets and sets the amount of vertical white space that will be used within a paragraph.
methodgetLineSpaceSizeType()
method
           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.
methodgetRightMargin()
method
           Specifies the right margin of the paragraph.
methodgetSpaceAfter()
method
           Gets and sets the amount of vertical white space that will be present after a paragraph.
methodgetSpaceAfterSizeType()
method
           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.
methodgetSpaceBefore()
method
           Gets and sets the amount of vertical white space that will be present before a paragraph.
methodgetSpaceBeforeSizeType()
method
           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.
methodgetStartIndex()
Gets the start index of the characters.
methodgetStops()
Gets tab stop list.
methodgetTextOptions()
Returns the text options.
methodgetType()
Gets the type of text node. The value of the property is TextNodeType integer constant.
 
Method Summary
methodsetWordArtStyle(style)
Sets the preset WordArt style.
 

    • Property Getters/Setters Detail

      • getType : int 

        int getType()
        
        Gets the type of text node. The value of the property is TextNodeType integer constant.
      • getLineSpaceSizeType/setLineSpaceSizeType : int 

        int getLineSpaceSizeType() / setLineSpaceSizeType(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 : float 

        float getLineSpace() / setLineSpace(value)
        
        Gets and sets the amount of vertical white space that will be used within a paragraph.
      • getSpaceAfterSizeType/setSpaceAfterSizeType : int 

        int getSpaceAfterSizeType() / setSpaceAfterSizeType(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 : float 

        float getSpaceAfter() / setSpaceAfter(value)
        
        Gets and sets the amount of vertical white space that will be present after a paragraph.
      • getSpaceBeforeSizeType/setSpaceBeforeSizeType : int 

        int getSpaceBeforeSizeType() / setSpaceBeforeSizeType(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 : float 

        float getSpaceBefore() / setSpaceBefore(value)
        
        Gets and sets the amount of vertical white space that will be present before a paragraph.
      • isLatinLineBreak/setLatinLineBreak : boolean 

        boolean isLatinLineBreak() / setLatinLineBreak(value)
        
        Specifies whether a Latin word can be broken in half and wrapped onto the next line without a hyphen being added.
      • isEastAsianLineBreak/setEastAsianLineBreak : boolean 

        boolean isEastAsianLineBreak() / setEastAsianLineBreak(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 : boolean 

        boolean isHangingPunctuation() / setHangingPunctuation(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 : float 

        float getRightMargin() / setRightMargin(value)
        
        Specifies the right margin of the paragraph.
      • getLeftMargin/setLeftMargin : float 

        float getLeftMargin() / setLeftMargin(value)
        
        Specifies the left margin of the paragraph.
      • getFirstLineIndent/setFirstLineIndent : float 

        float getFirstLineIndent() / setFirstLineIndent(value)
        
        Specifies the indent size that will be applied to the first line of text in the paragraph.
      • getFontAlignType/setFontAlignType : int 

        int getFontAlignType() / setFontAlignType(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 : int 

        int getAlignmentType() / setAlignmentType(value)
        
        Gets and sets the text horizontal alignment type of the paragraph. The value of the property is TextAlignmentType integer constant.
      • getDefaultTabSize/setDefaultTabSize : float 

        float getDefaultTabSize() / setDefaultTabSize(value)
        
        Gets and sets the default size for a tab character within this paragraph.
      • getChildren : FontSetting[] 

        FontSetting[] getChildren()
        
        Gets all text runs in this paragraph. If this paragraph is empty, return paragraph itself.
      • getStartIndex : int 

        int getStartIndex()
        
        Gets the start index of the characters.
      • getLength : int 

        int getLength()
        
        Gets the length of the characters.
      • getFont : Font 

        Font getFont()
        
        Returns the font of this object.
    • Method Detail

      • setWordArtStyle

         setWordArtStyle(style)
        Sets the preset WordArt style. Only for the text of shape/chart.
        Parameters:
        style: int - A PresetWordArtStyle value. The preset WordArt style.