public abstract class AbstractLocalOfficeTask
extends org.jodconverter.task.AbstractOfficeTask
OfficeTask| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
loadProperties |
| Constructor and Description |
|---|
AbstractLocalOfficeTask(org.jodconverter.job.SourceDocumentSpecs source)
Creates a new task with the specified source document.
|
AbstractLocalOfficeTask(org.jodconverter.job.SourceDocumentSpecs source,
Map<String,Object> loadProperties)
Creates a new task with the specified source document.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
appendProperties(Map<String,Object> properties,
Map<String,Object> toAddProperties) |
protected void |
closeDocument(com.sun.star.lang.XComponent document) |
protected Map<String,Object> |
getLoadProperties() |
protected com.sun.star.lang.XComponent |
loadDocument(LocalOfficeContext context,
File sourceFile) |
public AbstractLocalOfficeTask(org.jodconverter.job.SourceDocumentSpecs source)
source - The source specifications of the document.public AbstractLocalOfficeTask(org.jodconverter.job.SourceDocumentSpecs source,
Map<String,Object> loadProperties)
source - The source specifications of the document.loadProperties - The load properties to be applied when loading the document. These
properties are added before the load properties of the document format specified in the
source arguments.protected static void appendProperties(Map<String,Object> properties, Map<String,Object> toAddProperties)
protected com.sun.star.lang.XComponent loadDocument(LocalOfficeContext context, File sourceFile) throws org.jodconverter.office.OfficeException
org.jodconverter.office.OfficeExceptionprotected void closeDocument(com.sun.star.lang.XComponent document)