⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tcpdf.php

📁 Joomla!是一套获得过多个奖项的内容管理系统(Content Management System, CMS)。Joomla!采用PHP+MySQL数据库开发
💻 PHP
📖 第 1 页 / 共 5 页
字号:
		var $keywords;		/**		* @var creator		* @access protected		*/		var $creator;		/**		* @var alias for total number of pages		* @access protected		*/		var $AliasNbPages;		/**		* @var right-bottom corner X coordinate of inserted image		* @since 2002-07-31		* @author Nicola Asuni		* @access protected		*/		var $img_rb_x;		/**		* @var right-bottom corner Y coordinate of inserted image		* @since 2002-07-31		* @author Nicola Asuni		* @access protected		*/		var $img_rb_y;		/**		* @var image scale factor		* @since 2004-06-14		* @author Nicola Asuni		* @access protected		*/		var $imgscale = 1;		/**		* @var boolean set to true when the input text is unicode (require unicode fonts)		* @since 2005-01-02		* @author Nicola Asuni		* @access protected		*/		var $isunicode = false;		/**		* @var PDF version		* @since 1.5.3		* @access protected		*/		var $PDFVersion = "1.5";		// ----------------------		/**		 * @var Minimum distance between header and top page margin.		 * @access private		 */		var $header_margin;		/**		 * @var Minimum distance between footer and bottom page margin.		 * @access private		 */		var $footer_margin;		/**		 * @var original left margin value		 * @access private		 * @since 1.53.0.TC013		 */		var $original_lMargin;		/**		 * @var original right margin value		 * @access private		 * @since 1.53.0.TC013		 */		var $original_rMargin;		/**		 * @var Header font.		 * @access private		 */		var $header_font;		/**		 * @var Footer font.		 * @access private		 */		var $footer_font;		/**		 * @var Language templates.		 * @access private		 */		var $l;		/**		 * @var Barcode to print on page footer (only if set).		 * @access private		 */		var $barcode = false;		/**		 * @var If true prints header		 * @access private		 */		var $print_header = true;		/**		 * @var If true prints footer.		 * @access private		 */		var $print_footer = true;		/**		 * @var Header width (0 = full page width).		 * @access private		 */		var $header_width = 0;		/**		 * @var Header image logo.		 * @access private		 */		var $header_logo = "";		/**		 * @var Header image logo width in mm.		 * @access private		 */		var $header_logo_width = 30;		/**		 * @var String to print as title on document header.		 * @access private		 */		var $header_title = "";		/**		 * @var String to print on document header.		 * @access private		 */		var $header_string = "";		/**		 * @var Default number of columns for html table.		 * @access private		 */		var $default_table_columns = 4;		// variables for html parser		/**		 * @var HTML PARSER: store current link.		 * @access private		 */		var $HREF;		/**		 * @var HTML PARSER: store font list.		 * @access private		 */		var $fontList;		/**		 * @var HTML PARSER: true when font attribute is set.		 * @access private		 */		var $issetfont;		/**		 * @var HTML PARSER: true when color attribute is set.		 * @access private		 */		var $issetcolor;		/**		 * @var HTML PARSER: true in case of ordered list (OL), false otherwise.		 * @access private		 */		var $listordered = false;		/**		 * @var HTML PARSER: count list items.		 * @access private		 */		var $listcount = 0;		/**		 * @var HTML PARSER: size of table border.		 * @access private		 */		var $tableborder = 0;		/**		 * @var HTML PARSER: true at the beginning of table.		 * @access private		 */		var $tdbegin = false;		/**		 * @var HTML PARSER: table width.		 * @access private		 */		var $tdwidth = 0;		/**		 * @var HTML PARSER: table height.		 * @access private		 */		var $tdheight = 0;		/**		 * @var HTML PARSER: table align.		 * @access private		 */		var $tdalign = "L";		/**		 * @var HTML PARSER: table background color.		 * @access private		 */		var $tdbgcolor = false;		/**		 * @var Store temporary font size in points.		 * @access private		 */		var $tempfontsize = 10;		/**		 * @var Bold font style status.		 * @access private		 */		var $b;		/**		 * @var Underlined font style status.		 * @access private		 */		var $u;		/**		 * @var Italic font style status.		 * @access private		 */		var $i;		/**		 * @var spacer for LI tags.		 * @access private		 */		var $lispacer = "";		/**		 * @var default encoding		 * @access private		 * @since 1.53.0.TC010		 */		var $encoding = "UTF-8";		/**		 * @var PHP internal encoding		 * @access private		 * @since 1.53.0.TC016		 */		var $internal_encoding;		/**		 * @var store previous fill color as RGB array		 * @access private		 * @since 1.53.0.TC017		 */		var $prevFillColor = array(255,255,255);		/**		 * @var store previous text color as RGB array		 * @access private		 * @since 1.53.0.TC017		 */		var $prevTextColor = array(0,0,0);		/**		 * @var store previous font family		 * @access private		 * @since 1.53.0.TC017		 */		var $prevFontFamily;		/**		 * @var store previous font style		 * @access private		 * @since 1.53.0.TC017		 */		var $prevFontStyle;		/**		 * @var indicates if the document language is Right-To-Left		 * @access private		 * @since 2.0.000		 */		var $rtl = false;		/**		 * @var used to force RTL or LTR string inversion		 * @access private		 * @since 2.0.000		 */		var $tmprtl = false;		// --- Variables used for document encryption:		/**		 * Indicates whether document is protected		 * @access private		 * @since 2.0.000 (2008-01-02)		 */		var $encrypted;		/**		 * U entry in pdf document		 * @access private		 * @since 2.0.000 (2008-01-02)		 */		var $Uvalue;		/**		 * O entry in pdf document		 * @access private		 * @since 2.0.000 (2008-01-02)		 */		var $Ovalue;		/**		 * P entry in pdf document		 * @access private		 * @since 2.0.000 (2008-01-02)		 */		var $Pvalue;		/**		 * encryption object id		 * @access private		 * @since 2.0.000 (2008-01-02)		 */		var $enc_obj_id;		/**		 * last RC4 key encrypted (cached for optimisation)		 * @access private		 * @since 2.0.000 (2008-01-02)		 */		var $last_rc4_key;		/**		 * last RC4 computed key		 * @access private		 * @since 2.0.000 (2008-01-02)		 */		var $last_rc4_key_c;		// --- bookmark ---		/**		 * Outlines for bookmark		 * @access private		 * @since 2.1.002 (2008-02-12)		 */		var $outlines = array();		/**		 * Outline root for bookmark		 * @access private		 * @since 2.1.002 (2008-02-12)		 */		var $OutlineRoot;		// --- javascript and form ---		/**		 * javascript code		 * @access private		 * @since 2.1.002 (2008-02-12)		 */		var $javascript = "";		/**		 * javascript counter		 * @access private		 * @since 2.1.002 (2008-02-12)		 */    var $n_js;		//------------------------------------------------------------		// Public methods		//------------------------------------------------------------		/**		 * This is the class constructor.		 * It allows to set up the page format, the orientation and		 * the measure unit used in all the methods (except for the font sizes).		 * @since 1.0		 * @param string $orientation page orientation. Possible values are (case insensitive):<ul><li>P or Portrait (default)</li><li>L or Landscape</li></ul>		 * @param string $unit User measure unit. Possible values are:<ul><li>pt: point</li><li>mm: millimeter (default)</li><li>cm: centimeter</li><li>in: inch</li></ul><br />A point equals 1/72 of inch, that is to say about 0.35 mm (an inch being 2.54 cm). This is a very common unit in typography; font sizes are expressed in that unit.		 * @param mixed $format The format used for pages. It can be either one of the following values (case insensitive) or a custom format in the form of a two-element array containing the width and the height (expressed in the unit given by unit).<ul><li>4A0</li><li>2A0</li><li>A0</li><li>A1</li><li>A2</li><li>A3</li><li>A4 (default)</li><li>A5</li><li>A6</li><li>A7</li><li>A8</li><li>A9</li><li>A10</li><li>B0</li><li>B1</li><li>B2</li><li>B3</li><li>B4</li><li>B5</li><li>B6</li><li>B7</li><li>B8</li><li>B9</li><li>B10</li><li>C0</li><li>C1</li><li>C2</li><li>C3</li><li>C4</li><li>C5</li><li>C6</li><li>C7</li><li>C8</li><li>C9</li><li>C10</li><li>RA0</li><li>RA1</li><li>RA2</li><li>RA3</li><li>RA4</li><li>SRA0</li><li>SRA1</li><li>SRA2</li><li>SRA3</li><li>SRA4</li><li>LETTER</li><li>LEGAL</li><li>EXECUTIVE</li><li>FOLIO</li></ul>		 * @param boolean $unicode TRUE means that the input text is unicode (default = true)		 * @param String $encoding charset encoding; default is UTF-8		 */		function TCPDF($orientation='P', $unit='mm', $format='A4', $unicode=true, $encoding="UTF-8") {			/* Set internal character encoding to ASCII */			if (function_exists("mb_internal_encoding") AND mb_internal_encoding()) {				$this->internal_encoding = mb_internal_encoding();				mb_internal_encoding("ASCII");			}			// set language direction			$this->rtl = $this->l['a_meta_dir']=='rtl' ? true : false;			$this->tmprtl = false;			//Some checks			$this->_dochecks();			//Initialization of properties			$this->isunicode=$unicode;			$this->page=0;			$this->n=2;			$this->buffer='';			$this->pages=array();			$this->OrientationChanges=array();			$this->state=0;			$this->fonts=array();			$this->FontFiles=array();			$this->diffs=array();			$this->images=array();			$this->links=array();			$this->InFooter=false;			$this->lasth=0;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -