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);
            }
        }
Пример #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));
 }
Пример #4
0
 public PDFTraceLogLayoutEngineDocument(Document doc, PDFFile originalFile, IPDFLayoutEngine parent, PDFLayoutContext context)
     : base(doc, parent, context)
 {
     this._orig = originalFile;
 }