-
Notifications
You must be signed in to change notification settings - Fork 389
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
DOCX, the margin of dynamic text/data elements will be calculated doubled #1899
Comments
The PR change the internal handling of the HTML-interpretation of the text elements. |
Currently the Word emitter of DOCX calculate the margin of dynamic text elements like "text, "dynamic text" and "data elements" doubled. All elements which will be handled like embedded HTML elements have this problem.
The reason of it is that the word emitter creates currently a layout grid to simulate the margin based on the element style.
At the same time the embedded HTML text create his own layout based on the same style of the HTML element
(internally called "foreign text").
The result is doubled calculated margin.
Example of the double calculation of the margin:
I will provide a PR for that issue.
The text was updated successfully, but these errors were encountered: