B2020-021: After creating an Automatic Table of Contents section, a word document is displayed in the editor

This commit is contained in:
Kathy Ruffing 2020-02-20 16:57:19 +00:00
parent 8f4d02da78
commit 6c9d0a4721

View File

@ -272,7 +272,8 @@ namespace VEPROMS
private void FinishSectionSave(Section section)
{
ItemInfo sectinfo = ItemInfo.Get(section.ItemID);
// B2020-021: Clear MyDocStyle so that it will be re-read in code checking for auto TOC below
sectinfo.MyDocStyle = null;
// need to find out if this is a word document type section & if it is, create a new word doc.
bool isWordSect = true;
int sectype = (int)sectinfo.MyContent.Type - 10000;