Microsoft® Project Files Conversion Via Java
Convert Microsoft® Project MPP, MPT, MPX to Excel, PDF, HTML and BMP, JPG, PNG, TIFF Images to build cross-platform Java applications.
Project managers use Microsoft Project for planning, assigning resources, tracking progress and analyzing workloads. Java Project API facilitates for handling Microsoft Project MPP, MPT, MPX files as well as converting these files to other formats without its installation within Java application. After including the API, write just few lines of code and run the application to manage, create, modify MS Proct files. Below code works perfactly well.
Convert Microsoft Project to PDF Files
Java API provides Project class for loading Microsoft Project MPP, MPT or MPX files. Load the file using it and call the save method having output PDF file and SaveFileFormat.PDF as parameters. SaveFileFormat enumeration for saving project format choice and PDF currently as of our choice.
Java Code for Microsoft Project to PDF Conversion
Microsoft Project to JPG, PNG, BMP, TIFF Images Conversion
Conversion process is similar to PDF, loading the file, calling the save method with appropriate parameters like image output file and SaveFileFormat with relevant image selection. If there is need for specific image settings such as vertical resolution, type of compression to apply and page numbers etc., API provides ImageSaveOptions class for the required JPG, PNG, BMP or TIFF settings.
Java Code for Converting Microsoft Project to Image Formats
Convert Microsoft Project to HTML File
As of similarity of conversion process, HTML rendering can be done via providing SaveFileFormat HTML extension and HTML file as parameters within save method. Moreover, API provides HtmlSaveOptions class for specific settings like css, fonts, export image options and more.
Java Code for Microsoft Project to HTML Conversion
Convert Microsoft Project to Excel XLSX, CSV File
Java MS Project API also facilitate to export data to CSV, TXT and Excel XLSX formats. With the use of relevant SaveFileFormat save format, process of converions is almost same or use the API specific format classes CsvOptions , Spreadsheet2003SaveOptions , XlsxOptions and including the options as parameter within save method.
Other then the above conversions, API also suuports saving MS Project files to other formats and provides relevant classes such as XpsOptions , PrimaveraSaveOptions , PrimaveraXmlSaveOptions etc.