Re: Paginated PDF from NSView saved in memory

2008-12-30 Thread Joel Norvell
Dragan, This doesn't answer your questions, but it might be a useful hint pointing you toward a solution. I think the key method you want to use is [NSView dataWithPDFInsideRect] It's discussed in the "Generating EPS and PDF Data" section of Apple's printing doc. "A print operation does not

Paginated PDF from NSView saved in memory

2008-12-30 Thread Dragan Milić
Hello all, Is there any way of saving paginated multipage PDF created with NSPrintOperation into memory? What I need to do is to create multiple PDF out of the NSTextView and put it into the memory buffer. The PDF document should be properly paginated, and NSTextView can hold RTFD attribu