LibreOffice Module sc (master) 1
root.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#pragma once
21
22#include "flttypes.hxx"
23#include <memory>
24
25class ScRangeName;
26
29class ExtNameBuff;
30class ExtSheetBuffer;
31class ExcelToSc;
32
35class XclExpChTrTabId;
37
38class XclImpRoot;
39class XclExpRoot;
40
41// Excel Imp~/Exp~ -
42
43struct RootData // -> incarnation in each case in the ImportExcel object!
44{
45 BiffTyp eDateiTyp; // fine differentiation
46 std::unique_ptr<ExtSheetBuffer> pExtSheetBuff;
47 std::unique_ptr<SharedFormulaBuffer> pShrfmlaBuff;
48 std::unique_ptr<ExtNameBuff> pExtNameBuff;
50 XclImpColRowSettings* pColRowBuff; // col/row settings 1 table
51
52 // Biff8
53 std::unique_ptr<XclImpAutoFilterBuffer> pAutoFilterBuffer; // ranges for autofilter and advanced filter
54
55 // extensions for export
56 XclExpChTrTabId* pTabId; // pointer to rec list, do not destroy
57 XclExpUserBViewList* pUserBViewList; // pointer to rec list, do not destroy
58
61
62 RootData(); // -> exctools.cxx
63 ~RootData(); // -> exctools.cxx
64};
65
67{
68protected:
70 ExcRoot( RootData* pNexExcRoot ) : pExcRoot( pNexExcRoot ) {}
71 ExcRoot( const ExcRoot& rCopy ) : pExcRoot( rCopy.pExcRoot ) {}
72};
73
74/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: root.hxx:67
ExcRoot(RootData *pNexExcRoot)
Definition: root.hxx:70
ExcRoot(const ExcRoot &rCopy)
Definition: root.hxx:71
RootData * pExcRoot
Definition: root.hxx:69
Store and manage shared formula tokens.
Definition: namebuff.hxx:61
Access to global data from other classes.
Definition: xeroot.hxx:113
Access to global data from other classes.
Definition: xiroot.hxx:129
BiffTyp
Definition: flttypes.hxx:23
RootData()
Definition: exctools.cxx:36
XclImpRoot * pIR
Definition: root.hxx:59
BiffTyp eDateiTyp
Definition: root.hxx:45
std::unique_ptr< ExtNameBuff > pExtNameBuff
Definition: root.hxx:48
XclExpChTrTabId * pTabId
Definition: root.hxx:56
std::unique_ptr< XclImpAutoFilterBuffer > pAutoFilterBuffer
Definition: root.hxx:53
XclExpRoot * pER
Definition: root.hxx:60
XclExpUserBViewList * pUserBViewList
Definition: root.hxx:57
~RootData()
Definition: exctools.cxx:49
XclImpColRowSettings * pColRowBuff
Definition: root.hxx:50
ExcelToSc * pFmlaConverter
Definition: root.hxx:49
std::unique_ptr< SharedFormulaBuffer > pShrfmlaBuff
Definition: root.hxx:47
std::unique_ptr< ExtSheetBuffer > pExtSheetBuff
Definition: root.hxx:46