FormulaProcessor interface
It implements only some helper methods to allow their reuse for
FastFormulaProcessor and StandardFormulaProcessorTransformer interface methodsAreaXlsCommentAreaBuilder to enclose other commandsXlsArea objects defined by top level AreaCommand markup ("jx:area")
containing a tree of all nested commandsJxlsHelper.createTransformer(InputStream, OutputStream)CellDataEachCommand command iterationExpressionEvaluator instance for evaluation of the given expressionTransformer instance connected to the given input stream and
output stream with the default or custom expression notation (see also
JxlsHelper.buildExpressionNotation(String, String)InputStream and writing output to OutputStream
By default it creates a transformer from jxls-poi module
To create a different transformer set `jxlstransformer` system java property to the class name of the transformer
The transformer should have a public static `createTransformer(InputStream is, OutputStream os)` method
which will be invoked to create an instance of the transformerEachCommand from XMLExpressionEvaluator interfaceExpressionEvaluator instancesExpressionEvaluator instance implementation based on JEXLExpressionEvaluator instance which is based on JSR 223AreaCellShiftStrategy to use for the command
Possible values are
"inner" defining the InnerCellShiftStrategy to use
"adjacent" defining the AdjacentCellShiftStrategy to use
null value means the default strategy will be used (InnerCellShiftStrategy)TransformerFactory.getTransformerClassName() method insteadGridCommand from XMLSimpleExporterUtil.groupIterable(Iterable, String, String) method but works for collectionsIfCommand from XMLExpressionEvaluator interfaceExpressionEvaluator without using ThreadLocal.JxlsConfigProvider based on java system propertiesOrderByComparator is a Comparator that is
capable of comparing two objects based on a dynamic list of properties of
the objects of type T.OrderByComparator based on a List
of expressions, of the format "property [ASC|DESC]".GridCommandGridCommand at given target cell
using the given object properties and contextContext and writes the result to the target streamTransformer instance and ContextContext and the given target cell and writes the result to the output streamSimpleExporterCellShiftStrategy to use
when shifting the cells for the command while transforming an area
The mode value "inner" sets the InnerCellShiftStrategy (default)
The mode value "adjacent" sets the AdjacentCellShiftStrategyTransformer instances in runtimeCollection objectIterable objectUtil class to prevent static methods spreadingArea interfaceXlsArea from Excel comments in the Excel template
Command syntax
A command is specified in a cell comment like the following
jx:COMMAND_NAME(attr1="value1" attr2="value2" ... attrN="valueN" lastCell="LAST_CELL" areas=["AREA_REF1", "AREA_REF2", ... , "AREA_REFN"])
where
COMMAND_NAME - the name of the command
attr1, attr2, ... attrN, value1, value2, ... , valueN - command attributes and their values
lastCell, LAST_CELL - attribute name and cell reference value specifying the last cell where this command is placed
in the parent area.Copyright © 2022. All rights reserved.