Пример #1
0
        /** Sets all the fields from this <CODE>FdfReader</CODE>
         * @param fdf the <CODE>FdfReader</CODE>
         */
        public void SetFields(FdfReader fdf)
        {
            Hashtable map = fdf.Fields;

            foreach (DictionaryEntry entry in map)
            {
                String        key = (String)entry.Key;
                PdfDictionary dic = (PdfDictionary)entry.Value;
                PdfObject     v   = dic.Get(PdfName.V);
                if (v != null)
                {
                    SetField(key, v);
                }
                v = dic.Get(PdfName.A); // (plaflamme)
                if (v != null)
                {
                    SetField(key, v);
                }
            }
        }
Пример #2
0
 /**
  * Adds the comments present in an FDF file.
  * @param fdf the FDF file
  * @throws IOException on error
  */
 public void AddComments(FdfReader fdf)
 {
     stamper.AddComments(fdf);
 }