|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.doc.ownerholder
com.spire.doc.documents.xml.documentserializable
com.spire.doc.documentobject
com.spire.doc.documentbase
com.spire.doc.fields.paragraphbase
com.spire.doc.fields.comment
public class comment
represents a container for text of a comment.
constructor summary | |
---|---|
comment(idocument doc)
initializes a new instance of the comment class. |
method summary | |
---|---|
void |
additem(iparagraphbase paraitem)
adds the paragraph item to the commented items. |
void |
clear()
clears the commented items. |
body |
getbody()
gets comment body. |
comment |
getbyrepliedcomment()
gets the comment of current comment replied. |
documentobjectcollection |
getchildobjects()
gets the child document objects. |
commentmark |
getcommentmarkend()
gets the ending mark of the comment. |
commentmark |
getcommentmarkstart()
gets the begining mark of the comment. |
documentobjecttype |
getdocumentobjecttype()
gets the type of the document object. |
commentformat |
getformat()
gets the format. |
paragraphitemcollection |
getitems()
gets the range of commented items. |
boolean |
getmarkdone()
gets a value indicating whether done. |
commentscollection |
getreplycommentitems()
gets the range of commented items. |
void |
markcommentdone(boolean done)
marks the comment done. |
void |
replace(java.lang.string text)
replace commented items with matchstring text. |
void |
replace(textbodypart textbodypart)
replaces the commented items with specified textbodypart. |
void |
replytocomment(comment replycomment)
replies to comment. |
methods inherited from class com.spire.doc.fields.paragraphbase |
---|
applycharacterformat, applystyle, getancestor, getcharacterformat, 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 |
---|
public comment(idocument doc)
comment
class.
doc
- the doc.method detail |
---|
public documentobjectcollection getchildobjects()
getchildobjects
in interface icompositeobject
getchildobjects
in class paragraphbase
public documentobjecttype getdocumentobjecttype()
getdocumentobjecttype
in interface idocumentobject
getdocumentobjecttype
in class documentobject
public body getbody()
public commentformat getformat()
public paragraphitemcollection getitems()
public commentscollection getreplycommentitems()
public comment getbyrepliedcomment()
public boolean getmarkdone()
public commentmark getcommentmarkstart()
public commentmark getcommentmarkend()
public void clear()
public void replace(java.lang.string text)
text
- the text.public void replace(textbodypart textbodypart)
textbodypart
- the text body part.public void additem(iparagraphbase paraitem)
paraitem
- the paragraph item.public void replytocomment(comment replycomment)
replycomment
- the reply comment.public void markcommentdone(boolean done)
done
- the done.
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |