update dev300-m58
[ooovba.git] / sc / source / filter / inc / root.hxx
bloba38c388f7e743c709ccae1669b463fd726f1bae8
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 NameBuffer* pTabNameBuff;
71 ShrfmlaBuffer* pShrfmlaBuff;
72 ExtNameBuff* pExtNameBuff;
73 ExcelToSc* pFmlaConverter;
74 XclImpColRowSettings* pColRowBuff; // Col/Row-Einstellungen 1 Tabelle
76 // Biff8
77 XclImpAutoFilterBuffer* pAutoFilterBuffer; // ranges for autofilter and advanced filter
78 _ScRangeListTabs* pPrintRanges;
79 _ScRangeListTabs* pPrintTitles;
81 // Erweiterungen fuer Export
82 XclExpChTrTabId* pTabId; // pointer to rec list, do not destroy
83 XclExpUserBViewList* pUserBViewList; // pointer to rec list, do not destroy
85 // Biff8
86 XclObjList* pObjRecs;
87 XclEscher* pEscher;
89 XclImpRoot* pIR;
90 XclExpRoot* pER;
92 RootData( void ); // -> exctools.cxx
93 ~RootData(); // -> exctools.cxx
96 class ExcRoot
98 protected:
99 RootData* pExcRoot;
100 inline ExcRoot( RootData* pNexExcRoot ) : pExcRoot( pNexExcRoot ) {}
101 inline ExcRoot( const ExcRoot& rCopy ) : pExcRoot( rCopy.pExcRoot ) {}
104 // ---------------------------------------------------------- Lotus Imp~/Exp~ -
106 class LotusRangeList;
107 class LotusFontBuffer;
108 class LotAttrTable;
111 struct LOTUS_ROOT
113 ScDocument* pDoc;
114 LotusRangeList* pRangeNames;
115 ScRangeName* pScRangeName;
116 CharSet eCharsetQ;
117 Lotus123Typ eFirstType;
118 Lotus123Typ eActType;
119 ScRange aActRange;
120 RangeNameBufferWK3* pRngNmBffWK3;
121 LotusFontBuffer* pFontBuff;
122 LotAttrTable* pAttrTable;
125 extern LOTUS_ROOT* pLotusRoot; // -> Inkarn. in filter.cxx
127 // ----------------------------------------------------------------------------
129 #endif