\PHPExcel_Writer_Excel2007_Drawing

PHPExcel_Writer_Excel2007_Drawing

Copyright (c) 2006 - 2015 PHPExcel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Summary

Methods
Properties
Constants
setParentWriter()
getParentWriter()
__construct()
writeDrawings()
writeChart()
writeDrawing()
writeVMLHeaderFooterImages()
allDrawings()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
writeVMLHeaderFooterImage()
$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

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

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