亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? fpdf.php

?? asterisk用 的voip記費軟件
?? PHP
?? 第 1 頁 / 共 5 頁
字號:
{
	//Set x position
	if($x >= 0)	$this->x=$x;
	else $this->x = $this->w + $x;
}

function GetY()
{
	//Get y position
	return $this->y;
}

function SetY($y)
{
	//Set y position and reset x
	$this->x=$this->lMargin;
	if($y>=0)
		$this->y=$y;
	else
		$this->y=$this->h+$y;
}

function SetXY($x,$y)
{
	//Set x and y positions
	$this->SetY($y);
	$this->SetX($x);
}

function Output($name='',$dest='')
{
	//Output PDF to some destination
	//global $HTTP_SERVER_VARS;

	//Finish document if necessary
	if($this->state < 3) $this->Close();
	//Normalize parameters
	if(is_bool($dest)) $dest=$dest ? 'D' : 'F';
	$dest=strtoupper($dest);
	if($dest=='')
	{
		if($name=='')
		{
			$name='doc.pdf';
			$dest='I';
		}
		else
			$dest='F';
	}
	switch($dest)
	{
		case 'I':
			//Send to standard output
			if(isset($_SERVER['SERVER_NAME']))
			{
				//We send to a browser
				Header('Content-Type: application/pdf');
				if(headers_sent())
					$this->Error('Some data has already been output to browser, can\'t send PDF file');
				Header('Content-Length: '.strlen($this->buffer));
				Header('Content-disposition: inline; filename='.$name);
			}
			echo $this->buffer;
			break;
		case 'D':
			//Download file
			if(isset($_SERVER['HTTP_USER_AGENT']) and strpos($_SERVER['HTTP_USER_AGENT'],'MSIE'))
				Header('Content-Type: application/force-download');
			else
				Header('Content-Type: application/octet-stream');
			if(headers_sent())
				$this->Error('Some data has already been output to browser, can\'t send PDF file');
			Header('Content-Length: '.strlen($this->buffer));
			Header('Content-disposition: attachment; filename='.$name);
 			echo $this->buffer;
			break;
		case 'F':
			//Save to local file
			$f=fopen($name,'wb');
			if(!$f) $this->Error('Unable to create output file: '.$name);
			fwrite($f,$this->buffer,strlen($this->buffer));
			fclose($f);
			break;
		case 'S':
			//Return as a string
			return $this->buffer;
		default:
			$this->Error('Incorrect output destination: '.$dest);
	}
	return '';
}

/*******************************************************************************
*                                                                              *
*                              Protected methods                               *
*                                                                              *
*******************************************************************************/
function _dochecks()
{
	//Check for locale-related bug
	if(1.1==1)
		$this->Error('Don\'t alter the locale before including class file');
	//Check for decimal separator
	if(sprintf('%.1f',1.0)!='1.0')
		setlocale(LC_NUMERIC,'C');
}

function _begindoc()
{
	//Start document
	$this->state=1;
	$this->_out('%PDF-1.3');
}

function _putpages()
{
	$nb=$this->page;
	if(!empty($this->AliasNbPages))
	{
		//Replace number of pages
		for($n=1;$n<=$nb;$n++)
			$this->pages[$n]=str_replace($this->AliasNbPages,$nb,$this->pages[$n]);
	}
	if($this->DefOrientation=='P')
	{
		$wPt=$this->fwPt;
		$hPt=$this->fhPt;
	}
	else
	{
		$wPt=$this->fhPt;
		$hPt=$this->fwPt;
	}
	$filter=($this->compress) ? '/Filter /FlateDecode ' : '';
	for($n=1;$n<=$nb;$n++)
	{
		//Page
		$this->_newobj();
		$this->_out('<</Type /Page');
		$this->_out('/Parent 1 0 R');
		if(isset($this->OrientationChanges[$n]))
			$this->_out(sprintf('/MediaBox [0 0 %.2f %.2f]',$hPt,$wPt));
		$this->_out('/Resources 2 0 R');
		if(isset($this->PageLinks[$n]))
		{
			//Links
			$annots='/Annots [';
			foreach($this->PageLinks[$n] as $pl)
			{
				$rect=sprintf('%.2f %.2f %.2f %.2f',$pl[0],$pl[1],$pl[0]+$pl[2],$pl[1]-$pl[3]);
				$annots.='<</Type /Annot /Subtype /Link /Rect ['.$rect.'] /Border [0 0 0] ';
				if(is_string($pl[4]))
					$annots.='/A <</S /URI /URI '.$this->_textstring($pl[4]).'>>>>';
				else
				{
					$l=$this->links[$pl[4]];
					$h=isset($this->OrientationChanges[$l[0]]) ? $wPt : $hPt;
					$annots.=sprintf('/Dest [%d 0 R /XYZ 0 %.2f null]>>',1+2*$l[0],$h-$l[1]*$this->k);
				}
			}
			$this->_out($annots.']');
		}
		$this->_out('/Contents '.($this->n+1).' 0 R>>');
		$this->_out('endobj');
		//Page content
		$p=($this->compress) ? gzcompress($this->pages[$n]) : $this->pages[$n];
		$this->_newobj();
		$this->_out('<<'.$filter.'/Length '.strlen($p).'>>');
		$this->_putstream($p);
		$this->_out('endobj');
	}
	//Pages root
	$this->offsets[1]=strlen($this->buffer);
	$this->_out('1 0 obj');
	$this->_out('<</Type /Pages');
	$kids='/Kids [';
	for($i=0;$i<$nb;$i++)
		$kids.=(3+2*$i).' 0 R ';
	$this->_out($kids.']');
	$this->_out('/Count '.$nb);
	$this->_out(sprintf('/MediaBox [0 0 %.2f %.2f]',$wPt,$hPt));
	$this->_out('>>');
	$this->_out('endobj');
}

function _putfonts()
{
	$nf=$this->n;
	foreach($this->diffs as $diff)
	{
		//Encodings
		$this->_newobj();
		$this->_out('<</Type /Encoding /BaseEncoding /WinAnsiEncoding /Differences ['.$diff.']>>');
		$this->_out('endobj');
	}
	$mqr=get_magic_quotes_runtime();
	set_magic_quotes_runtime(0);
	foreach($this->FontFiles as $file=>$info)
	{
		//Font file embedding
		$this->_newobj();
		$this->FontFiles[$file]['n']=$this->n;
		if(defined('FPDF_FONTPATH'))
			$file=FPDF_FONTPATH.$file;
		$size=filesize($file);
		if(!$size)
			$this->Error('Font file not found');
		$this->_out('<</Length '.$size);
		if(substr($file,-2)=='.z')
			$this->_out('/Filter /FlateDecode');
		$this->_out('/Length1 '.$info['length1']);
		if(isset($info['length2']))
			$this->_out('/Length2 '.$info['length2'].' /Length3 0');
		$this->_out('>>');
		$f=fopen($file,'rb');
		$this->_putstream(fread($f,$size));
		fclose($f);
		$this->_out('endobj');
	}
	set_magic_quotes_runtime($mqr);
	foreach($this->fonts as $k=>$font)
	{
		//Font objects
		$this->fonts[$k]['n']=$this->n+1;
		$type=$font['type'];
		$name=$font['name'];
		if($type=='core')
		{
			//Standard font
			$this->_newobj();
			$this->_out('<</Type /Font');
			$this->_out('/BaseFont /'.$name);
			$this->_out('/Subtype /Type1');
			if($name!='Symbol' and $name!='ZapfDingbats')
				$this->_out('/Encoding /WinAnsiEncoding');
			$this->_out('>>');
			$this->_out('endobj');
		}
		elseif($type=='Type1' or $type=='TrueType')
		{
			//Additional Type1 or TrueType font
			$this->_newobj();
			$this->_out('<</Type /Font');
			$this->_out('/BaseFont /'.$name);
			$this->_out('/Subtype /'.$type);
			$this->_out('/FirstChar 32 /LastChar 255');
			$this->_out('/Widths '.($this->n+1).' 0 R');
			$this->_out('/FontDescriptor '.($this->n+2).' 0 R');
			if($font['enc'])
			{
				if(isset($font['diff']))
					$this->_out('/Encoding '.($nf+$font['diff']).' 0 R');
				else
					$this->_out('/Encoding /WinAnsiEncoding');
			}
			$this->_out('>>');
			$this->_out('endobj');
			//Widths
			$this->_newobj();
			$cw=&$font['cw'];
			$s='[';
			for($i=32;$i<=255;$i++)
				$s.=$cw[chr($i)].' ';
			$this->_out($s.']');
			$this->_out('endobj');
			//Descriptor
			$this->_newobj();
			$s='<</Type /FontDescriptor /FontName /'.$name;
			foreach($font['desc'] as $k=>$v)
				$s.=' /'.$k.' '.$v;
			$file=$font['file'];
			if($file)
				$s.=' /FontFile'.($type=='Type1' ? '' : '2').' '.$this->FontFiles[$file]['n'].' 0 R';
			$this->_out($s.'>>');
			$this->_out('endobj');
		}
		else
		{
			//Allow for additional types
			$mtd='_put'.strtolower($type);
			if(!method_exists($this,$mtd))
				$this->Error('Unsupported font type: '.$type);
			$this->$mtd($font);
		}
	}
}

function _putimages()
{
	$filter=($this->compress) ? '/Filter /FlateDecode ' : '';
	reset($this->images);
	while(list($file,$info)=each($this->images))
	{
		$this->_newobj();
		$this->images[$file]['n']=$this->n;
		$this->_out('<</Type /XObject');
		$this->_out('/Subtype /Image');
		$this->_out('/Width '.$info['w']);
		$this->_out('/Height '.$info['h']);
		if($info['cs']=='Indexed')
			$this->_out('/ColorSpace [/Indexed /DeviceRGB '.(strlen($info['pal'])/3-1).' '.($this->n+1).' 0 R]');
		else
		{
			$this->_out('/ColorSpace /'.$info['cs']);
			if($info['cs']=='DeviceCMYK')
				$this->_out('/Decode [1 0 1 0 1 0 1 0]');
		}
		$this->_out('/BitsPerComponent '.$info['bpc']);
		$this->_out('/Filter /'.$info['f']);
		if(isset($info['parms']))
			$this->_out($info['parms']);
		if(isset($info['trns']) and is_array($info['trns']))
		{
			$trns='';
			for($i=0;$i<count($info['trns']);$i++)
				$trns.=$info['trns'][$i].' '.$info['trns'][$i].' ';
			$this->_out('/Mask ['.$trns.']');
		}
		$this->_out('/Length '.strlen($info['data']).'>>');
		$this->_putstream($info['data']);
		unset($this->images[$file]['data']);
		$this->_out('endobj');
		//Palette
		if($info['cs']=='Indexed')
		{
			$this->_newobj();
			$pal=($this->compress) ? gzcompress($info['pal']) : $info['pal'];
			$this->_out('<<'.$filter.'/Length '.strlen($pal).'>>');
			$this->_putstream($pal);
			$this->_out('endobj');
		}
	}
}

function _putresources()
{
	$this->_putfonts();
	$this->_putimages();
	//Resource dictionary
	$this->offsets[2]=strlen($this->buffer);
	$this->_out('2 0 obj');
	$this->_out('<</ProcSet [/PDF /Text /ImageB /ImageC /ImageI]');
	$this->_out('/Font <<');
	foreach($this->fonts as $font)
		$this->_out('/F'.$font['i'].' '.$font['n'].' 0 R');
	$this->_out('>>');
	if(count($this->images))
	{
		$this->_out('/XObject <<');
		foreach($this->images as $image)
			$this->_out('/I'.$image['i'].' '.$image['n'].' 0 R');
		$this->_out('>>');
	}
	$this->_out('>>');
	$this->_out('endobj');
  $this->_putbookmarks(); //EDITEI
}

function _putinfo()
{
	$this->_out('/Producer '.$this->_textstring('FPDF '.FPDF_VERSION));
	if(!empty($this->title))
		$this->_out('/Title '.$this->_textstring($this->title));
	if(!empty($this->subject))
		$this->_out('/Subject '.$this->_textstring($this->subject));
	if(!empty($this->author))
		$this->_out('/Author '.$this->_textstring($this->author));
	if(!empty($this->keywords))
		$this->_out('/Keywords '.$this->_textstring($this->keywords));
	if(!empty($this->creator))
		$this->_out('/Creator '.$this->_textstring($this->creator));
	$this->_out('/CreationDate '.$this->_textstring('D:'.date('YmdHis')));
}

function _putcatalog()
{
	$this->_out('/Type /Catalog');
	$this->_out('/Pages 1 0 R');
	if($this->ZoomMode=='fullpage')	$this->_out('/OpenAction [3 0 R /Fit]');
	elseif($this->ZoomMode=='fullwidth') $this->_out('/OpenAction [3 0 R /FitH null]');
	elseif($this->ZoomMode=='real')	$this->_out('/OpenAction [3 0 R /XYZ null null 1]');
	elseif(!is_string($this->ZoomMode))	$this->_out('/OpenAction [3 0 R /XYZ null null '.($this->ZoomMode/100).']');
	if($this->LayoutMode=='single')	$this->_out('/PageLayout /SinglePage');
	elseif($this->LayoutMode=='continuous')	$this->_out('/PageLayout /OneColumn');
	elseif($this->LayoutMode=='two') $this->_out('/PageLayout /TwoColumnLeft');
  //EDITEI - added lines below
  if(count($this->outlines)>0)
  {
      $this->_out('/Outlines '.$this->OutlineRoot.' 0 R');
      $this->_out('/PageMode /UseOutlines');
  }
  if(is_int(strpos($this->DisplayPreferences,'FullScreen'))) $this->_out('/PageMode /FullScreen');
  if($this->DisplayPreferences)
  {
     $this->_out('/ViewerPreferences<<');
     if(is_int(strpos($this->DisplayPreferences,'HideMenubar'))) $this->_out('/HideMenubar true');
     if(is_int(strpos($this->DisplayPreferences,'HideToolbar'))) $this->_out('/HideToolbar true');
     if(is_int(strpos($this->DisplayPreferences,'HideWindowUI'))) $this->_out('/HideWindowUI true');
     if(is_int(strpos($this->DisplayPreferences,'DisplayDocTitle'))) $this->_out('/DisplayDocTitle true');
     if(is_int(strpos($this->DisplayPreferences,'CenterWindow'))) $this->_out('/CenterWindow true');
 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久欧美中文字幕| 国产亚洲一区二区三区| 国产乱人伦偷精品视频不卡| 亚洲精品免费在线| 国产香蕉久久精品综合网| 色狠狠一区二区三区香蕉| 国产乱一区二区| 日本亚洲欧美天堂免费| 亚洲国产精品影院| 国产精品一级二级三级| 久久这里只有精品视频网| 欧美日韩中文精品| 高清在线不卡av| 美女www一区二区| 亚洲丝袜精品丝袜在线| 国产亚洲综合性久久久影院| 9191成人精品久久| 色综合久久中文字幕综合网| 国产乱子伦一区二区三区国色天香 | 欧美成人精品高清在线播放| 91免费国产在线| 麻豆久久久久久久| 精品一区二区三区免费观看| 一区二区成人在线观看| 国产日本欧美一区二区| 精品精品欲导航| 精品国产伦一区二区三区观看方式 | 91原创在线视频| 成人在线综合网| 国产经典欧美精品| 国产精品一线二线三线精华| 激情深爱一区二区| 首页国产欧美日韩丝袜| 午夜精品久久久久久久| 天堂va蜜桃一区二区三区| 亚洲成人av中文| 亚洲午夜羞羞片| 午夜激情久久久| 日韩二区三区四区| 喷白浆一区二区| 欧美aaaaaa午夜精品| 久久99久久久久久久久久久| 麻豆高清免费国产一区| 久久电影国产免费久久电影| 精品一区二区三区在线观看国产| 美女www一区二区| 国产一区二区三区香蕉| 国产精品一二三四五| 国产成人精品亚洲777人妖| 播五月开心婷婷综合| 91麻豆免费视频| 欧美午夜免费电影| 日韩一二三四区| 精品国产伦理网| 国产精品成人网| 亚洲国产精品天堂| 裸体一区二区三区| 国产精品一二三在| 色婷婷av一区| 91超碰这里只有精品国产| 精品欧美久久久| 成人欧美一区二区三区小说| 亚洲丰满少妇videoshd| 蜜桃久久av一区| 成人黄色av电影| 欧美精品粉嫩高潮一区二区| 精品国产1区2区3区| 中文字幕一区二区三区在线观看 | 婷婷成人激情在线网| 麻豆精品精品国产自在97香蕉| 国产精品亚洲一区二区三区在线| 91美女蜜桃在线| 日韩一区二区电影在线| 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 精品理论电影在线| 国产精品欧美一区喷水| 亚洲午夜久久久| 国产成人夜色高潮福利影视| 在线一区二区三区四区| 日韩欧美中文字幕精品| 综合色中文字幕| 久久爱www久久做| 在线观看成人免费视频| 久久久久久免费毛片精品| 亚洲自拍偷拍九九九| 国产乱子轮精品视频| 欧美日韩激情一区二区| 欧美韩国日本不卡| 日韩精品三区四区| 成人高清在线视频| 精品免费视频一区二区| 一区二区三区欧美日韩| 国产精品99久| 欧美高清精品3d| 国产精品狼人久久影院观看方式| 日韩激情在线观看| 色偷偷成人一区二区三区91 | 欧美日韩免费观看一区三区| 中文幕一区二区三区久久蜜桃| 秋霞影院一区二区| 欧美性做爰猛烈叫床潮| 欧美韩日一区二区三区| 精品一区二区综合| 欧美欧美欧美欧美首页| 亚洲乱码国产乱码精品精可以看| 国产伦精一区二区三区| 日韩一区二区中文字幕| 亚洲va国产va欧美va观看| 91一区一区三区| 国产精品剧情在线亚洲| 国产不卡视频在线观看| 精品少妇一区二区三区在线播放| 亚洲大片在线观看| 在线免费精品视频| 亚洲免费av高清| 91在线视频播放| 国产精品美女久久久久久2018 | 4438x成人网最大色成网站| 亚洲男人天堂一区| av福利精品导航| 欧美国产成人精品| 国产成人一级电影| 国产欧美精品日韩区二区麻豆天美| 日本aⅴ精品一区二区三区| 欧美喷潮久久久xxxxx| 一区二区成人在线视频| 欧洲国内综合视频| 一区二区三区美女| 91丨九色porny丨蝌蚪| 成人欧美一区二区三区在线播放| www.日韩大片| 中文字幕一区视频| 99久久伊人精品| 1024成人网| 色综合色狠狠综合色| 自拍偷自拍亚洲精品播放| 91蝌蚪porny九色| 亚洲免费观看高清完整版在线| 日本精品免费观看高清观看| 一区二区三区在线观看视频| 色菇凉天天综合网| 国产suv精品一区二区6| 久久美女艺术照精彩视频福利播放| 狠狠色丁香婷婷综合| 国产丝袜欧美中文另类| 波多野结衣精品在线| 一区二区三区四区中文字幕| 欧美亚洲综合色| 蜜臀av一区二区在线免费观看| 欧美大片一区二区| 国产大陆a不卡| 中文字幕中文乱码欧美一区二区| 色综合天天在线| 天天色综合天天| 欧美成人激情免费网| 高清不卡一区二区| 一区二区视频在线| 91精品欧美综合在线观看最新| 日本成人在线网站| 国产日韩av一区二区| 99久久精品国产毛片| 亚洲电影视频在线| 精品捆绑美女sm三区| 99久久国产综合精品女不卡| 亚洲妇女屁股眼交7| 精品国产自在久精品国产| 国产91色综合久久免费分享| 亚洲精品日韩专区silk| 欧美一二三区在线观看| 高清不卡在线观看av| 亚洲一卡二卡三卡四卡五卡| 欧美不卡在线视频| 色综合久久综合| 久久国产精品第一页| 亚洲码国产岛国毛片在线| 欧美一区二区三区视频免费| 成人在线一区二区三区| 午夜a成v人精品| 中文字幕一区二区三区蜜月| 欧美精品一卡两卡| 粉嫩av一区二区三区| 亚洲国产精品久久久久婷婷884| 精品欧美乱码久久久久久1区2区| 91麻豆视频网站| 国产资源在线一区| 亚洲一区二区欧美| 国产视频亚洲色图| 51久久夜色精品国产麻豆| 国产福利一区二区三区视频| 婷婷中文字幕一区三区| 中文字幕第一页久久| 7777精品伊人久久久大香线蕉经典版下载 | 国产成人日日夜夜| 亚洲高清免费视频| 亚洲欧洲成人自拍| 欧美精品一区二区精品网| 欧美午夜片在线看| 91在线视频官网| 国产乱色国产精品免费视频| 奇米影视一区二区三区小说|