Jxls source code is available on Github at https://github.com/jxlsteam/jxls.
It is very much recommended to provide a working example which demonstrates the issue. Ideally you should raise a pull request to Jxls repository demonstrating the issue. Providing an example speeds up the identification of the root cause and the resolution of the issue.
If you are unable to provide an example please describe your issue in detail. Provide an excerpt of the code on how you run Jxls transformation and also attach an input Excel template and an output Excel file you get. Also attach an Excel file with the desired output.
Also in the description please mention which Jxls version you used to reproduce the issue and if you use Microsoft Excel (recommended) or another program.
Please use Discussions for your questions.
import
lines.{
at end of line.Use Jxls3Tester for writing a template based testcase. The template file must have the name of the test class and must be in
the same package in source folder 'src/test/resources'
(e.g. /jxls-poi/src/test/resources/org/jxls3/EachTest.xlsx
).
The method test() creates the output file in the target folder with _output as part of the name.
Use Jxls3Tester.getWorkbook() for verifying the output file.
Jxls3Tester tester = Jxls3Tester.xlsx(getClass());
tester.test(data, JxlsPoiTemplateFillerBuilder.newInstance());
try (TestWorkbook w = tester.getWorkbook()) {
If each test method of your testclass use its own template file you can speficy the method name in the xlsx() call as the 2nd argument.
Use xls() if you must use the old .xls format. Prefer the .xlsx format.