Esempio n. 1
0
        private void SetDefaultCallbacks()
        {
            if (Logging)
            {
                Logger.LogNotice("Setting default callbacks");
            }
            OnInitializeDataStream += new PdfFactoryInterface.InitializeDataStreamCallback(PdfReporter_InitializeDataStream);
            OnReadData             += new PdfFactoryInterface.ReadDataCallback(PdfReporter_ReadData);
            OnRequestData          += new PdfFactoryInterface.RequestDataCallback(PdfReporter_RequestData);

            if (Logging)
            {
                Logger.LogNotice("Setting default callbacks - Success");
            }
        }
Esempio n. 2
0
 /// <summary>
 /// Set readDataCallback
 /// </summary>
 /// <param name="readDataCallback"></param>
 public static void SetReadDataCallback(PdfFactoryInterface.ReadDataCallback readDataCallback)
 {
     PdfFactoryInterface.SetReadDataCallback(readDataCallback);
 }
Esempio n. 3
0
        private void SetDefaultCallbacks()
        {
            if (Logging)
            {
                Logger.LogNotice("Setting default callbacks");
            }
            OnInitializeDataStream += new PdfFactoryInterface.InitializeDataStreamCallback(PdfReporter_InitializeDataStream);
            OnReadData += new PdfFactoryInterface.ReadDataCallback(PdfReporter_ReadData);
            OnRequestData += new PdfFactoryInterface.RequestDataCallback(PdfReporter_RequestData);

            if (Logging)
            {
                Logger.LogNotice("Setting default callbacks - Success");
            }
        }