Batik - Window Height/Width Exception

Bachir Assi <[email protected]>
Newsgroups gmane.text.xml.batik.user
Message-ID <[email protected]>



Hello, I'm trying to open some SVG files in JAVA using batik-1.7 library.(Windows 7, jdk1.6.0_20_x32)
These SVG files are generated via a software and they work fine on the browser,but when i open them using Batik, i get an exception "Undefined" on the following code (in Red): --------------------------------------------------------------- <script type="text/ecmascript"> function myFunction {     var width = window.innerWidth;     var height = window.innerHeight;} </script> --------------------------------------------------------------- Can you please advise me how can i fix this ? Is there anything i can do from JAVA side that fixes this ?(Since i get the SVG files generated like this, i can't change them) Thanks a lot for your support. Regards,Bashir
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.