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