-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Insert table at the specified location in word document #606
Comments
However, XmlCursor in NPOI is not correctly implemented. npoi/ooxml/XWPF/Usermodel/IBody.cs Line 110 in 649cf37
InsertNewTbl should have a XmlCursor argument instead |
I need this too. |
There is no same thing like XmlCursor in .NET. It's the weakness of .NET xml library. I'm afraid this feature will NOT be available until 2024. |
Hello, This question has been asked several times:
Here's how I solved it by modifying the NPOI library. I just added an optional argument Two functions need to be modified.
|
@cbs-cbt Thank you for your code contribution. I think it is workable although it's not as powerful as XmlCursor. While using XmlCursor, it can follow the position of the specific paragraph
|
@cbs-cbt I put your name in the contributor list in release notes |
Npoi version: 2.5.4
Description: For example, insert a table between two more paragraphs or directly replace self defined text placeholder with tables,If there is a solution,please give advice or comments, many thanks.
The text was updated successfully, but these errors were encountered: