At 12:58 PM 6/29/2006, Peter Mourfield wrote:
> string sScriptName = js.ToString();
> if (sScriptName.Contains("AFNumber_Format"))
> return "Number";
> else if (sScriptName.Contains("AFDate_Format"))
> return "Date";
> else if (sScriptName.Contains("AFTime_Format"))
> return "Time";
> else if (sScriptName.Contains("AFSpecial_Format"))
> return "Special";
> else if (sScriptName.Contains("AFPercent_Format"))
> return "Percent";
> else
> return "Custom";
Be advised that already this works today - it is based on
the use of undocumented/private methods used by Acrobat that may
change w/o notice.
Leonard
---------------------------------------------------------------------------
Leonard Rosenthol <mailto:[EMAIL PROTECTED]>
Chief Technical Officer <http://www.pdfsages.com>
PDF Sages, Inc. 215-938-7080 (voice)
215-938-0880 (fax)
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions