on 11-25-2013 4:00 PM
hi,
I am looking for a possibility to view pdf documents within the application.
anyone tried methods for this?
my first solution was sending generated blobs to src of an iframe, but incompatibilities
with scrolling was the result.
thanks for any suggestions.
Danilo
Update:
- build ui5-pdfViewer with pdf.js
- seems to be best device(client) independent solution.
tested: mozilla firefox, internet explorer, chromium, ios safari
features:
- page selection with ui elements,
- zoom +/- (wheel and ui elements),
- pointer drag clipped page content when zoom>1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've build a basic PDF-Control using pdf.js.
Can be found here: https://marketplace.ui5.de/controls/pdf
It is free.
Locking thread against hijacking and necromancy.
Regards, Mike (Moderator)
SAP Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All !
This JS is working with manual zoom and scrolling. Actually i want to make it like as a smartphone touch screen zooming. How can i do that?
Thanks in advance ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ömer,
you want to catch touch and swipe events to make real exprience for zoom and drag? try to use jquery event plugins like: touchSwipe.
i used this one in the past for creating googlemaps style application with static images. it can help you too...
i will publish the full blog post for creating the pdf viewer in ui5 in the near future.. currently i'm busy in projects.
bye. Danilo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Danilo,
what do you mean with "incompatibilities with scrolling"?
Regards
Konstantin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Danilo,
had no time yet to check the issue.
Could you please check http://stackoverflow.com/questions/14183647/scrolling-iframe-on-ios-is-solved-but-the-iframe-page-di...
Looks like iframe is a common problem on ios.
Regards
Konstantin
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.