Class XlsxUtils
java.lang.Object
io.jmix.reports.yarg.formatters.impl.xlsx.XlsxUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.docx4j.openpackaging.parts.DrawingML.Drawing
addCTDrawing
(org.docx4j.openpackaging.parts.SpreadsheetML.WorksheetPart worksheetPart, org.docx4j.openpackaging.parts.PartName drawingPart) static org.docx4j.openpackaging.parts.relationships.RelationshipsPart
attachImageToCell
(org.docx4j.openpackaging.parts.DrawingML.Drawing drawing, Integer col, Integer row, XlsxImage image, String imageRelID) static Integer
computeColumnIndex
(String cellName) static long
convertPxToEmu
(long px) static org.docx4j.dml.spreadsheetdrawing.CTPicture
createPicture
(String imageRelID) static void
deleteCTAnchor
(org.apache.poi.xssf.usermodel.XSSFPicture xssfPicture) static String
getColumnReferenceFromNumber
(int number) static int
getNumberFromColumnReference
(String columnReference) static org.docx4j.openpackaging.parts.DrawingML.Drawing
getOrCreateWorksheetDrawing
(org.docx4j.openpackaging.packages.SpreadsheetMLPackage pkg, org.docx4j.openpackaging.parts.SpreadsheetML.WorksheetPart worksheetPart)
-
Method Details
-
getNumberFromColumnReference
-
getColumnReferenceFromNumber
-
convertPxToEmu
public static long convertPxToEmu(long px) -
computeColumnIndex
-
createPicture
-
attachImageToCell
-
getOrCreateWorksheetDrawing
public static org.docx4j.openpackaging.parts.DrawingML.Drawing getOrCreateWorksheetDrawing(org.docx4j.openpackaging.packages.SpreadsheetMLPackage pkg, org.docx4j.openpackaging.parts.SpreadsheetML.WorksheetPart worksheetPart) -
addCTDrawing
public static org.docx4j.openpackaging.parts.DrawingML.Drawing addCTDrawing(org.docx4j.openpackaging.parts.SpreadsheetML.WorksheetPart worksheetPart, org.docx4j.openpackaging.parts.PartName drawingPart) throws org.docx4j.openpackaging.exceptions.Docx4JException - Throws:
org.docx4j.openpackaging.exceptions.Docx4JException
-
deleteCTAnchor
public static void deleteCTAnchor(org.apache.poi.xssf.usermodel.XSSFPicture xssfPicture)
-