add TOC to PDF that has both portrait and landscape pages - aspose.pdf

http://www.aspose.com/docs/display/pdfnet/Add+TOC+to+Existing+PDF
I am trying to add a TOC to a PDF that has both portrait and landscape pages similar to the example above. That causes all the pages in the PDF to become portrait and the landscape pages are cut off. Any idea what is causing that or how to fix?
Thanks

The issue has been resolved in the new version of aspose.pdf.

Related

How to export a Google Slide to a pdf in portrait orientation using App Script?

I know how to export a slide into a pdf using App Script with such a kind of code :
folder.createFile(holderFile.getBlob()).setName(PropertiesService.getScriptProperties().getProperty(diplomenumber) + '.pdf');
but the problem is that the pdf generated is in landscape orientation instead of portrait orientation even if my slide is in portrait orientation.
So I was wondering if there is a solution to get the pdf generated from Google Slides in portrait orientation using App Script.
Thanks for any good advices.

Dynamic PDF - Links not working on iPad

Can anyone shine any light on why an interactive PDF's buttons would not display on a iPad?
The following link - http://www.liquidclients.co.uk/ricky/test2.pdf works fine on desktop - but doesnt load buttons on an iPad
The built in PDF rendering API in iOS renders only the page content. Annotations are not rendered. Interactive buttons are widget annotations so they are not displayed.
This is by design.
You might try out PDFExpert by Readdle, which is said to be the leading PDF viewer for iDevices at the moment.

Landscape Orientation doesn't resize my UIWebView

Here is the context of my problem :
I have a client application (ObjC)calling a player.jsp file located on the server (Java), to display it in my application in an UIWebView. The Java application is a web application which displays learning formations and i have to build an application to display these contents on an iPad.
The player in the web app uses iframes to display the content, and in my iPad application, i'm just loading this player in my UIWebView and it works, but with some sizing problems.
This player can open any type of files but I'm focusing only on HTML files.
The problem is when i switch to Landscape orientation, the content isn't resized as it should be and i can't scroll either.
When i launch the application in landscape, the size is good. Then i can switch in portrait and the resize is also done. The problem occurs only from portrait to landscape (the width is actually good but the height is too high and i can't scroll... it's not resized to the size of the launch of the app in landscape mode)
I've been searching for an answer for couple days now, been reading that adding :
<meta name="viewport" content="width=device-width, initial-scale=1.0,
maximum-scale=1.0, user-scalable=no">
into the header of my HTML files would help, but it actually doesn't. It actually even does no difference at all.
Any ideas ? Thanks
I had a similar issue, not resizing but rotation issues in general and this seemed to fix it
iOS Orientation Issues
I know its not the best help, but it didnt solve some rotatin issues aswell as resizing!

Performance tuning for iOS Leaves Page Flip Transition

I am using the GitHub leaves library to implement a PDF Reader with page flip transition. Every thing is working perfect in iPad/iPhone simulator. But when I installed the same on device, the page flip transition on landscape mode is getting slowed. ie, When two pages are showing. Can anybody give me any suggestion to solve this issue.
Thanks in advance.
Are you reading your PDF images from disk as the user flips? Preloading them in the background could help speed things up.

Start iPad application both in landscape and portrait mode

Right now when I start my iPad application, if I'm turning my device in landscape mode then my rootConroller automatically turns my table from portrait to landscape mode. The problem is that it does so by animating the transition. Instead I would like the app to start in landscape mode right away. I've also created an image called Default-Landscape.png which is ignored, so I suspect I have to tweak something in the plist file?
Set your orientation to UISupportedInterfaceOrientations in the Info.plist file