Changing PDF orientation or rotating PDF before display

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Youks
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 135
Joined: Mon Sep 05, 2011 6:08 pm
Location: Qatar

Re: Changing PDF orientation or rotating PDF before display

Post by Youks » Fri Nov 23, 2018 12:59 pm

Thanks a million !
That's what I thought. Then I will try to work with PDF.js and bypass the widget for the rendering. Any guidance on how to proceed ? (i.e where to include the plugin in my app and how to call the viewer through the widget..etc...)

Thank you all for your feedback
PS: I used to develop with LC few years back and I'm a total noob in javascript :P )

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7237
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Changing PDF orientation or rotating PDF before display

Post by jacque » Fri Nov 23, 2018 7:36 pm

Youks wrote:
Fri Nov 23, 2018 8:32 am
I haven't tried that yet since I want to do it first on the Mac before porting it eventually to Android, that is why I am looking into a more general approach.
The two operating systems are different. If the final goal is an Android release, I wouldn't bother trying to make it work on Mac where it will never actually be used. There's a chance the js method won't work on Android anyway, though I don't know for sure. It's so easy to implement on mobile, I never tried any other method.

Let us know if you want some pointers.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Youks
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 135
Joined: Mon Sep 05, 2011 6:08 pm
Location: Qatar

Re: Changing PDF orientation or rotating PDF before display

Post by Youks » Mon Nov 26, 2018 7:57 pm

Sorry for the late feedback, i played with the PDF.js and it worked but not to my taste. I am abandoning that direction and I will work with JPEG and GIF instead,

Thx

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Changing PDF orientation or rotating PDF before display

Post by [-hh] » Mon Nov 26, 2018 9:04 pm

shiftLock happens

Youks
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 135
Joined: Mon Sep 05, 2011 6:08 pm
Location: Qatar

Re: Changing PDF orientation or rotating PDF before display

Post by Youks » Tue Nov 27, 2018 6:35 am

Oh!! Right in Time !!! Thank you so much for your outstanding contribution !!!

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”