Page 1 of 1

multiple line for a cell of table when data binding

PostPosted: Fri Aug 09, 2013 4:34 pm
by yangmandy
Hi Jason,

Currently i use data binding to generate word document. Through repeat function to handle many tables with same structure, while encounted multiple lines in a cell of table, my program can not detect and only display a string.
The docx4j provides multiple lines when using data binding? If possible, could you kindly provider a sample to show how to handle this?

Thank you in advance :)

Mandy

Re: multiple line for a cell of table when data binding

PostPosted: Fri Aug 09, 2013 8:33 pm
by jason
Do you mean support for multiLine? That is implemented in BindingTraverserXSLT

See https://github.com/plutext/docx4j/blob/ ... rXSLT.java
line 315

If you need more help, please try to explain in more detail what you are after, and post the XML for the content control in question.