org.openoffice.da.comp.writer4latex
Class Writer4LaTeX

java.lang.Object
  extended by com.sun.star.lib.uno.helper.WeakBase
      extended by org.openoffice.da.comp.writer4latex.Writer4LaTeX
All Implemented Interfaces:
com.sun.star.frame.XDispatch, com.sun.star.frame.XDispatchProvider, com.sun.star.lang.XInitialization, com.sun.star.lang.XServiceInfo, com.sun.star.lang.XTypeProvider, com.sun.star.uno.XInterface, com.sun.star.uno.XWeak

public final class Writer4LaTeX
extends com.sun.star.lib.uno.helper.WeakBase
implements com.sun.star.lang.XServiceInfo, com.sun.star.frame.XDispatchProvider, com.sun.star.lang.XInitialization, com.sun.star.frame.XDispatch

This class implements the ui (dispatch) commands provided by Writer4LaTeX. The actual processing is done by the three core classes TeXify, LaTeXImporter and BibTeXImporter


Field Summary
static java.lang.String __implementationName
           
static java.lang.String __serviceName
           
 
Fields inherited from class com.sun.star.lib.uno.helper.WeakBase
_mapImplementationIds, _mapTypes
 
Fields inherited from interface com.sun.star.lang.XServiceInfo
UNOTYPEINFO
 
Fields inherited from interface com.sun.star.frame.XDispatchProvider
UNOTYPEINFO
 
Fields inherited from interface com.sun.star.lang.XInitialization
UNOTYPEINFO
 
Fields inherited from interface com.sun.star.frame.XDispatch
UNOTYPEINFO
 
Fields inherited from interface com.sun.star.uno.XWeak
UNOTYPEINFO
 
Fields inherited from interface com.sun.star.lang.XTypeProvider
UNOTYPEINFO
 
Constructor Summary
Writer4LaTeX(com.sun.star.uno.XComponentContext xContext)
           
 
Method Summary
 void addStatusListener(com.sun.star.frame.XStatusListener xControl, com.sun.star.util.URL aURL)
           
 void dispatch(com.sun.star.util.URL aURL, com.sun.star.beans.PropertyValue[] aArguments)
           
 java.lang.String getImplementationName()
           
 java.lang.String[] getSupportedServiceNames()
           
 void initialize(java.lang.Object[] object)
           
 com.sun.star.frame.XDispatch queryDispatch(com.sun.star.util.URL aURL, java.lang.String sTargetFrameName, int iSearchFlags)
           
 com.sun.star.frame.XDispatch[] queryDispatches(com.sun.star.frame.DispatchDescriptor[] seqDescriptors)
           
 void removeStatusListener(com.sun.star.frame.XStatusListener xControl, com.sun.star.util.URL aURL)
           
 boolean supportsService(java.lang.String sService)
           
 
Methods inherited from class com.sun.star.lib.uno.helper.WeakBase
finalize, getImplementationId, getTypes, queryAdapter
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__implementationName

public static final java.lang.String __implementationName

__serviceName

public static final java.lang.String __serviceName
See Also:
Constant Field Values
Constructor Detail

Writer4LaTeX

public Writer4LaTeX(com.sun.star.uno.XComponentContext xContext)
Method Detail

initialize

public void initialize(java.lang.Object[] object)
                throws com.sun.star.uno.Exception
Specified by:
initialize in interface com.sun.star.lang.XInitialization
Throws:
com.sun.star.uno.Exception

getImplementationName

public java.lang.String getImplementationName()
Specified by:
getImplementationName in interface com.sun.star.lang.XServiceInfo

supportsService

public boolean supportsService(java.lang.String sService)
Specified by:
supportsService in interface com.sun.star.lang.XServiceInfo

getSupportedServiceNames

public java.lang.String[] getSupportedServiceNames()
Specified by:
getSupportedServiceNames in interface com.sun.star.lang.XServiceInfo

queryDispatch

public com.sun.star.frame.XDispatch queryDispatch(com.sun.star.util.URL aURL,
                                                  java.lang.String sTargetFrameName,
                                                  int iSearchFlags)
Specified by:
queryDispatch in interface com.sun.star.frame.XDispatchProvider

queryDispatches

public com.sun.star.frame.XDispatch[] queryDispatches(com.sun.star.frame.DispatchDescriptor[] seqDescriptors)
Specified by:
queryDispatches in interface com.sun.star.frame.XDispatchProvider

dispatch

public void dispatch(com.sun.star.util.URL aURL,
                     com.sun.star.beans.PropertyValue[] aArguments)
Specified by:
dispatch in interface com.sun.star.frame.XDispatch

addStatusListener

public void addStatusListener(com.sun.star.frame.XStatusListener xControl,
                              com.sun.star.util.URL aURL)
Specified by:
addStatusListener in interface com.sun.star.frame.XDispatch

removeStatusListener

public void removeStatusListener(com.sun.star.frame.XStatusListener xControl,
                                 com.sun.star.util.URL aURL)
Specified by:
removeStatusListener in interface com.sun.star.frame.XDispatch