include footnote size when pagination within step section logic

get max of bottom most of table for steps in table that have sibling steps
use ‘ParagraphToPdf’ (not ‘ToPdf’) for footnotes so that associated paragraphs don’t get referenced
This commit is contained in:
2015-03-03 17:28:22 +00:00
parent b9d517e160
commit 8b8176510f
3 changed files with 12 additions and 2 deletions

View File

@@ -618,7 +618,11 @@ namespace Volian.Print.Library
ntfn.YTopMost = yTopMargin - myYOff;
ntfn.Processed = false; // process from here
ntfn.ToPdf(cb, yTopMargin, ref yTopMargin, ref tmp);
// Only use ParagraphToPdf for printing of a single step.
// This is assuming that footnotes do not have child steps.
ntfn.ParagraphToPdf(cb, yTopMargin, yTopMargin, tmp);
//ntfn.ToPdf(cb, yTopMargin, ref yTopMargin, ref tmp);
myYOff -= (ntfn.Height); // - vlnPrintObject.SixLinesPerInch);
}
NotesToFootNotes = null;