Example:
$workbook = new cells\Workbook(); //Add a pagebreak at G5 $workbook->getWorksheets()->get(0)->getHorizontalPageBreaks()->add("G5"); $workbook->getWorksheets()->get(0)->getVerticalPageBreaks()->add("G5");
Property Getters/Setters Summary | ||
---|---|---|
function | getCount() | |
function | get(index) | |
Gets the |
||
function | get(cellName) | |
Gets the |
Method Summary | ||
---|---|---|
function | add(row) | |
Adds a horizontal page break to the collection.
|
||
function | add(row, column) | |
Adds a horizontal page break to the collection.
|
||
function | add(row, startColumn, endColumn) | |
Adds a horizontal page break to the collection.
|
||
function | add(value) | |
Reserved for internal use. |
||
function | add(cellName) | |
Adds a horizontal page break to the collection.
|
||
function | clear() | |
function | contains(value) | |
Reserved for internal use. |
||
function | get(index) | |
Reserved for internal use. |
||
function | indexOf(value) | |
Reserved for internal use. |
||
function | iterator() | |
function | removeAt(index) | |
Removes the HPageBreak element at a specified name.
|
function getCount()
function get(index)
index
- The zero based index of the element.function get(cellName)
cellName
- Cell name.function add(row, startColumn, endColumn)
row: Number
- Row index, zero based.startColumn: Number
- Start column index, zero based.endColumn: Number
- End column index, zero based.function add(row)
row: Number
- Cell row index, zero based.function add(row, column)
row: Number
- Cell row index, zero based.column: Number
- Cell column index, zero based.function add(cellName)
cellName: String
- Cell name.function removeAt(index)
index: Number
- Element index, zero based.function clear()
function iterator()
function get(index)
function contains(value)
function add(value)
function indexOf(value)