Constants

SHEETVIEW_NORMAL

SHEETVIEW_NORMAL = 'normal'

SHEETVIEW_PAGE_LAYOUT

SHEETVIEW_PAGE_LAYOUT = 'pageLayout'

SHEETVIEW_PAGE_BREAK_PREVIEW

SHEETVIEW_PAGE_BREAK_PREVIEW = 'pageBreakPreview'

Properties

$sheetViewTypes

$sheetViewTypes

$zoomScale

$zoomScale : int

ZoomScale.

Valid values range from 10 to 400.

Type

int

$zoomScaleNormal

$zoomScaleNormal : int

ZoomScaleNormal.

Valid values range from 10 to 400.

Type

int

$showZeros

$showZeros : bool

ShowZeros.

If true, "null" values from a calculation will be shown as "0". This is the default Excel behaviour and can be changed with the advanced worksheet option "Show a zero in cells that have zero value"

Type

bool

$sheetviewType

$sheetviewType : string

View.

Valid values range from 10 to 400.

Type

string

Methods

__construct()

__construct() : mixed

Create a new SheetView.

Returns

mixed —

getZoomScale()

getZoomScale() : int

Get ZoomScale.

Returns

int —

setZoomScale()

setZoomScale(int  $pValue) : $this

Set ZoomScale.

Valid values range from 10 to 400.

Parameters

int $pValue

Returns

$this —

getZoomScaleNormal()

getZoomScaleNormal() : int

Get ZoomScaleNormal.

Returns

int —

setZoomScaleNormal()

setZoomScaleNormal(int  $pValue) : $this

Set ZoomScale.

Valid values range from 10 to 400.

Parameters

int $pValue

Returns

$this —

setShowZeros()

setShowZeros(bool  $pValue) : void

Set ShowZeroes setting.

Parameters

bool $pValue

getShowZeros()

getShowZeros() : bool

Returns

bool —

getView()

getView() : string

Get View.

Returns

string —

setView()

setView(string  $pValue) : $this

Set View.

Valid values are 'normal' self::SHEETVIEW_NORMAL 'pageLayout' self::SHEETVIEW_PAGE_LAYOUT 'pageBreakPreview' self::SHEETVIEW_PAGE_BREAK_PREVIEW

Parameters

string $pValue

Returns

$this —

__clone()

__clone() : mixed

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

Returns

mixed —