$_tempDir
$_tempDir : string
Temporary storage directory
PHPExcel_Writer_PDF_tcPDF
@category PHPExcel
$_phpExcel : \PHPExcel
PHPExcel object
$_defaultFont : \PHPExcel_Style_Font
Default font
__construct(\PHPExcel $phpExcel)
Create a new PHPExcel_Writer_PDF
@param PHPExcel $phpExcel PHPExcel object
\PHPExcel | $phpExcel | PHPExcel object |
setPaperSize( $pValue = \PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER) : \PHPExcel_Writer_PDF
Set Paper Size
@param string $pValue Paper size
$pValue |
setOrientation( $pValue = \PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT) : \PHPExcel_Writer_PDF
Set Orientation
@param string $pValue Page orientation
$pValue |
setSheetIndex(integer $pValue) : \PHPExcel_Writer_HTML
Set sheet index
integer | $pValue | Sheet index |
setGenerateSheetNavigationBlock(boolean $pValue = true) : \PHPExcel_Writer_HTML
Set sheet index
boolean | $pValue | Flag indicating whether the sheet navigation block should be generated or not |
setImagesRoot(string $pValue = '.') : \PHPExcel_Writer_HTML
Set images root
string | $pValue |
setEmbedImages(boolean $pValue = '.') : \PHPExcel_Writer_HTML
Set embed images
boolean | $pValue |
setUseInlineCss(boolean $pValue = false) : \PHPExcel_Writer_HTML
Set use inline CSS?
boolean | $pValue |
setIncludeCharts(boolean $pValue = FALSE) : \PHPExcel_Writer_IWriter
Set write charts in workbook Set to true, to advise the Writer to include any charts that exist in the PHPExcel object.
Set to false (the default) to ignore charts.
boolean | $pValue |
getPreCalculateFormulas() : boolean
Get Pre-Calculate Formulas flag If this is true (the default), then the writer will recalculate all formulae in a workbook when saving, so that the pre-calculated values are immediately available to MS Excel or other office spreadsheet viewer when opening the file If false, then formulae are not calculated on save. This is faster for saving in PHPExcel, but slower when opening the resulting file in MS Excel, because Excel has to recalculate the formulae itself
setPreCalculateFormulas(boolean $pValue = TRUE) : \PHPExcel_Writer_IWriter
Set Pre-Calculate Formulas Set to true (the default) to advise the Writer to calculate all formulae on save Set to false to prevent precalculation of formulae on save.
boolean | $pValue | Pre-Calculate Formulas? |
setUseDiskCaching(boolean $pValue = FALSE, string $pDirectory = NULL) : \PHPExcel_Writer_Excel2007
Set use disk caching where possible?
boolean | $pValue | |
string | $pDirectory | Disk caching directory |
when directory does not exist
_extendRowsForChartsAndImages(\PHPExcel_Worksheet $pSheet, $row)
\PHPExcel_Worksheet | $pSheet | |
$row |
_writeImageInCell(\PHPExcel_Worksheet $pSheet, string $coordinates) : string
Generate image tag in cell
\PHPExcel_Worksheet | $pSheet | PHPExcel_Worksheet |
string | $coordinates | Cell coordinates |
_writeChartInCell(\PHPExcel_Worksheet $pSheet, string $coordinates) : string
Generate chart tag in cell
\PHPExcel_Worksheet | $pSheet | PHPExcel_Worksheet |
string | $coordinates | Cell coordinates |
_createCSSStyle(\PHPExcel_Style $pStyle) : array
Create CSS style
\PHPExcel_Style | $pStyle | PHPExcel_Style |
_createCSSStyleAlignment(\PHPExcel_Style_Alignment $pStyle) : array
Create CSS style (PHPExcel_Style_Alignment)
\PHPExcel_Style_Alignment | $pStyle | PHPExcel_Style_Alignment |
_createCSSStyleFont(\PHPExcel_Style_Font $pStyle) : array
Create CSS style (PHPExcel_Style_Font)
\PHPExcel_Style_Font | $pStyle | PHPExcel_Style_Font |
_createCSSStyleBorders(\PHPExcel_Style_Borders $pStyle) : array
Create CSS style (PHPExcel_Style_Borders)
\PHPExcel_Style_Borders | $pStyle | PHPExcel_Style_Borders |
_createCSSStyleBorder(\PHPExcel_Style_Border $pStyle) : string
Create CSS style (PHPExcel_Style_Border)
\PHPExcel_Style_Border | $pStyle | PHPExcel_Style_Border |
_createCSSStyleFill(\PHPExcel_Style_Fill $pStyle) : array
Create CSS style (PHPExcel_Style_Fill)
\PHPExcel_Style_Fill | $pStyle | PHPExcel_Style_Fill |
_generateTableHeader(\PHPExcel_Worksheet $pSheet) : string
Generate table header
\PHPExcel_Worksheet | $pSheet | The worksheet for the table we are writing |
_generateRow(\PHPExcel_Worksheet $pSheet, array $pValues = null, integer $pRow) : string
Generate row
\PHPExcel_Worksheet | $pSheet | PHPExcel_Worksheet |
array | $pValues | Array containing cells in a row |
integer | $pRow | Row number (0-based) |
_setMargins(\PHPExcel_Worksheet $pSheet)
\PHPExcel_Worksheet | $pSheet |