Package org.docx4j.openpackaging.parts.SpreadsheetML

Examples of org.docx4j.openpackaging.parts.SpreadsheetML.CommentsPart


          row.getC().add(createCell("hello world!"));
          sheetData.getRow().add(row);
         
          // ADD A COMMENT TO CELL A1
          CommentsPart cp = new CommentsPart();
          cp.setContents(createComment("A1"));
          sheet.addTargetPart(cp);

          // Add <legacyDrawing r:id="rId1"/>
          VMLPart vmlPart = new VMLPart();
          vmlPart.setContents(getVml(0,0))// corresponds to A1
View Full Code Here


 
      row.getC().add(createCell("hello world!"));
      sheetData.getRow().add(row);
     
      // ADD A COMMENT TO CELL A1
      CommentsPart cp = new CommentsPart();
      cp.setContents(createComment("A1"));
      sheet.addTargetPart(cp);
 
      // Add <legacyDrawing r:id="rId1"/>
      VMLPart vmlPart = new VMLPart();
      vmlPart.setContents(getVml(0,0))// corresponds to A1
View Full Code Here

TOP

Related Classes of org.docx4j.openpackaging.parts.SpreadsheetML.CommentsPart

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.