Book a Demo

Author Topic: DocumentGenerator - Style Sheet not applied to TOC  (Read 3054 times)

MatthiasVDE

  • EA User
  • **
  • Posts: 196
  • Karma: +1/-0
    • View Profile
DocumentGenerator - Style Sheet not applied to TOC
« on: March 25, 2020, 01:01:17 am »

Code: [Select]
...

' Insert Style sheet
docGenerator.SetStyleSheetDocument("SDM_Style Sheet")
...
' Insert table of contents
docGenerator.InsertTOCDocument("SDM_Table of Contents")


Both SDM_Style Sheet and SDM_Table of Contents are written in Calibri, but every time I generated a document, the Table Of Contents is in Times New Roman...