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); }
protected override void DoInit(PDFInitContext context) { if (this.GenerationData != null) { this.InitAllContent(); } base.DoInit(context); }
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(); }
public PDFInitEventArgs(PDFInitContext context) { this.Context = context; }