public class DefaultFilterChain extends AbstractFilterChain
filters, pos
Constructor and Description |
---|
DefaultFilterChain()
Creates a FilterChain without any filters that will always apply a
RefreshFilter at the
end of the chain. |
DefaultFilterChain(boolean endsWithRefreshFilter)
Creates a FilterChain without any filters.
|
DefaultFilterChain(boolean endsWithRefreshFilter,
Filter... filters)
Creates a FilterChain that will contains the specified filters.
|
DefaultFilterChain(Filter... filters)
Creates a FilterChain that will contains the specified filters and will always apply a
RefreshFilter at the end of the chain. |
Modifier and Type | Method and Description |
---|---|
void |
doFilter(org.jodconverter.office.OfficeContext context,
com.sun.star.lang.XComponent document)
Causes the next filter in the chain to be invoked, or if the calling filter is the last filter
in the chain, do nothing.
|
addFilter, doFilter, reset
public DefaultFilterChain()
RefreshFilter
at the
end of the chain. Filters can later on be added using AbstractFilterChain.addFilter(Filter)
.public DefaultFilterChain(Filter... filters)
RefreshFilter
at the end of the chain.filters
- The filters to add to the chain.public DefaultFilterChain(boolean endsWithRefreshFilter)
AbstractFilterChain.addFilter(Filter)
.endsWithRefreshFilter
- If true
, a RefreshFilter
will always be applied at
the end of the chain.public DefaultFilterChain(boolean endsWithRefreshFilter, Filter... filters)
endsWithRefreshFilter
- If true
, a RefreshFilter
will always be applied at
the end of the chain.filters
- The filters to add to the chain.public void doFilter(org.jodconverter.office.OfficeContext context, com.sun.star.lang.XComponent document) throws org.jodconverter.office.OfficeException
FilterChain
doFilter
in interface FilterChain
doFilter
in class AbstractFilterChain
context
- The OfficeContext in use to pass along the chain.document
- The XComponent being converted to pass along the chain.org.jodconverter.office.OfficeException
- If an error occurs processing the filter.