com.aspose.diagram
Class Para

java.lang.Object
    extended by com.aspose.diagram.Para
All Implemented Interfaces:
java.lang.Cloneable

public class Para 
extends java.lang.Object

Contains the paragraph formatting elements for the shape's text, such as indents, line spacing, bullets, and horizontal alignment of paragraphs.


Constructor Summary
Para()
           Constructor.
 
Property Getters/Setters Summary
BulletgetBullet()
voidsetBullet(Bullet)
           Determines the bullet style.
IntValuegetBulletFont()
voidsetBulletFont(IntValue)
           Represents the number of the font used to format the text when a custom bullet string is specified and the value in the Bullet element is non-zero.
DoubleValuegetBulletFontSize()
voidsetBulletFontSize(DoubleValue)
           Specifies the size of a bullet.
Str2ValuegetBulletStr()
voidsetBulletStr(Str2Value)
           "Used to create a custom bullet style. Enter the style as a string (within quotation marks). For example, you could enter the string, ""ooo."""
intgetDel()
voidsetDel(int)
           A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
BoolValuegetFlags()
voidsetFlags(BoolValue)
           Indicates whether the text direction is left to right or right to left.
HorzAligngetHorzAlign()
voidsetHorzAlign(HorzAlign)
           Specifies the horizontal alignment of text in the shape's text block.
DoubleValuegetIndFirst()
voidsetIndFirst(DoubleValue)
           Specifies the distance the first line of each paragraph in the shape's text block is indented from the left indent of the paragraph. This value is independent of the scale of the drawing. If the drawing is scaled, the first line indent remains the same.
DoubleValuegetIndLeft()
voidsetIndLeft(DoubleValue)
           Specifies the distance all lines of text in a paragraph are indented from the left margin of the text block. This value is independent of the scale of the drawing. If the drawing is scaled, the left indent remains the same.
DoubleValuegetIndRight()
voidsetIndRight(DoubleValue)
           Specifies the distance all lines of text in a paragraph are indented from the right margin of the text block. This value is independent of the scale of the drawing. If the drawing is scaled, the right indent remains the same.
intgetIX()
voidsetIX(int)
           The zero-based index of the element within its parent element.
LocalizeFontgetLocalizeBulletFont()
voidsetLocalizeBulletFont(LocalizeFont)
           Specifies whether the bullet font should be localized (translated into another language).
DoubleValuegetSpAfter()
voidsetSpAfter(DoubleValue)
           Specifies the amount of space inserted after each paragraph in the shape's text block.
DoubleValuegetSpBefore()
voidsetSpBefore(DoubleValue)
           Specifies the amount of space inserted before each paragraph in the shape's text block.
DoubleValuegetSpLine()
voidsetSpLine(DoubleValue)
           Specifies the distance between one line of text and the next, where 100% is the height of a text line.
DoubleValuegetTextPosAfterBullet()
voidsetTextPosAfterBullet(DoubleValue)
           Represents the distance between the first line of the paragraph and the bullet.
 
Method Summary
java.lang.ObjectdeepClone()
           Creates deep copy of this instance.
 

Constructor Detail

Para

public Para()
Constructor.

Property Getters/Setters Detail

getIX/setIX

public int getIX() / public void setIX(int value)
The zero-based index of the element within its parent element.

getDel/setDel

public int getDel() / public void setDel(int value)
A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

getIndFirst/setIndFirst

public DoubleValue getIndFirst() / public void setIndFirst(DoubleValue value)
Specifies the distance the first line of each paragraph in the shape's text block is indented from the left indent of the paragraph. This value is independent of the scale of the drawing. If the drawing is scaled, the first line indent remains the same.

getIndLeft/setIndLeft

public DoubleValue getIndLeft() / public void setIndLeft(DoubleValue value)
Specifies the distance all lines of text in a paragraph are indented from the left margin of the text block. This value is independent of the scale of the drawing. If the drawing is scaled, the left indent remains the same.

getIndRight/setIndRight

public DoubleValue getIndRight() / public void setIndRight(DoubleValue value)
Specifies the distance all lines of text in a paragraph are indented from the right margin of the text block. This value is independent of the scale of the drawing. If the drawing is scaled, the right indent remains the same.

getSpLine/setSpLine

public DoubleValue getSpLine() / public void setSpLine(DoubleValue value)
Specifies the distance between one line of text and the next, where 100% is the height of a text line.

getSpBefore/setSpBefore

public DoubleValue getSpBefore() / public void setSpBefore(DoubleValue value)
Specifies the amount of space inserted before each paragraph in the shape's text block.

getSpAfter/setSpAfter

public DoubleValue getSpAfter() / public void setSpAfter(DoubleValue value)
Specifies the amount of space inserted after each paragraph in the shape's text block.

getHorzAlign/setHorzAlign

public HorzAlign getHorzAlign() / public void setHorzAlign(HorzAlign value)
Specifies the horizontal alignment of text in the shape's text block.

getBullet/setBullet

public Bullet getBullet() / public void setBullet(Bullet value)
Determines the bullet style.

getBulletStr/setBulletStr

public Str2Value getBulletStr() / public void setBulletStr(Str2Value value)
"Used to create a custom bullet style. Enter the style as a string (within quotation marks). For example, you could enter the string, ""ooo."""

getBulletFont/setBulletFont

public IntValue getBulletFont() / public void setBulletFont(IntValue value)
Represents the number of the font used to format the text when a custom bullet string is specified and the value in the Bullet element is non-zero.

getLocalizeBulletFont/setLocalizeBulletFont

public LocalizeFont getLocalizeBulletFont() / public void setLocalizeBulletFont(LocalizeFont value)
Specifies whether the bullet font should be localized (translated into another language).

getBulletFontSize/setBulletFontSize

public DoubleValue getBulletFontSize() / public void setBulletFontSize(DoubleValue value)
Specifies the size of a bullet.

getTextPosAfterBullet/setTextPosAfterBullet

public DoubleValue getTextPosAfterBullet() / public void setTextPosAfterBullet(DoubleValue value)
Represents the distance between the first line of the paragraph and the bullet.

getFlags/setFlags

public BoolValue getFlags() / public void setFlags(BoolValue value)
Indicates whether the text direction is left to right or right to left.

Method Detail

deepClone

public java.lang.Object deepClone()
                throws java.lang.Exception
Creates deep copy of this instance.
Returns:

See Also:
          Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
          Aspose.Diagram Support Forum - our preferred method of support.