Removed un-used Placekeeper information and adjusted the left and top margins on the Placekeeper sections

This commit is contained in:
John Jenko 2014-05-09 19:09:40 +00:00
parent ccc5d73658
commit a50bdd50b2
2 changed files with 21 additions and 46 deletions

View File

@ -42,47 +42,6 @@ namespace fmtxml
fmtdata.TransData.TransTypeData[4].TransUI = "ProcCur, SectMenuAny, StepAllowNone, StepFirst";
fmtdata.TransData.TransTypeData[5].TransUI = "ProcMenu, SectMenuAny, StepAllowNone, StepFirst";
//Placekeeper settings
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKBottomNote = "NOTE: Continuously Applicable Steps are designated with a \"C\" in the Done column.";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKTopContinueMessage = "(continued)";
fmtdata.SectData.AccSectionData.PlaceKeeperData.Font = new VE_Font();
fmtdata.SectData.AccSectionData.PlaceKeeperData.Font.FontFamily = "Arial";
fmtdata.SectData.AccSectionData.PlaceKeeperData.Font.FontSize = "11";
fmtdata.SectData.AccSectionData.PlaceKeeperData.Font.FontStyle = "None";
fmtdata.SectData.AccSectionData.PlaceKeeperData.Font.CPI = "12";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns = new PKColumn[4];
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[0].PKColHeaderText = "START";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[0].PKColPos = 0;
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[0].PKColWidth = 100;
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[0].PKColHeaderFont = new VE_Font();
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[0].PKColHeaderFont.FontFamily = "Arial";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[0].PKColHeaderFont.FontSize = "11";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[0].PKColHeaderFont.FontStyle = "Bold";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[0].PKColHeaderFont.CPI = "12";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[1].PKColHeaderText = "FUNCTION";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[1].PKColPos = 0;
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[1].PKColWidth = 500;
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[1].PKColHeaderFont = new VE_Font();
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[1].PKColHeaderFont.FontFamily = "Arial";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[1].PKColHeaderFont.FontSize = "11";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[1].PKColHeaderFont.FontStyle = "Bold";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[1].PKColHeaderFont.CPI = "12";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[2].PKColHeaderText = "DONE";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[2].PKColPos = 0;
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[2].PKColWidth = 100;
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[2].PKColHeaderFont = new VE_Font();
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[2].PKColHeaderFont.FontFamily = "Arial";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[2].PKColHeaderFont.FontSize = "11";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[2].PKColHeaderFont.FontStyle = "Bold";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[2].PKColHeaderFont.CPI = "12";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[3].PKColHeaderText = "PAGE";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[3].PKColPos = 0;
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[3].PKColWidth = 100;
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[3].PKColHeaderFont = new VE_Font();
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[3].PKColHeaderFont.FontFamily = "Arial";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[3].PKColHeaderFont.FontSize = "11";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[3].PKColHeaderFont.FontStyle = "Bold";
fmtdata.SectData.AccSectionData.PlaceKeeperData.PKColumns[3].PKColHeaderFont.CPI = "12";
}
}
public partial class FmtToXml
@ -105,6 +64,14 @@ namespace fmtxml
dcstyles.DcStyles[3].CenterLineX = 240;
dcstyles.DcStyles[3].CenterLineYTop = 624;
dcstyles.DcStyles[3].CenterLineYBottom = 24;
// EOP Placekeeper
dcstyles.DcStyles[12].TopMargin = 138;
dcstyles.DcStyles[12].PageLength = 630;
dcstyles.DcStyles[12].LeftMargin = 106;
// AOP Placekeeper
dcstyles.DcStyles[13].TopMargin = 138;
dcstyles.DcStyles[13].PageLength = 630;
dcstyles.DcStyles[13].LeftMargin = 106;
}
private void AddBGEEOPPage(ref PageStyles pgstyles)
{
@ -130,8 +97,12 @@ namespace fmtxml
pgstyles.PgStyles[8].Items[2].Col = 474;
pgstyles.PgStyles[8].Items[3].Col = 474;
pgstyles.PgStyles[8].Items[4].Col = 474;
pgstyles.PgStyles[9].Items[2].Col = 474;
pgstyles.PgStyles[9].Items[3].Col = 474;
// EOP Placekeeper
pgstyles.PgStyles[9].Items[1].Col = -16; // BOX5
pgstyles.PgStyles[9].Items[2].Col = 464; // EOPNUM
pgstyles.PgStyles[9].Items[3].Col = 464; // REVUNIT
pgstyles.PgStyles[9].Items[4].Col = 463; // Page {PAGE} of {OF}
pgstyles.PgStyles[9].Items[5].Col = 227; // PLACEKEEPER
pgstyles.PgStyles[10].Items[2].Col = 474;
pgstyles.PgStyles[10].Items[3].Col = 474;
pgstyles.PgStyles[11].Items[2].Col = 480;
@ -140,9 +111,13 @@ namespace fmtxml
pgstyles.PgStyles[13].Items[2].Col = 474;
pgstyles.PgStyles[13].Items[3].Col = 474;
pgstyles.PgStyles[13].Items[4].Col = 474;
pgstyles.PgStyles[14].Items[2].Col = 474;
pgstyles.PgStyles[14].Items[3].Col = 474;
// EOP Placekeeper
pgstyles.PgStyles[14].Items[1].Col = -16; // BOX5
pgstyles.PgStyles[14].Items[2].Col = 464; // EOPNUM
pgstyles.PgStyles[14].Items[3].Col = 464; // REVUNIT
pgstyles.PgStyles[14].Items[4].Col = 227; // SECTIONLEVELNUMBER
pgstyles.PgStyles[14].Items[5].Col = 227; // Page {PAGE} of {OF}
pgstyles.PgStyles[14].Items[6].Col = 227; // PLACEKEEPER
}
}
}

Binary file not shown.