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 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) Implements interfaces: PHPExcel_Writer_IWriter | ### Variables $_tempDir | ### Methods __construct getTempDir save setTempDir
### Inherited Variables #### Class: PHPExcel_Writer_HTML PHPExcel_Writer_HTML::$_columnWidths PHPExcel_Writer_HTML::$_cssStyles PHPExcel_Writer_HTML::$_defaultFont PHPExcel_Writer_HTML::$_imagesRoot PHPExcel_Writer_HTML::$_isBaseCell PHPExcel_Writer_HTML::$_isPdf PHPExcel_Writer_HTML::$_isSpannedCell PHPExcel_Writer_HTML::$_isSpannedRow PHPExcel_Writer_HTML::$_phpExcel PHPExcel_Writer_HTML::$_preCalculateFormulas PHPExcel_Writer_HTML::$_sheetIndex PHPExcel_Writer_HTML::$_spansAreCalculated PHPExcel_Writer_HTML::$_useInlineCss | ### 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::generateSheetData() Generate sheet data PHPExcel_Writer_HTML::generateStyles() Generate CSS styles 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::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) PHPExcel_Writer_HTML::_assembleCSS() Takes array where of CSS properties / values and converts to CSS string PHPExcel_Writer_HTML::_calculateSpans() Calculate information about HTML colspan and rowspan which is not always the same as Excel's PHPExcel_Writer_HTML::_convertNbsp() Converts a string so that spaces occuring at beginning of each new line are replaced by &nbsp; PHPExcel_Writer_HTML::_createCSSStyle() Create CSS style PHPExcel_Writer_HTML::_createCSSStyleAlignment() Create CSS style (PHPExcel_Style_Alignment) PHPExcel_Writer_HTML::_createCSSStyleBorder() Create CSS style (PHPExcel_Style_Border) PHPExcel_Writer_HTML::_createCSSStyleBorders() Create CSS style (PHPExcel_Style_Borders) PHPExcel_Writer_HTML::_createCSSStyleFill() Create CSS style (PHPExcel_Style_Fill) PHPExcel_Writer_HTML::_createCSSStyleFont() Create CSS style (PHPExcel_Style_Font) PHPExcel_Writer_HTML::_generateRow() Generate row PHPExcel_Writer_HTML::_generateTableFooter() Generate table footer PHPExcel_Writer_HTML::_generateTableHeader() Generate table header PHPExcel_Writer_HTML::_mapBorderStyle() Map border style PHPExcel_Writer_HTML::_mapHAlign() Map HAlign PHPExcel_Writer_HTML::_mapVAlign() Map VAlign PHPExcel_Writer_HTML::_writeImageTagInCell() Generate image tag in cell
### Class Details [line 69] PHPExcel_Writer_PDF PHPExcel_Writer_PDF #### Tags:
copyright: | Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
[ Top ] ### Class Variables #### $_tempDir = '' [line 75] Temporary storage directory Temporary storage directory #### Tags:
access: | private
Type: | string
[ Top ] ### Class Methods ### constructor __construct [line 82]
`PHPExcel_Writer_PDF __construct( $phpExcel)`
Create a new PHPExcel_Writer_PDF 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 getTempDir [line 165]
`string getTempDir( )`
Get temporary storage directory Get temporary storage directory #### Tags:
access: | public
[ Top ] ### method save [line 94]
`void save( [ $pFilename = null], string $pFileName)`
Save PHPExcel to file 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 setTempDir [line 176]
`PHPExcel_Writer_PDF setTempDir( [string $pValue = ''])`
Set temporary storage directory 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 Mon, 11 Jan 2010 08:12:53 +0100 by phpDocumentor 1.4.1