hi,
I used PD4ML for generating PDF.
but in that generated PDF, Image which i want to display is not displayed. and it is working for other images can u plz help for that.
code ->
java.io.FileOutputStream fos = new java.io.FileOutputStream(f);
//OutputStream sos = System.out;
File fz = new File("C://output.htm"); //HTML Code of the template
java.io.FileInputStream fis = new java.io.FileInputStream(fz);
InputStreamReader isr = new InputStreamReader( fis, "UTF-8" );
PD4ML html = new PD4ML();
html.setPageSize( new Dimension(450, 450) );
html.setPageInsets( new Insets(20, 50, 10, 10) );
html.setHtmlWidth( 750 );
html.enableImgSplit( false );
html.interpolateImages(true);
URL base = new URL( "file:C:/" ); //Used for images, css, etc.
// alternatively base can be specified with <base href="..."> tag
html.render( isr, fos, base );
Edited by: raj_pardeshi1986 on May 11, 2009 1:37 AM
Edited by: raj_pardeshi1986 on May 11, 2009 1:38 AM