Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: MatthiasVDE on March 17, 2020, 03:12:19 am

Title: Report Constants when using DocumentGenerator()
Post by: MatthiasVDE 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?
Title: Re: Report Constants when using DocumentGenerator()
Post by: Uffe on March 17, 2020, 06:22:20 pm
DocumentGenerator.GetProjectConstant(). You can set them too, for some reason.

/Uffe
Title: Re: Report Constants when using DocumentGenerator()
Post by: MatthiasVDE 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.