B2023-088: Vogtle Alarm pagination issues
This commit is contained in:
@@ -1565,7 +1565,7 @@ namespace Volian.Print.Library
|
||||
float yAddForBtmMsg = 0;
|
||||
// useful for debugging pagination issues, lastbreak gets the paragraph at the top of the previous page, shows all
|
||||
// of the locations within 'range' on the next page.
|
||||
//if (lastBreak != null && lastBreak.MyItemInfo.InList(72481))
|
||||
//if (lastBreak != null && lastBreak.MyItemInfo.InList(72481))
|
||||
//{
|
||||
// int range = 120;
|
||||
// Console.WriteLine("lastBreak = {0}, {1}", yUpperLimit, lastBreak);
|
||||
@@ -1720,7 +1720,11 @@ namespace Volian.Print.Library
|
||||
{
|
||||
vlnParagraph rnoChild = myPara.HasSecondRNOThatWillFit(yStart, yLowerLimit, yUpperLimit, myList, stepLevel, yTop); // Only if it is more than the lower limit
|
||||
if (rnoChild != null)
|
||||
{
|
||||
// B2023-088: don't return the 'rnochild' if this is a caution or note in an alarm format
|
||||
if (myPara.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.AlarmPagination && minPara2 != null && minPara2.MyItemInfo.IsCautionOrNotePart) return minPara2;
|
||||
return rnoChild;
|
||||
}
|
||||
}
|
||||
// B2019-103, B2019-114 Break at a step if the step will fit on a page by itself and it will
|
||||
// not fit in the current page
|
||||
|
Reference in New Issue
Block a user