• 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: Pages document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pages document


  • Subject: Re: Pages document
  • From: Scott Thompson <email@hidden>
  • Date: Fri, 14 Sep 2007 07:23:39 -0500


On Sep 13, 2007, at 7:21 PM, John Stiles wrote:

*cue laugh track*
No, in all seriousness, I think he has a good point. We can load up RTF files into our NSTextViews with only a few lines of code. I don't think it's too much to ask that Pages documents be supported with a similar API. (To the best of my knowledge, the answer is "no, there is no API for this in Tiger.")

There's a question here. Do you want to render the entire Pages document, or just some preview of it?


There's no API to render an ENTIRE pages document in Tiger, and I don't know that it would be a good idea to have a dedicated API to do it in any future version.

The issue, in my opinion, is that PDF, RTF, HTML, (DOC being an exception, but also enjoying only limited support) are all standards based document formats. Pages, in contrast, is a "proprietary" document format. Pages has a complex layout process and that entire layout process would have to be incorporated into the renderer (you'd probably end up with something roughly on the size of Pages itself). Moreover, it would be harder for Apple to change the format of pages documents and still maintain backward compatibility in the renderer. To put it another way, standards based formats are easier to support because their specifications are slow and lumbering.

Now, if you want a preview, you might be able to dig around in a Pages document and find some kind of document preview (probably a reduced quality PDF?) that you could display. I imagine that's what Apple's QuickLook plugin will do.

http://www.apple.com/macosx/leopard/features/quicklook.html

:-)

Scott

_______________________________________________

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


  • Follow-Ups:
    • Re: Pages document
      • From: John Stiles <email@hidden>
    • Re: Pages document
      • From: Lorenzo <email@hidden>
References: 
 >Pages document (From: Lorenzo <email@hidden>)
 >Re: Pages document (From: "Shawn Erickson" <email@hidden>)
 >Re: Pages document (From: John Stiles <email@hidden>)

  • Prev by Date: Determine pressed keys while dragging FROM OTHER application
  • Next by Date: NSTextView, partial views of NSTextStorage
  • Previous by thread: Re: Pages document
  • Next by thread: Re: Pages document
  • Index(es):
    • Date
    • Thread