19package org.openoffice.xmerge.converter.xml.xslt;
21import java.io.IOException;
22import java.io.InputStream;
23import java.util.Iterator;
24import java.util.Properties;
92 java.io.InputStream inputStream)
throws java.io.IOException {
95 domDoc.
read(inputStream);
130 Class<? extends PluginFactoryImpl> c = this.
getClass();
131 InputStream is = c.getResourceAsStream(
"XsltPlugin.properties");
137 while (enumerate.hasNext()) {
138 mimeType = enumerate.
next();
143 String info = mimeType !=
null ?
props.getProperty(mimeType) :
null;
155 }
catch (IOException
ex) {
ConvertData is used as a container for passing Document objects in and out of the Convert class.
A PluginFactory encapsulates the conversions from one Document format to another.
ConverterInfo getConverterInfo()
Returns the ConvertInfo that corresponds to this plug-in.
An implementation of Document for StarOffice documents.
void read(InputStream is)
Read the Office Document from the specified InputStream.
Xslt implementation of ConverterCapabilities for the PluginFactoryImpl.
Xslt implementation of org.openoffice.xmerge.DocumentSerializer for the PluginFactoryImpl.
Xslt implementation of DocumentMerger for the PluginFactoryImpl.
Xslt implementation of org.openoffice.xmerge.DocumentSerializer for the PluginFactoryImpl.
This class is an implementation of OfficeDocument for the generic office format.
Xslt implementation of the PluginFactory.
Document createOfficeDocument(String name, InputStream is)
Create a Document object that corresponds to the Office data passed in via the InputStream object.
DocumentDeserializer createDocumentDeserializer(ConvertData cd)
Returns an instance of DocumentDeserializerImpl, which is an implementation of the DocumentDeserializ...
String getDeviceFileExtension()
Returns a String containing the file extension of a Document.
Document createOfficeDocument(String name, InputStream is, boolean isZip)
Create a Document object that corresponds to the Office data passed in via the InputStream object.
PluginFactoryImpl(ConverterInfo ci)
DocumentMerger createDocumentMerger(Document doc)
Returns an instance of DocumentMergerImpl, which is an implementation of the DocumentMerger interface...
static final ConverterCapabilities converterCap
ConverterCapabilities object for this type of conversion.
DocumentSerializer createDocumentSerializer(Document doc)
Returns an instance of DocumentSerializerImpl, which is an implementation of the DocumentSerializer i...
org.openoffice.xmerge.Document createDeviceDocument(String str, java.io.InputStream inputStream)
Class for storing the information about a converter plug-in.
Iterator< String > getDeviceMime()
Returns an Enumeration of String objects indicating the device mime-type.
A ConverterCapabilities object is used by DocumentMerger implementations.
A DocumentDeserializer object is used to convert from the "Device" Document format to the "Office" Do...
A DocumentDeserializer represents a converter that converts "Device" Document objects into the "Offic...
All plug-in implementations of the PluginFactory interface that also support merging must also implem...
A DocumentMerger can merge changes from a modified "Device" Document to the assigned original "Office...
A DocumentSerializer object is used to convert from the "Office" Document format to the "Device" Docu...
A DocumentSerializer represents a converter that converts a "Office" Document to a "Device" Document ...
A Document represents any Document to be converted and the resulting Document from any conversion.
This is an interface used by the DiffAlgorithm and MergeAlgorithm to access a Document.
Object next()
Move to next element in the sequence.
Provides classes for converting basic document types to/from a DOMDocument object,...
Provides an interface for plug-in registration.
Provides general purpose utilities.
Provides interfaces for converting between two Document formats, and supports a "merge" interface for...
PyRef getClass(const OUString &name, const Runtime &runtime)