From b5fba2cc5a5abf8837e3ae56234f35f140221ff2 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 19 Apr 2013 19:45:34 +0000 Subject: [PATCH] =?UTF-8?q?adjusted=20the=20page=20width=20for=20Ginna?= =?UTF-8?q?=E2=80=99s=20EOPs=20Introduction=20and=20Attachment=20Pages=20s?= =?UTF-8?q?ections.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/fmtxml/AppendPlantSpecific.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) 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) {