com.aspose.slides.pptx
Class ParagraphEx

java.lang.Object
  extended by com.aspose.slides.pptx.ParagraphPropertiesEx
      extended by com.aspose.slides.pptx.ParagraphEx
All Implemented Interfaces:
IPresentationComponent, ISlideComponent

public final class ParagraphEx
extends ParagraphPropertiesEx

Represents a paragraph of a text.


Field Summary
 
Fields inherited from class com.aspose.slides.pptx.ParagraphPropertiesEx
m_parent
 
Constructor Summary
ParagraphEx()
          Initializes a new instance of the Paragraph class with default properties.
ParagraphEx(ParagraphPropertiesEx para)
          Copy constructor that initializes a new instance of a ParagraphEx class.
 
Method Summary
 TextAlignmentEx getAlignment()
          Returns the text alignment in a paragraph.
 char getBulletChar()
          Returns the bullet char of a paragraph.
 FontDataEx getBulletFont()
          Returns the bullet font of a paragraph.
 float getBulletHeight()
          Returns the bullet height of a paragraph.
 BulletTypeEx getBulletType()
          Returns the bullet type of a paragraph.
 ParagraphPropertiesEx getCachedProps()
           
 float getDefaultTabSize()
          Returns the default tabulation size.
 FontAlignmentEx getFontAlignment()
          Returns the font alignment in a paragraph.
 float getIndent()
          Returns the text indentation in a paragraph.
 NullableBool getIsBulletHardColor()
           
 float getMarginLeft()
          Returns the left margin in a paragraph.
 float getMarginRight()
          Returns the right margin in a paragraph.
 short getNumberedBulletStartWith()
          Returns the first number which is used for group of numbered bullets.
 NumberedBulletStyleEx getNumberedBulletStyle()
          Returns the style of a numbered bullet.
 PortionsEx getPortions()
          Returns the collection of text portions.
 float getSpaceAfter()
          Returns the amount of space after the last line in a paragraph.
 float getSpaceBefore()
          Returns the amount of space before the first line in a paragraph.
 float getSpaceWithin()
          Returns the amount of space between base lines in a paragraph.
 java.lang.String getText()
          Returns the plain text of a paragraph.
 NullableBool isBulletHardFont()
          Determines whether the bullet has own font or inherits it from the first portion in the paragraph.
 NullableBool isEastAsianLineBreak()
          Determines whether the East Asian line break is used in a paragraph.
 NullableBool isHangingPunctuation()
          Determines whether the hanging punctuation is used in a paragraph.
 NullableBool isLatinLineBreak()
          Determines whether the Latin line break is used in a paragraph.
 NullableBool isRightToLeft()
          Determines whether the Right to Left writing is used in a paragraph.
 void setAlignment(TextAlignmentEx value)
          Sets the text alignment in a paragraph.
 void setBulletChar(char value)
          Sets the bullet char of a paragraph.
 void setBulletFont(FontDataEx value)
          Sets the bullet font of a paragraph.
 void setBulletHardFont(NullableBool value)
          Sets whether the bullet has own font or inherits it from the first portion in the paragraph.
 void setBulletHeight(float value)
          Sets the bullet height of a paragraph.
 void setBulletType(BulletTypeEx value)
          Sets the bullet type of a paragraph.
 void setDefaultTabSize(float value)
          Sets the default tabulation size.
 void setEastAsianLineBreak(NullableBool value)
          Sets whether the East Asian line break is used in a paragraph.
 void setFontAlignment(FontAlignmentEx value)
          Sets the font alignment in a paragraph.
 void setHangingPunctuation(NullableBool value)
          Sets whether the hanging punctuation is used in a paragraph.
 void setIndent(float value)
          Sets the text indentation in a paragraph.
 void setIsBulletHardColor(NullableBool value)
           
 void setLatinLineBreak(NullableBool value)
          Sets whether the Latin line break is used in a paragraph.
 void setMarginLeft(float value)
          Sets the left margin in a paragraph.
 void setMarginRight(float value)
          Sets the right margin in a paragraph.
 void setNumberedBulletStartWith(short value)
          Sets the first number which is used for group of numbered
 void setNumberedBulletStyle(NumberedBulletStyleEx value)
          Sets the style of a numbered bullet.
 void setRightToLeft(NullableBool value)
          Sets whether the Right to Left writing is used in a paragraph.
 void setSpaceAfter(float value)
          Sets the amount of space after the last line in a paragraph.
 void setSpaceBefore(float value)
          Sets the amount of space before the first line in a paragraph.
 void setSpaceWithin(float value)
          Sets the amount of space between base lines in a paragraph.
 void setText(java.lang.String value)
          Sets the plain text of a paragraph.
 
Methods inherited from class com.aspose.slides.pptx.ParagraphPropertiesEx
getBulletColor, getBulletColorFormat, getDefaultCharacterProperties, getDepth, getPresentation, getRawAlignment, getRawBulletChar, getRawBulletFont, getRawBulletHeight, getRawBulletType, getRawDefaultTabSize, getRawFontAlignment, getRawIndent, getRawMarginLeft, getRawMarginRight, getRawNumberedBulletStartWith, getRawNumberedBulletStyle, getRawSpaceAfter, getRawSpaceBefore, getRawSpaceWithin, getSlide, getTabs, hasBullet, isBulletHardColor, isRawBulletHardColor, isRawBulletHardFont, isRawEastAsianLineBreak, isRawHangingPunctuation, isRawLatinLineBreak, isRawRightToLeft, setBulletHardColor, setDepth, setRawAlignment, setRawBulletChar, setRawBulletFont, setRawBulletHeight, setRawBulletType, setRawDefaultTabSize, setRawEastAsianLineBreak, setRawFontAlignment, setRawHangingPunctuation, setRawIndent, setRawLatinLineBreak, setRawMarginLeft, setRawMarginRight, setRawNumberedBulletStartWith, setRawNumberedBulletStyle, setRawRightToLeft, setRawSpaceAfter, setRawSpaceBefore, setRawSpaceWithin
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParagraphEx

public ParagraphEx()
Initializes a new instance of the Paragraph class with default properties.


ParagraphEx

public ParagraphEx(ParagraphPropertiesEx para)
Copy constructor that initializes a new instance of a ParagraphEx class.

Parameters:
para -
Method Detail

getPortions

public PortionsEx getPortions()
Returns the collection of text portions.

Returns:
See PortionsEx.

getCachedProps

public ParagraphPropertiesEx getCachedProps()

getBulletType

public BulletTypeEx getBulletType()
Description copied from class: ParagraphPropertiesEx
Returns the bullet type of a paragraph.

Overrides:
getBulletType in class ParagraphPropertiesEx

setBulletType

public void setBulletType(BulletTypeEx value)
Description copied from class: ParagraphPropertiesEx
Sets the bullet type of a paragraph.

Overrides:
setBulletType in class ParagraphPropertiesEx

getBulletChar

public char getBulletChar()
Description copied from class: ParagraphPropertiesEx
Returns the bullet char of a paragraph.

Overrides:
getBulletChar in class ParagraphPropertiesEx

setBulletChar

public void setBulletChar(char value)
Description copied from class: ParagraphPropertiesEx
Sets the bullet char of a paragraph.

Overrides:
setBulletChar in class ParagraphPropertiesEx

getBulletFont

public FontDataEx getBulletFont()
Description copied from class: ParagraphPropertiesEx
Returns the bullet font of a paragraph.

Overrides:
getBulletFont in class ParagraphPropertiesEx

setBulletFont

public void setBulletFont(FontDataEx value)
Description copied from class: ParagraphPropertiesEx
Sets the bullet font of a paragraph.

Overrides:
setBulletFont in class ParagraphPropertiesEx

getBulletHeight

public float getBulletHeight()
Description copied from class: ParagraphPropertiesEx
Returns the bullet height of a paragraph.

Overrides:
getBulletHeight in class ParagraphPropertiesEx

setBulletHeight

public void setBulletHeight(float value)
Description copied from class: ParagraphPropertiesEx
Sets the bullet height of a paragraph.

Overrides:
setBulletHeight in class ParagraphPropertiesEx

getNumberedBulletStartWith

public short getNumberedBulletStartWith()
Description copied from class: ParagraphPropertiesEx
Returns the first number which is used for group of numbered bullets.

Overrides:
getNumberedBulletStartWith in class ParagraphPropertiesEx

setNumberedBulletStartWith

public void setNumberedBulletStartWith(short value)
Description copied from class: ParagraphPropertiesEx
Sets the first number which is used for group of numbered

Overrides:
setNumberedBulletStartWith in class ParagraphPropertiesEx

getNumberedBulletStyle

public NumberedBulletStyleEx getNumberedBulletStyle()
Description copied from class: ParagraphPropertiesEx
Returns the style of a numbered bullet.

Overrides:
getNumberedBulletStyle in class ParagraphPropertiesEx

setNumberedBulletStyle

public void setNumberedBulletStyle(NumberedBulletStyleEx value)
Description copied from class: ParagraphPropertiesEx
Sets the style of a numbered bullet.

Overrides:
setNumberedBulletStyle in class ParagraphPropertiesEx

getAlignment

public TextAlignmentEx getAlignment()
Description copied from class: ParagraphPropertiesEx
Returns the text alignment in a paragraph.

Overrides:
getAlignment in class ParagraphPropertiesEx

setAlignment

public void setAlignment(TextAlignmentEx value)
Description copied from class: ParagraphPropertiesEx
Sets the text alignment in a paragraph.

Overrides:
setAlignment in class ParagraphPropertiesEx

getSpaceWithin

public float getSpaceWithin()
Description copied from class: ParagraphPropertiesEx
Returns the amount of space between base lines in a paragraph.

Overrides:
getSpaceWithin in class ParagraphPropertiesEx

setSpaceWithin

public void setSpaceWithin(float value)
Description copied from class: ParagraphPropertiesEx
Sets the amount of space between base lines in a paragraph.

Overrides:
setSpaceWithin in class ParagraphPropertiesEx

getSpaceBefore

public float getSpaceBefore()
Description copied from class: ParagraphPropertiesEx
Returns the amount of space before the first line in a paragraph.

Overrides:
getSpaceBefore in class ParagraphPropertiesEx

setSpaceBefore

public void setSpaceBefore(float value)
Description copied from class: ParagraphPropertiesEx
Sets the amount of space before the first line in a paragraph.

Overrides:
setSpaceBefore in class ParagraphPropertiesEx

getSpaceAfter

public float getSpaceAfter()
Description copied from class: ParagraphPropertiesEx
Returns the amount of space after the last line in a paragraph.

Overrides:
getSpaceAfter in class ParagraphPropertiesEx

setSpaceAfter

public void setSpaceAfter(float value)
Description copied from class: ParagraphPropertiesEx
Sets the amount of space after the last line in a paragraph.

Overrides:
setSpaceAfter in class ParagraphPropertiesEx

isEastAsianLineBreak

public NullableBool isEastAsianLineBreak()
Description copied from class: ParagraphPropertiesEx
Determines whether the East Asian line break is used in a paragraph.

Overrides:
isEastAsianLineBreak in class ParagraphPropertiesEx

setEastAsianLineBreak

public void setEastAsianLineBreak(NullableBool value)
Description copied from class: ParagraphPropertiesEx
Sets whether the East Asian line break is used in a paragraph.

Overrides:
setEastAsianLineBreak in class ParagraphPropertiesEx

isRightToLeft

public NullableBool isRightToLeft()
Description copied from class: ParagraphPropertiesEx
Determines whether the Right to Left writing is used in a paragraph.

Overrides:
isRightToLeft in class ParagraphPropertiesEx

setRightToLeft

public void setRightToLeft(NullableBool value)
Description copied from class: ParagraphPropertiesEx
Sets whether the Right to Left writing is used in a paragraph.

Overrides:
setRightToLeft in class ParagraphPropertiesEx

isLatinLineBreak

public NullableBool isLatinLineBreak()
Description copied from class: ParagraphPropertiesEx
Determines whether the Latin line break is used in a paragraph.

Overrides:
isLatinLineBreak in class ParagraphPropertiesEx

setLatinLineBreak

public void setLatinLineBreak(NullableBool value)
Description copied from class: ParagraphPropertiesEx
Sets whether the Latin line break is used in a paragraph.

Overrides:
setLatinLineBreak in class ParagraphPropertiesEx

isHangingPunctuation

public NullableBool isHangingPunctuation()
Description copied from class: ParagraphPropertiesEx
Determines whether the hanging punctuation is used in a paragraph.

Overrides:
isHangingPunctuation in class ParagraphPropertiesEx

setHangingPunctuation

public void setHangingPunctuation(NullableBool value)
Description copied from class: ParagraphPropertiesEx
Sets whether the hanging punctuation is used in a paragraph.

Overrides:
setHangingPunctuation in class ParagraphPropertiesEx

getMarginLeft

public float getMarginLeft()
Description copied from class: ParagraphPropertiesEx
Returns the left margin in a paragraph.

Overrides:
getMarginLeft in class ParagraphPropertiesEx

setMarginLeft

public void setMarginLeft(float value)
Description copied from class: ParagraphPropertiesEx
Sets the left margin in a paragraph.

Overrides:
setMarginLeft in class ParagraphPropertiesEx

getMarginRight

public float getMarginRight()
Description copied from class: ParagraphPropertiesEx
Returns the right margin in a paragraph.

Overrides:
getMarginRight in class ParagraphPropertiesEx

setMarginRight

public void setMarginRight(float value)
Description copied from class: ParagraphPropertiesEx
Sets the right margin in a paragraph.

Overrides:
setMarginRight in class ParagraphPropertiesEx

getIndent

public float getIndent()
Description copied from class: ParagraphPropertiesEx
Returns the text indentation in a paragraph.

Overrides:
getIndent in class ParagraphPropertiesEx

setIndent

public void setIndent(float value)
Description copied from class: ParagraphPropertiesEx
Sets the text indentation in a paragraph.

Overrides:
setIndent in class ParagraphPropertiesEx

getDefaultTabSize

public float getDefaultTabSize()
Description copied from class: ParagraphPropertiesEx
Returns the default tabulation size.

Overrides:
getDefaultTabSize in class ParagraphPropertiesEx

setDefaultTabSize

public void setDefaultTabSize(float value)
Description copied from class: ParagraphPropertiesEx
Sets the default tabulation size.

Overrides:
setDefaultTabSize in class ParagraphPropertiesEx

getFontAlignment

public FontAlignmentEx getFontAlignment()
Description copied from class: ParagraphPropertiesEx
Returns the font alignment in a paragraph.

Overrides:
getFontAlignment in class ParagraphPropertiesEx

setFontAlignment

public void setFontAlignment(FontAlignmentEx value)
Description copied from class: ParagraphPropertiesEx
Sets the font alignment in a paragraph.

Overrides:
setFontAlignment in class ParagraphPropertiesEx

getIsBulletHardColor

public NullableBool getIsBulletHardColor()

setIsBulletHardColor

public void setIsBulletHardColor(NullableBool value)

isBulletHardFont

public NullableBool isBulletHardFont()
Description copied from class: ParagraphPropertiesEx
Determines whether the bullet has own font or inherits it from the first portion in the paragraph. NullableBool.True if bullet has own font and NullableBool.False if bullet inherits font from the first portion in the paragraph.

Overrides:
isBulletHardFont in class ParagraphPropertiesEx

setBulletHardFont

public void setBulletHardFont(NullableBool value)
Description copied from class: ParagraphPropertiesEx
Sets whether the bullet has own font or inherits it from the first portion in the paragraph.

Overrides:
setBulletHardFont in class ParagraphPropertiesEx
Parameters:
value - NullableBool.True if bullet has own font and NullableBool.False if bullet inherits font from the first portion in the paragraph.

getText

public java.lang.String getText()
Returns the plain text of a paragraph.


setText

public void setText(java.lang.String value)
Sets the plain text of a paragraph.

Parameters:
value - new plain text.