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

Left and right margins in an odt document are swapped when using ODtext #2373

Open
Eijgenraam opened this issue Jan 23, 2023 · 0 comments
Open

Comments

@Eijgenraam
Copy link

When writing an openoffice document (.odt) using the ODtext writer the margins on the left and the right are swapped.

I looked in the source code and saw that in 'Styles.php' on line 187 and line 188
$smleft is assigned to getMarginRight() and
$smright is assigned to getMarginLeft()

So I assigned right to right and left to left and the problem was solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant