From 9601b2c036489d640b18d9f12b5b2e4279dde6a2 Mon Sep 17 00:00:00 2001 From: Rich Date: Fri, 24 Jan 2014 23:26:42 +0000 Subject: [PATCH] Further refinements of printing Notes and Cautions within RNO column --- PROMS/Volian.Print.Library/vlnParagraph.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index 3c243dc4..f1a6dc2c 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -3040,8 +3040,9 @@ namespace Volian.Print.Library float mycolT = (float)formatInfo.MyStepSectionLayoutData.ColT; if (formatInfo.MyStepSectionLayoutData.Dev_Format) Width = (float)formatInfo.MyStepSectionLayoutData.WidT + 1; - else if (itemInfo.IsInRNO && itemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.AdjustRNOCautionNoteWidth) + else if (itemInfo.IsInRNO)// && itemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.AdjustRNOCautionNoteWidth) { + /* float widadj = tabWidth; ItemInfo pinfo = itemInfo.MyParent; // walk up the parent nodes (but only in the RNO) and @@ -3055,9 +3056,11 @@ namespace Volian.Print.Library } Width = (float)vlnPrintObject.ToInt(formatInfo.MyStepSectionLayoutData.WidSTablePrint, maxRNO) - widadj; //Width = (float)vlnPrintObject.ToInt(formatInfo.MyStepSectionLayoutData.WidSTablePrint, maxRNO) - tabWidth; + */ + Width = (MyParent.XOffset + MyParent.Width) - (XOffset + mycolT); } else - Width = (MyParent.XOffset + MyParent.Width) - (XOffset + mycolT); + Width = (float)formatInfo.MyStepSectionLayoutData.WidT - 6 - mycolT; XOffset += mycolT; // adjust caution/note text position if (PartsLeft != null && PartsLeft.Count > 0)// adjust tab position {