category |
PHPExcel |
package |
PHPExcel_Writer_Excel2007 |
copyright |
Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) |
Methods
Set parent IWriter object
__construct(\PHPExcel_Writer_IWriter $pWriter)
Inherited
inherited_from |
\PHPExcel_Writer_Excel2007_WriterPart::__construct() |
Parameters
Exceptions
Get parent IWriter object
getParentWriter() : \PHPExcel_Writer_IWriter
Inherited
inherited_from |
\PHPExcel_Writer_Excel2007_WriterPart::getParentWriter() |
Exceptions
Returns
Set parent IWriter object
setParentWriter(\PHPExcel_Writer_IWriter $pWriter)
Inherited
inherited_from |
\PHPExcel_Writer_Excel2007_WriterPart::setParentWriter() |
Parameters
Exceptions
Write workbook to XML format
writeWorkbook(\PHPExcel $pPHPExcel, boolean $recalcRequired) : string
Parameters
$recalcRequired
boolean
Indicate whether formulas should be recalculated before writing
Exceptions
Returns
string
XML Output
Write BookViews
_writeBookViews(\PHPExcel_Shared_XMLWriter $objWriter, \PHPExcel $pPHPExcel)
Write calcPr
_writeCalcPr(\PHPExcel_Shared_XMLWriter $objWriter, boolean $recalcRequired)
Parameters
$recalcRequired
boolean
Indicate whether formulas should be recalculated before writing
Exceptions
Write Defined Name for autoFilter
_writeDefinedNameForAutofilter(\PHPExcel_Shared_XMLWriter $objWriter, \PHPExcel_Worksheet $pSheet, int $pSheetId)
Parameters
$pSheetId
int
Exceptions
Write Defined Name for named range
_writeDefinedNameForNamedRange(\PHPExcel_Shared_XMLWriter $objWriter, \PHPExcel_NamedRange $pNamedRange)
Write Defined Name for PrintTitles
_writeDefinedNameForPrintArea(\PHPExcel_Shared_XMLWriter $objWriter, \PHPExcel_Worksheet $pSheet, int $pSheetId)
Parameters
$pSheetId
int
Exceptions
Write Defined Name for PrintTitles
_writeDefinedNameForPrintTitles(\PHPExcel_Shared_XMLWriter $objWriter, \PHPExcel_Worksheet $pSheet, int $pSheetId)
Parameters
$pSheetId
int
Exceptions
Write Defined Names
_writeDefinedNames(\PHPExcel_Shared_XMLWriter $objWriter, \PHPExcel $pPHPExcel)
Write file version
_writeFileVersion(\PHPExcel_Shared_XMLWriter $objWriter)
Write named ranges
_writeNamedRanges(\PHPExcel_Shared_XMLWriter $objWriter, \PHPExcel $pPHPExcel)
Write sheet
_writeSheet(\PHPExcel_Shared_XMLWriter $objWriter, string $pSheetname, int $pSheetId, int $pRelId, string $sheetState)
Parameters
$pSheetname
string
Sheet name
$pRelId
int
Relationship ID
$sheetState
string
Sheet state (visible, hidden, veryHidden)
Exceptions
Write sheets
_writeSheets(\PHPExcel_Shared_XMLWriter $objWriter, \PHPExcel $pPHPExcel)
Write WorkbookPr
_writeWorkbookPr(\PHPExcel_Shared_XMLWriter $objWriter)
Write WorkbookProtection
_writeWorkbookProtection(\PHPExcel_Shared_XMLWriter $objWriter, \PHPExcel $pPHPExcel)
Properties
$_parentWriter : \PHPExcel_Writer_IWriter
Inherited
inherited_from |
\PHPExcel_Writer_Excel2007_WriterPart::$$_parentWriter |