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

Line feed removed when setting FLAG_BIND_REMOVE_SDT to bind method #598

Open
lbindels opened this issue Oct 9, 2024 · 1 comment
Open

Comments

@lbindels
Copy link

lbindels commented Oct 9, 2024

In my XML, i have text that contains empty paragraphe like that
image

When a specify the flag FLAG_BIND_REMOVE_SDT to the bind method, the empty ligne between "ligne2" and "ligne4" is removed from the final docx file.

@lbindels
Copy link
Author

lbindels commented Oct 9, 2024

After analyzis, it's linked to the behavior the the class java.util.StringTokenizer used in the class "ValueInsertedPlainTextImpl".
StringTokenizer cannot handle multiple consecutive delimiter.

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

1 participant