-
Notifications
You must be signed in to change notification settings - Fork 6
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
Global float style is ignored #242
Comments
Hi. Thanks for reporting. I'll have a look... next year. |
Note for myself : this one should display only the int part. |
A bit late, but:
Now, implicit data styles (for types) may be null:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I tried to create a .ods file based on the example https://github.com/jferard/fastods/blob/master/fastods-examples/src/main/java/com/github/jferard/fastods/examples/D_SettingTheCellDataStyle.java
I modified it a bit, so I am not 100% sure if I made a mistake or if it's a bug.
However, I tried to use a global style for all floating numbers, but it is not applied.
Note: If I set the floatStyle on the cell directly (last value, 1005.123), it works!
The global date style works also.
Tested with com.github.jferard:fastods:0.8.1 and LibreOffice 7.4.3
Did I miss something, or is it a bug?
Edit:
After looking at the source code I found this
fastods/fastods/src/main/java/com/github/jferard/fastods/TableCellImpl.java
Line 308 in 4a3d5e1
and this
7e84c8b
and it seems to be related to #217 and is intended I guess?
Is there a way to enable the implicit styling for floats?
The text was updated successfully, but these errors were encountered: