handle bullets for multiple cautions and notes
This commit is contained in:
parent
4080c3c189
commit
33b03c0a9a
@ -80,6 +80,20 @@ namespace Volian.Print.Library
|
||||
Width = MyFont.CharsToTwips * (cleanTab != null ? cleanTab.Length : origTab.Length);
|
||||
}
|
||||
Rtf = GetRtf(origTab, vFont);
|
||||
Rtf = Rtf.Replace("\u25CF", @"\f1\u9679?\f0"); // bullet 25CF
|
||||
if (!myparent.MyItemInfo.FormatStepData.AlwaysTab && myparent.MyItemInfo.MyPrevious != null)
|
||||
{
|
||||
Rtf = Rtf.Replace("Caution:", " ");
|
||||
Rtf = Rtf.Replace("Note:", " ");
|
||||
Rtf = Rtf.Replace("CAUTION:", " ");
|
||||
Rtf = Rtf.Replace("NOTE:", " ");
|
||||
Rtf = Rtf.Replace("Caution", " ");
|
||||
Rtf = Rtf.Replace("Note", " ");
|
||||
Rtf = Rtf.Replace("CAUTION", " ");
|
||||
Rtf = Rtf.Replace("NOTE", " ");
|
||||
}
|
||||
|
||||
|
||||
// do positioning based on whether format has locations for section 'header'. If it's not centered, treat
|
||||
// it's location more like a 'tab'.
|
||||
if (doSectTab)
|
||||
|
Loading…
x
Reference in New Issue
Block a user