Aspose.PUB   for C++

C++ API to Parse Publisher Files

Manipulate Publisher Files as well as Convert PUB format to PDF within any C++ based application.

  Download Free Trial Try Online

MS Publisher is a program to create documents that are focused to work with page layout information. The program opens the next file formats MS Publisher 2.0 or later, files with a .txt extension, RTF files, MS Word files, HTML files, Unicode text, and many more. This software allows creating your own designed documents or using the the-formated designs for your document. MS Publisher saves files with .pub extension and not that many applications apart from Publisher can process such files.

Aspose.PUB for C++ is a Microsoft PUb formats processing library. It allows developers to read and load PUB files, manipulate metadata as well as convert electronic publication file format (.pub) to PDF. It offers quick and reliable conversion of PUB to PDF, HTML, XLSX, DOC, and the most popular image formats. The functionality is also implemented in free cross-platform applications so you can try it yourself right now.

Advanced C++ PUB Manipulation API Features

Read .pub file formats

Manipulate metadata

Convert PUB documents to PDF

Convert PUB Files to PDF

Aspose.PUB for C++ library can read and convert publication documents (.pub) to PDF format, with just a few lines of code.

Convert PUB to PDF - C++

System::String SourcPubFile = dataDir() + u"";

System::String filePdf = dataDir() + u"result_out.pdf";

System::SharedPtr parser = PubFactory::CreateParser(SourcPubFile);

System::SharedPtr document = parser->Parse();

PubFactory::CreatePdfConverter()->ConvertToPdf(document, filePdf);

Support and Learning Resources


Aspose.PUB offers individual PUB processing APIs for other popular development environments as listed below: