Hi Brian (and others),
First of all, sorry for the delay, as after new year some other matters had to be attendend. We have something working, but it is a lot of coding for which we hope Dompdf can help us out further.
I will try to explain the situation. So, we are using the Dompdf within Laravel. When we want to send an email to a potential customer, we add some google docs (or powerpoints) that we convert to PDF. On these documents, we add a link to the direct info online. Putting that link on the PDF, is done now, manual style, using the X-Y coordinates. If we add that link hard on the original google doc or powerpoint, the output of the link on the PDF doc fails.
So, with a bit of extra context:
--> You have a Google doc with requested product info. On that page is a link 'On line Product Info' which contaits e.g. the link
http://www.tankkopen.be/mazouttanks.html . See attached powerpoint (first page left middle, there is a red text "onze webshop" underlined (translated: "our webshop")).
--> We convert this document to PDF to attach to a mail.
--> Situation now: we have to add it manually: code example:
$pdf->SetFontSize(10);
$pdf->SetTextColor(255, 0, 0);
$pdf->SetFont('','U');
$pdf->SetXY(90.6 , 195.6);
$pdf->Cell(20,8 , iconv('UTF-8', 'ISO-8859-1', 'onze webshop'),'','','',false, "https://www.tankkopen.be/mazouttanks.html");
--> Ideal situation: de code is embedded in the powerpoint document and coverted to pdf. Above code is not necessary. This would help a lot, as we have a lot of these snippets hanging around, depending the type of document, type of product, type of location online, etc... .
Is this possible to solve?
Thank you. Pieter
Op zaterdag 29 december 2018 03:39:22 UTC+1 schreef BrianS: