Class ExcelRenderer
java.lang.Object
io.goobi.viewer.model.annotation.export.ExcelRenderer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createDataRow
(CrowdsourcingAnnotation annotation, org.apache.poi.xssf.usermodel.XSSFSheet sheet, int rowCounter) void
createDataRows
(org.apache.poi.xssf.usermodel.XSSFSheet sheet, List<CrowdsourcingAnnotation> annotations) void
createHeaderRow
(org.apache.poi.xssf.usermodel.XSSFSheet sheet) org.apache.poi.xssf.usermodel.XSSFWorkbook
render
(Map<String, List<CrowdsourcingAnnotation>> annotationMap)
-
Constructor Details
-
ExcelRenderer
- Parameters:
annotationConverter
-
-
-
Method Details
-
render
public org.apache.poi.xssf.usermodel.XSSFWorkbook render(Map<String, List<CrowdsourcingAnnotation>> annotationMap) - Parameters:
annotationMap
-- Returns:
XSSFWorkbook
-
createDataRows
public void createDataRows(org.apache.poi.xssf.usermodel.XSSFSheet sheet, List<CrowdsourcingAnnotation> annotations) - Parameters:
sheet
-annotations
-
-
createDataRow
public void createDataRow(CrowdsourcingAnnotation annotation, org.apache.poi.xssf.usermodel.XSSFSheet sheet, int rowCounter) throws DAOException - Parameters:
annotation
-sheet
-rowCounter
-- Throws:
DAOException
-
createHeaderRow
public void createHeaderRow(org.apache.poi.xssf.usermodel.XSSFSheet sheet) - Parameters:
sheet
-
-