LibreOffice Module sc (master)  1
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
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 .
18  */
20 #pragma once
22 #include "xlview.hxx"
23 #include "xiroot.hxx"
25 // Document view settings =====================================================
29 {
30 public:
31  explicit XclImpDocViewSettings( const XclImpRoot& rRoot );
37  SCTAB GetDisplScTab() const;
40  void Finalize();
42 private:
44 };
46 // Sheet view settings ========================================================
59 {
60 public:
61  explicit XclImpTabViewSettings( const XclImpRoot& rRoot );
64  void Initialize();
67  void ReadWindow2( XclImpStream& rStrm, bool bChart );
69  void ReadScl( XclImpStream& rStrm );
71  void ReadPane( XclImpStream& rStrm );
73  void ReadSelection( XclImpStream& rStrm );
75  void ReadTabBgColor( XclImpStream& rStrm, const XclImpPalette& rPal );
77  void Finalize();
79 private:
81 };
83 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void ReadWindow2(XclImpStream &rStrm, bool bChart)
Reads a WINDOW2 record.
Definition: xiview.cxx:117
Contains all view settings for a single sheet.
Definition: xiview.hxx:58
Contains document view settings (WINDOW1 record).
Definition: xiview.hxx:28
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:80
void Finalize()
Sets the view settings at the current sheet or the extended sheet options object. ...
Definition: xiview.cxx:212
void ReadScl(XclImpStream &rStrm)
Reads an SCL record.
Definition: xiview.cxx:181
XclDocViewData maData
Definition: xiview.hxx:43
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:200
Excel ignores Tab color when set to this value...
Definition: xlview.hxx:88
Contains all view settings for a single sheet.
Definition: xlview.hxx:116
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:191
Stores the default colors for the current BIFF version and the contents of a PALETTE record...
Definition: xistyle.hxx:44
This class is used to import record oriented streams.
Definition: xistream.hxx:277
void SvStream & rStrm
Access to global data from other classes.
Definition: xiroot.hxx:125
sal_Int16 SCTAB
Definition: types.hxx:22