Class HtmlToPdfProvider
HtmlToPdf provider for service manager
- Xoops\Core\Service\AbstractContract
- HtmlToPdfProvider implements Xoops\Core\Service\Contract\HtmlToPdfInterface
Package: HtmlToPdfProvider
Category: ServiceProvider
Copyright: 2013-2014 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Richard Griffith richard@geekwright.com
Since: 2.6.0
Link: http://xoops.org
Located at odules/pdf/class/HtmlToPdfProvider.php
Category: ServiceProvider
Copyright: 2013-2014 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Richard Griffith richard@geekwright.com
Since: 2.6.0
Link: http://xoops.org
Located at odules/pdf/class/HtmlToPdfProvider.php
public
|
|
protected
|
|
public
|
|
public
string
|
|
public
string
|
|
public
|
#
setPageOrientation( Response $response, string $pageOrientation )
setPageOrientation - set page orientation |
public
|
|
public
|
#
setBaseUnit( Response $response, string $unit )
setBaseUnit - set unit of measure for page size, margins, etc. |
public
|
#
setMargins( Response $response, float $leftMargin, float $topMargin, float $rightMargin, float $bottomMargin )
setMargins - set margin sizes |
public
|
#
setBaseFont( Response $response, string $fontFamily, string $fontStyle = '', float $fontSize = null )
setBaseFont - set the base font used in rendering |
public
|
#
setDefaultMonospacedFont( Response $response, string $monoFontFamily )
setDefaultMonospacedFont - default monotype font used in rendering |
public
|
|
public
|
|
public
|
|
public
|
#
setKeywords( Response $response, string[] $pdfKeywords )
setKeywords - set keywords in pdf meta data |
public
|
|
public
|
#
outputPdfInline( Response $response, string $name )
outputPdfInline - output a named pdf document file inline |
public
|
#
outputPdfDownload( Response $response, string $name )
outputPdfDownload - output a named pdf document file for download |
public
|
getMode(),
getPriority(),
setPriority()
|
MODE
|
protected
TCPDF
|
$pdfEngine
$pdfEngine |
|
protected
string
|
$pageOrientation
$pageOrientation |
#
'P'
|
protected
string
|
$pageSize
$pageSize |
#
'A4'
|
protected
string
|
$unit
$unit |
#
'mm'
|
protected
float
|
$leftMargin
$leftMargin |
|
protected
float
|
$topMargin
$topMargin |
|
protected
float
|
$rightMargin
$rightMargin |
|
protected
float
|
$bottomMargin
$bottomMargin |
|
protected
string
|
$fontFamily
$fontFamily |
|
protected
string
|
$fontStyle
$fontStyle |
|
protected
float
|
$fontSize
$fontSize |
|
protected
string
|
$monoFontFamily
$monoFontFamily |
|
protected
string
|
$pdfAuthor
$pdfAuthor |
|
protected
string
|
$pdfTitle
$pdfTitle |
|
protected
string
|
$pdfSubject
$pdfSubject |
|
protected
string[]
|
$pdfKeywords
$pdfKeywords |
|
protected
string
|
$pdfCreator
$pdfCreator |
|
protected
string[]
|
$moduleConfigs
$moduleConfigs |
$priority
|