1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: root.hxx,v $
10 * $Revision: 1.44.14.1 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
34 #include <tools/solar.h>
36 #include "address.hxx"
37 #include "flttypes.hxx"
39 #include "excdefs.hxx"
44 class RangeNameBufferWK3
;
50 class XclImpColRowSettings
;
51 class XclImpAutoFilterBuffer
;
52 class XclImpPivotCacheList
;
53 class _ScRangeListTabs
;
55 class XclExpChTrTabId
;
56 class XclExpUserBViewList
;
64 // ---------------------------------------------------------- Excel Imp~/Exp~ -
66 struct RootData
// -> Inkarnation jeweils im ImportExcel-Objekt!
68 BiffTyp eDateiTyp
; // feine Differenzierung
69 ExtSheetBuffer
* pExtSheetBuff
;
70 ShrfmlaBuffer
* pShrfmlaBuff
;
71 ExtNameBuff
* pExtNameBuff
;
72 ExcelToSc
* pFmlaConverter
;
73 XclImpColRowSettings
* pColRowBuff
; // Col/Row-Einstellungen 1 Tabelle
76 XclImpAutoFilterBuffer
* pAutoFilterBuffer
; // ranges for autofilter and advanced filter
77 _ScRangeListTabs
* pPrintRanges
;
78 _ScRangeListTabs
* pPrintTitles
;
80 // Erweiterungen fuer Export
81 XclExpChTrTabId
* pTabId
; // pointer to rec list, do not destroy
82 XclExpUserBViewList
* pUserBViewList
; // pointer to rec list, do not destroy
91 RootData( void ); // -> exctools.cxx
92 ~RootData(); // -> exctools.cxx
99 inline ExcRoot( RootData
* pNexExcRoot
) : pExcRoot( pNexExcRoot
) {}
100 inline ExcRoot( const ExcRoot
& rCopy
) : pExcRoot( rCopy
.pExcRoot
) {}
103 // ---------------------------------------------------------- Lotus Imp~/Exp~ -
105 class LotusRangeList
;
106 class LotusFontBuffer
;
113 LotusRangeList
* pRangeNames
;
114 ScRangeName
* pScRangeName
;
116 Lotus123Typ eFirstType
;
117 Lotus123Typ eActType
;
119 RangeNameBufferWK3
* pRngNmBffWK3
;
120 LotusFontBuffer
* pFontBuff
;
121 LotAttrTable
* pAttrTable
;
124 extern LOTUS_ROOT
* pLotusRoot
; // -> Inkarn. in filter.cxx
126 // ----------------------------------------------------------------------------