Any idea how to read a .ppt file in Cocoa Touch ?
I tried to load the contents of the file in UIWebView but it didn't work. Here is the code :
[aWebView loadData:[NSData dataWithContentsOfFile:filePath]
MIMEType:@"application/vnd.ms-powerpoint"
textEncodingName:@"utf-8"
baseURL:[NSURL fileURLWithPath:filePath]];
[powerWeb loadData:[NSData dataWithContentsOfFile:filePath]
MIMEType:@"application/vnd.ms-powerpoint"
textEncodingName:@"utf-8"
baseURL:[NSURL fileURLWithPath:filePath]];
All suggestions are highly appreciated.
Thanks
Highlight a section of text inside the applicable slide, or highlight the notes beneath the target slide, and then click the Speak command button. 3. PowerPoint reads the highlighted text or notes on the selected slide. 4. Click the Speak command button once to begin the reading session, then click it again to stop.
Yes, it can. Using the Speak command, also known as the Text to Speech (TTS) feature, PowerPoint can read the text in your slideshows and in your notes out loud. Be advised, however, that there is not a pause and continue feature with Speak.
It is working with my touchscreen, and will only close if you press the ESC key. Tks Matt! Was this reply helpful? I got the same problem. With Powerpoint 2016, finger touch cannot work as mouse clicking in Kiosk mode but it works in speaker mode. For example, an picture is assigned an action "hyperlink to the first slide".
You may still be able to improve how the slide is read by grouping objects in logical units and removing objects from the reading order by marking them decorative. If you have complex diagrams or illustrations made of many objects, group the objects into logical units.
UIWebView is for displaying web content, in a format you could view directly in a browser. It has no idea about how to display PowerPoint files — most applications don't, since it's a proprietary Microsoft format. (I stand corrected — apparently, UIWebView does know how to display PowerPoint files and others. If it's not working, I'd suggest trying a different MIME type, such as application/mspowerpoint
.) Just remember that simply loading a file into an NSData doesn't mean that anyone else you pass that data to will know how to interpret the bytes.
You might check whether Microsoft offers any tools for parsing PPT files, or look around for open-source tools — for example, Google searches often convert to HTML. Just be aware that your browser is usually not loading a PowerPoint version of the file directly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With