public abstract class AbstractConversionTask extends Object implements OfficeTask
| Constructor and Description |
|---|
AbstractConversionTask(File inputFile,
File outputFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(OfficeContext context) |
protected abstract Map<String,?> |
getLoadProperties(File inputFile) |
protected abstract Map<String,?> |
getStoreProperties(File outputFile,
com.sun.star.lang.XComponent document) |
protected void |
modifyDocument(com.sun.star.lang.XComponent document)
Override to modify the document after it has been loaded and before it gets
saved in the new format.
|
protected abstract Map<String,?> getStoreProperties(File outputFile, com.sun.star.lang.XComponent document)
public void execute(OfficeContext context) throws OfficeException
execute in interface OfficeTaskOfficeExceptionprotected void modifyDocument(com.sun.star.lang.XComponent document)
throws OfficeException
Does nothing by default.
document - OfficeExceptionCopyright © 2003–2015. All rights reserved.