I am having a problem trying to write the function:
var ProgDoc = app.openDoc("docName",this);
If I create a PDF document and save it on a file system (ie Hard Drive or CD ROM) then this function will work:
var ProgDoc = app.openDoc("/n/North/repository/October/zzzzzz_October03.pdf",this);
and relative path from this location will also work:
var ProgDoc = app.openDoc("../October/zzzzzz_October03.pdf",this);
My problem is that when I put the created PDF document on the company Intranet, none of the links work from the PDF document when opened within Internet Explorer.
I have even tried:
var ProgDoc = app.openDoc("file://\\ser01xxx1uk\data\North\repository\October/zzzzzz_October03.pdf",this);
But within Internet Explorer the PDF JavaScript produces the following error message:
>>uncaught exception:Link :Mouse Up:1: Invalid argument value for App.openDoc. ===> Parameter cPath. <<
So far my only solution has been to create an HTML menu page that will open each PDF document on request from within Internet Explorer. This works, but I want to be able to navigate from one PDF document to another PDF from within the PDF documents rather than through an intermediary HTML file. Such navigation works PDF --> PDF when the PDF files are read from disk (or CD) but not when read in IE.
var ProgDoc = app.openDoc("docName",this);
If I create a PDF document and save it on a file system (ie Hard Drive or CD ROM) then this function will work:
var ProgDoc = app.openDoc("/n/North/repository/October/zzzzzz_October03.pdf",this);
and relative path from this location will also work:
var ProgDoc = app.openDoc("../October/zzzzzz_October03.pdf",this);
My problem is that when I put the created PDF document on the company Intranet, none of the links work from the PDF document when opened within Internet Explorer.
I have even tried:
var ProgDoc = app.openDoc("file://\\ser01xxx1uk\data\North\repository\October/zzzzzz_October03.pdf",this);
But within Internet Explorer the PDF JavaScript produces the following error message:
>>uncaught exception:Link :Mouse Up:1: Invalid argument value for App.openDoc. ===> Parameter cPath. <<
So far my only solution has been to create an HTML menu page that will open each PDF document on request from within Internet Explorer. This works, but I want to be able to navigate from one PDF document to another PDF from within the PDF documents rather than through an intermediary HTML file. Such navigation works PDF --> PDF when the PDF files are read from disk (or CD) but not when read in IE.