Format changes for Robinson
Remove un-used format file
This commit is contained in:
parent
60e2116d0d
commit
abd9d8ec3d
@ -134,6 +134,9 @@ namespace fmtxml
|
||||
case "CPL.X02":
|
||||
AddCPL_X02(ref fmtdata);
|
||||
break;
|
||||
case "CPL.X03":
|
||||
AddCPL_X03(ref fmtdata);
|
||||
break;
|
||||
case "CPLRDEV.FMT":
|
||||
AddCPLRDev(ref fmtdata);
|
||||
break;
|
||||
@ -293,8 +296,12 @@ namespace fmtxml
|
||||
}
|
||||
private void AddRGEBCKFmt(ref FormatData fmtdata)
|
||||
{
|
||||
// RGE is now call CEG
|
||||
// RGE is now call CEG //\u160?
|
||||
fmtdata.Name = "CEG Ginna Background Format";
|
||||
//fmtdata.TPL = "0 0 title\r\n1 1 \r\n2 41 PURPOSE: \r\n2 42 BASIS:\r\n2 42 SUPPLEMENTAL INFORMATION:\r\n2 42 DEVIATION/JUSTIFICATION:\r\n2 42 REFERENCES:\r\n1 39 \xA0\r\n0 0 title\r\n1 5 \r\n2 41 PURPOSE: \r\n2 42 BASIS:\r\n2 42 SUPPLEMENTAL INFORMATION:\r\n2 42 DEVIATION/JUSTIFICATION:\r\n2 42 REFERENCES:\r\n1 39 \xA0\r\n0 0 title\r\n1 6 \r\n2 41 PURPOSE: \r\n2 42 BASIS:\r\n2 42 SUPPLEMENTAL INFORMATION:\r\n2 42 DEVIATION/JUSTIFICATION:\r\n2 42 REFERENCES:\r\n1 39 \xA0\r\n";
|
||||
//fmtdata.StepData[2].UseOldTemplate = "True";
|
||||
//fmtdata.StepData[6].UseOldTemplate = "True";
|
||||
//fmtdata.StepData[7].UseOldTemplate = "True";
|
||||
}
|
||||
private void AddRGEBCKX00(ref FormatData fmtdata)
|
||||
{
|
||||
@ -1571,6 +1578,9 @@ namespace fmtxml
|
||||
case "CPLRDEV.PAG":
|
||||
AddCPLRDevPage(ref pgstyles);
|
||||
break;
|
||||
case "CPLR.PAG":
|
||||
AddCPLRPage(ref pgstyles);
|
||||
break;
|
||||
case "TUEC.PAG":
|
||||
AddTUECPage(ref pgstyles);
|
||||
break;
|
||||
@ -3559,6 +3569,9 @@ namespace fmtxml
|
||||
case "TUEC":
|
||||
AddTUEC(myDoc);
|
||||
break;
|
||||
case "CPL":
|
||||
AddCPL(myDoc);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -350,7 +350,7 @@ namespace fmtxml
|
||||
{
|
||||
Application.Run(new Form1());
|
||||
}
|
||||
private static string[] _ExcludeList = "ANO,ATA,ATLAS,LPL,MYA,NAE,NAI,NAS,PAC,RBN,SCE,SRS,VP,WPF,YAE".Split(",".ToCharArray());
|
||||
private static string[] _ExcludeList = "ANO,ATA,ATLAS,LPL,MYA,NAE,NAI,NAS,PAC,RBN,ROB,SCE,SRS,VP,WPF,YAE".Split(",".ToCharArray());
|
||||
public static bool Excluded(FileInfo fi)
|
||||
{
|
||||
foreach (string prefix in _ExcludeList)
|
||||
|
@ -9,9 +9,10 @@ namespace fmtxml
|
||||
{
|
||||
private void AddCPLfmt(ref FormatData fmtdata) // Robinson
|
||||
{
|
||||
fmtdata.SectData.StepSectionData.StpSectLayData.WidSTableEdit = "437,193,114";
|
||||
fmtdata.SectData.StepSectionData.StpSectLayData.WidSTablePrint = "437,193,114";
|
||||
fmtdata.SectData.StepSectionData.StpSectLayData.WidSTableEdit = "443,193,114";
|
||||
fmtdata.SectData.StepSectionData.StpSectLayData.WidSTablePrint = "443,193,114";
|
||||
fmtdata.BoxData[1].End = 457; // caution box
|
||||
fmtdata.ROData.UpRoIfPrevUpper = "true";
|
||||
}
|
||||
private void AddCPL_X00(ref FormatData fmtdata) // Robinson
|
||||
{
|
||||
@ -28,6 +29,11 @@ namespace fmtxml
|
||||
fmtdata.SectData.StepSectionData.StpSectLayData.WidSTableEdit = "400,195,114";
|
||||
fmtdata.SectData.StepSectionData.StpSectLayData.WidSTablePrint = "400,195,114";
|
||||
}
|
||||
private void AddCPL_X03(ref FormatData fmtdata) // Robinson Duplex Foldouts
|
||||
{
|
||||
fmtdata.SectData.StepSectionData.StpSectLayData.WidSTableEdit = "460,138,114";
|
||||
fmtdata.SectData.StepSectionData.StpSectLayData.WidSTablePrint = "460,138,114";
|
||||
}
|
||||
private void AddCPLRDev(ref FormatData fmtdata) // Robinson
|
||||
{
|
||||
fmtdata.ProcData.TitleLength = 49;
|
||||
@ -50,6 +56,17 @@ namespace fmtxml
|
||||
pgstyles.PgStyles[0].Items[4].Col = 224;
|
||||
pgstyles.PgStyles[1].Items[4].Col = 224;
|
||||
}
|
||||
private void AddCPLRPage(ref PageStyles pgstyles)
|
||||
{
|
||||
//"Cover Page-Progress Logo"
|
||||
pgstyles.PgStyles[3].Items[2].Col = 462;
|
||||
pgstyles.PgStyles[3].Items[3].Col = 230;
|
||||
pgstyles.PgStyles[3].Items[4].Col = 230;
|
||||
pgstyles.PgStyles[3].Items[5].Col = 234;
|
||||
pgstyles.PgStyles[3].Items[6].Col = 232;
|
||||
pgstyles.PgStyles[3].Items[7].Col = 232;
|
||||
pgstyles.PgStyles[3].Items[8].Col = 235;
|
||||
}
|
||||
private void AddCPLDOC(ref DocStyles dcstyles)
|
||||
{
|
||||
dcstyles.DcStyles[0].ContTop = "%d. (CONTINUED)";
|
||||
@ -85,5 +102,30 @@ namespace fmtxml
|
||||
}
|
||||
public partial class RtfToSvg
|
||||
{
|
||||
private void AddCPL(XmlDocument myDoc)
|
||||
{
|
||||
XmlDocument xdNew = new XmlDocument();
|
||||
xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\"> <g id=\"C2\">" +
|
||||
"<line x1=\"21.3\" y1=\"1.35\" x2=\"51.1\" y2=\"1.35\" stroke=\"black\" stroke-width=\"0.5\" />" +
|
||||
"</g></svg>");
|
||||
|
||||
myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[7]);
|
||||
|
||||
xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\"> <g id=\"C3\">" +
|
||||
"<line x1=\"1.95\" y1=\"1.35\" x2=\"31.8\" y2=\"1.35\" stroke=\"black\" stroke-width=\"0.5\" />" +
|
||||
"<line x1=\"38.7\" y1=\"1.35\" x2=\"68.7\" y2=\"1.35\" stroke=\"black\" stroke-width=\"0.5\" />" +
|
||||
"</g></svg>");
|
||||
|
||||
myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[8]);
|
||||
|
||||
xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\"> <g id=\"C4\">" +
|
||||
"<line x1=\"1.95\" y1=\"1.35\" x2=\"31.8\" y2=\"1.35\" stroke=\"black\" stroke-width=\"0.5\" />" +
|
||||
"<line x1=\"38.7\" y1=\"1.35\" x2=\"68.7\" y2=\"1.35\" stroke=\"black\" stroke-width=\"0.5\" />" +
|
||||
"<text x=\"44.7\" y=\"0\" font-family=\"Prestige Elite Tall\" font-size=\"10\" text-decoration=\"none\">N/A</text>" +
|
||||
"</g></svg>");
|
||||
|
||||
myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[9]);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user