Hi Daniel,

How would you compare the WMF and EMF formats to Escher Drawing layer objects included in an XLS or PPT?

This is a question about the format.

Java2D can read only JPEG and PNG, that is we parse a ppt file, read a
JPEG and pass it to the target Java2D object. But how to convert WMF
or PICT into java.awt.Image?

PICT I'm not sure about -- if there is a project out there which can render
it, I'd love to know.

Apple supports PICT with QuickTime. And they have a Java API. So, it's a solution for MacOSX or Windows, but not necessarily for Linux.


Batik has a renderer for WMF, so that isn't an issue.

The FreeHEP project has a renderer for EMF, so that isn't an issue either.

A renderer is not the same as an interpreter. Knowing Yegor, I am sure he was describing the problem of interpreting any "random" valid PPT file including interpreting any included graphic object. While you are describing the solution of rendering a file. A point to keep in mind, renderers may be limited to producing their own particular flavor of a validly formatted file. They won't necessarily implement every feature of the file format. Keep this in mind when using POI.

I think that you can categorize POI users along two axes:

(1) Interpreter and/or Renderer.
(2) File Format. HSSF (XLS), HSLF (PPT), HWPF (DOC) and the beginnings of HDGF (VSD/Visio) format investigation just today by Nick.

POI seems to grow as developers appear to fill out the features in these "cells" to the extent of their time, interest and ability.

Regards,
Dave Fisher





Daniel


--
Daniel Noll
Nuix Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia Ph: +61 2 9280 0699 Web: http://nuix.com/ Fax: +61 2 9212 6902

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to