Total C++ Library solves the issue of document conversion and developers can automate the document management and manipulation solution eaisly by integrating API within new developed applications or in existing applications. C++ Programmers can add functionalities like create, edit or convert various format documents within their solution without relying on any software. Few generic cases like txt to PDF, SVG to PNG, XLSX to CSV, JSON to CSV, Word to PDF, HTML to PDF, one can easily convert. Moreover, Few cases that API deals listed below and few links given for the relevant conversion cases.
Convert Microsoft Word to Excel
Total C++ API supports Microsoft Word DOC/DOCX to Excel conversion. Process is, Load Word DOC / DOCX file using Document class reference and invoke Save member function to convert into HTML firstly. Then load HTML document by using IWorkbook class reference and invoke Save member function to save the document to Excel format.
C++ - Word to Excel Conversion
PDF to Word Conversion
C++ conversion library also supports PDF to word DOC, DOCX and other format conversion. Considering the case of rendering PDF to RTF, It’s a two step process, firstly convert PDF to Word DOC/DOCX format and then render that to RTF. Steps included for this, Loading PDF file using Document class reference and invoking Save member function to convert PDF to Word. Now load again Word DOC / DOCX file by using Document class reference of Aspose.Words API and save it to RTF format using Save member function.
C++ - PDF to Word Conversion
Convert JSON to Word
For JSON conversion, C++ API supports various combinations such as JSON to Word, Json to PowerPoint, Word to JSON etc. Considering the case of Word conversion, Process is, read valid JSON data from file by using a new IWorkbook object and then invoke Save method to save JSON as PDF file. So now load saved file using Document class and save it to word document format using Save method.