[Libreoffice-bugs] [Bug 144116] FILESAVE XLSX Text indent setting not saved
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Oct 5 16:33:39 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=144116
Kevin Suo <suokunlong at 126.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |NEW
Resolution|DUPLICATE |---
--- Comment #8 from Kevin Suo <suokunlong at 126.com> ---
I have submitted a patch in bug Bug 130104. However, please consider the
following cases:
1. Currently in Calc, if you click the "Indent" toolbar icon once, it increase
the indent for a step of 10pt.
2. In the cell format dialog, you can still set another indent value other than
those of multiple of 10pt.
3. In Excel, the indent value of "1" equals the width of 3 space chars (using
the default font) in Excel. However, in my patch, I intentionally converts the
Excel "1" indent to the 10pt "step", thus Excel indent "2" would be 20pt etc.
Also, upon resave as xlsx, those multiples of 10pt is converted back to the
excel "1", "2", "3" etc.
4. An indent value smaller than the "10pt" step is treated as Excel 0 indent. I
think this is the best choice, otherwise it is very difficult to make a
compromise on these two sides. If you set the indent using the toolbar icon,
then you only get multiples of 10pt; I should assume that those who are setting
the indent using the cell format dialog knows what he is doing.
5. I tried to implement the XLSX import to treat the Excel Indent 1 to be 3
space char width, but this way would be totally a mess both in the re-save
process and also when you modify the indent using the toolbar icon.
Base on the above analysis, I should consider this bug as WONTFIX rather than a
duplicate of bug 130104.
What do you think?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20211005/e71198ee/attachment.htm>
More information about the Libreoffice-bugs
mailing list