C2024-003-print-sub-section
This commit is contained in:
parent
fcaa0ce41d
commit
578b8842f7
@ -569,9 +569,22 @@ namespace Volian.Print.Library
|
|||||||
KeepStepsOnPage = false;
|
KeepStepsOnPage = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// B2023-116: Vogtle alarm pagination - sub-steps are separating from their HLS even if there is room for some (not all). See comment above for setting of
|
if (KeepStepsOnPage && ySizeIncludingFirst > (yWithinMargins - ySizeBtmCtnMess1 - ySizeBtmEndMess1))
|
||||||
// 'alarmPageKeepHighWithSubs'.
|
{
|
||||||
if (KeepStepsOnPage && !alarmPageKeepHighWithSubs && ySizeIncludingFirst > (yWithinMargins - ySizeBtmCtnMess1 - ySizeBtmEndMess1)) KeepStepsOnPage = false;
|
// B2023-116: Vogtle alarm pagination - sub-steps are separating from their HLS even if there is room for some (not all).
|
||||||
|
// See comment above for setting of 'alarmPageKeepHighWithSubs'.
|
||||||
|
if (alarmPageKeepHighWithSubs)
|
||||||
|
{
|
||||||
|
// F2024-006: Vogtle Alarms pagination - compare the size of the step and its first sub-step with what we think we have left on the
|
||||||
|
// page. if not enough room with a continue message then set KeepStepsOnPage to start this step on its own page.
|
||||||
|
// This solved an issue where the last line of step text was printing on top of the bottom continue message
|
||||||
|
float myFirstPieceSize = GetFirstPieceSize(true);
|
||||||
|
if (myFirstPieceSize > yWithinMargins)
|
||||||
|
KeepStepsOnPage = false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
KeepStepsOnPage = false;
|
||||||
|
}
|
||||||
if (!KeepWithHeader && !KeepStepsOnPage && mySize - SixLinesPerInch + yEndMsg - tableSpaceAvailable <= yPageSizeNextPage) // if the entire step can fit on one page, do a page break
|
if (!KeepWithHeader && !KeepStepsOnPage && mySize - SixLinesPerInch + yEndMsg - tableSpaceAvailable <= yPageSizeNextPage) // if the entire step can fit on one page, do a page break
|
||||||
{
|
{
|
||||||
// Don't want extra line before step
|
// Don't want extra line before step
|
||||||
@ -1811,7 +1824,7 @@ namespace Volian.Print.Library
|
|||||||
// B2020-073 was not keeping all of RNO sub-step together - Comanche Peak FRC-0.1 (unit 1) Step 14
|
// B2020-073 was not keeping all of RNO sub-step together - Comanche Peak FRC-0.1 (unit 1) Step 14
|
||||||
// B2020-081 was breaking on an AER substep that has an long RNO - should keep AER substep and part of RNO on the page = D.C. Cook "Current (Post FLEX) U1 NOP NOT [EOPs]" set, ES-0.1 step 1.
|
// B2020-081 was breaking on an AER substep that has an long RNO - should keep AER substep and part of RNO on the page = D.C. Cook "Current (Post FLEX) U1 NOP NOT [EOPs]" set, ES-0.1 step 1.
|
||||||
// B2020-085 was breaking first child of second RNO (third IF in RNO) - should break on second child of second RNO - D.C. Cook AOP Unit 1 002-020 Step 15
|
// B2020-085 was breaking first child of second RNO (third IF in RNO) - should break on second child of second RNO - D.C. Cook AOP Unit 1 002-020 Step 15
|
||||||
// B2020-099 was breaking on last sub-step of previous RNO - Calvert Approved Procedures; Abnormal Procedures – Unit 2; AOP-2A; Section VII; Step 11.RNO.11.1.c
|
// B2020-099 was breaking on last sub-step of previous RNO - Calvert Approved Procedures; Abnormal Procedures <20> Unit 2; AOP-2A; Section VII; Step 11.RNO.11.1.c
|
||||||
private vlnParagraph HasSecondRNOThatWillFit(float yStart, float yLowerLimit, float yUpperLimit, StepLevelList myList, int stepLevel, float yTop)
|
private vlnParagraph HasSecondRNOThatWillFit(float yStart, float yLowerLimit, float yUpperLimit, StepLevelList myList, int stepLevel, float yTop)
|
||||||
{
|
{
|
||||||
// B2020-120: for calvert alarms/condition response table, don't run code for second rno
|
// B2020-120: for calvert alarms/condition response table, don't run code for second rno
|
||||||
|
Loading…
x
Reference in New Issue
Block a user