Hyperlinks extraction via automatic API

Using OLE Automation API
Post Reply
rayjfli
Posts: 1
Joined: Thu Sep 01, 2011 11:15 am

Hyperlinks extraction via automatic API

Post by rayjfli » Thu Sep 01, 2011 11:22 am

Greetings,

We just purchased your product to automatically convert our announcements from .doc file to .swf.

In some of the announcements, we have hyperlinks which were supposed to be extracted automatically by the automation API; however, only hyperlinks in first page of the .doc files could be extracted successfully. None of the hyperlinks contained in page 2 or later could be extracted. Did we miss any settings? Or this is a defect of the software?

p.s. This issue only happens in automation API mode (even with the sample code you provided in your SDK package), but everything works fine in window GUI mode.

staff
Posts: 281
Joined: Sat Dec 15, 2007 4:48 pm

Re: Hyperlinks extraction via automatic API

Post by staff » Sat Sep 03, 2011 8:44 am

If you use Server2 object, you cannot retain links from MS Office documents. It stems from the fact that MS Office applications do not work in a Windows service environment properly. Though printing feature may work, information on hyperlinks may not be provided correctly. This is detailed in this Microsoft article: http://support.microsoft.com/kb/257757

The possible solution is using Server object instead of Server2 object and running your document conversion application under an interactive desktop or in a terminal session.

Post Reply