digicomp/flowwkhtmltopdfadapter
Composer 安装命令:
composer require digicomp/flowwkhtmltopdfadapter
包简介
Using pdf/snappy for a nice integration of wkhtmltopdf as ViewInterface
关键字:
README 文档
README
This package provides a PdfView for your ActionController.
Introduction
The PdfView connects up to three Fluid templates:
header-html(optional): The defaultPath is@templateRoot/@subpackage/@controller/@action.PDFHead.htmlbody-html(required): The defaultPath is@templateRoot/@subpackage/@controller/@action.PDFBody.htmlfooter-html(optional): The defaultPath is@templateRoot/@subpackage/@controller/@action.PDFFoot.html
header-html and footer-html will only be used if found.
Additionally, you may set ALL options Knp\Snappy (an abstraction of wkthmltopdf) understands in your Views.yaml to
configure your PdfView:
- requestFilter: "isFormat('pdf')" viewObjectName: "DigiComp\\FlowWkhtmlToPdfAdapter\\View\\PdfView" options: marginLeft: "0mm" marginRight: "0mm" marginTop: "0mm" marginBottom: "0mm"
If you have to use wkhtmltopdf with unpatched Qt you could activate the usage of Xvfb, but really: I would not recommend that. ;)
统计信息
- 总下载量: 865
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-02-22