Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to replace with slice element #30

Open
wzhsh90 opened this issue Sep 13, 2024 · 3 comments
Open

how to replace with slice element #30

wzhsh90 opened this issue Sep 13, 2024 · 3 comments

Comments

@wzhsh90
Copy link

wzhsh90 commented Sep 13, 2024

I need generate table tr by dynamic , is there a way to do that ?

1

@wzhsh90
Copy link
Author

wzhsh90 commented Sep 13, 2024

The library github.com/legion-zver/go-docx-templates can dynamic generate tabe row. But your's replace is better.

@kavinsan
Copy link

@wzhsh90 word docs are essentially zip files, you can unzip and modify the code yourself. I would recommend using a xml parser against these files to search and manually add table row elements

@TeCHiScy
Copy link
Contributor

TeCHiScy commented Sep 23, 2024

The library github.com/legion-zver/go-docx-templates can dynamic generate tabe row. But your's replace is better.

Thanks for the input. Seems this issue is closely related with #11, #24, #28. I will dig into the package you mentioned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants