FNP: various header box fixes
This commit is contained in:
parent
99961c7ddf
commit
32ac52b36d
@ -125,6 +125,9 @@ namespace fmtxml
|
|||||||
case "FNP.X01":
|
case "FNP.X01":
|
||||||
AddFNP_X0x(ref fmtdata);
|
AddFNP_X0x(ref fmtdata);
|
||||||
break;
|
break;
|
||||||
|
case "FNPCAS.FMT":
|
||||||
|
AddFNPCASfmt(ref fmtdata);
|
||||||
|
break;
|
||||||
case "CPL.FMT":
|
case "CPL.FMT":
|
||||||
AddCPLfmt(ref fmtdata);
|
AddCPLfmt(ref fmtdata);
|
||||||
break;
|
break;
|
||||||
@ -223,6 +226,14 @@ namespace fmtxml
|
|||||||
fmtdata.SectData.StepSectionData.SequentialTabFormat[2].PrintTabFormat = "#1#{seq} ";
|
fmtdata.SectData.StepSectionData.SequentialTabFormat[2].PrintTabFormat = "#1#{seq} ";
|
||||||
fmtdata.SectData.StepSectionData.SequentialTabFormat[3].TabFormat = "#1#{seq} ";
|
fmtdata.SectData.StepSectionData.SequentialTabFormat[3].TabFormat = "#1#{seq} ";
|
||||||
fmtdata.SectData.StepSectionData.SequentialTabFormat[3].PrintTabFormat = "#1#{seq} ";
|
fmtdata.SectData.StepSectionData.SequentialTabFormat[3].PrintTabFormat = "#1#{seq} ";
|
||||||
|
|
||||||
|
fmtdata.PrintData.DoRevDate = "True";
|
||||||
|
fmtdata.PrintData.RevDateWithForwardSlash = "False";
|
||||||
|
}
|
||||||
|
private void AddFNPCASfmt(ref FormatData fmtdata)
|
||||||
|
{
|
||||||
|
fmtdata.PrintData.DoRevDate = "True";
|
||||||
|
fmtdata.PrintData.RevDateWithForwardSlash = "False";
|
||||||
}
|
}
|
||||||
private void AddCAL2fmt(ref FormatData fmtdata)
|
private void AddCAL2fmt(ref FormatData fmtdata)
|
||||||
{
|
{
|
||||||
@ -1648,6 +1659,9 @@ namespace fmtxml
|
|||||||
case "FNP.Z01":
|
case "FNP.Z01":
|
||||||
AddFNP_01Page(ref pgstyles);
|
AddFNP_01Page(ref pgstyles);
|
||||||
break;
|
break;
|
||||||
|
case "FNPCAS.PAG":
|
||||||
|
AddFNPCASPage(ref pgstyles);
|
||||||
|
break;
|
||||||
case "MCG.PAG":
|
case "MCG.PAG":
|
||||||
case "MCGBOX.PAG":
|
case "MCGBOX.PAG":
|
||||||
AddMCGPage(ref pgstyles);
|
AddMCGPage(ref pgstyles);
|
||||||
@ -1658,18 +1672,38 @@ namespace fmtxml
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void AddFNPCASPage(ref PageStyles pgstyles)
|
||||||
|
{
|
||||||
|
// adjust location of procedure title slightly to the right. Long section titles
|
||||||
|
// were touching left line of header box
|
||||||
|
pgstyles.PgStyles[0].Items[3].Col = 234;
|
||||||
|
}
|
||||||
private void AddFNP_00Page(ref PageStyles pgstyles)
|
private void AddFNP_00Page(ref PageStyles pgstyles)
|
||||||
{
|
{
|
||||||
pgstyles.PgStyles[0].Items[2].Col = 30;
|
pgstyles.PgStyles[0].Items[2].Col = 30;
|
||||||
pgstyles.PgStyles[1].Items[2].Col = 30;
|
pgstyles.PgStyles[1].Items[2].Col = 30;
|
||||||
pgstyles.PgStyles[2].Items[2].Col = 30;
|
pgstyles.PgStyles[2].Items[2].Col = 30;
|
||||||
pgstyles.PgStyles[3].Items[2].Col = 30;
|
pgstyles.PgStyles[3].Items[2].Col = 30;
|
||||||
|
|
||||||
|
// adjust location of procedure title slightly to the right. Long section titles
|
||||||
|
// were touching left line of header box
|
||||||
|
pgstyles.PgStyles[0].Items[3].Col = 234;
|
||||||
|
pgstyles.PgStyles[1].Items[3].Col = 234;
|
||||||
|
pgstyles.PgStyles[2].Items[3].Col = 234;
|
||||||
|
pgstyles.PgStyles[3].Items[3].Col = 234;
|
||||||
}
|
}
|
||||||
private void AddFNP_01Page(ref PageStyles pgstyles)
|
private void AddFNP_01Page(ref PageStyles pgstyles)
|
||||||
{
|
{
|
||||||
pgstyles.PgStyles[0].Items[2].Col = 30;
|
pgstyles.PgStyles[0].Items[2].Col = 30;
|
||||||
pgstyles.PgStyles[1].Items[2].Col = 30;
|
pgstyles.PgStyles[1].Items[2].Col = 30;
|
||||||
pgstyles.PgStyles[2].Items[2].Col = 30;
|
pgstyles.PgStyles[2].Items[2].Col = 30;
|
||||||
|
|
||||||
|
// adjust location of procedure title slightly to the right. Long section titles
|
||||||
|
// were touching left line of header box
|
||||||
|
pgstyles.PgStyles[0].Items[3].Col = 234;
|
||||||
|
pgstyles.PgStyles[1].Items[3].Col = 234;
|
||||||
|
pgstyles.PgStyles[2].Items[3].Col = 234;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AddFNPPage(ref PageStyles pgstyles)
|
private void AddFNPPage(ref PageStyles pgstyles)
|
||||||
@ -1684,6 +1718,21 @@ namespace fmtxml
|
|||||||
pgstyles.PgStyles[9].Items[2].Col = 30;
|
pgstyles.PgStyles[9].Items[2].Col = 30;
|
||||||
pgstyles.PgStyles[10].Items[2].Col = 30;
|
pgstyles.PgStyles[10].Items[2].Col = 30;
|
||||||
pgstyles.PgStyles[11].Items[2].Col = 30;
|
pgstyles.PgStyles[11].Items[2].Col = 30;
|
||||||
|
|
||||||
|
// adjust location of procedure title slightly to the right. Long section titles
|
||||||
|
// were touching left line of header box
|
||||||
|
pgstyles.PgStyles[0].Items[3].Col = 234;
|
||||||
|
pgstyles.PgStyles[1].Items[3].Col = 234;
|
||||||
|
pgstyles.PgStyles[2].Items[3].Col = 234;
|
||||||
|
pgstyles.PgStyles[3].Items[3].Col = 234;
|
||||||
|
pgstyles.PgStyles[4].Items[2].Col = 234; // foldout page
|
||||||
|
pgstyles.PgStyles[4].Items[4].Col = 234;
|
||||||
|
pgstyles.PgStyles[7].Items[3].Col = 234;
|
||||||
|
pgstyles.PgStyles[8].Items[3].Col = 234;
|
||||||
|
pgstyles.PgStyles[10].Items[3].Col = 234;
|
||||||
|
pgstyles.PgStyles[11].Items[3].Col = 234;
|
||||||
|
|
||||||
|
pgstyles.PgStyles[4].Items[2].Row = 32; // foldout page's 'FOLDOUT PAGE'
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AddCALBCKPage(ref PageStyles pgstyles)
|
private void AddCALBCKPage(ref PageStyles pgstyles)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user