Remove HTML balises from generated document [message #1818554] |
Thu, 19 December 2019 14:19  |
Eclipse User |
|
|
|
Hello,
When generating a document with M2Doc, I'm struggling to display correctly the generic "Description" Attribute of an element of the model.
The balise { m:element.description} will always be displayed with the HTML balises around it:
<p>This is the description of the element:</p>
Any idea on how to remove them ?
Thanks in advance.
Mathias
|
|
|
|
|
Re: Remove HTML balises from generated document [message #1818597 is a reply to message #1818594] |
Fri, 20 December 2019 10:27   |
Eclipse User |
|
|
|
You can use M2Doc 3.0.0 with Capella 1.3.1. But the M2Doc Capella extensions 1.3.1 will not work anymore.
You can migrate your project from Capella 1.3.1 to 1.4.0 using the contextual menu on the project. Then you can use the M2Doc Capella extensions 1.4.0.
|
|
|
Re: Remove HTML balises from generated document [message #1829146 is a reply to message #1818597] |
Thu, 25 June 2020 20:50   |
Eclipse User |
|
|
|
Hi Yvan,
I don't have the option of using Capella 1.4. I am using 1.3 and have tried installing M2DOC 3.0 but have not been successful. Is there a trick to getting it to work with 1.3?
I am struggling with maintaining the formatting that is placed in the Description field in the exported word document.
Thank you,
Maria
|
|
|
Re: Remove HTML balises from generated document [message #1829161 is a reply to message #1829146] |
Fri, 26 June 2020 07:39  |
Eclipse User |
|
|
|
Hi Maria,
To install M2Doc 3.0.0 in Capella 1.3.x with out the Capella M2Doc extension you need to use this update site:
https://s3-eu-west-1.amazonaws.com/obeo-m2doc-releases/3.0.0/repository
When selecting everything from the repository, you should not be able to install Acceleo Query (AQL) because an other version is used be Capella 1.3.x. Also tests and CDO features will not be installed. But that's not a problem, other features will be installed.
At this point you need to change the version of your templates to 3.0.0 see the template custom properties wizard.
If your are not using services from the Capella M2Doc extension, your template should generate.
I'm not sure what you mean by exported word document ? Your template should not need to be changed except for the version and possibly the services from the Capella M2Doc extension.
|
|
|
Powered by
FUDForum. Page generated in 0.03764 seconds