C# Class ExoMerge.Aspose.Common.CommentBuilder

Mostrar archivo Open project: vc3/ExoMerge

Public Methods

Method Description
WrapInComment ( NodeRange nodeRange, string text ) : Comment

Wraps a range of nodes in a comment.

WrapInComment ( NodeRange nodeRange, string text, string author, string initials, System.DateTime date ) : Comment

Wraps a range of nodes in a comment.

Private Methods

Method Description
InsertComment ( NodeRange nodeRange, Comment comment ) : void

Inserts a comment into a document.

SetCommentText ( Comment comment, string text ) : void

Sets a comments text.

Method Details

WrapInComment() public static method

Wraps a range of nodes in a comment.
public static WrapInComment ( NodeRange nodeRange, string text ) : Comment
nodeRange NodeRange The range of nodes to wrap in a comment.
text string The text of the comment.
return Comment

WrapInComment() public static method

Wraps a range of nodes in a comment.
public static WrapInComment ( NodeRange nodeRange, string text, string author, string initials, System.DateTime date ) : Comment
nodeRange NodeRange The range of nodes to wrap in a comment.
text string The text of the comment.
author string The author's name.
initials string The author's initials.
date System.DateTime The date of the comment.
return Comment