com.aspose.slides
Class ParagraphEx

java.lang.Object
  extended by com.aspose.slides.ParagraphPropertiesEx
      extended by com.aspose.slides.ParagraphEx

public final class ParagraphEx
extends ParagraphPropertiesEx

Represents a paragraph of a text.


Constructor Summary
ParagraphEx()
           Initializes a new instance of the Paragraph class with default properties.
ParagraphEx(ParagraphEx para)
           Copy constructor that initializes a new instance of a Paragraph class.
 
Method Summary
 ParagraphFormatDataEx createParagraphFormatData()
           Creates immutable object which contains paragraph properties including inherited.
 int getAlignment()
          Deprecated. 
 char getBulletChar()
          Deprecated. 
 FontDataEx getBulletFont()
          Deprecated. 
 float getBulletHeight()
          Deprecated. 
 byte getBulletType()
          Deprecated. 
 float getDefaultTabSize()
          Deprecated. 
 byte getEastAsianLineBreak()
          Deprecated. 
 int getFontAlignment()
          Deprecated. 
 byte getHangingPunctuation()
          Deprecated. 
 float getIndent()
          Deprecated. 
 byte getLatinLineBreak()
          Deprecated. 
 float getMarginLeft()
          Deprecated. 
 float getMarginRight()
          Deprecated. 
 short getNumberedBulletStartWith()
          Deprecated. 
 byte getNumberedBulletStyle()
          Deprecated. 
 ParagraphFormatEx getParagraphFormat()
           Returns the formatting object for this paragraph.
 PortionExCollection getPortions()
           Returns the collection of a text portions.
 byte getRightToLeft()
          Deprecated. 
 float getSpaceAfter()
          Deprecated. 
 float getSpaceBefore()
          Deprecated. 
 float getSpaceWithin()
          Deprecated. 
 java.lang.String getText()
           Gets or sets the the plain text of a paragraph.
 byte isBulletHardColor()
          Deprecated. 
 void isBulletHardColor(byte value)
          Deprecated. 
 byte isBulletHardFont()
          Deprecated. 
 void isBulletHardFont(byte value)
          Deprecated. 
 void setAlignment(int value)
          Deprecated. 
 void setBulletChar(char value)
          Deprecated. 
 void setBulletFont(FontDataEx value)
          Deprecated. 
 void setBulletHeight(float value)
          Deprecated. 
 void setBulletType(byte value)
          Deprecated. 
 void setDefaultTabSize(float value)
          Deprecated. 
 void setEastAsianLineBreak(byte value)
          Deprecated. 
 void setFontAlignment(int value)
          Deprecated. 
 void setHangingPunctuation(byte value)
          Deprecated. 
 void setIndent(float value)
          Deprecated. 
 void setLatinLineBreak(byte value)
          Deprecated. 
 void setMarginLeft(float value)
          Deprecated. 
 void setMarginRight(float value)
          Deprecated. 
 void setNumberedBulletStartWith(short value)
          Deprecated. 
 void setNumberedBulletStyle(byte value)
          Deprecated. 
 void setRightToLeft(byte value)
          Deprecated. 
 void setSpaceAfter(float value)
          Deprecated. 
 void setSpaceBefore(float value)
          Deprecated. 
 void setSpaceWithin(float value)
          Deprecated. 
 void setText(java.lang.String value)
           
 void subscribe(com.aspose.slides.IObserver observer)
           
 void unsubscribe(com.aspose.slides.IObserver observer)
           
 
Methods inherited from class com.aspose.slides.ParagraphPropertiesEx
getBulletColor, getBulletColorFormat, getBulletPicture, getDefaultCharacterProperties, getDepth, getPresentation, getRawAlignment, getRawBulletChar, getRawBulletFont, getRawBulletHeight, getRawBulletType, getRawDefaultTabSize, getRawEastAsianLineBreak, getRawFontAlignment, getRawHangingPunctuation, getRawIndent, getRawIsBulletHardColor, getRawIsBulletHardFont, getRawLatinLineBreak, getRawMarginLeft, getRawMarginRight, getRawNumberedBulletStartWith, getRawNumberedBulletStyle, getRawRightToLeft, getRawSpaceAfter, getRawSpaceBefore, getRawSpaceWithin, getSlide, getTabs, hasBullet, setDepth, setRawAlignment, setRawBulletChar, setRawBulletFont, setRawBulletHeight, setRawBulletType, setRawDefaultTabSize, setRawEastAsianLineBreak, setRawFontAlignment, setRawHangingPunctuation, setRawIndent, setRawIsBulletHardColor, setRawIsBulletHardFont, 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(ParagraphEx para)

Copy constructor that initializes a new instance of a Paragraph class.

Method Detail

getPortions

public PortionExCollection getPortions()

Returns the collection of a text portions. Readonly PortionExCollection.


getParagraphFormat

public ParagraphFormatEx getParagraphFormat()

Returns the formatting object for this paragraph. Readonly ParagraphFormatEx.


createParagraphFormatData

public ParagraphFormatDataEx createParagraphFormatData()

Creates immutable object which contains paragraph properties including inherited.

Returns:
The ParagraphFormatDataEx.

getBulletType

@Deprecated
public byte getBulletType()
Deprecated. 

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

Overrides:
getBulletType in class ParagraphPropertiesEx

setBulletType

@Deprecated
public void setBulletType(byte value)
Deprecated. 

Overrides:
setBulletType in class ParagraphPropertiesEx

getBulletChar

@Deprecated
public char getBulletChar()
Deprecated. 

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

Overrides:
getBulletChar in class ParagraphPropertiesEx

setBulletChar

@Deprecated
public void setBulletChar(char value)
Deprecated. 

Overrides:
setBulletChar in class ParagraphPropertiesEx

getBulletFont

@Deprecated
public FontDataEx getBulletFont()
Deprecated. 

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

Overrides:
getBulletFont in class ParagraphPropertiesEx

setBulletFont

@Deprecated
public void setBulletFont(FontDataEx value)
Deprecated. 

Overrides:
setBulletFont in class ParagraphPropertiesEx

getBulletHeight

@Deprecated
public float getBulletHeight()
Deprecated. 

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

Overrides:
getBulletHeight in class ParagraphPropertiesEx

setBulletHeight

@Deprecated
public void setBulletHeight(float value)
Deprecated. 

Overrides:
setBulletHeight in class ParagraphPropertiesEx

getNumberedBulletStartWith

@Deprecated
public short getNumberedBulletStartWith()
Deprecated. 

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

Overrides:
getNumberedBulletStartWith in class ParagraphPropertiesEx

setNumberedBulletStartWith

@Deprecated
public void setNumberedBulletStartWith(short value)
Deprecated. 

Overrides:
setNumberedBulletStartWith in class ParagraphPropertiesEx

getNumberedBulletStyle

@Deprecated
public byte getNumberedBulletStyle()
Deprecated. 

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

Overrides:
getNumberedBulletStyle in class ParagraphPropertiesEx

setNumberedBulletStyle

@Deprecated
public void setNumberedBulletStyle(byte value)
Deprecated. 

Overrides:
setNumberedBulletStyle in class ParagraphPropertiesEx

getAlignment

@Deprecated
public int getAlignment()
Deprecated. 

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

Overrides:
getAlignment in class ParagraphPropertiesEx

setAlignment

@Deprecated
public void setAlignment(int value)
Deprecated. 

Overrides:
setAlignment in class ParagraphPropertiesEx

getSpaceWithin

@Deprecated
public float getSpaceWithin()
Deprecated. 

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

Overrides:
getSpaceWithin in class ParagraphPropertiesEx

setSpaceWithin

@Deprecated
public void setSpaceWithin(float value)
Deprecated. 

Overrides:
setSpaceWithin in class ParagraphPropertiesEx

getSpaceBefore

@Deprecated
public float getSpaceBefore()
Deprecated. 

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

Overrides:
getSpaceBefore in class ParagraphPropertiesEx

setSpaceBefore

@Deprecated
public void setSpaceBefore(float value)
Deprecated. 

Overrides:
setSpaceBefore in class ParagraphPropertiesEx

getSpaceAfter

@Deprecated
public float getSpaceAfter()
Deprecated. 

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

Overrides:
getSpaceAfter in class ParagraphPropertiesEx

setSpaceAfter

@Deprecated
public void setSpaceAfter(float value)
Deprecated. 

Overrides:
setSpaceAfter in class ParagraphPropertiesEx

getEastAsianLineBreak

@Deprecated
public byte getEastAsianLineBreak()
Deprecated. 

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

Overrides:
getEastAsianLineBreak in class ParagraphPropertiesEx

setEastAsianLineBreak

@Deprecated
public void setEastAsianLineBreak(byte value)
Deprecated. 

Overrides:
setEastAsianLineBreak in class ParagraphPropertiesEx

getRightToLeft

@Deprecated
public byte getRightToLeft()
Deprecated. 

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

Overrides:
getRightToLeft in class ParagraphPropertiesEx

setRightToLeft

@Deprecated
public void setRightToLeft(byte value)
Deprecated. 

Overrides:
setRightToLeft in class ParagraphPropertiesEx

getLatinLineBreak

@Deprecated
public byte getLatinLineBreak()
Deprecated. 

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

Overrides:
getLatinLineBreak in class ParagraphPropertiesEx

setLatinLineBreak

@Deprecated
public void setLatinLineBreak(byte value)
Deprecated. 

Overrides:
setLatinLineBreak in class ParagraphPropertiesEx

getHangingPunctuation

@Deprecated
public byte getHangingPunctuation()
Deprecated. 

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

Overrides:
getHangingPunctuation in class ParagraphPropertiesEx

setHangingPunctuation

@Deprecated
public void setHangingPunctuation(byte value)
Deprecated. 

Overrides:
setHangingPunctuation in class ParagraphPropertiesEx

getMarginLeft

@Deprecated
public float getMarginLeft()
Deprecated. 

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

Overrides:
getMarginLeft in class ParagraphPropertiesEx

setMarginLeft

@Deprecated
public void setMarginLeft(float value)
Deprecated. 

Overrides:
setMarginLeft in class ParagraphPropertiesEx

getMarginRight

@Deprecated
public float getMarginRight()
Deprecated. 

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

Overrides:
getMarginRight in class ParagraphPropertiesEx

setMarginRight

@Deprecated
public void setMarginRight(float value)
Deprecated. 

Overrides:
setMarginRight in class ParagraphPropertiesEx

getIndent

@Deprecated
public float getIndent()
Deprecated. 

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

Overrides:
getIndent in class ParagraphPropertiesEx

setIndent

@Deprecated
public void setIndent(float value)
Deprecated. 

Overrides:
setIndent in class ParagraphPropertiesEx

getDefaultTabSize

@Deprecated
public float getDefaultTabSize()
Deprecated. 

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

Overrides:
getDefaultTabSize in class ParagraphPropertiesEx

setDefaultTabSize

@Deprecated
public void setDefaultTabSize(float value)
Deprecated. 

Overrides:
setDefaultTabSize in class ParagraphPropertiesEx

getFontAlignment

@Deprecated
public int getFontAlignment()
Deprecated. 

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

Overrides:
getFontAlignment in class ParagraphPropertiesEx

setFontAlignment

@Deprecated
public void setFontAlignment(int value)
Deprecated. 

Overrides:
setFontAlignment in class ParagraphPropertiesEx

isBulletHardColor

@Deprecated
public byte isBulletHardColor()
Deprecated. 

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.

Overrides:
isBulletHardColor in class ParagraphPropertiesEx

isBulletHardColor

@Deprecated
public void isBulletHardColor(byte value)
Deprecated. 

Overrides:
isBulletHardColor in class ParagraphPropertiesEx

isBulletHardFont

@Deprecated
public byte isBulletHardFont()
Deprecated. 

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</b>.False if bullet inherits font from the first portion in the paragraph.

Overrides:
isBulletHardFont in class ParagraphPropertiesEx

isBulletHardFont

@Deprecated
public void isBulletHardFont(byte value)
Deprecated. 

Overrides:
isBulletHardFont in class ParagraphPropertiesEx

getText

public java.lang.String getText()

Gets or sets the the plain text of a paragraph.

Value: The text.


setText

public void setText(java.lang.String value)

subscribe

public void subscribe(com.aspose.slides.IObserver observer)

unsubscribe

public void unsubscribe(com.aspose.slides.IObserver observer)