This commit is contained in:
parent
89baa5be7b
commit
193cfc507f
@ -979,6 +979,7 @@ public struct Print
|
|||||||
public string ForeColor; // Doesn't exist in old format - See StepLayoutData
|
public string ForeColor; // Doesn't exist in old format - See StepLayoutData
|
||||||
public string BackColor; // Doesn't exist in old format - See StepLayoutData
|
public string BackColor; // Doesn't exist in old format - See StepLayoutData
|
||||||
public string PosAdjust;
|
public string PosAdjust;
|
||||||
|
public string Justify; // added for wolf creek checklist procedures.
|
||||||
}
|
}
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public struct Layout
|
public struct Layout
|
||||||
@ -1559,7 +1560,7 @@ namespace fmtxml
|
|||||||
fmtName = alias;
|
fmtName = alias;
|
||||||
//if (fmtName.ToUpper() != "CPLS" && fmtName.ToUpper() != "BASE") return;
|
//if (fmtName.ToUpper() != "CPLS" && fmtName.ToUpper() != "BASE") return;
|
||||||
//if (fmtName.ToUpper() != "OHLP" && fmtName.ToUpper() != "BASE" && fmtName.ToUpper() != "WCN2") return;
|
//if (fmtName.ToUpper() != "OHLP" && fmtName.ToUpper() != "BASE" && fmtName.ToUpper() != "WCN2") return;
|
||||||
//if (fmtName.ToUpper() != "WCN1" && fmtName.ToUpper() != "BASE") return;
|
//if (fmtName.ToUpper() != "WCNCKL" && fmtName.ToUpper() != "BASE") return;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
LoadFormatFile(nm + ".fmt", ref SubXtraFlags);
|
LoadFormatFile(nm + ".fmt", ref SubXtraFlags);
|
||||||
@ -2581,7 +2582,7 @@ namespace fmtxml
|
|||||||
{
|
{
|
||||||
fmtdata.StepData[i].VertPos = null;
|
fmtdata.StepData[i].VertPos = null;
|
||||||
for (int j = 0; j < 15; j++)
|
for (int j = 0; j < 15; j++)
|
||||||
fmtdata.StepData[i].VertPos = fmtdata.StepData[i].VertPos + string.Format("{0},", vp[j]);
|
fmtdata.StepData[i].VertPos = fmtdata.StepData[i].VertPos + string.Format("{0},", ColToPoints(vp[j], _PlantDefaultFontStyle));
|
||||||
fmtdata.StepData[i].VertPos = fmtdata.StepData[i].VertPos.Substring(0, fmtdata.StepData[i].VertPos.Length - 1); // remove last ","
|
fmtdata.StepData[i].VertPos = fmtdata.StepData[i].VertPos.Substring(0, fmtdata.StepData[i].VertPos.Length - 1); // remove last ","
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user