Displaying ppt interactively on iOS device - ios

I have browsed and searched a lot for this but couldn't find any relevant answers/posts. I am looking for a framework/library with the help of which I can convert ppt slides into images and then render them on iOS device. Any other way/procedure which will display ppt page-wise with giving control on page transition will also be great.
Thanks in advance

If you just want to view the Office files, have a look at:
Document Interaction Programming Topics for iOS: Quick Look Framework.
Quick Look Framework Reference
Quick Look Framework supports a lot of file formats as you can see in the links above. It is available in iOS 4.0 and later.
You can also use UIWebView to display them. See Using UIWebView to display select document types.

Related

Render PPT files in iOS 6

I am developing an application where it will load Power point presentation file in UIWebView and capture the screen of the UIWebView for each page. And I am able to display as images one by one like a presentation.
Targetted platforms are: iOS6, iOS7
(1) Now when I want to display a Power Point document that has slides with multiple layered images/ elements or slides with animation
(2) Ppt files with custom size of slides
are not properly rendered by UIWebView. And hence I am seeing those slides in a different alignment and orientation. Basically not able to display as original images.
I searched in Google, Stack Overflow and even Apple documentation. Nowhere documented that this is not possible. Is there any other approach for loading ppt files where I will not lose any content or alignment?
SlideShark or Key Note are the apps which will display ppts as if original ppt slides.
Follow App Guidelines for UIDocumentInteractionController
Documentation
Sample Code
I think this will help you.
You can check file support using QLPreviewController here.

iOS Powerpoint Viewer trouble

I want to implement a PowerPoint viewer in my application. I tried to use Quick Look Framework. But it doesn't support transition animations and full screen.
Can someone help me to implement these two things.
I've also tried to open the presentation in web view.

QLPreviewController VS UIWebView in terms of render efficience and memory usage

I am working on an iPad project which lets users browse local docs, ppts, pdfs and etc..
I have two options to display these files:
First, I can use UIWebView to display them;
Alternatively, I can use QLPreviewController to display them.
From ActivityConsole, I figure out that when I use UIWebView to display a 8.6M PPT, my app's process costs as following:
However, when I use QLPreviewController to display the same PPT, there will be two process as following:
I think the "quicklookd" process is a helper process launched by the QuickLook Framework.
As I see, the overall memory usage is about the same, but using QLPreviewController can cut down the memory usage of my App ( It is proved in Instruments ). So I think the display of doc can be more smooth and fast by using QLPreviewController. However, when I test these two approches in iPad1, iOS 5.1.1, I found out that the render effcience of QLPreviewController is lower than UIWebView. The scrolling of the ppt chokes much more in QLPreviewController.
Can anyone explain the underlying implement of QLPreviewController render process? And which is the better choice to display docs?
Or is there a better approach to display docs except above approches?
Thank you for any help!

Add an annotation on a pdf

I have to develop a iPad app which can view a PDF file and draw some predefined annotations on it dynamically. It's like http://plangrid.com/ do.
I went though WWDC videos, stackoverflow and some other blogs.
But could not find a way to add a controller bar on the PDF. And drag a annotation from it and drop on the PDF.
I have an idea about to view a PDF. I followed ZoomingPDFViewer example.
Please advise me.
I'm using XCode 4 and iOS 4.3.
I'm not sure if you found the following stackoverflow post:
Annotate PDF within iPhone SDK
The first answer shows how to add text to a pdf page at a given location. This should be helpful for your purposes.

What HTML5 features are available for Dashcode widgets in iBooks?

With the new iBooks Author tool, you can create e-books for the iPad. The format allows you to embed HTML widgets created with Dashcode. The resulting files can be distributed outside of the app store, similar, but probably easier (because it is just one file in a format Apple fully supports), than offline HTML5 web apps (which you have to install via Safari).
What features of HTML5 can be used in those Dashcode widgets? Is there for example DOM storage? Canvas? Location?
Regarding storage, tests made in preview mode on the iPad suggest that localStorage works. It is per book. You can save data in one HTML widget and read them in another HTML widget.
Regarding location, this blog post on "Location with iBooks Author" suggests that it is functional
I just built a test widget that uses flot to draw graphs into a canvas element, and then I inserted the widget into an iBook. When previewing the iBook on my iPad 1, the graph doesn't appear in the in-layout thumbnail, but when expanded to full screen, the graph displays beautifully.
So as far as canvas is concerned: it appears to be available, but apparently only when in full-screen interactive mode.
Update: Apparently the in-layout thumbnail is just an image of the widget, not the widget itself, which is why the graph (which requires executing code) does not display.
CSS Animations can be inserted into iBooks via the iBooks author widget support. Here is an example of us using Sencha Animator to add animations to iBooks Author.
I didn't get Canvas Code to execute on an iPad 1.
Update: no success on iPad 2 either.
(Edit: I was using the Processing.js library)
There is a github repo with a few demonstration HTML widgets that show how to use the interactive features.

Resources