Product Family

Convert XLSX to HTML via C++

High performance XLSX to HTML conversion using C++ library without the need of Microsoft Excel, OpenOffice or Adobe Acrobat installation.

How to Convert XLSX to HTML Using C++

In order to convert XLSX to HTML, we will use Aspose.Cells for C++ API which is a feature-rich, powerful and easy to use document manipulation and conversion API for C++ platform. You can download its latest version directly, just open NuGet package manager, search for Aspose.Cells.Cpp and install. You may also use the following command from the Package Manager Console.


PM> Install-Package Aspose.Cells.Cpp

Steps to Convert XLSX to HTML via C++

C++ developers can easily convert XLSX file to HTML in just a few lines of code.

  1. Load XLSX file using Factory::CreateIWorkbook.
  2. Call the Save() method.
  3. Pass the output file path with (HTML) file extension.
  4. Open the HTML file in compatible program.

System Requirements

Before running the C++ conversion sample code, make sure that you have the following prerequisites.

  • Microsoft Windows or a compatible OS with C++ Runtime Environment for Windows 32 bit, Windows 64 bit and Linux 64 bit.
  • Add reference to the Aspose.Cells for C++ DLL in your project.
Free App and Sample Code to Convert XLSX to HTML
Input file
Select format

  intrusive_ptr<Aspose::Cells::IWorkbook> wkb = Factory::CreateIWorkbook(new String("Input.xlsx"));
  wkb->Save(new String("Output.pdf"));

C++ Excel File Manipulation Library

Excel API can be used to create, edit, convert and render Microsoft Excel formats to different formats. Moreover, it can be used for comprehensive charting, scalable reporting and reliable calculations within software applications. Aspose.Cells is a standalone API and it does not require any software like Microsoft or OpenOffice.

XLSX What is XLSX File Format

XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Based on structure organized according to the Open Packaging Conventions as outlined in Part 2 of the OOXML standard ECMA-376, the new format is a zip package that contains a number of XML files. The underlying structure and files can be examined by simply unzipping the .xlsx file.

Read More

HTML What is HTML File Format

HTML (Hyper Text Markup Language) is the extension for web pages created for display in browsers. Known as language of the web, HTML has evolved with requirements of new information requirements to be displayed as part of web pages. The latest variant is known as HTML 5 that gives a lot of flexibility for working with the language. HTML pages are either received from server, where these are hosted, or can be loaded from local system as well. Each HTML page is made up of HTML elements such as forms, text, images, animations, links, etc. These elements are represented by tags and several others where each tag has start and end. It can also embed applications written in scripting languages such as JavaScript and Style Sheets (CSS) for overall layout representation.

Read More

Other Supported Conversions

You can also convert XLSX into many other file formats including few listed below.

XLSX TO BMP (Bitmap Image)
XLSX TO EMF (Enhanced Metafile Format)
XLSX TO GIF (Graphical Interchange Format)
XLSX TO HTML (Hyper Text Markup Language)
XLSX TO MD (Markdown Language)
XLSX TO MHTML (Web Page Archive Format)
XLSX TO ODS (OpenDocument Spreadsheet File)
XLSX TO PDF (Portable Document Format)
XLSX TO PNG (Portable Network Graphics)
XLSX TO SVG (Scalable Vector Graphics)
XLSX TO TIFF (Tagged Image Format)
XLSX TO TSV (Tab-Separated Values)
XLSX TO TXT (Text Document)
XLSX TO XLS (Excel Binary Format)
XLSX TO XLSB (Binary Excel Workbook File)
XLSX TO XLSM (Spreadsheet File)
XLSX TO XLT (Microsoft Excel Template)
XLSX TO XLTM (Excel Macro-enabled Template)
XLSX TO XLTX (Office OpenXML Excel Template)
XLSX TO XML (Extensible Markup Language)
XLSX TO XPS (XML Paper Specifications)
XLSX TO JSON (JavaScript Object Notation)