B2016-227 Use Section Margins for Word Sub-Sections
This commit is contained in:
parent
f4fc2bf199
commit
a16f1d8110
@ -527,8 +527,10 @@ namespace VEPROMS.CSLA.Library
|
||||
itemInfo.ActiveParent = itemParent;
|
||||
itemInfo.MyParent = itemParent as ItemInfo;
|
||||
// Fix for Active Section when printing. BGE_OI4 OI27D-2
|
||||
//itemInfo.ActiveSection = (itemInfo as SectionInfo) ?? sectionInfo;// - possible fix for not accessing correct format
|
||||
itemInfo.ActiveSection = sectionInfo;
|
||||
if (itemInfo.IsSection && !itemInfo.IsStepSection) // If a Word Section use the current section B2016-227
|
||||
itemInfo.ActiveSection = (itemInfo as SectionInfo) ?? sectionInfo;// - possible fix for not accessing correct format
|
||||
else
|
||||
itemInfo.ActiveSection = sectionInfo;// If not a Word Section use the parent
|
||||
itemInfo.ActiveFormat = itemInfo.MyContent.MyFormat != null ? itemInfo.MyContent.MyFormat : sectionInfo == null ? itemParent.ActiveFormat : sectionInfo.ActiveFormat;
|
||||
itemInfo.MyProcedure = procInfo;
|
||||
itemInfo.MyDocVersion = docVersionInfo;
|
||||
|
Loading…
x
Reference in New Issue
Block a user