writer2latex.filter
Class W2LExportFilter._W2LExportFilter
java.lang.Object
writer2latex.filter.W2LExportFilter._W2LExportFilter
- All Implemented Interfaces:
- com.sun.star.lang.XServiceInfo, com.sun.star.lang.XServiceName, com.sun.star.lang.XTypeProvider, com.sun.star.uno.XInterface, com.sun.star.xml.sax.XDocumentHandler, com.sun.star.xml.XExportFilter
- Enclosing class:
- W2LExportFilter
public static class W2LExportFilter._W2LExportFilter
- extends java.lang.Object
- implements com.sun.star.xml.XExportFilter, com.sun.star.lang.XServiceName, com.sun.star.lang.XServiceInfo, com.sun.star.xml.sax.XDocumentHandler, com.sun.star.lang.XTypeProvider
This inner class provides the component as a concrete implementation
of the service description. It implements the needed interfaces.
| Fields inherited from interface com.sun.star.xml.XExportFilter |
UNOTYPEINFO |
| Fields inherited from interface com.sun.star.lang.XServiceName |
UNOTYPEINFO |
| Fields inherited from interface com.sun.star.lang.XServiceInfo |
UNOTYPEINFO |
| Fields inherited from interface com.sun.star.xml.sax.XDocumentHandler |
UNOTYPEINFO |
| Fields inherited from interface com.sun.star.lang.XTypeProvider |
UNOTYPEINFO |
|
Constructor Summary |
W2LExportFilter._W2LExportFilter(com.sun.star.uno.XComponentContext xComponentContext1)
We need to get the Service Manager from the Component context to
instatiate certain services, hence this constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
W2LExportFilter._W2LExportFilter
public W2LExportFilter._W2LExportFilter(com.sun.star.uno.XComponentContext xComponentContext1)
We need to get the Service Manager from the Component context to
instatiate certain services, hence this constructor.
replace
public java.lang.String replace(java.lang.String origString,
java.lang.String origChar,
java.lang.String replaceChar)
needsMask
public java.lang.String needsMask(java.lang.String origString)
exporter
public boolean exporter(com.sun.star.beans.PropertyValue[] aSourceData,
java.lang.String[] msUserData)
throws com.sun.star.uno.RuntimeException
- Specified by:
exporter in interface com.sun.star.xml.XExportFilter
- Throws:
com.sun.star.uno.RuntimeException
startDocument
public void startDocument()
- Specified by:
startDocument in interface com.sun.star.xml.sax.XDocumentHandler
endDocument
public void endDocument()
throws com.sun.star.uno.RuntimeException
- Specified by:
endDocument in interface com.sun.star.xml.sax.XDocumentHandler
- Throws:
com.sun.star.uno.RuntimeException
startElement
public void startElement(java.lang.String str,
com.sun.star.xml.sax.XAttributeList xattribs)
- Specified by:
startElement in interface com.sun.star.xml.sax.XDocumentHandler
endElement
public void endElement(java.lang.String str)
- Specified by:
endElement in interface com.sun.star.xml.sax.XDocumentHandler
characters
public void characters(java.lang.String str)
- Specified by:
characters in interface com.sun.star.xml.sax.XDocumentHandler
ignorableWhitespace
public void ignorableWhitespace(java.lang.String str)
- Specified by:
ignorableWhitespace in interface com.sun.star.xml.sax.XDocumentHandler
processingInstruction
public void processingInstruction(java.lang.String aTarget,
java.lang.String aData)
- Specified by:
processingInstruction in interface com.sun.star.xml.sax.XDocumentHandler
setDocumentLocator
public void setDocumentLocator(com.sun.star.xml.sax.XLocator xLocator)
- Specified by:
setDocumentLocator in interface com.sun.star.xml.sax.XDocumentHandler
convert
public void convert(com.sun.star.io.XInputStream xml,
com.sun.star.io.XOutputStream exportStream)
throws com.sun.star.uno.RuntimeException,
java.io.IOException
- Throws:
com.sun.star.uno.RuntimeException
java.io.IOException
getTypes
public com.sun.star.uno.Type[] getTypes()
- Specified by:
getTypes in interface com.sun.star.lang.XTypeProvider
getImplementationId
public byte[] getImplementationId()
- Specified by:
getImplementationId in interface com.sun.star.lang.XTypeProvider
getServiceName
public java.lang.String getServiceName()
- Specified by:
getServiceName in interface com.sun.star.lang.XServiceName
supportsService
public boolean supportsService(java.lang.String stringServiceName)
- Specified by:
supportsService in interface com.sun.star.lang.XServiceInfo
getImplementationName
public java.lang.String getImplementationName()
- Specified by:
getImplementationName in interface com.sun.star.lang.XServiceInfo
getSupportedServiceNames
public java.lang.String[] getSupportedServiceNames()
- Specified by:
getSupportedServiceNames in interface com.sun.star.lang.XServiceInfo