class PHPExcel_Worksheet_SheetView

PHPExcelWorksheetSheetView

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

Constants

SHEETVIEW_NORMAL

SHEETVIEW_PAGE_LAYOUT

SHEETVIEW_PAGE_BREAK_PREVIEW

Methods

__construct()

Create a new PHPExcelWorksheetSheetView

int
getZoomScale()

Get ZoomScale

setZoomScale(int $pValue = 100)

Set ZoomScale

int
getZoomScaleNormal()

Get ZoomScaleNormal

setZoomScaleNormal(int $pValue = 100)

Set ZoomScale

string
getView()

Get View

setView(string $pValue = null)

Set View

__clone()

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

Details

at line 81
__construct()

Create a new PHPExcelWorksheetSheetView

at line 90
int getZoomScale()

Get ZoomScale

Return Value

int

at line 104
PHPExcel_Worksheet_SheetView setZoomScale(int $pValue = 100)

Set ZoomScale

Valid values range from 10 to 400.

Parameters

int $pValue

Return Value

PHPExcel_Worksheet_SheetView

Exceptions

PHPExcel_Exception

at line 121
int getZoomScaleNormal()

Get ZoomScaleNormal

Return Value

int

at line 135
PHPExcel_Worksheet_SheetView setZoomScaleNormal(int $pValue = 100)

Set ZoomScale

Valid values range from 10 to 400.

Parameters

int $pValue

Return Value

PHPExcel_Worksheet_SheetView

Exceptions

PHPExcel_Exception

at line 150
string getView()

Get View

Return Value

string

at line 167
PHPExcel_Worksheet_SheetView setView(string $pValue = null)

Set View

Valid values are 'normal' self::SHEETVIEWNORMAL 'pageLayout' self::SHEETVIEWPAGELAYOUT 'pageBreakPreview' self::SHEETVIEWPAGEBREAKPREVIEW

Parameters

string $pValue

Return Value

PHPExcel_Worksheet_SheetView

Exceptions

PHPExcel_Exception

at line 185
__clone()

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