ObeoNetwork / M2Doc

The M2Doc technology enables the generation of Office Open XML documents from models.
http://obeonetwork.github.io/M2Doc/
Eclipse Public License 2.0
39 stars 22 forks source link

Forms in user content are not preserved #151

Open ylussaud opened 7 years ago

ylussaud commented 7 years ago

Forms in user content are lost after re-generation.

DurianGray commented 5 years ago

not only forms are lost after re-generation, but all content. I'm not quiet sure if this is a new issue or #151

What I did:

  1. write some user content (text)
  2. generate from template => user content is preserved as expected
  3. generate again => user content is lost

Template, that I used: Template SA Complete.docx

Target document before first generation: original target document.docx

Target document after first generation. Please note, that file size is reduced! after first generation.docx

Target document after second generation: after second generation.docx

With these documents, you should be able to reproduce.

M2Doc version: 3.0.0201910091358 Eclipse version: 4.7.3.v20180301-0715 Capella Version: 1.3.0 Platform version: Windows

Durian Gray

ylussaud commented 5 years ago

There are no forms nor text area in your example so it's not related to this ticket. But I reproduce your issue. see #366 for the previous comment.