protected virtual void InitStyles(PDFInitContext context)
        {
            PDFTraceLogStyles stylesDoc = new PDFTraceLogStyles();

            this.Styles.Add(stylesDoc);
            stylesDoc.Init(context);
        }
        protected override void DoInit(PDFInitContext context)
        {
            context.TraceLog = new Scryber.Logging.DoNothingTraceLog(TraceRecordLevel.Off);

            this.InitStyles(context);
            this.InitContent(context);
            base.DoInit(context);
        }
예제 #3
0
 protected override void DoInit(PDFInitContext context)
 {
     if (this.GenerationData != null)
     {
         this.InitAllContent();
     }
     base.DoInit(context);
 }
예제 #4
0
 public void Init(PDFInitContext context)
 {
     foreach (string key in this.Keys)
     {
         object value = this.BaseGet(key);
         if (value is IKeyValueProvider)
         {
             ((IKeyValueProvider)value).Init();
         }
     }
 }
        private void InitContent(PDFInitContext context)
        {
            Section logsect = new PDFTraceLogSection()
            {
                GenerationData = this.GenerationData
            };

            this.Pages.Add(logsect);

            return;
        }
 protected override void OnInit(PDFInitContext context)
 {
     base.OnInit(context);
     this.InitTraceLogStyles();
 }
예제 #7
0
 public PDFInitEventArgs(PDFInitContext context)
 {
     this.Context = context;
 }