On Tue, 2011-10-25 at 14:02 -0400, Kohei Yoshida wrote:
The state what sheets are selected is clearly view related and does not
belong to the document. In fact two different views can have different
sheets selected.
Well, I wouldn't say "clearly", since I had the same idea about tab
colors being view properties, but apparently the tab colors do belong to
the document (as I was told back in the day). The tab colors are stored
in ScTable currently.
With regard to different views having different sheet selections, I
wonder if that is really an intended behavior, or just a side-effect of
how we currently store this property. I personally wouldn't mind
changing this behavior so that all views would have identical sheet
selections.
Anyway. In the end, I've decided not to follow my original plan, and
fix it differently. The tab selection data stays with ScMarkData, and I
worked around it by copying that data from ScTabViewShell to
ScPreviewShell during print preview. It should be fixed on master.
Kohei
--
Kohei Yoshida, LibreOffice hacker, Calc
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.