writer2latex.filter

Class W2LExportFilter._W2LExportFilter

Enclosing Class:
W2LExportFilter
Implemented Interfaces:
XDocumentHandler, XExportFilter, XServiceInfo, XServiceName, XTypeProvider

public static class W2LExportFilter._W2LExportFilter
extends java.lang.Object
implements XExportFilter, XServiceName, XServiceInfo, XDocumentHandler, XTypeProvider

This inner class provides the component as a concrete implementation of the service description. It implements the needed interfaces.

Constructor Summary

_W2LExportFilter(XComponentContext xComponentContext1)
We need to get the Service Manager from the Component context to instatiate certain services, hence this constructor.

Method Summary

void
characters(String str)
void
convert(XInputStream xml, XOutputStream exportStream)
void
endDocument()
void
endElement(String str)
boolean
exporter(com.sun.star.beans.PropertyValue[] aSourceData, java.lang.String[] msUserData)
byte[]
getImplementationId()
String
getImplementationName()
String
getServiceName()
String[]
getSupportedServiceNames()
Type[]
getTypes()
void
ignorableWhitespace(String str)
String
needsMask(String origString)
void
processingInstruction(String aTarget, String aData)
String
replace(String origString, String origChar, String replaceChar)
void
setDocumentLocator(com.sun.star.xml.sax.XLocator xLocator)
void
startDocument()
void
startElement(String str, com.sun.star.xml.sax.XAttributeList xattribs)
boolean
supportsService(String stringServiceName)

Constructor Details

_W2LExportFilter

public _W2LExportFilter(XComponentContext xComponentContext1)
We need to get the Service Manager from the Component context to instatiate certain services, hence this constructor.

Method Details

characters

public void characters(String str)

convert

public void convert(XInputStream xml,
                    XOutputStream exportStream)
            throws com.sun.star.uno.RuntimeException,
                   IOException

endDocument

public void endDocument()
            throws com.sun.star.uno.RuntimeException

endElement

public void endElement(String str)

exporter

public boolean exporter(com.sun.star.beans.PropertyValue[] aSourceData,
                        java.lang.String[] msUserData)
            throws com.sun.star.uno.RuntimeException

getImplementationId

public byte[] getImplementationId()

getImplementationName

public String getImplementationName()

getServiceName

public String getServiceName()

getSupportedServiceNames

public String[] getSupportedServiceNames()

getTypes

public Type[] getTypes()

ignorableWhitespace

public void ignorableWhitespace(String str)

needsMask

public String needsMask(String origString)

processingInstruction

public void processingInstruction(String aTarget,
                                  String aData)

replace

public String replace(String origString,
                      String origChar,
                      String replaceChar)

setDocumentLocator

public void setDocumentLocator(com.sun.star.xml.sax.XLocator xLocator)

startDocument

public void startDocument()

startElement

public void startElement(String str,
                         com.sun.star.xml.sax.XAttributeList xattribs)

supportsService

public boolean supportsService(String stringServiceName)