![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.powerpoint.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 |
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. |
short |
getDepth()
Returns the depth of a paragraph. |
short |
getHasBullet()
Determines whether the paragraph has bullet. |
Portions |
getPortions()
Returns the collection of a text portions. |
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 |
isBulletHardFont()
Determines whether the bullet uses own font. |
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 |
setBulletFontIndex(short value)
Sets the font of the paragraph's bullet. |
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 |
setDepth(short value)
Sets the depth of a paragraph. |
void |
setHasBullet(short value)
Sets whether the paragraph has bullet. |
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 |
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
- 1 if paragraph has a bullet, 0 if paragraph doesn't have a bullet and
-1 - default value.public java.awt.Color getBulletColor()
public void setBulletColor(java.awt.Color value)
value
- new bullet color.public boolean isBulletHardFont()
public void setBulletHardFont(boolean value)
value
- true if bullet uses own font and false
if bullet uses font of the first portion in the paragraph.public short getBulletFontIndex()
public void setBulletFontIndex(short 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()
public void setAlignment(int value)
value
- new paragraph alignment.public Portions getPortions()
public java.lang.String getText()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |