<http://blogs.sun.com/GullFOSS/entry/successful_community_project_smart_tags> made me aware of new UNOIDL content at offapi/com/sun/star/smarttags (at least available in SRC680m200). Some notes:

- XSmartTagAction.idl:1.2 contains both interface XSmartTagAction and service SmartTagAction, similar for XSmartTagRecognizer.idl:1.2. I think it is better to only have one entity definition per .idl file (named after the entity).

- XSmartTagRecognizer.Recognize is capitalized, which is odd.

- Both XSmartTagAction and XSmartTagRecognizer have a method initialize, apparently following the semantics of com.sun.star.lang.XIntialization. Why not just inherit that interface? Or, if applicable, use service constructors for initialization (and hiding XInitialization from UNOIDL as an implementation detail).

- Both SmartTagAction and SmartTagRecognizer are old style services. Are they needed at all? How are instances of XSmartTagAction/Recognizer found/instantiated at runtime?

-Stephan

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

Reply via email to