Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: MatthiasVDE on September 25, 2020, 04:09:01 am

Title: DocumentGenerator - InsertText
Post by: MatthiasVDE on September 25, 2020, 04:09:01 am
I'm working on the generation of a document with templates and a stylesheet.
But when I try to insert a custom title:
Code: [Select]
docGenerator.InsertText "Mainprocess", "heading 1"
The style "heading 1" is never applied to the text, however that style is defined in the stylesheet and the template.
Title: Re: DocumentGenerator - InsertText
Post by: max on July 01, 2021, 10:29:08 pm
Try "Heading 1", that should do the trick.
Title: Re: DocumentGenerator - InsertText
Post by: MatthiasVDE on July 05, 2021, 05:51:58 pm
Thanks Max, I'll try it.