[Openxml4j-devs] Commong relationships interface on Package and PackagePart
Status: Beta
Brought to you by:
neodante
From: Nick B. <ope...@ga...> - 2008-01-08 14:26:23
|
Hi All I've started making use of OpenXml4J to do some simple ooxml parsing with Apache POI. One thing that surprised me was that Package and PackagePart both provide lots of relationship methods, with the same signature, but that isn't done via a common interface. So, you can't just have your own method that works with either for getting relationships. The attached patch defines a common interface (RelationshipSource), and gets both Package and PackagePart to use it. If it makes sense, any chance you could apply it? Otherwise, using the API has been great :) Cheers Nick |