Cell setting reduced font fill is invalid after being converted to HTML,It is valid when it is converted to pdf
image.png (104.4 KB)
image.png (35.9 KB)
image.png (42.9 KB)
this is my excel :
EPPR_56505.zip (52.8 KB)
this is my code:
Workbook workbook = new Workbook("D://Aspose//EPPR_56505//EPPR_56505.xlsx");
workbook.save("D://Aspose//EPPR_56505//output/EPPR_56505.html", SaveFormat.HTML);
workbook.save("D://Aspose//EPPR_56505//output/EPPR_56505.pdf", SaveFormat.PDF);
@xhaixia,
Thanks for the template XLSX file and screenshots.
Please notice, after an initial test, I am able to reproduce the issue as you mentioned by converting your template XLSX file to HTML file format. I found cell setting with reduced font fill is invalid after being converted to HTML, it works ok in the rendered PDF though. I have logged a ticket with an id “CELLSJAVA-44926” for your issue. We will look into it soon.
Once we have an update on it, we will let you know.
@xhaixia
Html has no corresponding attribute.
Browsers can’t support fonts that are too small even if we measure to get the right font size.
So we can not support this feature.
If the current aspose does not support it, can you provide us with a method to measure the cell font size? We can find our own way to set the browser
@xhaixia
Could you share a html file with your excepted result?