Hello Guys,
After many days of R&D and many suggestions, I have come to
conclusion to develop tables inside PDF, using
http://denature.sourceforge.net. That is I will create HTML files and
make tables inside it (I know HTML well compared PS and LaTeX). Then
using denaute I will convert that document to pdf.
Do let me know if you don't think this is a good approach
Thanks for all your valuable suggestions
Regards,
Mohamed Parvez
Reference to OLD mails ->
1] Hello All,
I was looking into CPAN for a module that will help me
create tables inside PDF document. I also need to create the PDF
document in A4-landscape size. I need to embed small .jpg logo also in
the PDF document.
There were many modules for PDF but I could not locate one module that
helps me do what I need. Is there any module that addresses all my
needs?
Please do suggest which module will be good for this job. If there no
module that helps me create table, it would be fine if I get a module
that will let me draw lines.
Thanks/Regards,
Parvez
2] how about latex or lout?
both should produce .ps documents, and you can convert it to .pdf.
3] Well I have no much idea about PS as i never worked on it. Some people
suggested to create a HTML document and then convert to PDF, Using
http://denature.sourceforge.net/
I can go for these approaches provided its sure that there is no
module in perl/cpan that lets me do it directly
Its very surprising java has a API ( iTEXT ) that lets me do all these
without pain.
And CPAN does not have one.
I am looking for the best and easy approach to this. Any suggestions?
4] Are you sure you couldn't find anything on CPAN?
Try again: http://search.cpan.org/search?query=PDF&mode=all
5] Yes i am pretty much sure that there is no one module that lets me do
all 3 things
1] Table
2] Image
3] Landscape size
There are way too many modules on pdf in CPAN, (which is quite impressive).
But the problem is
1] For creating tables, I have to do it using lines and X&Y
co-ordinates which is quite cumbersome when the tables are huge and
also dynamic
2] Image most of the modules let do it
3] Well i guess i need to give the co-ordinates to get a A4-Landsacpe size
All in all no single module that will address all 3 issues
I will be very grateful if you could pin point any perl module that
addresses the table issue
or if any one has used any pdf module let me know which best suits my needs
5] This isn't what you're going to want to hear but I believe
the current best practice for some time has been to write your
document in LaTeX and then run it through the appropriate software
to generate your pdf.
I wonder if the openoffice format and libraries can be accessed
directly, that would be another way to produce arbitrary documents.
6] > I wonder if the openoffice format and libraries can be accessed
> directly, that would be another way to produce arbitrary documents.
To some degree, yes:
http://search.cpan.org/~jmgdoc/OpenOffice-OODoc-1.106/
It seems this module could help you read and write the OpenOffice file
format, but doesn't seem like it would help you convert it to/from PDF.
I haven't tried it myself.
7] If Java has one, then Inline::Java means that Perl has one. =) Perhaps
you could make a perl wrapper around the java.
-Ken
8] It's amazing what one can accomplish with a well-funded marketing
strategy. The hold times at Sun are also much less than if you can
even get the number for the phone that is answered by the drowned
pirate skeleton in Larry Wall's aquarium.
Sounds like the best and easiest approach for you might be to write
a short java program to do your conversion.