format adjustments per customer request
This commit is contained in:
parent
4994f19997
commit
c39cca8eef
@ -350,7 +350,7 @@ namespace fmtxml
|
|||||||
fmtdata.StepData[2].Font.FontStyle = "Bold";
|
fmtdata.StepData[2].Font.FontStyle = "Bold";
|
||||||
// Caution
|
// Caution
|
||||||
fmtdata.StepData[6].StepLayoutData.STBoxindex = null;
|
fmtdata.StepData[6].StepLayoutData.STBoxindex = null;
|
||||||
fmtdata.StepData[6].WidthOverride = "380";
|
fmtdata.StepData[6].WidthOverride = "333";
|
||||||
// Caution1
|
// Caution1
|
||||||
fmtdata.StepData[20].Inactive = "True";
|
fmtdata.StepData[20].Inactive = "True";
|
||||||
// Caution2
|
// Caution2
|
||||||
@ -363,7 +363,7 @@ namespace fmtxml
|
|||||||
fmtdata.StepData[7].TabData.Ident = "Note ";
|
fmtdata.StepData[7].TabData.Ident = "Note ";
|
||||||
fmtdata.StepData[7].TabData.RNOIdent = "Note ";
|
fmtdata.StepData[7].TabData.RNOIdent = "Note ";
|
||||||
fmtdata.StepData[7].StepLayoutData.STBoxindex = null;
|
fmtdata.StepData[7].StepLayoutData.STBoxindex = null;
|
||||||
fmtdata.StepData[7].WidthOverride = "385";
|
fmtdata.StepData[7].WidthOverride = "333";
|
||||||
// Note1
|
// Note1
|
||||||
fmtdata.StepData[22].Inactive = "True";
|
fmtdata.StepData[22].Inactive = "True";
|
||||||
// Note2
|
// Note2
|
||||||
@ -895,6 +895,7 @@ namespace fmtxml
|
|||||||
{
|
{
|
||||||
NSP_ArialFontInProcedures(ref fmtdata);
|
NSP_ArialFontInProcedures(ref fmtdata);
|
||||||
fmtdata.ProcData.CoverTitleLength = 46;
|
fmtdata.ProcData.CoverTitleLength = 46;
|
||||||
|
fmtdata.ProcData.ChangeBarData.FixedChangeColumn = 0;
|
||||||
// Base
|
// Base
|
||||||
fmtdata.StepData[0].Font.CPI = "12";
|
fmtdata.StepData[0].Font.CPI = "12";
|
||||||
// Substep
|
// Substep
|
||||||
@ -937,7 +938,6 @@ namespace fmtxml
|
|||||||
// Note5
|
// Note5
|
||||||
fmtdata.StepData[32].Inactive = "True";
|
fmtdata.StepData[32].Inactive = "True";
|
||||||
fmtdata.StepData[32].OneLineBeforeTab = "True";
|
fmtdata.StepData[32].OneLineBeforeTab = "True";
|
||||||
|
|
||||||
}
|
}
|
||||||
private void AddNSPAB_X01(ref FormatData fmtdata)
|
private void AddNSPAB_X01(ref FormatData fmtdata)
|
||||||
{
|
{
|
||||||
@ -992,7 +992,9 @@ namespace fmtxml
|
|||||||
fmtdata.StepData[27].Inactive = "True";
|
fmtdata.StepData[27].Inactive = "True";
|
||||||
// Caution4
|
// Caution4
|
||||||
fmtdata.StepData[29].Inactive = "True";
|
fmtdata.StepData[29].Inactive = "True";
|
||||||
|
// Note
|
||||||
fmtdata.StepData[7].OneLineBeforeTab = "True";
|
fmtdata.StepData[7].OneLineBeforeTab = "True";
|
||||||
|
fmtdata.StepData[7].TabData.Bullet.Separate = "False";
|
||||||
// Note1
|
// Note1
|
||||||
fmtdata.StepData[22].Inactive = "True";
|
fmtdata.StepData[22].Inactive = "True";
|
||||||
// Note2
|
// Note2
|
||||||
@ -2030,13 +2032,16 @@ namespace fmtxml
|
|||||||
{
|
{
|
||||||
// Background Text - first page
|
// Background Text - first page
|
||||||
pgstyles.PgStyles[0].Items[0].Col = -5; // {DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}
|
pgstyles.PgStyles[0].Items[0].Col = -5; // {DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}
|
||||||
pgstyles.PgStyles[0].Items[1].Col = 477; //{EOPNUM}
|
pgstyles.PgStyles[0].Items[1].Col = 519; //{EOPNUM}
|
||||||
|
pgstyles.PgStyles[0].Items[1].Justify = "PSRight";
|
||||||
pgstyles.PgStyles[0].Items[1].Style.FontFamily = "Arial";
|
pgstyles.PgStyles[0].Items[1].Style.FontFamily = "Arial";
|
||||||
pgstyles.PgStyles[0].Items[1].Style.FontSize = "11";
|
pgstyles.PgStyles[0].Items[1].Style.FontSize = "11";
|
||||||
pgstyles.PgStyles[0].Items[2].Col = 477; //{REV}
|
pgstyles.PgStyles[0].Items[2].Col = 519; //{REV}
|
||||||
|
pgstyles.PgStyles[0].Items[2].Justify = "PSRight";
|
||||||
pgstyles.PgStyles[0].Items[2].Style.FontFamily = "Arial";
|
pgstyles.PgStyles[0].Items[2].Style.FontFamily = "Arial";
|
||||||
pgstyles.PgStyles[0].Items[2].Style.FontSize = "11";
|
pgstyles.PgStyles[0].Items[2].Style.FontSize = "11";
|
||||||
pgstyles.PgStyles[0].Items[3].Col = 477; //{Page} of {OF}
|
pgstyles.PgStyles[0].Items[3].Col = 519; //{Page} of {OF}
|
||||||
|
pgstyles.PgStyles[0].Items[3].Justify = "PSRight";
|
||||||
pgstyles.PgStyles[0].Items[3].Style.FontFamily = "Arial";
|
pgstyles.PgStyles[0].Items[3].Style.FontFamily = "Arial";
|
||||||
pgstyles.PgStyles[0].Items[3].Style.FontSize = "11";
|
pgstyles.PgStyles[0].Items[3].Style.FontSize = "11";
|
||||||
pgstyles.PgStyles[0].Items[4].Col = 285; // BACKGROUND INFORMATION FOR
|
pgstyles.PgStyles[0].Items[4].Col = 285; // BACKGROUND INFORMATION FOR
|
||||||
@ -2047,13 +2052,16 @@ namespace fmtxml
|
|||||||
pgstyles.PgStyles[0].Items[5].Style.FontSize = "11";
|
pgstyles.PgStyles[0].Items[5].Style.FontSize = "11";
|
||||||
// Background Text - rest of pages
|
// Background Text - rest of pages
|
||||||
pgstyles.PgStyles[1].Items[0].Col = -5; // {DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}
|
pgstyles.PgStyles[1].Items[0].Col = -5; // {DRAFTPAGE}{REFERENCEPAGE}{MASTERPAGE}{SAMPLEPAGE}
|
||||||
pgstyles.PgStyles[1].Items[1].Col = 477; //{EOPNUM}
|
pgstyles.PgStyles[1].Items[1].Col = 519; //{EOPNUM}
|
||||||
|
pgstyles.PgStyles[1].Items[1].Justify = "PSRight";
|
||||||
pgstyles.PgStyles[1].Items[1].Style.FontFamily = "Arial";
|
pgstyles.PgStyles[1].Items[1].Style.FontFamily = "Arial";
|
||||||
pgstyles.PgStyles[1].Items[1].Style.FontSize = "11";
|
pgstyles.PgStyles[1].Items[1].Style.FontSize = "11";
|
||||||
pgstyles.PgStyles[1].Items[2].Col = 477; //{REV}
|
pgstyles.PgStyles[1].Items[2].Col = 519; //{REV}
|
||||||
|
pgstyles.PgStyles[1].Items[2].Justify = "PSRight";
|
||||||
pgstyles.PgStyles[1].Items[2].Style.FontFamily = "Arial";
|
pgstyles.PgStyles[1].Items[2].Style.FontFamily = "Arial";
|
||||||
pgstyles.PgStyles[1].Items[2].Style.FontSize = "11";
|
pgstyles.PgStyles[1].Items[2].Style.FontSize = "11";
|
||||||
pgstyles.PgStyles[1].Items[3].Col = 477; //{Page} of {OF}
|
pgstyles.PgStyles[1].Items[3].Col = 519; //{Page} of {OF}
|
||||||
|
pgstyles.PgStyles[1].Items[3].Justify = "PSRight";
|
||||||
pgstyles.PgStyles[1].Items[3].Style.FontFamily = "Arial";
|
pgstyles.PgStyles[1].Items[3].Style.FontFamily = "Arial";
|
||||||
pgstyles.PgStyles[1].Items[3].Style.FontSize = "11";
|
pgstyles.PgStyles[1].Items[3].Style.FontSize = "11";
|
||||||
// attachments
|
// attachments
|
||||||
@ -2695,6 +2703,10 @@ namespace fmtxml
|
|||||||
}
|
}
|
||||||
private void AddNSPSAMPage(ref PageStyles pgstyles)
|
private void AddNSPSAMPage(ref PageStyles pgstyles)
|
||||||
{
|
{
|
||||||
|
// Procedure Steps
|
||||||
|
pgstyles.PgStyles[0].Items[2].Style.CPI = "10";
|
||||||
|
// Figures Included in Page Count
|
||||||
|
pgstyles.PgStyles[1].Items[2].Style.CPI = "10";
|
||||||
//Cover sheet with retention 5 years
|
//Cover sheet with retention 5 years
|
||||||
//{EOPNUM}
|
//{EOPNUM}
|
||||||
pgstyles.PgStyles[2].Items[1].Style.FontFamily = "Arial";
|
pgstyles.PgStyles[2].Items[1].Style.FontFamily = "Arial";
|
||||||
@ -2719,9 +2731,14 @@ namespace fmtxml
|
|||||||
pgstyles.PgStyles[3].Items[3].Style.FontFamily = "Arial";
|
pgstyles.PgStyles[3].Items[3].Style.FontFamily = "Arial";
|
||||||
pgstyles.PgStyles[3].Items[3].Style.FontSize = "11";
|
pgstyles.PgStyles[3].Items[3].Style.FontSize = "11";
|
||||||
//Figures with Seperate Pagination
|
//Figures with Seperate Pagination
|
||||||
|
// PROCTITLE
|
||||||
|
pgstyles.PgStyles[6].Items[2].Style.CPI = "10";
|
||||||
//Page {DOCCURPAGE} of {DOCTOTPAGE}
|
//Page {DOCCURPAGE} of {DOCTOTPAGE}
|
||||||
pgstyles.PgStyles[6].Items[6].Style.FontFamily = "Arial";
|
pgstyles.PgStyles[6].Items[6].Style.FontFamily = "Arial";
|
||||||
pgstyles.PgStyles[6].Items[6].Style.FontSize = "11";
|
pgstyles.PgStyles[6].Items[6].Style.FontSize = "11";
|
||||||
|
// Figures with Section Info
|
||||||
|
// PROCTITLE
|
||||||
|
pgstyles.PgStyles[7].Items[2].Style.CPI = "10";
|
||||||
|
|
||||||
// we need to add one new pgstyle
|
// we need to add one new pgstyle
|
||||||
// expand the pgstyles.PgStyles array by one;
|
// expand the pgstyles.PgStyles array by one;
|
||||||
@ -2776,7 +2793,7 @@ namespace fmtxml
|
|||||||
pi.Style = new VE_Font();
|
pi.Style = new VE_Font();
|
||||||
pi.Style.FontFamily = "Arial";
|
pi.Style.FontFamily = "Arial";
|
||||||
pi.Style.FontSize = "11";
|
pi.Style.FontSize = "11";
|
||||||
pi.Style.CPI = "12";
|
pi.Style.CPI = "10";
|
||||||
pi.Style.FontStyle = "None";
|
pi.Style.FontStyle = "None";
|
||||||
Fpsitms[2] = pi;
|
Fpsitms[2] = pi;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user