writer2latex.filter
Class W2XExportFilter

java.lang.Object
  extended by writer2latex.filter.W2XExportFilter

public class W2XExportFilter
extends java.lang.Object

This outer class provides an inner class to implement the service description, a method to instantiate the component on demand (__getServiceFactory()), and a method to give information about the component (__writeRegistryServiceInfo()).


Nested Class Summary
static class W2XExportFilter._W2XExportFilter
          This inner class provides the component as a concrete implementation of the service description.
 
Constructor Summary
W2XExportFilter()
           
 
Method Summary
static com.sun.star.lang.XSingleServiceFactory __getServiceFactory(java.lang.String implName, com.sun.star.lang.XMultiServiceFactory multiFactory, com.sun.star.registry.XRegistryKey regKey)
          Returns a factory for creating the service.
static boolean __writeRegistryServiceInfo(com.sun.star.registry.XRegistryKey regKey)
          Writes the service information into the given registry key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

W2XExportFilter

public W2XExportFilter()
Method Detail

__getServiceFactory

public static com.sun.star.lang.XSingleServiceFactory __getServiceFactory(java.lang.String implName,
                                                                          com.sun.star.lang.XMultiServiceFactory multiFactory,
                                                                          com.sun.star.registry.XRegistryKey regKey)
Returns a factory for creating the service. This method is called by the JavaLoader

Parameters:
implName - the name of the implementation for which a service is desired
multiFactory - the service manager to be used if needed
regKey - the registryKey
Returns:
returns a XSingleServiceFactory for creating the component
See Also:
JavaLoader

__writeRegistryServiceInfo

public static boolean __writeRegistryServiceInfo(com.sun.star.registry.XRegistryKey regKey)
Writes the service information into the given registry key. This method is called by the JavaLoader

Parameters:
regKey - the registryKey
Returns:
returns true if the operation succeeded
See Also:
JavaLoader