com.aspose.slides
Class ParagraphFormatEx

java.lang.Object
  extended by com.aspose.slides.ParagraphFormatEx

public class ParagraphFormatEx
extends java.lang.Object

Contains the paragraph's formatting properties.


Method Summary
 int getAlignment()
           Returns or sets the text alignment in a paragraph.
 char getBulletChar()
           Returns or sets the bullet char of a paragraph.
 ColorFormatEx getBulletColor()
           Returns the color format of a bullet of a paragraph.
 ColorFormatEx getBulletColorFormat()
           Returns or sets the color of a bullet.
 FontDataEx getBulletFont()
           Returns or sets the bullet font of a paragraph.
 float getBulletHeight()
           Returns or sets the bullet height of a paragraph.
 byte getBulletType()
           Returns or sets the bullet type of a paragraph.
 PortionFormatEx getDefaultPortionFormat()
           Returns default portion format of a paragraph.
 float getDefaultTabSize()
           Returns or sets default tabulation size.
 short getDepth()
           Returns or sets a depth of a paragraph.
 byte getEastAsianLineBreak()
           Determines whether the East Asian line break is used in a paragraph.
 int getFontAlignment()
           Returns or sets a font alignment in a paragraph.
 byte getHangingPunctuation()
           Determines whether the hanging punctuation is used in a paragraph.
 float getIndent()
           Returns or sets text indentation in a paragraph.
 byte getLatinLineBreak()
           Determines whether the Latin line break is used in a paragraph.
 float getMarginLeft()
           Returns or sets the left margin in a paragraph.
 float getMarginRight()
           Returns or sets the right margin in a paragraph.
 short getNumberedBulletStartWith()
           Returns or sets the first number which is used for group of numbered bullets.
 byte getNumberedBulletStyle()
           Returns or sets the style of a numbered bullet.
 PresentationEx getPresentation()
           Returns the parent presentation of a paragraph.
 byte getRightToLeft()
           Determines whether the Right to Left writing is used in a paragraph.
 BaseSlideEx getSlide()
           Returns the parent slide of a paragraph.
 float getSpaceAfter()
           Returns or sets the amount of space after the last line in a paragraph.
 float getSpaceBefore()
           Returns or sets the amount of space before the first line in a paragraph.
 float getSpaceWithin()
           Returns or sets the amount of space between base lines in a paragraph.
 TabExCollection getTabs()
           Returns tabulations of a paragraph.
 byte isBulletHardColor()
           Determines whether the bullet has own color or inherits it from the first portion in the paragraph.
 void isBulletHardColor(byte value)
           
 byte isBulletHardFont()
           Determines whether the bullet has own font or inherits it from the first portion in the paragraph.
 void isBulletHardFont(byte value)
           
 void setAlignment(int value)
           
 void setBulletChar(char value)
           
 void setBulletFont(FontDataEx value)
           
 void setBulletHeight(float value)
           
 void setBulletType(byte value)
           
 void setDefaultTabSize(float value)
           
 void setDepth(short value)
           
 void setEastAsianLineBreak(byte value)
           
 void setFontAlignment(int value)
           
 void setHangingPunctuation(byte value)
           
 void setIndent(float value)
           
 void setLatinLineBreak(byte value)
           
 void setMarginLeft(float value)
           
 void setMarginRight(float value)
           
 void setNumberedBulletStartWith(short value)
           
 void setNumberedBulletStyle(byte value)
           
 void setRightToLeft(byte value)
           
 void setSpaceAfter(float value)
           
 void setSpaceBefore(float value)
           
 void setSpaceWithin(float value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDepth

public short getDepth()

Returns or sets a depth of a paragraph. Read/write short.


setDepth

public void setDepth(short value)

getBulletType

public byte getBulletType()

Returns or sets the bullet type of a paragraph. Read/write BulletTypeEx.


setBulletType

public void setBulletType(byte value)

getBulletChar

public char getBulletChar()

Returns or sets the bullet char of a paragraph. Read/write char.


setBulletChar

public void setBulletChar(char value)

getBulletFont

public FontDataEx getBulletFont()

Returns or sets the bullet font of a paragraph. Read/write FontDataEx.


setBulletFont

public void setBulletFont(FontDataEx value)

getBulletHeight

public float getBulletHeight()

Returns or sets the bullet height of a paragraph. Read/write float.


setBulletHeight

public void setBulletHeight(float value)

getBulletColor

public ColorFormatEx getBulletColor()

Returns the color format of a bullet of a paragraph. Read-only ColorFormatEx.


getNumberedBulletStartWith

public short getNumberedBulletStartWith()

Returns or sets the first number which is used for group of numbered bullets. Read/write short.


setNumberedBulletStartWith

public void setNumberedBulletStartWith(short value)

getNumberedBulletStyle

public byte getNumberedBulletStyle()

Returns or sets the style of a numbered bullet. Read/write NumberedBulletStyleEx.


setNumberedBulletStyle

public void setNumberedBulletStyle(byte value)

getAlignment

public int getAlignment()

Returns or sets the text alignment in a paragraph. Read/write TextAlignmentEx.


setAlignment

public void setAlignment(int value)

getSpaceWithin

public float getSpaceWithin()

Returns or sets the amount of space between base lines in a paragraph. Positive value means percentage, negative - size in points. Read/write float.


setSpaceWithin

public void setSpaceWithin(float value)

getSpaceBefore

public float getSpaceBefore()

Returns or sets the amount of space before the first line in a paragraph. Read/write float.


setSpaceBefore

public void setSpaceBefore(float value)

getSpaceAfter

public float getSpaceAfter()

Returns or sets the amount of space after the last line in a paragraph. Read/write float.


setSpaceAfter

public void setSpaceAfter(float value)

getEastAsianLineBreak

public byte getEastAsianLineBreak()

Determines whether the East Asian line break is used in a paragraph. Read/write NullableBool.


setEastAsianLineBreak

public void setEastAsianLineBreak(byte value)

getRightToLeft

public byte getRightToLeft()

Determines whether the Right to Left writing is used in a paragraph. Read/write NullableBool.


setRightToLeft

public void setRightToLeft(byte value)

getLatinLineBreak

public byte getLatinLineBreak()

Determines whether the Latin line break is used in a paragraph. Read/write NullableBool.


setLatinLineBreak

public void setLatinLineBreak(byte value)

getHangingPunctuation

public byte getHangingPunctuation()

Determines whether the hanging punctuation is used in a paragraph. Read/write NullableBool.


setHangingPunctuation

public void setHangingPunctuation(byte value)

getMarginLeft

public float getMarginLeft()

Returns or sets the left margin in a paragraph. Read/write float.


setMarginLeft

public void setMarginLeft(float value)

getMarginRight

public float getMarginRight()

Returns or sets the right margin in a paragraph. Read/write float.


setMarginRight

public void setMarginRight(float value)

getIndent

public float getIndent()

Returns or sets text indentation in a paragraph. Read/write float.


setIndent

public void setIndent(float value)

getDefaultTabSize

public float getDefaultTabSize()

Returns or sets default tabulation size. Read/write float.


setDefaultTabSize

public void setDefaultTabSize(float value)

getTabs

public TabExCollection getTabs()

Returns tabulations of a paragraph. Read-only TabExCollection.


getFontAlignment

public int getFontAlignment()

Returns or sets a font alignment in a paragraph. Read/write FontAlignmentEx.


setFontAlignment

public void setFontAlignment(int value)

getDefaultPortionFormat

public PortionFormatEx getDefaultPortionFormat()

Returns default portion format of a paragraph. Read-only PortionFormatEx.


isBulletHardColor

public byte isBulletHardColor()

Determines whether the bullet has own color or inherits it from the first portion in the paragraph. <b>NullableBool.True</b> if bullet has own color and <b>NullableBool.False</b> if bullet inherits color from the first portion in the paragraph. Read/write NullableBool.


isBulletHardColor

public void isBulletHardColor(byte value)

getBulletColorFormat

public ColorFormatEx getBulletColorFormat()

Returns or sets the color of a bullet. Read-only ColorFormatEx.


isBulletHardFont

public byte isBulletHardFont()

Determines whether the bullet has own font or inherits it from the first portion in the paragraph. <b>NullableBool.True</b> if bullet has own font and <b>NullableBool.False</b> if bullet inherits font from the first portion in the paragraph. Read/write NullableBool.


isBulletHardFont

public void isBulletHardFont(byte value)

getSlide

public BaseSlideEx getSlide()

Returns the parent slide of a paragraph. Read-only BaseSlideEx.


getPresentation

public PresentationEx getPresentation()

Returns the parent presentation of a paragraph. Read-only PresentationEx.