Documentation

SheetView
in package

Table of Contents

Constants

SHEETVIEW_NORMAL  = 'normal'
SHEETVIEW_PAGE_BREAK_PREVIEW  = 'pageBreakPreview'
SHEETVIEW_PAGE_LAYOUT  = 'pageLayout'

Methods

__construct()  : mixed
Create a new SheetView.
getShowZeros()  : bool
getView()  : string
Get View.
getZoomScale()  : int|null
Get ZoomScale.
getZoomScaleNormal()  : int|null
Get ZoomScaleNormal.
getZoomScalePageLayoutView()  : int
getZoomScaleSheetLayoutView()  : int
setShowZeros()  : void
Set ShowZeroes setting.
setView()  : $this
Set View.
setZoomScale()  : $this
Set ZoomScale.
setZoomScaleNormal()  : $this
Set ZoomScale.
setZoomScalePageLayoutView()  : static
setZoomScaleSheetLayoutView()  : static

Constants

SHEETVIEW_NORMAL

public mixed SHEETVIEW_NORMAL = 'normal'

SHEETVIEW_PAGE_BREAK_PREVIEW

public mixed SHEETVIEW_PAGE_BREAK_PREVIEW = 'pageBreakPreview'

SHEETVIEW_PAGE_LAYOUT

public mixed SHEETVIEW_PAGE_LAYOUT = 'pageLayout'

Methods

__construct()

Create a new SheetView.

public __construct() : mixed

getShowZeros()

public getShowZeros() : bool
Return values
bool

getView()

Get View.

public getView() : string
Return values
string

getZoomScale()

Get ZoomScale.

public getZoomScale() : int|null
Return values
int|null

getZoomScaleNormal()

Get ZoomScaleNormal.

public getZoomScaleNormal() : int|null
Return values
int|null

getZoomScalePageLayoutView()

public getZoomScalePageLayoutView() : int
Return values
int

getZoomScaleSheetLayoutView()

public getZoomScaleSheetLayoutView() : int
Return values
int

setShowZeros()

Set ShowZeroes setting.

public setShowZeros(bool $showZeros) : void
Parameters
$showZeros : bool

setView()

Set View.

public setView(string|null $sheetViewType) : $this

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

Parameters
$sheetViewType : string|null
Return values
$this

setZoomScale()

Set ZoomScale.

public setZoomScale(int|null $zoomScale) : $this

Valid values range from 10 to 400.

Parameters
$zoomScale : int|null
Return values
$this

setZoomScaleNormal()

Set ZoomScale.

public setZoomScaleNormal(int|null $zoomScaleNormal) : $this

Valid values range from 10 to 400.

Parameters
$zoomScaleNormal : int|null
Return values
$this

setZoomScalePageLayoutView()

public setZoomScalePageLayoutView(int $zoomScalePageLayoutView) : static
Parameters
$zoomScalePageLayoutView : int
Return values
static

setZoomScaleSheetLayoutView()

public setZoomScaleSheetLayoutView(int $zoomScaleSheetLayoutView) : static
Parameters
$zoomScaleSheetLayoutView : int
Return values
static

        
On this page

Search results