File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Div inner Html to PDF

 
Atul Darne
Ranch Hand
Posts: 118
Java Oracle
  • 0
  • 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 ?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13048
6
  • 0
  • 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
  • 0
  • 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.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • 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
  • 0
  • 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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic