This commit is contained in:
parent
2067a6f212
commit
1a37fa86f1
@ -1132,6 +1132,72 @@ namespace fmtxml
|
||||
pgstyles.PgStyles[3].Items[24].Justify = "PSCenter, PSTop";
|
||||
pgstyles.PgStyles[3].Items[24].Style.CPI = "12";
|
||||
pgstyles.PgStyles[4].Items[5].Col = 414;
|
||||
|
||||
// added Purpose/Symptom page/doc style
|
||||
Array.Resize<PageStyle>(ref pgstyles.PgStyles, pgstyles.PgStyles.Length + 1);
|
||||
pgstyles.PgStyles[9].Name = "Purpose/Symptom";
|
||||
pgstyles.PgStyles[9].Index = 9;
|
||||
if (pgstyles.PgStyles[9].Items == null)
|
||||
Array.Resize<PSItem>(ref pgstyles.PgStyles[9].Items, 6);
|
||||
pgstyles.PgStyles[9].Items[0].Col = 3F;
|
||||
pgstyles.PgStyles[9].Items[0].Justify = "PSCenter";
|
||||
pgstyles.PgStyles[9].Items[0].Row = 12F;
|
||||
pgstyles.PgStyles[9].Items[0].Style = new VE_Font();
|
||||
pgstyles.PgStyles[9].Items[0].Style.CPI = "12";
|
||||
pgstyles.PgStyles[9].Items[0].Style.FontFamily = "Prestige Elite Tall";
|
||||
pgstyles.PgStyles[9].Items[0].Style.FontSize = "10";
|
||||
pgstyles.PgStyles[9].Items[0].Style.FontStyle = "None";
|
||||
pgstyles.PgStyles[9].Items[0].Token = "{DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}";
|
||||
|
||||
pgstyles.PgStyles[9].Items[1].Col = 78;
|
||||
pgstyles.PgStyles[9].Items[1].Justify = "PSNoHalfLine";
|
||||
pgstyles.PgStyles[9].Items[1].Row = 24;
|
||||
pgstyles.PgStyles[9].Items[1].Style = new VE_Font();
|
||||
pgstyles.PgStyles[9].Items[1].Style.CPI = "12";
|
||||
pgstyles.PgStyles[9].Items[1].Style.FontFamily = "Arial";
|
||||
pgstyles.PgStyles[9].Items[1].Style.FontSize = "11";
|
||||
pgstyles.PgStyles[9].Items[1].Style.FontStyle = "None";
|
||||
pgstyles.PgStyles[9].Items[1].Token = "{PMODEBOX}";
|
||||
|
||||
pgstyles.PgStyles[9].Items[2].Col = 237;
|
||||
pgstyles.PgStyles[9].Items[2].Justify = "PSCenter";
|
||||
pgstyles.PgStyles[9].Items[2].Row = 42;
|
||||
pgstyles.PgStyles[9].Items[2].Style = new VE_Font();
|
||||
pgstyles.PgStyles[9].Items[2].Style.CPI = "12";
|
||||
pgstyles.PgStyles[9].Items[2].Style.FontFamily = "Arial";
|
||||
pgstyles.PgStyles[9].Items[2].Style.FontSize = "11";
|
||||
pgstyles.PgStyles[9].Items[2].Style.FontStyle = "Bold";
|
||||
pgstyles.PgStyles[9].Items[2].Token = "{PROCTITLE}";
|
||||
|
||||
pgstyles.PgStyles[9].Items[3].Col = -12;
|
||||
pgstyles.PgStyles[9].Items[3].Justify = "PSLeft";
|
||||
pgstyles.PgStyles[9].Items[3].Row = 754;
|
||||
pgstyles.PgStyles[9].Items[3].Style = new VE_Font();
|
||||
pgstyles.PgStyles[9].Items[3].Style.CPI = "12";
|
||||
pgstyles.PgStyles[9].Items[3].Style.FontFamily = "Arial";
|
||||
pgstyles.PgStyles[9].Items[3].Style.FontSize = "11";
|
||||
pgstyles.PgStyles[9].Items[3].Style.FontStyle = "None";
|
||||
pgstyles.PgStyles[9].Items[3].Token = "EOP-{EOPNUM}";
|
||||
|
||||
pgstyles.PgStyles[9].Items[4].Col = 225;
|
||||
pgstyles.PgStyles[9].Items[4].Justify = "PSCenter";
|
||||
pgstyles.PgStyles[9].Items[4].Row = 754;
|
||||
pgstyles.PgStyles[9].Items[4].Style = new VE_Font();
|
||||
pgstyles.PgStyles[9].Items[4].Style.CPI = "12";
|
||||
pgstyles.PgStyles[9].Items[4].Style.FontFamily = "Arial";
|
||||
pgstyles.PgStyles[9].Items[4].Style.FontSize = "11";
|
||||
pgstyles.PgStyles[9].Items[4].Style.FontStyle = "None";
|
||||
pgstyles.PgStyles[9].Items[4].Token = "Rev. {REV}";
|
||||
|
||||
pgstyles.PgStyles[9].Items[5].Col = 396;
|
||||
pgstyles.PgStyles[9].Items[5].Justify = "PSLeft";
|
||||
pgstyles.PgStyles[9].Items[5].Row = 754;
|
||||
pgstyles.PgStyles[9].Items[5].Style = new VE_Font();
|
||||
pgstyles.PgStyles[9].Items[5].Style.CPI = "12";
|
||||
pgstyles.PgStyles[9].Items[5].Style.FontFamily = "Arial";
|
||||
pgstyles.PgStyles[9].Items[5].Style.FontSize = "11";
|
||||
pgstyles.PgStyles[9].Items[5].Style.FontStyle = "None";
|
||||
pgstyles.PgStyles[9].Items[5].Token = "Page {PAGE} of {OF}";
|
||||
}
|
||||
// NSP_ALL
|
||||
private void AddNSPPage(ref PageStyles pgstyles)
|
||||
@ -1781,9 +1847,18 @@ namespace fmtxml
|
||||
case "SUM.DOC":
|
||||
AddSUMDOC(ref dcstyles);
|
||||
break;
|
||||
case "IP2.Y02":
|
||||
AddIP202DOC(ref dcstyles);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void AddIP202DOC(ref DocStyles dcstyles)
|
||||
{
|
||||
dcstyles.DcStyles[0].LeftMargin = 12;
|
||||
dcstyles.DcStyles[1].LeftMargin = 12;
|
||||
}
|
||||
|
||||
private void AddIp2DOC(ref DocStyles dcstyles)
|
||||
{
|
||||
dcstyles.DcStyles[0].ContTop = "";
|
||||
@ -1819,6 +1894,28 @@ namespace fmtxml
|
||||
dcstyles.DcStyles[7].dstyle = null;
|
||||
dcstyles.DcStyles[8].dstyle = null;
|
||||
dcstyles.DcStyles[1].PageLength = 592;
|
||||
|
||||
//adding new single column docstyle for purpose and symptoms
|
||||
Array.Resize<DocStyle>(ref dcstyles.DcStyles, dcstyles.DcStyles.Length + 1);
|
||||
dcstyles.DcStyles[9].Name = "Purpose/Symptom";
|
||||
dcstyles.DcStyles[9].Index = 9;
|
||||
dcstyles.DcStyles[9].pagestyle = 9;
|
||||
dcstyles.DcStyles[9].CancelSectTitle = false;
|
||||
dcstyles.DcStyles[9].FooterLen = 12F;
|
||||
dcstyles.DcStyles[9].IsStepSection = true;
|
||||
dcstyles.DcStyles[9].LeftMargin = 102;
|
||||
dcstyles.DcStyles[9].numberingsequence = 1;
|
||||
dcstyles.DcStyles[9].PageLength = 636;
|
||||
dcstyles.DcStyles[9].PageWidth = 547.2F;
|
||||
dcstyles.DcStyles[9].ShowSectionTitles = true;
|
||||
dcstyles.DcStyles[9].SpecialStepsFoldout = false;
|
||||
dcstyles.DcStyles[9].TopMargin = 108F;
|
||||
dcstyles.DcStyles[9].UseCheckOffs = false;
|
||||
dcstyles.DcStyles[9].dstyle = new VE_Font();
|
||||
dcstyles.DcStyles[9].dstyle.FontFamily = "Arial";
|
||||
dcstyles.DcStyles[9].dstyle.FontSize = "11";
|
||||
dcstyles.DcStyles[9].dstyle.FontStyle = "None";
|
||||
dcstyles.DcStyles[9].dstyle.CPI = "12";
|
||||
}
|
||||
|
||||
public void AddREGSam1DOC(ref DocStyles dcstyles)
|
||||
|
Loading…
x
Reference in New Issue
Block a user