TextParagraph

Inheritance: java.lang.Object, com.aspose.cells.FontSetting

public class TextParagraph extends FontSetting

Represents the text paragraph setting.

Methods

MethodDescription
equals(Object arg0)
getAlignmentType()Gets the text horizontal alignment type of the paragraph.
getBullet()Gets the bullet.
getChildren()Gets all text runs in this paragraph.
getClass()
getDefaultTabSize()Gets 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.
getLeftMargin()Specifies the left margin of the paragraph.
getLength()Gets the length of the characters.
getLineSpace()Gets the amount of vertical white space that will be used within a paragraph.
getLineSpaceSizeType()Gets the amount of vertical white space that will be used within a paragraph.
getRightMargin()Specifies the right margin of the paragraph.
getSpaceAfter()Gets the amount of vertical white space that will be present after a paragraph.
getSpaceAfterSizeType()Gets the amount of vertical white space that will be present after a paragraph.
getSpaceBefore()Gets the amount of vertical white space that will be present before a paragraph.
getSpaceBeforeSizeType()Gets 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.
hashCode()
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.
notify()
notifyAll()
setAlignmentType(int value)Sets the text horizontal alignment type of the paragraph.
setDefaultTabSize(double value)Sets the default size for a tab character within this paragraph.
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.
setFirstLineIndent(double value)Specifies the indent size that will be applied to the first line of text in the paragraph.
setFontAlignType(int value)Determines where vertically on a line of text the actual words are positioned.
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.
setLatinLineBreak(boolean 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)Sets the amount of vertical white space that will be used within a paragraph.
setLineSpaceSizeType(int value)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)Sets the amount of vertical white space that will be present after a paragraph.
setSpaceAfterSizeType(int value)Sets the amount of vertical white space that will be present after a paragraph.
setSpaceBefore(double value)Sets the amount of vertical white space that will be present before a paragraph.
setSpaceBeforeSizeType(int value)Sets the amount of vertical white space that will be present before a paragraph.
setWordArtStyle(int style)Sets the preset WordArt style.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getAlignmentType()

public int getAlignmentType()

Gets the text horizontal alignment type of the paragraph.

See TextAlignmentType.

Returns: int

getBullet()

public Bullet getBullet()

Gets the bullet.

Returns: Bullet

getChildren()

public FontSetting[] getChildren()

Gets all text runs in this paragraph. If this paragraph is empty, return paragraph itself.

Returns: com.aspose.cells.FontSetting[]

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDefaultTabSize()

public double getDefaultTabSize()

Gets the default size for a tab character within this paragraph.

Returns: double

getFirstLineIndent()

public double getFirstLineIndent()

Specifies the indent size that will be applied to the first line of text in the paragraph.

Returns: double

getFont()

public Font getFont()

Returns the font of this object.

Returns: Font

getFontAlignType()

public int 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.

See TextFontAlignType.

Returns: int

getLeftMargin()

public double getLeftMargin()

Specifies the left margin of the paragraph.

Returns: double

getLength()

public int getLength()

Gets the length of the characters.

Returns: int

getLineSpace()

public double getLineSpace()

Gets the amount of vertical white space that will be used within a paragraph.

Returns: double

getLineSpaceSizeType()

public int getLineSpaceSizeType()

Gets the amount of vertical white space that will be used within a paragraph.

See LineSpaceSizeType.

Returns: int

getRightMargin()

public double getRightMargin()

Specifies the right margin of the paragraph.

Returns: double

getSpaceAfter()

public double getSpaceAfter()

Gets the amount of vertical white space that will be present after a paragraph.

Returns: double

getSpaceAfterSizeType()

public int getSpaceAfterSizeType()

Gets the amount of vertical white space that will be present after a paragraph.

See LineSpaceSizeType.

Returns: int

getSpaceBefore()

public double getSpaceBefore()

Gets the amount of vertical white space that will be present before a paragraph.

Returns: double

getSpaceBeforeSizeType()

public int getSpaceBeforeSizeType()

Gets the amount of vertical white space that will be present before a paragraph.

See LineSpaceSizeType.

Returns: int

getStartIndex()

public int getStartIndex()

Gets the start index of the characters.

Returns: int

getStops()

public TextTabStopCollection getStops()

Gets tab stop list.

Returns: TextTabStopCollection

getTextOptions()

public TextOptions getTextOptions()

Returns the text options.

Returns: TextOptions

getType()

public int getType()

Gets the type of text node.

See TextNodeType.

Returns: int

hashCode()

public native int hashCode()

Returns: int

isEastAsianLineBreak()

public boolean isEastAsianLineBreak()

Specifies whether an East Asian word can be broken in half and wrapped onto the next line without a hyphen being added.

Returns: boolean

isHangingPunctuation()

public boolean isHangingPunctuation()

Specifies whether punctuation is to be forcefully laid out on a line of text or put on a different line of text.

Returns: boolean

isLatinLineBreak()

public boolean isLatinLineBreak()

Specifies whether a Latin word can be broken in half and wrapped onto the next line without a hyphen being added.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setAlignmentType(int value)

public void setAlignmentType(int value)

Sets the text horizontal alignment type of the paragraph.

See TextAlignmentType.

Parameters:

ParameterTypeDescription
valueint

setDefaultTabSize(double value)

public void setDefaultTabSize(double value)

Sets the default size for a tab character within this paragraph.

Parameters:

ParameterTypeDescription
valuedouble

setEastAsianLineBreak(boolean value)

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.

Parameters:

ParameterTypeDescription
valueboolean

setFirstLineIndent(double value)

public void setFirstLineIndent(double value)

Specifies the indent size that will be applied to the first line of text in the paragraph.

Parameters:

ParameterTypeDescription
valuedouble

setFontAlignType(int value)

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.

See TextFontAlignType.

Parameters:

ParameterTypeDescription
valueint

setHangingPunctuation(boolean value)

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.

Parameters:

ParameterTypeDescription
valueboolean

setLatinLineBreak(boolean value)

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.

Parameters:

ParameterTypeDescription
valueboolean

setLeftMargin(double value)

public void setLeftMargin(double value)

Specifies the left margin of the paragraph.

Parameters:

ParameterTypeDescription
valuedouble

setLineSpace(double value)

public void setLineSpace(double value)

Sets the amount of vertical white space that will be used within a paragraph.

Parameters:

ParameterTypeDescription
valuedouble

setLineSpaceSizeType(int value)

public void setLineSpaceSizeType(int value)

Sets the amount of vertical white space that will be used within a paragraph.

See LineSpaceSizeType.

Parameters:

ParameterTypeDescription
valueint

setRightMargin(double value)

public void setRightMargin(double value)

Specifies the right margin of the paragraph.

Parameters:

ParameterTypeDescription
valuedouble

setSpaceAfter(double value)

public void setSpaceAfter(double value)

Sets the amount of vertical white space that will be present after a paragraph.

Parameters:

ParameterTypeDescription
valuedouble

setSpaceAfterSizeType(int value)

public void setSpaceAfterSizeType(int value)

Sets the amount of vertical white space that will be present after a paragraph.

See LineSpaceSizeType.

Parameters:

ParameterTypeDescription
valueint

setSpaceBefore(double value)

public void setSpaceBefore(double value)

Sets the amount of vertical white space that will be present before a paragraph.

Parameters:

ParameterTypeDescription
valuedouble

setSpaceBeforeSizeType(int value)

public void setSpaceBeforeSizeType(int value)

Sets the amount of vertical white space that will be present before a paragraph.

See LineSpaceSizeType.

Parameters:

ParameterTypeDescription
valueint

setWordArtStyle(int style)

public void setWordArtStyle(int style)

Sets the preset WordArt style.

Remarks

Only for the text of shape/chart.

Parameters:

ParameterTypeDescription
styleintPresetWordArtStyle. The preset WordArt style.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int