See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401] [Versions 401 and 402] [Versions 401 and 403]
(no description)
File Size: | 908 lines (28 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
PageSetup:: (42 methods):
__construct()
getPaperSize()
setPaperSize()
getPaperSizeDefault()
setPaperSizeDefault()
getOrientation()
setOrientation()
getOrientationDefault()
setOrientationDefault()
getScale()
setScale()
getFitToPage()
setFitToPage()
getFitToHeight()
setFitToHeight()
getFitToWidth()
setFitToWidth()
isColumnsToRepeatAtLeftSet()
getColumnsToRepeatAtLeft()
setColumnsToRepeatAtLeft()
setColumnsToRepeatAtLeftByStartAndEnd()
isRowsToRepeatAtTopSet()
getRowsToRepeatAtTop()
setRowsToRepeatAtTop()
setRowsToRepeatAtTopByStartAndEnd()
getHorizontalCentered()
setHorizontalCentered()
getVerticalCentered()
setVerticalCentered()
getPrintArea()
isPrintAreaSet()
clearPrintArea()
setPrintArea()
addPrintArea()
setPrintAreaByColumnAndRow()
addPrintAreaByColumnAndRow()
getFirstPageNumber()
setFirstPageNumber()
resetFirstPageNumber()
getPageOrder()
setPageOrder()
__clone()
__construct() X-Ref |
Create a new PageSetup. |
getPaperSize() X-Ref |
Get Paper Size. return: int |
setPaperSize($paperSize) X-Ref |
Set Paper Size. param: int $paperSize see self::PAPERSIZE_* return: $this |
getPaperSizeDefault() X-Ref |
Get Paper Size default. |
setPaperSizeDefault(int $paperSize) X-Ref |
Set Paper Size Default. |
getOrientation() X-Ref |
Get Orientation. return: string |
setOrientation($orientation) X-Ref |
Set Orientation. param: string $orientation see self::ORIENTATION_* return: $this |
getOrientationDefault() X-Ref |
No description |
setOrientationDefault(string $orientation) X-Ref |
No description |
getScale() X-Ref |
Get Scale. return: null|int |
setScale($scale, $update = true) X-Ref |
Set Scale. Print scaling. Valid values range from 10 to 400 This setting is overridden when fitToWidth and/or fitToHeight are in use. param: null|int $scale param: bool $update Update fitToPage so scaling applies rather than fitToHeight / fitToWidth return: $this |
getFitToPage() X-Ref |
Get Fit To Page. return: bool |
setFitToPage($fitToPage) X-Ref |
Set Fit To Page. param: bool $fitToPage return: $this |
getFitToHeight() X-Ref |
Get Fit To Height. return: null|int |
setFitToHeight($fitToHeight, $update = true) X-Ref |
Set Fit To Height. param: null|int $fitToHeight param: bool $update Update fitToPage so it applies rather than scaling return: $this |
getFitToWidth() X-Ref |
Get Fit To Width. return: null|int |
setFitToWidth($value, $update = true) X-Ref |
Set Fit To Width. param: null|int $value param: bool $update Update fitToPage so it applies rather than scaling return: $this |
isColumnsToRepeatAtLeftSet() X-Ref |
Is Columns to repeat at left set? return: bool |
getColumnsToRepeatAtLeft() X-Ref |
Get Columns to repeat at left. return: array Containing start column and end column, empty array if option unset |
setColumnsToRepeatAtLeft(array $columnsToRepeatAtLeft) X-Ref |
Set Columns to repeat at left. param: array $columnsToRepeatAtLeft Containing start column and end column, empty array if option unset return: $this |
setColumnsToRepeatAtLeftByStartAndEnd($start, $end) X-Ref |
Set Columns to repeat at left by start and end. param: string $start eg: 'A' param: string $end eg: 'B' return: $this |
isRowsToRepeatAtTopSet() X-Ref |
Is Rows to repeat at top set? return: bool |
getRowsToRepeatAtTop() X-Ref |
Get Rows to repeat at top. return: array Containing start column and end column, empty array if option unset |
setRowsToRepeatAtTop(array $rowsToRepeatAtTop) X-Ref |
Set Rows to repeat at top. param: array $rowsToRepeatAtTop Containing start column and end column, empty array if option unset return: $this |
setRowsToRepeatAtTopByStartAndEnd($start, $end) X-Ref |
Set Rows to repeat at top by start and end. param: int $start eg: 1 param: int $end eg: 1 return: $this |
getHorizontalCentered() X-Ref |
Get center page horizontally. return: bool |
setHorizontalCentered($value) X-Ref |
Set center page horizontally. param: bool $value return: $this |
getVerticalCentered() X-Ref |
Get center page vertically. return: bool |
setVerticalCentered($value) X-Ref |
Set center page vertically. param: bool $value return: $this |
getPrintArea($index = 0) X-Ref |
Get print area. param: int $index Identifier for a specific print area range if several ranges have been set return: string |
isPrintAreaSet($index = 0) X-Ref |
Is print area set? param: int $index Identifier for a specific print area range if several ranges have been set return: bool |
clearPrintArea($index = 0) X-Ref |
Clear a print area. param: int $index Identifier for a specific print area range if several ranges have been set return: $this |
setPrintArea($value, $index = 0, $method = self::SETPRINTRANGE_OVERWRITE) X-Ref |
Set print area. e.g. 'A1:D10' or 'A1:D10,G5:M20'. param: string $value param: int $index Identifier for a specific print area range allowing several ranges to be set param: string $method Determines the method used when setting multiple print areas return: $this |
addPrintArea($value, $index = -1) X-Ref |
Add a new print area (e.g. 'A1:D10' or 'A1:D10,G5:M20') to the list of print areas. param: string $value param: int $index Identifier for a specific print area range allowing several ranges to be set return: $this |
setPrintAreaByColumnAndRow($column1, $row1, $column2, $row2, $index = 0, $method = self::SETPRINTRANGE_OVERWRITE) X-Ref |
Set print area. param: int $column1 Column 1 param: int $row1 Row 1 param: int $column2 Column 2 param: int $row2 Row 2 param: int $index Identifier for a specific print area range allowing several ranges to be set param: string $method Determines the method used when setting multiple print areas return: $this |
addPrintAreaByColumnAndRow($column1, $row1, $column2, $row2, $index = -1) X-Ref |
Add a new print area to the list of print areas. param: int $column1 Start Column for the print area param: int $row1 Start Row for the print area param: int $column2 End Column for the print area param: int $row2 End Row for the print area param: int $index Identifier for a specific print area range allowing several ranges to be set return: $this |
getFirstPageNumber() X-Ref |
Get first page number. return: ?int |
setFirstPageNumber($value) X-Ref |
Set first page number. param: ?int $value return: $this |
resetFirstPageNumber() X-Ref |
Reset first page number. return: $this |
getPageOrder() X-Ref |
No description |
setPageOrder(?string $pageOrder) X-Ref |
No description |
__clone() X-Ref |
Implement PHP __clone to create a deep clone, not just a shallow copy. |