wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes Div inner Html to PDF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Div inner Html to PDF" Watch "Div inner Html to PDF" New topic
Author

Div inner Html to PDF

Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118

hi guys,

I have a page designed in html and has Div tags in it,
i want to make a PDF of the inner html in the div,

how can i achieve it ?
any way to achieve this ?


Regards, Atul.
I came to this world on a Learner's License
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
Have you researched PDF creating tools in java? That would seem to me to be the first step.

Bill
Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118

iam using iText libraries for converting HTML to PDF, but i need to add the forms, swf files and images to the created PDF.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41177
    
  45
iText can handle forms and images. I don't think there's a way to embed SWF in PDFs, and if there is, I'm just about certain that iText does not support it.


Ping & DNS - my free Android networking tools app
Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118

i tried embedding ready swf file in the pdf using the itext, it works fine.
here is the code


now the issue is , my swf file is a fusion chart file that iam using, which gets the data on fly. iam not having a swf file on disk to embed.

any way to get this solve ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Div inner Html to PDF
 
Similar Threads
need to place a img element right after a select element, how?
Element positioning problem
JS slide
rendering PDf in a JSP page.
Render recaptcha via js.erb