Sparx Systems Forum

Discussion => Automation Interface, Add-Ins and Tools => Topic started by: Viking on December 14, 2017, 06:16:55 am

Title: Document Bookmarks
Post by: Viking on December 14, 2017, 06:16:55 am
Hello together,

I am still working on my small project creating a report with word by replacing GUIDs with artifacts out of EA (see http://www.sparxsystems.com/forums/smf/index.php/topic,38932.0.html (http://www.sparxsystems.com/forums/smf/index.php/topic,38932.0.html)).

I identified a potential solution called "Document Bookmarks" decribed in http://sparxsystems.com/enterprise_architect_user_guide/13.5/model_publishing/o526.html (http://sparxsystems.com/enterprise_architect_user_guide/13.5/model_publishing/o526.html).

I followed the instructions and got an exception: "Bookmark undefined".

I did not think about the concept behind it before testing the example. Because the example did not work, I wondered, how Word can know that I mean a diagram in EA with this bookmark. Do I have to prepare Word? Do I have to use a special template (the one which I have to insert with "document file to insert")?

Many thanks in advance, V.
Title: Re: Document Bookmarks
Post by: Viking on January 11, 2018, 07:24:04 pm
Does anybody have an idea?
Title: Re: Document Bookmarks
Post by: Geert Bellekens on January 11, 2018, 07:54:27 pm
As I understood it this procedure will replace the bookmark in Work by the contents of a generated RTF report.
Is that what you are looking for?

Geert
Title: Re: Document Bookmarks
Post by: Viking on January 11, 2018, 09:12:57 pm
As I understood it this procedure will replace the bookmark in Work by the contents of a generated RTF report.
Is that what you are looking for?
Geert

Many thanks, Geert. I am afraid that I did not to see the wood for the trees. I saw something different in the description... :(