|
Hello,
I want to insert some HTML from database to a PDF
document I am generating.
To accomplish this task I do the following
steps:
1) Start generating the main document.
2) At some point in the main document: Read HTML
page, convert it to PDF and save it to a temp file.
3) Read the generated temp file and insert it to
the main page.
I have two big prolems:
1) The Generated HTML appears with fonts bigger
than the fonts I am working on the main page. I can overcome this
problem by scaling the HTML page (It prefer to change the font size of the
generated HTML but this can't be accomplished).
2) The main page is constructed with lots of
tables. I want to put the page between two tables, but I don't know the size of
the imported page, therefore I don't know how much space to leave between the
two tables.
Is there any solution to those problems (at least
for the second one ...).
Thanks in advance.
Guy.
|
