Author Topic: DocumentGenerator - InsertText  (Read 5896 times)

MatthiasVDE

  • EA User
  • **
  • Posts: 196
  • Karma: +1/-0
    • View Profile
DocumentGenerator - InsertText
« 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.

max

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: DocumentGenerator - InsertText
« Reply #1 on: July 01, 2021, 10:29:08 pm »
Try "Heading 1", that should do the trick.

MatthiasVDE

  • EA User
  • **
  • Posts: 196
  • Karma: +1/-0
    • View Profile
Re: DocumentGenerator - InsertText
« Reply #2 on: July 05, 2021, 05:51:58 pm »
Thanks Max, I'll try it.