aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 12675
    
    5
Have you researched PDF creating tools in java? That would seem to me to be the first step.

Bill

Java Resources at www.wbrogden.com
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: 39544
    
  27
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 - updated with new look and Ping home screen widget
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?
Render recaptcha via js.erb
rendering PDf in a JSP page.
Element positioning problem
JS slide