B2020-075 make room for the End message only if we are printing the last step of the section
This commit is contained in:
parent
41aac0b063
commit
0d572f335a
@ -1354,7 +1354,12 @@ namespace Volian.Print.Library
|
||||
{
|
||||
float adjustedCurPageYSpace = ySpaceOnCurPage;
|
||||
if (MyPageHelper.PrintedSectionPage > 0 && MyItemInfo.ActiveSection != null && (MyItemInfo.ActiveSection.MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_PrintSectOnFirst) == E_DocStructStyle.DSS_PrintSectOnFirst)
|
||||
{
|
||||
ItemInfo ii = paraBreak.MyItemInfo;
|
||||
while (!ii.IsHigh) ii = ii.MyParent;
|
||||
if (ii == ii.LastSibling) //B2020-075 only adjust the Farley section page length to make room for END message if this is the last step of the section.
|
||||
adjustedCurPageYSpace -= MyPageHelper.PrintedSectionPage; //B2020-064 FNP-1-ECP-0.0 Attachment 6 not enough room for end message
|
||||
}
|
||||
float ySpaceAt7LPI = (adjustedCurPageYSpace - (accountForCalvertAlarmConditionResponseFooter + yEndMsg)) * SixLinesPerInch / _SevenLinesPerInch;
|
||||
if ((YSize - yTop) > (adjustedCurPageYSpace - (accountForCalvertAlarmConditionResponseFooter + yEndMsg))
|
||||
&& (YSize - yTop) < ySpaceAt7LPI )
|
||||
|
Loading…
x
Reference in New Issue
Block a user