Adjusted the left margin for the AOP Placekeeper with Initials format

This commit is contained in:
John Jenko 2014-05-16 14:58:21 +00:00
parent 50a5787b32
commit 099a428888
2 changed files with 29 additions and 3 deletions

View File

@ -789,6 +789,9 @@ namespace fmtxml
case "BGEEOP.PAG": case "BGEEOP.PAG":
AddBGEEOPPage(ref pgstyles); AddBGEEOPPage(ref pgstyles);
break; break;
case "BGEEOP.Z00":
AddBGEEOPPage_Z00(ref pgstyles);
break;
} }
} }
@ -1342,6 +1345,9 @@ namespace fmtxml
case "BGEEOP.DOC": case "BGEEOP.DOC":
AddBGEEOPDOC(ref dcstyles); AddBGEEOPDOC(ref dcstyles);
break; break;
case "BGEEOP.Y00":
AddBGEEOPDOC_Y00(ref dcstyles);
break;
} }
} }
private void AddWCNBCKDoc(ref DocStyles dcstyles) private void AddWCNBCKDoc(ref DocStyles dcstyles)

View File

@ -70,13 +70,21 @@ namespace fmtxml
// EOP Placekeeper // EOP Placekeeper
dcstyles.DcStyles[12].TopMargin = 138; dcstyles.DcStyles[12].TopMargin = 138;
dcstyles.DcStyles[12].PageLength = 630; dcstyles.DcStyles[12].PageLength = 629;
dcstyles.DcStyles[12].LeftMargin = 106; dcstyles.DcStyles[12].LeftMargin = 106;
// AOP Placekeeper // AOP Placekeeper
dcstyles.DcStyles[13].TopMargin = 138; dcstyles.DcStyles[13].TopMargin = 138;
dcstyles.DcStyles[13].PageLength = 630; dcstyles.DcStyles[13].PageLength = 629;
dcstyles.DcStyles[13].LeftMargin = 106; dcstyles.DcStyles[13].LeftMargin = 106;
} }
private void AddBGEEOPDOC_Y00(ref DocStyles dcstyles)
{
// AOP PlaceKeeper w/ Initials
dcstyles.DcStyles[2].TopMargin = 138;
dcstyles.DcStyles[2].PageLength = 629;
dcstyles.DcStyles[2].LeftMargin = 76;
}
private void AddBGEEOPPage(ref PageStyles pgstyles) private void AddBGEEOPPage(ref PageStyles pgstyles)
{ {
pgstyles.PgStyles[0].Items[2].Col = 480; pgstyles.PgStyles[0].Items[2].Col = 480;
@ -107,6 +115,7 @@ namespace fmtxml
pgstyles.PgStyles[9].Items[3].Col = 464; // REVUNIT pgstyles.PgStyles[9].Items[3].Col = 464; // REVUNIT
pgstyles.PgStyles[9].Items[4].Col = 463; // Page {PAGE} of {OF} pgstyles.PgStyles[9].Items[4].Col = 463; // Page {PAGE} of {OF}
pgstyles.PgStyles[9].Items[5].Col = 227; // PLACEKEEPER pgstyles.PgStyles[9].Items[5].Col = 227; // PLACEKEEPER
pgstyles.PgStyles[10].Items[2].Col = 474; pgstyles.PgStyles[10].Items[2].Col = 474;
pgstyles.PgStyles[10].Items[3].Col = 474; pgstyles.PgStyles[10].Items[3].Col = 474;
pgstyles.PgStyles[11].Items[2].Col = 480; pgstyles.PgStyles[11].Items[2].Col = 480;
@ -115,7 +124,8 @@ namespace fmtxml
pgstyles.PgStyles[13].Items[2].Col = 474; pgstyles.PgStyles[13].Items[2].Col = 474;
pgstyles.PgStyles[13].Items[3].Col = 474; pgstyles.PgStyles[13].Items[3].Col = 474;
pgstyles.PgStyles[13].Items[4].Col = 474; pgstyles.PgStyles[13].Items[4].Col = 474;
// EOP Placekeeper
// AOP Placekeeper
pgstyles.PgStyles[14].Items[1].Col = -16; // BOX5 pgstyles.PgStyles[14].Items[1].Col = -16; // BOX5
pgstyles.PgStyles[14].Items[2].Col = 464; // EOPNUM pgstyles.PgStyles[14].Items[2].Col = 464; // EOPNUM
pgstyles.PgStyles[14].Items[3].Col = 464; // REVUNIT pgstyles.PgStyles[14].Items[3].Col = 464; // REVUNIT
@ -123,5 +133,15 @@ namespace fmtxml
pgstyles.PgStyles[14].Items[5].Col = 227; // Page {PAGE} of {OF} pgstyles.PgStyles[14].Items[5].Col = 227; // Page {PAGE} of {OF}
pgstyles.PgStyles[14].Items[6].Col = 227; // PLACEKEEPER pgstyles.PgStyles[14].Items[6].Col = 227; // PLACEKEEPER
} }
private void AddBGEEOPPage_Z00(ref PageStyles pgstyles)
{
// AOP PlaceKeeper w/ Initials
pgstyles.PgStyles[1].Items[1].Col = -16; // BOX5
pgstyles.PgStyles[1].Items[2].Col = 458; // EOPNUM
pgstyles.PgStyles[1].Items[3].Col = 458; // REVUNIT
pgstyles.PgStyles[1].Items[4].Col = 227; // SECTIONLEVELNUMBER
pgstyles.PgStyles[1].Items[5].Col = 227; // Page {PAGE} of {OF}
pgstyles.PgStyles[1].Items[6].Col = 227; // PLACEKEEPER
}
} }
} }