Author Topic: Word Export escape special characters like '&' for attribute description  (Read 2367 times)

xabi

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Word Export escape special characters like '&' for attribute description
« Reply #1 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

xabi

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Word Export escape special characters like '&' for attribute description
« Reply #2 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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Word Export escape special characters like '&' for attribute description
« Reply #3 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

xabi

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Word Export escape special characters like '&' for attribute description
« Reply #4 on: February 13, 2024, 07:55:51 pm »
Great thanks for your support  :)