B2020-047 forced pagination causing single step part to print on a page all by itself. Westinghouse house data BDS-101 Attachment 1
This commit is contained in:
parent
dc304f984f
commit
9bea938777
@ -1782,7 +1782,8 @@ i = 0;
|
||||
if (myMsg != null && myMsg != "")stitle = stitle + myMsg;
|
||||
}
|
||||
plstr = SplitTitle(svgGroup, pageItem, stitle, section.ActiveFormat.PlantFormat.FormatData.SectData.SectionTitleLength, token, plstr, section.ActiveFormat.PlantFormat.FormatData.SectData.SectionNumberAndTitleLength);
|
||||
PrintedSectionPage = (int)pageItem.Row - _sectLevelNumTtlDiff;
|
||||
if ((pageItem.Justify & VEPROMS.CSLA.Library.E_Justify.PSOnlyFirst) == VEPROMS.CSLA.Library.E_Justify.PSOnlyFirst) // B2020-047 only set PrintedSectionPage if PSOnly is used
|
||||
PrintedSectionPage = (int)pageItem.Row - _sectLevelNumTtlDiff;
|
||||
}
|
||||
else
|
||||
plstr = plstr.Replace(token, "");
|
||||
|
@ -1415,10 +1415,10 @@ namespace Volian.Print.Library
|
||||
yTopMargin = _PointsPerPage - (float)MyItemInfo.ActiveSection.MyDocStyle.Layout.TopMargin;
|
||||
yBottomMargin = Math.Max(0, yTopMargin - (float)MyItemInfo.ActiveSection.MyDocStyle.Layout.PageLength);
|
||||
}
|
||||
else if (MyPageHelper.PrintedSectionPage > 0)
|
||||
else // B2020-047 move check of PrintSectionPage to after the ResetSvg
|
||||
{
|
||||
MyPageHelper.ResetSvg();
|
||||
if (MyItemInfo.ActiveSection != null && (MyItemInfo.ActiveSection.MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_PrintSectOnFirst) == E_DocStructStyle.DSS_PrintSectOnFirst)
|
||||
if (MyPageHelper.PrintedSectionPage > 0 && MyItemInfo.ActiveSection != null && (MyItemInfo.ActiveSection.MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_PrintSectOnFirst) == E_DocStructStyle.DSS_PrintSectOnFirst)
|
||||
{
|
||||
yTopMargin = _PointsPerPage - (float)MyItemInfo.ActiveSection.MyDocStyle.Layout.TopMargin + MyPageHelper.PrintedSectionPage;
|
||||
MyPageHelper.YTopMargin = yTopMargin;
|
||||
|
Loading…
x
Reference in New Issue
Block a user