Creating a complex layout & Paragraph nesting not allowed? #2421
Replies: 2 comments
-
Perhaps I am going about it the wrong way and should create the entire layout by hand. Then, I can use the patcher to fill in the data instead of doing it all in code. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I moved away from this library as the patcher didn't work properly (didn't find any tags within sections or shapes), so I continued with Apache POI. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently trying to re-create this sort of layout, which is not final by any means:
Currently I've managed to create a footer that includes a banner, page number, and a separate section. However, I'm uncertain whether the implementation is correct because I'm facing an issue with nesting paragraphs. I suspect I need to use paragraphs to properly position them centered inside the parent paragraph, which is essentially treated as a colored shape at this point. When attempting to generate the document with nested paragraphs, Microsoft Word displays an error:
This is currently what I have:
I'd also like to mention that the concept of generating documents is relatively new to me.
Beta Was this translation helpful? Give feedback.
All reactions