|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| Hi Hank, kMDItemTextContent is the one attribute that's query-only. Spotlight's index doesn't store the original text of the document at all, so you can't get it from there. As for Quick Look, each type of file has a plug-in, which understands how to read in and display a given file format. There's no "magic" in either case, just code to do the heavy lifting. If you're looking at getting access to the contents of a file, I'd recommend just reading the file into a buffer (or mapped memory, if it might be large) and then displaying the contents of the buffer. In cocoa, this is a trivial thing to do. -Jonah On Mar 5, 2009, at 9:57 AM, HAMSoft Admin wrote:
|
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Spotlight-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
| References: | |
| >kMDItemTextContent... where is it? (From: HAMSoft Admin <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.