1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef INCLUDED_SC_SOURCE_FILTER_INC_ROOT_HXX
21 #define INCLUDED_SC_SOURCE_FILTER_INC_ROOT_HXX
23 #include <address.hxx>
24 #include "flttypes.hxx"
25 #include "lotattr.hxx"
26 #include "lotfntbf.hxx"
27 #include "lotrange.hxx"
32 class RangeNameBufferWK3
;
33 class SharedFormulaBuffer
;
38 class XclImpColRowSettings
;
39 class XclImpAutoFilterBuffer
;
40 class ScRangeListTabs
;
42 class XclExpChTrTabId
;
43 class XclExpUserBViewList
;
50 struct RootData
// -> incarnation in each case in the ImportExcel object!
52 BiffTyp eDateiTyp
; // fine differentiation
53 std::unique_ptr
<ExtSheetBuffer
> pExtSheetBuff
;
54 std::unique_ptr
<SharedFormulaBuffer
> pShrfmlaBuff
;
55 std::unique_ptr
<ExtNameBuff
> pExtNameBuff
;
56 ExcelToSc
* pFmlaConverter
;
57 XclImpColRowSettings
* pColRowBuff
; // col/row settings 1 table
60 std::unique_ptr
<XclImpAutoFilterBuffer
> pAutoFilterBuffer
; // ranges for autofilter and advanced filter
61 std::unique_ptr
<ScRangeListTabs
> pPrintRanges
;
62 std::unique_ptr
<ScRangeListTabs
> pPrintTitles
;
64 // extensions for export
65 XclExpChTrTabId
* pTabId
; // pointer to rec list, do not destroy
66 XclExpUserBViewList
* pUserBViewList
; // pointer to rec list, do not destroy
71 RootData(); // -> exctools.cxx
72 ~RootData(); // -> exctools.cxx
79 ExcRoot( RootData
* pNexExcRoot
) : pExcRoot( pNexExcRoot
) {}
80 ExcRoot( const ExcRoot
& rCopy
) : pExcRoot( rCopy
.pExcRoot
) {}
88 LotusRangeList maRangeNames
;
89 rtl_TextEncoding
const eCharsetQ
;
90 Lotus123Typ eFirstType
;
93 std::unique_ptr
<RangeNameBufferWK3
> pRngNmBffWK3
;
94 LotusFontBuffer maFontBuff
;
95 LotAttrTable maAttrTable
;
97 LOTUS_ROOT( ScDocument
* pDocP
, rtl_TextEncoding eQ
);
103 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */