You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Michael Schulman <ms...@lightboxcap.com> on 2009/04/09 18:11:31 UTC

ooxml-schemas size

Hi,
  So my goal in using POI is to write a simple Excel file.  The API and everything 
is great but the size of the required libraries is quite large.  Is there anyway 
for me to figure out what I actually need and build a custom jar?

Thanks for any advice.


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


Re: ooxml-schemas size

Posted by Nick Burch <ni...@torchbox.com>.
On Sat, 2 May 2009, Jukka Zitting wrote:
> On Sun, Apr 12, 2009 at 5:52 PM, Nick Burch <ni...@torchbox.com> wrote:
>> If you don't want to write the new ooxml .xlsx files, you can do without
>> ooxml-schemas and similar jars, which'll bring your library size down alot.
>
> Hmm, does that mean that for example in Apache Tika where I'm just
> interested in reading stuff from .xlsx (and other ....x files), I
> wouldn't need the ooxml-schemas dependency?

Sorry, no. The original question was just about writing, hence my 
phrasing. If you want to work with the ooxml files, you do need the 
ooxml-schemas file. Unfortunately, the spec for the ooxml files is pretty 
large, hence the large schema size, and the large xmlbeans compiled jar 
file.

I'm not sure it'd be possible to only pick out and compile the bits 
of the schema that are relevant to text extraction, but I guess it might 
be worth a bit of investigating if the file size of ooxml-schemas is 
proving very problematic

Nick

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


Re: ooxml-schemas size

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Sun, Apr 12, 2009 at 5:52 PM, Nick Burch <ni...@torchbox.com> wrote:
> If you don't want to write the new ooxml .xlsx files, you can do without
> ooxml-schemas and similar jars, which'll bring your library size down alot.

Hmm, does that mean that for example in Apache Tika where I'm just
interested in reading stuff from .xlsx (and other ....x files), I
wouldn't need the ooxml-schemas dependency?

BR,

Jukka Zitting

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


Re: ooxml-schemas size

Posted by Nick Burch <ni...@torchbox.com>.
On Thu, 9 Apr 2009, Michael Schulman wrote:
>  So my goal in using POI is to write a simple Excel file.  The API and 
> everything is great but the size of the required libraries is quite 
> large.

If you don't want to write the new ooxml .xlsx files, you can do without 
ooxml-schemas and similar jars, which'll bring your library size down 
alot. However, if you do want to do the new ooxml .xlsx files, you do alas 
need a decent number of dependencies to make it all work

Nick

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