douling6469 2017-04-26 06:46
浏览 136

使用mPDF从多个PDF文件生成单个PDF时,锚标记不起作用

I have three PDF files. I want to integrate three PDF files into a single PDF file. I have used mPDF library to generate single PDF file from multiple PDF files.

$mpdf = new mPDF('en', 'A4-L');
$mpdf->SetSourceFile("1.pdf");
$tplId = $mpdf->ImportPage(1);
$mpdf->UseTemplate($tplId);
$mpdf->SetSourceFile("2.pdf");
$tplId = $mpdf->ImportPage(1);
$mpdf->UseTemplate($tplId);
$mpdf->SetSourceFile("3.pdf");
$tplId = $mpdf->ImportPage(1);
$mpdf->UseTemplate($tplId);
$mpdf->Output("output.pdf", "D");

When generating a single PDF file, I can not see anchor URL into the text in PDF file.

Sample PDF File Here

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 MCNP里如何定义多个源?
    • ¥20 双层网络上信息-疾病传播
    • ¥50 paddlepaddle pinn
    • ¥20 idea运行测试代码报错问题
    • ¥15 网络监控:网络故障告警通知
    • ¥15 django项目运行报编码错误
    • ¥15 请问这个是什么意思?
    • ¥15 STM32驱动继电器
    • ¥15 Windows server update services
    • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏