Hi,
the addin won't modify the sheet. Just reed from it.
I only need read access

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Monday, May 24, 2010 8:30 PM
To: [email protected]
Subject: Re: AW: [api-dev] java-macro: Not able to access CurrentComponent?

Ariel Constenla-Haile schrieb:
> this looks as if you wanted to get a cell range as parameter, and in this
cell 
> range write your result. This is possible, but IMHO is a NO-NO.
> 
> As you've been told on Tuesday, you can get a cell range as parameter to
your 
> function, but it isn't " the area in which the sheet is filled" by your 
> function's result. 
> 
> IMHO an Add-In should not modify the document (a sheet, a range, etc).
> OOo Calc Developers read this mailing list, so sure they will give on
Monday a 
> more accurate opinion.

Right. If an add-in function modifies cell contents, that can lead to 
problems because these modifications come at a time where Calc doesn't 
expect them. If a function has to return more than one value, you can 
always use an array.

Niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to