138d50f7bSAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 338d50f7bSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 438d50f7bSAndrew Rist * or more contributor license agreements. See the NOTICE file 538d50f7bSAndrew Rist * distributed with this work for additional information 638d50f7bSAndrew Rist * regarding copyright ownership. The ASF licenses this file 738d50f7bSAndrew Rist * to you under the Apache License, Version 2.0 (the 838d50f7bSAndrew Rist * "License"); you may not use this file except in compliance 938d50f7bSAndrew Rist * with the License. You may obtain a copy of the License at 1038d50f7bSAndrew Rist * 1138d50f7bSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 1238d50f7bSAndrew Rist * 1338d50f7bSAndrew Rist * Unless required by applicable law or agreed to in writing, 1438d50f7bSAndrew Rist * software distributed under the License is distributed on an 1538d50f7bSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1638d50f7bSAndrew Rist * KIND, either express or implied. See the License for the 1738d50f7bSAndrew Rist * specific language governing permissions and limitations 1838d50f7bSAndrew Rist * under the License. 1938d50f7bSAndrew Rist * 2038d50f7bSAndrew Rist *************************************************************/ 2138d50f7bSAndrew Rist 2238d50f7bSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef SC_ROOT_HXX 25cdf0e10cSrcweir #define SC_ROOT_HXX 26cdf0e10cSrcweir 27cdf0e10cSrcweir #include <tools/solar.h> 28cdf0e10cSrcweir #include "global.hxx" 29cdf0e10cSrcweir #include "address.hxx" 30cdf0e10cSrcweir #include "flttypes.hxx" 31cdf0e10cSrcweir #include "filter.hxx" 32cdf0e10cSrcweir #include "excdefs.hxx" 33cdf0e10cSrcweir 34cdf0e10cSrcweir class ScRangeName; 35cdf0e10cSrcweir 36cdf0e10cSrcweir class NameBuffer; 37cdf0e10cSrcweir class RangeNameBufferWK3; 38cdf0e10cSrcweir class ShrfmlaBuffer; 39cdf0e10cSrcweir class ExtNameBuff; 40cdf0e10cSrcweir class ExtSheetBuffer; 41cdf0e10cSrcweir class ExcelToSc; 42cdf0e10cSrcweir 43cdf0e10cSrcweir class XclImpColRowSettings; 44cdf0e10cSrcweir class XclImpAutoFilterBuffer; 45cdf0e10cSrcweir class XclImpPivotCacheList; 46cdf0e10cSrcweir class _ScRangeListTabs; 47cdf0e10cSrcweir 48cdf0e10cSrcweir class XclExpChTrTabId; 49cdf0e10cSrcweir class XclExpUserBViewList; 50cdf0e10cSrcweir 51cdf0e10cSrcweir class XclImpRoot; 52cdf0e10cSrcweir class XclExpRoot; 53cdf0e10cSrcweir 54cdf0e10cSrcweir // ---------------------------------------------------------- Excel Imp~/Exp~ - 55cdf0e10cSrcweir 56cdf0e10cSrcweir struct RootData // -> Inkarnation jeweils im ImportExcel-Objekt! 57cdf0e10cSrcweir { 58cdf0e10cSrcweir BiffTyp eDateiTyp; // feine Differenzierung 59cdf0e10cSrcweir ExtSheetBuffer* pExtSheetBuff; 60cdf0e10cSrcweir ShrfmlaBuffer* pShrfmlaBuff; 61cdf0e10cSrcweir ExtNameBuff* pExtNameBuff; 62cdf0e10cSrcweir ExcelToSc* pFmlaConverter; 63cdf0e10cSrcweir XclImpColRowSettings* pColRowBuff; // Col/Row-Einstellungen 1 Tabelle 64cdf0e10cSrcweir 65cdf0e10cSrcweir // Biff8 66cdf0e10cSrcweir XclImpAutoFilterBuffer* pAutoFilterBuffer; // ranges for autofilter and advanced filter 67cdf0e10cSrcweir _ScRangeListTabs* pPrintRanges; 68cdf0e10cSrcweir _ScRangeListTabs* pPrintTitles; 69cdf0e10cSrcweir 70cdf0e10cSrcweir // Erweiterungen fuer Export 71cdf0e10cSrcweir XclExpChTrTabId* pTabId; // pointer to rec list, do not destroy 72cdf0e10cSrcweir XclExpUserBViewList* pUserBViewList; // pointer to rec list, do not destroy 73cdf0e10cSrcweir 74cdf0e10cSrcweir XclImpRoot* pIR; 75cdf0e10cSrcweir XclExpRoot* pER; 76cdf0e10cSrcweir 77cdf0e10cSrcweir RootData( void ); // -> exctools.cxx 78cdf0e10cSrcweir ~RootData(); // -> exctools.cxx 79cdf0e10cSrcweir }; 80cdf0e10cSrcweir 81cdf0e10cSrcweir class ExcRoot 82cdf0e10cSrcweir { 83cdf0e10cSrcweir protected: 84cdf0e10cSrcweir RootData* pExcRoot; ExcRoot(RootData * pNexExcRoot)85cdf0e10cSrcweir inline ExcRoot( RootData* pNexExcRoot ) : pExcRoot( pNexExcRoot ) {} ExcRoot(const ExcRoot & rCopy)86cdf0e10cSrcweir inline ExcRoot( const ExcRoot& rCopy ) : pExcRoot( rCopy.pExcRoot ) {} 87cdf0e10cSrcweir }; 88cdf0e10cSrcweir 89cdf0e10cSrcweir // ---------------------------------------------------------- Lotus Imp~/Exp~ - 90cdf0e10cSrcweir 91cdf0e10cSrcweir class LotusRangeList; 92cdf0e10cSrcweir class LotusFontBuffer; 93cdf0e10cSrcweir class LotAttrTable; 94cdf0e10cSrcweir 95cdf0e10cSrcweir 96cdf0e10cSrcweir struct LOTUS_ROOT 97cdf0e10cSrcweir { 98cdf0e10cSrcweir ScDocument* pDoc; 99cdf0e10cSrcweir LotusRangeList* pRangeNames; 100cdf0e10cSrcweir ScRangeName* pScRangeName; 101cdf0e10cSrcweir CharSet eCharsetQ; 102cdf0e10cSrcweir Lotus123Typ eFirstType; 103cdf0e10cSrcweir Lotus123Typ eActType; 104cdf0e10cSrcweir ScRange aActRange; 105cdf0e10cSrcweir RangeNameBufferWK3* pRngNmBffWK3; 106cdf0e10cSrcweir LotusFontBuffer* pFontBuff; 107cdf0e10cSrcweir LotAttrTable* pAttrTable; 108*3ee7c2dbSArmin Le Grand 109*3ee7c2dbSArmin Le Grand LOTUS_ROOT( ScDocument* pDocP, CharSet eQ ); 110*3ee7c2dbSArmin Le Grand ~LOTUS_ROOT(); 111cdf0e10cSrcweir }; 112cdf0e10cSrcweir 113cdf0e10cSrcweir extern LOTUS_ROOT* pLotusRoot; // -> Inkarn. in filter.cxx 114cdf0e10cSrcweir 115cdf0e10cSrcweir // ---------------------------------------------------------------------------- 116cdf0e10cSrcweir 117cdf0e10cSrcweir #endif 118cdf0e10cSrcweir 119