poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Travis Patterson <massl...@unm.edu>
Subject Re: HSLF slide.draw() is does not render entire image.
Date Thu, 29 May 2008 19:39:30 GMT
That sounds quite interesting, actually. Where do I start? I've checked 
out the various .draw() methods. I am not sure what shape.draw() is 
doing though, it appears to just be calling the log() method in POILogger.

Travis

Yegor Kozlov wrote:
> In ppt slides equations are embedded OLE objects. Each OLE object
> consists of two parts:
>  - snapshot in WMF format. This is what needs to be rendered.
>  - the actual binary OLE data. This part is activated by double-click.
>
> Since rendering of WMF is not supported by JDK, the equations don't
> appear in the created images.
>
> In next versions of HSLF I plan to use Batik http://xmlgraphics.apache.org/batik/ which
> includes a WMF transcoder:
> http://xmlgraphics.apache.org/batik/javadoc/org/apache/batik/transcoder/wmf/tosvg/WMFPainter.html
> If you feel like researching this subject, I can explain how to
> extend HSLF code to use third-party image renderers.
>
> Yegor
>
>   
>> Is there a similar situation with equations made using the equation 
>> editor? I have a presentation where many of the slides have equation 
>> object in them that do not appear in the images created from slide.draw().
>>     
>
>   
>> Thanks,
>> Travis
>>     
>
>   
>> Yegor Kozlov wrote:
>>     
>>> This kind of background is not yet supported. In particular, HSLF
>>> does not support gradient fills and texture fills. I will see if I can
>>> include this support in poi-3.1-final.
>>>
>>> Yegor
>>>
>>>   
>>>       
>>>> I am having an issue with the powerpoint at 
>>>> http://cs.unm.edu/~massless/test3.ppt . When I dump all the slides to 
>>>> image files (png or jpg) there is no background for any of the slides 
>>>> except the first and last. Is there something extra I need to do to get
>>>> slide.draw() to render these slides?
>>>>     
>>>>         
>>>   
>>>       
>>>> Thanks
>>>>     
>>>>         
>>>   
>>>       
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
>>>> For additional commands, e-mail: user-help@poi.apache.org
>>>>     
>>>>         
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
>>> For additional commands, e-mail: user-help@poi.apache.org
>>>
>>>   
>>>       
>
>
>   
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
>> For additional commands, e-mail: user-help@poi.apache.org
>>     
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
>
>   

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


Mime
View raw message