Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Transalper on February 13, 2012, 11:14:54 pm

Title: Using Word "List of Figures" does not work
Post by: Transalper on February 13, 2012, 11:14:54 pm
Hi,
I'm working with the RTF Generator
I have word templates with a figure list.
It should look like: "Fig. 2: BlaBla"

The entry for the figures is
"Fig. {STYLEREF 1\s}: BlaBla"

The RTF Generator output inserts a "MERGEFIELD " into every bracket like:
"{MERGEFIELD STYLEREF 1\s}: BlaBla"

When I update the figure list it's empty.
When I remove the unwanted "MERGEFIELD "-text and update the list of figures, the list is correct.
Title: Re: Using Word "List of Figures" does not work
Post by: Ian E Mitchell on February 14, 2012, 08:38:10 pm
<product plug>
If you're struggling withthe RTF generator, have a look at eaDocX: it certainly gives you the control over the style of the figure names, and a whole load more features.
See www.eadocx.com
</product plug>