MohamedSaeed / xdocreport

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

Break lines in my template #467

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I introduce in my template.docx: 1<<$breakline>>2
2. I put in my java code:  context.put( "breakline", "<p>A<br />B</p>" );
3. There are two problems: 
      -It doesn´t break line between 1 and 2.
      -It doesn´t work if my code is: context.put( "breakline", "<br />" );

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

   I expected a break line in my template.docx:
   1A
   B2

What version of the product are you using? On what operating system?

 Last version in W7.

Original issue reported on code.google.com by gvl.pe...@gmail.com on 24 Feb 2015 at 11:36

GoogleCodeExporter commented 9 years ago
Have you marked "breakline" has HTML text styling with fields metadata?

If it doesn't work, please attach your docx + simple java main.

Original comment by angelo.z...@gmail.com on 24 Feb 2015 at 1:00

GoogleCodeExporter commented 9 years ago
Attach minimal example

Original comment by gvl.pe...@gmail.com on 25 Feb 2015 at 7:05

Attachments: