Bug fix B2015-189, add a “[R]” to the tabs of RNO steps and sub-steps.
This commit is contained in:
parent
1b0814d4ea
commit
cb3f9d58a0
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user