\PHPExcel_Writer_Excel2007_Rels

PHPExcel_Writer_Excel2007_Rels

Summary

Methods
Properties
Constants
setParentWriter()
getParentWriter()
__construct()
writeRelationships()
writeWorkbookRelationships()
writeWorksheetRelationships()
writeDrawingRelationships()
writeHeaderFooterDrawingRelationships()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
_writeRelationship()
$_parentWriter
N/A

Properties

Methods

setParentWriter()

setParentWriter(\PHPExcel_Writer_IWriter  $pWriter = null) 

Set parent IWriter object

Parameters

\PHPExcel_Writer_IWriter $pWriter

Throws

\PHPExcel_Writer_Exception

getParentWriter()

getParentWriter() : \PHPExcel_Writer_IWriter

Get parent IWriter object

Throws

\PHPExcel_Writer_Exception

Returns

\PHPExcel_Writer_IWriter

__construct()

__construct(\PHPExcel_Writer_IWriter  $pWriter = null) 

Set parent IWriter object

Parameters

\PHPExcel_Writer_IWriter $pWriter

Throws

\PHPExcel_Writer_Exception

writeRelationships()

writeRelationships(\PHPExcel  $pPHPExcel = null) : string

Write relationships to XML format

Parameters

\PHPExcel $pPHPExcel

Throws

\PHPExcel_Writer_Exception

Returns

string —

XML Output

writeWorkbookRelationships()

writeWorkbookRelationships(\PHPExcel  $pPHPExcel = null) : string

Write workbook relationships to XML format

Parameters

\PHPExcel $pPHPExcel

Throws

\PHPExcel_Writer_Exception

Returns

string —

XML Output

writeWorksheetRelationships()

writeWorksheetRelationships(\PHPExcel_Worksheet  $pWorksheet = null, integer  $pWorksheetId = 1, boolean  $includeCharts = FALSE) : string

Write worksheet relationships to XML format

Numbering is as follows: rId1 - Drawings rId_hyperlink_x - Hyperlinks

Parameters

\PHPExcel_Worksheet $pWorksheet
integer $pWorksheetId
boolean $includeCharts

Flag indicating if we should write charts

Throws

\PHPExcel_Writer_Exception

Returns

string —

XML Output

writeDrawingRelationships()

writeDrawingRelationships(\PHPExcel_Worksheet  $pWorksheet = null,   $chartRef, boolean  $includeCharts = FALSE) : string

Write drawing relationships to XML format

Parameters

\PHPExcel_Worksheet $pWorksheet
$chartRef
boolean $includeCharts

Flag indicating if we should write charts

Throws

\PHPExcel_Writer_Exception

Returns

string —

XML Output

writeHeaderFooterDrawingRelationships()

writeHeaderFooterDrawingRelationships(\PHPExcel_Worksheet  $pWorksheet = null) : string

Write header/footer drawing relationships to XML format

Parameters

\PHPExcel_Worksheet $pWorksheet

Throws

\PHPExcel_Writer_Exception

Returns

string —

XML Output

_writeRelationship()

_writeRelationship(\PHPExcel_Shared_XMLWriter  $objWriter = null, integer  $pId = 1, string  $pType = '', string  $pTarget = '', string  $pTargetMode = '') 

Write Override content type

Parameters

\PHPExcel_Shared_XMLWriter $objWriter

XML Writer

integer $pId

Relationship ID. rId will be prepended!

string $pType

Relationship type

string $pTarget

Relationship target

string $pTargetMode

Relationship target mode

Throws

\PHPExcel_Writer_Exception