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, ISlideComponent

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()
           Returns or sets the bullet format data.
 java.awt.Color getBulletColor()
          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 paragraph First Line Indent/Hanging Indent.
 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.
 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 final short getDepth()

Returns or sets a depth of a paragraph. Read-only short.

Specified by:
getDepth in interface IParagraphFormatEffectiveData

getBullet

public final IBulletFormatEffectiveData getBullet()

Returns or sets the bullet format data. Read-only IBulletFormatEffectiveData.

Specified by:
getBullet in interface IParagraphFormatEffectiveData

getAlignment

public final int getAlignment()

Returns or sets the text alignment in a paragraph. Read-only TextAlignment.

Specified by:
getAlignment in interface IParagraphFormatEffectiveData

getSpaceWithin

public final float getSpaceWithin()

Returns or sets the amount of space between base lines in a paragraph. Read-only float.

Specified by:
getSpaceWithin in interface IParagraphFormatEffectiveData

getSpaceBefore

public final float getSpaceBefore()

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

Specified by:
getSpaceBefore in interface IParagraphFormatEffectiveData

getSpaceAfter

public final float getSpaceAfter()

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

Specified by:
getSpaceAfter in interface IParagraphFormatEffectiveData

getEastAsianLineBreak

public final boolean getEastAsianLineBreak()

Determines whether the East Asian line break is used in a paragraph. Read-only bool.

Specified by:
getEastAsianLineBreak in interface IParagraphFormatEffectiveData

getRightToLeft

public final boolean getRightToLeft()

Determines whether the Right to Left writing is used in a paragraph. Read-only bool.

Specified by:
getRightToLeft in interface IParagraphFormatEffectiveData

getLatinLineBreak

public final boolean getLatinLineBreak()

Determines whether the Latin line break is used in a paragraph. Read-only bool.

Specified by:
getLatinLineBreak in interface IParagraphFormatEffectiveData

getHangingPunctuation

public final boolean getHangingPunctuation()

Determines whether the hanging punctuation is used in a paragraph. Read-only bool.

Specified by:
getHangingPunctuation in interface IParagraphFormatEffectiveData

getMarginLeft

public final float getMarginLeft()

Returns or sets the left margin in a paragraph. Read-only float.

Specified by:
getMarginLeft in interface IParagraphFormatEffectiveData

getMarginRight

public final float getMarginRight()

Returns or sets the right margin in a paragraph. Read-only float.

Specified by:
getMarginRight in interface IParagraphFormatEffectiveData

getIndent

public final float getIndent()

Returns or sets paragraph First Line Indent/Hanging Indent. Hanging Indent can be defined with negative values. Read-only float.

Specified by:
getIndent in interface IParagraphFormatEffectiveData

getDefaultTabSize

public final float getDefaultTabSize()

Returns or sets default tabulation size. Read-only float.

Specified by:
getDefaultTabSize in interface IParagraphFormatEffectiveData

getTabs

public final ITabEffectiveData[] getTabs()

Returns tabulations of a paragraph. Read-only T:ITabEffectiveData[].

Specified by:
getTabs in interface IParagraphFormatEffectiveData

getFontAlignment

public final int getFontAlignment()

Returns or sets a font alignment in a paragraph. Read-only FontAlignment.

Specified by:
getFontAlignment in interface IParagraphFormatEffectiveData

getDefaultPortionFormat

public final IPortionFormatEffectiveData getDefaultPortionFormat()

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

Specified by:
getDefaultPortionFormat in interface IParagraphFormatEffectiveData

getBulletColor

@Deprecated
public final java.awt.Color getBulletColor()
Deprecated. 

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


getSlide

public final IBaseSlide getSlide()

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

Specified by:
getSlide in interface ISlideComponent

getPresentation

public final IPresentation getPresentation()

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

Specified by:
getPresentation in interface IPresentationComponent


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.