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
boolgetView()
Get View.
public
getView() : string
Return values
stringgetZoomScale()
Get ZoomScale.
public
getZoomScale() : int|null
Return values
int|nullgetZoomScaleNormal()
Get ZoomScaleNormal.
public
getZoomScaleNormal() : int|null
Return values
int|nullgetZoomScalePageLayoutView()
public
getZoomScalePageLayoutView() : int
Return values
intgetZoomScaleSheetLayoutView()
public
getZoomScaleSheetLayoutView() : int
Return values
intsetShowZeros()
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
$thissetZoomScale()
Set ZoomScale.
public
setZoomScale(int|null $zoomScale) : $this
Valid values range from 10 to 400.
Parameters
- $zoomScale : int|null
Return values
$thissetZoomScaleNormal()
Set ZoomScale.
public
setZoomScaleNormal(int|null $zoomScaleNormal) : $this
Valid values range from 10 to 400.
Parameters
- $zoomScaleNormal : int|null
Return values
$thissetZoomScalePageLayoutView()
public
setZoomScalePageLayoutView(int $zoomScalePageLayoutView) : static
Parameters
- $zoomScalePageLayoutView : int
Return values
staticsetZoomScaleSheetLayoutView()
public
setZoomScaleSheetLayoutView(int $zoomScaleSheetLayoutView) : static
Parameters
- $zoomScaleSheetLayoutView : int