Closed GoogleCodeExporter closed 9 years ago
Your problem is because you don't use input field. I suggest you to start to
read https://code.google.com/p/xdocreport/wiki/ODTReportingQuickStart
Original comment by angelo.z...@gmail.com
on 27 Feb 2014 at 9:23
I tried editing it as <fill-in> type of field still it doesn't work.
I am using Word 2010 to edit the template. Can you please attach some very
basic sample here?
Thanks!
Original comment by harshald...@gmail.com
on 27 Feb 2014 at 10:33
I don't understand. Your attached document is odt and you use MS Word?
* if you wish to use odt, you must use LibreOffice/OppenOffice. Please read https://code.google.com/p/xdocreport/wiki/ODTReportingQuickStart
* if you wish to use docx, you must use MS Word. Please read https://code.google.com/p/xdocreport/wiki/DocxReportingQuickStart
Original comment by angelo.z...@gmail.com
on 27 Feb 2014 at 10:37
Yes it can be edited in MS word right? If I don't use && and || then it just
works perfectly fine with XDocReport. I am not sure why && and || is creating
an issue here. What is the recommended editor for ODT templates then (if word
isn't supported)?
Original comment by harshald...@gmail.com
on 27 Feb 2014 at 10:40
I suggest you read really the wiki. When you want add your Freemarker/velocity
syntax in the odd/docx you MUST NOT type it directly the expression because
odt/docx encoded teh expression. To avoid encoding the expression, you must :
* use "input field" for ODT.
* use "mergefield" for DOCX.
With MS Word you can open an ODT, right, but you cannot use "input field". So :
* if you want to have a template written in ODT, use OpenOffice/LibreOffice to have the capability to create "input field".
* if you want to have a template written in DOCX, use MS Word to have the capability to create "mergefield".
Original comment by angelo.z...@gmail.com
on 27 Feb 2014 at 11:04
None anwser. I close this issue.
Original comment by angelo.z...@gmail.com
on 7 Aug 2014 at 3:25
cleanup
Original comment by pascal.leclercq
on 10 Oct 2014 at 7:37
Original issue reported on code.google.com by
harshald...@gmail.com
on 27 Feb 2014 at 7:55Attachments: