Allow approval to work if no existing approved versions

Try too set margins if bottom margin is undefined for MSWord section
Corrected comment
This commit is contained in:
Rich committed 2012-06-15 16:41:39 +00:00
1 parent 0927762693
commit 25db26519e
3 files changed
+22 -5

No files matched your search

@@ -784,6 +784,20 @@ namespace VEPROMS.CSLA.Library
myDoc.PageSetup.LeftMargin = newLeft;
myDoc.PageSetup.TopMargin = newTop;
}
else
{
try
{
myDoc.PageSetup.BottomMargin = 0; // 11 * 72 - (newTop + newLength);
myDoc.PageSetup.RightMargin = newRight;
myDoc.PageSetup.LeftMargin = newLeft;
myDoc.PageSetup.TopMargin = newTop;
}
catch (Exception ex)
{
_MyLog.Error("Could not set margins", ex);
}
}
}
else
{