Drew Varner wrote: >Hey Folks, > >It look likes this method has not been implemented. I just want to throw out >some thoughts on it. I may take a whack at this over the weekend. > >It appears that the image is in WMF or Clipboard (BMP?) format. > >Here are some links with sourcecode or discussion of PID_THUMBNAIL... > >http://www.csn.ul.ie/~caolan/publink/file/OLE2SummaryAgainst_file-3.27.patch >http://msdn.microsoft.com/library/en-us/dno97ta/html/msdn_docprop.asp >
(I'll leave the above to Rainer)... > >I think the return type of this as a convenience method ought to be a >java.awt.Image. Maybe one version returns a byte array and one returns an > -1 - this ties us to X-Windows on servers and limits our crossplatform nature and his performance heavy. Leave this to the API user to tradeoff (ties to awt or not). > >Image? I think Image is probably the best as it is a convenience method. >However, backwards compatibility may be an issue. > -1 - the problems noted above outweigh any convenience. > >getThumbnailAsImage() maybe? > >Do Office documents use PID_THUMBNAIL? Do they actually put a WMF image in the >property stream? Often I see see comments next to it indicating it isn't used. > >Will the POIBrowser be implemented in the next binary build? It seems useful, >but I can't find it in my binary distribution. > No. POIBrowser will continue to live in contrib. Its a helpful utility and development tool but is outside the scope of the POI apis. (Its GUI not an API and has no use case in a server environment). Of course anyone can build it and I'm not against a separate contrib target. -Andy > >Thanks, >Drew > >___________________ >Drew Varner >[EMAIL PROTECTED] >
