当前位置: 首页>>代码示例>>PHP>>正文


PHP FPDF::FPDF方法代码示例

本文整理汇总了PHP中FPDF::FPDF方法的典型用法代码示例。如果您正苦于以下问题:PHP FPDF::FPDF方法的具体用法?PHP FPDF::FPDF怎么用?PHP FPDF::FPDF使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在FPDF的用法示例。


在下文中一共展示了FPDF::FPDF方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: PDFTable

 function PDFTable($orientation = 'P', $unit = 'mm', $format = array(400, 455))
 {
     parent::FPDF($orientation, $unit, $format);
     $this->SetMargins(0, 0, 0, 0);
     $this->SetAuthor('Pham Minh Dung');
     $this->_makePageSize();
 }
开发者ID:rosyid33,项目名称:sppam,代码行数:7,代码来源:pdftable.inc.php

示例2:

 function FPDF_Protection($orientation = 'P', $unit = 'mm', $format = 'A4')
 {
     parent::FPDF($orientation, $unit, $format);
     $this->encrypted = false;
     $this->last_rc4_key = '';
     $this->padding = "(¿N^NuŠAdNVÿú" . "..¶Ðh>€/\f©þdSiz";
 }
开发者ID:aliihaidar,项目名称:pso,代码行数:7,代码来源:class.fpdf_protection.php

示例3: PDFTable

 function PDFTable($orientation = 'P', $unit = 'mm', $format = 'A4')
 {
     parent::FPDF($orientation, $unit, $format);
     $this->SetMargins(20, 20, 20);
     $this->SetAuthor('Pham Minh Dung');
     $this->_makePageSize();
 }
开发者ID:Esleelkartea,项目名称:kz-adeada-talleres-electricos-,代码行数:7,代码来源:pdftable.inc.php

示例4:

 /**
  * Constructor of the Class
  *
  * @author Jonathan Sandoval <jonathan_s_pisis@yahoo.com.mx>
  * @param  integer $idUser    idUser
  * @param  integer $idChurch  idChurch
  * @param  boolean $full      full document
  */
 function __construct($idUser = 0, $idChurch = 0)
 {
     //Define the constructor
     parent::FPDF('L', 'mm', 'Letter');
     $this->church = ChurchManager::getSingleChurch('id', $idChurch);
     $this->user = SessionManager::getSingleUser('id', $idUser);
 }
开发者ID:jonatalamantes,项目名称:NotariusAdOmnes,代码行数:15,代码来源:EnvelopeChurch.php

示例5:

 function class_pdf_maker($orientation = 'P', $unit = 'in', $format = 'letter')
 {
     parent::FPDF($orientation, $unit, $format);
     parent::SetMargins(0, 0);
     parent::Open();
     parent::AddPage();
     parent::SetAutoPageBreak(FALSE);
 }
开发者ID:joelphilippage,项目名称:Library,代码行数:8,代码来源:pdf_maker.php

示例6: PDFTable

 function PDFTable($orientation = 'P', $unit = 'mm', $format = 'A4')
 {
     parent::FPDF($orientation, $unit, $format);
     $this->SetMargins(20, 20, 20);
     $this->SetAuthor('Pham Minh Dung');
     $this->_makePageSize();
     $this->isNotYetSetFont = true;
     $this->headerTable = $this->footerTable = '';
 }
开发者ID:WisnuDiStefano,项目名称:sinar,代码行数:9,代码来源:pdftable.inc.php

示例7: __construct

 public function __construct($idCompra = 1)
 {
     //Defiene a constructor
     parent::FPDF();
     $this->nombreEmpresa = "Herremex";
     $this->iva = 16;
     $this->logo = __DIR__ . "/logo.png";
     $this->logoAgua = __DIR__ . "/logoAgua.png";
     $this->getCompra($idCompra);
 }
开发者ID:jonatalamantes,项目名称:Herremex,代码行数:10,代码来源:facturaPDF.php

示例8: __construct

 /**
  * Constructor
  */
 public function __construct($orientation = 'P', $unit = 'mm', $format = 'A4')
 {
     global $cookie;
     if (!isset($cookie) or !is_object($cookie)) {
         $cookie->id_lang = (int) Configuration::get('PS_LANG_DEFAULT');
     }
     self::$_iso = strtoupper(Language::getIsoById($cookie->id_lang));
     FPDF::FPDF($orientation, $unit, $format);
     $this->_initPDFFonts();
 }
开发者ID:priyankajsr19,项目名称:shalu,代码行数:13,代码来源:PDF.php

示例9:

 /**
  * __contruct
  * Construtor da classe PedPdfPHP
  * @param number $mododebug (Optional) 1-SIM ou 0-NÃO (0 default)
  * @package spoolga
  * @author  Joao Paulo Bastos L. <jpbl.bastos at gmail dot com>
  */
 function __construct($orientation = 'L', $unit = 'mm', $format = 'A4')
 {
     //passar parametros para a classe principal
     parent::FPDF($orientation, $unit, $format);
     $this->pdfERROR = '';
     //inclui configuracoes
     if (is_file(PATH_ROOT . 'conf/config.php')) {
         include PATH_ROOT . 'conf/config.php';
         $this->dirsentItemsPdfs = $dirsentItemsPdfs;
         $this->logo = $logo;
     }
 }
开发者ID:jpblbastos,项目名称:scripts,代码行数:19,代码来源:PedPdfPHP.class.php

示例10:

 function Ticket2PDF($ticket, $psize = 'Letter', $notes = false)
 {
     global $thisstaff;
     parent::FPDF('P', 'mm', $psize);
     $this->ticket = $ticket;
     $this->includenotes = $notes;
     $this->SetMargins(10, 10, 10);
     $this->AliasNbPages();
     $this->AddPage();
     $this->cMargin = 3;
     $this->_print();
 }
开发者ID:pkdevboxy,项目名称:osTicket-1.7,代码行数:12,代码来源:class.pdf.php

示例11: __construct

 public function __construct()
 {
     $this->report = error_reporting(0);
     parent::FPDF();
     error_reporting($this->report);
     $this->AddFont('Vera Sans', '', 'Vera.php');
     $this->AddFont('Vera Sans', 'I', 'VeraIt.php');
     $this->AddFont('Vera Sans', 'B', 'VeraBd.php');
     $this->AddFont('Vera Mono', '', 'VeraMono.php');
     $this->SetTitle($this->title);
     $this->SetCreator('Site Polytechnique.org');
     $this->AddPage();
 }
开发者ID:Ekleog,项目名称:platal,代码行数:13,代码来源:contacts.pdf.inc.php

示例12: array

 function XML2PDF($debug = FALSE)
 {
     // Initialization
     $this->DebugPrint("initializing...");
     parent::FPDF('P', 'mm', 'A4');
     $this->debug = $debug;
     $this->abort_error = FALSE;
     $this->open_tags = array("page" => FALSE);
     $this->fontstack = array();
     $this->colorstack = array();
     $this->tablestack = array();
     $this->trstack = array();
     $this->tdstack = array();
     $this->links = array();
     $this->add_fonts = array();
     $this->indent = array("ih1" => 0, "ih2" => 5, "ih3" => 10, "ih4" => 15, "ih5" => 20, "ih6" => 25, "current" => 0);
     $this->headingFont = array("H1" => 36, "H2" => 24, "H3" => 18, "H4" => 16, "H5" => 14, "H6" => 12);
     $this->headingSpace = array("H1" => 5, "H2" => 4, "H3" => 3, "H4" => 2, "H5" => 1, "H6" => 0);
 }
开发者ID:openbizx,项目名称:openbizx-cubix,代码行数:19,代码来源:xml2pdf.php

示例13:

 function PDF_Label($format, $unit = 'mm', $posX = 1, $posY = 1)
 {
     if (is_array($format)) {
         $Tformat = $format;
     } else {
         if (!isset($this->_Avery_Labels[$format])) {
             $this->Error('Unknown label format: ' . $format);
         }
         $Tformat = $this->_Avery_Labels[$format];
     }
     parent::FPDF('P', $unit, $Tformat['paper-size']);
     $this->_Metric_Doc = $unit;
     $this->_Set_Format($Tformat);
     $this->SetFont('Arial');
     $this->SetMargins(0, 0);
     $this->SetAutoPageBreak(false);
     $this->_COUNTX = $posX - 2;
     $this->_COUNTY = $posY - 1;
 }
开发者ID:tmaski45,项目名称:tedmatuszewski.com,代码行数:19,代码来源:PDF_Label.php

示例14: UFPDF

 function UFPDF($orientation = 'P', $unit = 'mm', $format = 'A4')
 {
     FPDF::FPDF($orientation, $unit, $format);
 }
开发者ID:BackupTheBerlios,项目名称:aligilo-svn,代码行数:4,代码来源:ufpdf.php

示例15: PDF

 function PDF()
 {
     parent::FPDF();
 }
开发者ID:paragm,项目名称:openDCIM,代码行数:4,代码来源:report_surplus.php


注:本文中的FPDF::FPDF方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。