Render Gradient Fill for the WordArt while Converting Spreadsheets to HTML

Possible Usage Scenarios

Earlier, Aspose.Cells APIs were not capable of rendering gradient fill of the WordArt shapes when the spreadsheets were converted to HTML format. Now the Aspose.Cells APIs supports to render the gradient fill of the WordArt shapes. The following screenshot shows the effect of the gradient fill in HTML for previous and recent releases.

todo:image_alt_text

Render Gradient Fill for the WordArt while converting spreadsheets to HTML

The following sample code converts the source excel file into the output HTML format. The source excel file contains a word art object with gradient fill as shown in the above screenshot.

Sample Code

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Java
// The path to the documents directory.
String dataDir = Utils.getSharedDataDir(RenderGradientFillHTML.class) + "articles/";
//Read the source excel file having text with gradient fill
Workbook wb = new Workbook(dataDir + "sourceGradientFill.xlsx");
//Save workbook to html format
wb.save(dataDir + "out_sourceGradientFill.html");