Export and import XFDF annotations in a non-UI process

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

m-files corporation
User
Posts: 11
Joined: Thu Jan 26, 2012 6:29 pm

Export and import XFDF annotations in a non-UI process

Post by m-files corporation »

Hi,

We are using PDF-XChange Viewer ActiveX SDK successfully for UI-based PDF annotating. We export the created annotations to an XFDF file, and later we can import the XFDF file to a PDF file.

Now, we have a need to exporting and importing of annotations with these XFDF files in a non-UI process. Does Tracker Software have a suitable SDK for this purpose? We'd need to run the SDK in a non-UI process and it would need to support the following:

1. Taking an annotated PDF file as input and exporting all of its annotations to an XFDF file. Similar to what "this.exportAsXFDF" does in the ActiveX SDK.

2. Importing all annotations in an XFDF file to another PDF file. Similar to what "this.importAnXFDF" does in the ActiveX SDK.

Best regards,
Antti
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2445
Joined: Thu Jun 30, 2005 4:11 pm

Re: Export and import XFDF annotations in a non-UI process

Post by Vasyl - PDF-XChange »

Hi, Antti.
We'd need to run the SDK in a non-UI process
No, it is impossible with Viewer ActiveX Control SDK. It is UI-based SDK only and currently we have not other SDK for that features. Can you create a hidden form which embeds our ActiveX?

Cheers.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
m-files corporation
User
Posts: 11
Joined: Thu Jan 26, 2012 6:29 pm

Re: Export and import XFDF annotations in a non-UI process

Post by m-files corporation »

OK, understood.

I'm not sure if a hidden form with your embedded ActiveX control would work, but in general I've had less favorable results when trying to run UI controls in non-UI server processes like Windows services. This case needs to run on a Windows Server even if no user is logged on. I'll look for some other alternative primarily, but if I don't find one I might try that.

I'm sure you know the SDK market pretty well, would you happen to know of a non-UI SDK for this kind of manipulation of PDF files from any other vendors that we should look at?

You have great functionality in your Viewer ActiveX SDK and a lot of it would be useful also as a non-UI PDF SDK. If you ever decide to offer such a version of your SDK, we'd be definitely interested.

Antti
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19868
Joined: Mon Jan 12, 2009 8:07 am

Re: Export and import XFDF annotations in a non-UI process

Post by Stefan - PDF-XChange »

Hi Antti,

Our Simple Viewer DLL SDK can be used without any UI - but it will not do the xfdf import and export you need.
I can not think of nay other SDK product that can do this without UI.

Regards,
Stefan