Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: danillodomingos on July 07, 2016, 04:56:04 am

Title: how to generate document through script respecting template fixed contents?
Post by: danillodomingos on July 07, 2016, 04:56:04 am
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?
Title: Re: how to generate document through script respecting template fixed contents?
Post by: danillodomingos on July 13, 2016, 05:28:30 am
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?