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: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>     
>>
>>
>> ---------------------------------------------------------------------
>> 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]


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

Reply via email to