com.silverpeas.converter.openoffice
Class SilverpeasOpenOfficeDocumentConverter
java.lang.Object
com.artofsolving.jodconverter.openoffice.converter.AbstractOpenOfficeDocumentConverter
com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConverter
com.silverpeas.converter.openoffice.SilverpeasOpenOfficeDocumentConverter
- All Implemented Interfaces:
- com.artofsolving.jodconverter.DocumentConverter
public class SilverpeasOpenOfficeDocumentConverter
- extends com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConverter
This Object is kind of patch of JODConverter tools in the aim to add some conversion options.
- Author:
- Yohann Chastagnier
| Fields inherited from class com.artofsolving.jodconverter.openoffice.converter.AbstractOpenOfficeDocumentConverter |
openOfficeConnection |
| Methods inherited from class com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConverter |
convertInternal |
| Methods inherited from class com.artofsolving.jodconverter.openoffice.converter.AbstractOpenOfficeDocumentConverter |
convert, convert, convert, convert, getDefaultLoadProperties, getDocumentFormatRegistry, property, refreshDocument, setDefaultLoadProperty, toPropertyValues |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SilverpeasOpenOfficeDocumentConverter
public SilverpeasOpenOfficeDocumentConverter(com.artofsolving.jodconverter.openoffice.connection.OpenOfficeConnection connection)
- Default constructor
- Parameters:
connection -
addFilterData
public void addFilterData(FilterOption option)
- Adds a filter
- Parameters:
option -
convertInternal
protected void convertInternal(File inputFile,
com.artofsolving.jodconverter.DocumentFormat inputFormat,
File outputFile,
com.artofsolving.jodconverter.DocumentFormat outputFormat)
- Same function as that of OpenOfficeDocumentConverter completed with FilterData processing.
- Overrides:
convertInternal in class com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConverter
convert
public void convert(InputStream source,
DocumentFormat inFormat,
OutputStream destination,
DocumentFormat outFormat,
FilterOption... options)
- Conversion from streams.
- Parameters:
source - inFormat - destination - outFormat - options -
Copyright © 2016 Silverpeas. All Rights Reserved.