paragraphstyle-ag凯发旗舰厅
com.spire.doc.documents
class paragraphstyle
java.lang.object
com.spire.doc.ownerholder
com.spire.doc.documents.xml.documentserializable
com.spire.doc.documents.style
com.spire.doc.documents.paragraphstyle
- all implemented interfaces:
- irunattrsource, iparagraphstyle, istyle
public class paragraphstyle
- extends style
- implements iparagraphstyle
represents a style of paragraph.
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 |
paragraphstyle
public paragraphstyle(idocument doc)
- initializes a new instance of the paragraphstyle class.
- parameters:
doc
- the doc.
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