Package org.xlsx4j.samples
Class Xlsx4JAddSeveralImages
java.lang.Object
org.xlsx4j.samples.Xlsx4JAddSeveralImages
Example showing how to add several images to a worksheet
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CTTwoCellAnchorbuildDrawingPartContentForImageUsingCode(String imageRelID, long cx, long cy, String name, long id) This code generated using http://webapp.docx4java.org/OnlineDemo/PartsList.html "Method 1"static CTDrawingbuildDrawingPartContentFromXmlString(String imageRelID) This code generated using http://webapp.docx4java.org/OnlineDemo/PartsList.html "Method 2"static void
-
Field Details
-
dmlspreadsheetdrawingObjectFactory
-
-
Constructor Details
-
Xlsx4JAddSeveralImages
public Xlsx4JAddSeveralImages()
-
-
Method Details
-
main
- 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
-