C2012-037 per Ginna’s request, added the Revision Number to the Cover page in the SAMGs format.
This commit is contained in:
parent
03db9cdbd1
commit
330ade52ed
@ -326,14 +326,17 @@ namespace fmtxml
|
|||||||
case "SHE.PAG":
|
case "SHE.PAG":
|
||||||
AddSHEPage(ref pgstyles);
|
AddSHEPage(ref pgstyles);
|
||||||
break;
|
break;
|
||||||
/* Under Development
|
case "RGESAM1.PAG":
|
||||||
case "TP.PAG":
|
AddRGESam1Page(ref pgstyles);
|
||||||
AddTPPage(ref pgstyles);
|
|
||||||
break;
|
break;
|
||||||
case "TP.Z00":
|
/* Under Development
|
||||||
AddTP00Page(ref pgstyles);
|
case "TP.PAG":
|
||||||
break;
|
AddTPPage(ref pgstyles);
|
||||||
* */
|
break;
|
||||||
|
case "TP.Z00":
|
||||||
|
AddTP00Page(ref pgstyles);
|
||||||
|
break;
|
||||||
|
* */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -370,6 +373,27 @@ namespace fmtxml
|
|||||||
pgstyles.PgStyles[8].Items[1].Col = -16; // {HEADER1}
|
pgstyles.PgStyles[8].Items[1].Col = -16; // {HEADER1}
|
||||||
pgstyles.PgStyles[8].Items[5].Col = -16; // {BOX4}
|
pgstyles.PgStyles[8].Items[5].Col = -16; // {BOX4}
|
||||||
}
|
}
|
||||||
|
private void AddRGESam1Page(ref PageStyles pgstyles)
|
||||||
|
{
|
||||||
|
// CoverPage - add the Revision to the pagelist
|
||||||
|
int cnt = pgstyles.PgStyles.Length+1;
|
||||||
|
PSItem[] Fpsitms = null;
|
||||||
|
PSItem pi = new PSItem();
|
||||||
|
pi.Style = new VE_Font();
|
||||||
|
|
||||||
|
pi.Token = "REVISION {REV}";
|
||||||
|
pi.Row = 382;
|
||||||
|
pi.Col = 242;
|
||||||
|
pi.Justify = "PSCenter";
|
||||||
|
pi.Style.FontFamily = "Courier New";
|
||||||
|
pi.Style.FontSize = "12";
|
||||||
|
pi.Style.CPI = "10";
|
||||||
|
Fpsitms = new PSItem[cnt];
|
||||||
|
pgstyles.PgStyles[3].Items.CopyTo(Fpsitms, 0);
|
||||||
|
Fpsitms[cnt - 1] = pi;
|
||||||
|
pgstyles.PgStyles[3].Items = Fpsitms;
|
||||||
|
}
|
||||||
|
|
||||||
/* Under Development
|
/* Under Development
|
||||||
// TP_ALL
|
// TP_ALL
|
||||||
private void AddTPPage(ref PageStyles pgstyles)
|
private void AddTPPage(ref PageStyles pgstyles)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user