thombergs / docx-stamper

Easy-to-use template engine for creating docx documents in Java.
MIT License
213 stars 90 forks source link

displayParagraphIf doesn't work inside table with repeatTableRow #24

Open asm0dey opened 7 years ago

asm0dey commented 7 years ago

comments inside repeatable rows should be handled separately. Is it possible to implement?

delberthbeti commented 5 years ago

I have same issues with repeatParagraph. It's because of the paragraph coordinates to be removed is not correct. The coordinates to be removed is taken from the template before the document is generated. So when repeat is called or another property that resolved to multiple lines in document, then the coordinates index that supposed to be removed is moved to another index.

Any help to work around this issue?

asm0dey commented 5 years ago

@delbv9 at the end of the day I've just created one more model, which works well with this limitation. It's not as nice solution as solution inside library of course

ImanGharib commented 5 years ago

I have a problem with repeatParagraph() for a cell in a table with repeatTableRow(). Is it the same issue here? any solution for that?

asm0dey commented 5 years ago

@ImanGharib I've just changed my model as workarounf :)

ImanGharib commented 5 years ago

@ImanGharib I've just changed my model as workarounf :) is your workaround anywhere to check out? :)

asm0dey commented 5 years ago

Nop, sorry. It was internal project of my company [image: photo] Paul FInkelshteyn Team lead at Lamoda LLC M +7(915)208-2133 <+7(915)208-2133> E pavel.finkelshtein@gmail.com pavel.finkelshtein@gmail.com W asm0dey.ru http://asm0dey.ru Skype pavel.finkelshtein <#SignatureSanitizerSafeHtmlFilter> http://facebook.com/asm0dey http://linkedin.com/in/asm0dey http://twitter.vom/asm0di0 http://vk.com/asm0dey http://it.asm0dey.ru/podcast/feed/

пт, 21 дек. 2018 г. в 10:38, Iman notifications@github.com:

@ImanGharib https://github.com/ImanGharib I've just changed my model as workarounf :) is your workaround anywhere to check out? :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thombergs/docx-stamper/issues/24#issuecomment-449292681, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPLgu36qu1UY_P27rEmuPsku4M-q6lQks5u7I_egaJpZM4OHI5r .

ImanGharib commented 5 years ago

Hi @delbv9 did you find any solution to get this problem fixed? regards Iman

JohannesWi commented 3 years ago

still no solution? We be really great..

caring-coder commented 2 months ago

I believe that the topic has been solved inadverdantly in last version of my fork, I'll publish the automated test with https://github.com/verronpro/docx-stamper/pull/388