How to create .mpp file in java?

痞子三分冷 提交于 2019-12-13 13:28:27

问题


I am able to create .mpx file by using mpxj library in java.
I need write ( create ) .mpp file in java can any one suggest me please.


回答1:


I maintain MPXJ, and the short answer to your enquiry is that, at present, MPXJ does not write MPP files.

The main reason for this is simply that despite the effort which has gone into understanding the MPP file structure, there is still a great deal of it which is not well understood, hence it is difficult to reliably generate. The other issue is that even if I was to produce some code which could generate an MPP file, the features it could write to that file are likely to lag behind what MPXJ supports in the MSPDI file format, again due to my incomplete understanding of the MPP format.

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

Jon




回答2:


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

It writes MPP and Microsoft Project XML.




回答3:


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 this: http://www.aspose.com/java/project-management-component.aspx

It writes MPP and Microsoft Project XML.

But this not free




回答4:


I think by "mpp" you probably mean "Microsoft PowerPoint", correct?

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

http://mpxj.sourceforge.net/

Welcome to MPXJ! This library provides a set of facilities to allow project information to be manipulated in Java and .Net. MPXJ supports a range of data formats: Microsoft Project Exchange (MPX), Microsoft Project (MPP,MPT), Microsoft Project Data Interchange (MSPDI XML), Microsoft Project Database (MPD), Planner (XML), Primavera (PM XML, XER, and database), and Asta Powerproject (PP, MDB).



来源:https://stackoverflow.com/questions/10876730/how-to-create-mpp-file-in-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!