C++ API to Convert MOBI to TSV

Export MOBI to TSV via C++ without using Microsoft® Word or Microsoft® Excel

 

You can include MOBI to TSV conversion feature within your C++ applications easily. By using feature-rich, powerful and easy to use document manipulation and conversion API Aspose.Words for C++ , you can export MOBI to HTML. After that, by using Aspose.Cells for C++ , you can convert HTML to TSV. Both APIs come under Aspose.Total for C++ package.

C++ API to Convert MOBI to TSV

  1. Open MOBI file using Document class reference
  2. Convert MOBI to HTML by using Save member function
  3. Load HTML document by using IWorkbook class reference
  4. Save the document to TSV format using Save member function

Get Started with C++ File Automation APIs

Install from command line as nuget install Aspose.Total.Cpp or via Package Manager Console of Visual Studio with Install-Package Aspose.Total.Cpp.

Alternatively, get the offline MSI installer or DLLs in a ZIP file from downloads .

Access MOBI Document Properties via C++

Aspose.Words for C++ also allows you to access document properties of MOBI file and lets you take an informed decision before the conversion process. To access document properties you can use BuiltInDocumentProperties to obtain built-in properties and CustomDocumentProperties to obtain custom properties. The following code example shows how to enumerate all built-in and custom properties in a document.

Save TSV File to Stream via C++

After converting MOBI to TSV, Aspose.Cells for C++ enables you to save your document to stream. To save files to a stream, create a MemoryStream or FileStream object and save the file to that stream object by calling the IWorkbook object’s Save method. Specify the desired file format using the SaveFormat enumeration when calling the Save method.

Other Conversion Options

MOBI TO SXC (StarOffice Calc Spreadsheet)
MOBI TO XLSX (Open XML Workbook)
MOBI TO XLAM (Excel Macro-Enabled Add-In)
MOBI TO XLSM (Macro-enabled Spreadsheet)
MOBI TO FODS (OpenDocument Flat XML Spreadsheet)
MOBI TO XLTX (Excel Template)
MOBI TO ODS (OpenDocument Spreadsheet)
MOBI TO XLT (Excel 97 - 2003 Template)
MOBI TO XLS (Microsoft Excel Spreadsheet (Legacy))
MOBI TO DIF (Data Interchange Format)
MOBI TO CSV (Comma Seperated Values)
MOBI TO XLSB (Excel Binary Workbook)
MOBI TO XLTM (Excel Macro-Enabled Template)

MOBI What is MOBI File Format?

The MOBI file format is one of the most widely used ebook file formats. The format is an enhancement to the old OEB (Open Ebook Format) format and was used as the proprietary format for Mobipocket Reader. Like EPUB, it is supported by almost all modern e-readers specifically by mobile devices with low bandwidth. The format can be converted to several other formats such as PDF, EPUB, and several other formats using publicly available software applications such as the Kindle app. There are several companies that offer free MOBI books such as Project Gutenberg, Feedbooks, and Open Library.

Read More

TSV What is TSV File Format?

A Tab-Separated Values (TSV) file format represents data separated with tabs in plain text format. The file format, similar to CSV, is used for organization of data in a structured manner in order to import and export between different applications. The format is primarily used for data import/export and exchange in Spreadsheet applications and databases. Each record in a TSV file is contained in a single line of text file where each field value is separated by a tab character. Media type for TSV file format is text/tab-separated-values.

Read More