B2023-088: Vogtle Alarm pagination issues
This commit is contained in:
@@ -7088,13 +7088,25 @@ namespace Volian.Print.Library
|
||||
{
|
||||
// B2020-116: change from checking for type 20001 to looking for a non-high sequential since some
|
||||
// step types were sequential but not 20001
|
||||
if (!paraLoc.MyParagraph.MyItemInfo.IsHigh && paraLoc.MyParagraph.MyItemInfo.IsSequential)
|
||||
bool keepBullettedTogether = paraLoc.MyParagraph.MyItemInfo.IsSubStep;
|
||||
if (!paraLoc.MyParagraph.MyItemInfo.IsHigh)
|
||||
{
|
||||
if (DontBreakHere(paraLoc))
|
||||
//if (paraLoc.MyParagraph.MyItemInfo.MyPrevious == null) // First substep
|
||||
level = 0;
|
||||
else
|
||||
level = 1;
|
||||
bool AlarmPagination = paraLoc.MyParagraph.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.AlarmPagination;
|
||||
if (paraLoc.MyParagraph.MyItemInfo.IsSequential)
|
||||
{
|
||||
if (DontBreakHere(paraLoc))
|
||||
//if (paraLoc.MyParagraph.MyItemInfo.MyPrevious == null) // First substep
|
||||
level = 0;
|
||||
else
|
||||
level = AlarmPagination?3:1; // B2023-088 make it easier to break on a sequential for alarms
|
||||
}
|
||||
else if (AlarmPagination && paraLoc.MyParagraph.MyItemInfo.IsSubStep)
|
||||
{
|
||||
// make it harder to break on first caution or note & within a list if doing Alarm Pagination:
|
||||
vlnParagraph myPara = paraLoc.MyParagraph;
|
||||
if ((myPara.MyItemInfo.IsCaution || myPara.MyItemInfo.IsNote) && myPara.MyItemInfo.MyPrevious == null) level = 1;
|
||||
else if (myPara.MyItemInfo.MyPrevious != null || myPara.MyItemInfo.NextItem != null) level = 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
// For B2015-014, some migrated data for background documents had the TitleWithTextBelow with associated paragraphs
|
||||
|
Reference in New Issue
Block a user