Free Support Forum - aspose.com

Problem font format settings of a long text in a cell

Hello,

we experienced following Problem. We hav a Excel-Sheet with a cell with long text. this text has linebreaks and the Text if formated differntly. For example a cell with following text in it:

TEST1
test2
test3
test4

This 4 lines are in one excel cell. if we read the format of this cell with aspose we get this result from the htmlstring:

TEST1
test2
test3
test4


it seems that aspose only doesn’t support diefferent font formats in one cell?



Hi,

Thank you for considering Aspose.

Well, HtmlString does not return that detailed formatting. We have added it as an enhancement in our issue tracking system with issue id CELLSNET-12049. As per your requirement, you may use Cell.Characters() method to get the cell character formatting.

Thank You & Best Regards,

Hi,

Thank you for considering Aspose.

Please try the attached latest version of Aspose.Cells. We have supported to export rich text to html string value.

Thank You & Best Regards,

Thank you, i test it now

Seems to work, thanks.