Hello, we are using docx, the zip structure with OpenXML. What I'm looking for is appending documents together, but there may be a need to insert data as well. Dealing with the text alone is not a problem, but what I'm having difficulty is resolving all the references to styles, images, etc etc. When I have multiple documents, it becomes a nightmare.
We are using Apache Cocoon, so if we can stick with Apache friendly and open source products would be ideal. But if I have to get a third party software it wouldn't be out of the question. I am in the process of reviewing Aspose. What is everyone's thought on this product? MSB wrote: > > Hello, > > May I ask you a couple of questions please? > > What format are the documents in? Are they in the binary .doc/.dot > (OLE2CDF) format or the newer xml based format (.docx). > > What exactly do you mean by combining multiple Word documents? Are you > simply concatenating them together or do you take text out of one document > and insert it into another document, etc? > > Are you restricted to identifying and using a 'free' solution or can you > spend some money on this project? I only ask as there are commercial > solutions that may allow you to do what you want - one that I have seen > used and heard discussed is published by a company called Aspose. Here is > a link to their site - http://www.aspose.com/ http://www.aspose.com/ . > > What sort of architecture are you after? I am guessing that you wish to > implement some sort of server based solution that clients can log on to. > If this is not the case and the application can run as a single user, > stand alone solution then there are further solutions you could look at - > OpenOffice is one that springs to mind as it has filters that allow it to > work with various document formats and an interface that supports a > variety of different porgramming languages. There are issues however with > using OpenOffice as a 'document server' in a mutli-user environment, hence > it lends itself best to stand alone applications. If you are using Windows > and working stand alone there is even OLE - flawed though that solution > may be. > > A completely crazy idea, and this one depends upon your files being in the > newer .docx format, have you looked at the odftoolkit project - > http://odftoolkit.org/ http://odftoolkit.org/ . It is targeted at > OpenOffice's implementation of the open document format which is a > compressed xml based document format. How closely that resembles the .docx > file format I do not know but it may be worth a very quick look. > > > mblee wrote: >> >> Hello, >> >> We are currently using Cocoon and need to combine multiple word 2007 >> documents. I’ve been familiarizing with POI but have not found anything >> concrete that can merge the documents. >> Any help is greatly appreciated. >> >> -Betty >> >> > > -- View this message in context: http://www.nabble.com/Merging-word-2007-docx-with-POI-in-Cocoon-tp22485502p22497532.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
