com.aspose.diagram

  • java.lang.Object
    • com.aspose.diagram.Para
  • All Implemented Interfaces:
    com.aspose.diagram.b.a.i, 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()
void
           Determines the bullet style.
IntValuegetBulletFont()
void
           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()
void
           Specifies the size of a bullet.
Str2ValuegetBulletStr()
void
           "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()
void
setDel(intvalue)
           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()
void
           Indicates whether the text direction is left to right or right to left.
HorzAligngetHorzAlign()
void
           Specifies the horizontal alignment of text in the shape's text block.
DoubleValuegetIndFirst()
void
           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()
void
           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()
void
           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()
void
setIX(intvalue)
           The zero-based index of the element within its parent element.
LocalizeFontgetLocalizeBulletFont()
void
           Specifies whether the bullet font should be localized (translated into another language).
DoubleValuegetSpAfter()
void
           Specifies the amount of space inserted after each paragraph in the shape's text block.
DoubleValuegetSpBefore()
void
           Specifies the amount of space inserted before each paragraph in the shape's text block.
DoubleValuegetSpLine()
void
           Specifies the distance between one line of text and the next, where 100% is the height of a text line.
DoubleValuegetTextPosAfterBullet()
void
           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: