paragraphstyle-ag凯发旗舰厅



com.spire.doc.documents
class paragraphstyle

java.lang.object
  extended by com.spire.doc.ownerholder
      extended by com.spire.doc.documents.xml.documentserializable
          extended by com.spire.doc.documents.style
              extended by com.spire.doc.documents.paragraphstyle
all implemented interfaces:
irunattrsource, iparagraphstyle, istyle

public class paragraphstyle
extends style
implements iparagraphstyle

represents a style of paragraph.


constructor summary
paragraphstyle(idocument doc)
          initializes a new instance of the paragraphstyle class.
 
method summary
 void applybasestyle(java.lang.string stylename)
          apply base style for current style.
 istyle deepclone()
          clones itself
 paragraphstyle getbasestyle()
          gets a base style of paragraph.
 listformat getlistformat()
          gets format of the list for the paragraph.
 paragraphformat getparagraphformat()
          gets formatting of paragraph.
 styletype getstyletype()
          gets the type of the style.
 
methods inherited from class com.spire.doc.documents.style
applybasestyle, clearrunattrs, createbuiltinstyle, createbuiltinstyle, fetchinheritedrunattr, getcharacterformat, getdefaultstyletype, getdirectrunattr, getdirectrunattrbyindex, getdirectrunattrscount, getname, getstyleid, iscustomstyle, iscustomstyle, nametobuiltin, setname, setrunattr
 
methods inherited from class com.spire.doc.ownerholder
getdocument
 
methods inherited from interface com.spire.doc.interfaces.iparagraphstyle
getcharacterformat
 
methods inherited from interface com.spire.doc.interfaces.istyle
getname, getstyleid, setname
 
constructor detail

paragraphstyle

public paragraphstyle(idocument doc)
initializes a new instance of the paragraphstyle class.
parameters:
doc - the doc.
method detail

getparagraphformat

public paragraphformat getparagraphformat()
gets formatting of paragraph.
specified by:
getparagraphformat in interface iparagraphstyle
returns:
paragraphformat

getbasestyle

public paragraphstyle getbasestyle()
gets a base style of paragraph.
overrides:
getbasestyle in class style
returns:
paragraphstyle

getstyletype

public styletype getstyletype()
gets the type of the style.
specified by:
getstyletype in interface istyle
specified by:
getstyletype in class style
returns:
the type of the style.

getlistformat

public listformat getlistformat()
gets format of the list for the paragraph.
returns:
listformat

applybasestyle

public void applybasestyle(java.lang.string stylename)
apply base style for current style.
overrides:
applybasestyle in class style
parameters:
stylename - stylename

deepclone

public istyle deepclone()
clones itself
specified by:
deepclone in interface istyle
specified by:
deepclone in class style
returns:
istyle


网站地图