PoDoFo 0.9.20
|
#include <PdfFilter.h>
Static Public Member Functions | |
static std::unique_ptr< PdfFilter > | Create (PdfFilterType filterType) |
static std::unique_ptr< OutputStream > | CreateEncodeStream (const std::shared_ptr< OutputStream > &stream, const PdfFilterList &filters) |
static std::unique_ptr< InputStream > | CreateDecodeStream (const std::shared_ptr< InputStream > &stream, const PdfFilterList &filters, const std::vector< const PdfDictionary * > &decodeParms) |
static PdfFilterList | CreateFilterList (const PdfObject &filtersObj) |
A factory to create a filter object for a filter type (as GetType() gives) from the PdfFilterType enum. All filters should be created using this factory.
|
static |
Create a filter from an enum.
Ownership is transferred to the caller, who should let the unique_ptr the filter is returned in take care of freeing it when they're done with it.
filterType | return value of GetType() for filter to be created |
|
static |
Create an InputStream that applies a list of filters on all data written to it.
filters | a list of filters |
stream | write all data to this OutputStream after it has been decoded. |
decodeParms | list of additional parameters for stream decoding |
|
static |
Create an OutputStream that applies a list of filters on all data written to it.
filters | a list of filters |
stream | write all data to this OutputStream after it has been encoded |