Limit Right Indent to Ginna
This commit is contained in:
parent
2958b4927a
commit
9f8d070e34
@ -867,9 +867,12 @@ namespace VEPROMS.CSLA.Library
|
||||
if (sc == null || sc.Section_WordMargin == "N")
|
||||
{
|
||||
AdjustMargins(myDocStyle, myDoc, true);
|
||||
// B20200-122 Reset RightIndent to zero if it is set
|
||||
// B2020-122 Reset RightIndent to zero if it is set AP Enhanced Background Documents/AP-RHR.2
|
||||
// B2020-136 for Ginna (RGE) only. Causes problems for WCN Training/APs/AP30E-002
|
||||
myDoc.Application.Selection.WholeStory();
|
||||
if(myDoc.Application.Selection.ParagraphFormat.RightIndent != 0)
|
||||
if(myDoc.Application.Selection.ParagraphFormat.RightIndent != 0
|
||||
&& (sect.ActiveFormat.Name.StartsWith("RGE")
|
||||
|| sect.ActiveFormat.Name.StartsWith("Ginna")))
|
||||
myDoc.Application.Selection.ParagraphFormat.RightIndent = 0;
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user