Added output to the DebugPagination file.

Changed the oage break logic to keep a substep with its cautions and notes.
This commit is contained in:
Rich
2014-09-12 20:39:29 +00:00
parent dfa04a18a5
commit 4069371056
2 changed files with 17 additions and 7 deletions

View File

@@ -1187,6 +1187,7 @@ namespace Volian.Print.Library
if (MyPageHelper.ParaBreaks != null && MyPageHelper.ParaBreaks.Count > 0 &&
MyPageHelper.ParaBreaks[0] == this)
{
if (DebugPagination.IsOpen) DebugPagination.WriteLine("XXXXXXXXXXXXXX Special Page Break (PageBreakOnStep) On Item {0},{1}", MyItemInfo.ItemID, MyItemInfo.ShortPath);
OutputOtherPageSteps(cb, YTopMost, yPageStart, yTopMargin, yBottomMargin);
MyPageHelper.BottomMessage = null;
MyPageHelper.TopMessage = null;
@@ -2349,8 +2350,7 @@ namespace Volian.Print.Library
//if (itemInfo.IsSection)
// Rtf = GetRtf(itemInfo, prefix, " (Continued)");
//else
// The following line may not be necessary RTF is lazyloaded
// BuildRtf();
// BuildRtf(); // not necessary, RTF is lazyloaded
if (itemInfo.IsStep && itemInfo.MyHLS != null && itemInfo.MyHLS.FormatStepData.UseSmartTemplate)
{
if (itemInfo.FormatStepData.StepLayoutData.AlignWithParentTab