python-docx-template
python-docx-template copied to clipboard
An example of nested horizontal merge
Describe the solution you'd like
An example of nested horizontal merge. In a table a group of columns nested into another (parent) column. Parent columns also repeated by a loop.
Additional context
@SergeyZaykov : Sir, Does your template work?
@phong-ssk Yes, it works for me. Do you have any problem?
Here is a program for the testing.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Testing the nested_horizontal_merge_tpl.docx template."""
from docxtpl import DocxTemplate
doc = DocxTemplate("nested_horizontal_merge_tpl.docx")
doc.render({})
doc.save("generated_doc.docx")
Dear Sir, It does work for me as well! Thank you!
@phong-ssk Have a nice day