com.aspose.slides
Class ParagraphFormatEffectiveData

java.lang.Object
  extended by com.aspose.slides.ParagraphFormatEffectiveData
All Implemented Interfaces:
IParagraphFormatEffectiveData, IPresentationComponent, ISlideComponent

public class ParagraphFormatEffectiveData
extends java.lang.Object
implements IParagraphFormatEffectiveData

Immutable object which contains paragraph formatting properties.


This class is used together with the Paragraph class to return effective formatting values with inheritance applied.

See Also:
Paragraph.CreateParagraphFormatEffective

Method Summary
 int getAlignment()
           Returns or sets the text alignment in a paragraph.
 IBulletFormatEffectiveData getBullet()
           
 char getBulletChar()
          Deprecated. 
 java.awt.Color getBulletColor()
           
 FontData getBulletFont()
          Deprecated. 
 float getBulletHeight()
          Deprecated. 
 int getBulletType()
          Deprecated. 
 IPortionFormatEffectiveData 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.
 boolean getEastAsianLineBreak()
           Determines whether the East Asian line break is used in a paragraph.
 int getFontAlignment()
           Returns or sets a font alignment in a paragraph.
 boolean getHangingPunctuation()
           Determines whether the hanging punctuation is used in a paragraph.
 float getIndent()
           Returns or sets text indentation in a paragraph.
 boolean 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()
          Deprecated. 
 int getNumberedBulletStyle()
          Deprecated. 
 IPresentation getPresentation()
           Returns the parent presentation of a paragraph.
 boolean getRightToLeft()
           Determines whether the Right to Left writing is used in a paragraph.
 IBaseSlide 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.
 ITabEffectiveData[] getTabs()
           Returns tabulations of a paragraph.
 
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. Readonly short.

Specified by:
getDepth in interface IParagraphFormatEffectiveData

getBullet

public IBulletFormatEffectiveData getBullet()
Specified by:
getBullet in interface IParagraphFormatEffectiveData

getBulletType

@Deprecated
public int getBulletType()
Deprecated. 

Returns or sets the bullet type of a paragraph. Readonly BulletType.


getBulletChar

@Deprecated
public char getBulletChar()
Deprecated. 

Returns or sets the bullet char of a paragraph. Readonly char.


getBulletFont

@Deprecated
public FontData getBulletFont()
Deprecated. 

Returns or sets the bullet font of a paragraph. Readonly FontData.


getBulletHeight

@Deprecated
public float getBulletHeight()
Deprecated. 

Returns or sets the bullet height of a paragraph. Readonly float.


getNumberedBulletStartWith

@Deprecated
public short getNumberedBulletStartWith()
Deprecated. 

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


getNumberedBulletStyle

@Deprecated
public int getNumberedBulletStyle()
Deprecated. 

Returns or sets the style of a numbered bullet. Readonly NumberedBulletStyle.


getAlignment

public int getAlignment()

Returns or sets the text alignment in a paragraph. Readonly TextAlignment.

Specified by:
getAlignment in interface IParagraphFormatEffectiveData

getSpaceWithin

public float getSpaceWithin()

Returns or sets the amount of space between base lines in a paragraph. Readonly float.

Specified by:
getSpaceWithin in interface IParagraphFormatEffectiveData

getSpaceBefore

public float getSpaceBefore()

Returns or sets the amount of space before the first line in a paragraph. Readonly float.

Specified by:
getSpaceBefore in interface IParagraphFormatEffectiveData

getSpaceAfter

public float getSpaceAfter()

Returns or sets the amount of space after the last line in a paragraph. Readonly float.

Specified by:
getSpaceAfter in interface IParagraphFormatEffectiveData

getEastAsianLineBreak

public boolean getEastAsianLineBreak()

Determines whether the East Asian line break is used in a paragraph. Readonly bool.

Specified by:
getEastAsianLineBreak in interface IParagraphFormatEffectiveData

getRightToLeft

public boolean getRightToLeft()

Determines whether the Right to Left writing is used in a paragraph. Readonly bool.

Specified by:
getRightToLeft in interface IParagraphFormatEffectiveData

getLatinLineBreak

public boolean getLatinLineBreak()

Determines whether the Latin line break is used in a paragraph. Readonly bool.

Specified by:
getLatinLineBreak in interface IParagraphFormatEffectiveData

getHangingPunctuation

public boolean getHangingPunctuation()

Determines whether the hanging punctuation is used in a paragraph. Readonly bool.

Specified by:
getHangingPunctuation in interface IParagraphFormatEffectiveData

getMarginLeft

public float getMarginLeft()

Returns or sets the left margin in a paragraph. Readonly float.

Specified by:
getMarginLeft in interface IParagraphFormatEffectiveData

getMarginRight

public float getMarginRight()

Returns or sets the right margin in a paragraph. Readonly float.

Specified by:
getMarginRight in interface IParagraphFormatEffectiveData

getIndent

public float getIndent()

Returns or sets text indentation in a paragraph. Readonly float.

Specified by:
getIndent in interface IParagraphFormatEffectiveData

getDefaultTabSize

public float getDefaultTabSize()

Returns or sets default tabulation size. Readonly float.

Specified by:
getDefaultTabSize in interface IParagraphFormatEffectiveData

getTabs

public ITabEffectiveData[] getTabs()

Returns tabulations of a paragraph. Readonly array of Tab.

Specified by:
getTabs in interface IParagraphFormatEffectiveData

getFontAlignment

public int getFontAlignment()

Returns or sets a font alignment in a paragraph. Readonly FontAlignment.

Specified by:
getFontAlignment in interface IParagraphFormatEffectiveData

getDefaultPortionFormat

public IPortionFormatEffectiveData getDefaultPortionFormat()

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

Specified by:
getDefaultPortionFormat in interface IParagraphFormatEffectiveData

getBulletColor

public java.awt.Color getBulletColor()

getSlide

public IBaseSlide getSlide()

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

Specified by:
getSlide in interface ISlideComponent

getPresentation

public IPresentation getPresentation()

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

Specified by:
getPresentation in interface IPresentationComponent