On Mon, 15 Jul 2013, Eric Peters wrote:
Should have clarified maybe, I'm using the event model for both classes since I'm processing some fairly large files, is there a WorkbookFactory equivalent for the event model (I couldn't find anything even remotely close in the javadocs) But I've also been known to be wrong many many many times :)

Ah, not quite. I'd suggest you look at the code that drives WorkbookFactory:
http://svn.apache.org/repos/asf/poi/trunk/src/ooxml/java/org/apache/poi/ss/usermodel/WorkbookFactory.java

There's actually not a lot to it, and you can hopefully see how to use the helper methods on the underlying poifs/opcpackage classes to do the detection and call your custom classes that way

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to