Hi shenzhuxi, shenzhuxi schrieb:
> A filter ought to be a service in a component and according to the develloper > guide > (http://api.openoffice.org/docs/DevelopersGuide/FirstSteps/FirstSteps.xhtml): > > A new-style service is of the form > > module com { module sun { module star { module bridge { > service UnoUrlResolver: XUnoUrlResolver; > }; }; }; }; > > the AsciiReplaceFilter.java seems to be an old style service. I can't run it > with neither netbean nor eclipse. OK, now I see, you are talking about new style *services*. I don't think that the differences between the implementations of "new style" and "old style" services are big - it's more or less only the IDL description and the class definition that looks different: a new style service implements only one interface and it's the same interface that unites all the interfaces that the corresponding old style services had implemented. That's all. It should be quite easy to change the AsciiFilter into a new style service. Let me have a look on the involved interfaces and I come up with an idea next week. 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]
