Free Support Forum -

Save an Aspose.Cells Style to XML

Hello, I found a deep xml serializer/deserializer on code project, it works great with Style.Font - however, it doesn't work with Style.Borders

Anyhow, this approach is clunky, what I'd like to do is snag the entire Style collection for a cell when interating through an excel document in code, then save that style information into a database as an XML document.

Any idea how this can be done, or if that feature is built in, or if there are some alternate means of saving my template formatting information? Thanks.

This message was posted using Page2Forum from Introduction - Aspose.Cells for .NET


I am afraid, this feature is not available. We will investigate if it could be implemented.

However, you can try saving your Excel files to SpreadSheetML and get xml and then you can extract style related information by parsing the xml.