(inputfilepath == null ? false : true);
WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.createPackage();
// Create and add a Comments Part
CommentsPart cp = new CommentsPart();
wordMLPackage.getMainDocumentPart().addTargetPart(cp);
// Part must have minimal contents
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");