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


Hi Kohei,

On Tuesday, 2011-10-25 10:55:33 -0400, Kohei Yoshida wrote:

However, this one is a bit complex, as we would need to move the flags
that tell you which sheets are selected, from ScMarkData to ScDocument
(or most likely ScTable) in order for the mentioned code to access this
information during print preview.

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.

Maybe pDocShell->GetBestViewShell() helps? If not, then ScPreviewShell
needs to know about and pass around the ScTabViewShell it corresponds
to, i.e. in ctor remember the pOldSh if it is a ScTabViewShell*

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

Attachment: pgpaohmof6kvi.pgp
Description: PGP signature


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.