Represents a container for text of a comment.
Namespace: Spire.Doc.FieldsAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public class Comment : ParagraphBase, ICompositeObject, IDocumentObject
Public Class Comment Inherits ParagraphBase Implements ICompositeObject, IDocumentObject
public ref class Comment : public ParagraphBase, ICompositeObject, IDocumentObject
type Comment = class inherit ParagraphBase interface ICompositeObject interface IDocumentObject end
Members
| All Members | Constructors | Fields | Properties | Methods |
| Member | Description | |
|---|---|---|
| Comment(IDocument) |
Initializes a new instance of the [!:WComment] class.
| |
| AddItem(IParagraphBase) |
Adds the paragraph item to the commented items.
| |
| ApplyCharacterFormat(CharacterFormat) |
Sets the character format.
(Inherited from ParagraphBase.) | |
| ApplyStyle(String) | (Inherited from ParagraphBase.) | |
| Body |
Gets comment body.
| |
| ByRepliedComment |
Gets the comment of current comment replied.
| |
| CharacterFormat |
Gets the character format.
(Inherited from ParagraphBase.) | |
| ChildObjects |
Gets the child document objects.
| |
| Clear()()()() |
Clears the commented items.
| |
| Clone()()()() | (Inherited from DocumentObject.) | |
| CloneImpl()()()() | (Overrides ParagraphBase..::..CloneImpl()()()().) | |
| CommentMarkEnd |
Gets the ending mark of the comment.
| |
| CommentMarkStart |
Gets the begining mark of the comment.
| |
| CreateLayoutInfo()()()() | (Overrides DocumentBase..::..CreateLayoutInfo()()()().) | |
| DeleteRevision |
Gets the delete revision for this objects.
Note this can be null. If null does not have delete revision.
(Inherited from ParagraphBase.) | |
| Document |
Gets the document.
(Inherited from OwnerHolder.) | |
| DocumentObjectType |
Gets the type of the document object.
(Overrides DocumentObject..::..DocumentObjectType.) | |
| Equals(Object) |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| FirstChild | (Inherited from DocumentObject.) | |
| Format |
Gets the format.
| |
| GetAncestor(DocumentObjectType) | (Inherited from ParagraphBase.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetNextWidgetSibling()()()() | (Inherited from ParagraphBase.) | |
| GetPreviousWidgetSibling()()()() | (Inherited from ParagraphBase.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| InitXDLSHolder()()()() | (Overrides DocumentSerializable..::..InitXDLSHolder()()()().) | |
| InsertRevision |
Gets the insert revision for this objects.
Note this can be null. If null does not have insert revision.
(Inherited from ParagraphBase.) | |
| IsComposite |
Indicating whether this instance is composite.
(Inherited from DocumentObject.) | |
| IsDeleteRevision |
Gets or set a value indicating whether this item was deleted from the document,
when "Track Changes" is or was set to "true".
(Inherited from ParagraphBase.) | |
| IsInsertRevision |
Gets a value indicating whether this item was inserted to the document,
when "Track Changes" is or was set to "true".
(Inherited from ParagraphBase.) | |
| Items |
Gets the range of commented items.
| |
| LastChild | (Inherited from DocumentObject.) | |
| m_charFormat | (Inherited from ParagraphBase.) | |
| m_doc | (Inherited from OwnerHolder.) | |
| m_format | ||
| m_textBody | ||
| MarkCommentDone(Boolean) |
Marks the comment done.
| |
| MarkDone |
Gets a value indicating whether done.
| |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| NextSibling |
Gets the next sibling.
(Inherited from DocumentObject.) | |
| Owner |
Gets the owner of this entity.
(Inherited from DocumentObject.) | |
| OwnerParagraph |
Gets owner paragraph.
(Inherited from ParagraphBase.) | |
| PreviousSibling |
Gets the previous sibling.
(Inherited from DocumentObject.) | |
| ReadXmlAttributes(IXDLSAttributeReader) | (Inherited from DocumentSerializable.) | |
| ReadXmlContent(IXDLSContentReader) | (Inherited from DocumentSerializable.) | |
| Replace(String) |
Replace commented items with matchString text.
| |
| Replace(TextBodyPart) |
Replaces the commented items with specified TextBodyPart.
| |
| ReplyCommentItems |
Gets the range of commented items.
| |
| ReplyToComment(Comment) |
Replies to comment.
| |
| RestoreReference(String, Int32) | (Inherited from DocumentSerializable.) | |
| StyleName |
Gets the style name.
(Inherited from ParagraphBase.) | |
| ToString()()()() |
Returns a String that represents the current Object.
(Inherited from Object.) | |
| ToString(String) |
Exports the name and index in container of the object into a string in the specified seperator.
(Inherited from DocumentObject.) | |
| WriteXmlAttributes(IXDLSAttributeWriter) | (Overrides DocumentSerializable..::..WriteXmlAttributes(IXDLSAttributeWriter).) | |
| WriteXmlContent(IXDLSContentWriter) | (Inherited from DocumentSerializable.) | |
| XDLSHolder | (Inherited from DocumentSerializable.) |
Inheritance Hierarchy
System..::..Object
Spire.Doc..::..OwnerHolder
Spire.Doc.Documents.XML..::..DocumentSerializable
Spire.Doc..::..DocumentObject
Spire.Doc..::..DocumentBase
Spire.Doc.Fields..::..ParagraphBase
Spire.Doc.Fields..::..Comment
Spire.Doc..::..OwnerHolder
Spire.Doc.Documents.XML..::..DocumentSerializable
Spire.Doc..::..DocumentObject
Spire.Doc..::..DocumentBase
Spire.Doc.Fields..::..ParagraphBase
Spire.Doc.Fields..::..Comment