commentmark-ag凯发旗舰厅



com.spire.doc.documents
class commentmark

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
                      extended by com.spire.doc.documents.commentmark
all implemented interfaces:
irunattrsource, idocumentobject, iparagraphbase

public class commentmark
extends paragraphbase

represents a container for text of a comment. class represents comment start marker


constructor summary
commentmark(idocument doc)
          initializes a new instance of the commentmark class.
 
method summary
 int getcommentid()
          gets the id of the comment this mark refers to.
 documentobjecttype getdocumentobjecttype()
          gets the type of the document object.
 commentmarktype gettype()
          gets the type of the commentmark.
 void setcommentid(int value)
          sets the id of the comment this mark refers to.
 void settype(commentmarktype value)
          sets the type of the commentmark.
 
methods inherited from class com.spire.doc.fields.paragraphbase
applycharacterformat, applystyle, getancestor, getcharacterformat, getchildobjects, getownerparagraph, getstylename, isdeleterevision, isinsertrevision
 
methods inherited from class com.spire.doc.documentobject
deepclone, 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, getnextsibling, getowner, getprevioussibling, iscomposite
 
methods inherited from interface com.spire.doc.documents.irunattrsource
clearrunattrs, fetchinheritedrunattr, getdirectrunattr, getdirectrunattrbyindex, getdirectrunattrscount, setrunattr
 
constructor detail

commentmark

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

getcommentid

public int getcommentid()
gets the id of the comment this mark refers to.
returns:
the comment id.

setcommentid

public void setcommentid(int value)
sets the id of the comment this mark refers to.
parameters:
value - the comment id.

getdocumentobjecttype

public documentobjecttype getdocumentobjecttype()
gets the type of the document object.
specified by:
getdocumentobjecttype in interface idocumentobject
specified by:
getdocumentobjecttype in class documentobject
returns:
the type of the document object.

gettype

public commentmarktype gettype()
gets the type of the commentmark.
returns:
the type.

settype

public void settype(commentmarktype value)
sets the type of the commentmark.
parameters:
value - the type.


网站地图