Added TotalPages count to DebugPagination
Added logic to close output file on Dispose Output TotalPages count when closed Added Manual Page Break output to DebugPagination.txt Added preliminary pagination logic for KeepStepsOnPages Fixed Pagination Logic for HLP EOPs and WCN EMGs Update TotalPages on completing print of procedure Added YTop to Debug Output on Paragraphs Added preliminary logic for KeepStepsOnPage Correct logic for word-wrap issue
This commit is contained in:
@@ -2124,11 +2124,21 @@ namespace Volian.Print.Library
|
||||
return paraLoc;
|
||||
return null;
|
||||
}
|
||||
internal StepLevelList BuildStepLevelList()
|
||||
internal StepLevelList BuildStepLevelList(bool KeepStepsOnPage)
|
||||
{
|
||||
StepLevelList myList = new StepLevelList();
|
||||
foreach (ParagraphLocation paraLoc in this)
|
||||
myList.Add(paraLoc.StepLevel, paraLoc.YTop, paraLoc.MyParagraph);
|
||||
{
|
||||
int level = paraLoc.StepLevel;
|
||||
if (KeepStepsOnPage && paraLoc.MyParagraph.MyItemInfo.MyContent.Type == 20001)
|
||||
{
|
||||
if (paraLoc.MyParagraph.MyItemInfo.MyPrevious == null)
|
||||
level = 0;
|
||||
else
|
||||
level = 1;
|
||||
}
|
||||
myList.Add(level , paraLoc.YTop, paraLoc.MyParagraph);
|
||||
}
|
||||
return myList;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user