Kohei Yoshida wrote:

> Hi there,
> 
> I'm in the process of extending Calc's standard filter API to cover new
> types of filters.  In doing so, I will need to add a new interface to an
> existing UNO service (css.sheet.SheetFilterDescriptor), but I'd like
> this interface to stay unpublished until this API stabilizes.
> 
> But I'm having trouble leaving the new interface unpublished.  I've
> added the following lines:
> 
> /** provides access to the collection of filter fields.
>  */
> [optional] interface
> com::sun::star::sheet::XExtendedSheetFilterDescriptor;
> 
> but the building of offapi fails, noting that "you can't use an
> unpublished interface to a published service."  Is there a way to get
> around this?
The only way would be to make the service itself "unpublished" what of
course is not allowed also. Perhaps we could allow it for this service
as it is an "old style service" and these services never have been used
for anything else than documentation. So making it "unpublished" won't
break any code. But I assume that this would create some hassle.

Alternatively you could remove your new interface from the IDL file
again (as I said: old style services are documentation only) or you can
design a new, unpublished service and deprecate the old one. This would
be a good opportunity to make this service a "new style" one. :-)

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to