satabau General User

Joined: 12 Mar 2012 Posts: 34
|
Posted: Mon Aug 06, 2012 7:29 am Post subject: [solved] How to get a Scenario range (Java) |
|
|
I've tried a lot of things, for example:
| Code: |
XScenariosSupplier xScenariosSupplier = (XScenariosSupplier)
UnoRuntime.queryInterface(XScenariosSupplier.class, xSpreadsheet);
XScenarios xScenarios = xScenariosSupplier.getScenarios();
String names[] = xScenarios.getElementNames();
for(int i = 0; i < names.length(); i++)
{
Object scenario = xScenarios.getByName(names[i]);
XScenario xScenario = (XScenario)
UnoRuntime.queryInterface(XScenario.class,scenario)
.......
|
but now that I have the scenario, there's no "get" method for the range!!
Is there a way to obtain the range of the scenario?
Thanks |
|