Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Document Generator Interface Package

The DocumentGenerator Class provides an interface to the document and web reporting facilities, which you can use to generate reports on specific Packages, diagrams and elements in your model.


Repository Class

You can create a pointer to this interface using the method Repository.CreateDocumentGenerator.


This diagram illustrates how you might use the Document Generator interface in generating a report through the Automation Interface.

A Sequence (Interaction) diagram in Sparx Systems Enterprise Architect.

Also look at the:

  • Document Generation scripting example in the Scripting window ('Specialize > Tools > Script Library', then expand the 'Local Scripts' folder and double-click on 'JScript - Documentation Example')
  • RunReport method in the Project Interface

Learn more