Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: xabi on February 10, 2024, 07:01:10 pm

Title: Word Export escape special characters like '&' for attribute description
Post by: xabi on February 10, 2024, 07:01:10 pm
Hello,

I'm having a difficulty with a Word export. I am exporting some class diagrams to Word. I have also described attributes for the classes.

Both elements have a description that I want to print. It works in general, but if the attribute description contains e.g. "&", it is replaced by &. For the class description it works fine, "&" is not replaced.

Do you have any tip for me how I can print the attribute description as it is.

Many thanks in advance
Title: Re: Word Export escape special characters like '&' for attribute description
Post by: Geert Bellekens on February 12, 2024, 05:43:15 pm
Hello,

I'm having a difficulty with a Word export. I am exporting some class diagrams to Word. I have also described attributes for the classes.

Both elements have a description that I want to print. It works in general, but if the attribute description contains e.g. "&", it is replaced by &. For the class description it works fine, "&" is not replaced.

Do you have any tip for me how I can print the attribute description as it is.

Many thanks in advance
Are you using RTF templates?
Because they know about formatted text.

For SQL Fragments or script fragments, you'll have to mark the formatted text fields yourself.

Geert
Title: Re: Word Export escape special characters like '&' for attribute description
Post by: xabi on February 12, 2024, 11:14:04 pm
Hello Geert, thanks for your response :) Im using SQL Fragements. I will try to find out how to mark them as formatted text.

Have a nice day
Title: Re: Word Export escape special characters like '&' for attribute description
Post by: Geert Bellekens on February 13, 2024, 03:01:58 am
There's a number of posts here on the forum, and it's described in the manual, on the page of the SQL fragments.

Geert
Title: Re: Word Export escape special characters like '&' for attribute description
Post by: xabi on February 13, 2024, 07:55:51 pm
Great thanks for your support  :)