From cb3f9d58a024e61db76bc562b9b342a1d37bfd53 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 4 Nov 2015 16:25:08 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20fix=20B2015-189,=20add=20a=20=E2=80=9C[R]?= =?UTF-8?q?=E2=80=9D=20to=20the=20tabs=20of=20RNO=20steps=20and=20sub-step?= =?UTF-8?q?s.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/Volian.Print.Library/ContActionSum.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PROMS/Volian.Print.Library/ContActionSum.cs b/PROMS/Volian.Print.Library/ContActionSum.cs index c0f22e61..22575ea5 100644 --- a/PROMS/Volian.Print.Library/ContActionSum.cs +++ b/PROMS/Volian.Print.Library/ContActionSum.cs @@ -82,7 +82,7 @@ namespace Volian.Print.Library string tabPre = (_FirstLine) ? hlsii.MyTab.Text.Trim() + " " : ""; if (!_FirstLine) preTabLen = GetTextWidth(hlsii.MyTab.Text.Trim() + " ") / 72f; - if (pgh.MyParagraph.MyItemInfo.IsRNOPart) + if (pgh.MyParagraph.MyItemInfo.IsInRNO) { stpTab = stpTab.TrimEnd() + "[R] "; } @@ -109,7 +109,7 @@ namespace Volian.Print.Library { if (cpgh.MyCautionsAndNotes.Count > 0) AddNotesOrCautions(cpgh,level); - string stpTab = cpgh.MyParagraph.MyItemInfo.MyTab.CleanText.Trim() + " "; + string stpTab = cpgh.MyParagraph.MyItemInfo.MyTab.CleanText.Trim() + (cpgh.MyParagraph.MyItemInfo.IsInRNO ? "[R] ": " "); if (cpgh.MyParagraph.MyItemInfo.IsNote || cpgh.MyParagraph.MyItemInfo.IsCaution) { stpTab = string.Format("{0} ", cpgh.MyParagraph.MyParent.MyTab.Text.Trim()) + " " + stpTab;