These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

How to set or remove the "/UF" tag using Adobe FDF Toolkit

gadawood
Registered: Mar 1 2006
Posts: 5
Answered

I am using the FDF toolkit to parse an FDF file in order to change the File Tag "/F" using FDFSetFile(). However, this doesn't set the "/UF" tag which is a copy of the "/F" tag. Is there a way to remove this tag "/UF" or set its value. Any help will be appreciated.

Regards,

My Product Information:
Acrobat Pro 8.0, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
the /UF tag is the Unicode version of the file path. Have tried using the FDFSetFileEx() function, and providing a Unicode file spec? If this doesn't work you might try rebuilding the entire FDF without the /UF tag. Or writing your own code to slice out he /UF tag. Or not using FDF at all. XFDF is much easier to parse and manipulate.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

gadawood
Registered: Mar 1 2006
Posts: 5
Thank you for your reply.
Actully, yesterday I wrote my code to remove the /UF tag from the FDF file which solved my issue. Regarding the FDFSetFileEx() function, I did not find it in the "ActiveX" version of the FDF toolkit!