Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
The Aspose.Cells API provides support for exporting spreadsheets to HTML format. For this purpose, Aspose.Cells uses the HtmlSaveOptions class to provide the flexibility to control several aspects of the output HTML.
The code example below shows how to save a workbook as an HTML file using Node.js:
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, "Book1.xlsx");
// Load your source workbook
const workbook = new AsposeCells.Workbook(filePath);
// Save file to HTML format
workbook.save("out.html");
MHTML combines normal HTML with external resources (that is, content that is usually linked in, like images, animations, audio, and so on) into one file. They are used for emails with the .mht file extension. Aspose.Cells supports reading and writing MHTML files.
The code example below shows how to save a workbook as an MHTML file using Node.js:
const AsposeCells = require("aspose.cells.node");
const path = require("path");
// The path to the documents directory.
const dataDir = path.join(__dirname, "data");
const filePath = path.join(dataDir, "Book1.xlsx");
// Load your source workbook
const workbook = new AsposeCells.Workbook(filePath);
// Save file to mhtml format
workbook.save("out.mht");
Avoid exponential notation of large numbers while importing from HTML
Delete redundant spaces after line break while importing HTML
Excel to HTML - Use PresentationPreference Option for Better Layout
Expanding text from right to left while exporting Excel file to HTML
Export DataBar, ColorScale and IconSet Conditional Formatting while Excel to HTML Conversion
Export Document Workbook and Worksheet Properties in Excel to HTML conversion
Export similar Border Style when Border Style is not supported by Web Browsers
Hiding Overlaid Content with CrossHideRight while saving to HTML
Prefix Table Elements Styles with HtmlSaveOptions.TableCssId property
Prevent Exporting Hidden Worksheet Contents on Saving to HTML
Provide exported worksheet html file path via IFilePathProvider interface
Render Gradient Fill for the WordArt while Converting Spreadsheets to HTML
Specify how to cross string in output HTML using HtmlCrossType
Support the layout of DIV tags while loading HTML to excel workbook
Enable CSS Custom Properties while saving to HTML
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.