How to programtically Insert Header (Footer) before converting HTML to PDF ?

346 views
Skip to first unread message

Abdelaziz

unread,
Apr 19, 2012, 5:48:52 AM4/19/12
to JODConverter, a...@picosoft.biz
Hi all,

I am using Open Office 3.3 with JODConverter 3.0 to convert Html
files to PDF, I need to insert a header and a footer in every page of
the generated PDF;
So, I think that I should process as described below:

1- open (programtically) the HTML file

2- Insert (programtically) the header and the footer

3- use the "writer_web_pdf_Export" to save (programtically) the file
as PDF.

Step 1 and 3 are done; but the problem is in the step 2; So my
question is:

Is it Possible to programmatically insert header and footer before
converting? If not, are they any other way to do that?

Best Regards,
ABF

Richard Gathogo

unread,
Apr 20, 2012, 8:36:34 AM4/20/12
to jodcon...@googlegroups.com, a...@picosoft.biz
Hi ABF,
I am not sure if this will help. But for me I normally add some text of the documents I am merging for identification using a library called pdfbox. It is quite easy to use. You can try it out and see whether it will help.
Here is a link for the library http://pdfbox.apache.org.

Regards Richard Gathogo.
Love covers a multitude of sins.




--
You received this message because you are subscribed to the Google Groups "JODConverter" group.
To post to this group, send email to jodcon...@googlegroups.com.
To unsubscribe from this group, send email to jodconverter...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jodconverter?hl=en.


Reply all
Reply to author
Forward
0 new messages