Aspose.PUB   for C++

Pub file manipulation C++ API

PUB file format API Solution for C++. Load, convert, and open publisher files.

  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. Pub files may include different types of data like images, texts, or graphics. That is why the format is well-spread in creating flyers, brochures, postcards, and other paper advertisement production. 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 С++ is a flexible and easy-to-use library. It is developed to work with electronic publication files. This solution supports the loading, opening, editing, and conversion of popular 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.

Apart from integrating into your own C++ project, the library is perfect for creating your own cross-platform applications to open, merge or convert MS Publisher files. Here you can see and try the examples of implementing the functionality into such applications. They are created by our teams with the use of the solution. With these solutions, you do not have to install any additional software, or subscription to get the result rendered.

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"1.pub";

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: