diff --git a/PROMS/Formats/fmtall/PROMSMan1all.xml b/PROMS/Formats/fmtall/PROMSMan1all.xml index 3a3ac8fd..ac0c2afe 100644 Binary files a/PROMS/Formats/fmtall/PROMSMan1all.xml and b/PROMS/Formats/fmtall/PROMSMan1all.xml differ diff --git a/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs b/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs index 748419e0..dc5e94ba 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs @@ -809,6 +809,19 @@ namespace VEPROMS.CSLA.Library } } #endregion + #region PlaceAtLeftMargin + private LazyLoad _PlaceAtLeftMargin; // F2019-033 only use the Left Margin plus any Top message margin + [Category("Continue Msg")] + [DisplayName("Flag to position at left margin")] + [Description("Flag to position at left margin")] + public bool PlaceAtLeftMargin + { + get + { + return LazyLoad(ref _PlaceAtLeftMargin, "@PlaceAtLeftMargin"); + } + } + #endregion #region Message private LazyLoad _Message; [Category("Continue Msg")] diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index 6ddb3fb4..02d0ba7c 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -2819,7 +2819,13 @@ namespace Volian.Print.Library } } if (!PageBreakOnStep) - MyPageHelper.TopMessage = new vlnText(cb, this, myMsg, myMsg, docstyle.Layout.LeftMargin + XOffsetBox + docstyle.Continue.Top.Margin ?? 0, yTopMargin + 0.1F, docstyle.Continue.Top.Font);// MyItemInfo.ActiveFormat.PlantFormat.FormatData.Font); + { + float colPos = docstyle.Layout.LeftMargin + docstyle.Continue.Top.Margin ?? 0; + if (!docstyle.Continue.Top.PlaceAtLeftMargin) //F2019-033 when true position with respect only to the left margin + colPos += XOffsetBox; //XOffsetbox get set when the tables, figures & equations were beyond the border and needed repositioned + MyPageHelper.TopMessage = new vlnText(cb, this, myMsg, myMsg, colPos, yTopMargin + 0.1F, docstyle.Continue.Top.Font);// MyItemInfo.ActiveFormat.PlantFormat.FormatData.Font); + + } else MyPageHelper.TopMessage = null; }