[Openxml4j-devs] OpenXml package
Status: Beta
Brought to you by:
neodante
From: Guilherme M. <gui...@lt...> - 2007-06-04 17:40:09
|
hello all, me and my teammate started some demos with openXml and java, and started using your package. its a very good project, and if we can help in some form, it will be very pleasant.. For the first demo, we use the opc implementation and the WordProcessingML, we know that the ML's will not be coded until the specification gets finalized.. but for our purposes the already coded part works well... But working with the code, we have to make some workarounds in your API to achieve our goals, I'm sending attached the patch we made from the SVN source code and our basic test code. We will like to know what you think and if it can be resolved using another way . The patch are not commented, so better to explain here what we faced.. First we cant make the generated document opens with Word 2007, its stats a error on the paragraph alignment tag, and we found out that the paragraph alignment tag must use low case text. The other problem we face, its that we cant open a package and close (save) because the code try to delete the file, but the file is open by the ZipPackage class, so we work in an workaround using a temp file. then closing the zip using a not so beautiful way. but we cant find another way lol. trying to close the ziparchive before call save doesn't work as well, because the close(); method of the ZipFile class discards all the inputstreams that were opened and the save methods still read the file. we hope that we can help in some way... many thanks Guilherme Moro |