Re: Pages document
Re: Pages document
- Subject: Re: Pages document
- From: Lorenzo <email@hidden>
- Date: Fri, 14 Sep 2007 16:28:25 +0200
Thanks Scott. I built an app which searches a string within documents and
display the result in a list, as well as Spotlight. In addition the user can
click the items on the list and display the content (in the same window,
with its own original layout...), he can copy text and images from there...
So I would really like to display the original Pages format to the user and
let him copy part of the contents. I already do that with DOC, PDF, RTF,
RTFD, HTML, TXT, JPG, TIF... I miss Pages and of course other proprietary
document formats as XPress, InDesign, Excel... But, I know, I can't get
everything from life.
I hope Apple could add this API to Cocoa (to read and display Pages, XPress,
InDesign, Excel, the most popular formats) as well as it has done with
WebKit and PDFKit and for DOC. This could be a good idea to display© any
contents from an email attachment too. Also a great feature to add to the
iPhone email app.
Best Regards
--
Lorenzo
email: email@hidden
> From: Scott Thompson <email@hidden>
> Date: Fri, 14 Sep 2007 07:23:39 -0500
> To: Cocoa List <email@hidden>
> Cc: Shawn Erickson <email@hidden>, Lorenzo <email@hidden>, John
> Stiles <email@hidden>
> Subject: Re: Pages document
>
>
> 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