StimVinsh / xdocreport

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

First-Steps with xdocreport - Own Replacements #98

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create docx with 2 replacements (Project.Name, Project.Test)
2. Create Class with 2 final Members (name and test) with getter getName() and 
getTest()
3. Running the samplecode from 
http://code.google.com/p/xdocreport/wiki/DocxReportingJavaMain at step 4 by 
adding my second member to the instantiation of project:
Project project = new Project("XDocReport", "HelloUniverse");

What is the expected output?
XDocReport
HelloUniverse

What do you see instead?
XDocReport
XDocReport

What version of the product are you using? On what operating system?
Version: 0.9.7 (Freemarker and Velocity)
OS: Win7 x64

I tried to modify several of your samples. Each time i modified an existing 
field or added one, it didn't work anymore. Only your specified fields from 
sampled work for me. What am i doing wrong?

Original issue reported on code.google.com by andr.w...@gmail.com on 4 Apr 2012 at 3:11

GoogleCodeExporter commented 8 years ago
Hi,

are you sure that you have well created your new mergefield (see 
http://code.google.com/p/xdocreport/wiki/DocxDesignReport). If you have 
problem, please attach your project (docx+Java code)

Regards Angelo

Original comment by angelo.z...@gmail.com on 4 Apr 2012 at 3:19

GoogleCodeExporter commented 8 years ago
Hi Angelo,
i thought the syntax alone will do. Thank you very mutch for the fast answer.
Regards Andreas

Original comment by andr.w...@gmail.com on 4 Apr 2012 at 3:55

GoogleCodeExporter commented 8 years ago
Andreas

Your problem is fixed?

Angelo

Original comment by angelo.z...@gmail.com on 4 Apr 2012 at 4:02

GoogleCodeExporter commented 8 years ago
I think so - will try it tomorrow.
Thanks Andreas

Original comment by andr.w...@gmail.com on 4 Apr 2012 at 4:09

GoogleCodeExporter commented 8 years ago

Original comment by angelo.z...@gmail.com on 5 Apr 2012 at 8:58