com.spire.doc.formatting
Class CommentFormat

java.lang.Object
  extended by com.spire.doc.OwnerHolder
      extended by com.spire.doc.documents.xml.DocumentSerializable
          extended by com.spire.doc.formatting.CommentFormat
All Implemented Interfaces:
IDocumentSerializable

public class CommentFormat
extends DocumentSerializable


Constructor Summary
CommentFormat(Comment comment)
          Initializes a new instance of the class.
CommentFormat(Document document)
           
 
Method Summary
 CommentFormat deepClone(IDocument doc)
          Creates a new object that is a copy of the current instance.
 java.lang.String getAuthor()
          Gets or sets the user.
 int getCommentId()
          Gets or sets the id of the comment.
 java.util.Date getDateTime()
          Gets or sets the DateTime.
 java.lang.String getInitial()
          Gets or sets the user initials.
 void setAuthor(java.lang.String value)
          Gets or sets the user.
 void setCommentId(int value)
          Gets or sets the id of the comment.
 void setDateTime(java.util.Date value)
          Gets or sets the DateTime.
 void setInitial(java.lang.String value)
          Gets or sets the user initials.
 
Methods inherited from class com.spire.doc.OwnerHolder
getDocument
 

Constructor Detail

CommentFormat

public CommentFormat(Comment comment)
Initializes a new instance of the class.


CommentFormat

public CommentFormat(Document document)
Method Detail

getDateTime

public java.util.Date getDateTime()
Gets or sets the DateTime.

Returns:
The DateTime.

setDateTime

public void setDateTime(java.util.Date value)
Gets or sets the DateTime.


getInitial

public java.lang.String getInitial()
Gets or sets the user initials.

Returns:
The user initials.

setInitial

public void setInitial(java.lang.String value)
Gets or sets the user initials.


getAuthor

public java.lang.String getAuthor()
Gets or sets the user.

Returns:
The user.

setAuthor

public void setAuthor(java.lang.String value)
Gets or sets the user.


getCommentId

public int getCommentId()
Gets or sets the id of the comment.

Returns:
The comment id.

setCommentId

public void setCommentId(int value)
Gets or sets the id of the comment.


deepClone

public CommentFormat deepClone(IDocument doc)
Creates a new object that is a copy of the current instance. A new object that is a copy of this instance.

Returns: