Page 1 of 1

AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Posted: Tue Nov 30, 2010 2:41 pm
by zarkogajic
Hi,

Am evaluating the SDK.

Trying to convert/print a Word 2003 document with a hyper-link to another document.

How do you use the "AnalyzeUrl" option?

Trying with both on and off - the final PDF does not have the link. Have also tried with DetectFiles and CheckFileExists both on and off.

Therefore: what to set to have the link being created (never mind if the destination file exists)?

-zarko

Re: AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Posted: Wed Dec 01, 2010 8:51 am
by Claudiu (Softland)
Hello,

Your document contains a hidden link "link" with the file path hidden. novaPDF does not detect hidden links. It detects only links with the visible paths. novaPDF is a printer driver and receives only the information that is printed also on paper. For more information on what links novaPDF detects see here:

http://www.novapdf.com/kb/create-active ... al-68.html

Thank you.

Re: AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Posted: Wed Dec 01, 2010 10:16 am
by zarkogajic
Support wrote:Your document contains a hidden link "link" with the file path hidden. novaPDF does not detect hidden links. It detects only links with the visible paths.
Ok. How about the add-in for Word/Excel?

The referred article mentiones that:

Furthermore, add-ins for Microsoft Word and Excel are currently available, which will allow the conversion of the "hidden" hyperlinks described above, but only from the applications they were created for.

Anything like this in the SDK?

-zarko

Re: AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Posted: Wed Dec 01, 2010 12:12 pm
by Claudiu (Softland)
Hello,

Yes the Add-in contains the features however it is not available with the SDK version because on the other versions the documents are printed from the applications and not made by the user when he clicks the Add-in button.

Thank you.

Re: AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Posted: Wed Dec 01, 2010 12:31 pm
by zarkogajic
Thanks for the clarification.

Any chance to have this (hidden links conversion) included in the SDK in future versions?

-zarko

Re: AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Posted: Thu Dec 02, 2010 7:21 am
by Claudiu (Softland)
Hello,

We are not considering on implementing the Add-on with the SDK version for the moment.

Thank you.

Re: AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Posted: Thu Dec 02, 2010 8:14 am
by zarkogajic
Support wrote:We are not considering on implementing the Add-on with the SDK version for the moment.
:( Too bad. Your SDK is one of the most feature rich on the market. Converting DOC links to PDF links would be a great addition to the SDK.

If any time in the future you would consider supporting this in the SDK, please also add Windows messages (like callbacks as you have them now) that would allow me to change the generated PDF link (location, zoom, etc).

Anyway, I have now tried with "visible" links using your "Word OLE Delphi" example, BUT the visible links (like "http://www.site.com") are still not converted to links in the resulting PDF.

I have used: AnalyzeUrl = TRUE, DetectFiles = FALSE and CheckFileExists = FALSE.

-zarko

Re: AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Posted: Mon Dec 06, 2010 8:28 am
by Claudiu (Softland)
Hello,

I tested the Analyze URL functionality and it is working correct here. Please modify one of our samples with the code you added for detecting the URLs and send it to us at [email protected] so we can investigate the problem here.

Thank you.

Re: AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Posted: Mon Dec 06, 2010 11:36 am
by zarkogajic
Hi,

I've only added the following 3 lines to your "Word OLE Delphi" sample that comes with the SDK installation.

pNova.SetOptionLong2(NOVAPDF_URL_ANALIZE, LongInt(TRUE), PROFILE_NAME, PROFILE_IS_PUBLIC);
pNova.SetOptionLong2(NOVAPDF_URL_DETECT_FILES, LongInt(TRUE), PROFILE_NAME, PROFILE_IS_PUBLIC);
pNova.SetOptionLong2(NOVAPDF_URL_CHECK_FILE_EXISTS, LongInt(FALSE), PROFILE_NAME, PROFILE_IS_PUBLIC);

Will send to support. Thanks.

-zarko