Class StreamingStyleCache
java.lang.Object
io.jmix.reports.yarg.formatters.impl.streaming.StreamingStyleCache
Clones template cell styles into the result workbook once each, keyed by the template style index.
Deduplication keeps the result workbook far below the XLSX ~64k cell-style limit even when millions
of cells reuse the same template styles.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.poi.xssf.streaming.SXSSFWorkbook -
Constructor Summary
ConstructorsConstructorDescriptionStreamingStyleCache(org.apache.poi.xssf.streaming.SXSSFWorkbook resultWorkbook) -
Method Summary
Modifier and TypeMethodDescription@Nullable org.apache.poi.ss.usermodel.CellStyleresultStyleFor(@Nullable org.apache.poi.xssf.usermodel.XSSFCellStyle templateStyle)
-
Field Details
-
resultWorkbook
protected final org.apache.poi.xssf.streaming.SXSSFWorkbook resultWorkbook -
byTemplateIndex
-
-
Constructor Details
-
StreamingStyleCache
public StreamingStyleCache(org.apache.poi.xssf.streaming.SXSSFWorkbook resultWorkbook)
-
-
Method Details
-
resultStyleFor
public @Nullable org.apache.poi.ss.usermodel.CellStyle resultStyleFor(@Nullable org.apache.poi.xssf.usermodel.XSSFCellStyle templateStyle)
-