예제 #1
0
 private static void TracePageBreakIgnoredAtBottom(int pageNumber, PageBreakInfo pageBreak)
 {
     if (pageBreak != null && !pageBreak.Disabled)
     {
         RenderingDiagnostics.Trace(RenderingArea.PageCreation, TraceLevel.Verbose, "PR-DIAG [Page {0}] Page break on '{1}' ignored – bottom of page", pageNumber, pageBreak.ReportItemName);
     }
 }
예제 #2
0
 private static void TraceLogicalPageBreak(int pageNumber, PageBreakInfo pageBreak)
 {
     if (pageBreak != null && !pageBreak.Disabled)
     {
         string text = "PR-DIAG [Page {0}] Page created by {1} page break";
         if (pageBreak.ResetPageNumber)
         {
             text += ". Page number reset";
         }
         RenderingDiagnostics.Trace(RenderingArea.PageCreation, TraceLevel.Verbose, text, pageNumber, PageCreationType.Logical.ToString());
     }
 }