diff --git a/PROMS/fmtxml/AppendPlantSpecific.cs b/PROMS/fmtxml/AppendPlantSpecific.cs index 047003f4..bd68c517 100644 --- a/PROMS/fmtxml/AppendPlantSpecific.cs +++ b/PROMS/fmtxml/AppendPlantSpecific.cs @@ -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) {