Hi, Im trying to create a add-in function with Java that gets the value of a cell in a Spreadsheet document, query values on my DB and sets the results in a cell range of this same document. My question is: How can I get the reference of a com.sun.star.sheet.XSpreadsheetDocument that's calling the add-in function to manipulate the cells inside the method that's represents my add-in function? See the method body:
Generally, that's the wrong approach. The results of an add-in function should be in its return value (the return value can be an array). Modifying other cell values from an add-in function call could disturb the recalculation handling.
Niklas
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
