Package org.docx4j.wml.Comments

Examples of org.docx4j.wml.Comments.Comment


    Comments comments = factory.createComments();
    cp.setJaxbElement(comments);

    // Add a comment to the comments part
    java.math.BigInteger commentId = BigInteger.valueOf(0);
    Comment theComment = createComment(commentId, "fred", null,
        "my first comment");
    comments.getComment().add(theComment);
   
    // Add comment reference to document
    P paraToCommentOn = wordMLPackage.getMainDocumentPart().addParagraphOfText("here is some content");
View Full Code Here


    Comments comments = factory.createComments();
    cp.setJaxbElement(comments);

    // Add a comment to the comments part
    java.math.BigInteger commentId = BigInteger.valueOf(0);
    Comment theComment = createComment(commentId, "fred", null,
        "my first comment");
    comments.getComment().add(theComment);

    // Add comment reference to document
    P paraToCommentOn = wordMLPackage.getMainDocumentPart()
View Full Code Here

TOP

Related Classes of org.docx4j.wml.Comments.Comment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.