LibreOffice Module sc (master)  1
xiview.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #ifndef INCLUDED_SC_SOURCE_FILTER_INC_XIVIEW_HXX
21 #define INCLUDED_SC_SOURCE_FILTER_INC_XIVIEW_HXX
22 
23 #include "xlview.hxx"
24 #include "xiroot.hxx"
25 
26 // Document view settings =====================================================
27 
30 {
31 public:
32  explicit XclImpDocViewSettings( const XclImpRoot& rRoot );
33 
36 
38  SCTAB GetDisplScTab() const;
39 
41  void Finalize();
42 
43 private:
45 };
46 
47 // Sheet view settings ========================================================
48 
60 {
61 public:
62  explicit XclImpTabViewSettings( const XclImpRoot& rRoot );
63 
65  void Initialize();
66 
68  void ReadWindow2( XclImpStream& rStrm, bool bChart );
70  void ReadScl( XclImpStream& rStrm );
72  void ReadPane( XclImpStream& rStrm );
74  void ReadSelection( XclImpStream& rStrm );
76  void ReadTabBgColor( XclImpStream& rStrm, const XclImpPalette& rPal );
78  void Finalize();
79 
80 private:
82 };
83 
84 #endif
85 
86 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void ReadWindow2(XclImpStream &rStrm, bool bChart)
Reads a WINDOW2 record.
Definition: xiview.cxx:119
Contains all view settings for a single sheet.
Definition: xiview.hxx:59
Contains document view settings (WINDOW1 record).
Definition: xiview.hxx:29
SCTAB GetDisplScTab() const
Returns the Calc index of the displayed sheet.
Definition: xiview.cxx:55
void Initialize()
Initializes the object to be used for a new sheet.
Definition: xiview.cxx:96
XclTabViewData maData
Definition: xiview.hxx:81
void Finalize()
Sets the view settings at the current sheet or the extended sheet options object. ...
Definition: xiview.cxx:214
void ReadScl(XclImpStream &rStrm)
Reads an SCL record.
Definition: xiview.cxx:183
XclDocViewData maData
Definition: xiview.hxx:44
XclImpDocViewSettings(const XclImpRoot &rRoot)
Definition: xiview.cxx:34
void ReadTabBgColor(XclImpStream &rStrm, const XclImpPalette &rPal)
Reads a SHEETEXT record (Tab Color).
Definition: xiview.cxx:101
void ReadWindow1(XclImpStream &rStrm)
Reads a WINDOW1 record.
Definition: xiview.cxx:39
void ReadSelection(XclImpStream &rStrm)
Reads a SELECTION record.
Definition: xiview.cxx:202
Excel ignores Tab color when set to this value...
Definition: xlview.hxx:89
Contains all view settings for a single sheet.
Definition: xlview.hxx:117
XclImpTabViewSettings(const XclImpRoot &rRoot)
Definition: xiview.cxx:90
void Finalize()
Sets the view settings at the document.
Definition: xiview.cxx:63
void ReadPane(XclImpStream &rStrm)
Reads a PANE record.
Definition: xiview.cxx:193
Stores the default colors for the current BIFF version and the contents of a PALETTE record...
Definition: xistyle.hxx:45
This class is used to import record oriented streams.
Definition: xistream.hxx:278
void SvStream & rStrm
Access to global data from other classes.
Definition: xiroot.hxx:126
sal_Int16 SCTAB
Definition: types.hxx:23