Module: Uno::UnoBase
- Includes:
- Rubyuno::Com::Sun::Star::Lang::XTypeProvider
- Included in:
- RubyLoader::RubyLoaderImpl, RubyLoader::SingleComponentFactory, RubyScriptProvider::BaseNode, RubyScriptProvider::CommandEnvironment, RubyScriptProvider::DummyInteractionHandler, RubyScriptProvider::DummyProgressHandler, RubyScriptProvider::RubyScript, RubyScriptProvider::ScriptContext
- Defined in:
- lib/rubyuno/uno.rb
Overview
This is base module which is used to define UNO component, just include this module like the following:
class MyListener
include Uno::UnoBase
include ...other interfaces
end
The adapter needs to know its types (interfaces) are implemented by the component, therefore methods of this module provide it. If it should be class itself, implement XTypeProvider interface to the class.
Instance Method Summary collapse
Instance Method Details
#getImplementationId ⇒ Object
101 102 103 |
# File 'lib/rubyuno/uno.rb', line 101 def getImplementationId return Uno::UNO_TYPES.id self.class end |
#getTypes ⇒ Object
97 98 99 |
# File 'lib/rubyuno/uno.rb', line 97 def getTypes return Uno::UNO_TYPES.types self.class end |