\PHPExcel_Worksheet_HeaderFooterDrawing

PHPExcel_Worksheet_HeaderFooterDrawing

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
__construct()
getFilename()
getIndexedFilename()
getExtension()
getPath()
setPath()
getHashCode()
__clone()
getImageIndex()
getName()
setName()
getDescription()
setDescription()
getWorksheet()
setWorksheet()
getCoordinates()
setCoordinates()
getOffsetX()
setOffsetX()
getOffsetY()
setOffsetY()
getWidth()
setWidth()
getHeight()
setHeight()
setWidthAndHeight()
getResizeProportional()
setResizeProportional()
getRotation()
setRotation()
getShadow()
setShadow()
No public properties found
No constants found
No protected methods found
$name
$description
$worksheet
$coordinates
$offsetX
$offsetY
$width
$height
$resizeProportional
$rotation
$shadow
N/A
No private methods found
$path
$imageCounter
$imageIndex
N/A

Properties

$name

$name : string

Name

Type

string —

$description

$description : string

Description

Type

string —

$coordinates

$coordinates : string

Coordinates

Type

string —

$offsetX

$offsetX : int

Offset X

Type

int —

$offsetY

$offsetY : int

Offset Y

Type

int —

$width

$width : int

Width

Type

int —

$height

$height : int

Height

Type

int —

$resizeProportional

$resizeProportional : bool

Proportional resize

Type

bool —

$rotation

$rotation : int

Rotation

Type

int —

$path

$path : string

Path

Type

string —

$imageCounter

$imageCounter : int

Image counter

Type

int —

$imageIndex

$imageIndex : int

Image index

Type

int —

Methods

__construct()

__construct() : mixed

Create a new PHPExcel_Worksheet_HeaderFooterDrawing

Returns

mixed —

getFilename()

getFilename() : string

Get Filename

Returns

string —

getIndexedFilename()

getIndexedFilename() : string

Get indexed filename (using image index)

Returns

string —

getExtension()

getExtension() : string

Get Extension

Returns

string —

getPath()

getPath() : string

Get Path

Returns

string —

setPath()

setPath(string  $pValue = '', bool  $pVerifyFile = true) : \PHPExcel_Worksheet_HeaderFooterDrawing

Set Path

Parameters

string $pValue

File path

bool $pVerifyFile

Verify file

Throws

\PHPExcel_Exception

Returns

\PHPExcel_Worksheet_HeaderFooterDrawing —

getHashCode()

getHashCode() : string

Get hash code

Returns

string —

Hash code

__clone()

__clone() : mixed

Implement PHP __clone to create a deep clone, not just a shallow copy.

Returns

mixed —

getImageIndex()

getImageIndex() : int

Get image index

Returns

int —

getName()

getName() : string

Get Name

Returns

string —

setName()

setName(string  $pValue = '') : \PHPExcel_Worksheet_HeaderFooterDrawing

Set Name

Parameters

string $pValue

Returns

\PHPExcel_Worksheet_HeaderFooterDrawing —

getDescription()

getDescription() : string

Get Description

Returns

string —

setDescription()

setDescription(string  $pValue = '') : \PHPExcel_Worksheet_BaseDrawing

Set Description

Parameters

string $pValue

Returns

\PHPExcel_Worksheet_BaseDrawing —

getWorksheet()

getWorksheet() : \PHPExcel_Worksheet

Get Worksheet

Returns

\PHPExcel_Worksheet —

setWorksheet()

setWorksheet(\PHPExcel_Worksheet  $pValue = null, bool  $pOverrideOld = false) : \PHPExcel_Worksheet_BaseDrawing

Set Worksheet

Parameters

\PHPExcel_Worksheet $pValue
bool $pOverrideOld

If a Worksheet has already been assigned, overwrite it and remove image from old Worksheet?

Throws

\PHPExcel_Exception

Returns

\PHPExcel_Worksheet_BaseDrawing —

getCoordinates()

getCoordinates() : string

Get Coordinates

Returns

string —

setCoordinates()

setCoordinates(string  $pValue = 'A1') : \PHPExcel_Worksheet_BaseDrawing

Set Coordinates

Parameters

string $pValue

Returns

\PHPExcel_Worksheet_BaseDrawing —

getOffsetX()

getOffsetX() : int

Get OffsetX

Returns

int —

setOffsetX()

setOffsetX(int  $pValue) : \PHPExcel_Worksheet_HeaderFooterDrawing

Set OffsetX

Parameters

int $pValue

Returns

\PHPExcel_Worksheet_HeaderFooterDrawing —

getOffsetY()

getOffsetY() : int

Get OffsetY

Returns

int —

setOffsetY()

setOffsetY(int  $pValue) : \PHPExcel_Worksheet_HeaderFooterDrawing

Set OffsetY

Parameters

int $pValue

Returns

\PHPExcel_Worksheet_HeaderFooterDrawing —

getWidth()

getWidth() : int

Get Width

Returns

int —

setWidth()

setWidth(int  $pValue) : \PHPExcel_Worksheet_HeaderFooterDrawing

Set Width

Parameters

int $pValue

Returns

\PHPExcel_Worksheet_HeaderFooterDrawing —

getHeight()

getHeight() : int

Get Height

Returns

int —

setHeight()

setHeight(int  $pValue) : \PHPExcel_Worksheet_HeaderFooterDrawing

Set Height

Parameters

int $pValue

Returns

\PHPExcel_Worksheet_HeaderFooterDrawing —

setWidthAndHeight()

setWidthAndHeight(int  $width, int  $height) : \PHPExcel_Worksheet_HeaderFooterDrawing

Set width and height with proportional resize Example: <code> $objDrawing->setResizeProportional(true); $objDrawing->setWidthAndHeight(160,120); </code>

Parameters

int $width
int $height

Returns

\PHPExcel_Worksheet_HeaderFooterDrawing —

getResizeProportional()

getResizeProportional() : bool

Get ResizeProportional

Returns

bool —

setResizeProportional()

setResizeProportional(bool  $pValue = true) : \PHPExcel_Worksheet_HeaderFooterDrawing

Set ResizeProportional

Parameters

bool $pValue

Returns

\PHPExcel_Worksheet_HeaderFooterDrawing —

getRotation()

getRotation() : int

Get Rotation

Returns

int —

setRotation()

setRotation(int  $pValue) : \PHPExcel_Worksheet_BaseDrawing

Set Rotation

Parameters

int $pValue

Returns

\PHPExcel_Worksheet_BaseDrawing —

getShadow()

getShadow() : \PHPExcel_Worksheet_Drawing_Shadow

Get Shadow

Returns

\PHPExcel_Worksheet_Drawing_Shadow —

setShadow()

setShadow(\PHPExcel_Worksheet_Drawing_Shadow  $pValue = null) : \PHPExcel_Worksheet_BaseDrawing

Set Shadow

Parameters

\PHPExcel_Worksheet_Drawing_Shadow $pValue

Throws

\PHPExcel_Exception

Returns

\PHPExcel_Worksheet_BaseDrawing —