paragraphbase-ag凯发旗舰厅



com.spire.doc.fields
class paragraphbase

java.lang.object
  extended by com.spire.doc.ownerholder
      extended by com.spire.doc.documents.xml.documentserializable
          extended by com.spire.doc.documentobject
              extended by com.spire.doc.documentbase
                  extended by com.spire.doc.fields.paragraphbase
all implemented interfaces:
irunattrsource, idocumentobject, iparagraphbase
direct known subclasses:
bookmarkend, bookmarkstart, break, comment, commentmark, fieldmark, footnote, officemath, permissionend, permissionstart, shapebase, structuredocumenttaginline, symbol, tableofcontent, textrange, watermarkbase

public abstract class paragraphbase
extends documentbase
implements iparagraphbase, irunattrsource

constructor summary
protected paragraphbase(document doc)
          initializes a new instance of the paragraphbase class.
 
method summary
 void applycharacterformat(characterformat charformat)
          sets the character format.
 void applystyle(java.lang.string stylename)
          applies the specified style.
 documentobject getancestor(documentobjecttype objecttype)
           
 characterformat getcharacterformat()
          gets the character format.
 documentobjectcollection getchildobjects()
          gets the child objects of the entity.
 paragraph getownerparagraph()
          gets owner paragraph.
 java.lang.string getstylename()
          gets the style name.
 boolean isdeleterevision()
          gets or set a value indicating whether this item was deleted from the document, when "track changes" is or was set to "true".
 boolean isinsertrevision()
          gets a value indicating whether this item was inserted to the document, when "track changes" is or was set to "true".
 
methods inherited from class com.spire.doc.documentobject
deepclone, getdocumentobjecttype, getfirstchild, getlastchild, getnextsibling, getowner, getprevioussibling, iscomposite, tostring
 
methods inherited from class com.spire.doc.ownerholder
getdocument
 
methods inherited from interface com.spire.doc.interfaces.idocumentobject
deepclone, getdocument, getdocumentobjecttype, getnextsibling, getowner, getprevioussibling, iscomposite
 
methods inherited from interface com.spire.doc.documents.irunattrsource
clearrunattrs, fetchinheritedrunattr, getdirectrunattr, getdirectrunattrbyindex, getdirectrunattrscount, setrunattr
 
constructor detail

paragraphbase

protected paragraphbase(document doc)
initializes a new instance of the paragraphbase class.
parameters:
doc - the doc.
method detail

getchildobjects

public documentobjectcollection getchildobjects()
gets the child objects of the entity.
specified by:
getchildobjects in class documentobject
returns:
documentobjectcollection

getownerparagraph

public paragraph getownerparagraph()
gets owner paragraph.
specified by:
getownerparagraph in interface iparagraphbase
returns:
paragraph

isinsertrevision

public boolean isinsertrevision()
gets a value indicating whether this item was inserted to the document, when "track changes" is or was set to "true".
returns:
if this instance was inserted, set to true.

getstylename

public java.lang.string getstylename()
gets the style name.
specified by:
getstylename in interface iparagraphbase
returns:
style name.

isdeleterevision

public boolean isdeleterevision()
gets or set a value indicating whether this item was deleted from the document, when "track changes" is or was set to "true".
returns:
if this instance is delete revision, set to true.

getcharacterformat

public characterformat getcharacterformat()
gets the character format.
returns:
the paragraph item character format.

applycharacterformat

public void applycharacterformat(characterformat charformat)
sets the character format.
parameters:
charformat - the character format.

applystyle

public void applystyle(java.lang.string stylename)
applies the specified style.
specified by:
applystyle in interface iparagraphbase
parameters:
stylename - the style name.

getancestor

public documentobject getancestor(documentobjecttype objecttype)
overrides:
getancestor in class documentobject


网站地图