PHPExcel_Writer

# Class: PHPExcel_Writer_PDF Source Location: /PHPExcel/Writer/PDF.php
### Class Overview
    PHPExcel_Writer_HTML
       |
       --PHPExcel_Writer_PDF
PHPExcel_Writer_PDF #### Author(s): #### Copyright: Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel) Implements interfaces: PHPExcel_Writer_IWriter | ### Methods __construct getOrientation getPaperSize getTempDir save setFont setOrientation setPaperSize setTempDir
### Inherited Variables #### Class: PHPExcel_Writer_HTML PHPExcel_Writer_HTML::$_isPdf PHPExcel_Writer_HTML::$_phpExcel | ### Inherited Methods #### Class: PHPExcel_Writer_HTML PHPExcel_Writer_HTML::__construct() Create a new PHPExcel_Writer_HTML PHPExcel_Writer_HTML::buildCSS() Build CSS styles PHPExcel_Writer_HTML::formatColor() Add color to formatted string as inline style PHPExcel_Writer_HTML::generateHTMLFooter() Generate HTML footer PHPExcel_Writer_HTML::generateHTMLHeader() Generate HTML header PHPExcel_Writer_HTML::generateNavigation() Generate sheet tabs PHPExcel_Writer_HTML::generateSheetData() Generate sheet data PHPExcel_Writer_HTML::generateStyles() Generate CSS styles PHPExcel_Writer_HTML::getGenerateSheetNavigationBlock() Get sheet index PHPExcel_Writer_HTML::getImagesRoot() Get images root PHPExcel_Writer_HTML::getPreCalculateFormulas() Get Pre-Calculate Formulas PHPExcel_Writer_HTML::getSheetIndex() Get sheet index PHPExcel_Writer_HTML::getUseInlineCss() Get use inline CSS? PHPExcel_Writer_HTML::save() Save PHPExcel to file PHPExcel_Writer_HTML::setGenerateSheetNavigationBlock() Set sheet index PHPExcel_Writer_HTML::setImagesRoot() Set images root PHPExcel_Writer_HTML::setPreCalculateFormulas() Set Pre-Calculate Formulas PHPExcel_Writer_HTML::setSheetIndex() Set sheet index PHPExcel_Writer_HTML::setUseInlineCss() Set use inline CSS? PHPExcel_Writer_HTML::writeAllSheets() Write all sheets (resets sheetIndex to NULL)
### Class Details [line 40] PHPExcel_Writer_PDF #### Tags:
copyright: | Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)
[ Top ] ### Class Methods ### constructor __construct [line 150]
`PHPExcel_Writer_PDF __construct( $phpExcel)`
Create a new PHPExcel_Writer_PDF #### Tags:
access: | public
Overrides PHPExcel_Writer_HTML::__construct() (Create a new PHPExcel_Writer_HTML) #### Parameters:
PHPExcel | $phpExcel | PHPExcel object
[ Top ] ### method getOrientation [line 195]
`string getOrientation( )`
Get Orientation #### Tags:
access: | public
[ Top ] ### method getPaperSize [line 175]
`int getPaperSize( )`
Get Paper Size #### Tags:
access: | public
[ Top ] ### method getTempDir [line 309]
`string getTempDir( )`
Get temporary storage directory #### Tags:
access: | public
[ Top ] ### method save [line 216]
`void save( [ $pFilename = null], string $pFileName)`
Save PHPExcel to file #### Tags:
throws: | Exception
access: | public
Implementation of: PHPExcel_Writer_IWriter::save() Save PHPExcel to file Overrides PHPExcel_Writer_HTML::save() (Save PHPExcel to file) #### Parameters:
string | $pFileName |
| $pFilename |
[ Top ] ### method setFont [line 165]
`void setFont( string $fontName)`
Set font. Examples: 'arialunicid0-chinese-simplified' 'arialunicid0-chinese-traditional' 'arialunicid0-korean' 'arialunicid0-japanese' #### Tags:
access: | public
#### Parameters:
string | $fontName |
[ Top ] ### method setOrientation [line 205]
`PHPExcel_Writer_PDF setOrientation( [string $pValue = PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT])`
Set Orientation #### Tags:
access: | public
#### Parameters:
string | $pValue |
[ Top ] ### method setPaperSize [line 185]
`PHPExcel_Writer_PDF setPaperSize( [int $pValue = PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER])`
Set Paper Size #### Tags:
access: | public
#### Parameters:
int | $pValue |
[ Top ] ### method setTempDir [line 320]
`PHPExcel_Writer_PDF setTempDir( [string $pValue = ''])`
Set temporary storage directory #### Tags:
throws: | Exception Exception when directory does not exist
access: | public
#### Parameters:
string | $pValue | Temporary storage directory
[ Top ] Documentation generated on Sun, 27 Feb 2011 16:33:21 -0800 by phpDocumentor 1.4.3