Added format flag CheckoffOnSubStepsOnly for Bryon and Braidwood

Fixed the Signoff style of checkoffs
This commit is contained in:
2014-02-24 16:34:57 +00:00
parent 6bcbe25d4e
commit afdf8a280e
3 changed files with 20 additions and 0 deletions

View File

@@ -9,6 +9,9 @@ namespace fmtxml
{
private void AddCWEfmt(ref FormatData fmtdata)
{
fmtdata.ProcData.CheckOffData.SkipSpaces = "True";
fmtdata.ProcData.CheckOffData.CheckOffList[2].Macro = "C3";
fmtdata.ProcData.CheckOffData.CheckoffOnSubStepsOnly = "True";
fmtdata.SectData.StepSectionData.StpSectLayData.WidSTablePrint = "475.2,252.2,144";
fmtdata.SectData.ReplaceStrData[3].Flag = "RNO, Caution, Note, Table, Substep, Attach";
fmtdata.SectData.ReplaceStrData[4].Flag = "RNO, Caution, Note, Table, Substep, Attach";
@@ -40,6 +43,9 @@ namespace fmtxml
}
private void AddEXCLNfmt(ref FormatData fmtdata)
{
fmtdata.ProcData.CheckOffData.SkipSpaces = "True";
fmtdata.ProcData.CheckOffData.CheckOffList[2].Macro = "C3";
fmtdata.ProcData.CheckOffData.CheckoffOnSubStepsOnly = "True";
fmtdata.SectData.StepSectionData.StpSectLayData.WidSTablePrint = "475.2,229.2,144";
fmtdata.SectData.StepSectionData.StpSectLayData.ColRTable = "0,236.4,135.6";
fmtdata.SectData.ReplaceStrData[3].Flag = "RNO, Caution, Note, Table, Substep, Attach";
@@ -140,6 +146,11 @@ namespace fmtxml
"<line x1=\"19\" y1=\"-4\" x2=\"7\" y2=\"-16\" stroke=\"black\" stroke-width=\"0.85\" />" +
"</g></svg>");
myDoc.DocumentElement.AppendChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true));
xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\"> <g id=\"C3\">" +
"<text x=\"-10\" y=\"0\" font-family=\"Courier New\" font-size=\"12\">*</text>" +
"</g></svg>");
myDoc.DocumentElement.AppendChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true));
}
private void AddEXCLN(XmlDocument myDoc)
{
@@ -151,6 +162,11 @@ namespace fmtxml
"<line x1=\"19\" y1=\"-4\" x2=\"7\" y2=\"-16\" stroke=\"black\" stroke-width=\"0.85\" />" +
"</g></svg>");
myDoc.DocumentElement.AppendChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true));
xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\"> <g id=\"C3\">" +
"<text x=\"-10\" y=\"0\" font-family=\"Courier New\" font-size=\"12\">*</text>" +
"</g></svg>");
myDoc.DocumentElement.AppendChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true));
}
}
}