I am calling resetCache(), snippet here :
org.apache.fop.image.FopImageFactory.resetCache();
org.apache.fop.apps.Driver driver2 = null;
driver2 = new org.apache.fop.apps.Driver();
driver2.reset();
| <[EMAIL PROTECTED]>
05/10/2005 10:44 AM
|
|
If you�re using (at least) 0.20.5 you can call:
org.apache.fop.image.FopImageFactory.resetCache()
H�lsningar
Lars Bjerges
Team Verktyg
* F�reningsSparbanken IT
105 34 Stockholm
( +46 (0)8 58 59 43 45
( +46 (0)70 95 27 774
-----Ursprungligt meddelande-----
Fr�n: Amita Rathore [mailto:[EMAIL PROTECTED]
Skickat: den 10 maj 2005 06:16
Till: [email protected]
�mne: How to prevent SVG Image from caching
I am using data scheme to insert an image. like this :
<fo:instream-foreign-object>
<svg:svg xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="542px" height="506px">
<svg:image width="64" height="48" xlink:href="" />
</svg:svg>
</fo:instream-foreign-object>
The image gets cached and the same image is displayed even after I change the value for xlink:href.
I am resetting the cache also using :org.apache.fop.image.FopImageFactory.resetCache();
What should be done to avoid cachig of images. Thanks.
