• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: PDFDocuments and CGPDFDocuments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PDFDocuments and CGPDFDocuments


  • Subject: Re: PDFDocuments and CGPDFDocuments
  • From: Kevin Ross <email@hidden>
  • Date: Sat, 31 May 2008 15:43:45 -0700

My ultimate goal is an application that is like a printer's PDF workflow, that will allow page manipulations like resizing / cropping / adding bleed information, and imposing multiple pages onto one with crop marks and the like. After researching it seems like some of the functions (imposition with crop marks, page cropping/ scaling with/without preserving aspects, etc) are best suited for quartz, while the rest (page reordering/inserting, rotating, etc) have Cocoa APIs. I'm not clear on how to accomplish the more advanced requirements without creating a CGPDFDocumentRef to draw into a custom quartz context.

If there is a more sane way to accomplish these tasks please let me know! :)

Thank you for your help!

- Kevin


On May 30, 2008, at 12:59 PM, John Calhoun wrote:

On May 29, 2008, at 6:50 PM, Kevin Ross wrote:
I think there has to be either a better way of doing this or a way to do it where I will not have to convert (PDFDocument *) to CGPDFDocumentRef every time I perform a transformation.

Joel was right. I think it would be easier for you to stay in PDF Kit (PDFView) and do your transforms there.


Since I don't know exactly what you are doing, I can't recommend specific advice. If you explain what you think you need to do with CGPDFDocumentRef, I'll try to suggest a parallel way of doing it in PDF Kit.

John Calhoun—_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >PDFDocuments and CGPDFDocuments (From: Kevin Ross <email@hidden>)
 >Re: PDFDocuments and CGPDFDocuments (From: John Calhoun <email@hidden>)

  • Prev by Date: Re: Possible Bug in NSFileManager -moveItemAtPath:toPath:error:
  • Next by Date: Re: PDFDocuments and CGPDFDocuments
  • Previous by thread: Re: PDFDocuments and CGPDFDocuments
  • Next by thread: Re: PDFDocuments and CGPDFDocuments
  • Index(es):
    • Date
    • Thread