Re: Transforming Img tag in HTML

2006-05-25 Thread Roland Neilands
Roland Neilands wrote: J.Pietschmann wrote: Roland Neilands wrote: Sorry, my mistake. 20.5 wants height/width on the block container. ... content-width="3cm" FOP 0.20.5 doesn't support content-heigth/width either. Height and width work. I know, it ignores them though. That's w

Re: Transforming Img tag in HTML

2006-05-25 Thread Roland Neilands
J.Pietschmann wrote: Roland Neilands wrote: Sorry, my mistake. 20.5 wants height/width on the block container. ... FOP 0.20.5 doesn't support content-heigth/width either. Height and width work. I know, it ignores them though. That's why that bit of code worked in both versions

Re: Transforming Img tag in HTML

2006-05-25 Thread J.Pietschmann
Roland Neilands wrote: Sorry, my mistake. 20.5 wants height/width on the block container. ... FOP 0.20.5 doesn't support content-heigth/width either. Height and width work. J.Pietschmann - To unsubscribe, e-mail:

Re: Transforming Img tag in HTML

2006-05-25 Thread Chris Bowditch
Suresh Koya wrote: I changed it as below. It finished the conversion pretty fast and did not create a PDF file. when I checked the output in debug mode I saw a classcast exception as below. Am I doing something wrong here. FOP 0.20.5 only supports absolutely positioned block-containers, that

Re: Transforming Img tag in HTML

2006-05-24 Thread Suresh Koya
I changed it as below. It finished the conversion pretty fast and did not create a PDF file. when I checked the output in debug mode I saw a classcast exception as below. Am I doing something wrong here.Regards,Suresh---   

Re: Transforming Img tag in HTML

2006-05-24 Thread Roland Neilands
Suresh, Sorry, my mistake. 20.5 wants height/width on the block container. This works in both versions: content-width="3cm" src="file.jpg" scaling="uniform"/> Regards, Roland Suresh Koya wrote: I checked this with the beta build also. I could not get it to work.

Re: Transforming Img tag in HTML

2006-05-24 Thread Suresh Koya
I checked this with the beta build also. I could not get it to work. Should I file a bug to this respect.Regards,Suresh KoyaRoland Neilands <[EMAIL PROTECTED]> wrote: Suresh,What you've done is correct, but not supported by the old version of FOP - try the beta release, or use height & width attrib

Re: Transforming Img tag in HTML

2006-05-24 Thread Roland Neilands
Suresh, What you've done is correct, but not supported by the old version of FOP - try the beta release, or use height & width attributes as well. Search this list's archives for more details, this has come up a few times. Regards, Roland Suresh Koya wrote: Hi, I am using FOP 0.20.5. I wa

Transforming Img tag in HTML

2006-05-24 Thread Suresh Koya
Hi,I am using FOP 0.20.5. I was trying to transform the IMG tag of HTML: After going through the XSL_FO Spec, I created a FO document equivalent to this for generating a PDF as belows: src=""attribut