Package com.independentsoft.office.word
Class Comment
java.lang.Object
com.independentsoft.office.word.Markup
com.independentsoft.office.word.TrackChange
com.independentsoft.office.word.Comment
The Class Comment.
-
Field Summary
Fields inherited from class com.independentsoft.office.word.TrackChange
author, date -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the.voidadd(StructuredDocumentTag structuredDocumentTag)Adds the.voidadd(IBlockElement contentElement)Adds the.voidAdds the.voidAdds the.clone()Gets the content.Gets the initials.voidsetInitials(String initials)Sets the initials.toString()Methods inherited from class com.independentsoft.office.word.TrackChange
getAuthor, getDate, setAuthor, setDate
-
Constructor Details
-
Comment
public Comment()Instantiates a new comment. -
Comment
public Comment(long id)Instantiates a new comment.- Parameters:
id- the id
-
-
Method Details
-
add
Adds the.- Parameters:
paragraph- the paragraph
-
add
Adds the.- Parameters:
table- the table
-
add
Adds the.- Parameters:
customXml- the custom xml
-
add
Adds the.- Parameters:
structuredDocumentTag- the structured document tag
-
add
Adds the.- Parameters:
contentElement- the content element
-
clone
- Overrides:
clonein classTrackChange
-
toString
-
getContent
Gets the content.- Returns:
- the content
-
getInitials
Gets the initials.- Returns:
- the initials
-
setInitials
Sets the initials.- Parameters:
initials- the new initials
-