I would like to ask about the converting excel file to HTML via gorupdocs
When I want to convert .xlsx file to HTML
1- can I convert specific sheet not the whole file’s sheet?
2- after the conversion are all the charts will be in the correct position with the same style?
Thanks for taking interest in GroupDocs.Conversion and posting your query. GroupDocs offers document conversion API for both .NET and Java environment/platform.
Yes, you can convert any specific sheet (by specifying page number).
Yes, they will (if it changes style or chart position, you can share the problematic file with us and we will investigate that at our end as well in order to provide you a solution).
Please tell us what is your environment (.NET or Java). We’ll share helpful resources with you as per your environment/platform details.
I did some tests on the library in java environment
So I tried to convert one sheet contains 2591 rows
and it takes 2minute 5 seconds to convert only one sheet to HTML and around 17 seconds to convert to jpg, to be honest, we found it long time because we work with huge files and some of them could contain millions of rows
another question
Is there a way to paginate the excel sheet, for example, reading from row 1 to row 25000
We reproduced this issue at our end as well. Hence, it’s been logged in our internal issue tracking system with ID:CONVERSIONJAVA-468. As we have any update or work-around, we’ll apprise you.
We would like to inform you that this feature shall be implemented in some upcoming release of the API. And release is expected in March. As we have further updates, we shall apprise you.
We are pleased to inform you that you can now paginate the excel sheet. We introduced a new property ConvertRange in the API.
You can convert specific range when converting to other than cells format. Example: “D1:F8”.
Following are the new properties:
public String getConvertRange();
public void setConvertRange(String value);
And usage:
com.groupdocs.conversion.converter.option.ImageSaveOptions saveOptions = new com.groupdocs.conversion.converter.option.ImageSaveOptions();
saveOptions.getCellsOptions().setConvertRange("D1:F8");