Interface JxlsReportOutputLogic
public interface JxlsReportOutputLogic
The interface for implementing Report Output Logic for JXLS.
This interface is used to have the output process described when outputting a report using JXLS.The person in charge of the application can inherit this interface and describe their own report output processing.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
processGridTemplate
(org.jxls.builder.JxlsTemplateFillerBuilder<?> builder, Map<String, Object> reportData, OutputStream out, String objectProps) Deprecated.Jxls 3.x JxlsHelper and related functions were missing and will be removed in the next version.default void
processGridTemplateAtCell
(org.jxls.builder.JxlsTemplateFillerBuilder<?> builder, Map<String, Object> reportData, OutputStream out, String objectProps, String targetCell) Deprecated.Jxls 3.x JxlsHelper and related functions were missing and will be removed in the next version.default void
processTemplateAtCell
(org.jxls.builder.JxlsTemplateFillerBuilder<?> builder, Map<String, Object> reportData, OutputStream out, String targetCell) Deprecated.Jxls 3.x JxlsHelper and related functions were missing and will be removed in the next version.void
reportWrite
(org.jxls.builder.JxlsTemplateFillerBuilder<?> builder, Map<String, Object> reportData, OutputStream out) Report Output Logic for JXLS
-
Method Details
-
reportWrite
void reportWrite(org.jxls.builder.JxlsTemplateFillerBuilder<?> builder, Map<String, Object> reportData, OutputStream out) Report Output Logic for JXLS- Parameters:
builder
- instance of Jxls FillerBuilderreportData
- report dataout
- report output to
-
processTemplateAtCell
@Deprecated default void processTemplateAtCell(org.jxls.builder.JxlsTemplateFillerBuilder<?> builder, Map<String, Object> reportData, OutputStream out, String targetCell) Deprecated.Jxls 3.x JxlsHelper and related functions were missing and will be removed in the next version.With the specified FillerBuilder settings, output the template processing results to the target cell and write the results to OutputStream.Caution
Jxls 2.x JxlsHelper#processTemplateAtCell is provided as a compatible function of JxlsHelper#processTemplateAtCell, but the function is incomplete. The sheet name can be changed, but the output destination cell position cannot be changed.
- Parameters:
builder
- instance of Jxls FillerBuilderreportData
- report dataout
- report output totargetCell
- template output destination cell
-
processGridTemplate
@Deprecated default void processGridTemplate(org.jxls.builder.JxlsTemplateFillerBuilder<?> builder, Map<String, Object> reportData, OutputStream out, String objectProps) Deprecated.Jxls 3.x JxlsHelper and related functions were missing and will be removed in the next version.Outputs the results of template processing with the specified FillerBuilder settings and writes the results to OutputStream. Set the input parameter objectProps to props in GridCommand in the template area.Caution
Jxls 2.x JxlsHelper#processGridTemplate is provided as a compatible function of JxlsHelper#processGridTemplate.
- Parameters:
builder
- instance of Jxls FillerBuilderreportData
- report dataout
- report output toobjectProps
- Setting value of props of GridCommand
-
processGridTemplateAtCell
@Deprecated default void processGridTemplateAtCell(org.jxls.builder.JxlsTemplateFillerBuilder<?> builder, Map<String, Object> reportData, OutputStream out, String objectProps, String targetCell) Deprecated.Jxls 3.x JxlsHelper and related functions were missing and will be removed in the next version.Output the template processing results to the target sheet with the specified FillerBuilder settings and write the results to OutputStream. Set the input parameter objectProps to props in GridCommand in the template area.Caution
Jxls 2.x JxlsHelper#processGridTemplateAtCell is provided as a compatible function of JxlsHelper#processGridTemplateAtCell, but the function is incomplete. The GridCommand props setting and sheet name can be changed, but the output destination cell position cannot be changed.
- Parameters:
builder
- instance of Jxls FillerBuilderreportData
- report dataout
- report output toobjectProps
- Setting value of props of GridCommandtargetCell
- template output destination cell
-