Previous | Next | (P-PDF) Forms & FDF
Topic: FDF Toolkit SetFf challenged
Conf: (P-PDF) Forms & FDF, Msg: 27713
From: sce002
Date: 9/27/2001 10:56 PM
When generating FDF from the FDF Toolkit I'm trying to dynamically change a field's properties (dictionary) to ReadOnly or Required. In the PDF that I will be displaying the FDF data the fields are listed as regular text fields. I am unable to simply change the properties in the PDF because of other requirements.
According to the FDF Toolkit I need to use the FDFItem.FDFSetFf method. The PDF Reference lists Bit Position 1 for ReadOnly and Bit Position 2 for Required. This may be a stupid question but how do I implement this? Does anyone have an example that they would be willing to share, even non-Java? Right now I have the following Java code:
outputFDF.SetFlags("TextField01",1,?)
outputFDF is an instance of FDFDoc and is the item I am creating.
Thanks - Steve