预订演示
前页 后页

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.

Access

Repository Class

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

Example

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