Book a Demo

Author Topic: Report Constants when using DocumentGenerator()  (Read 2958 times)

MatthiasVDE

  • EA User
  • **
  • Posts: 196
  • Karma: +1/-0
    • View Profile
Report Constants when using DocumentGenerator()
« on: March 17, 2020, 03:12:19 am »
When generating documents from virtual documents, the report constants can be picked up from the master document.
But when using the documentgenerator, how can you access the report constants?

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Report Constants when using DocumentGenerator()
« Reply #1 on: March 17, 2020, 06:22:20 pm »
DocumentGenerator.GetProjectConstant(). You can set them too, for some reason.

/Uffe
My theories are always correct, just apply them to the right reality.

MatthiasVDE

  • EA User
  • **
  • Posts: 196
  • Karma: +1/-0
    • View Profile
Re: Report Constants when using DocumentGenerator()
« Reply #2 on: March 17, 2020, 08:58:55 pm »
DocumentGenerator.GetProjectConstant(). You can set them too, for some reason.

/Uffe

Thanks Uffe!

I face another problem with the documentgenerator. The table of contents in the generated document is always 'Times New Roman'. However I configured Calibri in my stylesheet, and the template itself is also in Calibri. Strange.