This week's book giveaway is in the Security forum.
We're giving away four copies of Securing DevOps and have Julien Vehent on-line!
See this thread for details.
Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Div inner Html to PDF  RSS feed

 
Ranch Hand
Posts: 118
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you researched PDF creating tools in java? That would seem to me to be the first step.

Bill
 
Atul Darne
Ranch Hand
Posts: 118
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
iam using iText libraries for converting HTML to PDF, but i need to add the forms, swf files and images to the created PDF.
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Atul Darne
Ranch Hand
Posts: 118
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!