Hi,
though xSheetCellRanges.getCount() gives the correct answer,
xEnumeration.hasMoreElements() is false:
XCellRangesQuery xCellRangesQuery = (XCellRangesQuery)
UnoRuntime.queryInterface(XCellRangesQuery.class,xRange);
XSheetCellRanges xSheetCellRanges = xCellRangesQuery.queryEmptyCells();
JOptionPane.showMessageDialog(null, xSheetCellRanges.getCount()); //>0
XEnumerationAccess xEnumerationAccess = xSheetCellRanges.getCells();
XEnumeration xEnumeration = xEnumerationAccess.createEnumeration();
JOptionPane.showMessageDialog(null, xEnumeration.hasMoreElements()); //false
Am I doing something wrong here or it is a bug in version 3.2?
I have no problems with queryContentCells().
Regards
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org