From f02ca8bd86643b6fbd1cc458022b5539bb1d6736 Mon Sep 17 00:00:00 2001 From: John Jenko Date: Fri, 5 Jan 2024 11:09:24 -0500 Subject: [PATCH] F2023-112 Format Flag foruse of width override --- PROMS/Formats/fmtall/VEGPBckStpsall.xml | Bin 65260 -> 65262 bytes .../Format/PlantFormat.cs | 8 ++++++++ PROMS/Volian.Print.Library/vlnParagraph.cs | 3 ++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/PROMS/Formats/fmtall/VEGPBckStpsall.xml b/PROMS/Formats/fmtall/VEGPBckStpsall.xml index fd0a094bcf1fd935120f7bddb68a27e4f70366e7..ee301ceb6b014b65870c8dff6d3d05a70abf3709 100644 GIT binary patch delta 227 zcmaF!m-*da<_#(aqG1gA4CxFd3^@#`48{zJ40#MG3?`EU8AT_183;@c3y|7eX3)XJ zXuA2YQKTlb0Z@*y@gl1sg8_r-WWxaa$se*UCNEg5Fu5;DYV(6w3l^x<#jDbj9hOCG z?n{bboy=6NwplO3M*yxZd$L1Q&*qZKI1Yr+W{0K}w#hdNc_v@zu$tUbVlla3;w(`O zhD@N75*d<#PRwK|13FTZL1FXmPHjm}up1bZ7!)RdY?Ga=5W}`vU~vEwGf;SQ;?nL& E092kwg8%>k delta 172 zcmaF&m-)?K<_#(ag5eDL3^@#G49*Ni45>hvJvoq3bh4j;z~r=Snavdj9ZZ{ _Vogtle3and4BackgroundFormat; + public bool Vogtle3and4BackgroundFormat + { + get + { + return LazyLoad(ref _Vogtle3and4BackgroundFormat, "@Vogtle3and4BackgroundFormat"); + } + } private LazyLoad _FortranFormatNumbers; public bool FortranFormatNumbers { diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index d39c6d61..8e12335e 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -6234,7 +6234,8 @@ namespace Volian.Print.Library if (!itemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvertAlarm || !UseTemplateWidthOrXOff(itemInfo.MyParent)) { // B2018-146 Adjust the width to match the HLS Right Margin. - if (itemInfo.IsBackgroundStepOrChild()) + // F2023-112 added format flag for Vogtle Units 3 & 4 backgrounds. This allows use of override width on AND and List sub-step types + if (itemInfo.IsBackgroundStepOrChild() || itemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.Vogtle3and4BackgroundFormat) Width = this.MyHighLevelParagraph.Width + this.MyHighLevelParagraph.XOffset - this.XOffset; else Width = (float)itemInfo.MyDocStyle.Layout.PageWidth - (float)itemInfo.MyDocStyle.Layout.LeftMargin - delta;