listformat-ag凯发旗舰厅



com.spire.doc.formatting
class listformat

java.lang.object
  extended by com.spire.doc.ownerholder
      extended by com.spire.doc.documents.xml.documentserializable
          extended by com.spire.doc.formatting.formatbase
              extended by com.spire.doc.formatting.attrcollection
                  extended by com.spire.doc.formatting.wordattrcollection
                      extended by com.spire.doc.formatting.listformat

public class listformat
extends wordattrcollection

constructor summary
listformat(document doc, paragraphstyle owner)
          initializes a new instance of the listformat class.
listformat(iparagraph owner)
          initializes a new instance of the listformat class.
 
method summary
 void applybulletstyle()
          apply default bullet style for current paragraph.
 void applynumberedstyle()
          apply default numbered style for current paragraph.
 void applystyle(java.lang.string stylename)
          apply liststyle
 void continuelistnumbering()
          continue last list.
 void decreaseindentlevel()
          decrease level indent.
 listlevel getcurrentlistlevel()
          gets paragraph's listlevel.
 liststyle getcurrentliststyle()
          gets paragraph's list style.
 java.lang.string getcustomstylename()
          gets the name of custom style.
 int getlistlevelnumber()
          returns list nesting level.
 listtype getlisttype()
          gets type of the list.
 void increaseindentlevel()
          increase level indent.
 boolean isrestartnumbering()
          returns whether numbering of the list must restart from previous list.
 void isrestartnumbering(boolean value)
          sets whether numbering of the list must restart from previous list.
 void removelist()
          removes the list from current paragraph.
 void setlistlevelnumber(int value)
          sets list nesting level.
 
methods inherited from class com.spire.doc.formatting.formatbase
clearformatting, haskey, isdefault
 
methods inherited from class com.spire.doc.ownerholder
getdocument
 
constructor detail

listformat

public listformat(iparagraph owner)
initializes a new instance of the listformat class.
parameters:
owner - iparagraph

listformat

public listformat(document doc,
                  paragraphstyle owner)
initializes a new instance of the listformat class.
parameters:
doc - document
owner - iparagraph
method detail

getlistlevelnumber

public int getlistlevelnumber()
returns list nesting level.
returns:
listlevelber int value

setlistlevelnumber

public void setlistlevelnumber(int value)
sets list nesting level.
parameters:
value - listlevelber int value

getlisttype

public listtype getlisttype()
gets type of the list.
returns:
listtype

isrestartnumbering

public boolean isrestartnumbering()
returns whether numbering of the list must restart from previous list.
returns:
isrestartnumbering

isrestartnumbering

public void isrestartnumbering(boolean value)
sets whether numbering of the list must restart from previous list.
parameters:
value - isrestartnumbering

getcustomstylename

public java.lang.string getcustomstylename()
gets the name of custom style.
returns:
customstylename

getcurrentliststyle

public liststyle getcurrentliststyle()
gets paragraph's list style.
returns:
liststyle

getcurrentlistlevel

public listlevel getcurrentlistlevel()
gets paragraph's listlevel.
returns:
listlevel

increaseindentlevel

public void increaseindentlevel()
increase level indent.

decreaseindentlevel

public void decreaseindentlevel()
decrease level indent.

continuelistnumbering

public void continuelistnumbering()
continue last list.

applystyle

public void applystyle(java.lang.string stylename)
apply liststyle
parameters:
stylename - stylename

applybulletstyle

public void applybulletstyle()
apply default bullet style for current paragraph.

applynumberedstyle

public void applynumberedstyle()
apply default numbered style for current paragraph.

removelist

public void removelist()
removes the list from current paragraph.


网站地图