|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jxls.controller.SheetTransformationControllerImpl
public class SheetTransformationControllerImpl
This class controls and saves all transforming operations on spreadsheet cells.
It implements SheetTransformationController interface
to track all cells transformations
| Constructor Summary | |
|---|---|
SheetTransformationControllerImpl(Sheet sheet)
|
|
| Method Summary | |
|---|---|
int |
duplicateDown(Block block,
int n)
This method duplicates given block down |
int |
duplicateRight(Block block,
int n)
This method duplicates given block to the right |
void |
duplicateRow(RowCollection rowCollection)
Duplicates given row cells according to passed RowCollection object |
Sheet |
getSheet()
|
java.util.List |
getTransformations()
|
void |
removeBodyRows(Block block)
Deletes the body of the block |
void |
removeBorders(Block block)
This method removes borders around given block shifting all other rows |
void |
removeLeftRightBorders(Block block)
This method removes left and right borders for the block |
void |
removeRowCells(org.apache.poi.ss.usermodel.Row row,
int startCellNum,
int endCellNum)
Clears row cells in a given range |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SheetTransformationControllerImpl(Sheet sheet)
| Method Detail |
|---|
public int duplicateDown(Block block,
int n)
SheetTransformationController
duplicateDown in interface SheetTransformationControllerblock - - Block to processn - - number of times to duplicate given block
public int duplicateRight(Block block,
int n)
SheetTransformationController
duplicateRight in interface SheetTransformationControllerblock - - Block to processn - - number of times to duplicate given block
public void removeBorders(Block block)
SheetTransformationController
removeBorders in interface SheetTransformationControllerblock - - Block to processpublic void removeLeftRightBorders(Block block)
SheetTransformationController
removeLeftRightBorders in interface SheetTransformationControllerblock - - Block to process
public void removeRowCells(org.apache.poi.ss.usermodel.Row row,
int startCellNum,
int endCellNum)
SheetTransformationController
removeRowCells in interface SheetTransformationControllerrow - Row to processstartCellNum - - start cell number to clearendCellNum - - end cell number to clearpublic void removeBodyRows(Block block)
SheetTransformationController
removeBodyRows in interface SheetTransformationControllerblock - Block to processpublic void duplicateRow(RowCollection rowCollection)
SheetTransformationControllerRowCollection object
duplicateRow in interface SheetTransformationControllerrowCollection - - RowCollection object defining duplicate numbers and cell rangespublic java.util.List getTransformations()
getTransformations in interface SheetTransformationControllerpublic Sheet getSheet()
getSheet in interface SheetTransformationControllerSheet corresponding worksheet object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||