adjusted the page width for Ginna’s EOPs Introduction and Attachment Pages sections.

This commit is contained in:
John Jenko 2013-04-19 19:45:34 +00:00
parent 757ecf0477
commit b5fba2cc5a

View File

@ -1343,6 +1343,9 @@ namespace fmtxml
case "RGESAM2.DOC":
AddREGSam2DOC(ref dcstyles);
break;
case "RGE.DOC":
AddREGDOC(ref dcstyles);
break;
// in shearon harris format, the fonts were set to 0 in the 16bit docstyle.
// we want them to inherit from plant format, not use the Prestige Elite (font 0)
// from 16bit, so delete those nodes:
@ -1393,6 +1396,13 @@ namespace fmtxml
{
dcstyles.DcStyles[2].numberingsequence = 1; // count this section with total document page count
}
public void AddREGDOC(ref DocStyles dcstyles)
{
// Introduction pages
dcstyles.DcStyles[1].PageWidth = 591; // needed to increase to match 16-bit word wrapping
// Attachment Pages
dcstyles.DcStyles[2].PageWidth = 601; // needed to increase to match 16-bit word wrapping
}
public void AddWCN1Doc(ref DocStyles dcstyles)
{