Exemple #1
0
 public FONetXslFOPdfRenderer(XDocument xslFODoc, XslFOPdfOptions xslFOPdfOptions, EventHandler <XslFOEventArg> fnDebugEventHandler, EventHandler <XslFOErrorEventArg> fnErrorEventHandler)
 {
     this.XslFODocument     = xslFODoc;
     this.XslFOPdfOptions   = xslFOPdfOptions;
     this.DebugEventHandler = fnDebugEventHandler;
     this.ErrorEventHandler = fnErrorEventHandler;
 }
Exemple #2
0
 public FONetXslFOPdfRenderer(XDocument xslFODoc, XslFOPdfOptions xslFOPdfOptions, EventHandler <XslFOEventArg> fnDebugEventHandler, EventHandler <XslFOErrorEventArg> fnErrorEventHandler)
 {
     this.XslFODocument     = xslFODoc.AssertArgumentIsNotNull(nameof(xslFODoc), "Valid XSL-FO Xml source document must be specified.");
     this.XslFOPdfOptions   = xslFOPdfOptions.AssertArgumentIsNotNull(nameof(xslFOPdfOptions), "XSL-FO Render options must be specified.");
     this.DebugEventHandler = fnDebugEventHandler;
     this.ErrorEventHandler = fnErrorEventHandler;
 }
Exemple #3
0
 public FONetXslFOPdfRenderer(XDocument xslFODoc, XslFOPdfOptions xslFOPdfOptions)
     : this(xslFODoc, xslFOPdfOptions, null, null)
 {
 }