-
Notifications
You must be signed in to change notification settings - Fork 526
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
ODP writer is locale sensitive in the wrong places #21
Comments
.odp writing now works, using a workaround for the following issue: PHPOffice/PHPPresentation#21 As of now, the presentation gets written to both a .pptx and a .odp file.
@todo : Shared\String\number_format with options ',' & '' as final options. |
@potofcoffee I have pushed a fix on the develop branch. Could you test it and give us your feedback, please ? |
@potofcoffee Some news ? |
Looks good to me. -------- Original-Nachricht -------- @potofcoffee https://github.com/potofcoffee Some news ? — |
@potofcoffee Thanks for your feedback. I close it. |
On locales with a decimal mark different from the dot, the ODP writer will produce invalid documents, because page dimensions in styles.xml will contain invalid characters.
E.g., on a German (de_DE) locale, where the decimal mark is the comma, the fo:page-width attribute in style:page-layout-properties will be "25,4cm" instead of "25.4cm." The result is a broken file.
A temporary workaround is to manually set the locale to something like en_US before writing the file.
The text was updated successfully, but these errors were encountered: