Exemple #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");
            }
        }
Exemple #2
0
 /// <summary>
 /// Set request data callback
 /// </summary>
 /// <param name="requestDataCallback"></param>
 public static void SetRequestDataCallback(PdfFactoryInterface.RequestDataCallback requestDataCallback)
 {
     PdfFactoryInterface.SetRequestDataCallback(requestDataCallback);
 }
Exemple #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");
            }
        }