Nick, Great tips - thanks for insight.  The xml files are the largest, so
I'm very interested in how to trim them.  I opened them up, but I can't tell
by looking what folders are for word, powerpoint, xwpf, and xslf.

- Jeff

On Thu, May 26, 2011 at 6:34 PM, Nick Burch <[email protected]> wrote:

> On Thu, 26 May 2011, Jeff G wrote:
>
>> I'm using POI strictly for *reading Excel xls & xlsx *documents.  I'm
>> using this as part of a Java Web Start app with somewhat low bandwidth. POI
>> is by far my biggest size hog.  Is there any way I can reduce the size of
>> this? Are all these libraries needed?  This is what I have...
>>
>> dom4j, poi, poi-contrib, poi-ooxml, poi-ooxml-schemas, poi-scratchpad,
>> xmlbeans
>>
>
> If you're just doing excel files, you can ditch poi-scratchpad and
> poi-contrib. If you're happy to just work with .xls (not .xlsx), then you
> can cut it back to only the main poi jar. If you need to work with .xlsx
> files, then you need the xml related jars, the poi-ooxml jar, and the cut
> down schemas (poi-ooxml-schemas). You might be able to shrink the
> ooxml-schemas file by excluding the word and powerpoint related bits, ditto
> cutting out the xwpf and xslf parts of poi-ooxml, not sure how much that'd
> save.
>
> Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to