Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » [Model2Doc] Issue with list generation
[Model2Doc] Issue with list generation [message #1838219] Thu, 18 February 2021 17:06 Go to next message
Yoann Farré is currently offline Yoann FarréFriend
Messages: 235
Registered: November 2017
Senior Member
Hello,

I have an issue with list generation.

Briefly :
- I'm trying to generate docx file
- I use title style with numbering in the dotx template file
- Result : the list generated uses the numerotation of the title.

I made a small model, doc template and style sheet file to reproduce that bug (see attached file). The result is in the output folder.

Is it a known bug? Is there a workaround ?

Regards.
Yoann.
Re: [Model2Doc] Issue with list generation [message #1838240 is a reply to message #1838219] Fri, 19 February 2021 10:23 Go to previous messageGo to next message
Pauline Deville is currently offline Pauline DevilleFriend
Messages: 122
Registered: November 2016
Location: Paris Saclay, France
Senior Member
Hello,

It was an anknown bug but I open it now [1]. The management of styles in the docx generation should be refactor for sure.
However, the only workaround I can find is to start a new template and start to define list style (save) then define title style with numbers (save). I test this with the attached template.

HTH,
Pauline

1: https://bugs.eclipse.org/bugs/show_bug.cgi?id=571336
  • Attachment: test.dotx
    (Size: 12.87KB, Downloaded 49 times)
Re: [Model2Doc] Issue with list generation [message #1838241 is a reply to message #1838240] Fri, 19 February 2021 10:28 Go to previous messageGo to next message
Yoann Farré is currently offline Yoann FarréFriend
Messages: 235
Registered: November 2017
Senior Member
Hello Pauline,
It should help me to resolve this point. Thanks for your reply and for the bug report.
Yoann.
Re: [Model2Doc] Issue with list generation [message #1838246 is a reply to message #1838241] Fri, 19 February 2021 13:39 Go to previous messageGo to next message
Yoann Farré is currently offline Yoann FarréFriend
Messages: 235
Registered: November 2017
Senior Member
Hello Pauline,
I'm trying to do what you mentioned, but I don't understand what you mean by "define list style" as there is no properly defined list style in word (like for title or table). Should I create style named "list"?
Thanks for your help.
Yoann.
Re: [Model2Doc] Issue with list generation [message #1838314 is a reply to message #1838246] Mon, 22 February 2021 09:25 Go to previous message
Pauline Deville is currently offline Pauline DevilleFriend
Messages: 122
Registered: November 2016
Location: Paris Saclay, France
Senior Member
Hello Yoann,

Sorry if it was not clear. I just know that when you create a template file with Microsoft Word the style is save in the file only if you already create an element of this style and save.
So what I said is that you can:
1. create new template file
2. create a list inside
3. save
4. create you title styles
5. save
6. you can delete all

I hopes it will work for you.

Regards,
Pauline
Previous Topic:Paypyrus for Eclipse Modelling 2020-09 : Model Explorer view is not working.
Next Topic:Maven issue in eclipse
Goto Forum:
  


Current Time: Sat May 11 11:40:56 GMT 2024

Powered by FUDForum. Page generated in 0.03377 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top