public class XlsConverter extends BaseExcelConverter
| Constructor and Description |
|---|
XlsConverter(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,
short colorIndex,
org.apache.poi.hssf.usermodel.HSSFCell cell) |
static void |
transformBorders(org.apache.poi.hssf.usermodel.HSSFCell cell,
com.itextpdf.layout.element.Cell pdfCell) |
convertToPdf, getTextAlignment, getVerticalAlignmentpublic XlsConverter(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 transformBorders(org.apache.poi.hssf.usermodel.HSSFCell cell,
com.itextpdf.layout.element.Cell pdfCell)
public static com.itextpdf.layout.borders.Border getBorder(org.apache.poi.ss.usermodel.BorderStyle borderStyle,
short colorIndex,
org.apache.poi.hssf.usermodel.HSSFCell cell)
Copyright © 2024 Chat2DB. All rights reserved.