public class XlsxConverter extends BaseExcelConverter
| Constructor and Description |
|---|
XlsxConverter(FileConverterContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPicsToTable(com.itextpdf.layout.element.Table table,
org.apache.poi.ss.usermodel.Sheet sheet) |
com.itextpdf.layout.element.Cell |
convertCell(org.apache.poi.ss.usermodel.Cell cell,
int rowspan,
int colspan,
float maxWidth,
String fontPath) |
static com.itextpdf.layout.borders.Border |
getBorder(org.apache.poi.ss.usermodel.BorderStyle borderStyle,
org.apache.poi.xssf.usermodel.XSSFColor xSSFColor) |
static void |
transformBorder(org.apache.poi.xssf.usermodel.XSSFCell cell,
com.itextpdf.layout.element.Cell pdfCell) |
convertToPdf, getTextAlignment, getVerticalAlignmentpublic XlsxConverter(FileConverterContext context)
public void addPicsToTable(com.itextpdf.layout.element.Table table,
org.apache.poi.ss.usermodel.Sheet sheet)
addPicsToTable in class BaseExcelConverterpublic com.itextpdf.layout.element.Cell convertCell(org.apache.poi.ss.usermodel.Cell cell,
int rowspan,
int colspan,
float maxWidth,
String fontPath)
throws IOException
convertCell in class BaseExcelConverterIOExceptionpublic static void transformBorder(org.apache.poi.xssf.usermodel.XSSFCell cell,
com.itextpdf.layout.element.Cell pdfCell)
public static com.itextpdf.layout.borders.Border getBorder(org.apache.poi.ss.usermodel.BorderStyle borderStyle,
org.apache.poi.xssf.usermodel.XSSFColor xSSFColor)
Copyright © 2024 Chat2DB. All rights reserved.