\PHPExcel_Worksheet_SheetView

PHPExcel_Worksheet_SheetView

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()
getZoomScale()
setZoomScale()
getZoomScaleNormal()
setZoomScaleNormal()
getView()
setView()
__clone()
No public properties found
SHEETVIEW_NORMAL
SHEETVIEW_PAGE_LAYOUT
SHEETVIEW_PAGE_BREAK_PREVIEW
No protected methods found
No protected properties found
N/A
No private methods found
$sheetViewTypes
$zoomScale
$zoomScaleNormal
$sheetviewType
N/A

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 : 

Type

$zoomScale

$zoomScale : integer

ZoomScale

Valid values range from 10 to 400.

Type

integer

$zoomScaleNormal

$zoomScaleNormal : integer

ZoomScaleNormal

Valid values range from 10 to 400.

Type

integer

$sheetviewType

$sheetviewType : string

View

Valid values range from 10 to 400.

Type

string

Methods

__construct()

__construct() 

Create a new PHPExcel_Worksheet_SheetView

getZoomScale()

getZoomScale() : integer

Get ZoomScale

Returns

integer

setZoomScale()

setZoomScale(integer  $pValue = 100) : \PHPExcel_Worksheet_SheetView

Set ZoomScale

Valid values range from 10 to 400.

Parameters

integer $pValue

Throws

\PHPExcel_Exception

Returns

\PHPExcel_Worksheet_SheetView

getZoomScaleNormal()

getZoomScaleNormal() : integer

Get ZoomScaleNormal

Returns

integer

setZoomScaleNormal()

setZoomScaleNormal(integer  $pValue = 100) : \PHPExcel_Worksheet_SheetView

Set ZoomScale

Valid values range from 10 to 400.

Parameters

integer $pValue

Throws

\PHPExcel_Exception

Returns

\PHPExcel_Worksheet_SheetView

getView()

getView() : string

Get View

Returns

string

setView()

setView(string  $pValue = null) : \PHPExcel_Worksheet_SheetView

Set View

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

Parameters

string $pValue

Throws

\PHPExcel_Exception

Returns

\PHPExcel_Worksheet_SheetView

__clone()

__clone() 

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