コード例 #1
0
        protected virtual void InitStyles(PDFInitContext context)
        {
            PDFTraceLogStyles stylesDoc = new PDFTraceLogStyles();

            this.Styles.Add(stylesDoc);
            stylesDoc.Init(context);
        }
コード例 #2
0
        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();
         }
     }
 }
コード例 #5
0
        private void InitContent(PDFInitContext context)
        {
            Section logsect = new PDFTraceLogSection()
            {
                GenerationData = this.GenerationData
            };

            this.Pages.Add(logsect);

            return;
        }
コード例 #6
0
 protected override void OnInit(PDFInitContext context)
 {
     base.OnInit(context);
     this.InitTraceLogStyles();
 }
コード例 #7
0
 public PDFInitEventArgs(PDFInitContext context)
 {
     this.Context = context;
 }