org.artofsolving.jodconverter
Class AbstractConversionTask
java.lang.Object
org.artofsolving.jodconverter.AbstractConversionTask
- All Implemented Interfaces:
- OfficeTask
- Direct Known Subclasses:
- StandardConversionTask
public abstract class AbstractConversionTask
- extends Object
- implements OfficeTask
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractConversionTask
public AbstractConversionTask(File inputFile,
File outputFile)
getLoadProperties
protected abstract Map<String,?> getLoadProperties(File inputFile)
getStoreProperties
protected abstract Map<String,?> getStoreProperties(File outputFile,
com.sun.star.lang.XComponent document)
execute
public void execute(OfficeContext context)
throws OfficeException
- Specified by:
execute
in interface OfficeTask
- Throws:
OfficeException
modifyDocument
protected void modifyDocument(com.sun.star.lang.XComponent document)
throws OfficeException
- Override to modify the document after it has been loaded and before it gets
saved in the new format.
Does nothing by default.
- Parameters:
document
-
- Throws:
OfficeException
Copyright © 2003-2011. All Rights Reserved.