https://bugs.documentfoundation.org/show_bug.cgi?id=144116

Kevin Suo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Kevin Suo <[email protected]> ---
Does it save when you set a bigger indent value? This should be the same issue
as discussed in bug 130104.

When save as xlsx, the indent value should be convert to an interger value
(e.g.1, 2, 3, this is how OOXML defines it, these numbers mean the width of
white char multiplied by this int value). Thus a smaller indent in pt such as
2pt may be rounded to zero when converting to an interger value.

See
https://opengrok.libreoffice.org/xref/core/sc/source/filter/excel/xestyle.cxx?r=b8cfea65#1461

where it first calculates a nTmpIndent of type tools::Long
nTmpIndent = (nTmpIndent + 100) / 200; 

and then limit_cast it to an int:
mnIndent = limit_cast< sal_uInt8 >( nTmpIndent, 0, 15 );

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to