Added properties for IsSubsection, IsSubsectionNumber and IsSeparateSubsection

Improved debug
Calvert: Improved tab on Section Continue Message and print missing Section Continue Message
This commit is contained in:
2014-11-13 15:50:46 +00:00
parent edf38ca662
commit 7d3b8872c8
3 changed files with 50 additions and 10 deletions

View File

@@ -116,8 +116,14 @@ namespace Volian.Print.Library
yDescent = -iParagraph.Font.BaseFont.GetDescentPoint("Almg", iParagraph.Font.Size);
if (PdfDebug)
{
// be very careful around the following line, if the cursor 'touches'
// NextTextAtCounter, it is incremented and the 'next' value may not be what
// was seen as the UniqueNumber in the pdf.
int next = NextTextAtCounter;
//if (InList(next,1884,1985,1986,1987,1988,1989)) Console.WriteLine("here");
// buffer (unnecessary comments) so
// that cursor does NOT touch 'NextTextAtCounter'
// as easily
//if (InList(next,2958, 2961)) Console.WriteLine("Stop at UniqueNumber");
string dbt = string.Format("[{0}]{1}", next, debugText ?? "");
DrawPdfDebug(cb, left, top, left + width, myColumnText.YLine, dbt, yDescent);
}