B2024-017-Fix-BNPP-Table-Arrows
This commit is contained in:
@@ -694,10 +694,12 @@ namespace VEPROMS.CSLA.Library
|
||||
// B2017-147: backquotes should be translated to degrees for edit/print:
|
||||
newvalue = newvalue.Replace("`", @"\'b0");
|
||||
// B2023-037: Handle <=, >=, +-, -> and <- symbols. If the format has flags to convert these RO symbols, it
|
||||
bool arrows1 = _MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseDashGreaterLessThenForArrowsInROValue;
|
||||
bool arrows2 = _MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertGTELTEPMinROValue;
|
||||
// is done here so that output (print & edit/view) has symbol, not 2 characters.
|
||||
if (!_MyItemInfo.IsTable && (_MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseDashGreaterLessThenForArrowsInROValue ||
|
||||
_MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertGTELTEPMinROValue))
|
||||
newvalue = ROFSTLookup.ROConvertSymbols(newvalue, _MyItemInfo);
|
||||
newvalue = ROFSTLookup.ROConvertSymbols(newvalue, arrows1, arrows2);
|
||||
|
||||
if (gg != newvalue)
|
||||
text = text.Substring(0, myIndex) + newvalue + text.Substring(myIndex + myLength);
|
||||
|
Reference in New Issue
Block a user