Pass in flag that determines if the ^ character is replaced with the delta symbol.

This commit is contained in:
John Jenko 2015-04-23 17:07:37 +00:00
parent f73d9b1af5
commit 029fcd03f4

View File

@ -967,7 +967,7 @@ namespace Volian.Print.Library
{ {
string rotitle = ""; string rotitle = "";
ROFSTLookup myrofstlookup = (itm == null)? _ROFSTLookup : itm.MyDocVersion.DocVersionAssociations[0].MyROFst.GetROFSTLookup(itm.MyDocVersion); ROFSTLookup myrofstlookup = (itm == null)? _ROFSTLookup : itm.MyDocVersion.DocVersionAssociations[0].MyROFst.GetROFSTLookup(itm.MyDocVersion);
List<string> roTitleList = myrofstlookup.GetROTitleAndGroupPath(roid,_IncludeMissingROs); List<string> roTitleList = myrofstlookup.GetROTitleAndGroupPath(roid,_IncludeMissingROs,_ConvertCaretToDelta);
if (roTitleList != null && roTitleList.Count > 0) if (roTitleList != null && roTitleList.Count > 0)
for (int cnt = 0; cnt < roTitleList.Count; cnt++) for (int cnt = 0; cnt < roTitleList.Count; cnt++)
{ {
@ -1137,7 +1137,7 @@ namespace Volian.Print.Library
} }
private List<string> AddROHeaderGroupForSummary(PdfPTable datatable, string curROID,List<string> prevROTitleList, Font f2, Color bgColor) private List<string> AddROHeaderGroupForSummary(PdfPTable datatable, string curROID,List<string> prevROTitleList, Font f2, Color bgColor)
{ {
List<string> roTitleList = _ROFSTLookup.GetROTitleAndGroupPath(curROID,_IncludeMissingROs); List<string> roTitleList = _ROFSTLookup.GetROTitleAndGroupPath(curROID,_IncludeMissingROs,_ConvertCaretToDelta);
string headerText = GetROTitleAndGroupsForSummary(roTitleList, prevROTitleList); string headerText = GetROTitleAndGroupsForSummary(roTitleList, prevROTitleList);
if (headerText.Length > 0) if (headerText.Length > 0)
{ {