paragraphbase-ag凯发旗舰厅
com.spire.doc.fields
class paragraphbase
java.lang.object
com.spire.doc.ownerholder
com.spire.doc.documents.xml.documentserializable
com.spire.doc.documentobject
com.spire.doc.documentbase
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
paragraphbase
protected paragraphbase(document doc)
- initializes a new instance of the
paragraphbase
class.
- parameters:
doc
- the doc.
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