sitimoen / xdocreport

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

Can <<developer.name>> (mailmerge) be made to work like ${developer.name} (FTL)? #274

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Take a docx file with Mergefields
2. (We want to ween the customer off MSWord, so ...) we convert this file to 
odt. LibreOffice converts the Mergefields into Mailmergefields.
3. The Mailmergefields have the format <<fieldname>> instead of ${fieldname} 
and are not inputfields

What is the expected output? What do you see instead?
Can <<developer.name>> (mailmerge) be made to work like ${developer.name} (FTL)?

What version of the product are you using? On what operating system?
LibreOffice 4.0.3.3 on Windows XP SP 3

Please provide any additional information below.

Original issue reported on code.google.com by nagios.e...@gmail.com on 10 Jun 2013 at 3:27

GoogleCodeExporter commented 8 years ago
Hi nagios,

If I understand you have 2 problems : 

1) Using ODT mailmergefield 

No it's not possible. XDocReport uses inputfields instead of mailmergefields 
because it's not possible to create a custom name for mailmergefield with ODT 
(you must link it to a datasource). 

2) Using <<developer.name>> syntax.

The inputfield name must follow the template engine syntax. But I would like in 
the future support any syntax.

I think it will be an hard work, but you could develop your onwn preprocessor 
to detect mailmergefield and transform it to well syntax.

Regards Angelo

Original comment by angelo.z...@gmail.com on 10 Jun 2013 at 3:49

GoogleCodeExporter commented 8 years ago

Original comment by angelo.z...@gmail.com on 18 Feb 2014 at 2:17

GoogleCodeExporter commented 8 years ago
cleanup

Original comment by pascal.leclercq on 10 Oct 2014 at 7:37