\PHPExcel_Writer_Excel2007_Drawing

PHPExcel_Writer_Excel2007_Drawing

Summary

Methods
Properties
Constants
setParentWriter()
getParentWriter()
__construct()
writeDrawings()
_writeChart()
_writeDrawing()
writeVMLHeaderFooterImages()
_writeVMLHeaderFooterImage()
allDrawings()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_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

writeDrawings()

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

Write drawings to XML format

Parameters

\PHPExcel_Worksheet $pWorksheet
$chartRef
boolean $includeCharts

Flag indicating if we should include drawing details for charts

Throws

\PHPExcel_Writer_Exception

Returns

string —

XML Output

_writeChart()

_writeChart(\PHPExcel_Shared_XMLWriter  $objWriter = null, \PHPExcel_Chart  $pChart = null, integer  $pRelationId = -1) 

Write drawings to XML format

Parameters

\PHPExcel_Shared_XMLWriter $objWriter

XML Writer

\PHPExcel_Chart $pChart
integer $pRelationId

Throws

\PHPExcel_Writer_Exception

_writeDrawing()

_writeDrawing(\PHPExcel_Shared_XMLWriter  $objWriter = null, \PHPExcel_Worksheet_BaseDrawing  $pDrawing = null, integer  $pRelationId = -1) 

Write drawings to XML format

Parameters

\PHPExcel_Shared_XMLWriter $objWriter

XML Writer

\PHPExcel_Worksheet_BaseDrawing $pDrawing
integer $pRelationId

Throws

\PHPExcel_Writer_Exception

writeVMLHeaderFooterImages()

writeVMLHeaderFooterImages(\PHPExcel_Worksheet  $pWorksheet = null) : string

Write VML header/footer images to XML format

Parameters

\PHPExcel_Worksheet $pWorksheet

Throws

\PHPExcel_Writer_Exception

Returns

string —

XML Output

_writeVMLHeaderFooterImage()

_writeVMLHeaderFooterImage(\PHPExcel_Shared_XMLWriter  $objWriter = null, string  $pReference = '', \PHPExcel_Worksheet_HeaderFooterDrawing  $pImage = null) 

Write VML comment to XML format

Parameters

\PHPExcel_Shared_XMLWriter $objWriter

XML Writer

string $pReference

Reference

\PHPExcel_Worksheet_HeaderFooterDrawing $pImage

Image

Throws

\PHPExcel_Writer_Exception

allDrawings()

allDrawings(\PHPExcel  $pPHPExcel = null) : array<mixed,\PHPExcel_Worksheet_Drawing>

Get an array of all drawings

Parameters

\PHPExcel $pPHPExcel

Throws

\PHPExcel_Writer_Exception

Returns

array<mixed,\PHPExcel_Worksheet_Drawing> —

All drawings in PHPExcel