public bool RegisterField(IPDFFormField field, PDFLayoutContext context)
        {
            PDFAcrobatFormFieldWidget entry = field.GetFieldEntry(context) as PDFAcrobatFormFieldWidget;

            if (null != entry)
            {
                this.Fields.Add(entry);
                return(true);
            }
            else
            {
                return(false);
            }
        }
Exemple #2
0
 public PDFLayoutEventArgs(PDFLayoutContext context)
 {
     this.Context = context;
 }
 public override IPDFLayoutEngine GetEngine(IPDFLayoutEngine parent, PDFLayoutContext context)
 {
     return(new PDFTraceLogLayoutEngineDocument(this, this.OriginalSourceFile, parent, context));
 }
Exemple #4
0
 public PDFTraceLogLayoutEngineDocument(Document doc, PDFFile originalFile, IPDFLayoutEngine parent, PDFLayoutContext context)
     : base(doc, parent, context)
 {
     this._orig = originalFile;
 }