* Has <b> OK </b> status if the range address expands at all used area
* in first case and if the range address just points to the cell at the
* start of the used area in second case. <p>
*/
public void _gotoStartOfUsedArea() {
XCellRangeAddressable oAddr = (XCellRangeAddressable)
UnoRuntime.queryInterface (XCellRangeAddressable.class, oObj) ;
boolean result = true ;
// with true parameter first
oObj.gotoEndOfUsedArea(false);
oObj.gotoStartOfUsedArea(true);
sAddr = oAddr.getRangeAddress();
result &= (sAddr.StartColumn == 1);
result &= (sAddr.StartRow == 1);
result &= (sAddr.EndColumn == 4);
result &= (sAddr.EndRow == 5);
// now testing with false parameter
oObj.gotoStartOfUsedArea(false);
sAddr = oAddr.getRangeAddress();
result &= (sAddr.StartColumn == 1);
result &= (sAddr.StartRow == 1);
result &= (sAddr.EndColumn == 1);
result &= (sAddr.EndRow == 1);