Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Happy on December 08, 2010, 02:07:08 am

Title: RTF-Reports - what causes EA to use MERGEFIELD
Post by: Happy on December 08, 2010, 02:07:08 am
Currently I'm confused about generated EA-Reports regarding one certain point.

Lets say within EA RTF Template editor I add the field
Code: [Select]
{Meth.Notes}to a RTF Template within the method region to add all methods' notes to a report.

When I look at the generated RTF, I get confused.

Some of the methods' notes are there as "plain text" (as expected).

Some of the methods' notes are there as "mergefield link"
Code: [Select]
{MERGEFIELD Meth.Notes}

Why are some of the notes (or other fields) produced as mergefields and others aren't?

Even the mergefield notes have the notes I expected, no problem so far. But why are they handled differently?

Thx,
Happy
Title: Re: RTF-Reports - what causes EA to use MERGEFIELD
Post by: alesliehughes on December 09, 2010, 10:03:30 am
This is caused by the notes being plain text as opossed to having some formatting.  If you want to always remove the MERGEFIELD, check the option "Optimize for Open Office".

All notes in future build we be inserted as plain text.

Alistair