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
38 stars 22 forks source link

Restart at 1 on numbered list in a template bloc does not work. #471

Closed phdesanois closed 2 weeks ago

phdesanois commented 1 year ago

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x ] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please have a look to the support pages of our website : http://m2doc.org/support/

Current behavior

Set restart at 1 on numbered list in a bock template. In the generated document, the text produce ,after the second template call, does not start the number with 1. See the generated file listnumerote.generated.docx listnumerote.generated.docx

Expected behavior

Each call must be restart the number at 1. See the expected file listnumerote.expected.docx listnumerote.expected.docx

Minimal reproduction of the problem with instructions

The provided model listnum allows to reproduce the problem by generated the document. listnum.zip

What is the motivation / use case for changing the behavior?

Environment


M2Doc version: 3.2.1
OBeo team version: 11.6
Platform version:  Windows 10 Version 1809

Others: