thombergs / docx-stamper

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

Recursive repeat doc part #106

Open AL1047088 opened 2 years ago

AL1047088 commented 2 years ago

Full changelist to allow repeatDocPart to work recursively, extracting whole doc part into an in memory template, stamped using the same context and resolvers configuration, before inserting the whole thing back in place inside the original memo.

Original doc part and comments are removed on commit.

Limitation : comments inside doc part must not overlap the original comment range start/end for it to work.

thombergs commented 1 year ago

merged into this branch for inclusion in version 2.0