|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Paragraph
public final class Paragraph
Represents the paragraph of a text.
Constructor Summary | |
---|---|
Paragraph()
Initializes a new instance of the Paragraph class. |
|
Paragraph(Paragraph para)
Initializes a new instance of the Paragraph class. |
Method Summary | |
---|---|
int |
getAlignment()
Returns the alignment of a paragraph. |
char |
getBulletCharacter()
Returns the character that is used for the paragraph's bullet. |
java.awt.Color |
getBulletColor()
Returns the color of the paragraph's bullet. |
short |
getBulletColorIndex()
Returns the index of a bulet's color in a color scheme or (-1) for scheme-independed color. |
int |
getBulletFontIndex()
Returns the font of the paragraph's bullet. |
short |
getBulletHeight()
Returns the bullet size relatively to the size of the first portion in the paragraph. |
short |
getBulletOffset()
Returns the offset of the paragraph's bullet. |
int |
getBulletType()
Returns the type of a bullet. |
short |
getDepth()
Returns the depth of a paragraph. |
short |
getHasBullet()
Determines whether the paragraph has bullet. |
short |
getNumberedBulletStartWith()
Returns the beginning value of a numbered bullet. |
int |
getNumberedBulletStyle()
Returns the style of a numbered bullet. |
short |
getPictureBulletId()
Returns the PictureBullet id. |
Portions |
getPortions()
Returns the collection of a text portions. |
int |
getRawAlignment()
Returns the alignment of a paragraph. |
char |
getRawBulletCharacter()
Returns the character that is used for bullets in the specified text. |
java.awt.Color |
getRawBulletColor()
Returns the color of a bullet. |
int |
getRawBulletFontIndex()
Returns the font of the bullet. |
short |
getRawBulletHeight()
Returns the bullet size relative to the size of the first portion in a paragraph. |
short |
getRawBulletOffset()
Returns the offset of the bullet. |
short |
getRawHasBullet()
Returns raw value of a bullet: -1 - value should be inherited from the master. |
short |
getRawIsBulletHardColor()
Returns raw color of a bullet: -1 - if value must be inherited from the master slide. |
short |
getRawIsBulletHardFont()
Returns raw font of a bullet: -1 - if value must be inherited from the master slide. |
short |
getRawNumberedBulletStartWith()
Returns the beginning value of a numbered bullet. |
int |
getRawNumberedBulletStyle()
Returns the style of a numbered bullet. |
short |
getRawPictureBulletId()
Returns the PictureBullet Id. |
short |
getRawSpaceAfter()
Returns the amount of space after the last line in a paragraph, Positive value means space defined in percents of line. |
short |
getRawSpaceBefore()
Returns the amount of space before the first line in a paragraph, Positive value means space defined in percents of line. |
short |
getRawSpaceWithin()
Returns the amount of space between base lines in a paragraph, Positive value means space defined in percents of line. |
short |
getRawTextOffset()
Returns the offset of the text. |
short |
getSpaceAfter()
Returns the amount of space after the last line in the paragraph, in percents of line. |
short |
getSpaceBefore()
Returns the amount of space before the first line in the paragraph, in percents of line. |
short |
getSpaceWithin()
Returns the amount of space between base lines in the paragraph, in percents of line. |
java.lang.String |
getText()
Returns the plain text of the whole paragraph. |
short |
getTextOffset()
Returns the offset of the paragraph's text. |
boolean |
isBulletHardColor()
Determines whether the bullet uses own color. |
boolean |
isBulletHardFont()
Determines whether the bullet uses own font. |
boolean |
isExtendedBullet()
Returns (true) if paragraph has extended bullets (image or numbered). |
void |
setAlignment(int value)
Sets the alignment of a paragraph. |
void |
setBulletCharacter(char value)
Sets the character that is used for the paragraph's bullet. |
void |
setBulletColor(java.awt.Color value)
Sets the color of the paragraph's bullet. |
void |
setBulletColorIndex(short value)
Sets the index of a bulet's color in a color scheme or (-1) for scheme-independed color. |
void |
setBulletFontIndex(int value)
Sets the font of the paragraph's bullet. |
void |
setBulletHardColor(boolean value)
Sets whether the bullet uses own color. |
void |
setBulletHardFont(boolean value)
Sets whether the bullet uses own font. |
void |
setBulletHeight(short value)
Sets the bullet size relatively to the size of the first portion in the paragraph. |
void |
setBulletOffset(short value)
Sets the offset of the paragraph's bullet. |
void |
setBulletType(int value)
Sets the type of a bullet. |
void |
setDepth(short value)
Sets the depth of a paragraph. |
void |
setHasBullet(short value)
Sets whether the paragraph has bullet. |
void |
setNumberedBulletStartWith(short value)
Sets the beginning value of a numbered bullet. |
void |
setNumberedBulletStyle(int value)
Sets the style of a numbered bullet. |
void |
setPictureBulletId(short value)
Sets the PictureBullet id. |
void |
setRawAlignment(int value)
Sets the alignment of a paragraph. |
void |
setRawBulletCharacter(char value)
Sets the character that is used for bullets in the specified text. |
void |
setRawBulletColor(java.awt.Color value)
Sets the color of a bullet. |
void |
setRawBulletFontIndex(int value)
Sets the font of the bullet. |
void |
setRawBulletHeight(short value)
Sets the bullet size relative to the size of the first portion in a paragraph. |
void |
setRawBulletOffset(short value)
Sets the offset of the bullet. |
void |
setRawHasBullet(short value)
Sets raw value of a bullet: -1 - value should be inherited from the master. |
void |
setRawIsBulletHardColor(short value)
Sets raw color of a bullet: -1 - if value must be inherited from the master slide. |
void |
setRawIsBulletHardFont(short value)
Sets raw font of a bullet: -1 - if value must be inherited from the master slide. |
void |
setRawNumberedBulletStartWith(short value)
Sets the beginning value of a numbered bullet. |
void |
setRawNumberedBulletStyle(int value)
Sets the style of a numbered bullet. |
void |
setRawPictureBulletId(short value)
Sets the PictureBullet Id. |
void |
setRawSpaceAfter(short value)
Sets the amount of space after the last line in a paragraph, Positive value means space defined in percents of line. |
void |
setRawSpaceBefore(short value)
Sets the amount of space before the first line in a paragraph, Positive value means space defined in percents of line. |
void |
setRawSpaceWithin(short value)
Sets the amount of space between base lines in a paragraph, Positive value means space defined in percents of line. |
void |
setRawTextOffset(short value)
Sets the offset of the text. |
void |
setSpaceAfter(short value)
Sets the amount of space after the last line in the paragraph, in percents of line. |
void |
setSpaceBefore(short value)
Sets the amount of space before the first line in the paragraph, in percents of line. |
void |
setSpaceWithin(short value)
Sets the amount of space between base lines in the paragraph, in percents of line. |
void |
setText(java.lang.String value)
Sets the plain text of the whole paragraph. |
void |
setTextOffset(short value)
Sets the offset of the paragraph's text. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Paragraph()
public Paragraph(Paragraph para)
para
- Paragraph object to clone.Method Detail |
---|
public short getDepth()
public void setDepth(short value)
value
- new depth of a paragraph.public short getHasBullet()
public void setHasBullet(short value)
value
- public boolean isBulletHardColor()
public void setBulletHardColor(boolean value)
value
- (
true) if bullet uses own color and (false) if bullet uses
color of the first portion in the paragraph.public java.awt.Color getBulletColor()
public void setBulletColor(java.awt.Color value)
value
- new bullet color.public short getBulletColorIndex()
public void setBulletColorIndex(short value)
value
- the index of a bulet's color.public boolean isBulletHardFont()
public void setBulletHardFont(boolean value)
value
- (
true) if bullet has own font and (false) if bullet uses font
of the first portion in the paragraph.public int getBulletFontIndex()
public void setBulletFontIndex(int value)
value
- new font index.public short getBulletHeight()
public void setBulletHeight(short value)
value
- new bullet height.public char getBulletCharacter()
public void setBulletCharacter(char value)
value
- new bullet character.public short getSpaceBefore()
public void setSpaceBefore(short value)
value
- new value for the space before the paragraph.public short getSpaceAfter()
public void setSpaceAfter(short value)
value
- new value for the space after the paragraph.public short getSpaceWithin()
public void setSpaceWithin(short value)
value
- new value for the space between base lines in the paragraph.public short getBulletOffset()
public void setBulletOffset(short value)
value
- new bullet offset.public short getTextOffset()
public void setTextOffset(short value)
value
- new text offset.public int getAlignment()
TextAlignment
.public void setAlignment(int value)
value
- new paragraph alignment. See TextAlignment
.public boolean isExtendedBullet()
public int getBulletType()
BulletType
.public void setBulletType(int value)
value
- the type of a bullet. See BulletType
.public int getNumberedBulletStyle()
NumberedBulletStyle
.public void setNumberedBulletStyle(int value)
value
- the style of a numbered bullet. See NumberedBulletStyle
.public short getNumberedBulletStartWith()
public void setNumberedBulletStartWith(short value)
value
- the beginning value of a numbered bullet.public short getPictureBulletId()
public void setPictureBulletId(short value)
value
- the PictureBullet id.public int getRawAlignment()
TextAlignment
.public void setRawAlignment(int value)
value
- the alignment of a paragraph. See TextAlignment
.public short getRawHasBullet()
public void setRawHasBullet(short value)
value
- Sets raw value of a bullet.public java.awt.Color getRawBulletColor()
public void setRawBulletColor(java.awt.Color value)
value
- the color of a bullet.public short getRawIsBulletHardFont()
public void setRawIsBulletHardFont(short value)
value
- Sets raw font of a bullet.public short getRawIsBulletHardColor()
public void setRawIsBulletHardColor(short value)
value
- Sets raw color of a bullet.public int getRawBulletFontIndex()
public void setRawBulletFontIndex(int value)
value
- Sets the font of the bullet.public short getRawBulletHeight()
public void setRawBulletHeight(short value)
value
- the bullet size relative to the size of the first portion in a paragraph.public char getRawBulletCharacter()
public void setRawBulletCharacter(char value)
value
- Sets the character that is used for bullets in the specified text.public short getRawSpaceBefore()
public void setRawSpaceBefore(short value)
value
- Sets the amount of space before the first line in a paragraph.public short getRawSpaceAfter()
public void setRawSpaceAfter(short value)
value
- the amount of space after the last line in a paragraph.public short getRawSpaceWithin()
public void setRawSpaceWithin(short value)
value
- the amount of space between base lines in a paragraph.public short getRawBulletOffset()
public void setRawBulletOffset(short value)
value
- the offset of the bullet.public short getRawTextOffset()
public void setRawTextOffset(short value)
value
- the offset of the text.public int getRawNumberedBulletStyle()
NumberedBulletStyle
.public void setRawNumberedBulletStyle(int value)
value
- the style of a numbered bullet. See NumberedBulletStyle
.public short getRawNumberedBulletStartWith()
public void setRawNumberedBulletStartWith(short value)
value
- the beginning value of a numbered bullet.public short getRawPictureBulletId()
public void setRawPictureBulletId(short value)
value
- the PictureBullet Id.public Portions getPortions()
Portions
.public java.lang.String getText()
public void setText(java.lang.String value) throws PptEditException
value
- the plain text.
PptEditException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |