public class ODFFilter extends Object implements IFilter
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DOCUMENT_DESCRIPTION |
protected static String |
DOCUMENT_SUBJECT |
protected static String |
DOCUMENT_TITLE |
protected static String |
META_KEYWORD |
protected static String |
META_NAME |
protected static String |
META_USER_DEFINED |
protected static String |
NSURI_TEXT |
protected static String |
NSURI_XLINK |
protected static String |
OFFICE_ANNOTATION |
protected static String |
PAGE_COUNT_TEXT |
protected static String |
PAGE_NUMBER_TEXT |
protected static String |
TEXT_BOOKMARK_REF |
SUB_FILTER| Constructor and Description |
|---|
ODFFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the current process.
|
void |
close()
Closes the input document.
|
IFilterWriter |
createFilterWriter()
Creates a new IFilterWriter object from the most appropriate class to
use with this filter.
|
ISkeletonWriter |
createSkeletonWriter()
Creates a new ISkeletonWriter object that corresponds to the type of skeleton
this filter uses.
|
List<FilterConfiguration> |
getConfigurations()
Gets the list of all predefined configurations for this filter.
|
String |
getDisplayName()
Gets the localizable display name of this filter.
|
EncoderManager |
getEncoderManager()
Gets the EncoderManager object for this filter.
|
String |
getMimeType()
Gets the MIME type of the format supported by this filter.
|
String |
getName()
Gets the name/identifier of this filter.
|
Parameters |
getParameters()
Gets the current parameters for this filter.
|
boolean |
hasNext()
Indicates if there is an event to process.
|
Event |
next()
Gets the next event available.
|
void |
open(RawDocument input)
Opens the input document described in a give RawDocument object.
|
void |
open(RawDocument input,
boolean generateSkeleton)
Opens the input document described in a give RawDocument object, and
optionally creates skeleton information.
|
void |
setContainerMimeType(String mimeType)
Sets the MIME type of the file containing this document.
|
void |
setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper)
Sets the filter configuration mapper for this filter.
|
void |
setParameters(IParameters newParams)
Sets new parameters for this filter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removeprotected static final String NSURI_TEXT
protected static final String NSURI_XLINK
protected static final String TEXT_BOOKMARK_REF
protected static final String OFFICE_ANNOTATION
protected static final String DOCUMENT_TITLE
protected static final String DOCUMENT_DESCRIPTION
protected static final String DOCUMENT_SUBJECT
protected static final String META_KEYWORD
protected static final String META_USER_DEFINED
protected static final String META_NAME
protected static final String PAGE_NUMBER_TEXT
protected static final String PAGE_COUNT_TEXT
public void close()
IFilterclose in interface AutoCloseableclose in interface IFilterpublic void cancel()
IFilterpublic boolean hasNext()
IFilterImplementer Note: The caller must be able to call this method several times without changing state.
public void open(RawDocument input)
IFilterpublic void open(RawDocument input, boolean generateSkeleton)
IFilterpublic void setContainerMimeType(String mimeType)
mimeType - the MIME type to set.public String getName()
IFilterpublic String getDisplayName()
IFiltergetDisplayName in interface IFilterpublic String getMimeType()
IFiltergetMimeType in interface IFilterpublic List<FilterConfiguration> getConfigurations()
IFiltergetConfigurations in interface IFilterpublic EncoderManager getEncoderManager()
IFiltergetEncoderManager in interface IFilterpublic Parameters getParameters()
IFiltergetParameters in interface IFilterpublic Event next()
IFilterpublic void setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper)
IFiltersetFilterConfigurationMapper in interface IFilterfcMapper - the mapper to set.public void setParameters(IParameters newParams)
IFiltersetParameters in interface IFilternewParams - The new parameters to use.public ISkeletonWriter createSkeletonWriter()
IFiltercreateSkeletonWriter in interface IFilterpublic IFilterWriter createFilterWriter()
IFiltercreateFilterWriter in interface IFilterCopyright © 2021. All rights reserved.