poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <nick.bu...@alfresco.com>
Subject Re: problem with ooxml-lite and tables in PPTX
Date Fri, 01 Jul 2011 10:39:12 GMT
On Fri, 1 Jul 2011, Maxim Valyanskiy wrote:
> This test works fine with full ooxml jar, but fails to work with 
> ooxml-lite. I found that concrete implementation of CTTable is replaced 
> with XmlAnyTypeImpl when we are working with ooxml-lite. It worth noting 
> that XSLFCommonSlideData uses XmlCursor and XPath searches to find 
> tables.

Sounds like the same issue I hit a while back with XWPF and pictures:

> Also I tried to remove XmlCursor/Xpatth searches from that code, but it 
> did not found how to do it - CTGraphicalObjectData it some king of 
> abstract interface. It has no method to get CTTable child object.

The issue seems to be triggered when moving from one namespace to another, 
eg word to graphics

There's a hack in XWPFRun to work around the case there, I think you might 
need to do the same


To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message