Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: bknoth2 on July 20, 2017, 10:31:56 am

Title: Figure numbers in captions in generate documents?
Post by: bknoth2 on July 20, 2017, 10:31:56 am
I've searched for a way to do this but haven't found anything.

How do I add Figure numbers and captions in generated documentation?

Thanks
Title: Re: Figure numbers in captions in generate documents?
Post by: Shegit Brahm on July 20, 2017, 06:25:52 pm
Sorry, I have no idea how they do it - it just works. My company uses a third party plugin that generates our documents of EA and it puts these informations on correct place.
Title: Re: Figure numbers in captions in generate documents?
Post by: Sunshine on July 20, 2017, 09:15:23 pm
In template enable the diagram in the sections by ticking the box.
Within the two yellow tags for diagram, right click and from the context menu insert field>Figure gives you the figure number. You can add other text too
So it could look something like this;

diagram>
{Diagram.DiagramImg}
Figure {Diagram.Figure}: {Diagram.Name}
<diagram
Title: Re: Figure numbers in captions in generate documents?
Post by: Ian Mitchell on July 21, 2017, 12:37:02 am
eaDocX will let you use the Word function for doing this, so you can get numbering, and all the Word stuff like table-of-figures.
Title: Re: Figure numbers in captions in generate documents?
Post by: bknoth2 on July 21, 2017, 02:55:00 am
Thanks all,

This worked: Figure {Diagram.Figure}: {Diagram.Name}

Now I'll start a thread about setting image size.

- Bruce