Look for the method "app.openDoc( ... )".
ok, but I need more information.
from? From a web-page in a browser? From inside a PDF?
Sorry, I don´t know "where" I am.
Well, I expect that the code runs on a web-page.
What's wrong with setting location.href to point to your file?
This has nothing to do with PDF files, though. It's a general property.
I wouldn´t open the PDF document in another window or download, ..
Is it possible?
If the user has a PDF viewer installed (such as Acrobat or Reader), and it
is set to open PDF files in the browser, then the file will open in the
browser window. If not, it will be launched externally or saved.
Alternatively, you can try embedding the file in your page:
The user doesn´t have a PDF Viewer preinstalled.
I wouldn´t open the browser.
Embed the pdf document doesn´t works.
I would like to show the document in a iframe, for example.
PDF viewer, then they can't view PDF files...
not without it. It can only be accessed if there's a pre-existing
application that can open PDF files, such as Acrobat or Reader.
Such a library doesn't exist.