Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gendoc » docx document property parts issue
docx document property parts issue [message #1805875] Fri, 26 April 2019 09:14 Go to next message
Robin F. is currently offline Robin F.Friend
Messages: 7
Registered: April 2019
Junior Member
Hi,

Document generation fails when a docx template includes a "Document Property Quick Part" (e.g. Title or Author). The generation process ends quickly with a corrupted output document placed in the default location instead of the output location specified in the template.

Stripped down configuration used:
- Eclipse 2019-03 (4.11.0)
- Papyrus 4.3.0.201903131008
- Gendoc 0.7.2.201810290841
- Acceleo 3.7.8.201902261618
- EMF SDK 2.18.0.v20190405-1218
- MS Word 2013

Do others see the same behavior?

Thanks.
Re: docx document property parts issue [message #1806444 is a reply to message #1805875] Thu, 09 May 2019 07:51 Go to previous messageGo to next message
Tristan Faure is currently offline Tristan FaureFriend
Messages: 460
Registered: July 2009
Senior Member
Hello, thank you for this feedback
is it possible to share a generated doc ? and if you can also attach the error log




Re: docx document property parts issue [message #1807856 is a reply to message #1806444] Tue, 11 June 2019 07:28 Go to previous messageGo to next message
Robin F. is currently offline Robin F.Friend
Messages: 7
Registered: April 2019
Junior Member
Hello,

Just noticed your post, sorry for the delay. Here are the files, log file cut to the relevant day.

To trigger the issue, I inserted a Word "Quick Parts->Document Property" in the template, just after the <gendoc> tag. If, instead of the "Quick Parts->Document Property" route, I use the alternate "Quick Parts->Field..." route and select "DocProperty" in the dialog, then document generation goes flawlessly.

Cheers,
Robin
Re: docx document property parts issue [message #1807860 is a reply to message #1807856] Tue, 11 June 2019 07:56 Go to previous messageGo to next message
Tristan Faure is currently offline Tristan FaureFriend
Messages: 460
Registered: July 2009
Senior Member
Thanks, just to be sure, did you try the workaround described here : https://www.eclipse.org/forums/index.php/t/1098303/



Re: docx document property parts issue [message #1807884 is a reply to message #1807860] Tue, 11 June 2019 13:40 Go to previous message
Robin F. is currently offline Robin F.Friend
Messages: 7
Registered: April 2019
Junior Member
Yes I did. There is no way to generate anything without the newer EMF SDK package mentioned in the workaround (EMF SDK 2.18.0.v20190405-1218 in my initial post).

I was just reporting that inserting fields using "Quick Parts->Document Property" in templates causes the document generation to abort. In the meantime, I noticed that replacing "Quick Parts->Document Property" with "Quick Parts->Field..." avoids the issue.
Previous Topic:Default Generation to docx failed
Next Topic:Diagrams are not displayed in generated document with sirius bundle
Goto Forum:
  


Current Time: Thu Feb 22 12:05:40 GMT 2024

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

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

Back to the top