Expand my Community achievements bar.

HTML Frame inside PDF

Avatar

Level 4

I want to display HTML content inside PDF. This HTML content just contains an Image, nothing else. How can it be possible? I am not able to find any way doing this. Is it possible to render HTML content inside PDF?

Thanks.

-

Abhinav

2 Replies

Avatar

Former Community Member

No ...PDF does not hav eth eability to have interpretted HTML content inside of it.

Paul

Avatar

Level 4

Thanks for reply Paul.

Actually I need to render a Google Map (Static JPG Image) in ImageField dyanamically. Pls have a look on snap below -

requirement.jpg

But ImageField accepts only Base64 encoded value, so I can't use the URI of static image. Also I can't load it in temp memory inside PDF (Using HTTP Request) & then convert it into Base64 value. So I thought of putting HTML frame inside PDF.

Now I am thinking that the only way left is to make a WebService in b/w GoogleMap and PDF which will accept the location as the I/P and returns with the Base64 encoded value. Is it the correct way? Or Is there any better way to do this?

Please help. Thanks.

-

Abhinav