Hi, It should be pretty easy to implement a deep-copy feature on PdfVecObjects. Starting from that you could either add deep-copy to PdfMemDocument or work directly with PdfVecObjects ( see podofo/test/ParserTest for an example).
Regards, Dom On Tue, Sep 18, 2012 at 2:25 PM, Mocanu Lucian <[email protected]> wrote: > Hello, > I just started using PoDoFo for a project that involves pdf processing. I > need to open a PDF file (once) and create in memory copies of it, alter them > according to a list of attributes(add specific elements) and write them to > disk. Since there are allot of files to be written I need to read the file > only once from disk, since it's the same file. I tried using a > RefCountedInputDevice but it gives me an error upon creating a second mem > document, mem document has not implemented a copy constructor or overridden > =, and the last option which I used was the in memory char * buffer from > which i create the mem document copies. > My question: Is there a way of copying an already open pdf document in > memory and modify it? I kept searching the web for a solution but I didn't > find anything but a post suggesting use of MemDocument but did not say > anything about how to use it. > > Thank you! > > P.S. Subscribed to mailing list but no answer. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Podofo-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/podofo-users > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
