Hi Leonard,

I can't find where PdfDocument take a std::istream as input,
only when writing the document you can use a PdfOutputDevice
who takes a std::ostream.

Can you have a look at your code please.

Regards
Sebastian



> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im 
> Auftrag von Leonard Rosenthol
> Gesendet: Donnerstag, 20. Dezember 2007 12:53
> An: EXTERNAL Loch Sebastian (Firma Ferchau; BhP/TEF17)
> Cc: [EMAIL PROTECTED]; [email protected]
> Betreff: Re: [Podofo-users] New method PdfDocument
> 
> It's been a while since I looked at the code, but doesn't 
> PdfDocument  
> take a std::istream, of which std::istrstream is a valid subtype?
> 
> Use that - no need to change any code.
> 
> Leonard
> 
> On Dec 20, 2007, at 4:45 AM, EXTERNAL Loch Sebastian (Firma Ferchau;  
> BhP/TEF17) wrote:
> 
> > Hello all,
> >
> > as I get the pdf document from the client for the processing on the
> > server as byte array I needed a new method to load a pdf document  
> > taking
> >
> > a buffer as argument.
> >
> > I added the following method PdfDocument::Load( const char* pBuffer,
> > long lLen ).
> > The PdfParser initialized here in this method must be adapted too,  
> > added
> > new
> > ctor and ParseFile methods to the PdfParser class.
> >
> > Can we add this changes to the PoDoFo development branch?
> > How can I get this changes commited?
> >
> > Best Regards and a Merry Christmas
> > Sebastian
> >
> > PS: My description how I have done the conversion from CALS 
> format to
> > pdf
> > is still missing, I know, probably I will get this done during my
> > upcoming
> > two weeks vacation...
> >
> > 
> --------------------------------------------------------------
> -------- 
> > ---
> > SF.Net email is sponsored by:
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services
> > for just about anything Open Source.
> > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/ 
> > marketplace
> > _______________________________________________
> > Podofo-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/podofo-users
> >
> 
> 
> --------------------------------------------------------------
> -----------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.n
> et/marketplace
> _______________________________________________
> Podofo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/podofo-users
> 

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to