B2020-021: After creating an Automatic Table of Contents section, a word document is displayed in the editor
This commit is contained in:
parent
8f4d02da78
commit
6c9d0a4721
@ -272,7 +272,8 @@ namespace VEPROMS
|
|||||||
private void FinishSectionSave(Section section)
|
private void FinishSectionSave(Section section)
|
||||||
{
|
{
|
||||||
ItemInfo sectinfo = ItemInfo.Get(section.ItemID);
|
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.
|
// need to find out if this is a word document type section & if it is, create a new word doc.
|
||||||
bool isWordSect = true;
|
bool isWordSect = true;
|
||||||
int sectype = (int)sectinfo.MyContent.Type - 10000;
|
int sectype = (int)sectinfo.MyContent.Type - 10000;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user