Hi,
Hi,
Thanks for your posting, files and using Aspose.Cells for Java.
I have loaded your file and it was loaded instantly using the latest version:
Aspose.Cells for Java 7.3.1
Below is my test code for your reference. Please see its output.
Please provide us your simple but complete runnable sample test code to replicate this issue with the latest version. We will soon look into it and help you asap.
Java
Workbook workbook = new Workbook(filePath);
System.out.println(Calendar.getInstance().getTimeInMillis());
Worksheet worksheet = workbook.getWorksheets().get(0);
System.out.println(Calendar.getInstance().getTimeInMillis());
1346251128765
1346251128765
We currently have option in LoadOptions.setDataOnly property, when we use this, this misses out styled text too,
azeemyousaf:We currently have option in LoadOptions.setDataOnly property, when we use this, this misses out styled text too...
What about the “WithoutChart” loading option?
Hi,
While doing feasibility, please also consider having an option to get the chart’s properties without loading every dependency in the memory. We will need to get the chart properties (data range, line/series/bar properties) to generate charts on a separate service
Hi,
Hi,
Thanks for using Aspose.Cells for Java.
We have thoroughly looked into your issue. Splitting the charts from reading the excel file is complex and unnecessary. Actually, the charts use a small number of memory.
When convert chart to image, Aspose cost temporary memory. I think we can call gc() method to reduce the memory.
Please refer the attached java code.
Thanks, let me try this,
Hi,
Thanks for your input.
It’s good to know that major part of memory was cleared out.
Let us know if you face any issue, we will be glad to look into your issue and help/advise you asap.
Hi,
Hi,
Thanks for your posting and using Aspose.Cells for Java.
We were unable to replicate this exception using the latest version: Aspose.Cells
for Java v7.4.3.1 with the following sample code.
If you still find a problem, then please provide us your runnable sample code replicating the exception with the latest version.
Java
String filePath=“F:\Shak-Data-RW\Downloads\2MB+xlsx+02sheets_40Graphs_1710rowspersheet.xlsx”;
Workbook workbook = new Workbook(filePath);
Worksheet pWorkSheet = workbook.getWorksheets().get(0);
ChartCollection charts=pWorkSheet.getCharts();
Chart chart=charts.get(0);
ImageOrPrintOptions io= new ImageOrPrintOptions();
io.setImageFormat(ImageFormat.getPng());
io.setQuality(100);
ByteArrayOutputStream out = new ByteArrayOutputStream();
chart.toImage(out,io);
Hi,
The issues you have found earlier (filed as CELLSNET-41013) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Hi,
Hi,
See the sample code below that you may use with the new fix/version:
e.g
Sample code:
LoadOptions.LoadFilter = new LoadFilter(LoadDataFilterOptions.All & ~LoadDataFilterOptions.Chart);