MohamedSaeed / xdocreport

Automatically exported from code.google.com/p/xdocreport
1 stars 0 forks source link

Word :Unspecified error - recover the contents of this document ? #463

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1.Just testing the template
2.I added a #foreach to my original template which was working fine before

What is the expected output? What do you see instead?

I got a error message that says. Cannot be opened because there are problems 
with the contents, if I click on details I see:
Unspecified error:

Location: Part: /word/document.xml, Line: 1, Column:0

Later on, I clicked on "Ok button" and I see the following error message:

"Word found unreadable content in LabelBoxTemplate.docx_200120151134.docx. Do 
you want to recover the contents of this document ? if you trust the source of 
this document, click Yes.

After I clicked "Yes"; I can see the document in perfect way, therefore my 
problem is this annoying error message. 

What version of the product are you using? On what operating system?
 I'm on Windows, Microsoft Office Professional Plus 2010 version 14.0.7015.1000
xdocreport 1.0.5

Please provide any additional information below.
I'm using velocity for my template. The problem is the template.

The problem seems to be a cause of foreach;

I add this: #foreach ( $LIST_LEGAL_ADVISING  in $LIST_LEGAL_ADVISINGS )

and at the end of document this: #end.

The document format is grouped and will be to use a label generator.

Thanks you very much for your help in advance,

Original issue reported on code.google.com by mpe...@legal-suite.com on 20 Jan 2015 at 5:03

Attachments:

GoogleCodeExporter commented 9 years ago
I added the generated document 

Original comment by mpe...@legal-suite.com on 20 Jan 2015 at 10:09

Attachments:

GoogleCodeExporter commented 9 years ago
Please create your issue at https://github.com/opensagres/xdocreport/issues (we 
have move xdocreport to github).

And please add a simple Java Main + your context too.

Original comment by angelo.z...@gmail.com on 21 Jan 2015 at 8:04

GoogleCodeExporter commented 9 years ago

Original comment by mpe...@legal-suite.com on 22 Jan 2015 at 10:35

Attachments: