merge the formfield patch from ooo-build
[ooovba.git] / sc / source / filter / inc / root.hxx
blobb69375f0920df2b0db6f0964851dea1e5aa4a137
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 ************************************************************************/
31 #ifndef SC_ROOT_HXX
32 #define SC_ROOT_HXX
34 #include <tools/solar.h>
35 #include "global.hxx"
36 #include "address.hxx"
37 #include "flttypes.hxx"
38 #include "filter.hxx"
39 #include "excdefs.hxx"
41 class ScRangeName;
43 class NameBuffer;
44 class RangeNameBufferWK3;
45 class ShrfmlaBuffer;
46 class ExtNameBuff;
47 class ExtSheetBuffer;
48 class ExcelToSc;
50 class XclImpColRowSettings;
51 class XclImpAutoFilterBuffer;
52 class XclImpPivotCacheList;
53 class _ScRangeListTabs;
55 class XclExpChTrTabId;
56 class XclExpUserBViewList;
58 class XclObjList;
59 class XclEscher;
61 class XclImpRoot;
62 class XclExpRoot;
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
75 // Biff8
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
84 // Biff8
85 XclObjList* pObjRecs;
86 XclEscher* pEscher;
88 XclImpRoot* pIR;
89 XclExpRoot* pER;
91 RootData( void ); // -> exctools.cxx
92 ~RootData(); // -> exctools.cxx
95 class ExcRoot
97 protected:
98 RootData* pExcRoot;
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;
107 class LotAttrTable;
110 struct LOTUS_ROOT
112 ScDocument* pDoc;
113 LotusRangeList* pRangeNames;
114 ScRangeName* pScRangeName;
115 CharSet eCharsetQ;
116 Lotus123Typ eFirstType;
117 Lotus123Typ eActType;
118 ScRange aActRange;
119 RangeNameBufferWK3* pRngNmBffWK3;
120 LotusFontBuffer* pFontBuff;
121 LotAttrTable* pAttrTable;
124 extern LOTUS_ROOT* pLotusRoot; // -> Inkarn. in filter.cxx
126 // ----------------------------------------------------------------------------
128 #endif