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) | → inherited from CollectionBase |
Reserved for internal use. | ||
method | add(cellName) | |
Adds a horizontal page break to the collection. | ||
method | clear() | → inherited from CollectionBase |
method | contains(value) | → inherited from CollectionBase |
Reserved for internal use. | ||
method | get(index) | → inherited from CollectionBase |
Reserved for internal use. | ||
method | indexOf(value) | → inherited from CollectionBase |
Reserved for internal use. | ||
method | iterator() | → inherited from CollectionBase |
method | removeAt(index) | |
Removes the HPageBreak element at a specified name. |
Property Getters/Setters Detail |
---|
getCount : int | |
int getCount() |
get : HorizontalPageBreak | |
HorizontalPageBreak get(index) |
index
- The zero based index of the element.get : HorizontalPageBreak | |
HorizontalPageBreak get(cellName) |
cellName
- Cell name.Method Detail |
---|
add | |
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.add | |
int add(row) |
row: int
- Cell row index, zero based.add | |
int add(row, column) |
row: int
- Cell row index, zero based.column: int
- Cell column index, zero based.add | |
int add(cellName) |
cellName: String
- Cell name.removeAt | |
removeAt(index) |
index: int
- Element index, zero based.clear | |
clear() |
iterator | |
Iterator iterator() |
get | |
Object get(index) |
contains | |
boolean contains(value) |
add | |
int add(value) |
indexOf | |
int indexOf(value) |