textparagraphproperties-ag凯发旗舰厅



com.spire.presentation
class textparagraphproperties

java.lang.object
  extended by com.spire.presentation.textparagraphproperties
all implemented interfaces:
iactivepresentation, islidecomponent

public class textparagraphproperties
extends java.lang.object
implements islidecomponent

contains the paragraph's formatting properties.


constructor summary
textparagraphproperties()
           
textparagraphproperties( ls,  ppt)
           
textparagraphproperties(textparagraphproperties paraprop)
           
 
method summary
 textalignmenttype getalignment()
          gets or sets the text alignment in a paragraph.
 char getbulletchar()
          gets the bullet char of a paragraph.
 colorformat getbulletcolor()
          gets the color format of a bullet of a paragraph.
 textfont getbulletfont()
          gets he bullet font of a paragraph.
 float getbulletsize()
          gets the bullet height of a paragraph.
 boolean getcustombulletcolor()
           
 float getdefaulttabsize()
          gets default tabulation size.
 portionformatex getdefaulttextrangeproperties()
          gets default portion format of a paragraph.
 tristate geteastasianlinebreak()
          indicates whether the east asian line break is used in a paragraph.
 fontalignmenttype getfontalignment()
          gets a font alignment in a paragraph.
 tristate gethangingpunctuation()
          indicates whether the hanging punctuation is used in a paragraph.
 float getindent()
          gets text indentation in a paragraph.
 tristate getlatinlinebreak()
          indicates whether the latin line break is used in a paragraph.
 float getleftmargin()
          gets the left margin in a paragraph.
 short getlevel()
          gets a level of a paragraph.
 float getlinespacing()
          gets the amount of space between base lines in a paragraph.
 short getnumberedbulletstartwith()
          gets the first number which is used for group of numbered bullets.
 numberedbulletstyle getnumberedbulletstyle()
          gets the style of a numbered bullet.
 float getrightmargin()
          gets the right margin in a paragraph.
 tristate getrighttoleft()
          indicates whether the right to left writing is used in a paragraph.
 float getspaceafter()
          gets the amount of space after the last line in a paragraph.
 float getspacebefore()
          gets the amount of space before the first line in a paragraph.
 tabstopcollection gettabstopslist()
          gets tabulations of a paragraph.
 textbullettype gettexttextbullettype()
          gets the bullet type of a paragraph.
 tristate isbulletinheritfont()
          indicates whether the bullet has own font or inherits it from the first portion in the paragraph.
 void isbulletinheritfont(tristate value)
           
 void setalignment(textalignmenttype value)
          sets the text alignment in a paragraph.
 void setbulletchar(char value)
          sets the bullet char of a paragraph.
 void setbulletfont(textfont value)
          sets the bullet font of a paragraph.
 void setbulletsize(float value)
          sets the bullet height of a paragraph.
 void setcustombulletcolor(boolean value)
           
 void setdefaulttabsize(float value)
          sets default tabulation size.
 void seteastasianlinebreak(tristate value)
           
 void setfontalignment(fontalignmenttype value)
          sets a font alignment in a paragraph.
 void sethangingpunctuation(tristate value)
           
 void setindent(float value)
          sets text indentation in a paragraph.
 void setlatinlinebreak(tristate value)
           
 void setleftmargin(float value)
          sets the left margin in a paragraph.
 void setlevel(short value)
          sets a level of a paragraph.
 void setlinespacing(float value)
          sets the amount of space between base lines in a paragraph.
 void setnumberedbulletstartwith(short value)
          sets the first number which is used for group of numbered bullets.
 void setnumberedbulletstyle(numberedbulletstyle value)
          sets the style of a numbered bullet.
 void setrightmargin(float value)
          sets the right margin in a paragraph.
 void setrighttoleft(tristate value)
           
 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 settexttextbullettype(textbullettype value)
          sets the bullet type of a paragraph.
 
methods inherited from interface com.spire.presentation.islidecomponent
getslide
 
methods inherited from interface com.spire.presentation.iactivepresentation
getpresentation
 
constructor detail

textparagraphproperties

public textparagraphproperties(textparagraphproperties paraprop)

textparagraphproperties

public textparagraphproperties( ls,
                                ppt)
                        throws documenteditexception
throws:
documenteditexception

textparagraphproperties

public textparagraphproperties()
method detail

getlevel

public short getlevel()
gets a level of a paragraph. read/write .
returns:

setlevel

public void setlevel(short value)
sets a level of a paragraph. read/write .

gettexttextbullettype

public textbullettype gettexttextbullettype()
gets the bullet type of a paragraph. read/write .
returns:

settexttextbullettype

public void settexttextbullettype(textbullettype value)
sets the bullet type of a paragraph. read/write .

getbulletchar

public char getbulletchar()
gets the bullet char of a paragraph. read/write .
returns:

setbulletchar

public void setbulletchar(char value)
sets the bullet char of a paragraph. read/write .

getbulletfont

public textfont getbulletfont()
gets he bullet font of a paragraph. read/write .
returns:

setbulletfont

public void setbulletfont(textfont value)
sets the bullet font of a paragraph. read/write .

getbulletsize

public float getbulletsize()
gets the bullet height of a paragraph. read/write .
returns:

setbulletsize

public void setbulletsize(float value)
sets the bullet height of a paragraph. read/write .

getbulletcolor

public colorformat getbulletcolor()
gets the color format of a bullet of a paragraph. read-only .
returns:

getnumberedbulletstartwith

public short getnumberedbulletstartwith()
gets the first number which is used for group of numbered bullets. read/write .
returns:

setnumberedbulletstartwith

public void setnumberedbulletstartwith(short value)
sets the first number which is used for group of numbered bullets. read/write .

getnumberedbulletstyle

public numberedbulletstyle getnumberedbulletstyle()
gets the style of a numbered bullet. read/write .
returns:

setnumberedbulletstyle

public void setnumberedbulletstyle(numberedbulletstyle value)
sets the style of a numbered bullet. read/write .

getalignment

public textalignmenttype getalignment()
gets or sets the text alignment in a paragraph. read/write .
returns:

setalignment

public void setalignment(textalignmenttype value)
sets the text alignment in a paragraph. read/write .

getlinespacing

public float getlinespacing()
gets the amount of space between base lines in a paragraph. positive value means percentage, negative - size in points. read/write .
returns:

setlinespacing

public void setlinespacing(float value)
sets the amount of space between base lines in a paragraph. positive value means percentage, negative - size in points. read/write .

getspacebefore

public float getspacebefore()
gets the amount of space before the first line in a paragraph. read/write .
returns:

setspacebefore

public void setspacebefore(float value)
sets the amount of space before the first line in a paragraph. read/write .

getspaceafter

public float getspaceafter()
gets the amount of space after the last line in a paragraph. read/write .
returns:

setspaceafter

public void setspaceafter(float value)
sets the amount of space after the last line in a paragraph. read/write .

geteastasianlinebreak

public tristate geteastasianlinebreak()
indicates whether the east asian line break is used in a paragraph. read/write .
returns:

seteastasianlinebreak

public void seteastasianlinebreak(tristate value)

getrighttoleft

public tristate getrighttoleft()
indicates whether the right to left writing is used in a paragraph. read/write .
returns:

setrighttoleft

public void setrighttoleft(tristate value)

getlatinlinebreak

public tristate getlatinlinebreak()
indicates whether the latin line break is used in a paragraph. read/write .
returns:

setlatinlinebreak

public void setlatinlinebreak(tristate value)

gethangingpunctuation

public tristate gethangingpunctuation()
indicates whether the hanging punctuation is used in a paragraph. read/write .
returns:

sethangingpunctuation

public void sethangingpunctuation(tristate value)

getleftmargin

public float getleftmargin()
gets the left margin in a paragraph. read/write .
returns:

setleftmargin

public void setleftmargin(float value)
sets the left margin in a paragraph. read/write .

getrightmargin

public float getrightmargin()
gets the right margin in a paragraph. read/write .
returns:

setrightmargin

public void setrightmargin(float value)
sets the right margin in a paragraph. read/write .

getindent

public float getindent()
gets text indentation in a paragraph. read/write .
returns:

setindent

public void setindent(float value)
sets text indentation in a paragraph. read/write .

getdefaulttabsize

public float getdefaulttabsize()
gets default tabulation size. read/write .
returns:

setdefaulttabsize

public void setdefaulttabsize(float value)
sets default tabulation size. read/write .

gettabstopslist

public tabstopcollection gettabstopslist()
gets tabulations of a paragraph. read-only .
returns:

getfontalignment

public fontalignmenttype getfontalignment()
gets a font alignment in a paragraph. read/write .
returns:

setfontalignment

public void setfontalignment(fontalignmenttype value)
sets a font alignment in a paragraph. read/write .

getdefaulttextrangeproperties

public portionformatex getdefaulttextrangeproperties()
gets default portion format of a paragraph. read-only .
returns:

getcustombulletcolor

public boolean getcustombulletcolor()

setcustombulletcolor

public void setcustombulletcolor(boolean value)

isbulletinheritfont

public tristate isbulletinheritfont()
indicates whether the bullet has own font or inherits it from the first portion in the paragraph. tristate.true if bullet has own font and tristate.false if bullet inherits font from the first portion in the paragraph.
returns:

isbulletinheritfont

public void isbulletinheritfont(tristate value)


网站地图