How to create a .mpp file in java?

I can create mpx file using mpxj library in java.
I need to write (create). mpp file in java can someone suggest me please .

+4
source share
4 answers

I support MPXJ, and the short answer to your request is that MPXJ is not currently writing MPP files.

The main reason for this is that, despite efforts to understand the structure of MPP files, there is still a lot that is not entirely clear, therefore it is difficult to reliably generate. Another problem is that even if I were to create code that could generate an MPP file, the functions that it could write to this file would most likely lag behind what MPXJ supports in the MSPDI file format, again due to my incomplete understanding of MPP.

My suspicion is that the next version of the MS project (project 15? Project 2013?) May offer a file format ".mppx" similar to the formats ".docx", etc., which are used by other applications in the MS Office suite This will be XML-based and easier to create than the binary MPP binary file format currently ... let's see what Microsoft came up with!

John

+4
source

Try the following: http://www.aspose.com/java/project-management-component.aspx

He writes MPP and Microsoft Project XML.

0
source

Visit http://mpxj.sourceforge.net/faq.html
Can I use MPXJ to write MPP files?

Not at present. Although it is technically feasible to generate an MPP file, the knowledge we have of the file structure is still relatively incomplete, despite the amount of data we are able to correctly extract. It is therefore likely to take a considerable amount of development effort to make this work, and it is conceivable that we will not be ablet to write the full set of attributes that MPXJ supports back into the MPP file - simply because we don't understand the format well enough. You are therefore probably better off using MSPDI which does support the full range of data items present in an MPP file. 

You can

Try the following: http://www.aspose.com/java/project-management-component.aspx

He writes MPP and Microsoft Project XML.

But it's not free

0
source

I think "mpp" you probably mean "Microsoft PowerPoint", right?

Q: Why do you think MPXJ (Microsoft Project Exchange / Java) cannot do this?

http://mpxj.sourceforge.net/

Welcome to MPXJ! This library provides a set of features for project information that needs to be manipulated in Java and .Net. Support MPXJ range of data formats: Microsoft Project Exchange (MPX), Microsoft Project (MPP, MPT), Microsoft Project Data Interchange (MSPDI XML), Microsoft Project Database (MPD), Scheduler (XML), Primavera (PM XML, XER and databases) and Asta Powerproject (PP, MDB).

-3
source

Source: https://habr.com/ru/post/1415896/


All Articles