public class LocalConversionTask extends AbstractLocalOfficeTask
loadProperties| Constructor and Description |
|---|
LocalConversionTask(org.jodconverter.job.SourceDocumentSpecs source,
org.jodconverter.job.TargetDocumentSpecs target,
Map<String,Object> loadProperties,
FilterChain filterChain,
Map<String,Object> storeProperties)
Creates a new conversion task from a specified source to a specified target.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(org.jodconverter.office.OfficeContext context) |
protected void |
modifyDocument(org.jodconverter.office.OfficeContext context,
com.sun.star.lang.XComponent document) |
protected void |
storeDocument(com.sun.star.lang.XComponent document,
File targetFile) |
appendProperties, closeDocument, getLoadProperties, loadDocumentpublic LocalConversionTask(org.jodconverter.job.SourceDocumentSpecs source,
org.jodconverter.job.TargetDocumentSpecs target,
Map<String,Object> loadProperties,
FilterChain filterChain,
Map<String,Object> storeProperties)
source - The source specifications for the conversion.target - The target specifications for the conversion.loadProperties - The load properties to be applied when loading the document. These
properties are added after the load properties of the document format specified in the
source arguments.filterChain - The filter chain to use with this task.storeProperties - The store properties to be applied when storing the document. These
properties are added after the store properties of the document format specified in the
target arguments.public void execute(org.jodconverter.office.OfficeContext context)
throws org.jodconverter.office.OfficeException
org.jodconverter.office.OfficeExceptionprotected void modifyDocument(org.jodconverter.office.OfficeContext context,
com.sun.star.lang.XComponent document)
throws org.jodconverter.office.OfficeException
org.jodconverter.office.OfficeExceptionprotected void storeDocument(com.sun.star.lang.XComponent document,
File targetFile)
throws org.jodconverter.office.OfficeException
org.jodconverter.office.OfficeException