AxAcroPDF won't open hyperlinks - hyperlink

This is my very first post here, so I would like to start with Thank You. I found a lot of answers here.
I cant seem to open any link or hyperlink in pdf files with AxAcroPDF viewer? The Viewer is in a Windows Form and I use C#.
example from AxAcroPDF Viewer
Problem 1: When I click on a link nothing happens.
Problem 2: When I click on a local file link I get this security warning pops up and when accepted nothing happens?
But with Adobe Reader DC everything works just fine.
Thanks

Related

jsPDF: issue with two-page pdf within Adobe Acrobat Reader

I am facing the issue with two-page pdf within Adobe Acrobat Reader.
I am creating 2 page pdf using jsPDF doc.fromHTML() method.
My pdf is shown properly with header and footer when opened with any browser. Al, so my printer is printing it properly
When I am opening it in adobe reader the second page is showing error while printing the pdf and even footer is also not present on the second page.
Please, can anyone help me in solving this issue?
I tried doc.addPage() but it's adding a blank page
Error Message while printing with Acrobat:
An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem
Try doc.addpage then add text to the second page using doc.text or doc.html
I was trying for days to fix that issue and found that it was causing from
setLineDashPattern
function.
I used dash patterns multiple times in my document and whenever I need to remove this global "line dash" settings from the document I was calling
doc.setLineDashPattern([0], 0);
When I debug my code line by line I found that this was the part that causes Adobe Acrobat to raise an exception. So I changed it to
doc.setLineDashPattern([], 0);
And viola!
Hope it helps someone, since I couldn't find anything about that.
Cheers

Spyder Ipython Console - code to automatically print to pdf and save to HTML file

I am working in Spyder and would like to record the console output as either a html or pdf file. Currently the only way to achieve this is to right click on the console window and then choose 'save as'.
The problem with this approach is that the file path needs to be specified manually. It would be much more desirable to be able to set the working directory in the code and then save the pdf or html automatically to this location. Is this possible?
Or if this is not possible, is there any code that when the 'save as' option is right clicked, the file browser is opened on the current working directory?
(Spyder developer here) My answer:
Or if this is not possible, is there any code that when the 'save as' option is right clicked, the file browser is opened on the current working directory?
We can implement this in a future release. Please open an issue in our issues tracker so we don't forget to do it in the future.

FancyBox2 official demo - YouTube doesn't load first time in IE9

I have noticed specific behavior of FancyBox2 Demo in IE9, maybe someone could tell, what causes the problem or how it could be fixed. I mean youtube link, which uses fancybox-media class. When I open demo by using link 'standalone version' on http://fancyapps.com/fancybox/#examples, youtube link works properly and window with movie opens immediately, but when I clean the browsing history and then open site by pasting http://fancyapps.com/fancybox/demo/ into URL bar, youtube window doesn't open the first time and succeeds the next time. It makes the example source code used in any different site couses the same problem. Maybe explanation is simple but I'm not very familiar with jquery and any tip will be usefull.

Embedded Youtube videos not appearing in infowindows

I am attempting to embed Youtube videos into some of the infowindows in the following KML file:
http://www.jonangfoundation.org/files/newdef.kml .
The videos show up fine on Google Earth and KML Builder, but on this page they do not show up at all:
http://www.jonangfoundation.org/taktentest
Anyone know what could be keeping them from showing up?
Unfortunately your 'test' page does not load - Page Not Found error.
However, I think you need to set the correct MIME type for .kml files. Your newdef.kml is presented in my browser window as XML rather than downloaded as a .kml file. That might be your problem, it is hard to tell with nothing else to go on. check out this link for details about setting the right MIME
https://developers.google.com/kml/documentation/kml_tut#kml_server
Edit: I am not sure what is going on. Your KML code looks okay to me, and I see you have tried a few different approaches, none of which appear to work. I suggest you visit this SO question, as it's answer is something you could do to make it work.
Basically, you override the default behaviour when a placemark gets clicked, and allow iframes and javascript to be used in the balloon. It is the original way of getting around your problem (however I thought it was fixed in recent version of the plug-in. Maybe not?)
I believe your content is being scrubbed. See link for description and possible work around.
https://developers.google.com/earth/documentation/balloons#scrubbing

.chm file opening at a given index page from Matlab

I am trying to open a specific page within a .chm file from a Matlab GUI with the web function. Following the instructions and comments found here I have got the url of the desired page (mk:#MSITStore:D:\POv9\Ayuda\ayuda.chm::/html/ayuda1.html). However, when I write the command I need at the prompt
web('mk:#MSITStore:D:\POv9\Ayuda\ayuda.chm::/html/ayuda1.html','-browser')
it does not work (nothing happens neither an error message). I also have tried the following:
web('D:\POv9\Ayuda\ayuda.chm::/html/ayuda1.html','-browser')
web('ayuda.chm::/html/ayuda1.html','-browser')
without success.
I would like to know what I am doing wrong.
If you're on windows this works:
!hh mk:#MSITStore:D:\POv9\Ayuda\ayuda.chm::/html/ayuda1.html
This opens the help file in the Microsoft Help Viewer at the specified page.

Resources