ReportUtil.cellIndexToString just convert row column to cell name,
Hi,
Thanks for your posting and using Aspose.Cells.
We have tested this issue with the following code using the latest version:
Aspose.Cells for Java v8.7.0.2
and found it is generating the correct data bar images. Please check the output pdf generated by the code for your reference.
Please download and try the latest version
Aspose.Cells for Java v8.7.0.2
and see if it fixes your issue.
Java
Workbook workbook = new Workbook(filePath);
workbook.calculateFormula();
PdfSaveOptions opts = new PdfSaveOptions();
opts.setOnePagePerSheet(true);
workbook.save(filePath + “.out.pdf”, opts);
I tested the v8.7.0.2, and the issue is not fixed.
Hi,
Thanks for your posting and using Aspose.Cells.
We were unable to observe the issue precisely. It will be helpful if you could provide us the screenshot highlighting your issues in output pdf. We will look into it and help you asap.
Please see my attachments.
Sorry, I forget to comment opts.setOnePagePerSheet(true);
Please note D24_0_0_23_3.png is a blank png file, without any red bar.
Hi Xiong,
Thanks for explaining everything nicely and diligently and using Aspose.Cells.
I have looked into this issue and were able to observe it after converting the worksheet into image using the following code with the latest version and found some of the data bar images are blank.
We have logged this issue in our database for investigation. We will look into it and fix this issue. Once the issue is resolved or we have some other update for you, we will let you know asap.
This issue has been logged as
- CELLSJAVA-41740 - Some of the DataBar images are blank
I have also attached the output image generated with the following code which also highlights the blank cells with red circles.
Java
//Create workbook from source file.
Workbook workbook = new Workbook(filePath);
workbook.calculateFormula();
//Access the first worksheet
Worksheet worksheet = workbook.getWorksheets().get(0);
//Set OnePagePerSheet option as true
ImageOrPrintOptions options = new ImageOrPrintOptions();
options.setOnePagePerSheet(true);
options.setImageFormat(ImageFormat.getPng());
//Take the image of your worksheet
SheetRender sr = new SheetRender(worksheet, options);
sr.toImage(0, filePath + “.out.png”);
Hi,
Thanks for using Aspose.Cells.
It is to inform you that we have fixed your issue CELLSJAVA-41740 now. We will soon provide the fix after performing QA and including other enhancements and fixes.
Hi,
Thanks for using Aspose.Cells.
Please download and try the latest fix: Aspose.Cells for Java v8.8.3.1 and let us know your feedback.
The issues you have found earlier (filed as CELLSJAVA-41740) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.