public abstract class AbstractLocalOfficeTask
extends org.jodconverter.core.task.AbstractOfficeTask
OfficeTask| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
loadProperties |
protected boolean |
useStreamAdapters |
| Constructor and Description |
|---|
AbstractLocalOfficeTask(@NonNull org.jodconverter.core.job.SourceDocumentSpecs source)
Creates a new task with the specified source document.
|
AbstractLocalOfficeTask(@NonNull org.jodconverter.core.job.SourceDocumentSpecs source,
boolean useStreamAdapters)
Creates a new task with the specified source document.
|
AbstractLocalOfficeTask(@NonNull org.jodconverter.core.job.SourceDocumentSpecs source,
boolean useStreamAdapters,
@Nullable Map<String,Object> loadProperties)
Creates a new task with the specified source document.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
appendProperties(@NonNull Map<String,Object> properties,
@Nullable Map<String,Object> toAddProperties) |
protected void |
closeDocument(@Nullable com.sun.star.lang.XComponent document) |
protected @NonNull Map<String,Object> |
getLoadProperties() |
protected @NonNull com.sun.star.lang.XComponent |
loadDocument(@NonNull LocalOfficeContext context,
@NonNull File sourceFile) |
@NonNull String |
toString() |
public AbstractLocalOfficeTask(@NonNull org.jodconverter.core.job.SourceDocumentSpecs source)
source - The source specifications of the document.public AbstractLocalOfficeTask(@NonNull org.jodconverter.core.job.SourceDocumentSpecs source,
boolean useStreamAdapters)
source - The source specifications of the document.useStreamAdapters - Indicates whether document are loaded/stored using stream adapters.public AbstractLocalOfficeTask(@NonNull org.jodconverter.core.job.SourceDocumentSpecs source,
boolean useStreamAdapters,
@Nullable Map<String,Object> loadProperties)
source - The source specifications of the document.useStreamAdapters - Indicates whether document are loaded/stored using stream adapters.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(@NonNull Map<String,Object> properties, @Nullable Map<String,Object> toAddProperties)
protected @NonNull com.sun.star.lang.XComponent loadDocument(@NonNull LocalOfficeContext context, @NonNull File sourceFile) throws org.jodconverter.core.office.OfficeException
org.jodconverter.core.office.OfficeExceptionprotected void closeDocument(@Nullable com.sun.star.lang.XComponent document)
public @NonNull String toString()
toString in class org.jodconverter.core.task.AbstractOfficeTaskCopyright © 2016 - present; JODConverter.org. All rights reserved.