public class ParagraphFormatEffectiveData extends java.lang.Object implements IParagraphFormatEffectiveData, ISlideComponent
Immutable object which contains paragraph formatting properties.
Paragraph
class to return effective formatting values with inheritance applied.
Modifier and Type | Method and Description |
---|---|
int |
getAlignment()
Returns or sets the text alignment in a paragraph.
|
IBulletFormatEffectiveData |
getBullet()
Returns or sets the bullet format data.
|
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.
|
public final short getDepth()
Returns or sets a depth of a paragraph.
Read-only short
.
getDepth
in interface IParagraphFormatEffectiveData
public final IBulletFormatEffectiveData getBullet()
Returns or sets the bullet format data.
Read-only IBulletFormatEffectiveData
.
getBullet
in interface IParagraphFormatEffectiveData
public final int getAlignment()
Returns or sets the text alignment in a paragraph.
Read-only TextAlignment
.
getAlignment
in interface IParagraphFormatEffectiveData
public final float getSpaceWithin()
Returns or sets the amount of space between base lines in a paragraph.
Read-only float
.
getSpaceWithin
in interface IParagraphFormatEffectiveData
public final float getSpaceBefore()
Returns or sets the amount of space before the first line in a paragraph.
Read-only float
.
getSpaceBefore
in interface IParagraphFormatEffectiveData
public final float getSpaceAfter()
Returns or sets the amount of space after the last line in a paragraph.
Read-only float
.
getSpaceAfter
in interface IParagraphFormatEffectiveData
public final boolean getEastAsianLineBreak()
Determines whether the East Asian line break is used in a paragraph.
Read-only boolean
.
getEastAsianLineBreak
in interface IParagraphFormatEffectiveData
public final boolean getRightToLeft()
Determines whether the Right to Left writing is used in a paragraph.
Read-only boolean
.
getRightToLeft
in interface IParagraphFormatEffectiveData
public final boolean getLatinLineBreak()
Determines whether the Latin line break is used in a paragraph.
Read-only boolean
.
getLatinLineBreak
in interface IParagraphFormatEffectiveData
public final boolean getHangingPunctuation()
Determines whether the hanging punctuation is used in a paragraph.
Read-only boolean
.
getHangingPunctuation
in interface IParagraphFormatEffectiveData
public final float getMarginLeft()
Returns or sets the left margin in a paragraph.
Read-only float
.
getMarginLeft
in interface IParagraphFormatEffectiveData
public final float getMarginRight()
Returns or sets the right margin in a paragraph.
Read-only float
.
getMarginRight
in interface IParagraphFormatEffectiveData
public final float getIndent()
Returns or sets paragraph First Line Indent/Hanging Indent. Hanging Indent can be defined with negative values.
Read-only float
.
getIndent
in interface IParagraphFormatEffectiveData
public final float getDefaultTabSize()
Returns or sets default tabulation size.
Read-only float
.
getDefaultTabSize
in interface IParagraphFormatEffectiveData
public final ITabEffectiveData[] getTabs()
Returns tabulations of a paragraph.
Read-only ITabEffectiveData[]
.
getTabs
in interface IParagraphFormatEffectiveData
public final int getFontAlignment()
Returns or sets a font alignment in a paragraph.
Read-only FontAlignment
.
getFontAlignment
in interface IParagraphFormatEffectiveData
public final IPortionFormatEffectiveData getDefaultPortionFormat()
Returns default portion format of a paragraph.
Read-only IPortionFormatEffectiveData
.
getDefaultPortionFormat
in interface IParagraphFormatEffectiveData
public final IBaseSlide getSlide()
Returns the parent slide of a paragraph.
Read-only BaseSlide
.
getSlide
in interface ISlideComponent
public final IPresentation getPresentation()
Returns the parent presentation of a paragraph.
Read-only IPresentation
.
getPresentation
in interface IPresentationComponent
Copyright © 2004-2019 Aspose Pty Ltd. All Rights Reserved.