Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: AndyJ on April 19, 2012, 09:18:27 am
-
Hi People,
I'm trying to include the project glossary into my produced documentation.
It's happily reproducing in the .RTF template, but doesn't have a bookmark that I can find.
I've tried adding bookmarks within the template editor, but haven't successfully invoked them from the parent Word document.
Has anyone managed to get this to work?
Andy
-
Further to the above.
What is happening is the RTF editor is creating a pair of bookmarks that look like this:
{\*\bkmkstart Project_Glossary}{\*\bkmkend Project_Glossary}
I haven't been able to find any way to prevent the editor from creating these as a pair, wherever I create them. As there is no content between this pair, the result is always that Word returns nothing when this bookmark is used as a reference to the resulting RTF file.
Highlighting a block of text (which contains the glossary tags) does not result in the bookmarks being created at either end for example.
Does anyone know of any other method where I can place these bookmarks where I need them to be in the template?
Can the template be exported and edited in a code editor for example?
-
I've tried manually adding the bookmarks to the RTF template, but the curly brackets and backslashes are being escaped in the output.
i.e. I'm looking for this:
{\*\bkmkstart Project_Glossary}\par
but I'm getting this:
\{\\*\\bkmkstart Project_Glossary\}\par
-
Still answering my own posts...
I've tried exporting the RTF template, editing it in Notepad, and importing it back into EA...
So far I have not found any place that I can insert bookmarks into the template and have them either side of the generated project glossary.
:(