Hello again Guillaume I have just got word back from the template specialists.
> When an address line is empty, how can I tell LiveDocx no to print the > entire line, including the <CR>? Unfortunately, they confirmed exactly what I originally thought: Currently, this is not directly supported. However, it may be added in a future version of the backend service LiveDocx.MailMerge. Please consider the following workaround: Merge address data, including line breaks, into something like this. ORGANIZATION<CR> ADDRESS<CR> POSTAL CODE, CITY<CR> Although not a particularly elegant solution, this way you can avoid getting empty lines. Does this solve the issue you are having? Jonathan Maron On Tue, Apr 6, 2010 at 1:10 PM, Jonathan Maron <jonathan.a.ma...@gmail.com> wrote: > Hello Guillaume > > I am happy to hear that you like Zend_Service_LiveDocx. > >> When an address line is empty, how can I tell LiveDocx no to print the >> entire line, including the <CR>? > > I am currently conferring with the LiveDocx template specialists about > this and will get back to you ASAP. > > Best regards > > Jonathan Maron > > > > On Tue, Apr 6, 2010 at 12:34 PM, Guillaume ORIOL <go.li...@technema.fr> wrote: >> Hi, >> >> Zend_Service_LiveDocx is a great Zend component! Many thanks to the >> contributors of this new service. I tried it this week-end and was able to >> produce DOC and PDF document really fast with the MailMerge class. >> >> The only thing I was not able to do was compressing blank lines. >> Let me explain what I need with this address example: >> >> ORGANIZATION<CR> >> ADDRESS 1<CR> >> ADDRESS 2<CR> >> ADDRESS 3<CR> >> POSTAL CODE, CITY<CR> >> >> When an address line is empty, how can I tell LiveDocx no to print the >> entire line, including the <CR>? >> >> Best regards >> -- >> Guillaume ORIOL >> Software engineer >> Technema >> >