Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

In calc one can place inner and outer borders on (a range of) cells.
The current behaviour is that one cannot remove these borders, unless all inner or outer borders 
are removed.

Example:
Select cell and put right, bottom, left and top borders around it. Now change that to top and 
bottom only. Nothing happens. Only when all outer (or inner) borders are removed, it has effect. 
The one exception I found is the 'standard option' in the cell laout dialog to have outer borders 
plus horizontal inner borders.

Having had a look at the code (/core/sc/source/core/data/attarray.cxx, ScAttrArray::ApplyFrame(...) 
and /core/sc/source/core/data/attarray.cxx, ApplyFrame(...)) it seems to me that the borders are 
only written when set and cannot be written when not set, except when no borders are set.

Is this behaviour intended behaviour, or is it a bug?
In the first case, IMHO we should put this in the help tekst for calc.
In the second case, it seems that I would have to add one or more functions to SvxBoxItem ( add a 
border line when not present, or add some sort of clear-flag for each border.

Any opinions?





Winfried



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.