Author Topic: how to generate document through script respecting template fixed contents?  (Read 3310 times)

danillodomingos

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-1
    • View Profile
hi,

how do I generate documentation using the document generator interface in scripting, and make it respect the fixed contents on the used template?

example: my template has header/footer, fixed topics with text, etc

when I generate using one of the API methods like documentElement( elementID, 0, MY_TEMPLATE )

it doesn't respect the header footer on the template, nor the table of contents, a first introductory topic, etc.

how do I make it respect the fixed content?

danillodomingos

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-1
    • View Profile
When I use the template with the document generator (f8), all the header/footer/static text in the template are preserved, but when used inside a script, the documentgenerator interface doesnt preserve those components of the template.

anyone know how to configure the documentgenerator interface to preserve these things?