Re: Numeric Types in org.apache.poi.hpsf.littleendian

2002-04-29 Thread Nicola Ken Barozzi
PROTECTED] Sent: Sunday, April 28, 2002 10:52 PM Subject: Re: Numeric Types in org.apache.poi.hpsf.littleendian ... What is appropriate is to ask Batik to put the WMF rasterizing classes into the Commons. It'd be a small, modular component useful in applications that need

Re: Numeric Types in org.apache.poi.hpsf.littleendian

2002-04-29 Thread Glen Stampoultzis
) toil. - Drew Quoting Nicola Ken Barozzi [EMAIL PROTECTED]: - Original Message - From: Drew Varner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 28, 2002 10:52 PM Subject: Re: Numeric Types in org.apache.poi.hpsf.littleendian

Re: Numeric Types in org.apache.poi.hpsf.littleendian

2002-04-29 Thread Rainer Klute
Andrew C. Oliver [EMAIL PROTECTED] wrote: Dude. Thats totally awesome. You may find you need to create a hacked copy of Batik to prevent imports of other Batik code tied to AWT. (Batik is the famous Cocoon awt tie problem ;-) ). Consider whether this code is an appropriate addition to HPSF

Re: Numeric Types in org.apache.poi.hpsf.littleendian

2002-04-29 Thread Rainer Klute
Andrew C. Oliver [EMAIL PROTECTED] wrote: +/- - What I think would be optimal is having a windows specific image library under POI in its own package. It could be tied to awt until someone scratches the itch. Anyhow, don't tie HPSF/HDF/HSSF/POIFS to AWT and my objections are satisfied. Even if

Re: Numeric Types in org.apache.poi.hpsf.littleendian

2002-04-29 Thread Nicola Ken Barozzi
From: Avik Sengupta [EMAIL PROTECTED] re dynamic classloading and headless behaviour ... AFAIK, the call to load X (native) libraries happen at link time, which in the java world is basically on classloading. So you CAN get around X loading be ensuring that class loading of ANY awt class

Re: Numeric Types in org.apache.poi.hpsf.littleendian

2002-04-29 Thread Rainer Klute
Nicola Ken Barozzi [EMAIL PROTECTED] wrote: Instead of using AWT, I would like to see us make the classes ourselves. What are the AWT classes-methods we need? If they are 200, I agree that AWT is difficult to get around with, but if they're 20... Better try to get around the AWT dependencies!

Re: Numeric Types in org.apache.poi.hpsf.littleendian

2002-04-29 Thread Nicola Ken Barozzi
From: Andrew C. Oliver [EMAIL PROTECTED] Right, but this is a windows-specific binary format. Not an XML tag language. The API for the binary format is the part I think that is POI. XML tag lanugages for it...well thats not POI. To be honest I'm +1 in keeping it in POI. It's just that I'm

Re: Numeric Types in org.apache.poi.hpsf.littleendian

2002-04-29 Thread Andrew C. Oliver
BTW, I'm starting to think that we could do a jar for each package... +1, but *not yet* (Basically lets wait till the hangover from the last major build restructuring is done before we go on another benderPlus formulas are now moving at lightning speed and I don't want to slow it

Numeric Types in org.apache.poi.hpsf.littleendian

2002-04-28 Thread Drew Varner
Hey Folks, I hacked out some code to extract a WMF file from the byte array returned by getThumbnail() I saved the WMF file to disk and imported it into Word so I think I am good. I don't know that I can convert WMF to something meaningful in Java though. Some of the parameters in the

Re: Numeric Types in org.apache.poi.hpsf.littleendian

2002-04-28 Thread Nicola Ken Barozzi
From: Drew Varner [EMAIL PROTECTED] Hey Folks, I hacked out some code to extract a WMF file from the byte array returned by getThumbnail() I saved the WMF file to disk and imported it into Word so I think I am good. I don't know that I can convert WMF to something meaningful in Java

WMF and other formats (was Re: Numeric Types in org.apache.poi.hpsf.littleendian)

2002-04-28 Thread Nicola Ken Barozzi
Ok, so I spoke too early. Here are other other links :-) http://piet.jonas.com/ http://www.blackdirt.com/graphics/svg/ http://www.physik.uni-greifswald.de/~jonas/WMFViewer/WMF2JMF.html http://lsewww.epfl.ch/wiesmann/jqd/ http://www.geocities.com/marcoschmidt.geo/java-image-coding.html

Re: Numeric Types in org.apache.poi.hpsf.littleendian

2002-04-28 Thread Andrew C. Oliver
At some point we need to combine org.apache.poi.util.LittleEndian and org.apache.poi.hspsf.littleendian to one general purpose thing. Eventually this should migrate to Jakarta commons. I'll look around for docs on WMF. you might check chicago.sourceforge.net. Drew Varner wrote: Hey Folks,

Re: Numeric Types in org.apache.poi.hpsf.littleendian

2002-04-28 Thread Andrew C. Oliver
Dude. Thats totally awesome. You may find you need to create a hacked copy of Batik to prevent imports of other Batik code tied to AWT. (Batik is the famous Cocoon awt tie problem ;-) ). Consider whether this code is an appropriate addition to HPSF or if it might be a component in and of

Re: Numeric Types in org.apache.poi.hpsf.littleendian

2002-04-28 Thread Nicola Ken Barozzi
- Original Message - From: Drew Varner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 28, 2002 10:52 PM Subject: Re: Numeric Types in org.apache.poi.hpsf.littleendian ... What is appropriate is to ask Batik to put the WMF rasterizing classes into the Commons. It'd

Re: Numeric Types in org.apache.poi.hpsf.littleendian

2002-04-28 Thread Drew Varner
I am taking up too much mailbox space with my philosophy here, so I'll take it offline for anyone interested in the discussion. The truth is it isn't a big deal. Sorry folks =-) Quoting Andrew C. Oliver [EMAIL PROTECTED]: rant Now, passing around a WMF image as a byte[] is really useless.

Re: Numeric Types in org.apache.poi.hpsf.littleendian

2002-04-28 Thread Drew Varner
I agree. Should be our (my) toil. - Drew Quoting Nicola Ken Barozzi [EMAIL PROTECTED]: - Original Message - From: Drew Varner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 28, 2002 10:52 PM Subject: Re: Numeric Types in org.apache.poi.hpsf.littleendian

Re: Numeric Types in org.apache.poi.hpsf.littleendian

2002-04-28 Thread Andrew C. Oliver
]: - Original Message - From: Drew Varner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 28, 2002 10:52 PM Subject: Re: Numeric Types in org.apache.poi.hpsf.littleendian ... What is appropriate is to ask Batik to put the WMF rasterizing classes