|
|
|
@@ -237,6 +237,8 @@ namespace fmtxml
|
|
|
|
|
fmtdata.Name = "Duke Energy - Robinson Enhanced Background Additional Styles";
|
|
|
|
|
fmtdata.SectData.StepSectionData.StpSectLayData.WidSTableEdit = "496,216,144";
|
|
|
|
|
fmtdata.SectData.StepSectionData.StpSectLayData.WidSTablePrint = "496,216,144";
|
|
|
|
|
|
|
|
|
|
fmtdata.TransData.TransTypeData[7].TransUI = "ProcMenu, SectMenuStep, StepFirst";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -637,6 +639,9 @@ namespace fmtxml
|
|
|
|
|
}
|
|
|
|
|
private void AddCPBCK(ref PageStyles pgstyles)
|
|
|
|
|
{
|
|
|
|
|
// add a new page style for Attachments with the section number in the page header
|
|
|
|
|
Array.Resize<PageStyle>(ref pgstyles.PgStyles, pgstyles.PgStyles.Length + 1);
|
|
|
|
|
|
|
|
|
|
//SetRobinsonPageListFont(ref pgstyles);
|
|
|
|
|
pgstyles.Name = "Duke Energy - Robinson Enhanced Background Page Styles";
|
|
|
|
|
// Step Description Table
|
|
|
|
@@ -655,6 +660,123 @@ namespace fmtxml
|
|
|
|
|
pgstyles.PgStyles[2].Items[3].Col = 246;
|
|
|
|
|
pgstyles.PgStyles[2].Items[5].Col = 246;
|
|
|
|
|
pgstyles.PgStyles[2].Items[7].Col = 228;
|
|
|
|
|
// Attachment with Section number and Title in header
|
|
|
|
|
pgstyles.PgStyles[3].Name = "Attachment Pages Section Number and Title";
|
|
|
|
|
pgstyles.PgStyles[3].Items[8].Token = "{SECTIONLEVELNUMBER}";
|
|
|
|
|
// Attachment with Section Number in header
|
|
|
|
|
pgstyles.PgStyles[4].Name = "Attachment with Section Number";
|
|
|
|
|
pgstyles.PgStyles[4].Index = 4;
|
|
|
|
|
if (pgstyles.PgStyles[4].Items == null)
|
|
|
|
|
Array.Resize<PSItem>(ref pgstyles.PgStyles[4].Items, 11);
|
|
|
|
|
pgstyles.PgStyles[4].Items[0].Token = "{DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}";
|
|
|
|
|
pgstyles.PgStyles[4].Items[0].Row = 12;
|
|
|
|
|
pgstyles.PgStyles[4].Items[0].Col=3;
|
|
|
|
|
pgstyles.PgStyles[4].Items[0].Justify="PSCenter";
|
|
|
|
|
pgstyles.PgStyles[4].Items[0].Style = new VE_Font();
|
|
|
|
|
pgstyles.PgStyles[4].Items[0].Style.FontFamily = "Prestige Elite Tall";
|
|
|
|
|
pgstyles.PgStyles[4].Items[0].Style.FontSize = "10";
|
|
|
|
|
pgstyles.PgStyles[4].Items[0].Style.FontStyle = "None";
|
|
|
|
|
pgstyles.PgStyles[4].Items[0].Style.CPI= "12";
|
|
|
|
|
|
|
|
|
|
pgstyles.PgStyles[4].Items[1].Token = "{HEADER1}";
|
|
|
|
|
pgstyles.PgStyles[4].Items[1].Row = 12;
|
|
|
|
|
pgstyles.PgStyles[4].Items[1].Col = -18;
|
|
|
|
|
pgstyles.PgStyles[4].Items[1].Justify = "PSLeft";
|
|
|
|
|
pgstyles.PgStyles[4].Items[1].Style = new VE_Font();
|
|
|
|
|
pgstyles.PgStyles[4].Items[1].Style.FontFamily = "Prestige Elite Tall";
|
|
|
|
|
pgstyles.PgStyles[4].Items[1].Style.FontSize = "10";
|
|
|
|
|
pgstyles.PgStyles[4].Items[1].Style.FontStyle = "None";
|
|
|
|
|
pgstyles.PgStyles[4].Items[1].Style.CPI= "12";
|
|
|
|
|
|
|
|
|
|
pgstyles.PgStyles[4].Items[2].Token = "{EOPNUM}-BD";
|
|
|
|
|
pgstyles.PgStyles[4].Items[2].Row = 36;
|
|
|
|
|
pgstyles.PgStyles[4].Items[2].Col = 6;
|
|
|
|
|
pgstyles.PgStyles[4].Items[2].Justify = "PSLeft, PSTop";
|
|
|
|
|
pgstyles.PgStyles[4].Items[2].Style = new VE_Font();
|
|
|
|
|
pgstyles.PgStyles[4].Items[2].Style.FontFamily = "Letter Gothic";
|
|
|
|
|
pgstyles.PgStyles[4].Items[2].Style.FontSize = "10";
|
|
|
|
|
pgstyles.PgStyles[4].Items[2].Style.FontStyle = "Bold";
|
|
|
|
|
pgstyles.PgStyles[4].Items[2].Style.CPI= "12";
|
|
|
|
|
|
|
|
|
|
pgstyles.PgStyles[4].Items[3].Token = "{PROCTITLE1}";
|
|
|
|
|
pgstyles.PgStyles[4].Items[3].Row = 48;
|
|
|
|
|
pgstyles.PgStyles[4].Items[3].Col = 243;
|
|
|
|
|
pgstyles.PgStyles[4].Items[3].Justify = "PSTop";
|
|
|
|
|
pgstyles.PgStyles[4].Items[3].Style = new VE_Font();
|
|
|
|
|
pgstyles.PgStyles[4].Items[3].Style.FontFamily = "Letter Gothic";
|
|
|
|
|
pgstyles.PgStyles[4].Items[3].Style.FontSize = "10";
|
|
|
|
|
pgstyles.PgStyles[4].Items[3].Style.FontStyle = "Bold";
|
|
|
|
|
pgstyles.PgStyles[4].Items[3].Style.CPI= "12";
|
|
|
|
|
|
|
|
|
|
pgstyles.PgStyles[4].Items[4].Token = "{PAGE} of {OF}";
|
|
|
|
|
pgstyles.PgStyles[4].Items[4].Row = 36;
|
|
|
|
|
pgstyles.PgStyles[4].Items[4].Col = 450;
|
|
|
|
|
pgstyles.PgStyles[4].Items[4].Justify = "PSLeft, PSTop";
|
|
|
|
|
pgstyles.PgStyles[4].Items[4].Style = new VE_Font();
|
|
|
|
|
pgstyles.PgStyles[4].Items[4].Style.FontFamily = "Letter Gothic";
|
|
|
|
|
pgstyles.PgStyles[4].Items[4].Style.FontSize = "10";
|
|
|
|
|
pgstyles.PgStyles[4].Items[4].Style.FontStyle = "Bold";
|
|
|
|
|
pgstyles.PgStyles[4].Items[4].Style.CPI= "12";
|
|
|
|
|
|
|
|
|
|
pgstyles.PgStyles[4].Items[5].Token = "{PROCTITLE2}";
|
|
|
|
|
pgstyles.PgStyles[4].Items[5].Row = 48;
|
|
|
|
|
pgstyles.PgStyles[4].Items[5].Col = 243;
|
|
|
|
|
pgstyles.PgStyles[4].Items[5].Justify = "PSTop";
|
|
|
|
|
pgstyles.PgStyles[4].Items[5].Style = new VE_Font();
|
|
|
|
|
pgstyles.PgStyles[4].Items[5].Style.FontFamily = "Letter Gothic";
|
|
|
|
|
pgstyles.PgStyles[4].Items[5].Style.FontSize = "10";
|
|
|
|
|
pgstyles.PgStyles[4].Items[5].Style.FontStyle = "Bold";
|
|
|
|
|
pgstyles.PgStyles[4].Items[5].Style.CPI= "12";
|
|
|
|
|
|
|
|
|
|
pgstyles.PgStyles[4].Items[6].Token = "Rev {REV}";
|
|
|
|
|
pgstyles.PgStyles[4].Items[6].Row = 60;
|
|
|
|
|
pgstyles.PgStyles[4].Items[6].Col = 450;
|
|
|
|
|
pgstyles.PgStyles[4].Items[6].Justify = "PSLeft";
|
|
|
|
|
pgstyles.PgStyles[4].Items[6].Style = new VE_Font();
|
|
|
|
|
pgstyles.PgStyles[4].Items[6].Style.FontFamily = "Letter Gothic";
|
|
|
|
|
pgstyles.PgStyles[4].Items[6].Style.FontSize = "10";
|
|
|
|
|
pgstyles.PgStyles[4].Items[6].Style.FontStyle = "Bold";
|
|
|
|
|
pgstyles.PgStyles[4].Items[6].Style.CPI= "12";
|
|
|
|
|
|
|
|
|
|
pgstyles.PgStyles[4].Items[7].Token = "BASIS DOCUMENT";
|
|
|
|
|
pgstyles.PgStyles[4].Items[7].Row = 60;
|
|
|
|
|
pgstyles.PgStyles[4].Items[7].Col = 276;
|
|
|
|
|
pgstyles.PgStyles[4].Items[7].Justify = "PSCenter";
|
|
|
|
|
pgstyles.PgStyles[4].Items[7].Style = new VE_Font();
|
|
|
|
|
pgstyles.PgStyles[4].Items[7].Style.FontFamily = "Arial";
|
|
|
|
|
pgstyles.PgStyles[4].Items[7].Style.FontSize = "14";
|
|
|
|
|
pgstyles.PgStyles[4].Items[7].Style.FontStyle = "Bold";
|
|
|
|
|
pgstyles.PgStyles[4].Items[7].Style.CPI= "12";
|
|
|
|
|
|
|
|
|
|
pgstyles.PgStyles[4].Items[8].Token = "{SECTIONLEVELNUMBER}";
|
|
|
|
|
pgstyles.PgStyles[4].Items[8].Row = 86;
|
|
|
|
|
pgstyles.PgStyles[4].Items[8].Col = 240;
|
|
|
|
|
pgstyles.PgStyles[4].Items[8].Justify = "PSCenter";
|
|
|
|
|
pgstyles.PgStyles[4].Items[8].Style = new VE_Font();
|
|
|
|
|
pgstyles.PgStyles[4].Items[8].Style.FontFamily = "Letter Gothic";
|
|
|
|
|
pgstyles.PgStyles[4].Items[8].Style.FontSize = "10";
|
|
|
|
|
pgstyles.PgStyles[4].Items[8].Style.FontStyle = "Bold";
|
|
|
|
|
pgstyles.PgStyles[4].Items[8].Style.CPI= "12";
|
|
|
|
|
|
|
|
|
|
pgstyles.PgStyles[4].Items[9].Token = "{HLRNO}";
|
|
|
|
|
pgstyles.PgStyles[4].Items[9].Row = 108;
|
|
|
|
|
pgstyles.PgStyles[4].Items[9].Col = 525;
|
|
|
|
|
pgstyles.PgStyles[4].Items[9].Justify = "PSRight, PSTrue";
|
|
|
|
|
pgstyles.PgStyles[4].Items[9].Style = new VE_Font();
|
|
|
|
|
pgstyles.PgStyles[4].Items[9].Style.FontFamily = "Courier New";
|
|
|
|
|
pgstyles.PgStyles[4].Items[9].Style.FontSize = "12";
|
|
|
|
|
pgstyles.PgStyles[4].Items[9].Style.FontStyle = "None";
|
|
|
|
|
pgstyles.PgStyles[4].Items[9].Style.CPI= "10";
|
|
|
|
|
|
|
|
|
|
pgstyles.PgStyles[4].Items[10].Token = "{HLSTAB}";
|
|
|
|
|
pgstyles.PgStyles[4].Items[10].Row = 108;
|
|
|
|
|
pgstyles.PgStyles[4].Items[10].Col = 0;
|
|
|
|
|
pgstyles.PgStyles[4].Items[10].Justify = "PSLeft";
|
|
|
|
|
pgstyles.PgStyles[4].Items[10].Style = new VE_Font();
|
|
|
|
|
pgstyles.PgStyles[4].Items[10].Style.FontFamily = "Courier New";
|
|
|
|
|
pgstyles.PgStyles[4].Items[10].Style.FontSize = "12";
|
|
|
|
|
pgstyles.PgStyles[4].Items[10].Style.FontStyle = "None";
|
|
|
|
|
pgstyles.PgStyles[4].Items[10].Style.CPI = "10";
|
|
|
|
|
}
|
|
|
|
|
private void AddCPBCK_Z00(ref PageStyles pgstyles)
|
|
|
|
|
{
|
|
|
|
@@ -788,6 +910,50 @@ namespace fmtxml
|
|
|
|
|
dcstyles.Name = "Duke Energy - Robinson Enhanced Background Styles";
|
|
|
|
|
//SetRobinsonDocStyleFont(ref dcstyles);
|
|
|
|
|
dcstyles.DcStyles[2].PageWidth = 585;
|
|
|
|
|
|
|
|
|
|
// change title of Attachment doc style
|
|
|
|
|
dcstyles.DcStyles[3].Name = "Attachment With Section Number and Title";
|
|
|
|
|
|
|
|
|
|
//adding new Attachment style prints the section number in the page header
|
|
|
|
|
/**
|
|
|
|
|
**/
|
|
|
|
|
Array.Resize<DocStyle>(ref dcstyles.DcStyles, dcstyles.DcStyles.Length + 1);
|
|
|
|
|
|
|
|
|
|
dcstyles.DcStyles[4].Name = "Attachment with Section Number";
|
|
|
|
|
dcstyles.DcStyles[4].Index = 4;
|
|
|
|
|
dcstyles.DcStyles[4].numberingsequence = 1;
|
|
|
|
|
dcstyles.DcStyles[4].IsStepSection = true;
|
|
|
|
|
dcstyles.DcStyles[4].UseCheckOffs = false;
|
|
|
|
|
dcstyles.DcStyles[4].UseColSByLevel = false;
|
|
|
|
|
dcstyles.DcStyles[4].oldtonew = 7;
|
|
|
|
|
dcstyles.DcStyles[4].CancelSectTitle = false;
|
|
|
|
|
dcstyles.DcStyles[4].SpecialStepsFoldout=false;
|
|
|
|
|
dcstyles.DcStyles[4].UndSpecialStepsFoldout=false;
|
|
|
|
|
dcstyles.DcStyles[4].ExtraLineHeader=false;
|
|
|
|
|
dcstyles.DcStyles[4].AlignHLSTabWithSect=false;
|
|
|
|
|
dcstyles.DcStyles[4].pagestyle=4;
|
|
|
|
|
dcstyles.DcStyles[4].dstyle = new VE_Font();
|
|
|
|
|
dcstyles.DcStyles[4].dstyle.FontFamily = "Courier New";
|
|
|
|
|
dcstyles.DcStyles[4].dstyle.FontSize ="12";
|
|
|
|
|
dcstyles.DcStyles[4].dstyle.FontStyle="None";
|
|
|
|
|
dcstyles.DcStyles[4].dstyle.CPI = "10";
|
|
|
|
|
dcstyles.DcStyles[4].TopMargin=144;
|
|
|
|
|
dcstyles.DcStyles[4].FooterLen=12;
|
|
|
|
|
dcstyles.DcStyles[4].PageLength=612;
|
|
|
|
|
dcstyles.DcStyles[4].PageWidth=489.6F;
|
|
|
|
|
dcstyles.DcStyles[4].LeftMargin=72;
|
|
|
|
|
dcstyles.DcStyles[4].ContStyle = new VE_Font();
|
|
|
|
|
dcstyles.DcStyles[4].ContStyle.FontFamily= "Courier New";
|
|
|
|
|
dcstyles.DcStyles[4].ContStyle.FontSize = "12";
|
|
|
|
|
dcstyles.DcStyles[4].ContStyle.FontStyle = "None";
|
|
|
|
|
dcstyles.DcStyles[4].ContTop = " (Continued)";
|
|
|
|
|
dcstyles.DcStyles[4].ContTopHLS = 1;
|
|
|
|
|
dcstyles.DcStyles[4].CTMargin = 0;
|
|
|
|
|
dcstyles.DcStyles[4].ContBottom = " (Continued on next page)";
|
|
|
|
|
dcstyles.DcStyles[4].CBMargin = 7.2F;
|
|
|
|
|
dcstyles.DcStyles[4].CBLoc = 0;
|
|
|
|
|
dcstyles.DcStyles[4].DocStructStyle = new VE_DocStyle();
|
|
|
|
|
dcstyles.DcStyles[4].DocStructStyle.DocStyleUse = E_DocStyleUse.UseOnAllPages;
|
|
|
|
|
}
|
|
|
|
|
private void AddCPBCK_Y00(ref DocStyles dcstyles)
|
|
|
|
|
{
|
|
|
|
|