On 10/5/09 7:49 AM, Squ Aire said:

>Thanks for the reply. However=2C of course a file can start with %PDF witho=
>ut being a valid PDF file (and not openable by Preview).
>
>I think I found an acceptable way of doing my thing. Just include the Quart=
>z framework and do
>
>PDFDocument *pdfDoc =3D [[PDFDocument alloc] initWithURL:fileURL]=3B

There is another case to consider: valid PDF files that are not
supported by Preview/Quartz.  For example, pdf files with 3D content
display fine in Acrobat Reader but not in Preview.

--
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to