BGE: Hardcode ALN CPI for HIGH5 (for locating change bar)
BGE: Replace words for bolding [Bxxx] in ALN and EOP. ALN CPI for HIGH5 type
This commit is contained in:
@@ -1648,7 +1648,7 @@ namespace fmtxml
|
||||
}
|
||||
BuildDictionaryText();
|
||||
fmtName = alias;
|
||||
//if (fmtName.ToUpper() != "WCN1" && fmtName.ToUpper() != "BASE") return;
|
||||
//if (fmtName.ToUpper() != "BGEALN" && fmtName.ToUpper() != "BASE") return;
|
||||
//if (fmtName.ToUpper() != "OHLP" && fmtName.ToUpper() != "BASE" && fmtName.ToUpper() != "WCN2") return;
|
||||
//if (fmtName.ToUpper() != "WCNCKL" && fmtName.ToUpper() != "BASE") return;
|
||||
//if (fmtName.ToUpper() != "NSPARP" && fmtName.ToUpper() != "BASE") return;
|
||||
@@ -5586,7 +5586,9 @@ namespace fmtxml
|
||||
step.Font.FontStyle = null;
|
||||
if (step.Font != null && CheckInheritedStr(new StepPartStr(StepPartFontSize), step, dicParents))
|
||||
step.Font.FontSize = null;
|
||||
if (step.Font != null && CheckInheritedStr(new StepPartStr(StepPartFontCPI), step, dicParents))
|
||||
bool skipCPIForCalvertAlarmTypeHigh5 = false;
|
||||
if (step.Type.ToUpper() == "HIGH5" && fmtName.ToUpper() == "BGEALN") skipCPIForCalvertAlarmTypeHigh5 = true;
|
||||
if (!skipCPIForCalvertAlarmTypeHigh5 && step.Font != null && CheckInheritedStr(new StepPartStr(StepPartFontCPI), step, dicParents))
|
||||
step.Font.CPI = null;
|
||||
if (step.Font != null && CheckInheritedStr(new StepPartStr(StepPartFontJustify), step, dicParents))
|
||||
step.Font.FontJustify = null;
|
||||
|
Reference in New Issue
Block a user