Render Gradient Fill for the WordArt while Converting Spreadsheets to HTML with Node.js via C++

Possible Usage Scenarios

Before Aspose.Cells 17.1, Aspose.Cells did not render the gradient fill of WordArt when the Excel file was converted to HTML format. Since the release of Aspose.Cells 17.1, WordArt gradient fill is supported. The following screenshot compares the gradient fill effect when converting the Excel file using Aspose.Cells 17.1 versus an older version.

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 output HTML file. The source Excel file contains a WordArt object with gradient fill as shown in the above screenshot.

Sample Code

const path = require("path");
const AsposeCells = require("aspose.cells.node");

// The path to the documents directory.
const dataDir = path.join(__dirname, "data");
const filePath = path.join(dataDir, "sourceGradientFill.xlsx");

// Read the source excel file having text with gradient fill
const workbook = new AsposeCells.Workbook(filePath);

// Save workbook to html format
workbook.save(path.join(dataDir, "out_sourceGradientFill.html"));