Hello Brad.
I was just looking at the API Documentation and it referred to this class
is a way that I would expect to be able to use it. Going off the cpp file
comments you pass a unfiltered stream to this class and it passes a
filtered copy of that stream to the PdfOutputStream argument. I know the
alternative. My only confusion here surrounds the fact that it is listed in
the API documentation and from what I can see there is no mention of it
being used only internally. But if I look at the code in the
PdfFilters.cpp file I can see that it is used internally, as you have
mentioned above.
*PdfOutputStream* PdfFilterFactory::CreateDecodeStream( const TVecFilters &
filters, PdfOutputStream* pStream,*
* const
PdfDictionary* pDictionary ) *
*{*
* TVecFilters::const_reverse_iterator it = filters.rbegin();*
* PODOFO_RAISE_LOGIC_IF( !filters.size(), "Cannot create an DecodeStream
from an empty list of filters" );*
* // TODO: support arrays and indirect objects here and the short name
/DP*
* if( pDictionary && pDictionary->HasKey( "DecodeParms" ) &&
pDictionary->GetKey( "DecodeParms" )->IsDictionary() )*
* pDictionary = &(pDictionary->GetKey( "DecodeParms"
)->GetDictionary());*
* PdfFilteredDecodeStream* pFilter = new PdfFilteredDecodeStream(
pStream, *it, false, pDictionary );*
* ++it;*
* while( it != filters.rend() ) *
* {*
* pFilter = new PdfFilteredDecodeStream( pFilter, *it, true,
pDictionary );*
* ++it;*
* }*
return pFilter;
}
On Mon, Sep 22, 2014 at 5:57 PM, Brad Hards <br...@frogmouth.net> wrote:
> On Mon, 22 Sep 2014 01:22:35 PM Svetlana Watkins wrote:
> > All I am asking is why I cannot declare this class. It is in the podofo
> > API documentation and appears in the PdfFilters.cpp file. But not the
> > PdfFilters.h file. If the API documentation refers to how to use it but
> it
> > can not be used then I am just asking why not? Is there an intention to
> > make use of this in the future? Am I reading the API documentation
> wrong?
> Its hard to tell (because you aren't providing any context for your query),
> but I think you should use the PdfFilterFactory::CreateDecodeStream factory
> method.
>
> If that doesn't help, can you provide some context to allow us to provide
> something you can use?
>
> Brad
>
>
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> _______________________________________________
> Podofo-users mailing list
> Podofo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users