#1 Re: PDF Engine » HtmlViewer and Pdf are differents » 2013-05-18 11:40:59

I can't create wmf files, but I send on your email :

- Two (very light) png file (With and Without "<BR><BR>"
- And Html file, loading this file into your application htm2pdf.exe reproduce problem.

Have a good day.

#2 Re: PDF Engine » HtmlViewer and Pdf are differents » 2013-05-16 20:52:59

Hello,
My problem (disappearance logo and first line of the title) from HtmlViewer to Pdf, was not a problem of "header" or "Footer", but a problem of "clipping"

with

<HTML>
<HEAD>
<TITLE></TITLE>
<link REL="stylesheet" TYPE="text/css" HREF="qualite.css">
<style TYPE="text/css">
</STYLE>
</HEAD>
<BODY class="indent">
<P> <A NAME="FloatImage"> <IMG SRC="logo2013.png" ALT="logo2013.png" ALIGN="left" HEIGHT="60" WIDTH="60" HSPACE="20"></A></P>
<p CLASS="title">Données statistiques du 01/01/2013 au 31/12/2013</p>
etc...

Logo2013 and "Données statistiques...." are not seen
but

<HTML>
<HEAD>
<TITLE></TITLE>
<link REL="stylesheet" TYPE="text/css" HREF="qualite.css">
<style TYPE="text/css">
</STYLE>
</HEAD>
<BODY class="indent">
<p><BR></p>
<p><BR></p>
<P> <A NAME="FloatImage"> <IMG SRC="logo2013.png" ALT="logo2013.png" ALIGN="left" HEIGHT="60" WIDTH="60" HSPACE="20"></A></P>
<p CLASS="title">Données statistiques du 01/01/2013 au 31/12/2013</p>

all is clean ..
Just inserting

<p><BR></p>
<p><BR></p>

solve problem..

An idea ? Thank you.

#3 Re: PDF Engine » HtmlViewer and Pdf are differents » 2013-05-16 06:14:17

Hello,

Thank you :
- Yes, I have the latest version.
- I look for the change code proposed by RyanC (Ticket 240)

#4 PDF Engine » HtmlViewer and Pdf are differents » 2013-05-15 17:39:45

mjm73
Replies: 5

Hello,

I'm using htmlViewer, I build, save and display html files.
I am very interesting by your SynPdf unit. To test this unit I try html2pdf.exe.
The "viewer" of this application show me the exact Html file (with logo and title), but in the Pdf, logo and tittle of my document disappear.

An idea ?

I use a very light document to test, I can send it to you.

Thanks for your beautiful work

Board footer

Powered by FluxBB