XOOPS  2.6.0
HtmlToPdfInterface.php
Go to the documentation of this file.
1 <?php
2 /*
3  You may not change or alter any portion of this comment or credits
4  of supporting developers from this source code or any supporting source code
5  which is considered copyrighted (c) material of the original comment or credit authors.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 */
11 
13 
27 {
28  const MODE = \Xoops\Core\Service\Manager::MODE_EXCLUSIVE;
29 
37  public function startPdf($response);
38 
47  public function setPageOrientation($response, $pageOrientation);
48 
57  public function setPageSize($response, $pageSize);
58 
68  public function setBaseUnit($response, $unit);
69 
81  public function setMargins($response, $leftMargin, $topMargin, $rightMargin, $bottomMargin);
82 
93  public function setBaseFont($response, $fontFamily, $fontStyle = '', $fontSize = null);
94 
103  public function setDefaultMonospacedFont($response, $monoFontFamily);
104 
113  public function setAuthor($response, $pdfAuthor);
114 
123  public function setTitle($response, $pdfTitle);
124 
133  public function setSubject($response, $pdfSubject);
134 
143  public function setKeywords($response, $pdfKeywords);
144 
154  public function addHtml($response, $html);
155 
164  public function outputPdfInline($response, $name);
165 
174  public function outputPdfDownload($response, $name);
175 
183  public function fetchPdf($response);
184 }
setBaseFont($response, $fontFamily, $fontStyle= '', $fontSize=null)
if(!$xoops->security() ->validateToken(@$_POST['token'], false)) $html
setPageOrientation($response, $pageOrientation)
setMargins($response, $leftMargin, $topMargin, $rightMargin, $bottomMargin)
setDefaultMonospacedFont($response, $monoFontFamily)
if($xoops->isUser()&&$isAdmin) $response
Definition: userinfo.php:83