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