With change #73 it’s possible to throw exceptions instead of logging them as ERROR:
transformer.setExceptionHandler(new PoiExceptionThrower()); // also turn on strict non-silent mode transformer.getTransformationConfig().setExpressionEvaluator(new JexlExpressionEvaluator(false, true));
New features and fixed bugs
other resolved issues:
With this version we migrated from BitBucket to Github.
A list of resolved issues
The release contains a critical bug-fix for a specific case of formulas processing. See issue#210 SUM with empty lists when more than 1 sheet doesn’t work for more detail.
The release brings many bug-fixes and some improvements, in particular
A list of resolved issues
This release fixes issue#188 Referencing other sheet in JXLS-processed cell formula replaces formula with “=0” .
Also it reverts back the behaviour from previous Jxls releases (2.6.0 and earlier) where the POI formulas evaluation was not triggered by default. See corresponding section on Excel Formulas page for more information on how to enable POI formulas evaluation if you need it.
This is a bugfix release fixing the following issue * issue#184 jx:if within jx:each may cause problem
Besides many bug-fixes (see below) this release has the following changes
issue#72 Group sum (contribution by Marcus Warm)
Added a default implementation for the Transformer.adjustTableSize method to make jxls-2.5.x compatible with the previous releases of jxls-poi
This release features Table support and an option to use an expression for multi-sheet generation.
Thanks to Marcus Warm and zangloo for the contributions!
jxls-2.5.0
jxls-poi-1.1.0
jxls-jexcel-1.0.8
jxls-2.4.7
jxls-poi-1.0.16
jxls-reader-2.0.5
The following issues have been fixed
This release features several bug-fixes and a few improvements
This release features
The following bugs have been fixed
Now you can use a markup in Excel template to output a collection into multiple sheets. See Multiple sheets output section and Multi sheet markup example
Also the following issues have been fixed
There are also the following api changes
Method createInitialContext() was removed from Transformer interface
The static method of the same name in PoiTransformer and JexcelTransformer can now be used for the same purpose (e.g. PoiTransformer.createInitialContext())
transform method in Transformer interface is now taking an additional parameter boolean updateRowHeight indicating if a row height needs to be updated
A new method void updateRowHeight(String srcSheetName, int srcRowNum, String targetSheetName, int targetRowNum) is added to Transformer interface to copy row height from a source row to a target row.
This release features some bug-fixes and improvements
Fixed an error when processing an area with multiple nested commands issue#21
Improvements for Image-command
This release introduces SimpleExporter that allows you to generate an excel with a single line of code and without necessity to provide a template file.
This release introduces new Grid Command and contains the following bug-fixes
First public release for Jxls-2.
Jxls-2 is a full rewrite from scratch of the original Jxls 1.x library to make it much more flexible and improve the performance.
Jxls-2 completely de-couples itself from the underlying Java-to-Excel transformation engine so that it is possible to switch low-level Java-to-Excel library without any code changes.
Excel template markup can now be redefined in a way you like.
Jxls-2 introduces a concept of Command to replace previously used tags (like jx:forEach, jx:if). Command is not tied to any particular Excel mark-up. In fact it can be defined completely in Java or by using built-in Excel-comment or XML-based mark-ups.
Custom post- and pre- processing code can now also be easily injected into Excel transformation.
Please note that Jxls-2 is not backwards compatible with Jxls 1.x.
If you wish to upgrade your existing Jxls 1.x reports for Jxls-2 you will have to rewrite the code and change the notation in XLS template.