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

DOCX, optimized version: measure for intent incorrect if measure "mm" was used for margin & padding #1979

Closed
speckyspooky opened this issue Nov 16, 2024 · 1 comment · Fixed by #1980
Assignees
Labels
BugFix Change to correct issues
Milestone

Comments

@speckyspooky
Copy link
Contributor

The optimized version of the word structure has a problem with the margin & padding calculation.
The problem is that the indent value is to high if "mm" was used.

After research I figured out that the convert-method calculate the measure wrongly.

I will create a fix for that.

@speckyspooky speckyspooky added the BugFix Change to correct issues label Nov 16, 2024
@speckyspooky speckyspooky added this to the 4.18 milestone Nov 16, 2024
@speckyspooky speckyspooky self-assigned this Nov 16, 2024
speckyspooky added a commit to speckyspooky/birt that referenced this issue Nov 16, 2024
@speckyspooky speckyspooky linked a pull request Nov 16, 2024 that will close this issue
@speckyspooky
Copy link
Contributor Author

After fixing of the mathematics behind the indent will be calculated correctly.
This is a scren of right-indent before and after of the word test document:

grafik

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

Successfully merging a pull request may close this issue.

1 participant