You are not logged in.
Pages: 1
Thanks for your help.
But I still dont understand how those two Classes can be combined.
I have absolutely no idea where I have to insert the code.
Here is my code:
With THtml2Pdf.Create do
begin
DefaultPaperSize := psA4;
CompressionMethod := cmFlateDecode;
ForceJPEGCompression := StrToInt(CompressionRate.Text);
Viewer := Thtmlviewer.Create(self);
Viewer.Parent := Self;
Viewer.Visible := False;
Viewer.OnImageRequest := HTMLViewerImageRequest; // Assign event to get images from server
Viewer.LoadFromFile(IncludeTrailingPathDelimiter(TempPath.Text) + NewsletterNameFile + '.html');
Execute;
SaveToFile(IncludeTrailingPathDelimiter(PDFPath.Text) + NewsletterNameFile + '.pdf');
Free;
end;
Where do I need to intercept?
How do I get the metahandle...
There seems to be no way to get specific text in the pdf.
Maybe I am doing something wrong.
Thanks in advance for your help.
Hello,
so far the project looks pretty awesome.
Thank you for the effort you have spent developing the whole synopse project.
I've been using the htm2pdf unit to convert a newsletter from html to pdf.
I have added the event to fetch images from the server and everything seems fine.
The only thing I can't get to work are hyperlinks.
Does the converter support hyperlinks?
Or do I have to manually use the PDF-Class(es) from the synopse framework
to create pages and hyperlinks from hand?
I have looked into the source code, but to be honest,
it is a little bit too complicated for me...
Thank you for your help in advance
Matthew
Pages: 1