Class XlsxAddComment

java.lang.Object
org.xlsx4j.samples.XlsxAddComment

public class XlsxAddComment extends Object
  • Constructor Details

    • XlsxAddComment

      public XlsxAddComment()
  • Method Details

    • main

      public static void main(String[] args)
      Parameters:
      args -
    • addContent

      private static void addContent(WorksheetPart sheet) throws jakarta.xml.bind.JAXBException, Docx4JException
      Throws:
      jakarta.xml.bind.JAXBException
      Docx4JException
    • createCell

      private static Cell createCell(String content)
    • createComment

      public static CTComments createComment(String cell) throws jakarta.xml.bind.JAXBException
      Throws:
      jakarta.xml.bind.JAXBException
    • getVml

      public static Xml getVml(int row, int col) throws jakarta.xml.bind.JAXBException
      Throws:
      jakarta.xml.bind.JAXBException