AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Post here any questions/suggestions you have about novaPDF SDK or novaPDF OEM.
Post Reply
zarkogajic
Posts: 15
Joined: Tue Nov 30, 2010 11:40 am

AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Post by zarkogajic » Tue Nov 30, 2010 2:41 pm

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
Attachments
doc-link.zip
zipped 2 doc files
(22.11 KiB) Downloaded 567 times

Support
Posts: 223
Joined: Wed Dec 16, 2009 12:46 pm

Re: AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Post by Support » Wed Dec 01, 2010 8:51 am

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.

zarkogajic
Posts: 15
Joined: Tue Nov 30, 2010 11:40 am

Re: AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Post by zarkogajic » Wed Dec 01, 2010 10:16 am

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

Support
Posts: 223
Joined: Wed Dec 16, 2009 12:46 pm

Re: AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Post by Support » Wed Dec 01, 2010 12:12 pm

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.

zarkogajic
Posts: 15
Joined: Tue Nov 30, 2010 11:40 am

Re: AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Post by zarkogajic » Wed Dec 01, 2010 12:31 pm

Thanks for the clarification.

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

-zarko

Support
Posts: 223
Joined: Wed Dec 16, 2009 12:46 pm

Re: AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Post by Support » Thu Dec 02, 2010 7:21 am

Hello,

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

Thank you.

zarkogajic
Posts: 15
Joined: Tue Nov 30, 2010 11:40 am

Re: AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Post by zarkogajic » Thu Dec 02, 2010 8:14 am

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

Support
Posts: 223
Joined: Wed Dec 16, 2009 12:46 pm

Re: AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Post by Support » Mon Dec 06, 2010 8:28 am

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 support@novapdf.com so we can investigate the problem here.

Thank you.

zarkogajic
Posts: 15
Joined: Tue Nov 30, 2010 11:40 am

Re: AnalyzeUrl/DetectFiles/CheckFileExists usage for Word 2003

Post by zarkogajic » Mon Dec 06, 2010 11:36 am

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

Post Reply