On 05/18/10 12:53, Martin Dobiasch wrote:
I want to write a function with a rangeaddress as parameter.
Is there a way to do this with java?
The function should be part of an extension. (Which is written in java)

The function does something like that:
Public Function CSDRangeAddress(arg As Range) As String
    CSDRangeAddress = arg.Address
End Function

An add-in function (see http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Spreadsheets/Spreadsheet_Add-Ins) can have a parameter of type XCellRange. The passed object is then a SheetCellRange implementation, which you can query for the XCellRangeAddressable interface.

Niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org

Reply via email to