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?

You cannot modify entities in UNOIDL (other than adding constants to constant groups, which is not without peril). Just add documentation to the existing old-style service SheetFilterDescriptor that objects implementing that service may optionally support XExtendedSheetFilterDescriptor.

-Stephan

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

Reply via email to