Class Xlsx4JAddSeveralImages

java.lang.Object
org.xlsx4j.samples.Xlsx4JAddSeveralImages

public class Xlsx4JAddSeveralImages extends Object
Example showing how to add several images to a worksheet
  • Field Details

    • dmlspreadsheetdrawingObjectFactory

      static ObjectFactory dmlspreadsheetdrawingObjectFactory
  • Constructor Details

    • Xlsx4JAddSeveralImages

      public Xlsx4JAddSeveralImages()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • buildDrawingPartContentForImageUsingCode

      public static CTTwoCellAnchor buildDrawingPartContentForImageUsingCode(String imageRelID, long cx, long cy, String name, long id)
      This code generated using http://webapp.docx4java.org/OnlineDemo/PartsList.html "Method 1"
    • buildDrawingPartContentFromXmlString

      public static CTDrawing buildDrawingPartContentFromXmlString(String imageRelID) throws jakarta.xml.bind.JAXBException
      This code generated using http://webapp.docx4java.org/OnlineDemo/PartsList.html "Method 2"
      Throws:
      jakarta.xml.bind.JAXBException