diff --git a/PROMS/Formats/fmtall/vcbaall.xml b/PROMS/Formats/fmtall/vcbaall.xml index 10bf8317..7dbb5ba6 100644 Binary files a/PROMS/Formats/fmtall/vcbaall.xml and b/PROMS/Formats/fmtall/vcbaall.xml differ diff --git a/PROMS/Formats/fmtall/vcbeppall.xml b/PROMS/Formats/fmtall/vcbeppall.xml index 21da0e9f..490e2225 100644 Binary files a/PROMS/Formats/fmtall/vcbeppall.xml and b/PROMS/Formats/fmtall/vcbeppall.xml differ diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/DocumentExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/DocumentExt.cs index 608df58f..e84b250b 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/DocumentExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/DocumentExt.cs @@ -1229,10 +1229,14 @@ namespace VEPROMS.CSLA.Library { // the + 1 in the next line allows for rounding. if ((newWidth > (8.5f * 72)) && newWidth > newLength) - if(myDoc.PageSetup.Orientation != LBWdOrientation.wdOrientLandscape) + if (myDoc.PageSetup.Orientation != LBWdOrientation.wdOrientLandscape) + { myDoc.PageSetup.Orientation = LBWdOrientation.wdOrientLandscape; + myDoc.PageSetup.RightMargin = 11 * 72 - newWidth; + } + else + myDoc.PageSetup.RightMargin = newRight; myDoc.PageSetup.BottomMargin = newBottom; - myDoc.PageSetup.RightMargin = newRight; myDoc.PageSetup.LeftMargin = newLeft; myDoc.PageSetup.TopMargin = newTop; }