Skip to content

aspose-pub/Aspose.PUB-for-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub

Process PUB files via Java API

Aspose.PUB for Java is a Java API that can read, manipulate and convert Microsoft Publisher (.pub) files to PDF. You can use the API in your Java applications to work with .pub files without worrying about the underlying filie format. The API can be used in Java desktop as well as web applications using JSP. The API is light, easy to use and simplifies your application with simple lines of code in your application.

Directory Description
Examples A collection of Java examples that help you learn the product features.

PUB Java API Features

  • Read Microsoft Publisher (PUB) files for conversion to PDF format.
  • Working with Metadata of PUB files.

Read PUB Files

Microsoft Publisher: PUB

Save PUB As

Fixed Layout: PDF

Supported Environments

  • Microsoft Windows: Windows Desktop & Server (x86, x64)
  • macOS: Mac OS X
  • Linux: Ubuntu, CentOS, and others
  • Java Versions: J2SE 8.0 (1.8) or above

Get Started with Aspose.PUB for Java

Aspose hosts all Java APIs at the Aspose Repository. You can easily use Aspose.PUB for Java API directly in your Maven projects with simple configurations. For the detailed instructions please visit Installing Aspose.PUB for Java from Aspose Repository documentation page.

Edit Metadata of Microsoft Publisher Files using Java

// For complete examples and data files, please go to https://github.com/aspose-pub/Aspose.PUB-for-Java
IPubParser parser = PubFactory.createParser(fileName);
Document document = parser.parse();

document.getDocumentSummaryInfo().setCategory("category");
document.getDocumentSummaryInfo().setCompany("company");
document.getDocumentSummaryInfo().setLanguage("language");

document.getSummaryInfo().setComments("comments");
document.getSummaryInfo().setKeywords("keywords");
document.getSummaryInfo().setLastAuthor("last author");
document.getSummaryInfo().setTitle("title");
document.getSummaryInfo().setSubject("subject");

Home | Product Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License

About

Examples for Aspose.PUB for Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •