Author Topic: Stylesheet in script generated document does not work  (Read 1761 times)

michielper

  • EA User
  • **
  • Posts: 166
  • Karma: +2/-1
    • View Profile
Stylesheet in script generated document does not work
« on: August 03, 2021, 06:38:45 pm »
I am generating reports with VBScript.
It is unclear to me how to use and set a stylesheet in order to have uniform fonts in the generated report. The function docGenerator.SetStyleSheetDocument does not seem to work.  I have also tried docGenerator.NewDocument("MyStyleSheet"), this has some effect but still the fonts in the generated document do not correspond with those in the stylesheet document. So what is the trick?
Any help is appreciated!