Re: reading text rom Pages doc

2010-03-08 Thread Charles Srstka
On Mar 8, 2010, at 10:12 AM, Ruedi Heimlicher wrote: > Hi > Thanks for all advices. I found a workarround to open and read the file with > applescript. This is also possible from within Xcode, but very pedantically. > I only have to read in some names from a list. No interest in text > attribut

Re: reading text rom Pages doc

2010-03-08 Thread Ruedi Heimlicher
Hi Thanks for all advices. I found a workarround to open and read the file with applescript. This is also possible from within Xcode, but very pedantically. I only have to read in some names from a list. No interest in text attributes. I offer the user to import name lists as .doc and .txt files

Re: reading text rom Pages doc

2010-03-08 Thread Keith Blount
Cc: cocoa-dev@lists.apple.com; r.heimlic...@bluewin.ch Sent: Mon, March 8, 2010 4:35:50 PM Subject: Re: reading text rom Pages doc On Mar 8, 2010, at 5:43 AM, Keith Blount wrote: Hi, > >As others have pointed out, there is no way to read .pages documents as the >.pages format is propriet

Re: reading text rom Pages doc

2010-03-08 Thread Charles Srstka
On Mar 8, 2010, at 5:43 AM, Keith Blount wrote: > Hi, > > As others have pointed out, there is no way to read .pages documents as the > .pages format is proprietary and unpublished. Some of the specs were > published here: > > http://developer.apple.com/mac/library/documentation/AppleApplicati

Re: reading text rom Pages doc

2010-03-08 Thread Keith Blount
Hi, As others have pointed out, there is no way to read .pages documents as the .pages format is proprietary and unpublished. Some of the specs were published here: http://developer.apple.com/mac/library/documentation/AppleApplications/Conceptual/iWork2-0_XML/Chapter02/02Pages.html But the Pag

Re: reading text rom Pages doc

2010-03-06 Thread Paul Sanders
On 6 Mar 2010, at 1:59 AM, Ruedi Heimlicher wrote: > I am reading text from Word docs without problems using the NSTextView > method readRTFDFromFile. > Trying to read text from Pages documents with file extension .pages fail an > returns empty strings. The same document > saved in Word form

Re: reading text rom Pages doc

2010-03-06 Thread Andrew Merenbach
On Mar 6, 2010, at 3:14 PM, Fritz Anderson wrote: > On 6 Mar 2010, at 1:59 AM, Ruedi Heimlicher wrote: > >> I am reading text from Word docs without problems using the NSTextView >> method readRTFDFromFile. >> Trying to read text from Pages documents with file extension .pages fail an >> re

Re: reading text rom Pages doc

2010-03-06 Thread Fritz Anderson
On 6 Mar 2010, at 1:59 AM, Ruedi Heimlicher wrote: > I am reading text from Word docs without problems using the NSTextView > method readRTFDFromFile. > Trying to read text from Pages documents with file extension .pages fail an > returns empty strings. The same document saved in Word format

reading text rom Pages doc

2010-03-06 Thread Ruedi Heimlicher
Hi I am reading text from Word docs without problems using the NSTextView method readRTFDFromFile. Trying to read text from Pages documents with file extension .pages fail an returns empty strings. The same document saved in Word format works fine. I was trying the NSString method stringWithCo