Re: Pages document
Re: Pages document
- Subject: Re: Pages document
- From: Scott Thompson <email@hidden>
- Date: Fri, 14 Sep 2007 09:52:59 -0500
On Sep 14, 2007, at 9:28 AM, Lorenzo wrote:
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.
What we do know about Pages (and Keynote, and probably Numbers...
though I haven't looked at it) is that it uses a document that
contains zipped XML. (I see that Shawn has posted a link to the iWork
document documentation at Apple).
It doesn't seem to big of a stretch to think that you could crack the
pages document open yourself and quickly find the text in the document
using "just an XML Parser".
I've got some code around here somewhere for exploring Keynote
presentations that might get you 60% of the way there... where did I
put that... if I can find it... I'll send it off-list.
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