Class SpreadsheetGenerator
- java.lang.Object
-
- org.hl7.fhir.r5.renderers.spreadsheets.SpreadsheetGenerator
-
- Direct Known Subclasses:
CanonicalSpreadsheetGenerator
public class SpreadsheetGenerator extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected IWorkerContextcontextprotected DataRendererdrprotected Map<String,org.apache.poi.ss.usermodel.CellStyle>stylesprotected org.apache.poi.xssf.usermodel.XSSFWorkbookwb
-
Constructor Summary
Constructors Constructor Description SpreadsheetGenerator(IWorkerContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddCell(org.apache.poi.ss.usermodel.Row row, int pos, boolean b)protected voidaddCell(org.apache.poi.ss.usermodel.Row row, int pos, int content)protected voidaddCell(org.apache.poi.ss.usermodel.Row row, int pos, String content)protected voidaddCell(org.apache.poi.ss.usermodel.Row row, int pos, String content, org.apache.poi.ss.usermodel.CellStyle style)protected voidaddHeaders(org.apache.poi.ss.usermodel.Sheet sheet, String... titles)protected voidaddRow(org.apache.poi.ss.usermodel.Sheet sheet, String... values)protected intcolumnPixels(double columns)voidfinish(OutputStream outStream)protected org.apache.poi.ss.usermodel.SheetmakeSheet(String name)
-
-
-
Field Detail
-
context
protected IWorkerContext context
-
wb
protected org.apache.poi.xssf.usermodel.XSSFWorkbook wb
-
dr
protected DataRenderer dr
-
-
Constructor Detail
-
SpreadsheetGenerator
public SpreadsheetGenerator(IWorkerContext context)
-
-
Method Detail
-
finish
public void finish(OutputStream outStream) throws IOException
- Throws:
IOException
-
addCell
protected void addCell(org.apache.poi.ss.usermodel.Row row, int pos, boolean b)
-
addCell
protected void addCell(org.apache.poi.ss.usermodel.Row row, int pos, int content)
-
addCell
protected void addCell(org.apache.poi.ss.usermodel.Row row, int pos, String content, org.apache.poi.ss.usermodel.CellStyle style)
-
columnPixels
protected int columnPixels(double columns)
-
addHeaders
protected void addHeaders(org.apache.poi.ss.usermodel.Sheet sheet, String... titles)
-
-